"Fossies" - the Fresh Open Source Software Archive

Member "libmcrypt-2.5.8/autom4te.cache/output.1" (19 Feb 2007, 780151 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE 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 CPP EGREP SED ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS LIBMCRYPT_LIBS LIBMCRYPT_CFLAGS LIB@&t@OBJS 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_CC_set=${CC+set}
  909 ac_env_CC_value=$CC
  910 ac_cv_env_CC_set=${CC+set}
  911 ac_cv_env_CC_value=$CC
  912 ac_env_CFLAGS_set=${CFLAGS+set}
  913 ac_env_CFLAGS_value=$CFLAGS
  914 ac_cv_env_CFLAGS_set=${CFLAGS+set}
  915 ac_cv_env_CFLAGS_value=$CFLAGS
  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_CPP_set=${CPP+set}
  925 ac_env_CPP_value=$CPP
  926 ac_cv_env_CPP_set=${CPP+set}
  927 ac_cv_env_CPP_value=$CPP
  928 ac_env_CXX_set=${CXX+set}
  929 ac_env_CXX_value=$CXX
  930 ac_cv_env_CXX_set=${CXX+set}
  931 ac_cv_env_CXX_value=$CXX
  932 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  933 ac_env_CXXFLAGS_value=$CXXFLAGS
  934 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  935 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  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   --disable-dependency-tracking  speeds up one-time build
 1029   --enable-dependency-tracking   do not reject slow dependency extractors
 1030   --enable-maintainer-mode enable maintainer mode
 1031   --enable-dmalloc-mode enable dmalloc mode
 1032   --enable-dynamic-loading   enable dynamic module loading
 1033   --enable-static@<:@=PKGS@:>@ 
 1034                           build static libraries @<:@default=no@:>@
 1035   --enable-shared@<:@=PKGS@:>@ 
 1036                           build shared libraries @<:@default=yes@:>@
 1037   --enable-fast-install@<:@=PKGS@:>@ 
 1038                           optimize for fast installation @<:@default=yes@:>@
 1039   --disable-libtool-lock  avoid locking (might break parallel builds)
 1040 
 1041 Optional Packages:
 1042   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1043   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1044   --with-included-algos=algo1,algo2,... include algorithms/modes into the library
 1045   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
 1046   --with-pic              try to use only PIC/non-PIC objects @<:@default=use
 1047                           both@:>@
 1048   --with-tags@<:@=TAGS@:>@ 
 1049                           include additional configurations @<:@automatic@:>@
 1050 
 1051 Some influential environment variables:
 1052   CC          C compiler command
 1053   CFLAGS      C compiler flags
 1054   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1055               nonstandard directory <lib dir>
 1056   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 1057               headers in a nonstandard directory <include dir>
 1058   CPP         C preprocessor
 1059   CXX         C++ compiler command
 1060   CXXFLAGS    C++ compiler flags
 1061   CXXCPP      C++ preprocessor
 1062   F77         Fortran 77 compiler command
 1063   FFLAGS      Fortran 77 compiler flags
 1064 
 1065 Use these variables to override the choices made by `configure' or to help
 1066 it to find libraries and programs with nonstandard names/locations.
 1067 
 1068 _ACEOF
 1069 fi
 1070 
 1071 if test "$ac_init_help" = "recursive"; then
 1072   # If there are subdirs, report their specific --help.
 1073   ac_popdir=`pwd`
 1074   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1075     test -d $ac_dir || continue
 1076     ac_builddir=.
 1077 
 1078 if test "$ac_dir" != .; then
 1079   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1080   # A "../" for each directory in $ac_dir_suffix.
 1081   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 1082 else
 1083   ac_dir_suffix= ac_top_builddir=
 1084 fi
 1085 
 1086 case $srcdir in
 1087   .)  # No --srcdir option.  We are building in place.
 1088     ac_srcdir=.
 1089     if test -z "$ac_top_builddir"; then
 1090        ac_top_srcdir=.
 1091     else
 1092        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 1093     fi ;;
 1094   [\\/]* | ?:[\\/]* )  # Absolute path.
 1095     ac_srcdir=$srcdir$ac_dir_suffix;
 1096     ac_top_srcdir=$srcdir ;;
 1097   *) # Relative path.
 1098     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 1099     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 1100 esac
 1101 
 1102 # Do not use `cd foo && pwd` to compute absolute paths, because
 1103 # the directories may not exist.
 1104 case `pwd` in
 1105 .) ac_abs_builddir="$ac_dir";;
 1106 *)
 1107   case "$ac_dir" in
 1108   .) ac_abs_builddir=`pwd`;;
 1109   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 1110   *) ac_abs_builddir=`pwd`/"$ac_dir";;
 1111   esac;;
 1112 esac
 1113 case $ac_abs_builddir in
 1114 .) ac_abs_top_builddir=${ac_top_builddir}.;;
 1115 *)
 1116   case ${ac_top_builddir}. in
 1117   .) ac_abs_top_builddir=$ac_abs_builddir;;
 1118   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 1119   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 1120   esac;;
 1121 esac
 1122 case $ac_abs_builddir in
 1123 .) ac_abs_srcdir=$ac_srcdir;;
 1124 *)
 1125   case $ac_srcdir in
 1126   .) ac_abs_srcdir=$ac_abs_builddir;;
 1127   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 1128   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 1129   esac;;
 1130 esac
 1131 case $ac_abs_builddir in
 1132 .) ac_abs_top_srcdir=$ac_top_srcdir;;
 1133 *)
 1134   case $ac_top_srcdir in
 1135   .) ac_abs_top_srcdir=$ac_abs_builddir;;
 1136   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 1137   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 1138   esac;;
 1139 esac
 1140 
 1141     cd $ac_dir
 1142     # Check for guested configure; otherwise get Cygnus style configure.
 1143     if test -f $ac_srcdir/configure.gnu; then
 1144       echo
 1145       $SHELL $ac_srcdir/configure.gnu  --help=recursive
 1146     elif test -f $ac_srcdir/configure; then
 1147       echo
 1148       $SHELL $ac_srcdir/configure  --help=recursive
 1149     elif test -f $ac_srcdir/configure.ac ||
 1150 	   test -f $ac_srcdir/configure.in; then
 1151       echo
 1152       $ac_configure --help
 1153     else
 1154       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1155     fi
 1156     cd $ac_popdir
 1157   done
 1158 fi
 1159 
 1160 test -n "$ac_init_help" && exit 0
 1161 if $ac_init_version; then
 1162   cat <<\_ACEOF
 1163 
 1164 Copyright (C) 2003 Free Software Foundation, Inc.
 1165 This configure script is free software; the Free Software Foundation
 1166 gives unlimited permission to copy, distribute and modify it.
 1167 _ACEOF
 1168   exit 0
 1169 fi
 1170 exec 5>config.log
 1171 cat >&5 <<_ACEOF
 1172 This file contains any messages produced by compilers while
 1173 running configure, to aid debugging if configure makes a mistake.
 1174 
 1175 It was created by $as_me, which was
 1176 generated by GNU Autoconf 2.59.  Invocation command line was
 1177 
 1178   $ $0 $@
 1179 
 1180 _ACEOF
 1181 {
 1182 cat <<_ASUNAME
 1183 @%:@@%:@ --------- @%:@@%:@
 1184 @%:@@%:@ Platform. @%:@@%:@
 1185 @%:@@%:@ --------- @%:@@%:@
 1186 
 1187 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1188 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1189 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1190 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1191 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1192 
 1193 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1194 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1195 
 1196 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1197 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1198 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1199 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 1200 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1201 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1202 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1203 
 1204 _ASUNAME
 1205 
 1206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1207 for as_dir in $PATH
 1208 do
 1209   IFS=$as_save_IFS
 1210   test -z "$as_dir" && as_dir=.
 1211   echo "PATH: $as_dir"
 1212 done
 1213 
 1214 } >&5
 1215 
 1216 cat >&5 <<_ACEOF
 1217 
 1218 
 1219 @%:@@%:@ ----------- @%:@@%:@
 1220 @%:@@%:@ Core tests. @%:@@%:@
 1221 @%:@@%:@ ----------- @%:@@%:@
 1222 
 1223 _ACEOF
 1224 
 1225 
 1226 # Keep a trace of the command line.
 1227 # Strip out --no-create and --no-recursion so they do not pile up.
 1228 # Strip out --silent because we don't want to record it for future runs.
 1229 # Also quote any args containing shell meta-characters.
 1230 # Make two passes to allow for proper duplicate-argument suppression.
 1231 ac_configure_args=
 1232 ac_configure_args0=
 1233 ac_configure_args1=
 1234 ac_sep=
 1235 ac_must_keep_next=false
 1236 for ac_pass in 1 2
 1237 do
 1238   for ac_arg
 1239   do
 1240     case $ac_arg in
 1241     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1242     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1243     | -silent | --silent | --silen | --sile | --sil)
 1244       continue ;;
 1245     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1246       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1247     esac
 1248     case $ac_pass in
 1249     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1250     2)
 1251       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1252       if test $ac_must_keep_next = true; then
 1253 	ac_must_keep_next=false # Got value, back to normal.
 1254       else
 1255 	case $ac_arg in
 1256 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 1257 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1258 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1259 	  | -with-* | --with-* | -without-* | --without-* | --x)
 1260 	    case "$ac_configure_args0 " in
 1261 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1262 	    esac
 1263 	    ;;
 1264 	  -* ) ac_must_keep_next=true ;;
 1265 	esac
 1266       fi
 1267       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 1268       # Get rid of the leading space.
 1269       ac_sep=" "
 1270       ;;
 1271     esac
 1272   done
 1273 done
 1274 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1275 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1276 
 1277 # When interrupted or exit'd, cleanup temporary files, and complete
 1278 # config.log.  We remove comments because anyway the quotes in there
 1279 # would cause problems or look ugly.
 1280 # WARNING: Be sure not to use single quotes in there, as some shells,
 1281 # such as our DU 5.0 friend, will then `close' the trap.
 1282 trap 'exit_status=$?
 1283   # Save into config.log some information that might help in debugging.
 1284   {
 1285     echo
 1286 
 1287     cat <<\_ASBOX
 1288 @%:@@%:@ ---------------- @%:@@%:@
 1289 @%:@@%:@ Cache variables. @%:@@%:@
 1290 @%:@@%:@ ---------------- @%:@@%:@
 1291 _ASBOX
 1292     echo
 1293     # The following way of writing the cache mishandles newlines in values,
 1294 {
 1295   (set) 2>&1 |
 1296     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 1297     *ac_space=\ *)
 1298       sed -n \
 1299 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 1300 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 1301       ;;
 1302     *)
 1303       sed -n \
 1304 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 1305       ;;
 1306     esac;
 1307 }
 1308     echo
 1309 
 1310     cat <<\_ASBOX
 1311 @%:@@%:@ ----------------- @%:@@%:@
 1312 @%:@@%:@ Output variables. @%:@@%:@
 1313 @%:@@%:@ ----------------- @%:@@%:@
 1314 _ASBOX
 1315     echo
 1316     for ac_var in $ac_subst_vars
 1317     do
 1318       eval ac_val=$`echo $ac_var`
 1319       echo "$ac_var='"'"'$ac_val'"'"'"
 1320     done | sort
 1321     echo
 1322 
 1323     if test -n "$ac_subst_files"; then
 1324       cat <<\_ASBOX
 1325 @%:@@%:@ ------------- @%:@@%:@
 1326 @%:@@%:@ Output files. @%:@@%:@
 1327 @%:@@%:@ ------------- @%:@@%:@
 1328 _ASBOX
 1329       echo
 1330       for ac_var in $ac_subst_files
 1331       do
 1332 	eval ac_val=$`echo $ac_var`
 1333 	echo "$ac_var='"'"'$ac_val'"'"'"
 1334       done | sort
 1335       echo
 1336     fi
 1337 
 1338     if test -s confdefs.h; then
 1339       cat <<\_ASBOX
 1340 @%:@@%:@ ----------- @%:@@%:@
 1341 @%:@@%:@ confdefs.h. @%:@@%:@
 1342 @%:@@%:@ ----------- @%:@@%:@
 1343 _ASBOX
 1344       echo
 1345       sed "/^$/d" confdefs.h | sort
 1346       echo
 1347     fi
 1348     test "$ac_signal" != 0 &&
 1349       echo "$as_me: caught signal $ac_signal"
 1350     echo "$as_me: exit $exit_status"
 1351   } >&5
 1352   rm -f core *.core &&
 1353   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 1354     exit $exit_status
 1355      ' 0
 1356 for ac_signal in 1 2 13 15; do
 1357   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1358 done
 1359 ac_signal=0
 1360 
 1361 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1362 rm -rf conftest* confdefs.h
 1363 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1364 echo >confdefs.h
 1365 
 1366 # Predefined preprocessor variables.
 1367 
 1368 cat >>confdefs.h <<_ACEOF
 1369 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
 1370 _ACEOF
 1371 
 1372 
 1373 cat >>confdefs.h <<_ACEOF
 1374 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1375 _ACEOF
 1376 
 1377 
 1378 cat >>confdefs.h <<_ACEOF
 1379 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 1380 _ACEOF
 1381 
 1382 
 1383 cat >>confdefs.h <<_ACEOF
 1384 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
 1385 _ACEOF
 1386 
 1387 
 1388 cat >>confdefs.h <<_ACEOF
 1389 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1390 _ACEOF
 1391 
 1392 
 1393 # Let the site file select an alternate cache file if it wants to.
 1394 # Prefer explicitly selected file to automatically selected ones.
 1395 if test -z "$CONFIG_SITE"; then
 1396   if test "x$prefix" != xNONE; then
 1397     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1398   else
 1399     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1400   fi
 1401 fi
 1402 for ac_site_file in $CONFIG_SITE; do
 1403   if test -r "$ac_site_file"; then
 1404     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1405 echo "$as_me: loading site script $ac_site_file" >&6;}
 1406     sed 's/^/| /' "$ac_site_file" >&5
 1407     . "$ac_site_file"
 1408   fi
 1409 done
 1410 
 1411 if test -r "$cache_file"; then
 1412   # Some versions of bash will fail to source /dev/null (special
 1413   # files actually), so we avoid doing that.
 1414   if test -f "$cache_file"; then
 1415     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1416 echo "$as_me: loading cache $cache_file" >&6;}
 1417     case $cache_file in
 1418       [\\/]* | ?:[\\/]* ) . $cache_file;;
 1419       *)                      . ./$cache_file;;
 1420     esac
 1421   fi
 1422 else
 1423   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1424 echo "$as_me: creating cache $cache_file" >&6;}
 1425   >$cache_file
 1426 fi
 1427 
 1428 # Check that the precious variables saved in the cache have kept the same
 1429 # value.
 1430 ac_cache_corrupted=false
 1431 for ac_var in `(set) 2>&1 |
 1432 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1433   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1434   eval ac_new_set=\$ac_env_${ac_var}_set
 1435   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1436   eval ac_new_val="\$ac_env_${ac_var}_value"
 1437   case $ac_old_set,$ac_new_set in
 1438     set,)
 1439       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1440 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1441       ac_cache_corrupted=: ;;
 1442     ,set)
 1443       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1444 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1445       ac_cache_corrupted=: ;;
 1446     ,);;
 1447     *)
 1448       if test "x$ac_old_val" != "x$ac_new_val"; then
 1449 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1450 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1451 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1452 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1453 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1454 echo "$as_me:   current value: $ac_new_val" >&2;}
 1455 	ac_cache_corrupted=:
 1456       fi;;
 1457   esac
 1458   # Pass precious variables to config.status.
 1459   if test "$ac_new_set" = set; then
 1460     case $ac_new_val in
 1461     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1462       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1463     *) ac_arg=$ac_var=$ac_new_val ;;
 1464     esac
 1465     case " $ac_configure_args " in
 1466       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1467       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1468     esac
 1469   fi
 1470 done
 1471 if $ac_cache_corrupted; then
 1472   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1473 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1474   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1475 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1476    { (exit 1); exit 1; }; }
 1477 fi
 1478 
 1479 ac_ext=c
 1480 ac_cpp='$CPP $CPPFLAGS'
 1481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1484 
 1485 
 1486 
 1487 
 1488 
 1489 
 1490 
 1491 
 1492 
 1493 
 1494 
 1495 
 1496 
 1497 
 1498 
 1499 
 1500 
 1501 
 1502 
 1503 
 1504 LIBMCRYPT_MAJOR_VERSION=2
 1505 LIBMCRYPT_MINOR_VERSION=5
 1506 LIBMCRYPT_MICRO_VERSION=7
 1507 LIBMCRYPT_VERSION=$LIBMCRYPT_MAJOR_VERSION.$LIBMCRYPT_MINOR_VERSION.$LIBMCRYPT_MICRO_VERSION
 1508 
 1509 LIBMCRYPT_MOST_RECENT_INTERFACE=8
 1510 LIBMCRYPT_CURRENT_INTERFACE_IMPLEMENTATION_NUMBER=$LIBMCRYPT_MICRO_VERSION
 1511 LIBMCRYPT_OLDEST_INTERFACE=4
 1512 
 1513 ac_aux_dir=
 1514 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 1515   if test -f $ac_dir/install-sh; then
 1516     ac_aux_dir=$ac_dir
 1517     ac_install_sh="$ac_aux_dir/install-sh -c"
 1518     break
 1519   elif test -f $ac_dir/install.sh; then
 1520     ac_aux_dir=$ac_dir
 1521     ac_install_sh="$ac_aux_dir/install.sh -c"
 1522     break
 1523   elif test -f $ac_dir/shtool; then
 1524     ac_aux_dir=$ac_dir
 1525     ac_install_sh="$ac_aux_dir/shtool install -c"
 1526     break
 1527   fi
 1528 done
 1529 if test -z "$ac_aux_dir"; then
 1530   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 1531 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 1532    { (exit 1); exit 1; }; }
 1533 fi
 1534 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 1535 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 1536 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 1537 
 1538 # Make sure we can run config.sub.
 1539 $ac_config_sub sun4 >/dev/null 2>&1 ||
 1540   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 1541 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 1542    { (exit 1); exit 1; }; }
 1543 
 1544 echo "$as_me:$LINENO: checking build system type" >&5
 1545 echo $ECHO_N "checking build system type... $ECHO_C" >&6
 1546 if test "${ac_cv_build+set}" = set; then
 1547   echo $ECHO_N "(cached) $ECHO_C" >&6
 1548 else
 1549   ac_cv_build_alias=$build_alias
 1550 test -z "$ac_cv_build_alias" &&
 1551   ac_cv_build_alias=`$ac_config_guess`
 1552 test -z "$ac_cv_build_alias" &&
 1553   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 1554 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 1555    { (exit 1); exit 1; }; }
 1556 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 1557   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 1558 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 1559    { (exit 1); exit 1; }; }
 1560 
 1561 fi
 1562 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 1563 echo "${ECHO_T}$ac_cv_build" >&6
 1564 build=$ac_cv_build
 1565 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1566 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1567 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1568 
 1569 
 1570 echo "$as_me:$LINENO: checking host system type" >&5
 1571 echo $ECHO_N "checking host system type... $ECHO_C" >&6
 1572 if test "${ac_cv_host+set}" = set; then
 1573   echo $ECHO_N "(cached) $ECHO_C" >&6
 1574 else
 1575   ac_cv_host_alias=$host_alias
 1576 test -z "$ac_cv_host_alias" &&
 1577   ac_cv_host_alias=$ac_cv_build_alias
 1578 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 1579   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 1580 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 1581    { (exit 1); exit 1; }; }
 1582 
 1583 fi
 1584 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 1585 echo "${ECHO_T}$ac_cv_host" >&6
 1586 host=$ac_cv_host
 1587 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1588 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1589 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1590 
 1591 
 1592 echo "$as_me:$LINENO: checking target system type" >&5
 1593 echo $ECHO_N "checking target system type... $ECHO_C" >&6
 1594 if test "${ac_cv_target+set}" = set; then
 1595   echo $ECHO_N "(cached) $ECHO_C" >&6
 1596 else
 1597   ac_cv_target_alias=$target_alias
 1598 test "x$ac_cv_target_alias" = "x" &&
 1599   ac_cv_target_alias=$ac_cv_host_alias
 1600 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
 1601   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
 1602 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 1603    { (exit 1); exit 1; }; }
 1604 
 1605 fi
 1606 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 1607 echo "${ECHO_T}$ac_cv_target" >&6
 1608 target=$ac_cv_target
 1609 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1610 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1611 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1612 
 1613 
 1614 # The aliases save the names the user supplied, while $host etc.
 1615 # will get canonicalized.
 1616 test -n "$target_alias" &&
 1617   test "$program_prefix$program_suffix$program_transform_name" = \
 1618     NONENONEs,x,x, &&
 1619   program_prefix=${target_alias}-
 1620 am__api_version="1.9"
 1621 # Find a good install program.  We prefer a C program (faster),
 1622 # so one script is as good as another.  But avoid the broken or
 1623 # incompatible versions:
 1624 # SysV /etc/install, /usr/sbin/install
 1625 # SunOS /usr/etc/install
 1626 # IRIX /sbin/install
 1627 # AIX /bin/install
 1628 # AmigaOS /C/install, which installs bootblocks on floppy discs
 1629 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 1630 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 1631 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 1632 # OS/2's system install, which has a completely different semantic
 1633 # ./install, which can be erroneously created by make from ./install.sh.
 1634 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 1635 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 1636 if test -z "$INSTALL"; then
 1637 if test "${ac_cv_path_install+set}" = set; then
 1638   echo $ECHO_N "(cached) $ECHO_C" >&6
 1639 else
 1640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1641 for as_dir in $PATH
 1642 do
 1643   IFS=$as_save_IFS
 1644   test -z "$as_dir" && as_dir=.
 1645   # Account for people who put trailing slashes in PATH elements.
 1646 case $as_dir/ in
 1647   ./ | .// | /cC/* | \
 1648   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 1649   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 1650   /usr/ucb/* ) ;;
 1651   *)
 1652     # OSF1 and SCO ODT 3.0 have their own names for install.
 1653     # Don't use installbsd from OSF since it installs stuff as root
 1654     # by default.
 1655     for ac_prog in ginstall scoinst install; do
 1656       for ac_exec_ext in '' $ac_executable_extensions; do
 1657 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 1658 	  if test $ac_prog = install &&
 1659 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 1660 	    # AIX install.  It has an incompatible calling convention.
 1661 	    :
 1662 	  elif test $ac_prog = install &&
 1663 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 1664 	    # program-specific install script used by HP pwplus--don't use.
 1665 	    :
 1666 	  else
 1667 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 1668 	    break 3
 1669 	  fi
 1670 	fi
 1671       done
 1672     done
 1673     ;;
 1674 esac
 1675 done
 1676 
 1677 
 1678 fi
 1679   if test "${ac_cv_path_install+set}" = set; then
 1680     INSTALL=$ac_cv_path_install
 1681   else
 1682     # As a last resort, use the slow shell script.  We don't cache a
 1683     # path for INSTALL within a source directory, because that will
 1684     # break other packages using the cache if that directory is
 1685     # removed, or if the path is relative.
 1686     INSTALL=$ac_install_sh
 1687   fi
 1688 fi
 1689 echo "$as_me:$LINENO: result: $INSTALL" >&5
 1690 echo "${ECHO_T}$INSTALL" >&6
 1691 
 1692 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 1693 # It thinks the first close brace ends the variable substitution.
 1694 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 1695 
 1696 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 1697 
 1698 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 1699 
 1700 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 1701 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 1702 # Just in case
 1703 sleep 1
 1704 echo timestamp > conftest.file
 1705 # Do `set' in a subshell so we don't clobber the current shell's
 1706 # arguments.  Must try -L first in case configure is actually a
 1707 # symlink; some systems play weird games with the mod time of symlinks
 1708 # (eg FreeBSD returns the mod time of the symlink's containing
 1709 # directory).
 1710 if (
 1711    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 1712    if test "$*" = "X"; then
 1713       # -L didn't work.
 1714       set X `ls -t $srcdir/configure conftest.file`
 1715    fi
 1716    rm -f conftest.file
 1717    if test "$*" != "X $srcdir/configure conftest.file" \
 1718       && test "$*" != "X conftest.file $srcdir/configure"; then
 1719 
 1720       # If neither matched, then we have a broken ls.  This can happen
 1721       # if, for instance, CONFIG_SHELL is bash and it inherits a
 1722       # broken ls alias from the environment.  This has actually
 1723       # happened.  Such a system could not be considered "sane".
 1724       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 1725 alias in your environment" >&5
 1726 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 1727 alias in your environment" >&2;}
 1728    { (exit 1); exit 1; }; }
 1729    fi
 1730 
 1731    test "$2" = conftest.file
 1732    )
 1733 then
 1734    # Ok.
 1735    :
 1736 else
 1737    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 1738 Check your system clock" >&5
 1739 echo "$as_me: error: newly created file is older than distributed files!
 1740 Check your system clock" >&2;}
 1741    { (exit 1); exit 1; }; }
 1742 fi
 1743 echo "$as_me:$LINENO: result: yes" >&5
 1744 echo "${ECHO_T}yes" >&6
 1745 test "$program_prefix" != NONE &&
 1746   program_transform_name="s,^,$program_prefix,;$program_transform_name"
 1747 # Use a double $ so make ignores it.
 1748 test "$program_suffix" != NONE &&
 1749   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 1750 # Double any \ or $.  echo might interpret backslashes.
 1751 # By default was `s,x,x', remove it if useless.
 1752 cat <<\_ACEOF >conftest.sed
 1753 s/[\\$]/&&/g;s/;s,x,x,$//
 1754 _ACEOF
 1755 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 1756 rm conftest.sed
 1757 
 1758 # expand $ac_aux_dir to an absolute path
 1759 am_aux_dir=`cd $ac_aux_dir && pwd`
 1760 
 1761 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 1762 # Use eval to expand $SHELL
 1763 if eval "$MISSING --run true"; then
 1764   am_missing_run="$MISSING --run "
 1765 else
 1766   am_missing_run=
 1767   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 1768 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 1769 fi
 1770 
 1771 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 1772   # We used to keeping the `.' as first argument, in order to
 1773   # allow $(mkdir_p) to be used without argument.  As in
 1774   #   $(mkdir_p) $(somedir)
 1775   # where $(somedir) is conditionally defined.  However this is wrong
 1776   # for two reasons:
 1777   #  1. if the package is installed by a user who cannot write `.'
 1778   #     make install will fail,
 1779   #  2. the above comment should most certainly read
 1780   #     $(mkdir_p) $(DESTDIR)$(somedir)
 1781   #     so it does not work when $(somedir) is undefined and
 1782   #     $(DESTDIR) is not.
 1783   #  To support the latter case, we have to write
 1784   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 1785   #  so the `.' trick is pointless.
 1786   mkdir_p='mkdir -p --'
 1787 else
 1788   # On NextStep and OpenStep, the `mkdir' command does not
 1789   # recognize any option.  It will interpret all options as
 1790   # directories to create, and then abort because `.' already
 1791   # exists.
 1792   for d in ./-p ./--version;
 1793   do
 1794     test -d $d && rmdir $d
 1795   done
 1796   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 1797   if test -f "$ac_aux_dir/mkinstalldirs"; then
 1798     mkdir_p='$(mkinstalldirs)'
 1799   else
 1800     mkdir_p='$(install_sh) -d'
 1801   fi
 1802 fi
 1803 
 1804 for ac_prog in gawk mawk nawk awk
 1805 do
 1806   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1807 set dummy $ac_prog; ac_word=$2
 1808 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1810 if test "${ac_cv_prog_AWK+set}" = set; then
 1811   echo $ECHO_N "(cached) $ECHO_C" >&6
 1812 else
 1813   if test -n "$AWK"; then
 1814   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 1815 else
 1816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1817 for as_dir in $PATH
 1818 do
 1819   IFS=$as_save_IFS
 1820   test -z "$as_dir" && as_dir=.
 1821   for ac_exec_ext in '' $ac_executable_extensions; do
 1822   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1823     ac_cv_prog_AWK="$ac_prog"
 1824     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1825     break 2
 1826   fi
 1827 done
 1828 done
 1829 
 1830 fi
 1831 fi
 1832 AWK=$ac_cv_prog_AWK
 1833 if test -n "$AWK"; then
 1834   echo "$as_me:$LINENO: result: $AWK" >&5
 1835 echo "${ECHO_T}$AWK" >&6
 1836 else
 1837   echo "$as_me:$LINENO: result: no" >&5
 1838 echo "${ECHO_T}no" >&6
 1839 fi
 1840 
 1841   test -n "$AWK" && break
 1842 done
 1843 
 1844 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 1845 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 1846 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 1847 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 1848   echo $ECHO_N "(cached) $ECHO_C" >&6
 1849 else
 1850   cat >conftest.make <<\_ACEOF
 1851 all:
 1852 	@echo 'ac_maketemp="$(MAKE)"'
 1853 _ACEOF
 1854 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 1855 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 1856 if test -n "$ac_maketemp"; then
 1857   eval ac_cv_prog_make_${ac_make}_set=yes
 1858 else
 1859   eval ac_cv_prog_make_${ac_make}_set=no
 1860 fi
 1861 rm -f conftest.make
 1862 fi
 1863 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 1864   echo "$as_me:$LINENO: result: yes" >&5
 1865 echo "${ECHO_T}yes" >&6
 1866   SET_MAKE=
 1867 else
 1868   echo "$as_me:$LINENO: result: no" >&5
 1869 echo "${ECHO_T}no" >&6
 1870   SET_MAKE="MAKE=${MAKE-make}"
 1871 fi
 1872 
 1873 rm -rf .tst 2>/dev/null
 1874 mkdir .tst 2>/dev/null
 1875 if test -d .tst; then
 1876   am__leading_dot=.
 1877 else
 1878   am__leading_dot=_
 1879 fi
 1880 rmdir .tst 2>/dev/null
 1881 
 1882 # test to see if srcdir already configured
 1883 if test "`cd $srcdir && pwd`" != "`pwd`" &&
 1884    test -f $srcdir/config.status; then
 1885   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 1886 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 1887    { (exit 1); exit 1; }; }
 1888 fi
 1889 
 1890 # test whether we have cygpath
 1891 if test -z "$CYGPATH_W"; then
 1892   if (cygpath --version) >/dev/null 2>/dev/null; then
 1893     CYGPATH_W='cygpath -w'
 1894   else
 1895     CYGPATH_W=echo
 1896   fi
 1897 fi
 1898 
 1899 
 1900 # Define the identity of the package.
 1901  PACKAGE=libmcrypt
 1902  VERSION=$LIBMCRYPT_VERSION
 1903 
 1904 
 1905 cat >>confdefs.h <<_ACEOF
 1906 @%:@define PACKAGE "$PACKAGE"
 1907 _ACEOF
 1908 
 1909  
 1910 cat >>confdefs.h <<_ACEOF
 1911 @%:@define VERSION "$VERSION"
 1912 _ACEOF
 1913 
 1914 # Some tools Automake needs.
 1915 
 1916 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 1917 
 1918 
 1919 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 1920 
 1921 
 1922 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 1923 
 1924 
 1925 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 1926 
 1927 
 1928 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 1929 
 1930 install_sh=${install_sh-"$am_aux_dir/install-sh"}
 1931 
 1932 # Installed binaries are usually stripped using `strip' when the user
 1933 # run `make install-strip'.  However `strip' might not be the right
 1934 # tool to use in cross-compilation environments, therefore Automake
 1935 # will honor the `STRIP' environment variable to overrule this program.
 1936 if test "$cross_compiling" != no; then
 1937   if test -n "$ac_tool_prefix"; then
 1938   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 1939 set dummy ${ac_tool_prefix}strip; ac_word=$2
 1940 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1942 if test "${ac_cv_prog_STRIP+set}" = set; then
 1943   echo $ECHO_N "(cached) $ECHO_C" >&6
 1944 else
 1945   if test -n "$STRIP"; then
 1946   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 1947 else
 1948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1949 for as_dir in $PATH
 1950 do
 1951   IFS=$as_save_IFS
 1952   test -z "$as_dir" && as_dir=.
 1953   for ac_exec_ext in '' $ac_executable_extensions; do
 1954   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1955     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 1956     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1957     break 2
 1958   fi
 1959 done
 1960 done
 1961 
 1962 fi
 1963 fi
 1964 STRIP=$ac_cv_prog_STRIP
 1965 if test -n "$STRIP"; then
 1966   echo "$as_me:$LINENO: result: $STRIP" >&5
 1967 echo "${ECHO_T}$STRIP" >&6
 1968 else
 1969   echo "$as_me:$LINENO: result: no" >&5
 1970 echo "${ECHO_T}no" >&6
 1971 fi
 1972 
 1973 fi
 1974 if test -z "$ac_cv_prog_STRIP"; then
 1975   ac_ct_STRIP=$STRIP
 1976   # Extract the first word of "strip", so it can be a program name with args.
 1977 set dummy strip; ac_word=$2
 1978 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1980 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 1981   echo $ECHO_N "(cached) $ECHO_C" >&6
 1982 else
 1983   if test -n "$ac_ct_STRIP"; then
 1984   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 1985 else
 1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1987 for as_dir in $PATH
 1988 do
 1989   IFS=$as_save_IFS
 1990   test -z "$as_dir" && as_dir=.
 1991   for ac_exec_ext in '' $ac_executable_extensions; do
 1992   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1993     ac_cv_prog_ac_ct_STRIP="strip"
 1994     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1995     break 2
 1996   fi
 1997 done
 1998 done
 1999 
 2000   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 2001 fi
 2002 fi
 2003 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2004 if test -n "$ac_ct_STRIP"; then
 2005   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 2006 echo "${ECHO_T}$ac_ct_STRIP" >&6
 2007 else
 2008   echo "$as_me:$LINENO: result: no" >&5
 2009 echo "${ECHO_T}no" >&6
 2010 fi
 2011 
 2012   STRIP=$ac_ct_STRIP
 2013 else
 2014   STRIP="$ac_cv_prog_STRIP"
 2015 fi
 2016 
 2017 fi
 2018 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 2019 
 2020 # We need awk for the "check" target.  The system "awk" is bad on
 2021 # some platforms.
 2022 # Always define AMTAR for backward compatibility.
 2023 
 2024 AMTAR=${AMTAR-"${am_missing_run}tar"}
 2025 
 2026 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 2027 
 2028 
 2029 
 2030 
 2031 
 2032           ac_config_headers="$ac_config_headers config.h"
 2033 
 2034 
 2035 
 2036 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2037 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 2038 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 2039 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 2040   echo $ECHO_N "(cached) $ECHO_C" >&6
 2041 else
 2042   cat >conftest.make <<\_ACEOF
 2043 all:
 2044 	@echo 'ac_maketemp="$(MAKE)"'
 2045 _ACEOF
 2046 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2047 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 2048 if test -n "$ac_maketemp"; then
 2049   eval ac_cv_prog_make_${ac_make}_set=yes
 2050 else
 2051   eval ac_cv_prog_make_${ac_make}_set=no
 2052 fi
 2053 rm -f conftest.make
 2054 fi
 2055 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 2056   echo "$as_me:$LINENO: result: yes" >&5
 2057 echo "${ECHO_T}yes" >&6
 2058   SET_MAKE=
 2059 else
 2060   echo "$as_me:$LINENO: result: no" >&5
 2061 echo "${ECHO_T}no" >&6
 2062   SET_MAKE="MAKE=${MAKE-make}"
 2063 fi
 2064 
 2065 
 2066 ac_ext=c
 2067 ac_cpp='$CPP $CPPFLAGS'
 2068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2071 if test -n "$ac_tool_prefix"; then
 2072   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2073 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2074 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2076 if test "${ac_cv_prog_CC+set}" = set; then
 2077   echo $ECHO_N "(cached) $ECHO_C" >&6
 2078 else
 2079   if test -n "$CC"; then
 2080   ac_cv_prog_CC="$CC" # Let the user override the test.
 2081 else
 2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2083 for as_dir in $PATH
 2084 do
 2085   IFS=$as_save_IFS
 2086   test -z "$as_dir" && as_dir=.
 2087   for ac_exec_ext in '' $ac_executable_extensions; do
 2088   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2089     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2090     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2091     break 2
 2092   fi
 2093 done
 2094 done
 2095 
 2096 fi
 2097 fi
 2098 CC=$ac_cv_prog_CC
 2099 if test -n "$CC"; then
 2100   echo "$as_me:$LINENO: result: $CC" >&5
 2101 echo "${ECHO_T}$CC" >&6
 2102 else
 2103   echo "$as_me:$LINENO: result: no" >&5
 2104 echo "${ECHO_T}no" >&6
 2105 fi
 2106 
 2107 fi
 2108 if test -z "$ac_cv_prog_CC"; then
 2109   ac_ct_CC=$CC
 2110   # Extract the first word of "gcc", so it can be a program name with args.
 2111 set dummy gcc; ac_word=$2
 2112 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2114 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2115   echo $ECHO_N "(cached) $ECHO_C" >&6
 2116 else
 2117   if test -n "$ac_ct_CC"; then
 2118   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2119 else
 2120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2121 for as_dir in $PATH
 2122 do
 2123   IFS=$as_save_IFS
 2124   test -z "$as_dir" && as_dir=.
 2125   for ac_exec_ext in '' $ac_executable_extensions; do
 2126   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2127     ac_cv_prog_ac_ct_CC="gcc"
 2128     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2129     break 2
 2130   fi
 2131 done
 2132 done
 2133 
 2134 fi
 2135 fi
 2136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2137 if test -n "$ac_ct_CC"; then
 2138   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2139 echo "${ECHO_T}$ac_ct_CC" >&6
 2140 else
 2141   echo "$as_me:$LINENO: result: no" >&5
 2142 echo "${ECHO_T}no" >&6
 2143 fi
 2144 
 2145   CC=$ac_ct_CC
 2146 else
 2147   CC="$ac_cv_prog_CC"
 2148 fi
 2149 
 2150 if test -z "$CC"; then
 2151   if test -n "$ac_tool_prefix"; then
 2152   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2153 set dummy ${ac_tool_prefix}cc; ac_word=$2
 2154 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2156 if test "${ac_cv_prog_CC+set}" = set; then
 2157   echo $ECHO_N "(cached) $ECHO_C" >&6
 2158 else
 2159   if test -n "$CC"; then
 2160   ac_cv_prog_CC="$CC" # Let the user override the test.
 2161 else
 2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2163 for as_dir in $PATH
 2164 do
 2165   IFS=$as_save_IFS
 2166   test -z "$as_dir" && as_dir=.
 2167   for ac_exec_ext in '' $ac_executable_extensions; do
 2168   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2169     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2170     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2171     break 2
 2172   fi
 2173 done
 2174 done
 2175 
 2176 fi
 2177 fi
 2178 CC=$ac_cv_prog_CC
 2179 if test -n "$CC"; then
 2180   echo "$as_me:$LINENO: result: $CC" >&5
 2181 echo "${ECHO_T}$CC" >&6
 2182 else
 2183   echo "$as_me:$LINENO: result: no" >&5
 2184 echo "${ECHO_T}no" >&6
 2185 fi
 2186 
 2187 fi
 2188 if test -z "$ac_cv_prog_CC"; then
 2189   ac_ct_CC=$CC
 2190   # Extract the first word of "cc", so it can be a program name with args.
 2191 set dummy cc; ac_word=$2
 2192 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2194 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2195   echo $ECHO_N "(cached) $ECHO_C" >&6
 2196 else
 2197   if test -n "$ac_ct_CC"; then
 2198   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2199 else
 2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2201 for as_dir in $PATH
 2202 do
 2203   IFS=$as_save_IFS
 2204   test -z "$as_dir" && as_dir=.
 2205   for ac_exec_ext in '' $ac_executable_extensions; do
 2206   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2207     ac_cv_prog_ac_ct_CC="cc"
 2208     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2209     break 2
 2210   fi
 2211 done
 2212 done
 2213 
 2214 fi
 2215 fi
 2216 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2217 if test -n "$ac_ct_CC"; then
 2218   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2219 echo "${ECHO_T}$ac_ct_CC" >&6
 2220 else
 2221   echo "$as_me:$LINENO: result: no" >&5
 2222 echo "${ECHO_T}no" >&6
 2223 fi
 2224 
 2225   CC=$ac_ct_CC
 2226 else
 2227   CC="$ac_cv_prog_CC"
 2228 fi
 2229 
 2230 fi
 2231 if test -z "$CC"; then
 2232   # Extract the first word of "cc", so it can be a program name with args.
 2233 set dummy cc; ac_word=$2
 2234 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2236 if test "${ac_cv_prog_CC+set}" = set; then
 2237   echo $ECHO_N "(cached) $ECHO_C" >&6
 2238 else
 2239   if test -n "$CC"; then
 2240   ac_cv_prog_CC="$CC" # Let the user override the test.
 2241 else
 2242   ac_prog_rejected=no
 2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2244 for as_dir in $PATH
 2245 do
 2246   IFS=$as_save_IFS
 2247   test -z "$as_dir" && as_dir=.
 2248   for ac_exec_ext in '' $ac_executable_extensions; do
 2249   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2250     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2251        ac_prog_rejected=yes
 2252        continue
 2253      fi
 2254     ac_cv_prog_CC="cc"
 2255     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2256     break 2
 2257   fi
 2258 done
 2259 done
 2260 
 2261 if test $ac_prog_rejected = yes; then
 2262   # We found a bogon in the path, so make sure we never use it.
 2263   set dummy $ac_cv_prog_CC
 2264   shift
 2265   if test $@%:@ != 0; then
 2266     # We chose a different compiler from the bogus one.
 2267     # However, it has the same basename, so the bogon will be chosen
 2268     # first if we set CC to just the basename; use the full file name.
 2269     shift
 2270     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2271   fi
 2272 fi
 2273 fi
 2274 fi
 2275 CC=$ac_cv_prog_CC
 2276 if test -n "$CC"; then
 2277   echo "$as_me:$LINENO: result: $CC" >&5
 2278 echo "${ECHO_T}$CC" >&6
 2279 else
 2280   echo "$as_me:$LINENO: result: no" >&5
 2281 echo "${ECHO_T}no" >&6
 2282 fi
 2283 
 2284 fi
 2285 if test -z "$CC"; then
 2286   if test -n "$ac_tool_prefix"; then
 2287   for ac_prog in cl
 2288   do
 2289     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2290 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2291 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2293 if test "${ac_cv_prog_CC+set}" = set; then
 2294   echo $ECHO_N "(cached) $ECHO_C" >&6
 2295 else
 2296   if test -n "$CC"; then
 2297   ac_cv_prog_CC="$CC" # Let the user override the test.
 2298 else
 2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2300 for as_dir in $PATH
 2301 do
 2302   IFS=$as_save_IFS
 2303   test -z "$as_dir" && as_dir=.
 2304   for ac_exec_ext in '' $ac_executable_extensions; do
 2305   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2306     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2307     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2308     break 2
 2309   fi
 2310 done
 2311 done
 2312 
 2313 fi
 2314 fi
 2315 CC=$ac_cv_prog_CC
 2316 if test -n "$CC"; then
 2317   echo "$as_me:$LINENO: result: $CC" >&5
 2318 echo "${ECHO_T}$CC" >&6
 2319 else
 2320   echo "$as_me:$LINENO: result: no" >&5
 2321 echo "${ECHO_T}no" >&6
 2322 fi
 2323 
 2324     test -n "$CC" && break
 2325   done
 2326 fi
 2327 if test -z "$CC"; then
 2328   ac_ct_CC=$CC
 2329   for ac_prog in cl
 2330 do
 2331   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2332 set dummy $ac_prog; ac_word=$2
 2333 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2336   echo $ECHO_N "(cached) $ECHO_C" >&6
 2337 else
 2338   if test -n "$ac_ct_CC"; then
 2339   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2340 else
 2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2342 for as_dir in $PATH
 2343 do
 2344   IFS=$as_save_IFS
 2345   test -z "$as_dir" && as_dir=.
 2346   for ac_exec_ext in '' $ac_executable_extensions; do
 2347   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2348     ac_cv_prog_ac_ct_CC="$ac_prog"
 2349     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2350     break 2
 2351   fi
 2352 done
 2353 done
 2354 
 2355 fi
 2356 fi
 2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2358 if test -n "$ac_ct_CC"; then
 2359   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2360 echo "${ECHO_T}$ac_ct_CC" >&6
 2361 else
 2362   echo "$as_me:$LINENO: result: no" >&5
 2363 echo "${ECHO_T}no" >&6
 2364 fi
 2365 
 2366   test -n "$ac_ct_CC" && break
 2367 done
 2368 
 2369   CC=$ac_ct_CC
 2370 fi
 2371 
 2372 fi
 2373 
 2374 
 2375 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 2376 See \`config.log' for more details." >&5
 2377 echo "$as_me: error: no acceptable C compiler found in \$PATH
 2378 See \`config.log' for more details." >&2;}
 2379    { (exit 1); exit 1; }; }
 2380 
 2381 # Provide some information about the compiler.
 2382 echo "$as_me:$LINENO:" \
 2383      "checking for C compiler version" >&5
 2384 ac_compiler=`set X $ac_compile; echo $2`
 2385 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 2386   (eval $ac_compiler --version </dev/null >&5) 2>&5
 2387   ac_status=$?
 2388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2389   (exit $ac_status); }
 2390 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 2391   (eval $ac_compiler -v </dev/null >&5) 2>&5
 2392   ac_status=$?
 2393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2394   (exit $ac_status); }
 2395 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 2396   (eval $ac_compiler -V </dev/null >&5) 2>&5
 2397   ac_status=$?
 2398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2399   (exit $ac_status); }
 2400 
 2401 cat >conftest.$ac_ext <<_ACEOF
 2402 /* confdefs.h.  */
 2403 _ACEOF
 2404 cat confdefs.h >>conftest.$ac_ext
 2405 cat >>conftest.$ac_ext <<_ACEOF
 2406 /* end confdefs.h.  */
 2407 
 2408 int
 2409 main ()
 2410 {
 2411 
 2412   ;
 2413   return 0;
 2414 }
 2415 _ACEOF
 2416 ac_clean_files_save=$ac_clean_files
 2417 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 2418 # Try to create an executable without -o first, disregard a.out.
 2419 # It will help us diagnose broken compilers, and finding out an intuition
 2420 # of exeext.
 2421 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 2422 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 2423 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2424 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 2425   (eval $ac_link_default) 2>&5
 2426   ac_status=$?
 2427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2428   (exit $ac_status); }; then
 2429   # Find the output, starting from the most likely.  This scheme is
 2430 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 2431 # resort.
 2432 
 2433 # Be careful to initialize this variable, since it used to be cached.
 2434 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 2435 ac_cv_exeext=
 2436 # b.out is created by i960 compilers.
 2437 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 2438 do
 2439   test -f "$ac_file" || continue
 2440   case $ac_file in
 2441     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 2442 	;;
 2443     conftest.$ac_ext )
 2444 	# This is the source file.
 2445 	;;
 2446     [ab].out )
 2447 	# We found the default executable, but exeext='' is most
 2448 	# certainly right.
 2449 	break;;
 2450     *.* )
 2451 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2452 	# FIXME: I believe we export ac_cv_exeext for Libtool,
 2453 	# but it would be cool to find out if it's true.  Does anybody
 2454 	# maintain Libtool? --akim.
 2455 	export ac_cv_exeext
 2456 	break;;
 2457     * )
 2458 	break;;
 2459   esac
 2460 done
 2461 else
 2462   echo "$as_me: failed program was:" >&5
 2463 sed 's/^/| /' conftest.$ac_ext >&5
 2464 
 2465 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 2466 See \`config.log' for more details." >&5
 2467 echo "$as_me: error: C compiler cannot create executables
 2468 See \`config.log' for more details." >&2;}
 2469    { (exit 77); exit 77; }; }
 2470 fi
 2471 
 2472 ac_exeext=$ac_cv_exeext
 2473 echo "$as_me:$LINENO: result: $ac_file" >&5
 2474 echo "${ECHO_T}$ac_file" >&6
 2475 
 2476 # Check the compiler produces executables we can run.  If not, either
 2477 # the compiler is broken, or we cross compile.
 2478 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 2479 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 2480 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2481 # If not cross compiling, check that we can run a simple program.
 2482 if test "$cross_compiling" != yes; then
 2483   if { ac_try='./$ac_file'
 2484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2485   (eval $ac_try) 2>&5
 2486   ac_status=$?
 2487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2488   (exit $ac_status); }; }; then
 2489     cross_compiling=no
 2490   else
 2491     if test "$cross_compiling" = maybe; then
 2492 	cross_compiling=yes
 2493     else
 2494 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 2495 If you meant to cross compile, use \`--host'.
 2496 See \`config.log' for more details." >&5
 2497 echo "$as_me: error: cannot run C compiled programs.
 2498 If you meant to cross compile, use \`--host'.
 2499 See \`config.log' for more details." >&2;}
 2500    { (exit 1); exit 1; }; }
 2501     fi
 2502   fi
 2503 fi
 2504 echo "$as_me:$LINENO: result: yes" >&5
 2505 echo "${ECHO_T}yes" >&6
 2506 
 2507 rm -f a.out a.exe conftest$ac_cv_exeext b.out
 2508 ac_clean_files=$ac_clean_files_save
 2509 # Check the compiler produces executables we can run.  If not, either
 2510 # the compiler is broken, or we cross compile.
 2511 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 2512 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 2513 echo "$as_me:$LINENO: result: $cross_compiling" >&5
 2514 echo "${ECHO_T}$cross_compiling" >&6
 2515 
 2516 echo "$as_me:$LINENO: checking for suffix of executables" >&5
 2517 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 2518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2519   (eval $ac_link) 2>&5
 2520   ac_status=$?
 2521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2522   (exit $ac_status); }; then
 2523   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2524 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2525 # work properly (i.e., refer to `conftest.exe'), while it won't with
 2526 # `rm'.
 2527 for ac_file in conftest.exe conftest conftest.*; do
 2528   test -f "$ac_file" || continue
 2529   case $ac_file in
 2530     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 2531     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2532 	  export ac_cv_exeext
 2533 	  break;;
 2534     * ) break;;
 2535   esac
 2536 done
 2537 else
 2538   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 2539 See \`config.log' for more details." >&5
 2540 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 2541 See \`config.log' for more details." >&2;}
 2542    { (exit 1); exit 1; }; }
 2543 fi
 2544 
 2545 rm -f conftest$ac_cv_exeext
 2546 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 2547 echo "${ECHO_T}$ac_cv_exeext" >&6
 2548 
 2549 rm -f conftest.$ac_ext
 2550 EXEEXT=$ac_cv_exeext
 2551 ac_exeext=$EXEEXT
 2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
 2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 2554 if test "${ac_cv_objext+set}" = set; then
 2555   echo $ECHO_N "(cached) $ECHO_C" >&6
 2556 else
 2557   cat >conftest.$ac_ext <<_ACEOF
 2558 /* confdefs.h.  */
 2559 _ACEOF
 2560 cat confdefs.h >>conftest.$ac_ext
 2561 cat >>conftest.$ac_ext <<_ACEOF
 2562 /* end confdefs.h.  */
 2563 
 2564 int
 2565 main ()
 2566 {
 2567 
 2568   ;
 2569   return 0;
 2570 }
 2571 _ACEOF
 2572 rm -f conftest.o conftest.obj
 2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2574   (eval $ac_compile) 2>&5
 2575   ac_status=$?
 2576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2577   (exit $ac_status); }; then
 2578   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 2579   case $ac_file in
 2580     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 2581     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2582        break;;
 2583   esac
 2584 done
 2585 else
 2586   echo "$as_me: failed program was:" >&5
 2587 sed 's/^/| /' conftest.$ac_ext >&5
 2588 
 2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 2590 See \`config.log' for more details." >&5
 2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
 2592 See \`config.log' for more details." >&2;}
 2593    { (exit 1); exit 1; }; }
 2594 fi
 2595 
 2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2597 fi
 2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 2599 echo "${ECHO_T}$ac_cv_objext" >&6
 2600 OBJEXT=$ac_cv_objext
 2601 ac_objext=$OBJEXT
 2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 2605   echo $ECHO_N "(cached) $ECHO_C" >&6
 2606 else
 2607   cat >conftest.$ac_ext <<_ACEOF
 2608 /* confdefs.h.  */
 2609 _ACEOF
 2610 cat confdefs.h >>conftest.$ac_ext
 2611 cat >>conftest.$ac_ext <<_ACEOF
 2612 /* end confdefs.h.  */
 2613 
 2614 int
 2615 main ()
 2616 {
 2617 #ifndef __GNUC__
 2618        choke me
 2619 #endif
 2620 
 2621   ;
 2622   return 0;
 2623 }
 2624 _ACEOF
 2625 rm -f conftest.$ac_objext
 2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2627   (eval $ac_compile) 2>conftest.er1
 2628   ac_status=$?
 2629   grep -v '^ *+' conftest.er1 >conftest.err
 2630   rm -f conftest.er1
 2631   cat conftest.err >&5
 2632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2633   (exit $ac_status); } &&
 2634 	 { ac_try='test -z "$ac_c_werror_flag"
 2635 			 || test ! -s conftest.err'
 2636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2637   (eval $ac_try) 2>&5
 2638   ac_status=$?
 2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2640   (exit $ac_status); }; } &&
 2641 	 { ac_try='test -s conftest.$ac_objext'
 2642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2643   (eval $ac_try) 2>&5
 2644   ac_status=$?
 2645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2646   (exit $ac_status); }; }; then
 2647   ac_compiler_gnu=yes
 2648 else
 2649   echo "$as_me: failed program was:" >&5
 2650 sed 's/^/| /' conftest.$ac_ext >&5
 2651 
 2652 ac_compiler_gnu=no
 2653 fi
 2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 2656 
 2657 fi
 2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
 2661 ac_test_CFLAGS=${CFLAGS+set}
 2662 ac_save_CFLAGS=$CFLAGS
 2663 CFLAGS="-g"
 2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 2666 if test "${ac_cv_prog_cc_g+set}" = set; then
 2667   echo $ECHO_N "(cached) $ECHO_C" >&6
 2668 else
 2669   cat >conftest.$ac_ext <<_ACEOF
 2670 /* confdefs.h.  */
 2671 _ACEOF
 2672 cat confdefs.h >>conftest.$ac_ext
 2673 cat >>conftest.$ac_ext <<_ACEOF
 2674 /* end confdefs.h.  */
 2675 
 2676 int
 2677 main ()
 2678 {
 2679 
 2680   ;
 2681   return 0;
 2682 }
 2683 _ACEOF
 2684 rm -f conftest.$ac_objext
 2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2686   (eval $ac_compile) 2>conftest.er1
 2687   ac_status=$?
 2688   grep -v '^ *+' conftest.er1 >conftest.err
 2689   rm -f conftest.er1
 2690   cat conftest.err >&5
 2691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2692   (exit $ac_status); } &&
 2693 	 { ac_try='test -z "$ac_c_werror_flag"
 2694 			 || test ! -s conftest.err'
 2695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2696   (eval $ac_try) 2>&5
 2697   ac_status=$?
 2698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2699   (exit $ac_status); }; } &&
 2700 	 { ac_try='test -s conftest.$ac_objext'
 2701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2702   (eval $ac_try) 2>&5
 2703   ac_status=$?
 2704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2705   (exit $ac_status); }; }; then
 2706   ac_cv_prog_cc_g=yes
 2707 else
 2708   echo "$as_me: failed program was:" >&5
 2709 sed 's/^/| /' conftest.$ac_ext >&5
 2710 
 2711 ac_cv_prog_cc_g=no
 2712 fi
 2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2714 fi
 2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 2717 if test "$ac_test_CFLAGS" = set; then
 2718   CFLAGS=$ac_save_CFLAGS
 2719 elif test $ac_cv_prog_cc_g = yes; then
 2720   if test "$GCC" = yes; then
 2721     CFLAGS="-g -O2"
 2722   else
 2723     CFLAGS="-g"
 2724   fi
 2725 else
 2726   if test "$GCC" = yes; then
 2727     CFLAGS="-O2"
 2728   else
 2729     CFLAGS=
 2730   fi
 2731 fi
 2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 2735   echo $ECHO_N "(cached) $ECHO_C" >&6
 2736 else
 2737   ac_cv_prog_cc_stdc=no
 2738 ac_save_CC=$CC
 2739 cat >conftest.$ac_ext <<_ACEOF
 2740 /* confdefs.h.  */
 2741 _ACEOF
 2742 cat confdefs.h >>conftest.$ac_ext
 2743 cat >>conftest.$ac_ext <<_ACEOF
 2744 /* end confdefs.h.  */
 2745 #include <stdarg.h>
 2746 #include <stdio.h>
 2747 #include <sys/types.h>
 2748 #include <sys/stat.h>
 2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 2750 struct buf { int x; };
 2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 2752 static char *e (p, i)
 2753      char **p;
 2754      int i;
 2755 {
 2756   return p[i];
 2757 }
 2758 static char *f (char * (*g) (char **, int), char **p, ...)
 2759 {
 2760   char *s;
 2761   va_list v;
 2762   va_start (v,p);
 2763   s = g (p, va_arg (v,int));
 2764   va_end (v);
 2765   return s;
 2766 }
 2767 
 2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2769    function prototypes and stuff, but not '\xHH' hex character constants.
 2770    These don't provoke an error unfortunately, instead are silently treated
 2771    as 'x'.  The following induces an error, until -std1 is added to get
 2772    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2773    array size at least.  It's necessary to write '\x00'==0 to get something
 2774    that's true only with -std1.  */
 2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2776 
 2777 int test (int i, double x);
 2778 struct s1 {int (*f) (int a);};
 2779 struct s2 {int (*f) (double a);};
 2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2781 int argc;
 2782 char **argv;
 2783 int
 2784 main ()
 2785 {
 2786 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2787   ;
 2788   return 0;
 2789 }
 2790 _ACEOF
 2791 # Don't try gcc -ansi; that turns off useful extensions and
 2792 # breaks some systems' header files.
 2793 # AIX			-qlanglvl=ansi
 2794 # Ultrix and OSF/1	-std1
 2795 # HP-UX 10.20 and later	-Ae
 2796 # HP-UX older versions	-Aa -D_HPUX_SOURCE
 2797 # SVR4			-Xc -D__EXTENSIONS__
 2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2799 do
 2800   CC="$ac_save_CC $ac_arg"
 2801   rm -f conftest.$ac_objext
 2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2803   (eval $ac_compile) 2>conftest.er1
 2804   ac_status=$?
 2805   grep -v '^ *+' conftest.er1 >conftest.err
 2806   rm -f conftest.er1
 2807   cat conftest.err >&5
 2808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2809   (exit $ac_status); } &&
 2810 	 { ac_try='test -z "$ac_c_werror_flag"
 2811 			 || test ! -s conftest.err'
 2812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2813   (eval $ac_try) 2>&5
 2814   ac_status=$?
 2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2816   (exit $ac_status); }; } &&
 2817 	 { ac_try='test -s conftest.$ac_objext'
 2818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2819   (eval $ac_try) 2>&5
 2820   ac_status=$?
 2821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2822   (exit $ac_status); }; }; then
 2823   ac_cv_prog_cc_stdc=$ac_arg
 2824 break
 2825 else
 2826   echo "$as_me: failed program was:" >&5
 2827 sed 's/^/| /' conftest.$ac_ext >&5
 2828 
 2829 fi
 2830 rm -f conftest.err conftest.$ac_objext 
 2831 done
 2832 rm -f conftest.$ac_ext conftest.$ac_objext
 2833 CC=$ac_save_CC
 2834 
 2835 fi
 2836 
 2837 case "x$ac_cv_prog_cc_stdc" in
 2838   x|xno)
 2839     echo "$as_me:$LINENO: result: none needed" >&5
 2840 echo "${ECHO_T}none needed" >&6 ;;
 2841   *)
 2842     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 2844     CC="$CC $ac_cv_prog_cc_stdc" ;;
 2845 esac
 2846 
 2847 # Some people use a C++ compiler to compile C.  Since we use `exit',
 2848 # in C++ we need to declare it.  In case someone uses the same compiler
 2849 # for both compiling C and C++ we need to have the C++ compiler decide
 2850 # the declaration of exit, since it's the most demanding environment.
 2851 cat >conftest.$ac_ext <<_ACEOF
 2852 @%:@ifndef __cplusplus
 2853   choke me
 2854 @%:@endif
 2855 _ACEOF
 2856 rm -f conftest.$ac_objext
 2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2858   (eval $ac_compile) 2>conftest.er1
 2859   ac_status=$?
 2860   grep -v '^ *+' conftest.er1 >conftest.err
 2861   rm -f conftest.er1
 2862   cat conftest.err >&5
 2863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2864   (exit $ac_status); } &&
 2865 	 { ac_try='test -z "$ac_c_werror_flag"
 2866 			 || test ! -s conftest.err'
 2867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2868   (eval $ac_try) 2>&5
 2869   ac_status=$?
 2870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2871   (exit $ac_status); }; } &&
 2872 	 { ac_try='test -s conftest.$ac_objext'
 2873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2874   (eval $ac_try) 2>&5
 2875   ac_status=$?
 2876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2877   (exit $ac_status); }; }; then
 2878   for ac_declaration in \
 2879    '' \
 2880    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2881    'extern "C" void std::exit (int); using std::exit;' \
 2882    'extern "C" void exit (int) throw ();' \
 2883    'extern "C" void exit (int);' \
 2884    'void exit (int);'
 2885 do
 2886   cat >conftest.$ac_ext <<_ACEOF
 2887 /* confdefs.h.  */
 2888 _ACEOF
 2889 cat confdefs.h >>conftest.$ac_ext
 2890 cat >>conftest.$ac_ext <<_ACEOF
 2891 /* end confdefs.h.  */
 2892 $ac_declaration
 2893 @%:@include <stdlib.h>
 2894 int
 2895 main ()
 2896 {
 2897 exit (42);
 2898   ;
 2899   return 0;
 2900 }
 2901 _ACEOF
 2902 rm -f conftest.$ac_objext
 2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2904   (eval $ac_compile) 2>conftest.er1
 2905   ac_status=$?
 2906   grep -v '^ *+' conftest.er1 >conftest.err
 2907   rm -f conftest.er1
 2908   cat conftest.err >&5
 2909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2910   (exit $ac_status); } &&
 2911 	 { ac_try='test -z "$ac_c_werror_flag"
 2912 			 || test ! -s conftest.err'
 2913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2914   (eval $ac_try) 2>&5
 2915   ac_status=$?
 2916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2917   (exit $ac_status); }; } &&
 2918 	 { ac_try='test -s conftest.$ac_objext'
 2919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2920   (eval $ac_try) 2>&5
 2921   ac_status=$?
 2922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2923   (exit $ac_status); }; }; then
 2924   :
 2925 else
 2926   echo "$as_me: failed program was:" >&5
 2927 sed 's/^/| /' conftest.$ac_ext >&5
 2928 
 2929 continue
 2930 fi
 2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2932   cat >conftest.$ac_ext <<_ACEOF
 2933 /* confdefs.h.  */
 2934 _ACEOF
 2935 cat confdefs.h >>conftest.$ac_ext
 2936 cat >>conftest.$ac_ext <<_ACEOF
 2937 /* end confdefs.h.  */
 2938 $ac_declaration
 2939 int
 2940 main ()
 2941 {
 2942 exit (42);
 2943   ;
 2944   return 0;
 2945 }
 2946 _ACEOF
 2947 rm -f conftest.$ac_objext
 2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2949   (eval $ac_compile) 2>conftest.er1
 2950   ac_status=$?
 2951   grep -v '^ *+' conftest.er1 >conftest.err
 2952   rm -f conftest.er1
 2953   cat conftest.err >&5
 2954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2955   (exit $ac_status); } &&
 2956 	 { ac_try='test -z "$ac_c_werror_flag"
 2957 			 || test ! -s conftest.err'
 2958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2959   (eval $ac_try) 2>&5
 2960   ac_status=$?
 2961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2962   (exit $ac_status); }; } &&
 2963 	 { ac_try='test -s conftest.$ac_objext'
 2964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2965   (eval $ac_try) 2>&5
 2966   ac_status=$?
 2967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2968   (exit $ac_status); }; }; then
 2969   break
 2970 else
 2971   echo "$as_me: failed program was:" >&5
 2972 sed 's/^/| /' conftest.$ac_ext >&5
 2973 
 2974 fi
 2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2976 done
 2977 rm -f conftest*
 2978 if test -n "$ac_declaration"; then
 2979   echo '#ifdef __cplusplus' >>confdefs.h
 2980   echo $ac_declaration      >>confdefs.h
 2981   echo '#endif'             >>confdefs.h
 2982 fi
 2983 
 2984 else
 2985   echo "$as_me: failed program was:" >&5
 2986 sed 's/^/| /' conftest.$ac_ext >&5
 2987 
 2988 fi
 2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2990 ac_ext=c
 2991 ac_cpp='$CPP $CPPFLAGS'
 2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2995 DEPDIR="${am__leading_dot}deps"
 2996 
 2997           ac_config_commands="$ac_config_commands depfiles"
 2998 
 2999 
 3000 am_make=${MAKE-make}
 3001 cat > confinc << 'END'
 3002 am__doit:
 3003 	@echo done
 3004 .PHONY: am__doit
 3005 END
 3006 # If we don't find an include directive, just comment out the code.
 3007 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 3008 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 3009 am__include="#"
 3010 am__quote=
 3011 _am_result=none
 3012 # First try GNU make style include.
 3013 echo "include confinc" > confmf
 3014 # We grep out `Entering directory' and `Leaving directory'
 3015 # messages which can occur if `w' ends up in MAKEFLAGS.
 3016 # In particular we don't look at `^make:' because GNU make might
 3017 # be invoked under some other name (usually "gmake"), in which
 3018 # case it prints its new name instead of `make'.
 3019 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 3020    am__include=include
 3021    am__quote=
 3022    _am_result=GNU
 3023 fi
 3024 # Now try BSD make style include.
 3025 if test "$am__include" = "#"; then
 3026    echo '.include "confinc"' > confmf
 3027    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 3028       am__include=.include
 3029       am__quote="\""
 3030       _am_result=BSD
 3031    fi
 3032 fi
 3033 
 3034 
 3035 echo "$as_me:$LINENO: result: $_am_result" >&5
 3036 echo "${ECHO_T}$_am_result" >&6
 3037 rm -f confinc confmf
 3038 
 3039 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 3040 if test "${enable_dependency_tracking+set}" = set; then
 3041   enableval="$enable_dependency_tracking"
 3042   
 3043 fi; 
 3044 if test "x$enable_dependency_tracking" != xno; then
 3045   am_depcomp="$ac_aux_dir/depcomp"
 3046   AMDEPBACKSLASH='\'
 3047 fi
 3048  
 3049 
 3050 if test "x$enable_dependency_tracking" != xno; then
 3051   AMDEP_TRUE=
 3052   AMDEP_FALSE='#'
 3053 else
 3054   AMDEP_TRUE='#'
 3055   AMDEP_FALSE=
 3056 fi
 3057 
 3058 
 3059 
 3060 
 3061 depcc="$CC"   am_compiler_list=
 3062 
 3063 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 3064 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 3065 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 3066   echo $ECHO_N "(cached) $ECHO_C" >&6
 3067 else
 3068   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3069   # We make a subdir and do the tests there.  Otherwise we can end up
 3070   # making bogus files that we don't know about and never remove.  For
 3071   # instance it was reported that on HP-UX the gcc test will end up
 3072   # making a dummy file named `D' -- because `-MD' means `put the output
 3073   # in D'.
 3074   mkdir conftest.dir
 3075   # Copy depcomp to subdir because otherwise we won't find it if we're
 3076   # using a relative directory.
 3077   cp "$am_depcomp" conftest.dir
 3078   cd conftest.dir
 3079   # We will build objects and dependencies in a subdirectory because
 3080   # it helps to detect inapplicable dependency modes.  For instance
 3081   # both Tru64's cc and ICC support -MD to output dependencies as a
 3082   # side effect of compilation, but ICC will put the dependencies in
 3083   # the current directory while Tru64 will put them in the object
 3084   # directory.
 3085   mkdir sub
 3086 
 3087   am_cv_CC_dependencies_compiler_type=none
 3088   if test "$am_compiler_list" = ""; then
 3089      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3090   fi
 3091   for depmode in $am_compiler_list; do
 3092     # Setup a source with many dependencies, because some compilers
 3093     # like to wrap large dependency lists on column 80 (with \), and
 3094     # we should not choose a depcomp mode which is confused by this.
 3095     #
 3096     # We need to recreate these files for each test, as the compiler may
 3097     # overwrite some of them when testing with obscure command lines.
 3098     # This happens at least with the AIX C compiler.
 3099     : > sub/conftest.c
 3100     for i in 1 2 3 4 5 6; do
 3101       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3102       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3103       # Solaris 8's {/usr,}/bin/sh.
 3104       touch sub/conftst$i.h
 3105     done
 3106     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3107 
 3108     case $depmode in
 3109     nosideeffect)
 3110       # after this tag, mechanisms are not by side-effect, so they'll
 3111       # only be used when explicitly requested
 3112       if test "x$enable_dependency_tracking" = xyes; then
 3113 	continue
 3114       else
 3115 	break
 3116       fi
 3117       ;;
 3118     none) break ;;
 3119     esac
 3120     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3121     # mode.  It turns out that the SunPro C++ compiler does not properly
 3122     # handle `-M -o', and we need to detect this.
 3123     if depmode=$depmode \
 3124        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 3125        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3126        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 3127          >/dev/null 2>conftest.err &&
 3128        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3129        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 3130        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3131       # icc doesn't choke on unknown options, it will just issue warnings
 3132       # or remarks (even with -Werror).  So we grep stderr for any message
 3133       # that says an option was ignored or not supported.
 3134       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3135       #   icc: Command line warning: ignoring option '-M'; no argument required
 3136       # The diagnosis changed in icc 8.0:
 3137       #   icc: Command line remark: option '-MP' not supported
 3138       if (grep 'ignoring option' conftest.err ||
 3139           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3140         am_cv_CC_dependencies_compiler_type=$depmode
 3141         break
 3142       fi
 3143     fi
 3144   done
 3145 
 3146   cd ..
 3147   rm -rf conftest.dir
 3148 else
 3149   am_cv_CC_dependencies_compiler_type=none
 3150 fi
 3151 
 3152 fi
 3153 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 3154 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 3155 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3156 
 3157  
 3158 
 3159 if 
 3160   test "x$enable_dependency_tracking" != xno \
 3161   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3162   am__fastdepCC_TRUE=
 3163   am__fastdepCC_FALSE='#'
 3164 else
 3165   am__fastdepCC_TRUE='#'
 3166   am__fastdepCC_FALSE=
 3167 fi
 3168 
 3169 
 3170 
 3171 case "$host_os" in
 3172         *w32*)
 3173                 LDFLAGS="$LDFLAGS -no-undefined"
 3174                 
 3175 cat >>confdefs.h <<\_ACEOF
 3176 @%:@define WIN32 1
 3177 _ACEOF
 3178 
 3179         ;;
 3180         *win32*) 
 3181                 LDFLAGS="$LDFLAGS -no-undefined"
 3182                 
 3183 cat >>confdefs.h <<\_ACEOF
 3184 @%:@define WIN32 1
 3185 _ACEOF
 3186 
 3187         ;;
 3188         cygwin*) 
 3189                 LDFLAGS="$LDFLAGS -no-undefined"
 3190                 
 3191 cat >>confdefs.h <<\_ACEOF
 3192 @%:@define WIN32 1
 3193 _ACEOF
 3194 
 3195         ;;
 3196 esac
 3197 
 3198 # Find a good install program.  We prefer a C program (faster),
 3199 # so one script is as good as another.  But avoid the broken or
 3200 # incompatible versions:
 3201 # SysV /etc/install, /usr/sbin/install
 3202 # SunOS /usr/etc/install
 3203 # IRIX /sbin/install
 3204 # AIX /bin/install
 3205 # AmigaOS /C/install, which installs bootblocks on floppy discs
 3206 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 3207 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 3208 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 3209 # OS/2's system install, which has a completely different semantic
 3210 # ./install, which can be erroneously created by make from ./install.sh.
 3211 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 3212 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 3213 if test -z "$INSTALL"; then
 3214 if test "${ac_cv_path_install+set}" = set; then
 3215   echo $ECHO_N "(cached) $ECHO_C" >&6
 3216 else
 3217   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3218 for as_dir in $PATH
 3219 do
 3220   IFS=$as_save_IFS
 3221   test -z "$as_dir" && as_dir=.
 3222   # Account for people who put trailing slashes in PATH elements.
 3223 case $as_dir/ in
 3224   ./ | .// | /cC/* | \
 3225   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 3226   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 3227   /usr/ucb/* ) ;;
 3228   *)
 3229     # OSF1 and SCO ODT 3.0 have their own names for install.
 3230     # Don't use installbsd from OSF since it installs stuff as root
 3231     # by default.
 3232     for ac_prog in ginstall scoinst install; do
 3233       for ac_exec_ext in '' $ac_executable_extensions; do
 3234 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 3235 	  if test $ac_prog = install &&
 3236 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3237 	    # AIX install.  It has an incompatible calling convention.
 3238 	    :
 3239 	  elif test $ac_prog = install &&
 3240 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3241 	    # program-specific install script used by HP pwplus--don't use.
 3242 	    :
 3243 	  else
 3244 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 3245 	    break 3
 3246 	  fi
 3247 	fi
 3248       done
 3249     done
 3250     ;;
 3251 esac
 3252 done
 3253 
 3254 
 3255 fi
 3256   if test "${ac_cv_path_install+set}" = set; then
 3257     INSTALL=$ac_cv_path_install
 3258   else
 3259     # As a last resort, use the slow shell script.  We don't cache a
 3260     # path for INSTALL within a source directory, because that will
 3261     # break other packages using the cache if that directory is
 3262     # removed, or if the path is relative.
 3263     INSTALL=$ac_install_sh
 3264   fi
 3265 fi
 3266 echo "$as_me:$LINENO: result: $INSTALL" >&5
 3267 echo "${ECHO_T}$INSTALL" >&6
 3268 
 3269 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 3270 # It thinks the first close brace ends the variable substitution.
 3271 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 3272 
 3273 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 3274 
 3275 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 3276 
 3277 echo "$as_me:$LINENO: checking whether ln -s works" >&5
 3278 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 3279 LN_S=$as_ln_s
 3280 if test "$LN_S" = "ln -s"; then
 3281   echo "$as_me:$LINENO: result: yes" >&5
 3282 echo "${ECHO_T}yes" >&6
 3283 else
 3284   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 3285 echo "${ECHO_T}no, using $LN_S" >&6
 3286 fi
 3287 
 3288 
 3289 
 3290 opt_maintainer_mode=no
 3291 echo "$as_me:$LINENO: checking whether in maintanance mode" >&5
 3292 echo $ECHO_N "checking whether in maintanance mode... $ECHO_C" >&6
 3293 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 3294 if test "${enable_maintainer_mode+set}" = set; then
 3295   enableval="$enable_maintainer_mode"
 3296   opt_maintainer_mode=$enableval
 3297 fi; 
 3298 echo "$as_me:$LINENO: result: $opt_maintainer_mode" >&5
 3299 echo "${ECHO_T}$opt_maintainer_mode" >&6
 3300 
 3301 opt_dmalloc_mode=no
 3302 echo "$as_me:$LINENO: checking whether in dmalloc mode" >&5
 3303 echo $ECHO_N "checking whether in dmalloc mode... $ECHO_C" >&6
 3304 # Check whether --enable-dmalloc-mode or --disable-dmalloc-mode was given.
 3305 if test "${enable_dmalloc_mode+set}" = set; then
 3306   enableval="$enable_dmalloc_mode"
 3307   opt_dmalloc_mode=$enableval
 3308 fi; 
 3309 echo "$as_me:$LINENO: result: $opt_dmalloc_mode" >&5
 3310 echo "${ECHO_T}$opt_dmalloc_mode" >&6
 3311 
 3312 
 3313 if test x$ac_cv_c_compiler_gnu = xyes; then
 3314 	if test x$opt_maintainer_mode = xyes; then
 3315 	  CFLAGS=" -ggdb3 -O2 -Wall -Wpointer-arith"
 3316 	fi
 3317 
 3318 	if test x$opt_dmalloc_mode = xyes; then
 3319 	  
 3320 
 3321 echo "$as_me:$LINENO: checking for main in -ldmalloc" >&5
 3322 echo $ECHO_N "checking for main in -ldmalloc... $ECHO_C" >&6
 3323 if test "${ac_cv_lib_dmalloc_main+set}" = set; then
 3324   echo $ECHO_N "(cached) $ECHO_C" >&6
 3325 else
 3326   ac_check_lib_save_LIBS=$LIBS
 3327 LIBS="-ldmalloc  $LIBS"
 3328 cat >conftest.$ac_ext <<_ACEOF
 3329 /* confdefs.h.  */
 3330 _ACEOF
 3331 cat confdefs.h >>conftest.$ac_ext
 3332 cat >>conftest.$ac_ext <<_ACEOF
 3333 /* end confdefs.h.  */
 3334 
 3335 
 3336 int
 3337 main ()
 3338 {
 3339 main ();
 3340   ;
 3341   return 0;
 3342 }
 3343 _ACEOF
 3344 rm -f conftest.$ac_objext conftest$ac_exeext
 3345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3346   (eval $ac_link) 2>conftest.er1
 3347   ac_status=$?
 3348   grep -v '^ *+' conftest.er1 >conftest.err
 3349   rm -f conftest.er1
 3350   cat conftest.err >&5
 3351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3352   (exit $ac_status); } &&
 3353 	 { ac_try='test -z "$ac_c_werror_flag"
 3354 			 || test ! -s conftest.err'
 3355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3356   (eval $ac_try) 2>&5
 3357   ac_status=$?
 3358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3359   (exit $ac_status); }; } &&
 3360 	 { ac_try='test -s conftest$ac_exeext'
 3361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3362   (eval $ac_try) 2>&5
 3363   ac_status=$?
 3364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3365   (exit $ac_status); }; }; then
 3366   ac_cv_lib_dmalloc_main=yes
 3367 else
 3368   echo "$as_me: failed program was:" >&5
 3369 sed 's/^/| /' conftest.$ac_ext >&5
 3370 
 3371 ac_cv_lib_dmalloc_main=no
 3372 fi
 3373 rm -f conftest.err conftest.$ac_objext \
 3374       conftest$ac_exeext conftest.$ac_ext
 3375 LIBS=$ac_check_lib_save_LIBS
 3376 fi
 3377 echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_main" >&5
 3378 echo "${ECHO_T}$ac_cv_lib_dmalloc_main" >&6
 3379 if test $ac_cv_lib_dmalloc_main = yes; then
 3380   cat >>confdefs.h <<_ACEOF
 3381 @%:@define HAVE_LIBDMALLOC 1
 3382 _ACEOF
 3383 
 3384   LIBS="-ldmalloc $LIBS"
 3385 
 3386 fi
 3387 
 3388 	  
 3389 cat >>confdefs.h <<\_ACEOF
 3390 @%:@define USE_DMALLOC 1
 3391 _ACEOF
 3392 
 3393 	fi
 3394 fi
 3395 
 3396 opt_enable_ltdl=no
 3397 echo "$as_me:$LINENO: checking whether to enable dynamic module loading" >&5
 3398 echo $ECHO_N "checking whether to enable dynamic module loading... $ECHO_C" >&6
 3399 # Check whether --enable-dynamic-loading or --disable-dynamic-loading was given.
 3400 if test "${enable_dynamic_loading+set}" = set; then
 3401   enableval="$enable_dynamic_loading"
 3402   opt_enable_ltdl=$enableval
 3403 fi; 
 3404 echo "$as_me:$LINENO: result: $opt_enable_ltdl" >&5
 3405 echo "${ECHO_T}$opt_enable_ltdl" >&6
 3406 
 3407 MCRYPT_MODE_MODULES="cbc cfb ctr ecb ncfb nofb ofb stream"
 3408 MCRYPT_ALGORITHM_MODULES="threeway cast-128 gost rijndael-128 safer-sk64 twofish \
 3409  arcfour cast-256 loki97 rijndael-192 saferplus wake \
 3410  blowfish-compat des rijndael-256 serpent xtea \
 3411  blowfish enigma rc2 safer-sk128 tripledes"
 3412 
 3413 
 3414 if test "x$opt_enable_ltdl" != xno; then
 3415  touch lib/mcrypt_internal.h
 3416 
 3417  echo "$as_me:$LINENO: checking for lt_dlmutex_register in -lltdl" >&5
 3418 echo $ECHO_N "checking for lt_dlmutex_register in -lltdl... $ECHO_C" >&6
 3419 if test "${ac_cv_lib_ltdl_lt_dlmutex_register+set}" = set; then
 3420   echo $ECHO_N "(cached) $ECHO_C" >&6
 3421 else
 3422   ac_check_lib_save_LIBS=$LIBS
 3423 LIBS="-lltdl  $LIBS"
 3424 cat >conftest.$ac_ext <<_ACEOF
 3425 /* confdefs.h.  */
 3426 _ACEOF
 3427 cat confdefs.h >>conftest.$ac_ext
 3428 cat >>conftest.$ac_ext <<_ACEOF
 3429 /* end confdefs.h.  */
 3430 
 3431 /* Override any gcc2 internal prototype to avoid an error.  */
 3432 #ifdef __cplusplus
 3433 extern "C"
 3434 #endif
 3435 /* We use char because int might match the return type of a gcc2
 3436    builtin and then its argument prototype would still apply.  */
 3437 char lt_dlmutex_register ();
 3438 int
 3439 main ()
 3440 {
 3441 lt_dlmutex_register ();
 3442   ;
 3443   return 0;
 3444 }
 3445 _ACEOF
 3446 rm -f conftest.$ac_objext conftest$ac_exeext
 3447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3448   (eval $ac_link) 2>conftest.er1
 3449   ac_status=$?
 3450   grep -v '^ *+' conftest.er1 >conftest.err
 3451   rm -f conftest.er1
 3452   cat conftest.err >&5
 3453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3454   (exit $ac_status); } &&
 3455 	 { ac_try='test -z "$ac_c_werror_flag"
 3456 			 || test ! -s conftest.err'
 3457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3458   (eval $ac_try) 2>&5
 3459   ac_status=$?
 3460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3461   (exit $ac_status); }; } &&
 3462 	 { ac_try='test -s conftest$ac_exeext'
 3463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3464   (eval $ac_try) 2>&5
 3465   ac_status=$?
 3466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3467   (exit $ac_status); }; }; then
 3468   ac_cv_lib_ltdl_lt_dlmutex_register=yes
 3469 else
 3470   echo "$as_me: failed program was:" >&5
 3471 sed 's/^/| /' conftest.$ac_ext >&5
 3472 
 3473 ac_cv_lib_ltdl_lt_dlmutex_register=no
 3474 fi
 3475 rm -f conftest.err conftest.$ac_objext \
 3476       conftest$ac_exeext conftest.$ac_ext
 3477 LIBS=$ac_check_lib_save_LIBS
 3478 fi
 3479 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlmutex_register" >&5
 3480 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlmutex_register" >&6
 3481 if test $ac_cv_lib_ltdl_lt_dlmutex_register = yes; then
 3482   
 3483 cat >>confdefs.h <<\_ACEOF
 3484 @%:@define DLMUTEX 1
 3485 _ACEOF
 3486 
 3487 fi
 3488 
 3489 
 3490     echo "$as_me:$LINENO: checking for lt_dlinit in -lltdl" >&5
 3491 echo $ECHO_N "checking for lt_dlinit in -lltdl... $ECHO_C" >&6
 3492 if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then
 3493   echo $ECHO_N "(cached) $ECHO_C" >&6
 3494 else
 3495   ac_check_lib_save_LIBS=$LIBS
 3496 LIBS="-lltdl  $LIBS"
 3497 cat >conftest.$ac_ext <<_ACEOF
 3498 /* confdefs.h.  */
 3499 _ACEOF
 3500 cat confdefs.h >>conftest.$ac_ext
 3501 cat >>conftest.$ac_ext <<_ACEOF
 3502 /* end confdefs.h.  */
 3503 
 3504 /* Override any gcc2 internal prototype to avoid an error.  */
 3505 #ifdef __cplusplus
 3506 extern "C"
 3507 #endif
 3508 /* We use char because int might match the return type of a gcc2
 3509    builtin and then its argument prototype would still apply.  */
 3510 char lt_dlinit ();
 3511 int
 3512 main ()
 3513 {
 3514 lt_dlinit ();
 3515   ;
 3516   return 0;
 3517 }
 3518 _ACEOF
 3519 rm -f conftest.$ac_objext conftest$ac_exeext
 3520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3521   (eval $ac_link) 2>conftest.er1
 3522   ac_status=$?
 3523   grep -v '^ *+' conftest.er1 >conftest.err
 3524   rm -f conftest.er1
 3525   cat conftest.err >&5
 3526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3527   (exit $ac_status); } &&
 3528 	 { ac_try='test -z "$ac_c_werror_flag"
 3529 			 || test ! -s conftest.err'
 3530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3531   (eval $ac_try) 2>&5
 3532   ac_status=$?
 3533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3534   (exit $ac_status); }; } &&
 3535 	 { ac_try='test -s conftest$ac_exeext'
 3536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3537   (eval $ac_try) 2>&5
 3538   ac_status=$?
 3539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3540   (exit $ac_status); }; }; then
 3541   ac_cv_lib_ltdl_lt_dlinit=yes
 3542 else
 3543   echo "$as_me: failed program was:" >&5
 3544 sed 's/^/| /' conftest.$ac_ext >&5
 3545 
 3546 ac_cv_lib_ltdl_lt_dlinit=no
 3547 fi
 3548 rm -f conftest.err conftest.$ac_objext \
 3549       conftest$ac_exeext conftest.$ac_ext
 3550 LIBS=$ac_check_lib_save_LIBS
 3551 fi
 3552 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlinit" >&5
 3553 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlinit" >&6
 3554 if test $ac_cv_lib_ltdl_lt_dlinit = yes; then
 3555   test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no
 3556 else
 3557   if test x"$enable_ltdl_install" = xno; then
 3558      { echo "$as_me:$LINENO: WARNING: libltdl not installed, but installation disabled" >&5
 3559 echo "$as_me: WARNING: libltdl not installed, but installation disabled" >&2;}
 3560    else
 3561      enable_ltdl_install=yes
 3562    fi
 3563   
 3564 fi
 3565 
 3566   if test x"$enable_ltdl_install" = x"yes"; then
 3567     ac_configure_args="$ac_configure_args --enable-ltdl-install"
 3568     LIBLTDL='${top_builddir}/''libltdl'/libltdl.la
 3569     LTDLINCL='-I${top_srcdir}/''libltdl'
 3570   else
 3571     ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
 3572     LIBLTDL="-lltdl"
 3573     LTDLINCL=
 3574   fi
 3575   # For backwards non-gettext consistent compatibility...
 3576   INCLTDL="$LTDLINCL"
 3577 
 3578  
 3579  
 3580  LIBLTDL_DIR=libltdl
 3581  
 3582 
 3583            
 3584 
 3585 subdirs="$subdirs libltdl"
 3586 
 3587  # Check whether --enable-static or --disable-static was given.
 3588 if test "${enable_static+set}" = set; then
 3589   enableval="$enable_static"
 3590   p=${PACKAGE-default}
 3591     case $enableval in
 3592     yes) enable_static=yes ;;
 3593     no) enable_static=no ;;
 3594     *)
 3595      enable_static=no
 3596       # Look at the argument we got.  We use all the common list separators.
 3597       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 3598       for pkg in $enableval; do
 3599 	IFS="$lt_save_ifs"
 3600 	if test "X$pkg" = "X$p"; then
 3601 	  enable_static=yes
 3602 	fi
 3603       done
 3604       IFS="$lt_save_ifs"
 3605       ;;
 3606     esac
 3607 else
 3608   enable_static=no
 3609 fi; 
 3610 
 3611 
 3612 
 3613  
 3614 cat >>confdefs.h <<\_ACEOF
 3615 @%:@define USE_LTDL 1
 3616 _ACEOF
 3617 
 3618 
 3619  if test x$LIBLTDL = x; then
 3620 	:
 3621  else
 3622 	LTLIBS="-lltdl"
 3623  fi
 3624  opt_include_algos=no
 3625 
 3626 # create the names of the .la libraries to install
 3627  for i in $MCRYPT_ALGORITHM_MODULES
 3628  do \
 3629   INSTALL_ALGORITHM_MODULES="$INSTALL_ALGORITHM_MODULES $i.la"
 3630  done
 3631 
 3632  for i in $MCRYPT_MODE_MODULES
 3633  do \
 3634   INSTALL_MODE_MODULES="$INSTALL_MODE_MODULES $i.la"
 3635  done
 3636 
 3637  
 3638  
 3639 
 3640 else
 3641  for i in $MCRYPT_ALGORITHM_MODULES
 3642  do \
 3643   NOINSTALL_ALGORITHM_MODULES="$NOINSTALL_ALGORITHM_MODULES $i.la"
 3644  done
 3645 
 3646  for i in $MCRYPT_MODE_MODULES
 3647  do \
 3648   NOINSTALL_MODE_MODULES="$NOINSTALL_MODE_MODULES $i.la"
 3649  done
 3650 
 3651  
 3652  
 3653 
 3654  opt_include_algos="$MCRYPT_MODE_MODULES $MCRYPT_ALGORITHM_MODULES"
 3655  echo "***"
 3656  echo "*** Dynamic loading has been disabled"
 3657 fi
 3658 
 3659 echo "$as_me:$LINENO: checking which algorithms to include into library" >&5
 3660 echo $ECHO_N "checking which algorithms to include into library... $ECHO_C" >&6
 3661 
 3662 # Check whether --with-included-algos or --without-included-algos was given.
 3663 if test "${with_included_algos+set}" = set; then
 3664   withval="$with_included_algos"
 3665   touch lib/mcrypt_internal.h
 3666 opt_include_algos=$withval
 3667 fi; 
 3668 
 3669 if test "x$opt_include_algos" = xyes; then
 3670 	opt_include_algos=""
 3671 fi
 3672 if test "x$opt_include_algos" = xno; then
 3673 	opt_include_algos=""
 3674 fi
 3675 
 3676 
 3677 EXTRA_OBJECTS=""
 3678 ALG=`echo -n $opt_include_algos|sed "s/,/ /g"|sed "s/\n/ /g"`
 3679 for i in $ALG
 3680 do \
 3681 test -f modules/algorithms/$i.c && EXTRA_OBJECTS="$EXTRA_OBJECTS ../modules/algorithms/$i.lo"
 3682 test -f modules/modes/$i.c && EXTRA_OBJECTS="$EXTRA_OBJECTS ../modules/modes/$i.lo"
 3683 done
 3684 
 3685 echo "$as_me:$LINENO: result: $opt_include_algos" >&5
 3686 echo "${ECHO_T}$opt_include_algos" >&6
 3687 
 3688 
 3689 EXTRA_ALGOS=$ALG
 3690 
 3691 
 3692 
 3693 
 3694 
 3695 
 3696 
 3697 
 3698 
 3699 
 3700 
 3701 
 3702 LT_CURRENT=$LIBMCRYPT_MOST_RECENT_INTERFACE
 3703 LT_REVISION=$LIBMCRYPT_CURRENT_INTERFACE_IMPLEMENTATION_NUMBER
 3704 LT_AGE=`expr $LIBMCRYPT_MOST_RECENT_INTERFACE - $LIBMCRYPT_OLDEST_INTERFACE`
 3705 
 3706 
 3707 
 3708 
 3709 ac_ext=c
 3710 ac_cpp='$CPP $CPPFLAGS'
 3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3714 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 3715 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 3716 # On Suns, sometimes $CPP names a directory.
 3717 if test -n "$CPP" && test -d "$CPP"; then
 3718   CPP=
 3719 fi
 3720 if test -z "$CPP"; then
 3721   if test "${ac_cv_prog_CPP+set}" = set; then
 3722   echo $ECHO_N "(cached) $ECHO_C" >&6
 3723 else
 3724       # Double quotes because CPP needs to be expanded
 3725     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3726     do
 3727       ac_preproc_ok=false
 3728 for ac_c_preproc_warn_flag in '' yes
 3729 do
 3730   # Use a header file that comes with gcc, so configuring glibc
 3731   # with a fresh cross-compiler works.
 3732   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3733   # <limits.h> exists even on freestanding compilers.
 3734   # On the NeXT, cc -E runs the code through the compiler's parser,
 3735   # not just through cpp. "Syntax error" is here to catch this case.
 3736   cat >conftest.$ac_ext <<_ACEOF
 3737 /* confdefs.h.  */
 3738 _ACEOF
 3739 cat confdefs.h >>conftest.$ac_ext
 3740 cat >>conftest.$ac_ext <<_ACEOF
 3741 /* end confdefs.h.  */
 3742 @%:@ifdef __STDC__
 3743 @%:@ include <limits.h>
 3744 @%:@else
 3745 @%:@ include <assert.h>
 3746 @%:@endif
 3747 		     Syntax error
 3748 _ACEOF
 3749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3750   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3751   ac_status=$?
 3752   grep -v '^ *+' conftest.er1 >conftest.err
 3753   rm -f conftest.er1
 3754   cat conftest.err >&5
 3755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3756   (exit $ac_status); } >/dev/null; then
 3757   if test -s conftest.err; then
 3758     ac_cpp_err=$ac_c_preproc_warn_flag
 3759     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3760   else
 3761     ac_cpp_err=
 3762   fi
 3763 else
 3764   ac_cpp_err=yes
 3765 fi
 3766 if test -z "$ac_cpp_err"; then
 3767   :
 3768 else
 3769   echo "$as_me: failed program was:" >&5
 3770 sed 's/^/| /' conftest.$ac_ext >&5
 3771 
 3772   # Broken: fails on valid input.
 3773 continue
 3774 fi
 3775 rm -f conftest.err conftest.$ac_ext
 3776 
 3777   # OK, works on sane cases.  Now check whether non-existent headers
 3778   # can be detected and how.
 3779   cat >conftest.$ac_ext <<_ACEOF
 3780 /* confdefs.h.  */
 3781 _ACEOF
 3782 cat confdefs.h >>conftest.$ac_ext
 3783 cat >>conftest.$ac_ext <<_ACEOF
 3784 /* end confdefs.h.  */
 3785 @%:@include <ac_nonexistent.h>
 3786 _ACEOF
 3787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3788   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3789   ac_status=$?
 3790   grep -v '^ *+' conftest.er1 >conftest.err
 3791   rm -f conftest.er1
 3792   cat conftest.err >&5
 3793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3794   (exit $ac_status); } >/dev/null; then
 3795   if test -s conftest.err; then
 3796     ac_cpp_err=$ac_c_preproc_warn_flag
 3797     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3798   else
 3799     ac_cpp_err=
 3800   fi
 3801 else
 3802   ac_cpp_err=yes
 3803 fi
 3804 if test -z "$ac_cpp_err"; then
 3805   # Broken: success on invalid input.
 3806 continue
 3807 else
 3808   echo "$as_me: failed program was:" >&5
 3809 sed 's/^/| /' conftest.$ac_ext >&5
 3810 
 3811   # Passes both tests.
 3812 ac_preproc_ok=:
 3813 break
 3814 fi
 3815 rm -f conftest.err conftest.$ac_ext
 3816 
 3817 done
 3818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3819 rm -f conftest.err conftest.$ac_ext
 3820 if $ac_preproc_ok; then
 3821   break
 3822 fi
 3823 
 3824     done
 3825     ac_cv_prog_CPP=$CPP
 3826   
 3827 fi
 3828   CPP=$ac_cv_prog_CPP
 3829 else
 3830   ac_cv_prog_CPP=$CPP
 3831 fi
 3832 echo "$as_me:$LINENO: result: $CPP" >&5
 3833 echo "${ECHO_T}$CPP" >&6
 3834 ac_preproc_ok=false
 3835 for ac_c_preproc_warn_flag in '' yes
 3836 do
 3837   # Use a header file that comes with gcc, so configuring glibc
 3838   # with a fresh cross-compiler works.
 3839   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3840   # <limits.h> exists even on freestanding compilers.
 3841   # On the NeXT, cc -E runs the code through the compiler's parser,
 3842   # not just through cpp. "Syntax error" is here to catch this case.
 3843   cat >conftest.$ac_ext <<_ACEOF
 3844 /* confdefs.h.  */
 3845 _ACEOF
 3846 cat confdefs.h >>conftest.$ac_ext
 3847 cat >>conftest.$ac_ext <<_ACEOF
 3848 /* end confdefs.h.  */
 3849 @%:@ifdef __STDC__
 3850 @%:@ include <limits.h>
 3851 @%:@else
 3852 @%:@ include <assert.h>
 3853 @%:@endif
 3854 		     Syntax error
 3855 _ACEOF
 3856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3857   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3858   ac_status=$?
 3859   grep -v '^ *+' conftest.er1 >conftest.err
 3860   rm -f conftest.er1
 3861   cat conftest.err >&5
 3862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3863   (exit $ac_status); } >/dev/null; then
 3864   if test -s conftest.err; then
 3865     ac_cpp_err=$ac_c_preproc_warn_flag
 3866     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3867   else
 3868     ac_cpp_err=
 3869   fi
 3870 else
 3871   ac_cpp_err=yes
 3872 fi
 3873 if test -z "$ac_cpp_err"; then
 3874   :
 3875 else
 3876   echo "$as_me: failed program was:" >&5
 3877 sed 's/^/| /' conftest.$ac_ext >&5
 3878 
 3879   # Broken: fails on valid input.
 3880 continue
 3881 fi
 3882 rm -f conftest.err conftest.$ac_ext
 3883 
 3884   # OK, works on sane cases.  Now check whether non-existent headers
 3885   # can be detected and how.
 3886   cat >conftest.$ac_ext <<_ACEOF
 3887 /* confdefs.h.  */
 3888 _ACEOF
 3889 cat confdefs.h >>conftest.$ac_ext
 3890 cat >>conftest.$ac_ext <<_ACEOF
 3891 /* end confdefs.h.  */
 3892 @%:@include <ac_nonexistent.h>
 3893 _ACEOF
 3894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3895   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3896   ac_status=$?
 3897   grep -v '^ *+' conftest.er1 >conftest.err
 3898   rm -f conftest.er1
 3899   cat conftest.err >&5
 3900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3901   (exit $ac_status); } >/dev/null; then
 3902   if test -s conftest.err; then
 3903     ac_cpp_err=$ac_c_preproc_warn_flag
 3904     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3905   else
 3906     ac_cpp_err=
 3907   fi
 3908 else
 3909   ac_cpp_err=yes
 3910 fi
 3911 if test -z "$ac_cpp_err"; then
 3912   # Broken: success on invalid input.
 3913 continue
 3914 else
 3915   echo "$as_me: failed program was:" >&5
 3916 sed 's/^/| /' conftest.$ac_ext >&5
 3917 
 3918   # Passes both tests.
 3919 ac_preproc_ok=:
 3920 break
 3921 fi
 3922 rm -f conftest.err conftest.$ac_ext
 3923 
 3924 done
 3925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3926 rm -f conftest.err conftest.$ac_ext
 3927 if $ac_preproc_ok; then
 3928   :
 3929 else
 3930   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 3931 See \`config.log' for more details." >&5
 3932 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 3933 See \`config.log' for more details." >&2;}
 3934    { (exit 1); exit 1; }; }
 3935 fi
 3936 
 3937 ac_ext=c
 3938 ac_cpp='$CPP $CPPFLAGS'
 3939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3942 
 3943 
 3944 echo "$as_me:$LINENO: checking for egrep" >&5
 3945 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 3946 if test "${ac_cv_prog_egrep+set}" = set; then
 3947   echo $ECHO_N "(cached) $ECHO_C" >&6
 3948 else
 3949   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 3950     then ac_cv_prog_egrep='grep -E'
 3951     else ac_cv_prog_egrep='egrep'
 3952     fi
 3953 fi
 3954 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 3955 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 3956  EGREP=$ac_cv_prog_egrep
 3957  
 3958 
 3959 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 3960 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 3961 if test "${ac_cv_header_stdc+set}" = set; then
 3962   echo $ECHO_N "(cached) $ECHO_C" >&6
 3963 else
 3964   cat >conftest.$ac_ext <<_ACEOF
 3965 /* confdefs.h.  */
 3966 _ACEOF
 3967 cat confdefs.h >>conftest.$ac_ext
 3968 cat >>conftest.$ac_ext <<_ACEOF
 3969 /* end confdefs.h.  */
 3970 #include <stdlib.h>
 3971 #include <stdarg.h>
 3972 #include <string.h>
 3973 #include <float.h>
 3974 
 3975 int
 3976 main ()
 3977 {
 3978 
 3979   ;
 3980   return 0;
 3981 }
 3982 _ACEOF
 3983 rm -f conftest.$ac_objext
 3984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3985   (eval $ac_compile) 2>conftest.er1
 3986   ac_status=$?
 3987   grep -v '^ *+' conftest.er1 >conftest.err
 3988   rm -f conftest.er1
 3989   cat conftest.err >&5
 3990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3991   (exit $ac_status); } &&
 3992 	 { ac_try='test -z "$ac_c_werror_flag"
 3993 			 || test ! -s conftest.err'
 3994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3995   (eval $ac_try) 2>&5
 3996   ac_status=$?
 3997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3998   (exit $ac_status); }; } &&
 3999 	 { ac_try='test -s conftest.$ac_objext'
 4000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4001   (eval $ac_try) 2>&5
 4002   ac_status=$?
 4003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4004   (exit $ac_status); }; }; then
 4005   ac_cv_header_stdc=yes
 4006 else
 4007   echo "$as_me: failed program was:" >&5
 4008 sed 's/^/| /' conftest.$ac_ext >&5
 4009 
 4010 ac_cv_header_stdc=no
 4011 fi
 4012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4013 
 4014 if test $ac_cv_header_stdc = yes; then
 4015   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 4016   cat >conftest.$ac_ext <<_ACEOF
 4017 /* confdefs.h.  */
 4018 _ACEOF
 4019 cat confdefs.h >>conftest.$ac_ext
 4020 cat >>conftest.$ac_ext <<_ACEOF
 4021 /* end confdefs.h.  */
 4022 #include <string.h>
 4023 
 4024 _ACEOF
 4025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4026   $EGREP "memchr" >/dev/null 2>&1; then
 4027   :
 4028 else
 4029   ac_cv_header_stdc=no
 4030 fi
 4031 rm -f conftest*
 4032 
 4033 fi
 4034 
 4035 if test $ac_cv_header_stdc = yes; then
 4036   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 4037   cat >conftest.$ac_ext <<_ACEOF
 4038 /* confdefs.h.  */
 4039 _ACEOF
 4040 cat confdefs.h >>conftest.$ac_ext
 4041 cat >>conftest.$ac_ext <<_ACEOF
 4042 /* end confdefs.h.  */
 4043 #include <stdlib.h>
 4044 
 4045 _ACEOF
 4046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4047   $EGREP "free" >/dev/null 2>&1; then
 4048   :
 4049 else
 4050   ac_cv_header_stdc=no
 4051 fi
 4052 rm -f conftest*
 4053 
 4054 fi
 4055 
 4056 if test $ac_cv_header_stdc = yes; then
 4057   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 4058   if test "$cross_compiling" = yes; then
 4059   :
 4060 else
 4061   cat >conftest.$ac_ext <<_ACEOF
 4062 /* confdefs.h.  */
 4063 _ACEOF
 4064 cat confdefs.h >>conftest.$ac_ext
 4065 cat >>conftest.$ac_ext <<_ACEOF
 4066 /* end confdefs.h.  */
 4067 #include <ctype.h>
 4068 #if ((' ' & 0x0FF) == 0x020)
 4069 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 4070 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 4071 #else
 4072 # define ISLOWER(c) \
 4073 		   (('a' <= (c) && (c) <= 'i') \
 4074 		     || ('j' <= (c) && (c) <= 'r') \
 4075 		     || ('s' <= (c) && (c) <= 'z'))
 4076 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 4077 #endif
 4078 
 4079 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 4080 int
 4081 main ()
 4082 {
 4083   int i;
 4084   for (i = 0; i < 256; i++)
 4085     if (XOR (islower (i), ISLOWER (i))
 4086 	|| toupper (i) != TOUPPER (i))
 4087       exit(2);
 4088   exit (0);
 4089 }
 4090 _ACEOF
 4091 rm -f conftest$ac_exeext
 4092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4093   (eval $ac_link) 2>&5
 4094   ac_status=$?
 4095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4096   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 4097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4098   (eval $ac_try) 2>&5
 4099   ac_status=$?
 4100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4101   (exit $ac_status); }; }; then
 4102   :
 4103 else
 4104   echo "$as_me: program exited with status $ac_status" >&5
 4105 echo "$as_me: failed program was:" >&5
 4106 sed 's/^/| /' conftest.$ac_ext >&5
 4107 
 4108 ( exit $ac_status )
 4109 ac_cv_header_stdc=no
 4110 fi
 4111 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 4112 fi
 4113 fi
 4114 fi
 4115 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 4116 echo "${ECHO_T}$ac_cv_header_stdc" >&6
 4117 if test $ac_cv_header_stdc = yes; then
 4118   
 4119 cat >>confdefs.h <<\_ACEOF
 4120 @%:@define STDC_HEADERS 1
 4121 _ACEOF
 4122 
 4123 fi
 4124 
 4125 echo "$as_me:$LINENO: checking for inline" >&5
 4126 echo $ECHO_N "checking for inline... $ECHO_C" >&6
 4127 if test "${ac_cv_c_inline+set}" = set; then
 4128   echo $ECHO_N "(cached) $ECHO_C" >&6
 4129 else
 4130   ac_cv_c_inline=no
 4131 for ac_kw in inline __inline__ __inline; do
 4132   cat >conftest.$ac_ext <<_ACEOF
 4133 /* confdefs.h.  */
 4134 _ACEOF
 4135 cat confdefs.h >>conftest.$ac_ext
 4136 cat >>conftest.$ac_ext <<_ACEOF
 4137 /* end confdefs.h.  */
 4138 #ifndef __cplusplus
 4139 typedef int foo_t;
 4140 static $ac_kw foo_t static_foo () {return 0; }
 4141 $ac_kw foo_t foo () {return 0; }
 4142 #endif
 4143 
 4144 _ACEOF
 4145 rm -f conftest.$ac_objext
 4146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4147   (eval $ac_compile) 2>conftest.er1
 4148   ac_status=$?
 4149   grep -v '^ *+' conftest.er1 >conftest.err
 4150   rm -f conftest.er1
 4151   cat conftest.err >&5
 4152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4153   (exit $ac_status); } &&
 4154 	 { ac_try='test -z "$ac_c_werror_flag"
 4155 			 || test ! -s conftest.err'
 4156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4157   (eval $ac_try) 2>&5
 4158   ac_status=$?
 4159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4160   (exit $ac_status); }; } &&
 4161 	 { ac_try='test -s conftest.$ac_objext'
 4162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4163   (eval $ac_try) 2>&5
 4164   ac_status=$?
 4165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4166   (exit $ac_status); }; }; then
 4167   ac_cv_c_inline=$ac_kw; break
 4168 else
 4169   echo "$as_me: failed program was:" >&5
 4170 sed 's/^/| /' conftest.$ac_ext >&5
 4171 
 4172 fi
 4173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4174 done
 4175 
 4176 fi
 4177 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 4178 echo "${ECHO_T}$ac_cv_c_inline" >&6
 4179 
 4180 
 4181 case $ac_cv_c_inline in
 4182   inline | yes) ;;
 4183   *)
 4184     case $ac_cv_c_inline in
 4185       no) ac_val=;;
 4186       *) ac_val=$ac_cv_c_inline;;
 4187     esac
 4188     cat >>confdefs.h <<_ACEOF
 4189 #ifndef __cplusplus
 4190 #define inline $ac_val
 4191 #endif
 4192 _ACEOF
 4193     ;;
 4194 esac
 4195 
 4196 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 4197 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 4198 if test "${ac_cv_c_const+set}" = set; then
 4199   echo $ECHO_N "(cached) $ECHO_C" >&6
 4200 else
 4201   cat >conftest.$ac_ext <<_ACEOF
 4202 /* confdefs.h.  */
 4203 _ACEOF
 4204 cat confdefs.h >>conftest.$ac_ext
 4205 cat >>conftest.$ac_ext <<_ACEOF
 4206 /* end confdefs.h.  */
 4207 
 4208 int
 4209 main ()
 4210 {
 4211 /* FIXME: Include the comments suggested by Paul. */
 4212 #ifndef __cplusplus
 4213   /* Ultrix mips cc rejects this.  */
 4214   typedef int charset[2];
 4215   const charset x;
 4216   /* SunOS 4.1.1 cc rejects this.  */
 4217   char const *const *ccp;
 4218   char **p;
 4219   /* NEC SVR4.0.2 mips cc rejects this.  */
 4220   struct point {int x, y;};
 4221   static struct point const zero = {0,0};
 4222   /* AIX XL C 1.02.0.0 rejects this.
 4223      It does not let you subtract one const X* pointer from another in
 4224      an arm of an if-expression whose if-part is not a constant
 4225      expression */
 4226   const char *g = "string";
 4227   ccp = &g + (g ? g-g : 0);
 4228   /* HPUX 7.0 cc rejects these. */
 4229   ++ccp;
 4230   p = (char**) ccp;
 4231   ccp = (char const *const *) p;
 4232   { /* SCO 3.2v4 cc rejects this.  */
 4233     char *t;
 4234     char const *s = 0 ? (char *) 0 : (char const *) 0;
 4235 
 4236     *t++ = 0;
 4237   }
 4238   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 4239     int x[] = {25, 17};
 4240     const int *foo = &x[0];
 4241     ++foo;
 4242   }
 4243   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 4244     typedef const int *iptr;
 4245     iptr p = 0;
 4246     ++p;
 4247   }
 4248   { /* AIX XL C 1.02.0.0 rejects this saying
 4249        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 4250     struct s { int j; const int *ap[3]; };
 4251     struct s *b; b->j = 5;
 4252   }
 4253   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 4254     const int foo = 10;
 4255   }
 4256 #endif
 4257 
 4258   ;
 4259   return 0;
 4260 }
 4261 _ACEOF
 4262 rm -f conftest.$ac_objext
 4263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4264   (eval $ac_compile) 2>conftest.er1
 4265   ac_status=$?
 4266   grep -v '^ *+' conftest.er1 >conftest.err
 4267   rm -f conftest.er1
 4268   cat conftest.err >&5
 4269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4270   (exit $ac_status); } &&
 4271 	 { ac_try='test -z "$ac_c_werror_flag"
 4272 			 || test ! -s conftest.err'
 4273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4274   (eval $ac_try) 2>&5
 4275   ac_status=$?
 4276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4277   (exit $ac_status); }; } &&
 4278 	 { ac_try='test -s conftest.$ac_objext'
 4279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4280   (eval $ac_try) 2>&5
 4281   ac_status=$?
 4282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4283   (exit $ac_status); }; }; then
 4284   ac_cv_c_const=yes
 4285 else
 4286   echo "$as_me: failed program was:" >&5
 4287 sed 's/^/| /' conftest.$ac_ext >&5
 4288 
 4289 ac_cv_c_const=no
 4290 fi
 4291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4292 fi
 4293 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 4294 echo "${ECHO_T}$ac_cv_c_const" >&6
 4295 if test $ac_cv_c_const = no; then
 4296   
 4297 cat >>confdefs.h <<\_ACEOF
 4298 @%:@define const 
 4299 _ACEOF
 4300 
 4301 fi
 4302 
 4303 
 4304 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 4305 
 4306 
 4307 
 4308 
 4309 
 4310 
 4311 
 4312 
 4313 
 4314 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 4315 		  inttypes.h stdint.h unistd.h
 4316 do
 4317 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4318 echo "$as_me:$LINENO: checking for $ac_header" >&5
 4319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4321   echo $ECHO_N "(cached) $ECHO_C" >&6
 4322 else
 4323   cat >conftest.$ac_ext <<_ACEOF
 4324 /* confdefs.h.  */
 4325 _ACEOF
 4326 cat confdefs.h >>conftest.$ac_ext
 4327 cat >>conftest.$ac_ext <<_ACEOF
 4328 /* end confdefs.h.  */
 4329 $ac_includes_default
 4330 
 4331 @%:@include <$ac_header>
 4332 _ACEOF
 4333 rm -f conftest.$ac_objext
 4334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4335   (eval $ac_compile) 2>conftest.er1
 4336   ac_status=$?
 4337   grep -v '^ *+' conftest.er1 >conftest.err
 4338   rm -f conftest.er1
 4339   cat conftest.err >&5
 4340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4341   (exit $ac_status); } &&
 4342 	 { ac_try='test -z "$ac_c_werror_flag"
 4343 			 || test ! -s conftest.err'
 4344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4345   (eval $ac_try) 2>&5
 4346   ac_status=$?
 4347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4348   (exit $ac_status); }; } &&
 4349 	 { ac_try='test -s conftest.$ac_objext'
 4350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4351   (eval $ac_try) 2>&5
 4352   ac_status=$?
 4353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4354   (exit $ac_status); }; }; then
 4355   eval "$as_ac_Header=yes"
 4356 else
 4357   echo "$as_me: failed program was:" >&5
 4358 sed 's/^/| /' conftest.$ac_ext >&5
 4359 
 4360 eval "$as_ac_Header=no"
 4361 fi
 4362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4363 fi
 4364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4367   cat >>confdefs.h <<_ACEOF
 4368 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4369 _ACEOF
 4370  
 4371 fi
 4372 
 4373 done
 4374 
 4375 
 4376 
 4377 
 4378 
 4379 
 4380 for ac_header in unistd.h strings.h dlfcn.h sys/endian.h
 4381 do
 4382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4384   echo "$as_me:$LINENO: checking for $ac_header" >&5
 4385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4387   echo $ECHO_N "(cached) $ECHO_C" >&6
 4388 fi
 4389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4391 else
 4392   # Is the header compilable?
 4393 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 4394 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 4395 cat >conftest.$ac_ext <<_ACEOF
 4396 /* confdefs.h.  */
 4397 _ACEOF
 4398 cat confdefs.h >>conftest.$ac_ext
 4399 cat >>conftest.$ac_ext <<_ACEOF
 4400 /* end confdefs.h.  */
 4401 $ac_includes_default
 4402 @%:@include <$ac_header>
 4403 _ACEOF
 4404 rm -f conftest.$ac_objext
 4405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4406   (eval $ac_compile) 2>conftest.er1
 4407   ac_status=$?
 4408   grep -v '^ *+' conftest.er1 >conftest.err
 4409   rm -f conftest.er1
 4410   cat conftest.err >&5
 4411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4412   (exit $ac_status); } &&
 4413 	 { ac_try='test -z "$ac_c_werror_flag"
 4414 			 || test ! -s conftest.err'
 4415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4416   (eval $ac_try) 2>&5
 4417   ac_status=$?
 4418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4419   (exit $ac_status); }; } &&
 4420 	 { ac_try='test -s conftest.$ac_objext'
 4421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4422   (eval $ac_try) 2>&5
 4423   ac_status=$?
 4424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4425   (exit $ac_status); }; }; then
 4426   ac_header_compiler=yes
 4427 else
 4428   echo "$as_me: failed program was:" >&5
 4429 sed 's/^/| /' conftest.$ac_ext >&5
 4430 
 4431 ac_header_compiler=no
 4432 fi
 4433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 4435 echo "${ECHO_T}$ac_header_compiler" >&6
 4436 
 4437 # Is the header present?
 4438 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 4439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 4440 cat >conftest.$ac_ext <<_ACEOF
 4441 /* confdefs.h.  */
 4442 _ACEOF
 4443 cat confdefs.h >>conftest.$ac_ext
 4444 cat >>conftest.$ac_ext <<_ACEOF
 4445 /* end confdefs.h.  */
 4446 @%:@include <$ac_header>
 4447 _ACEOF
 4448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4449   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4450   ac_status=$?
 4451   grep -v '^ *+' conftest.er1 >conftest.err
 4452   rm -f conftest.er1
 4453   cat conftest.err >&5
 4454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4455   (exit $ac_status); } >/dev/null; then
 4456   if test -s conftest.err; then
 4457     ac_cpp_err=$ac_c_preproc_warn_flag
 4458     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 4459   else
 4460     ac_cpp_err=
 4461   fi
 4462 else
 4463   ac_cpp_err=yes
 4464 fi
 4465 if test -z "$ac_cpp_err"; then
 4466   ac_header_preproc=yes
 4467 else
 4468   echo "$as_me: failed program was:" >&5
 4469 sed 's/^/| /' conftest.$ac_ext >&5
 4470 
 4471   ac_header_preproc=no
 4472 fi
 4473 rm -f conftest.err conftest.$ac_ext
 4474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 4475 echo "${ECHO_T}$ac_header_preproc" >&6
 4476 
 4477 # So?  What about this header?
 4478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 4479   yes:no: )
 4480     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 4481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 4482     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 4483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 4484     ac_header_preproc=yes
 4485     ;;
 4486   no:yes:* )
 4487     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 4488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 4489     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 4490 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 4491     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 4492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 4493     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 4494 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 4495     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 4496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 4497     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 4498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 4499     (
 4500       cat <<\_ASBOX
 4501 @%:@@%:@ ------------------------------------------ @%:@@%:@
 4502 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 4503 @%:@@%:@ ------------------------------------------ @%:@@%:@
 4504 _ASBOX
 4505     ) |
 4506       sed "s/^/$as_me: WARNING:     /" >&2
 4507     ;;
 4508 esac
 4509 echo "$as_me:$LINENO: checking for $ac_header" >&5
 4510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4512   echo $ECHO_N "(cached) $ECHO_C" >&6
 4513 else
 4514   eval "$as_ac_Header=\$ac_header_preproc"
 4515 fi
 4516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4518 
 4519 fi
 4520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4521   cat >>confdefs.h <<_ACEOF
 4522 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4523 _ACEOF
 4524  
 4525 fi
 4526 
 4527 done
 4528 
 4529 
 4530 
 4531 
 4532 
 4533 
 4534 for ac_header in sys/types.h sys/mman.h dirent.h byteswap.h endian.h
 4535 do
 4536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4538   echo "$as_me:$LINENO: checking for $ac_header" >&5
 4539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4541   echo $ECHO_N "(cached) $ECHO_C" >&6
 4542 fi
 4543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4545 else
 4546   # Is the header compilable?
 4547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 4548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 4549 cat >conftest.$ac_ext <<_ACEOF
 4550 /* confdefs.h.  */
 4551 _ACEOF
 4552 cat confdefs.h >>conftest.$ac_ext
 4553 cat >>conftest.$ac_ext <<_ACEOF
 4554 /* end confdefs.h.  */
 4555 $ac_includes_default
 4556 @%:@include <$ac_header>
 4557 _ACEOF
 4558 rm -f conftest.$ac_objext
 4559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4560   (eval $ac_compile) 2>conftest.er1
 4561   ac_status=$?
 4562   grep -v '^ *+' conftest.er1 >conftest.err
 4563   rm -f conftest.er1
 4564   cat conftest.err >&5
 4565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4566   (exit $ac_status); } &&
 4567 	 { ac_try='test -z "$ac_c_werror_flag"
 4568 			 || test ! -s conftest.err'
 4569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4570   (eval $ac_try) 2>&5
 4571   ac_status=$?
 4572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4573   (exit $ac_status); }; } &&
 4574 	 { ac_try='test -s conftest.$ac_objext'
 4575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4576   (eval $ac_try) 2>&5
 4577   ac_status=$?
 4578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4579   (exit $ac_status); }; }; then
 4580   ac_header_compiler=yes
 4581 else
 4582   echo "$as_me: failed program was:" >&5
 4583 sed 's/^/| /' conftest.$ac_ext >&5
 4584 
 4585 ac_header_compiler=no
 4586 fi
 4587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 4589 echo "${ECHO_T}$ac_header_compiler" >&6
 4590 
 4591 # Is the header present?
 4592 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 4593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 4594 cat >conftest.$ac_ext <<_ACEOF
 4595 /* confdefs.h.  */
 4596 _ACEOF
 4597 cat confdefs.h >>conftest.$ac_ext
 4598 cat >>conftest.$ac_ext <<_ACEOF
 4599 /* end confdefs.h.  */
 4600 @%:@include <$ac_header>
 4601 _ACEOF
 4602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4603   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4604   ac_status=$?
 4605   grep -v '^ *+' conftest.er1 >conftest.err
 4606   rm -f conftest.er1
 4607   cat conftest.err >&5
 4608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4609   (exit $ac_status); } >/dev/null; then
 4610   if test -s conftest.err; then
 4611     ac_cpp_err=$ac_c_preproc_warn_flag
 4612     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 4613   else
 4614     ac_cpp_err=
 4615   fi
 4616 else
 4617   ac_cpp_err=yes
 4618 fi
 4619 if test -z "$ac_cpp_err"; then
 4620   ac_header_preproc=yes
 4621 else
 4622   echo "$as_me: failed program was:" >&5
 4623 sed 's/^/| /' conftest.$ac_ext >&5
 4624 
 4625   ac_header_preproc=no
 4626 fi
 4627 rm -f conftest.err conftest.$ac_ext
 4628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 4629 echo "${ECHO_T}$ac_header_preproc" >&6
 4630 
 4631 # So?  What about this header?
 4632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 4633   yes:no: )
 4634     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 4635 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 4636     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 4637 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 4638     ac_header_preproc=yes
 4639     ;;
 4640   no:yes:* )
 4641     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 4642 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 4643     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 4644 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 4645     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 4646 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 4647     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 4648 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 4649     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 4650 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 4651     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 4652 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 4653     (
 4654       cat <<\_ASBOX
 4655 @%:@@%:@ ------------------------------------------ @%:@@%:@
 4656 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 4657 @%:@@%:@ ------------------------------------------ @%:@@%:@
 4658 _ASBOX
 4659     ) |
 4660       sed "s/^/$as_me: WARNING:     /" >&2
 4661     ;;
 4662 esac
 4663 echo "$as_me:$LINENO: checking for $ac_header" >&5
 4664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4666   echo $ECHO_N "(cached) $ECHO_C" >&6
 4667 else
 4668   eval "$as_ac_Header=\$ac_header_preproc"
 4669 fi
 4670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4672 
 4673 fi
 4674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4675   cat >>confdefs.h <<_ACEOF
 4676 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4677 _ACEOF
 4678  
 4679 fi
 4680 
 4681 done
 4682 
 4683 
 4684 for ac_header in limits.h
 4685 do
 4686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 4687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4688   echo "$as_me:$LINENO: checking for $ac_header" >&5
 4689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4691   echo $ECHO_N "(cached) $ECHO_C" >&6
 4692 fi
 4693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4695 else
 4696   # Is the header compilable?
 4697 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 4698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 4699 cat >conftest.$ac_ext <<_ACEOF
 4700 /* confdefs.h.  */
 4701 _ACEOF
 4702 cat confdefs.h >>conftest.$ac_ext
 4703 cat >>conftest.$ac_ext <<_ACEOF
 4704 /* end confdefs.h.  */
 4705 $ac_includes_default
 4706 @%:@include <$ac_header>
 4707 _ACEOF
 4708 rm -f conftest.$ac_objext
 4709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4710   (eval $ac_compile) 2>conftest.er1
 4711   ac_status=$?
 4712   grep -v '^ *+' conftest.er1 >conftest.err
 4713   rm -f conftest.er1
 4714   cat conftest.err >&5
 4715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4716   (exit $ac_status); } &&
 4717 	 { ac_try='test -z "$ac_c_werror_flag"
 4718 			 || test ! -s conftest.err'
 4719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4720   (eval $ac_try) 2>&5
 4721   ac_status=$?
 4722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4723   (exit $ac_status); }; } &&
 4724 	 { ac_try='test -s conftest.$ac_objext'
 4725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4726   (eval $ac_try) 2>&5
 4727   ac_status=$?
 4728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4729   (exit $ac_status); }; }; then
 4730   ac_header_compiler=yes
 4731 else
 4732   echo "$as_me: failed program was:" >&5
 4733 sed 's/^/| /' conftest.$ac_ext >&5
 4734 
 4735 ac_header_compiler=no
 4736 fi
 4737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 4739 echo "${ECHO_T}$ac_header_compiler" >&6
 4740 
 4741 # Is the header present?
 4742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 4743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 4744 cat >conftest.$ac_ext <<_ACEOF
 4745 /* confdefs.h.  */
 4746 _ACEOF
 4747 cat confdefs.h >>conftest.$ac_ext
 4748 cat >>conftest.$ac_ext <<_ACEOF
 4749 /* end confdefs.h.  */
 4750 @%:@include <$ac_header>
 4751 _ACEOF
 4752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 4753   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 4754   ac_status=$?
 4755   grep -v '^ *+' conftest.er1 >conftest.err
 4756   rm -f conftest.er1
 4757   cat conftest.err >&5
 4758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4759   (exit $ac_status); } >/dev/null; then
 4760   if test -s conftest.err; then
 4761     ac_cpp_err=$ac_c_preproc_warn_flag
 4762     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 4763   else
 4764     ac_cpp_err=
 4765   fi
 4766 else
 4767   ac_cpp_err=yes
 4768 fi
 4769 if test -z "$ac_cpp_err"; then
 4770   ac_header_preproc=yes
 4771 else
 4772   echo "$as_me: failed program was:" >&5
 4773 sed 's/^/| /' conftest.$ac_ext >&5
 4774 
 4775   ac_header_preproc=no
 4776 fi
 4777 rm -f conftest.err conftest.$ac_ext
 4778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 4779 echo "${ECHO_T}$ac_header_preproc" >&6
 4780 
 4781 # So?  What about this header?
 4782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 4783   yes:no: )
 4784     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 4785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 4786     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 4787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 4788     ac_header_preproc=yes
 4789     ;;
 4790   no:yes:* )
 4791     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 4792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 4793     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 4794 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 4795     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 4796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 4797     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 4798 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 4799     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 4800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 4801     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 4802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 4803     (
 4804       cat <<\_ASBOX
 4805 @%:@@%:@ ------------------------------------------ @%:@@%:@
 4806 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 4807 @%:@@%:@ ------------------------------------------ @%:@@%:@
 4808 _ASBOX
 4809     ) |
 4810       sed "s/^/$as_me: WARNING:     /" >&2
 4811     ;;
 4812 esac
 4813 echo "$as_me:$LINENO: checking for $ac_header" >&5
 4814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 4815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4816   echo $ECHO_N "(cached) $ECHO_C" >&6
 4817 else
 4818   eval "$as_ac_Header=\$ac_header_preproc"
 4819 fi
 4820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4822 
 4823 fi
 4824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4825   cat >>confdefs.h <<_ACEOF
 4826 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 4827 _ACEOF
 4828  
 4829 fi
 4830 
 4831 done
 4832 
 4833 
 4834 
 4835 
 4836 
 4837 
 4838 for ac_func in bzero memset mlock readdir_r readdir
 4839 do
 4840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 4841 echo "$as_me:$LINENO: checking for $ac_func" >&5
 4842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 4843 if eval "test \"\${$as_ac_var+set}\" = set"; then
 4844   echo $ECHO_N "(cached) $ECHO_C" >&6
 4845 else
 4846   cat >conftest.$ac_ext <<_ACEOF
 4847 /* confdefs.h.  */
 4848 _ACEOF
 4849 cat confdefs.h >>conftest.$ac_ext
 4850 cat >>conftest.$ac_ext <<_ACEOF
 4851 /* end confdefs.h.  */
 4852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 4853    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 4854 #define $ac_func innocuous_$ac_func
 4855 
 4856 /* System header to define __stub macros and hopefully few prototypes,
 4857     which can conflict with char $ac_func (); below.
 4858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4859     <limits.h> exists even on freestanding compilers.  */
 4860 
 4861 #ifdef __STDC__
 4862 # include <limits.h>
 4863 #else
 4864 # include <assert.h>
 4865 #endif
 4866 
 4867 #undef $ac_func
 4868 
 4869 /* Override any gcc2 internal prototype to avoid an error.  */
 4870 #ifdef __cplusplus
 4871 extern "C"
 4872 {
 4873 #endif
 4874 /* We use char because int might match the return type of a gcc2
 4875    builtin and then its argument prototype would still apply.  */
 4876 char $ac_func ();
 4877 /* The GNU C library defines this for functions which it implements
 4878     to always fail with ENOSYS.  Some functions are actually named
 4879     something starting with __ and the normal name is an alias.  */
 4880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4881 choke me
 4882 #else
 4883 char (*f) () = $ac_func;
 4884 #endif
 4885 #ifdef __cplusplus
 4886 }
 4887 #endif
 4888 
 4889 int
 4890 main ()
 4891 {
 4892 return f != $ac_func;
 4893   ;
 4894   return 0;
 4895 }
 4896 _ACEOF
 4897 rm -f conftest.$ac_objext conftest$ac_exeext
 4898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4899   (eval $ac_link) 2>conftest.er1
 4900   ac_status=$?
 4901   grep -v '^ *+' conftest.er1 >conftest.err
 4902   rm -f conftest.er1
 4903   cat conftest.err >&5
 4904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4905   (exit $ac_status); } &&
 4906 	 { ac_try='test -z "$ac_c_werror_flag"
 4907 			 || test ! -s conftest.err'
 4908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4909   (eval $ac_try) 2>&5
 4910   ac_status=$?
 4911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4912   (exit $ac_status); }; } &&
 4913 	 { ac_try='test -s conftest$ac_exeext'
 4914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4915   (eval $ac_try) 2>&5
 4916   ac_status=$?
 4917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4918   (exit $ac_status); }; }; then
 4919   eval "$as_ac_var=yes"
 4920 else
 4921   echo "$as_me: failed program was:" >&5
 4922 sed 's/^/| /' conftest.$ac_ext >&5
 4923 
 4924 eval "$as_ac_var=no"
 4925 fi
 4926 rm -f conftest.err conftest.$ac_objext \
 4927       conftest$ac_exeext conftest.$ac_ext
 4928 fi
 4929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 4930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 4931 if test `eval echo '${'$as_ac_var'}'` = yes; then
 4932   cat >>confdefs.h <<_ACEOF
 4933 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 4934 _ACEOF
 4935  
 4936 fi
 4937 done
 4938 
 4939 
 4940 
 4941 for ac_func in memmove bcopy
 4942 do
 4943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 4944 echo "$as_me:$LINENO: checking for $ac_func" >&5
 4945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 4946 if eval "test \"\${$as_ac_var+set}\" = set"; then
 4947   echo $ECHO_N "(cached) $ECHO_C" >&6
 4948 else
 4949   cat >conftest.$ac_ext <<_ACEOF
 4950 /* confdefs.h.  */
 4951 _ACEOF
 4952 cat confdefs.h >>conftest.$ac_ext
 4953 cat >>conftest.$ac_ext <<_ACEOF
 4954 /* end confdefs.h.  */
 4955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 4956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 4957 #define $ac_func innocuous_$ac_func
 4958 
 4959 /* System header to define __stub macros and hopefully few prototypes,
 4960     which can conflict with char $ac_func (); below.
 4961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4962     <limits.h> exists even on freestanding compilers.  */
 4963 
 4964 #ifdef __STDC__
 4965 # include <limits.h>
 4966 #else
 4967 # include <assert.h>
 4968 #endif
 4969 
 4970 #undef $ac_func
 4971 
 4972 /* Override any gcc2 internal prototype to avoid an error.  */
 4973 #ifdef __cplusplus
 4974 extern "C"
 4975 {
 4976 #endif
 4977 /* We use char because int might match the return type of a gcc2
 4978    builtin and then its argument prototype would still apply.  */
 4979 char $ac_func ();
 4980 /* The GNU C library defines this for functions which it implements
 4981     to always fail with ENOSYS.  Some functions are actually named
 4982     something starting with __ and the normal name is an alias.  */
 4983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 4984 choke me
 4985 #else
 4986 char (*f) () = $ac_func;
 4987 #endif
 4988 #ifdef __cplusplus
 4989 }
 4990 #endif
 4991 
 4992 int
 4993 main ()
 4994 {
 4995 return f != $ac_func;
 4996   ;
 4997   return 0;
 4998 }
 4999 _ACEOF
 5000 rm -f conftest.$ac_objext conftest$ac_exeext
 5001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5002   (eval $ac_link) 2>conftest.er1
 5003   ac_status=$?
 5004   grep -v '^ *+' conftest.er1 >conftest.err
 5005   rm -f conftest.er1
 5006   cat conftest.err >&5
 5007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5008   (exit $ac_status); } &&
 5009 	 { ac_try='test -z "$ac_c_werror_flag"
 5010 			 || test ! -s conftest.err'
 5011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5012   (eval $ac_try) 2>&5
 5013   ac_status=$?
 5014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5015   (exit $ac_status); }; } &&
 5016 	 { ac_try='test -s conftest$ac_exeext'
 5017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5018   (eval $ac_try) 2>&5
 5019   ac_status=$?
 5020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5021   (exit $ac_status); }; }; then
 5022   eval "$as_ac_var=yes"
 5023 else
 5024   echo "$as_me: failed program was:" >&5
 5025 sed 's/^/| /' conftest.$ac_ext >&5
 5026 
 5027 eval "$as_ac_var=no"
 5028 fi
 5029 rm -f conftest.err conftest.$ac_objext \
 5030       conftest$ac_exeext conftest.$ac_ext
 5031 fi
 5032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
 5033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
 5034 if test `eval echo '${'$as_ac_var'}'` = yes; then
 5035   cat >>confdefs.h <<_ACEOF
 5036 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 5037 _ACEOF
 5038  
 5039 fi
 5040 done
 5041 
 5042 
 5043 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 5044 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 5045 if test "${ac_cv_c_bigendian+set}" = set; then
 5046   echo $ECHO_N "(cached) $ECHO_C" >&6
 5047 else
 5048   # See if sys/param.h defines the BYTE_ORDER macro.
 5049 cat >conftest.$ac_ext <<_ACEOF
 5050 /* confdefs.h.  */
 5051 _ACEOF
 5052 cat confdefs.h >>conftest.$ac_ext
 5053 cat >>conftest.$ac_ext <<_ACEOF
 5054 /* end confdefs.h.  */
 5055 #include <sys/types.h>
 5056 #include <sys/param.h>
 5057 
 5058 int
 5059 main ()
 5060 {
 5061 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 5062  bogus endian macros
 5063 #endif
 5064 
 5065   ;
 5066   return 0;
 5067 }
 5068 _ACEOF
 5069 rm -f conftest.$ac_objext
 5070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5071   (eval $ac_compile) 2>conftest.er1
 5072   ac_status=$?
 5073   grep -v '^ *+' conftest.er1 >conftest.err
 5074   rm -f conftest.er1
 5075   cat conftest.err >&5
 5076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5077   (exit $ac_status); } &&
 5078 	 { ac_try='test -z "$ac_c_werror_flag"
 5079 			 || test ! -s conftest.err'
 5080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5081   (eval $ac_try) 2>&5
 5082   ac_status=$?
 5083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5084   (exit $ac_status); }; } &&
 5085 	 { ac_try='test -s conftest.$ac_objext'
 5086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5087   (eval $ac_try) 2>&5
 5088   ac_status=$?
 5089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5090   (exit $ac_status); }; }; then
 5091   # It does; now see whether it defined to BIG_ENDIAN or not.
 5092 cat >conftest.$ac_ext <<_ACEOF
 5093 /* confdefs.h.  */
 5094 _ACEOF
 5095 cat confdefs.h >>conftest.$ac_ext
 5096 cat >>conftest.$ac_ext <<_ACEOF
 5097 /* end confdefs.h.  */
 5098 #include <sys/types.h>
 5099 #include <sys/param.h>
 5100 
 5101 int
 5102 main ()
 5103 {
 5104 #if BYTE_ORDER != BIG_ENDIAN
 5105  not big endian
 5106 #endif
 5107 
 5108   ;
 5109   return 0;
 5110 }
 5111 _ACEOF
 5112 rm -f conftest.$ac_objext
 5113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5114   (eval $ac_compile) 2>conftest.er1
 5115   ac_status=$?
 5116   grep -v '^ *+' conftest.er1 >conftest.err
 5117   rm -f conftest.er1
 5118   cat conftest.err >&5
 5119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5120   (exit $ac_status); } &&
 5121 	 { ac_try='test -z "$ac_c_werror_flag"
 5122 			 || test ! -s conftest.err'
 5123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5124   (eval $ac_try) 2>&5
 5125   ac_status=$?
 5126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5127   (exit $ac_status); }; } &&
 5128 	 { ac_try='test -s conftest.$ac_objext'
 5129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5130   (eval $ac_try) 2>&5
 5131   ac_status=$?
 5132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5133   (exit $ac_status); }; }; then
 5134   ac_cv_c_bigendian=yes
 5135 else
 5136   echo "$as_me: failed program was:" >&5
 5137 sed 's/^/| /' conftest.$ac_ext >&5
 5138 
 5139 ac_cv_c_bigendian=no
 5140 fi
 5141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5142 else
 5143   echo "$as_me: failed program was:" >&5
 5144 sed 's/^/| /' conftest.$ac_ext >&5
 5145 
 5146 # It does not; compile a test program.
 5147 if test "$cross_compiling" = yes; then
 5148   # try to guess the endianness by grepping values into an object file
 5149   ac_cv_c_bigendian=unknown
 5150   cat >conftest.$ac_ext <<_ACEOF
 5151 /* confdefs.h.  */
 5152 _ACEOF
 5153 cat confdefs.h >>conftest.$ac_ext
 5154 cat >>conftest.$ac_ext <<_ACEOF
 5155 /* end confdefs.h.  */
 5156 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 5157 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 5158 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
 5159 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 5160 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 5161 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
 5162 int
 5163 main ()
 5164 {
 5165  _ascii (); _ebcdic (); 
 5166   ;
 5167   return 0;
 5168 }
 5169 _ACEOF
 5170 rm -f conftest.$ac_objext
 5171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5172   (eval $ac_compile) 2>conftest.er1
 5173   ac_status=$?
 5174   grep -v '^ *+' conftest.er1 >conftest.err
 5175   rm -f conftest.er1
 5176   cat conftest.err >&5
 5177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5178   (exit $ac_status); } &&
 5179 	 { ac_try='test -z "$ac_c_werror_flag"
 5180 			 || test ! -s conftest.err'
 5181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5182   (eval $ac_try) 2>&5
 5183   ac_status=$?
 5184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5185   (exit $ac_status); }; } &&
 5186 	 { ac_try='test -s conftest.$ac_objext'
 5187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5188   (eval $ac_try) 2>&5
 5189   ac_status=$?
 5190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5191   (exit $ac_status); }; }; then
 5192   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
 5193   ac_cv_c_bigendian=yes
 5194 fi
 5195 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 5196   if test "$ac_cv_c_bigendian" = unknown; then
 5197     ac_cv_c_bigendian=no
 5198   else
 5199     # finding both strings is unlikely to happen, but who knows?
 5200     ac_cv_c_bigendian=unknown
 5201   fi
 5202 fi
 5203 else
 5204   echo "$as_me: failed program was:" >&5
 5205 sed 's/^/| /' conftest.$ac_ext >&5
 5206 
 5207 fi
 5208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5209 else
 5210   cat >conftest.$ac_ext <<_ACEOF
 5211 /* confdefs.h.  */
 5212 _ACEOF
 5213 cat confdefs.h >>conftest.$ac_ext
 5214 cat >>conftest.$ac_ext <<_ACEOF
 5215 /* end confdefs.h.  */
 5216 int
 5217 main ()
 5218 {
 5219   /* Are we little or big endian?  From Harbison&Steele.  */
 5220   union
 5221   {
 5222     long l;
 5223     char c[sizeof (long)];
 5224   } u;
 5225   u.l = 1;
 5226   exit (u.c[sizeof (long) - 1] == 1);
 5227 }
 5228 _ACEOF
 5229 rm -f conftest$ac_exeext
 5230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5231   (eval $ac_link) 2>&5
 5232   ac_status=$?
 5233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5234   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5236   (eval $ac_try) 2>&5
 5237   ac_status=$?
 5238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5239   (exit $ac_status); }; }; then
 5240   ac_cv_c_bigendian=no
 5241 else
 5242   echo "$as_me: program exited with status $ac_status" >&5
 5243 echo "$as_me: failed program was:" >&5
 5244 sed 's/^/| /' conftest.$ac_ext >&5
 5245 
 5246 ( exit $ac_status )
 5247 ac_cv_c_bigendian=yes
 5248 fi
 5249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 5250 fi
 5251 fi
 5252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5253 fi
 5254 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 5255 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 5256 case $ac_cv_c_bigendian in
 5257   yes)
 5258     
 5259 cat >>confdefs.h <<\_ACEOF
 5260 @%:@define WORDS_BIGENDIAN 1
 5261 _ACEOF
 5262  ;;
 5263   no)
 5264      ;;
 5265   *)
 5266     { { echo "$as_me:$LINENO: error: unknown endianness
 5267 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 5268 echo "$as_me: error: unknown endianness
 5269 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 5270    { (exit 1); exit 1; }; } ;;
 5271 esac
 5272 
 5273 echo "$as_me:$LINENO: checking for unsigned long int" >&5
 5274 echo $ECHO_N "checking for unsigned long int... $ECHO_C" >&6
 5275 if test "${ac_cv_type_unsigned_long_int+set}" = set; then
 5276   echo $ECHO_N "(cached) $ECHO_C" >&6
 5277 else
 5278   cat >conftest.$ac_ext <<_ACEOF
 5279 /* confdefs.h.  */
 5280 _ACEOF
 5281 cat confdefs.h >>conftest.$ac_ext
 5282 cat >>conftest.$ac_ext <<_ACEOF
 5283 /* end confdefs.h.  */
 5284 $ac_includes_default
 5285 int
 5286 main ()
 5287 {
 5288 if ((unsigned long int *) 0)
 5289   return 0;
 5290 if (sizeof (unsigned long int))
 5291   return 0;
 5292   ;
 5293   return 0;
 5294 }
 5295 _ACEOF
 5296 rm -f conftest.$ac_objext
 5297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5298   (eval $ac_compile) 2>conftest.er1
 5299   ac_status=$?
 5300   grep -v '^ *+' conftest.er1 >conftest.err
 5301   rm -f conftest.er1
 5302   cat conftest.err >&5
 5303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5304   (exit $ac_status); } &&
 5305 	 { ac_try='test -z "$ac_c_werror_flag"
 5306 			 || test ! -s conftest.err'
 5307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5308   (eval $ac_try) 2>&5
 5309   ac_status=$?
 5310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5311   (exit $ac_status); }; } &&
 5312 	 { ac_try='test -s conftest.$ac_objext'
 5313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5314   (eval $ac_try) 2>&5
 5315   ac_status=$?
 5316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5317   (exit $ac_status); }; }; then
 5318   ac_cv_type_unsigned_long_int=yes
 5319 else
 5320   echo "$as_me: failed program was:" >&5
 5321 sed 's/^/| /' conftest.$ac_ext >&5
 5322 
 5323 ac_cv_type_unsigned_long_int=no
 5324 fi
 5325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5326 fi
 5327 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_int" >&5
 5328 echo "${ECHO_T}$ac_cv_type_unsigned_long_int" >&6
 5329 
 5330 echo "$as_me:$LINENO: checking size of unsigned long int" >&5
 5331 echo $ECHO_N "checking size of unsigned long int... $ECHO_C" >&6
 5332 if test "${ac_cv_sizeof_unsigned_long_int+set}" = set; then
 5333   echo $ECHO_N "(cached) $ECHO_C" >&6
 5334 else
 5335   if test "$ac_cv_type_unsigned_long_int" = yes; then
 5336   # The cast to unsigned long works around a bug in the HP C Compiler
 5337   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 5338   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 5339   # This bug is HP SR number 8606223364.
 5340   if test "$cross_compiling" = yes; then
 5341   # Depending upon the size, compute the lo and hi bounds.
 5342 cat >conftest.$ac_ext <<_ACEOF
 5343 /* confdefs.h.  */
 5344 _ACEOF
 5345 cat confdefs.h >>conftest.$ac_ext
 5346 cat >>conftest.$ac_ext <<_ACEOF
 5347 /* end confdefs.h.  */
 5348 $ac_includes_default
 5349 int
 5350 main ()
 5351 {
 5352 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long int))) >= 0)@:>@;
 5353 test_array @<:@0@:>@ = 0
 5354 
 5355   ;
 5356   return 0;
 5357 }
 5358 _ACEOF
 5359 rm -f conftest.$ac_objext
 5360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5361   (eval $ac_compile) 2>conftest.er1
 5362   ac_status=$?
 5363   grep -v '^ *+' conftest.er1 >conftest.err
 5364   rm -f conftest.er1
 5365   cat conftest.err >&5
 5366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5367   (exit $ac_status); } &&
 5368 	 { ac_try='test -z "$ac_c_werror_flag"
 5369 			 || test ! -s conftest.err'
 5370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5371   (eval $ac_try) 2>&5
 5372   ac_status=$?
 5373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5374   (exit $ac_status); }; } &&
 5375 	 { ac_try='test -s conftest.$ac_objext'
 5376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5377   (eval $ac_try) 2>&5
 5378   ac_status=$?
 5379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5380   (exit $ac_status); }; }; then
 5381   ac_lo=0 ac_mid=0
 5382   while :; do
 5383     cat >conftest.$ac_ext <<_ACEOF
 5384 /* confdefs.h.  */
 5385 _ACEOF
 5386 cat confdefs.h >>conftest.$ac_ext
 5387 cat >>conftest.$ac_ext <<_ACEOF
 5388 /* end confdefs.h.  */
 5389 $ac_includes_default
 5390 int
 5391 main ()
 5392 {
 5393 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long int))) <= $ac_mid)@:>@;
 5394 test_array @<:@0@:>@ = 0
 5395 
 5396   ;
 5397   return 0;
 5398 }
 5399 _ACEOF
 5400 rm -f conftest.$ac_objext
 5401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5402   (eval $ac_compile) 2>conftest.er1
 5403   ac_status=$?
 5404   grep -v '^ *+' conftest.er1 >conftest.err
 5405   rm -f conftest.er1
 5406   cat conftest.err >&5
 5407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5408   (exit $ac_status); } &&
 5409 	 { ac_try='test -z "$ac_c_werror_flag"
 5410 			 || test ! -s conftest.err'
 5411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5412   (eval $ac_try) 2>&5
 5413   ac_status=$?
 5414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5415   (exit $ac_status); }; } &&
 5416 	 { ac_try='test -s conftest.$ac_objext'
 5417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5418   (eval $ac_try) 2>&5
 5419   ac_status=$?
 5420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5421   (exit $ac_status); }; }; then
 5422   ac_hi=$ac_mid; break
 5423 else
 5424   echo "$as_me: failed program was:" >&5
 5425 sed 's/^/| /' conftest.$ac_ext >&5
 5426 
 5427 ac_lo=`expr $ac_mid + 1`
 5428 		    if test $ac_lo -le $ac_mid; then
 5429 		      ac_lo= ac_hi=
 5430 		      break
 5431 		    fi
 5432 		    ac_mid=`expr 2 '*' $ac_mid + 1`
 5433 fi
 5434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5435   done
 5436 else
 5437   echo "$as_me: failed program was:" >&5
 5438 sed 's/^/| /' conftest.$ac_ext >&5
 5439 
 5440 cat >conftest.$ac_ext <<_ACEOF
 5441 /* confdefs.h.  */
 5442 _ACEOF
 5443 cat confdefs.h >>conftest.$ac_ext
 5444 cat >>conftest.$ac_ext <<_ACEOF
 5445 /* end confdefs.h.  */
 5446 $ac_includes_default
 5447 int
 5448 main ()
 5449 {
 5450 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long int))) < 0)@:>@;
 5451 test_array @<:@0@:>@ = 0
 5452 
 5453   ;
 5454   return 0;
 5455 }
 5456 _ACEOF
 5457 rm -f conftest.$ac_objext
 5458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5459   (eval $ac_compile) 2>conftest.er1
 5460   ac_status=$?
 5461   grep -v '^ *+' conftest.er1 >conftest.err
 5462   rm -f conftest.er1
 5463   cat conftest.err >&5
 5464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5465   (exit $ac_status); } &&
 5466 	 { ac_try='test -z "$ac_c_werror_flag"
 5467 			 || test ! -s conftest.err'
 5468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5469   (eval $ac_try) 2>&5
 5470   ac_status=$?
 5471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5472   (exit $ac_status); }; } &&
 5473 	 { ac_try='test -s conftest.$ac_objext'
 5474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5475   (eval $ac_try) 2>&5
 5476   ac_status=$?
 5477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5478   (exit $ac_status); }; }; then
 5479   ac_hi=-1 ac_mid=-1
 5480   while :; do
 5481     cat >conftest.$ac_ext <<_ACEOF
 5482 /* confdefs.h.  */
 5483 _ACEOF
 5484 cat confdefs.h >>conftest.$ac_ext
 5485 cat >>conftest.$ac_ext <<_ACEOF
 5486 /* end confdefs.h.  */
 5487 $ac_includes_default
 5488 int
 5489 main ()
 5490 {
 5491 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long int))) >= $ac_mid)@:>@;
 5492 test_array @<:@0@:>@ = 0
 5493 
 5494   ;
 5495   return 0;
 5496 }
 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_lo=$ac_mid; break
 5521 else
 5522   echo "$as_me: failed program was:" >&5
 5523 sed 's/^/| /' conftest.$ac_ext >&5
 5524 
 5525 ac_hi=`expr '(' $ac_mid ')' - 1`
 5526 		       if test $ac_mid -le $ac_hi; then
 5527 			 ac_lo= ac_hi=
 5528 			 break
 5529 		       fi
 5530 		       ac_mid=`expr 2 '*' $ac_mid`
 5531 fi
 5532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5533   done
 5534 else
 5535   echo "$as_me: failed program was:" >&5
 5536 sed 's/^/| /' conftest.$ac_ext >&5
 5537 
 5538 ac_lo= ac_hi=
 5539 fi
 5540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5541 fi
 5542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5543 # Binary search between lo and hi bounds.
 5544 while test "x$ac_lo" != "x$ac_hi"; do
 5545   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 5546   cat >conftest.$ac_ext <<_ACEOF
 5547 /* confdefs.h.  */
 5548 _ACEOF
 5549 cat confdefs.h >>conftest.$ac_ext
 5550 cat >>conftest.$ac_ext <<_ACEOF
 5551 /* end confdefs.h.  */
 5552 $ac_includes_default
 5553 int
 5554 main ()
 5555 {
 5556 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned long int))) <= $ac_mid)@:>@;
 5557 test_array @<:@0@:>@ = 0
 5558 
 5559   ;
 5560   return 0;
 5561 }
 5562 _ACEOF
 5563 rm -f conftest.$ac_objext
 5564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5565   (eval $ac_compile) 2>conftest.er1
 5566   ac_status=$?
 5567   grep -v '^ *+' conftest.er1 >conftest.err
 5568   rm -f conftest.er1
 5569   cat conftest.err >&5
 5570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5571   (exit $ac_status); } &&
 5572 	 { ac_try='test -z "$ac_c_werror_flag"
 5573 			 || test ! -s conftest.err'
 5574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5575   (eval $ac_try) 2>&5
 5576   ac_status=$?
 5577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5578   (exit $ac_status); }; } &&
 5579 	 { ac_try='test -s conftest.$ac_objext'
 5580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5581   (eval $ac_try) 2>&5
 5582   ac_status=$?
 5583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5584   (exit $ac_status); }; }; then
 5585   ac_hi=$ac_mid
 5586 else
 5587   echo "$as_me: failed program was:" >&5
 5588 sed 's/^/| /' conftest.$ac_ext >&5
 5589 
 5590 ac_lo=`expr '(' $ac_mid ')' + 1`
 5591 fi
 5592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5593 done
 5594 case $ac_lo in
 5595 ?*) ac_cv_sizeof_unsigned_long_int=$ac_lo;;
 5596 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long int), 77
 5597 See \`config.log' for more details." >&5
 5598 echo "$as_me: error: cannot compute sizeof (unsigned long int), 77
 5599 See \`config.log' for more details." >&2;}
 5600    { (exit 1); exit 1; }; } ;;
 5601 esac
 5602 else
 5603   if test "$cross_compiling" = yes; then
 5604   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 5605 See \`config.log' for more details." >&5
 5606 echo "$as_me: error: cannot run test program while cross compiling
 5607 See \`config.log' for more details." >&2;}
 5608    { (exit 1); exit 1; }; }
 5609 else
 5610   cat >conftest.$ac_ext <<_ACEOF
 5611 /* confdefs.h.  */
 5612 _ACEOF
 5613 cat confdefs.h >>conftest.$ac_ext
 5614 cat >>conftest.$ac_ext <<_ACEOF
 5615 /* end confdefs.h.  */
 5616 $ac_includes_default
 5617 long longval () { return (long) (sizeof (unsigned long int)); }
 5618 unsigned long ulongval () { return (long) (sizeof (unsigned long int)); }
 5619 @%:@include <stdio.h>
 5620 @%:@include <stdlib.h>
 5621 int
 5622 main ()
 5623 {
 5624 
 5625   FILE *f = fopen ("conftest.val", "w");
 5626   if (! f)
 5627     exit (1);
 5628   if (((long) (sizeof (unsigned long int))) < 0)
 5629     {
 5630       long i = longval ();
 5631       if (i != ((long) (sizeof (unsigned long int))))
 5632 	exit (1);
 5633       fprintf (f, "%ld\n", i);
 5634     }
 5635   else
 5636     {
 5637       unsigned long i = ulongval ();
 5638       if (i != ((long) (sizeof (unsigned long int))))
 5639 	exit (1);
 5640       fprintf (f, "%lu\n", i);
 5641     }
 5642   exit (ferror (f) || fclose (f) != 0);
 5643 
 5644   ;
 5645   return 0;
 5646 }
 5647 _ACEOF
 5648 rm -f conftest$ac_exeext
 5649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5650   (eval $ac_link) 2>&5
 5651   ac_status=$?
 5652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5653   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5655   (eval $ac_try) 2>&5
 5656   ac_status=$?
 5657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5658   (exit $ac_status); }; }; then
 5659   ac_cv_sizeof_unsigned_long_int=`cat conftest.val`
 5660 else
 5661   echo "$as_me: program exited with status $ac_status" >&5
 5662 echo "$as_me: failed program was:" >&5
 5663 sed 's/^/| /' conftest.$ac_ext >&5
 5664 
 5665 ( exit $ac_status )
 5666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long int), 77
 5667 See \`config.log' for more details." >&5
 5668 echo "$as_me: error: cannot compute sizeof (unsigned long int), 77
 5669 See \`config.log' for more details." >&2;}
 5670    { (exit 1); exit 1; }; }
 5671 fi
 5672 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 5673 fi
 5674 fi
 5675 rm -f conftest.val
 5676 else
 5677   ac_cv_sizeof_unsigned_long_int=0
 5678 fi
 5679 fi
 5680 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_int" >&5
 5681 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_int" >&6
 5682 cat >>confdefs.h <<_ACEOF
 5683 @%:@define SIZEOF_UNSIGNED_LONG_INT $ac_cv_sizeof_unsigned_long_int
 5684 _ACEOF
 5685 
 5686 
 5687 echo "$as_me:$LINENO: checking for unsigned int" >&5
 5688 echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
 5689 if test "${ac_cv_type_unsigned_int+set}" = set; then
 5690   echo $ECHO_N "(cached) $ECHO_C" >&6
 5691 else
 5692   cat >conftest.$ac_ext <<_ACEOF
 5693 /* confdefs.h.  */
 5694 _ACEOF
 5695 cat confdefs.h >>conftest.$ac_ext
 5696 cat >>conftest.$ac_ext <<_ACEOF
 5697 /* end confdefs.h.  */
 5698 $ac_includes_default
 5699 int
 5700 main ()
 5701 {
 5702 if ((unsigned int *) 0)
 5703   return 0;
 5704 if (sizeof (unsigned int))
 5705   return 0;
 5706   ;
 5707   return 0;
 5708 }
 5709 _ACEOF
 5710 rm -f conftest.$ac_objext
 5711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5712   (eval $ac_compile) 2>conftest.er1
 5713   ac_status=$?
 5714   grep -v '^ *+' conftest.er1 >conftest.err
 5715   rm -f conftest.er1
 5716   cat conftest.err >&5
 5717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5718   (exit $ac_status); } &&
 5719 	 { ac_try='test -z "$ac_c_werror_flag"
 5720 			 || test ! -s conftest.err'
 5721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5722   (eval $ac_try) 2>&5
 5723   ac_status=$?
 5724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5725   (exit $ac_status); }; } &&
 5726 	 { ac_try='test -s conftest.$ac_objext'
 5727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5728   (eval $ac_try) 2>&5
 5729   ac_status=$?
 5730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5731   (exit $ac_status); }; }; then
 5732   ac_cv_type_unsigned_int=yes
 5733 else
 5734   echo "$as_me: failed program was:" >&5
 5735 sed 's/^/| /' conftest.$ac_ext >&5
 5736 
 5737 ac_cv_type_unsigned_int=no
 5738 fi
 5739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5740 fi
 5741 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
 5742 echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
 5743 
 5744 echo "$as_me:$LINENO: checking size of unsigned int" >&5
 5745 echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
 5746 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
 5747   echo $ECHO_N "(cached) $ECHO_C" >&6
 5748 else
 5749   if test "$ac_cv_type_unsigned_int" = yes; then
 5750   # The cast to unsigned long works around a bug in the HP C Compiler
 5751   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 5752   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 5753   # This bug is HP SR number 8606223364.
 5754   if test "$cross_compiling" = yes; then
 5755   # Depending upon the size, compute the lo and hi bounds.
 5756 cat >conftest.$ac_ext <<_ACEOF
 5757 /* confdefs.h.  */
 5758 _ACEOF
 5759 cat confdefs.h >>conftest.$ac_ext
 5760 cat >>conftest.$ac_ext <<_ACEOF
 5761 /* end confdefs.h.  */
 5762 $ac_includes_default
 5763 int
 5764 main ()
 5765 {
 5766 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)@:>@;
 5767 test_array @<:@0@:>@ = 0
 5768 
 5769   ;
 5770   return 0;
 5771 }
 5772 _ACEOF
 5773 rm -f conftest.$ac_objext
 5774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5775   (eval $ac_compile) 2>conftest.er1
 5776   ac_status=$?
 5777   grep -v '^ *+' conftest.er1 >conftest.err
 5778   rm -f conftest.er1
 5779   cat conftest.err >&5
 5780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5781   (exit $ac_status); } &&
 5782 	 { ac_try='test -z "$ac_c_werror_flag"
 5783 			 || test ! -s conftest.err'
 5784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5785   (eval $ac_try) 2>&5
 5786   ac_status=$?
 5787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5788   (exit $ac_status); }; } &&
 5789 	 { ac_try='test -s conftest.$ac_objext'
 5790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5791   (eval $ac_try) 2>&5
 5792   ac_status=$?
 5793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5794   (exit $ac_status); }; }; then
 5795   ac_lo=0 ac_mid=0
 5796   while :; do
 5797     cat >conftest.$ac_ext <<_ACEOF
 5798 /* confdefs.h.  */
 5799 _ACEOF
 5800 cat confdefs.h >>conftest.$ac_ext
 5801 cat >>conftest.$ac_ext <<_ACEOF
 5802 /* end confdefs.h.  */
 5803 $ac_includes_default
 5804 int
 5805 main ()
 5806 {
 5807 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)@:>@;
 5808 test_array @<:@0@:>@ = 0
 5809 
 5810   ;
 5811   return 0;
 5812 }
 5813 _ACEOF
 5814 rm -f conftest.$ac_objext
 5815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5816   (eval $ac_compile) 2>conftest.er1
 5817   ac_status=$?
 5818   grep -v '^ *+' conftest.er1 >conftest.err
 5819   rm -f conftest.er1
 5820   cat conftest.err >&5
 5821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5822   (exit $ac_status); } &&
 5823 	 { ac_try='test -z "$ac_c_werror_flag"
 5824 			 || test ! -s conftest.err'
 5825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5826   (eval $ac_try) 2>&5
 5827   ac_status=$?
 5828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5829   (exit $ac_status); }; } &&
 5830 	 { ac_try='test -s conftest.$ac_objext'
 5831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5832   (eval $ac_try) 2>&5
 5833   ac_status=$?
 5834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5835   (exit $ac_status); }; }; then
 5836   ac_hi=$ac_mid; break
 5837 else
 5838   echo "$as_me: failed program was:" >&5
 5839 sed 's/^/| /' conftest.$ac_ext >&5
 5840 
 5841 ac_lo=`expr $ac_mid + 1`
 5842 		    if test $ac_lo -le $ac_mid; then
 5843 		      ac_lo= ac_hi=
 5844 		      break
 5845 		    fi
 5846 		    ac_mid=`expr 2 '*' $ac_mid + 1`
 5847 fi
 5848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5849   done
 5850 else
 5851   echo "$as_me: failed program was:" >&5
 5852 sed 's/^/| /' conftest.$ac_ext >&5
 5853 
 5854 cat >conftest.$ac_ext <<_ACEOF
 5855 /* confdefs.h.  */
 5856 _ACEOF
 5857 cat confdefs.h >>conftest.$ac_ext
 5858 cat >>conftest.$ac_ext <<_ACEOF
 5859 /* end confdefs.h.  */
 5860 $ac_includes_default
 5861 int
 5862 main ()
 5863 {
 5864 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) < 0)@:>@;
 5865 test_array @<:@0@:>@ = 0
 5866 
 5867   ;
 5868   return 0;
 5869 }
 5870 _ACEOF
 5871 rm -f conftest.$ac_objext
 5872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5873   (eval $ac_compile) 2>conftest.er1
 5874   ac_status=$?
 5875   grep -v '^ *+' conftest.er1 >conftest.err
 5876   rm -f conftest.er1
 5877   cat conftest.err >&5
 5878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5879   (exit $ac_status); } &&
 5880 	 { ac_try='test -z "$ac_c_werror_flag"
 5881 			 || test ! -s conftest.err'
 5882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5883   (eval $ac_try) 2>&5
 5884   ac_status=$?
 5885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5886   (exit $ac_status); }; } &&
 5887 	 { ac_try='test -s conftest.$ac_objext'
 5888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5889   (eval $ac_try) 2>&5
 5890   ac_status=$?
 5891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5892   (exit $ac_status); }; }; then
 5893   ac_hi=-1 ac_mid=-1
 5894   while :; do
 5895     cat >conftest.$ac_ext <<_ACEOF
 5896 /* confdefs.h.  */
 5897 _ACEOF
 5898 cat confdefs.h >>conftest.$ac_ext
 5899 cat >>conftest.$ac_ext <<_ACEOF
 5900 /* end confdefs.h.  */
 5901 $ac_includes_default
 5902 int
 5903 main ()
 5904 {
 5905 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)@:>@;
 5906 test_array @<:@0@:>@ = 0
 5907 
 5908   ;
 5909   return 0;
 5910 }
 5911 _ACEOF
 5912 rm -f conftest.$ac_objext
 5913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5914   (eval $ac_compile) 2>conftest.er1
 5915   ac_status=$?
 5916   grep -v '^ *+' conftest.er1 >conftest.err
 5917   rm -f conftest.er1
 5918   cat conftest.err >&5
 5919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5920   (exit $ac_status); } &&
 5921 	 { ac_try='test -z "$ac_c_werror_flag"
 5922 			 || test ! -s conftest.err'
 5923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5924   (eval $ac_try) 2>&5
 5925   ac_status=$?
 5926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5927   (exit $ac_status); }; } &&
 5928 	 { ac_try='test -s conftest.$ac_objext'
 5929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5930   (eval $ac_try) 2>&5
 5931   ac_status=$?
 5932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5933   (exit $ac_status); }; }; then
 5934   ac_lo=$ac_mid; break
 5935 else
 5936   echo "$as_me: failed program was:" >&5
 5937 sed 's/^/| /' conftest.$ac_ext >&5
 5938 
 5939 ac_hi=`expr '(' $ac_mid ')' - 1`
 5940 		       if test $ac_mid -le $ac_hi; then
 5941 			 ac_lo= ac_hi=
 5942 			 break
 5943 		       fi
 5944 		       ac_mid=`expr 2 '*' $ac_mid`
 5945 fi
 5946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5947   done
 5948 else
 5949   echo "$as_me: failed program was:" >&5
 5950 sed 's/^/| /' conftest.$ac_ext >&5
 5951 
 5952 ac_lo= ac_hi=
 5953 fi
 5954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5955 fi
 5956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5957 # Binary search between lo and hi bounds.
 5958 while test "x$ac_lo" != "x$ac_hi"; do
 5959   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 5960   cat >conftest.$ac_ext <<_ACEOF
 5961 /* confdefs.h.  */
 5962 _ACEOF
 5963 cat confdefs.h >>conftest.$ac_ext
 5964 cat >>conftest.$ac_ext <<_ACEOF
 5965 /* end confdefs.h.  */
 5966 $ac_includes_default
 5967 int
 5968 main ()
 5969 {
 5970 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)@:>@;
 5971 test_array @<:@0@:>@ = 0
 5972 
 5973   ;
 5974   return 0;
 5975 }
 5976 _ACEOF
 5977 rm -f conftest.$ac_objext
 5978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5979   (eval $ac_compile) 2>conftest.er1
 5980   ac_status=$?
 5981   grep -v '^ *+' conftest.er1 >conftest.err
 5982   rm -f conftest.er1
 5983   cat conftest.err >&5
 5984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5985   (exit $ac_status); } &&
 5986 	 { ac_try='test -z "$ac_c_werror_flag"
 5987 			 || test ! -s conftest.err'
 5988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5989   (eval $ac_try) 2>&5
 5990   ac_status=$?
 5991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5992   (exit $ac_status); }; } &&
 5993 	 { ac_try='test -s conftest.$ac_objext'
 5994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5995   (eval $ac_try) 2>&5
 5996   ac_status=$?
 5997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5998   (exit $ac_status); }; }; then
 5999   ac_hi=$ac_mid
 6000 else
 6001   echo "$as_me: failed program was:" >&5
 6002 sed 's/^/| /' conftest.$ac_ext >&5
 6003 
 6004 ac_lo=`expr '(' $ac_mid ')' + 1`
 6005 fi
 6006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6007 done
 6008 case $ac_lo in
 6009 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
 6010 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 6011 See \`config.log' for more details." >&5
 6012 echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 6013 See \`config.log' for more details." >&2;}
 6014    { (exit 1); exit 1; }; } ;;
 6015 esac
 6016 else
 6017   if test "$cross_compiling" = yes; then
 6018   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 6019 See \`config.log' for more details." >&5
 6020 echo "$as_me: error: cannot run test program while cross compiling
 6021 See \`config.log' for more details." >&2;}
 6022    { (exit 1); exit 1; }; }
 6023 else
 6024   cat >conftest.$ac_ext <<_ACEOF
 6025 /* confdefs.h.  */
 6026 _ACEOF
 6027 cat confdefs.h >>conftest.$ac_ext
 6028 cat >>conftest.$ac_ext <<_ACEOF
 6029 /* end confdefs.h.  */
 6030 $ac_includes_default
 6031 long longval () { return (long) (sizeof (unsigned int)); }
 6032 unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
 6033 @%:@include <stdio.h>
 6034 @%:@include <stdlib.h>
 6035 int
 6036 main ()
 6037 {
 6038 
 6039   FILE *f = fopen ("conftest.val", "w");
 6040   if (! f)
 6041     exit (1);
 6042   if (((long) (sizeof (unsigned int))) < 0)
 6043     {
 6044       long i = longval ();
 6045       if (i != ((long) (sizeof (unsigned int))))
 6046 	exit (1);
 6047       fprintf (f, "%ld\n", i);
 6048     }
 6049   else
 6050     {
 6051       unsigned long i = ulongval ();
 6052       if (i != ((long) (sizeof (unsigned int))))
 6053 	exit (1);
 6054       fprintf (f, "%lu\n", i);
 6055     }
 6056   exit (ferror (f) || fclose (f) != 0);
 6057 
 6058   ;
 6059   return 0;
 6060 }
 6061 _ACEOF
 6062 rm -f conftest$ac_exeext
 6063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 6064   (eval $ac_link) 2>&5
 6065   ac_status=$?
 6066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6067   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 6068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6069   (eval $ac_try) 2>&5
 6070   ac_status=$?
 6071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6072   (exit $ac_status); }; }; then
 6073   ac_cv_sizeof_unsigned_int=`cat conftest.val`
 6074 else
 6075   echo "$as_me: program exited with status $ac_status" >&5
 6076 echo "$as_me: failed program was:" >&5
 6077 sed 's/^/| /' conftest.$ac_ext >&5
 6078 
 6079 ( exit $ac_status )
 6080 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
 6081 See \`config.log' for more details." >&5
 6082 echo "$as_me: error: cannot compute sizeof (unsigned int), 77
 6083 See \`config.log' for more details." >&2;}
 6084    { (exit 1); exit 1; }; }
 6085 fi
 6086 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 6087 fi
 6088 fi
 6089 rm -f conftest.val
 6090 else
 6091   ac_cv_sizeof_unsigned_int=0
 6092 fi
 6093 fi
 6094 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
 6095 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
 6096 cat >>confdefs.h <<_ACEOF
 6097 @%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
 6098 _ACEOF
 6099 
 6100 
 6101 echo "$as_me:$LINENO: checking for unsigned short int" >&5
 6102 echo $ECHO_N "checking for unsigned short int... $ECHO_C" >&6
 6103 if test "${ac_cv_type_unsigned_short_int+set}" = set; then
 6104   echo $ECHO_N "(cached) $ECHO_C" >&6
 6105 else
 6106   cat >conftest.$ac_ext <<_ACEOF
 6107 /* confdefs.h.  */
 6108 _ACEOF
 6109 cat confdefs.h >>conftest.$ac_ext
 6110 cat >>conftest.$ac_ext <<_ACEOF
 6111 /* end confdefs.h.  */
 6112 $ac_includes_default
 6113 int
 6114 main ()
 6115 {
 6116 if ((unsigned short int *) 0)
 6117   return 0;
 6118 if (sizeof (unsigned short int))
 6119   return 0;
 6120   ;
 6121   return 0;
 6122 }
 6123 _ACEOF
 6124 rm -f conftest.$ac_objext
 6125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6126   (eval $ac_compile) 2>conftest.er1
 6127   ac_status=$?
 6128   grep -v '^ *+' conftest.er1 >conftest.err
 6129   rm -f conftest.er1
 6130   cat conftest.err >&5
 6131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6132   (exit $ac_status); } &&
 6133 	 { ac_try='test -z "$ac_c_werror_flag"
 6134 			 || test ! -s conftest.err'
 6135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6136   (eval $ac_try) 2>&5
 6137   ac_status=$?
 6138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6139   (exit $ac_status); }; } &&
 6140 	 { ac_try='test -s conftest.$ac_objext'
 6141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6142   (eval $ac_try) 2>&5
 6143   ac_status=$?
 6144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6145   (exit $ac_status); }; }; then
 6146   ac_cv_type_unsigned_short_int=yes
 6147 else
 6148   echo "$as_me: failed program was:" >&5
 6149 sed 's/^/| /' conftest.$ac_ext >&5
 6150 
 6151 ac_cv_type_unsigned_short_int=no
 6152 fi
 6153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6154 fi
 6155 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short_int" >&5
 6156 echo "${ECHO_T}$ac_cv_type_unsigned_short_int" >&6
 6157 
 6158 echo "$as_me:$LINENO: checking size of unsigned short int" >&5
 6159 echo $ECHO_N "checking size of unsigned short int... $ECHO_C" >&6
 6160 if test "${ac_cv_sizeof_unsigned_short_int+set}" = set; then
 6161   echo $ECHO_N "(cached) $ECHO_C" >&6
 6162 else
 6163   if test "$ac_cv_type_unsigned_short_int" = yes; then
 6164   # The cast to unsigned long works around a bug in the HP C Compiler
 6165   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 6166   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 6167   # This bug is HP SR number 8606223364.
 6168   if test "$cross_compiling" = yes; then
 6169   # Depending upon the size, compute the lo and hi bounds.
 6170 cat >conftest.$ac_ext <<_ACEOF
 6171 /* confdefs.h.  */
 6172 _ACEOF
 6173 cat confdefs.h >>conftest.$ac_ext
 6174 cat >>conftest.$ac_ext <<_ACEOF
 6175 /* end confdefs.h.  */
 6176 $ac_includes_default
 6177 int
 6178 main ()
 6179 {
 6180 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short int))) >= 0)@:>@;
 6181 test_array @<:@0@:>@ = 0
 6182 
 6183   ;
 6184   return 0;
 6185 }
 6186 _ACEOF
 6187 rm -f conftest.$ac_objext
 6188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6189   (eval $ac_compile) 2>conftest.er1
 6190   ac_status=$?
 6191   grep -v '^ *+' conftest.er1 >conftest.err
 6192   rm -f conftest.er1
 6193   cat conftest.err >&5
 6194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6195   (exit $ac_status); } &&
 6196 	 { ac_try='test -z "$ac_c_werror_flag"
 6197 			 || test ! -s conftest.err'
 6198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6199   (eval $ac_try) 2>&5
 6200   ac_status=$?
 6201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6202   (exit $ac_status); }; } &&
 6203 	 { ac_try='test -s conftest.$ac_objext'
 6204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6205   (eval $ac_try) 2>&5
 6206   ac_status=$?
 6207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6208   (exit $ac_status); }; }; then
 6209   ac_lo=0 ac_mid=0
 6210   while :; do
 6211     cat >conftest.$ac_ext <<_ACEOF
 6212 /* confdefs.h.  */
 6213 _ACEOF
 6214 cat confdefs.h >>conftest.$ac_ext
 6215 cat >>conftest.$ac_ext <<_ACEOF
 6216 /* end confdefs.h.  */
 6217 $ac_includes_default
 6218 int
 6219 main ()
 6220 {
 6221 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short int))) <= $ac_mid)@:>@;
 6222 test_array @<:@0@:>@ = 0
 6223 
 6224   ;
 6225   return 0;
 6226 }
 6227 _ACEOF
 6228 rm -f conftest.$ac_objext
 6229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6230   (eval $ac_compile) 2>conftest.er1
 6231   ac_status=$?
 6232   grep -v '^ *+' conftest.er1 >conftest.err
 6233   rm -f conftest.er1
 6234   cat conftest.err >&5
 6235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6236   (exit $ac_status); } &&
 6237 	 { ac_try='test -z "$ac_c_werror_flag"
 6238 			 || test ! -s conftest.err'
 6239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6240   (eval $ac_try) 2>&5
 6241   ac_status=$?
 6242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6243   (exit $ac_status); }; } &&
 6244 	 { ac_try='test -s conftest.$ac_objext'
 6245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6246   (eval $ac_try) 2>&5
 6247   ac_status=$?
 6248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6249   (exit $ac_status); }; }; then
 6250   ac_hi=$ac_mid; break
 6251 else
 6252   echo "$as_me: failed program was:" >&5
 6253 sed 's/^/| /' conftest.$ac_ext >&5
 6254 
 6255 ac_lo=`expr $ac_mid + 1`
 6256 		    if test $ac_lo -le $ac_mid; then
 6257 		      ac_lo= ac_hi=
 6258 		      break
 6259 		    fi
 6260 		    ac_mid=`expr 2 '*' $ac_mid + 1`
 6261 fi
 6262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6263   done
 6264 else
 6265   echo "$as_me: failed program was:" >&5
 6266 sed 's/^/| /' conftest.$ac_ext >&5
 6267 
 6268 cat >conftest.$ac_ext <<_ACEOF
 6269 /* confdefs.h.  */
 6270 _ACEOF
 6271 cat confdefs.h >>conftest.$ac_ext
 6272 cat >>conftest.$ac_ext <<_ACEOF
 6273 /* end confdefs.h.  */
 6274 $ac_includes_default
 6275 int
 6276 main ()
 6277 {
 6278 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short int))) < 0)@:>@;
 6279 test_array @<:@0@:>@ = 0
 6280 
 6281   ;
 6282   return 0;
 6283 }
 6284 _ACEOF
 6285 rm -f conftest.$ac_objext
 6286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6287   (eval $ac_compile) 2>conftest.er1
 6288   ac_status=$?
 6289   grep -v '^ *+' conftest.er1 >conftest.err
 6290   rm -f conftest.er1
 6291   cat conftest.err >&5
 6292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6293   (exit $ac_status); } &&
 6294 	 { ac_try='test -z "$ac_c_werror_flag"
 6295 			 || test ! -s conftest.err'
 6296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6297   (eval $ac_try) 2>&5
 6298   ac_status=$?
 6299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6300   (exit $ac_status); }; } &&
 6301 	 { ac_try='test -s conftest.$ac_objext'
 6302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6303   (eval $ac_try) 2>&5
 6304   ac_status=$?
 6305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6306   (exit $ac_status); }; }; then
 6307   ac_hi=-1 ac_mid=-1
 6308   while :; do
 6309     cat >conftest.$ac_ext <<_ACEOF
 6310 /* confdefs.h.  */
 6311 _ACEOF
 6312 cat confdefs.h >>conftest.$ac_ext
 6313 cat >>conftest.$ac_ext <<_ACEOF
 6314 /* end confdefs.h.  */
 6315 $ac_includes_default
 6316 int
 6317 main ()
 6318 {
 6319 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short int))) >= $ac_mid)@:>@;
 6320 test_array @<:@0@:>@ = 0
 6321 
 6322   ;
 6323   return 0;
 6324 }
 6325 _ACEOF
 6326 rm -f conftest.$ac_objext
 6327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6328   (eval $ac_compile) 2>conftest.er1
 6329   ac_status=$?
 6330   grep -v '^ *+' conftest.er1 >conftest.err
 6331   rm -f conftest.er1
 6332   cat conftest.err >&5
 6333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6334   (exit $ac_status); } &&
 6335 	 { ac_try='test -z "$ac_c_werror_flag"
 6336 			 || test ! -s conftest.err'
 6337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6338   (eval $ac_try) 2>&5
 6339   ac_status=$?
 6340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6341   (exit $ac_status); }; } &&
 6342 	 { ac_try='test -s conftest.$ac_objext'
 6343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6344   (eval $ac_try) 2>&5
 6345   ac_status=$?
 6346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6347   (exit $ac_status); }; }; then
 6348   ac_lo=$ac_mid; break
 6349 else
 6350   echo "$as_me: failed program was:" >&5
 6351 sed 's/^/| /' conftest.$ac_ext >&5
 6352 
 6353 ac_hi=`expr '(' $ac_mid ')' - 1`
 6354 		       if test $ac_mid -le $ac_hi; then
 6355 			 ac_lo= ac_hi=
 6356 			 break
 6357 		       fi
 6358 		       ac_mid=`expr 2 '*' $ac_mid`
 6359 fi
 6360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6361   done
 6362 else
 6363   echo "$as_me: failed program was:" >&5
 6364 sed 's/^/| /' conftest.$ac_ext >&5
 6365 
 6366 ac_lo= ac_hi=
 6367 fi
 6368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6369 fi
 6370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6371 # Binary search between lo and hi bounds.
 6372 while test "x$ac_lo" != "x$ac_hi"; do
 6373   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 6374   cat >conftest.$ac_ext <<_ACEOF
 6375 /* confdefs.h.  */
 6376 _ACEOF
 6377 cat confdefs.h >>conftest.$ac_ext
 6378 cat >>conftest.$ac_ext <<_ACEOF
 6379 /* end confdefs.h.  */
 6380 $ac_includes_default
 6381 int
 6382 main ()
 6383 {
 6384 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned short int))) <= $ac_mid)@:>@;
 6385 test_array @<:@0@:>@ = 0
 6386 
 6387   ;
 6388   return 0;
 6389 }
 6390 _ACEOF
 6391 rm -f conftest.$ac_objext
 6392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6393   (eval $ac_compile) 2>conftest.er1
 6394   ac_status=$?
 6395   grep -v '^ *+' conftest.er1 >conftest.err
 6396   rm -f conftest.er1
 6397   cat conftest.err >&5
 6398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6399   (exit $ac_status); } &&
 6400 	 { ac_try='test -z "$ac_c_werror_flag"
 6401 			 || test ! -s conftest.err'
 6402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6403   (eval $ac_try) 2>&5
 6404   ac_status=$?
 6405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6406   (exit $ac_status); }; } &&
 6407 	 { ac_try='test -s conftest.$ac_objext'
 6408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6409   (eval $ac_try) 2>&5
 6410   ac_status=$?
 6411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6412   (exit $ac_status); }; }; then
 6413   ac_hi=$ac_mid
 6414 else
 6415   echo "$as_me: failed program was:" >&5
 6416 sed 's/^/| /' conftest.$ac_ext >&5
 6417 
 6418 ac_lo=`expr '(' $ac_mid ')' + 1`
 6419 fi
 6420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6421 done
 6422 case $ac_lo in
 6423 ?*) ac_cv_sizeof_unsigned_short_int=$ac_lo;;
 6424 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short int), 77
 6425 See \`config.log' for more details." >&5
 6426 echo "$as_me: error: cannot compute sizeof (unsigned short int), 77
 6427 See \`config.log' for more details." >&2;}
 6428    { (exit 1); exit 1; }; } ;;
 6429 esac
 6430 else
 6431   if test "$cross_compiling" = yes; then
 6432   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 6433 See \`config.log' for more details." >&5
 6434 echo "$as_me: error: cannot run test program while cross compiling
 6435 See \`config.log' for more details." >&2;}
 6436    { (exit 1); exit 1; }; }
 6437 else
 6438   cat >conftest.$ac_ext <<_ACEOF
 6439 /* confdefs.h.  */
 6440 _ACEOF
 6441 cat confdefs.h >>conftest.$ac_ext
 6442 cat >>conftest.$ac_ext <<_ACEOF
 6443 /* end confdefs.h.  */
 6444 $ac_includes_default
 6445 long longval () { return (long) (sizeof (unsigned short int)); }
 6446 unsigned long ulongval () { return (long) (sizeof (unsigned short int)); }
 6447 @%:@include <stdio.h>
 6448 @%:@include <stdlib.h>
 6449 int
 6450 main ()
 6451 {
 6452 
 6453   FILE *f = fopen ("conftest.val", "w");
 6454   if (! f)
 6455     exit (1);
 6456   if (((long) (sizeof (unsigned short int))) < 0)
 6457     {
 6458       long i = longval ();
 6459       if (i != ((long) (sizeof (unsigned short int))))
 6460 	exit (1);
 6461       fprintf (f, "%ld\n", i);
 6462     }
 6463   else
 6464     {
 6465       unsigned long i = ulongval ();
 6466       if (i != ((long) (sizeof (unsigned short int))))
 6467 	exit (1);
 6468       fprintf (f, "%lu\n", i);
 6469     }
 6470   exit (ferror (f) || fclose (f) != 0);
 6471 
 6472   ;
 6473   return 0;
 6474 }
 6475 _ACEOF
 6476 rm -f conftest$ac_exeext
 6477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 6478   (eval $ac_link) 2>&5
 6479   ac_status=$?
 6480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6481   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 6482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6483   (eval $ac_try) 2>&5
 6484   ac_status=$?
 6485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6486   (exit $ac_status); }; }; then
 6487   ac_cv_sizeof_unsigned_short_int=`cat conftest.val`
 6488 else
 6489   echo "$as_me: program exited with status $ac_status" >&5
 6490 echo "$as_me: failed program was:" >&5
 6491 sed 's/^/| /' conftest.$ac_ext >&5
 6492 
 6493 ( exit $ac_status )
 6494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short int), 77
 6495 See \`config.log' for more details." >&5
 6496 echo "$as_me: error: cannot compute sizeof (unsigned short int), 77
 6497 See \`config.log' for more details." >&2;}
 6498    { (exit 1); exit 1; }; }
 6499 fi
 6500 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 6501 fi
 6502 fi
 6503 rm -f conftest.val
 6504 else
 6505   ac_cv_sizeof_unsigned_short_int=0
 6506 fi
 6507 fi
 6508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short_int" >&5
 6509 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short_int" >&6
 6510 cat >>confdefs.h <<_ACEOF
 6511 @%:@define SIZEOF_UNSIGNED_SHORT_INT $ac_cv_sizeof_unsigned_short_int
 6512 _ACEOF
 6513 
 6514 
 6515 echo "$as_me:$LINENO: checking for unsigned char" >&5
 6516 echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6
 6517 if test "${ac_cv_type_unsigned_char+set}" = set; then
 6518   echo $ECHO_N "(cached) $ECHO_C" >&6
 6519 else
 6520   cat >conftest.$ac_ext <<_ACEOF
 6521 /* confdefs.h.  */
 6522 _ACEOF
 6523 cat confdefs.h >>conftest.$ac_ext
 6524 cat >>conftest.$ac_ext <<_ACEOF
 6525 /* end confdefs.h.  */
 6526 $ac_includes_default
 6527 int
 6528 main ()
 6529 {
 6530 if ((unsigned char *) 0)
 6531   return 0;
 6532 if (sizeof (unsigned char))
 6533   return 0;
 6534   ;
 6535   return 0;
 6536 }
 6537 _ACEOF
 6538 rm -f conftest.$ac_objext
 6539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6540   (eval $ac_compile) 2>conftest.er1
 6541   ac_status=$?
 6542   grep -v '^ *+' conftest.er1 >conftest.err
 6543   rm -f conftest.er1
 6544   cat conftest.err >&5
 6545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6546   (exit $ac_status); } &&
 6547 	 { ac_try='test -z "$ac_c_werror_flag"
 6548 			 || test ! -s conftest.err'
 6549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6550   (eval $ac_try) 2>&5
 6551   ac_status=$?
 6552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6553   (exit $ac_status); }; } &&
 6554 	 { ac_try='test -s conftest.$ac_objext'
 6555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6556   (eval $ac_try) 2>&5
 6557   ac_status=$?
 6558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6559   (exit $ac_status); }; }; then
 6560   ac_cv_type_unsigned_char=yes
 6561 else
 6562   echo "$as_me: failed program was:" >&5
 6563 sed 's/^/| /' conftest.$ac_ext >&5
 6564 
 6565 ac_cv_type_unsigned_char=no
 6566 fi
 6567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6568 fi
 6569 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
 6570 echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6
 6571 
 6572 echo "$as_me:$LINENO: checking size of unsigned char" >&5
 6573 echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6
 6574 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
 6575   echo $ECHO_N "(cached) $ECHO_C" >&6
 6576 else
 6577   if test "$ac_cv_type_unsigned_char" = yes; then
 6578   # The cast to unsigned long works around a bug in the HP C Compiler
 6579   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 6580   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 6581   # This bug is HP SR number 8606223364.
 6582   if test "$cross_compiling" = yes; then
 6583   # Depending upon the size, compute the lo and hi bounds.
 6584 cat >conftest.$ac_ext <<_ACEOF
 6585 /* confdefs.h.  */
 6586 _ACEOF
 6587 cat confdefs.h >>conftest.$ac_ext
 6588 cat >>conftest.$ac_ext <<_ACEOF
 6589 /* end confdefs.h.  */
 6590 $ac_includes_default
 6591 int
 6592 main ()
 6593 {
 6594 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) >= 0)@:>@;
 6595 test_array @<:@0@:>@ = 0
 6596 
 6597   ;
 6598   return 0;
 6599 }
 6600 _ACEOF
 6601 rm -f conftest.$ac_objext
 6602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6603   (eval $ac_compile) 2>conftest.er1
 6604   ac_status=$?
 6605   grep -v '^ *+' conftest.er1 >conftest.err
 6606   rm -f conftest.er1
 6607   cat conftest.err >&5
 6608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6609   (exit $ac_status); } &&
 6610 	 { ac_try='test -z "$ac_c_werror_flag"
 6611 			 || test ! -s conftest.err'
 6612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6613   (eval $ac_try) 2>&5
 6614   ac_status=$?
 6615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6616   (exit $ac_status); }; } &&
 6617 	 { ac_try='test -s conftest.$ac_objext'
 6618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6619   (eval $ac_try) 2>&5
 6620   ac_status=$?
 6621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6622   (exit $ac_status); }; }; then
 6623   ac_lo=0 ac_mid=0
 6624   while :; do
 6625     cat >conftest.$ac_ext <<_ACEOF
 6626 /* confdefs.h.  */
 6627 _ACEOF
 6628 cat confdefs.h >>conftest.$ac_ext
 6629 cat >>conftest.$ac_ext <<_ACEOF
 6630 /* end confdefs.h.  */
 6631 $ac_includes_default
 6632 int
 6633 main ()
 6634 {
 6635 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)@:>@;
 6636 test_array @<:@0@:>@ = 0
 6637 
 6638   ;
 6639   return 0;
 6640 }
 6641 _ACEOF
 6642 rm -f conftest.$ac_objext
 6643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6644   (eval $ac_compile) 2>conftest.er1
 6645   ac_status=$?
 6646   grep -v '^ *+' conftest.er1 >conftest.err
 6647   rm -f conftest.er1
 6648   cat conftest.err >&5
 6649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6650   (exit $ac_status); } &&
 6651 	 { ac_try='test -z "$ac_c_werror_flag"
 6652 			 || test ! -s conftest.err'
 6653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6654   (eval $ac_try) 2>&5
 6655   ac_status=$?
 6656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6657   (exit $ac_status); }; } &&
 6658 	 { ac_try='test -s conftest.$ac_objext'
 6659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6660   (eval $ac_try) 2>&5
 6661   ac_status=$?
 6662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6663   (exit $ac_status); }; }; then
 6664   ac_hi=$ac_mid; break
 6665 else
 6666   echo "$as_me: failed program was:" >&5
 6667 sed 's/^/| /' conftest.$ac_ext >&5
 6668 
 6669 ac_lo=`expr $ac_mid + 1`
 6670 		    if test $ac_lo -le $ac_mid; then
 6671 		      ac_lo= ac_hi=
 6672 		      break
 6673 		    fi
 6674 		    ac_mid=`expr 2 '*' $ac_mid + 1`
 6675 fi
 6676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6677   done
 6678 else
 6679   echo "$as_me: failed program was:" >&5
 6680 sed 's/^/| /' conftest.$ac_ext >&5
 6681 
 6682 cat >conftest.$ac_ext <<_ACEOF
 6683 /* confdefs.h.  */
 6684 _ACEOF
 6685 cat confdefs.h >>conftest.$ac_ext
 6686 cat >>conftest.$ac_ext <<_ACEOF
 6687 /* end confdefs.h.  */
 6688 $ac_includes_default
 6689 int
 6690 main ()
 6691 {
 6692 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) < 0)@:>@;
 6693 test_array @<:@0@:>@ = 0
 6694 
 6695   ;
 6696   return 0;
 6697 }
 6698 _ACEOF
 6699 rm -f conftest.$ac_objext
 6700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6701   (eval $ac_compile) 2>conftest.er1
 6702   ac_status=$?
 6703   grep -v '^ *+' conftest.er1 >conftest.err
 6704   rm -f conftest.er1
 6705   cat conftest.err >&5
 6706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6707   (exit $ac_status); } &&
 6708 	 { ac_try='test -z "$ac_c_werror_flag"
 6709 			 || test ! -s conftest.err'
 6710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6711   (eval $ac_try) 2>&5
 6712   ac_status=$?
 6713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6714   (exit $ac_status); }; } &&
 6715 	 { ac_try='test -s conftest.$ac_objext'
 6716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6717   (eval $ac_try) 2>&5
 6718   ac_status=$?
 6719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6720   (exit $ac_status); }; }; then
 6721   ac_hi=-1 ac_mid=-1
 6722   while :; do
 6723     cat >conftest.$ac_ext <<_ACEOF
 6724 /* confdefs.h.  */
 6725 _ACEOF
 6726 cat confdefs.h >>conftest.$ac_ext
 6727 cat >>conftest.$ac_ext <<_ACEOF
 6728 /* end confdefs.h.  */
 6729 $ac_includes_default
 6730 int
 6731 main ()
 6732 {
 6733 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) >= $ac_mid)@:>@;
 6734 test_array @<:@0@:>@ = 0
 6735 
 6736   ;
 6737   return 0;
 6738 }
 6739 _ACEOF
 6740 rm -f conftest.$ac_objext
 6741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6742   (eval $ac_compile) 2>conftest.er1
 6743   ac_status=$?
 6744   grep -v '^ *+' conftest.er1 >conftest.err
 6745   rm -f conftest.er1
 6746   cat conftest.err >&5
 6747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6748   (exit $ac_status); } &&
 6749 	 { ac_try='test -z "$ac_c_werror_flag"
 6750 			 || test ! -s conftest.err'
 6751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6752   (eval $ac_try) 2>&5
 6753   ac_status=$?
 6754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6755   (exit $ac_status); }; } &&
 6756 	 { ac_try='test -s conftest.$ac_objext'
 6757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6758   (eval $ac_try) 2>&5
 6759   ac_status=$?
 6760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6761   (exit $ac_status); }; }; then
 6762   ac_lo=$ac_mid; break
 6763 else
 6764   echo "$as_me: failed program was:" >&5
 6765 sed 's/^/| /' conftest.$ac_ext >&5
 6766 
 6767 ac_hi=`expr '(' $ac_mid ')' - 1`
 6768 		       if test $ac_mid -le $ac_hi; then
 6769 			 ac_lo= ac_hi=
 6770 			 break
 6771 		       fi
 6772 		       ac_mid=`expr 2 '*' $ac_mid`
 6773 fi
 6774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6775   done
 6776 else
 6777   echo "$as_me: failed program was:" >&5
 6778 sed 's/^/| /' conftest.$ac_ext >&5
 6779 
 6780 ac_lo= ac_hi=
 6781 fi
 6782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6783 fi
 6784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6785 # Binary search between lo and hi bounds.
 6786 while test "x$ac_lo" != "x$ac_hi"; do
 6787   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 6788   cat >conftest.$ac_ext <<_ACEOF
 6789 /* confdefs.h.  */
 6790 _ACEOF
 6791 cat confdefs.h >>conftest.$ac_ext
 6792 cat >>conftest.$ac_ext <<_ACEOF
 6793 /* end confdefs.h.  */
 6794 $ac_includes_default
 6795 int
 6796 main ()
 6797 {
 6798 static int test_array @<:@1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)@:>@;
 6799 test_array @<:@0@:>@ = 0
 6800 
 6801   ;
 6802   return 0;
 6803 }
 6804 _ACEOF
 6805 rm -f conftest.$ac_objext
 6806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6807   (eval $ac_compile) 2>conftest.er1
 6808   ac_status=$?
 6809   grep -v '^ *+' conftest.er1 >conftest.err
 6810   rm -f conftest.er1
 6811   cat conftest.err >&5
 6812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6813   (exit $ac_status); } &&
 6814 	 { ac_try='test -z "$ac_c_werror_flag"
 6815 			 || test ! -s conftest.err'
 6816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6817   (eval $ac_try) 2>&5
 6818   ac_status=$?
 6819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6820   (exit $ac_status); }; } &&
 6821 	 { ac_try='test -s conftest.$ac_objext'
 6822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6823   (eval $ac_try) 2>&5
 6824   ac_status=$?
 6825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6826   (exit $ac_status); }; }; then
 6827   ac_hi=$ac_mid
 6828 else
 6829   echo "$as_me: failed program was:" >&5
 6830 sed 's/^/| /' conftest.$ac_ext >&5
 6831 
 6832 ac_lo=`expr '(' $ac_mid ')' + 1`
 6833 fi
 6834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6835 done
 6836 case $ac_lo in
 6837 ?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
 6838 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
 6839 See \`config.log' for more details." >&5
 6840 echo "$as_me: error: cannot compute sizeof (unsigned char), 77
 6841 See \`config.log' for more details." >&2;}
 6842    { (exit 1); exit 1; }; } ;;
 6843 esac
 6844 else
 6845   if test "$cross_compiling" = yes; then
 6846   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 6847 See \`config.log' for more details." >&5
 6848 echo "$as_me: error: cannot run test program while cross compiling
 6849 See \`config.log' for more details." >&2;}
 6850    { (exit 1); exit 1; }; }
 6851 else
 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 $ac_includes_default
 6859 long longval () { return (long) (sizeof (unsigned char)); }
 6860 unsigned long ulongval () { return (long) (sizeof (unsigned char)); }
 6861 @%:@include <stdio.h>
 6862 @%:@include <stdlib.h>
 6863 int
 6864 main ()
 6865 {
 6866 
 6867   FILE *f = fopen ("conftest.val", "w");
 6868   if (! f)
 6869     exit (1);
 6870   if (((long) (sizeof (unsigned char))) < 0)
 6871     {
 6872       long i = longval ();
 6873       if (i != ((long) (sizeof (unsigned char))))
 6874 	exit (1);
 6875       fprintf (f, "%ld\n", i);
 6876     }
 6877   else
 6878     {
 6879       unsigned long i = ulongval ();
 6880       if (i != ((long) (sizeof (unsigned char))))
 6881 	exit (1);
 6882       fprintf (f, "%lu\n", i);
 6883     }
 6884   exit (ferror (f) || fclose (f) != 0);
 6885 
 6886   ;
 6887   return 0;
 6888 }
 6889 _ACEOF
 6890 rm -f conftest$ac_exeext
 6891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 6892   (eval $ac_link) 2>&5
 6893   ac_status=$?
 6894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6895   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 6896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6897   (eval $ac_try) 2>&5
 6898   ac_status=$?
 6899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6900   (exit $ac_status); }; }; then
 6901   ac_cv_sizeof_unsigned_char=`cat conftest.val`
 6902 else
 6903   echo "$as_me: program exited with status $ac_status" >&5
 6904 echo "$as_me: failed program was:" >&5
 6905 sed 's/^/| /' conftest.$ac_ext >&5
 6906 
 6907 ( exit $ac_status )
 6908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77
 6909 See \`config.log' for more details." >&5
 6910 echo "$as_me: error: cannot compute sizeof (unsigned char), 77
 6911 See \`config.log' for more details." >&2;}
 6912    { (exit 1); exit 1; }; }
 6913 fi
 6914 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 6915 fi
 6916 fi
 6917 rm -f conftest.val
 6918 else
 6919   ac_cv_sizeof_unsigned_char=0
 6920 fi
 6921 fi
 6922 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
 6923 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6
 6924 cat >>confdefs.h <<_ACEOF
 6925 @%:@define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
 6926 _ACEOF
 6927 
 6928 
 6929 
 6930 
 6931 
 6932 
 6933 
 6934 
 6935 
 6936 
 6937 # Check whether --enable-shared or --disable-shared was given.
 6938 if test "${enable_shared+set}" = set; then
 6939   enableval="$enable_shared"
 6940   p=${PACKAGE-default}
 6941     case $enableval in
 6942     yes) enable_shared=yes ;;
 6943     no) enable_shared=no ;;
 6944     *)
 6945       enable_shared=no
 6946       # Look at the argument we got.  We use all the common list separators.
 6947       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 6948       for pkg in $enableval; do
 6949 	IFS="$lt_save_ifs"
 6950 	if test "X$pkg" = "X$p"; then
 6951 	  enable_shared=yes
 6952 	fi
 6953       done
 6954       IFS="$lt_save_ifs"
 6955       ;;
 6956     esac
 6957 else
 6958   enable_shared=yes
 6959 fi; 
 6960 
 6961 # Check whether --enable-fast-install or --disable-fast-install was given.
 6962 if test "${enable_fast_install+set}" = set; then
 6963   enableval="$enable_fast_install"
 6964   p=${PACKAGE-default}
 6965     case $enableval in
 6966     yes) enable_fast_install=yes ;;
 6967     no) enable_fast_install=no ;;
 6968     *)
 6969       enable_fast_install=no
 6970       # Look at the argument we got.  We use all the common list separators.
 6971       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 6972       for pkg in $enableval; do
 6973 	IFS="$lt_save_ifs"
 6974 	if test "X$pkg" = "X$p"; then
 6975 	  enable_fast_install=yes
 6976 	fi
 6977       done
 6978       IFS="$lt_save_ifs"
 6979       ;;
 6980     esac
 6981 else
 6982   enable_fast_install=yes
 6983 fi; 
 6984 
 6985 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 6986 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 6987 if test "${lt_cv_path_SED+set}" = set; then
 6988   echo $ECHO_N "(cached) $ECHO_C" >&6
 6989 else
 6990   # Loop through the user's path and test for sed and gsed.
 6991 # Then use that list of sed's as ones to test for truncation.
 6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 6993 for as_dir in $PATH
 6994 do
 6995   IFS=$as_save_IFS
 6996   test -z "$as_dir" && as_dir=.
 6997   for lt_ac_prog in sed gsed; do
 6998     for ac_exec_ext in '' $ac_executable_extensions; do
 6999       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 7000         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 7001       fi
 7002     done
 7003   done
 7004 done
 7005 IFS=$as_save_IFS
 7006 lt_ac_max=0
 7007 lt_ac_count=0
 7008 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
 7009 # along with /bin/sed that truncates output.
 7010 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 7011   test ! -f $lt_ac_sed && continue
 7012   cat /dev/null > conftest.in
 7013   lt_ac_count=0
 7014   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 7015   # Check for GNU sed and select it if it is found.
 7016   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 7017     lt_cv_path_SED=$lt_ac_sed
 7018     break
 7019   fi
 7020   while true; do
 7021     cat conftest.in conftest.in >conftest.tmp
 7022     mv conftest.tmp conftest.in
 7023     cp conftest.in conftest.nl
 7024     echo >>conftest.nl
 7025     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 7026     cmp -s conftest.out conftest.nl || break
 7027     # 10000 chars as input seems more than enough
 7028     test $lt_ac_count -gt 10 && break
 7029     lt_ac_count=`expr $lt_ac_count + 1`
 7030     if test $lt_ac_count -gt $lt_ac_max; then
 7031       lt_ac_max=$lt_ac_count
 7032       lt_cv_path_SED=$lt_ac_sed
 7033     fi
 7034   done
 7035 done
 7036 
 7037 fi
 7038 
 7039 SED=$lt_cv_path_SED
 7040 
 7041 echo "$as_me:$LINENO: result: $SED" >&5
 7042 echo "${ECHO_T}$SED" >&6
 7043 
 7044 
 7045 # Check whether --with-gnu-ld or --without-gnu-ld was given.
 7046 if test "${with_gnu_ld+set}" = set; then
 7047   withval="$with_gnu_ld"
 7048   test "$withval" = no || with_gnu_ld=yes
 7049 else
 7050   with_gnu_ld=no
 7051 fi; 
 7052 ac_prog=ld
 7053 if test "$GCC" = yes; then
 7054   # Check if gcc -print-prog-name=ld gives a path.
 7055   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 7056 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 7057   case $host in
 7058   *-*-mingw*)
 7059     # gcc leaves a trailing carriage return which upsets mingw
 7060     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 7061   *)
 7062     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 7063   esac
 7064   case $ac_prog in
 7065     # Accept absolute paths.
 7066     [\\/]* | ?:[\\/]*)
 7067       re_direlt='/[^/][^/]*/\.\./'
 7068       # Canonicalize the pathname of ld
 7069       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 7070       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 7071 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 7072       done
 7073       test -z "$LD" && LD="$ac_prog"
 7074       ;;
 7075   "")
 7076     # If it fails, then pretend we aren't using GCC.
 7077     ac_prog=ld
 7078     ;;
 7079   *)
 7080     # If it is relative, then search for the first ld in PATH.
 7081     with_gnu_ld=unknown
 7082     ;;
 7083   esac
 7084 elif test "$with_gnu_ld" = yes; then
 7085   echo "$as_me:$LINENO: checking for GNU ld" >&5
 7086 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 7087 else
 7088   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 7089 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 7090 fi
 7091 if test "${lt_cv_path_LD+set}" = set; then
 7092   echo $ECHO_N "(cached) $ECHO_C" >&6
 7093 else
 7094   if test -z "$LD"; then
 7095   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 7096   for ac_dir in $PATH; do
 7097     IFS="$lt_save_ifs"
 7098     test -z "$ac_dir" && ac_dir=.
 7099     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 7100       lt_cv_path_LD="$ac_dir/$ac_prog"
 7101       # Check to see if the program is GNU ld.  I'd rather use --version,
 7102       # but apparently some variants of GNU ld only accept -v.
 7103       # Break only if it was the GNU/non-GNU ld that we prefer.
 7104       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 7105       *GNU* | *'with BFD'*)
 7106 	test "$with_gnu_ld" != no && break
 7107 	;;
 7108       *)
 7109 	test "$with_gnu_ld" != yes && break
 7110 	;;
 7111       esac
 7112     fi
 7113   done
 7114   IFS="$lt_save_ifs"
 7115 else
 7116   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 7117 fi
 7118 fi
 7119 
 7120 LD="$lt_cv_path_LD"
 7121 if test -n "$LD"; then
 7122   echo "$as_me:$LINENO: result: $LD" >&5
 7123 echo "${ECHO_T}$LD" >&6
 7124 else
 7125   echo "$as_me:$LINENO: result: no" >&5
 7126 echo "${ECHO_T}no" >&6
 7127 fi
 7128 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 7129 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 7130    { (exit 1); exit 1; }; }
 7131 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 7132 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 7133 if test "${lt_cv_prog_gnu_ld+set}" = set; then
 7134   echo $ECHO_N "(cached) $ECHO_C" >&6
 7135 else
 7136   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 7137 case `$LD -v 2>&1 </dev/null` in
 7138 *GNU* | *'with BFD'*)
 7139   lt_cv_prog_gnu_ld=yes
 7140   ;;
 7141 *)
 7142   lt_cv_prog_gnu_ld=no
 7143   ;;
 7144 esac
 7145 fi
 7146 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 7147 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 7148 with_gnu_ld=$lt_cv_prog_gnu_ld
 7149 
 7150 
 7151 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 7152 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 7153 if test "${lt_cv_ld_reload_flag+set}" = set; then
 7154   echo $ECHO_N "(cached) $ECHO_C" >&6
 7155 else
 7156   lt_cv_ld_reload_flag='-r'
 7157 fi
 7158 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 7159 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 7160 reload_flag=$lt_cv_ld_reload_flag
 7161 case $reload_flag in
 7162 "" | " "*) ;;
 7163 *) reload_flag=" $reload_flag" ;;
 7164 esac
 7165 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 7166 case $host_os in
 7167   darwin*)
 7168     if test "$GCC" = yes; then
 7169       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 7170     else
 7171       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 7172     fi
 7173     ;;
 7174 esac
 7175 
 7176 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 7177 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 7178 if test "${lt_cv_path_NM+set}" = set; then
 7179   echo $ECHO_N "(cached) $ECHO_C" >&6
 7180 else
 7181   if test -n "$NM"; then
 7182   # Let the user override the test.
 7183   lt_cv_path_NM="$NM"
 7184 else
 7185   lt_nm_to_check="${ac_tool_prefix}nm"
 7186   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
 7187     lt_nm_to_check="$lt_nm_to_check nm"
 7188   fi
 7189   for lt_tmp_nm in $lt_nm_to_check; do
 7190     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 7191     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 7192       IFS="$lt_save_ifs"
 7193       test -z "$ac_dir" && ac_dir=.
 7194       tmp_nm="$ac_dir/$lt_tmp_nm"
 7195       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 7196 	# Check to see if the nm accepts a BSD-compat flag.
 7197 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
 7198 	#   nm: unknown option "B" ignored
 7199 	# Tru64's nm complains that /dev/null is an invalid object file
 7200 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 7201 	*/dev/null* | *'Invalid file or object type'*)
 7202 	  lt_cv_path_NM="$tmp_nm -B"
 7203 	  break
 7204 	  ;;
 7205 	*)
 7206 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 7207 	  */dev/null*)
 7208 	    lt_cv_path_NM="$tmp_nm -p"
 7209 	    break
 7210 	    ;;
 7211 	  *)
 7212 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 7213 	    continue # so that we can try to find one that supports BSD flags
 7214 	    ;;
 7215 	  esac
 7216 	  ;;
 7217 	esac
 7218       fi
 7219     done
 7220     IFS="$lt_save_ifs"
 7221   done
 7222   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 7223 fi
 7224 fi
 7225 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 7226 echo "${ECHO_T}$lt_cv_path_NM" >&6
 7227 NM="$lt_cv_path_NM"
 7228 
 7229 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 7230 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 7231 if test "${lt_cv_deplibs_check_method+set}" = set; then
 7232   echo $ECHO_N "(cached) $ECHO_C" >&6
 7233 else
 7234   lt_cv_file_magic_cmd='$MAGIC_CMD'
 7235 lt_cv_file_magic_test_file=
 7236 lt_cv_deplibs_check_method='unknown'
 7237 # Need to set the preceding variable on all platforms that support
 7238 # interlibrary dependencies.
 7239 # 'none' -- dependencies not supported.
 7240 # `unknown' -- same as none, but documents that we really don't know.
 7241 # 'pass_all' -- all dependencies passed with no checks.
 7242 # 'test_compile' -- check by making test program.
 7243 # 'file_magic [[regex]]' -- check by looking for files in library path
 7244 # which responds to the $file_magic_cmd with a given extended regex.
 7245 # If you have `file' or equivalent on your system and you're not sure
 7246 # whether `pass_all' will *always* work, you probably want this one.
 7247 
 7248 case $host_os in
 7249 aix4* | aix5*)
 7250   lt_cv_deplibs_check_method=pass_all
 7251   ;;
 7252 
 7253 beos*)
 7254   lt_cv_deplibs_check_method=pass_all
 7255   ;;
 7256 
 7257 bsdi[45]*)
 7258   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 7259   lt_cv_file_magic_cmd='/usr/bin/file -L'
 7260   lt_cv_file_magic_test_file=/shlib/libc.so
 7261   ;;
 7262 
 7263 cygwin*)
 7264   # func_win32_libid is a shell function defined in ltmain.sh
 7265   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 7266   lt_cv_file_magic_cmd='func_win32_libid'
 7267   ;;
 7268 
 7269 mingw* | pw32*)
 7270   # Base MSYS/MinGW do not provide the 'file' command needed by
 7271   # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 7272   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 7273   lt_cv_file_magic_cmd='$OBJDUMP -f'
 7274   ;;
 7275 
 7276 darwin* | rhapsody*)
 7277   lt_cv_deplibs_check_method=pass_all
 7278   ;;
 7279 
 7280 freebsd* | kfreebsd*-gnu | dragonfly*)
 7281   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 7282     case $host_cpu in
 7283     i*86 )
 7284       # Not sure whether the presence of OpenBSD here was a mistake.
 7285       # Let's accept both of them until this is cleared up.
 7286       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 7287       lt_cv_file_magic_cmd=/usr/bin/file
 7288       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 7289       ;;
 7290     esac
 7291   else
 7292     lt_cv_deplibs_check_method=pass_all
 7293   fi
 7294   ;;
 7295 
 7296 gnu*)
 7297   lt_cv_deplibs_check_method=pass_all
 7298   ;;
 7299 
 7300 hpux10.20* | hpux11*)
 7301   lt_cv_file_magic_cmd=/usr/bin/file
 7302   case $host_cpu in
 7303   ia64*)
 7304     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 7305     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 7306     ;;
 7307   hppa*64*)
 7308     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]'
 7309     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 7310     ;;
 7311   *)
 7312     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 7313     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 7314     ;;
 7315   esac
 7316   ;;
 7317 
 7318 interix3*)
 7319   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 7320   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 7321   ;;
 7322 
 7323 irix5* | irix6* | nonstopux*)
 7324   case $LD in
 7325   *-32|*"-32 ") libmagic=32-bit;;
 7326   *-n32|*"-n32 ") libmagic=N32;;
 7327   *-64|*"-64 ") libmagic=64-bit;;
 7328   *) libmagic=never-match;;
 7329   esac
 7330   lt_cv_deplibs_check_method=pass_all
 7331   ;;
 7332 
 7333 # This must be Linux ELF.
 7334 linux*)
 7335   lt_cv_deplibs_check_method=pass_all
 7336   ;;
 7337 
 7338 netbsd*)
 7339   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 7340     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 7341   else
 7342     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 7343   fi
 7344   ;;
 7345 
 7346 newos6*)
 7347   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 7348   lt_cv_file_magic_cmd=/usr/bin/file
 7349   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 7350   ;;
 7351 
 7352 nto-qnx*)
 7353   lt_cv_deplibs_check_method=unknown
 7354   ;;
 7355 
 7356 openbsd*)
 7357   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 7358     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 7359   else
 7360     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 7361   fi
 7362   ;;
 7363 
 7364 osf3* | osf4* | osf5*)
 7365   lt_cv_deplibs_check_method=pass_all
 7366   ;;
 7367 
 7368 solaris*)
 7369   lt_cv_deplibs_check_method=pass_all
 7370   ;;
 7371 
 7372 sysv4 | sysv4.3*)
 7373   case $host_vendor in
 7374   motorola)
 7375     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]'
 7376     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 7377     ;;
 7378   ncr)
 7379     lt_cv_deplibs_check_method=pass_all
 7380     ;;
 7381   sequent)
 7382     lt_cv_file_magic_cmd='/bin/file'
 7383     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 7384     ;;
 7385   sni)
 7386     lt_cv_file_magic_cmd='/bin/file'
 7387     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 7388     lt_cv_file_magic_test_file=/lib/libc.so
 7389     ;;
 7390   siemens)
 7391     lt_cv_deplibs_check_method=pass_all
 7392     ;;
 7393   pc)
 7394     lt_cv_deplibs_check_method=pass_all
 7395     ;;
 7396   esac
 7397   ;;
 7398 
 7399 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 7400   lt_cv_deplibs_check_method=pass_all
 7401   ;;
 7402 esac
 7403 
 7404 fi
 7405 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 7406 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 7407 file_magic_cmd=$lt_cv_file_magic_cmd
 7408 deplibs_check_method=$lt_cv_deplibs_check_method
 7409 test -z "$deplibs_check_method" && deplibs_check_method=unknown
 7410 
 7411 
 7412 
 7413 
 7414 # If no C compiler was specified, use CC.
 7415 LTCC=${LTCC-"$CC"}
 7416 
 7417 # If no C compiler flags were specified, use CFLAGS.
 7418 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 7419 
 7420 # Allow CC to be a program name with arguments.
 7421 compiler=$CC
 7422 
 7423 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 7424 if test "${enable_libtool_lock+set}" = set; then
 7425   enableval="$enable_libtool_lock"
 7426   
 7427 fi; 
 7428 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 7429 
 7430 # Some flags need to be propagated to the compiler or linker for good
 7431 # libtool support.
 7432 case $host in
 7433 ia64-*-hpux*)
 7434   # Find out which ABI we are using.
 7435   echo 'int i;' > conftest.$ac_ext
 7436   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7437   (eval $ac_compile) 2>&5
 7438   ac_status=$?
 7439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7440   (exit $ac_status); }; then
 7441     case `/usr/bin/file conftest.$ac_objext` in
 7442     *ELF-32*)
 7443       HPUX_IA64_MODE="32"
 7444       ;;
 7445     *ELF-64*)
 7446       HPUX_IA64_MODE="64"
 7447       ;;
 7448     esac
 7449   fi
 7450   rm -rf conftest*
 7451   ;;
 7452 *-*-irix6*)
 7453   # Find out which ABI we are using.
 7454   echo '#line __oline__ "configure"' > conftest.$ac_ext
 7455   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7456   (eval $ac_compile) 2>&5
 7457   ac_status=$?
 7458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7459   (exit $ac_status); }; then
 7460    if test "$lt_cv_prog_gnu_ld" = yes; then
 7461     case `/usr/bin/file conftest.$ac_objext` in
 7462     *32-bit*)
 7463       LD="${LD-ld} -melf32bsmip"
 7464       ;;
 7465     *N32*)
 7466       LD="${LD-ld} -melf32bmipn32"
 7467       ;;
 7468     *64-bit*)
 7469       LD="${LD-ld} -melf64bmip"
 7470       ;;
 7471     esac
 7472    else
 7473     case `/usr/bin/file conftest.$ac_objext` in
 7474     *32-bit*)
 7475       LD="${LD-ld} -32"
 7476       ;;
 7477     *N32*)
 7478       LD="${LD-ld} -n32"
 7479       ;;
 7480     *64-bit*)
 7481       LD="${LD-ld} -64"
 7482       ;;
 7483     esac
 7484    fi
 7485   fi
 7486   rm -rf conftest*
 7487   ;;
 7488 
 7489 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 7490   # Find out which ABI we are using.
 7491   echo 'int i;' > conftest.$ac_ext
 7492   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7493   (eval $ac_compile) 2>&5
 7494   ac_status=$?
 7495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7496   (exit $ac_status); }; then
 7497     case `/usr/bin/file conftest.o` in
 7498     *32-bit*)
 7499       case $host in
 7500         x86_64-*linux*)
 7501           LD="${LD-ld} -m elf_i386"
 7502           ;;
 7503         ppc64-*linux*|powerpc64-*linux*)
 7504           LD="${LD-ld} -m elf32ppclinux"
 7505           ;;
 7506         s390x-*linux*)
 7507           LD="${LD-ld} -m elf_s390"
 7508           ;;
 7509         sparc64-*linux*)
 7510           LD="${LD-ld} -m elf32_sparc"
 7511           ;;
 7512       esac
 7513       ;;
 7514     *64-bit*)
 7515       case $host in
 7516         x86_64-*linux*)
 7517           LD="${LD-ld} -m elf_x86_64"
 7518           ;;
 7519         ppc*-*linux*|powerpc*-*linux*)
 7520           LD="${LD-ld} -m elf64ppc"
 7521           ;;
 7522         s390*-*linux*)
 7523           LD="${LD-ld} -m elf64_s390"
 7524           ;;
 7525         sparc*-*linux*)
 7526           LD="${LD-ld} -m elf64_sparc"
 7527           ;;
 7528       esac
 7529       ;;
 7530     esac
 7531   fi
 7532   rm -rf conftest*
 7533   ;;
 7534 
 7535 *-*-sco3.2v5*)
 7536   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 7537   SAVE_CFLAGS="$CFLAGS"
 7538   CFLAGS="$CFLAGS -belf"
 7539   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 7540 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 7541 if test "${lt_cv_cc_needs_belf+set}" = set; then
 7542   echo $ECHO_N "(cached) $ECHO_C" >&6
 7543 else
 7544   ac_ext=c
 7545 ac_cpp='$CPP $CPPFLAGS'
 7546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7549 
 7550      cat >conftest.$ac_ext <<_ACEOF
 7551 /* confdefs.h.  */
 7552 _ACEOF
 7553 cat confdefs.h >>conftest.$ac_ext
 7554 cat >>conftest.$ac_ext <<_ACEOF
 7555 /* end confdefs.h.  */
 7556 
 7557 int
 7558 main ()
 7559 {
 7560 
 7561   ;
 7562   return 0;
 7563 }
 7564 _ACEOF
 7565 rm -f conftest.$ac_objext conftest$ac_exeext
 7566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 7567   (eval $ac_link) 2>conftest.er1
 7568   ac_status=$?
 7569   grep -v '^ *+' conftest.er1 >conftest.err
 7570   rm -f conftest.er1
 7571   cat conftest.err >&5
 7572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7573   (exit $ac_status); } &&
 7574 	 { ac_try='test -z "$ac_c_werror_flag"
 7575 			 || test ! -s conftest.err'
 7576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7577   (eval $ac_try) 2>&5
 7578   ac_status=$?
 7579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7580   (exit $ac_status); }; } &&
 7581 	 { ac_try='test -s conftest$ac_exeext'
 7582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7583   (eval $ac_try) 2>&5
 7584   ac_status=$?
 7585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7586   (exit $ac_status); }; }; then
 7587   lt_cv_cc_needs_belf=yes
 7588 else
 7589   echo "$as_me: failed program was:" >&5
 7590 sed 's/^/| /' conftest.$ac_ext >&5
 7591 
 7592 lt_cv_cc_needs_belf=no
 7593 fi
 7594 rm -f conftest.err conftest.$ac_objext \
 7595       conftest$ac_exeext conftest.$ac_ext
 7596      ac_ext=c
 7597 ac_cpp='$CPP $CPPFLAGS'
 7598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 7599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 7600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 7601 
 7602 fi
 7603 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 7604 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 7605   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 7606     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 7607     CFLAGS="$SAVE_CFLAGS"
 7608   fi
 7609   ;;
 7610 sparc*-*solaris*)
 7611   # Find out which ABI we are using.
 7612   echo 'int i;' > conftest.$ac_ext
 7613   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7614   (eval $ac_compile) 2>&5
 7615   ac_status=$?
 7616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7617   (exit $ac_status); }; then
 7618     case `/usr/bin/file conftest.o` in
 7619     *64-bit*)
 7620       case $lt_cv_prog_gnu_ld in
 7621       yes*) LD="${LD-ld} -m elf64_sparc" ;;
 7622       *)    LD="${LD-ld} -64" ;;
 7623       esac
 7624       ;;
 7625     esac
 7626   fi
 7627   rm -rf conftest*
 7628   ;;
 7629 
 7630 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
 7631   if test -n "$ac_tool_prefix"; then
 7632   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 7633 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 7634 echo "$as_me:$LINENO: checking for $ac_word" >&5
 7635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 7636 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 7637   echo $ECHO_N "(cached) $ECHO_C" >&6
 7638 else
 7639   if test -n "$DLLTOOL"; then
 7640   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 7641 else
 7642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7643 for as_dir in $PATH
 7644 do
 7645   IFS=$as_save_IFS
 7646   test -z "$as_dir" && as_dir=.
 7647   for ac_exec_ext in '' $ac_executable_extensions; do
 7648   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7649     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 7650     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7651     break 2
 7652   fi
 7653 done
 7654 done
 7655 
 7656 fi
 7657 fi
 7658 DLLTOOL=$ac_cv_prog_DLLTOOL
 7659 if test -n "$DLLTOOL"; then
 7660   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 7661 echo "${ECHO_T}$DLLTOOL" >&6
 7662 else
 7663   echo "$as_me:$LINENO: result: no" >&5
 7664 echo "${ECHO_T}no" >&6
 7665 fi
 7666 
 7667 fi
 7668 if test -z "$ac_cv_prog_DLLTOOL"; then
 7669   ac_ct_DLLTOOL=$DLLTOOL
 7670   # Extract the first word of "dlltool", so it can be a program name with args.
 7671 set dummy dlltool; ac_word=$2
 7672 echo "$as_me:$LINENO: checking for $ac_word" >&5
 7673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 7674 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 7675   echo $ECHO_N "(cached) $ECHO_C" >&6
 7676 else
 7677   if test -n "$ac_ct_DLLTOOL"; then
 7678   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 7679 else
 7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7681 for as_dir in $PATH
 7682 do
 7683   IFS=$as_save_IFS
 7684   test -z "$as_dir" && as_dir=.
 7685   for ac_exec_ext in '' $ac_executable_extensions; do
 7686   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7687     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 7688     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7689     break 2
 7690   fi
 7691 done
 7692 done
 7693 
 7694   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
 7695 fi
 7696 fi
 7697 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 7698 if test -n "$ac_ct_DLLTOOL"; then
 7699   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 7700 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
 7701 else
 7702   echo "$as_me:$LINENO: result: no" >&5
 7703 echo "${ECHO_T}no" >&6
 7704 fi
 7705 
 7706   DLLTOOL=$ac_ct_DLLTOOL
 7707 else
 7708   DLLTOOL="$ac_cv_prog_DLLTOOL"
 7709 fi
 7710 
 7711   if test -n "$ac_tool_prefix"; then
 7712   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 7713 set dummy ${ac_tool_prefix}as; ac_word=$2
 7714 echo "$as_me:$LINENO: checking for $ac_word" >&5
 7715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 7716 if test "${ac_cv_prog_AS+set}" = set; then
 7717   echo $ECHO_N "(cached) $ECHO_C" >&6
 7718 else
 7719   if test -n "$AS"; then
 7720   ac_cv_prog_AS="$AS" # Let the user override the test.
 7721 else
 7722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7723 for as_dir in $PATH
 7724 do
 7725   IFS=$as_save_IFS
 7726   test -z "$as_dir" && as_dir=.
 7727   for ac_exec_ext in '' $ac_executable_extensions; do
 7728   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7729     ac_cv_prog_AS="${ac_tool_prefix}as"
 7730     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7731     break 2
 7732   fi
 7733 done
 7734 done
 7735 
 7736 fi
 7737 fi
 7738 AS=$ac_cv_prog_AS
 7739 if test -n "$AS"; then
 7740   echo "$as_me:$LINENO: result: $AS" >&5
 7741 echo "${ECHO_T}$AS" >&6
 7742 else
 7743   echo "$as_me:$LINENO: result: no" >&5
 7744 echo "${ECHO_T}no" >&6
 7745 fi
 7746 
 7747 fi
 7748 if test -z "$ac_cv_prog_AS"; then
 7749   ac_ct_AS=$AS
 7750   # Extract the first word of "as", so it can be a program name with args.
 7751 set dummy as; ac_word=$2
 7752 echo "$as_me:$LINENO: checking for $ac_word" >&5
 7753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 7754 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 7755   echo $ECHO_N "(cached) $ECHO_C" >&6
 7756 else
 7757   if test -n "$ac_ct_AS"; then
 7758   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 7759 else
 7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7761 for as_dir in $PATH
 7762 do
 7763   IFS=$as_save_IFS
 7764   test -z "$as_dir" && as_dir=.
 7765   for ac_exec_ext in '' $ac_executable_extensions; do
 7766   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7767     ac_cv_prog_ac_ct_AS="as"
 7768     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7769     break 2
 7770   fi
 7771 done
 7772 done
 7773 
 7774   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
 7775 fi
 7776 fi
 7777 ac_ct_AS=$ac_cv_prog_ac_ct_AS
 7778 if test -n "$ac_ct_AS"; then
 7779   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 7780 echo "${ECHO_T}$ac_ct_AS" >&6
 7781 else
 7782   echo "$as_me:$LINENO: result: no" >&5
 7783 echo "${ECHO_T}no" >&6
 7784 fi
 7785 
 7786   AS=$ac_ct_AS
 7787 else
 7788   AS="$ac_cv_prog_AS"
 7789 fi
 7790 
 7791   if test -n "$ac_tool_prefix"; then
 7792   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 7793 set dummy ${ac_tool_prefix}objdump; ac_word=$2
 7794 echo "$as_me:$LINENO: checking for $ac_word" >&5
 7795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 7796 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 7797   echo $ECHO_N "(cached) $ECHO_C" >&6
 7798 else
 7799   if test -n "$OBJDUMP"; then
 7800   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 7801 else
 7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7803 for as_dir in $PATH
 7804 do
 7805   IFS=$as_save_IFS
 7806   test -z "$as_dir" && as_dir=.
 7807   for ac_exec_ext in '' $ac_executable_extensions; do
 7808   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7809     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 7810     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7811     break 2
 7812   fi
 7813 done
 7814 done
 7815 
 7816 fi
 7817 fi
 7818 OBJDUMP=$ac_cv_prog_OBJDUMP
 7819 if test -n "$OBJDUMP"; then
 7820   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 7821 echo "${ECHO_T}$OBJDUMP" >&6
 7822 else
 7823   echo "$as_me:$LINENO: result: no" >&5
 7824 echo "${ECHO_T}no" >&6
 7825 fi
 7826 
 7827 fi
 7828 if test -z "$ac_cv_prog_OBJDUMP"; then
 7829   ac_ct_OBJDUMP=$OBJDUMP
 7830   # Extract the first word of "objdump", so it can be a program name with args.
 7831 set dummy objdump; ac_word=$2
 7832 echo "$as_me:$LINENO: checking for $ac_word" >&5
 7833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 7834 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 7835   echo $ECHO_N "(cached) $ECHO_C" >&6
 7836 else
 7837   if test -n "$ac_ct_OBJDUMP"; then
 7838   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 7839 else
 7840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 7841 for as_dir in $PATH
 7842 do
 7843   IFS=$as_save_IFS
 7844   test -z "$as_dir" && as_dir=.
 7845   for ac_exec_ext in '' $ac_executable_extensions; do
 7846   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 7847     ac_cv_prog_ac_ct_OBJDUMP="objdump"
 7848     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 7849     break 2
 7850   fi
 7851 done
 7852 done
 7853 
 7854   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
 7855 fi
 7856 fi
 7857 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 7858 if test -n "$ac_ct_OBJDUMP"; then
 7859   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 7860 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
 7861 else
 7862   echo "$as_me:$LINENO: result: no" >&5
 7863 echo "${ECHO_T}no" >&6
 7864 fi
 7865 
 7866   OBJDUMP=$ac_ct_OBJDUMP
 7867 else
 7868   OBJDUMP="$ac_cv_prog_OBJDUMP"
 7869 fi
 7870 
 7871   ;;
 7872   
 7873 esac
 7874 
 7875 need_locks="$enable_libtool_lock"
 7876 
 7877 
 7878 
 7879 for ac_header in dlfcn.h
 7880 do
 7881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 7882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 7883   echo "$as_me:$LINENO: checking for $ac_header" >&5
 7884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 7885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 7886   echo $ECHO_N "(cached) $ECHO_C" >&6
 7887 fi
 7888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 7889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 7890 else
 7891   # Is the header compilable?
 7892 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 7893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 7894 cat >conftest.$ac_ext <<_ACEOF
 7895 /* confdefs.h.  */
 7896 _ACEOF
 7897 cat confdefs.h >>conftest.$ac_ext
 7898 cat >>conftest.$ac_ext <<_ACEOF
 7899 /* end confdefs.h.  */
 7900 $ac_includes_default
 7901 @%:@include <$ac_header>
 7902 _ACEOF
 7903 rm -f conftest.$ac_objext
 7904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7905   (eval $ac_compile) 2>conftest.er1
 7906   ac_status=$?
 7907   grep -v '^ *+' conftest.er1 >conftest.err
 7908   rm -f conftest.er1
 7909   cat conftest.err >&5
 7910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7911   (exit $ac_status); } &&
 7912 	 { ac_try='test -z "$ac_c_werror_flag"
 7913 			 || test ! -s conftest.err'
 7914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7915   (eval $ac_try) 2>&5
 7916   ac_status=$?
 7917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7918   (exit $ac_status); }; } &&
 7919 	 { ac_try='test -s conftest.$ac_objext'
 7920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7921   (eval $ac_try) 2>&5
 7922   ac_status=$?
 7923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7924   (exit $ac_status); }; }; then
 7925   ac_header_compiler=yes
 7926 else
 7927   echo "$as_me: failed program was:" >&5
 7928 sed 's/^/| /' conftest.$ac_ext >&5
 7929 
 7930 ac_header_compiler=no
 7931 fi
 7932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 7934 echo "${ECHO_T}$ac_header_compiler" >&6
 7935 
 7936 # Is the header present?
 7937 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 7938 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 7939 cat >conftest.$ac_ext <<_ACEOF
 7940 /* confdefs.h.  */
 7941 _ACEOF
 7942 cat confdefs.h >>conftest.$ac_ext
 7943 cat >>conftest.$ac_ext <<_ACEOF
 7944 /* end confdefs.h.  */
 7945 @%:@include <$ac_header>
 7946 _ACEOF
 7947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 7948   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 7949   ac_status=$?
 7950   grep -v '^ *+' conftest.er1 >conftest.err
 7951   rm -f conftest.er1
 7952   cat conftest.err >&5
 7953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7954   (exit $ac_status); } >/dev/null; then
 7955   if test -s conftest.err; then
 7956     ac_cpp_err=$ac_c_preproc_warn_flag
 7957     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 7958   else
 7959     ac_cpp_err=
 7960   fi
 7961 else
 7962   ac_cpp_err=yes
 7963 fi
 7964 if test -z "$ac_cpp_err"; then
 7965   ac_header_preproc=yes
 7966 else
 7967   echo "$as_me: failed program was:" >&5
 7968 sed 's/^/| /' conftest.$ac_ext >&5
 7969 
 7970   ac_header_preproc=no
 7971 fi
 7972 rm -f conftest.err conftest.$ac_ext
 7973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 7974 echo "${ECHO_T}$ac_header_preproc" >&6
 7975 
 7976 # So?  What about this header?
 7977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 7978   yes:no: )
 7979     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 7980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 7981     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 7982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 7983     ac_header_preproc=yes
 7984     ;;
 7985   no:yes:* )
 7986     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 7987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 7988     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 7989 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 7990     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 7991 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 7992     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 7993 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 7994     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 7995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 7996     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 7997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 7998     (
 7999       cat <<\_ASBOX
 8000 @%:@@%:@ ------------------------------------------ @%:@@%:@
 8001 @%:@@%:@ Report this to the AC_PACKAGE_NAME lists.  @%:@@%:@
 8002 @%:@@%:@ ------------------------------------------ @%:@@%:@
 8003 _ASBOX
 8004     ) |
 8005       sed "s/^/$as_me: WARNING:     /" >&2
 8006     ;;
 8007 esac
 8008 echo "$as_me:$LINENO: checking for $ac_header" >&5
 8009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 8010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 8011   echo $ECHO_N "(cached) $ECHO_C" >&6
 8012 else
 8013   eval "$as_ac_Header=\$ac_header_preproc"
 8014 fi
 8015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 8016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 8017 
 8018 fi
 8019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 8020   cat >>confdefs.h <<_ACEOF
 8021 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 8022 _ACEOF
 8023  
 8024 fi
 8025 
 8026 done
 8027 
 8028 ac_ext=cc
 8029 ac_cpp='$CXXCPP $CPPFLAGS'
 8030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 8031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 8033 if test -n "$ac_tool_prefix"; then
 8034   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 8035   do
 8036     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 8037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 8038 echo "$as_me:$LINENO: checking for $ac_word" >&5
 8039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 8040 if test "${ac_cv_prog_CXX+set}" = set; then
 8041   echo $ECHO_N "(cached) $ECHO_C" >&6
 8042 else
 8043   if test -n "$CXX"; then
 8044   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 8045 else
 8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8047 for as_dir in $PATH
 8048 do
 8049   IFS=$as_save_IFS
 8050   test -z "$as_dir" && as_dir=.
 8051   for ac_exec_ext in '' $ac_executable_extensions; do
 8052   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8053     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 8054     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 8055     break 2
 8056   fi
 8057 done
 8058 done
 8059 
 8060 fi
 8061 fi
 8062 CXX=$ac_cv_prog_CXX
 8063 if test -n "$CXX"; then
 8064   echo "$as_me:$LINENO: result: $CXX" >&5
 8065 echo "${ECHO_T}$CXX" >&6
 8066 else
 8067   echo "$as_me:$LINENO: result: no" >&5
 8068 echo "${ECHO_T}no" >&6
 8069 fi
 8070 
 8071     test -n "$CXX" && break
 8072   done
 8073 fi
 8074 if test -z "$CXX"; then
 8075   ac_ct_CXX=$CXX
 8076   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 8077 do
 8078   # Extract the first word of "$ac_prog", so it can be a program name with args.
 8079 set dummy $ac_prog; ac_word=$2
 8080 echo "$as_me:$LINENO: checking for $ac_word" >&5
 8081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 8082 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 8083   echo $ECHO_N "(cached) $ECHO_C" >&6
 8084 else
 8085   if test -n "$ac_ct_CXX"; then
 8086   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 8087 else
 8088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8089 for as_dir in $PATH
 8090 do
 8091   IFS=$as_save_IFS
 8092   test -z "$as_dir" && as_dir=.
 8093   for ac_exec_ext in '' $ac_executable_extensions; do
 8094   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8095     ac_cv_prog_ac_ct_CXX="$ac_prog"
 8096     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 8097     break 2
 8098   fi
 8099 done
 8100 done
 8101 
 8102 fi
 8103 fi
 8104 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 8105 if test -n "$ac_ct_CXX"; then
 8106   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 8107 echo "${ECHO_T}$ac_ct_CXX" >&6
 8108 else
 8109   echo "$as_me:$LINENO: result: no" >&5
 8110 echo "${ECHO_T}no" >&6
 8111 fi
 8112 
 8113   test -n "$ac_ct_CXX" && break
 8114 done
 8115 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 8116 
 8117   CXX=$ac_ct_CXX
 8118 fi
 8119 
 8120 
 8121 # Provide some information about the compiler.
 8122 echo "$as_me:$LINENO:" \
 8123      "checking for C++ compiler version" >&5
 8124 ac_compiler=`set X $ac_compile; echo $2`
 8125 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 8126   (eval $ac_compiler --version </dev/null >&5) 2>&5
 8127   ac_status=$?
 8128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8129   (exit $ac_status); }
 8130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 8131   (eval $ac_compiler -v </dev/null >&5) 2>&5
 8132   ac_status=$?
 8133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8134   (exit $ac_status); }
 8135 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 8136   (eval $ac_compiler -V </dev/null >&5) 2>&5
 8137   ac_status=$?
 8138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8139   (exit $ac_status); }
 8140 
 8141 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 8142 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 8143 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 8144   echo $ECHO_N "(cached) $ECHO_C" >&6
 8145 else
 8146   cat >conftest.$ac_ext <<_ACEOF
 8147 /* confdefs.h.  */
 8148 _ACEOF
 8149 cat confdefs.h >>conftest.$ac_ext
 8150 cat >>conftest.$ac_ext <<_ACEOF
 8151 /* end confdefs.h.  */
 8152 
 8153 int
 8154 main ()
 8155 {
 8156 #ifndef __GNUC__
 8157        choke me
 8158 #endif
 8159 
 8160   ;
 8161   return 0;
 8162 }
 8163 _ACEOF
 8164 rm -f conftest.$ac_objext
 8165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8166   (eval $ac_compile) 2>conftest.er1
 8167   ac_status=$?
 8168   grep -v '^ *+' conftest.er1 >conftest.err
 8169   rm -f conftest.er1
 8170   cat conftest.err >&5
 8171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8172   (exit $ac_status); } &&
 8173 	 { ac_try='test -z "$ac_cxx_werror_flag"
 8174 			 || test ! -s conftest.err'
 8175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8176   (eval $ac_try) 2>&5
 8177   ac_status=$?
 8178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8179   (exit $ac_status); }; } &&
 8180 	 { ac_try='test -s conftest.$ac_objext'
 8181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8182   (eval $ac_try) 2>&5
 8183   ac_status=$?
 8184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8185   (exit $ac_status); }; }; then
 8186   ac_compiler_gnu=yes
 8187 else
 8188   echo "$as_me: failed program was:" >&5
 8189 sed 's/^/| /' conftest.$ac_ext >&5
 8190 
 8191 ac_compiler_gnu=no
 8192 fi
 8193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8194 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 8195 
 8196 fi
 8197 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 8198 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 8199 GXX=`test $ac_compiler_gnu = yes && echo yes`
 8200 ac_test_CXXFLAGS=${CXXFLAGS+set}
 8201 ac_save_CXXFLAGS=$CXXFLAGS
 8202 CXXFLAGS="-g"
 8203 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 8204 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 8205 if test "${ac_cv_prog_cxx_g+set}" = set; then
 8206   echo $ECHO_N "(cached) $ECHO_C" >&6
 8207 else
 8208   cat >conftest.$ac_ext <<_ACEOF
 8209 /* confdefs.h.  */
 8210 _ACEOF
 8211 cat confdefs.h >>conftest.$ac_ext
 8212 cat >>conftest.$ac_ext <<_ACEOF
 8213 /* end confdefs.h.  */
 8214 
 8215 int
 8216 main ()
 8217 {
 8218 
 8219   ;
 8220   return 0;
 8221 }
 8222 _ACEOF
 8223 rm -f conftest.$ac_objext
 8224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8225   (eval $ac_compile) 2>conftest.er1
 8226   ac_status=$?
 8227   grep -v '^ *+' conftest.er1 >conftest.err
 8228   rm -f conftest.er1
 8229   cat conftest.err >&5
 8230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8231   (exit $ac_status); } &&
 8232 	 { ac_try='test -z "$ac_cxx_werror_flag"
 8233 			 || test ! -s conftest.err'
 8234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8235   (eval $ac_try) 2>&5
 8236   ac_status=$?
 8237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8238   (exit $ac_status); }; } &&
 8239 	 { ac_try='test -s conftest.$ac_objext'
 8240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8241   (eval $ac_try) 2>&5
 8242   ac_status=$?
 8243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8244   (exit $ac_status); }; }; then
 8245   ac_cv_prog_cxx_g=yes
 8246 else
 8247   echo "$as_me: failed program was:" >&5
 8248 sed 's/^/| /' conftest.$ac_ext >&5
 8249 
 8250 ac_cv_prog_cxx_g=no
 8251 fi
 8252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8253 fi
 8254 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 8255 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 8256 if test "$ac_test_CXXFLAGS" = set; then
 8257   CXXFLAGS=$ac_save_CXXFLAGS
 8258 elif test $ac_cv_prog_cxx_g = yes; then
 8259   if test "$GXX" = yes; then
 8260     CXXFLAGS="-g -O2"
 8261   else
 8262     CXXFLAGS="-g"
 8263   fi
 8264 else
 8265   if test "$GXX" = yes; then
 8266     CXXFLAGS="-O2"
 8267   else
 8268     CXXFLAGS=
 8269   fi
 8270 fi
 8271 for ac_declaration in \
 8272    '' \
 8273    'extern "C" void std::exit (int) throw (); using std::exit;' \
 8274    'extern "C" void std::exit (int); using std::exit;' \
 8275    'extern "C" void exit (int) throw ();' \
 8276    'extern "C" void exit (int);' \
 8277    'void exit (int);'
 8278 do
 8279   cat >conftest.$ac_ext <<_ACEOF
 8280 /* confdefs.h.  */
 8281 _ACEOF
 8282 cat confdefs.h >>conftest.$ac_ext
 8283 cat >>conftest.$ac_ext <<_ACEOF
 8284 /* end confdefs.h.  */
 8285 $ac_declaration
 8286 @%:@include <stdlib.h>
 8287 int
 8288 main ()
 8289 {
 8290 exit (42);
 8291   ;
 8292   return 0;
 8293 }
 8294 _ACEOF
 8295 rm -f conftest.$ac_objext
 8296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8297   (eval $ac_compile) 2>conftest.er1
 8298   ac_status=$?
 8299   grep -v '^ *+' conftest.er1 >conftest.err
 8300   rm -f conftest.er1
 8301   cat conftest.err >&5
 8302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8303   (exit $ac_status); } &&
 8304 	 { ac_try='test -z "$ac_cxx_werror_flag"
 8305 			 || test ! -s conftest.err'
 8306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8307   (eval $ac_try) 2>&5
 8308   ac_status=$?
 8309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8310   (exit $ac_status); }; } &&
 8311 	 { ac_try='test -s conftest.$ac_objext'
 8312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8313   (eval $ac_try) 2>&5
 8314   ac_status=$?
 8315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8316   (exit $ac_status); }; }; then
 8317   :
 8318 else
 8319   echo "$as_me: failed program was:" >&5
 8320 sed 's/^/| /' conftest.$ac_ext >&5
 8321 
 8322 continue
 8323 fi
 8324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8325   cat >conftest.$ac_ext <<_ACEOF
 8326 /* confdefs.h.  */
 8327 _ACEOF
 8328 cat confdefs.h >>conftest.$ac_ext
 8329 cat >>conftest.$ac_ext <<_ACEOF
 8330 /* end confdefs.h.  */
 8331 $ac_declaration
 8332 int
 8333 main ()
 8334 {
 8335 exit (42);
 8336   ;
 8337   return 0;
 8338 }
 8339 _ACEOF
 8340 rm -f conftest.$ac_objext
 8341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8342   (eval $ac_compile) 2>conftest.er1
 8343   ac_status=$?
 8344   grep -v '^ *+' conftest.er1 >conftest.err
 8345   rm -f conftest.er1
 8346   cat conftest.err >&5
 8347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8348   (exit $ac_status); } &&
 8349 	 { ac_try='test -z "$ac_cxx_werror_flag"
 8350 			 || test ! -s conftest.err'
 8351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8352   (eval $ac_try) 2>&5
 8353   ac_status=$?
 8354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8355   (exit $ac_status); }; } &&
 8356 	 { ac_try='test -s conftest.$ac_objext'
 8357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8358   (eval $ac_try) 2>&5
 8359   ac_status=$?
 8360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8361   (exit $ac_status); }; }; then
 8362   break
 8363 else
 8364   echo "$as_me: failed program was:" >&5
 8365 sed 's/^/| /' conftest.$ac_ext >&5
 8366 
 8367 fi
 8368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8369 done
 8370 rm -f conftest*
 8371 if test -n "$ac_declaration"; then
 8372   echo '#ifdef __cplusplus' >>confdefs.h
 8373   echo $ac_declaration      >>confdefs.h
 8374   echo '#endif'             >>confdefs.h
 8375 fi
 8376 
 8377 ac_ext=cc
 8378 ac_cpp='$CXXCPP $CPPFLAGS'
 8379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 8380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 8382 
 8383 depcc="$CXX"  am_compiler_list=
 8384 
 8385 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 8386 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 8387 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 8388   echo $ECHO_N "(cached) $ECHO_C" >&6
 8389 else
 8390   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 8391   # We make a subdir and do the tests there.  Otherwise we can end up
 8392   # making bogus files that we don't know about and never remove.  For
 8393   # instance it was reported that on HP-UX the gcc test will end up
 8394   # making a dummy file named `D' -- because `-MD' means `put the output
 8395   # in D'.
 8396   mkdir conftest.dir
 8397   # Copy depcomp to subdir because otherwise we won't find it if we're
 8398   # using a relative directory.
 8399   cp "$am_depcomp" conftest.dir
 8400   cd conftest.dir
 8401   # We will build objects and dependencies in a subdirectory because
 8402   # it helps to detect inapplicable dependency modes.  For instance
 8403   # both Tru64's cc and ICC support -MD to output dependencies as a
 8404   # side effect of compilation, but ICC will put the dependencies in
 8405   # the current directory while Tru64 will put them in the object
 8406   # directory.
 8407   mkdir sub
 8408 
 8409   am_cv_CXX_dependencies_compiler_type=none
 8410   if test "$am_compiler_list" = ""; then
 8411      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 8412   fi
 8413   for depmode in $am_compiler_list; do
 8414     # Setup a source with many dependencies, because some compilers
 8415     # like to wrap large dependency lists on column 80 (with \), and
 8416     # we should not choose a depcomp mode which is confused by this.
 8417     #
 8418     # We need to recreate these files for each test, as the compiler may
 8419     # overwrite some of them when testing with obscure command lines.
 8420     # This happens at least with the AIX C compiler.
 8421     : > sub/conftest.c
 8422     for i in 1 2 3 4 5 6; do
 8423       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 8424       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 8425       # Solaris 8's {/usr,}/bin/sh.
 8426       touch sub/conftst$i.h
 8427     done
 8428     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 8429 
 8430     case $depmode in
 8431     nosideeffect)
 8432       # after this tag, mechanisms are not by side-effect, so they'll
 8433       # only be used when explicitly requested
 8434       if test "x$enable_dependency_tracking" = xyes; then
 8435 	continue
 8436       else
 8437 	break
 8438       fi
 8439       ;;
 8440     none) break ;;
 8441     esac
 8442     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 8443     # mode.  It turns out that the SunPro C++ compiler does not properly
 8444     # handle `-M -o', and we need to detect this.
 8445     if depmode=$depmode \
 8446        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 8447        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 8448        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 8449          >/dev/null 2>conftest.err &&
 8450        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 8451        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 8452        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 8453       # icc doesn't choke on unknown options, it will just issue warnings
 8454       # or remarks (even with -Werror).  So we grep stderr for any message
 8455       # that says an option was ignored or not supported.
 8456       # When given -MP, icc 7.0 and 7.1 complain thusly:
 8457       #   icc: Command line warning: ignoring option '-M'; no argument required
 8458       # The diagnosis changed in icc 8.0:
 8459       #   icc: Command line remark: option '-MP' not supported
 8460       if (grep 'ignoring option' conftest.err ||
 8461           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 8462         am_cv_CXX_dependencies_compiler_type=$depmode
 8463         break
 8464       fi
 8465     fi
 8466   done
 8467 
 8468   cd ..
 8469   rm -rf conftest.dir
 8470 else
 8471   am_cv_CXX_dependencies_compiler_type=none
 8472 fi
 8473 
 8474 fi
 8475 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 8476 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 8477 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 8478 
 8479  
 8480 
 8481 if 
 8482   test "x$enable_dependency_tracking" != xno \
 8483   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 8484   am__fastdepCXX_TRUE=
 8485   am__fastdepCXX_FALSE='#'
 8486 else
 8487   am__fastdepCXX_TRUE='#'
 8488   am__fastdepCXX_FALSE=
 8489 fi
 8490 
 8491 
 8492 
 8493 
 8494 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 8495     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 8496     (test "X$CXX" != "Xg++"))) ; then
 8497   ac_ext=cc
 8498 ac_cpp='$CXXCPP $CPPFLAGS'
 8499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 8500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 8502 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 8503 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 8504 if test -z "$CXXCPP"; then
 8505   if test "${ac_cv_prog_CXXCPP+set}" = set; then
 8506   echo $ECHO_N "(cached) $ECHO_C" >&6
 8507 else
 8508       # Double quotes because CXXCPP needs to be expanded
 8509     for CXXCPP in "$CXX -E" "/lib/cpp"
 8510     do
 8511       ac_preproc_ok=false
 8512 for ac_cxx_preproc_warn_flag in '' yes
 8513 do
 8514   # Use a header file that comes with gcc, so configuring glibc
 8515   # with a fresh cross-compiler works.
 8516   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 8517   # <limits.h> exists even on freestanding compilers.
 8518   # On the NeXT, cc -E runs the code through the compiler's parser,
 8519   # not just through cpp. "Syntax error" is here to catch this case.
 8520   cat >conftest.$ac_ext <<_ACEOF
 8521 /* confdefs.h.  */
 8522 _ACEOF
 8523 cat confdefs.h >>conftest.$ac_ext
 8524 cat >>conftest.$ac_ext <<_ACEOF
 8525 /* end confdefs.h.  */
 8526 @%:@ifdef __STDC__
 8527 @%:@ include <limits.h>
 8528 @%:@else
 8529 @%:@ include <assert.h>
 8530 @%:@endif
 8531 		     Syntax error
 8532 _ACEOF
 8533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 8534   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 8535   ac_status=$?
 8536   grep -v '^ *+' conftest.er1 >conftest.err
 8537   rm -f conftest.er1
 8538   cat conftest.err >&5
 8539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8540   (exit $ac_status); } >/dev/null; then
 8541   if test -s conftest.err; then
 8542     ac_cpp_err=$ac_cxx_preproc_warn_flag
 8543     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 8544   else
 8545     ac_cpp_err=
 8546   fi
 8547 else
 8548   ac_cpp_err=yes
 8549 fi
 8550 if test -z "$ac_cpp_err"; then
 8551   :
 8552 else
 8553   echo "$as_me: failed program was:" >&5
 8554 sed 's/^/| /' conftest.$ac_ext >&5
 8555 
 8556   # Broken: fails on valid input.
 8557 continue
 8558 fi
 8559 rm -f conftest.err conftest.$ac_ext
 8560 
 8561   # OK, works on sane cases.  Now check whether non-existent headers
 8562   # can be detected and how.
 8563   cat >conftest.$ac_ext <<_ACEOF
 8564 /* confdefs.h.  */
 8565 _ACEOF
 8566 cat confdefs.h >>conftest.$ac_ext
 8567 cat >>conftest.$ac_ext <<_ACEOF
 8568 /* end confdefs.h.  */
 8569 @%:@include <ac_nonexistent.h>
 8570 _ACEOF
 8571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 8572   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 8573   ac_status=$?
 8574   grep -v '^ *+' conftest.er1 >conftest.err
 8575   rm -f conftest.er1
 8576   cat conftest.err >&5
 8577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8578   (exit $ac_status); } >/dev/null; then
 8579   if test -s conftest.err; then
 8580     ac_cpp_err=$ac_cxx_preproc_warn_flag
 8581     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 8582   else
 8583     ac_cpp_err=
 8584   fi
 8585 else
 8586   ac_cpp_err=yes
 8587 fi
 8588 if test -z "$ac_cpp_err"; then
 8589   # Broken: success on invalid input.
 8590 continue
 8591 else
 8592   echo "$as_me: failed program was:" >&5
 8593 sed 's/^/| /' conftest.$ac_ext >&5
 8594 
 8595   # Passes both tests.
 8596 ac_preproc_ok=:
 8597 break
 8598 fi
 8599 rm -f conftest.err conftest.$ac_ext
 8600 
 8601 done
 8602 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 8603 rm -f conftest.err conftest.$ac_ext
 8604 if $ac_preproc_ok; then
 8605   break
 8606 fi
 8607 
 8608     done
 8609     ac_cv_prog_CXXCPP=$CXXCPP
 8610   
 8611 fi
 8612   CXXCPP=$ac_cv_prog_CXXCPP
 8613 else
 8614   ac_cv_prog_CXXCPP=$CXXCPP
 8615 fi
 8616 echo "$as_me:$LINENO: result: $CXXCPP" >&5
 8617 echo "${ECHO_T}$CXXCPP" >&6
 8618 ac_preproc_ok=false
 8619 for ac_cxx_preproc_warn_flag in '' yes
 8620 do
 8621   # Use a header file that comes with gcc, so configuring glibc
 8622   # with a fresh cross-compiler works.
 8623   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 8624   # <limits.h> exists even on freestanding compilers.
 8625   # On the NeXT, cc -E runs the code through the compiler's parser,
 8626   # not just through cpp. "Syntax error" is here to catch this case.
 8627   cat >conftest.$ac_ext <<_ACEOF
 8628 /* confdefs.h.  */
 8629 _ACEOF
 8630 cat confdefs.h >>conftest.$ac_ext
 8631 cat >>conftest.$ac_ext <<_ACEOF
 8632 /* end confdefs.h.  */
 8633 @%:@ifdef __STDC__
 8634 @%:@ include <limits.h>
 8635 @%:@else
 8636 @%:@ include <assert.h>
 8637 @%:@endif
 8638 		     Syntax error
 8639 _ACEOF
 8640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 8641   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 8642   ac_status=$?
 8643   grep -v '^ *+' conftest.er1 >conftest.err
 8644   rm -f conftest.er1
 8645   cat conftest.err >&5
 8646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8647   (exit $ac_status); } >/dev/null; then
 8648   if test -s conftest.err; then
 8649     ac_cpp_err=$ac_cxx_preproc_warn_flag
 8650     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 8651   else
 8652     ac_cpp_err=
 8653   fi
 8654 else
 8655   ac_cpp_err=yes
 8656 fi
 8657 if test -z "$ac_cpp_err"; then
 8658   :
 8659 else
 8660   echo "$as_me: failed program was:" >&5
 8661 sed 's/^/| /' conftest.$ac_ext >&5
 8662 
 8663   # Broken: fails on valid input.
 8664 continue
 8665 fi
 8666 rm -f conftest.err conftest.$ac_ext
 8667 
 8668   # OK, works on sane cases.  Now check whether non-existent headers
 8669   # can be detected and how.
 8670   cat >conftest.$ac_ext <<_ACEOF
 8671 /* confdefs.h.  */
 8672 _ACEOF
 8673 cat confdefs.h >>conftest.$ac_ext
 8674 cat >>conftest.$ac_ext <<_ACEOF
 8675 /* end confdefs.h.  */
 8676 @%:@include <ac_nonexistent.h>
 8677 _ACEOF
 8678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 8679   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 8680   ac_status=$?
 8681   grep -v '^ *+' conftest.er1 >conftest.err
 8682   rm -f conftest.er1
 8683   cat conftest.err >&5
 8684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8685   (exit $ac_status); } >/dev/null; then
 8686   if test -s conftest.err; then
 8687     ac_cpp_err=$ac_cxx_preproc_warn_flag
 8688     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
 8689   else
 8690     ac_cpp_err=
 8691   fi
 8692 else
 8693   ac_cpp_err=yes
 8694 fi
 8695 if test -z "$ac_cpp_err"; then
 8696   # Broken: success on invalid input.
 8697 continue
 8698 else
 8699   echo "$as_me: failed program was:" >&5
 8700 sed 's/^/| /' conftest.$ac_ext >&5
 8701 
 8702   # Passes both tests.
 8703 ac_preproc_ok=:
 8704 break
 8705 fi
 8706 rm -f conftest.err conftest.$ac_ext
 8707 
 8708 done
 8709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 8710 rm -f conftest.err conftest.$ac_ext
 8711 if $ac_preproc_ok; then
 8712   :
 8713 else
 8714   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 8715 See \`config.log' for more details." >&5
 8716 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 8717 See \`config.log' for more details." >&2;}
 8718    { (exit 1); exit 1; }; }
 8719 fi
 8720 
 8721 ac_ext=cc
 8722 ac_cpp='$CXXCPP $CPPFLAGS'
 8723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 8724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 8726 
 8727 fi
 8728 
 8729 
 8730 ac_ext=f
 8731 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 8732 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8733 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 8734 if test -n "$ac_tool_prefix"; then
 8735   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 8736   do
 8737     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 8738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 8739 echo "$as_me:$LINENO: checking for $ac_word" >&5
 8740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 8741 if test "${ac_cv_prog_F77+set}" = set; then
 8742   echo $ECHO_N "(cached) $ECHO_C" >&6
 8743 else
 8744   if test -n "$F77"; then
 8745   ac_cv_prog_F77="$F77" # Let the user override the test.
 8746 else
 8747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8748 for as_dir in $PATH
 8749 do
 8750   IFS=$as_save_IFS
 8751   test -z "$as_dir" && as_dir=.
 8752   for ac_exec_ext in '' $ac_executable_extensions; do
 8753   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8754     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
 8755     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 8756     break 2
 8757   fi
 8758 done
 8759 done
 8760 
 8761 fi
 8762 fi
 8763 F77=$ac_cv_prog_F77
 8764 if test -n "$F77"; then
 8765   echo "$as_me:$LINENO: result: $F77" >&5
 8766 echo "${ECHO_T}$F77" >&6
 8767 else
 8768   echo "$as_me:$LINENO: result: no" >&5
 8769 echo "${ECHO_T}no" >&6
 8770 fi
 8771 
 8772     test -n "$F77" && break
 8773   done
 8774 fi
 8775 if test -z "$F77"; then
 8776   ac_ct_F77=$F77
 8777   for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 8778 do
 8779   # Extract the first word of "$ac_prog", so it can be a program name with args.
 8780 set dummy $ac_prog; ac_word=$2
 8781 echo "$as_me:$LINENO: checking for $ac_word" >&5
 8782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 8783 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
 8784   echo $ECHO_N "(cached) $ECHO_C" >&6
 8785 else
 8786   if test -n "$ac_ct_F77"; then
 8787   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
 8788 else
 8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 8790 for as_dir in $PATH
 8791 do
 8792   IFS=$as_save_IFS
 8793   test -z "$as_dir" && as_dir=.
 8794   for ac_exec_ext in '' $ac_executable_extensions; do
 8795   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 8796     ac_cv_prog_ac_ct_F77="$ac_prog"
 8797     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 8798     break 2
 8799   fi
 8800 done
 8801 done
 8802 
 8803 fi
 8804 fi
 8805 ac_ct_F77=$ac_cv_prog_ac_ct_F77
 8806 if test -n "$ac_ct_F77"; then
 8807   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 8808 echo "${ECHO_T}$ac_ct_F77" >&6
 8809 else
 8810   echo "$as_me:$LINENO: result: no" >&5
 8811 echo "${ECHO_T}no" >&6
 8812 fi
 8813 
 8814   test -n "$ac_ct_F77" && break
 8815 done
 8816 
 8817   F77=$ac_ct_F77
 8818 fi
 8819 
 8820 
 8821 # Provide some information about the compiler.
 8822 echo "$as_me:__oline__:" \
 8823      "checking for Fortran 77 compiler version" >&5
 8824 ac_compiler=`set X $ac_compile; echo $2`
 8825 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 8826   (eval $ac_compiler --version </dev/null >&5) 2>&5
 8827   ac_status=$?
 8828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8829   (exit $ac_status); }
 8830 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 8831   (eval $ac_compiler -v </dev/null >&5) 2>&5
 8832   ac_status=$?
 8833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8834   (exit $ac_status); }
 8835 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 8836   (eval $ac_compiler -V </dev/null >&5) 2>&5
 8837   ac_status=$?
 8838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8839   (exit $ac_status); }
 8840 rm -f a.out
 8841 
 8842 # If we don't use `.F' as extension, the preprocessor is not run on the
 8843 # input file.  (Note that this only needs to work for GNU compilers.)
 8844 ac_save_ext=$ac_ext
 8845 ac_ext=F
 8846 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 8847 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 8848 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
 8849   echo $ECHO_N "(cached) $ECHO_C" >&6
 8850 else
 8851   cat >conftest.$ac_ext <<_ACEOF
 8852       program main
 8853 #ifndef __GNUC__
 8854        choke me
 8855 #endif
 8856 
 8857       end
 8858 _ACEOF
 8859 rm -f conftest.$ac_objext
 8860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8861   (eval $ac_compile) 2>conftest.er1
 8862   ac_status=$?
 8863   grep -v '^ *+' conftest.er1 >conftest.err
 8864   rm -f conftest.er1
 8865   cat conftest.err >&5
 8866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8867   (exit $ac_status); } &&
 8868 	 { ac_try='test -z "$ac_f77_werror_flag"
 8869 			 || test ! -s conftest.err'
 8870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8871   (eval $ac_try) 2>&5
 8872   ac_status=$?
 8873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8874   (exit $ac_status); }; } &&
 8875 	 { ac_try='test -s conftest.$ac_objext'
 8876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8877   (eval $ac_try) 2>&5
 8878   ac_status=$?
 8879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8880   (exit $ac_status); }; }; then
 8881   ac_compiler_gnu=yes
 8882 else
 8883   echo "$as_me: failed program was:" >&5
 8884 sed 's/^/| /' conftest.$ac_ext >&5
 8885 
 8886 ac_compiler_gnu=no
 8887 fi
 8888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8889 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
 8890 
 8891 fi
 8892 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 8893 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 8894 ac_ext=$ac_save_ext
 8895 ac_test_FFLAGS=${FFLAGS+set}
 8896 ac_save_FFLAGS=$FFLAGS
 8897 FFLAGS=
 8898 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 8899 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 8900 if test "${ac_cv_prog_f77_g+set}" = set; then
 8901   echo $ECHO_N "(cached) $ECHO_C" >&6
 8902 else
 8903   FFLAGS=-g
 8904 cat >conftest.$ac_ext <<_ACEOF
 8905       program main
 8906 
 8907       end
 8908 _ACEOF
 8909 rm -f conftest.$ac_objext
 8910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8911   (eval $ac_compile) 2>conftest.er1
 8912   ac_status=$?
 8913   grep -v '^ *+' conftest.er1 >conftest.err
 8914   rm -f conftest.er1
 8915   cat conftest.err >&5
 8916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8917   (exit $ac_status); } &&
 8918 	 { ac_try='test -z "$ac_f77_werror_flag"
 8919 			 || test ! -s conftest.err'
 8920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8921   (eval $ac_try) 2>&5
 8922   ac_status=$?
 8923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8924   (exit $ac_status); }; } &&
 8925 	 { ac_try='test -s conftest.$ac_objext'
 8926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8927   (eval $ac_try) 2>&5
 8928   ac_status=$?
 8929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8930   (exit $ac_status); }; }; then
 8931   ac_cv_prog_f77_g=yes
 8932 else
 8933   echo "$as_me: failed program was:" >&5
 8934 sed 's/^/| /' conftest.$ac_ext >&5
 8935 
 8936 ac_cv_prog_f77_g=no
 8937 fi
 8938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8939 
 8940 fi
 8941 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 8942 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 8943 if test "$ac_test_FFLAGS" = set; then
 8944   FFLAGS=$ac_save_FFLAGS
 8945 elif test $ac_cv_prog_f77_g = yes; then
 8946   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 8947     FFLAGS="-g -O2"
 8948   else
 8949     FFLAGS="-g"
 8950   fi
 8951 else
 8952   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
 8953     FFLAGS="-O2"
 8954   else
 8955     FFLAGS=
 8956   fi
 8957 fi
 8958 
 8959 G77=`test $ac_compiler_gnu = yes && echo yes`
 8960 ac_ext=c
 8961 ac_cpp='$CPP $CPPFLAGS'
 8962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 8963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 8964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 8965 
 8966 
 8967 
 8968 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 8969 
 8970 # find the maximum length of command line arguments
 8971 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 8972 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 8973 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 8974   echo $ECHO_N "(cached) $ECHO_C" >&6
 8975 else
 8976     i=0
 8977   teststring="ABCD"
 8978 
 8979   case $build_os in
 8980   msdosdjgpp*)
 8981     # On DJGPP, this test can blow up pretty badly due to problems in libc
 8982     # (any single argument exceeding 2000 bytes causes a buffer overrun
 8983     # during glob expansion).  Even if it were fixed, the result of this
 8984     # check would be larger than it should be.
 8985     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 8986     ;;
 8987 
 8988   gnu*)
 8989     # Under GNU Hurd, this test is not required because there is
 8990     # no limit to the length of command line arguments.
 8991     # Libtool will interpret -1 as no limit whatsoever
 8992     lt_cv_sys_max_cmd_len=-1;
 8993     ;;
 8994 
 8995   cygwin* | mingw*)
 8996     # On Win9x/ME, this test blows up -- it succeeds, but takes
 8997     # about 5 minutes as the teststring grows exponentially.
 8998     # Worse, since 9x/ME are not pre-emptively multitasking,
 8999     # you end up with a "frozen" computer, even though with patience
 9000     # the test eventually succeeds (with a max line length of 256k).
 9001     # Instead, let's just punt: use the minimum linelength reported by
 9002     # all of the supported platforms: 8192 (on NT/2K/XP).
 9003     lt_cv_sys_max_cmd_len=8192;
 9004     ;;
 9005 
 9006   amigaos*)
 9007     # On AmigaOS with pdksh, this test takes hours, literally.
 9008     # So we just punt and use a minimum line length of 8192.
 9009     lt_cv_sys_max_cmd_len=8192;
 9010     ;;
 9011 
 9012   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 9013     # This has been around since 386BSD, at least.  Likely further.
 9014     if test -x /sbin/sysctl; then
 9015       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 9016     elif test -x /usr/sbin/sysctl; then
 9017       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 9018     else
 9019       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 9020     fi
 9021     # And add a safety zone
 9022     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 9023     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 9024     ;;
 9025 
 9026   interix*)
 9027     # We know the value 262144 and hardcode it with a safety zone (like BSD)
 9028     lt_cv_sys_max_cmd_len=196608
 9029     ;;
 9030 
 9031   osf*)
 9032     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 9033     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 9034     # nice to cause kernel panics so lets avoid the loop below.
 9035     # First set a reasonable default.
 9036     lt_cv_sys_max_cmd_len=16384
 9037     #
 9038     if test -x /sbin/sysconfig; then
 9039       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 9040         *1*) lt_cv_sys_max_cmd_len=-1 ;;
 9041       esac
 9042     fi
 9043     ;;
 9044   sco3.2v5*)
 9045     lt_cv_sys_max_cmd_len=102400
 9046     ;;
 9047   sysv5* | sco5v6* | sysv4.2uw2*)
 9048     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 9049     if test -n "$kargmax"; then
 9050       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
 9051     else
 9052       lt_cv_sys_max_cmd_len=32768
 9053     fi
 9054     ;;
 9055   *)
 9056     # If test is not a shell built-in, we'll probably end up computing a
 9057     # maximum length that is only half of the actual maximum length, but
 9058     # we can't tell.
 9059     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 9060     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 9061 	       = "XX$teststring") >/dev/null 2>&1 &&
 9062 	    new_result=`expr "X$teststring" : ".*" 2>&1` &&
 9063 	    lt_cv_sys_max_cmd_len=$new_result &&
 9064 	    test $i != 17 # 1/2 MB should be enough
 9065     do
 9066       i=`expr $i + 1`
 9067       teststring=$teststring$teststring
 9068     done
 9069     teststring=
 9070     # Add a significant safety factor because C++ compilers can tack on massive
 9071     # amounts of additional arguments before passing them to the linker.
 9072     # It appears as though 1/2 is a usable value.
 9073     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 9074     ;;
 9075   esac
 9076 
 9077 fi
 9078 
 9079 if test -n $lt_cv_sys_max_cmd_len ; then
 9080   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 9081 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 9082 else
 9083   echo "$as_me:$LINENO: result: none" >&5
 9084 echo "${ECHO_T}none" >&6
 9085 fi
 9086 
 9087 
 9088 
 9089 
 9090 # Check for command to grab the raw symbol name followed by C symbol from nm.
 9091 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 9092 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 9093 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 9094   echo $ECHO_N "(cached) $ECHO_C" >&6
 9095 else
 9096   
 9097 # These are sane defaults that work on at least a few old systems.
 9098 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 9099 
 9100 # Character class describing NM global symbol codes.
 9101 symcode='[BCDEGRST]'
 9102 
 9103 # Regexp to match symbols that can be accessed directly from C.
 9104 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 9105 
 9106 # Transform an extracted symbol line into a proper C declaration
 9107 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
 9108 
 9109 # Transform an extracted symbol line into symbol name and symbol address
 9110 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'"
 9111 
 9112 # Define system-specific variables.
 9113 case $host_os in
 9114 aix*)
 9115   symcode='[BCDT]'
 9116   ;;
 9117 cygwin* | mingw* | pw32*)
 9118   symcode='[ABCDGISTW]'
 9119   ;;
 9120 hpux*) # Its linker distinguishes data from code symbols
 9121   if test "$host_cpu" = ia64; then
 9122     symcode='[ABCDEGRST]'
 9123   fi
 9124   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 9125   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'"
 9126   ;;
 9127 linux*)
 9128   if test "$host_cpu" = ia64; then
 9129     symcode='[ABCDGIRSTW]'
 9130     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 9131     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'"
 9132   fi
 9133   ;;
 9134 irix* | nonstopux*)
 9135   symcode='[BCDEGRST]'
 9136   ;;
 9137 osf*)
 9138   symcode='[BCDEGQRST]'
 9139   ;;
 9140 solaris*)
 9141   symcode='[BDRT]'
 9142   ;;
 9143 sco3.2v5*)
 9144   symcode='[DT]'
 9145   ;;
 9146 sysv4.2uw2*)
 9147   symcode='[DT]'
 9148   ;;
 9149 sysv5* | sco5v6* | unixware* | OpenUNIX*)
 9150   symcode='[ABDT]'
 9151   ;;
 9152 sysv4)
 9153   symcode='[DFNSTU]'
 9154   ;;
 9155 esac
 9156 
 9157 # Handle CRLF in mingw tool chain
 9158 opt_cr=
 9159 case $build_os in
 9160 mingw*)
 9161   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 9162   ;;
 9163 esac
 9164 
 9165 # If we're using GNU nm, then use its standard symbol codes.
 9166 case `$NM -V 2>&1` in
 9167 *GNU* | *'with BFD'*)
 9168   symcode='[ABCDGIRSTW]' ;;
 9169 esac
 9170 
 9171 # Try without a prefix undercore, then with it.
 9172 for ac_symprfx in "" "_"; do
 9173 
 9174   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 9175   symxfrm="\\1 $ac_symprfx\\2 \\2"
 9176 
 9177   # Write the raw and C identifiers.
 9178   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 9179 
 9180   # Check to see that the pipe works correctly.
 9181   pipe_works=no
 9182 
 9183   rm -f conftest*
 9184   cat > conftest.$ac_ext <<EOF
 9185 #ifdef __cplusplus
 9186 extern "C" {
 9187 #endif
 9188 char nm_test_var;
 9189 void nm_test_func(){}
 9190 #ifdef __cplusplus
 9191 }
 9192 #endif
 9193 int main(){nm_test_var='a';nm_test_func();return(0);}
 9194 EOF
 9195 
 9196   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9197   (eval $ac_compile) 2>&5
 9198   ac_status=$?
 9199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9200   (exit $ac_status); }; then
 9201     # Now try to grab the symbols.
 9202     nlist=conftest.nm
 9203     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 9204   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 9205   ac_status=$?
 9206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9207   (exit $ac_status); } && test -s "$nlist"; then
 9208       # Try sorting and uniquifying the output.
 9209       if sort "$nlist" | uniq > "$nlist"T; then
 9210 	mv -f "$nlist"T "$nlist"
 9211       else
 9212 	rm -f "$nlist"T
 9213       fi
 9214 
 9215       # Make sure that we snagged all the symbols we need.
 9216       if grep ' nm_test_var$' "$nlist" >/dev/null; then
 9217 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
 9218 	  cat <<EOF > conftest.$ac_ext
 9219 #ifdef __cplusplus
 9220 extern "C" {
 9221 #endif
 9222 
 9223 EOF
 9224 	  # Now generate the symbol file.
 9225 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
 9226 
 9227 	  cat <<EOF >> conftest.$ac_ext
 9228 #if defined (__STDC__) && __STDC__
 9229 # define lt_ptr_t void *
 9230 #else
 9231 # define lt_ptr_t char *
 9232 # define const
 9233 #endif
 9234 
 9235 /* The mapping between symbol names and symbols. */
 9236 const struct {
 9237   const char *name;
 9238   lt_ptr_t address;
 9239 }
 9240 lt_preloaded_symbols[] =
 9241 {
 9242 EOF
 9243 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
 9244 	  cat <<\EOF >> conftest.$ac_ext
 9245   {0, (lt_ptr_t) 0}
 9246 };
 9247 
 9248 #ifdef __cplusplus
 9249 }
 9250 #endif
 9251 EOF
 9252 	  # Now try linking the two files.
 9253 	  mv conftest.$ac_objext conftstm.$ac_objext
 9254 	  lt_save_LIBS="$LIBS"
 9255 	  lt_save_CFLAGS="$CFLAGS"
 9256 	  LIBS="conftstm.$ac_objext"
 9257 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 9258 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 9259   (eval $ac_link) 2>&5
 9260   ac_status=$?
 9261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9262   (exit $ac_status); } && test -s conftest${ac_exeext}; then
 9263 	    pipe_works=yes
 9264 	  fi
 9265 	  LIBS="$lt_save_LIBS"
 9266 	  CFLAGS="$lt_save_CFLAGS"
 9267 	else
 9268 	  echo "cannot find nm_test_func in $nlist" >&5
 9269 	fi
 9270       else
 9271 	echo "cannot find nm_test_var in $nlist" >&5
 9272       fi
 9273     else
 9274       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 9275     fi
 9276   else
 9277     echo "$progname: failed program was:" >&5
 9278     cat conftest.$ac_ext >&5
 9279   fi
 9280   rm -f conftest* conftst*
 9281 
 9282   # Do not use the global_symbol_pipe unless it works.
 9283   if test "$pipe_works" = yes; then
 9284     break
 9285   else
 9286     lt_cv_sys_global_symbol_pipe=
 9287   fi
 9288 done
 9289 
 9290 fi
 9291 
 9292 if test -z "$lt_cv_sys_global_symbol_pipe"; then
 9293   lt_cv_sys_global_symbol_to_cdecl=
 9294 fi
 9295 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 9296   echo "$as_me:$LINENO: result: failed" >&5
 9297 echo "${ECHO_T}failed" >&6
 9298 else
 9299   echo "$as_me:$LINENO: result: ok" >&5
 9300 echo "${ECHO_T}ok" >&6
 9301 fi
 9302 
 9303 echo "$as_me:$LINENO: checking for objdir" >&5
 9304 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 9305 if test "${lt_cv_objdir+set}" = set; then
 9306   echo $ECHO_N "(cached) $ECHO_C" >&6
 9307 else
 9308   rm -f .libs 2>/dev/null
 9309 mkdir .libs 2>/dev/null
 9310 if test -d .libs; then
 9311   lt_cv_objdir=.libs
 9312 else
 9313   # MS-DOS does not allow filenames that begin with a dot.
 9314   lt_cv_objdir=_libs
 9315 fi
 9316 rmdir .libs 2>/dev/null
 9317 fi
 9318 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 9319 echo "${ECHO_T}$lt_cv_objdir" >&6
 9320 objdir=$lt_cv_objdir
 9321 
 9322 
 9323 
 9324 
 9325 
 9326 case $host_os in
 9327 aix3*)
 9328   # AIX sometimes has problems with the GCC collect2 program.  For some
 9329   # reason, if we set the COLLECT_NAMES environment variable, the problems
 9330   # vanish in a puff of smoke.
 9331   if test "X${COLLECT_NAMES+set}" != Xset; then
 9332     COLLECT_NAMES=
 9333     export COLLECT_NAMES
 9334   fi
 9335   ;;
 9336 esac
 9337 
 9338 # Sed substitution that helps us do robust quoting.  It backslashifies
 9339 # metacharacters that are still active within double-quoted strings.
 9340 Xsed='sed -e 1s/^X//'
 9341 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 9342 
 9343 # Same as above, but do not quote variable references.
 9344 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 9345 
 9346 # Sed substitution to delay expansion of an escaped shell variable in a
 9347 # double_quote_subst'ed string.
 9348 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 9349 
 9350 # Sed substitution to avoid accidental globbing in evaled expressions
 9351 no_glob_subst='s/\*/\\\*/g'
 9352 
 9353 # Constants:
 9354 rm="rm -f"
 9355 
 9356 # Global variables:
 9357 default_ofile=libtool
 9358 can_build_shared=yes
 9359 
 9360 # All known linkers require a `.a' archive for static linking (except MSVC,
 9361 # which needs '.lib').
 9362 libext=a
 9363 ltmain="$ac_aux_dir/ltmain.sh"
 9364 ofile="$default_ofile"
 9365 with_gnu_ld="$lt_cv_prog_gnu_ld"
 9366 
 9367 if test -n "$ac_tool_prefix"; then
 9368   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 9369 set dummy ${ac_tool_prefix}ar; ac_word=$2
 9370 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9372 if test "${ac_cv_prog_AR+set}" = set; then
 9373   echo $ECHO_N "(cached) $ECHO_C" >&6
 9374 else
 9375   if test -n "$AR"; then
 9376   ac_cv_prog_AR="$AR" # Let the user override the test.
 9377 else
 9378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9379 for as_dir in $PATH
 9380 do
 9381   IFS=$as_save_IFS
 9382   test -z "$as_dir" && as_dir=.
 9383   for ac_exec_ext in '' $ac_executable_extensions; do
 9384   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9385     ac_cv_prog_AR="${ac_tool_prefix}ar"
 9386     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9387     break 2
 9388   fi
 9389 done
 9390 done
 9391 
 9392 fi
 9393 fi
 9394 AR=$ac_cv_prog_AR
 9395 if test -n "$AR"; then
 9396   echo "$as_me:$LINENO: result: $AR" >&5
 9397 echo "${ECHO_T}$AR" >&6
 9398 else
 9399   echo "$as_me:$LINENO: result: no" >&5
 9400 echo "${ECHO_T}no" >&6
 9401 fi
 9402 
 9403 fi
 9404 if test -z "$ac_cv_prog_AR"; then
 9405   ac_ct_AR=$AR
 9406   # Extract the first word of "ar", so it can be a program name with args.
 9407 set dummy ar; ac_word=$2
 9408 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9410 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 9411   echo $ECHO_N "(cached) $ECHO_C" >&6
 9412 else
 9413   if test -n "$ac_ct_AR"; then
 9414   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 9415 else
 9416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9417 for as_dir in $PATH
 9418 do
 9419   IFS=$as_save_IFS
 9420   test -z "$as_dir" && as_dir=.
 9421   for ac_exec_ext in '' $ac_executable_extensions; do
 9422   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9423     ac_cv_prog_ac_ct_AR="ar"
 9424     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9425     break 2
 9426   fi
 9427 done
 9428 done
 9429 
 9430   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
 9431 fi
 9432 fi
 9433 ac_ct_AR=$ac_cv_prog_ac_ct_AR
 9434 if test -n "$ac_ct_AR"; then
 9435   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 9436 echo "${ECHO_T}$ac_ct_AR" >&6
 9437 else
 9438   echo "$as_me:$LINENO: result: no" >&5
 9439 echo "${ECHO_T}no" >&6
 9440 fi
 9441 
 9442   AR=$ac_ct_AR
 9443 else
 9444   AR="$ac_cv_prog_AR"
 9445 fi
 9446 
 9447 if test -n "$ac_tool_prefix"; then
 9448   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 9449 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 9450 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9452 if test "${ac_cv_prog_RANLIB+set}" = set; then
 9453   echo $ECHO_N "(cached) $ECHO_C" >&6
 9454 else
 9455   if test -n "$RANLIB"; then
 9456   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 9457 else
 9458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9459 for as_dir in $PATH
 9460 do
 9461   IFS=$as_save_IFS
 9462   test -z "$as_dir" && as_dir=.
 9463   for ac_exec_ext in '' $ac_executable_extensions; do
 9464   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9465     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 9466     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9467     break 2
 9468   fi
 9469 done
 9470 done
 9471 
 9472 fi
 9473 fi
 9474 RANLIB=$ac_cv_prog_RANLIB
 9475 if test -n "$RANLIB"; then
 9476   echo "$as_me:$LINENO: result: $RANLIB" >&5
 9477 echo "${ECHO_T}$RANLIB" >&6
 9478 else
 9479   echo "$as_me:$LINENO: result: no" >&5
 9480 echo "${ECHO_T}no" >&6
 9481 fi
 9482 
 9483 fi
 9484 if test -z "$ac_cv_prog_RANLIB"; then
 9485   ac_ct_RANLIB=$RANLIB
 9486   # Extract the first word of "ranlib", so it can be a program name with args.
 9487 set dummy ranlib; ac_word=$2
 9488 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9490 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 9491   echo $ECHO_N "(cached) $ECHO_C" >&6
 9492 else
 9493   if test -n "$ac_ct_RANLIB"; then
 9494   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 9495 else
 9496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9497 for as_dir in $PATH
 9498 do
 9499   IFS=$as_save_IFS
 9500   test -z "$as_dir" && as_dir=.
 9501   for ac_exec_ext in '' $ac_executable_extensions; do
 9502   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9503     ac_cv_prog_ac_ct_RANLIB="ranlib"
 9504     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9505     break 2
 9506   fi
 9507 done
 9508 done
 9509 
 9510   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 9511 fi
 9512 fi
 9513 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 9514 if test -n "$ac_ct_RANLIB"; then
 9515   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 9516 echo "${ECHO_T}$ac_ct_RANLIB" >&6
 9517 else
 9518   echo "$as_me:$LINENO: result: no" >&5
 9519 echo "${ECHO_T}no" >&6
 9520 fi
 9521 
 9522   RANLIB=$ac_ct_RANLIB
 9523 else
 9524   RANLIB="$ac_cv_prog_RANLIB"
 9525 fi
 9526 
 9527 if test -n "$ac_tool_prefix"; then
 9528   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 9529 set dummy ${ac_tool_prefix}strip; ac_word=$2
 9530 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9532 if test "${ac_cv_prog_STRIP+set}" = set; then
 9533   echo $ECHO_N "(cached) $ECHO_C" >&6
 9534 else
 9535   if test -n "$STRIP"; then
 9536   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 9537 else
 9538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9539 for as_dir in $PATH
 9540 do
 9541   IFS=$as_save_IFS
 9542   test -z "$as_dir" && as_dir=.
 9543   for ac_exec_ext in '' $ac_executable_extensions; do
 9544   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9545     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 9546     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9547     break 2
 9548   fi
 9549 done
 9550 done
 9551 
 9552 fi
 9553 fi
 9554 STRIP=$ac_cv_prog_STRIP
 9555 if test -n "$STRIP"; then
 9556   echo "$as_me:$LINENO: result: $STRIP" >&5
 9557 echo "${ECHO_T}$STRIP" >&6
 9558 else
 9559   echo "$as_me:$LINENO: result: no" >&5
 9560 echo "${ECHO_T}no" >&6
 9561 fi
 9562 
 9563 fi
 9564 if test -z "$ac_cv_prog_STRIP"; then
 9565   ac_ct_STRIP=$STRIP
 9566   # Extract the first word of "strip", so it can be a program name with args.
 9567 set dummy strip; ac_word=$2
 9568 echo "$as_me:$LINENO: checking for $ac_word" >&5
 9569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 9570 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 9571   echo $ECHO_N "(cached) $ECHO_C" >&6
 9572 else
 9573   if test -n "$ac_ct_STRIP"; then
 9574   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 9575 else
 9576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 9577 for as_dir in $PATH
 9578 do
 9579   IFS=$as_save_IFS
 9580   test -z "$as_dir" && as_dir=.
 9581   for ac_exec_ext in '' $ac_executable_extensions; do
 9582   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 9583     ac_cv_prog_ac_ct_STRIP="strip"
 9584     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 9585     break 2
 9586   fi
 9587 done
 9588 done
 9589 
 9590   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 9591 fi
 9592 fi
 9593 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 9594 if test -n "$ac_ct_STRIP"; then
 9595   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 9596 echo "${ECHO_T}$ac_ct_STRIP" >&6
 9597 else
 9598   echo "$as_me:$LINENO: result: no" >&5
 9599 echo "${ECHO_T}no" >&6
 9600 fi
 9601 
 9602   STRIP=$ac_ct_STRIP
 9603 else
 9604   STRIP="$ac_cv_prog_STRIP"
 9605 fi
 9606 
 9607 
 9608 old_CC="$CC"
 9609 old_CFLAGS="$CFLAGS"
 9610 
 9611 # Set sane defaults for various variables
 9612 test -z "$AR" && AR=ar
 9613 test -z "$AR_FLAGS" && AR_FLAGS=cru
 9614 test -z "$AS" && AS=as
 9615 test -z "$CC" && CC=cc
 9616 test -z "$LTCC" && LTCC=$CC
 9617 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 9618 test -z "$DLLTOOL" && DLLTOOL=dlltool
 9619 test -z "$LD" && LD=ld
 9620 test -z "$LN_S" && LN_S="ln -s"
 9621 test -z "$MAGIC_CMD" && MAGIC_CMD=file
 9622 test -z "$NM" && NM=nm
 9623 test -z "$SED" && SED=sed
 9624 test -z "$OBJDUMP" && OBJDUMP=objdump
 9625 test -z "$RANLIB" && RANLIB=:
 9626 test -z "$STRIP" && STRIP=:
 9627 test -z "$ac_objext" && ac_objext=o
 9628 
 9629 # Determine commands to create old-style static archives.
 9630 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 9631 old_postinstall_cmds='chmod 644 $oldlib'
 9632 old_postuninstall_cmds=
 9633 
 9634 if test -n "$RANLIB"; then
 9635   case $host_os in
 9636   openbsd*)
 9637     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 9638     ;;
 9639   *)
 9640     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 9641     ;;
 9642   esac
 9643   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 9644 fi
 9645 
 9646 for cc_temp in $compiler""; do
 9647   case $cc_temp in
 9648     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 9649     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 9650     \-*) ;;
 9651     *) break;;
 9652   esac
 9653 done
 9654 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 9655 
 9656 
 9657 # Only perform the check for file, if the check method requires it
 9658 case $deplibs_check_method in
 9659 file_magic*)
 9660   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 9661     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 9662 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 9663 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 9664   echo $ECHO_N "(cached) $ECHO_C" >&6
 9665 else
 9666   case $MAGIC_CMD in
 9667 [\\/*] |  ?:[\\/]*)
 9668   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 9669   ;;
 9670 *)
 9671   lt_save_MAGIC_CMD="$MAGIC_CMD"
 9672   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 9673   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 9674   for ac_dir in $ac_dummy; do
 9675     IFS="$lt_save_ifs"
 9676     test -z "$ac_dir" && ac_dir=.
 9677     if test -f $ac_dir/${ac_tool_prefix}file; then
 9678       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 9679       if test -n "$file_magic_test_file"; then
 9680 	case $deplibs_check_method in
 9681 	"file_magic "*)
 9682 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 9683 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 9684 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 9685 	    $EGREP "$file_magic_regex" > /dev/null; then
 9686 	    :
 9687 	  else
 9688 	    cat <<EOF 1>&2
 9689 
 9690 *** Warning: the command libtool uses to detect shared libraries,
 9691 *** $file_magic_cmd, produces output that libtool cannot recognize.
 9692 *** The result is that libtool may fail to recognize shared libraries
 9693 *** as such.  This will affect the creation of libtool libraries that
 9694 *** depend on shared libraries, but programs linked with such libtool
 9695 *** libraries will work regardless of this problem.  Nevertheless, you
 9696 *** may want to report the problem to your system manager and/or to
 9697 *** bug-libtool@gnu.org
 9698 
 9699 EOF
 9700 	  fi ;;
 9701 	esac
 9702       fi
 9703       break
 9704     fi
 9705   done
 9706   IFS="$lt_save_ifs"
 9707   MAGIC_CMD="$lt_save_MAGIC_CMD"
 9708   ;;
 9709 esac
 9710 fi
 9711 
 9712 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 9713 if test -n "$MAGIC_CMD"; then
 9714   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 9715 echo "${ECHO_T}$MAGIC_CMD" >&6
 9716 else
 9717   echo "$as_me:$LINENO: result: no" >&5
 9718 echo "${ECHO_T}no" >&6
 9719 fi
 9720 
 9721 if test -z "$lt_cv_path_MAGIC_CMD"; then
 9722   if test -n "$ac_tool_prefix"; then
 9723     echo "$as_me:$LINENO: checking for file" >&5
 9724 echo $ECHO_N "checking for file... $ECHO_C" >&6
 9725 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 9726   echo $ECHO_N "(cached) $ECHO_C" >&6
 9727 else
 9728   case $MAGIC_CMD in
 9729 [\\/*] |  ?:[\\/]*)
 9730   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 9731   ;;
 9732 *)
 9733   lt_save_MAGIC_CMD="$MAGIC_CMD"
 9734   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 9735   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 9736   for ac_dir in $ac_dummy; do
 9737     IFS="$lt_save_ifs"
 9738     test -z "$ac_dir" && ac_dir=.
 9739     if test -f $ac_dir/file; then
 9740       lt_cv_path_MAGIC_CMD="$ac_dir/file"
 9741       if test -n "$file_magic_test_file"; then
 9742 	case $deplibs_check_method in
 9743 	"file_magic "*)
 9744 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 9745 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 9746 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 9747 	    $EGREP "$file_magic_regex" > /dev/null; then
 9748 	    :
 9749 	  else
 9750 	    cat <<EOF 1>&2
 9751 
 9752 *** Warning: the command libtool uses to detect shared libraries,
 9753 *** $file_magic_cmd, produces output that libtool cannot recognize.
 9754 *** The result is that libtool may fail to recognize shared libraries
 9755 *** as such.  This will affect the creation of libtool libraries that
 9756 *** depend on shared libraries, but programs linked with such libtool
 9757 *** libraries will work regardless of this problem.  Nevertheless, you
 9758 *** may want to report the problem to your system manager and/or to
 9759 *** bug-libtool@gnu.org
 9760 
 9761 EOF
 9762 	  fi ;;
 9763 	esac
 9764       fi
 9765       break
 9766     fi
 9767   done
 9768   IFS="$lt_save_ifs"
 9769   MAGIC_CMD="$lt_save_MAGIC_CMD"
 9770   ;;
 9771 esac
 9772 fi
 9773 
 9774 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 9775 if test -n "$MAGIC_CMD"; then
 9776   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 9777 echo "${ECHO_T}$MAGIC_CMD" >&6
 9778 else
 9779   echo "$as_me:$LINENO: result: no" >&5
 9780 echo "${ECHO_T}no" >&6
 9781 fi
 9782 
 9783   else
 9784     MAGIC_CMD=:
 9785   fi
 9786 fi
 9787 
 9788   fi
 9789   ;;
 9790 esac
 9791 
 9792 enable_dlopen=yes
 9793 enable_win32_dll=yes
 9794 
 9795 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 9796 if test "${enable_libtool_lock+set}" = set; then
 9797   enableval="$enable_libtool_lock"
 9798   
 9799 fi; 
 9800 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 9801 
 9802 
 9803 # Check whether --with-pic or --without-pic was given.
 9804 if test "${with_pic+set}" = set; then
 9805   withval="$with_pic"
 9806   pic_mode="$withval"
 9807 else
 9808   pic_mode=default
 9809 fi; 
 9810 test -z "$pic_mode" && pic_mode=default
 9811 
 9812 # Use C for the default configuration in the libtool script
 9813 tagname=
 9814 lt_save_CC="$CC"
 9815 ac_ext=c
 9816 ac_cpp='$CPP $CPPFLAGS'
 9817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 9818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 9819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 9820 
 9821 
 9822 # Source file extension for C test sources.
 9823 ac_ext=c
 9824 
 9825 # Object file extension for compiled C test sources.
 9826 objext=o
 9827 objext=$objext
 9828 
 9829 # Code to be used in simple compile tests
 9830 lt_simple_compile_test_code="int some_variable = 0;\n"
 9831 
 9832 # Code to be used in simple link tests
 9833 lt_simple_link_test_code='int main(){return(0);}\n'
 9834 
 9835 
 9836 # If no C compiler was specified, use CC.
 9837 LTCC=${LTCC-"$CC"}
 9838 
 9839 # If no C compiler flags were specified, use CFLAGS.
 9840 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 9841 
 9842 # Allow CC to be a program name with arguments.
 9843 compiler=$CC
 9844 
 9845 
 9846 # save warnings/boilerplate of simple test code
 9847 ac_outfile=conftest.$ac_objext
 9848 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 9849 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 9850 _lt_compiler_boilerplate=`cat conftest.err`
 9851 $rm conftest*
 9852 
 9853 ac_outfile=conftest.$ac_objext
 9854 printf "$lt_simple_link_test_code" >conftest.$ac_ext
 9855 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 9856 _lt_linker_boilerplate=`cat conftest.err`
 9857 $rm conftest*
 9858 
 9859 
 9860 ## CAVEAT EMPTOR:
 9861 ## There is no encapsulation within the following macros, do not change
 9862 ## the running order or otherwise move them around unless you know exactly
 9863 ## what you are doing...
 9864 
 9865 lt_prog_compiler_no_builtin_flag=
 9866 
 9867 if test "$GCC" = yes; then
 9868   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 9869 
 9870   
 9871 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 9872 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 9873 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 9874   echo $ECHO_N "(cached) $ECHO_C" >&6
 9875 else
 9876   lt_cv_prog_compiler_rtti_exceptions=no
 9877   ac_outfile=conftest.$ac_objext
 9878    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 9879    lt_compiler_flag="-fno-rtti -fno-exceptions"
 9880    # Insert the option either (1) after the last *FLAGS variable, or
 9881    # (2) before a word containing "conftest.", or (3) at the end.
 9882    # Note that $ac_compile itself does not contain backslashes and begins
 9883    # with a dollar sign (not a hyphen), so the echo should work correctly.
 9884    # The option is referenced via a variable to avoid confusing sed.
 9885    lt_compile=`echo "$ac_compile" | $SED \
 9886    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 9887    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 9888    -e 's:$: $lt_compiler_flag:'`
 9889    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
 9890    (eval "$lt_compile" 2>conftest.err)
 9891    ac_status=$?
 9892    cat conftest.err >&5
 9893    echo "$as_me:__oline__: \$? = $ac_status" >&5
 9894    if (exit $ac_status) && test -s "$ac_outfile"; then
 9895      # The compiler can only warn and ignore the option if not recognized
 9896      # So say no if there are warnings other than the usual output.
 9897      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 9898      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 9899      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 9900        lt_cv_prog_compiler_rtti_exceptions=yes
 9901      fi
 9902    fi
 9903    $rm conftest*
 9904 
 9905 fi
 9906 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 9907 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 9908 
 9909 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 9910     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 9911 else
 9912     :
 9913 fi
 9914 
 9915 fi
 9916 
 9917 lt_prog_compiler_wl=
 9918 lt_prog_compiler_pic=
 9919 lt_prog_compiler_static=
 9920 
 9921 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 9922 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 9923  
 9924   if test "$GCC" = yes; then
 9925     lt_prog_compiler_wl='-Wl,'
 9926     lt_prog_compiler_static='-static'
 9927 
 9928     case $host_os in
 9929       aix*)
 9930       # All AIX code is PIC.
 9931       if test "$host_cpu" = ia64; then
 9932 	# AIX 5 now supports IA64 processor
 9933 	lt_prog_compiler_static='-Bstatic'
 9934       fi
 9935       ;;
 9936 
 9937     amigaos*)
 9938       # FIXME: we need at least 68020 code to build shared libraries, but
 9939       # adding the `-m68020' flag to GCC prevents building anything better,
 9940       # like `-m68040'.
 9941       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 9942       ;;
 9943 
 9944     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 9945       # PIC is the default for these OSes.
 9946       ;;
 9947 
 9948     mingw* | pw32* | os2*)
 9949       # This hack is so that the source file can tell whether it is being
 9950       # built for inclusion in a dll (and should export symbols for example).
 9951       lt_prog_compiler_pic='-DDLL_EXPORT'
 9952       ;;
 9953 
 9954     darwin* | rhapsody*)
 9955       # PIC is the default on this platform
 9956       # Common symbols not allowed in MH_DYLIB files
 9957       lt_prog_compiler_pic='-fno-common'
 9958       ;;
 9959 
 9960     interix3*)
 9961       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 9962       # Instead, we relocate shared libraries at runtime.
 9963       ;;
 9964 
 9965     msdosdjgpp*)
 9966       # Just because we use GCC doesn't mean we suddenly get shared libraries
 9967       # on systems that don't support them.
 9968       lt_prog_compiler_can_build_shared=no
 9969       enable_shared=no
 9970       ;;
 9971 
 9972     sysv4*MP*)
 9973       if test -d /usr/nec; then
 9974 	lt_prog_compiler_pic=-Kconform_pic
 9975       fi
 9976       ;;
 9977 
 9978     hpux*)
 9979       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 9980       # not for PA HP-UX.
 9981       case $host_cpu in
 9982       hppa*64*|ia64*)
 9983 	# +Z the default
 9984 	;;
 9985       *)
 9986 	lt_prog_compiler_pic='-fPIC'
 9987 	;;
 9988       esac
 9989       ;;
 9990 
 9991     *)
 9992       lt_prog_compiler_pic='-fPIC'
 9993       ;;
 9994     esac
 9995   else
 9996     # PORTME Check for flag to pass linker flags through the system compiler.
 9997     case $host_os in
 9998     aix*)
 9999       lt_prog_compiler_wl='-Wl,'
10000       if test "$host_cpu" = ia64; then
10001 	# AIX 5 now supports IA64 processor
10002 	lt_prog_compiler_static='-Bstatic'
10003       else
10004 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10005       fi
10006       ;;
10007       darwin*)
10008         # PIC is the default on this platform
10009         # Common symbols not allowed in MH_DYLIB files
10010        case $cc_basename in
10011          xlc*)
10012          lt_prog_compiler_pic='-qnocommon'
10013          lt_prog_compiler_wl='-Wl,'
10014          ;;
10015        esac
10016        ;;
10017 
10018     mingw* | pw32* | os2*)
10019       # This hack is so that the source file can tell whether it is being
10020       # built for inclusion in a dll (and should export symbols for example).
10021       lt_prog_compiler_pic='-DDLL_EXPORT'
10022       ;;
10023 
10024     hpux9* | hpux10* | hpux11*)
10025       lt_prog_compiler_wl='-Wl,'
10026       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10027       # not for PA HP-UX.
10028       case $host_cpu in
10029       hppa*64*|ia64*)
10030 	# +Z the default
10031 	;;
10032       *)
10033 	lt_prog_compiler_pic='+Z'
10034 	;;
10035       esac
10036       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10037       lt_prog_compiler_static='${wl}-a ${wl}archive'
10038       ;;
10039 
10040     irix5* | irix6* | nonstopux*)
10041       lt_prog_compiler_wl='-Wl,'
10042       # PIC (with -KPIC) is the default.
10043       lt_prog_compiler_static='-non_shared'
10044       ;;
10045 
10046     newsos6)
10047       lt_prog_compiler_pic='-KPIC'
10048       lt_prog_compiler_static='-Bstatic'
10049       ;;
10050 
10051     linux*)
10052       case $cc_basename in
10053       icc* | ecc*)
10054 	lt_prog_compiler_wl='-Wl,'
10055 	lt_prog_compiler_pic='-KPIC'
10056 	lt_prog_compiler_static='-static'
10057         ;;
10058       pgcc* | pgf77* | pgf90* | pgf95*)
10059         # Portland Group compilers (*not* the Pentium gcc compiler,
10060 	# which looks to be a dead project)
10061 	lt_prog_compiler_wl='-Wl,'
10062 	lt_prog_compiler_pic='-fpic'
10063 	lt_prog_compiler_static='-Bstatic'
10064         ;;
10065       ccc*)
10066         lt_prog_compiler_wl='-Wl,'
10067         # All Alpha code is PIC.
10068         lt_prog_compiler_static='-non_shared'
10069         ;;
10070       esac
10071       ;;
10072 
10073     osf3* | osf4* | osf5*)
10074       lt_prog_compiler_wl='-Wl,'
10075       # All OSF/1 code is PIC.
10076       lt_prog_compiler_static='-non_shared'
10077       ;;
10078 
10079     solaris*)
10080       lt_prog_compiler_pic='-KPIC'
10081       lt_prog_compiler_static='-Bstatic'
10082       case $cc_basename in
10083       f77* | f90* | f95*)
10084 	lt_prog_compiler_wl='-Qoption ld ';;
10085       *)
10086 	lt_prog_compiler_wl='-Wl,';;
10087       esac
10088       ;;
10089 
10090     sunos4*)
10091       lt_prog_compiler_wl='-Qoption ld '
10092       lt_prog_compiler_pic='-PIC'
10093       lt_prog_compiler_static='-Bstatic'
10094       ;;
10095 
10096     sysv4 | sysv4.2uw2* | sysv4.3*)
10097       lt_prog_compiler_wl='-Wl,'
10098       lt_prog_compiler_pic='-KPIC'
10099       lt_prog_compiler_static='-Bstatic'
10100       ;;
10101 
10102     sysv4*MP*)
10103       if test -d /usr/nec ;then
10104 	lt_prog_compiler_pic='-Kconform_pic'
10105 	lt_prog_compiler_static='-Bstatic'
10106       fi
10107       ;;
10108 
10109     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10110       lt_prog_compiler_wl='-Wl,'
10111       lt_prog_compiler_pic='-KPIC'
10112       lt_prog_compiler_static='-Bstatic'
10113       ;;
10114 
10115     unicos*)
10116       lt_prog_compiler_wl='-Wl,'
10117       lt_prog_compiler_can_build_shared=no
10118       ;;
10119 
10120     uts4*)
10121       lt_prog_compiler_pic='-pic'
10122       lt_prog_compiler_static='-Bstatic'
10123       ;;
10124 
10125     *)
10126       lt_prog_compiler_can_build_shared=no
10127       ;;
10128     esac
10129   fi
10130 
10131 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10132 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
10133 
10134 #
10135 # Check to make sure the PIC flag actually works.
10136 #
10137 if test -n "$lt_prog_compiler_pic"; then
10138   
10139 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10140 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
10141 if test "${lt_prog_compiler_pic_works+set}" = set; then
10142   echo $ECHO_N "(cached) $ECHO_C" >&6
10143 else
10144   lt_prog_compiler_pic_works=no
10145   ac_outfile=conftest.$ac_objext
10146    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10147    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10148    # Insert the option either (1) after the last *FLAGS variable, or
10149    # (2) before a word containing "conftest.", or (3) at the end.
10150    # Note that $ac_compile itself does not contain backslashes and begins
10151    # with a dollar sign (not a hyphen), so the echo should work correctly.
10152    # The option is referenced via a variable to avoid confusing sed.
10153    lt_compile=`echo "$ac_compile" | $SED \
10154    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10155    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10156    -e 's:$: $lt_compiler_flag:'`
10157    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10158    (eval "$lt_compile" 2>conftest.err)
10159    ac_status=$?
10160    cat conftest.err >&5
10161    echo "$as_me:__oline__: \$? = $ac_status" >&5
10162    if (exit $ac_status) && test -s "$ac_outfile"; then
10163      # The compiler can only warn and ignore the option if not recognized
10164      # So say no if there are warnings other than the usual output.
10165      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10166      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10167      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10168        lt_prog_compiler_pic_works=yes
10169      fi
10170    fi
10171    $rm conftest*
10172 
10173 fi
10174 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10175 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
10176 
10177 if test x"$lt_prog_compiler_pic_works" = xyes; then
10178     case $lt_prog_compiler_pic in
10179      "" | " "*) ;;
10180      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10181      esac
10182 else
10183     lt_prog_compiler_pic=
10184      lt_prog_compiler_can_build_shared=no
10185 fi
10186 
10187 fi
10188 case $host_os in
10189   # For platforms which do not support PIC, -DPIC is meaningless:
10190   *djgpp*)
10191     lt_prog_compiler_pic=
10192     ;;
10193   *)
10194     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10195     ;;
10196 esac
10197 
10198 #
10199 # Check to make sure the static flag actually works.
10200 #
10201 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10202 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10203 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
10204 if test "${lt_prog_compiler_static_works+set}" = set; then
10205   echo $ECHO_N "(cached) $ECHO_C" >&6
10206 else
10207   lt_prog_compiler_static_works=no
10208    save_LDFLAGS="$LDFLAGS"
10209    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10210    printf "$lt_simple_link_test_code" > conftest.$ac_ext
10211    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10212      # The linker can only warn and ignore the option if not recognized
10213      # So say no if there are warnings
10214      if test -s conftest.err; then
10215        # Append any errors to the config.log.
10216        cat conftest.err 1>&5
10217        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10218        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10219        if diff conftest.exp conftest.er2 >/dev/null; then
10220          lt_prog_compiler_static_works=yes
10221        fi
10222      else
10223        lt_prog_compiler_static_works=yes
10224      fi
10225    fi
10226    $rm conftest*
10227    LDFLAGS="$save_LDFLAGS"
10228 
10229 fi
10230 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10231 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
10232 
10233 if test x"$lt_prog_compiler_static_works" = xyes; then
10234     :
10235 else
10236     lt_prog_compiler_static=
10237 fi
10238 
10239 
10240 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10241 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10242 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10243   echo $ECHO_N "(cached) $ECHO_C" >&6
10244 else
10245   lt_cv_prog_compiler_c_o=no
10246    $rm -r conftest 2>/dev/null
10247    mkdir conftest
10248    cd conftest
10249    mkdir out
10250    printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10251 
10252    lt_compiler_flag="-o out/conftest2.$ac_objext"
10253    # Insert the option either (1) after the last *FLAGS variable, or
10254    # (2) before a word containing "conftest.", or (3) at the end.
10255    # Note that $ac_compile itself does not contain backslashes and begins
10256    # with a dollar sign (not a hyphen), so the echo should work correctly.
10257    lt_compile=`echo "$ac_compile" | $SED \
10258    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10259    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10260    -e 's:$: $lt_compiler_flag:'`
10261    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10262    (eval "$lt_compile" 2>out/conftest.err)
10263    ac_status=$?
10264    cat out/conftest.err >&5
10265    echo "$as_me:__oline__: \$? = $ac_status" >&5
10266    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10267    then
10268      # The compiler can only warn and ignore the option if not recognized
10269      # So say no if there are warnings
10270      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10271      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10272      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10273        lt_cv_prog_compiler_c_o=yes
10274      fi
10275    fi
10276    chmod u+w . 2>&5
10277    $rm conftest*
10278    # SGI C++ compiler will create directory out/ii_files/ for
10279    # template instantiation
10280    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
10281    $rm out/* && rmdir out
10282    cd ..
10283    rmdir conftest
10284    $rm conftest*
10285 
10286 fi
10287 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10288 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
10289 
10290 
10291 hard_links="nottested"
10292 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10293   # do not overwrite the value of need_locks provided by the user
10294   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10295 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10296   hard_links=yes
10297   $rm conftest*
10298   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10299   touch conftest.a
10300   ln conftest.a conftest.b 2>&5 || hard_links=no
10301   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10302   echo "$as_me:$LINENO: result: $hard_links" >&5
10303 echo "${ECHO_T}$hard_links" >&6
10304   if test "$hard_links" = no; then
10305     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10306 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10307     need_locks=warn
10308   fi
10309 else
10310   need_locks=no
10311 fi
10312 
10313 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10314 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10315 
10316   runpath_var=
10317   allow_undefined_flag=
10318   enable_shared_with_static_runtimes=no
10319   archive_cmds=
10320   archive_expsym_cmds=
10321   old_archive_From_new_cmds=
10322   old_archive_from_expsyms_cmds=
10323   export_dynamic_flag_spec=
10324   whole_archive_flag_spec=
10325   thread_safe_flag_spec=
10326   hardcode_libdir_flag_spec=
10327   hardcode_libdir_flag_spec_ld=
10328   hardcode_libdir_separator=
10329   hardcode_direct=no
10330   hardcode_minus_L=no
10331   hardcode_shlibpath_var=unsupported
10332   link_all_deplibs=unknown
10333   hardcode_automatic=no
10334   module_cmds=
10335   module_expsym_cmds=
10336   always_export_symbols=no
10337   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10338   # include_expsyms should be a list of space-separated symbols to be *always*
10339   # included in the symbol list
10340   include_expsyms=
10341   # exclude_expsyms can be an extended regexp of symbols to exclude
10342   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10343   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10344   # as well as any symbol that contains `d'.
10345   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10346   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10347   # platforms (ab)use it in PIC code, but their linkers get confused if
10348   # the symbol is explicitly referenced.  Since portable code cannot
10349   # rely on this symbol name, it's probably fine to never include it in
10350   # preloaded symbol tables.
10351   extract_expsyms_cmds=
10352   # Just being paranoid about ensuring that cc_basename is set.
10353   for cc_temp in $compiler""; do
10354   case $cc_temp in
10355     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10356     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10357     \-*) ;;
10358     *) break;;
10359   esac
10360 done
10361 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10362 
10363   case $host_os in
10364   cygwin* | mingw* | pw32*)
10365     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10366     # When not using gcc, we currently assume that we are using
10367     # Microsoft Visual C++.
10368     if test "$GCC" != yes; then
10369       with_gnu_ld=no
10370     fi
10371     ;;
10372   interix*)
10373     # we just hope/assume this is gcc and not c89 (= MSVC++)
10374     with_gnu_ld=yes
10375     ;;
10376   openbsd*)
10377     with_gnu_ld=no
10378     ;;
10379   esac
10380 
10381   ld_shlibs=yes
10382   if test "$with_gnu_ld" = yes; then
10383     # If archive_cmds runs LD, not CC, wlarc should be empty
10384     wlarc='${wl}'
10385 
10386     # Set some defaults for GNU ld with shared library support. These
10387     # are reset later if shared libraries are not supported. Putting them
10388     # here allows them to be overridden if necessary.
10389     runpath_var=LD_RUN_PATH
10390     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10391     export_dynamic_flag_spec='${wl}--export-dynamic'
10392     # ancient GNU ld didn't support --whole-archive et. al.
10393     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10394 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10395       else
10396   	whole_archive_flag_spec=
10397     fi
10398     supports_anon_versioning=no
10399     case `$LD -v 2>/dev/null` in
10400       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10401       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10402       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10403       *\ 2.11.*) ;; # other 2.11 versions
10404       *) supports_anon_versioning=yes ;;
10405     esac
10406 
10407     # See if GNU ld supports shared libraries.
10408     case $host_os in
10409     aix3* | aix4* | aix5*)
10410       # On AIX/PPC, the GNU linker is very broken
10411       if test "$host_cpu" != ia64; then
10412 	ld_shlibs=no
10413 	cat <<EOF 1>&2
10414 
10415 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10416 *** to be unable to reliably create shared libraries on AIX.
10417 *** Therefore, libtool is disabling shared libraries support.  If you
10418 *** really care for shared libraries, you may want to modify your PATH
10419 *** so that a non-GNU linker is found, and then restart.
10420 
10421 EOF
10422       fi
10423       ;;
10424 
10425     amigaos*)
10426       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)'
10427       hardcode_libdir_flag_spec='-L$libdir'
10428       hardcode_minus_L=yes
10429 
10430       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10431       # that the semantics of dynamic libraries on AmigaOS, at least up
10432       # to version 4, is to share data among multiple programs linked
10433       # with the same dynamic library.  Since this doesn't match the
10434       # behavior of shared libraries on other platforms, we can't use
10435       # them.
10436       ld_shlibs=no
10437       ;;
10438 
10439     beos*)
10440       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10441 	allow_undefined_flag=unsupported
10442 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10443 	# support --undefined.  This deserves some investigation.  FIXME
10444 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10445       else
10446 	ld_shlibs=no
10447       fi
10448       ;;
10449 
10450     cygwin* | mingw* | pw32*)
10451       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10452       # as there is no search path for DLLs.
10453       hardcode_libdir_flag_spec='-L$libdir'
10454       allow_undefined_flag=unsupported
10455       always_export_symbols=no
10456       enable_shared_with_static_runtimes=yes
10457       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10458 
10459       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10460         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10461 	# If the export-symbols file already is a .def file (1st line
10462 	# is EXPORTS), use it as is; otherwise, prepend...
10463 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10464 	  cp $export_symbols $output_objdir/$soname.def;
10465 	else
10466 	  echo EXPORTS > $output_objdir/$soname.def;
10467 	  cat $export_symbols >> $output_objdir/$soname.def;
10468 	fi~
10469 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10470       else
10471 	ld_shlibs=no
10472       fi
10473       ;;
10474 
10475     interix3*)
10476       hardcode_direct=no
10477       hardcode_shlibpath_var=no
10478       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10479       export_dynamic_flag_spec='${wl}-E'
10480       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10481       # Instead, shared libraries are loaded at an image base (0x10000000 by
10482       # default) and relocated if they conflict, which is a slow very memory
10483       # consuming and fragmenting process.  To avoid this, we pick a random,
10484       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10485       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10486       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10487       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'
10488       ;;
10489 
10490     linux*)
10491       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10492 	tmp_addflag=
10493 	case $cc_basename,$host_cpu in
10494 	pgcc*)				# Portland Group C compiler
10495 	  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'
10496 	  tmp_addflag=' $pic_flag'
10497 	  ;;
10498 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
10499 	  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'
10500 	  tmp_addflag=' $pic_flag -Mnomain' ;;
10501 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
10502 	  tmp_addflag=' -i_dynamic' ;;
10503 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10504 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10505 	ifc* | ifort*)			# Intel Fortran compiler
10506 	  tmp_addflag=' -nofor_main' ;;
10507 	esac
10508 	archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10509 
10510 	if test $supports_anon_versioning = yes; then
10511 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
10512   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10513   $echo "local: *; };" >> $output_objdir/$libname.ver~
10514 	  $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10515 	fi
10516       else
10517 	ld_shlibs=no
10518       fi
10519       ;;
10520 
10521     netbsd*)
10522       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10523 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10524 	wlarc=
10525       else
10526 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10527 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10528       fi
10529       ;;
10530 
10531     solaris*)
10532       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10533 	ld_shlibs=no
10534 	cat <<EOF 1>&2
10535 
10536 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10537 *** create shared libraries on Solaris systems.  Therefore, libtool
10538 *** is disabling shared libraries support.  We urge you to upgrade GNU
10539 *** binutils to release 2.9.1 or newer.  Another option is to modify
10540 *** your PATH or compiler configuration so that the native linker is
10541 *** used, and then restart.
10542 
10543 EOF
10544       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10545 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10546 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10547       else
10548 	ld_shlibs=no
10549       fi
10550       ;;
10551 
10552     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10553       case `$LD -v 2>&1` in
10554         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 
10555 	ld_shlibs=no
10556 	cat <<_LT_EOF 1>&2
10557 
10558 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10559 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10560 *** is disabling shared libraries support.  We urge you to upgrade GNU
10561 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10562 *** your PATH or compiler configuration so that the native linker is
10563 *** used, and then restart.
10564 
10565 _LT_EOF
10566 	;;
10567 	*)
10568 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10569 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
10570 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
10571 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
10572 	  else
10573 	    ld_shlibs=no
10574 	  fi
10575 	;;
10576       esac
10577       ;;
10578 
10579     sunos4*)
10580       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10581       wlarc=
10582       hardcode_direct=yes
10583       hardcode_shlibpath_var=no
10584       ;;
10585 
10586     *)
10587       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10588 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10589 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10590       else
10591 	ld_shlibs=no
10592       fi
10593       ;;
10594     esac
10595 
10596     if test "$ld_shlibs" = no; then
10597       runpath_var=
10598       hardcode_libdir_flag_spec=
10599       export_dynamic_flag_spec=
10600       whole_archive_flag_spec=
10601     fi
10602   else
10603     # PORTME fill in a description of your system's linker (not GNU ld)
10604     case $host_os in
10605     aix3*)
10606       allow_undefined_flag=unsupported
10607       always_export_symbols=yes
10608       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'
10609       # Note: this linker hardcodes the directories in LIBPATH if there
10610       # are no directories specified by -L.
10611       hardcode_minus_L=yes
10612       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10613 	# Neither direct hardcoding nor static linking is supported with a
10614 	# broken collect2.
10615 	hardcode_direct=unsupported
10616       fi
10617       ;;
10618 
10619     aix4* | aix5*)
10620       if test "$host_cpu" = ia64; then
10621 	# On IA64, the linker does run time linking by default, so we don't
10622 	# have to do anything special.
10623 	aix_use_runtimelinking=no
10624 	exp_sym_flag='-Bexport'
10625 	no_entry_flag=""
10626       else
10627 	# If we're using GNU nm, then we don't want the "-C" option.
10628 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10629 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10630 	  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'
10631 	else
10632 	  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'
10633 	fi
10634 	aix_use_runtimelinking=no
10635 
10636 	# Test if we are trying to use run time linking or normal
10637 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10638 	# need to do runtime linking.
10639 	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10640 	  for ld_flag in $LDFLAGS; do
10641   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10642   	    aix_use_runtimelinking=yes
10643   	    break
10644   	  fi
10645 	  done
10646 	  ;;
10647 	esac
10648 
10649 	exp_sym_flag='-bexport'
10650 	no_entry_flag='-bnoentry'
10651       fi
10652 
10653       # When large executables or shared objects are built, AIX ld can
10654       # have problems creating the table of contents.  If linking a library
10655       # or program results in "error TOC overflow" add -mminimal-toc to
10656       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10657       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10658 
10659       archive_cmds=''
10660       hardcode_direct=yes
10661       hardcode_libdir_separator=':'
10662       link_all_deplibs=yes
10663 
10664       if test "$GCC" = yes; then
10665 	case $host_os in aix4.[012]|aix4.[012].*)
10666 	# We only want to do this on AIX 4.2 and lower, the check
10667 	# below for broken collect2 doesn't work under 4.3+
10668 	  collect2name=`${CC} -print-prog-name=collect2`
10669 	  if test -f "$collect2name" && \
10670   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
10671 	  then
10672   	  # We have reworked collect2
10673   	  hardcode_direct=yes
10674 	  else
10675   	  # We have old collect2
10676   	  hardcode_direct=unsupported
10677   	  # It fails to find uninstalled libraries when the uninstalled
10678   	  # path is not listed in the libpath.  Setting hardcode_minus_L
10679   	  # to unsupported forces relinking
10680   	  hardcode_minus_L=yes
10681   	  hardcode_libdir_flag_spec='-L$libdir'
10682   	  hardcode_libdir_separator=
10683 	  fi
10684 	  ;;
10685 	esac
10686 	shared_flag='-shared'
10687 	if test "$aix_use_runtimelinking" = yes; then
10688 	  shared_flag="$shared_flag "'${wl}-G'
10689 	fi
10690       else
10691 	# not using gcc
10692 	if test "$host_cpu" = ia64; then
10693   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10694   	# chokes on -Wl,-G. The following line is correct:
10695 	  shared_flag='-G'
10696 	else
10697 	  if test "$aix_use_runtimelinking" = yes; then
10698 	    shared_flag='${wl}-G'
10699 	  else
10700 	    shared_flag='${wl}-bM:SRE'
10701 	  fi
10702 	fi
10703       fi
10704 
10705       # It seems that -bexpall does not export symbols beginning with
10706       # underscore (_), so it is better to generate a list of symbols to export.
10707       always_export_symbols=yes
10708       if test "$aix_use_runtimelinking" = yes; then
10709 	# Warning - without using the other runtime loading flags (-brtl),
10710 	# -berok will link without error, but may produce a broken library.
10711 	allow_undefined_flag='-berok'
10712        # Determine the default libpath from the value encoded in an empty executable.
10713        cat >conftest.$ac_ext <<_ACEOF
10714 /* confdefs.h.  */
10715 _ACEOF
10716 cat confdefs.h >>conftest.$ac_ext
10717 cat >>conftest.$ac_ext <<_ACEOF
10718 /* end confdefs.h.  */
10719 
10720 int
10721 main ()
10722 {
10723 
10724   ;
10725   return 0;
10726 }
10727 _ACEOF
10728 rm -f conftest.$ac_objext conftest$ac_exeext
10729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10730   (eval $ac_link) 2>conftest.er1
10731   ac_status=$?
10732   grep -v '^ *+' conftest.er1 >conftest.err
10733   rm -f conftest.er1
10734   cat conftest.err >&5
10735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736   (exit $ac_status); } &&
10737 	 { ac_try='test -z "$ac_c_werror_flag"
10738 			 || test ! -s conftest.err'
10739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10740   (eval $ac_try) 2>&5
10741   ac_status=$?
10742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743   (exit $ac_status); }; } &&
10744 	 { ac_try='test -s conftest$ac_exeext'
10745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10746   (eval $ac_try) 2>&5
10747   ac_status=$?
10748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749   (exit $ac_status); }; }; then
10750   
10751 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10752 }'`
10753 # Check for a 64-bit object if we didn't find anything.
10754 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; }
10755 }'`; fi
10756 else
10757   echo "$as_me: failed program was:" >&5
10758 sed 's/^/| /' conftest.$ac_ext >&5
10759 
10760 fi
10761 rm -f conftest.err conftest.$ac_objext \
10762       conftest$ac_exeext conftest.$ac_ext
10763 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10764 
10765        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10766 	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"
10767        else
10768 	if test "$host_cpu" = ia64; then
10769 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10770 	  allow_undefined_flag="-z nodefs"
10771 	  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"
10772 	else
10773 	 # Determine the default libpath from the value encoded in an empty executable.
10774 	 cat >conftest.$ac_ext <<_ACEOF
10775 /* confdefs.h.  */
10776 _ACEOF
10777 cat confdefs.h >>conftest.$ac_ext
10778 cat >>conftest.$ac_ext <<_ACEOF
10779 /* end confdefs.h.  */
10780 
10781 int
10782 main ()
10783 {
10784 
10785   ;
10786   return 0;
10787 }
10788 _ACEOF
10789 rm -f conftest.$ac_objext conftest$ac_exeext
10790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10791   (eval $ac_link) 2>conftest.er1
10792   ac_status=$?
10793   grep -v '^ *+' conftest.er1 >conftest.err
10794   rm -f conftest.er1
10795   cat conftest.err >&5
10796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797   (exit $ac_status); } &&
10798 	 { ac_try='test -z "$ac_c_werror_flag"
10799 			 || test ! -s conftest.err'
10800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10801   (eval $ac_try) 2>&5
10802   ac_status=$?
10803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804   (exit $ac_status); }; } &&
10805 	 { ac_try='test -s conftest$ac_exeext'
10806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807   (eval $ac_try) 2>&5
10808   ac_status=$?
10809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810   (exit $ac_status); }; }; then
10811   
10812 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10813 }'`
10814 # Check for a 64-bit object if we didn't find anything.
10815 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; }
10816 }'`; fi
10817 else
10818   echo "$as_me: failed program was:" >&5
10819 sed 's/^/| /' conftest.$ac_ext >&5
10820 
10821 fi
10822 rm -f conftest.err conftest.$ac_objext \
10823       conftest$ac_exeext conftest.$ac_ext
10824 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10825 
10826 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10827 	  # Warning - without using the other run time loading flags,
10828 	  # -berok will link without error, but may produce a broken library.
10829 	  no_undefined_flag=' ${wl}-bernotok'
10830 	  allow_undefined_flag=' ${wl}-berok'
10831 	  # Exported symbols can be pulled into shared objects from archives
10832 	  whole_archive_flag_spec='$convenience'
10833 	  archive_cmds_need_lc=yes
10834 	  # This is similar to how AIX traditionally builds its shared libraries.
10835 	  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'
10836 	fi
10837       fi
10838       ;;
10839 
10840     amigaos*)
10841       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)'
10842       hardcode_libdir_flag_spec='-L$libdir'
10843       hardcode_minus_L=yes
10844       # see comment about different semantics on the GNU ld section
10845       ld_shlibs=no
10846       ;;
10847 
10848     bsdi[45]*)
10849       export_dynamic_flag_spec=-rdynamic
10850       ;;
10851 
10852     cygwin* | mingw* | pw32*)
10853       # When not using gcc, we currently assume that we are using
10854       # Microsoft Visual C++.
10855       # hardcode_libdir_flag_spec is actually meaningless, as there is
10856       # no search path for DLLs.
10857       hardcode_libdir_flag_spec=' '
10858       allow_undefined_flag=unsupported
10859       # Tell ltmain to make .lib files, not .a files.
10860       libext=lib
10861       # Tell ltmain to make .dll files, not .so files.
10862       shrext_cmds=".dll"
10863       # FIXME: Setting linknames here is a bad hack.
10864       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10865       # The linker will automatically build a .lib file if we build a DLL.
10866       old_archive_From_new_cmds='true'
10867       # FIXME: Should let the user specify the lib program.
10868       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
10869       fix_srcfile_path='`cygpath -w "$srcfile"`'
10870       enable_shared_with_static_runtimes=yes
10871       ;;
10872 
10873     darwin* | rhapsody*)
10874       case $host_os in
10875         rhapsody* | darwin1.[012])
10876          allow_undefined_flag='${wl}-undefined ${wl}suppress'
10877          ;;
10878        *) # Darwin 1.3 on
10879          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10880            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10881          else
10882            case ${MACOSX_DEPLOYMENT_TARGET} in
10883              10.[012])
10884                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10885                ;;
10886              10.*)
10887                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
10888                ;;
10889            esac
10890          fi
10891          ;;
10892       esac
10893       archive_cmds_need_lc=no
10894       hardcode_direct=no
10895       hardcode_automatic=yes
10896       hardcode_shlibpath_var=unsupported
10897       whole_archive_flag_spec=''
10898       link_all_deplibs=yes
10899     if test "$GCC" = yes ; then
10900     	output_verbose_link_cmd='echo'
10901         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10902       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10903       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10904       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}'
10905       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}'
10906     else
10907       case $cc_basename in
10908         xlc*)
10909          output_verbose_link_cmd='echo'
10910          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10911          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10912           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10913          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}'
10914           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}'
10915           ;;
10916        *)
10917          ld_shlibs=no
10918           ;;
10919       esac
10920     fi
10921       ;;
10922 
10923     dgux*)
10924       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10925       hardcode_libdir_flag_spec='-L$libdir'
10926       hardcode_shlibpath_var=no
10927       ;;
10928 
10929     freebsd1*)
10930       ld_shlibs=no
10931       ;;
10932 
10933     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10934     # support.  Future versions do this automatically, but an explicit c++rt0.o
10935     # does not break anything, and helps significantly (at the cost of a little
10936     # extra space).
10937     freebsd2.2*)
10938       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10939       hardcode_libdir_flag_spec='-R$libdir'
10940       hardcode_direct=yes
10941       hardcode_shlibpath_var=no
10942       ;;
10943 
10944     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10945     freebsd2*)
10946       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10947       hardcode_direct=yes
10948       hardcode_minus_L=yes
10949       hardcode_shlibpath_var=no
10950       ;;
10951 
10952     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10953     freebsd* | kfreebsd*-gnu | dragonfly*)
10954       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10955       hardcode_libdir_flag_spec='-R$libdir'
10956       hardcode_direct=yes
10957       hardcode_shlibpath_var=no
10958       ;;
10959 
10960     hpux9*)
10961       if test "$GCC" = yes; then
10962 	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'
10963       else
10964 	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'
10965       fi
10966       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10967       hardcode_libdir_separator=:
10968       hardcode_direct=yes
10969 
10970       # hardcode_minus_L: Not really in the search PATH,
10971       # but as the default location of the library.
10972       hardcode_minus_L=yes
10973       export_dynamic_flag_spec='${wl}-E'
10974       ;;
10975 
10976     hpux10*)
10977       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10978 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10979       else
10980 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10981       fi
10982       if test "$with_gnu_ld" = no; then
10983 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10984 	hardcode_libdir_separator=:
10985 
10986 	hardcode_direct=yes
10987 	export_dynamic_flag_spec='${wl}-E'
10988 
10989 	# hardcode_minus_L: Not really in the search PATH,
10990 	# but as the default location of the library.
10991 	hardcode_minus_L=yes
10992       fi
10993       ;;
10994 
10995     hpux11*)
10996       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10997 	case $host_cpu in
10998 	hppa*64*)
10999 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11000 	  ;;
11001 	ia64*)
11002 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11003 	  ;;
11004 	*)
11005 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11006 	  ;;
11007 	esac
11008       else
11009 	case $host_cpu in
11010 	hppa*64*)
11011 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11012 	  ;;
11013 	ia64*)
11014 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11015 	  ;;
11016 	*)
11017 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11018 	  ;;
11019 	esac
11020       fi
11021       if test "$with_gnu_ld" = no; then
11022 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11023 	hardcode_libdir_separator=:
11024 
11025 	case $host_cpu in
11026 	hppa*64*|ia64*)
11027 	  hardcode_libdir_flag_spec_ld='+b $libdir'
11028 	  hardcode_direct=no
11029 	  hardcode_shlibpath_var=no
11030 	  ;;
11031 	*)
11032 	  hardcode_direct=yes
11033 	  export_dynamic_flag_spec='${wl}-E'
11034 
11035 	  # hardcode_minus_L: Not really in the search PATH,
11036 	  # but as the default location of the library.
11037 	  hardcode_minus_L=yes
11038 	  ;;
11039 	esac
11040       fi
11041       ;;
11042 
11043     irix5* | irix6* | nonstopux*)
11044       if test "$GCC" = yes; then
11045 	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'
11046       else
11047 	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'
11048 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
11049       fi
11050       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11051       hardcode_libdir_separator=:
11052       link_all_deplibs=yes
11053       ;;
11054 
11055     netbsd*)
11056       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11057 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11058       else
11059 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11060       fi
11061       hardcode_libdir_flag_spec='-R$libdir'
11062       hardcode_direct=yes
11063       hardcode_shlibpath_var=no
11064       ;;
11065 
11066     newsos6)
11067       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11068       hardcode_direct=yes
11069       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11070       hardcode_libdir_separator=:
11071       hardcode_shlibpath_var=no
11072       ;;
11073 
11074     openbsd*)
11075       hardcode_direct=yes
11076       hardcode_shlibpath_var=no
11077       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11078 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11079 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11080 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11081 	export_dynamic_flag_spec='${wl}-E'
11082       else
11083        case $host_os in
11084 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11085 	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11086 	   hardcode_libdir_flag_spec='-R$libdir'
11087 	   ;;
11088 	 *)
11089 	   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11090 	   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11091 	   ;;
11092        esac
11093       fi
11094       ;;
11095 
11096     os2*)
11097       hardcode_libdir_flag_spec='-L$libdir'
11098       hardcode_minus_L=yes
11099       allow_undefined_flag=unsupported
11100       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'
11101       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11102       ;;
11103 
11104     osf3*)
11105       if test "$GCC" = yes; then
11106 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11107 	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'
11108       else
11109 	allow_undefined_flag=' -expect_unresolved \*'
11110 	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'
11111       fi
11112       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11113       hardcode_libdir_separator=:
11114       ;;
11115 
11116     osf4* | osf5*)	# as osf3* with the addition of -msym flag
11117       if test "$GCC" = yes; then
11118 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11119 	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'
11120 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11121       else
11122 	allow_undefined_flag=' -expect_unresolved \*'
11123 	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'
11124 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11125 	$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'
11126 
11127 	# Both c and cxx compiler support -rpath directly
11128 	hardcode_libdir_flag_spec='-rpath $libdir'
11129       fi
11130       hardcode_libdir_separator=:
11131       ;;
11132 
11133     solaris*)
11134       no_undefined_flag=' -z text'
11135       if test "$GCC" = yes; then
11136 	wlarc='${wl}'
11137 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11138 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11139 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
11140       else
11141 	wlarc=''
11142 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11143 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11144   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11145       fi
11146       hardcode_libdir_flag_spec='-R$libdir'
11147       hardcode_shlibpath_var=no
11148       case $host_os in
11149       solaris2.[0-5] | solaris2.[0-5].*) ;;
11150       *)
11151  	# The compiler driver will combine linker options so we
11152  	# cannot just pass the convience library names through
11153  	# without $wl, iff we do not link with $LD.
11154  	# Luckily, gcc supports the same syntax we need for Sun Studio.
11155  	# Supported since Solaris 2.6 (maybe 2.5.1?)
11156  	case $wlarc in
11157  	'')
11158  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
11159  	*)
11160  	  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' ;;
11161  	esac ;;
11162       esac
11163       link_all_deplibs=yes
11164       ;;
11165 
11166     sunos4*)
11167       if test "x$host_vendor" = xsequent; then
11168 	# Use $CC to link under sequent, because it throws in some extra .o
11169 	# files that make .init and .fini sections work.
11170 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11171       else
11172 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11173       fi
11174       hardcode_libdir_flag_spec='-L$libdir'
11175       hardcode_direct=yes
11176       hardcode_minus_L=yes
11177       hardcode_shlibpath_var=no
11178       ;;
11179 
11180     sysv4)
11181       case $host_vendor in
11182 	sni)
11183 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11184 	  hardcode_direct=yes # is this really true???
11185 	;;
11186 	siemens)
11187 	  ## LD is ld it makes a PLAMLIB
11188 	  ## CC just makes a GrossModule.
11189 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11190 	  reload_cmds='$CC -r -o $output$reload_objs'
11191 	  hardcode_direct=no
11192         ;;
11193 	motorola)
11194 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11195 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11196 	;;
11197       esac
11198       runpath_var='LD_RUN_PATH'
11199       hardcode_shlibpath_var=no
11200       ;;
11201 
11202     sysv4.3*)
11203       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11204       hardcode_shlibpath_var=no
11205       export_dynamic_flag_spec='-Bexport'
11206       ;;
11207 
11208     sysv4*MP*)
11209       if test -d /usr/nec; then
11210 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11211 	hardcode_shlibpath_var=no
11212 	runpath_var=LD_RUN_PATH
11213 	hardcode_runpath_var=yes
11214 	ld_shlibs=yes
11215       fi
11216       ;;
11217 
11218     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
11219       no_undefined_flag='${wl}-z,text'
11220       archive_cmds_need_lc=no
11221       hardcode_shlibpath_var=no
11222       runpath_var='LD_RUN_PATH'
11223 
11224       if test "$GCC" = yes; then
11225 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11226 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11227       else
11228 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11229 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11230       fi
11231       ;;
11232 
11233     sysv5* | sco3.2v5* | sco5v6*)
11234       # Note: We can NOT use -z defs as we might desire, because we do not
11235       # link with -lc, and that would cause any symbols used from libc to
11236       # always be unresolved, which means just about no library would
11237       # ever link correctly.  If we're not using GNU ld we use -z text
11238       # though, which does catch some bad symbols but isn't as heavy-handed
11239       # as -z defs.
11240       no_undefined_flag='${wl}-z,text'
11241       allow_undefined_flag='${wl}-z,nodefs'
11242       archive_cmds_need_lc=no
11243       hardcode_shlibpath_var=no
11244       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11245       hardcode_libdir_separator=':'
11246       link_all_deplibs=yes
11247       export_dynamic_flag_spec='${wl}-Bexport'
11248       runpath_var='LD_RUN_PATH'
11249 
11250       if test "$GCC" = yes; then
11251 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11252 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11253       else
11254 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11255 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11256       fi
11257       ;;
11258 
11259     uts4*)
11260       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11261       hardcode_libdir_flag_spec='-L$libdir'
11262       hardcode_shlibpath_var=no
11263       ;;
11264 
11265     *)
11266       ld_shlibs=no
11267       ;;
11268     esac
11269   fi
11270 
11271 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11272 echo "${ECHO_T}$ld_shlibs" >&6
11273 test "$ld_shlibs" = no && can_build_shared=no
11274 
11275 #
11276 # Do we need to explicitly link libc?
11277 #
11278 case "x$archive_cmds_need_lc" in
11279 x|xyes)
11280   # Assume -lc should be added
11281   archive_cmds_need_lc=yes
11282 
11283   if test "$enable_shared" = yes && test "$GCC" = yes; then
11284     case $archive_cmds in
11285     *'~'*)
11286       # FIXME: we may have to deal with multi-command sequences.
11287       ;;
11288     '$CC '*)
11289       # Test whether the compiler implicitly links with -lc since on some
11290       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11291       # to ld, don't add -lc before -lgcc.
11292       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11293 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11294       $rm conftest*
11295       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11296 
11297       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11298   (eval $ac_compile) 2>&5
11299   ac_status=$?
11300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301   (exit $ac_status); } 2>conftest.err; then
11302         soname=conftest
11303         lib=conftest
11304         libobjs=conftest.$ac_objext
11305         deplibs=
11306         wl=$lt_prog_compiler_wl
11307 	pic_flag=$lt_prog_compiler_pic
11308         compiler_flags=-v
11309         linker_flags=-v
11310         verstring=
11311         output_objdir=.
11312         libname=conftest
11313         lt_save_allow_undefined_flag=$allow_undefined_flag
11314         allow_undefined_flag=
11315         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11316   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11317   ac_status=$?
11318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319   (exit $ac_status); }
11320         then
11321 	  archive_cmds_need_lc=no
11322         else
11323 	  archive_cmds_need_lc=yes
11324         fi
11325         allow_undefined_flag=$lt_save_allow_undefined_flag
11326       else
11327         cat conftest.err 1>&5
11328       fi
11329       $rm conftest*
11330       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11331 echo "${ECHO_T}$archive_cmds_need_lc" >&6
11332       ;;
11333     esac
11334   fi
11335   ;;
11336 esac
11337 
11338 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11339 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11340 library_names_spec=
11341 libname_spec='lib$name'
11342 soname_spec=
11343 shrext_cmds=".so"
11344 postinstall_cmds=
11345 postuninstall_cmds=
11346 finish_cmds=
11347 finish_eval=
11348 shlibpath_var=
11349 shlibpath_overrides_runpath=unknown
11350 version_type=none
11351 dynamic_linker="$host_os ld.so"
11352 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11353 if test "$GCC" = yes; then
11354   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11355   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11356     # if the path contains ";" then we assume it to be the separator
11357     # otherwise default to the standard path separator (i.e. ":") - it is
11358     # assumed that no part of a normal pathname contains ";" but that should
11359     # okay in the real world where ";" in dirpaths is itself problematic.
11360     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11361   else
11362     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11363   fi
11364 else
11365   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11366 fi
11367 need_lib_prefix=unknown
11368 hardcode_into_libs=no
11369 
11370 # when you set need_version to no, make sure it does not cause -set_version
11371 # flags to be left without arguments
11372 need_version=unknown
11373 
11374 case $host_os in
11375 aix3*)
11376   version_type=linux
11377   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11378   shlibpath_var=LIBPATH
11379 
11380   # AIX 3 has no versioning support, so we append a major version to the name.
11381   soname_spec='${libname}${release}${shared_ext}$major'
11382   ;;
11383 
11384 aix4* | aix5*)
11385   version_type=linux
11386   need_lib_prefix=no
11387   need_version=no
11388   hardcode_into_libs=yes
11389   if test "$host_cpu" = ia64; then
11390     # AIX 5 supports IA64
11391     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11392     shlibpath_var=LD_LIBRARY_PATH
11393   else
11394     # With GCC up to 2.95.x, collect2 would create an import file
11395     # for dependence libraries.  The import file would start with
11396     # the line `#! .'.  This would cause the generated library to
11397     # depend on `.', always an invalid library.  This was fixed in
11398     # development snapshots of GCC prior to 3.0.
11399     case $host_os in
11400       aix4 | aix4.[01] | aix4.[01].*)
11401       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11402 	   echo ' yes '
11403 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11404 	:
11405       else
11406 	can_build_shared=no
11407       fi
11408       ;;
11409     esac
11410     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11411     # soname into executable. Probably we can add versioning support to
11412     # collect2, so additional links can be useful in future.
11413     if test "$aix_use_runtimelinking" = yes; then
11414       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11415       # instead of lib<name>.a to let people know that these are not
11416       # typical AIX shared libraries.
11417       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11418     else
11419       # We preserve .a as extension for shared libraries through AIX4.2
11420       # and later when we are not doing run time linking.
11421       library_names_spec='${libname}${release}.a $libname.a'
11422       soname_spec='${libname}${release}${shared_ext}$major'
11423     fi
11424     shlibpath_var=LIBPATH
11425   fi
11426   ;;
11427 
11428 amigaos*)
11429   library_names_spec='$libname.ixlibrary $libname.a'
11430   # Create ${libname}_ixlibrary.a entries in /sys/libs.
11431   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11432   ;;
11433 
11434 beos*)
11435   library_names_spec='${libname}${shared_ext}'
11436   dynamic_linker="$host_os ld.so"
11437   shlibpath_var=LIBRARY_PATH
11438   ;;
11439 
11440 bsdi[45]*)
11441   version_type=linux
11442   need_version=no
11443   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11444   soname_spec='${libname}${release}${shared_ext}$major'
11445   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11446   shlibpath_var=LD_LIBRARY_PATH
11447   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11448   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11449   # the default ld.so.conf also contains /usr/contrib/lib and
11450   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11451   # libtool to hard-code these into programs
11452   ;;
11453 
11454 cygwin* | mingw* | pw32*)
11455   version_type=windows
11456   shrext_cmds=".dll"
11457   need_version=no
11458   need_lib_prefix=no
11459 
11460   case $GCC,$host_os in
11461   yes,cygwin* | yes,mingw* | yes,pw32*)
11462     library_names_spec='$libname.dll.a'
11463     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11464     postinstall_cmds='base_file=`basename \${file}`~
11465       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11466       dldir=$destdir/`dirname \$dlpath`~
11467       test -d \$dldir || mkdir -p \$dldir~
11468       $install_prog $dir/$dlname \$dldir/$dlname~
11469       chmod a+x \$dldir/$dlname'
11470     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11471       dlpath=$dir/\$dldll~
11472        $rm \$dlpath'
11473     shlibpath_overrides_runpath=yes
11474 
11475     case $host_os in
11476     cygwin*)
11477       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11478       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11479       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11480       ;;
11481     mingw*)
11482       # MinGW DLLs use traditional 'lib' prefix
11483       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11484       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11485       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11486         # It is most probably a Windows format PATH printed by
11487         # mingw gcc, but we are running on Cygwin. Gcc prints its search
11488         # path with ; separators, and with drive letters. We can handle the
11489         # drive letters (cygwin fileutils understands them), so leave them,
11490         # especially as we might pass files found there to a mingw objdump,
11491         # which wouldn't understand a cygwinified path. Ahh.
11492         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11493       else
11494         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11495       fi
11496       ;;
11497     pw32*)
11498       # pw32 DLLs use 'pw' prefix rather than 'lib'
11499       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11500       ;;
11501     esac
11502     ;;
11503 
11504   *)
11505     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11506     ;;
11507   esac
11508   dynamic_linker='Win32 ld.exe'
11509   # FIXME: first we should search . and the directory the executable is in
11510   shlibpath_var=PATH
11511   ;;
11512 
11513 darwin* | rhapsody*)
11514   dynamic_linker="$host_os dyld"
11515   version_type=darwin
11516   need_lib_prefix=no
11517   need_version=no
11518   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11519   soname_spec='${libname}${release}${major}$shared_ext'
11520   shlibpath_overrides_runpath=yes
11521   shlibpath_var=DYLD_LIBRARY_PATH
11522   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11523   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11524   if test "$GCC" = yes; then
11525     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11526   else
11527     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11528   fi
11529   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11530   ;;
11531 
11532 dgux*)
11533   version_type=linux
11534   need_lib_prefix=no
11535   need_version=no
11536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11537   soname_spec='${libname}${release}${shared_ext}$major'
11538   shlibpath_var=LD_LIBRARY_PATH
11539   ;;
11540 
11541 freebsd1*)
11542   dynamic_linker=no
11543   ;;
11544 
11545 kfreebsd*-gnu)
11546   version_type=linux
11547   need_lib_prefix=no
11548   need_version=no
11549   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11550   soname_spec='${libname}${release}${shared_ext}$major'
11551   shlibpath_var=LD_LIBRARY_PATH
11552   shlibpath_overrides_runpath=no
11553   hardcode_into_libs=yes
11554   dynamic_linker='GNU ld.so'
11555   ;;
11556 
11557 freebsd* | dragonfly*)
11558   # DragonFly does not have aout.  When/if they implement a new
11559   # versioning mechanism, adjust this.
11560   if test -x /usr/bin/objformat; then
11561     objformat=`/usr/bin/objformat`
11562   else
11563     case $host_os in
11564     freebsd[123]*) objformat=aout ;;
11565     *) objformat=elf ;;
11566     esac
11567   fi
11568   version_type=freebsd-$objformat
11569   case $version_type in
11570     freebsd-elf*)
11571       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11572       need_version=no
11573       need_lib_prefix=no
11574       ;;
11575     freebsd-*)
11576       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11577       need_version=yes
11578       ;;
11579   esac
11580   shlibpath_var=LD_LIBRARY_PATH
11581   case $host_os in
11582   freebsd2*)
11583     shlibpath_overrides_runpath=yes
11584     ;;
11585   freebsd3.[01]* | freebsdelf3.[01]*)
11586     shlibpath_overrides_runpath=yes
11587     hardcode_into_libs=yes
11588     ;;
11589   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11590   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11591     shlibpath_overrides_runpath=no
11592     hardcode_into_libs=yes
11593     ;;
11594   freebsd*) # from 4.6 on
11595     shlibpath_overrides_runpath=yes
11596     hardcode_into_libs=yes
11597     ;;
11598   esac
11599   ;;
11600 
11601 gnu*)
11602   version_type=linux
11603   need_lib_prefix=no
11604   need_version=no
11605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11606   soname_spec='${libname}${release}${shared_ext}$major'
11607   shlibpath_var=LD_LIBRARY_PATH
11608   hardcode_into_libs=yes
11609   ;;
11610 
11611 hpux9* | hpux10* | hpux11*)
11612   # Give a soname corresponding to the major version so that dld.sl refuses to
11613   # link against other versions.
11614   version_type=sunos
11615   need_lib_prefix=no
11616   need_version=no
11617   case $host_cpu in
11618   ia64*)
11619     shrext_cmds='.so'
11620     hardcode_into_libs=yes
11621     dynamic_linker="$host_os dld.so"
11622     shlibpath_var=LD_LIBRARY_PATH
11623     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11624     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11625     soname_spec='${libname}${release}${shared_ext}$major'
11626     if test "X$HPUX_IA64_MODE" = X32; then
11627       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11628     else
11629       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11630     fi
11631     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11632     ;;
11633    hppa*64*)
11634      shrext_cmds='.sl'
11635      hardcode_into_libs=yes
11636      dynamic_linker="$host_os dld.sl"
11637      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11638      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11639      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11640      soname_spec='${libname}${release}${shared_ext}$major'
11641      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11642      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11643      ;;
11644    *)
11645     shrext_cmds='.sl'
11646     dynamic_linker="$host_os dld.sl"
11647     shlibpath_var=SHLIB_PATH
11648     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11649     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11650     soname_spec='${libname}${release}${shared_ext}$major'
11651     ;;
11652   esac
11653   # HP-UX runs *really* slowly unless shared libraries are mode 555.
11654   postinstall_cmds='chmod 555 $lib'
11655   ;;
11656 
11657 interix3*)
11658   version_type=linux
11659   need_lib_prefix=no
11660   need_version=no
11661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11662   soname_spec='${libname}${release}${shared_ext}$major'
11663   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11664   shlibpath_var=LD_LIBRARY_PATH
11665   shlibpath_overrides_runpath=no
11666   hardcode_into_libs=yes
11667   ;;
11668 
11669 irix5* | irix6* | nonstopux*)
11670   case $host_os in
11671     nonstopux*) version_type=nonstopux ;;
11672     *)
11673 	if test "$lt_cv_prog_gnu_ld" = yes; then
11674 		version_type=linux
11675 	else
11676 		version_type=irix
11677 	fi ;;
11678   esac
11679   need_lib_prefix=no
11680   need_version=no
11681   soname_spec='${libname}${release}${shared_ext}$major'
11682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11683   case $host_os in
11684   irix5* | nonstopux*)
11685     libsuff= shlibsuff=
11686     ;;
11687   *)
11688     case $LD in # libtool.m4 will add one of these switches to LD
11689     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11690       libsuff= shlibsuff= libmagic=32-bit;;
11691     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11692       libsuff=32 shlibsuff=N32 libmagic=N32;;
11693     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11694       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11695     *) libsuff= shlibsuff= libmagic=never-match;;
11696     esac
11697     ;;
11698   esac
11699   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11700   shlibpath_overrides_runpath=no
11701   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11702   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11703   hardcode_into_libs=yes
11704   ;;
11705 
11706 # No shared lib support for Linux oldld, aout, or coff.
11707 linux*oldld* | linux*aout* | linux*coff*)
11708   dynamic_linker=no
11709   ;;
11710 
11711 # This must be Linux ELF.
11712 linux*)
11713   version_type=linux
11714   need_lib_prefix=no
11715   need_version=no
11716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11717   soname_spec='${libname}${release}${shared_ext}$major'
11718   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11719   shlibpath_var=LD_LIBRARY_PATH
11720   shlibpath_overrides_runpath=no
11721   # This implies no fast_install, which is unacceptable.
11722   # Some rework will be needed to allow for fast_install
11723   # before this can be enabled.
11724   hardcode_into_libs=yes
11725 
11726   # find out which ABI we are using
11727   libsuff=
11728   case "$host_cpu" in
11729   x86_64*|s390x*|powerpc64*)
11730     echo '#line __oline__ "configure"' > conftest.$ac_ext
11731     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732   (eval $ac_compile) 2>&5
11733   ac_status=$?
11734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735   (exit $ac_status); }; then
11736       case `/usr/bin/file conftest.$ac_objext` in
11737       *64-bit*)
11738         libsuff=64
11739         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11740         ;;
11741       esac
11742     fi
11743     rm -rf conftest*
11744     ;;
11745   esac
11746 
11747   # Append ld.so.conf contents to the search path
11748   if test -f /etc/ld.so.conf; then
11749     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11750     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
11751   fi
11752 
11753   # We used to test for /lib/ld.so.1 and disable shared libraries on
11754   # powerpc, because MkLinux only supported shared libraries with the
11755   # GNU dynamic linker.  Since this was broken with cross compilers,
11756   # most powerpc-linux boxes support dynamic linking these days and
11757   # people can always --disable-shared, the test was removed, and we
11758   # assume the GNU/Linux dynamic linker is in use.
11759   dynamic_linker='GNU/Linux ld.so'
11760   ;;
11761 
11762 knetbsd*-gnu)
11763   version_type=linux
11764   need_lib_prefix=no
11765   need_version=no
11766   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11767   soname_spec='${libname}${release}${shared_ext}$major'
11768   shlibpath_var=LD_LIBRARY_PATH
11769   shlibpath_overrides_runpath=no
11770   hardcode_into_libs=yes
11771   dynamic_linker='GNU ld.so'
11772   ;;
11773 
11774 netbsd*)
11775   version_type=sunos
11776   need_lib_prefix=no
11777   need_version=no
11778   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11779     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11780     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11781     dynamic_linker='NetBSD (a.out) ld.so'
11782   else
11783     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11784     soname_spec='${libname}${release}${shared_ext}$major'
11785     dynamic_linker='NetBSD ld.elf_so'
11786   fi
11787   shlibpath_var=LD_LIBRARY_PATH
11788   shlibpath_overrides_runpath=yes
11789   hardcode_into_libs=yes
11790   ;;
11791 
11792 newsos6)
11793   version_type=linux
11794   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795   shlibpath_var=LD_LIBRARY_PATH
11796   shlibpath_overrides_runpath=yes
11797   ;;
11798 
11799 nto-qnx*)
11800   version_type=linux
11801   need_lib_prefix=no
11802   need_version=no
11803   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11804   soname_spec='${libname}${release}${shared_ext}$major'
11805   shlibpath_var=LD_LIBRARY_PATH
11806   shlibpath_overrides_runpath=yes
11807   ;;
11808 
11809 openbsd*)
11810   version_type=sunos
11811   sys_lib_dlsearch_path_spec="/usr/lib"
11812   need_lib_prefix=no
11813   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11814   case $host_os in
11815     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11816     *)                         need_version=no  ;;
11817   esac
11818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11819   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11820   shlibpath_var=LD_LIBRARY_PATH
11821   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11822     case $host_os in
11823       openbsd2.[89] | openbsd2.[89].*)
11824 	shlibpath_overrides_runpath=no
11825 	;;
11826       *)
11827 	shlibpath_overrides_runpath=yes
11828 	;;
11829       esac
11830   else
11831     shlibpath_overrides_runpath=yes
11832   fi
11833   ;;
11834 
11835 os2*)
11836   libname_spec='$name'
11837   shrext_cmds=".dll"
11838   need_lib_prefix=no
11839   library_names_spec='$libname${shared_ext} $libname.a'
11840   dynamic_linker='OS/2 ld.exe'
11841   shlibpath_var=LIBPATH
11842   ;;
11843 
11844 osf3* | osf4* | osf5*)
11845   version_type=osf
11846   need_lib_prefix=no
11847   need_version=no
11848   soname_spec='${libname}${release}${shared_ext}$major'
11849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11850   shlibpath_var=LD_LIBRARY_PATH
11851   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11852   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11853   ;;
11854 
11855 solaris*)
11856   version_type=linux
11857   need_lib_prefix=no
11858   need_version=no
11859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11860   soname_spec='${libname}${release}${shared_ext}$major'
11861   shlibpath_var=LD_LIBRARY_PATH
11862   shlibpath_overrides_runpath=yes
11863   hardcode_into_libs=yes
11864   # ldd complains unless libraries are executable
11865   postinstall_cmds='chmod +x $lib'
11866   ;;
11867 
11868 sunos4*)
11869   version_type=sunos
11870   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11871   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11872   shlibpath_var=LD_LIBRARY_PATH
11873   shlibpath_overrides_runpath=yes
11874   if test "$with_gnu_ld" = yes; then
11875     need_lib_prefix=no
11876   fi
11877   need_version=yes
11878   ;;
11879 
11880 sysv4 | sysv4.3*)
11881   version_type=linux
11882   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11883   soname_spec='${libname}${release}${shared_ext}$major'
11884   shlibpath_var=LD_LIBRARY_PATH
11885   case $host_vendor in
11886     sni)
11887       shlibpath_overrides_runpath=no
11888       need_lib_prefix=no
11889       export_dynamic_flag_spec='${wl}-Blargedynsym'
11890       runpath_var=LD_RUN_PATH
11891       ;;
11892     siemens)
11893       need_lib_prefix=no
11894       ;;
11895     motorola)
11896       need_lib_prefix=no
11897       need_version=no
11898       shlibpath_overrides_runpath=no
11899       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11900       ;;
11901   esac
11902   ;;
11903 
11904 sysv4*MP*)
11905   if test -d /usr/nec ;then
11906     version_type=linux
11907     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11908     soname_spec='$libname${shared_ext}.$major'
11909     shlibpath_var=LD_LIBRARY_PATH
11910   fi
11911   ;;
11912 
11913 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11914   version_type=freebsd-elf
11915   need_lib_prefix=no
11916   need_version=no
11917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11918   soname_spec='${libname}${release}${shared_ext}$major'
11919   shlibpath_var=LD_LIBRARY_PATH
11920   hardcode_into_libs=yes
11921   if test "$with_gnu_ld" = yes; then
11922     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11923     shlibpath_overrides_runpath=no
11924   else
11925     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11926     shlibpath_overrides_runpath=yes
11927     case $host_os in
11928       sco3.2v5*)
11929         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11930 	;;
11931     esac
11932   fi
11933   sys_lib_dlsearch_path_spec='/usr/lib'
11934   ;;
11935 
11936 uts4*)
11937   version_type=linux
11938   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11939   soname_spec='${libname}${release}${shared_ext}$major'
11940   shlibpath_var=LD_LIBRARY_PATH
11941   ;;
11942 
11943 *)
11944   dynamic_linker=no
11945   ;;
11946 esac
11947 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11948 echo "${ECHO_T}$dynamic_linker" >&6
11949 test "$dynamic_linker" = no && can_build_shared=no
11950 
11951 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11952 if test "$GCC" = yes; then
11953   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11954 fi
11955 
11956 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11957 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11958 hardcode_action=
11959 if test -n "$hardcode_libdir_flag_spec" || \
11960    test -n "$runpath_var" || \
11961    test "X$hardcode_automatic" = "Xyes" ; then
11962 
11963   # We can hardcode non-existant directories.
11964   if test "$hardcode_direct" != no &&
11965      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11966      # have to relink, otherwise we might link with an installed library
11967      # when we should be linking with a yet-to-be-installed one
11968      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11969      test "$hardcode_minus_L" != no; then
11970     # Linking always hardcodes the temporary library directory.
11971     hardcode_action=relink
11972   else
11973     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11974     hardcode_action=immediate
11975   fi
11976 else
11977   # We cannot hardcode anything, or else we can only hardcode existing
11978   # directories.
11979   hardcode_action=unsupported
11980 fi
11981 echo "$as_me:$LINENO: result: $hardcode_action" >&5
11982 echo "${ECHO_T}$hardcode_action" >&6
11983 
11984 if test "$hardcode_action" = relink; then
11985   # Fast installation is not supported
11986   enable_fast_install=no
11987 elif test "$shlibpath_overrides_runpath" = yes ||
11988      test "$enable_shared" = no; then
11989   # Fast installation is not necessary
11990   enable_fast_install=needless
11991 fi
11992 
11993 striplib=
11994 old_striplib=
11995 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11996 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11997 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11998   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11999   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12000   echo "$as_me:$LINENO: result: yes" >&5
12001 echo "${ECHO_T}yes" >&6
12002 else
12003 # FIXME - insert some real tests, host_os isn't really good enough
12004   case $host_os in
12005    darwin*)
12006        if test -n "$STRIP" ; then
12007          striplib="$STRIP -x"
12008          echo "$as_me:$LINENO: result: yes" >&5
12009 echo "${ECHO_T}yes" >&6
12010        else
12011   echo "$as_me:$LINENO: result: no" >&5
12012 echo "${ECHO_T}no" >&6
12013 fi
12014        ;;
12015    *)
12016   echo "$as_me:$LINENO: result: no" >&5
12017 echo "${ECHO_T}no" >&6
12018     ;;
12019   esac
12020 fi
12021 
12022 if test "x$enable_dlopen" != xyes; then
12023   enable_dlopen=unknown
12024   enable_dlopen_self=unknown
12025   enable_dlopen_self_static=unknown
12026 else
12027   lt_cv_dlopen=no
12028   lt_cv_dlopen_libs=
12029 
12030   case $host_os in
12031   beos*)
12032     lt_cv_dlopen="load_add_on"
12033     lt_cv_dlopen_libs=
12034     lt_cv_dlopen_self=yes
12035     ;;
12036 
12037   mingw* | pw32*)
12038     lt_cv_dlopen="LoadLibrary"
12039     lt_cv_dlopen_libs=
12040    ;;
12041 
12042   cygwin*)
12043     lt_cv_dlopen="dlopen"
12044     lt_cv_dlopen_libs=
12045    ;;
12046 
12047   darwin*)
12048   # if libdl is installed we need to link against it
12049     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12050 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12051 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12052   echo $ECHO_N "(cached) $ECHO_C" >&6
12053 else
12054   ac_check_lib_save_LIBS=$LIBS
12055 LIBS="-ldl  $LIBS"
12056 cat >conftest.$ac_ext <<_ACEOF
12057 /* confdefs.h.  */
12058 _ACEOF
12059 cat confdefs.h >>conftest.$ac_ext
12060 cat >>conftest.$ac_ext <<_ACEOF
12061 /* end confdefs.h.  */
12062 
12063 /* Override any gcc2 internal prototype to avoid an error.  */
12064 #ifdef __cplusplus
12065 extern "C"
12066 #endif
12067 /* We use char because int might match the return type of a gcc2
12068    builtin and then its argument prototype would still apply.  */
12069 char dlopen ();
12070 int
12071 main ()
12072 {
12073 dlopen ();
12074   ;
12075   return 0;
12076 }
12077 _ACEOF
12078 rm -f conftest.$ac_objext conftest$ac_exeext
12079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12080   (eval $ac_link) 2>conftest.er1
12081   ac_status=$?
12082   grep -v '^ *+' conftest.er1 >conftest.err
12083   rm -f conftest.er1
12084   cat conftest.err >&5
12085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086   (exit $ac_status); } &&
12087 	 { ac_try='test -z "$ac_c_werror_flag"
12088 			 || test ! -s conftest.err'
12089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12090   (eval $ac_try) 2>&5
12091   ac_status=$?
12092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093   (exit $ac_status); }; } &&
12094 	 { ac_try='test -s conftest$ac_exeext'
12095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12096   (eval $ac_try) 2>&5
12097   ac_status=$?
12098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099   (exit $ac_status); }; }; then
12100   ac_cv_lib_dl_dlopen=yes
12101 else
12102   echo "$as_me: failed program was:" >&5
12103 sed 's/^/| /' conftest.$ac_ext >&5
12104 
12105 ac_cv_lib_dl_dlopen=no
12106 fi
12107 rm -f conftest.err conftest.$ac_objext \
12108       conftest$ac_exeext conftest.$ac_ext
12109 LIBS=$ac_check_lib_save_LIBS
12110 fi
12111 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12112 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12113 if test $ac_cv_lib_dl_dlopen = yes; then
12114   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12115 else
12116   
12117     lt_cv_dlopen="dyld"
12118     lt_cv_dlopen_libs=
12119     lt_cv_dlopen_self=yes
12120     
12121 fi
12122 
12123    ;;
12124 
12125   *)
12126     echo "$as_me:$LINENO: checking for shl_load" >&5
12127 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12128 if test "${ac_cv_func_shl_load+set}" = set; then
12129   echo $ECHO_N "(cached) $ECHO_C" >&6
12130 else
12131   cat >conftest.$ac_ext <<_ACEOF
12132 /* confdefs.h.  */
12133 _ACEOF
12134 cat confdefs.h >>conftest.$ac_ext
12135 cat >>conftest.$ac_ext <<_ACEOF
12136 /* end confdefs.h.  */
12137 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12139 #define shl_load innocuous_shl_load
12140 
12141 /* System header to define __stub macros and hopefully few prototypes,
12142     which can conflict with char shl_load (); below.
12143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12144     <limits.h> exists even on freestanding compilers.  */
12145 
12146 #ifdef __STDC__
12147 # include <limits.h>
12148 #else
12149 # include <assert.h>
12150 #endif
12151 
12152 #undef shl_load
12153 
12154 /* Override any gcc2 internal prototype to avoid an error.  */
12155 #ifdef __cplusplus
12156 extern "C"
12157 {
12158 #endif
12159 /* We use char because int might match the return type of a gcc2
12160    builtin and then its argument prototype would still apply.  */
12161 char shl_load ();
12162 /* The GNU C library defines this for functions which it implements
12163     to always fail with ENOSYS.  Some functions are actually named
12164     something starting with __ and the normal name is an alias.  */
12165 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12166 choke me
12167 #else
12168 char (*f) () = shl_load;
12169 #endif
12170 #ifdef __cplusplus
12171 }
12172 #endif
12173 
12174 int
12175 main ()
12176 {
12177 return f != shl_load;
12178   ;
12179   return 0;
12180 }
12181 _ACEOF
12182 rm -f conftest.$ac_objext conftest$ac_exeext
12183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12184   (eval $ac_link) 2>conftest.er1
12185   ac_status=$?
12186   grep -v '^ *+' conftest.er1 >conftest.err
12187   rm -f conftest.er1
12188   cat conftest.err >&5
12189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190   (exit $ac_status); } &&
12191 	 { ac_try='test -z "$ac_c_werror_flag"
12192 			 || test ! -s conftest.err'
12193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12194   (eval $ac_try) 2>&5
12195   ac_status=$?
12196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197   (exit $ac_status); }; } &&
12198 	 { ac_try='test -s conftest$ac_exeext'
12199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12200   (eval $ac_try) 2>&5
12201   ac_status=$?
12202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203   (exit $ac_status); }; }; then
12204   ac_cv_func_shl_load=yes
12205 else
12206   echo "$as_me: failed program was:" >&5
12207 sed 's/^/| /' conftest.$ac_ext >&5
12208 
12209 ac_cv_func_shl_load=no
12210 fi
12211 rm -f conftest.err conftest.$ac_objext \
12212       conftest$ac_exeext conftest.$ac_ext
12213 fi
12214 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12215 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12216 if test $ac_cv_func_shl_load = yes; then
12217   lt_cv_dlopen="shl_load"
12218 else
12219   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12220 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12221 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12222   echo $ECHO_N "(cached) $ECHO_C" >&6
12223 else
12224   ac_check_lib_save_LIBS=$LIBS
12225 LIBS="-ldld  $LIBS"
12226 cat >conftest.$ac_ext <<_ACEOF
12227 /* confdefs.h.  */
12228 _ACEOF
12229 cat confdefs.h >>conftest.$ac_ext
12230 cat >>conftest.$ac_ext <<_ACEOF
12231 /* end confdefs.h.  */
12232 
12233 /* Override any gcc2 internal prototype to avoid an error.  */
12234 #ifdef __cplusplus
12235 extern "C"
12236 #endif
12237 /* We use char because int might match the return type of a gcc2
12238    builtin and then its argument prototype would still apply.  */
12239 char shl_load ();
12240 int
12241 main ()
12242 {
12243 shl_load ();
12244   ;
12245   return 0;
12246 }
12247 _ACEOF
12248 rm -f conftest.$ac_objext conftest$ac_exeext
12249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12250   (eval $ac_link) 2>conftest.er1
12251   ac_status=$?
12252   grep -v '^ *+' conftest.er1 >conftest.err
12253   rm -f conftest.er1
12254   cat conftest.err >&5
12255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256   (exit $ac_status); } &&
12257 	 { ac_try='test -z "$ac_c_werror_flag"
12258 			 || test ! -s conftest.err'
12259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260   (eval $ac_try) 2>&5
12261   ac_status=$?
12262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263   (exit $ac_status); }; } &&
12264 	 { ac_try='test -s conftest$ac_exeext'
12265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266   (eval $ac_try) 2>&5
12267   ac_status=$?
12268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269   (exit $ac_status); }; }; then
12270   ac_cv_lib_dld_shl_load=yes
12271 else
12272   echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12274 
12275 ac_cv_lib_dld_shl_load=no
12276 fi
12277 rm -f conftest.err conftest.$ac_objext \
12278       conftest$ac_exeext conftest.$ac_ext
12279 LIBS=$ac_check_lib_save_LIBS
12280 fi
12281 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12282 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12283 if test $ac_cv_lib_dld_shl_load = yes; then
12284   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12285 else
12286   echo "$as_me:$LINENO: checking for dlopen" >&5
12287 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12288 if test "${ac_cv_func_dlopen+set}" = set; then
12289   echo $ECHO_N "(cached) $ECHO_C" >&6
12290 else
12291   cat >conftest.$ac_ext <<_ACEOF
12292 /* confdefs.h.  */
12293 _ACEOF
12294 cat confdefs.h >>conftest.$ac_ext
12295 cat >>conftest.$ac_ext <<_ACEOF
12296 /* end confdefs.h.  */
12297 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12299 #define dlopen innocuous_dlopen
12300 
12301 /* System header to define __stub macros and hopefully few prototypes,
12302     which can conflict with char dlopen (); below.
12303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12304     <limits.h> exists even on freestanding compilers.  */
12305 
12306 #ifdef __STDC__
12307 # include <limits.h>
12308 #else
12309 # include <assert.h>
12310 #endif
12311 
12312 #undef dlopen
12313 
12314 /* Override any gcc2 internal prototype to avoid an error.  */
12315 #ifdef __cplusplus
12316 extern "C"
12317 {
12318 #endif
12319 /* We use char because int might match the return type of a gcc2
12320    builtin and then its argument prototype would still apply.  */
12321 char dlopen ();
12322 /* The GNU C library defines this for functions which it implements
12323     to always fail with ENOSYS.  Some functions are actually named
12324     something starting with __ and the normal name is an alias.  */
12325 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12326 choke me
12327 #else
12328 char (*f) () = dlopen;
12329 #endif
12330 #ifdef __cplusplus
12331 }
12332 #endif
12333 
12334 int
12335 main ()
12336 {
12337 return f != dlopen;
12338   ;
12339   return 0;
12340 }
12341 _ACEOF
12342 rm -f conftest.$ac_objext conftest$ac_exeext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12344   (eval $ac_link) 2>conftest.er1
12345   ac_status=$?
12346   grep -v '^ *+' conftest.er1 >conftest.err
12347   rm -f conftest.er1
12348   cat conftest.err >&5
12349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350   (exit $ac_status); } &&
12351 	 { ac_try='test -z "$ac_c_werror_flag"
12352 			 || test ! -s conftest.err'
12353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354   (eval $ac_try) 2>&5
12355   ac_status=$?
12356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357   (exit $ac_status); }; } &&
12358 	 { ac_try='test -s conftest$ac_exeext'
12359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360   (eval $ac_try) 2>&5
12361   ac_status=$?
12362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363   (exit $ac_status); }; }; then
12364   ac_cv_func_dlopen=yes
12365 else
12366   echo "$as_me: failed program was:" >&5
12367 sed 's/^/| /' conftest.$ac_ext >&5
12368 
12369 ac_cv_func_dlopen=no
12370 fi
12371 rm -f conftest.err conftest.$ac_objext \
12372       conftest$ac_exeext conftest.$ac_ext
12373 fi
12374 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12375 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12376 if test $ac_cv_func_dlopen = yes; then
12377   lt_cv_dlopen="dlopen"
12378 else
12379   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12380 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12381 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12382   echo $ECHO_N "(cached) $ECHO_C" >&6
12383 else
12384   ac_check_lib_save_LIBS=$LIBS
12385 LIBS="-ldl  $LIBS"
12386 cat >conftest.$ac_ext <<_ACEOF
12387 /* confdefs.h.  */
12388 _ACEOF
12389 cat confdefs.h >>conftest.$ac_ext
12390 cat >>conftest.$ac_ext <<_ACEOF
12391 /* end confdefs.h.  */
12392 
12393 /* Override any gcc2 internal prototype to avoid an error.  */
12394 #ifdef __cplusplus
12395 extern "C"
12396 #endif
12397 /* We use char because int might match the return type of a gcc2
12398    builtin and then its argument prototype would still apply.  */
12399 char dlopen ();
12400 int
12401 main ()
12402 {
12403 dlopen ();
12404   ;
12405   return 0;
12406 }
12407 _ACEOF
12408 rm -f conftest.$ac_objext conftest$ac_exeext
12409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12410   (eval $ac_link) 2>conftest.er1
12411   ac_status=$?
12412   grep -v '^ *+' conftest.er1 >conftest.err
12413   rm -f conftest.er1
12414   cat conftest.err >&5
12415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416   (exit $ac_status); } &&
12417 	 { ac_try='test -z "$ac_c_werror_flag"
12418 			 || test ! -s conftest.err'
12419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12420   (eval $ac_try) 2>&5
12421   ac_status=$?
12422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423   (exit $ac_status); }; } &&
12424 	 { ac_try='test -s conftest$ac_exeext'
12425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12426   (eval $ac_try) 2>&5
12427   ac_status=$?
12428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429   (exit $ac_status); }; }; then
12430   ac_cv_lib_dl_dlopen=yes
12431 else
12432   echo "$as_me: failed program was:" >&5
12433 sed 's/^/| /' conftest.$ac_ext >&5
12434 
12435 ac_cv_lib_dl_dlopen=no
12436 fi
12437 rm -f conftest.err conftest.$ac_objext \
12438       conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_lib_save_LIBS
12440 fi
12441 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12442 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12443 if test $ac_cv_lib_dl_dlopen = yes; then
12444   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12445 else
12446   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12447 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12448 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12449   echo $ECHO_N "(cached) $ECHO_C" >&6
12450 else
12451   ac_check_lib_save_LIBS=$LIBS
12452 LIBS="-lsvld  $LIBS"
12453 cat >conftest.$ac_ext <<_ACEOF
12454 /* confdefs.h.  */
12455 _ACEOF
12456 cat confdefs.h >>conftest.$ac_ext
12457 cat >>conftest.$ac_ext <<_ACEOF
12458 /* end confdefs.h.  */
12459 
12460 /* Override any gcc2 internal prototype to avoid an error.  */
12461 #ifdef __cplusplus
12462 extern "C"
12463 #endif
12464 /* We use char because int might match the return type of a gcc2
12465    builtin and then its argument prototype would still apply.  */
12466 char dlopen ();
12467 int
12468 main ()
12469 {
12470 dlopen ();
12471   ;
12472   return 0;
12473 }
12474 _ACEOF
12475 rm -f conftest.$ac_objext conftest$ac_exeext
12476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12477   (eval $ac_link) 2>conftest.er1
12478   ac_status=$?
12479   grep -v '^ *+' conftest.er1 >conftest.err
12480   rm -f conftest.er1
12481   cat conftest.err >&5
12482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483   (exit $ac_status); } &&
12484 	 { ac_try='test -z "$ac_c_werror_flag"
12485 			 || test ! -s conftest.err'
12486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487   (eval $ac_try) 2>&5
12488   ac_status=$?
12489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490   (exit $ac_status); }; } &&
12491 	 { ac_try='test -s conftest$ac_exeext'
12492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493   (eval $ac_try) 2>&5
12494   ac_status=$?
12495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496   (exit $ac_status); }; }; then
12497   ac_cv_lib_svld_dlopen=yes
12498 else
12499   echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12501 
12502 ac_cv_lib_svld_dlopen=no
12503 fi
12504 rm -f conftest.err conftest.$ac_objext \
12505       conftest$ac_exeext conftest.$ac_ext
12506 LIBS=$ac_check_lib_save_LIBS
12507 fi
12508 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12509 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12510 if test $ac_cv_lib_svld_dlopen = yes; then
12511   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12512 else
12513   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12514 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12515 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12516   echo $ECHO_N "(cached) $ECHO_C" >&6
12517 else
12518   ac_check_lib_save_LIBS=$LIBS
12519 LIBS="-ldld  $LIBS"
12520 cat >conftest.$ac_ext <<_ACEOF
12521 /* confdefs.h.  */
12522 _ACEOF
12523 cat confdefs.h >>conftest.$ac_ext
12524 cat >>conftest.$ac_ext <<_ACEOF
12525 /* end confdefs.h.  */
12526 
12527 /* Override any gcc2 internal prototype to avoid an error.  */
12528 #ifdef __cplusplus
12529 extern "C"
12530 #endif
12531 /* We use char because int might match the return type of a gcc2
12532    builtin and then its argument prototype would still apply.  */
12533 char dld_link ();
12534 int
12535 main ()
12536 {
12537 dld_link ();
12538   ;
12539   return 0;
12540 }
12541 _ACEOF
12542 rm -f conftest.$ac_objext conftest$ac_exeext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12544   (eval $ac_link) 2>conftest.er1
12545   ac_status=$?
12546   grep -v '^ *+' conftest.er1 >conftest.err
12547   rm -f conftest.er1
12548   cat conftest.err >&5
12549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550   (exit $ac_status); } &&
12551 	 { ac_try='test -z "$ac_c_werror_flag"
12552 			 || test ! -s conftest.err'
12553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12554   (eval $ac_try) 2>&5
12555   ac_status=$?
12556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557   (exit $ac_status); }; } &&
12558 	 { ac_try='test -s conftest$ac_exeext'
12559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12560   (eval $ac_try) 2>&5
12561   ac_status=$?
12562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563   (exit $ac_status); }; }; then
12564   ac_cv_lib_dld_dld_link=yes
12565 else
12566   echo "$as_me: failed program was:" >&5
12567 sed 's/^/| /' conftest.$ac_ext >&5
12568 
12569 ac_cv_lib_dld_dld_link=no
12570 fi
12571 rm -f conftest.err conftest.$ac_objext \
12572       conftest$ac_exeext conftest.$ac_ext
12573 LIBS=$ac_check_lib_save_LIBS
12574 fi
12575 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12576 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12577 if test $ac_cv_lib_dld_dld_link = yes; then
12578   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12579 fi
12580 
12581 	      
12582 fi
12583 
12584 	    
12585 fi
12586 
12587 	  
12588 fi
12589 
12590 	
12591 fi
12592 
12593       
12594 fi
12595 
12596     ;;
12597   esac
12598 
12599   if test "x$lt_cv_dlopen" != xno; then
12600     enable_dlopen=yes
12601   else
12602     enable_dlopen=no
12603   fi
12604 
12605   case $lt_cv_dlopen in
12606   dlopen)
12607     save_CPPFLAGS="$CPPFLAGS"
12608     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12609 
12610     save_LDFLAGS="$LDFLAGS"
12611     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12612 
12613     save_LIBS="$LIBS"
12614     LIBS="$lt_cv_dlopen_libs $LIBS"
12615 
12616     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12617 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12618 if test "${lt_cv_dlopen_self+set}" = set; then
12619   echo $ECHO_N "(cached) $ECHO_C" >&6
12620 else
12621   	  if test "$cross_compiling" = yes; then :
12622   lt_cv_dlopen_self=cross
12623 else
12624   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12625   lt_status=$lt_dlunknown
12626   cat > conftest.$ac_ext <<EOF
12627 #line __oline__ "configure"
12628 #include "confdefs.h"
12629 
12630 #if HAVE_DLFCN_H
12631 #include <dlfcn.h>
12632 #endif
12633 
12634 #include <stdio.h>
12635 
12636 #ifdef RTLD_GLOBAL
12637 #  define LT_DLGLOBAL		RTLD_GLOBAL
12638 #else
12639 #  ifdef DL_GLOBAL
12640 #    define LT_DLGLOBAL		DL_GLOBAL
12641 #  else
12642 #    define LT_DLGLOBAL		0
12643 #  endif
12644 #endif
12645 
12646 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12647    find out it does not work in some platform. */
12648 #ifndef LT_DLLAZY_OR_NOW
12649 #  ifdef RTLD_LAZY
12650 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12651 #  else
12652 #    ifdef DL_LAZY
12653 #      define LT_DLLAZY_OR_NOW		DL_LAZY
12654 #    else
12655 #      ifdef RTLD_NOW
12656 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
12657 #      else
12658 #        ifdef DL_NOW
12659 #          define LT_DLLAZY_OR_NOW	DL_NOW
12660 #        else
12661 #          define LT_DLLAZY_OR_NOW	0
12662 #        endif
12663 #      endif
12664 #    endif
12665 #  endif
12666 #endif
12667 
12668 #ifdef __cplusplus
12669 extern "C" void exit (int);
12670 #endif
12671 
12672 void fnord() { int i=42;}
12673 int main ()
12674 {
12675   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12676   int status = $lt_dlunknown;
12677 
12678   if (self)
12679     {
12680       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12681       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12682       /* dlclose (self); */
12683     }
12684   else
12685     puts (dlerror ());
12686 
12687     exit (status);
12688 }
12689 EOF
12690   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12691   (eval $ac_link) 2>&5
12692   ac_status=$?
12693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12695     (./conftest; exit; ) >&5 2>/dev/null
12696     lt_status=$?
12697     case x$lt_status in
12698       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12699       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12700       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12701     esac
12702   else :
12703     # compilation failed
12704     lt_cv_dlopen_self=no
12705   fi
12706 fi
12707 rm -fr conftest*
12708 
12709     
12710 fi
12711 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12712 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12713 
12714     if test "x$lt_cv_dlopen_self" = xyes; then
12715       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12716       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12717 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12718 if test "${lt_cv_dlopen_self_static+set}" = set; then
12719   echo $ECHO_N "(cached) $ECHO_C" >&6
12720 else
12721   	  if test "$cross_compiling" = yes; then :
12722   lt_cv_dlopen_self_static=cross
12723 else
12724   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12725   lt_status=$lt_dlunknown
12726   cat > conftest.$ac_ext <<EOF
12727 #line __oline__ "configure"
12728 #include "confdefs.h"
12729 
12730 #if HAVE_DLFCN_H
12731 #include <dlfcn.h>
12732 #endif
12733 
12734 #include <stdio.h>
12735 
12736 #ifdef RTLD_GLOBAL
12737 #  define LT_DLGLOBAL		RTLD_GLOBAL
12738 #else
12739 #  ifdef DL_GLOBAL
12740 #    define LT_DLGLOBAL		DL_GLOBAL
12741 #  else
12742 #    define LT_DLGLOBAL		0
12743 #  endif
12744 #endif
12745 
12746 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12747    find out it does not work in some platform. */
12748 #ifndef LT_DLLAZY_OR_NOW
12749 #  ifdef RTLD_LAZY
12750 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12751 #  else
12752 #    ifdef DL_LAZY
12753 #      define LT_DLLAZY_OR_NOW		DL_LAZY
12754 #    else
12755 #      ifdef RTLD_NOW
12756 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
12757 #      else
12758 #