Changeset 10852

Show
Ignore:
Timestamp:
07.11.2005 13:30:40 (14 years ago)
Author:
kjdon
Message:

changed LIBOBJS= to AC_LIBOBJ(), added in check for endianness

Location:
trunk/gsdl/packages/mg
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/mg/aclocal.m4

    r439 r10852  
    132132  AC_MSG_RESULT(regex) 
    133133  AC_DEFINE(WITH_REGEX) 
    134   LIBOBJS="$LIBOBJS regex.o" 
     134  AC_LIBOBJ(regex) 
    135135fi]) 
    136136if test -z "$ac_with_regex"; then 
    137137  AC_MSG_RESULT(rx) 
    138   AC_CHECK_FUNC(re_rx_search, , [LIBOBJS="$LIBOBJS rx.o"]) 
     138  AC_CHECK_FUNC(re_rx_search, , [AC_LIBOBJ(rx)]) 
    139139fi 
    140 AC_SUBST(LIBOBJS)dnl 
    141140]) 
  • trunk/gsdl/packages/mg/config.h.in

    r439 r10852  
    170170/* Define if you have the m library (-lm).  */ 
    171171#undef HAVE_LIBM 
     172 
     173/* define if big endian */ 
     174#undef WORDS_BIGENDIAN 
  • trunk/gsdl/packages/mg/configure

    r3762 r10852  
    11#! /bin/sh 
    2  
    32# Guess values for system-dependent variables and create Makefiles. 
    4 # Generated automatically using autoconf version 2.12  
    5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 
     3# Generated by GNU Autoconf 2.59. 
    64# 
     5# Copyright (C) 2003 Free Software Foundation, Inc. 
    76# This configure script is free software; the Free Software Foundation 
    87# gives unlimited permission to copy, distribute and modify it. 
    9  
    10 # Defaults: 
    11 ac_help= 
     8## --------------------- ## 
     9## M4sh Initialization.  ## 
     10## --------------------- ## 
     11 
     12# Be Bourne compatible 
     13if 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+"$@"}'='"$@"' 
     19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
     20  set -o posix 
     21fi 
     22DUALCASE=1; export DUALCASE # for MKS sh 
     23 
     24# Support unset when possible. 
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
     26  as_unset=unset 
     27else 
     28  as_unset=false 
     29fi 
     30 
     31 
     32# Work around bugs in pre-3.0 UWIN ksh. 
     33$as_unset ENV MAIL MAILPATH 
     34PS1='$ ' 
     35PS2='> ' 
     36PS4='+ ' 
     37 
     38# NLS nuisances. 
     39for 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 
     43do 
     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 
     49done 
     50 
     51# Required to use basename. 
     52if expr a : '\(a\)' >/dev/null 2>&1; then 
     53  as_expr=expr 
     54else 
     55  as_expr=false 
     56fi 
     57 
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
     59  as_basename=basename 
     60else 
     61  as_basename=false 
     62fi 
     63 
     64 
     65# Name of the executable. 
     66as_me=`$as_basename "$0" || 
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     68     X"$0" : 'X\(//\)$' \| \ 
     69     X"$0" : 'X\(/\)$' \| \ 
     70     .     : '\(.\)' 2>/dev/null || 
     71echo 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. 
     80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
     82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 
     83as_cr_digits='0123456789' 
     84as_cr_alnum=$as_cr_Letters$as_cr_digits 
     85 
     86# The user is always right. 
     87if 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 
     97fi 
     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 
     110for as_dir in $PATH 
     111do 
     112  IFS=$as_save_IFS 
     113  test -z "$as_dir" && as_dir=. 
     114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     115done 
     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 
     131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     132do 
     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 
     152done 
     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 
     187case `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= ;; 
     192esac 
     193 
     194if expr a : '\(a\)' >/dev/null 2>&1; then 
     195  as_expr=expr 
     196else 
     197  as_expr=false 
     198fi 
     199 
     200rm -f conf$$ conf$$.exe conf$$.file 
     201echo >conf$$.file 
     202if 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 
     211elif ln conf$$.file conf$$ 2>/dev/null; then 
     212  as_ln_s=ln 
     213else 
     214  as_ln_s='cp -p' 
     215fi 
     216rm -f conf$$ conf$$.exe conf$$.file 
     217 
     218if mkdir -p . 2>/dev/null; then 
     219  as_mkdir_p=: 
     220else 
     221  test -d ./-p && rmdir ./-p 
     222  as_mkdir_p=false 
     223fi 
     224 
     225as_executable_p="test -f" 
     226 
     227# Sed expression to map a string onto a valid CPP name. 
     228as_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. 
     231as_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. 
     236as_nl=' 
     237' 
     238IFS="   $as_nl" 
     239 
     240# CDPATH. 
     241$as_unset CDPATH 
     242 
     243 
     244# Name of the host. 
     245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 
     246# so uname gets run too. 
     247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 
     248 
     249exec 6>&1 
     250 
     251# 
     252# Initializations. 
     253# 
    12254ac_default_prefix=/usr/local 
    13 # Any additions from configure.in: 
    14 ac_help="$ac_help 
    15   --with-dmalloc          use dmalloc, as in 
    16                           ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz" 
    17 ac_help="$ac_help 
    18   --with-regex            use older regex in lieu of GNU rx for matching" 
     255ac_config_libobj_dir=. 
     256cross_compiling=no 
     257subdirs= 
     258MFLAGS= 
     259MAKEFLAGS= 
     260SHELL=${CONFIG_SHELL-/bin/sh} 
     261 
     262# Maximum number of lines to put in a shell here document. 
     263# This variable seems obsolete.  It should probably be removed, and 
     264# only ac_max_sed_lines should be used. 
     265: ${ac_max_here_lines=38} 
     266 
     267# Identity of this package. 
     268PACKAGE_NAME= 
     269PACKAGE_TARNAME= 
     270PACKAGE_VERSION= 
     271PACKAGE_STRING= 
     272PACKAGE_BUGREPORT= 
     273 
     274ac_unique_file="src/text/mgquery.c" 
     275# Factoring default headers for most tests. 
     276ac_includes_default="\ 
     277#include <stdio.h> 
     278#if HAVE_SYS_TYPES_H 
     279# include <sys/types.h> 
     280#endif 
     281#if HAVE_SYS_STAT_H 
     282# include <sys/stat.h> 
     283#endif 
     284#if STDC_HEADERS 
     285# include <stdlib.h> 
     286# include <stddef.h> 
     287#else 
     288# if HAVE_STDLIB_H 
     289#  include <stdlib.h> 
     290# endif 
     291#endif 
     292#if HAVE_STRING_H 
     293# if !STDC_HEADERS && HAVE_MEMORY_H 
     294#  include <memory.h> 
     295# endif 
     296# include <string.h> 
     297#endif 
     298#if HAVE_STRINGS_H 
     299# include <strings.h> 
     300#endif 
     301#if HAVE_INTTYPES_H 
     302# include <inttypes.h> 
     303#else 
     304# if HAVE_STDINT_H 
     305#  include <stdint.h> 
     306# endif 
     307#endif 
     308#if HAVE_UNISTD_H 
     309# include <unistd.h> 
     310#endif" 
     311 
     312ac_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 PACKAGE VERSION CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT AWK YACC CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP U ANSI2KNR ALLOCA LIBOBJS LTLIBOBJS' 
     313ac_subst_files='' 
    19314 
    20315# Initialize some variables set by options. 
     316ac_init_help= 
     317ac_init_version=false 
    21318# The variables have the same names as the options, with 
    22319# dashes changed to underlines. 
    23 build=NONE 
    24 cache_file=./config.cache 
     320cache_file=/dev/null 
    25321exec_prefix=NONE 
    26 host=NONE 
    27322no_create= 
    28 nonopt=NONE 
    29323no_recursion= 
    30324prefix=NONE 
     
    35329site= 
    36330srcdir= 
    37 target=NONE 
    38331verbose= 
    39332x_includes=NONE 
    40333x_libraries=NONE 
     334 
     335# Installation directory options. 
     336# These are left unexpanded so users can "make install exec_prefix=/foo" 
     337# and all the variables that are supposed to be based on exec_prefix 
     338# by default will actually change. 
     339# Use braces instead of parens because sh, perl, etc. also accept them. 
    41340bindir='${exec_prefix}/bin' 
    42341sbindir='${exec_prefix}/sbin' 
     
    52351mandir='${prefix}/man' 
    53352 
    54 # Initialize some other variables. 
    55 subdirs= 
    56 MFLAGS= MAKEFLAGS= 
    57 # Maximum number of lines to put in a shell here document. 
    58 ac_max_here_lines=12 
    59  
    60353ac_prev= 
    61354for ac_option 
    62355do 
    63  
    64356  # If the previous option needs an argument, assign it. 
    65357  if test -n "$ac_prev"; then 
     
    69361  fi 
    70362 
    71   case "$ac_option" in 
    72   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 
    73   *) ac_optarg= ;; 
    74   esac 
     363  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 
    75364 
    76365  # Accept the important Cygnus configure options, so we can diagnose typos. 
    77366 
    78   case "$ac_option" in 
     367  case $ac_option in 
    79368 
    80369  -bindir | --bindir | --bindi | --bind | --bin | --bi) 
    81370    ac_prev=bindir ;; 
    82371  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 
    83     bindir="$ac_optarg" ;; 
     372    bindir=$ac_optarg ;; 
    84373 
    85374  -build | --build | --buil | --bui | --bu) 
    86     ac_prev=build ;; 
     375    ac_prev=build_alias ;; 
    87376  -build=* | --build=* | --buil=* | --bui=* | --bu=*) 
    88     build="$ac_optarg" ;; 
     377    build_alias=$ac_optarg ;; 
    89378 
    90379  -cache-file | --cache-file | --cache-fil | --cache-fi \ 
     
    93382  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 
    94383  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 
    95     cache_file="$ac_optarg" ;; 
     384    cache_file=$ac_optarg ;; 
     385 
     386  --config-cache | -C) 
     387    cache_file=config.cache ;; 
    96388 
    97389  -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 
     
    99391  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 
    100392  | --da=*) 
    101     datadir="$ac_optarg" ;; 
     393    datadir=$ac_optarg ;; 
    102394 
    103395  -disable-* | --disable-*) 
    104     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` 
     396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 
    105397    # Reject names that are not valid shell variable names. 
    106     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 
    107       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 
    108     fi 
    109     ac_feature=`echo $ac_feature| sed 's/-/_/g'` 
    110     eval "enable_${ac_feature}=no" ;; 
     398    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 
     399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
     400   { (exit 1); exit 1; }; } 
     401    ac_feature=`echo $ac_feature | sed 's/-/_/g'` 
     402    eval "enable_$ac_feature=no" ;; 
    111403 
    112404  -enable-* | --enable-*) 
    113     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` 
     405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 
    114406    # Reject names that are not valid shell variable names. 
    115     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 
    116       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 
    117     fi 
    118     ac_feature=`echo $ac_feature| sed 's/-/_/g'` 
    119     case "$ac_option" in 
    120       *=*) ;; 
     407    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 
     408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2 
     409   { (exit 1); exit 1; }; } 
     410    ac_feature=`echo $ac_feature | sed 's/-/_/g'` 
     411    case $ac_option in 
     412      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 
    121413      *) ac_optarg=yes ;; 
    122414    esac 
    123     eval "enable_${ac_feature}='$ac_optarg'" ;; 
     415    eval "enable_$ac_feature='$ac_optarg'" ;; 
    124416 
    125417  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 
     
    130422  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 
    131423  | --exec=* | --exe=* | --ex=*) 
    132     exec_prefix="$ac_optarg" ;; 
     424    exec_prefix=$ac_optarg ;; 
    133425 
    134426  -gas | --gas | --ga | --g) 
     
    136428    with_gas=yes ;; 
    137429 
    138   -help | --help | --hel | --he) 
    139     # Omit some internal or obsolete options to make the list less imposing. 
    140     # This message is too long to be a string in the A/UX 3.1 sh. 
    141     cat << EOF 
    142 Usage: configure [options] [host] 
    143 Options: [defaults in brackets after descriptions] 
    144 Configuration: 
    145   --cache-file=FILE       cache test results in FILE 
    146   --help                  print this message 
    147   --no-create             do not create output files 
    148   --quiet, --silent       do not print \`checking...' messages 
    149   --version               print the version of autoconf that created configure 
    150 Directory and file names: 
    151   --prefix=PREFIX         install architecture-independent files in PREFIX 
    152                           [$ac_default_prefix] 
    153   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
    154                           [same as prefix] 
    155   --bindir=DIR            user executables in DIR [EPREFIX/bin] 
    156   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin] 
    157   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec] 
    158   --datadir=DIR           read-only architecture-independent data in DIR 
    159                           [PREFIX/share] 
    160   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc] 
    161   --sharedstatedir=DIR    modifiable architecture-independent data in DIR 
    162                           [PREFIX/com] 
    163   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var] 
    164   --libdir=DIR            object code libraries in DIR [EPREFIX/lib] 
    165   --includedir=DIR        C header files in DIR [PREFIX/include] 
    166   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include] 
    167   --infodir=DIR           info documentation in DIR [PREFIX/info] 
    168   --mandir=DIR            man documentation in DIR [PREFIX/man] 
    169   --srcdir=DIR            find the sources in DIR [configure dir or ..] 
    170   --program-prefix=PREFIX prepend PREFIX to installed program names 
    171   --program-suffix=SUFFIX append SUFFIX to installed program names 
    172   --program-transform-name=PROGRAM 
    173                           run sed PROGRAM on installed program names 
    174 EOF 
    175     cat << EOF 
    176 Host type: 
    177   --build=BUILD           configure for building on BUILD [BUILD=HOST] 
    178   --host=HOST             configure for HOST [guessed] 
    179   --target=TARGET         configure for TARGET [TARGET=HOST] 
    180 Features and packages: 
    181   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
    182   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
    183   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
    184   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
    185   --x-includes=DIR        X include files are in DIR 
    186   --x-libraries=DIR       X library files are in DIR 
    187 EOF 
    188     if test -n "$ac_help"; then 
    189       echo "--enable and --with options recognized:$ac_help" 
    190     fi 
    191     exit 0 ;; 
     430  -help | --help | --hel | --he | -h) 
     431    ac_init_help=long ;; 
     432  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 
     433    ac_init_help=recursive ;; 
     434  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 
     435    ac_init_help=short ;; 
    192436 
    193437  -host | --host | --hos | --ho) 
    194     ac_prev=host ;; 
     438    ac_prev=host_alias ;; 
    195439  -host=* | --host=* | --hos=* | --ho=*) 
    196     host="$ac_optarg" ;; 
     440    host_alias=$ac_optarg ;; 
    197441 
    198442  -includedir | --includedir | --includedi | --included | --include \ 
     
    201445  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 
    202446  | --includ=* | --inclu=* | --incl=* | --inc=*) 
    203     includedir="$ac_optarg" ;; 
     447    includedir=$ac_optarg ;; 
    204448 
    205449  -infodir | --infodir | --infodi | --infod | --info | --inf) 
    206450    ac_prev=infodir ;; 
    207451  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 
    208     infodir="$ac_optarg" ;; 
     452    infodir=$ac_optarg ;; 
    209453 
    210454  -libdir | --libdir | --libdi | --libd) 
    211455    ac_prev=libdir ;; 
    212456  -libdir=* | --libdir=* | --libdi=* | --libd=*) 
    213     libdir="$ac_optarg" ;; 
     457    libdir=$ac_optarg ;; 
    214458 
    215459  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 
     
    218462  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 
    219463  | --libexe=* | --libex=* | --libe=*) 
    220     libexecdir="$ac_optarg" ;; 
     464    libexecdir=$ac_optarg ;; 
    221465 
    222466  -localstatedir | --localstatedir | --localstatedi | --localstated \ 
     
    227471  | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 
    228472  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 
    229     localstatedir="$ac_optarg" ;; 
     473    localstatedir=$ac_optarg ;; 
    230474 
    231475  -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 
    232476    ac_prev=mandir ;; 
    233477  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 
    234     mandir="$ac_optarg" ;; 
     478    mandir=$ac_optarg ;; 
    235479 
    236480  -nfp | --nfp | --nf) 
     
    239483 
    240484  -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
    241   | --no-cr | --no-c) 
     485  | --no-cr | --no-c | -n) 
    242486    no_create=yes ;; 
    243487 
     
    253497  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 
    254498  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 
    255     oldincludedir="$ac_optarg" ;; 
     499    oldincludedir=$ac_optarg ;; 
    256500 
    257501  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 
    258502    ac_prev=prefix ;; 
    259503  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 
    260     prefix="$ac_optarg" ;; 
     504    prefix=$ac_optarg ;; 
    261505 
    262506  -program-prefix | --program-prefix | --program-prefi | --program-pref \ 
     
    265509  -program-prefix=* | --program-prefix=* | --program-prefi=* \ 
    266510  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 
    267     program_prefix="$ac_optarg" ;; 
     511    program_prefix=$ac_optarg ;; 
    268512 
    269513  -program-suffix | --program-suffix | --program-suffi | --program-suff \ 
     
    272516  -program-suffix=* | --program-suffix=* | --program-suffi=* \ 
    273517  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 
    274     program_suffix="$ac_optarg" ;; 
     518    program_suffix=$ac_optarg ;; 
    275519 
    276520  -program-transform-name | --program-transform-name \ 
     
    289533  | --program-trans=* | --program-tran=* \ 
    290534  | --progr-tra=* | --program-tr=* | --program-t=*) 
    291     program_transform_name="$ac_optarg" ;; 
     535    program_transform_name=$ac_optarg ;; 
    292536 
    293537  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     
    299543  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 
    300544  | --sbi=* | --sb=*) 
    301     sbindir="$ac_optarg" ;; 
     545    sbindir=$ac_optarg ;; 
    302546 
    303547  -sharedstatedir | --sharedstatedir | --sharedstatedi \ 
     
    310554  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 
    311555  | --sha=* | --sh=*) 
    312     sharedstatedir="$ac_optarg" ;; 
     556    sharedstatedir=$ac_optarg ;; 
    313557 
    314558  -site | --site | --sit) 
    315559    ac_prev=site ;; 
    316560  -site=* | --site=* | --sit=*) 
    317     site="$ac_optarg" ;; 
     561    site=$ac_optarg ;; 
    318562 
    319563  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 
    320564    ac_prev=srcdir ;; 
    321565  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 
    322     srcdir="$ac_optarg" ;; 
     566    srcdir=$ac_optarg ;; 
    323567 
    324568  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 
     
    327571  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 
    328572  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 
    329     sysconfdir="$ac_optarg" ;; 
     573    sysconfdir=$ac_optarg ;; 
    330574 
    331575  -target | --target | --targe | --targ | --tar | --ta | --t) 
    332     ac_prev=target ;; 
     576    ac_prev=target_alias ;; 
    333577  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 
    334     target="$ac_optarg" ;; 
     578    target_alias=$ac_optarg ;; 
    335579 
    336580  -v | -verbose | --verbose | --verbos | --verbo | --verb) 
    337581    verbose=yes ;; 
    338582 
    339   -version | --version | --versio | --versi | --vers) 
    340     echo "configure generated by autoconf version 2.12" 
    341     exit 0 ;; 
     583  -version | --version | --versio | --versi | --vers | -V) 
     584    ac_init_version=: ;; 
    342585 
    343586  -with-* | --with-*) 
    344     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 
     587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 
    345588    # Reject names that are not valid shell variable names. 
    346     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 
    347       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 
    348     fi 
     589    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 
     590      { echo "$as_me: error: invalid package name: $ac_package" >&2 
     591   { (exit 1); exit 1; }; } 
    349592    ac_package=`echo $ac_package| sed 's/-/_/g'` 
    350     case "$ac_option" in 
    351       *=*) ;; 
     593    case $ac_option in 
     594      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 
    352595      *) ac_optarg=yes ;; 
    353596    esac 
    354     eval "with_${ac_package}='$ac_optarg'" ;; 
     597    eval "with_$ac_package='$ac_optarg'" ;; 
    355598 
    356599  -without-* | --without-*) 
    357     ac_package=`echo $ac_option|sed -e 's/-*without-//'` 
     600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 
    358601    # Reject names that are not valid shell variable names. 
    359     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 
    360       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 
    361     fi 
    362     ac_package=`echo $ac_package| sed 's/-/_/g'` 
    363     eval "with_${ac_package}=no" ;; 
     602    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 
     603      { echo "$as_me: error: invalid package name: $ac_package" >&2 
     604   { (exit 1); exit 1; }; } 
     605    ac_package=`echo $ac_package | sed 's/-/_/g'` 
     606    eval "with_$ac_package=no" ;; 
    364607 
    365608  --x) 
     
    372615  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 
    373616  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 
    374     x_includes="$ac_optarg" ;; 
     617    x_includes=$ac_optarg ;; 
    375618 
    376619  -x-libraries | --x-libraries | --x-librarie | --x-librari \ 
     
    379622  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 
    380623  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 
    381     x_libraries="$ac_optarg" ;; 
    382  
    383   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 
     624    x_libraries=$ac_optarg ;; 
     625 
     626  -*) { echo "$as_me: error: unrecognized option: $ac_option 
     627Try \`$0 --help' for more information." >&2 
     628   { (exit 1); exit 1; }; } 
    384629    ;; 
    385630 
     631  *=*) 
     632    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 
     633    # Reject names that are not valid shell variable names. 
     634    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 
     635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 
     636   { (exit 1); exit 1; }; } 
     637    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 
     638    eval "$ac_envvar='$ac_optarg'" 
     639    export $ac_envvar ;; 
     640 
    386641  *) 
    387     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 
    388       echo "configure: warning: $ac_option: invalid host type" 1>&2 
    389     fi 
    390     if test "x$nonopt" != xNONE; then 
    391       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 
    392     fi 
    393     nonopt="$ac_option" 
     642    # FIXME: should be removed in autoconf 3.0. 
     643    echo "$as_me: WARNING: you should use --build, --host, --target" >&2 
     644    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 
     645      echo "$as_me: WARNING: invalid host type: $ac_option" >&2 
     646    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 
    394647    ;; 
    395648 
     
    398651 
    399652if test -n "$ac_prev"; then 
    400   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 
    401 fi 
    402  
    403 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 
    404  
    405 # File descriptor usage: 
    406 # 0 standard input 
    407 # 1 file creation 
    408 # 2 errors and warnings 
    409 # 3 some systems may open it to /dev/tty 
    410 # 4 used on the Kubota Titan 
    411 # 6 checking for... messages and results 
    412 # 5 compiler messages saved in config.log 
    413 if test "$silent" = yes; then 
    414   exec 6>/dev/null 
    415 else 
    416   exec 6>&1 
    417 fi 
    418 exec 5>./config.log 
    419  
    420 echo "\ 
    421 This file contains any messages produced by compilers while 
    422 running configure, to aid debugging if configure makes a mistake. 
    423 " 1>&5 
    424  
    425 # Strip out --no-create and --no-recursion so they do not pile up. 
    426 # Also quote any args containing shell metacharacters. 
    427 ac_configure_args= 
    428 for ac_arg 
     653  ac_option=--`echo $ac_prev | sed 's/_/-/g'` 
     654  { echo "$as_me: error: missing argument to $ac_option" >&2 
     655   { (exit 1); exit 1; }; } 
     656fi 
     657 
     658# Be sure to have absolute paths. 
     659for ac_var in exec_prefix prefix 
    429660do 
    430   case "$ac_arg" in 
    431   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
    432   | --no-cr | --no-c) ;; 
    433   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 
    434   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 
    435   *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 
    436   ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
    437   *) ac_configure_args="$ac_configure_args $ac_arg" ;; 
     661  eval ac_val=$`echo $ac_var` 
     662  case $ac_val in 
     663    [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 
     664    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
     665   { (exit 1); exit 1; }; };; 
    438666  esac 
    439667done 
    440668 
    441 # NLS nuisances. 
    442 # Only set these to C if already set.  These must not be set unconditionally 
    443 # because not all systems understand e.g. LANG=C (notably SCO). 
    444 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 
    445 # Non-C LC_CTYPE values break the ctype check. 
    446 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi 
    447 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 
    448 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 
    449 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi 
    450  
    451 # confdefs.h avoids OS command line length limits that DEFS can exceed. 
    452 rm -rf conftest* confdefs.h 
    453 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 
    454 echo > confdefs.h 
    455  
    456 # A filename unique to this package, relative to the directory that 
    457 # configure is in, which we can look for to find out if srcdir is correct. 
    458 ac_unique_file=src/text/mgquery.c 
     669# Be sure to have absolute paths. 
     670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 
     671          localstatedir libdir includedir oldincludedir infodir mandir 
     672do 
     673  eval ac_val=$`echo $ac_var` 
     674  case $ac_val in 
     675    [\\/$]* | ?:[\\/]* ) ;; 
     676    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
     677   { (exit 1); exit 1; }; };; 
     678  esac 
     679done 
     680 
     681# There might be people who depend on the old broken behavior: `$host' 
     682# used to hold the argument of --host etc. 
     683# FIXME: To remove some day. 
     684build=$build_alias 
     685host=$host_alias 
     686target=$target_alias 
     687 
     688# FIXME: To remove some day. 
     689if test "x$host_alias" != x; then 
     690  if test "x$build_alias" = x; then 
     691    cross_compiling=maybe 
     692    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 
     693    If a cross compiler is detected then cross compile mode will be used." >&2 
     694  elif test "x$build_alias" != "x$host_alias"; then 
     695    cross_compiling=yes 
     696  fi 
     697fi 
     698 
     699ac_tool_prefix= 
     700test -n "$host_alias" && ac_tool_prefix=$host_alias- 
     701 
     702test "$silent" = yes && exec 6>/dev/null 
     703 
    459704 
    460705# Find the source files, if location was not specified. 
     
    462707  ac_srcdir_defaulted=yes 
    463708  # Try the directory containing this script, then its parent. 
    464   ac_prog=$0 
    465   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 
    466   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 
     709  ac_confdir=`(dirname "$0") 2>/dev/null || 
     710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     711     X"$0" : 'X\(//\)[^/]' \| \ 
     712     X"$0" : 'X\(//\)$' \| \ 
     713     X"$0" : 'X\(/\)' \| \ 
     714     .     : '\(.\)' 2>/dev/null || 
     715echo X"$0" | 
     716    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     717      /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     718      /^X\(\/\/\)$/{ s//\1/; q; } 
     719      /^X\(\/\).*/{ s//\1/; q; } 
     720      s/.*/./; q'` 
    467721  srcdir=$ac_confdir 
    468722  if test ! -r $srcdir/$ac_unique_file; then 
     
    474728if test ! -r $srcdir/$ac_unique_file; then 
    475729  if test "$ac_srcdir_defaulted" = yes; then 
    476     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 
     730    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 
     731   { (exit 1); exit 1; }; } 
    477732  else 
    478     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 
     733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
     734   { (exit 1); exit 1; }; } 
    479735  fi 
    480736fi 
    481 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 
    482  
     737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 
     738  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 
     739   { (exit 1); exit 1; }; } 
     740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 
     741ac_env_build_alias_set=${build_alias+set} 
     742ac_env_build_alias_value=$build_alias 
     743ac_cv_env_build_alias_set=${build_alias+set} 
     744ac_cv_env_build_alias_value=$build_alias 
     745ac_env_host_alias_set=${host_alias+set} 
     746ac_env_host_alias_value=$host_alias 
     747ac_cv_env_host_alias_set=${host_alias+set} 
     748ac_cv_env_host_alias_value=$host_alias 
     749ac_env_target_alias_set=${target_alias+set} 
     750ac_env_target_alias_value=$target_alias 
     751ac_cv_env_target_alias_set=${target_alias+set} 
     752ac_cv_env_target_alias_value=$target_alias 
     753ac_env_CXX_set=${CXX+set} 
     754ac_env_CXX_value=$CXX 
     755ac_cv_env_CXX_set=${CXX+set} 
     756ac_cv_env_CXX_value=$CXX 
     757ac_env_CXXFLAGS_set=${CXXFLAGS+set} 
     758ac_env_CXXFLAGS_value=$CXXFLAGS 
     759ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 
     760ac_cv_env_CXXFLAGS_value=$CXXFLAGS 
     761ac_env_LDFLAGS_set=${LDFLAGS+set} 
     762ac_env_LDFLAGS_value=$LDFLAGS 
     763ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 
     764ac_cv_env_LDFLAGS_value=$LDFLAGS 
     765ac_env_CPPFLAGS_set=${CPPFLAGS+set} 
     766ac_env_CPPFLAGS_value=$CPPFLAGS 
     767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 
     768ac_cv_env_CPPFLAGS_value=$CPPFLAGS 
     769ac_env_CC_set=${CC+set} 
     770ac_env_CC_value=$CC 
     771ac_cv_env_CC_set=${CC+set} 
     772ac_cv_env_CC_value=$CC 
     773ac_env_CFLAGS_set=${CFLAGS+set} 
     774ac_env_CFLAGS_value=$CFLAGS 
     775ac_cv_env_CFLAGS_set=${CFLAGS+set} 
     776ac_cv_env_CFLAGS_value=$CFLAGS 
     777ac_env_CPP_set=${CPP+set} 
     778ac_env_CPP_value=$CPP 
     779ac_cv_env_CPP_set=${CPP+set} 
     780ac_cv_env_CPP_value=$CPP 
     781 
     782# 
     783# Report the --help message. 
     784# 
     785if test "$ac_init_help" = "long"; then 
     786  # Omit some internal or obsolete options to make the list less imposing. 
     787  # This message is too long to be a string in the A/UX 3.1 sh. 
     788  cat <<_ACEOF 
     789\`configure' configures this package to adapt to many kinds of systems. 
     790 
     791Usage: $0 [OPTION]... [VAR=VALUE]... 
     792 
     793To assign environment variables (e.g., CC, CFLAGS...), specify them as 
     794VAR=VALUE.  See below for descriptions of some of the useful variables. 
     795 
     796Defaults for the options are specified in brackets. 
     797 
     798Configuration: 
     799  -h, --help              display this help and exit 
     800      --help=short        display options specific to this package 
     801      --help=recursive    display the short help of all the included packages 
     802  -V, --version           display version information and exit 
     803  -q, --quiet, --silent   do not print \`checking...' messages 
     804      --cache-file=FILE   cache test results in FILE [disabled] 
     805  -C, --config-cache      alias for \`--cache-file=config.cache' 
     806  -n, --no-create         do not create output files 
     807      --srcdir=DIR        find the sources in DIR [configure dir or \`..'] 
     808 
     809_ACEOF 
     810 
     811  cat <<_ACEOF 
     812Installation directories: 
     813  --prefix=PREFIX         install architecture-independent files in PREFIX 
     814              [$ac_default_prefix] 
     815  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX 
     816              [PREFIX] 
     817 
     818By default, \`make install' will install all the files in 
     819\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify 
     820an installation prefix other than \`$ac_default_prefix' using \`--prefix', 
     821for instance \`--prefix=\$HOME'. 
     822 
     823For better control, use the options below. 
     824 
     825Fine tuning of the installation directories: 
     826  --bindir=DIR           user executables [EPREFIX/bin] 
     827  --sbindir=DIR          system admin executables [EPREFIX/sbin] 
     828  --libexecdir=DIR       program executables [EPREFIX/libexec] 
     829  --datadir=DIR          read-only architecture-independent data [PREFIX/share] 
     830  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] 
     831  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] 
     832  --localstatedir=DIR    modifiable single-machine data [PREFIX/var] 
     833  --libdir=DIR           object code libraries [EPREFIX/lib] 
     834  --includedir=DIR       C header files [PREFIX/include] 
     835  --oldincludedir=DIR    C header files for non-gcc [/usr/include] 
     836  --infodir=DIR          info documentation [PREFIX/info] 
     837  --mandir=DIR           man documentation [PREFIX/man] 
     838_ACEOF 
     839 
     840  cat <<\_ACEOF 
     841 
     842Program names: 
     843  --program-prefix=PREFIX            prepend PREFIX to installed program names 
     844  --program-suffix=SUFFIX            append SUFFIX to installed program names 
     845  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names 
     846_ACEOF 
     847fi 
     848 
     849if test -n "$ac_init_help"; then 
     850 
     851  cat <<\_ACEOF 
     852 
     853Optional Packages: 
     854  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
     855  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) 
     856  --with-dmalloc          use dmalloc, as in 
     857                          ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz 
     858  --with-regex            use older regex in lieu of GNU rx for matching 
     859 
     860Some influential environment variables: 
     861  CXX         C++ compiler command 
     862  CXXFLAGS    C++ compiler flags 
     863  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a 
     864              nonstandard directory <lib dir> 
     865  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have 
     866              headers in a nonstandard directory <include dir> 
     867  CC          C compiler command 
     868  CFLAGS      C compiler flags 
     869  CPP         C preprocessor 
     870 
     871Use these variables to override the choices made by `configure' or to help 
     872it to find libraries and programs with nonstandard names/locations. 
     873 
     874_ACEOF 
     875fi 
     876 
     877if test "$ac_init_help" = "recursive"; then 
     878  # If there are subdirs, report their specific --help. 
     879  ac_popdir=`pwd` 
     880  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
     881    test -d $ac_dir || continue 
     882    ac_builddir=. 
     883 
     884if test "$ac_dir" != .; then 
     885  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     886  # A "../" for each directory in $ac_dir_suffix. 
     887  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
     888else 
     889  ac_dir_suffix= ac_top_builddir= 
     890fi 
     891 
     892case $srcdir in 
     893  .)  # No --srcdir option.  We are building in place. 
     894    ac_srcdir=. 
     895    if test -z "$ac_top_builddir"; then 
     896       ac_top_srcdir=. 
     897    else 
     898       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
     899    fi ;; 
     900  [\\/]* | ?:[\\/]* )  # Absolute path. 
     901    ac_srcdir=$srcdir$ac_dir_suffix; 
     902    ac_top_srcdir=$srcdir ;; 
     903  *) # Relative path. 
     904    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
     905    ac_top_srcdir=$ac_top_builddir$srcdir ;; 
     906esac 
     907 
     908# Do not use `cd foo && pwd` to compute absolute paths, because 
     909# the directories may not exist. 
     910case `pwd` in 
     911.) ac_abs_builddir="$ac_dir";; 
     912*) 
     913  case "$ac_dir" in 
     914  .) ac_abs_builddir=`pwd`;; 
     915  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 
     916  *) ac_abs_builddir=`pwd`/"$ac_dir";; 
     917  esac;; 
     918esac 
     919case $ac_abs_builddir in 
     920.) ac_abs_top_builddir=${ac_top_builddir}.;; 
     921*) 
     922  case ${ac_top_builddir}. in 
     923  .) ac_abs_top_builddir=$ac_abs_builddir;; 
     924  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 
     925  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 
     926  esac;; 
     927esac 
     928case $ac_abs_builddir in 
     929.) ac_abs_srcdir=$ac_srcdir;; 
     930*) 
     931  case $ac_srcdir in 
     932  .) ac_abs_srcdir=$ac_abs_builddir;; 
     933  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 
     934  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 
     935  esac;; 
     936esac 
     937case $ac_abs_builddir in 
     938.) ac_abs_top_srcdir=$ac_top_srcdir;; 
     939*) 
     940  case $ac_top_srcdir in 
     941  .) ac_abs_top_srcdir=$ac_abs_builddir;; 
     942  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 
     943  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 
     944  esac;; 
     945esac 
     946 
     947    cd $ac_dir 
     948    # Check for guested configure; otherwise get Cygnus style configure. 
     949    if test -f $ac_srcdir/configure.gnu; then 
     950      echo 
     951      $SHELL $ac_srcdir/configure.gnu  --help=recursive 
     952    elif test -f $ac_srcdir/configure; then 
     953      echo 
     954      $SHELL $ac_srcdir/configure  --help=recursive 
     955    elif test -f $ac_srcdir/configure.ac || 
     956       test -f $ac_srcdir/configure.in; then 
     957      echo 
     958      $ac_configure --help 
     959    else 
     960      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
     961    fi 
     962    cd $ac_popdir 
     963  done 
     964fi 
     965 
     966test -n "$ac_init_help" && exit 0 
     967if $ac_init_version; then 
     968  cat <<\_ACEOF 
     969 
     970Copyright (C) 2003 Free Software Foundation, Inc. 
     971This configure script is free software; the Free Software Foundation 
     972gives unlimited permission to copy, distribute and modify it. 
     973_ACEOF 
     974  exit 0 
     975fi 
     976exec 5>config.log 
     977cat >&5 <<_ACEOF 
     978This file contains any messages produced by compilers while 
     979running configure, to aid debugging if configure makes a mistake. 
     980 
     981It was created by $as_me, which was 
     982generated by GNU Autoconf 2.59.  Invocation command line was 
     983 
     984  $ $0 $@ 
     985 
     986_ACEOF 
     987{ 
     988cat <<_ASUNAME 
     989## --------- ## 
     990## Platform. ## 
     991## --------- ## 
     992 
     993hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 
     994uname -m = `(uname -m) 2>/dev/null || echo unknown` 
     995uname -r = `(uname -r) 2>/dev/null || echo unknown` 
     996uname -s = `(uname -s) 2>/dev/null || echo unknown` 
     997uname -v = `(uname -v) 2>/dev/null || echo unknown` 
     998 
     999/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 
     1000/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` 
     1001 
     1002/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` 
     1003/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` 
     1004/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 
     1005hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` 
     1006/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` 
     1007/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` 
     1008/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` 
     1009 
     1010_ASUNAME 
     1011 
     1012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1013for as_dir in $PATH 
     1014do 
     1015  IFS=$as_save_IFS 
     1016  test -z "$as_dir" && as_dir=. 
     1017  echo "PATH: $as_dir" 
     1018done 
     1019 
     1020} >&5 
     1021 
     1022cat >&5 <<_ACEOF 
     1023 
     1024 
     1025## ----------- ## 
     1026## Core tests. ## 
     1027## ----------- ## 
     1028 
     1029_ACEOF 
     1030 
     1031 
     1032# Keep a trace of the command line. 
     1033# Strip out --no-create and --no-recursion so they do not pile up. 
     1034# Strip out --silent because we don't want to record it for future runs. 
     1035# Also quote any args containing shell meta-characters. 
     1036# Make two passes to allow for proper duplicate-argument suppression. 
     1037ac_configure_args= 
     1038ac_configure_args0= 
     1039ac_configure_args1= 
     1040ac_sep= 
     1041ac_must_keep_next=false 
     1042for ac_pass in 1 2 
     1043do 
     1044  for ac_arg 
     1045  do 
     1046    case $ac_arg in 
     1047    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 
     1048    -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     1049    | -silent | --silent | --silen | --sile | --sil) 
     1050      continue ;; 
     1051    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
     1052      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1053    esac 
     1054    case $ac_pass in 
     1055    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1056    2) 
     1057      ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1058      if test $ac_must_keep_next = true; then 
     1059    ac_must_keep_next=false # Got value, back to normal. 
     1060      else 
     1061    case $ac_arg in 
     1062      *=* | --config-cache | -C | -disable-* | --disable-* \ 
     1063      | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 
     1064      | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 
     1065      | -with-* | --with-* | -without-* | --without-* | --x) 
     1066        case "$ac_configure_args0 " in 
     1067          "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 
     1068        esac 
     1069        ;; 
     1070      -* ) ac_must_keep_next=true ;; 
     1071    esac 
     1072      fi 
     1073      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
     1074      # Get rid of the leading space. 
     1075      ac_sep=" " 
     1076      ;; 
     1077    esac 
     1078  done 
     1079done 
     1080$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
     1081$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
     1082 
     1083# When interrupted or exit'd, cleanup temporary files, and complete 
     1084# config.log.  We remove comments because anyway the quotes in there 
     1085# would cause problems or look ugly. 
     1086# WARNING: Be sure not to use single quotes in there, as some shells, 
     1087# such as our DU 5.0 friend, will then `close' the trap. 
     1088trap 'exit_status=$? 
     1089  # Save into config.log some information that might help in debugging. 
     1090  { 
     1091    echo 
     1092 
     1093    cat <<\_ASBOX 
     1094## ---------------- ## 
     1095## Cache variables. ## 
     1096## ---------------- ## 
     1097_ASBOX 
     1098    echo 
     1099    # The following way of writing the cache mishandles newlines in values, 
     1100{ 
     1101  (set) 2>&1 | 
     1102    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 
     1103    *ac_space=\ *) 
     1104      sed -n \ 
     1105    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 
     1106      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 
     1107      ;; 
     1108    *) 
     1109      sed -n \ 
     1110    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 
     1111      ;; 
     1112    esac; 
     1113} 
     1114    echo 
     1115 
     1116    cat <<\_ASBOX 
     1117## ----------------- ## 
     1118## Output variables. ## 
     1119## ----------------- ## 
     1120_ASBOX 
     1121    echo 
     1122    for ac_var in $ac_subst_vars 
     1123    do 
     1124      eval ac_val=$`echo $ac_var` 
     1125      echo "$ac_var='"'"'$ac_val'"'"'" 
     1126    done | sort 
     1127    echo 
     1128 
     1129    if test -n "$ac_subst_files"; then 
     1130      cat <<\_ASBOX 
     1131## ------------- ## 
     1132## Output files. ## 
     1133## ------------- ## 
     1134_ASBOX 
     1135      echo 
     1136      for ac_var in $ac_subst_files 
     1137      do 
     1138    eval ac_val=$`echo $ac_var` 
     1139    echo "$ac_var='"'"'$ac_val'"'"'" 
     1140      done | sort 
     1141      echo 
     1142    fi 
     1143 
     1144    if test -s confdefs.h; then 
     1145      cat <<\_ASBOX 
     1146## ----------- ## 
     1147## confdefs.h. ## 
     1148## ----------- ## 
     1149_ASBOX 
     1150      echo 
     1151      sed "/^$/d" confdefs.h | sort 
     1152      echo 
     1153    fi 
     1154    test "$ac_signal" != 0 && 
     1155      echo "$as_me: caught signal $ac_signal" 
     1156    echo "$as_me: exit $exit_status" 
     1157  } >&5 
     1158  rm -f core *.core && 
     1159  rm -rf conftest* confdefs* conf$$* $ac_clean_files && 
     1160    exit $exit_status 
     1161     ' 0 
     1162for ac_signal in 1 2 13 15; do 
     1163  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 
     1164done 
     1165ac_signal=0 
     1166 
     1167# confdefs.h avoids OS command line length limits that DEFS can exceed. 
     1168rm -rf conftest* confdefs.h 
     1169# AIX cpp loses on an empty file, so make sure it contains at least a newline. 
     1170echo >confdefs.h 
     1171 
     1172# Predefined preprocessor variables. 
     1173 
     1174cat >>confdefs.h <<_ACEOF 
     1175#define PACKAGE_NAME "$PACKAGE_NAME" 
     1176_ACEOF 
     1177 
     1178 
     1179cat >>confdefs.h <<_ACEOF 
     1180#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
     1181_ACEOF 
     1182 
     1183 
     1184cat >>confdefs.h <<_ACEOF 
     1185#define PACKAGE_VERSION "$PACKAGE_VERSION" 
     1186_ACEOF 
     1187 
     1188 
     1189cat >>confdefs.h <<_ACEOF 
     1190#define PACKAGE_STRING "$PACKAGE_STRING" 
     1191_ACEOF 
     1192 
     1193 
     1194cat >>confdefs.h <<_ACEOF 
     1195#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
     1196_ACEOF 
     1197 
     1198 
     1199# Let the site file select an alternate cache file if it wants to. 
    4831200# Prefer explicitly selected file to automatically selected ones. 
    4841201if test -z "$CONFIG_SITE"; then 
     
    4911208for ac_site_file in $CONFIG_SITE; do 
    4921209  if test -r "$ac_site_file"; then 
    493     echo "loading site script $ac_site_file" 
     1210    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
     1211echo "$as_me: loading site script $ac_site_file" >&6;} 
     1212    sed 's/^/| /' "$ac_site_file" >&5 
    4941213    . "$ac_site_file" 
    4951214  fi 
     
    4971216 
    4981217if test -r "$cache_file"; then 
    499   echo "loading cache $cache_file" 
    500   . $cache_file 
    501 else 
    502   echo "creating cache $cache_file" 
    503   > $cache_file 
     1218  # Some versions of bash will fail to source /dev/null (special 
     1219  # files actually), so we avoid doing that. 
     1220  if test -f "$cache_file"; then 
     1221    { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
     1222echo "$as_me: loading cache $cache_file" >&6;} 
     1223    case $cache_file in 
     1224      [\\/]* | ?:[\\/]* ) . $cache_file;; 
     1225      *)                      . ./$cache_file;; 
     1226    esac 
     1227  fi 
     1228else 
     1229  { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
     1230echo "$as_me: creating cache $cache_file" >&6;} 
     1231  >$cache_file 
     1232fi 
     1233 
     1234# Check that the precious variables saved in the cache have kept the same 
     1235# value. 
     1236ac_cache_corrupted=false 
     1237for ac_var in `(set) 2>&1 | 
     1238           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 
     1239  eval ac_old_set=\$ac_cv_env_${ac_var}_set 
     1240  eval ac_new_set=\$ac_env_${ac_var}_set 
     1241  eval ac_old_val="\$ac_cv_env_${ac_var}_value" 
     1242  eval ac_new_val="\$ac_env_${ac_var}_value" 
     1243  case $ac_old_set,$ac_new_set in 
     1244    set,) 
     1245      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     1246echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
     1247      ac_cache_corrupted=: ;; 
     1248    ,set) 
     1249      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
     1250echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
     1251      ac_cache_corrupted=: ;; 
     1252    ,);; 
     1253    *) 
     1254      if test "x$ac_old_val" != "x$ac_new_val"; then 
     1255    { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
     1256echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
     1257    { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
     1258echo "$as_me:   former value:  $ac_old_val" >&2;} 
     1259    { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
     1260echo "$as_me:   current value: $ac_new_val" >&2;} 
     1261    ac_cache_corrupted=: 
     1262      fi;; 
     1263  esac 
     1264  # Pass precious variables to config.status. 
     1265  if test "$ac_new_set" = set; then 
     1266    case $ac_new_val in 
     1267    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
     1268      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1269    *) ac_arg=$ac_var=$ac_new_val ;; 
     1270    esac 
     1271    case " $ac_configure_args " in 
     1272      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
     1273      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
     1274    esac 
     1275  fi 
     1276done 
     1277if $ac_cache_corrupted; then 
     1278  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
     1279echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
     1280  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
     1281echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
     1282   { (exit 1); exit 1; }; } 
    5041283fi 
    5051284 
    5061285ac_ext=c 
    507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
    5081286ac_cpp='$CPP $CPPFLAGS' 
    509 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
    510 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
    511 cross_compiling=$ac_cv_prog_cc_cross 
    512  
    513 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 
    514   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 
    515   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 
    516     ac_n= ac_c=' 
    517 ' ac_t='    ' 
    518   else 
    519     ac_n=-n ac_c= ac_t= 
    520   fi 
    521 else 
    522   ac_n= ac_c='\c' ac_t= 
    523 fi 
    524  
    525  
    526  
    527 if test "$program_transform_name" = s,x,x,; then 
    528   program_transform_name= 
    529 else 
    530   # Double any \ or $.  echo might interpret backslashes. 
    531   cat <<\EOF_SED > conftestsed 
    532 s,\\,\\\\,g; s,\$,$$,g 
    533 EOF_SED 
    534   program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 
    535   rm -f conftestsed 
    536 fi 
     1287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     1288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     1289ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     1290 
     1291 
     1292 
     1293 
     1294 
     1295 
     1296 
     1297 
     1298 
     1299 
     1300 
     1301 
     1302 
     1303 
     1304 
     1305 
     1306 
     1307 
     1308 
     1309          ac_config_headers="$ac_config_headers config.h" 
     1310 
    5371311test "$program_prefix" != NONE && 
    538   program_transform_name="s,^,${program_prefix},; $program_transform_name" 
     1312  program_transform_name="s,^,$program_prefix,;$program_transform_name" 
    5391313# Use a double $ so make ignores it. 
    5401314test "$program_suffix" != NONE && 
    541   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 
    542  
    543 # sed with no file args requires a program. 
    544 test "$program_transform_name" = "" && program_transform_name="s,x,x," 
     1315  program_transform_name="s,\$,$program_suffix,;$program_transform_name" 
     1316# Double any \ or $.  echo might interpret backslashes. 
     1317# By default was `s,x,x', remove it if useless. 
     1318cat <<\_ACEOF >conftest.sed 
     1319s/[\\$]/&&/g;s/;s,x,x,$// 
     1320_ACEOF 
     1321program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 
     1322rm conftest.sed 
    5451323 
    5461324 
    5471325PACKAGE=mg 
    548 VERSION=1.3e 
    549  
    550 cat >> confdefs.h <<EOF 
     1326VERSION=1.2 
     1327 
     1328cat >>confdefs.h <<_ACEOF 
    5511329#define PACKAGE "$PACKAGE" 
    552 EOF 
    553  
    554 cat >> confdefs.h <<EOF 
     1330_ACEOF 
     1331 
     1332cat >>confdefs.h <<_ACEOF 
    5551333#define VERSION "$VERSION" 
    556 EOF 
    557  
    558  
    559  
    560  
    561 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ 
    562 do 
    563 # Extract the first word of "$ac_prog", so it can be a program name with args. 
    564 set dummy $ac_prog; ac_word=$2 
    565 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    566 echo "configure:567: checking for $ac_word" >&5 
    567 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 
    568   echo $ac_n "(cached) $ac_c" 1>&6 
     1334_ACEOF 
     1335 
     1336 
     1337 
     1338 
     1339ac_ext=cc 
     1340ac_cpp='$CXXCPP $CPPFLAGS' 
     1341ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     1342ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     1343ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 
     1344if test -n "$ac_tool_prefix"; then 
     1345  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 
     1346  do 
     1347    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
     1348set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
     1349echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1350echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1351if test "${ac_cv_prog_CXX+set}" = set; then 
     1352  echo $ECHO_N "(cached) $ECHO_C" >&6 
    5691353else 
    5701354  if test -n "$CXX"; then 
    5711355  ac_cv_prog_CXX="$CXX" # Let the user override the test. 
    5721356else 
    573   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 
    574   for ac_dir in $PATH; do 
    575     test -z "$ac_dir" && ac_dir=. 
    576     if test -f $ac_dir/$ac_word; then 
    577       ac_cv_prog_CXX="$ac_prog" 
    578       break 
     1357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1358for as_dir in $PATH 
     1359do 
     1360  IFS=$as_save_IFS 
     1361  test -z "$as_dir" && as_dir=. 
     1362  for ac_exec_ext in '' $ac_executable_extensions; do 
     1363  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1364    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 
     1365    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1366    break 2 
     1367  fi 
     1368done 
     1369done 
     1370 
     1371fi 
     1372fi 
     1373CXX=$ac_cv_prog_CXX 
     1374if test -n "$CXX"; then 
     1375  echo "$as_me:$LINENO: result: $CXX" >&5 
     1376echo "${ECHO_T}$CXX" >&6 
     1377else 
     1378  echo "$as_me:$LINENO: result: no" >&5 
     1379echo "${ECHO_T}no" >&6 
     1380fi 
     1381 
     1382    test -n "$CXX" && break 
     1383  done 
     1384fi 
     1385if test -z "$CXX"; then 
     1386  ac_ct_CXX=$CXX 
     1387  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 
     1388do 
     1389  # Extract the first word of "$ac_prog", so it can be a program name with args. 
     1390set dummy $ac_prog; ac_word=$2 
     1391echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1392echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1393if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 
     1394  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1395else 
     1396  if test -n "$ac_ct_CXX"; then 
     1397  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 
     1398else 
     1399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1400for as_dir in $PATH 
     1401do 
     1402  IFS=$as_save_IFS 
     1403  test -z "$as_dir" && as_dir=. 
     1404  for ac_exec_ext in '' $ac_executable_extensions; do 
     1405  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1406    ac_cv_prog_ac_ct_CXX="$ac_prog" 
     1407    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1408    break 2 
     1409  fi 
     1410done 
     1411done 
     1412 
     1413fi 
     1414fi 
     1415ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 
     1416if test -n "$ac_ct_CXX"; then 
     1417  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 
     1418echo "${ECHO_T}$ac_ct_CXX" >&6 
     1419else 
     1420  echo "$as_me:$LINENO: result: no" >&5 
     1421echo "${ECHO_T}no" >&6 
     1422fi 
     1423 
     1424  test -n "$ac_ct_CXX" && break 
     1425done 
     1426test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 
     1427 
     1428  CXX=$ac_ct_CXX 
     1429fi 
     1430 
     1431 
     1432# Provide some information about the compiler. 
     1433echo "$as_me:$LINENO:" \ 
     1434     "checking for C++ compiler version" >&5 
     1435ac_compiler=`set X $ac_compile; echo $2` 
     1436{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
     1437  (eval $ac_compiler --version </dev/null >&5) 2>&5 
     1438  ac_status=$? 
     1439  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1440  (exit $ac_status); } 
     1441{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
     1442  (eval $ac_compiler -v </dev/null >&5) 2>&5 
     1443  ac_status=$? 
     1444  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1445  (exit $ac_status); } 
     1446{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
     1447  (eval $ac_compiler -V </dev/null >&5) 2>&5 
     1448  ac_status=$? 
     1449  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1450  (exit $ac_status); } 
     1451 
     1452cat >conftest.$ac_ext <<_ACEOF 
     1453/* confdefs.h.  */ 
     1454_ACEOF 
     1455cat confdefs.h >>conftest.$ac_ext 
     1456cat >>conftest.$ac_ext <<_ACEOF 
     1457/* end confdefs.h.  */ 
     1458 
     1459int 
     1460main () 
     1461{ 
     1462 
     1463  ; 
     1464  return 0; 
     1465} 
     1466_ACEOF 
     1467ac_clean_files_save=$ac_clean_files 
     1468ac_clean_files="$ac_clean_files a.out a.exe b.out" 
     1469# Try to create an executable without -o first, disregard a.out. 
     1470# It will help us diagnose broken compilers, and finding out an intuition 
     1471# of exeext. 
     1472echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 
     1473echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 
     1474ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
     1475if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 
     1476  (eval $ac_link_default) 2>&5 
     1477  ac_status=$? 
     1478  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1479  (exit $ac_status); }; then 
     1480  # Find the output, starting from the most likely.  This scheme is 
     1481# not robust to junk in `.', hence go to wildcards (a.*) only as a last 
     1482# resort. 
     1483 
     1484# Be careful to initialize this variable, since it used to be cached. 
     1485# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 
     1486ac_cv_exeext= 
     1487# b.out is created by i960 compilers. 
     1488for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 
     1489do 
     1490  test -f "$ac_file" || continue 
     1491  case $ac_file in 
     1492    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 
     1493    ;; 
     1494    conftest.$ac_ext ) 
     1495    # This is the source file. 
     1496    ;; 
     1497    [ab].out ) 
     1498    # We found the default executable, but exeext='' is most 
     1499    # certainly right. 
     1500    break;; 
     1501    *.* ) 
     1502    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     1503    # FIXME: I believe we export ac_cv_exeext for Libtool, 
     1504    # but it would be cool to find out if it's true.  Does anybody 
     1505    # maintain Libtool? --akim. 
     1506    export ac_cv_exeext 
     1507    break;; 
     1508    * ) 
     1509    break;; 
     1510  esac 
     1511done 
     1512else 
     1513  echo "$as_me: failed program was:" >&5 
     1514sed 's/^/| /' conftest.$ac_ext >&5 
     1515 
     1516{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables 
     1517See \`config.log' for more details." >&5 
     1518echo "$as_me: error: C++ compiler cannot create executables 
     1519See \`config.log' for more details." >&2;} 
     1520   { (exit 77); exit 77; }; } 
     1521fi 
     1522 
     1523ac_exeext=$ac_cv_exeext 
     1524echo "$as_me:$LINENO: result: $ac_file" >&5 
     1525echo "${ECHO_T}$ac_file" >&6 
     1526 
     1527# Check the compiler produces executables we can run.  If not, either 
     1528# the compiler is broken, or we cross compile. 
     1529echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 
     1530echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 
     1531# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
     1532# If not cross compiling, check that we can run a simple program. 
     1533if test "$cross_compiling" != yes; then 
     1534  if { ac_try='./$ac_file' 
     1535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1536  (eval $ac_try) 2>&5 
     1537  ac_status=$? 
     1538  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1539  (exit $ac_status); }; }; then 
     1540    cross_compiling=no 
     1541  else 
     1542    if test "$cross_compiling" = maybe; then 
     1543    cross_compiling=yes 
     1544    else 
     1545    { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. 
     1546If you meant to cross compile, use \`--host'. 
     1547See \`config.log' for more details." >&5 
     1548echo "$as_me: error: cannot run C++ compiled programs. 
     1549If you meant to cross compile, use \`--host'. 
     1550See \`config.log' for more details." >&2;} 
     1551   { (exit 1); exit 1; }; } 
    5791552    fi 
    580   done 
    581   IFS="$ac_save_ifs" 
    582 fi 
    583 fi 
    584 CXX="$ac_cv_prog_CXX" 
    585 if test -n "$CXX"; then 
    586   echo "$ac_t""$CXX" 1>&6 
    587 else 
    588   echo "$ac_t""no" 1>&6 
    589 fi 
    590  
    591 test -n "$CXX" && break 
     1553  fi 
     1554fi 
     1555echo "$as_me:$LINENO: result: yes" >&5 
     1556echo "${ECHO_T}yes" >&6 
     1557 
     1558rm -f a.out a.exe conftest$ac_cv_exeext b.out 
     1559ac_clean_files=$ac_clean_files_save 
     1560# Check the compiler produces executables we can run.  If not, either 
     1561# the compiler is broken, or we cross compile. 
     1562echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
     1563echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 
     1564echo "$as_me:$LINENO: result: $cross_compiling" >&5 
     1565echo "${ECHO_T}$cross_compiling" >&6 
     1566 
     1567echo "$as_me:$LINENO: checking for suffix of executables" >&5 
     1568echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 
     1569if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     1570  (eval $ac_link) 2>&5 
     1571  ac_status=$? 
     1572  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1573  (exit $ac_status); }; then 
     1574  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
     1575# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will 
     1576# work properly (i.e., refer to `conftest.exe'), while it won't with 
     1577# `rm'. 
     1578for ac_file in conftest.exe conftest conftest.*; do 
     1579  test -f "$ac_file" || continue 
     1580  case $ac_file in 
     1581    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 
     1582    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     1583      export ac_cv_exeext 
     1584      break;; 
     1585    * ) break;; 
     1586  esac 
    5921587done 
    593 test -n "$CXX" || CXX="gcc" 
    594  
    595  
    596 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
    597 echo "configure:598: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 
    598  
    599 ac_ext=C 
    600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
    601 ac_cpp='$CXXCPP $CPPFLAGS' 
    602 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
    603 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
    604 cross_compiling=$ac_cv_prog_cxx_cross 
    605  
    606 cat > conftest.$ac_ext <<EOF 
    607 #line 608 "configure" 
    608 #include "confdefs.h" 
    609 main(){return(0);} 
    610 EOF 
    611 if { (eval echo configure:612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 
    612   ac_cv_prog_cxx_works=yes 
    613   # If we can't run a trivial program, we are probably using a cross compiler. 
    614   if (./conftest; exit) 2>/dev/null; then 
    615     ac_cv_prog_cxx_cross=no 
    616   else 
    617     ac_cv_prog_cxx_cross=yes 
    618   fi 
    619 else 
    620   echo "configure: failed program was:" >&5 
    621   cat conftest.$ac_ext >&5 
    622   ac_cv_prog_cxx_works=no 
    623 fi 
    624 rm -fr conftest* 
    625 ac_ext=c 
    626 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
    627 ac_cpp='$CPP $CPPFLAGS' 
    628 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
    629 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
    630 cross_compiling=$ac_cv_prog_cc_cross 
    631  
    632 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 
    633 if test $ac_cv_prog_cxx_works = no; then 
    634   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } 
    635 fi 
    636 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
    637 echo "configure:638: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 
    638 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 
    639 cross_compiling=$ac_cv_prog_cxx_cross 
    640  
    641 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 
    642 echo "configure:643: checking whether we are using GNU C++" >&5 
    643 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 
    644   echo $ac_n "(cached) $ac_c" 1>&6 
    645 else 
    646   cat > conftest.C <<EOF 
    647 #ifdef __GNUC__ 
    648   yes; 
     1588else 
     1589  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
     1590See \`config.log' for more details." >&5 
     1591echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
     1592See \`config.log' for more details." >&2;} 
     1593   { (exit 1); exit 1; }; } 
     1594fi 
     1595 
     1596rm -f conftest$ac_cv_exeext 
     1597echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
     1598echo "${ECHO_T}$ac_cv_exeext" >&6 
     1599 
     1600rm -f conftest.$ac_ext 
     1601EXEEXT=$ac_cv_exeext 
     1602ac_exeext=$EXEEXT 
     1603echo "$as_me:$LINENO: checking for suffix of object files" >&5 
     1604echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 
     1605if test "${ac_cv_objext+set}" = set; then 
     1606  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1607else 
     1608  cat >conftest.$ac_ext <<_ACEOF 
     1609/* confdefs.h.  */ 
     1610_ACEOF 
     1611cat confdefs.h >>conftest.$ac_ext 
     1612cat >>conftest.$ac_ext <<_ACEOF 
     1613/* end confdefs.h.  */ 
     1614 
     1615int 
     1616main () 
     1617{ 
     1618 
     1619  ; 
     1620  return 0; 
     1621} 
     1622_ACEOF 
     1623rm -f conftest.o conftest.obj 
     1624if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     1625  (eval $ac_compile) 2>&5 
     1626  ac_status=$? 
     1627  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1628  (exit $ac_status); }; then 
     1629  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 
     1630  case $ac_file in 
     1631    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 
     1632    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
     1633       break;; 
     1634  esac 
     1635done 
     1636else 
     1637  echo "$as_me: failed program was:" >&5 
     1638sed 's/^/| /' conftest.$ac_ext >&5 
     1639 
     1640{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
     1641See \`config.log' for more details." >&5 
     1642echo "$as_me: error: cannot compute suffix of object files: cannot compile 
     1643See \`config.log' for more details." >&2;} 
     1644   { (exit 1); exit 1; }; } 
     1645fi 
     1646 
     1647rm -f conftest.$ac_cv_objext conftest.$ac_ext 
     1648fi 
     1649echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
     1650echo "${ECHO_T}$ac_cv_objext" >&6 
     1651OBJEXT=$ac_cv_objext 
     1652ac_objext=$OBJEXT 
     1653echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 
     1654echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 
     1655if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 
     1656  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1657else 
     1658  cat >conftest.$ac_ext <<_ACEOF 
     1659/* confdefs.h.  */ 
     1660_ACEOF 
     1661cat confdefs.h >>conftest.$ac_ext 
     1662cat >>conftest.$ac_ext <<_ACEOF 
     1663/* end confdefs.h.  */ 
     1664 
     1665int 
     1666main () 
     1667{ 
     1668#ifndef __GNUC__ 
     1669       choke me 
    6491670#endif 
    650 EOF 
    651 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
    652   ac_cv_prog_gxx=yes 
    653 else 
    654   ac_cv_prog_gxx=no 
    655 fi 
    656 fi 
    657  
    658 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 
    659  
    660 if test $ac_cv_prog_gxx = yes; then 
    661   GXX=yes 
    662   ac_test_CXXFLAGS="${CXXFLAGS+set}" 
    663   ac_save_CXXFLAGS="$CXXFLAGS" 
    664   CXXFLAGS= 
    665   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 
    666 echo "configure:667: checking whether ${CXX-g++} accepts -g" >&5 
    667 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 
    668   echo $ac_n "(cached) $ac_c" 1>&6 
    669 else 
    670   echo 'void f(){}' > conftest.cc 
    671 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then 
     1671 
     1672  ; 
     1673  return 0; 
     1674} 
     1675_ACEOF 
     1676rm -f conftest.$ac_objext 
     1677if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     1678  (eval $ac_compile) 2>conftest.er1 
     1679  ac_status=$? 
     1680  grep -v '^ *+' conftest.er1 >conftest.err 
     1681  rm -f conftest.er1 
     1682  cat conftest.err >&5 
     1683  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1684  (exit $ac_status); } && 
     1685     { ac_try='test -z "$ac_cxx_werror_flag" 
     1686             || test ! -s conftest.err' 
     1687  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1688  (eval $ac_try) 2>&5 
     1689  ac_status=$? 
     1690  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1691  (exit $ac_status); }; } && 
     1692     { ac_try='test -s conftest.$ac_objext' 
     1693  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1694  (eval $ac_try) 2>&5 
     1695  ac_status=$? 
     1696  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1697  (exit $ac_status); }; }; then 
     1698  ac_compiler_gnu=yes 
     1699else 
     1700  echo "$as_me: failed program was:" >&5 
     1701sed 's/^/| /' conftest.$ac_ext >&5 
     1702 
     1703ac_compiler_gnu=no 
     1704fi 
     1705rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     1706ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 
     1707 
     1708fi 
     1709echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 
     1710echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 
     1711GXX=`test $ac_compiler_gnu = yes && echo yes` 
     1712ac_test_CXXFLAGS=${CXXFLAGS+set} 
     1713ac_save_CXXFLAGS=$CXXFLAGS 
     1714CXXFLAGS="-g" 
     1715echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 
     1716echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 
     1717if test "${ac_cv_prog_cxx_g+set}" = set; then 
     1718  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1719else 
     1720  cat >conftest.$ac_ext <<_ACEOF 
     1721/* confdefs.h.  */ 
     1722_ACEOF 
     1723cat confdefs.h >>conftest.$ac_ext 
     1724cat >>conftest.$ac_ext <<_ACEOF 
     1725/* end confdefs.h.  */ 
     1726 
     1727int 
     1728main () 
     1729{ 
     1730 
     1731  ; 
     1732  return 0; 
     1733} 
     1734_ACEOF 
     1735rm -f conftest.$ac_objext 
     1736if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     1737  (eval $ac_compile) 2>conftest.er1 
     1738  ac_status=$? 
     1739  grep -v '^ *+' conftest.er1 >conftest.err 
     1740  rm -f conftest.er1 
     1741  cat conftest.err >&5 
     1742  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1743  (exit $ac_status); } && 
     1744     { ac_try='test -z "$ac_cxx_werror_flag" 
     1745             || test ! -s conftest.err' 
     1746  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1747  (eval $ac_try) 2>&5 
     1748  ac_status=$? 
     1749  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1750  (exit $ac_status); }; } && 
     1751     { ac_try='test -s conftest.$ac_objext' 
     1752  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1753  (eval $ac_try) 2>&5 
     1754  ac_status=$? 
     1755  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1756  (exit $ac_status); }; }; then 
    6721757  ac_cv_prog_cxx_g=yes 
    6731758else 
    674   ac_cv_prog_cxx_g=no 
    675 fi 
    676 rm -f conftest* 
    677  
    678 fi 
    679  
    680 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 
    681   if test "$ac_test_CXXFLAGS" = set; then 
    682     CXXFLAGS="$ac_save_CXXFLAGS" 
    683   elif test $ac_cv_prog_cxx_g = yes; then 
     1759  echo "$as_me: failed program was:" >&5 
     1760sed 's/^/| /' conftest.$ac_ext >&5 
     1761 
     1762ac_cv_prog_cxx_g=no 
     1763fi 
     1764rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     1765fi 
     1766echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 
     1767echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 
     1768if test "$ac_test_CXXFLAGS" = set; then 
     1769  CXXFLAGS=$ac_save_CXXFLAGS 
     1770elif test $ac_cv_prog_cxx_g = yes; then 
     1771  if test "$GXX" = yes; then 
    6841772    CXXFLAGS="-g -O2" 
    6851773  else 
     1774    CXXFLAGS="-g" 
     1775  fi 
     1776else 
     1777  if test "$GXX" = yes; then 
    6861778    CXXFLAGS="-O2" 
     1779  else 
     1780    CXXFLAGS= 
    6871781  fi 
    688 else 
    689   GXX= 
    690   test "${CXXFLAGS+set}" = set || CXXFLAGS="-g" 
    691 fi 
    692  
    693 for ac_prog in mawk gawk nawk awk 
     1782fi 
     1783for ac_declaration in \ 
     1784   '' \ 
     1785   'extern "C" void std::exit (int) throw (); using std::exit;' \ 
     1786   'extern "C" void std::exit (int); using std::exit;' \ 
     1787   'extern "C" void exit (int) throw ();' \ 
     1788   'extern "C" void exit (int);' \ 
     1789   'void exit (int);' 
    6941790do 
    695 # Extract the first word of "$ac_prog", so it can be a program name with args. 
     1791  cat >conftest.$ac_ext <<_ACEOF 
     1792/* confdefs.h.  */ 
     1793_ACEOF 
     1794cat confdefs.h >>conftest.$ac_ext 
     1795cat >>conftest.$ac_ext <<_ACEOF 
     1796/* end confdefs.h.  */ 
     1797$ac_declaration 
     1798#include <stdlib.h> 
     1799int 
     1800main () 
     1801{ 
     1802exit (42); 
     1803  ; 
     1804  return 0; 
     1805} 
     1806_ACEOF 
     1807rm -f conftest.$ac_objext 
     1808if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     1809  (eval $ac_compile) 2>conftest.er1 
     1810  ac_status=$? 
     1811  grep -v '^ *+' conftest.er1 >conftest.err 
     1812  rm -f conftest.er1 
     1813  cat conftest.err >&5 
     1814  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1815  (exit $ac_status); } && 
     1816     { ac_try='test -z "$ac_cxx_werror_flag" 
     1817             || test ! -s conftest.err' 
     1818  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1819  (eval $ac_try) 2>&5 
     1820  ac_status=$? 
     1821  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1822  (exit $ac_status); }; } && 
     1823     { ac_try='test -s conftest.$ac_objext' 
     1824  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1825  (eval $ac_try) 2>&5 
     1826  ac_status=$? 
     1827  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1828  (exit $ac_status); }; }; then 
     1829  : 
     1830else 
     1831  echo "$as_me: failed program was:" >&5 
     1832sed 's/^/| /' conftest.$ac_ext >&5 
     1833 
     1834continue 
     1835fi 
     1836rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     1837  cat >conftest.$ac_ext <<_ACEOF 
     1838/* confdefs.h.  */ 
     1839_ACEOF 
     1840cat confdefs.h >>conftest.$ac_ext 
     1841cat >>conftest.$ac_ext <<_ACEOF 
     1842/* end confdefs.h.  */ 
     1843$ac_declaration 
     1844int 
     1845main () 
     1846{ 
     1847exit (42); 
     1848  ; 
     1849  return 0; 
     1850} 
     1851_ACEOF 
     1852rm -f conftest.$ac_objext 
     1853if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     1854  (eval $ac_compile) 2>conftest.er1 
     1855  ac_status=$? 
     1856  grep -v '^ *+' conftest.er1 >conftest.err 
     1857  rm -f conftest.er1 
     1858  cat conftest.err >&5 
     1859  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1860  (exit $ac_status); } && 
     1861     { ac_try='test -z "$ac_cxx_werror_flag" 
     1862             || test ! -s conftest.err' 
     1863  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1864  (eval $ac_try) 2>&5 
     1865  ac_status=$? 
     1866  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1867  (exit $ac_status); }; } && 
     1868     { ac_try='test -s conftest.$ac_objext' 
     1869  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1870  (eval $ac_try) 2>&5 
     1871  ac_status=$? 
     1872  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1873  (exit $ac_status); }; }; then 
     1874  break 
     1875else 
     1876  echo "$as_me: failed program was:" >&5 
     1877sed 's/^/| /' conftest.$ac_ext >&5 
     1878 
     1879fi 
     1880rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     1881done 
     1882rm -f conftest* 
     1883if test -n "$ac_declaration"; then 
     1884  echo '#ifdef __cplusplus' >>confdefs.h 
     1885  echo $ac_declaration      >>confdefs.h 
     1886  echo '#endif'             >>confdefs.h 
     1887fi 
     1888 
     1889ac_ext=c 
     1890ac_cpp='$CPP $CPPFLAGS' 
     1891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     1892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     1893ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     1894 
     1895for ac_prog in gawk mawk nawk awk 
     1896do 
     1897  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    6961898set dummy $ac_prog; ac_word=$2 
    697 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    698 echo "configure:699: checking for $ac_word" >&5 
    699 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then 
    700   echo $ac_n "(cached) $ac_c" 1>&6 
     1899echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1900echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1901if test "${ac_cv_prog_AWK+set}" = set; then 
     1902  echo $ECHO_N "(cached) $ECHO_C" >&6 
    7011903else 
    7021904  if test -n "$AWK"; then 
    7031905  ac_cv_prog_AWK="$AWK" # Let the user override the test. 
    7041906else 
    705   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 
    706   for ac_dir in $PATH; do 
    707     test -z "$ac_dir" && ac_dir=. 
    708     if test -f $ac_dir/$ac_word; then 
    709       ac_cv_prog_AWK="$ac_prog" 
    710       break 
    711     fi 
    712   done 
    713   IFS="$ac_save_ifs" 
    714 fi 
    715 fi 
    716 AWK="$ac_cv_prog_AWK" 
     1907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1908for as_dir in $PATH 
     1909do 
     1910  IFS=$as_save_IFS 
     1911  test -z "$as_dir" && as_dir=. 
     1912  for ac_exec_ext in '' $ac_executable_extensions; do 
     1913  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1914    ac_cv_prog_AWK="$ac_prog" 
     1915    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1916    break 2 
     1917  fi 
     1918done 
     1919done 
     1920 
     1921fi 
     1922fi 
     1923AWK=$ac_cv_prog_AWK 
    7171924if test -n "$AWK"; then 
    718   echo "$ac_t""$AWK" 1>&6 
    719 else 
    720   echo "$ac_t""no" 1>&6 
    721 fi 
    722  
    723 test -n "$AWK" && break 
     1925  echo "$as_me:$LINENO: result: $AWK" >&5 
     1926echo "${ECHO_T}$AWK" >&6 
     1927else 
     1928  echo "$as_me:$LINENO: result: no" >&5 
     1929echo "${ECHO_T}no" >&6 
     1930fi 
     1931 
     1932  test -n "$AWK" && break 
    7241933done 
    7251934 
    7261935for ac_prog in 'bison -y' byacc 
    7271936do 
    728 # Extract the first word of "$ac_prog", so it can be a program name with args. 
     1937  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    7291938set dummy $ac_prog; ac_word=$2 
    730 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    731 echo "configure:732: checking for $ac_word" >&5 
    732 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 
    733   echo $ac_n "(cached) $ac_c" 1>&6 
     1939echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1940echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1941if test "${ac_cv_prog_YACC+set}" = set; then 
     1942  echo $ECHO_N "(cached) $ECHO_C" >&6 
    7341943else 
    7351944  if test -n "$YACC"; then 
    7361945  ac_cv_prog_YACC="$YACC" # Let the user override the test. 
    7371946else 
    738   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 
    739   for ac_dir in $PATH; do 
    740     test -z "$ac_dir" && ac_dir=. 
    741     if test -f $ac_dir/$ac_word; then 
    742       ac_cv_prog_YACC="$ac_prog" 
    743       break 
    744     fi 
    745   done 
    746   IFS="$ac_save_ifs" 
    747 fi 
    748 fi 
    749 YACC="$ac_cv_prog_YACC" 
     1947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1948for as_dir in $PATH 
     1949do 
     1950  IFS=$as_save_IFS 
     1951  test -z "$as_dir" && as_dir=. 
     1952  for ac_exec_ext in '' $ac_executable_extensions; do 
     1953  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1954    ac_cv_prog_YACC="$ac_prog" 
     1955    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1956    break 2 
     1957  fi 
     1958done 
     1959done 
     1960 
     1961fi 
     1962fi 
     1963YACC=$ac_cv_prog_YACC 
    7501964if test -n "$YACC"; then 
    751   echo "$ac_t""$YACC" 1>&6 
    752 else 
    753   echo "$ac_t""no" 1>&6 
    754 fi 
    755  
    756 test -n "$YACC" && break 
     1965  echo "$as_me:$LINENO: result: $YACC" >&5 
     1966echo "${ECHO_T}$YACC" >&6 
     1967else 
     1968  echo "$as_me:$LINENO: result: no" >&5 
     1969echo "${ECHO_T}no" >&6 
     1970fi 
     1971 
     1972  test -n "$YACC" && break 
    7571973done 
    7581974test -n "$YACC" || YACC="yacc" 
    7591975 
    760 # Extract the first word of "gcc", so it can be a program name with args. 
    761 set dummy gcc; ac_word=$2 
    762 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    763 echo "configure:764: checking for $ac_word" >&5 
    764 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    765   echo $ac_n "(cached) $ac_c" 1>&6 
     1976ac_ext=c 
     1977ac_cpp='$CPP $CPPFLAGS' 
     1978ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     1979ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     1980ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     1981if test -n "$ac_tool_prefix"; then 
     1982  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 
     1983set dummy ${ac_tool_prefix}gcc; ac_word=$2 
     1984echo "$as_me:$LINENO: checking for $ac_word" >&5 
     1985echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     1986if test "${ac_cv_prog_CC+set}" = set; then 
     1987  echo $ECHO_N "(cached) $ECHO_C" >&6 
    7661988else 
    7671989  if test -n "$CC"; then 
    7681990  ac_cv_prog_CC="$CC" # Let the user override the test. 
    7691991else 
    770   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 
    771   for ac_dir in $PATH; do 
    772     test -z "$ac_dir" && ac_dir=. 
    773     if test -f $ac_dir/$ac_word; then 
    774       ac_cv_prog_CC="gcc" 
    775       break 
    776     fi 
    777   done 
    778   IFS="$ac_save_ifs" 
    779 fi 
    780 fi 
    781 CC="$ac_cv_prog_CC" 
     1992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1993for as_dir in $PATH 
     1994do 
     1995  IFS=$as_save_IFS 
     1996  test -z "$as_dir" && as_dir=. 
     1997  for ac_exec_ext in '' $ac_executable_extensions; do 
     1998  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1999    ac_cv_prog_CC="${ac_tool_prefix}gcc" 
     2000    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2001    break 2 
     2002  fi 
     2003done 
     2004done 
     2005 
     2006fi 
     2007fi 
     2008CC=$ac_cv_prog_CC 
    7822009if test -n "$CC"; then 
    783   echo "$ac_t""$CC" 1>&6 
    784 else 
    785   echo "$ac_t""no" 1>&6 
    786 fi 
    787  
     2010  echo "$as_me:$LINENO: result: $CC" >&5 
     2011echo "${ECHO_T}$CC" >&6 
     2012else 
     2013  echo "$as_me:$LINENO: result: no" >&5 
     2014echo "${ECHO_T}no" >&6 
     2015fi 
     2016 
     2017fi 
     2018if test -z "$ac_cv_prog_CC"; then 
     2019  ac_ct_CC=$CC 
     2020  # Extract the first word of "gcc", so it can be a program name with args. 
     2021set dummy gcc; ac_word=$2 
     2022echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2023echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2024if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2025  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2026else 
     2027  if test -n "$ac_ct_CC"; then 
     2028  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
     2029else 
     2030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2031for as_dir in $PATH 
     2032do 
     2033  IFS=$as_save_IFS 
     2034  test -z "$as_dir" && as_dir=. 
     2035  for ac_exec_ext in '' $ac_executable_extensions; do 
     2036  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2037    ac_cv_prog_ac_ct_CC="gcc" 
     2038    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2039    break 2 
     2040  fi 
     2041done 
     2042done 
     2043 
     2044fi 
     2045fi 
     2046ac_ct_CC=$ac_cv_prog_ac_ct_CC 
     2047if test -n "$ac_ct_CC"; then 
     2048  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2049echo "${ECHO_T}$ac_ct_CC" >&6 
     2050else 
     2051  echo "$as_me:$LINENO: result: no" >&5 
     2052echo "${ECHO_T}no" >&6 
     2053fi 
     2054 
     2055  CC=$ac_ct_CC 
     2056else 
     2057  CC="$ac_cv_prog_CC" 
     2058fi 
     2059 
     2060if test -z "$CC"; then 
     2061  if test -n "$ac_tool_prefix"; then 
     2062  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 
     2063set dummy ${ac_tool_prefix}cc; ac_word=$2 
     2064echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2065echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2066if test "${ac_cv_prog_CC+set}" = set; then 
     2067  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2068else 
     2069  if test -n "$CC"; then 
     2070  ac_cv_prog_CC="$CC" # Let the user override the test. 
     2071else 
     2072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2073for as_dir in $PATH 
     2074do 
     2075  IFS=$as_save_IFS 
     2076  test -z "$as_dir" && as_dir=. 
     2077  for ac_exec_ext in '' $ac_executable_extensions; do 
     2078  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2079    ac_cv_prog_CC="${ac_tool_prefix}cc" 
     2080    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2081    break 2 
     2082  fi 
     2083done 
     2084done 
     2085 
     2086fi 
     2087fi 
     2088CC=$ac_cv_prog_CC 
     2089if test -n "$CC"; then 
     2090  echo "$as_me:$LINENO: result: $CC" >&5 
     2091echo "${ECHO_T}$CC" >&6 
     2092else 
     2093  echo "$as_me:$LINENO: result: no" >&5 
     2094echo "${ECHO_T}no" >&6 
     2095fi 
     2096 
     2097fi 
     2098if test -z "$ac_cv_prog_CC"; then 
     2099  ac_ct_CC=$CC 
     2100  # Extract the first word of "cc", so it can be a program name with args. 
     2101set dummy cc; ac_word=$2 
     2102echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2103echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2104if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2105  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2106else 
     2107  if test -n "$ac_ct_CC"; then 
     2108  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
     2109else 
     2110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2111for as_dir in $PATH 
     2112do 
     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_ac_ct_CC="cc" 
     2118    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2119    break 2 
     2120  fi 
     2121done 
     2122done 
     2123 
     2124fi 
     2125fi 
     2126ac_ct_CC=$ac_cv_prog_ac_ct_CC 
     2127if test -n "$ac_ct_CC"; then 
     2128  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2129echo "${ECHO_T}$ac_ct_CC" >&6 
     2130else 
     2131  echo "$as_me:$LINENO: result: no" >&5 
     2132echo "${ECHO_T}no" >&6 
     2133fi 
     2134 
     2135  CC=$ac_ct_CC 
     2136else 
     2137  CC="$ac_cv_prog_CC" 
     2138fi 
     2139 
     2140fi 
    7882141if test -z "$CC"; then 
    7892142  # Extract the first word of "cc", so it can be a program name with args. 
    7902143set dummy cc; ac_word=$2 
    791 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    792 echo "configure:793: checking for $ac_word" >&5 
    793 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    794   echo $ac_n "(cached) $ac_c" 1>&6 
     2144echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2145echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2146if test "${ac_cv_prog_CC+set}" = set; then 
     2147  echo $ECHO_N "(cached) $ECHO_C" >&6 
    7952148else 
    7962149  if test -n "$CC"; then 
    7972150  ac_cv_prog_CC="$CC" # Let the user override the test. 
    7982151else 
    799   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 
    8002152  ac_prog_rejected=no 
    801   for ac_dir in $PATH; do 
    802     test -z "$ac_dir" && ac_dir=. 
    803     if test -f $ac_dir/$ac_word; then 
    804       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 
    805         ac_prog_rejected=yes 
    806     continue 
    807       fi 
    808       ac_cv_prog_CC="cc" 
    809       break 
    810     fi 
    811   done 
    812   IFS="$ac_save_ifs" 
     2153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2154for as_dir in $PATH 
     2155do 
     2156  IFS=$as_save_IFS 
     2157  test -z "$as_dir" && as_dir=. 
     2158  for ac_exec_ext in '' $ac_executable_extensions; do 
     2159  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2160    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 
     2161       ac_prog_rejected=yes 
     2162       continue 
     2163     fi 
     2164    ac_cv_prog_CC="cc" 
     2165    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2166    break 2 
     2167  fi 
     2168done 
     2169done 
     2170 
    8132171if test $ac_prog_rejected = yes; then 
    8142172  # We found a bogon in the path, so make sure we never use it. 
    8152173  set dummy $ac_cv_prog_CC 
    8162174  shift 
    817   if test $# -gt 0; then 
     2175  if test $# != 0; then 
    8182176    # We chose a different compiler from the bogus one. 
    8192177    # However, it has the same basename, so the bogon will be chosen 
    8202178    # first if we set CC to just the basename; use the full file name. 
    8212179    shift 
    822     set dummy "$ac_dir/$ac_word" "$@" 
    823     shift 
    824     ac_cv_prog_CC="$@" 
     2180    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 
    8252181  fi 
    8262182fi 
    8272183fi 
    8282184fi 
    829 CC="$ac_cv_prog_CC" 
     2185CC=$ac_cv_prog_CC 
    8302186if test -n "$CC"; then 
    831   echo "$ac_t""$CC" 1>&6 
    832 else 
    833   echo "$ac_t""no" 1>&6 
    834 fi 
    835  
    836   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 
    837 fi 
    838  
    839 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
    840 echo "configure:841: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 
    841  
    842 ac_ext=c 
    843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 
    844 ac_cpp='$CPP $CPPFLAGS' 
    845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 
    846 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 
    847 cross_compiling=$ac_cv_prog_cc_cross 
    848  
    849 cat > conftest.$ac_ext <<EOF 
    850 #line 851 "configure" 
    851 #include "confdefs.h" 
    852 main(){return(0);} 
    853 EOF 
    854 if { (eval echo configure:855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 
    855   ac_cv_prog_cc_works=yes 
    856   # If we can't run a trivial program, we are probably using a cross compiler. 
    857   if (./conftest; exit) 2>/dev/null; then 
    858     ac_cv_prog_cc_cross=no 
    859   else 
    860     ac_cv_prog_cc_cross=yes 
     2187  echo "$as_me:$LINENO: result: $CC" >&5 
     2188echo "${ECHO_T}$CC" >&6 
     2189else 
     2190  echo "$as_me:$LINENO: result: no" >&5 
     2191echo "${ECHO_T}no" >&6 
     2192fi 
     2193 
     2194fi 
     2195if test -z "$CC"; then 
     2196  if test -n "$ac_tool_prefix"; then 
     2197  for ac_prog in cl 
     2198  do 
     2199    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
     2200set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
     2201echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2202echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2203if test "${ac_cv_prog_CC+set}" = set; then 
     2204  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2205else 
     2206  if test -n "$CC"; then 
     2207  ac_cv_prog_CC="$CC" # Let the user override the test. 
     2208else 
     2209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2210for as_dir in $PATH 
     2211do 
     2212  IFS=$as_save_IFS 
     2213  test -z "$as_dir" && as_dir=. 
     2214  for ac_exec_ext in '' $ac_executable_extensions; do 
     2215  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2216    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
     2217    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2218    break 2 
    8612219  fi 
    862 else 
    863   echo "configure: failed program was:" >&5 
    864   cat conftest.$ac_ext >&5 
    865   ac_cv_prog_cc_works=no 
    866 fi 
    867 rm -fr conftest* 
    868  
    869 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 
    870 if test $ac_cv_prog_cc_works = no; then 
    871   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 
    872 fi 
    873 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
    874 echo "configure:875: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 
    875 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 
    876 cross_compiling=$ac_cv_prog_cc_cross 
    877  
    878 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 
    879 echo "configure:880: checking whether we are using GNU C" >&5 
    880 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 
    881   echo $ac_n "(cached) $ac_c" 1>&6 
    882 else 
    883   cat > conftest.c <<EOF 
    884 #ifdef __GNUC__ 
    885   yes; 
     2220done 
     2221done 
     2222 
     2223fi 
     2224fi 
     2225CC=$ac_cv_prog_CC 
     2226if test -n "$CC"; then 
     2227  echo "$as_me:$LINENO: result: $CC" >&5 
     2228echo "${ECHO_T}$CC" >&6 
     2229else 
     2230  echo "$as_me:$LINENO: result: no" >&5 
     2231echo "${ECHO_T}no" >&6 
     2232fi 
     2233 
     2234    test -n "$CC" && break 
     2235  done 
     2236fi 
     2237if test -z "$CC"; then 
     2238  ac_ct_CC=$CC 
     2239  for ac_prog in cl 
     2240do 
     2241  # Extract the first word of "$ac_prog", so it can be a program name with args. 
     2242set dummy $ac_prog; ac_word=$2 
     2243echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2244echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2245if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     2246  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2247else 
     2248  if test -n "$ac_ct_CC"; then 
     2249  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
     2250else 
     2251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2252for as_dir in $PATH 
     2253do 
     2254  IFS=$as_save_IFS 
     2255  test -z "$as_dir" && as_dir=. 
     2256  for ac_exec_ext in '' $ac_executable_extensions; do 
     2257  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2258    ac_cv_prog_ac_ct_CC="$ac_prog" 
     2259    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2260    break 2 
     2261  fi 
     2262done 
     2263done 
     2264 
     2265fi 
     2266fi 
     2267ac_ct_CC=$ac_cv_prog_ac_ct_CC 
     2268if test -n "$ac_ct_CC"; then 
     2269  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
     2270echo "${ECHO_T}$ac_ct_CC" >&6 
     2271else 
     2272  echo "$as_me:$LINENO: result: no" >&5 
     2273echo "${ECHO_T}no" >&6 
     2274fi 
     2275 
     2276  test -n "$ac_ct_CC" && break 
     2277done 
     2278 
     2279  CC=$ac_ct_CC 
     2280fi 
     2281 
     2282fi 
     2283 
     2284 
     2285test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
     2286See \`config.log' for more details." >&5 
     2287echo "$as_me: error: no acceptable C compiler found in \$PATH 
     2288See \`config.log' for more details." >&2;} 
     2289   { (exit 1); exit 1; }; } 
     2290 
     2291# Provide some information about the compiler. 
     2292echo "$as_me:$LINENO:" \ 
     2293     "checking for C compiler version" >&5 
     2294ac_compiler=`set X $ac_compile; echo $2` 
     2295{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
     2296  (eval $ac_compiler --version </dev/null >&5) 2>&5 
     2297  ac_status=$? 
     2298  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2299  (exit $ac_status); } 
     2300{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
     2301  (eval $ac_compiler -v </dev/null >&5) 2>&5 
     2302  ac_status=$? 
     2303  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2304  (exit $ac_status); } 
     2305{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
     2306  (eval $ac_compiler -V </dev/null >&5) 2>&5 
     2307  ac_status=$? 
     2308  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2309  (exit $ac_status); } 
     2310 
     2311echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
     2312echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 
     2313if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     2314  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2315else 
     2316  cat >conftest.$ac_ext <<_ACEOF 
     2317/* confdefs.h.  */ 
     2318_ACEOF 
     2319cat confdefs.h >>conftest.$ac_ext 
     2320cat >>conftest.$ac_ext <<_ACEOF 
     2321/* end confdefs.h.  */ 
     2322 
     2323int 
     2324main () 
     2325{ 
     2326#ifndef __GNUC__ 
     2327       choke me 
    8862328#endif 
    887 EOF 
    888 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
    889   ac_cv_prog_gcc=yes 
    890 else 
    891   ac_cv_prog_gcc=no 
    892 fi 
    893 fi 
    894  
    895 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 
    896  
    897 if test $ac_cv_prog_gcc = yes; then 
    898   GCC=yes 
    899   ac_test_CFLAGS="${CFLAGS+set}" 
    900   ac_save_CFLAGS="$CFLAGS" 
    901   CFLAGS= 
    902   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 
    903 echo "configure:904: checking whether ${CC-cc} accepts -g" >&5 
    904 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 
    905   echo $ac_n "(cached) $ac_c" 1>&6 
    906 else 
    907   echo 'void f(){}' > conftest.c 
    908 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 
     2329 
     2330  ; 
     2331  return 0; 
     2332} 
     2333_ACEOF 
     2334rm -f conftest.$ac_objext 
     2335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2336  (eval $ac_compile) 2>conftest.er1 
     2337  ac_status=$? 
     2338  grep -v '^ *+' conftest.er1 >conftest.err 
     2339  rm -f conftest.er1 
     2340  cat conftest.err >&5 
     2341  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2342  (exit $ac_status); } && 
     2343     { ac_try='test -z "$ac_c_werror_flag" 
     2344             || test ! -s conftest.err' 
     2345  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2346  (eval $ac_try) 2>&5 
     2347  ac_status=$? 
     2348  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2349  (exit $ac_status); }; } && 
     2350     { ac_try='test -s conftest.$ac_objext' 
     2351  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2352  (eval $ac_try) 2>&5 
     2353  ac_status=$? 
     2354  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2355  (exit $ac_status); }; }; then 
     2356  ac_compiler_gnu=yes 
     2357else 
     2358  echo "$as_me: failed program was:" >&5 
     2359sed 's/^/| /' conftest.$ac_ext >&5 
     2360 
     2361ac_compiler_gnu=no 
     2362fi 
     2363rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2364ac_cv_c_compiler_gnu=$ac_compiler_gnu 
     2365 
     2366fi 
     2367echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
     2368echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 
     2369GCC=`test $ac_compiler_gnu = yes && echo yes` 
     2370ac_test_CFLAGS=${CFLAGS+set} 
     2371ac_save_CFLAGS=$CFLAGS 
     2372CFLAGS="-g" 
     2373echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
     2374echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 
     2375if test "${ac_cv_prog_cc_g+set}" = set; then 
     2376  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2377else 
     2378  cat >conftest.$ac_ext <<_ACEOF 
     2379/* confdefs.h.  */ 
     2380_ACEOF 
     2381cat confdefs.h >>conftest.$ac_ext 
     2382cat >>conftest.$ac_ext <<_ACEOF 
     2383/* end confdefs.h.  */ 
     2384 
     2385int 
     2386main () 
     2387{ 
     2388 
     2389  ; 
     2390  return 0; 
     2391} 
     2392_ACEOF 
     2393rm -f conftest.$ac_objext 
     2394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2395  (eval $ac_compile) 2>conftest.er1 
     2396  ac_status=$? 
     2397  grep -v '^ *+' conftest.er1 >conftest.err 
     2398  rm -f conftest.er1 
     2399  cat conftest.err >&5 
     2400  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2401  (exit $ac_status); } && 
     2402     { ac_try='test -z "$ac_c_werror_flag" 
     2403             || test ! -s conftest.err' 
     2404  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2405  (eval $ac_try) 2>&5 
     2406  ac_status=$? 
     2407  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2408  (exit $ac_status); }; } && 
     2409     { ac_try='test -s conftest.$ac_objext' 
     2410  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2411  (eval $ac_try) 2>&5 
     2412  ac_status=$? 
     2413  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2414  (exit $ac_status); }; }; then 
    9092415  ac_cv_prog_cc_g=yes 
    9102416else 
    911   ac_cv_prog_cc_g=no 
    912 fi 
    913 rm -f conftest* 
    914  
    915 fi 
    916  
    917 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 
    918   if test "$ac_test_CFLAGS" = set; then 
    919     CFLAGS="$ac_save_CFLAGS" 
    920   elif test $ac_cv_prog_cc_g = yes; then 
     2417  echo "$as_me: failed program was:" >&5 
     2418sed 's/^/| /' conftest.$ac_ext >&5 
     2419 
     2420ac_cv_prog_cc_g=no 
     2421fi 
     2422rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2423fi 
     2424echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
     2425echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 
     2426if test "$ac_test_CFLAGS" = set; then 
     2427  CFLAGS=$ac_save_CFLAGS 
     2428elif test $ac_cv_prog_cc_g = yes; then 
     2429  if test "$GCC" = yes; then 
    9212430    CFLAGS="-g -O2" 
    9222431  else 
     2432    CFLAGS="-g" 
     2433  fi 
     2434else 
     2435  if test "$GCC" = yes; then 
    9232436    CFLAGS="-O2" 
     2437  else 
     2438    CFLAGS= 
    9242439  fi 
    925 else 
    926   GCC= 
    927   test "${CFLAGS+set}" = set || CFLAGS="-g" 
    928 fi 
     2440fi 
     2441echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 
     2442echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 
     2443if test "${ac_cv_prog_cc_stdc+set}" = set; then 
     2444  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2445else 
     2446  ac_cv_prog_cc_stdc=no 
     2447ac_save_CC=$CC 
     2448cat >conftest.$ac_ext <<_ACEOF 
     2449/* confdefs.h.  */ 
     2450_ACEOF 
     2451cat confdefs.h >>conftest.$ac_ext 
     2452cat >>conftest.$ac_ext <<_ACEOF 
     2453/* end confdefs.h.  */ 
     2454#include <stdarg.h> 
     2455#include <stdio.h> 
     2456#include <sys/types.h> 
     2457#include <sys/stat.h> 
     2458/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
     2459struct buf { int x; }; 
     2460FILE * (*rcsopen) (struct buf *, struct stat *, int); 
     2461static char *e (p, i) 
     2462     char **p; 
     2463     int i; 
     2464{ 
     2465  return p[i]; 
     2466} 
     2467static char *f (char * (*g) (char **, int), char **p, ...) 
     2468{ 
     2469  char *s; 
     2470  va_list v; 
     2471  va_start (v,p); 
     2472  s = g (p, va_arg (v,int)); 
     2473  va_end (v); 
     2474  return s; 
     2475} 
     2476 
     2477/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has 
     2478   function prototypes and stuff, but not '\xHH' hex character constants. 
     2479   These don't provoke an error unfortunately, instead are silently treated 
     2480   as 'x'.  The following induces an error, until -std1 is added to get 
     2481   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an 
     2482   array size at least.  It's necessary to write '\x00'==0 to get something 
     2483   that's true only with -std1.  */ 
     2484int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 
     2485 
     2486int test (int i, double x); 
     2487struct s1 {int (*f) (int a);}; 
     2488struct s2 {int (*f) (double a);}; 
     2489int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
     2490int argc; 
     2491char **argv; 
     2492int 
     2493main () 
     2494{ 
     2495return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
     2496  ; 
     2497  return 0; 
     2498} 
     2499_ACEOF 
     2500# Don't try gcc -ansi; that turns off useful extensions and 
     2501# breaks some systems' header files. 
     2502# AIX           -qlanglvl=ansi 
     2503# Ultrix and OSF/1  -std1 
     2504# HP-UX 10.20 and later -Ae 
     2505# HP-UX older versions  -Aa -D_HPUX_SOURCE 
     2506# SVR4          -Xc -D__EXTENSIONS__ 
     2507for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
     2508do 
     2509  CC="$ac_save_CC $ac_arg" 
     2510  rm -f conftest.$ac_objext 
     2511if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2512  (eval $ac_compile) 2>conftest.er1 
     2513  ac_status=$? 
     2514  grep -v '^ *+' conftest.er1 >conftest.err 
     2515  rm -f conftest.er1 
     2516  cat conftest.err >&5 
     2517  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2518  (exit $ac_status); } && 
     2519     { ac_try='test -z "$ac_c_werror_flag" 
     2520             || test ! -s conftest.err' 
     2521  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2522  (eval $ac_try) 2>&5 
     2523  ac_status=$? 
     2524  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2525  (exit $ac_status); }; } && 
     2526     { ac_try='test -s conftest.$ac_objext' 
     2527  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2528  (eval $ac_try) 2>&5 
     2529  ac_status=$? 
     2530  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2531  (exit $ac_status); }; }; then 
     2532  ac_cv_prog_cc_stdc=$ac_arg 
     2533break 
     2534else 
     2535  echo "$as_me: failed program was:" >&5 
     2536sed 's/^/| /' conftest.$ac_ext >&5 
     2537 
     2538fi 
     2539rm -f conftest.err conftest.$ac_objext 
     2540done 
     2541rm -f conftest.$ac_ext conftest.$ac_objext 
     2542CC=$ac_save_CC 
     2543 
     2544fi 
     2545 
     2546case "x$ac_cv_prog_cc_stdc" in 
     2547  x|xno) 
     2548    echo "$as_me:$LINENO: result: none needed" >&5 
     2549echo "${ECHO_T}none needed" >&6 ;; 
     2550  *) 
     2551    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 
     2552echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 
     2553    CC="$CC $ac_cv_prog_cc_stdc" ;; 
     2554esac 
     2555 
     2556# Some people use a C++ compiler to compile C.  Since we use `exit', 
     2557# in C++ we need to declare it.  In case someone uses the same compiler 
     2558# for both compiling C and C++ we need to have the C++ compiler decide 
     2559# the declaration of exit, since it's the most demanding environment. 
     2560cat >conftest.$ac_ext <<_ACEOF 
     2561#ifndef __cplusplus 
     2562  choke me 
     2563#endif 
     2564_ACEOF 
     2565rm -f conftest.$ac_objext 
     2566if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2567  (eval $ac_compile) 2>conftest.er1 
     2568  ac_status=$? 
     2569  grep -v '^ *+' conftest.er1 >conftest.err 
     2570  rm -f conftest.er1 
     2571  cat conftest.err >&5 
     2572  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2573  (exit $ac_status); } && 
     2574     { ac_try='test -z "$ac_c_werror_flag" 
     2575             || test ! -s conftest.err' 
     2576  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2577  (eval $ac_try) 2>&5 
     2578  ac_status=$? 
     2579  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2580  (exit $ac_status); }; } && 
     2581     { ac_try='test -s conftest.$ac_objext' 
     2582  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2583  (eval $ac_try) 2>&5 
     2584  ac_status=$? 
     2585  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2586  (exit $ac_status); }; }; then 
     2587  for ac_declaration in \ 
     2588   '' \ 
     2589   'extern "C" void std::exit (int) throw (); using std::exit;' \ 
     2590   'extern "C" void std::exit (int); using std::exit;' \ 
     2591   'extern "C" void exit (int) throw ();' \ 
     2592   'extern "C" void exit (int);' \ 
     2593   'void exit (int);' 
     2594do 
     2595  cat >conftest.$ac_ext <<_ACEOF 
     2596/* confdefs.h.  */ 
     2597_ACEOF 
     2598cat confdefs.h >>conftest.$ac_ext 
     2599cat >>conftest.$ac_ext <<_ACEOF 
     2600/* end confdefs.h.  */ 
     2601$ac_declaration 
     2602#include <stdlib.h> 
     2603int 
     2604main () 
     2605{ 
     2606exit (42); 
     2607  ; 
     2608  return 0; 
     2609} 
     2610_ACEOF 
     2611rm -f conftest.$ac_objext 
     2612if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2613  (eval $ac_compile) 2>conftest.er1 
     2614  ac_status=$? 
     2615  grep -v '^ *+' conftest.er1 >conftest.err 
     2616  rm -f conftest.er1 
     2617  cat conftest.err >&5 
     2618  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2619  (exit $ac_status); } && 
     2620     { ac_try='test -z "$ac_c_werror_flag" 
     2621             || test ! -s conftest.err' 
     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); }; } && 
     2627     { ac_try='test -s conftest.$ac_objext' 
     2628  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2629  (eval $ac_try) 2>&5 
     2630  ac_status=$? 
     2631  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2632  (exit $ac_status); }; }; then 
     2633  : 
     2634else 
     2635  echo "$as_me: failed program was:" >&5 
     2636sed 's/^/| /' conftest.$ac_ext >&5 
     2637 
     2638continue 
     2639fi 
     2640rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2641  cat >conftest.$ac_ext <<_ACEOF 
     2642/* confdefs.h.  */ 
     2643_ACEOF 
     2644cat confdefs.h >>conftest.$ac_ext 
     2645cat >>conftest.$ac_ext <<_ACEOF 
     2646/* end confdefs.h.  */ 
     2647$ac_declaration 
     2648int 
     2649main () 
     2650{ 
     2651exit (42); 
     2652  ; 
     2653  return 0; 
     2654} 
     2655_ACEOF 
     2656rm -f conftest.$ac_objext 
     2657if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2658  (eval $ac_compile) 2>conftest.er1 
     2659  ac_status=$? 
     2660  grep -v '^ *+' conftest.er1 >conftest.err 
     2661  rm -f conftest.er1 
     2662  cat conftest.err >&5 
     2663  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2664  (exit $ac_status); } && 
     2665     { ac_try='test -z "$ac_c_werror_flag" 
     2666             || test ! -s conftest.err' 
     2667  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2668  (eval $ac_try) 2>&5 
     2669  ac_status=$? 
     2670  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2671  (exit $ac_status); }; } && 
     2672     { ac_try='test -s conftest.$ac_objext' 
     2673  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2674  (eval $ac_try) 2>&5 
     2675  ac_status=$? 
     2676  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2677  (exit $ac_status); }; }; then 
     2678  break 
     2679else 
     2680  echo "$as_me: failed program was:" >&5 
     2681sed 's/^/| /' conftest.$ac_ext >&5 
     2682 
     2683fi 
     2684rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2685done 
     2686rm -f conftest* 
     2687if test -n "$ac_declaration"; then 
     2688  echo '#ifdef __cplusplus' >>confdefs.h 
     2689  echo $ac_declaration      >>confdefs.h 
     2690  echo '#endif'             >>confdefs.h 
     2691fi 
     2692 
     2693else 
     2694  echo "$as_me: failed program was:" >&5 
     2695sed 's/^/| /' conftest.$ac_ext >&5 
     2696 
     2697fi 
     2698rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     2699ac_ext=c 
     2700ac_cpp='$CPP $CPPFLAGS' 
     2701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     2702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     2703ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    9292704 
    9302705ac_aux_dir= 
     
    9382713    ac_install_sh="$ac_aux_dir/install.sh -c" 
    9392714    break 
     2715  elif test -f $ac_dir/shtool; then 
     2716    ac_aux_dir=$ac_dir 
     2717    ac_install_sh="$ac_aux_dir/shtool install -c" 
     2718    break 
    9402719  fi 
    9412720done 
    9422721if test -z "$ac_aux_dir"; then 
    943   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 
    944 fi 
    945 ac_config_guess=$ac_aux_dir/config.guess 
    946 ac_config_sub=$ac_aux_dir/config.sub 
    947 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 
     2722  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
     2723echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 
     2724   { (exit 1); exit 1; }; } 
     2725fi 
     2726ac_config_guess="$SHELL $ac_aux_dir/config.guess" 
     2727ac_config_sub="$SHELL $ac_aux_dir/config.sub" 
     2728ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 
    9482729 
    9492730# Find a good install program.  We prefer a C program (faster), 
     
    9542735# IRIX /sbin/install 
    9552736# AIX /bin/install 
     2737# AmigaOS /C/install, which installs bootblocks on floppy discs 
     2738# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 
    9562739# AFS /usr/afsws/bin/install, which mishandles nonexistent args 
    9572740# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 
     2741# OS/2's system install, which has a completely different semantic 
    9582742# ./install, which can be erroneously created by make from ./install.sh. 
    959 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 
    960 echo "configure:961: checking for a BSD compatible install" >&5 
     2743echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 
     2744echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 
    9612745if test -z "$INSTALL"; then 
    962 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 
    963   echo $ac_n "(cached) $ac_c" 1>&6 
    964 else 
    965     IFS="${IFS=     }"; ac_save_IFS="$IFS"; IFS="${IFS}:" 
    966   for ac_dir in $PATH; do 
    967     # Account for people who put trailing slashes in PATH elements. 
    968     case "$ac_dir/" in 
    969     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 
    970     *) 
    971       # OSF1 and SCO ODT 3.0 have their own names for install. 
    972       for ac_prog in ginstall installbsd scoinst install; do 
    973         if test -f $ac_dir/$ac_prog; then 
     2746if test "${ac_cv_path_install+set}" = set; then 
     2747  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2748else 
     2749  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2750for as_dir in $PATH 
     2751do 
     2752  IFS=$as_save_IFS 
     2753  test -z "$as_dir" && as_dir=. 
     2754  # Account for people who put trailing slashes in PATH elements. 
     2755case $as_dir/ in 
     2756  ./ | .// | /cC/* | \ 
     2757  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 
     2758  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 
     2759  /usr/ucb/* ) ;; 
     2760  *) 
     2761    # OSF1 and SCO ODT 3.0 have their own names for install. 
     2762    # Don't use installbsd from OSF since it installs stuff as root 
     2763    # by default. 
     2764    for ac_prog in ginstall scoinst install; do 
     2765      for ac_exec_ext in '' $ac_executable_extensions; do 
     2766    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 
    9742767      if test $ac_prog = install && 
    975             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 
     2768        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 
    9762769        # AIX install.  It has an incompatible calling convention. 
    977         # OSF/1 installbsd also uses dspmsg, but is usable. 
     2770        : 
     2771      elif test $ac_prog = install && 
     2772        grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 
     2773        # program-specific install script used by HP pwplus--don't use. 
    9782774        : 
    9792775      else 
    980         ac_cv_path_install="$ac_dir/$ac_prog -c" 
    981         break 2 
     2776        ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 
     2777        break 3 
    9822778      fi 
    9832779    fi 
    9842780      done 
    985       ;; 
    986     esac 
    987   done 
    988   IFS="$ac_save_IFS" 
     2781    done 
     2782    ;; 
     2783esac 
     2784done 
     2785 
    9892786 
    9902787fi 
    9912788  if test "${ac_cv_path_install+set}" = set; then 
    992     INSTALL="$ac_cv_path_install" 
     2789    INSTALL=$ac_cv_path_install 
    9932790  else 
    9942791    # As a last resort, use the slow shell script.  We don't cache a 
     
    9962793    # break other packages using the cache if that directory is 
    9972794    # removed, or if the path is relative. 
    998     INSTALL="$ac_install_sh" 
     2795    INSTALL=$ac_install_sh 
    9992796  fi 
    10002797fi 
    1001 echo "$ac_t""$INSTALL" 1>&6 
     2798echo "$as_me:$LINENO: result: $INSTALL" >&5 
     2799echo "${ECHO_T}$INSTALL" >&6 
    10022800 
    10032801# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 
     
    10052803test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 
    10062804 
     2805test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 
     2806 
    10072807test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 
    10082808 
    1009 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 
    1010 echo "configure:1011: checking whether ln -s works" >&5 
    1011 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 
    1012   echo $ac_n "(cached) $ac_c" 1>&6 
    1013 else 
    1014   rm -f conftestdata 
    1015 if ln -s X conftestdata 2>/dev/null 
    1016 then 
    1017   rm -f conftestdata 
    1018   ac_cv_prog_LN_S="ln -s" 
    1019 else 
    1020   ac_cv_prog_LN_S=ln 
    1021 fi 
    1022 fi 
    1023 LN_S="$ac_cv_prog_LN_S" 
    1024 if test "$ac_cv_prog_LN_S" = "ln -s"; then 
    1025   echo "$ac_t""yes" 1>&6 
    1026 else 
    1027   echo "$ac_t""no" 1>&6 
    1028 fi 
    1029  
    1030 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 
    1031 echo "configure:1032: checking whether ${MAKE-make} sets \${MAKE}" >&5 
    1032 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 
    1033 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 
    1034   echo $ac_n "(cached) $ac_c" 1>&6 
    1035 else 
    1036   cat > conftestmake <<\EOF 
     2809echo "$as_me:$LINENO: checking whether ln -s works" >&5 
     2810echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 
     2811LN_S=$as_ln_s 
     2812if test "$LN_S" = "ln -s"; then 
     2813  echo "$as_me:$LINENO: result: yes" >&5 
     2814echo "${ECHO_T}yes" >&6 
     2815else 
     2816  echo "$as_me:$LINENO: result: no, using $LN_S" >&5 
     2817echo "${ECHO_T}no, using $LN_S" >&6 
     2818fi 
     2819 
     2820echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 
     2821echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 
     2822set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 
     2823if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 
     2824  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2825else 
     2826  cat >conftest.make <<\_ACEOF 
    10372827all: 
    1038     @echo 'ac_maketemp="${MAKE}"' 
    1039 EOF 
     2828    @echo 'ac_maketemp="$(MAKE)"' 
     2829_ACEOF 
    10402830# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 
    1041 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 
     2831eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 
    10422832if test -n "$ac_maketemp"; then 
    10432833  eval ac_cv_prog_make_${ac_make}_set=yes 
     
    10452835  eval ac_cv_prog_make_${ac_make}_set=no 
    10462836fi 
    1047 rm -f conftestmake 
     2837rm -f conftest.make 
    10482838fi 
    10492839if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 
    1050   echo "$ac_t""yes" 1>&6 
     2840  echo "$as_me:$LINENO: result: yes" >&5 
     2841echo "${ECHO_T}yes" >&6 
    10512842  SET_MAKE= 
    10522843else 
    1053   echo "$ac_t""no" 1>&6 
     2844  echo "$as_me:$LINENO: result: no" >&5 
     2845echo "${ECHO_T}no" >&6 
    10542846  SET_MAKE="MAKE=${MAKE-make}" 
    10552847fi 
    10562848 
    1057 # Extract the first word of "ranlib", so it can be a program name with args. 
    1058 set dummy ranlib; ac_word=$2 
    1059 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    1060 echo "configure:1061: checking for $ac_word" >&5 
    1061 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 
    1062   echo $ac_n "(cached) $ac_c" 1>&6 
     2849if test -n "$ac_tool_prefix"; then 
     2850  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 
     2851set dummy ${ac_tool_prefix}ranlib; ac_word=$2 
     2852echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2853echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2854if test "${ac_cv_prog_RANLIB+set}" = set; then 
     2855  echo $ECHO_N "(cached) $ECHO_C" >&6 
    10632856else 
    10642857  if test -n "$RANLIB"; then 
    10652858  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 
    10662859else 
    1067   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 
    1068   for ac_dir in $PATH; do 
    1069     test -z "$ac_dir" && ac_dir=. 
    1070     if test -f $ac_dir/$ac_word; then 
    1071       ac_cv_prog_RANLIB="ranlib" 
    1072       break 
    1073     fi 
    1074   done 
    1075   IFS="$ac_save_ifs" 
    1076   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" 
    1077 fi 
    1078 fi 
    1079 RANLIB="$ac_cv_prog_RANLIB" 
     2860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2861for as_dir in $PATH 
     2862do 
     2863  IFS=$as_save_IFS 
     2864  test -z "$as_dir" && as_dir=. 
     2865  for ac_exec_ext in '' $ac_executable_extensions; do 
     2866  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2867    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 
     2868    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2869    break 2 
     2870  fi 
     2871done 
     2872done 
     2873 
     2874fi 
     2875fi 
     2876RANLIB=$ac_cv_prog_RANLIB 
    10802877if test -n "$RANLIB"; then 
    1081   echo "$ac_t""$RANLIB" 1>&6 
    1082 else 
    1083   echo "$ac_t""no" 1>&6 
    1084 fi 
    1085  
    1086  
    1087 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 
    1088 echo "configure:1089: checking how to run the C preprocessor" >&5 
     2878  echo "$as_me:$LINENO: result: $RANLIB" >&5 
     2879echo "${ECHO_T}$RANLIB" >&6 
     2880else 
     2881  echo "$as_me:$LINENO: result: no" >&5 
     2882echo "${ECHO_T}no" >&6 
     2883fi 
     2884 
     2885fi 
     2886if test -z "$ac_cv_prog_RANLIB"; then 
     2887  ac_ct_RANLIB=$RANLIB 
     2888  # Extract the first word of "ranlib", so it can be a program name with args. 
     2889set dummy ranlib; ac_word=$2 
     2890echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2891echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2892if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 
     2893  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2894else 
     2895  if test -n "$ac_ct_RANLIB"; then 
     2896  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 
     2897else 
     2898as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2899for as_dir in $PATH 
     2900do 
     2901  IFS=$as_save_IFS 
     2902  test -z "$as_dir" && as_dir=. 
     2903  for ac_exec_ext in '' $ac_executable_extensions; do 
     2904  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2905    ac_cv_prog_ac_ct_RANLIB="ranlib" 
     2906    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     2907    break 2 
     2908  fi 
     2909done 
     2910done 
     2911 
     2912  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 
     2913fi 
     2914fi 
     2915ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 
     2916if test -n "$ac_ct_RANLIB"; then 
     2917  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 
     2918echo "${ECHO_T}$ac_ct_RANLIB" >&6 
     2919else 
     2920  echo "$as_me:$LINENO: result: no" >&5 
     2921echo "${ECHO_T}no" >&6 
     2922fi 
     2923 
     2924  RANLIB=$ac_ct_RANLIB 
     2925else 
     2926  RANLIB="$ac_cv_prog_RANLIB" 
     2927fi 
     2928 
     2929 
     2930 
     2931ac_ext=c 
     2932ac_cpp='$CPP $CPPFLAGS' 
     2933ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     2934ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     2935ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     2936echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
     2937echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 
    10892938# On Suns, sometimes $CPP names a directory. 
    10902939if test -n "$CPP" && test -d "$CPP"; then 
     
    10922941fi 
    10932942if test -z "$CPP"; then 
    1094 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 
    1095   echo $ac_n "(cached) $ac_c" 1>&6 
    1096 else 
    1097     # This must be in double quotes, not single quotes, because CPP may get 
    1098   # substituted into the Makefile and "${CC-cc}" will confuse make. 
    1099   CPP="${CC-cc} -E" 
     2943  if test "${ac_cv_prog_CPP+set}" = set; then 
     2944  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2945else 
     2946      # Double quotes because CPP needs to be expanded 
     2947    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 
     2948    do 
     2949      ac_preproc_ok=false 
     2950for ac_c_preproc_warn_flag in '' yes 
     2951do 
     2952  # Use a header file that comes with gcc, so configuring glibc 
     2953  # with a fresh cross-compiler works. 
     2954  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     2955  # <limits.h> exists even on freestanding compilers. 
    11002956  # On the NeXT, cc -E runs the code through the compiler's parser, 
    1101   # not just through cpp. 
    1102   cat > conftest.$ac_ext <<EOF 
    1103 #line 1104 "configure" 
    1104 #include "confdefs.h" 
    1105 #include <assert.h> 
    1106 Syntax Error 
    1107 EOF 
    1108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1109 { (eval echo configure:1110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1110 ac_err=`grep -v '^ *+' conftest.out` 
    1111 if test -z "$ac_err"; then 
     2957  # not just through cpp. "Syntax error" is here to catch this case. 
     2958  cat >conftest.$ac_ext <<_ACEOF 
     2959/* confdefs.h.  */ 
     2960_ACEOF 
     2961cat confdefs.h >>conftest.$ac_ext 
     2962cat >>conftest.$ac_ext <<_ACEOF 
     2963/* end confdefs.h.  */ 
     2964#ifdef __STDC__ 
     2965# include <limits.h> 
     2966#else 
     2967# include <assert.h> 
     2968#endif 
     2969             Syntax error 
     2970_ACEOF 
     2971if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2972  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     2973  ac_status=$? 
     2974  grep -v '^ *+' conftest.er1 >conftest.err 
     2975  rm -f conftest.er1 
     2976  cat conftest.err >&5 
     2977  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2978  (exit $ac_status); } >/dev/null; then 
     2979  if test -s conftest.err; then 
     2980    ac_cpp_err=$ac_c_preproc_warn_flag 
     2981    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     2982  else 
     2983    ac_cpp_err= 
     2984  fi 
     2985else 
     2986  ac_cpp_err=yes 
     2987fi 
     2988if test -z "$ac_cpp_err"; then 
    11122989  : 
    11132990else 
    1114   echo "$ac_err" >&5 
    1115   echo "configure: failed program was:" >&5 
    1116   cat conftest.$ac_ext >&5 
    1117   rm -rf conftest* 
    1118   CPP="${CC-cc} -E -traditional-cpp" 
    1119   cat > conftest.$ac_ext <<EOF 
    1120 #line 1121 "configure" 
    1121 #include "confdefs.h" 
    1122 #include <assert.h> 
    1123 Syntax Error 
    1124 EOF 
    1125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1126 { (eval echo configure:1127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1127 ac_err=`grep -v '^ *+' conftest.out` 
    1128 if test -z "$ac_err"; then 
     2991  echo "$as_me: failed program was:" >&5 
     2992sed 's/^/| /' conftest.$ac_ext >&5 
     2993 
     2994  # Broken: fails on valid input. 
     2995continue 
     2996fi 
     2997rm -f conftest.err conftest.$ac_ext 
     2998 
     2999  # OK, works on sane cases.  Now check whether non-existent headers 
     3000  # can be detected and how. 
     3001  cat >conftest.$ac_ext <<_ACEOF 
     3002/* confdefs.h.  */ 
     3003_ACEOF 
     3004cat confdefs.h >>conftest.$ac_ext 
     3005cat >>conftest.$ac_ext <<_ACEOF 
     3006/* end confdefs.h.  */ 
     3007#include <ac_nonexistent.h> 
     3008_ACEOF 
     3009if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3010  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3011  ac_status=$? 
     3012  grep -v '^ *+' conftest.er1 >conftest.err 
     3013  rm -f conftest.er1 
     3014  cat conftest.err >&5 
     3015  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3016  (exit $ac_status); } >/dev/null; then 
     3017  if test -s conftest.err; then 
     3018    ac_cpp_err=$ac_c_preproc_warn_flag 
     3019    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     3020  else 
     3021    ac_cpp_err= 
     3022  fi 
     3023else 
     3024  ac_cpp_err=yes 
     3025fi 
     3026if test -z "$ac_cpp_err"; then 
     3027  # Broken: success on invalid input. 
     3028continue 
     3029else 
     3030  echo "$as_me: failed program was:" >&5 
     3031sed 's/^/| /' conftest.$ac_ext >&5 
     3032 
     3033  # Passes both tests. 
     3034ac_preproc_ok=: 
     3035break 
     3036fi 
     3037rm -f conftest.err conftest.$ac_ext 
     3038 
     3039done 
     3040# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
     3041rm -f conftest.err conftest.$ac_ext 
     3042if $ac_preproc_ok; then 
     3043  break 
     3044fi 
     3045 
     3046    done 
     3047    ac_cv_prog_CPP=$CPP 
     3048 
     3049fi 
     3050  CPP=$ac_cv_prog_CPP 
     3051else 
     3052  ac_cv_prog_CPP=$CPP 
     3053fi 
     3054echo "$as_me:$LINENO: result: $CPP" >&5 
     3055echo "${ECHO_T}$CPP" >&6 
     3056ac_preproc_ok=false 
     3057for ac_c_preproc_warn_flag in '' yes 
     3058do 
     3059  # Use a header file that comes with gcc, so configuring glibc 
     3060  # with a fresh cross-compiler works. 
     3061  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3062  # <limits.h> exists even on freestanding compilers. 
     3063  # On the NeXT, cc -E runs the code through the compiler's parser, 
     3064  # not just through cpp. "Syntax error" is here to catch this case. 
     3065  cat >conftest.$ac_ext <<_ACEOF 
     3066/* confdefs.h.  */ 
     3067_ACEOF 
     3068cat confdefs.h >>conftest.$ac_ext 
     3069cat >>conftest.$ac_ext <<_ACEOF 
     3070/* end confdefs.h.  */ 
     3071#ifdef __STDC__ 
     3072# include <limits.h> 
     3073#else 
     3074# include <assert.h> 
     3075#endif 
     3076             Syntax error 
     3077_ACEOF 
     3078if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3079  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3080  ac_status=$? 
     3081  grep -v '^ *+' conftest.er1 >conftest.err 
     3082  rm -f conftest.er1 
     3083  cat conftest.err >&5 
     3084  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3085  (exit $ac_status); } >/dev/null; then 
     3086  if test -s conftest.err; then 
     3087    ac_cpp_err=$ac_c_preproc_warn_flag 
     3088    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     3089  else 
     3090    ac_cpp_err= 
     3091  fi 
     3092else 
     3093  ac_cpp_err=yes 
     3094fi 
     3095if test -z "$ac_cpp_err"; then 
    11293096  : 
    11303097else 
    1131   echo "$ac_err" >&5 
    1132   echo "configure: failed program was:" >&5 
    1133   cat conftest.$ac_ext >&5 
    1134   rm -rf conftest* 
    1135   CPP=/lib/cpp 
    1136 fi 
    1137 rm -f conftest* 
    1138 fi 
    1139 rm -f conftest* 
    1140   ac_cv_prog_CPP="$CPP" 
    1141 fi 
    1142   CPP="$ac_cv_prog_CPP" 
    1143 else 
    1144   ac_cv_prog_CPP="$CPP" 
    1145 fi 
    1146 echo "$ac_t""$CPP" 1>&6 
    1147  
    1148 echo $ac_n "checking for AIX""... $ac_c" 1>&6 
    1149 echo "configure:1150: checking for AIX" >&5 
    1150 cat > conftest.$ac_ext <<EOF 
    1151 #line 1152 "configure" 
    1152 #include "confdefs.h" 
     3098  echo "$as_me: failed program was:" >&5 
     3099sed 's/^/| /' conftest.$ac_ext >&5 
     3100 
     3101  # Broken: fails on valid input. 
     3102continue 
     3103fi 
     3104rm -f conftest.err conftest.$ac_ext 
     3105 
     3106  # OK, works on sane cases.  Now check whether non-existent headers 
     3107  # can be detected and how. 
     3108  cat >conftest.$ac_ext <<_ACEOF 
     3109/* confdefs.h.  */ 
     3110_ACEOF 
     3111cat confdefs.h >>conftest.$ac_ext 
     3112cat >>conftest.$ac_ext <<_ACEOF 
     3113/* end confdefs.h.  */ 
     3114#include <ac_nonexistent.h> 
     3115_ACEOF 
     3116if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3117  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3118  ac_status=$? 
     3119  grep -v '^ *+' conftest.er1 >conftest.err 
     3120  rm -f conftest.er1 
     3121  cat conftest.err >&5 
     3122  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3123  (exit $ac_status); } >/dev/null; then 
     3124  if test -s conftest.err; then 
     3125    ac_cpp_err=$ac_c_preproc_warn_flag 
     3126    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     3127  else 
     3128    ac_cpp_err= 
     3129  fi 
     3130else 
     3131  ac_cpp_err=yes 
     3132fi 
     3133if test -z "$ac_cpp_err"; then 
     3134  # Broken: success on invalid input. 
     3135continue 
     3136else 
     3137  echo "$as_me: failed program was:" >&5 
     3138sed 's/^/| /' conftest.$ac_ext >&5 
     3139 
     3140  # Passes both tests. 
     3141ac_preproc_ok=: 
     3142break 
     3143fi 
     3144rm -f conftest.err conftest.$ac_ext 
     3145 
     3146done 
     3147# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
     3148rm -f conftest.err conftest.$ac_ext 
     3149if $ac_preproc_ok; then 
     3150  : 
     3151else 
     3152  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
     3153See \`config.log' for more details." >&5 
     3154echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
     3155See \`config.log' for more details." >&2;} 
     3156   { (exit 1); exit 1; }; } 
     3157fi 
     3158 
     3159ac_ext=c 
     3160ac_cpp='$CPP $CPPFLAGS' 
     3161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     3162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     3163ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     3164 
     3165 
     3166echo "$as_me:$LINENO: checking for egrep" >&5 
     3167echo $ECHO_N "checking for egrep... $ECHO_C" >&6 
     3168if test "${ac_cv_prog_egrep+set}" = set; then 
     3169  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3170else 
     3171  if echo a | (grep -E '(a|b)') >/dev/null 2>&1 
     3172    then ac_cv_prog_egrep='grep -E' 
     3173    else ac_cv_prog_egrep='egrep' 
     3174    fi 
     3175fi 
     3176echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 
     3177echo "${ECHO_T}$ac_cv_prog_egrep" >&6 
     3178 EGREP=$ac_cv_prog_egrep 
     3179 
     3180 
     3181 
     3182echo "$as_me:$LINENO: checking for AIX" >&5 
     3183echo $ECHO_N "checking for AIX... $ECHO_C" >&6 
     3184cat >conftest.$ac_ext <<_ACEOF 
     3185/* confdefs.h.  */ 
     3186_ACEOF 
     3187cat confdefs.h >>conftest.$ac_ext 
     3188cat >>conftest.$ac_ext <<_ACEOF 
     3189/* end confdefs.h.  */ 
    11533190#ifdef _AIX 
    11543191  yes 
    11553192#endif 
    11563193 
    1157 EOF 
     3194_ACEOF 
    11583195if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1159   egrep "yes" >/dev/null 2>&1; then 
    1160   rm -rf conftest* 
    1161   echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF 
     3196  $EGREP "yes" >/dev/null 2>&1; then 
     3197  echo "$as_me:$LINENO: result: yes" >&5 
     3198echo "${ECHO_T}yes" >&6 
     3199cat >>confdefs.h <<\_ACEOF 
    11623200#define _ALL_SOURCE 1 
    1163 EOF 
    1164  
    1165 else 
    1166   rm -rf conftest* 
    1167   echo "$ac_t""no" 1>&6 
     3201_ACEOF 
     3202 
     3203else 
     3204  echo "$as_me:$LINENO: result: no" >&5 
     3205echo "${ECHO_T}no" >&6 
    11683206fi 
    11693207rm -f conftest* 
    11703208 
    11713209 
    1172 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 
    1173 echo "configure:1174: checking for POSIXized ISC" >&5 
    1174 if test -d /etc/conf/kconfig.d && 
    1175   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 
    1176 then 
    1177   echo "$ac_t""yes" 1>&6 
    1178   ISC=yes # If later tests want to check for ISC. 
    1179   cat >> confdefs.h <<\EOF 
     3210echo "$as_me:$LINENO: checking for library containing strerror" >&5 
     3211echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 
     3212if test "${ac_cv_search_strerror+set}" = set; then 
     3213  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3214else 
     3215  ac_func_search_save_LIBS=$LIBS 
     3216ac_cv_search_strerror=no 
     3217cat >conftest.$ac_ext <<_ACEOF 
     3218/* confdefs.h.  */ 
     3219_ACEOF 
     3220cat confdefs.h >>conftest.$ac_ext 
     3221cat >>conftest.$ac_ext <<_ACEOF 
     3222/* end confdefs.h.  */ 
     3223 
     3224/* Override any gcc2 internal prototype to avoid an error.  */ 
     3225#ifdef __cplusplus 
     3226extern "C" 
     3227#endif 
     3228/* We use char because int might match the return type of a gcc2 
     3229   builtin and then its argument prototype would still apply.  */ 
     3230char strerror (); 
     3231int 
     3232main () 
     3233{ 
     3234strerror (); 
     3235  ; 
     3236  return 0; 
     3237} 
     3238_ACEOF 
     3239rm -f conftest.$ac_objext conftest$ac_exeext 
     3240if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3241  (eval $ac_link) 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_exeext' 
     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_search_strerror="none required" 
     3262else 
     3263  echo "$as_me: failed program was:" >&5 
     3264sed 's/^/| /' conftest.$ac_ext >&5 
     3265 
     3266fi 
     3267rm -f conftest.err conftest.$ac_objext \ 
     3268      conftest$ac_exeext conftest.$ac_ext 
     3269if test "$ac_cv_search_strerror" = no; then 
     3270  for ac_lib in cposix; do 
     3271    LIBS="-l$ac_lib  $ac_func_search_save_LIBS" 
     3272    cat >conftest.$ac_ext <<_ACEOF 
     3273/* confdefs.h.  */ 
     3274_ACEOF 
     3275cat confdefs.h >>conftest.$ac_ext 
     3276cat >>conftest.$ac_ext <<_ACEOF 
     3277/* end confdefs.h.  */ 
     3278 
     3279/* Override any gcc2 internal prototype to avoid an error.  */ 
     3280#ifdef __cplusplus 
     3281extern "C" 
     3282#endif 
     3283/* We use char because int might match the return type of a gcc2 
     3284   builtin and then its argument prototype would still apply.  */ 
     3285char strerror (); 
     3286int 
     3287main () 
     3288{ 
     3289strerror (); 
     3290  ; 
     3291  return 0; 
     3292} 
     3293_ACEOF 
     3294rm -f conftest.$ac_objext conftest$ac_exeext 
     3295if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3296  (eval $ac_link) 2>conftest.er1 
     3297  ac_status=$? 
     3298  grep -v '^ *+' conftest.er1 >conftest.err 
     3299  rm -f conftest.er1 
     3300  cat conftest.err >&5 
     3301  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3302  (exit $ac_status); } && 
     3303     { ac_try='test -z "$ac_c_werror_flag" 
     3304             || test ! -s conftest.err' 
     3305  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3306  (eval $ac_try) 2>&5 
     3307  ac_status=$? 
     3308  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3309  (exit $ac_status); }; } && 
     3310     { ac_try='test -s conftest$ac_exeext' 
     3311  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3312  (eval $ac_try) 2>&5 
     3313  ac_status=$? 
     3314  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3315  (exit $ac_status); }; }; then 
     3316  ac_cv_search_strerror="-l$ac_lib" 
     3317break 
     3318else 
     3319  echo "$as_me: failed program was:" >&5 
     3320sed 's/^/| /' conftest.$ac_ext >&5 
     3321 
     3322fi 
     3323rm -f conftest.err conftest.$ac_objext \ 
     3324      conftest$ac_exeext conftest.$ac_ext 
     3325  done 
     3326fi 
     3327LIBS=$ac_func_search_save_LIBS 
     3328fi 
     3329echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 
     3330echo "${ECHO_T}$ac_cv_search_strerror" >&6 
     3331if test "$ac_cv_search_strerror" != no; then 
     3332  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 
     3333 
     3334fi 
     3335 
     3336echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     3337echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
     3338if test "${ac_cv_header_stdc+set}" = set; then 
     3339  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3340else 
     3341  cat >conftest.$ac_ext <<_ACEOF 
     3342/* confdefs.h.  */ 
     3343_ACEOF 
     3344cat confdefs.h >>conftest.$ac_ext 
     3345cat >>conftest.$ac_ext <<_ACEOF 
     3346/* end confdefs.h.  */ 
     3347#include <stdlib.h> 
     3348#include <stdarg.h> 
     3349#include <string.h> 
     3350#include <float.h> 
     3351 
     3352int 
     3353main () 
     3354{ 
     3355 
     3356  ; 
     3357  return 0; 
     3358} 
     3359_ACEOF 
     3360rm -f conftest.$ac_objext 
     3361if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3362  (eval $ac_compile) 2>conftest.er1 
     3363  ac_status=$? 
     3364  grep -v '^ *+' conftest.er1 >conftest.err 
     3365  rm -f conftest.er1 
     3366  cat conftest.err >&5 
     3367  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3368  (exit $ac_status); } && 
     3369     { ac_try='test -z "$ac_c_werror_flag" 
     3370             || test ! -s conftest.err' 
     3371  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3372  (eval $ac_try) 2>&5 
     3373  ac_status=$? 
     3374  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3375  (exit $ac_status); }; } && 
     3376     { ac_try='test -s conftest.$ac_objext' 
     3377  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3378  (eval $ac_try) 2>&5 
     3379  ac_status=$? 
     3380  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3381  (exit $ac_status); }; }; then 
     3382  ac_cv_header_stdc=yes 
     3383else 
     3384  echo "$as_me: failed program was:" >&5 
     3385sed 's/^/| /' conftest.$ac_ext >&5 
     3386 
     3387ac_cv_header_stdc=no 
     3388fi 
     3389rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     3390 
     3391if test $ac_cv_header_stdc = yes; then 
     3392  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
     3393  cat >conftest.$ac_ext <<_ACEOF 
     3394/* confdefs.h.  */ 
     3395_ACEOF 
     3396cat confdefs.h >>conftest.$ac_ext 
     3397cat >>conftest.$ac_ext <<_ACEOF 
     3398/* end confdefs.h.  */ 
     3399#include <string.h> 
     3400 
     3401_ACEOF 
     3402if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
     3403  $EGREP "memchr" >/dev/null 2>&1; then 
     3404  : 
     3405else 
     3406  ac_cv_header_stdc=no 
     3407fi 
     3408rm -f conftest* 
     3409 
     3410fi 
     3411 
     3412if test $ac_cv_header_stdc = yes; then 
     3413  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
     3414  cat >conftest.$ac_ext <<_ACEOF 
     3415/* confdefs.h.  */ 
     3416_ACEOF 
     3417cat confdefs.h >>conftest.$ac_ext 
     3418cat >>conftest.$ac_ext <<_ACEOF 
     3419/* end confdefs.h.  */ 
     3420#include <stdlib.h> 
     3421 
     3422_ACEOF 
     3423if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
     3424  $EGREP "free" >/dev/null 2>&1; then 
     3425  : 
     3426else 
     3427  ac_cv_header_stdc=no 
     3428fi 
     3429rm -f conftest* 
     3430 
     3431fi 
     3432 
     3433if test $ac_cv_header_stdc = yes; then 
     3434  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
     3435  if test "$cross_compiling" = yes; then 
     3436  : 
     3437else 
     3438  cat >conftest.$ac_ext <<_ACEOF 
     3439/* confdefs.h.  */ 
     3440_ACEOF 
     3441cat confdefs.h >>conftest.$ac_ext 
     3442cat >>conftest.$ac_ext <<_ACEOF 
     3443/* end confdefs.h.  */ 
     3444#include <ctype.h> 
     3445#if ((' ' & 0x0FF) == 0x020) 
     3446# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
     3447# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
     3448#else 
     3449# define ISLOWER(c) \ 
     3450           (('a' <= (c) && (c) <= 'i') \ 
     3451             || ('j' <= (c) && (c) <= 'r') \ 
     3452             || ('s' <= (c) && (c) <= 'z')) 
     3453# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
     3454#endif 
     3455 
     3456#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
     3457int 
     3458main () 
     3459{ 
     3460  int i; 
     3461  for (i = 0; i < 256; i++) 
     3462    if (XOR (islower (i), ISLOWER (i)) 
     3463    || toupper (i) != TOUPPER (i)) 
     3464      exit(2); 
     3465  exit (0); 
     3466} 
     3467_ACEOF 
     3468rm -f conftest$ac_exeext 
     3469if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     3470  (eval $ac_link) 2>&5 
     3471  ac_status=$? 
     3472  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3473  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     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  : 
     3480else 
     3481  echo "$as_me: program exited with status $ac_status" >&5 
     3482echo "$as_me: failed program was:" >&5 
     3483sed 's/^/| /' conftest.$ac_ext >&5 
     3484 
     3485( exit $ac_status ) 
     3486ac_cv_header_stdc=no 
     3487fi 
     3488rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     3489fi 
     3490fi 
     3491fi 
     3492echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     3493echo "${ECHO_T}$ac_cv_header_stdc" >&6 
     3494if test $ac_cv_header_stdc = yes; then 
     3495 
     3496cat >>confdefs.h <<\_ACEOF 
     3497#define STDC_HEADERS 1 
     3498_ACEOF 
     3499 
     3500fi 
     3501 
     3502# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
     3503 
     3504 
     3505 
     3506 
     3507 
     3508 
     3509 
     3510 
     3511 
     3512for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
     3513          inttypes.h stdint.h unistd.h 
     3514do 
     3515as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     3516echo "$as_me:$LINENO: checking for $ac_header" >&5 
     3517echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     3518if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     3519  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3520else 
     3521  cat >conftest.$ac_ext <<_ACEOF 
     3522/* confdefs.h.  */ 
     3523_ACEOF 
     3524cat confdefs.h >>conftest.$ac_ext 
     3525cat >>conftest.$ac_ext <<_ACEOF 
     3526/* end confdefs.h.  */ 
     3527$ac_includes_default 
     3528 
     3529#include <$ac_header> 
     3530_ACEOF 
     3531rm -f conftest.$ac_objext 
     3532if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3533  (eval $ac_compile) 2>conftest.er1 
     3534  ac_status=$? 
     3535  grep -v '^ *+' conftest.er1 >conftest.err 
     3536  rm -f conftest.er1 
     3537  cat conftest.err >&5 
     3538  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3539  (exit $ac_status); } && 
     3540     { ac_try='test -z "$ac_c_werror_flag" 
     3541             || test ! -s conftest.err' 
     3542  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3543  (eval $ac_try) 2>&5 
     3544  ac_status=$? 
     3545  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3546  (exit $ac_status); }; } && 
     3547     { ac_try='test -s conftest.$ac_objext' 
     3548  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3549  (eval $ac_try) 2>&5 
     3550  ac_status=$? 
     3551  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3552  (exit $ac_status); }; }; then 
     3553  eval "$as_ac_Header=yes" 
     3554else 
     3555  echo "$as_me: failed program was:" >&5 
     3556sed 's/^/| /' conftest.$ac_ext >&5 
     3557 
     3558eval "$as_ac_Header=no" 
     3559fi 
     3560rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     3561fi 
     3562echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     3563echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     3564if test `eval echo '${'$as_ac_Header'}'` = yes; then 
     3565  cat >>confdefs.h <<_ACEOF 
     3566#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     3567_ACEOF 
     3568 
     3569fi 
     3570 
     3571done 
     3572 
     3573 
     3574if test "${ac_cv_header_minix_config_h+set}" = set; then 
     3575  echo "$as_me:$LINENO: checking for minix/config.h" >&5 
     3576echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 
     3577if test "${ac_cv_header_minix_config_h+set}" = set; then 
     3578  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3579fi 
     3580echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 
     3581echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 
     3582else 
     3583  # Is the header compilable? 
     3584echo "$as_me:$LINENO: checking minix/config.h usability" >&5 
     3585echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 
     3586cat >conftest.$ac_ext <<_ACEOF 
     3587/* confdefs.h.  */ 
     3588_ACEOF 
     3589cat confdefs.h >>conftest.$ac_ext 
     3590cat >>conftest.$ac_ext <<_ACEOF 
     3591/* end confdefs.h.  */ 
     3592$ac_includes_default 
     3593#include <minix/config.h> 
     3594_ACEOF 
     3595rm -f conftest.$ac_objext 
     3596if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3597  (eval $ac_compile) 2>conftest.er1 
     3598  ac_status=$? 
     3599  grep -v '^ *+' conftest.er1 >conftest.err 
     3600  rm -f conftest.er1 
     3601  cat conftest.err >&5 
     3602  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3603  (exit $ac_status); } && 
     3604     { ac_try='test -z "$ac_c_werror_flag" 
     3605             || test ! -s conftest.err' 
     3606  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3607  (eval $ac_try) 2>&5 
     3608  ac_status=$? 
     3609  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3610  (exit $ac_status); }; } && 
     3611     { ac_try='test -s conftest.$ac_objext' 
     3612  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3613  (eval $ac_try) 2>&5 
     3614  ac_status=$? 
     3615  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3616  (exit $ac_status); }; }; then 
     3617  ac_header_compiler=yes 
     3618else 
     3619  echo "$as_me: failed program was:" >&5 
     3620sed 's/^/| /' conftest.$ac_ext >&5 
     3621 
     3622ac_header_compiler=no 
     3623fi 
     3624rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     3625echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     3626echo "${ECHO_T}$ac_header_compiler" >&6 
     3627 
     3628# Is the header present? 
     3629echo "$as_me:$LINENO: checking minix/config.h presence" >&5 
     3630echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 
     3631cat >conftest.$ac_ext <<_ACEOF 
     3632/* confdefs.h.  */ 
     3633_ACEOF 
     3634cat confdefs.h >>conftest.$ac_ext 
     3635cat >>conftest.$ac_ext <<_ACEOF 
     3636/* end confdefs.h.  */ 
     3637#include <minix/config.h> 
     3638_ACEOF 
     3639if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3640  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3641  ac_status=$? 
     3642  grep -v '^ *+' conftest.er1 >conftest.err 
     3643  rm -f conftest.er1 
     3644  cat conftest.err >&5 
     3645  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3646  (exit $ac_status); } >/dev/null; then 
     3647  if test -s conftest.err; then 
     3648    ac_cpp_err=$ac_c_preproc_warn_flag 
     3649    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     3650  else 
     3651    ac_cpp_err= 
     3652  fi 
     3653else 
     3654  ac_cpp_err=yes 
     3655fi 
     3656if test -z "$ac_cpp_err"; then 
     3657  ac_header_preproc=yes 
     3658else 
     3659  echo "$as_me: failed program was:" >&5 
     3660sed 's/^/| /' conftest.$ac_ext >&5 
     3661 
     3662  ac_header_preproc=no 
     3663fi 
     3664rm -f conftest.err conftest.$ac_ext 
     3665echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     3666echo "${ECHO_T}$ac_header_preproc" >&6 
     3667 
     3668# So?  What about this header? 
     3669case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     3670  yes:no: ) 
     3671    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 
     3672echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     3673    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 
     3674echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 
     3675    ac_header_preproc=yes 
     3676    ;; 
     3677  no:yes:* ) 
     3678    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 
     3679echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 
     3680    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5 
     3681echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;} 
     3682    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 
     3683echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 
     3684    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5 
     3685echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;} 
     3686    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 
     3687echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 
     3688    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 
     3689echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 
     3690    ( 
     3691      cat <<\_ASBOX 
     3692## ------------------------------------------ ## 
     3693## Report this to the AC_PACKAGE_NAME lists.  ## 
     3694## ------------------------------------------ ## 
     3695_ASBOX 
     3696    ) | 
     3697      sed "s/^/$as_me: WARNING:     /" >&2 
     3698    ;; 
     3699esac 
     3700echo "$as_me:$LINENO: checking for minix/config.h" >&5 
     3701echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 
     3702if test "${ac_cv_header_minix_config_h+set}" = set; then 
     3703  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3704else 
     3705  ac_cv_header_minix_config_h=$ac_header_preproc 
     3706fi 
     3707echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 
     3708echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 
     3709 
     3710fi 
     3711if test $ac_cv_header_minix_config_h = yes; then 
     3712  MINIX=yes 
     3713else 
     3714  MINIX= 
     3715fi 
     3716 
     3717 
     3718if test "$MINIX" = yes; then 
     3719 
     3720cat >>confdefs.h <<\_ACEOF 
    11803721#define _POSIX_SOURCE 1 
    1181 EOF 
    1182  
    1183   if test "$GCC" = yes; then 
    1184     CC="$CC -posix" 
    1185   else 
    1186     CC="$CC -Xp" 
    1187   fi 
    1188 else 
    1189   echo "$ac_t""no" 1>&6 
    1190   ISC= 
    1191 fi 
    1192  
    1193 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` 
    1194 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 
    1195 echo "configure:1196: checking for minix/config.h" >&5 
    1196 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    1197   echo $ac_n "(cached) $ac_c" 1>&6 
    1198 else 
    1199   cat > conftest.$ac_ext <<EOF 
    1200 #line 1201 "configure" 
    1201 #include "confdefs.h" 
    1202 #include <minix/config.h> 
    1203 EOF 
    1204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1205 { (eval echo configure:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1206 ac_err=`grep -v '^ *+' conftest.out` 
    1207 if test -z "$ac_err"; then 
    1208   rm -rf conftest* 
    1209   eval "ac_cv_header_$ac_safe=yes" 
    1210 else 
    1211   echo "$ac_err" >&5 
    1212   echo "configure: failed program was:" >&5 
    1213   cat conftest.$ac_ext >&5 
    1214   rm -rf conftest* 
    1215   eval "ac_cv_header_$ac_safe=no" 
    1216 fi 
    1217 rm -f conftest* 
    1218 fi 
    1219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
    1220   echo "$ac_t""yes" 1>&6 
    1221   MINIX=yes 
    1222 else 
    1223   echo "$ac_t""no" 1>&6 
    1224 MINIX= 
    1225 fi 
    1226  
    1227 if test "$MINIX" = yes; then 
    1228   cat >> confdefs.h <<\EOF 
    1229 #define _POSIX_SOURCE 1 
    1230 EOF 
    1231  
    1232   cat >> confdefs.h <<\EOF 
     3722_ACEOF 
     3723 
     3724 
     3725cat >>confdefs.h <<\_ACEOF 
    12333726#define _POSIX_1_SOURCE 2 
    1234 EOF 
    1235  
    1236   cat >> confdefs.h <<\EOF 
     3727_ACEOF 
     3728 
     3729 
     3730cat >>confdefs.h <<\_ACEOF 
    12373731#define _MINIX 1 
    1238 EOF 
    1239  
    1240 fi 
    1241  
    1242 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 
    1243 echo "configure:1244: checking for ${CC-cc} option to accept ANSI C" >&5 
    1244 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 
    1245   echo $ac_n "(cached) $ac_c" 1>&6 
     3732_ACEOF 
     3733 
     3734fi 
     3735 
     3736echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 
     3737echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 
     3738if test "${ac_cv_prog_cc_stdc+set}" = set; then 
     3739  echo $ECHO_N "(cached) $ECHO_C" >&6 
    12463740else 
    12473741  ac_cv_prog_cc_stdc=no 
     
    12563750do 
    12573751  CFLAGS="$ac_save_CFLAGS $ac_arg" 
    1258   cat > conftest.$ac_ext <<EOF 
    1259 #line 1260 "configure" 
    1260 #include "confdefs.h" 
     3752  cat >conftest.$ac_ext <<_ACEOF 
     3753/* confdefs.h.  */ 
     3754_ACEOF 
     3755cat confdefs.h >>conftest.$ac_ext 
     3756cat >>conftest.$ac_ext <<_ACEOF 
     3757/* end confdefs.h.  */ 
    12613758#if !defined(__STDC__) || __STDC__ != 1 
    12623759choke me 
    1263 #endif   
    1264  
    1265 int main() { 
     3760#endif 
     3761 
     3762int 
     3763main () 
     3764{ 
    12663765int test (int i, double x); 
    12673766struct s1 {int (*f) (int a);}; 
    12683767struct s2 {int (*f) (double a);}; 
    1269 ; return 0; } 
    1270 EOF 
    1271 if { (eval echo configure:1272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    1272   rm -rf conftest* 
     3768  ; 
     3769  return 0; 
     3770} 
     3771_ACEOF 
     3772rm -f conftest.$ac_objext 
     3773if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3774  (eval $ac_compile) 2>conftest.er1 
     3775  ac_status=$? 
     3776  grep -v '^ *+' conftest.er1 >conftest.err 
     3777  rm -f conftest.er1 
     3778  cat conftest.err >&5 
     3779  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3780  (exit $ac_status); } && 
     3781     { ac_try='test -z "$ac_c_werror_flag" 
     3782             || test ! -s conftest.err' 
     3783  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3784  (eval $ac_try) 2>&5 
     3785  ac_status=$? 
     3786  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3787  (exit $ac_status); }; } && 
     3788     { ac_try='test -s conftest.$ac_objext' 
     3789  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3790  (eval $ac_try) 2>&5 
     3791  ac_status=$? 
     3792  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3793  (exit $ac_status); }; }; then 
    12733794  ac_cv_prog_cc_stdc="$ac_arg"; break 
    12743795else 
    1275   echo "configure: failed program was:" >&5 
    1276   cat conftest.$ac_ext >&5 
    1277 fi 
    1278 rm -f conftest* 
     3796  echo "$as_me: failed program was:" >&5 
     3797sed 's/^/| /' conftest.$ac_ext >&5 
     3798 
     3799fi 
     3800rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    12793801done 
    12803802CFLAGS="$ac_save_CFLAGS" 
     
    12823804fi 
    12833805 
    1284 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 
     3806echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 
     3807echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 
    12853808case "x$ac_cv_prog_cc_stdc" in 
    12863809  x|xno) ;; 
     
    12893812 
    12903813 
    1291 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 
    1292 echo "configure:1293: checking for function prototypes" >&5 
     3814echo "$as_me:$LINENO: checking for function prototypes" >&5 
     3815echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 
    12933816if test "$ac_cv_prog_cc_stdc" != no; then 
    1294   echo "$ac_t""yes" 1>&6 
    1295   cat >> confdefs.h <<\EOF 
     3817  echo "$as_me:$LINENO: result: yes" >&5 
     3818echo "${ECHO_T}yes" >&6 
     3819  cat >>confdefs.h <<\_ACEOF 
    12963820#define PROTOTYPES 1 
    1297 EOF 
     3821_ACEOF 
    12983822 
    12993823  U= ANSI2KNR= 
    13003824else 
    1301   echo "$ac_t""no" 1>&6 
     3825  echo "$as_me:$LINENO: result: no" >&5 
     3826echo "${ECHO_T}no" >&6 
    13023827  U=_ ANSI2KNR=ansi2knr 
    13033828fi 
    13043829 
    1305 echo $ac_n "checking for working const""... $ac_c" 1>&6 
    1306 echo "configure:1307: checking for working const" >&5 
    1307 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 
    1308   echo $ac_n "(cached) $ac_c" 1>&6 
    1309 else 
    1310   cat > conftest.$ac_ext <<EOF 
    1311 #line 1312 "configure" 
    1312 #include "confdefs.h" 
    1313  
    1314 int main() { 
    1315  
    1316 /* Ultrix mips cc rejects this.  */ 
    1317 typedef int charset[2]; const charset x; 
    1318 /* SunOS 4.1.1 cc rejects this.  */ 
    1319 char const *const *ccp; 
    1320 char **p; 
    1321 /* NEC SVR4.0.2 mips cc rejects this.  */ 
    1322 struct point {int x, y;}; 
    1323 static struct point const zero = {0,0}; 
    1324 /* AIX XL C 1.02.0.0 rejects this. 
    1325    It does not let you subtract one const X* pointer from another in an arm 
    1326    of an if-expression whose if-part is not a constant expression */ 
    1327 const char *g = "string"; 
    1328 ccp = &g + (g ? g-g : 0); 
    1329 /* HPUX 7.0 cc rejects these. */ 
    1330 ++ccp; 
    1331 p = (char**) ccp; 
    1332 ccp = (char const *const *) p; 
    1333 { /* SCO 3.2v4 cc rejects this.  */ 
    1334   char *t; 
    1335   char const *s = 0 ? (char *) 0 : (char const *) 0; 
    1336  
    1337   *t++ = 0; 
     3830echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 
     3831echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 
     3832if test "${ac_cv_c_const+set}" = set; then 
     3833  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3834else 
     3835  cat >conftest.$ac_ext <<_ACEOF 
     3836/* confdefs.h.  */ 
     3837_ACEOF 
     3838cat confdefs.h >>conftest.$ac_ext 
     3839cat >>conftest.$ac_ext <<_ACEOF 
     3840/* end confdefs.h.  */ 
     3841 
     3842int 
     3843main () 
     3844{ 
     3845/* FIXME: Include the comments suggested by Paul. */ 
     3846#ifndef __cplusplus 
     3847  /* Ultrix mips cc rejects this.  */ 
     3848  typedef int charset[2]; 
     3849  const charset x; 
     3850  /* SunOS 4.1.1 cc rejects this.  */ 
     3851  char const *const *ccp; 
     3852  char **p; 
     3853  /* NEC SVR4.0.2 mips cc rejects this.  */ 
     3854  struct point {int x, y;}; 
     3855  static struct point const zero = {0,0}; 
     3856  /* AIX XL C 1.02.0.0 rejects this. 
     3857     It does not let you subtract one const X* pointer from another in 
     3858     an arm of an if-expression whose if-part is not a constant 
     3859     expression */ 
     3860  const char *g = "string"; 
     3861  ccp = &g + (g ? g-g : 0); 
     3862  /* HPUX 7.0 cc rejects these. */ 
     3863  ++ccp; 
     3864  p = (char**) ccp; 
     3865  ccp = (char const *const *) p; 
     3866  { /* SCO 3.2v4 cc rejects this.  */ 
     3867    char *t; 
     3868    char const *s = 0 ? (char *) 0 : (char const *) 0; 
     3869 
     3870    *t++ = 0; 
     3871  } 
     3872  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ 
     3873    int x[] = {25, 17}; 
     3874    const int *foo = &x[0]; 
     3875    ++foo; 
     3876  } 
     3877  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 
     3878    typedef const int *iptr; 
     3879    iptr p = 0; 
     3880    ++p; 
     3881  } 
     3882  { /* AIX XL C 1.02.0.0 rejects this saying 
     3883       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 
     3884    struct s { int j; const int *ap[3]; }; 
     3885    struct s *b; b->j = 5; 
     3886  } 
     3887  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 
     3888    const int foo = 10; 
     3889  } 
     3890#endif 
     3891 
     3892  ; 
     3893  return 0; 
    13383894} 
    1339 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ 
    1340   int x[] = {25, 17}; 
    1341   const int *foo = &x[0]; 
    1342   ++foo; 
     3895_ACEOF 
     3896rm -f conftest.$ac_objext 
     3897if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3898  (eval $ac_compile) 2>conftest.er1 
     3899  ac_status=$? 
     3900  grep -v '^ *+' conftest.er1 >conftest.err 
     3901  rm -f conftest.er1 
     3902  cat conftest.err >&5 
     3903  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3904  (exit $ac_status); } && 
     3905     { ac_try='test -z "$ac_c_werror_flag" 
     3906             || test ! -s conftest.err' 
     3907  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3908  (eval $ac_try) 2>&5 
     3909  ac_status=$? 
     3910  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3911  (exit $ac_status); }; } && 
     3912     { ac_try='test -s conftest.$ac_objext' 
     3913  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3914  (eval $ac_try) 2>&5 
     3915  ac_status=$? 
     3916  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3917  (exit $ac_status); }; }; then 
     3918  ac_cv_c_const=yes 
     3919else 
     3920  echo "$as_me: failed program was:" >&5 
     3921sed 's/^/| /' conftest.$ac_ext >&5 
     3922 
     3923ac_cv_c_const=no 
     3924fi 
     3925rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     3926fi 
     3927echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 
     3928echo "${ECHO_T}$ac_cv_c_const" >&6 
     3929if test $ac_cv_c_const = no; then 
     3930 
     3931cat >>confdefs.h <<\_ACEOF 
     3932#define const 
     3933_ACEOF 
     3934 
     3935fi 
     3936 
     3937echo "$as_me:$LINENO: checking for off_t" >&5 
     3938echo $ECHO_N "checking for off_t... $ECHO_C" >&6 
     3939if test "${ac_cv_type_off_t+set}" = set; then 
     3940  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3941else 
     3942  cat >conftest.$ac_ext <<_ACEOF 
     3943/* confdefs.h.  */ 
     3944_ACEOF 
     3945cat confdefs.h >>conftest.$ac_ext 
     3946cat >>conftest.$ac_ext <<_ACEOF 
     3947/* end confdefs.h.  */ 
     3948$ac_includes_default 
     3949int 
     3950main () 
     3951{ 
     3952if ((off_t *) 0) 
     3953  return 0; 
     3954if (sizeof (off_t)) 
     3955  return 0; 
     3956  ; 
     3957  return 0; 
    13433958} 
    1344 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 
    1345   typedef const int *iptr; 
    1346   iptr p = 0; 
    1347   ++p; 
     3959_ACEOF 
     3960rm -f conftest.$ac_objext 
     3961if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     3962  (eval $ac_compile) 2>conftest.er1 
     3963  ac_status=$? 
     3964  grep -v '^ *+' conftest.er1 >conftest.err 
     3965  rm -f conftest.er1 
     3966  cat conftest.err >&5 
     3967  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3968  (exit $ac_status); } && 
     3969     { ac_try='test -z "$ac_c_werror_flag" 
     3970             || test ! -s conftest.err' 
     3971  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3972  (eval $ac_try) 2>&5 
     3973  ac_status=$? 
     3974  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3975  (exit $ac_status); }; } && 
     3976     { ac_try='test -s conftest.$ac_objext' 
     3977  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3978  (eval $ac_try) 2>&5 
     3979  ac_status=$? 
     3980  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3981  (exit $ac_status); }; }; then 
     3982  ac_cv_type_off_t=yes 
     3983else 
     3984  echo "$as_me: failed program was:" >&5 
     3985sed 's/^/| /' conftest.$ac_ext >&5 
     3986 
     3987ac_cv_type_off_t=no 
     3988fi 
     3989rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     3990fi 
     3991echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 
     3992echo "${ECHO_T}$ac_cv_type_off_t" >&6 
     3993if test $ac_cv_type_off_t = yes; then 
     3994  : 
     3995else 
     3996 
     3997cat >>confdefs.h <<_ACEOF 
     3998#define off_t long 
     3999_ACEOF 
     4000 
     4001fi 
     4002 
     4003echo "$as_me:$LINENO: checking for size_t" >&5 
     4004echo $ECHO_N "checking for size_t... $ECHO_C" >&6 
     4005if test "${ac_cv_type_size_t+set}" = set; then 
     4006  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4007else 
     4008  cat >conftest.$ac_ext <<_ACEOF 
     4009/* confdefs.h.  */ 
     4010_ACEOF 
     4011cat confdefs.h >>conftest.$ac_ext 
     4012cat >>conftest.$ac_ext <<_ACEOF 
     4013/* end confdefs.h.  */ 
     4014$ac_includes_default 
     4015int 
     4016main () 
     4017{ 
     4018if ((size_t *) 0) 
     4019  return 0; 
     4020if (sizeof (size_t)) 
     4021  return 0; 
     4022  ; 
     4023  return 0; 
    13484024} 
    1349 { /* AIX XL C 1.02.0.0 rejects this saying 
    1350      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 
    1351   struct s { int j; const int *ap[3]; }; 
    1352   struct s *b; b->j = 5; 
     4025_ACEOF 
     4026rm -f conftest.$ac_objext 
     4027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4028  (eval $ac_compile) 2>conftest.er1 
     4029  ac_status=$? 
     4030  grep -v '^ *+' conftest.er1 >conftest.err 
     4031  rm -f conftest.er1 
     4032  cat conftest.err >&5 
     4033  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4034  (exit $ac_status); } && 
     4035     { ac_try='test -z "$ac_c_werror_flag" 
     4036             || test ! -s conftest.err' 
     4037  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4038  (eval $ac_try) 2>&5 
     4039  ac_status=$? 
     4040  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4041  (exit $ac_status); }; } && 
     4042     { ac_try='test -s conftest.$ac_objext' 
     4043  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4044  (eval $ac_try) 2>&5 
     4045  ac_status=$? 
     4046  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4047  (exit $ac_status); }; }; then 
     4048  ac_cv_type_size_t=yes 
     4049else 
     4050  echo "$as_me: failed program was:" >&5 
     4051sed 's/^/| /' conftest.$ac_ext >&5 
     4052 
     4053ac_cv_type_size_t=no 
     4054fi 
     4055rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4056fi 
     4057echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 
     4058echo "${ECHO_T}$ac_cv_type_size_t" >&6 
     4059if test $ac_cv_type_size_t = yes; then 
     4060  : 
     4061else 
     4062 
     4063cat >>confdefs.h <<_ACEOF 
     4064#define size_t unsigned 
     4065_ACEOF 
     4066 
     4067fi 
     4068 
     4069echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 
     4070echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 
     4071if test "${ac_cv_header_time+set}" = set; then 
     4072  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4073else 
     4074  cat >conftest.$ac_ext <<_ACEOF 
     4075/* confdefs.h.  */ 
     4076_ACEOF 
     4077cat confdefs.h >>conftest.$ac_ext 
     4078cat >>conftest.$ac_ext <<_ACEOF 
     4079/* end confdefs.h.  */ 
     4080#include <sys/types.h> 
     4081#include <sys/time.h> 
     4082#include <time.h> 
     4083 
     4084int 
     4085main () 
     4086{ 
     4087if ((struct tm *) 0) 
     4088return 0; 
     4089  ; 
     4090  return 0; 
    13534091} 
    1354 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 
    1355   const int foo = 10; 
     4092_ACEOF 
     4093rm -f conftest.$ac_objext 
     4094if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4095  (eval $ac_compile) 2>conftest.er1 
     4096  ac_status=$? 
     4097  grep -v '^ *+' conftest.er1 >conftest.err 
     4098  rm -f conftest.er1 
     4099  cat conftest.err >&5 
     4100  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4101  (exit $ac_status); } && 
     4102     { ac_try='test -z "$ac_c_werror_flag" 
     4103             || test ! -s conftest.err' 
     4104  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4105  (eval $ac_try) 2>&5 
     4106  ac_status=$? 
     4107  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4108  (exit $ac_status); }; } && 
     4109     { ac_try='test -s conftest.$ac_objext' 
     4110  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4111  (eval $ac_try) 2>&5 
     4112  ac_status=$? 
     4113  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4114  (exit $ac_status); }; }; then 
     4115  ac_cv_header_time=yes 
     4116else 
     4117  echo "$as_me: failed program was:" >&5 
     4118sed 's/^/| /' conftest.$ac_ext >&5 
     4119 
     4120ac_cv_header_time=no 
     4121fi 
     4122rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4123fi 
     4124echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 
     4125echo "${ECHO_T}$ac_cv_header_time" >&6 
     4126if test $ac_cv_header_time = yes; then 
     4127 
     4128cat >>confdefs.h <<\_ACEOF 
     4129#define TIME_WITH_SYS_TIME 1 
     4130_ACEOF 
     4131 
     4132fi 
     4133 
     4134echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 
     4135echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 
     4136if test "${ac_cv_struct_tm+set}" = set; then 
     4137  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4138else 
     4139  cat >conftest.$ac_ext <<_ACEOF 
     4140/* confdefs.h.  */ 
     4141_ACEOF 
     4142cat confdefs.h >>conftest.$ac_ext 
     4143cat >>conftest.$ac_ext <<_ACEOF 
     4144/* end confdefs.h.  */ 
     4145#include <sys/types.h> 
     4146#include <time.h> 
     4147 
     4148int 
     4149main () 
     4150{ 
     4151struct tm *tp; tp->tm_sec; 
     4152  ; 
     4153  return 0; 
    13564154} 
    1357  
    1358 ; return 0; } 
    1359 EOF 
    1360 if { (eval echo configure:1361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    1361   rm -rf conftest* 
    1362   ac_cv_c_const=yes 
    1363 else 
    1364   echo "configure: failed program was:" >&5 
    1365   cat conftest.$ac_ext >&5 
    1366   rm -rf conftest* 
    1367   ac_cv_c_const=no 
    1368 fi 
    1369 rm -f conftest* 
    1370 fi 
    1371  
    1372 echo "$ac_t""$ac_cv_c_const" 1>&6 
    1373 if test $ac_cv_c_const = no; then 
    1374   cat >> confdefs.h <<\EOF 
    1375 #define const  
    1376 EOF 
    1377  
    1378 fi 
    1379  
    1380 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 
    1381 echo "configure:1382: checking for ANSI C header files" >&5 
    1382 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 
    1383   echo $ac_n "(cached) $ac_c" 1>&6 
    1384 else 
    1385   cat > conftest.$ac_ext <<EOF 
    1386 #line 1387 "configure" 
    1387 #include "confdefs.h" 
     4155_ACEOF 
     4156rm -f conftest.$ac_objext 
     4157if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4158  (eval $ac_compile) 2>conftest.er1 
     4159  ac_status=$? 
     4160  grep -v '^ *+' conftest.er1 >conftest.err 
     4161  rm -f conftest.er1 
     4162  cat conftest.err >&5 
     4163  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4164  (exit $ac_status); } && 
     4165     { ac_try='test -z "$ac_c_werror_flag" 
     4166             || test ! -s conftest.err' 
     4167  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4168  (eval $ac_try) 2>&5 
     4169  ac_status=$? 
     4170  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4171  (exit $ac_status); }; } && 
     4172     { ac_try='test -s conftest.$ac_objext' 
     4173  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4174  (eval $ac_try) 2>&5 
     4175  ac_status=$? 
     4176  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4177  (exit $ac_status); }; }; then 
     4178  ac_cv_struct_tm=time.h 
     4179else 
     4180  echo "$as_me: failed program was:" >&5 
     4181sed 's/^/| /' conftest.$ac_ext >&5 
     4182 
     4183ac_cv_struct_tm=sys/time.h 
     4184fi 
     4185rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4186fi 
     4187echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 
     4188echo "${ECHO_T}$ac_cv_struct_tm" >&6 
     4189if test $ac_cv_struct_tm = sys/time.h; then 
     4190 
     4191cat >>confdefs.h <<\_ACEOF 
     4192#define TM_IN_SYS_TIME 1 
     4193_ACEOF 
     4194 
     4195fi 
     4196 
     4197 
     4198if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 
     4199cat >conftest.$ac_ext <<_ACEOF 
     4200/* confdefs.h.  */ 
     4201_ACEOF 
     4202cat confdefs.h >>conftest.$ac_ext 
     4203cat >>conftest.$ac_ext <<_ACEOF 
     4204/* end confdefs.h.  */ 
     4205#include <stdio.h> 
     4206 
     4207int 
     4208main () 
     4209{ 
     4210 FILE *rubbish = popen("yes", "r"); 
     4211  ; 
     4212  return 0; 
     4213} 
     4214_ACEOF 
     4215rm -f conftest.$ac_objext 
     4216if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4217  (eval $ac_compile) 2>conftest.er1 
     4218  ac_status=$? 
     4219  grep -v '^ *+' conftest.er1 >conftest.err 
     4220  rm -f conftest.er1 
     4221  cat conftest.err >&5 
     4222  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4223  (exit $ac_status); } && 
     4224     { ac_try='test -z "$ac_c_werror_flag" 
     4225             || test ! -s conftest.err' 
     4226  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4227  (eval $ac_try) 2>&5 
     4228  ac_status=$? 
     4229  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4230  (exit $ac_status); }; } && 
     4231     { ac_try='test -s conftest.$ac_objext' 
     4232  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4233  (eval $ac_try) 2>&5 
     4234  ac_status=$? 
     4235  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4236  (exit $ac_status); }; }; then 
     4237  : 
     4238else 
     4239  echo "$as_me: failed program was:" >&5 
     4240sed 's/^/| /' conftest.$ac_ext >&5 
     4241 
     4242CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa' 
     4243fi 
     4244rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4245fi 
     4246 
     4247 
     4248 
     4249echo "$as_me:$LINENO: checking for main in -lm" >&5 
     4250echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 
     4251if test "${ac_cv_lib_m_main+set}" = set; then 
     4252  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4253else 
     4254  ac_check_lib_save_LIBS=$LIBS 
     4255LIBS="-lm  $LIBS" 
     4256cat >conftest.$ac_ext <<_ACEOF 
     4257/* confdefs.h.  */ 
     4258_ACEOF 
     4259cat confdefs.h >>conftest.$ac_ext 
     4260cat >>conftest.$ac_ext <<_ACEOF 
     4261/* end confdefs.h.  */ 
     4262 
     4263 
     4264int 
     4265main () 
     4266{ 
     4267main (); 
     4268  ; 
     4269  return 0; 
     4270} 
     4271_ACEOF 
     4272rm -f conftest.$ac_objext conftest$ac_exeext 
     4273if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     4274  (eval $ac_link) 2>conftest.er1 
     4275  ac_status=$? 
     4276  grep -v '^ *+' conftest.er1 >conftest.err 
     4277  rm -f conftest.er1 
     4278  cat conftest.err >&5 
     4279  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4280  (exit $ac_status); } && 
     4281     { ac_try='test -z "$ac_c_werror_flag" 
     4282             || test ! -s conftest.err' 
     4283  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4284  (eval $ac_try) 2>&5 
     4285  ac_status=$? 
     4286  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4287  (exit $ac_status); }; } && 
     4288     { ac_try='test -s conftest$ac_exeext' 
     4289  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4290  (eval $ac_try) 2>&5 
     4291  ac_status=$? 
     4292  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4293  (exit $ac_status); }; }; then 
     4294  ac_cv_lib_m_main=yes 
     4295else 
     4296  echo "$as_me: failed program was:" >&5 
     4297sed 's/^/| /' conftest.$ac_ext >&5 
     4298 
     4299ac_cv_lib_m_main=no 
     4300fi 
     4301rm -f conftest.err conftest.$ac_objext \ 
     4302      conftest$ac_exeext conftest.$ac_ext 
     4303LIBS=$ac_check_lib_save_LIBS 
     4304fi 
     4305echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 
     4306echo "${ECHO_T}$ac_cv_lib_m_main" >&6 
     4307if test $ac_cv_lib_m_main = yes; then 
     4308  cat >>confdefs.h <<_ACEOF 
     4309#define HAVE_LIBM 1 
     4310_ACEOF 
     4311 
     4312  LIBS="-lm $LIBS" 
     4313 
     4314fi 
     4315 
     4316 
     4317 
     4318 
     4319 
     4320 
     4321 
     4322ac_header_dirent=no 
     4323for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 
     4324  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 
     4325echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 
     4326echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 
     4327if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     4328  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4329else 
     4330  cat >conftest.$ac_ext <<_ACEOF 
     4331/* confdefs.h.  */ 
     4332_ACEOF 
     4333cat confdefs.h >>conftest.$ac_ext 
     4334cat >>conftest.$ac_ext <<_ACEOF 
     4335/* end confdefs.h.  */ 
     4336#include <sys/types.h> 
     4337#include <$ac_hdr> 
     4338 
     4339int 
     4340main () 
     4341{ 
     4342if ((DIR *) 0) 
     4343return 0; 
     4344  ; 
     4345  return 0; 
     4346} 
     4347_ACEOF 
     4348rm -f conftest.$ac_objext 
     4349if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4350  (eval $ac_compile) 2>conftest.er1 
     4351  ac_status=$? 
     4352  grep -v '^ *+' conftest.er1 >conftest.err 
     4353  rm -f conftest.er1 
     4354  cat conftest.err >&5 
     4355  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4356  (exit $ac_status); } && 
     4357     { ac_try='test -z "$ac_c_werror_flag" 
     4358             || test ! -s conftest.err' 
     4359  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4360  (eval $ac_try) 2>&5 
     4361  ac_status=$? 
     4362  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4363  (exit $ac_status); }; } && 
     4364     { ac_try='test -s conftest.$ac_objext' 
     4365  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4366  (eval $ac_try) 2>&5 
     4367  ac_status=$? 
     4368  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4369  (exit $ac_status); }; }; then 
     4370  eval "$as_ac_Header=yes" 
     4371else 
     4372  echo "$as_me: failed program was:" >&5 
     4373sed 's/^/| /' conftest.$ac_ext >&5 
     4374 
     4375eval "$as_ac_Header=no" 
     4376fi 
     4377rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4378fi 
     4379echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     4380echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     4381if test `eval echo '${'$as_ac_Header'}'` = yes; then 
     4382  cat >>confdefs.h <<_ACEOF 
     4383#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 
     4384_ACEOF 
     4385 
     4386ac_header_dirent=$ac_hdr; break 
     4387fi 
     4388 
     4389done 
     4390# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 
     4391if test $ac_header_dirent = dirent.h; then 
     4392  echo "$as_me:$LINENO: checking for library containing opendir" >&5 
     4393echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 
     4394if test "${ac_cv_search_opendir+set}" = set; then 
     4395  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4396else 
     4397  ac_func_search_save_LIBS=$LIBS 
     4398ac_cv_search_opendir=no 
     4399cat >conftest.$ac_ext <<_ACEOF 
     4400/* confdefs.h.  */ 
     4401_ACEOF 
     4402cat confdefs.h >>conftest.$ac_ext 
     4403cat >>conftest.$ac_ext <<_ACEOF 
     4404/* end confdefs.h.  */ 
     4405 
     4406/* Override any gcc2 internal prototype to avoid an error.  */ 
     4407#ifdef __cplusplus 
     4408extern "C" 
     4409#endif 
     4410/* We use char because int might match the return type of a gcc2 
     4411   builtin and then its argument prototype would still apply.  */ 
     4412char opendir (); 
     4413int 
     4414main () 
     4415{ 
     4416opendir (); 
     4417  ; 
     4418  return 0; 
     4419} 
     4420_ACEOF 
     4421rm -f conftest.$ac_objext conftest$ac_exeext 
     4422if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     4423  (eval $ac_link) 2>conftest.er1 
     4424  ac_status=$? 
     4425  grep -v '^ *+' conftest.er1 >conftest.err 
     4426  rm -f conftest.er1 
     4427  cat conftest.err >&5 
     4428  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4429  (exit $ac_status); } && 
     4430     { ac_try='test -z "$ac_c_werror_flag" 
     4431             || test ! -s conftest.err' 
     4432  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4433  (eval $ac_try) 2>&5 
     4434  ac_status=$? 
     4435  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4436  (exit $ac_status); }; } && 
     4437     { ac_try='test -s conftest$ac_exeext' 
     4438  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4439  (eval $ac_try) 2>&5 
     4440  ac_status=$? 
     4441  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4442  (exit $ac_status); }; }; then 
     4443  ac_cv_search_opendir="none required" 
     4444else 
     4445  echo "$as_me: failed program was:" >&5 
     4446sed 's/^/| /' conftest.$ac_ext >&5 
     4447 
     4448fi 
     4449rm -f conftest.err conftest.$ac_objext \ 
     4450      conftest$ac_exeext conftest.$ac_ext 
     4451if test "$ac_cv_search_opendir" = no; then 
     4452  for ac_lib in dir; do 
     4453    LIBS="-l$ac_lib  $ac_func_search_save_LIBS" 
     4454    cat >conftest.$ac_ext <<_ACEOF 
     4455/* confdefs.h.  */ 
     4456_ACEOF 
     4457cat confdefs.h >>conftest.$ac_ext 
     4458cat >>conftest.$ac_ext <<_ACEOF 
     4459/* end confdefs.h.  */ 
     4460 
     4461/* Override any gcc2 internal prototype to avoid an error.  */ 
     4462#ifdef __cplusplus 
     4463extern "C" 
     4464#endif 
     4465/* We use char because int might match the return type of a gcc2 
     4466   builtin and then its argument prototype would still apply.  */ 
     4467char opendir (); 
     4468int 
     4469main () 
     4470{ 
     4471opendir (); 
     4472  ; 
     4473  return 0; 
     4474} 
     4475_ACEOF 
     4476rm -f conftest.$ac_objext conftest$ac_exeext 
     4477if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     4478  (eval $ac_link) 2>conftest.er1 
     4479  ac_status=$? 
     4480  grep -v '^ *+' conftest.er1 >conftest.err 
     4481  rm -f conftest.er1 
     4482  cat conftest.err >&5 
     4483  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4484  (exit $ac_status); } && 
     4485     { ac_try='test -z "$ac_c_werror_flag" 
     4486             || test ! -s conftest.err' 
     4487  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4488  (eval $ac_try) 2>&5 
     4489  ac_status=$? 
     4490  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4491  (exit $ac_status); }; } && 
     4492     { ac_try='test -s conftest$ac_exeext' 
     4493  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4494  (eval $ac_try) 2>&5 
     4495  ac_status=$? 
     4496  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4497  (exit $ac_status); }; }; then 
     4498  ac_cv_search_opendir="-l$ac_lib" 
     4499break 
     4500else 
     4501  echo "$as_me: failed program was:" >&5 
     4502sed 's/^/| /' conftest.$ac_ext >&5 
     4503 
     4504fi 
     4505rm -f conftest.err conftest.$ac_objext \ 
     4506      conftest$ac_exeext conftest.$ac_ext 
     4507  done 
     4508fi 
     4509LIBS=$ac_func_search_save_LIBS 
     4510fi 
     4511echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 
     4512echo "${ECHO_T}$ac_cv_search_opendir" >&6 
     4513if test "$ac_cv_search_opendir" != no; then 
     4514  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 
     4515 
     4516fi 
     4517 
     4518else 
     4519  echo "$as_me:$LINENO: checking for library containing opendir" >&5 
     4520echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 
     4521if test "${ac_cv_search_opendir+set}" = set; then 
     4522  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4523else 
     4524  ac_func_search_save_LIBS=$LIBS 
     4525ac_cv_search_opendir=no 
     4526cat >conftest.$ac_ext <<_ACEOF 
     4527/* confdefs.h.  */ 
     4528_ACEOF 
     4529cat confdefs.h >>conftest.$ac_ext 
     4530cat >>conftest.$ac_ext <<_ACEOF 
     4531/* end confdefs.h.  */ 
     4532 
     4533/* Override any gcc2 internal prototype to avoid an error.  */ 
     4534#ifdef __cplusplus 
     4535extern "C" 
     4536#endif 
     4537/* We use char because int might match the return type of a gcc2 
     4538   builtin and then its argument prototype would still apply.  */ 
     4539char opendir (); 
     4540int 
     4541main () 
     4542{ 
     4543opendir (); 
     4544  ; 
     4545  return 0; 
     4546} 
     4547_ACEOF 
     4548rm -f conftest.$ac_objext conftest$ac_exeext 
     4549if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     4550  (eval $ac_link) 2>conftest.er1 
     4551  ac_status=$? 
     4552  grep -v '^ *+' conftest.er1 >conftest.err 
     4553  rm -f conftest.er1 
     4554  cat conftest.err >&5 
     4555  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4556  (exit $ac_status); } && 
     4557     { ac_try='test -z "$ac_c_werror_flag" 
     4558             || test ! -s conftest.err' 
     4559  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4560  (eval $ac_try) 2>&5 
     4561  ac_status=$? 
     4562  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4563  (exit $ac_status); }; } && 
     4564     { ac_try='test -s conftest$ac_exeext' 
     4565  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4566  (eval $ac_try) 2>&5 
     4567  ac_status=$? 
     4568  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4569  (exit $ac_status); }; }; then 
     4570  ac_cv_search_opendir="none required" 
     4571else 
     4572  echo "$as_me: failed program was:" >&5 
     4573sed 's/^/| /' conftest.$ac_ext >&5 
     4574 
     4575fi 
     4576rm -f conftest.err conftest.$ac_objext \ 
     4577      conftest$ac_exeext conftest.$ac_ext 
     4578if test "$ac_cv_search_opendir" = no; then 
     4579  for ac_lib in x; do 
     4580    LIBS="-l$ac_lib  $ac_func_search_save_LIBS" 
     4581    cat >conftest.$ac_ext <<_ACEOF 
     4582/* confdefs.h.  */ 
     4583_ACEOF 
     4584cat confdefs.h >>conftest.$ac_ext 
     4585cat >>conftest.$ac_ext <<_ACEOF 
     4586/* end confdefs.h.  */ 
     4587 
     4588/* Override any gcc2 internal prototype to avoid an error.  */ 
     4589#ifdef __cplusplus 
     4590extern "C" 
     4591#endif 
     4592/* We use char because int might match the return type of a gcc2 
     4593   builtin and then its argument prototype would still apply.  */ 
     4594char opendir (); 
     4595int 
     4596main () 
     4597{ 
     4598opendir (); 
     4599  ; 
     4600  return 0; 
     4601} 
     4602_ACEOF 
     4603rm -f conftest.$ac_objext conftest$ac_exeext 
     4604if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     4605  (eval $ac_link) 2>conftest.er1 
     4606  ac_status=$? 
     4607  grep -v '^ *+' conftest.er1 >conftest.err 
     4608  rm -f conftest.er1 
     4609  cat conftest.err >&5 
     4610  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4611  (exit $ac_status); } && 
     4612     { ac_try='test -z "$ac_c_werror_flag" 
     4613             || test ! -s conftest.err' 
     4614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4615  (eval $ac_try) 2>&5 
     4616  ac_status=$? 
     4617  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4618  (exit $ac_status); }; } && 
     4619     { ac_try='test -s conftest$ac_exeext' 
     4620  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4621  (eval $ac_try) 2>&5 
     4622  ac_status=$? 
     4623  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4624  (exit $ac_status); }; }; then 
     4625  ac_cv_search_opendir="-l$ac_lib" 
     4626break 
     4627else 
     4628  echo "$as_me: failed program was:" >&5 
     4629sed 's/^/| /' conftest.$ac_ext >&5 
     4630 
     4631fi 
     4632rm -f conftest.err conftest.$ac_objext \ 
     4633      conftest$ac_exeext conftest.$ac_ext 
     4634  done 
     4635fi 
     4636LIBS=$ac_func_search_save_LIBS 
     4637fi 
     4638echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 
     4639echo "${ECHO_T}$ac_cv_search_opendir" >&6 
     4640if test "$ac_cv_search_opendir" != no; then 
     4641  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 
     4642 
     4643fi 
     4644 
     4645fi 
     4646 
     4647echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     4648echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
     4649if test "${ac_cv_header_stdc+set}" = set; then 
     4650  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4651else 
     4652  cat >conftest.$ac_ext <<_ACEOF 
     4653/* confdefs.h.  */ 
     4654_ACEOF 
     4655cat confdefs.h >>conftest.$ac_ext 
     4656cat >>conftest.$ac_ext <<_ACEOF 
     4657/* end confdefs.h.  */ 
    13884658#include <stdlib.h> 
    13894659#include <stdarg.h> 
    13904660#include <string.h> 
    13914661#include <float.h> 
    1392 EOF 
    1393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1394 { (eval echo configure:1395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1395 ac_err=`grep -v '^ *+' conftest.out` 
    1396 if test -z "$ac_err"; then 
    1397   rm -rf conftest* 
     4662 
     4663int 
     4664main () 
     4665{ 
     4666 
     4667  ; 
     4668  return 0; 
     4669} 
     4670_ACEOF 
     4671rm -f conftest.$ac_objext 
     4672if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4673  (eval $ac_compile) 2>conftest.er1 
     4674  ac_status=$? 
     4675  grep -v '^ *+' conftest.er1 >conftest.err 
     4676  rm -f conftest.er1 
     4677  cat conftest.err >&5 
     4678  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4679  (exit $ac_status); } && 
     4680     { ac_try='test -z "$ac_c_werror_flag" 
     4681             || test ! -s conftest.err' 
     4682  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4683  (eval $ac_try) 2>&5 
     4684  ac_status=$? 
     4685  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4686  (exit $ac_status); }; } && 
     4687     { ac_try='test -s conftest.$ac_objext' 
     4688  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4689  (eval $ac_try) 2>&5 
     4690  ac_status=$? 
     4691  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4692  (exit $ac_status); }; }; then 
    13984693  ac_cv_header_stdc=yes 
    13994694else 
    1400   echo "$ac_err" >&5 
    1401   echo "configure: failed program was:" >&5 
    1402   cat conftest.$ac_ext >&5 
    1403   rm -rf conftest* 
    1404   ac_cv_header_stdc=no 
    1405 fi 
    1406 rm -f conftest* 
     4695  echo "$as_me: failed program was:" >&5 
     4696sed 's/^/| /' conftest.$ac_ext >&5 
     4697 
     4698ac_cv_header_stdc=no 
     4699fi 
     4700rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    14074701 
    14084702if test $ac_cv_header_stdc = yes; then 
    14094703  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    1410 cat > conftest.$ac_ext <<EOF 
    1411 #line 1412 "configure" 
    1412 #include "confdefs.h" 
     4704  cat >conftest.$ac_ext <<_ACEOF 
     4705/* confdefs.h.  */ 
     4706_ACEOF 
     4707cat confdefs.h >>conftest.$ac_ext 
     4708cat >>conftest.$ac_ext <<_ACEOF 
     4709/* end confdefs.h.  */ 
    14134710#include <string.h> 
    1414 EOF 
     4711 
     4712_ACEOF 
    14154713if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1416   egrep "memchr" >/dev/null 2>&1; then 
     4714  $EGREP "memchr" >/dev/null 2>&1; then 
    14174715  : 
    14184716else 
    1419   rm -rf conftest* 
    14204717  ac_cv_header_stdc=no 
    14214718fi 
     
    14264723if test $ac_cv_header_stdc = yes; then 
    14274724  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    1428 cat > conftest.$ac_ext <<EOF 
    1429 #line 1430 "configure" 
    1430 #include "confdefs.h" 
     4725  cat >conftest.$ac_ext <<_ACEOF 
     4726/* confdefs.h.  */ 
     4727_ACEOF 
     4728cat confdefs.h >>conftest.$ac_ext 
     4729cat >>conftest.$ac_ext <<_ACEOF 
     4730/* end confdefs.h.  */ 
    14314731#include <stdlib.h> 
    1432 EOF 
     4732 
     4733_ACEOF 
    14334734if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1434   egrep "free" >/dev/null 2>&1; then 
     4735  $EGREP "free" >/dev/null 2>&1; then 
    14354736  : 
    14364737else 
    1437   rm -rf conftest* 
    14384738  ac_cv_header_stdc=no 
    14394739fi 
     
    14444744if test $ac_cv_header_stdc = yes; then 
    14454745  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    1446 if test "$cross_compiling" = yes; then 
     4746  if test "$cross_compiling" = yes; then 
    14474747  : 
    14484748else 
    1449   cat > conftest.$ac_ext <<EOF 
    1450 #line 1451 "configure" 
    1451 #include "confdefs.h" 
     4749  cat >conftest.$ac_ext <<_ACEOF 
     4750/* confdefs.h.  */ 
     4751_ACEOF 
     4752cat confdefs.h >>conftest.$ac_ext 
     4753cat >>conftest.$ac_ext <<_ACEOF 
     4754/* end confdefs.h.  */ 
    14524755#include <ctype.h> 
    1453 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
    1454 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
     4756#if ((' ' & 0x0FF) == 0x020) 
     4757# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
     4758# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
     4759#else 
     4760# define ISLOWER(c) \ 
     4761           (('a' <= (c) && (c) <= 'i') \ 
     4762             || ('j' <= (c) && (c) <= 'r') \ 
     4763             || ('s' <= (c) && (c) <= 'z')) 
     4764# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
     4765#endif 
     4766 
    14554767#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
    1456 int main () { int i; for (i = 0; i < 256; i++) 
    1457 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 
    1458 exit (0); } 
    1459  
    1460 EOF 
    1461 if { (eval echo configure:1462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 
    1462 then 
     4768int 
     4769main () 
     4770{ 
     4771  int i; 
     4772  for (i = 0; i < 256; i++) 
     4773    if (XOR (islower (i), ISLOWER (i)) 
     4774    || toupper (i) != TOUPPER (i)) 
     4775      exit(2); 
     4776  exit (0); 
     4777} 
     4778_ACEOF 
     4779rm -f conftest$ac_exeext 
     4780if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     4781  (eval $ac_link) 2>&5 
     4782  ac_status=$? 
     4783  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4784  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     4785  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4786  (eval $ac_try) 2>&5 
     4787  ac_status=$? 
     4788  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4789  (exit $ac_status); }; }; then 
    14634790  : 
    14644791else 
    1465   echo "configure: failed program was:" >&5 
    1466   cat conftest.$ac_ext >&5 
    1467   rm -fr conftest* 
    1468   ac_cv_header_stdc=no 
    1469 fi 
    1470 rm -fr conftest* 
    1471 fi 
    1472  
    1473 fi 
    1474 fi 
    1475  
    1476 echo "$ac_t""$ac_cv_header_stdc" 1>&6 
     4792  echo "$as_me: program exited with status $ac_status" >&5 
     4793echo "$as_me: failed program was:" >&5 
     4794sed 's/^/| /' conftest.$ac_ext >&5 
     4795 
     4796( exit $ac_status ) 
     4797ac_cv_header_stdc=no 
     4798fi 
     4799rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     4800fi 
     4801fi 
     4802fi 
     4803echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     4804echo "${ECHO_T}$ac_cv_header_stdc" >&6 
    14774805if test $ac_cv_header_stdc = yes; then 
    1478   cat >> confdefs.h <<\EOF 
     4806 
     4807cat >>confdefs.h <<\_ACEOF 
    14794808#define STDC_HEADERS 1 
    1480 EOF 
    1481  
    1482 fi 
    1483  
    1484 echo $ac_n "checking for off_t""... $ac_c" 1>&6 
    1485 echo "configure:1486: checking for off_t" >&5 
    1486 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 
    1487   echo $ac_n "(cached) $ac_c" 1>&6 
    1488 else 
    1489   cat > conftest.$ac_ext <<EOF 
    1490 #line 1491 "configure" 
    1491 #include "confdefs.h" 
    1492 #include <sys/types.h> 
    1493 #if STDC_HEADERS 
    1494 #include <stdlib.h> 
    1495 #include <stddef.h> 
    1496 #endif 
    1497 EOF 
     4809_ACEOF 
     4810 
     4811fi 
     4812 
     4813 
     4814 
     4815 
     4816 
     4817 
     4818 
     4819 
     4820for ac_header in fcntl.h limits.h sys/time.h unistd.h string.h memory.h sys/procfs.h 
     4821do 
     4822as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     4823if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     4824  echo "$as_me:$LINENO: checking for $ac_header" >&5 
     4825echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     4826if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     4827  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4828fi 
     4829echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     4830echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     4831else 
     4832  # Is the header compilable? 
     4833echo "$as_me:$LINENO: checking $ac_header usability" >&5 
     4834echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 
     4835cat >conftest.$ac_ext <<_ACEOF 
     4836/* confdefs.h.  */ 
     4837_ACEOF 
     4838cat confdefs.h >>conftest.$ac_ext 
     4839cat >>conftest.$ac_ext <<_ACEOF 
     4840/* end confdefs.h.  */ 
     4841$ac_includes_default 
     4842#include <$ac_header> 
     4843_ACEOF 
     4844rm -f conftest.$ac_objext 
     4845if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     4846  (eval $ac_compile) 2>conftest.er1 
     4847  ac_status=$? 
     4848  grep -v '^ *+' conftest.er1 >conftest.err 
     4849  rm -f conftest.er1 
     4850  cat conftest.err >&5 
     4851  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4852  (exit $ac_status); } && 
     4853     { ac_try='test -z "$ac_c_werror_flag" 
     4854             || test ! -s conftest.err' 
     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); }; } && 
     4860     { ac_try='test -s conftest.$ac_objext' 
     4861  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4862  (eval $ac_try) 2>&5 
     4863  ac_status=$? 
     4864  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4865  (exit $ac_status); }; }; then 
     4866  ac_header_compiler=yes 
     4867else 
     4868  echo "$as_me: failed program was:" >&5 
     4869sed 's/^/| /' conftest.$ac_ext >&5 
     4870 
     4871ac_header_compiler=no 
     4872fi 
     4873rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
     4874echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     4875echo "${ECHO_T}$ac_header_compiler" >&6 
     4876 
     4877# Is the header present? 
     4878echo "$as_me:$LINENO: checking $ac_header presence" >&5 
     4879echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 
     4880cat >conftest.$ac_ext <<_ACEOF 
     4881/* confdefs.h.  */ 
     4882_ACEOF 
     4883cat confdefs.h >>conftest.$ac_ext 
     4884cat >>conftest.$ac_ext <<_ACEOF 
     4885/* end confdefs.h.  */ 
     4886#include <$ac_header> 
     4887_ACEOF 
     4888if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     4889  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     4890  ac_status=$? 
     4891  grep -v '^ *+' conftest.er1 >conftest.err 
     4892  rm -f conftest.er1 
     4893  cat conftest.err >&5 
     4894  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     4895  (exit $ac_status); } >/dev/null; then 
     4896  if test -s conftest.err; then 
     4897    ac_cpp_err=$ac_c_preproc_warn_flag 
     4898    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 
     4899  else 
     4900    ac_cpp_err= 
     4901  fi 
     4902else 
     4903  ac_cpp_err=yes 
     4904fi 
     4905if test -z "$ac_cpp_err"; then 
     4906  ac_header_preproc=yes 
     4907else 
     4908  echo "$as_me: failed program was:" >&5 
     4909sed 's/^/| /' conftest.$ac_ext >&5 
     4910 
     4911  ac_header_preproc=no 
     4912fi 
     4913rm -f conftest.err conftest.$ac_ext 
     4914echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     4915echo "${ECHO_T}$ac_header_preproc" >&6 
     4916 
     4917# So?  What about this header? 
     4918case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
     4919  yes:no: ) 
     4920    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
     4921echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     4922    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 
     4923echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 
     4924    ac_header_preproc=yes 
     4925    ;; 
     4926  no:yes:* ) 
     4927    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
     4928echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
     4929    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5 
     4930echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;} 
     4931    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 
     4932echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 
     4933    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5 
     4934echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;} 
     4935    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
     4936echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
     4937    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 
     4938echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 
     4939    ( 
     4940      cat <<\_ASBOX 
     4941## ------------------------------------------ ## 
     4942## Report this to the AC_PACKAGE_NAME lists.  ## 
     4943## ------------------------------------------ ## 
     4944_ASBOX 
     4945    ) | 
     4946      sed "s/^/$as_me: WARNING:     /" >&2 
     4947    ;; 
     4948esac 
     4949echo "$as_me:$LINENO: checking for $ac_header" >&5 
     4950echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     4951if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     4952  echo $ECHO_N "(cached) $ECHO_C" >&6 
     4953else 
     4954  eval "$as_ac_Header=\$ac_header_preproc" 
     4955fi 
     4956echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     4957echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     4958 
     4959fi 
     4960if test `eval echo '${'$as_ac_Header'}'` = yes; then 
     4961  cat >>confdefs.h <<_ACEOF 
     4962#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     4963_ACEOF 
     4964 
     4965fi 
     4966 
     4967done 
     4968 
     4969cat >conftest.$ac_ext <<_ACEOF 
     4970/* confdefs.h.  */ 
     4971_ACEOF 
     4972cat confdefs.h >>conftest.$ac_ext 
     4973cat >>conftest.$ac_ext <<_ACEOF 
     4974/* end confdefs.h.  */ 
     4975#include <stdio.h> 
     4976 
     4977_ACEOF 
    14984978if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1499   egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 
    1500   rm -rf conftest* 
    1501   ac_cv_type_off_t=yes 
    1502 else 
    1503   rm -rf conftest* 
    1504   ac_cv_type_off_t=no 
     4979  $EGREP "fread" >/dev/null 2>&1; then 
     4980  cat >>confdefs.h <<\_ACEOF 
     4981#define HAVE_FREAD_DECL 1 
     4982_ACEOF 
     4983 
    15054984fi 
    15064985rm -f conftest* 
    15074986 
    1508 fi 
    1509 echo "$ac_t""$ac_cv_type_off_t" 1>&6 
    1510 if test $ac_cv_type_off_t = no; then 
    1511   cat >> confdefs.h <<\EOF 
    1512 #define off_t long 
    1513 EOF 
    1514  
    1515 fi 
    1516  
    1517 echo $ac_n "checking for size_t""... $ac_c" 1>&6 
    1518 echo "configure:1519: checking for size_t" >&5 
    1519 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 
    1520   echo $ac_n "(cached) $ac_c" 1>&6 
    1521 else 
    1522   cat > conftest.$ac_ext <<EOF 
    1523 #line 1524 "configure" 
    1524 #include "confdefs.h" 
    1525 #include <sys/types.h> 
    1526 #if STDC_HEADERS 
    1527 #include <stdlib.h> 
    1528 #include <stddef.h> 
    1529 #endif 
    1530 EOF 
     4987cat >conftest.$ac_ext <<_ACEOF 
     4988/* confdefs.h.  */ 
     4989_ACEOF 
     4990cat confdefs.h >>conftest.$ac_ext 
     4991cat >>conftest.$ac_ext <<_ACEOF 
     4992/* end confdefs.h.  */ 
     4993#include <stdio.h> 
     4994 
     4995_ACEOF 
    15314996if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1532   egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 
    1533   rm -rf conftest* 
    1534   ac_cv_type_size_t=yes 
    1535 else 
    1536   rm -rf conftest* 
    1537   ac_cv_type_size_t=no 
     4997  $EGREP "fgetc" >/dev/null 2>&1; then 
     4998  cat >>confdefs.h <<\_ACEOF 
     4999#define HAVE_FGETC_DECL 1 
     5000_ACEOF 
     5001 
    15385002fi 
    15395003rm -f conftest* 
    15405004 
    1541 fi 
    1542 echo "$ac_t""$ac_cv_type_size_t" 1>&6 
    1543 if test $ac_cv_type_size_t = no; then 
    1544   cat >> confdefs.h <<\EOF 
    1545 #define size_t unsigned 
    1546 EOF 
    1547  
    1548 fi 
    1549  
    1550 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 
    1551 echo "configure:1552: checking whether time.h and sys/time.h may both be included" >&5 
    1552 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 
    1553   echo $ac_n "(cached) $ac_c" 1>&6 
    1554 else 
    1555   cat > conftest.$ac_ext <<EOF 
    1556 #line 1557 "configure" 
    1557 #include "confdefs.h" 
    1558 #include <sys/types.h> 
    1559 #include <sys/time.h> 
    1560 #include <time.h> 
    1561 int main() { 
    1562 struct tm *tp; 
    1563 ; return 0; } 
    1564 EOF 
    1565 if { (eval echo configure:1566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    1566   rm -rf conftest* 
    1567   ac_cv_header_time=yes 
    1568 else 
    1569   echo "configure: failed program was:" >&5 
    1570   cat conftest.$ac_ext >&5 
    1571   rm -rf conftest* 
    1572   ac_cv_header_time=no 
    1573 fi 
    1574 rm -f conftest* 
    1575 fi 
    1576  
    1577 echo "$ac_t""$ac_cv_header_time" 1>&6 
    1578 if test $ac_cv_header_time = yes; then 
    1579   cat >> confdefs.h <<\EOF 
    1580 #define TIME_WITH_SYS_TIME 1 
    1581 EOF 
    1582  
    1583 fi 
    1584  
    1585 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 
    1586 echo "configure:1587: checking whether struct tm is in sys/time.h or time.h" >&5 
    1587 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 
    1588   echo $ac_n "(cached) $ac_c" 1>&6 
    1589 else 
    1590   cat > conftest.$ac_ext <<EOF 
    1591 #line 1592 "configure" 
    1592 #include "confdefs.h" 
    1593 #include <sys/types.h> 
    1594 #include <time.h> 
    1595 int main() { 
    1596 struct tm *tp; tp->tm_sec; 
    1597 ; return 0; } 
    1598 EOF 
    1599 if { (eval echo configure:1600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    1600   rm -rf conftest* 
    1601   ac_cv_struct_tm=time.h 
    1602 else 
    1603   echo "configure: failed program was:" >&5 
    1604   cat conftest.$ac_ext >&5 
    1605   rm -rf conftest* 
    1606   ac_cv_struct_tm=sys/time.h 
    1607 fi 
    1608 rm -f conftest* 
    1609 fi 
    1610  
    1611 echo "$ac_t""$ac_cv_struct_tm" 1>&6 
    1612 if test $ac_cv_struct_tm = sys/time.h; then 
    1613   cat >> confdefs.h <<\EOF 
    1614 #define TM_IN_SYS_TIME 1 
    1615 EOF 
    1616  
    1617 fi 
    1618  
    1619  
    1620 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 
    1621 cat > conftest.$ac_ext <<EOF 
    1622 #line 1623 "configure" 
    1623 #include "confdefs.h" 
    1624 #include <stdio.h> 
    1625  
    1626 int main() { 
    1627  FILE *rubbish = popen("yes", "r");  
    1628 ; return 0; } 
    1629 EOF 
    1630 if { (eval echo configure:1631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    1631   : 
    1632 else 
    1633   echo "configure: failed program was:" >&5 
    1634   cat conftest.$ac_ext >&5 
    1635   rm -rf conftest* 
    1636   CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa' 
    1637 fi 
    1638 rm -f conftest* 
    1639 fi 
    1640  
    1641  
    1642 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 
    1643 echo "configure:1644: checking for main in -lm" >&5 
    1644 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 
    1645 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    1646   echo $ac_n "(cached) $ac_c" 1>&6 
    1647 else 
    1648   ac_save_LIBS="$LIBS" 
    1649 LIBS="-lm  $LIBS" 
    1650 cat > conftest.$ac_ext <<EOF 
    1651 #line 1652 "configure" 
    1652 #include "confdefs.h" 
    1653  
    1654 int main() { 
    1655 main() 
    1656 ; return 0; } 
    1657 EOF 
    1658 if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 
    1659   rm -rf conftest* 
    1660   eval "ac_cv_lib_$ac_lib_var=yes" 
    1661 else 
    1662   echo "configure: failed program was:" >&5 
    1663   cat conftest.$ac_ext >&5 
    1664   rm -rf conftest* 
    1665   eval "ac_cv_lib_$ac_lib_var=no" 
    1666 fi 
    1667 rm -f conftest* 
    1668 LIBS="$ac_save_LIBS" 
    1669  
    1670 fi 
    1671 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    1672   echo "$ac_t""yes" 1>&6 
    1673     ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 
    1674     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 
    1675   cat >> confdefs.h <<EOF 
    1676 #define $ac_tr_lib 1 
    1677 EOF 
    1678  
    1679   LIBS="-lm $LIBS" 
    1680  
    1681 else 
    1682   echo "$ac_t""no" 1>&6 
    1683 fi 
    1684  
    1685  
    1686 ac_header_dirent=no 
    1687 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h 
    1688 do 
    1689 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    1690 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 
    1691 echo "configure:1692: checking for $ac_hdr that defines DIR" >&5 
    1692 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 
    1693   echo $ac_n "(cached) $ac_c" 1>&6 
    1694 else 
    1695   cat > conftest.$ac_ext <<EOF 
    1696 #line 1697 "configure" 
    1697 #include "confdefs.h" 
    1698 #include <sys/types.h> 
    1699 #include <$ac_hdr> 
    1700 int main() { 
    1701 DIR *dirp = 0; 
    1702 ; return 0; } 
    1703 EOF 
    1704 if { (eval echo configure:1705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    1705   rm -rf conftest* 
    1706   eval "ac_cv_header_dirent_$ac_safe=yes" 
    1707 else 
    1708   echo "configure: failed program was:" >&5 
    1709   cat conftest.$ac_ext >&5 
    1710   rm -rf conftest* 
    1711   eval "ac_cv_header_dirent_$ac_safe=no" 
    1712 fi 
    1713 rm -f conftest* 
    1714 fi 
    1715 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then 
    1716   echo "$ac_t""yes" 1>&6 
    1717     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
    1718   cat >> confdefs.h <<EOF 
    1719 #define $ac_tr_hdr 1 
    1720 EOF 
    1721  ac_header_dirent=$ac_hdr; break 
    1722 else 
    1723   echo "$ac_t""no" 1>&6 
    1724 fi 
    1725 done 
    1726 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 
    1727 if test $ac_header_dirent = dirent.h; then 
    1728 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 
    1729 echo "configure:1730: checking for opendir in -ldir" >&5 
    1730 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 
    1731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    1732   echo $ac_n "(cached) $ac_c" 1>&6 
    1733 else 
    1734   ac_save_LIBS="$LIBS" 
    1735 LIBS="-ldir  $LIBS" 
    1736 cat > conftest.$ac_ext <<EOF 
    1737 #line 1738 "configure" 
    1738 #include "confdefs.h" 
    1739 /* Override any gcc2 internal prototype to avoid an error.  */ 
    1740 /* We use char because int might match the return type of a gcc2 
    1741     builtin and then its argument prototype would still apply.  */ 
    1742 char opendir(); 
    1743  
    1744 int main() { 
    1745 opendir() 
    1746 ; return 0; } 
    1747 EOF 
    1748 if { (eval echo configure:1749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 
    1749   rm -rf conftest* 
    1750   eval "ac_cv_lib_$ac_lib_var=yes" 
    1751 else 
    1752   echo "configure: failed program was:" >&5 
    1753   cat conftest.$ac_ext >&5 
    1754   rm -rf conftest* 
    1755   eval "ac_cv_lib_$ac_lib_var=no" 
    1756 fi 
    1757 rm -f conftest* 
    1758 LIBS="$ac_save_LIBS" 
    1759  
    1760 fi 
    1761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    1762   echo "$ac_t""yes" 1>&6 
    1763   LIBS="$LIBS -ldir" 
    1764 else 
    1765   echo "$ac_t""no" 1>&6 
    1766 fi 
    1767  
    1768 else 
    1769 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 
    1770 echo "configure:1771: checking for opendir in -lx" >&5 
    1771 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 
    1772 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    1773   echo $ac_n "(cached) $ac_c" 1>&6 
    1774 else 
    1775   ac_save_LIBS="$LIBS" 
    1776 LIBS="-lx  $LIBS" 
    1777 cat > conftest.$ac_ext <<EOF 
    1778 #line 1779 "configure" 
    1779 #include "confdefs.h" 
    1780 /* Override any gcc2 internal prototype to avoid an error.  */ 
    1781 /* We use char because int might match the return type of a gcc2 
    1782     builtin and then its argument prototype would still apply.  */ 
    1783 char opendir(); 
    1784  
    1785 int main() { 
    1786 opendir() 
    1787 ; return 0; } 
    1788 EOF 
    1789 if { (eval echo configure:1790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 
    1790   rm -rf conftest* 
    1791   eval "ac_cv_lib_$ac_lib_var=yes" 
    1792 else 
    1793   echo "configure: failed program was:" >&5 
    1794   cat conftest.$ac_ext >&5 
    1795   rm -rf conftest* 
    1796   eval "ac_cv_lib_$ac_lib_var=no" 
    1797 fi 
    1798 rm -f conftest* 
    1799 LIBS="$ac_save_LIBS" 
    1800  
    1801 fi 
    1802 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    1803   echo "$ac_t""yes" 1>&6 
    1804   LIBS="$LIBS -lx" 
    1805 else 
    1806   echo "$ac_t""no" 1>&6 
    1807 fi 
    1808  
    1809 fi 
    1810  
    1811 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 
    1812 echo "configure:1813: checking for ANSI C header files" >&5 
    1813 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 
    1814   echo $ac_n "(cached) $ac_c" 1>&6 
    1815 else 
    1816   cat > conftest.$ac_ext <<EOF 
    1817 #line 1818 "configure" 
    1818 #include "confdefs.h" 
    1819 #include <stdlib.h> 
    1820 #include <stdarg.h> 
    1821 #include <string.h> 
    1822 #include <float.h> 
    1823 EOF 
    1824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1825 { (eval echo configure:1826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1826 ac_err=`grep -v '^ *+' conftest.out` 
    1827 if test -z "$ac_err"; then 
    1828   rm -rf conftest* 
    1829   ac_cv_header_stdc=yes 
    1830 else 
    1831   echo "$ac_err" >&5 
    1832   echo "configure: failed program was:" >&5 
    1833   cat conftest.$ac_ext >&5 
    1834   rm -rf conftest* 
    1835   ac_cv_header_stdc=no 
    1836 fi 
    1837 rm -f conftest* 
    1838  
    1839 if test $ac_cv_header_stdc = yes; then 
    1840   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    1841 cat > conftest.$ac_ext <<EOF 
    1842 #line 1843 "configure" 
    1843 #include "confdefs.h" 
    1844 #include <string.h> 
    1845 EOF 
     5005cat >conftest.$ac_ext <<_ACEOF 
     5006/* confdefs.h.  */ 
     5007_ACEOF 
     5008cat confdefs.h >>conftest.$ac_ext 
     5009cat >>conftest.$ac_ext <<_ACEOF 
     5010/* end confdefs.h.  */ 
     5011#include <sys/procfs.h> 
     5012 
     5013_ACEOF 
    18465014if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1847   egrep "memchr" >/dev/null 2>&1; then 
    1848   : 
    1849 else 
    1850   rm -rf conftest* 
    1851   ac_cv_header_stdc=no 
    1852 fi 
    1853 rm -f conftest* 
    1854  
    1855 fi 
    1856  
    1857 if test $ac_cv_header_stdc = yes; then 
    1858   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    1859 cat > conftest.$ac_ext <<EOF 
    1860 #line 1861 "configure" 
    1861 #include "confdefs.h" 
    1862 #include <stdlib.h> 
    1863 EOF 
    1864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1865   egrep "free" >/dev/null 2>&1; then 
    1866   : 
    1867 else 
    1868   rm -rf conftest* 
    1869   ac_cv_header_stdc=no 
    1870 fi 
    1871 rm -f conftest* 
    1872  
    1873 fi 
    1874  
    1875 if test $ac_cv_header_stdc = yes; then 
    1876   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
    1877 if test "$cross_compiling" = yes; then 
    1878   : 
    1879 else 
    1880   cat > conftest.$ac_ext <<EOF 
    1881 #line 1882 "configure" 
    1882 #include "confdefs.h" 
    1883 #include <ctype.h> 
    1884 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
    1885 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
    1886 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
    1887 int main () { int i; for (i = 0; i < 256; i++) 
    1888 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 
    1889 exit (0); } 
    1890  
    1891 EOF 
    1892 if { (eval echo configure:1893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 
    1893 then 
    1894   : 
    1895 else 
    1896   echo "configure: failed program was:" >&5 
    1897   cat conftest.$ac_ext >&5 
    1898   rm -fr conftest* 
    1899   ac_cv_header_stdc=no 
    1900 fi 
    1901 rm -fr conftest* 
    1902 fi 
    1903  
    1904 fi 
    1905 fi 
    1906  
    1907 echo "$ac_t""$ac_cv_header_stdc" 1>&6 
    1908 if test $ac_cv_header_stdc = yes; then 
    1909   cat >> confdefs.h <<\EOF 
    1910 #define STDC_HEADERS 1 
    1911 EOF 
    1912  
    1913 fi 
    1914  
    1915 for ac_hdr in fcntl.h limits.h sys/time.h unistd.h string.h memory.h sys/procfs.h 
    1916 do 
    1917 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 
    1918 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 
    1919 echo "configure:1920: checking for $ac_hdr" >&5 
    1920 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 
    1921   echo $ac_n "(cached) $ac_c" 1>&6 
    1922 else 
    1923   cat > conftest.$ac_ext <<EOF 
    1924 #line 1925 "configure" 
    1925 #include "confdefs.h" 
    1926 #include <$ac_hdr> 
    1927 EOF 
    1928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1929 { (eval echo configure:1930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    1930 ac_err=`grep -v '^ *+' conftest.out` 
    1931 if test -z "$ac_err"; then 
    1932   rm -rf conftest* 
    1933   eval "ac_cv_header_$ac_safe=yes" 
    1934 else 
    1935   echo "$ac_err" >&5 
    1936   echo "configure: failed program was:" >&5 
    1937   cat conftest.$ac_ext >&5 
    1938   rm -rf conftest* 
    1939   eval "ac_cv_header_$ac_safe=no" 
    1940 fi 
    1941 rm -f conftest* 
    1942 fi 
    1943 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 
    1944   echo "$ac_t""yes" 1>&6 
    1945     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 
    1946   cat >> confdefs.h <<EOF 
    1947 #define $ac_tr_hdr 1 
    1948 EOF 
    1949   
    1950 else 
    1951   echo "$ac_t""no" 1>&6 
    1952 fi 
    1953 done 
    1954  
    1955 cat > conftest.$ac_ext <<EOF 
    1956 #line 1957 "configure" 
    1957 #include "confdefs.h" 
    1958 #include <stdio.h> 
    1959 EOF 
    1960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1961   egrep "fread" >/dev/null 2>&1; then 
    1962   rm -rf conftest* 
    1963   cat >> confdefs.h <<\EOF 
    1964 #define HAVE_FREAD_DECL 1 
    1965 EOF 
    1966  
    1967 fi 
    1968 rm -f conftest* 
    1969  
    1970 cat > conftest.$ac_ext <<EOF 
    1971 #line 1972 "configure" 
    1972 #include "confdefs.h" 
    1973 #include <stdio.h> 
    1974 EOF 
    1975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1976   egrep "fgetc" >/dev/null 2>&1; then 
    1977   rm -rf conftest* 
    1978   cat >> confdefs.h <<\EOF 
    1979 #define HAVE_FGETC_DECL 1 
    1980 EOF 
    1981  
    1982 fi 
    1983 rm -f conftest* 
    1984  
    1985 cat > conftest.$ac_ext <<EOF 
    1986 #line 1987 "configure" 
    1987 #include "confdefs.h" 
    1988 #include <sys/procfs.h> 
    1989 EOF 
    1990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    1991   egrep "pr_brksize" >/dev/null 2>&1; then 
    1992   rm -rf conftest* 
    1993   cat >> confdefs.h <<\EOF 
     5015  $EGREP "pr_brksize" >/dev/null 2>&1; then 
     5016  cat >>confdefs.h <<\_ACEOF 
    19945017#define HAVE_PR_BRKSIZE 1 
    1995 EOF 
     5018_ACEOF 
    19965019 
    19975020fi 
     
    20015024# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 
    20025025# for constant arguments.  Useless! 
    2003 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 
    2004 echo "configure:2005: checking for working alloca.h" >&5 
    2005 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 
    2006   echo $ac_n "(cached) $ac_c" 1>&6 
    2007 else 
    2008   cat > conftest.$ac_ext <<EOF 
    2009 #line 2010 "configure" 
    2010 #include "confdefs.h" 
     5026echo "$as_me:$LINENO: checking for working alloca.h" >&5 
     5027echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 
     5028if test "${ac_cv_working_alloca_h+set}" = set; then 
     5029  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5030else 
     5031  cat >conftest.$ac_ext <<_ACEOF 
     5032/* confdefs.h.  */ 
     5033_ACEOF 
     5034cat confdefs.h >>conftest.$ac_ext 
     5035cat >>conftest.$ac_ext <<_ACEOF 
     5036/* end confdefs.h.  */ 
    20115037#include <alloca.h> 
    2012 int main() { 
    2013 char *p = alloca(2 * sizeof(int)); 
    2014 ; return 0; } 
    2015 EOF 
    2016 if { (eval echo configure:2017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 
    2017   rm -rf conftest* 
    2018   ac_cv_header_alloca_h=yes 
    2019 else 
    2020   echo "configure: failed program was:" >&5 
    2021   cat conftest.$ac_ext >&5 
    2022   rm -rf conftest* 
    2023   ac_cv_header_alloca_h=no 
    2024 fi 
    2025 rm -f conftest* 
    2026 fi 
    2027  
    2028 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 
    2029 if test $ac_cv_header_alloca_h = yes; then 
    2030   cat >> confdefs.h <<\EOF 
     5038int 
     5039main () 
     5040{ 
     5041char *p = (char *) alloca (2 * sizeof (int)); 
     5042  ; 
     5043  return 0; 
     5044} 
     5045_ACEOF 
     5046rm -f conftest.$ac_objext conftest$ac_exeext 
     5047if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     5048  (eval $ac_link) 2>conftest.er1 
     5049  ac_status=$? 
     5050  grep -v '^ *+' conftest.er1 >conftest.err 
     5051  rm -f conftest.er1 
     5052  cat conftest.err >&5 
     5053  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5054  (exit $ac_status); } && 
     5055     { ac_try='test -z "$ac_c_werror_flag" 
     5056             || test ! -s conftest.err' 
     5057  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5058  (eval $ac_try) 2>&5 
     5059  ac_status=$? 
     5060  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5061  (exit $ac_status); }; } && 
     5062     { ac_try='test -s conftest$ac_exeext' 
     5063  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5064  (eval $ac_try) 2>&5 
     5065  ac_status=$? 
     5066  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5067  (exit $ac_status); }; }; then 
     5068  ac_cv_working_alloca_h=yes 
     5069else 
     5070  echo "$as_me: failed program was:" >&5 
     5071sed 's/^/| /' conftest.$ac_ext >&5 
     5072 
     5073ac_cv_working_alloca_h=no 
     5074fi 
     5075rm -f conftest.err conftest.$ac_objext \ 
     5076      conftest$ac_exeext conftest.$ac_ext 
     5077fi 
     5078echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 
     5079echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 
     5080if test $ac_cv_working_alloca_h = yes; then 
     5081 
     5082cat >>confdefs.h <<\_ACEOF 
    20315083#define HAVE_ALLOCA_H 1 
    2032 EOF 
    2033  
    2034 fi 
    2035  
    2036 echo $ac_n "checking for alloca""... $ac_c" 1>&6 
    2037 echo "configure:2038: checking for alloca" >&5 
    2038 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 
    2039   echo $ac_n "(cached) $ac_c" 1>&6 
    2040 else 
    2041   cat > conftest.$ac_ext <<EOF 
    2042 #line 2043 "configure" 
    2043 #include "confdefs.h" 
    2044  
     5084_ACEOF 
     5085 
     5086fi 
     5087 
     5088echo "$as_me:$LINENO: checking for alloca" >&5 
     5089echo $ECHO_N "checking for alloca... $ECHO_C" >&6 
     5090if test "${ac_cv_func_alloca_works+set}" = set; then 
     5091  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5092else 
     5093  cat >conftest.$ac_ext <<_ACEOF 
     5094/* confdefs.h.  */ 
     5095_ACEOF 
     5096cat confdefs.h >>conftest.$ac_ext 
     5097cat >>conftest.$ac_ext <<_ACEOF 
     5098/* end confdefs.h.  */ 
    20455099#ifdef __GNUC__ 
    20465100# define alloca __builtin_alloca 
    20475101#else 
    2048 # if HAVE_ALLOCA_H 
    2049 #  include <alloca.h> 
     5102# ifdef _MSC_VER 
     5103#  include <malloc.h> 
     5104#  define alloca _alloca 
    20505105# else 
    2051 #  ifdef _AIX 
     5106#  if HAVE_ALLOCA_H 
     5107#   include <alloca.h> 
     5108#  else 
     5109#   ifdef _AIX 
    20525110 #pragma alloca 
    2053 else 
    2054 #   ifndef alloca /* predefined by HP cc +Olibcalls */ 
     5111 else 
     5112#    ifndef alloca /* predefined by HP cc +Olibcalls */ 
    20555113char *alloca (); 
     5114#    endif 
    20565115#   endif 
    20575116#  endif 
     
    20595118#endif 
    20605119 
    2061 int main() { 
    2062 char *p = (char *) alloca(1); 
    2063 ; return 0; } 
    2064 EOF 
    2065 if { (eval echo configure:2066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 
    2066   rm -rf conftest* 
     5120int 
     5121main () 
     5122{ 
     5123char *p = (char *) alloca (1); 
     5124  ; 
     5125  return 0; 
     5126} 
     5127_ACEOF 
     5128rm -f conftest.$ac_objext conftest$ac_exeext 
     5129if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     5130  (eval $ac_link) 2>conftest.er1 
     5131  ac_status=$? 
     5132  grep -v '^ *+' conftest.er1 >conftest.err 
     5133  rm -f conftest.er1 
     5134  cat conftest.err >&5 
     5135  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5136  (exit $ac_status); } && 
     5137     { ac_try='test -z "$ac_c_werror_flag" 
     5138             || test ! -s conftest.err' 
     5139  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5140  (eval $ac_try) 2>&5 
     5141  ac_status=$? 
     5142  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5143  (exit $ac_status); }; } && 
     5144     { ac_try='test -s conftest$ac_exeext' 
     5145  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5146  (eval $ac_try) 2>&5 
     5147  ac_status=$? 
     5148  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     5149  (exit $ac_status); }; }; then 
    20675150  ac_cv_func_alloca_works=yes 
    20685151else 
    2069   echo "configure: failed program was:" >&5 
    2070   cat conftest.$ac_ext >&5 
    2071   rm -rf conftest* 
    2072   ac_cv_func_alloca_works=no 
    2073 fi 
    2074 rm -f conftest* 
    2075 fi 
    2076  
    2077 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 
     5152  echo "$as_me: failed program was:" >&5 
     5153sed 's/^/| /' conftest.$ac_ext >&5 
     5154 
     5155ac_cv_func_alloca_works=no 
     5156fi 
     5157rm -f conftest.err conftest.$ac_objext \ 
     5158      conftest$ac_exeext conftest.$ac_ext 
     5159fi 
     5160echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 
     5161echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 
     5162 
    20785163if test $ac_cv_func_alloca_works = yes; then 
    2079   cat >> confdefs.h <<\EOF 
     5164 
     5165cat >>confdefs.h <<\_ACEOF 
    20805166#define HAVE_ALLOCA 1 
    2081 EOF 
    2082  
    2083 fi 
    2084  
    2085 if test $ac_cv_func_alloca_works = no; then 
     5167_ACEOF 
     5168 
     5169else 
    20865170  # The SVR3 libPW and SVR4 libucb both contain incompatible functions 
    2087   # that cause trouble.  Some versions do not even contain alloca or 
    2088   # contain a buggy version.  If you still want to use their alloca, 
    2089   # use ar to extract alloca.o from them instead of compiling alloca.c. 
    2090   ALLOCA=alloca.o 
    2091   cat >> confdefs.h <<\EOF 
     5171# that cause trouble.  Some versions do not even contain alloca or 
     5172# contain a buggy version.  If you still want to use their alloca, 
     5173# use ar to extract alloca.o from them instead of compiling alloca.c. 
     5174 
     5175ALLOCA=alloca.$ac_objext 
     5176 
     5177cat >>confdefs.h <<\_ACEOF 
    20925178#define C_ALLOCA 1 
    2093 EOF 
    2094  
    2095  
    2096 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 
    2097 echo "configure:2098: checking whether alloca needs Cray hooks" >&5 
    2098 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 
    2099   echo $ac_n "(cached) $ac_c" 1>&6 
    2100 else 
    2101   cat > conftest.$ac_ext <<EOF 
    2102 #line 2103 "configure" 
    2103 #include "confdefs.h" 
     5179_ACEOF 
     5180 
     5181 
     5182echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 
     5183echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 
     5184if test "${ac_cv_os_cray+set}" = set; then 
     5185  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5186else 
     5187  cat >conftest.$ac_ext <<_ACEOF 
     5188/* confdefs.h.  */ 
     5189_ACEOF 
     5190cat confdefs.h >>conftest.$ac_ext 
     5191cat >>conftest.$ac_ext <<_ACEOF 
     5192/* end confdefs.h.  */ 
    21045193#if defined(CRAY) && ! defined(CRAY2) 
    21055194webecray 
     
    21085197#endif 
    21095198 
    2110 EOF 
     5199_ACEOF 
    21115200if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    2112   egrep "webecray" >/dev/null 2>&1; then 
    2113   rm -rf conftest* 
     5201  $EGREP "webecray" >/dev/null 2>&1; then 
    21145202  ac_cv_os_cray=yes 
    21155203else 
    2116   rm -rf conftest* 
    21175204  ac_cv_os_cray=no 
    21185205fi 
     
    21205207 
    21215208fi 
    2122  
    2123 echo "$ac_t""$ac_cv_os_cray" 1>&6 
     5209echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 
     5210echo "${ECHO_T}$ac_cv_os_cray" >&6 
    21245211if test $ac_cv_os_cray = yes; then 
    2125 for ac_func in _getb67 GETB67 getb67; do 
    2126   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 
    2127 echo "configure:2128: checking for $ac_func" >&5 
    2128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 
    2129   echo $ac_n "(cached) $ac_c" 1>&6 
    2130 else 
    2131   cat > conftest.$ac_ext <<EOF 
    2132 #line 2133 "configure" 
    2133 #include "confdefs.h" 
     5212  for ac_func in _getb67 GETB67 getb67; do 
     5213    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
     5214echo "$as_me:$LINENO: checking for $ac_func" >&5 
     5215echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 
     5216if eval "test \"\${$as_ac_var+set}\" = set"; then 
     5217  echo $ECHO_N "(cached) $ECHO_C" >&6 
     5218else 
     5219  cat >conftest.$ac_ext <<_ACEOF 
     5220/* confdefs.h.  */ 
     5221_ACEOF 
     5222cat confdefs.h >>conftest.$ac_ext 
     5223cat >>conftest.$ac_ext <<_ACEOF 
     5224/* end confdefs.h.  */ 
     5225