"Fossies" - the Fresh Open Source Software Archive

Member "libmcrypt-2.5.8/configure" (19 Feb 2007, 818934 Bytes) of package /linux/privat/old/libmcrypt-2.5.8.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
    4 #
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
    6 # This configure script is free software; the Free Software Foundation
    7 # gives unlimited permission to copy, distribute and modify it.
    8 ## --------------------- ##
    9 ## M4sh Initialization.  ##
   10 ## --------------------- ##
   11 
   12 # Be Bourne compatible
   13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   14   emulate sh
   15   NULLCMD=:
   16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   17   # is contrary to our usage.  Disable this feature.
   18   alias -g '${1+"$@"}'='"$@"'
   19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   20   set -o posix
   21 fi
   22 DUALCASE=1; export DUALCASE # for MKS sh
   23 
   24 # Support unset when possible.
   25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   26   as_unset=unset
   27 else
   28   as_unset=false
   29 fi
   30 
   31 
   32 # Work around bugs in pre-3.0 UWIN ksh.
   33 $as_unset ENV MAIL MAILPATH
   34 PS1='$ '
   35 PS2='> '
   36 PS4='+ '
   37 
   38 # NLS nuisances.
   39 for as_var in \
   40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   42   LC_TELEPHONE LC_TIME
   43 do
   44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   45     eval $as_var=C; export $as_var
   46   else
   47     $as_unset $as_var
   48   fi
   49 done
   50 
   51 # Required to use basename.
   52 if expr a : '\(a\)' >/dev/null 2>&1; then
   53   as_expr=expr
   54 else
   55   as_expr=false
   56 fi
   57 
   58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   59   as_basename=basename
   60 else
   61   as_basename=false
   62 fi
   63 
   64 
   65 # Name of the executable.
   66 as_me=`$as_basename "$0" ||
   67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   68      X"$0" : 'X\(//\)$' \| \
   69      X"$0" : 'X\(/\)$' \| \
   70      .     : '\(.\)' 2>/dev/null ||
   71 echo X/"$0" |
   72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   73       /^X\/\(\/\/\)$/{ s//\1/; q; }
   74       /^X\/\(\/\).*/{ s//\1/; q; }
   75       s/.*/./; q'`
   76 
   77 
   78 # PATH needs CR, and LINENO needs CR and PATH.
   79 # Avoid depending upon Character Ranges.
   80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   83 as_cr_digits='0123456789'
   84 as_cr_alnum=$as_cr_Letters$as_cr_digits
   85 
   86 # The user is always right.
   87 if test "${PATH_SEPARATOR+set}" != set; then
   88   echo "#! /bin/sh" >conf$$.sh
   89   echo  "exit 0"   >>conf$$.sh
   90   chmod +x conf$$.sh
   91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   92     PATH_SEPARATOR=';'
   93   else
   94     PATH_SEPARATOR=:
   95   fi
   96   rm -f conf$$.sh
   97 fi
   98 
   99 
  100   as_lineno_1=$LINENO
  101   as_lineno_2=$LINENO
  102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  103   test "x$as_lineno_1" != "x$as_lineno_2" &&
  104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  105   # Find who we are.  Look in the path if we contain no path at all
  106   # relative or not.
  107   case $0 in
  108     *[\\/]* ) as_myself=$0 ;;
  109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  110 for as_dir in $PATH
  111 do
  112   IFS=$as_save_IFS
  113   test -z "$as_dir" && as_dir=.
  114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  115 done
  116 
  117        ;;
  118   esac
  119   # We did not find ourselves, most probably we were run as `sh COMMAND'
  120   # in which case we are not to be found in the path.
  121   if test "x$as_myself" = x; then
  122     as_myself=$0
  123   fi
  124   if test ! -f "$as_myself"; then
  125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  126    { (exit 1); exit 1; }; }
  127   fi
  128   case $CONFIG_SHELL in
  129   '')
  130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  132 do
  133   IFS=$as_save_IFS
  134   test -z "$as_dir" && as_dir=.
  135   for as_base in sh bash ksh sh5; do
  136      case $as_dir in
  137      /*)
  138        if ("$as_dir/$as_base" -c '
  139   as_lineno_1=$LINENO
  140   as_lineno_2=$LINENO
  141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  142   test "x$as_lineno_1" != "x$as_lineno_2" &&
  143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  144          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  145          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  146          CONFIG_SHELL=$as_dir/$as_base
  147          export CONFIG_SHELL
  148          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  149        fi;;
  150      esac
  151        done
  152 done
  153 ;;
  154   esac
  155 
  156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  157   # uniformly replaced by the line number.  The first 'sed' inserts a
  158   # line-number line before each line; the second 'sed' does the real
  159   # work.  The second script uses 'N' to pair each line-number line
  160   # with the numbered line, and appends trailing '-' during
  161   # substitution so that $LINENO is not a special case at line end.
  162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  164   sed '=' <$as_myself |
  165     sed '
  166       N
  167       s,$,-,
  168       : loop
  169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  170       t loop
  171       s,-$,,
  172       s,^['$as_cr_digits']*\n,,
  173     ' >$as_me.lineno &&
  174   chmod +x $as_me.lineno ||
  175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  176    { (exit 1); exit 1; }; }
  177 
  178   # Don't try to exec as it changes $[0], causing all sort of problems
  179   # (the dirname of $[0] is not the place where we might find the
  180   # original and so on.  Autoconf is especially sensible to this).
  181   . ./$as_me.lineno
  182   # Exit status is that of the last command.
  183   exit
  184 }
  185 
  186 
  187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  188   *c*,-n*) ECHO_N= ECHO_C='
  189 ' ECHO_T='  ' ;;
  190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  192 esac
  193 
  194 if expr a : '\(a\)' >/dev/null 2>&1; then
  195   as_expr=expr
  196 else
  197   as_expr=false
  198 fi
  199 
  200 rm -f conf$$ conf$$.exe conf$$.file
  201 echo >conf$$.file
  202 if ln -s conf$$.file conf$$ 2>/dev/null; then
  203   # We could just check for DJGPP; but this test a) works b) is more generic
  204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  205   if test -f conf$$.exe; then
  206     # Don't use ln at all; we don't have any links
  207     as_ln_s='cp -p'
  208   else
  209     as_ln_s='ln -s'
  210   fi
  211 elif ln conf$$.file conf$$ 2>/dev/null; then
  212   as_ln_s=ln
  213 else
  214   as_ln_s='cp -p'
  215 fi
  216 rm -f conf$$ conf$$.exe conf$$.file
  217 
  218 if mkdir -p . 2>/dev/null; then
  219   as_mkdir_p=:
  220 else
  221   test -d ./-p && rmdir ./-p
  222   as_mkdir_p=false
  223 fi
  224 
  225 as_executable_p="test -f"
  226 
  227 # Sed expression to map a string onto a valid CPP name.
  228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  229 
  230 # Sed expression to map a string onto a valid variable name.
  231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  232 
  233 
  234 # IFS
  235 # We need space, tab and new line, in precisely that order.
  236 as_nl='
  237 '
  238 IFS="   $as_nl"
  239 
  240 # CDPATH.
  241 $as_unset CDPATH
  242 
  243 
  244 
  245 # Check that we are running under the correct shell.
  246 SHELL=${CONFIG_SHELL-/bin/sh}
  247 
  248 case X$ECHO in
  249 X*--fallback-echo)
  250   # Remove one level of quotation (which was required for Make).
  251   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  252   ;;
  253 esac
  254 
  255 echo=${ECHO-echo}
  256 if test "X$1" = X--no-reexec; then
  257   # Discard the --no-reexec flag, and continue.
  258   shift
  259 elif test "X$1" = X--fallback-echo; then
  260   # Avoid inline document here, it may be left over
  261   :
  262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  263   # Yippee, $echo works!
  264   :
  265 else
  266   # Restart under the correct shell.
  267   exec $SHELL "$0" --no-reexec ${1+"$@"}
  268 fi
  269 
  270 if test "X$1" = X--fallback-echo; then
  271   # used as fallback echo
  272   shift
  273   cat <<EOF
  274 $*
  275 EOF
  276   exit 0
  277 fi
  278 
  279 # The HP-UX ksh and POSIX shell print the target directory to stdout
  280 # if CDPATH is set.
  281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  282 
  283 if test -z "$ECHO"; then
  284 if test "X${echo_test_string+set}" != Xset; then
  285 # find a string as large as possible, as long as the shell can cope with it
  286   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  287     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  288     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  289        echo_test_string=`eval $cmd` &&
  290        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  291     then
  292       break
  293     fi
  294   done
  295 fi
  296 
  297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  298    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  299    test "X$echo_testing_string" = "X$echo_test_string"; then
  300   :
  301 else
  302   # The Solaris, AIX, and Digital Unix default echo programs unquote
  303   # backslashes.  This makes it impossible to quote backslashes using
  304   #   echo "$something" | sed 's/\\/\\\\/g'
  305   #
  306   # So, first we look for a working echo in the user's PATH.
  307 
  308   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  309   for dir in $PATH /usr/ucb; do
  310     IFS="$lt_save_ifs"
  311     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  312        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  313        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  314        test "X$echo_testing_string" = "X$echo_test_string"; then
  315       echo="$dir/echo"
  316       break
  317     fi
  318   done
  319   IFS="$lt_save_ifs"
  320 
  321   if test "X$echo" = Xecho; then
  322     # We didn't find a better echo, so look for alternatives.
  323     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  324        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  325        test "X$echo_testing_string" = "X$echo_test_string"; then
  326       # This shell has a builtin print -r that does the trick.
  327       echo='print -r'
  328     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  329      test "X$CONFIG_SHELL" != X/bin/ksh; then
  330       # If we have ksh, try running configure again with it.
  331       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  332       export ORIGINAL_CONFIG_SHELL
  333       CONFIG_SHELL=/bin/ksh
  334       export CONFIG_SHELL
  335       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  336     else
  337       # Try using printf.
  338       echo='printf %s\n'
  339       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  340      echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  341      test "X$echo_testing_string" = "X$echo_test_string"; then
  342     # Cool, printf works
  343     :
  344       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  345        test "X$echo_testing_string" = 'X\t' &&
  346        echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  347        test "X$echo_testing_string" = "X$echo_test_string"; then
  348     CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  349     export CONFIG_SHELL
  350     SHELL="$CONFIG_SHELL"
  351     export SHELL
  352     echo="$CONFIG_SHELL $0 --fallback-echo"
  353       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  354        test "X$echo_testing_string" = 'X\t' &&
  355        echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  356        test "X$echo_testing_string" = "X$echo_test_string"; then
  357     echo="$CONFIG_SHELL $0 --fallback-echo"
  358       else
  359     # maybe with a smaller string...
  360     prev=:
  361 
  362     for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  363       if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  364       then
  365         break
  366       fi
  367       prev="$cmd"
  368     done
  369 
  370     if test "$prev" != 'sed 50q "$0"'; then
  371       echo_test_string=`eval $prev`
  372       export echo_test_string
  373       exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  374     else
  375       # Oops.  We lost completely, so just stick with echo.
  376       echo=echo
  377     fi
  378       fi
  379     fi
  380   fi
  381 fi
  382 fi
  383 
  384 # Copy echo and quote the copy suitably for passing to libtool from
  385 # the Makefile, instead of quoting the original, which is used later.
  386 ECHO=$echo
  387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  388    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  389 fi
  390 
  391 
  392 
  393 
  394 tagnames=${tagnames+${tagnames},}CXX
  395 
  396 tagnames=${tagnames+${tagnames},}F77
  397 
  398 # Name of the host.
  399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  400 # so uname gets run too.
  401 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  402 
  403 exec 6>&1
  404 
  405 #
  406 # Initializations.
  407 #
  408 ac_default_prefix=/usr/local
  409 ac_config_libobj_dir=.
  410 cross_compiling=no
  411 subdirs=
  412 MFLAGS=
  413 MAKEFLAGS=
  414 SHELL=${CONFIG_SHELL-/bin/sh}
  415 
  416 # Maximum number of lines to put in a shell here document.
  417 # This variable seems obsolete.  It should probably be removed, and
  418 # only ac_max_sed_lines should be used.
  419 : ${ac_max_here_lines=38}
  420 
  421 # Identity of this package.
  422 PACKAGE_NAME=
  423 PACKAGE_TARNAME=
  424 PACKAGE_VERSION=
  425 PACKAGE_STRING=
  426 PACKAGE_BUGREPORT=
  427 
  428 ac_unique_file="lib/mcrypt.c"
  429 ac_subdirs_all="$ac_subdirs_all libltdl"
  430 # Factoring default headers for most tests.
  431 ac_includes_default="\
  432 #include <stdio.h>
  433 #if HAVE_SYS_TYPES_H
  434 # include <sys/types.h>
  435 #endif
  436 #if HAVE_SYS_STAT_H
  437 # include <sys/stat.h>
  438 #endif
  439 #if STDC_HEADERS
  440 # include <stdlib.h>
  441 # include <stddef.h>
  442 #else
  443 # if HAVE_STDLIB_H
  444 #  include <stdlib.h>
  445 # endif
  446 #endif
  447 #if HAVE_STRING_H
  448 # if !STDC_HEADERS && HAVE_MEMORY_H
  449 #  include <memory.h>
  450 # endif
  451 # include <string.h>
  452 #endif
  453 #if HAVE_STRINGS_H
  454 # include <strings.h>
  455 #endif
  456 #if HAVE_INTTYPES_H
  457 # include <inttypes.h>
  458 #else
  459 # if HAVE_STDINT_H
  460 #  include <stdint.h>
  461 # endif
  462 #endif
  463 #if HAVE_UNISTD_H
  464 # include <unistd.h>
  465 #endif"
  466 
  467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S INCLTDL LIBLTDL LIBLTDL_DIR subdirs INSTALL_ALGORITHM_MODULES INSTALL_MODE_MODULES NOINSTALL_ALGORITHM_MODULES NOINSTALL_MODE_MODULES EXTRA_ALGOS EXTRA_OBJECTS LIBMCRYPT_MAJOR_VERSION LIBMCRYPT_MINOR_VERSION LIBMCRYPT_MICRO_VERSION LIBMCRYPT_VERSION LIBMCRYPT_MOST_RECENT_INTERFACE LIBMCRYPT_CURRENT_INTERFACE_IMPLEMENTATION_NUMBER LIBMCRYPT_OLDEST_INTERFACE LT_CURRENT LT_REVISION LT_AGE EGREP LIBOBJS SED ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS LIBMCRYPT_LIBS LIBMCRYPT_CFLAGS LTLIBOBJS'
  468 ac_subst_files=''
  469 
  470 # Initialize some variables set by options.
  471 ac_init_help=
  472 ac_init_version=false
  473 # The variables have the same names as the options, with
  474 # dashes changed to underlines.
  475 cache_file=/dev/null
  476 exec_prefix=NONE
  477 no_create=
  478 no_recursion=
  479 prefix=NONE
  480 program_prefix=NONE
  481 program_suffix=NONE
  482 program_transform_name=s,x,x,
  483 silent=
  484 site=
  485 srcdir=
  486 verbose=
  487 x_includes=NONE
  488 x_libraries=NONE
  489 
  490 # Installation directory options.
  491 # These are left unexpanded so users can "make install exec_prefix=/foo"
  492 # and all the variables that are supposed to be based on exec_prefix
  493 # by default will actually change.
  494 # Use braces instead of parens because sh, perl, etc. also accept them.
  495 bindir='${exec_prefix}/bin'
  496 sbindir='${exec_prefix}/sbin'
  497 libexecdir='${exec_prefix}/libexec'
  498 datadir='${prefix}/share'
  499 sysconfdir='${prefix}/etc'
  500 sharedstatedir='${prefix}/com'
  501 localstatedir='${prefix}/var'
  502 libdir='${exec_prefix}/lib'
  503 includedir='${prefix}/include'
  504 oldincludedir='/usr/include'
  505 infodir='${prefix}/info'
  506 mandir='${prefix}/man'
  507 
  508 ac_prev=
  509 for ac_option
  510 do
  511   # If the previous option needs an argument, assign it.
  512   if test -n "$ac_prev"; then
  513     eval "$ac_prev=\$ac_option"
  514     ac_prev=
  515     continue
  516   fi
  517 
  518   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  519 
  520   # Accept the important Cygnus configure options, so we can diagnose typos.
  521 
  522   case $ac_option in
  523 
  524   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  525     ac_prev=bindir ;;
  526   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  527     bindir=$ac_optarg ;;
  528 
  529   -build | --build | --buil | --bui | --bu)
  530     ac_prev=build_alias ;;
  531   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  532     build_alias=$ac_optarg ;;
  533 
  534   -cache-file | --cache-file | --cache-fil | --cache-fi \
  535   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  536     ac_prev=cache_file ;;
  537   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  538   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  539     cache_file=$ac_optarg ;;
  540 
  541   --config-cache | -C)
  542     cache_file=config.cache ;;
  543 
  544   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  545     ac_prev=datadir ;;
  546   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  547   | --da=*)
  548     datadir=$ac_optarg ;;
  549 
  550   -disable-* | --disable-*)
  551     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  552     # Reject names that are not valid shell variable names.
  553     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  554       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  555    { (exit 1); exit 1; }; }
  556     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  557     eval "enable_$ac_feature=no" ;;
  558 
  559   -enable-* | --enable-*)
  560     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  561     # Reject names that are not valid shell variable names.
  562     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  563       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  564    { (exit 1); exit 1; }; }
  565     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  566     case $ac_option in
  567       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  568       *) ac_optarg=yes ;;
  569     esac
  570     eval "enable_$ac_feature='$ac_optarg'" ;;
  571 
  572   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  573   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  574   | --exec | --exe | --ex)
  575     ac_prev=exec_prefix ;;
  576   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  577   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  578   | --exec=* | --exe=* | --ex=*)
  579     exec_prefix=$ac_optarg ;;
  580 
  581   -gas | --gas | --ga | --g)
  582     # Obsolete; use --with-gas.
  583     with_gas=yes ;;
  584 
  585   -help | --help | --hel | --he | -h)
  586     ac_init_help=long ;;
  587   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  588     ac_init_help=recursive ;;
  589   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  590     ac_init_help=short ;;
  591 
  592   -host | --host | --hos | --ho)
  593     ac_prev=host_alias ;;
  594   -host=* | --host=* | --hos=* | --ho=*)
  595     host_alias=$ac_optarg ;;
  596 
  597   -includedir | --includedir | --includedi | --included | --include \
  598   | --includ | --inclu | --incl | --inc)
  599     ac_prev=includedir ;;
  600   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  601   | --includ=* | --inclu=* | --incl=* | --inc=*)
  602     includedir=$ac_optarg ;;
  603 
  604   -infodir | --infodir | --infodi | --infod | --info | --inf)
  605     ac_prev=infodir ;;
  606   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  607     infodir=$ac_optarg ;;
  608 
  609   -libdir | --libdir | --libdi | --libd)
  610     ac_prev=libdir ;;
  611   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  612     libdir=$ac_optarg ;;
  613 
  614   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  615   | --libexe | --libex | --libe)
  616     ac_prev=libexecdir ;;
  617   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  618   | --libexe=* | --libex=* | --libe=*)
  619     libexecdir=$ac_optarg ;;
  620 
  621   -localstatedir | --localstatedir | --localstatedi | --localstated \
  622   | --localstate | --localstat | --localsta | --localst \
  623   | --locals | --local | --loca | --loc | --lo)
  624     ac_prev=localstatedir ;;
  625   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  626   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  627   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  628     localstatedir=$ac_optarg ;;
  629 
  630   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  631     ac_prev=mandir ;;
  632   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  633     mandir=$ac_optarg ;;
  634 
  635   -nfp | --nfp | --nf)
  636     # Obsolete; use --without-fp.
  637     with_fp=no ;;
  638 
  639   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  640   | --no-cr | --no-c | -n)
  641     no_create=yes ;;
  642 
  643   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  644   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  645     no_recursion=yes ;;
  646 
  647   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  648   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  649   | --oldin | --oldi | --old | --ol | --o)
  650     ac_prev=oldincludedir ;;
  651   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  652   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  653   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  654     oldincludedir=$ac_optarg ;;
  655 
  656   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  657     ac_prev=prefix ;;
  658   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  659     prefix=$ac_optarg ;;
  660 
  661   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  662   | --program-pre | --program-pr | --program-p)
  663     ac_prev=program_prefix ;;
  664   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  665   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  666     program_prefix=$ac_optarg ;;
  667 
  668   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  669   | --program-suf | --program-su | --program-s)
  670     ac_prev=program_suffix ;;
  671   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  672   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  673     program_suffix=$ac_optarg ;;
  674 
  675   -program-transform-name | --program-transform-name \
  676   | --program-transform-nam | --program-transform-na \
  677   | --program-transform-n | --program-transform- \
  678   | --program-transform | --program-transfor \
  679   | --program-transfo | --program-transf \
  680   | --program-trans | --program-tran \
  681   | --progr-tra | --program-tr | --program-t)
  682     ac_prev=program_transform_name ;;
  683   -program-transform-name=* | --program-transform-name=* \
  684   | --program-transform-nam=* | --program-transform-na=* \
  685   | --program-transform-n=* | --program-transform-=* \
  686   | --program-transform=* | --program-transfor=* \
  687   | --program-transfo=* | --program-transf=* \
  688   | --program-trans=* | --program-tran=* \
  689   | --progr-tra=* | --program-tr=* | --program-t=*)
  690     program_transform_name=$ac_optarg ;;
  691 
  692   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  693   | -silent | --silent | --silen | --sile | --sil)
  694     silent=yes ;;
  695 
  696   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  697     ac_prev=sbindir ;;
  698   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  699   | --sbi=* | --sb=*)
  700     sbindir=$ac_optarg ;;
  701 
  702   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  703   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  704   | --sharedst | --shareds | --shared | --share | --shar \
  705   | --sha | --sh)
  706     ac_prev=sharedstatedir ;;
  707   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  708   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  709   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  710   | --sha=* | --sh=*)
  711     sharedstatedir=$ac_optarg ;;
  712 
  713   -site | --site | --sit)
  714     ac_prev=site ;;
  715   -site=* | --site=* | --sit=*)
  716     site=$ac_optarg ;;
  717 
  718   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  719     ac_prev=srcdir ;;
  720   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  721     srcdir=$ac_optarg ;;
  722 
  723   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  724   | --syscon | --sysco | --sysc | --sys | --sy)
  725     ac_prev=sysconfdir ;;
  726   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  727   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  728     sysconfdir=$ac_optarg ;;
  729 
  730   -target | --target | --targe | --targ | --tar | --ta | --t)
  731     ac_prev=target_alias ;;
  732   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  733     target_alias=$ac_optarg ;;
  734 
  735   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  736     verbose=yes ;;
  737 
  738   -version | --version | --versio | --versi | --vers | -V)
  739     ac_init_version=: ;;
  740 
  741   -with-* | --with-*)
  742     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  743     # Reject names that are not valid shell variable names.
  744     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  745       { echo "$as_me: error: invalid package name: $ac_package" >&2
  746    { (exit 1); exit 1; }; }
  747     ac_package=`echo $ac_package| sed 's/-/_/g'`
  748     case $ac_option in
  749       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  750       *) ac_optarg=yes ;;
  751     esac
  752     eval "with_$ac_package='$ac_optarg'" ;;
  753 
  754   -without-* | --without-*)
  755     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  756     # Reject names that are not valid shell variable names.
  757     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  758       { echo "$as_me: error: invalid package name: $ac_package" >&2
  759    { (exit 1); exit 1; }; }
  760     ac_package=`echo $ac_package | sed 's/-/_/g'`
  761     eval "with_$ac_package=no" ;;
  762 
  763   --x)
  764     # Obsolete; use --with-x.
  765     with_x=yes ;;
  766 
  767   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  768   | --x-incl | --x-inc | --x-in | --x-i)
  769     ac_prev=x_includes ;;
  770   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  771   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  772     x_includes=$ac_optarg ;;
  773 
  774   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  775   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  776     ac_prev=x_libraries ;;
  777   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  778   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  779     x_libraries=$ac_optarg ;;
  780 
  781   -*) { echo "$as_me: error: unrecognized option: $ac_option
  782 Try \`$0 --help' for more information." >&2
  783    { (exit 1); exit 1; }; }
  784     ;;
  785 
  786   *=*)
  787     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  788     # Reject names that are not valid shell variable names.
  789     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  790       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  791    { (exit 1); exit 1; }; }
  792     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  793     eval "$ac_envvar='$ac_optarg'"
  794     export $ac_envvar ;;
  795 
  796   *)
  797     # FIXME: should be removed in autoconf 3.0.
  798     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  799     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  800       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  801     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  802     ;;
  803 
  804   esac
  805 done
  806 
  807 if test -n "$ac_prev"; then
  808   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  809   { echo "$as_me: error: missing argument to $ac_option" >&2
  810    { (exit 1); exit 1; }; }
  811 fi
  812 
  813 # Be sure to have absolute paths.
  814 for ac_var in exec_prefix prefix
  815 do
  816   eval ac_val=$`echo $ac_var`
  817   case $ac_val in
  818     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  819     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  820    { (exit 1); exit 1; }; };;
  821   esac
  822 done
  823 
  824 # Be sure to have absolute paths.
  825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  826           localstatedir libdir includedir oldincludedir infodir mandir
  827 do
  828   eval ac_val=$`echo $ac_var`
  829   case $ac_val in
  830     [\\/$]* | ?:[\\/]* ) ;;
  831     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  832    { (exit 1); exit 1; }; };;
  833   esac
  834 done
  835 
  836 # There might be people who depend on the old broken behavior: `$host'
  837 # used to hold the argument of --host etc.
  838 # FIXME: To remove some day.
  839 build=$build_alias
  840 host=$host_alias
  841 target=$target_alias
  842 
  843 # FIXME: To remove some day.
  844 if test "x$host_alias" != x; then
  845   if test "x$build_alias" = x; then
  846     cross_compiling=maybe
  847     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  848     If a cross compiler is detected then cross compile mode will be used." >&2
  849   elif test "x$build_alias" != "x$host_alias"; then
  850     cross_compiling=yes
  851   fi
  852 fi
  853 
  854 ac_tool_prefix=
  855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  856 
  857 test "$silent" = yes && exec 6>/dev/null
  858 
  859 
  860 # Find the source files, if location was not specified.
  861 if test -z "$srcdir"; then
  862   ac_srcdir_defaulted=yes
  863   # Try the directory containing this script, then its parent.
  864   ac_confdir=`(dirname "$0") 2>/dev/null ||
  865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  866      X"$0" : 'X\(//\)[^/]' \| \
  867      X"$0" : 'X\(//\)$' \| \
  868      X"$0" : 'X\(/\)' \| \
  869      .     : '\(.\)' 2>/dev/null ||
  870 echo X"$0" |
  871     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  872       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  873       /^X\(\/\/\)$/{ s//\1/; q; }
  874       /^X\(\/\).*/{ s//\1/; q; }
  875       s/.*/./; q'`
  876   srcdir=$ac_confdir
  877   if test ! -r $srcdir/$ac_unique_file; then
  878     srcdir=..
  879   fi
  880 else
  881   ac_srcdir_defaulted=no
  882 fi
  883 if test ! -r $srcdir/$ac_unique_file; then
  884   if test "$ac_srcdir_defaulted" = yes; then
  885     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  886    { (exit 1); exit 1; }; }
  887   else
  888     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  889    { (exit 1); exit 1; }; }
  890   fi
  891 fi
  892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  893   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  894    { (exit 1); exit 1; }; }
  895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  896 ac_env_build_alias_set=${build_alias+set}
  897 ac_env_build_alias_value=$build_alias
  898 ac_cv_env_build_alias_set=${build_alias+set}
  899 ac_cv_env_build_alias_value=$build_alias
  900 ac_env_host_alias_set=${host_alias+set}
  901 ac_env_host_alias_value=$host_alias
  902 ac_cv_env_host_alias_set=${host_alias+set}
  903 ac_cv_env_host_alias_value=$host_alias
  904 ac_env_target_alias_set=${target_alias+set}
  905 ac_env_target_alias_value=$target_alias
  906 ac_cv_env_target_alias_set=${target_alias+set}
  907 ac_cv_env_target_alias_value=$target_alias
  908 ac_env_CXX_set=${CXX+set}
  909 ac_env_CXX_value=$CXX
  910 ac_cv_env_CXX_set=${CXX+set}
  911 ac_cv_env_CXX_value=$CXX
  912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  913 ac_env_CXXFLAGS_value=$CXXFLAGS
  914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  916 ac_env_LDFLAGS_set=${LDFLAGS+set}
  917 ac_env_LDFLAGS_value=$LDFLAGS
  918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  919 ac_cv_env_LDFLAGS_value=$LDFLAGS
  920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  921 ac_env_CPPFLAGS_value=$CPPFLAGS
  922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  924 ac_env_CC_set=${CC+set}
  925 ac_env_CC_value=$CC
  926 ac_cv_env_CC_set=${CC+set}
  927 ac_cv_env_CC_value=$CC
  928 ac_env_CFLAGS_set=${CFLAGS+set}
  929 ac_env_CFLAGS_value=$CFLAGS
  930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
  931 ac_cv_env_CFLAGS_value=$CFLAGS
  932 ac_env_CPP_set=${CPP+set}
  933 ac_env_CPP_value=$CPP
  934 ac_cv_env_CPP_set=${CPP+set}
  935 ac_cv_env_CPP_value=$CPP
  936 ac_env_CXXCPP_set=${CXXCPP+set}
  937 ac_env_CXXCPP_value=$CXXCPP
  938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
  939 ac_cv_env_CXXCPP_value=$CXXCPP
  940 ac_env_F77_set=${F77+set}
  941 ac_env_F77_value=$F77
  942 ac_cv_env_F77_set=${F77+set}
  943 ac_cv_env_F77_value=$F77
  944 ac_env_FFLAGS_set=${FFLAGS+set}
  945 ac_env_FFLAGS_value=$FFLAGS
  946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
  947 ac_cv_env_FFLAGS_value=$FFLAGS
  948 
  949 #
  950 # Report the --help message.
  951 #
  952 if test "$ac_init_help" = "long"; then
  953   # Omit some internal or obsolete options to make the list less imposing.
  954   # This message is too long to be a string in the A/UX 3.1 sh.
  955   cat <<_ACEOF
  956 \`configure' configures this package to adapt to many kinds of systems.
  957 
  958 Usage: $0 [OPTION]... [VAR=VALUE]...
  959 
  960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  961 VAR=VALUE.  See below for descriptions of some of the useful variables.
  962 
  963 Defaults for the options are specified in brackets.
  964 
  965 Configuration:
  966   -h, --help              display this help and exit
  967       --help=short        display options specific to this package
  968       --help=recursive    display the short help of all the included packages
  969   -V, --version           display version information and exit
  970   -q, --quiet, --silent   do not print \`checking...' messages
  971       --cache-file=FILE   cache test results in FILE [disabled]
  972   -C, --config-cache      alias for \`--cache-file=config.cache'
  973   -n, --no-create         do not create output files
  974       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  975 
  976 _ACEOF
  977 
  978   cat <<_ACEOF
  979 Installation directories:
  980   --prefix=PREFIX         install architecture-independent files in PREFIX
  981               [$ac_default_prefix]
  982   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  983               [PREFIX]
  984 
  985 By default, \`make install' will install all the files in
  986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  988 for instance \`--prefix=\$HOME'.
  989 
  990 For better control, use the options below.
  991 
  992 Fine tuning of the installation directories:
  993   --bindir=DIR           user executables [EPREFIX/bin]
  994   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  995   --libexecdir=DIR       program executables [EPREFIX/libexec]
  996   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  997   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  998   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  999   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 1000   --libdir=DIR           object code libraries [EPREFIX/lib]
 1001   --includedir=DIR       C header files [PREFIX/include]
 1002   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 1003   --infodir=DIR          info documentation [PREFIX/info]
 1004   --mandir=DIR           man documentation [PREFIX/man]
 1005 _ACEOF
 1006 
 1007   cat <<\_ACEOF
 1008 
 1009 Program names:
 1010   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1011   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1012   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1013 
 1014 System types:
 1015   --build=BUILD     configure for building on BUILD [guessed]
 1016   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1017   --target=TARGET   configure for building compilers for TARGET [HOST]
 1018 _ACEOF
 1019 fi
 1020 
 1021 if test -n "$ac_init_help"; then
 1022 
 1023   cat <<\_ACEOF
 1024 
 1025 Optional Features:
 1026   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1027   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1028   --enable-maintainer-mode  enable make rules and dependencies not useful
 1029               (and sometimes confusing) to the casual installer
 1030   --disable-dependency-tracking  speeds up one-time build
 1031   --enable-dependency-tracking   do not reject slow dependency extractors
 1032   --enable-maintainer-mode enable maintainer mode
 1033   --enable-dmalloc-mode enable dmalloc mode
 1034   --enable-dynamic-loading   enable dynamic module loading
 1035   --enable-static[=PKGS]
 1036                           build static libraries [default=no]
 1037   --enable-shared[=PKGS]
 1038                           build shared libraries [default=yes]
 1039   --enable-fast-install[=PKGS]
 1040                           optimize for fast installation [default=yes]
 1041   --disable-libtool-lock  avoid locking (might break parallel builds)
 1042 
 1043 Optional Packages:
 1044   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1045   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1046   --with-included-algos=algo1,algo2,... include algorithms/modes into the library
 1047   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1048   --with-pic              try to use only PIC/non-PIC objects [default=use
 1049                           both]
 1050   --with-tags[=TAGS]
 1051                           include additional configurations [automatic]
 1052 
 1053 Some influential environment variables:
 1054   CXX         C++ compiler command
 1055   CXXFLAGS    C++ compiler flags
 1056   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1057               nonstandard directory <lib dir>
 1058   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
 1059               headers in a nonstandard directory <include dir>
 1060   CC          C compiler command
 1061   CFLAGS      C compiler flags
 1062   CPP         C preprocessor
 1063   CXXCPP      C++ preprocessor
 1064   F77         Fortran 77 compiler command
 1065   FFLAGS      Fortran 77 compiler flags
 1066 
 1067 Use these variables to override the choices made by `configure' or to help
 1068 it to find libraries and programs with nonstandard names/locations.
 1069 
 1070 _ACEOF
 1071 fi
 1072 
 1073 if test "$ac_init_help" = "recursive"; then
 1074   # If there are subdirs, report their specific --help.
 1075   ac_popdir=`pwd`
 1076   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1077     test -d $ac_dir || continue
 1078     ac_builddir=.
 1079 
 1080 if test "$ac_dir" != .; then
 1081   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1082   # A "../" for each directory in $ac_dir_suffix.
 1083   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 1084 else
 1085   ac_dir_suffix= ac_top_builddir=
 1086 fi
 1087 
 1088 case $srcdir in
 1089   .)  # No --srcdir option.  We are building in place.
 1090     ac_srcdir=.
 1091     if test -z "$ac_top_builddir"; then
 1092        ac_top_srcdir=.
 1093     else
 1094        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 1095     fi ;;
 1096   [\\/]* | ?:[\\/]* )  # Absolute path.
 1097     ac_srcdir=$srcdir$ac_dir_suffix;
 1098     ac_top_srcdir=$srcdir ;;
 1099   *) # Relative path.
 1100     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 1101     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 1102 esac
 1103 
 1104 # Do not use `cd foo && pwd` to compute absolute paths, because
 1105 # the directories may not exist.
 1106 case `pwd` in
 1107 .) ac_abs_builddir="$ac_dir";;
 1108 *)
 1109   case "$ac_dir" in
 1110   .) ac_abs_builddir=`pwd`;;
 1111   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 1112   *) ac_abs_builddir=`pwd`/"$ac_dir";;
 1113   esac;;
 1114 esac
 1115 case $ac_abs_builddir in
 1116 .) ac_abs_top_builddir=${ac_top_builddir}.;;
 1117 *)
 1118   case ${ac_top_builddir}. in
 1119   .) ac_abs_top_builddir=$ac_abs_builddir;;
 1120   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 1121   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 1122   esac;;
 1123 esac
 1124 case $ac_abs_builddir in
 1125 .) ac_abs_srcdir=$ac_srcdir;;
 1126 *)
 1127   case $ac_srcdir in
 1128   .) ac_abs_srcdir=$ac_abs_builddir;;
 1129   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 1130   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 1131   esac;;
 1132 esac
 1133 case $ac_abs_builddir in
 1134 .) ac_abs_top_srcdir=$ac_top_srcdir;;
 1135 *)
 1136   case $ac_top_srcdir in
 1137   .) ac_abs_top_srcdir=$ac_abs_builddir;;
 1138   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 1139   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 1140   esac;;
 1141 esac
 1142 
 1143     cd $ac_dir
 1144     # Check for guested configure; otherwise get Cygnus style configure.
 1145     if test -f $ac_srcdir/configure.gnu; then
 1146       echo
 1147       $SHELL $ac_srcdir/configure.gnu  --help=recursive
 1148     elif test -f $ac_srcdir/configure; then
 1149       echo
 1150       $SHELL $ac_srcdir/configure  --help=recursive
 1151     elif test -f $ac_srcdir/configure.ac ||
 1152        test -f $ac_srcdir/configure.in; then
 1153       echo
 1154       $ac_configure --help
 1155     else
 1156       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1157     fi
 1158     cd $ac_popdir
 1159   done
 1160 fi
 1161 
 1162 test -n "$ac_init_help" && exit 0
 1163 if $ac_init_version; then
 1164   cat <<\_ACEOF
 1165 
 1166 Copyright (C) 2003 Free Software Foundation, Inc.
 1167 This configure script is free software; the Free Software Foundation
 1168 gives unlimited permission to copy, distribute and modify it.
 1169 _ACEOF
 1170   exit 0
 1171 fi
 1172 exec 5>config.log
 1173 cat >&5 <<_ACEOF
 1174 This file contains any messages produced by compilers while
 1175 running configure, to aid debugging if configure makes a mistake.
 1176 
 1177 It was created by $as_me, which was
 1178 generated by GNU Autoconf 2.59.  Invocation command line was
 1179 
 1180   $ $0 $@
 1181 
 1182 _ACEOF
 1183 {
 1184 cat <<_ASUNAME
 1185 ## --------- ##
 1186 ## Platform. ##
 1187 ## --------- ##
 1188 
 1189 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1190 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1191 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1192 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1193 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1194 
 1195 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1196 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1197 
 1198 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1199 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1200 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1201 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 1202 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1203 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1204 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1205 
 1206 _ASUNAME
 1207 
 1208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1209 for as_dir in $PATH
 1210 do
 1211   IFS=$as_save_IFS
 1212   test -z "$as_dir" && as_dir=.
 1213   echo "PATH: $as_dir"
 1214 done
 1215 
 1216 } >&5
 1217 
 1218 cat >&5 <<_ACEOF
 1219 
 1220 
 1221 ## ----------- ##
 1222 ## Core tests. ##
 1223 ## ----------- ##
 1224 
 1225 _ACEOF
 1226 
 1227 
 1228 # Keep a trace of the command line.
 1229 # Strip out --no-create and --no-recursion so they do not pile up.
 1230 # Strip out --silent because we don't want to record it for future runs.
 1231 # Also quote any args containing shell meta-characters.
 1232 # Make two passes to allow for proper duplicate-argument suppression.
 1233 ac_configure_args=
 1234 ac_configure_args0=
 1235 ac_configure_args1=
 1236 ac_sep=
 1237 ac_must_keep_next=false
 1238 for ac_pass in 1 2
 1239 do
 1240   for ac_arg
 1241   do
 1242     case $ac_arg in
 1243     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1244     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1245     | -silent | --silent | --silen | --sile | --sil)
 1246       continue ;;
 1247     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1248       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1249     esac
 1250     case $ac_pass in
 1251     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1252     2)
 1253       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1254       if test $ac_must_keep_next = true; then
 1255     ac_must_keep_next=false # Got value, back to normal.
 1256       else
 1257     case $ac_arg in
 1258       *=* | --config-cache | -C | -disable-* | --disable-* \
 1259       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1260       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1261       | -with-* | --with-* | -without-* | --without-* | --x)
 1262         case "$ac_configure_args0 " in
 1263           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1264         esac
 1265         ;;
 1266       -* ) ac_must_keep_next=true ;;
 1267     esac
 1268       fi
 1269       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 1270       # Get rid of the leading space.
 1271       ac_sep=" "
 1272       ;;
 1273     esac
 1274   done
 1275 done
 1276 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1277 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1278 
 1279 # When interrupted or exit'd, cleanup temporary files, and complete
 1280 # config.log.  We remove comments because anyway the quotes in there
 1281 # would cause problems or look ugly.
 1282 # WARNING: Be sure not to use single quotes in there, as some shells,
 1283 # such as our DU 5.0 friend, will then `close' the trap.
 1284 trap 'exit_status=$?
 1285   # Save into config.log some information that might help in debugging.
 1286   {
 1287     echo
 1288 
 1289     cat <<\_ASBOX
 1290 ## ---------------- ##
 1291 ## Cache variables. ##
 1292 ## ---------------- ##
 1293 _ASBOX
 1294     echo
 1295     # The following way of writing the cache mishandles newlines in values,
 1296 {
 1297   (set) 2>&1 |
 1298     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 1299     *ac_space=\ *)
 1300       sed -n \
 1301     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 1302       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 1303       ;;
 1304     *)
 1305       sed -n \
 1306     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 1307       ;;
 1308     esac;
 1309 }
 1310     echo
 1311 
 1312     cat <<\_ASBOX
 1313 ## ----------------- ##
 1314 ## Output variables. ##
 1315 ## ----------------- ##
 1316 _ASBOX
 1317     echo
 1318     for ac_var in $ac_subst_vars
 1319     do
 1320       eval ac_val=$`echo $ac_var`
 1321       echo "$ac_var='"'"'$ac_val'"'"'"
 1322     done | sort
 1323     echo
 1324 
 1325     if test -n "$ac_subst_files"; then
 1326       cat <<\_ASBOX
 1327 ## ------------- ##
 1328 ## Output files. ##
 1329 ## ------------- ##
 1330 _ASBOX
 1331       echo
 1332       for ac_var in $ac_subst_files
 1333       do
 1334     eval ac_val=$`echo $ac_var`
 1335     echo "$ac_var='"'"'$ac_val'"'"'"
 1336       done | sort
 1337       echo
 1338     fi
 1339 
 1340     if test -s confdefs.h; then
 1341       cat <<\_ASBOX
 1342 ## ----------- ##
 1343 ## confdefs.h. ##
 1344 ## ----------- ##
 1345 _ASBOX
 1346       echo
 1347       sed "/^$/d" confdefs.h | sort
 1348       echo
 1349     fi
 1350     test "$ac_signal" != 0 &&
 1351       echo "$as_me: caught signal $ac_signal"
 1352     echo "$as_me: exit $exit_status"
 1353   } >&5
 1354   rm -f core *.core &&
 1355   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 1356     exit $exit_status
 1357      ' 0
 1358 for ac_signal in 1 2 13 15; do
 1359   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1360 done
 1361 ac_signal=0
 1362 
 1363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1364 rm -rf conftest* confdefs.h
 1365 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1366 echo >confdefs.h
 1367 
 1368 # Predefined preprocessor variables.
 1369 
 1370 cat >>confdefs.h <<_ACEOF
 1371 #define PACKAGE_NAME "$PACKAGE_NAME"
 1372 _ACEOF
 1373 
 1374 
 1375 cat >>confdefs.h <<_ACEOF
 1376 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1377 _ACEOF
 1378 
 1379 
 1380 cat >>confdefs.h <<_ACEOF
 1381 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1382 _ACEOF
 1383 
 1384 
 1385 cat >>confdefs.h <<_ACEOF
 1386 #define PACKAGE_STRING "$PACKAGE_STRING"
 1387 _ACEOF
 1388 
 1389 
 1390 cat >>confdefs.h <<_ACEOF
 1391 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1392 _ACEOF
 1393 
 1394 
 1395 # Let the site file select an alternate cache file if it wants to.
 1396 # Prefer explicitly selected file to automatically selected ones.
 1397 if test -z "$CONFIG_SITE"; then
 1398   if test "x$prefix" != xNONE; then
 1399     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1400   else
 1401     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1402   fi
 1403 fi
 1404 for ac_site_file in $CONFIG_SITE; do
 1405   if test -r "$ac_site_file"; then
 1406     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1407 echo "$as_me: loading site script $ac_site_file" >&6;}
 1408     sed 's/^/| /' "$ac_site_file" >&5
 1409     . "$ac_site_file"
 1410   fi
 1411 done
 1412 
 1413 if test -r "$cache_file"; then
 1414   # Some versions of bash will fail to source /dev/null (special
 1415   # files actually), so we avoid doing that.
 1416   if test -f "$cache_file"; then
 1417     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1418 echo "$as_me: loading cache $cache_file" >&6;}
 1419     case $cache_file in
 1420       [\\/]* | ?:[\\/]* ) . $cache_file;;
 1421       *)                      . ./$cache_file;;
 1422     esac
 1423   fi
 1424 else
 1425   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1426 echo "$as_me: creating cache $cache_file" >&6;}
 1427   >$cache_file
 1428 fi
 1429 
 1430 # Check that the precious variables saved in the cache have kept the same
 1431 # value.
 1432 ac_cache_corrupted=false
 1433 for ac_var in `(set) 2>&1 |
 1434            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1435   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1436   eval ac_new_set=\$ac_env_${ac_var}_set
 1437   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1438   eval ac_new_val="\$ac_env_${ac_var}_value"
 1439   case $ac_old_set,$ac_new_set in
 1440     set,)
 1441       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1442 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1443       ac_cache_corrupted=: ;;
 1444     ,set)
 1445       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1446 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1447       ac_cache_corrupted=: ;;
 1448     ,);;
 1449     *)
 1450       if test "x$ac_old_val" != "x$ac_new_val"; then
 1451     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1452 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1453     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1454 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1455     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1456 echo "$as_me:   current value: $ac_new_val" >&2;}
 1457     ac_cache_corrupted=:
 1458       fi;;
 1459   esac
 1460   # Pass precious variables to config.status.
 1461   if test "$ac_new_set" = set; then
 1462     case $ac_new_val in
 1463     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1464       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1465     *) ac_arg=$ac_var=$ac_new_val ;;
 1466     esac
 1467     case " $ac_configure_args " in
 1468       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1469       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1470     esac
 1471   fi
 1472 done
 1473 if $ac_cache_corrupted; then
 1474   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1475 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1476   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1477 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1478    { (exit 1); exit 1; }; }
 1479 fi
 1480 
 1481 ac_ext=c
 1482 ac_cpp='$CPP $CPPFLAGS'
 1483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1486 
 1487 
 1488 
 1489 
 1490 
 1491 
 1492 
 1493 
 1494 
 1495 
 1496 
 1497 
 1498 
 1499 
 1500 
 1501 
 1502 
 1503 
 1504 
 1505 
 1506 LIBMCRYPT_MAJOR_VERSION=2
 1507 LIBMCRYPT_MINOR_VERSION=5
 1508 LIBMCRYPT_MICRO_VERSION=8
 1509 LIBMCRYPT_VERSION=$LIBMCRYPT_MAJOR_VERSION.$LIBMCRYPT_MINOR_VERSION.$LIBMCRYPT_MICRO_VERSION
 1510 
 1511 LIBMCRYPT_MOST_RECENT_INTERFACE=8
 1512 LIBMCRYPT_CURRENT_INTERFACE_IMPLEMENTATION_NUMBER=$LIBMCRYPT_MICRO_VERSION
 1513 LIBMCRYPT_OLDEST_INTERFACE=4
 1514 
 1515 ac_aux_dir=
 1516 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 1517   if test -f $ac_dir/install-sh; then
 1518     ac_aux_dir=$ac_dir
 1519     ac_install_sh="$ac_aux_dir/install-sh -c"
 1520     break
 1521   elif test -f $ac_dir/install.sh; then
 1522     ac_aux_dir=$ac_dir
 1523     ac_install_sh="$ac_aux_dir/install.sh -c"
 1524     break
 1525   elif test -f $ac_dir/shtool; then
 1526     ac_aux_dir=$ac_dir
 1527     ac_install_sh="$ac_aux_dir/shtool install -c"
 1528     break
 1529   fi
 1530 done
 1531 if test -z "$ac_aux_dir"; then
 1532   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 1533 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 1534    { (exit 1); exit 1; }; }
 1535 fi
 1536 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 1537 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 1538 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 1539 
 1540 # Make sure we can run config.sub.
 1541 $ac_config_sub sun4 >/dev/null 2>&1 ||
 1542   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
 1543 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 1544    { (exit 1); exit 1; }; }
 1545 
 1546 echo "$as_me:$LINENO: checking build system type" >&5
 1547 echo $ECHO_N "checking build system type... $ECHO_C" >&6
 1548 if test "${ac_cv_build+set}" = set; then
 1549   echo $ECHO_N "(cached) $ECHO_C" >&6
 1550 else
 1551   ac_cv_build_alias=$build_alias
 1552 test -z "$ac_cv_build_alias" &&
 1553   ac_cv_build_alias=`$ac_config_guess`
 1554 test -z "$ac_cv_build_alias" &&
 1555   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 1556 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 1557    { (exit 1); exit 1; }; }
 1558 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
 1559   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
 1560 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 1561    { (exit 1); exit 1; }; }
 1562 
 1563 fi
 1564 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 1565 echo "${ECHO_T}$ac_cv_build" >&6
 1566 build=$ac_cv_build
 1567 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1568 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1569 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1570 
 1571 
 1572 echo "$as_me:$LINENO: checking host system type" >&5
 1573 echo $ECHO_N "checking host system type... $ECHO_C" >&6
 1574 if test "${ac_cv_host+set}" = set; then
 1575   echo $ECHO_N "(cached) $ECHO_C" >&6
 1576 else
 1577   ac_cv_host_alias=$host_alias
 1578 test -z "$ac_cv_host_alias" &&
 1579   ac_cv_host_alias=$ac_cv_build_alias
 1580 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
 1581   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
 1582 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 1583    { (exit 1); exit 1; }; }
 1584 
 1585 fi
 1586 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 1587 echo "${ECHO_T}$ac_cv_host" >&6
 1588 host=$ac_cv_host
 1589 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1590 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1591 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1592 
 1593 
 1594 echo "$as_me:$LINENO: checking target system type" >&5
 1595 echo $ECHO_N "checking target system type... $ECHO_C" >&6
 1596 if test "${ac_cv_target+set}" = set; then
 1597   echo $ECHO_N "(cached) $ECHO_C" >&6
 1598 else
 1599   ac_cv_target_alias=$target_alias
 1600 test "x$ac_cv_target_alias" = "x" &&
 1601   ac_cv_target_alias=$ac_cv_host_alias
 1602 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
 1603   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
 1604 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 1605    { (exit 1); exit 1; }; }
 1606 
 1607 fi
 1608 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 1609 echo "${ECHO_T}$ac_cv_target" >&6
 1610 target=$ac_cv_target
 1611 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 1612 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 1613 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 1614 
 1615 
 1616 # The aliases save the names the user supplied, while $host etc.
 1617 # will get canonicalized.
 1618 test -n "$target_alias" &&
 1619   test "$program_prefix$program_suffix$program_transform_name" = \
 1620     NONENONEs,x,x, &&
 1621   program_prefix=${target_alias}-
 1622 am__api_version="1.9"
 1623 # Find a good install program.  We prefer a C program (faster),
 1624 # so one script is as good as another.  But avoid the broken or
 1625 # incompatible versions:
 1626 # SysV /etc/install, /usr/sbin/install
 1627 # SunOS /usr/etc/install
 1628 # IRIX /sbin/install
 1629 # AIX /bin/install
 1630 # AmigaOS /C/install, which installs bootblocks on floppy discs
 1631 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 1632 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 1633 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 1634 # OS/2's system install, which has a completely different semantic
 1635 # ./install, which can be erroneously created by make from ./install.sh.
 1636 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 1637 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 1638 if test -z "$INSTALL"; then
 1639 if test "${ac_cv_path_install+set}" = set; then
 1640   echo $ECHO_N "(cached) $ECHO_C" >&6
 1641 else
 1642   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1643 for as_dir in $PATH
 1644 do
 1645   IFS=$as_save_IFS
 1646   test -z "$as_dir" && as_dir=.
 1647   # Account for people who put trailing slashes in PATH elements.
 1648 case $as_dir/ in
 1649   ./ | .// | /cC/* | \
 1650   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 1651   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 1652   /usr/ucb/* ) ;;
 1653   *)
 1654     # OSF1 and SCO ODT 3.0 have their own names for install.
 1655     # Don't use installbsd from OSF since it installs stuff as root
 1656     # by default.
 1657     for ac_prog in ginstall scoinst install; do
 1658       for ac_exec_ext in '' $ac_executable_extensions; do
 1659     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 1660       if test $ac_prog = install &&
 1661         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 1662         # AIX install.  It has an incompatible calling convention.
 1663         :
 1664       elif test $ac_prog = install &&
 1665         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 1666         # program-specific install script used by HP pwplus--don't use.
 1667         :
 1668       else
 1669         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 1670         break 3
 1671       fi
 1672     fi
 1673       done
 1674     done
 1675     ;;
 1676 esac
 1677 done
 1678 
 1679 
 1680 fi
 1681   if test "${ac_cv_path_install+set}" = set; then
 1682     INSTALL=$ac_cv_path_install
 1683   else
 1684     # As a last resort, use the slow shell script.  We don't cache a
 1685     # path for INSTALL within a source directory, because that will
 1686     # break other packages using the cache if that directory is
 1687     # removed, or if the path is relative.
 1688     INSTALL=$ac_install_sh
 1689   fi
 1690 fi
 1691 echo "$as_me:$LINENO: result: $INSTALL" >&5
 1692 echo "${ECHO_T}$INSTALL" >&6
 1693 
 1694 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 1695 # It thinks the first close brace ends the variable substitution.
 1696 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 1697 
 1698 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 1699 
 1700 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 1701 
 1702 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 1703 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 1704 # Just in case
 1705 sleep 1
 1706 echo timestamp > conftest.file
 1707 # Do `set' in a subshell so we don't clobber the current shell's
 1708 # arguments.  Must try -L first in case configure is actually a
 1709 # symlink; some systems play weird games with the mod time of symlinks
 1710 # (eg FreeBSD returns the mod time of the symlink's containing
 1711 # directory).
 1712 if (
 1713    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 1714    if test "$*" = "X"; then
 1715       # -L didn't work.
 1716       set X `ls -t $srcdir/configure conftest.file`
 1717    fi
 1718    rm -f conftest.file
 1719    if test "$*" != "X $srcdir/configure conftest.file" \
 1720       && test "$*" != "X conftest.file $srcdir/configure"; then
 1721 
 1722       # If neither matched, then we have a broken ls.  This can happen
 1723       # if, for instance, CONFIG_SHELL is bash and it inherits a
 1724       # broken ls alias from the environment.  This has actually
 1725       # happened.  Such a system could not be considered "sane".
 1726       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 1727 alias in your environment" >&5
 1728 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 1729 alias in your environment" >&2;}
 1730    { (exit 1); exit 1; }; }
 1731    fi
 1732 
 1733    test "$2" = conftest.file
 1734    )
 1735 then
 1736    # Ok.
 1737    :
 1738 else
 1739    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 1740 Check your system clock" >&5
 1741 echo "$as_me: error: newly created file is older than distributed files!
 1742 Check your system clock" >&2;}
 1743    { (exit 1); exit 1; }; }
 1744 fi
 1745 echo "$as_me:$LINENO: result: yes" >&5
 1746 echo "${ECHO_T}yes" >&6
 1747 test "$program_prefix" != NONE &&
 1748   program_transform_name="s,^,$program_prefix,;$program_transform_name"
 1749 # Use a double $ so make ignores it.
 1750 test "$program_suffix" != NONE &&
 1751   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 1752 # Double any \ or $.  echo might interpret backslashes.
 1753 # By default was `s,x,x', remove it if useless.
 1754 cat <<\_ACEOF >conftest.sed
 1755 s/[\\$]/&&/g;s/;s,x,x,$//
 1756 _ACEOF
 1757 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 1758 rm conftest.sed
 1759 
 1760 # expand $ac_aux_dir to an absolute path
 1761 am_aux_dir=`cd $ac_aux_dir && pwd`
 1762 
 1763 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 1764 # Use eval to expand $SHELL
 1765 if eval "$MISSING --run true"; then
 1766   am_missing_run="$MISSING --run "
 1767 else
 1768   am_missing_run=
 1769   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 1770 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 1771 fi
 1772 
 1773 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 1774   # We used to keeping the `.' as first argument, in order to
 1775   # allow $(mkdir_p) to be used without argument.  As in
 1776   #   $(mkdir_p) $(somedir)
 1777   # where $(somedir) is conditionally defined.  However this is wrong
 1778   # for two reasons:
 1779   #  1. if the package is installed by a user who cannot write `.'
 1780   #     make install will fail,
 1781   #  2. the above comment should most certainly read
 1782   #     $(mkdir_p) $(DESTDIR)$(somedir)
 1783   #     so it does not work when $(somedir) is undefined and
 1784   #     $(DESTDIR) is not.
 1785   #  To support the latter case, we have to write
 1786   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 1787   #  so the `.' trick is pointless.
 1788   mkdir_p='mkdir -p --'
 1789 else
 1790   # On NextStep and OpenStep, the `mkdir' command does not
 1791   # recognize any option.  It will interpret all options as
 1792   # directories to create, and then abort because `.' already
 1793   # exists.
 1794   for d in ./-p ./--version;
 1795   do
 1796     test -d $d && rmdir $d
 1797   done
 1798   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 1799   if test -f "$ac_aux_dir/mkinstalldirs"; then
 1800     mkdir_p='$(mkinstalldirs)'
 1801   else
 1802     mkdir_p='$(install_sh) -d'
 1803   fi
 1804 fi
 1805 
 1806 for ac_prog in gawk mawk nawk awk
 1807 do
 1808   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1809 set dummy $ac_prog; ac_word=$2
 1810 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1812 if test "${ac_cv_prog_AWK+set}" = set; then
 1813   echo $ECHO_N "(cached) $ECHO_C" >&6
 1814 else
 1815   if test -n "$AWK"; then
 1816   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 1817 else
 1818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1819 for as_dir in $PATH
 1820 do
 1821   IFS=$as_save_IFS
 1822   test -z "$as_dir" && as_dir=.
 1823   for ac_exec_ext in '' $ac_executable_extensions; do
 1824   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1825     ac_cv_prog_AWK="$ac_prog"
 1826     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1827     break 2
 1828   fi
 1829 done
 1830 done
 1831 
 1832 fi
 1833 fi
 1834 AWK=$ac_cv_prog_AWK
 1835 if test -n "$AWK"; then
 1836   echo "$as_me:$LINENO: result: $AWK" >&5
 1837 echo "${ECHO_T}$AWK" >&6
 1838 else
 1839   echo "$as_me:$LINENO: result: no" >&5
 1840 echo "${ECHO_T}no" >&6
 1841 fi
 1842 
 1843   test -n "$AWK" && break
 1844 done
 1845 
 1846 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 1847 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 1848 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 1849 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 1850   echo $ECHO_N "(cached) $ECHO_C" >&6
 1851 else
 1852   cat >conftest.make <<\_ACEOF
 1853 all:
 1854     @echo 'ac_maketemp="$(MAKE)"'
 1855 _ACEOF
 1856 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 1857 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 1858 if test -n "$ac_maketemp"; then
 1859   eval ac_cv_prog_make_${ac_make}_set=yes
 1860 else
 1861   eval ac_cv_prog_make_${ac_make}_set=no
 1862 fi
 1863 rm -f conftest.make
 1864 fi
 1865 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 1866   echo "$as_me:$LINENO: result: yes" >&5
 1867 echo "${ECHO_T}yes" >&6
 1868   SET_MAKE=
 1869 else
 1870   echo "$as_me:$LINENO: result: no" >&5
 1871 echo "${ECHO_T}no" >&6
 1872   SET_MAKE="MAKE=${MAKE-make}"
 1873 fi
 1874 
 1875 rm -rf .tst 2>/dev/null
 1876 mkdir .tst 2>/dev/null
 1877 if test -d .tst; then
 1878   am__leading_dot=.
 1879 else
 1880   am__leading_dot=_
 1881 fi
 1882 rmdir .tst 2>/dev/null
 1883 
 1884 # test to see if srcdir already configured
 1885 if test "`cd $srcdir && pwd`" != "`pwd`" &&
 1886    test -f $srcdir/config.status; then
 1887   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 1888 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 1889    { (exit 1); exit 1; }; }
 1890 fi
 1891 
 1892 # test whether we have cygpath
 1893 if test -z "$CYGPATH_W"; then
 1894   if (cygpath --version) >/dev/null 2>/dev/null; then
 1895     CYGPATH_W='cygpath -w'
 1896   else
 1897     CYGPATH_W=echo
 1898   fi
 1899 fi
 1900 
 1901 
 1902 # Define the identity of the package.
 1903  PACKAGE=libmcrypt
 1904  VERSION=$LIBMCRYPT_VERSION
 1905 
 1906 
 1907 cat >>confdefs.h <<_ACEOF
 1908 #define PACKAGE "$PACKAGE"
 1909 _ACEOF
 1910 
 1911 
 1912 cat >>confdefs.h <<_ACEOF
 1913 #define VERSION "$VERSION"
 1914 _ACEOF
 1915 
 1916 # Some tools Automake needs.
 1917 
 1918 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 1919 
 1920 
 1921 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 1922 
 1923 
 1924 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 1925 
 1926 
 1927 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 1928 
 1929 
 1930 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 1931 
 1932 install_sh=${install_sh-"$am_aux_dir/install-sh"}
 1933 
 1934 # Installed binaries are usually stripped using `strip' when the user
 1935 # run `make install-strip'.  However `strip' might not be the right
 1936 # tool to use in cross-compilation environments, therefore Automake
 1937 # will honor the `STRIP' environment variable to overrule this program.
 1938 if test "$cross_compiling" != no; then
 1939   if test -n "$ac_tool_prefix"; then
 1940   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 1941 set dummy ${ac_tool_prefix}strip; ac_word=$2
 1942 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1944 if test "${ac_cv_prog_STRIP+set}" = set; then
 1945   echo $ECHO_N "(cached) $ECHO_C" >&6
 1946 else
 1947   if test -n "$STRIP"; then
 1948   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 1949 else
 1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1951 for as_dir in $PATH
 1952 do
 1953   IFS=$as_save_IFS
 1954   test -z "$as_dir" && as_dir=.
 1955   for ac_exec_ext in '' $ac_executable_extensions; do
 1956   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1957     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 1958     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1959     break 2
 1960   fi
 1961 done
 1962 done
 1963 
 1964 fi
 1965 fi
 1966 STRIP=$ac_cv_prog_STRIP
 1967 if test -n "$STRIP"; then
 1968   echo "$as_me:$LINENO: result: $STRIP" >&5
 1969 echo "${ECHO_T}$STRIP" >&6
 1970 else
 1971   echo "$as_me:$LINENO: result: no" >&5
 1972 echo "${ECHO_T}no" >&6
 1973 fi
 1974 
 1975 fi
 1976 if test -z "$ac_cv_prog_STRIP"; then
 1977   ac_ct_STRIP=$STRIP
 1978   # Extract the first word of "strip", so it can be a program name with args.
 1979 set dummy strip; ac_word=$2
 1980 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1982 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 1983   echo $ECHO_N "(cached) $ECHO_C" >&6
 1984 else
 1985   if test -n "$ac_ct_STRIP"; then
 1986   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 1987 else
 1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1989 for as_dir in $PATH
 1990 do
 1991   IFS=$as_save_IFS
 1992   test -z "$as_dir" && as_dir=.
 1993   for ac_exec_ext in '' $ac_executable_extensions; do
 1994   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1995     ac_cv_prog_ac_ct_STRIP="strip"
 1996     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1997     break 2
 1998   fi
 1999 done
 2000 done
 2001 
 2002   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 2003 fi
 2004 fi
 2005 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2006 if test -n "$ac_ct_STRIP"; then
 2007   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 2008 echo "${ECHO_T}$ac_ct_STRIP" >&6
 2009 else
 2010   echo "$as_me:$LINENO: result: no" >&5
 2011 echo "${ECHO_T}no" >&6
 2012 fi
 2013 
 2014   STRIP=$ac_ct_STRIP
 2015 else
 2016   STRIP="$ac_cv_prog_STRIP"
 2017 fi
 2018 
 2019 fi
 2020 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 2021 
 2022 # We need awk for the "check" target.  The system "awk" is bad on
 2023 # some platforms.
 2024 # Always define AMTAR for backward compatibility.
 2025 
 2026 AMTAR=${AMTAR-"${am_missing_run}tar"}
 2027 
 2028 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 2029 
 2030 
 2031 
 2032 
 2033 
 2034           ac_config_headers="$ac_config_headers config.h"
 2035 
 2036 
 2037 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 2038 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
 2039     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 2040 if test "${enable_maintainer_mode+set}" = set; then
 2041   enableval="$enable_maintainer_mode"
 2042   USE_MAINTAINER_MODE=$enableval
 2043 else
 2044   USE_MAINTAINER_MODE=no
 2045 fi;
 2046   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 2047 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 2048 
 2049 
 2050 if test $USE_MAINTAINER_MODE = yes; then
 2051   MAINTAINER_MODE_TRUE=
 2052   MAINTAINER_MODE_FALSE='#'
 2053 else
 2054   MAINTAINER_MODE_TRUE='#'
 2055   MAINTAINER_MODE_FALSE=
 2056 fi
 2057 
 2058   MAINT=$MAINTAINER_MODE_TRUE
 2059 
 2060 
 2061 
 2062 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2063 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 2064 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 2065 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 2066   echo $ECHO_N "(cached) $ECHO_C" >&6
 2067 else
 2068   cat >conftest.make <<\_ACEOF
 2069 all:
 2070     @echo 'ac_maketemp="$(MAKE)"'
 2071 _ACEOF
 2072 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2073 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 2074 if test -n "$ac_maketemp"; then
 2075   eval ac_cv_prog_make_${ac_make}_set=yes
 2076 else
 2077   eval ac_cv_prog_make_${ac_make}_set=no
 2078 fi
 2079 rm -f conftest.make
 2080 fi
 2081 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 2082   echo "$as_me:$LINENO: result: yes" >&5
 2083 echo "${ECHO_T}yes" >&6
 2084   SET_MAKE=
 2085 else
 2086   echo "$as_me:$LINENO: result: no" >&5
 2087 echo "${ECHO_T}no" >&6
 2088   SET_MAKE="MAKE=${MAKE-make}"
 2089 fi
 2090 
 2091 
 2092 ac_ext=cc
 2093 ac_cpp='$CXXCPP $CPPFLAGS'
 2094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 2097 if test -n "$ac_tool_prefix"; then
 2098   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 2099   do
 2100     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2102 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2104 if test "${ac_cv_prog_CXX+set}" = set; then
 2105   echo $ECHO_N "(cached) $ECHO_C" >&6
 2106 else
 2107   if test -n "$CXX"; then
 2108   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 2109 else
 2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2111 for as_dir in $PATH
 2112 do
 2113   IFS=$as_save_IFS
 2114   test -z "$as_dir" && as_dir=.
 2115   for ac_exec_ext in '' $ac_executable_extensions; do
 2116   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2117     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 2118     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2119     break 2
 2120   fi
 2121 done
 2122 done
 2123 
 2124 fi
 2125 fi
 2126 CXX=$ac_cv_prog_CXX
 2127 if test -n "$CXX"; then
 2128   echo "$as_me:$LINENO: result: $CXX" >&5
 2129 echo "${ECHO_T}$CXX" >&6
 2130 else
 2131   echo "$as_me:$LINENO: result: no" >&5
 2132 echo "${ECHO_T}no" >&6
 2133 fi
 2134 
 2135     test -n "$CXX" && break
 2136   done
 2137 fi
 2138 if test -z "$CXX"; then
 2139   ac_ct_CXX=$CXX
 2140   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 2141 do
 2142   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2143 set dummy $ac_prog; ac_word=$2
 2144 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2146 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 2147   echo $ECHO_N "(cached) $ECHO_C" >&6
 2148 else
 2149   if test -n "$ac_ct_CXX"; then
 2150   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 2151 else
 2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2153 for as_dir in $PATH
 2154 do
 2155   IFS=$as_save_IFS
 2156   test -z "$as_dir" && as_dir=.
 2157   for ac_exec_ext in '' $ac_executable_extensions; do
 2158   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2159     ac_cv_prog_ac_ct_CXX="$ac_prog"
 2160     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2161     break 2
 2162   fi
 2163 done
 2164 done
 2165 
 2166 fi
 2167 fi
 2168 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 2169 if test -n "$ac_ct_CXX"; then
 2170   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 2171 echo "${ECHO_T}$ac_ct_CXX" >&6
 2172 else
 2173   echo "$as_me:$LINENO: result: no" >&5
 2174 echo "${ECHO_T}no" >&6
 2175 fi
 2176 
 2177   test -n "$ac_ct_CXX" && break
 2178 done
 2179 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 2180 
 2181   CXX=$ac_ct_CXX
 2182 fi
 2183 
 2184 
 2185 # Provide some information about the compiler.
 2186 echo "$as_me:$LINENO:" \
 2187      "checking for C++ compiler version" >&5
 2188 ac_compiler=`set X $ac_compile; echo $2`
 2189 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 2190   (eval $ac_compiler --version </dev/null >&5) 2>&5
 2191   ac_status=$?
 2192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2193   (exit $ac_status); }
 2194 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 2195   (eval $ac_compiler -v </dev/null >&5) 2>&5
 2196   ac_status=$?
 2197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2198   (exit $ac_status); }
 2199 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 2200   (eval $ac_compiler -V </dev/null >&5) 2>&5
 2201   ac_status=$?
 2202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2203   (exit $ac_status); }
 2204 
 2205 cat >conftest.$ac_ext <<_ACEOF
 2206 /* confdefs.h.  */
 2207 _ACEOF
 2208 cat confdefs.h >>conftest.$ac_ext
 2209 cat >>conftest.$ac_ext <<_ACEOF
 2210 /* end confdefs.h.  */
 2211 
 2212 int
 2213 main ()
 2214 {
 2215 
 2216   ;
 2217   return 0;
 2218 }
 2219 _ACEOF
 2220 ac_clean_files_save=$ac_clean_files
 2221 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 2222 # Try to create an executable without -o first, disregard a.out.
 2223 # It will help us diagnose broken compilers, and finding out an intuition
 2224 # of exeext.
 2225 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
 2226 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
 2227 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2228 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 2229   (eval $ac_link_default) 2>&5
 2230   ac_status=$?
 2231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2232   (exit $ac_status); }; then
 2233   # Find the output, starting from the most likely.  This scheme is
 2234 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 2235 # resort.
 2236 
 2237 # Be careful to initialize this variable, since it used to be cached.
 2238 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 2239 ac_cv_exeext=
 2240 # b.out is created by i960 compilers.
 2241 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 2242 do
 2243   test -f "$ac_file" || continue
 2244   case $ac_file in
 2245     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 2246     ;;
 2247     conftest.$ac_ext )
 2248     # This is the source file.
 2249     ;;
 2250     [ab].out )
 2251     # We found the default executable, but exeext='' is most
 2252     # certainly right.
 2253     break;;
 2254     *.* )
 2255     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2256     # FIXME: I believe we export ac_cv_exeext for Libtool,
 2257     # but it would be cool to find out if it's true.  Does anybody
 2258     # maintain Libtool? --akim.
 2259     export ac_cv_exeext
 2260     break;;
 2261     * )
 2262     break;;
 2263   esac
 2264 done
 2265 else
 2266   echo "$as_me: failed program was:" >&5
 2267 sed 's/^/| /' conftest.$ac_ext >&5
 2268 
 2269 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
 2270 See \`config.log' for more details." >&5
 2271 echo "$as_me: error: C++ compiler cannot create executables
 2272 See \`config.log' for more details." >&2;}
 2273    { (exit 77); exit 77; }; }
 2274 fi
 2275 
 2276 ac_exeext=$ac_cv_exeext
 2277 echo "$as_me:$LINENO: result: $ac_file" >&5
 2278 echo "${ECHO_T}$ac_file" >&6
 2279 
 2280 # Check the compiler produces executables we can run.  If not, either
 2281 # the compiler is broken, or we cross compile.
 2282 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
 2283 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
 2284 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2285 # If not cross compiling, check that we can run a simple program.
 2286 if test "$cross_compiling" != yes; then
 2287   if { ac_try='./$ac_file'
 2288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2289   (eval $ac_try) 2>&5
 2290   ac_status=$?
 2291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2292   (exit $ac_status); }; }; then
 2293     cross_compiling=no
 2294   else
 2295     if test "$cross_compiling" = maybe; then
 2296     cross_compiling=yes
 2297     else
 2298     { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
 2299 If you meant to cross compile, use \`--host'.
 2300 See \`config.log' for more details." >&5
 2301 echo "$as_me: error: cannot run C++ compiled programs.
 2302 If you meant to cross compile, use \`--host'.
 2303 See \`config.log' for more details." >&2;}
 2304    { (exit 1); exit 1; }; }
 2305     fi
 2306   fi
 2307 fi
 2308 echo "$as_me:$LINENO: result: yes" >&5
 2309 echo "${ECHO_T}yes" >&6
 2310 
 2311 rm -f a.out a.exe conftest$ac_cv_exeext b.out
 2312 ac_clean_files=$ac_clean_files_save
 2313 # Check the compiler produces executables we can run.  If not, either
 2314 # the compiler is broken, or we cross compile.
 2315 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 2316 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 2317 echo "$as_me:$LINENO: result: $cross_compiling" >&5
 2318 echo "${ECHO_T}$cross_compiling" >&6
 2319 
 2320 echo "$as_me:$LINENO: checking for suffix of executables" >&5
 2321 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 2322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2323   (eval $ac_link) 2>&5
 2324   ac_status=$?
 2325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2326   (exit $ac_status); }; then
 2327   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 2328 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 2329 # work properly (i.e., refer to `conftest.exe'), while it won't with
 2330 # `rm'.
 2331 for ac_file in conftest.exe conftest conftest.*; do
 2332   test -f "$ac_file" || continue
 2333   case $ac_file in
 2334     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 2335     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2336       export ac_cv_exeext
 2337       break;;
 2338     * ) break;;
 2339   esac
 2340 done
 2341 else
 2342   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 2343 See \`config.log' for more details." >&5
 2344 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 2345 See \`config.log' for more details." >&2;}
 2346    { (exit 1); exit 1; }; }
 2347 fi
 2348 
 2349 rm -f conftest$ac_cv_exeext
 2350 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 2351 echo "${ECHO_T}$ac_cv_exeext" >&6
 2352 
 2353 rm -f conftest.$ac_ext
 2354 EXEEXT=$ac_cv_exeext
 2355 ac_exeext=$EXEEXT
 2356 echo "$as_me:$LINENO: checking for suffix of object files" >&5
 2357 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 2358 if test "${ac_cv_objext+set}" = set; then
 2359   echo $ECHO_N "(cached) $ECHO_C" >&6
 2360 else
 2361   cat >conftest.$ac_ext <<_ACEOF
 2362 /* confdefs.h.  */
 2363 _ACEOF
 2364 cat confdefs.h >>conftest.$ac_ext
 2365 cat >>conftest.$ac_ext <<_ACEOF
 2366 /* end confdefs.h.  */
 2367 
 2368 int
 2369 main ()
 2370 {
 2371 
 2372   ;
 2373   return 0;
 2374 }
 2375 _ACEOF
 2376 rm -f conftest.o conftest.obj
 2377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2378   (eval $ac_compile) 2>&5
 2379   ac_status=$?
 2380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2381   (exit $ac_status); }; then
 2382   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 2383   case $ac_file in
 2384     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 2385     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 2386        break;;
 2387   esac
 2388 done
 2389 else
 2390   echo "$as_me: failed program was:" >&5
 2391 sed 's/^/| /' conftest.$ac_ext >&5
 2392 
 2393 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 2394 See \`config.log' for more details." >&5
 2395 echo "$as_me: error: cannot compute suffix of object files: cannot compile
 2396 See \`config.log' for more details." >&2;}
 2397    { (exit 1); exit 1; }; }
 2398 fi
 2399 
 2400 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 2401 fi
 2402 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 2403 echo "${ECHO_T}$ac_cv_objext" >&6
 2404 OBJEXT=$ac_cv_objext
 2405 ac_objext=$OBJEXT
 2406 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 2407 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 2408 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 2409   echo $ECHO_N "(cached) $ECHO_C" >&6
 2410 else
 2411   cat >conftest.$ac_ext <<_ACEOF
 2412 /* confdefs.h.  */
 2413 _ACEOF
 2414 cat confdefs.h >>conftest.$ac_ext
 2415 cat >>conftest.$ac_ext <<_ACEOF
 2416 /* end confdefs.h.  */
 2417 
 2418 int
 2419 main ()
 2420 {
 2421 #ifndef __GNUC__
 2422        choke me
 2423 #endif
 2424 
 2425   ;
 2426   return 0;
 2427 }
 2428 _ACEOF
 2429 rm -f conftest.$ac_objext
 2430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2431   (eval $ac_compile) 2>conftest.er1
 2432   ac_status=$?
 2433   grep -v '^ *+' conftest.er1 >conftest.err
 2434   rm -f conftest.er1
 2435   cat conftest.err >&5
 2436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2437   (exit $ac_status); } &&
 2438      { ac_try='test -z "$ac_cxx_werror_flag"
 2439              || test ! -s conftest.err'
 2440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2441   (eval $ac_try) 2>&5
 2442   ac_status=$?
 2443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2444   (exit $ac_status); }; } &&
 2445      { ac_try='test -s conftest.$ac_objext'
 2446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2447   (eval $ac_try) 2>&5
 2448   ac_status=$?
 2449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2450   (exit $ac_status); }; }; then
 2451   ac_compiler_gnu=yes
 2452 else
 2453   echo "$as_me: failed program was:" >&5
 2454 sed 's/^/| /' conftest.$ac_ext >&5
 2455 
 2456 ac_compiler_gnu=no
 2457 fi
 2458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2459 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 2460 
 2461 fi
 2462 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 2463 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 2464 GXX=`test $ac_compiler_gnu = yes && echo yes`
 2465 ac_test_CXXFLAGS=${CXXFLAGS+set}
 2466 ac_save_CXXFLAGS=$CXXFLAGS
 2467 CXXFLAGS="-g"
 2468 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 2469 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 2470 if test "${ac_cv_prog_cxx_g+set}" = set; then
 2471   echo $ECHO_N "(cached) $ECHO_C" >&6
 2472 else
 2473   cat >conftest.$ac_ext <<_ACEOF
 2474 /* confdefs.h.  */
 2475 _ACEOF
 2476 cat confdefs.h >>conftest.$ac_ext
 2477 cat >>conftest.$ac_ext <<_ACEOF
 2478 /* end confdefs.h.  */
 2479 
 2480 int
 2481 main ()
 2482 {
 2483 
 2484   ;
 2485   return 0;
 2486 }
 2487 _ACEOF
 2488 rm -f conftest.$ac_objext
 2489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2490   (eval $ac_compile) 2>conftest.er1
 2491   ac_status=$?
 2492   grep -v '^ *+' conftest.er1 >conftest.err
 2493   rm -f conftest.er1
 2494   cat conftest.err >&5
 2495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2496   (exit $ac_status); } &&
 2497      { ac_try='test -z "$ac_cxx_werror_flag"
 2498              || test ! -s conftest.err'
 2499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2500   (eval $ac_try) 2>&5
 2501   ac_status=$?
 2502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2503   (exit $ac_status); }; } &&
 2504      { ac_try='test -s conftest.$ac_objext'
 2505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2506   (eval $ac_try) 2>&5
 2507   ac_status=$?
 2508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2509   (exit $ac_status); }; }; then
 2510   ac_cv_prog_cxx_g=yes
 2511 else
 2512   echo "$as_me: failed program was:" >&5
 2513 sed 's/^/| /' conftest.$ac_ext >&5
 2514 
 2515 ac_cv_prog_cxx_g=no
 2516 fi
 2517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2518 fi
 2519 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 2520 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 2521 if test "$ac_test_CXXFLAGS" = set; then
 2522   CXXFLAGS=$ac_save_CXXFLAGS
 2523 elif test $ac_cv_prog_cxx_g = yes; then
 2524   if test "$GXX" = yes; then
 2525     CXXFLAGS="-g -O2"
 2526   else
 2527     CXXFLAGS="-g"
 2528   fi
 2529 else
 2530   if test "$GXX" = yes; then
 2531     CXXFLAGS="-O2"
 2532   else
 2533     CXXFLAGS=
 2534   fi
 2535 fi
 2536 for ac_declaration in \
 2537    '' \
 2538    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2539    'extern "C" void std::exit (int); using std::exit;' \
 2540    'extern "C" void exit (int) throw ();' \
 2541    'extern "C" void exit (int);' \
 2542    'void exit (int);'
 2543 do
 2544   cat >conftest.$ac_ext <<_ACEOF
 2545 /* confdefs.h.  */
 2546 _ACEOF
 2547 cat confdefs.h >>conftest.$ac_ext
 2548 cat >>conftest.$ac_ext <<_ACEOF
 2549 /* end confdefs.h.  */
 2550 $ac_declaration
 2551 #include <stdlib.h>
 2552 int
 2553 main ()
 2554 {
 2555 exit (42);
 2556   ;
 2557   return 0;
 2558 }
 2559 _ACEOF
 2560 rm -f conftest.$ac_objext
 2561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2562   (eval $ac_compile) 2>conftest.er1
 2563   ac_status=$?
 2564   grep -v '^ *+' conftest.er1 >conftest.err
 2565   rm -f conftest.er1
 2566   cat conftest.err >&5
 2567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2568   (exit $ac_status); } &&
 2569      { ac_try='test -z "$ac_cxx_werror_flag"
 2570              || test ! -s conftest.err'
 2571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2572   (eval $ac_try) 2>&5
 2573   ac_status=$?
 2574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2575   (exit $ac_status); }; } &&
 2576      { ac_try='test -s conftest.$ac_objext'
 2577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2578   (eval $ac_try) 2>&5
 2579   ac_status=$?
 2580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2581   (exit $ac_status); }; }; then
 2582   :
 2583 else
 2584   echo "$as_me: failed program was:" >&5
 2585 sed 's/^/| /' conftest.$ac_ext >&5
 2586 
 2587 continue
 2588 fi
 2589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2590   cat >conftest.$ac_ext <<_ACEOF
 2591 /* confdefs.h.  */
 2592 _ACEOF
 2593 cat confdefs.h >>conftest.$ac_ext
 2594 cat >>conftest.$ac_ext <<_ACEOF
 2595 /* end confdefs.h.  */
 2596 $ac_declaration
 2597 int
 2598 main ()
 2599 {
 2600 exit (42);
 2601   ;
 2602   return 0;
 2603 }
 2604 _ACEOF
 2605 rm -f conftest.$ac_objext
 2606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2607   (eval $ac_compile) 2>conftest.er1
 2608   ac_status=$?
 2609   grep -v '^ *+' conftest.er1 >conftest.err
 2610   rm -f conftest.er1
 2611   cat conftest.err >&5
 2612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2613   (exit $ac_status); } &&
 2614      { ac_try='test -z "$ac_cxx_werror_flag"
 2615              || test ! -s conftest.err'
 2616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2617   (eval $ac_try) 2>&5
 2618   ac_status=$?
 2619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2620   (exit $ac_status); }; } &&
 2621      { ac_try='test -s conftest.$ac_objext'
 2622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2623   (eval $ac_try) 2>&5
 2624   ac_status=$?
 2625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2626   (exit $ac_status); }; }; then
 2627   break
 2628 else
 2629   echo "$as_me: failed program was:" >&5
 2630 sed 's/^/| /' conftest.$ac_ext >&5
 2631 
 2632 fi
 2633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2634 done
 2635 rm -f conftest*
 2636 if test -n "$ac_declaration"; then
 2637   echo '#ifdef __cplusplus' >>confdefs.h
 2638   echo $ac_declaration      >>confdefs.h
 2639   echo '#endif'             >>confdefs.h
 2640 fi
 2641 
 2642 ac_ext=c
 2643 ac_cpp='$CPP $CPPFLAGS'
 2644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2647 DEPDIR="${am__leading_dot}deps"
 2648 
 2649           ac_config_commands="$ac_config_commands depfiles"
 2650 
 2651 
 2652 am_make=${MAKE-make}
 2653 cat > confinc << 'END'
 2654 am__doit:
 2655     @echo done
 2656 .PHONY: am__doit
 2657 END
 2658 # If we don't find an include directive, just comment out the code.
 2659 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 2660 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 2661 am__include="#"
 2662 am__quote=
 2663 _am_result=none
 2664 # First try GNU make style include.
 2665 echo "include confinc" > confmf
 2666 # We grep out `Entering directory' and `Leaving directory'
 2667 # messages which can occur if `w' ends up in MAKEFLAGS.
 2668 # In particular we don't look at `^make:' because GNU make might
 2669 # be invoked under some other name (usually "gmake"), in which
 2670 # case it prints its new name instead of `make'.
 2671 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 2672    am__include=include
 2673    am__quote=
 2674    _am_result=GNU
 2675 fi
 2676 # Now try BSD make style include.
 2677 if test "$am__include" = "#"; then
 2678    echo '.include "confinc"' > confmf
 2679    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 2680       am__include=.include
 2681       am__quote="\""
 2682       _am_result=BSD
 2683    fi
 2684 fi
 2685 
 2686 
 2687 echo "$as_me:$LINENO: result: $_am_result" >&5
 2688 echo "${ECHO_T}$_am_result" >&6
 2689 rm -f confinc confmf
 2690 
 2691 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 2692 if test "${enable_dependency_tracking+set}" = set; then
 2693   enableval="$enable_dependency_tracking"
 2694 
 2695 fi;
 2696 if test "x$enable_dependency_tracking" != xno; then
 2697   am_depcomp="$ac_aux_dir/depcomp"
 2698   AMDEPBACKSLASH='\'
 2699 fi
 2700 
 2701 
 2702 if test "x$enable_dependency_tracking" != xno; then
 2703   AMDEP_TRUE=
 2704   AMDEP_FALSE='#'
 2705 else
 2706   AMDEP_TRUE='#'
 2707   AMDEP_FALSE=
 2708 fi
 2709 
 2710 
 2711 
 2712 
 2713 depcc="$CXX"  am_compiler_list=
 2714 
 2715 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 2716 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 2717 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 2718   echo $ECHO_N "(cached) $ECHO_C" >&6
 2719 else
 2720   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 2721   # We make a subdir and do the tests there.  Otherwise we can end up
 2722   # making bogus files that we don't know about and never remove.  For
 2723   # instance it was reported that on HP-UX the gcc test will end up
 2724   # making a dummy file named `D' -- because `-MD' means `put the output
 2725   # in D'.
 2726   mkdir conftest.dir
 2727   # Copy depcomp to subdir because otherwise we won't find it if we're
 2728   # using a relative directory.
 2729   cp "$am_depcomp" conftest.dir
 2730   cd conftest.dir
 2731   # We will build objects and dependencies in a subdirectory because
 2732   # it helps to detect inapplicable dependency modes.  For instance
 2733   # both Tru64's cc and ICC support -MD to output dependencies as a
 2734   # side effect of compilation, but ICC will put the dependencies in
 2735   # the current directory while Tru64 will put them in the object
 2736   # directory.
 2737   mkdir sub
 2738 
 2739   am_cv_CXX_dependencies_compiler_type=none
 2740   if test "$am_compiler_list" = ""; then
 2741      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 2742   fi
 2743   for depmode in $am_compiler_list; do
 2744     # Setup a source with many dependencies, because some compilers
 2745     # like to wrap large dependency lists on column 80 (with \), and
 2746     # we should not choose a depcomp mode which is confused by this.
 2747     #
 2748     # We need to recreate these files for each test, as the compiler may
 2749     # overwrite some of them when testing with obscure command lines.
 2750     # This happens at least with the AIX C compiler.
 2751     : > sub/conftest.c
 2752     for i in 1 2 3 4 5 6; do
 2753       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 2754       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 2755       # Solaris 8's {/usr,}/bin/sh.
 2756       touch sub/conftst$i.h
 2757     done
 2758     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 2759 
 2760     case $depmode in
 2761     nosideeffect)
 2762       # after this tag, mechanisms are not by side-effect, so they'll
 2763       # only be used when explicitly requested
 2764       if test "x$enable_dependency_tracking" = xyes; then
 2765     continue
 2766       else
 2767     break
 2768       fi
 2769       ;;
 2770     none) break ;;
 2771     esac
 2772     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 2773     # mode.  It turns out that the SunPro C++ compiler does not properly
 2774     # handle `-M -o', and we need to detect this.
 2775     if depmode=$depmode \
 2776        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 2777        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 2778        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 2779          >/dev/null 2>conftest.err &&
 2780        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 2781        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 2782        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 2783       # icc doesn't choke on unknown options, it will just issue warnings
 2784       # or remarks (even with -Werror).  So we grep stderr for any message
 2785       # that says an option was ignored or not supported.
 2786       # When given -MP, icc 7.0 and 7.1 complain thusly:
 2787       #   icc: Command line warning: ignoring option '-M'; no argument required
 2788       # The diagnosis changed in icc 8.0:
 2789       #   icc: Command line remark: option '-MP' not supported
 2790       if (grep 'ignoring option' conftest.err ||
 2791           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 2792         am_cv_CXX_dependencies_compiler_type=$depmode
 2793         break
 2794       fi
 2795     fi
 2796   done
 2797 
 2798   cd ..
 2799   rm -rf conftest.dir
 2800 else
 2801   am_cv_CXX_dependencies_compiler_type=none
 2802 fi
 2803 
 2804 fi
 2805 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 2806 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 2807 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 2808 
 2809 
 2810 
 2811 if
 2812   test "x$enable_dependency_tracking" != xno \
 2813   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 2814   am__fastdepCXX_TRUE=
 2815   am__fastdepCXX_FALSE='#'
 2816 else
 2817   am__fastdepCXX_TRUE='#'
 2818   am__fastdepCXX_FALSE=
 2819 fi
 2820 
 2821 
 2822 ac_ext=c
 2823 ac_cpp='$CPP $CPPFLAGS'
 2824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2827 if test -n "$ac_tool_prefix"; then
 2828   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2829 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2830 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2832 if test "${ac_cv_prog_CC+set}" = set; then
 2833   echo $ECHO_N "(cached) $ECHO_C" >&6
 2834 else
 2835   if test -n "$CC"; then
 2836   ac_cv_prog_CC="$CC" # Let the user override the test.
 2837 else
 2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2839 for as_dir in $PATH
 2840 do
 2841   IFS=$as_save_IFS
 2842   test -z "$as_dir" && as_dir=.
 2843   for ac_exec_ext in '' $ac_executable_extensions; do
 2844   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2845     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2846     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2847     break 2
 2848   fi
 2849 done
 2850 done
 2851 
 2852 fi
 2853 fi
 2854 CC=$ac_cv_prog_CC
 2855 if test -n "$CC"; then
 2856   echo "$as_me:$LINENO: result: $CC" >&5
 2857 echo "${ECHO_T}$CC" >&6
 2858 else
 2859   echo "$as_me:$LINENO: result: no" >&5
 2860 echo "${ECHO_T}no" >&6
 2861 fi
 2862 
 2863 fi
 2864 if test -z "$ac_cv_prog_CC"; then
 2865   ac_ct_CC=$CC
 2866   # Extract the first word of "gcc", so it can be a program name with args.
 2867 set dummy gcc; ac_word=$2
 2868 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2870 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2871   echo $ECHO_N "(cached) $ECHO_C" >&6
 2872 else
 2873   if test -n "$ac_ct_CC"; then
 2874   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2875 else
 2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2877 for as_dir in $PATH
 2878 do
 2879   IFS=$as_save_IFS
 2880   test -z "$as_dir" && as_dir=.
 2881   for ac_exec_ext in '' $ac_executable_extensions; do
 2882   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2883     ac_cv_prog_ac_ct_CC="gcc"
 2884     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2885     break 2
 2886   fi
 2887 done
 2888 done
 2889 
 2890 fi
 2891 fi
 2892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2893 if test -n "$ac_ct_CC"; then
 2894   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2895 echo "${ECHO_T}$ac_ct_CC" >&6
 2896 else
 2897   echo "$as_me:$LINENO: result: no" >&5
 2898 echo "${ECHO_T}no" >&6
 2899 fi
 2900 
 2901   CC=$ac_ct_CC
 2902 else
 2903   CC="$ac_cv_prog_CC"
 2904 fi
 2905 
 2906 if test -z "$CC"; then
 2907   if test -n "$ac_tool_prefix"; then
 2908   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2909 set dummy ${ac_tool_prefix}cc; ac_word=$2
 2910 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2912 if test "${ac_cv_prog_CC+set}" = set; then
 2913   echo $ECHO_N "(cached) $ECHO_C" >&6
 2914 else
 2915   if test -n "$CC"; then
 2916   ac_cv_prog_CC="$CC" # Let the user override the test.
 2917 else
 2918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2919 for as_dir in $PATH
 2920 do
 2921   IFS=$as_save_IFS
 2922   test -z "$as_dir" && as_dir=.
 2923   for ac_exec_ext in '' $ac_executable_extensions; do
 2924   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2925     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2926     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2927     break 2
 2928   fi
 2929 done
 2930 done
 2931 
 2932 fi
 2933 fi
 2934 CC=$ac_cv_prog_CC
 2935 if test -n "$CC"; then
 2936   echo "$as_me:$LINENO: result: $CC" >&5
 2937 echo "${ECHO_T}$CC" >&6
 2938 else
 2939   echo "$as_me:$LINENO: result: no" >&5
 2940 echo "${ECHO_T}no" >&6
 2941 fi
 2942 
 2943 fi
 2944 if test -z "$ac_cv_prog_CC"; then
 2945   ac_ct_CC=$CC
 2946   # Extract the first word of "cc", so it can be a program name with args.
 2947 set dummy cc; ac_word=$2
 2948 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2950 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2951   echo $ECHO_N "(cached) $ECHO_C" >&6
 2952 else
 2953   if test -n "$ac_ct_CC"; then
 2954   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2955 else
 2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2957 for as_dir in $PATH
 2958 do
 2959   IFS=$as_save_IFS
 2960   test -z "$as_dir" && as_dir=.
 2961   for ac_exec_ext in '' $ac_executable_extensions; do
 2962   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2963     ac_cv_prog_ac_ct_CC="cc"
 2964     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2965     break 2
 2966   fi
 2967 done
 2968 done
 2969 
 2970 fi
 2971 fi
 2972 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2973 if test -n "$ac_ct_CC"; then
 2974   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2975 echo "${ECHO_T}$ac_ct_CC" >&6
 2976 else
 2977   echo "$as_me:$LINENO: result: no" >&5
 2978 echo "${ECHO_T}no" >&6
 2979 fi
 2980 
 2981   CC=$ac_ct_CC
 2982 else
 2983   CC="$ac_cv_prog_CC"
 2984 fi
 2985 
 2986 fi
 2987 if test -z "$CC"; then
 2988   # Extract the first word of "cc", so it can be a program name with args.
 2989 set dummy cc; ac_word=$2
 2990 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2992 if test "${ac_cv_prog_CC+set}" = set; then
 2993   echo $ECHO_N "(cached) $ECHO_C" >&6
 2994 else
 2995   if test -n "$CC"; then
 2996   ac_cv_prog_CC="$CC" # Let the user override the test.
 2997 else
 2998   ac_prog_rejected=no
 2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3000 for as_dir in $PATH
 3001 do
 3002   IFS=$as_save_IFS
 3003   test -z "$as_dir" && as_dir=.
 3004   for ac_exec_ext in '' $ac_executable_extensions; do
 3005   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3006     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3007        ac_prog_rejected=yes
 3008        continue
 3009      fi
 3010     ac_cv_prog_CC="cc"
 3011     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3012     break 2
 3013   fi
 3014 done
 3015 done
 3016 
 3017 if test $ac_prog_rejected = yes; then
 3018   # We found a bogon in the path, so make sure we never use it.
 3019   set dummy $ac_cv_prog_CC
 3020   shift
 3021   if test $# != 0; then
 3022     # We chose a different compiler from the bogus one.
 3023     # However, it has the same basename, so the bogon will be chosen
 3024     # first if we set CC to just the basename; use the full file name.
 3025     shift
 3026     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3027   fi
 3028 fi
 3029 fi
 3030 fi
 3031 CC=$ac_cv_prog_CC
 3032 if test -n "$CC"; then
 3033   echo "$as_me:$LINENO: result: $CC" >&5
 3034 echo "${ECHO_T}$CC" >&6
 3035 else
 3036   echo "$as_me:$LINENO: result: no" >&5
 3037 echo "${ECHO_T}no" >&6
 3038 fi
 3039 
 3040 fi
 3041 if test -z "$CC"; then
 3042   if test -n "$ac_tool_prefix"; then
 3043   for ac_prog in cl
 3044   do
 3045     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3047 echo "$as_me:$LINENO: checking for $ac_word" >&5
 3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3049 if test "${ac_cv_prog_CC+set}" = set; then
 3050   echo $ECHO_N "(cached) $ECHO_C" >&6
 3051 else
 3052   if test -n "$CC"; then
 3053   ac_cv_prog_CC="$CC" # Let the user override the test.
 3054 else
 3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3056 for as_dir in $PATH
 3057 do
 3058   IFS=$as_save_IFS
 3059   test -z "$as_dir" && as_dir=.
 3060   for ac_exec_ext in '' $ac_executable_extensions; do
 3061   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3062     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3064     break 2
 3065   fi
 3066 done
 3067 done
 3068 
 3069 fi
 3070 fi
 3071 CC=$ac_cv_prog_CC
 3072 if test -n "$CC"; then
 3073   echo "$as_me:$LINENO: result: $CC" >&5
 3074 echo "${ECHO_T}$CC" >&6
 3075 else
 3076   echo "$as_me:$LINENO: result: no" >&5
 3077 echo "${ECHO_T}no" >&6
 3078 fi
 3079 
 3080     test -n "$CC" && break
 3081   done
 3082 fi
 3083 if test -z "$CC"; then
 3084   ac_ct_CC=$CC
 3085   for ac_prog in cl
 3086 do
 3087   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3088 set dummy $ac_prog; ac_word=$2
 3089 echo "$as_me:$LINENO: checking for $ac_word" >&5
 3090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 3091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 3092   echo $ECHO_N "(cached) $ECHO_C" >&6
 3093 else
 3094   if test -n "$ac_ct_CC"; then
 3095   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3096 else
 3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3098 for as_dir in $PATH
 3099 do
 3100   IFS=$as_save_IFS
 3101   test -z "$as_dir" && as_dir=.
 3102   for ac_exec_ext in '' $ac_executable_extensions; do
 3103   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 3104     ac_cv_prog_ac_ct_CC="$ac_prog"
 3105     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3106     break 2
 3107   fi
 3108 done
 3109 done
 3110 
 3111 fi
 3112 fi
 3113 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3114 if test -n "$ac_ct_CC"; then
 3115   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 3116 echo "${ECHO_T}$ac_ct_CC" >&6
 3117 else
 3118   echo "$as_me:$LINENO: result: no" >&5
 3119 echo "${ECHO_T}no" >&6
 3120 fi
 3121 
 3122   test -n "$ac_ct_CC" && break
 3123 done
 3124 
 3125   CC=$ac_ct_CC
 3126 fi
 3127 
 3128 fi
 3129 
 3130 
 3131 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 3132 See \`config.log' for more details." >&5
 3133 echo "$as_me: error: no acceptable C compiler found in \$PATH
 3134 See \`config.log' for more details." >&2;}
 3135    { (exit 1); exit 1; }; }
 3136 
 3137 # Provide some information about the compiler.
 3138 echo "$as_me:$LINENO:" \
 3139      "checking for C compiler version" >&5
 3140 ac_compiler=`set X $ac_compile; echo $2`
 3141 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 3142   (eval $ac_compiler --version </dev/null >&5) 2>&5
 3143   ac_status=$?
 3144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3145   (exit $ac_status); }
 3146 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 3147   (eval $ac_compiler -v </dev/null >&5) 2>&5
 3148   ac_status=$?
 3149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3150   (exit $ac_status); }
 3151 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 3152   (eval $ac_compiler -V </dev/null >&5) 2>&5
 3153   ac_status=$?
 3154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3155   (exit $ac_status); }
 3156 
 3157 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 3158 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 3159 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 3160   echo $ECHO_N "(cached) $ECHO_C" >&6
 3161 else
 3162   cat >conftest.$ac_ext <<_ACEOF
 3163 /* confdefs.h.  */
 3164 _ACEOF
 3165 cat confdefs.h >>conftest.$ac_ext
 3166 cat >>conftest.$ac_ext <<_ACEOF
 3167 /* end confdefs.h.  */
 3168 
 3169 int
 3170 main ()
 3171 {
 3172 #ifndef __GNUC__
 3173        choke me
 3174 #endif
 3175 
 3176   ;
 3177   return 0;
 3178 }
 3179 _ACEOF
 3180 rm -f conftest.$ac_objext
 3181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3182   (eval $ac_compile) 2>conftest.er1
 3183   ac_status=$?
 3184   grep -v '^ *+' conftest.er1 >conftest.err
 3185   rm -f conftest.er1
 3186   cat conftest.err >&5
 3187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3188   (exit $ac_status); } &&
 3189      { ac_try='test -z "$ac_c_werror_flag"
 3190              || test ! -s conftest.err'
 3191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3192   (eval $ac_try) 2>&5
 3193   ac_status=$?
 3194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3195   (exit $ac_status); }; } &&
 3196      { ac_try='test -s conftest.$ac_objext'
 3197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3198   (eval $ac_try) 2>&5
 3199   ac_status=$?
 3200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3201   (exit $ac_status); }; }; then
 3202   ac_compiler_gnu=yes
 3203 else
 3204   echo "$as_me: failed program was:" >&5
 3205 sed 's/^/| /' conftest.$ac_ext >&5
 3206 
 3207 ac_compiler_gnu=no
 3208 fi
 3209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3210 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3211 
 3212 fi
 3213 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 3214 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 3215 GCC=`test $ac_compiler_gnu = yes && echo yes`
 3216 ac_test_CFLAGS=${CFLAGS+set}
 3217 ac_save_CFLAGS=$CFLAGS
 3218 CFLAGS="-g"
 3219 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 3220 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 3221 if test "${ac_cv_prog_cc_g+set}" = set; then
 3222   echo $ECHO_N "(cached) $ECHO_C" >&6
 3223 else
 3224   cat >conftest.$ac_ext <<_ACEOF
 3225 /* confdefs.h.  */
 3226 _ACEOF
 3227 cat confdefs.h >>conftest.$ac_ext
 3228 cat >>conftest.$ac_ext <<_ACEOF
 3229 /* end confdefs.h.  */
 3230 
 3231 int
 3232 main ()
 3233 {
 3234 
 3235   ;
 3236   return 0;
 3237 }
 3238 _ACEOF
 3239 rm -f conftest.$ac_objext
 3240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3241   (eval $ac_compile) 2>conftest.er1
 3242   ac_status=$?
 3243   grep -v '^ *+' conftest.er1 >conftest.err
 3244   rm -f conftest.er1
 3245   cat conftest.err >&5
 3246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3247   (exit $ac_status); } &&
 3248      { ac_try='test -z "$ac_c_werror_flag"
 3249              || test ! -s conftest.err'
 3250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3251   (eval $ac_try) 2>&5
 3252   ac_status=$?
 3253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3254   (exit $ac_status); }; } &&
 3255      { ac_try='test -s conftest.$ac_objext'
 3256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3257   (eval $ac_try) 2>&5
 3258   ac_status=$?
 3259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3260   (exit $ac_status); }; }; then
 3261   ac_cv_prog_cc_g=yes
 3262 else
 3263   echo "$as_me: failed program was:" >&5
 3264 sed 's/^/| /' conftest.$ac_ext >&5
 3265 
 3266 ac_cv_prog_cc_g=no
 3267 fi
 3268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3269 fi
 3270 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 3271 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 3272 if test "$ac_test_CFLAGS" = set; then
 3273   CFLAGS=$ac_save_CFLAGS
 3274 elif test $ac_cv_prog_cc_g = yes; then
 3275   if test "$GCC" = yes; then
 3276     CFLAGS="-g -O2"
 3277   else
 3278     CFLAGS="-g"
 3279   fi
 3280 else
 3281   if test "$GCC" = yes; then
 3282     CFLAGS="-O2"
 3283   else
 3284     CFLAGS=
 3285   fi
 3286 fi
 3287 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 3288 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 3289 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 3290   echo $ECHO_N "(cached) $ECHO_C" >&6
 3291 else
 3292   ac_cv_prog_cc_stdc=no
 3293 ac_save_CC=$CC
 3294 cat >conftest.$ac_ext <<_ACEOF
 3295 /* confdefs.h.  */
 3296 _ACEOF
 3297 cat confdefs.h >>conftest.$ac_ext
 3298 cat >>conftest.$ac_ext <<_ACEOF
 3299 /* end confdefs.h.  */
 3300 #include <stdarg.h>
 3301 #include <stdio.h>
 3302 #include <sys/types.h>
 3303 #include <sys/stat.h>
 3304 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3305 struct buf { int x; };
 3306 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3307 static char *e (p, i)
 3308      char **p;
 3309      int i;
 3310 {
 3311   return p[i];
 3312 }
 3313 static char *f (char * (*g) (char **, int), char **p, ...)
 3314 {
 3315   char *s;
 3316   va_list v;
 3317   va_start (v,p);
 3318   s = g (p, va_arg (v,int));
 3319   va_end (v);
 3320   return s;
 3321 }
 3322 
 3323 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3324    function prototypes and stuff, but not '\xHH' hex character constants.
 3325    These don't provoke an error unfortunately, instead are silently treated
 3326    as 'x'.  The following induces an error, until -std1 is added to get
 3327    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3328    array size at least.  It's necessary to write '\x00'==0 to get something
 3329    that's true only with -std1.  */
 3330 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3331 
 3332 int test (int i, double x);
 3333 struct s1 {int (*f) (int a);};
 3334 struct s2 {int (*f) (double a);};
 3335 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3336 int argc;
 3337 char **argv;
 3338 int
 3339 main ()
 3340 {
 3341 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3342   ;
 3343   return 0;
 3344 }
 3345 _ACEOF
 3346 # Don't try gcc -ansi; that turns off useful extensions and
 3347 # breaks some systems' header files.
 3348 # AIX           -qlanglvl=ansi
 3349 # Ultrix and OSF/1  -std1
 3350 # HP-UX 10.20 and later -Ae
 3351 # HP-UX older versions  -Aa -D_HPUX_SOURCE
 3352 # SVR4          -Xc -D__EXTENSIONS__
 3353 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3354 do
 3355   CC="$ac_save_CC $ac_arg"
 3356   rm -f conftest.$ac_objext
 3357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3358   (eval $ac_compile) 2>conftest.er1
 3359   ac_status=$?
 3360   grep -v '^ *+' conftest.er1 >conftest.err
 3361   rm -f conftest.er1
 3362   cat conftest.err >&5
 3363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3364   (exit $ac_status); } &&
 3365      { ac_try='test -z "$ac_c_werror_flag"
 3366              || test ! -s conftest.err'
 3367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3368   (eval $ac_try) 2>&5
 3369   ac_status=$?
 3370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3371   (exit $ac_status); }; } &&
 3372      { ac_try='test -s conftest.$ac_objext'
 3373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3374   (eval $ac_try) 2>&5
 3375   ac_status=$?
 3376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3377   (exit $ac_status); }; }; then
 3378   ac_cv_prog_cc_stdc=$ac_arg
 3379 break
 3380 else
 3381   echo "$as_me: failed program was:" >&5
 3382 sed 's/^/| /' conftest.$ac_ext >&5
 3383 
 3384 fi
 3385 rm -f conftest.err conftest.$ac_objext
 3386 done
 3387 rm -f conftest.$ac_ext conftest.$ac_objext
 3388 CC=$ac_save_CC
 3389 
 3390 fi
 3391 
 3392 case "x$ac_cv_prog_cc_stdc" in
 3393   x|xno)
 3394     echo "$as_me:$LINENO: result: none needed" >&5
 3395 echo "${ECHO_T}none needed" >&6 ;;
 3396   *)
 3397     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 3398 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 3399     CC="$CC $ac_cv_prog_cc_stdc" ;;
 3400 esac
 3401 
 3402 # Some people use a C++ compiler to compile C.  Since we use `exit',
 3403 # in C++ we need to declare it.  In case someone uses the same compiler
 3404 # for both compiling C and C++ we need to have the C++ compiler decide
 3405 # the declaration of exit, since it's the most demanding environment.
 3406 cat >conftest.$ac_ext <<_ACEOF
 3407 #ifndef __cplusplus
 3408   choke me
 3409 #endif
 3410 _ACEOF
 3411 rm -f conftest.$ac_objext
 3412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3413   (eval $ac_compile) 2>conftest.er1
 3414   ac_status=$?
 3415   grep -v '^ *+' conftest.er1 >conftest.err
 3416   rm -f conftest.er1
 3417   cat conftest.err >&5
 3418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3419   (exit $ac_status); } &&
 3420      { ac_try='test -z "$ac_c_werror_flag"
 3421              || test ! -s conftest.err'
 3422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3423   (eval $ac_try) 2>&5
 3424   ac_status=$?
 3425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3426   (exit $ac_status); }; } &&
 3427      { ac_try='test -s conftest.$ac_objext'
 3428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3429   (eval $ac_try) 2>&5
 3430   ac_status=$?
 3431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3432   (exit $ac_status); }; }; then
 3433   for ac_declaration in \
 3434    '' \
 3435    'extern "C" void std::exit (int) throw (); using std::exit;' \
 3436    'extern "C" void std::exit (int); using std::exit;' \
 3437    'extern "C" void exit (int) throw ();' \
 3438    'extern "C" void exit (int);' \
 3439    'void exit (int);'
 3440 do
 3441   cat >conftest.$ac_ext <<_ACEOF
 3442 /* confdefs.h.  */
 3443 _ACEOF
 3444 cat confdefs.h >>conftest.$ac_ext
 3445 cat >>conftest.$ac_ext <<_ACEOF
 3446 /* end confdefs.h.  */
 3447 $ac_declaration
 3448 #include <stdlib.h>
 3449 int
 3450 main ()
 3451 {
 3452 exit (42);
 3453   ;
 3454   return 0;
 3455 }
 3456 _ACEOF
 3457 rm -f conftest.$ac_objext
 3458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3459   (eval $ac_compile) 2>conftest.er1
 3460   ac_status=$?
 3461   grep -v '^ *+' conftest.er1 >conftest.err
 3462   rm -f conftest.er1
 3463   cat conftest.err >&5
 3464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3465   (exit $ac_status); } &&
 3466      { ac_try='test -z "$ac_c_werror_flag"
 3467              || test ! -s conftest.err'
 3468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3469   (eval $ac_try) 2>&5
 3470   ac_status=$?
 3471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3472   (exit $ac_status); }; } &&
 3473      { ac_try='test -s conftest.$ac_objext'
 3474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3475   (eval $ac_try) 2>&5
 3476   ac_status=$?
 3477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3478   (exit $ac_status); }; }; then
 3479   :
 3480 else
 3481   echo "$as_me: failed program was:" >&5
 3482 sed 's/^/| /' conftest.$ac_ext >&5
 3483 
 3484 continue
 3485 fi
 3486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3487   cat >conftest.$ac_ext <<_ACEOF
 3488 /* confdefs.h.  */
 3489 _ACEOF
 3490 cat confdefs.h >>conftest.$ac_ext
 3491 cat >>conftest.$ac_ext <<_ACEOF
 3492 /* end confdefs.h.  */
 3493 $ac_declaration
 3494 int
 3495 main ()
 3496 {
 3497 exit (42);
 3498   ;
 3499   return 0;
 3500 }
 3501 _ACEOF
 3502 rm -f conftest.$ac_objext
 3503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3504   (eval $ac_compile) 2>conftest.er1
 3505   ac_status=$?
 3506   grep -v '^ *+' conftest.er1 >conftest.err
 3507   rm -f conftest.er1
 3508   cat conftest.err >&5
 3509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3510   (exit $ac_status); } &&
 3511      { ac_try='test -z "$ac_c_werror_flag"
 3512              || test ! -s conftest.err'
 3513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3514   (eval $ac_try) 2>&5
 3515   ac_status=$?
 3516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3517   (exit $ac_status); }; } &&
 3518      { ac_try='test -s conftest.$ac_objext'
 3519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3520   (eval $ac_try) 2>&5
 3521   ac_status=$?
 3522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3523   (exit $ac_status); }; }; then
 3524   break
 3525 else
 3526   echo "$as_me: failed program was:" >&5
 3527 sed 's/^/| /' conftest.$ac_ext >&5
 3528 
 3529 fi
 3530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3531 done
 3532 rm -f conftest*
 3533 if test -n "$ac_declaration"; then
 3534   echo '#ifdef __cplusplus' >>confdefs.h
 3535   echo $ac_declaration      >>confdefs.h
 3536   echo '#endif'             >>confdefs.h
 3537 fi
 3538 
 3539 else
 3540   echo "$as_me: failed program was:" >&5
 3541 sed 's/^/| /' conftest.$ac_ext >&5
 3542 
 3543 fi
 3544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3545 ac_ext=c
 3546 ac_cpp='$CPP $CPPFLAGS'
 3547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3550 
 3551 depcc="$CC"   am_compiler_list=
 3552 
 3553 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 3554 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 3555 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 3556   echo $ECHO_N "(cached) $ECHO_C" >&6
 3557 else
 3558   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3559   # We make a subdir and do the tests there.  Otherwise we can end up
 3560   # making bogus files that we don't know about and never remove.  For
 3561   # instance it was reported that on HP-UX the gcc test will end up
 3562   # making a dummy file named `D' -- because `-MD' means `put the output
 3563   # in D'.
 3564   mkdir conftest.dir
 3565   # Copy depcomp to subdir because otherwise we won't find it if we're
 3566   # using a relative directory.
 3567   cp "$am_depcomp" conftest.dir
 3568   cd conftest.dir
 3569   # We will build objects and dependencies in a subdirectory because
 3570   # it helps to detect inapplicable dependency modes.  For instance
 3571   # both Tru64's cc and ICC support -MD to output dependencies as a
 3572   # side effect of compilation, but ICC will put the dependencies in
 3573   # the current directory while Tru64 will put them in the object
 3574   # directory.
 3575   mkdir sub
 3576 
 3577   am_cv_CC_dependencies_compiler_type=none
 3578   if test "$am_compiler_list" = ""; then
 3579      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3580   fi
 3581   for depmode in $am_compiler_list; do
 3582     # Setup a source with many dependencies, because some compilers
 3583     # like to wrap large dependency lists on column 80 (with \), and
 3584     # we should not choose a depcomp mode which is confused by this.
 3585     #
 3586     # We need to recreate these files for each test, as the compiler may
 3587     # overwrite some of them when testing with obscure command lines.
 3588     # This happens at least with the AIX C compiler.
 3589     : > sub/conftest.c
 3590     for i in 1 2 3 4 5 6; do
 3591       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3592       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3593       # Solaris 8's {/usr,}/bin/sh.
 3594       touch sub/conftst$i.h
 3595     done
 3596     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3597 
 3598     case $depmode in
 3599     nosideeffect)
 3600       # after this tag, mechanisms are not by side-effect, so they'll
 3601       # only be used when explicitly requested
 3602       if test "x$enable_dependency_tracking" = xyes; then
 3603     continue
 3604       else
 3605     break
 3606       fi
 3607       ;;
 3608     none) break ;;
 3609     esac
 3610     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3611     # mode.  It turns out that the SunPro C++ compiler does not properly
 3612     # handle `-M -o', and we need to detect this.
 3613     if depmode=$depmode \
 3614        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 3615        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3616        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 3617          >/dev/null 2>conftest.err &&
 3618        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3619        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 3620        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3621       # icc doesn't choke on unknown options, it will just issue warnings
 3622       # or remarks (even with -Werror).  So we grep stderr for any message
 3623       # that says an option was ignored or not supported.
 3624       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3625       #   icc: Command line warning: ignoring option '-M'; no argument required
 3626       # The diagnosis changed in icc 8.0:
 3627       #   icc: Command line remark: option '-MP' not supported
 3628       if (grep 'ignoring option' conftest.err ||
 3629           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3630         am_cv_CC_dependencies_compiler_type=$depmode
 3631         break
 3632       fi
 3633     fi
 3634   done
 3635 
 3636   cd ..
 3637   rm -rf conftest.dir
 3638 else
 3639   am_cv_CC_dependencies_compiler_type=none
 3640 fi
 3641 
 3642 fi
 3643 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 3644 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 3645 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3646 
 3647 
 3648 
 3649 if
 3650   test "x$enable_dependency_tracking" != xno \
 3651   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3652   am__fastdepCC_TRUE=
 3653   am__fastdepCC_FALSE='#'
 3654 else
 3655   am__fastdepCC_TRUE='#'
 3656   am__fastdepCC_FALSE=
 3657 fi
 3658 
 3659 
 3660 ac_ext=c
 3661 ac_cpp='$CPP $CPPFLAGS'
 3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3665 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 3666 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 3667 # On Suns, sometimes $CPP names a directory.
 3668 if test -n "$CPP" && test -d "$CPP"; then
 3669   CPP=
 3670 fi
 3671 if test -z "$CPP"; then
 3672   if test "${ac_cv_prog_CPP+set}" = set; then
 3673   echo $ECHO_N "(cached) $ECHO_C" >&6
 3674 else
 3675       # Double quotes because CPP needs to be expanded
 3676     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 3677     do
 3678       ac_preproc_ok=false
 3679 for ac_c_preproc_warn_flag in '' yes
 3680 do
 3681   # Use a header file that comes with gcc, so configuring glibc
 3682   # with a fresh cross-compiler works.
 3683   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3684   # <limits.h> exists even on freestanding compilers.
 3685   # On the NeXT, cc -E runs the code through the compiler's parser,
 3686   # not just through cpp. "Syntax error" is here to catch this case.
 3687   cat >conftest.$ac_ext <<_ACEOF
 3688 /* confdefs.h.  */
 3689 _ACEOF
 3690 cat confdefs.h >>conftest.$ac_ext
 3691 cat >>conftest.$ac_ext <<_ACEOF
 3692 /* end confdefs.h.  */
 3693 #ifdef __STDC__
 3694 # include <limits.h>
 3695 #else
 3696 # include <assert.h>
 3697 #endif
 3698              Syntax error
 3699 _ACEOF
 3700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3701   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3702   ac_status=$?
 3703   grep -v '^ *+' conftest.er1 >conftest.err
 3704   rm -f conftest.er1
 3705   cat conftest.err >&5
 3706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3707   (exit $ac_status); } >/dev/null; then
 3708   if test -s conftest.err; then
 3709     ac_cpp_err=$ac_c_preproc_warn_flag
 3710     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3711   else
 3712     ac_cpp_err=
 3713   fi
 3714 else
 3715   ac_cpp_err=yes
 3716 fi
 3717 if test -z "$ac_cpp_err"; then
 3718   :
 3719 else
 3720   echo "$as_me: failed program was:" >&5
 3721 sed 's/^/| /' conftest.$ac_ext >&5
 3722 
 3723   # Broken: fails on valid input.
 3724 continue
 3725 fi
 3726 rm -f conftest.err conftest.$ac_ext
 3727 
 3728   # OK, works on sane cases.  Now check whether non-existent headers
 3729   # can be detected and how.
 3730   cat >conftest.$ac_ext <<_ACEOF
 3731 /* confdefs.h.  */
 3732 _ACEOF
 3733 cat confdefs.h >>conftest.$ac_ext
 3734 cat >>conftest.$ac_ext <<_ACEOF
 3735 /* end confdefs.h.  */
 3736 #include <ac_nonexistent.h>
 3737 _ACEOF
 3738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3739   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3740   ac_status=$?
 3741   grep -v '^ *+' conftest.er1 >conftest.err
 3742   rm -f conftest.er1
 3743   cat conftest.err >&5
 3744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3745   (exit $ac_status); } >/dev/null; then
 3746   if test -s conftest.err; then
 3747     ac_cpp_err=$ac_c_preproc_warn_flag
 3748     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3749   else
 3750     ac_cpp_err=
 3751   fi
 3752 else
 3753   ac_cpp_err=yes
 3754 fi
 3755 if test -z "$ac_cpp_err"; then
 3756   # Broken: success on invalid input.
 3757 continue
 3758 else
 3759   echo "$as_me: failed program was:" >&5
 3760 sed 's/^/| /' conftest.$ac_ext >&5
 3761 
 3762   # Passes both tests.
 3763 ac_preproc_ok=:
 3764 break
 3765 fi
 3766 rm -f conftest.err conftest.$ac_ext
 3767 
 3768 done
 3769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3770 rm -f conftest.err conftest.$ac_ext
 3771 if $ac_preproc_ok; then
 3772   break
 3773 fi
 3774 
 3775     done
 3776     ac_cv_prog_CPP=$CPP
 3777 
 3778 fi
 3779   CPP=$ac_cv_prog_CPP
 3780 else
 3781   ac_cv_prog_CPP=$CPP
 3782 fi
 3783 echo "$as_me:$LINENO: result: $CPP" >&5
 3784 echo "${ECHO_T}$CPP" >&6
 3785 ac_preproc_ok=false
 3786 for ac_c_preproc_warn_flag in '' yes
 3787 do
 3788   # Use a header file that comes with gcc, so configuring glibc
 3789   # with a fresh cross-compiler works.
 3790   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 3791   # <limits.h> exists even on freestanding compilers.
 3792   # On the NeXT, cc -E runs the code through the compiler's parser,
 3793   # not just through cpp. "Syntax error" is here to catch this case.
 3794   cat >conftest.$ac_ext <<_ACEOF
 3795 /* confdefs.h.  */
 3796 _ACEOF
 3797 cat confdefs.h >>conftest.$ac_ext
 3798 cat >>conftest.$ac_ext <<_ACEOF
 3799 /* end confdefs.h.  */
 3800 #ifdef __STDC__
 3801 # include <limits.h>
 3802 #else
 3803 # include <assert.h>
 3804 #endif
 3805              Syntax error
 3806 _ACEOF
 3807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3808   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3809   ac_status=$?
 3810   grep -v '^ *+' conftest.er1 >conftest.err
 3811   rm -f conftest.er1
 3812   cat conftest.err >&5
 3813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3814   (exit $ac_status); } >/dev/null; then
 3815   if test -s conftest.err; then
 3816     ac_cpp_err=$ac_c_preproc_warn_flag
 3817     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3818   else
 3819     ac_cpp_err=
 3820   fi
 3821 else
 3822   ac_cpp_err=yes
 3823 fi
 3824 if test -z "$ac_cpp_err"; then
 3825   :
 3826 else
 3827   echo "$as_me: failed program was:" >&5
 3828 sed 's/^/| /' conftest.$ac_ext >&5
 3829 
 3830   # Broken: fails on valid input.
 3831 continue
 3832 fi
 3833 rm -f conftest.err conftest.$ac_ext
 3834 
 3835   # OK, works on sane cases.  Now check whether non-existent headers
 3836   # can be detected and how.
 3837   cat >conftest.$ac_ext <<_ACEOF
 3838 /* confdefs.h.  */
 3839 _ACEOF
 3840 cat confdefs.h >>conftest.$ac_ext
 3841 cat >>conftest.$ac_ext <<_ACEOF
 3842 /* end confdefs.h.  */
 3843 #include <ac_nonexistent.h>
 3844 _ACEOF
 3845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 3846   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 3847   ac_status=$?
 3848   grep -v '^ *+' conftest.er1 >conftest.err
 3849   rm -f conftest.er1
 3850   cat conftest.err >&5
 3851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3852   (exit $ac_status); } >/dev/null; then
 3853   if test -s conftest.err; then
 3854     ac_cpp_err=$ac_c_preproc_warn_flag
 3855     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 3856   else
 3857     ac_cpp_err=
 3858   fi
 3859 else
 3860   ac_cpp_err=yes
 3861 fi
 3862 if test -z "$ac_cpp_err"; then
 3863   # Broken: success on invalid input.
 3864 continue
 3865 else
 3866   echo "$as_me: failed program was:" >&5
 3867 sed 's/^/| /' conftest.$ac_ext >&5
 3868 
 3869   # Passes both tests.
 3870 ac_preproc_ok=:
 3871 break
 3872 fi
 3873 rm -f conftest.err conftest.$ac_ext
 3874 
 3875 done
 3876 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 3877 rm -f conftest.err conftest.$ac_ext
 3878 if $ac_preproc_ok; then
 3879   :
 3880 else
 3881   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 3882 See \`config.log' for more details." >&5
 3883 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 3884 See \`config.log' for more details." >&2;}
 3885    { (exit 1); exit 1; }; }
 3886 fi
 3887 
 3888 ac_ext=c
 3889 ac_cpp='$CPP $CPPFLAGS'
 3890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3893 
 3894 # Find a good install program.  We prefer a C program (faster),
 3895 # so one script is as good as another.  But avoid the broken or
 3896 # incompatible versions:
 3897 # SysV /etc/install, /usr/sbin/install
 3898 # SunOS /usr/etc/install
 3899 # IRIX /sbin/install
 3900 # AIX /bin/install
 3901 # AmigaOS /C/install, which installs bootblocks on floppy discs
 3902 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 3903 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 3904 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 3905 # OS/2's system install, which has a completely different semantic
 3906 # ./install, which can be erroneously created by make from ./install.sh.
 3907 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 3908 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 3909 if test -z "$INSTALL"; then
 3910 if test "${ac_cv_path_install+set}" = set; then
 3911   echo $ECHO_N "(cached) $ECHO_C" >&6
 3912 else
 3913   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3914 for as_dir in $PATH
 3915 do
 3916   IFS=$as_save_IFS
 3917   test -z "$as_dir" && as_dir=.
 3918   # Account for people who put trailing slashes in PATH elements.
 3919 case $as_dir/ in
 3920   ./ | .// | /cC/* | \
 3921   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 3922   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 3923   /usr/ucb/* ) ;;
 3924   *)
 3925     # OSF1 and SCO ODT 3.0 have their own names for install.
 3926     # Don't use installbsd from OSF since it installs stuff as root
 3927     # by default.
 3928     for ac_prog in ginstall scoinst install; do
 3929       for ac_exec_ext in '' $ac_executable_extensions; do
 3930     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 3931       if test $ac_prog = install &&
 3932         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3933         # AIX install.  It has an incompatible calling convention.
 3934         :
 3935       elif test $ac_prog = install &&
 3936         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 3937         # program-specific install script used by HP pwplus--don't use.
 3938         :
 3939       else
 3940         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 3941         break 3
 3942       fi
 3943     fi
 3944       done
 3945     done
 3946     ;;
 3947 esac
 3948 done
 3949 
 3950 
 3951 fi
 3952   if test "${ac_cv_path_install+set}" = set; then
 3953     INSTALL=$ac_cv_path_install
 3954   else
 3955     # As a last resort, use the slow shell script.  We don't cache a
 3956     # path for INSTALL within a source directory, because that will
 3957     # break other packages using the cache if that directory is
 3958     # removed, or if the path is relative.
 3959     INSTALL=$ac_install_sh
 3960   fi
 3961 fi
 3962 echo "$as_me:$LINENO: result: $INSTALL" >&5
 3963 echo "${ECHO_T}$INSTALL" >&6
 3964 
 3965 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 3966 # It thinks the first close brace ends the variable substitution.
 3967 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 3968 
 3969 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 3970 
 3971 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 3972 
 3973 echo "$as_me:$LINENO: checking whether ln -s works" >&5
 3974 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 3975 LN_S=$as_ln_s
 3976 if test "$LN_S" = "ln -s"; then
 3977   echo "$as_me:$LINENO: result: yes" >&5
 3978 echo "${ECHO_T}yes" >&6
 3979 else
 3980   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 3981 echo "${ECHO_T}no, using $LN_S" >&6
 3982 fi
 3983 
 3984 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 3985 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 3986 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 3987 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 3988   echo $ECHO_N "(cached) $ECHO_C" >&6
 3989 else
 3990   cat >conftest.make <<\_ACEOF
 3991 all:
 3992     @echo 'ac_maketemp="$(MAKE)"'
 3993 _ACEOF
 3994 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 3995 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 3996 if test -n "$ac_maketemp"; then
 3997   eval ac_cv_prog_make_${ac_make}_set=yes
 3998 else
 3999   eval ac_cv_prog_make_${ac_make}_set=no
 4000 fi
 4001 rm -f conftest.make
 4002 fi
 4003 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 4004   echo "$as_me:$LINENO: result: yes" >&5
 4005 echo "${ECHO_T}yes" >&6
 4006   SET_MAKE=
 4007 else
 4008   echo "$as_me:$LINENO: result: no" >&5
 4009 echo "${ECHO_T}no" >&6
 4010   SET_MAKE="MAKE=${MAKE-make}"
 4011 fi
 4012 
 4013 
 4014 case "$host_os" in
 4015         *w32*)
 4016                 LDFLAGS="$LDFLAGS -no-undefined"
 4017 
 4018 cat >>confdefs.h <<\_ACEOF
 4019 #define WIN32 1
 4020 _ACEOF
 4021 
 4022         ;;
 4023         *win32*)
 4024                 LDFLAGS="$LDFLAGS -no-undefined"
 4025 
 4026 cat >>confdefs.h <<\_ACEOF
 4027 #define WIN32 1
 4028 _ACEOF
 4029 
 4030         ;;
 4031         cygwin*)
 4032                 LDFLAGS="$LDFLAGS -no-undefined"
 4033 
 4034 cat >>confdefs.h <<\_ACEOF
 4035 #define WIN32 1
 4036 _ACEOF
 4037 
 4038         ;;
 4039 esac
 4040 
 4041 # Find a good install program.  We prefer a C program (faster),
 4042 # so one script is as good as another.  But avoid the broken or
 4043 # incompatible versions:
 4044 # SysV /etc/install, /usr/sbin/install
 4045 # SunOS /usr/etc/install
 4046 # IRIX /sbin/install
 4047 # AIX /bin/install
 4048 # AmigaOS /C/install, which installs bootblocks on floppy discs
 4049 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 4050 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 4051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 4052 # OS/2's system install, which has a completely different semantic
 4053 # ./install, which can be erroneously created by make from ./install.sh.
 4054 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 4055 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 4056 if test -z "$INSTALL"; then
 4057 if test "${ac_cv_path_install+set}" = set; then
 4058   echo $ECHO_N "(cached) $ECHO_C" >&6
 4059 else
 4060   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4061 for as_dir in $PATH
 4062 do
 4063   IFS=$as_save_IFS
 4064   test -z "$as_dir" && as_dir=.
 4065   # Account for people who put trailing slashes in PATH elements.
 4066 case $as_dir/ in
 4067   ./ | .// | /cC/* | \
 4068   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 4069   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 4070   /usr/ucb/* ) ;;
 4071   *)
 4072     # OSF1 and SCO ODT 3.0 have their own names for install.
 4073     # Don't use installbsd from OSF since it installs stuff as root
 4074     # by default.
 4075     for ac_prog in ginstall scoinst install; do
 4076       for ac_exec_ext in '' $ac_executable_extensions; do
 4077     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 4078       if test $ac_prog = install &&
 4079         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 4080         # AIX install.  It has an incompatible calling convention.
 4081         :
 4082       elif test $ac_prog = install &&
 4083         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 4084         # program-specific install script used by HP pwplus--don't use.
 4085         :
 4086       else
 4087         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 4088         break 3
 4089       fi
 4090     fi
 4091       done
 4092     done
 4093     ;;
 4094 esac
 4095 done
 4096 
 4097 
 4098 fi
 4099   if test "${ac_cv_path_install+set}" = set; then
 4100     INSTALL=$ac_cv_path_install
 4101   else
 4102     # As a last resort, use the slow shell script.  We don't cache a
 4103     # path for INSTALL within a source directory, because that will
 4104     # break other packages using the cache if that directory is
 4105     # removed, or if the path is relative.
 4106     INSTALL=$ac_install_sh
 4107   fi
 4108 fi
 4109 echo "$as_me:$LINENO: result: $INSTALL" >&5
 4110 echo "${ECHO_T}$INSTALL" >&6
 4111 
 4112 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 4113 # It thinks the first close brace ends the variable substitution.
 4114 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 4115 
 4116 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 4117 
 4118 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 4119 
 4120 echo "$as_me:$LINENO: checking whether ln -s works" >&5
 4121 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 4122 LN_S=$as_ln_s
 4123 if test "$LN_S" = "ln -s"; then
 4124   echo "$as_me:$LINENO: result: yes" >&5
 4125 echo "${ECHO_T}yes" >&6
 4126 else
 4127   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 4128 echo "${ECHO_T}no, using $LN_S" >&6
 4129 fi
 4130 
 4131 
 4132 
 4133 opt_maintainer_mode=no
 4134 echo "$as_me:$LINENO: checking whether in maintanance mode" >&5
 4135 echo $ECHO_N "checking whether in maintanance mode... $ECHO_C" >&6
 4136 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 4137 if test "${enable_maintainer_mode+set}" = set; then
 4138   enableval="$enable_maintainer_mode"
 4139   opt_maintainer_mode=$enableval
 4140 fi;
 4141 echo "$as_me:$LINENO: result: $opt_maintainer_mode" >&5
 4142 echo "${ECHO_T}$opt_maintainer_mode" >&6
 4143 
 4144 opt_dmalloc_mode=no
 4145 echo "$as_me:$LINENO: checking whether in dmalloc mode" >&5
 4146 echo $ECHO_N "checking whether in dmalloc mode... $ECHO_C" >&6
 4147 # Check whether --enable-dmalloc-mode or --disable-dmalloc-mode was given.
 4148 if test "${enable_dmalloc_mode+set}" = set; then
 4149   enableval="$enable_dmalloc_mode"
 4150   opt_dmalloc_mode=$enableval
 4151 fi;
 4152 echo "$as_me:$LINENO: result: $opt_dmalloc_mode" >&5
 4153 echo "${ECHO_T}$opt_dmalloc_mode" >&6
 4154 
 4155 
 4156 if test x$ac_cv_c_compiler_gnu = xyes; then
 4157     if test x$opt_maintainer_mode = xyes; then
 4158       CFLAGS=" -ggdb3 -O2 -Wall -Wpointer-arith"
 4159     fi
 4160 
 4161     if test x$opt_dmalloc_mode = xyes; then
 4162 
 4163 
 4164 echo "$as_me:$LINENO: checking for main in -ldmalloc" >&5
 4165 echo $ECHO_N "checking for main in -ldmalloc... $ECHO_C" >&6
 4166 if test "${ac_cv_lib_dmalloc_main+set}" = set; then
 4167   echo $ECHO_N "(cached) $ECHO_C" >&6
 4168 else
 4169   ac_check_lib_save_LIBS=$LIBS
 4170 LIBS="-ldmalloc  $LIBS"
 4171 cat >conftest.$ac_ext <<_ACEOF
 4172 /* confdefs.h.  */
 4173 _ACEOF
 4174 cat confdefs.h >>conftest.$ac_ext
 4175 cat >>conftest.$ac_ext <<_ACEOF
 4176 /* end confdefs.h.  */
 4177 
 4178 
 4179 int
 4180 main ()
 4181 {
 4182 main ();
 4183   ;
 4184   return 0;
 4185 }
 4186 _ACEOF
 4187 rm -f conftest.$ac_objext conftest$ac_exeext
 4188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4189   (eval $ac_link) 2>conftest.er1
 4190   ac_status=$?
 4191   grep -v '^ *+' conftest.er1 >conftest.err
 4192   rm -f conftest.er1
 4193   cat conftest.err >&5
 4194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4195   (exit $ac_status); } &&
 4196      { ac_try='test -z "$ac_c_werror_flag"
 4197              || test ! -s conftest.err'
 4198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4199   (eval $ac_try) 2>&5
 4200   ac_status=$?
 4201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4202   (exit $ac_status); }; } &&
 4203      { ac_try='test -s conftest$ac_exeext'
 4204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4205   (eval $ac_try) 2>&5
 4206   ac_status=$?
 4207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4208   (exit $ac_status); }; }; then
 4209   ac_cv_lib_dmalloc_main=yes
 4210 else
 4211   echo "$as_me: failed program was:" >&5
 4212 sed 's/^/| /' conftest.$ac_ext >&5
 4213 
 4214 ac_cv_lib_dmalloc_main=no
 4215 fi
 4216 rm -f conftest.err conftest.$ac_objext \
 4217       conftest$ac_exeext conftest.$ac_ext
 4218 LIBS=$ac_check_lib_save_LIBS
 4219 fi
 4220 echo "$as_me:$LINENO: result: $ac_cv_lib_dmalloc_main" >&5
 4221 echo "${ECHO_T}$ac_cv_lib_dmalloc_main" >&6
 4222 if test $ac_cv_lib_dmalloc_main = yes; then
 4223   cat >>confdefs.h <<_ACEOF
 4224 #define HAVE_LIBDMALLOC 1
 4225 _ACEOF
 4226 
 4227   LIBS="-ldmalloc $LIBS"
 4228 
 4229 fi
 4230 
 4231 
 4232 cat >>confdefs.h <<\_ACEOF
 4233 #define USE_DMALLOC 1
 4234 _ACEOF
 4235 
 4236     fi
 4237 fi
 4238 
 4239 opt_enable_ltdl=no
 4240 echo "$as_me:$LINENO: checking whether to enable dynamic module loading" >&5
 4241 echo $ECHO_N "checking whether to enable dynamic module loading... $ECHO_C" >&6
 4242 # Check whether --enable-dynamic-loading or --disable-dynamic-loading was given.
 4243 if test "${enable_dynamic_loading+set}" = set; then
 4244   enableval="$enable_dynamic_loading"
 4245   opt_enable_ltdl=$enableval
 4246 fi;
 4247 echo "$as_me:$LINENO: result: $opt_enable_ltdl" >&5
 4248 echo "${ECHO_T}$opt_enable_ltdl" >&6
 4249 
 4250 MCRYPT_MODE_MODULES="cbc cfb ctr ecb ncfb nofb ofb stream"
 4251 MCRYPT_ALGORITHM_MODULES="threeway cast-128 gost rijndael-128 safer-sk64 twofish \
 4252  arcfour cast-256 loki97 rijndael-192 saferplus wake \
 4253  blowfish-compat des rijndael-256 serpent xtea \
 4254  blowfish enigma rc2 safer-sk128 tripledes"
 4255 
 4256 
 4257 if test "x$opt_enable_ltdl" != xno; then
 4258  touch lib/mcrypt_internal.h
 4259 
 4260  echo "$as_me:$LINENO: checking for lt_dlmutex_register in -lltdl" >&5
 4261 echo $ECHO_N "checking for lt_dlmutex_register in -lltdl... $ECHO_C" >&6
 4262 if test "${ac_cv_lib_ltdl_lt_dlmutex_register+set}" = set; then
 4263   echo $ECHO_N "(cached) $ECHO_C" >&6
 4264 else
 4265   ac_check_lib_save_LIBS=$LIBS
 4266 LIBS="-lltdl  $LIBS"
 4267 cat >conftest.$ac_ext <<_ACEOF
 4268 /* confdefs.h.  */
 4269 _ACEOF
 4270 cat confdefs.h >>conftest.$ac_ext
 4271 cat >>conftest.$ac_ext <<_ACEOF
 4272 /* end confdefs.h.  */
 4273 
 4274 /* Override any gcc2 internal prototype to avoid an error.  */
 4275 #ifdef __cplusplus
 4276 extern "C"
 4277 #endif
 4278 /* We use char because int might match the return type of a gcc2
 4279    builtin and then its argument prototype would still apply.  */
 4280 char lt_dlmutex_register ();
 4281 int
 4282 main ()
 4283 {
 4284 lt_dlmutex_register ();
 4285   ;
 4286   return 0;
 4287 }
 4288 _ACEOF
 4289 rm -f conftest.$ac_objext conftest$ac_exeext
 4290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4291   (eval $ac_link) 2>conftest.er1
 4292   ac_status=$?
 4293   grep -v '^ *+' conftest.er1 >conftest.err
 4294   rm -f conftest.er1
 4295   cat conftest.err >&5
 4296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4297   (exit $ac_status); } &&
 4298      { ac_try='test -z "$ac_c_werror_flag"
 4299              || test ! -s conftest.err'
 4300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4301   (eval $ac_try) 2>&5
 4302   ac_status=$?
 4303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4304   (exit $ac_status); }; } &&
 4305      { ac_try='test -s conftest$ac_exeext'
 4306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4307   (eval $ac_try) 2>&5
 4308   ac_status=$?
 4309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4310   (exit $ac_status); }; }; then
 4311   ac_cv_lib_ltdl_lt_dlmutex_register=yes
 4312 else
 4313   echo "$as_me: failed program was:" >&5
 4314 sed 's/^/| /' conftest.$ac_ext >&5
 4315 
 4316 ac_cv_lib_ltdl_lt_dlmutex_register=no
 4317 fi
 4318 rm -f conftest.err conftest.$ac_objext \
 4319       conftest$ac_exeext conftest.$ac_ext
 4320 LIBS=$ac_check_lib_save_LIBS
 4321 fi
 4322 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlmutex_register" >&5
 4323 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlmutex_register" >&6
 4324 if test $ac_cv_lib_ltdl_lt_dlmutex_register = yes; then
 4325 
 4326 cat >>confdefs.h <<\_ACEOF
 4327 #define DLMUTEX 1
 4328 _ACEOF
 4329 
 4330 fi
 4331 
 4332 
 4333     echo "$as_me:$LINENO: checking for lt_dlinit in -lltdl" >&5
 4334 echo $ECHO_N "checking for lt_dlinit in -lltdl... $ECHO_C" >&6
 4335 if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then
 4336   echo $ECHO_N "(cached) $ECHO_C" >&6
 4337 else
 4338   ac_check_lib_save_LIBS=$LIBS
 4339 LIBS="-lltdl  $LIBS"
 4340 cat >conftest.$ac_ext <<_ACEOF
 4341 /* confdefs.h.  */
 4342 _ACEOF
 4343 cat confdefs.h >>conftest.$ac_ext
 4344 cat >>conftest.$ac_ext <<_ACEOF
 4345 /* end confdefs.h.  */
 4346 
 4347 /* Override any gcc2 internal prototype to avoid an error.  */
 4348 #ifdef __cplusplus
 4349 extern "C"
 4350 #endif
 4351 /* We use char because int might match the return type of a gcc2
 4352    builtin and then its argument prototype would still apply.  */
 4353 char lt_dlinit ();
 4354 int
 4355 main ()
 4356 {
 4357 lt_dlinit ();
 4358   ;
 4359   return 0;
 4360 }
 4361 _ACEOF
 4362 rm -f conftest.$ac_objext conftest$ac_exeext
 4363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4364   (eval $ac_link) 2>conftest.er1
 4365   ac_status=$?
 4366   grep -v '^ *+' conftest.er1 >conftest.err
 4367   rm -f conftest.er1
 4368   cat conftest.err >&5
 4369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4370   (exit $ac_status); } &&
 4371      { ac_try='test -z "$ac_c_werror_flag"
 4372              || test ! -s conftest.err'
 4373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4374   (eval $ac_try) 2>&5
 4375   ac_status=$?
 4376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4377   (exit $ac_status); }; } &&
 4378      { ac_try='test -s conftest$ac_exeext'
 4379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4380   (eval $ac_try) 2>&5
 4381   ac_status=$?
 4382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4383   (exit $ac_status); }; }; then
 4384   ac_cv_lib_ltdl_lt_dlinit=yes
 4385 else
 4386   echo "$as_me: failed program was:" >&5
 4387 sed 's/^/| /' conftest.$ac_ext >&5
 4388 
 4389 ac_cv_lib_ltdl_lt_dlinit=no
 4390 fi
 4391 rm -f conftest.err conftest.$ac_objext \
 4392       conftest$ac_exeext conftest.$ac_ext
 4393 LIBS=$ac_check_lib_save_LIBS
 4394 fi
 4395 echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlinit" >&5
 4396 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlinit" >&6
 4397 if test $ac_cv_lib_ltdl_lt_dlinit = yes; then
 4398   test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no
 4399 else
 4400   if test x"$enable_ltdl_install" = xno; then
 4401      { echo "$as_me:$LINENO: WARNING: libltdl not installed, but installation disabled" >&5
 4402 echo "$as_me: WARNING: libltdl not installed, but installation disabled" >&2;}
 4403    else
 4404      enable_ltdl_install=yes
 4405    fi
 4406 
 4407 fi
 4408 
 4409   if test x"$enable_ltdl_install" = x"yes"; then
 4410     ac_configure_args="$ac_configure_args --enable-ltdl-install"
 4411     LIBLTDL='${top_builddir}/''libltdl'/libltdl.la
 4412     LTDLINCL='-I${top_srcdir}/''libltdl'
 4413   else
 4414     ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
 4415     LIBLTDL="-lltdl"
 4416     LTDLINCL=
 4417   fi
 4418   # For backwards non-gettext consistent compatibility...
 4419   INCLTDL="$LTDLINCL"
 4420 
 4421 
 4422 
 4423  LIBLTDL_DIR=libltdl
 4424 
 4425 
 4426 
 4427 
 4428 subdirs="$subdirs libltdl"
 4429 
 4430  # Check whether --enable-static or --disable-static was given.
 4431 if test "${enable_static+set}" = set; then
 4432   enableval="$enable_static"
 4433   p=${PACKAGE-default}
 4434     case $enableval in
 4435     yes) enable_static=yes ;;
 4436     no) enable_static=no ;;
 4437     *)
 4438      enable_static=no
 4439       # Look at the argument we got.  We use all the common list separators.
 4440       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 4441       for pkg in $enableval; do
 4442     IFS="$lt_save_ifs"
 4443     if test "X$pkg" = "X$p"; then
 4444       enable_static=yes
 4445     fi
 4446       done
 4447       IFS="$lt_save_ifs"
 4448       ;;
 4449     esac
 4450 else
 4451   enable_static=no
 4452 fi;
 4453 
 4454 
 4455 
 4456 
 4457 cat >>confdefs.h <<\_ACEOF
 4458 #define USE_LTDL 1
 4459 _ACEOF
 4460 
 4461 
 4462  if test x$LIBLTDL = x; then
 4463     :
 4464  else
 4465     LTLIBS="-lltdl"
 4466  fi
 4467  opt_include_algos=no
 4468 
 4469 # create the names of the .la libraries to install
 4470  for i in $MCRYPT_ALGORITHM_MODULES
 4471  do \
 4472   INSTALL_ALGORITHM_MODULES="$INSTALL_ALGORITHM_MODULES $i.la"
 4473  done
 4474 
 4475  for i in $MCRYPT_MODE_MODULES
 4476  do \
 4477   INSTALL_MODE_MODULES="$INSTALL_MODE_MODULES $i.la"
 4478  done
 4479 
 4480 
 4481 
 4482 
 4483 else
 4484  for i in $MCRYPT_ALGORITHM_MODULES
 4485  do \
 4486   NOINSTALL_ALGORITHM_MODULES="$NOINSTALL_ALGORITHM_MODULES $i.la"
 4487  done
 4488 
 4489  for i in $MCRYPT_MODE_MODULES
 4490  do \
 4491   NOINSTALL_MODE_MODULES="$NOINSTALL_MODE_MODULES $i.la"
 4492  done
 4493 
 4494 
 4495 
 4496 
 4497  opt_include_algos="$MCRYPT_MODE_MODULES $MCRYPT_ALGORITHM_MODULES"
 4498  echo "***"
 4499  echo "*** Dynamic loading has been disabled"
 4500 fi
 4501 
 4502 echo "$as_me:$LINENO: checking which algorithms to include into library" >&5
 4503 echo $ECHO_N "checking which algorithms to include into library... $ECHO_C" >&6
 4504 
 4505 # Check whether --with-included-algos or --without-included-algos was given.
 4506 if test "${with_included_algos+set}" = set; then
 4507   withval="$with_included_algos"
 4508   touch lib/mcrypt_internal.h
 4509 opt_include_algos=$withval
 4510 fi;
 4511 
 4512 if test "x$opt_include_algos" = xyes; then
 4513     opt_include_algos=""
 4514 fi
 4515 if test "x$opt_include_algos" = xno; then
 4516     opt_include_algos=""
 4517 fi
 4518 
 4519 
 4520 EXTRA_OBJECTS=""
 4521 ALG=`echo -n $opt_include_algos|sed "s/,/ /g"|sed "s/\n/ /g"`
 4522 for i in $ALG
 4523 do \
 4524 test -f modules/algorithms/$i.c && EXTRA_OBJECTS="$EXTRA_OBJECTS ../modules/algorithms/$i.lo"
 4525 test -f modules/modes/$i.c && EXTRA_OBJECTS="$EXTRA_OBJECTS ../modules/modes/$i.lo"
 4526 done
 4527 
 4528 echo "$as_me:$LINENO: result: $opt_include_algos" >&5
 4529 echo "${ECHO_T}$opt_include_algos" >&6
 4530 
 4531 
 4532 EXTRA_ALGOS=$ALG
 4533 
 4534 
 4535 
 4536 
 4537 
 4538 
 4539 
 4540 
 4541 
 4542 
 4543 
 4544 
 4545 LT_CURRENT=$LIBMCRYPT_MOST_RECENT_INTERFACE
 4546 LT_REVISION=$LIBMCRYPT_CURRENT_INTERFACE_IMPLEMENTATION_NUMBER
 4547 LT_AGE=`expr $LIBMCRYPT_MOST_RECENT_INTERFACE - $LIBMCRYPT_OLDEST_INTERFACE`
 4548 
 4549 
 4550 
 4551 
 4552 
 4553 
 4554 
 4555 
 4556 
 4557 ac_header_dirent=no
 4558 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 4559   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 4560 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 4561 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
 4562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 4563   echo $ECHO_N "(cached) $ECHO_C" >&6
 4564 else
 4565   cat >conftest.$ac_ext <<_ACEOF
 4566 /* confdefs.h.  */
 4567 _ACEOF
 4568 cat confdefs.h >>conftest.$ac_ext
 4569 cat >>conftest.$ac_ext <<_ACEOF
 4570 /* end confdefs.h.  */
 4571 #include <sys/types.h>
 4572 #include <$ac_hdr>
 4573 
 4574 int
 4575 main ()
 4576 {
 4577 if ((DIR *) 0)
 4578 return 0;
 4579   ;
 4580   return 0;
 4581 }
 4582 _ACEOF
 4583 rm -f conftest.$ac_objext
 4584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4585   (eval $ac_compile) 2>conftest.er1
 4586   ac_status=$?
 4587   grep -v '^ *+' conftest.er1 >conftest.err
 4588   rm -f conftest.er1
 4589   cat conftest.err >&5
 4590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4591   (exit $ac_status); } &&
 4592      { ac_try='test -z "$ac_c_werror_flag"
 4593              || test ! -s conftest.err'
 4594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4595   (eval $ac_try) 2>&5
 4596   ac_status=$?
 4597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4598   (exit $ac_status); }; } &&
 4599      { ac_try='test -s conftest.$ac_objext'
 4600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4601   (eval $ac_try) 2>&5
 4602   ac_status=$?
 4603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4604   (exit $ac_status); }; }; then
 4605   eval "$as_ac_Header=yes"
 4606 else
 4607   echo "$as_me: failed program was:" >&5
 4608 sed 's/^/| /' conftest.$ac_ext >&5
 4609 
 4610 eval "$as_ac_Header=no"
 4611 fi
 4612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4613 fi
 4614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 4615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 4616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 4617   cat >>confdefs.h <<_ACEOF
 4618 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 4619 _ACEOF
 4620 
 4621 ac_header_dirent=$ac_hdr; break
 4622 fi
 4623 
 4624 done
 4625 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 4626 if test $ac_header_dirent = dirent.h; then
 4627   echo "$as_me:$LINENO: checking for library containing opendir" >&5
 4628 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
 4629 if test "${ac_cv_search_opendir+set}" = set; then
 4630   echo $ECHO_N "(cached) $ECHO_C" >&6
 4631 else
 4632   ac_func_search_save_LIBS=$LIBS
 4633 ac_cv_search_opendir=no
 4634 cat >conftest.$ac_ext <<_ACEOF
 4635 /* confdefs.h.  */
 4636 _ACEOF
 4637 cat confdefs.h >>conftest.$ac_ext
 4638 cat >>conftest.$ac_ext <<_ACEOF
 4639 /* end confdefs.h.  */
 4640 
 4641 /* Override any gcc2 internal prototype to avoid an error.  */
 4642 #ifdef __cplusplus
 4643 extern "C"
 4644 #endif
 4645 /* We use char because int might match the return type of a gcc2
 4646    builtin and then its argument prototype would still apply.  */
 4647 char opendir ();
 4648 int
 4649 main ()
 4650 {
 4651 opendir ();
 4652   ;
 4653   return 0;
 4654 }
 4655 _ACEOF
 4656 rm -f conftest.$ac_objext conftest$ac_exeext
 4657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4658   (eval $ac_link) 2>conftest.er1
 4659   ac_status=$?
 4660   grep -v '^ *+' conftest.er1 >conftest.err
 4661   rm -f conftest.er1
 4662   cat conftest.err >&5
 4663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4664   (exit $ac_status); } &&
 4665      { ac_try='test -z "$ac_c_werror_flag"
 4666              || test ! -s conftest.err'
 4667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4668   (eval $ac_try) 2>&5
 4669   ac_status=$?
 4670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4671   (exit $ac_status); }; } &&
 4672      { ac_try='test -s conftest$ac_exeext'
 4673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4674   (eval $ac_try) 2>&5
 4675   ac_status=$?
 4676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4677   (exit $ac_status); }; }; then
 4678   ac_cv_search_opendir="none required"
 4679 else
 4680   echo "$as_me: failed program was:" >&5
 4681 sed 's/^/| /' conftest.$ac_ext >&5
 4682 
 4683 fi
 4684 rm -f conftest.err conftest.$ac_objext \
 4685       conftest$ac_exeext conftest.$ac_ext
 4686 if test "$ac_cv_search_opendir" = no; then
 4687   for ac_lib in dir; do
 4688     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 4689     cat >conftest.$ac_ext <<_ACEOF
 4690 /* confdefs.h.  */
 4691 _ACEOF
 4692 cat confdefs.h >>conftest.$ac_ext
 4693 cat >>conftest.$ac_ext <<_ACEOF
 4694 /* end confdefs.h.  */
 4695 
 4696 /* Override any gcc2 internal prototype to avoid an error.  */
 4697 #ifdef __cplusplus
 4698 extern "C"
 4699 #endif
 4700 /* We use char because int might match the return type of a gcc2
 4701    builtin and then its argument prototype would still apply.  */
 4702 char opendir ();
 4703 int
 4704 main ()
 4705 {
 4706 opendir ();
 4707   ;
 4708   return 0;
 4709 }
 4710 _ACEOF
 4711 rm -f conftest.$ac_objext conftest$ac_exeext
 4712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4713   (eval $ac_link) 2>conftest.er1
 4714   ac_status=$?
 4715   grep -v '^ *+' conftest.er1 >conftest.err
 4716   rm -f conftest.er1
 4717   cat conftest.err >&5
 4718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4719   (exit $ac_status); } &&
 4720      { ac_try='test -z "$ac_c_werror_flag"
 4721              || test ! -s conftest.err'
 4722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4723   (eval $ac_try) 2>&5
 4724   ac_status=$?
 4725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4726   (exit $ac_status); }; } &&
 4727      { ac_try='test -s conftest$ac_exeext'
 4728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4729   (eval $ac_try) 2>&5
 4730   ac_status=$?
 4731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4732   (exit $ac_status); }; }; then
 4733   ac_cv_search_opendir="-l$ac_lib"
 4734 break
 4735 else
 4736   echo "$as_me: failed program was:" >&5
 4737 sed 's/^/| /' conftest.$ac_ext >&5
 4738 
 4739 fi
 4740 rm -f conftest.err conftest.$ac_objext \
 4741       conftest$ac_exeext conftest.$ac_ext
 4742   done
 4743 fi
 4744 LIBS=$ac_func_search_save_LIBS
 4745 fi
 4746 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 4747 echo "${ECHO_T}$ac_cv_search_opendir" >&6
 4748 if test "$ac_cv_search_opendir" != no; then
 4749   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
 4750 
 4751 fi
 4752 
 4753 else
 4754   echo "$as_me:$LINENO: checking for library containing opendir" >&5
 4755 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
 4756 if test "${ac_cv_search_opendir+set}" = set; then
 4757   echo $ECHO_N "(cached) $ECHO_C" >&6
 4758 else
 4759   ac_func_search_save_LIBS=$LIBS
 4760 ac_cv_search_opendir=no
 4761 cat >conftest.$ac_ext <<_ACEOF
 4762 /* confdefs.h.  */
 4763 _ACEOF
 4764 cat confdefs.h >>conftest.$ac_ext
 4765 cat >>conftest.$ac_ext <<_ACEOF
 4766 /* end confdefs.h.  */
 4767 
 4768 /* Override any gcc2 internal prototype to avoid an error.  */
 4769 #ifdef __cplusplus
 4770 extern "C"
 4771 #endif
 4772 /* We use char because int might match the return type of a gcc2
 4773    builtin and then its argument prototype would still apply.  */
 4774 char opendir ();
 4775 int
 4776 main ()
 4777 {
 4778 opendir ();
 4779   ;
 4780   return 0;
 4781 }
 4782 _ACEOF
 4783 rm -f conftest.$ac_objext conftest$ac_exeext
 4784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4785   (eval $ac_link) 2>conftest.er1
 4786   ac_status=$?
 4787   grep -v '^ *+' conftest.er1 >conftest.err
 4788   rm -f conftest.er1
 4789   cat conftest.err >&5
 4790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4791   (exit $ac_status); } &&
 4792      { ac_try='test -z "$ac_c_werror_flag"
 4793              || test ! -s conftest.err'
 4794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4795   (eval $ac_try) 2>&5
 4796   ac_status=$?
 4797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4798   (exit $ac_status); }; } &&
 4799      { ac_try='test -s conftest$ac_exeext'
 4800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4801   (eval $ac_try) 2>&5
 4802   ac_status=$?
 4803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4804   (exit $ac_status); }; }; then
 4805   ac_cv_search_opendir="none required"
 4806 else
 4807   echo "$as_me: failed program was:" >&5
 4808 sed 's/^/| /' conftest.$ac_ext >&5
 4809 
 4810 fi
 4811 rm -f conftest.err conftest.$ac_objext \
 4812       conftest$ac_exeext conftest.$ac_ext
 4813 if test "$ac_cv_search_opendir" = no; then
 4814   for ac_lib in x; do
 4815     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 4816     cat >conftest.$ac_ext <<_ACEOF
 4817 /* confdefs.h.  */
 4818 _ACEOF
 4819 cat confdefs.h >>conftest.$ac_ext
 4820 cat >>conftest.$ac_ext <<_ACEOF
 4821 /* end confdefs.h.  */
 4822 
 4823 /* Override any gcc2 internal prototype to avoid an error.  */
 4824 #ifdef __cplusplus
 4825 extern "C"
 4826 #endif
 4827 /* We use char because int might match the return type of a gcc2
 4828    builtin and then its argument prototype would still apply.  */
 4829 char opendir ();
 4830 int
 4831 main ()
 4832 {
 4833 opendir ();
 4834   ;
 4835   return 0;
 4836 }
 4837 _ACEOF
 4838 rm -f conftest.$ac_objext conftest$ac_exeext
 4839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4840   (eval $ac_link) 2>conftest.er1
 4841   ac_status=$?
 4842   grep -v '^ *+' conftest.er1 >conftest.err
 4843   rm -f conftest.er1
 4844   cat conftest.err >&5
 4845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4846   (exit $ac_status); } &&
 4847      { ac_try='test -z "$ac_c_werror_flag"
 4848              || test ! -s conftest.err'
 4849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4850   (eval $ac_try) 2>&5
 4851   ac_status=$?
 4852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4853   (exit $ac_status); }; } &&
 4854      { ac_try='test -s conftest$ac_exeext'
 4855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4856   (eval $ac_try) 2>&5
 4857   ac_status=$?
 4858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4859   (exit $ac_status); }; }; then
 4860   ac_cv_search_opendir="-l$ac_lib"
 4861 break
 4862 else
 4863   echo "$as_me: failed program was:" >&5
 4864 sed 's/^/| /' conftest.$ac_ext >&5
 4865 
 4866 fi
 4867 rm -f conftest.err conftest.$ac_objext \
 4868       conftest$ac_exeext conftest.$ac_ext
 4869   done
 4870 fi
 4871 LIBS=$ac_func_search_save_LIBS
 4872 fi
 4873 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 4874 echo "${ECHO_T}$ac_cv_search_opendir" >&6
 4875 if test "$ac_cv_search_opendir" != no; then
 4876   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
 4877 
 4878 fi
 4879 
 4880 fi
 4881 
 4882 
 4883 echo "$as_me:$LINENO: checking for egrep" >&5
 4884 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 4885 if test "${ac_cv_prog_egrep+set}" = set; then
 4886   echo $ECHO_N "(cached) $ECHO_C" >&6
 4887 else
 4888   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 4889     then ac_cv_prog_egrep='grep -E'
 4890     else ac_cv_prog_egrep='egrep'
 4891     fi
 4892 fi
 4893 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 4894 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 4895  EGREP=$ac_cv_prog_egrep
 4896 
 4897 
 4898 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 4899 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 4900 if test "${ac_cv_header_stdc+set}" = set; then
 4901   echo $ECHO_N "(cached) $ECHO_C" >&6
 4902 else
 4903   cat >conftest.$ac_ext <<_ACEOF
 4904 /* confdefs.h.  */
 4905 _ACEOF
 4906 cat confdefs.h >>conftest.$ac_ext
 4907 cat >>conftest.$ac_ext <<_ACEOF
 4908 /* end confdefs.h.  */
 4909 #include <stdlib.h>
 4910 #include <stdarg.h>
 4911 #include <string.h>
 4912 #include <float.h>
 4913 
 4914 int
 4915 main ()
 4916 {
 4917 
 4918   ;
 4919   return 0;
 4920 }
 4921 _ACEOF
 4922 rm -f conftest.$ac_objext
 4923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 4924   (eval $ac_compile) 2>conftest.er1
 4925   ac_status=$?
 4926   grep -v '^ *+' conftest.er1 >conftest.err
 4927   rm -f conftest.er1
 4928   cat conftest.err >&5
 4929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4930   (exit $ac_status); } &&
 4931      { ac_try='test -z "$ac_c_werror_flag"
 4932              || test ! -s conftest.err'
 4933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4934   (eval $ac_try) 2>&5
 4935   ac_status=$?
 4936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4937   (exit $ac_status); }; } &&
 4938      { ac_try='test -s conftest.$ac_objext'
 4939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4940   (eval $ac_try) 2>&5
 4941   ac_status=$?
 4942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4943   (exit $ac_status); }; }; then
 4944   ac_cv_header_stdc=yes
 4945 else
 4946   echo "$as_me: failed program was:" >&5
 4947 sed 's/^/| /' conftest.$ac_ext >&5
 4948 
 4949 ac_cv_header_stdc=no
 4950 fi
 4951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 4952 
 4953 if test $ac_cv_header_stdc = yes; then
 4954   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 4955   cat >conftest.$ac_ext <<_ACEOF
 4956 /* confdefs.h.  */
 4957 _ACEOF
 4958 cat confdefs.h >>conftest.$ac_ext
 4959 cat >>conftest.$ac_ext <<_ACEOF
 4960 /* end confdefs.h.  */
 4961 #include <string.h>
 4962 
 4963 _ACEOF
 4964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4965   $EGREP "memchr" >/dev/null 2>&1; then
 4966   :
 4967 else
 4968   ac_cv_header_stdc=no
 4969 fi
 4970 rm -f conftest*
 4971 
 4972 fi
 4973 
 4974 if test $ac_cv_header_stdc = yes; then
 4975   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 4976   cat >conftest.$ac_ext <<_ACEOF
 4977 /* confdefs.h.  */
 4978 _ACEOF
 4979 cat confdefs.h >>conftest.$ac_ext
 4980 cat >>conftest.$ac_ext <<_ACEOF
 4981 /* end confdefs.h.  */
 4982 #include <stdlib.h>
 4983 
 4984 _ACEOF
 4985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 4986   $EGREP "free" >/dev/null 2>&1; then
 4987   :
 4988 else
 4989   ac_cv_header_stdc=no
 4990 fi
 4991 rm -f conftest*
 4992 
 4993 fi
 4994 
 4995 if test $ac_cv_header_stdc = yes; then
 4996   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 4997   if test "$cross_compiling" = yes; then
 4998   :
 4999 else
 5000   cat >conftest.$ac_ext <<_ACEOF
 5001 /* confdefs.h.  */
 5002 _ACEOF
 5003 cat confdefs.h >>conftest.$ac_ext
 5004 cat >>conftest.$ac_ext <<_ACEOF
 5005 /* end confdefs.h.  */
 5006 #include <ctype.h>
 5007 #if ((' ' & 0x0FF) == 0x020)
 5008 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 5009 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 5010 #else
 5011 # define ISLOWER(c) \
 5012            (('a' <= (c) && (c) <= 'i') \
 5013              || ('j' <= (c) && (c) <= 'r') \
 5014              || ('s' <= (c) && (c) <= 'z'))
 5015 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 5016 #endif
 5017 
 5018 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 5019 int
 5020 main ()
 5021 {
 5022   int i;
 5023   for (i = 0; i < 256; i++)
 5024     if (XOR (islower (i), ISLOWER (i))
 5025     || toupper (i) != TOUPPER (i))
 5026       exit(2);
 5027   exit (0);
 5028 }
 5029 _ACEOF
 5030 rm -f conftest$ac_exeext
 5031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5032   (eval $ac_link) 2>&5
 5033   ac_status=$?
 5034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5035   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5037   (eval $ac_try) 2>&5
 5038   ac_status=$?
 5039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5040   (exit $ac_status); }; }; then
 5041   :
 5042 else
 5043   echo "$as_me: program exited with status $ac_status" >&5
 5044 echo "$as_me: failed program was:" >&5
 5045 sed 's/^/| /' conftest.$ac_ext >&5
 5046 
 5047 ( exit $ac_status )
 5048 ac_cv_header_stdc=no
 5049 fi
 5050 rm -f core *.core gmon.out bb.out conftest$