Changeset 10192 for trunk/indexers/mgpp


Ignore:
Timestamp:
2005-06-29T13:29:30+12:00 (19 years ago)
Author:
kjdon
Message:

modified so that jni stuff works on Mac OS. in configure.in changed the names of some of the vars that george had added.

Location:
trunk/indexers/mgpp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mgpp/configure

    r8063 r10192  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by Autoconf 2.50.
     3# Generated by GNU Autoconf 2.59.
    44#
    5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    6 # Free Software Foundation, Inc.
     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.
     8## --------------------- ##
     9## M4sh Initialization.  ##
     10## --------------------- ##
    911
    1012# Be Bourne compatible
     
    1214  emulate sh
    1315  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+"$@"}'='"$@"'
    1419elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    1520  set -o posix
    1621fi
     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
    1764
    1865# Name of the executable.
    19 as_me=`echo "$0" |sed 's,.*[\\/],,'`
     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
    20193
    21194if expr a : '\(a\)' >/dev/null 2>&1; then
     
    43216rm -f conf$$ conf$$.exe conf$$.file
    44217
     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
    45225as_executable_p="test -f"
    46226
    47 # Support unset when possible.
    48 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    49   as_unset=unset
    50 else
    51   as_unset=false
    52 fi
    53 
    54 # NLS nuisances.
    55 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
    56 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
    57 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
    58 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
    59 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
    60 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
    61 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
    62 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
     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
    63233
    64234# IFS
     
    69239
    70240# CDPATH.
    71 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
     241$as_unset CDPATH
     242
    72243
    73244# Name of the host.
     
    82253#
    83254ac_default_prefix=/usr/local
     255ac_config_libobj_dir=.
    84256cross_compiling=no
    85257subdirs=
    86 MFLAGS= MAKEFLAGS=
     258MFLAGS=
     259MAKEFLAGS=
    87260SHELL=${CONFIG_SHELL-/bin/sh}
    88261
     
    92265: ${ac_max_here_lines=38}
    93266
    94 # Avoid depending upon Character Ranges.
    95 ac_cr_az='abcdefghijklmnopqrstuvwxyz'
    96 ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    97 ac_cr_09='0123456789'
    98 ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
    99 
    100 # Sed expression to map a string onto a valid sh and CPP variable names.
    101 ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
    102 ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
     267# Identity of this package.
     268PACKAGE_NAME=
     269PACKAGE_TARNAME=
     270PACKAGE_VERSION=
     271PACKAGE_STRING=
     272PACKAGE_BUGREPORT=
    103273
    104274ac_unique_file="text/MGQuery.cpp"
     
    106276ac_includes_default="\
    107277#include <stdio.h>
    108 #include <sys/types.h>
    109 #include <sys/stat.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
    110284#if STDC_HEADERS
    111285# include <stdlib.h>
     
    121295# endif
    122296# include <string.h>
    123 #else
    124 # if HAVE_STRINGS_H
    125 #  include <strings.h>
    126 # endif
     297#endif
     298#if HAVE_STRINGS_H
     299# include <strings.h>
    127300#endif
    128301#if HAVE_INTTYPES_H
    129302# include <inttypes.h>
     303#else
     304# if HAVE_STDINT_H
     305#  include <stdint.h>
     306# endif
    130307#endif
    131308#if HAVE_UNISTD_H
    132309# include <unistd.h>
    133310#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 JNIINC JNISUFFIX JNIFLAGS LIBOBJS LTLIBOBJS'
     313ac_subst_files=''
    134314
    135315# Initialize some variables set by options.
     
    171351mandir='${prefix}/man'
    172352
    173 # Identity of this package.
    174 PACKAGE_NAME=
    175 PACKAGE_TARNAME=
    176 PACKAGE_VERSION=
    177 PACKAGE_STRING=
    178 PACKAGE_BUGREPORT=
    179 
    180353ac_prev=
    181354for ac_option
     
    223396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    224397    # Reject names that are not valid shell variable names.
    225     expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
     398    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    226399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    227400   { (exit 1); exit 1; }; }
     
    232405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    233406    # Reject names that are not valid shell variable names.
    234     expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
     407    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    235408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    236409   { (exit 1); exit 1; }; }
     
    310483
    311484  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    312   | --no-cr | --no-c)
     485  | --no-cr | --no-c | -n)
    313486    no_create=yes ;;
    314487
     
    414587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    415588    # Reject names that are not valid shell variable names.
    416     expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
     589    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    417590      { echo "$as_me: error: invalid package name: $ac_package" >&2
    418591   { (exit 1); exit 1; }; }
     
    427600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    428601    # Reject names that are not valid shell variable names.
    429     expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
     602    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    430603      { echo "$as_me: error: invalid package name: $ac_package" >&2
    431604   { (exit 1); exit 1; }; }
     
    459632    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    460633    # Reject names that are not valid shell variable names.
    461     expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
     634    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    462635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    463636   { (exit 1); exit 1; }; }
     
    469642    # FIXME: should be removed in autoconf 3.0.
    470643    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    471     expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
     644    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    472645      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    473646    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     
    484657
    485658# Be sure to have absolute paths.
     659for ac_var in exec_prefix prefix
     660do
     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; }; };;
     666  esac
     667done
     668
     669# Be sure to have absolute paths.
    486670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    487               localstatedir libdir includedir oldincludedir infodir mandir \
    488               exec_prefix prefix
     671          localstatedir libdir includedir oldincludedir infodir mandir
    489672do
    490673  eval ac_val=$`echo $ac_var`
    491674  case $ac_val in
    492675    [\\/$]* | ?:[\\/]* ) ;;
    493     NONE ) ;;
    494     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
     676    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    495677   { (exit 1); exit 1; }; };;
    496678  esac
     
    499681# There might be people who depend on the old broken behavior: `$host'
    500682# used to hold the argument of --host etc.
     683# FIXME: To remove some day.
    501684build=$build_alias
    502685host=$host_alias
    503686target=$target_alias
    504687
    505 # FIXME: should be removed in autoconf 3.0.
     688# FIXME: To remove some day.
    506689if test "x$host_alias" != x; then
    507690  if test "x$build_alias" = x; then
     
    519702test "$silent" = yes && exec 6>/dev/null
    520703
     704
    521705# Find the source files, if location was not specified.
    522706if test -z "$srcdir"; then
    523707  ac_srcdir_defaulted=yes
    524708  # Try the directory containing this script, then its parent.
    525   ac_prog=$0
    526   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
    527   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'`
    528721  srcdir=$ac_confdir
    529722  if test ! -r $srcdir/$ac_unique_file; then
     
    535728if test ! -r $srcdir/$ac_unique_file; then
    536729  if test "$ac_srcdir_defaulted" = yes; then
    537     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
     730    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    538731   { (exit 1); exit 1; }; }
    539732  else
    540     { echo "$as_me: error: cannot find sources in $srcdir" >&2
     733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    541734   { (exit 1); exit 1; }; }
    542735  fi
    543736fi
     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; }; }
    544740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    545741ac_env_build_alias_set=${build_alias+set}
     
    590786  # Omit some internal or obsolete options to make the list less imposing.
    591787  # This message is too long to be a string in the A/UX 3.1 sh.
    592   cat <<EOF
     788  cat <<_ACEOF
    593789\`configure' configures this package to adapt to many kinds of systems.
    594790
     
    611807      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    612808
    613 EOF
    614 
    615   cat <<EOF
     809_ACEOF
     810
     811  cat <<_ACEOF
    616812Installation directories:
    617813  --prefix=PREFIX         install architecture-independent files in PREFIX
    618                           [$ac_default_prefix]
     814              [$ac_default_prefix]
    619815  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    620                           [PREFIX]
     816              [PREFIX]
    621817
    622818By default, \`make install' will install all the files in
     
    640836  --infodir=DIR          info documentation [PREFIX/info]
    641837  --mandir=DIR           man documentation [PREFIX/man]
    642 EOF
    643 
    644   cat <<\EOF
     838_ACEOF
     839
     840  cat <<\_ACEOF
    645841
    646842Program names:
     
    648844  --program-suffix=SUFFIX            append SUFFIX to installed program names
    649845  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    650 EOF
     846_ACEOF
    651847fi
    652848
    653849if test -n "$ac_init_help"; then
    654850
    655   cat <<\EOF
     851  cat <<\_ACEOF
    656852
    657853Optional Features:
     
    683879it to find libraries and programs with nonstandard names/locations.
    684880
    685 EOF
     881_ACEOF
    686882fi
    687883
     
    689885  # If there are subdirs, report their specific --help.
    690886  ac_popdir=`pwd`
    691   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
    692     cd $ac_subdir
    693     # A "../" for each directory in /$ac_subdir.
    694     ac_dots=`echo $ac_subdir |
    695              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
    696 
    697     case $srcdir in
    698     .) # No --srcdir option.  We are building in place.
    699       ac_sub_srcdir=$srcdir ;;
    700     [\\/]* | ?:[\\/]* ) # Absolute path.
    701       ac_sub_srcdir=$srcdir/$ac_subdir ;;
    702     *) # Relative path.
    703       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
    704     esac
    705 
     887  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
     888    test -d $ac_dir || continue
     889    ac_builddir=.
     890
     891if test "$ac_dir" != .; then
     892  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     893  # A "../" for each directory in $ac_dir_suffix.
     894  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     895else
     896  ac_dir_suffix= ac_top_builddir=
     897fi
     898
     899case $srcdir in
     900  .)  # No --srcdir option.  We are building in place.
     901    ac_srcdir=.
     902    if test -z "$ac_top_builddir"; then
     903       ac_top_srcdir=.
     904    else
     905       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     906    fi ;;
     907  [\\/]* | ?:[\\/]* )  # Absolute path.
     908    ac_srcdir=$srcdir$ac_dir_suffix;
     909    ac_top_srcdir=$srcdir ;;
     910  *) # Relative path.
     911    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     912    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     913esac
     914
     915# Do not use `cd foo && pwd` to compute absolute paths, because
     916# the directories may not exist.
     917case `pwd` in
     918.) ac_abs_builddir="$ac_dir";;
     919*)
     920  case "$ac_dir" in
     921  .) ac_abs_builddir=`pwd`;;
     922  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     923  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     924  esac;;
     925esac
     926case $ac_abs_builddir in
     927.) ac_abs_top_builddir=${ac_top_builddir}.;;
     928*)
     929  case ${ac_top_builddir}. in
     930  .) ac_abs_top_builddir=$ac_abs_builddir;;
     931  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     932  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     933  esac;;
     934esac
     935case $ac_abs_builddir in
     936.) ac_abs_srcdir=$ac_srcdir;;
     937*)
     938  case $ac_srcdir in
     939  .) ac_abs_srcdir=$ac_abs_builddir;;
     940  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     941  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     942  esac;;
     943esac
     944case $ac_abs_builddir in
     945.) ac_abs_top_srcdir=$ac_top_srcdir;;
     946*)
     947  case $ac_top_srcdir in
     948  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     949  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     950  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     951  esac;;
     952esac
     953
     954    cd $ac_dir
    706955    # Check for guested configure; otherwise get Cygnus style configure.
    707     if test -f $ac_sub_srcdir/configure.gnu; then
     956    if test -f $ac_srcdir/configure.gnu; then
    708957      echo
    709       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
    710     elif test -f $ac_sub_srcdir/configure; then
     958      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     959    elif test -f $ac_srcdir/configure; then
    711960      echo
    712       $SHELL $ac_sub_srcdir/configure  --help=recursive
    713     elif test -f $ac_sub_srcdir/configure.ac ||
    714            test -f $ac_sub_srcdir/configure.in; then
     961      $SHELL $ac_srcdir/configure  --help=recursive
     962    elif test -f $ac_srcdir/configure.ac ||
     963       test -f $ac_srcdir/configure.in; then
    715964      echo
    716965      $ac_configure --help
    717966    else
    718       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
     967      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    719968    fi
    720969    cd $ac_popdir
     
    724973test -n "$ac_init_help" && exit 0
    725974if $ac_init_version; then
    726   cat <<\EOF
    727 
    728 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    729 Free Software Foundation, Inc.
     975  cat <<\_ACEOF
     976
     977Copyright (C) 2003 Free Software Foundation, Inc.
    730978This configure script is free software; the Free Software Foundation
    731979gives unlimited permission to copy, distribute and modify it.
    732 EOF
     980_ACEOF
    733981  exit 0
    734982fi
    735983exec 5>config.log
    736 cat >&5 <<EOF
     984cat >&5 <<_ACEOF
    737985This file contains any messages produced by compilers while
    738986running configure, to aid debugging if configure makes a mistake.
    739987
    740988It was created by $as_me, which was
    741 generated by GNU Autoconf 2.50.  Invocation command line was
     989generated by GNU Autoconf 2.59.  Invocation command line was
    742990
    743991  $ $0 $@
    744992
    745 EOF
     993_ACEOF
    746994{
    747995cat <<_ASUNAME
    748 ## ---------- ##
    749 ## Platform.  ##
    750 ## ---------- ##
     996## --------- ##
     997## Platform. ##
     998## --------- ##
    751999
    7521000hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
     
    7671015/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    7681016
    769 PATH = $PATH
    770 
    7711017_ASUNAME
     1018
     1019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1020for as_dir in $PATH
     1021do
     1022  IFS=$as_save_IFS
     1023  test -z "$as_dir" && as_dir=.
     1024  echo "PATH: $as_dir"
     1025done
     1026
    7721027} >&5
    7731028
    774 cat >&5 <<EOF
    775 ## ------------ ##
    776 ## Core tests.  ##
    777 ## ------------ ##
    778 
    779 EOF
     1029cat >&5 <<_ACEOF
     1030
     1031
     1032## ----------- ##
     1033## Core tests. ##
     1034## ----------- ##
     1035
     1036_ACEOF
     1037
    7801038
    7811039# Keep a trace of the command line.
    7821040# Strip out --no-create and --no-recursion so they do not pile up.
     1041# Strip out --silent because we don't want to record it for future runs.
    7831042# Also quote any args containing shell meta-characters.
     1043# Make two passes to allow for proper duplicate-argument suppression.
    7841044ac_configure_args=
     1045ac_configure_args0=
     1046ac_configure_args1=
    7851047ac_sep=
    786 for ac_arg
     1048ac_must_keep_next=false
     1049for ac_pass in 1 2
    7871050do
    788   case $ac_arg in
    789   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    790   | --no-cr | --no-c) ;;
    791   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    792   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    793   *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    794     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
    795     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    796     ac_sep=" " ;;
    797   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
    798      ac_sep=" " ;;
    799   esac
    800   # Get rid of the leading space.
     1051  for ac_arg
     1052  do
     1053    case $ac_arg in
     1054    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
     1055    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     1056    | -silent | --silent | --silen | --sile | --sil)
     1057      continue ;;
     1058    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1059      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1060    esac
     1061    case $ac_pass in
     1062    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1063    2)
     1064      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1065      if test $ac_must_keep_next = true; then
     1066    ac_must_keep_next=false # Got value, back to normal.
     1067      else
     1068    case $ac_arg in
     1069      *=* | --config-cache | -C | -disable-* | --disable-* \
     1070      | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     1071      | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     1072      | -with-* | --with-* | -without-* | --without-* | --x)
     1073        case "$ac_configure_args0 " in
     1074          "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     1075        esac
     1076        ;;
     1077      -* ) ac_must_keep_next=true ;;
     1078    esac
     1079      fi
     1080      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1081      # Get rid of the leading space.
     1082      ac_sep=" "
     1083      ;;
     1084    esac
     1085  done
    8011086done
     1087$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1088$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    8021089
    8031090# When interrupted or exit'd, cleanup temporary files, and complete
    8041091# config.log.  We remove comments because anyway the quotes in there
    8051092# would cause problems or look ugly.
     1093# WARNING: Be sure not to use single quotes in there, as some shells,
     1094# such as our DU 5.0 friend, will then `close' the trap.
    8061095trap 'exit_status=$?
    8071096  # Save into config.log some information that might help in debugging.
    808   echo >&5
    809   echo "## ----------------- ##" >&5
    810   echo "## Cache variables.  ##" >&5
    811   echo "## ----------------- ##" >&5
    812   echo >&5
    813   # The following way of writing the cache mishandles newlines in values,
     1097  {
     1098    echo
     1099
     1100    cat <<\_ASBOX
     1101## ---------------- ##
     1102## Cache variables. ##
     1103## ---------------- ##
     1104_ASBOX
     1105    echo
     1106    # The following way of writing the cache mishandles newlines in values,
    8141107{
    8151108  (set) 2>&1 |
     
    8171110    *ac_space=\ *)
    8181111      sed -n \
    819         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    820           s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1112    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1113      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    8211114      ;;
    8221115    *)
    8231116      sed -n \
    824         "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1117    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    8251118      ;;
    8261119    esac;
    827 } >&5
    828   sed "/^$/d" confdefs.h >conftest.log
    829   if test -s conftest.log; then
    830     echo >&5
    831     echo "## ------------ ##" >&5
    832     echo "## confdefs.h.  ##" >&5
    833     echo "## ------------ ##" >&5
    834     echo >&5
    835     cat conftest.log >&5
    836   fi
    837   (echo; echo) >&5
    838   test "$ac_signal" != 0 &&
    839     echo "$as_me: caught signal $ac_signal" >&5
    840   echo "$as_me: exit $exit_status" >&5
    841   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
     1120}
     1121    echo
     1122
     1123    cat <<\_ASBOX
     1124## ----------------- ##
     1125## Output variables. ##
     1126## ----------------- ##
     1127_ASBOX
     1128    echo
     1129    for ac_var in $ac_subst_vars
     1130    do
     1131      eval ac_val=$`echo $ac_var`
     1132      echo "$ac_var='"'"'$ac_val'"'"'"
     1133    done | sort
     1134    echo
     1135
     1136    if test -n "$ac_subst_files"; then
     1137      cat <<\_ASBOX
     1138## ------------- ##
     1139## Output files. ##
     1140## ------------- ##
     1141_ASBOX
     1142      echo
     1143      for ac_var in $ac_subst_files
     1144      do
     1145    eval ac_val=$`echo $ac_var`
     1146    echo "$ac_var='"'"'$ac_val'"'"'"
     1147      done | sort
     1148      echo
     1149    fi
     1150
     1151    if test -s confdefs.h; then
     1152      cat <<\_ASBOX
     1153## ----------- ##
     1154## confdefs.h. ##
     1155## ----------- ##
     1156_ASBOX
     1157      echo
     1158      sed "/^$/d" confdefs.h | sort
     1159      echo
     1160    fi
     1161    test "$ac_signal" != 0 &&
     1162      echo "$as_me: caught signal $ac_signal"
     1163    echo "$as_me: exit $exit_status"
     1164  } >&5
     1165  rm -f core *.core &&
     1166  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    8421167    exit $exit_status
    8431168     ' 0
    8441169for ac_signal in 1 2 13 15; do
    845   trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
     1170  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    8461171done
    8471172ac_signal=0
     
    8511176# AIX cpp loses on an empty file, so make sure it contains at least a newline.
    8521177echo >confdefs.h
     1178
     1179# Predefined preprocessor variables.
     1180
     1181cat >>confdefs.h <<_ACEOF
     1182#define PACKAGE_NAME "$PACKAGE_NAME"
     1183_ACEOF
     1184
     1185
     1186cat >>confdefs.h <<_ACEOF
     1187#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
     1188_ACEOF
     1189
     1190
     1191cat >>confdefs.h <<_ACEOF
     1192#define PACKAGE_VERSION "$PACKAGE_VERSION"
     1193_ACEOF
     1194
     1195
     1196cat >>confdefs.h <<_ACEOF
     1197#define PACKAGE_STRING "$PACKAGE_STRING"
     1198_ACEOF
     1199
     1200
     1201cat >>confdefs.h <<_ACEOF
     1202#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     1203_ACEOF
     1204
    8531205
    8541206# Let the site file select an alternate cache file if it wants to.
     
    8631215for ac_site_file in $CONFIG_SITE; do
    8641216  if test -r "$ac_site_file"; then
    865     { echo "$as_me:865: loading site script $ac_site_file" >&5
     1217    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    8661218echo "$as_me: loading site script $ac_site_file" >&6;}
    867     cat "$ac_site_file" >&5
     1219    sed 's/^/| /' "$ac_site_file" >&5
    8681220    . "$ac_site_file"
    8691221  fi
     
    8741226  # files actually), so we avoid doing that.
    8751227  if test -f "$cache_file"; then
    876     { echo "$as_me:876: loading cache $cache_file" >&5
     1228    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    8771229echo "$as_me: loading cache $cache_file" >&6;}
    8781230    case $cache_file in
     
    8821234  fi
    8831235else
    884   { echo "$as_me:884: creating cache $cache_file" >&5
     1236  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    8851237echo "$as_me: creating cache $cache_file" >&6;}
    8861238  >$cache_file
     
    8891241# Check that the precious variables saved in the cache have kept the same
    8901242# value.
    891 ac_suggest_removing_cache=false
     1243ac_cache_corrupted=false
    8921244for ac_var in `(set) 2>&1 |
    893                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1245           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    8941246  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    8951247  eval ac_new_set=\$ac_env_${ac_var}_set
     
    8981250  case $ac_old_set,$ac_new_set in
    8991251    set,)
    900       { echo "$as_me:900: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    901 echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    902       ac_suggest_removing_cache=: ;;
     1252      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1253echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1254      ac_cache_corrupted=: ;;
    9031255    ,set)
    904       { echo "$as_me:904: WARNING: \`$ac_var' was not set in the previous run" >&5
    905 echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
    906       ac_suggest_removing_cache=: ;;
     1256      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1257echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1258      ac_cache_corrupted=: ;;
    9071259    ,);;
    9081260    *)
    9091261      if test "x$ac_old_val" != "x$ac_new_val"; then
    910         { echo "$as_me:910: WARNING: \`$ac_var' has changed since the previous run:" >&5
    911 echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
    912         { echo "$as_me:912: WARNING:   former value:  $ac_old_val" >&5
    913 echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
    914         { echo "$as_me:914: WARNING:   current value: $ac_new_val" >&5
    915 echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
    916         ac_suggest_removing_cache=:
     1262    { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1263echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1264    { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1265echo "$as_me:   former value:  $ac_old_val" >&2;}
     1266    { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1267echo "$as_me:   current value: $ac_new_val" >&2;}
     1268    ac_cache_corrupted=:
    9171269      fi;;
    9181270  esac
     1271  # Pass precious variables to config.status.
     1272  if test "$ac_new_set" = set; then
     1273    case $ac_new_val in
     1274    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1275      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1276    *) ac_arg=$ac_var=$ac_new_val ;;
     1277    esac
     1278    case " $ac_configure_args " in
     1279      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
     1280      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     1281    esac
     1282  fi
    9191283done
    920 if $ac_suggest_removing_cache; then
    921   { echo "$as_me:921: WARNING: changes in the environment can compromise the build" >&5
    922 echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
    923   { echo "$as_me:923: WARNING: consider removing $cache_file and starting over" >&5
    924 echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
     1284if $ac_cache_corrupted; then
     1285  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1286echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1287  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1288echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1289   { (exit 1); exit 1; }; }
    9251290fi
    9261291
     
    9311296ac_compiler_gnu=$ac_cv_c_compiler_gnu
    9321297
    933 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    934   *c*,-n*) ECHO_N= ECHO_C='
    935 ' ECHO_T='  ' ;;
    936   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    937   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
    938 esac
    939 echo "#! $SHELL" >conftest.sh
    940 echo  "exit 0"   >>conftest.sh
    941 chmod +x conftest.sh
    942 if { (echo "$as_me:942: PATH=\".;.\"; conftest.sh") >&5
    943   (PATH=".;."; conftest.sh) 2>&5
    944   ac_status=$?
    945   echo "$as_me:945: \$? = $ac_status" >&5
    946   (exit $ac_status); }; then
    947   ac_path_separator=';'
    948 else
    949   ac_path_separator=:
    950 fi
    951 PATH_SEPARATOR="$ac_path_separator"
    952 rm -f conftest.sh
    953 
    954 ac_config_headers="$ac_config_headers config.h"
    955 
    956 if test "$program_transform_name" = s,x,x,; then
    957   program_transform_name=
    958 else
    959   # Double any \ or $.  echo might interpret backslashes.
    960   cat <<\EOF >conftest.sed
    961 s,\\,\\\\,g; s,\$,$$,g
    962 EOF
    963   program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
    964   rm -f conftest.sed
    965 fi
     1298
     1299
     1300
     1301
     1302
     1303
     1304
     1305
     1306
     1307
     1308
     1309
     1310
     1311
     1312
     1313
     1314
     1315
     1316          ac_config_headers="$ac_config_headers config.h"
     1317
    9661318test "$program_prefix" != NONE &&
    967   program_transform_name="s,^,${program_prefix},;$program_transform_name"
     1319  program_transform_name="s,^,$program_prefix,;$program_transform_name"
    9681320# Use a double $ so make ignores it.
    9691321test "$program_suffix" != NONE &&
    970   program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
    971 
    972 # sed with no file args requires a program.
    973 test -z "$program_transform_name" && program_transform_name="s,x,x,"
     1322  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
     1323# Double any \ or $.  echo might interpret backslashes.
     1324# By default was `s,x,x', remove it if useless.
     1325cat <<\_ACEOF >conftest.sed
     1326s/[\\$]/&&/g;s/;s,x,x,$//
     1327_ACEOF
     1328program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
     1329rm conftest.sed
     1330
    9741331
    9751332PACKAGE=mgpp
     
    9781335LDFLAGS=
    9791336
    980 cat >>confdefs.h <<EOF
     1337cat >>confdefs.h <<_ACEOF
    9811338#define PACKAGE "$PACKAGE"
    982 EOF
    983 
    984 cat >>confdefs.h <<EOF
     1339_ACEOF
     1340
     1341cat >>confdefs.h <<_ACEOF
    9851342#define VERSION "$VERSION"
    986 EOF
     1343_ACEOF
     1344
     1345
     1346
    9871347
    9881348ac_ext=cc
     
    9921352ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    9931353if test -n "$ac_tool_prefix"; then
    994   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
     1354  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    9951355  do
    9961356    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    9971357set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    998 echo "$as_me:998: checking for $ac_word" >&5
     1358echo "$as_me:$LINENO: checking for $ac_word" >&5
    9991359echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    10001360if test "${ac_cv_prog_CXX+set}" = set; then
     
    10041364  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    10051365else
    1006   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1007 ac_dummy="$PATH"
    1008 for ac_dir in $ac_dummy; do
    1009   IFS=$ac_save_IFS
    1010   test -z "$ac_dir" && ac_dir=.
    1011   $as_executable_p "$ac_dir/$ac_word" || continue
    1012 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    1013 echo "$as_me:1013: found $ac_dir/$ac_word" >&5
    1014 break
     1366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1367for as_dir in $PATH
     1368do
     1369  IFS=$as_save_IFS
     1370  test -z "$as_dir" && as_dir=.
     1371  for ac_exec_ext in '' $ac_executable_extensions; do
     1372  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1373    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     1374    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1375    break 2
     1376  fi
     1377done
    10151378done
    10161379
     
    10191382CXX=$ac_cv_prog_CXX
    10201383if test -n "$CXX"; then
    1021   echo "$as_me:1021: result: $CXX" >&5
     1384  echo "$as_me:$LINENO: result: $CXX" >&5
    10221385echo "${ECHO_T}$CXX" >&6
    10231386else
    1024   echo "$as_me:1024: result: no" >&5
     1387  echo "$as_me:$LINENO: result: no" >&5
    10251388echo "${ECHO_T}no" >&6
    10261389fi
     
    10311394if test -z "$CXX"; then
    10321395  ac_ct_CXX=$CXX
    1033   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
     1396  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    10341397do
    10351398  # Extract the first word of "$ac_prog", so it can be a program name with args.
    10361399set dummy $ac_prog; ac_word=$2
    1037 echo "$as_me:1037: checking for $ac_word" >&5
     1400echo "$as_me:$LINENO: checking for $ac_word" >&5
    10381401echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    10391402if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     
    10431406  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    10441407else
    1045   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1046 ac_dummy="$PATH"
    1047 for ac_dir in $ac_dummy; do
    1048   IFS=$ac_save_IFS
    1049   test -z "$ac_dir" && ac_dir=.
    1050   $as_executable_p "$ac_dir/$ac_word" || continue
    1051 ac_cv_prog_ac_ct_CXX="$ac_prog"
    1052 echo "$as_me:1052: found $ac_dir/$ac_word" >&5
    1053 break
     1408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1409for as_dir in $PATH
     1410do
     1411  IFS=$as_save_IFS
     1412  test -z "$as_dir" && as_dir=.
     1413  for ac_exec_ext in '' $ac_executable_extensions; do
     1414  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1415    ac_cv_prog_ac_ct_CXX="$ac_prog"
     1416    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1417    break 2
     1418  fi
     1419done
    10541420done
    10551421
     
    10581424ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    10591425if test -n "$ac_ct_CXX"; then
    1060   echo "$as_me:1060: result: $ac_ct_CXX" >&5
     1426  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    10611427echo "${ECHO_T}$ac_ct_CXX" >&6
    10621428else
    1063   echo "$as_me:1063: result: no" >&5
     1429  echo "$as_me:$LINENO: result: no" >&5
    10641430echo "${ECHO_T}no" >&6
    10651431fi
     
    10721438fi
    10731439
     1440
     1441# Provide some information about the compiler.
     1442echo "$as_me:$LINENO:" \
     1443     "checking for C++ compiler version" >&5
     1444ac_compiler=`set X $ac_compile; echo $2`
     1445{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1446  (eval $ac_compiler --version </dev/null >&5) 2>&5
     1447  ac_status=$?
     1448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1449  (exit $ac_status); }
     1450{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1451  (eval $ac_compiler -v </dev/null >&5) 2>&5
     1452  ac_status=$?
     1453  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1454  (exit $ac_status); }
     1455{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1456  (eval $ac_compiler -V </dev/null >&5) 2>&5
     1457  ac_status=$?
     1458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1459  (exit $ac_status); }
     1460
    10741461cat >conftest.$ac_ext <<_ACEOF
    1075 #line 1075 "configure"
    1076 #include "confdefs.h"
     1462/* confdefs.h.  */
     1463_ACEOF
     1464cat confdefs.h >>conftest.$ac_ext
     1465cat >>conftest.$ac_ext <<_ACEOF
     1466/* end confdefs.h.  */
    10771467
    10781468int
     
    10851475_ACEOF
    10861476ac_clean_files_save=$ac_clean_files
    1087 ac_clean_files="$ac_clean_files a.out a.exe"
     1477ac_clean_files="$ac_clean_files a.out a.exe b.out"
    10881478# Try to create an executable without -o first, disregard a.out.
    1089 # It will help us diagnose broken compiler, and finding out an intuition
     1479# It will help us diagnose broken compilers, and finding out an intuition
    10901480# of exeext.
    1091 echo "$as_me:1091: checking for C++ compiler default output" >&5
    1092 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
     1481echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
     1482echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
    10931483ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1094 if { (eval echo "$as_me:1094: \"$ac_link_default\"") >&5
     1484if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    10951485  (eval $ac_link_default) 2>&5
    10961486  ac_status=$?
    1097   echo "$as_me:1097: \$? = $ac_status" >&5
     1487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10981488  (exit $ac_status); }; then
    1099   for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
     1489  # Find the output, starting from the most likely.  This scheme is
     1490# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1491# resort.
     1492
     1493# Be careful to initialize this variable, since it used to be cached.
     1494# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1495ac_cv_exeext=
     1496# b.out is created by i960 compilers.
     1497for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     1498do
     1499  test -f "$ac_file" || continue
    11001500  case $ac_file in
    1101     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
    1102     a.out ) # We found the default executable, but exeext='' is most
    1103             # certainly right.
    1104             break;;
    1105     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1106           export ac_cv_exeext
    1107           break;;
    1108     * ) break;;
     1501    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1502    ;;
     1503    conftest.$ac_ext )
     1504    # This is the source file.
     1505    ;;
     1506    [ab].out )
     1507    # We found the default executable, but exeext='' is most
     1508    # certainly right.
     1509    break;;
     1510    *.* )
     1511    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1512    # FIXME: I believe we export ac_cv_exeext for Libtool,
     1513    # but it would be cool to find out if it's true.  Does anybody
     1514    # maintain Libtool? --akim.
     1515    export ac_cv_exeext
     1516    break;;
     1517    * )
     1518    break;;
    11091519  esac
    11101520done
    11111521else
    11121522  echo "$as_me: failed program was:" >&5
    1113 cat conftest.$ac_ext >&5
    1114 { { echo "$as_me:1114: error: C++ compiler cannot create executables" >&5
    1115 echo "$as_me: error: C++ compiler cannot create executables" >&2;}
     1523sed 's/^/| /' conftest.$ac_ext >&5
     1524
     1525{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
     1526See \`config.log' for more details." >&5
     1527echo "$as_me: error: C++ compiler cannot create executables
     1528See \`config.log' for more details." >&2;}
    11161529   { (exit 77); exit 77; }; }
    11171530fi
    11181531
    11191532ac_exeext=$ac_cv_exeext
    1120 echo "$as_me:1120: result: $ac_file" >&5
     1533echo "$as_me:$LINENO: result: $ac_file" >&5
    11211534echo "${ECHO_T}$ac_file" >&6
    11221535
    11231536# Check the compiler produces executables we can run.  If not, either
    11241537# the compiler is broken, or we cross compile.
    1125 echo "$as_me:1125: checking whether the C++ compiler works" >&5
     1538echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
    11261539echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
    11271540# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     
    11291542if test "$cross_compiling" != yes; then
    11301543  if { ac_try='./$ac_file'
    1131   { (eval echo "$as_me:1131: \"$ac_try\"") >&5
    1132   (eval $ac_try) 2>&5
    1133   ac_status=$?
    1134   echo "$as_me:1134: \$? = $ac_status" >&5
     1544  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1545  (eval $ac_try) 2>&5
     1546  ac_status=$?
     1547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11351548  (exit $ac_status); }; }; then
    11361549    cross_compiling=no
     
    11391552    cross_compiling=yes
    11401553    else
    1141     { { echo "$as_me:1141: error: cannot run C++ compiled programs.
    1142 If you meant to cross compile, use \`--host'." >&5
     1554    { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
     1555If you meant to cross compile, use \`--host'.
     1556See \`config.log' for more details." >&5
    11431557echo "$as_me: error: cannot run C++ compiled programs.
    1144 If you meant to cross compile, use \`--host'." >&2;}
     1558If you meant to cross compile, use \`--host'.
     1559See \`config.log' for more details." >&2;}
    11451560   { (exit 1); exit 1; }; }
    11461561    fi
    11471562  fi
    11481563fi
    1149 echo "$as_me:1149: result: yes" >&5
     1564echo "$as_me:$LINENO: result: yes" >&5
    11501565echo "${ECHO_T}yes" >&6
    11511566
    1152 rm -f a.out a.exe conftest$ac_cv_exeext
     1567rm -f a.out a.exe conftest$ac_cv_exeext b.out
    11531568ac_clean_files=$ac_clean_files_save
    11541569# Check the compiler produces executables we can run.  If not, either
    11551570# the compiler is broken, or we cross compile.
    1156 echo "$as_me:1156: checking whether we are cross compiling" >&5
     1571echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    11571572echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1158 echo "$as_me:1158: result: $cross_compiling" >&5
     1573echo "$as_me:$LINENO: result: $cross_compiling" >&5
    11591574echo "${ECHO_T}$cross_compiling" >&6
    11601575
    1161 echo "$as_me:1161: checking for executable suffix" >&5
    1162 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
    1163 if { (eval echo "$as_me:1163: \"$ac_link\"") >&5
     1576echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1577echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1578if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    11641579  (eval $ac_link) 2>&5
    11651580  ac_status=$?
    1166   echo "$as_me:1166: \$? = $ac_status" >&5
     1581  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11671582  (exit $ac_status); }; then
    11681583  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     
    11701585# work properly (i.e., refer to `conftest.exe'), while it won't with
    11711586# `rm'.
    1172 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
     1587for ac_file in conftest.exe conftest conftest.*; do
     1588  test -f "$ac_file" || continue
    11731589  case $ac_file in
    1174     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
     1590    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    11751591    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1176           export ac_cv_exeext
    1177           break;;
     1592      export ac_cv_exeext
     1593      break;;
    11781594    * ) break;;
    11791595  esac
    11801596done
    11811597else
    1182   { { echo "$as_me:1182: error: cannot compute EXEEXT: cannot compile and link" >&5
    1183 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
     1598  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     1599See \`config.log' for more details." >&5
     1600echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     1601See \`config.log' for more details." >&2;}
    11841602   { (exit 1); exit 1; }; }
    11851603fi
    11861604
    11871605rm -f conftest$ac_cv_exeext
    1188 echo "$as_me:1188: result: $ac_cv_exeext" >&5
     1606echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    11891607echo "${ECHO_T}$ac_cv_exeext" >&6
    11901608
     
    11921610EXEEXT=$ac_cv_exeext
    11931611ac_exeext=$EXEEXT
    1194 echo "$as_me:1194: checking for object suffix" >&5
    1195 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
     1612echo "$as_me:$LINENO: checking for suffix of object files" >&5
     1613echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    11961614if test "${ac_cv_objext+set}" = set; then
    11971615  echo $ECHO_N "(cached) $ECHO_C" >&6
    11981616else
    11991617  cat >conftest.$ac_ext <<_ACEOF
    1200 #line 1200 "configure"
    1201 #include "confdefs.h"
     1618/* confdefs.h.  */
     1619_ACEOF
     1620cat confdefs.h >>conftest.$ac_ext
     1621cat >>conftest.$ac_ext <<_ACEOF
     1622/* end confdefs.h.  */
    12021623
    12031624int
     
    12101631_ACEOF
    12111632rm -f conftest.o conftest.obj
    1212 if { (eval echo "$as_me:1212: \"$ac_compile\"") >&5
     1633if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    12131634  (eval $ac_compile) 2>&5
    12141635  ac_status=$?
    1215   echo "$as_me:1215: \$? = $ac_status" >&5
     1636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12161637  (exit $ac_status); }; then
    12171638  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    12181639  case $ac_file in
    1219     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
     1640    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    12201641    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    12211642       break;;
     
    12241645else
    12251646  echo "$as_me: failed program was:" >&5
    1226 cat conftest.$ac_ext >&5
    1227 { { echo "$as_me:1227: error: cannot compute OBJEXT: cannot compile" >&5
    1228 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
     1647sed 's/^/| /' conftest.$ac_ext >&5
     1648
     1649{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     1650See \`config.log' for more details." >&5
     1651echo "$as_me: error: cannot compute suffix of object files: cannot compile
     1652See \`config.log' for more details." >&2;}
    12291653   { (exit 1); exit 1; }; }
    12301654fi
     
    12321656rm -f conftest.$ac_cv_objext conftest.$ac_ext
    12331657fi
    1234 echo "$as_me:1234: result: $ac_cv_objext" >&5
     1658echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    12351659echo "${ECHO_T}$ac_cv_objext" >&6
    12361660OBJEXT=$ac_cv_objext
    12371661ac_objext=$OBJEXT
    1238 echo "$as_me:1238: checking whether we are using the GNU C++ compiler" >&5
     1662echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    12391663echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    12401664if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     
    12421666else
    12431667  cat >conftest.$ac_ext <<_ACEOF
    1244 #line 1244 "configure"
    1245 #include "confdefs.h"
     1668/* confdefs.h.  */
     1669_ACEOF
     1670cat confdefs.h >>conftest.$ac_ext
     1671cat >>conftest.$ac_ext <<_ACEOF
     1672/* end confdefs.h.  */
    12461673
    12471674int
     
    12571684_ACEOF
    12581685rm -f conftest.$ac_objext
    1259 if { (eval echo "$as_me:1259: \"$ac_compile\"") >&5
    1260   (eval $ac_compile) 2>&5
    1261   ac_status=$?
    1262   echo "$as_me:1262: \$? = $ac_status" >&5
     1686if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1687  (eval $ac_compile) 2>conftest.er1
     1688  ac_status=$?
     1689  grep -v '^ *+' conftest.er1 >conftest.err
     1690  rm -f conftest.er1
     1691  cat conftest.err >&5
     1692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12631693  (exit $ac_status); } &&
    1264          { ac_try='test -s conftest.$ac_objext'
    1265   { (eval echo "$as_me:1265: \"$ac_try\"") >&5
    1266   (eval $ac_try) 2>&5
    1267   ac_status=$?
    1268   echo "$as_me:1268: \$? = $ac_status" >&5
     1694     { ac_try='test -z "$ac_cxx_werror_flag"
     1695             || test ! -s conftest.err'
     1696  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1697  (eval $ac_try) 2>&5
     1698  ac_status=$?
     1699  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1700  (exit $ac_status); }; } &&
     1701     { ac_try='test -s conftest.$ac_objext'
     1702  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1703  (eval $ac_try) 2>&5
     1704  ac_status=$?
     1705  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12691706  (exit $ac_status); }; }; then
    12701707  ac_compiler_gnu=yes
    12711708else
    12721709  echo "$as_me: failed program was:" >&5
    1273 cat conftest.$ac_ext >&5
     1710sed 's/^/| /' conftest.$ac_ext >&5
     1711
    12741712ac_compiler_gnu=no
    12751713fi
    1276 rm -f conftest.$ac_objext conftest.$ac_ext
     1714rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    12771715ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    12781716
    12791717fi
    1280 echo "$as_me:1280: result: $ac_cv_cxx_compiler_gnu" >&5
     1718echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    12811719echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    12821720GXX=`test $ac_compiler_gnu = yes && echo yes`
     
    12841722ac_save_CXXFLAGS=$CXXFLAGS
    12851723CXXFLAGS="-g"
    1286 echo "$as_me:1286: checking whether $CXX accepts -g" >&5
     1724echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    12871725echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    12881726if test "${ac_cv_prog_cxx_g+set}" = set; then
     
    12901728else
    12911729  cat >conftest.$ac_ext <<_ACEOF
    1292 #line 1292 "configure"
    1293 #include "confdefs.h"
     1730/* confdefs.h.  */
     1731_ACEOF
     1732cat confdefs.h >>conftest.$ac_ext
     1733cat >>conftest.$ac_ext <<_ACEOF
     1734/* end confdefs.h.  */
    12941735
    12951736int
     
    13021743_ACEOF
    13031744rm -f conftest.$ac_objext
    1304 if { (eval echo "$as_me:1304: \"$ac_compile\"") >&5
    1305   (eval $ac_compile) 2>&5
    1306   ac_status=$?
    1307   echo "$as_me:1307: \$? = $ac_status" >&5
     1745if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1746  (eval $ac_compile) 2>conftest.er1
     1747  ac_status=$?
     1748  grep -v '^ *+' conftest.er1 >conftest.err
     1749  rm -f conftest.er1
     1750  cat conftest.err >&5
     1751  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13081752  (exit $ac_status); } &&
    1309          { ac_try='test -s conftest.$ac_objext'
    1310   { (eval echo "$as_me:1310: \"$ac_try\"") >&5
    1311   (eval $ac_try) 2>&5
    1312   ac_status=$?
    1313   echo "$as_me:1313: \$? = $ac_status" >&5
     1753     { ac_try='test -z "$ac_cxx_werror_flag"
     1754             || test ! -s conftest.err'
     1755  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1756  (eval $ac_try) 2>&5
     1757  ac_status=$?
     1758  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1759  (exit $ac_status); }; } &&
     1760     { ac_try='test -s conftest.$ac_objext'
     1761  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1762  (eval $ac_try) 2>&5
     1763  ac_status=$?
     1764  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13141765  (exit $ac_status); }; }; then
    13151766  ac_cv_prog_cxx_g=yes
    13161767else
    13171768  echo "$as_me: failed program was:" >&5
    1318 cat conftest.$ac_ext >&5
     1769sed 's/^/| /' conftest.$ac_ext >&5
     1770
    13191771ac_cv_prog_cxx_g=no
    13201772fi
    1321 rm -f conftest.$ac_objext conftest.$ac_ext
    1322 fi
    1323 echo "$as_me:1323: result: $ac_cv_prog_cxx_g" >&5
     1773rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     1774fi
     1775echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    13241776echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    13251777if test "$ac_test_CXXFLAGS" = set; then
     
    13391791fi
    13401792for ac_declaration in \
    1341    ''\
    1342    '#include <stdlib.h>' \
     1793   '' \
    13431794   'extern "C" void std::exit (int) throw (); using std::exit;' \
    13441795   'extern "C" void std::exit (int); using std::exit;' \
     
    13481799do
    13491800  cat >conftest.$ac_ext <<_ACEOF
    1350 #line 1350 "configure"
    1351 #include "confdefs.h"
     1801/* confdefs.h.  */
     1802_ACEOF
     1803cat confdefs.h >>conftest.$ac_ext
     1804cat >>conftest.$ac_ext <<_ACEOF
     1805/* end confdefs.h.  */
     1806$ac_declaration
    13521807#include <stdlib.h>
     1808int
     1809main ()
     1810{
     1811exit (42);
     1812  ;
     1813  return 0;
     1814}
     1815_ACEOF
     1816rm -f conftest.$ac_objext
     1817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1818  (eval $ac_compile) 2>conftest.er1
     1819  ac_status=$?
     1820  grep -v '^ *+' conftest.er1 >conftest.err
     1821  rm -f conftest.er1
     1822  cat conftest.err >&5
     1823  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1824  (exit $ac_status); } &&
     1825     { ac_try='test -z "$ac_cxx_werror_flag"
     1826             || test ! -s conftest.err'
     1827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1828  (eval $ac_try) 2>&5
     1829  ac_status=$?
     1830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1831  (exit $ac_status); }; } &&
     1832     { ac_try='test -s conftest.$ac_objext'
     1833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1834  (eval $ac_try) 2>&5
     1835  ac_status=$?
     1836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1837  (exit $ac_status); }; }; then
     1838  :
     1839else
     1840  echo "$as_me: failed program was:" >&5
     1841sed 's/^/| /' conftest.$ac_ext >&5
     1842
     1843continue
     1844fi
     1845rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     1846  cat >conftest.$ac_ext <<_ACEOF
     1847/* confdefs.h.  */
     1848_ACEOF
     1849cat confdefs.h >>conftest.$ac_ext
     1850cat >>conftest.$ac_ext <<_ACEOF
     1851/* end confdefs.h.  */
    13531852$ac_declaration
    13541853int
     
    13611860_ACEOF
    13621861rm -f conftest.$ac_objext
    1363 if { (eval echo "$as_me:1363: \"$ac_compile\"") >&5
    1364   (eval $ac_compile) 2>&5
    1365   ac_status=$?
    1366   echo "$as_me:1366: \$? = $ac_status" >&5
     1862if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1863  (eval $ac_compile) 2>conftest.er1
     1864  ac_status=$?
     1865  grep -v '^ *+' conftest.er1 >conftest.err
     1866  rm -f conftest.er1
     1867  cat conftest.err >&5
     1868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13671869  (exit $ac_status); } &&
    1368          { ac_try='test -s conftest.$ac_objext'
    1369   { (eval echo "$as_me:1369: \"$ac_try\"") >&5
    1370   (eval $ac_try) 2>&5
    1371   ac_status=$?
    1372   echo "$as_me:1372: \$? = $ac_status" >&5
    1373   (exit $ac_status); }; }; then
    1374   :
    1375 else
    1376   echo "$as_me: failed program was:" >&5
    1377 cat conftest.$ac_ext >&5
    1378 continue
    1379 fi
    1380 rm -f conftest.$ac_objext conftest.$ac_ext
    1381   cat >conftest.$ac_ext <<_ACEOF
    1382 #line 1382 "configure"
    1383 #include "confdefs.h"
    1384 $ac_declaration
    1385 int
    1386 main ()
    1387 {
    1388 exit (42);
    1389   ;
    1390   return 0;
    1391 }
    1392 _ACEOF
    1393 rm -f conftest.$ac_objext
    1394 if { (eval echo "$as_me:1394: \"$ac_compile\"") >&5
    1395   (eval $ac_compile) 2>&5
    1396   ac_status=$?
    1397   echo "$as_me:1397: \$? = $ac_status" >&5
    1398   (exit $ac_status); } &&
    1399          { ac_try='test -s conftest.$ac_objext'
    1400   { (eval echo "$as_me:1400: \"$ac_try\"") >&5
    1401   (eval $ac_try) 2>&5
    1402   ac_status=$?
    1403   echo "$as_me:1403: \$? = $ac_status" >&5
     1870     { ac_try='test -z "$ac_cxx_werror_flag"
     1871             || test ! -s conftest.err'
     1872  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1873  (eval $ac_try) 2>&5
     1874  ac_status=$?
     1875  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1876  (exit $ac_status); }; } &&
     1877     { ac_try='test -s conftest.$ac_objext'
     1878  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1879  (eval $ac_try) 2>&5
     1880  ac_status=$?
     1881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14041882  (exit $ac_status); }; }; then
    14051883  break
    14061884else
    14071885  echo "$as_me: failed program was:" >&5
    1408 cat conftest.$ac_ext >&5
    1409 fi
    1410 rm -f conftest.$ac_objext conftest.$ac_ext
     1886sed 's/^/| /' conftest.$ac_ext >&5
     1887
     1888fi
     1889rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    14111890done
    1412 echo '#ifdef __cplusplus' >>confdefs.h
    1413 echo $ac_declaration      >>confdefs.h
    1414 echo '#endif'             >>confdefs.h
     1891rm -f conftest*
     1892if test -n "$ac_declaration"; then
     1893  echo '#ifdef __cplusplus' >>confdefs.h
     1894  echo $ac_declaration      >>confdefs.h
     1895  echo '#endif'             >>confdefs.h
     1896fi
    14151897
    14161898ac_ext=c
     
    14201902ac_compiler_gnu=$ac_cv_c_compiler_gnu
    14211903
    1422 for ac_prog in mawk gawk nawk awk
     1904for ac_prog in gawk mawk nawk awk
    14231905do
    14241906  # Extract the first word of "$ac_prog", so it can be a program name with args.
    14251907set dummy $ac_prog; ac_word=$2
    1426 echo "$as_me:1426: checking for $ac_word" >&5
     1908echo "$as_me:$LINENO: checking for $ac_word" >&5
    14271909echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    14281910if test "${ac_cv_prog_AWK+set}" = set; then
     
    14321914  ac_cv_prog_AWK="$AWK" # Let the user override the test.
    14331915else
    1434   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1435 ac_dummy="$PATH"
    1436 for ac_dir in $ac_dummy; do
    1437   IFS=$ac_save_IFS
    1438   test -z "$ac_dir" && ac_dir=.
    1439   $as_executable_p "$ac_dir/$ac_word" || continue
    1440 ac_cv_prog_AWK="$ac_prog"
    1441 echo "$as_me:1441: found $ac_dir/$ac_word" >&5
    1442 break
     1916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1917for as_dir in $PATH
     1918do
     1919  IFS=$as_save_IFS
     1920  test -z "$as_dir" && as_dir=.
     1921  for ac_exec_ext in '' $ac_executable_extensions; do
     1922  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1923    ac_cv_prog_AWK="$ac_prog"
     1924    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1925    break 2
     1926  fi
     1927done
    14431928done
    14441929
     
    14471932AWK=$ac_cv_prog_AWK
    14481933if test -n "$AWK"; then
    1449   echo "$as_me:1449: result: $AWK" >&5
     1934  echo "$as_me:$LINENO: result: $AWK" >&5
    14501935echo "${ECHO_T}$AWK" >&6
    14511936else
    1452   echo "$as_me:1452: result: no" >&5
     1937  echo "$as_me:$LINENO: result: no" >&5
    14531938echo "${ECHO_T}no" >&6
    14541939fi
     
    14611946  # Extract the first word of "$ac_prog", so it can be a program name with args.
    14621947set dummy $ac_prog; ac_word=$2
    1463 echo "$as_me:1463: checking for $ac_word" >&5
     1948echo "$as_me:$LINENO: checking for $ac_word" >&5
    14641949echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    14651950if test "${ac_cv_prog_YACC+set}" = set; then
     
    14691954  ac_cv_prog_YACC="$YACC" # Let the user override the test.
    14701955else
    1471   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1472 ac_dummy="$PATH"
    1473 for ac_dir in $ac_dummy; do
    1474   IFS=$ac_save_IFS
    1475   test -z "$ac_dir" && ac_dir=.
    1476   $as_executable_p "$ac_dir/$ac_word" || continue
    1477 ac_cv_prog_YACC="$ac_prog"
    1478 echo "$as_me:1478: found $ac_dir/$ac_word" >&5
    1479 break
     1956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1957for as_dir in $PATH
     1958do
     1959  IFS=$as_save_IFS
     1960  test -z "$as_dir" && as_dir=.
     1961  for ac_exec_ext in '' $ac_executable_extensions; do
     1962  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1963    ac_cv_prog_YACC="$ac_prog"
     1964    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1965    break 2
     1966  fi
     1967done
    14801968done
    14811969
     
    14841972YACC=$ac_cv_prog_YACC
    14851973if test -n "$YACC"; then
    1486   echo "$as_me:1486: result: $YACC" >&5
     1974  echo "$as_me:$LINENO: result: $YACC" >&5
    14871975echo "${ECHO_T}$YACC" >&6
    14881976else
    1489   echo "$as_me:1489: result: no" >&5
     1977  echo "$as_me:$LINENO: result: no" >&5
    14901978echo "${ECHO_T}no" >&6
    14911979fi
     
    15031991  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    15041992set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1505 echo "$as_me:1505: checking for $ac_word" >&5
     1993echo "$as_me:$LINENO: checking for $ac_word" >&5
    15061994echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    15071995if test "${ac_cv_prog_CC+set}" = set; then
     
    15111999  ac_cv_prog_CC="$CC" # Let the user override the test.
    15122000else
    1513   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1514 ac_dummy="$PATH"
    1515 for ac_dir in $ac_dummy; do
    1516   IFS=$ac_save_IFS
    1517   test -z "$ac_dir" && ac_dir=.
    1518   $as_executable_p "$ac_dir/$ac_word" || continue
    1519 ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1520 echo "$as_me:1520: found $ac_dir/$ac_word" >&5
    1521 break
     2001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2002for as_dir in $PATH
     2003do
     2004  IFS=$as_save_IFS
     2005  test -z "$as_dir" && as_dir=.
     2006  for ac_exec_ext in '' $ac_executable_extensions; do
     2007  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2008    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     2009    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2010    break 2
     2011  fi
     2012done
    15222013done
    15232014
     
    15262017CC=$ac_cv_prog_CC
    15272018if test -n "$CC"; then
    1528   echo "$as_me:1528: result: $CC" >&5
     2019  echo "$as_me:$LINENO: result: $CC" >&5
    15292020echo "${ECHO_T}$CC" >&6
    15302021else
    1531   echo "$as_me:1531: result: no" >&5
     2022  echo "$as_me:$LINENO: result: no" >&5
    15322023echo "${ECHO_T}no" >&6
    15332024fi
     
    15382029  # Extract the first word of "gcc", so it can be a program name with args.
    15392030set dummy gcc; ac_word=$2
    1540 echo "$as_me:1540: checking for $ac_word" >&5
     2031echo "$as_me:$LINENO: checking for $ac_word" >&5
    15412032echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    15422033if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     
    15462037  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    15472038else
    1548   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1549 ac_dummy="$PATH"
    1550 for ac_dir in $ac_dummy; do
    1551   IFS=$ac_save_IFS
    1552   test -z "$ac_dir" && ac_dir=.
    1553   $as_executable_p "$ac_dir/$ac_word" || continue
    1554 ac_cv_prog_ac_ct_CC="gcc"
    1555 echo "$as_me:1555: found $ac_dir/$ac_word" >&5
    1556 break
     2039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2040for as_dir in $PATH
     2041do
     2042  IFS=$as_save_IFS
     2043  test -z "$as_dir" && as_dir=.
     2044  for ac_exec_ext in '' $ac_executable_extensions; do
     2045  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2046    ac_cv_prog_ac_ct_CC="gcc"
     2047    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2048    break 2
     2049  fi
     2050done
    15572051done
    15582052
     
    15612055ac_ct_CC=$ac_cv_prog_ac_ct_CC
    15622056if test -n "$ac_ct_CC"; then
    1563   echo "$as_me:1563: result: $ac_ct_CC" >&5
     2057  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    15642058echo "${ECHO_T}$ac_ct_CC" >&6
    15652059else
    1566   echo "$as_me:1566: result: no" >&5
     2060  echo "$as_me:$LINENO: result: no" >&5
    15672061echo "${ECHO_T}no" >&6
    15682062fi
     
    15772071  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    15782072set dummy ${ac_tool_prefix}cc; ac_word=$2
    1579 echo "$as_me:1579: checking for $ac_word" >&5
     2073echo "$as_me:$LINENO: checking for $ac_word" >&5
    15802074echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    15812075if test "${ac_cv_prog_CC+set}" = set; then
     
    15852079  ac_cv_prog_CC="$CC" # Let the user override the test.
    15862080else
    1587   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1588 ac_dummy="$PATH"
    1589 for ac_dir in $ac_dummy; do
    1590   IFS=$ac_save_IFS
    1591   test -z "$ac_dir" && ac_dir=.
    1592   $as_executable_p "$ac_dir/$ac_word" || continue
    1593 ac_cv_prog_CC="${ac_tool_prefix}cc"
    1594 echo "$as_me:1594: found $ac_dir/$ac_word" >&5
    1595 break
     2081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2082for as_dir in $PATH
     2083do
     2084  IFS=$as_save_IFS
     2085  test -z "$as_dir" && as_dir=.
     2086  for ac_exec_ext in '' $ac_executable_extensions; do
     2087  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2088    ac_cv_prog_CC="${ac_tool_prefix}cc"
     2089    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2090    break 2
     2091  fi
     2092done
    15962093done
    15972094
     
    16002097CC=$ac_cv_prog_CC
    16012098if test -n "$CC"; then
    1602   echo "$as_me:1602: result: $CC" >&5
     2099  echo "$as_me:$LINENO: result: $CC" >&5
    16032100echo "${ECHO_T}$CC" >&6
    16042101else
    1605   echo "$as_me:1605: result: no" >&5
     2102  echo "$as_me:$LINENO: result: no" >&5
    16062103echo "${ECHO_T}no" >&6
    16072104fi
     
    16122109  # Extract the first word of "cc", so it can be a program name with args.
    16132110set dummy cc; ac_word=$2
    1614 echo "$as_me:1614: checking for $ac_word" >&5
     2111echo "$as_me:$LINENO: checking for $ac_word" >&5
    16152112echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    16162113if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     
    16202117  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    16212118else
    1622   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1623 ac_dummy="$PATH"
    1624 for ac_dir in $ac_dummy; do
    1625   IFS=$ac_save_IFS
    1626   test -z "$ac_dir" && ac_dir=.
    1627   $as_executable_p "$ac_dir/$ac_word" || continue
    1628 ac_cv_prog_ac_ct_CC="cc"
    1629 echo "$as_me:1629: found $ac_dir/$ac_word" >&5
    1630 break
     2119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2120for as_dir in $PATH
     2121do
     2122  IFS=$as_save_IFS
     2123  test -z "$as_dir" && as_dir=.
     2124  for ac_exec_ext in '' $ac_executable_extensions; do
     2125  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2126    ac_cv_prog_ac_ct_CC="cc"
     2127    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2128    break 2
     2129  fi
     2130done
    16312131done
    16322132
     
    16352135ac_ct_CC=$ac_cv_prog_ac_ct_CC
    16362136if test -n "$ac_ct_CC"; then
    1637   echo "$as_me:1637: result: $ac_ct_CC" >&5
     2137  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    16382138echo "${ECHO_T}$ac_ct_CC" >&6
    16392139else
    1640   echo "$as_me:1640: result: no" >&5
     2140  echo "$as_me:$LINENO: result: no" >&5
    16412141echo "${ECHO_T}no" >&6
    16422142fi
     
    16512151  # Extract the first word of "cc", so it can be a program name with args.
    16522152set dummy cc; ac_word=$2
    1653 echo "$as_me:1653: checking for $ac_word" >&5
     2153echo "$as_me:$LINENO: checking for $ac_word" >&5
    16542154echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    16552155if test "${ac_cv_prog_CC+set}" = set; then
     
    16602160else
    16612161  ac_prog_rejected=no
    1662   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1663 ac_dummy="$PATH"
    1664 for ac_dir in $ac_dummy; do
    1665   IFS=$ac_save_IFS
    1666   test -z "$ac_dir" && ac_dir=.
    1667   $as_executable_p "$ac_dir/$ac_word" || continue
    1668 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
    1669   ac_prog_rejected=yes
    1670   continue
    1671 fi
    1672 ac_cv_prog_CC="cc"
    1673 echo "$as_me:1673: found $ac_dir/$ac_word" >&5
    1674 break
     2162as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2163for as_dir in $PATH
     2164do
     2165  IFS=$as_save_IFS
     2166  test -z "$as_dir" && as_dir=.
     2167  for ac_exec_ext in '' $ac_executable_extensions; do
     2168  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2169    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     2170       ac_prog_rejected=yes
     2171       continue
     2172     fi
     2173    ac_cv_prog_CC="cc"
     2174    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2175    break 2
     2176  fi
     2177done
    16752178done
    16762179
     
    16842187    # first if we set CC to just the basename; use the full file name.
    16852188    shift
    1686     set dummy "$ac_dir/$ac_word" ${1+"$@"}
    1687     shift
    1688     ac_cv_prog_CC="$@"
     2189    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    16892190  fi
    16902191fi
     
    16932194CC=$ac_cv_prog_CC
    16942195if test -n "$CC"; then
    1695   echo "$as_me:1695: result: $CC" >&5
     2196  echo "$as_me:$LINENO: result: $CC" >&5
    16962197echo "${ECHO_T}$CC" >&6
    16972198else
    1698   echo "$as_me:1698: result: no" >&5
     2199  echo "$as_me:$LINENO: result: no" >&5
    16992200echo "${ECHO_T}no" >&6
    17002201fi
     
    17072208    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    17082209set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1709 echo "$as_me:1709: checking for $ac_word" >&5
     2210echo "$as_me:$LINENO: checking for $ac_word" >&5
    17102211echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    17112212if test "${ac_cv_prog_CC+set}" = set; then
     
    17152216  ac_cv_prog_CC="$CC" # Let the user override the test.
    17162217else
    1717   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1718 ac_dummy="$PATH"
    1719 for ac_dir in $ac_dummy; do
    1720   IFS=$ac_save_IFS
    1721   test -z "$ac_dir" && ac_dir=.
    1722   $as_executable_p "$ac_dir/$ac_word" || continue
    1723 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1724 echo "$as_me:1724: found $ac_dir/$ac_word" >&5
    1725 break
     2218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2219for as_dir in $PATH
     2220do
     2221  IFS=$as_save_IFS
     2222  test -z "$as_dir" && as_dir=.
     2223  for ac_exec_ext in '' $ac_executable_extensions; do
     2224  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2225    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     2226    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2227    break 2
     2228  fi
     2229done
    17262230done
    17272231
     
    17302234CC=$ac_cv_prog_CC
    17312235if test -n "$CC"; then
    1732   echo "$as_me:1732: result: $CC" >&5
     2236  echo "$as_me:$LINENO: result: $CC" >&5
    17332237echo "${ECHO_T}$CC" >&6
    17342238else
    1735   echo "$as_me:1735: result: no" >&5
     2239  echo "$as_me:$LINENO: result: no" >&5
    17362240echo "${ECHO_T}no" >&6
    17372241fi
     
    17462250  # Extract the first word of "$ac_prog", so it can be a program name with args.
    17472251set dummy $ac_prog; ac_word=$2
    1748 echo "$as_me:1748: checking for $ac_word" >&5
     2252echo "$as_me:$LINENO: checking for $ac_word" >&5
    17492253echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    17502254if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     
    17542258  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    17552259else
    1756   ac_save_IFS=$IFS; IFS=$ac_path_separator
    1757 ac_dummy="$PATH"
    1758 for ac_dir in $ac_dummy; do
    1759   IFS=$ac_save_IFS
    1760   test -z "$ac_dir" && ac_dir=.
    1761   $as_executable_p "$ac_dir/$ac_word" || continue
    1762 ac_cv_prog_ac_ct_CC="$ac_prog"
    1763 echo "$as_me:1763: found $ac_dir/$ac_word" >&5
    1764 break
     2260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2261for as_dir in $PATH
     2262do
     2263  IFS=$as_save_IFS
     2264  test -z "$as_dir" && as_dir=.
     2265  for ac_exec_ext in '' $ac_executable_extensions; do
     2266  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2267    ac_cv_prog_ac_ct_CC="$ac_prog"
     2268    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2269    break 2
     2270  fi
     2271done
    17652272done
    17662273
     
    17692276ac_ct_CC=$ac_cv_prog_ac_ct_CC
    17702277if test -n "$ac_ct_CC"; then
    1771   echo "$as_me:1771: result: $ac_ct_CC" >&5
     2278  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    17722279echo "${ECHO_T}$ac_ct_CC" >&6
    17732280else
    1774   echo "$as_me:1774: result: no" >&5
     2281  echo "$as_me:$LINENO: result: no" >&5
    17752282echo "${ECHO_T}no" >&6
    17762283fi
     
    17842291fi
    17852292
    1786 test -z "$CC" && { { echo "$as_me:1786: error: no acceptable cc found in \$PATH" >&5
    1787 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
     2293
     2294test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2295See \`config.log' for more details." >&5
     2296echo "$as_me: error: no acceptable C compiler found in \$PATH
     2297See \`config.log' for more details." >&2;}
    17882298   { (exit 1); exit 1; }; }
    17892299
    1790 echo "$as_me:1790: checking whether we are using the GNU C compiler" >&5
     2300# Provide some information about the compiler.
     2301echo "$as_me:$LINENO:" \
     2302     "checking for C compiler version" >&5
     2303ac_compiler=`set X $ac_compile; echo $2`
     2304{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2305  (eval $ac_compiler --version </dev/null >&5) 2>&5
     2306  ac_status=$?
     2307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2308  (exit $ac_status); }
     2309{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2310  (eval $ac_compiler -v </dev/null >&5) 2>&5
     2311  ac_status=$?
     2312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2313  (exit $ac_status); }
     2314{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2315  (eval $ac_compiler -V </dev/null >&5) 2>&5
     2316  ac_status=$?
     2317  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2318  (exit $ac_status); }
     2319
     2320echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    17912321echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    17922322if test "${ac_cv_c_compiler_gnu+set}" = set; then
     
    17942324else
    17952325  cat >conftest.$ac_ext <<_ACEOF
    1796 #line 1796 "configure"
    1797 #include "confdefs.h"
     2326/* confdefs.h.  */
     2327_ACEOF
     2328cat confdefs.h >>conftest.$ac_ext
     2329cat >>conftest.$ac_ext <<_ACEOF
     2330/* end confdefs.h.  */
    17982331
    17992332int
     
    18092342_ACEOF
    18102343rm -f conftest.$ac_objext
    1811 if { (eval echo "$as_me:1811: \"$ac_compile\"") >&5
    1812   (eval $ac_compile) 2>&5
    1813   ac_status=$?
    1814   echo "$as_me:1814: \$? = $ac_status" >&5
     2344if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2345  (eval $ac_compile) 2>conftest.er1
     2346  ac_status=$?
     2347  grep -v '^ *+' conftest.er1 >conftest.err
     2348  rm -f conftest.er1
     2349  cat conftest.err >&5
     2350  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18152351  (exit $ac_status); } &&
    1816          { ac_try='test -s conftest.$ac_objext'
    1817   { (eval echo "$as_me:1817: \"$ac_try\"") >&5
    1818   (eval $ac_try) 2>&5
    1819   ac_status=$?
    1820   echo "$as_me:1820: \$? = $ac_status" >&5
     2352     { ac_try='test -z "$ac_c_werror_flag"
     2353             || test ! -s conftest.err'
     2354  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2355  (eval $ac_try) 2>&5
     2356  ac_status=$?
     2357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2358  (exit $ac_status); }; } &&
     2359     { ac_try='test -s conftest.$ac_objext'
     2360  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2361  (eval $ac_try) 2>&5
     2362  ac_status=$?
     2363  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18212364  (exit $ac_status); }; }; then
    18222365  ac_compiler_gnu=yes
    18232366else
    18242367  echo "$as_me: failed program was:" >&5
    1825 cat conftest.$ac_ext >&5
     2368sed 's/^/| /' conftest.$ac_ext >&5
     2369
    18262370ac_compiler_gnu=no
    18272371fi
    1828 rm -f conftest.$ac_objext conftest.$ac_ext
     2372rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    18292373ac_cv_c_compiler_gnu=$ac_compiler_gnu
    18302374
    18312375fi
    1832 echo "$as_me:1832: result: $ac_cv_c_compiler_gnu" >&5
     2376echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    18332377echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    18342378GCC=`test $ac_compiler_gnu = yes && echo yes`
     
    18362380ac_save_CFLAGS=$CFLAGS
    18372381CFLAGS="-g"
    1838 echo "$as_me:1838: checking whether $CC accepts -g" >&5
     2382echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    18392383echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    18402384if test "${ac_cv_prog_cc_g+set}" = set; then
     
    18422386else
    18432387  cat >conftest.$ac_ext <<_ACEOF
    1844 #line 1844 "configure"
    1845 #include "confdefs.h"
     2388/* confdefs.h.  */
     2389_ACEOF
     2390cat confdefs.h >>conftest.$ac_ext
     2391cat >>conftest.$ac_ext <<_ACEOF
     2392/* end confdefs.h.  */
    18462393
    18472394int
     
    18542401_ACEOF
    18552402rm -f conftest.$ac_objext
    1856 if { (eval echo "$as_me:1856: \"$ac_compile\"") >&5
    1857   (eval $ac_compile) 2>&5
    1858   ac_status=$?
    1859   echo "$as_me:1859: \$? = $ac_status" >&5
     2403if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2404  (eval $ac_compile) 2>conftest.er1
     2405  ac_status=$?
     2406  grep -v '^ *+' conftest.er1 >conftest.err
     2407  rm -f conftest.er1
     2408  cat conftest.err >&5
     2409  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18602410  (exit $ac_status); } &&
    1861          { ac_try='test -s conftest.$ac_objext'
    1862   { (eval echo "$as_me:1862: \"$ac_try\"") >&5
    1863   (eval $ac_try) 2>&5
    1864   ac_status=$?
    1865   echo "$as_me:1865: \$? = $ac_status" >&5
     2411     { ac_try='test -z "$ac_c_werror_flag"
     2412             || test ! -s conftest.err'
     2413  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2414  (eval $ac_try) 2>&5
     2415  ac_status=$?
     2416  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2417  (exit $ac_status); }; } &&
     2418     { ac_try='test -s conftest.$ac_objext'
     2419  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2420  (eval $ac_try) 2>&5
     2421  ac_status=$?
     2422  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18662423  (exit $ac_status); }; }; then
    18672424  ac_cv_prog_cc_g=yes
    18682425else
    18692426  echo "$as_me: failed program was:" >&5
    1870 cat conftest.$ac_ext >&5
     2427sed 's/^/| /' conftest.$ac_ext >&5
     2428
    18712429ac_cv_prog_cc_g=no
    18722430fi
    1873 rm -f conftest.$ac_objext conftest.$ac_ext
    1874 fi
    1875 echo "$as_me:1875: result: $ac_cv_prog_cc_g" >&5
     2431rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2432fi
     2433echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    18762434echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    18772435if test "$ac_test_CFLAGS" = set; then
     
    18902448  fi
    18912449fi
    1892 # Some people use a C++ compiler to compile C.  Since we use `exit',
    1893 # in C++ we need to declare it.  In case someone uses the same compiler
    1894 # for both compiling C and C++ we need to have the C++ compiler decide
    1895 # the declaration of exit, since it's the most demanding environment.
    1896 cat >conftest.$ac_ext <<_ACEOF
    1897 #ifndef __cplusplus
    1898   choke me
    1899 #endif
    1900 _ACEOF
    1901 rm -f conftest.$ac_objext
    1902 if { (eval echo "$as_me:1902: \"$ac_compile\"") >&5
    1903   (eval $ac_compile) 2>&5
    1904   ac_status=$?
    1905   echo "$as_me:1905: \$? = $ac_status" >&5
    1906   (exit $ac_status); } &&
    1907          { ac_try='test -s conftest.$ac_objext'
    1908   { (eval echo "$as_me:1908: \"$ac_try\"") >&5
    1909   (eval $ac_try) 2>&5
    1910   ac_status=$?
    1911   echo "$as_me:1911: \$? = $ac_status" >&5
    1912   (exit $ac_status); }; }; then
    1913   for ac_declaration in \
    1914    ''\
    1915    '#include <stdlib.h>' \
    1916    'extern "C" void std::exit (int) throw (); using std::exit;' \
    1917    'extern "C" void std::exit (int); using std::exit;' \
    1918    'extern "C" void exit (int) throw ();' \
    1919    'extern "C" void exit (int);' \
    1920    'void exit (int);'
    1921 do
    1922   cat >conftest.$ac_ext <<_ACEOF
    1923 #line 1923 "configure"
    1924 #include "confdefs.h"
    1925 #include <stdlib.h>
    1926 $ac_declaration
    1927 int
    1928 main ()
    1929 {
    1930 exit (42);
    1931   ;
    1932   return 0;
    1933 }
    1934 _ACEOF
    1935 rm -f conftest.$ac_objext
    1936 if { (eval echo "$as_me:1936: \"$ac_compile\"") >&5
    1937   (eval $ac_compile) 2>&5
    1938   ac_status=$?
    1939   echo "$as_me:1939: \$? = $ac_status" >&5
    1940   (exit $ac_status); } &&
    1941          { ac_try='test -s conftest.$ac_objext'
    1942   { (eval echo "$as_me:1942: \"$ac_try\"") >&5
    1943   (eval $ac_try) 2>&5
    1944   ac_status=$?
    1945   echo "$as_me:1945: \$? = $ac_status" >&5
    1946   (exit $ac_status); }; }; then
    1947   :
    1948 else
    1949   echo "$as_me: failed program was:" >&5
    1950 cat conftest.$ac_ext >&5
    1951 continue
    1952 fi
    1953 rm -f conftest.$ac_objext conftest.$ac_ext
    1954   cat >conftest.$ac_ext <<_ACEOF
    1955 #line 1955 "configure"
    1956 #include "confdefs.h"
    1957 $ac_declaration
    1958 int
    1959 main ()
    1960 {
    1961 exit (42);
    1962   ;
    1963   return 0;
    1964 }
    1965 _ACEOF
    1966 rm -f conftest.$ac_objext
    1967 if { (eval echo "$as_me:1967: \"$ac_compile\"") >&5
    1968   (eval $ac_compile) 2>&5
    1969   ac_status=$?
    1970   echo "$as_me:1970: \$? = $ac_status" >&5
    1971   (exit $ac_status); } &&
    1972          { ac_try='test -s conftest.$ac_objext'
    1973   { (eval echo "$as_me:1973: \"$ac_try\"") >&5
    1974   (eval $ac_try) 2>&5
    1975   ac_status=$?
    1976   echo "$as_me:1976: \$? = $ac_status" >&5
    1977   (exit $ac_status); }; }; then
    1978   break
    1979 else
    1980   echo "$as_me: failed program was:" >&5
    1981 cat conftest.$ac_ext >&5
    1982 fi
    1983 rm -f conftest.$ac_objext conftest.$ac_ext
    1984 done
    1985 echo '#ifdef __cplusplus' >>confdefs.h
    1986 echo $ac_declaration      >>confdefs.h
    1987 echo '#endif'             >>confdefs.h
    1988 
    1989 else
    1990   echo "$as_me: failed program was:" >&5
    1991 cat conftest.$ac_ext >&5
    1992 fi
    1993 rm -f conftest.$ac_objext conftest.$ac_ext
    1994 ac_ext=c
    1995 ac_cpp='$CPP $CPPFLAGS'
    1996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1999 
    2000 ac_aux_dir=
    2001 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    2002   if test -f $ac_dir/install-sh; then
    2003     ac_aux_dir=$ac_dir
    2004     ac_install_sh="$ac_aux_dir/install-sh -c"
    2005     break
    2006   elif test -f $ac_dir/install.sh; then
    2007     ac_aux_dir=$ac_dir
    2008     ac_install_sh="$ac_aux_dir/install.sh -c"
    2009     break
    2010   elif test -f $ac_dir/shtool; then
    2011     ac_aux_dir=$ac_dir
    2012     ac_install_sh="$ac_aux_dir/shtool install -c"
    2013     break
    2014   fi
    2015 done
    2016 if test -z "$ac_aux_dir"; then
    2017   { { echo "$as_me:2017: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2018 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    2019    { (exit 1); exit 1; }; }
    2020 fi
    2021 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2022 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2023 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    2024 
    2025 # Find a good install program.  We prefer a C program (faster),
    2026 # so one script is as good as another.  But avoid the broken or
    2027 # incompatible versions:
    2028 # SysV /etc/install, /usr/sbin/install
    2029 # SunOS /usr/etc/install
    2030 # IRIX /sbin/install
    2031 # AIX /bin/install
    2032 # AmigaOS /C/install, which installs bootblocks on floppy discs
    2033 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    2034 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    2035 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2036 # ./install, which can be erroneously created by make from ./install.sh.
    2037 echo "$as_me:2037: checking for a BSD compatible install" >&5
    2038 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
    2039 if test -z "$INSTALL"; then
    2040 if test "${ac_cv_path_install+set}" = set; then
    2041   echo $ECHO_N "(cached) $ECHO_C" >&6
    2042 else
    2043     ac_save_IFS=$IFS; IFS=$ac_path_separator
    2044   for ac_dir in $PATH; do
    2045     IFS=$ac_save_IFS
    2046     # Account for people who put trailing slashes in PATH elements.
    2047     case $ac_dir/ in
    2048     / | ./ | .// | /cC/* \
    2049     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
    2050     | /usr/ucb/* ) ;;
    2051     *)
    2052       # OSF1 and SCO ODT 3.0 have their own names for install.
    2053       # Don't use installbsd from OSF since it installs stuff as root
    2054       # by default.
    2055       for ac_prog in ginstall scoinst install; do
    2056         if $as_executable_p "$ac_dir/$ac_prog"; then
    2057       if test $ac_prog = install &&
    2058             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
    2059         # AIX install.  It has an incompatible calling convention.
    2060         :
    2061       elif test $ac_prog = install &&
    2062         grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
    2063         # program-specific install script used by HP pwplus--don't use.
    2064         :
    2065       else
    2066         ac_cv_path_install="$ac_dir/$ac_prog -c"
    2067         break 2
    2068       fi
    2069     fi
    2070       done
    2071       ;;
    2072     esac
    2073   done
    2074 
    2075 fi
    2076   if test "${ac_cv_path_install+set}" = set; then
    2077     INSTALL=$ac_cv_path_install
    2078   else
    2079     # As a last resort, use the slow shell script.  We don't cache a
    2080     # path for INSTALL within a source directory, because that will
    2081     # break other packages using the cache if that directory is
    2082     # removed, or if the path is relative.
    2083     INSTALL=$ac_install_sh
    2084   fi
    2085 fi
    2086 echo "$as_me:2086: result: $INSTALL" >&5
    2087 echo "${ECHO_T}$INSTALL" >&6
    2088 
    2089 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2090 # It thinks the first close brace ends the variable substitution.
    2091 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    2092 
    2093 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    2094 
    2095 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    2096 
    2097 echo "$as_me:2097: checking whether ln -s works" >&5
    2098 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    2099 LN_S=$as_ln_s
    2100 if test "$LN_S" = "ln -s"; then
    2101   echo "$as_me:2101: result: yes" >&5
    2102 echo "${ECHO_T}yes" >&6
    2103 else
    2104   echo "$as_me:2104: result: no, using $LN_S" >&5
    2105 echo "${ECHO_T}no, using $LN_S" >&6
    2106 fi
    2107 
    2108 echo "$as_me:2108: checking whether ${MAKE-make} sets \${MAKE}" >&5
    2109 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
    2110 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
    2111 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    2112   echo $ECHO_N "(cached) $ECHO_C" >&6
    2113 else
    2114   cat >conftest.make <<\EOF
    2115 all:
    2116     @echo 'ac_maketemp="${MAKE}"'
    2117 EOF
    2118 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    2119 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    2120 if test -n "$ac_maketemp"; then
    2121   eval ac_cv_prog_make_${ac_make}_set=yes
    2122 else
    2123   eval ac_cv_prog_make_${ac_make}_set=no
    2124 fi
    2125 rm -f conftest.make
    2126 fi
    2127 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    2128   echo "$as_me:2128: result: yes" >&5
    2129 echo "${ECHO_T}yes" >&6
    2130   SET_MAKE=
    2131 else
    2132   echo "$as_me:2132: result: no" >&5
    2133 echo "${ECHO_T}no" >&6
    2134   SET_MAKE="MAKE=${MAKE-make}"
    2135 fi
    2136 
    2137 if test -n "$ac_tool_prefix"; then
    2138   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    2139 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2140 echo "$as_me:2140: checking for $ac_word" >&5
    2141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2142 if test "${ac_cv_prog_RANLIB+set}" = set; then
    2143   echo $ECHO_N "(cached) $ECHO_C" >&6
    2144 else
    2145   if test -n "$RANLIB"; then
    2146   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    2147 else
    2148   ac_save_IFS=$IFS; IFS=$ac_path_separator
    2149 ac_dummy="$PATH"
    2150 for ac_dir in $ac_dummy; do
    2151   IFS=$ac_save_IFS
    2152   test -z "$ac_dir" && ac_dir=.
    2153   $as_executable_p "$ac_dir/$ac_word" || continue
    2154 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2155 echo "$as_me:2155: found $ac_dir/$ac_word" >&5
    2156 break
    2157 done
    2158 
    2159 fi
    2160 fi
    2161 RANLIB=$ac_cv_prog_RANLIB
    2162 if test -n "$RANLIB"; then
    2163   echo "$as_me:2163: result: $RANLIB" >&5
    2164 echo "${ECHO_T}$RANLIB" >&6
    2165 else
    2166   echo "$as_me:2166: result: no" >&5
    2167 echo "${ECHO_T}no" >&6
    2168 fi
    2169 
    2170 fi
    2171 if test -z "$ac_cv_prog_RANLIB"; then
    2172   ac_ct_RANLIB=$RANLIB
    2173   # Extract the first word of "ranlib", so it can be a program name with args.
    2174 set dummy ranlib; ac_word=$2
    2175 echo "$as_me:2175: checking for $ac_word" >&5
    2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2177 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    2178   echo $ECHO_N "(cached) $ECHO_C" >&6
    2179 else
    2180   if test -n "$ac_ct_RANLIB"; then
    2181   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    2182 else
    2183   ac_save_IFS=$IFS; IFS=$ac_path_separator
    2184 ac_dummy="$PATH"
    2185 for ac_dir in $ac_dummy; do
    2186   IFS=$ac_save_IFS
    2187   test -z "$ac_dir" && ac_dir=.
    2188   $as_executable_p "$ac_dir/$ac_word" || continue
    2189 ac_cv_prog_ac_ct_RANLIB="ranlib"
    2190 echo "$as_me:2190: found $ac_dir/$ac_word" >&5
    2191 break
    2192 done
    2193 
    2194   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    2195 fi
    2196 fi
    2197 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    2198 if test -n "$ac_ct_RANLIB"; then
    2199   echo "$as_me:2199: result: $ac_ct_RANLIB" >&5
    2200 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    2201 else
    2202   echo "$as_me:2202: result: no" >&5
    2203 echo "${ECHO_T}no" >&6
    2204 fi
    2205 
    2206   RANLIB=$ac_ct_RANLIB
    2207 else
    2208   RANLIB="$ac_cv_prog_RANLIB"
    2209 fi
    2210 
    2211 ac_ext=c
    2212 ac_cpp='$CPP $CPPFLAGS'
    2213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2216 echo "$as_me:2216: checking how to run the C preprocessor" >&5
    2217 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    2218 # On Suns, sometimes $CPP names a directory.
    2219 if test -n "$CPP" && test -d "$CPP"; then
    2220   CPP=
    2221 fi
    2222 if test -z "$CPP"; then
    2223   if test "${ac_cv_prog_CPP+set}" = set; then
    2224   echo $ECHO_N "(cached) $ECHO_C" >&6
    2225 else
    2226       # Double quotes because CPP needs to be expanded
    2227     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    2228     do
    2229       # break 2 since there is a loop in there.
    2230       ac_preproc_ok=false
    2231 for ac_c_preproc_warn_flag in '' yes
    2232 do
    2233   # Use a header file that comes with gcc, so configuring glibc
    2234   # with a fresh cross-compiler works.
    2235   # On the NeXT, cc -E runs the code through the compiler's parser,
    2236   # not just through cpp. "Syntax error" is here to catch this case.
    2237   cat >conftest.$ac_ext <<_ACEOF
    2238 #line 2238 "configure"
    2239 #include "confdefs.h"
    2240 #include <assert.h>
    2241                      Syntax error
    2242 _ACEOF
    2243 if { (eval echo "$as_me:2243: \"$ac_cpp conftest.$ac_ext\"") >&5
    2244   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2245   ac_status=$?
    2246   egrep -v '^ *\+' conftest.er1 >conftest.err
    2247   rm -f conftest.er1
    2248   cat conftest.err >&5
    2249   echo "$as_me:2249: \$? = $ac_status" >&5
    2250   (exit $ac_status); } >/dev/null; then
    2251   if test -s conftest.err; then
    2252     ac_cpp_err=$ac_c_preproc_warn_flag
    2253   else
    2254     ac_cpp_err=
    2255   fi
    2256 else
    2257   ac_cpp_err=yes
    2258 fi
    2259 if test -z "$ac_cpp_err"; then
    2260   :
    2261 else
    2262   echo "$as_me: failed program was:" >&5
    2263   cat conftest.$ac_ext >&5
    2264   # Broken: fails on valid input.
    2265 continue
    2266 fi
    2267 rm -f conftest.err conftest.$ac_ext
    2268 
    2269   # OK, works on sane cases.  Now check whether non-existent headers
    2270   # can be detected and how.
    2271   cat >conftest.$ac_ext <<_ACEOF
    2272 #line 2272 "configure"
    2273 #include "confdefs.h"
    2274 #include <ac_nonexistent.h>
    2275 _ACEOF
    2276 if { (eval echo "$as_me:2276: \"$ac_cpp conftest.$ac_ext\"") >&5
    2277   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2278   ac_status=$?
    2279   egrep -v '^ *\+' conftest.er1 >conftest.err
    2280   rm -f conftest.er1
    2281   cat conftest.err >&5
    2282   echo "$as_me:2282: \$? = $ac_status" >&5
    2283   (exit $ac_status); } >/dev/null; then
    2284   if test -s conftest.err; then
    2285     ac_cpp_err=$ac_c_preproc_warn_flag
    2286   else
    2287     ac_cpp_err=
    2288   fi
    2289 else
    2290   ac_cpp_err=yes
    2291 fi
    2292 if test -z "$ac_cpp_err"; then
    2293   # Broken: success on invalid input.
    2294 continue
    2295 else
    2296   echo "$as_me: failed program was:" >&5
    2297   cat conftest.$ac_ext >&5
    2298   # Passes both tests.
    2299 ac_preproc_ok=:
    2300 break
    2301 fi
    2302 rm -f conftest.err conftest.$ac_ext
    2303 
    2304 done
    2305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2306 rm -f conftest.err conftest.$ac_ext
    2307 if $ac_preproc_ok; then
    2308   break 2
    2309 fi
    2310 
    2311     done
    2312     ac_cv_prog_CPP=$CPP
    2313 
    2314 fi
    2315   CPP=$ac_cv_prog_CPP
    2316 else
    2317   ac_cv_prog_CPP=$CPP
    2318 fi
    2319 echo "$as_me:2319: result: $CPP" >&5
    2320 echo "${ECHO_T}$CPP" >&6
    2321 ac_preproc_ok=false
    2322 for ac_c_preproc_warn_flag in '' yes
    2323 do
    2324   # Use a header file that comes with gcc, so configuring glibc
    2325   # with a fresh cross-compiler works.
    2326   # On the NeXT, cc -E runs the code through the compiler's parser,
    2327   # not just through cpp. "Syntax error" is here to catch this case.
    2328   cat >conftest.$ac_ext <<_ACEOF
    2329 #line 2329 "configure"
    2330 #include "confdefs.h"
    2331 #include <assert.h>
    2332                      Syntax error
    2333 _ACEOF
    2334 if { (eval echo "$as_me:2334: \"$ac_cpp conftest.$ac_ext\"") >&5
    2335   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2336   ac_status=$?
    2337   egrep -v '^ *\+' conftest.er1 >conftest.err
    2338   rm -f conftest.er1
    2339   cat conftest.err >&5
    2340   echo "$as_me:2340: \$? = $ac_status" >&5
    2341   (exit $ac_status); } >/dev/null; then
    2342   if test -s conftest.err; then
    2343     ac_cpp_err=$ac_c_preproc_warn_flag
    2344   else
    2345     ac_cpp_err=
    2346   fi
    2347 else
    2348   ac_cpp_err=yes
    2349 fi
    2350 if test -z "$ac_cpp_err"; then
    2351   :
    2352 else
    2353   echo "$as_me: failed program was:" >&5
    2354   cat conftest.$ac_ext >&5
    2355   # Broken: fails on valid input.
    2356 continue
    2357 fi
    2358 rm -f conftest.err conftest.$ac_ext
    2359 
    2360   # OK, works on sane cases.  Now check whether non-existent headers
    2361   # can be detected and how.
    2362   cat >conftest.$ac_ext <<_ACEOF
    2363 #line 2363 "configure"
    2364 #include "confdefs.h"
    2365 #include <ac_nonexistent.h>
    2366 _ACEOF
    2367 if { (eval echo "$as_me:2367: \"$ac_cpp conftest.$ac_ext\"") >&5
    2368   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2369   ac_status=$?
    2370   egrep -v '^ *\+' conftest.er1 >conftest.err
    2371   rm -f conftest.er1
    2372   cat conftest.err >&5
    2373   echo "$as_me:2373: \$? = $ac_status" >&5
    2374   (exit $ac_status); } >/dev/null; then
    2375   if test -s conftest.err; then
    2376     ac_cpp_err=$ac_c_preproc_warn_flag
    2377   else
    2378     ac_cpp_err=
    2379   fi
    2380 else
    2381   ac_cpp_err=yes
    2382 fi
    2383 if test -z "$ac_cpp_err"; then
    2384   # Broken: success on invalid input.
    2385 continue
    2386 else
    2387   echo "$as_me: failed program was:" >&5
    2388   cat conftest.$ac_ext >&5
    2389   # Passes both tests.
    2390 ac_preproc_ok=:
    2391 break
    2392 fi
    2393 rm -f conftest.err conftest.$ac_ext
    2394 
    2395 done
    2396 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2397 rm -f conftest.err conftest.$ac_ext
    2398 if $ac_preproc_ok; then
    2399   :
    2400 else
    2401   { { echo "$as_me:2401: error: C preprocessor \"$CPP\" fails sanity check" >&5
    2402 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
    2403    { (exit 1); exit 1; }; }
    2404 fi
    2405 
    2406 ac_ext=c
    2407 ac_cpp='$CPP $CPPFLAGS'
    2408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2411 
    2412 echo "$as_me:2412: checking for AIX" >&5
    2413 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    2414 cat >conftest.$ac_ext <<_ACEOF
    2415 #line 2415 "configure"
    2416 #include "confdefs.h"
    2417 #ifdef _AIX
    2418   yes
    2419 #endif
    2420 
    2421 _ACEOF
    2422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2423   egrep "yes" >/dev/null 2>&1; then
    2424   echo "$as_me:2424: result: yes" >&5
    2425 echo "${ECHO_T}yes" >&6
    2426 cat >>confdefs.h <<\EOF
    2427 #define _ALL_SOURCE 1
    2428 EOF
    2429 
    2430 else
    2431   echo "$as_me:2431: result: no" >&5
    2432 echo "${ECHO_T}no" >&6
    2433 fi
    2434 rm -f conftest*
    2435 
    2436 echo "$as_me:2436: checking for POSIXized ISC" >&5
    2437 echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
    2438 if test -d /etc/conf/kconfig.d &&
    2439    grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
    2440 then
    2441   echo "$as_me:2441: result: yes" >&5
    2442 echo "${ECHO_T}yes" >&6
    2443   ISC=yes # If later tests want to check for ISC.
    2444 
    2445 cat >>confdefs.h <<\EOF
    2446 #define _POSIX_SOURCE 1
    2447 EOF
    2448 
    2449   if test "$GCC" = yes; then
    2450     CC="$CC -posix"
    2451   else
    2452     CC="$CC -Xp"
    2453   fi
    2454 else
    2455   echo "$as_me:2455: result: no" >&5
    2456 echo "${ECHO_T}no" >&6
    2457   ISC=
    2458 fi
    2459 
    2460 echo "$as_me:2460: checking for minix/config.h" >&5
    2461 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    2462 if test "${ac_cv_header_minix_config_h+set}" = set; then
    2463   echo $ECHO_N "(cached) $ECHO_C" >&6
    2464 else
    2465   cat >conftest.$ac_ext <<_ACEOF
    2466 #line 2466 "configure"
    2467 #include "confdefs.h"
    2468 #include <minix/config.h>
    2469 _ACEOF
    2470 if { (eval echo "$as_me:2470: \"$ac_cpp conftest.$ac_ext\"") >&5
    2471   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2472   ac_status=$?
    2473   egrep -v '^ *\+' conftest.er1 >conftest.err
    2474   rm -f conftest.er1
    2475   cat conftest.err >&5
    2476   echo "$as_me:2476: \$? = $ac_status" >&5
    2477   (exit $ac_status); } >/dev/null; then
    2478   if test -s conftest.err; then
    2479     ac_cpp_err=$ac_c_preproc_warn_flag
    2480   else
    2481     ac_cpp_err=
    2482   fi
    2483 else
    2484   ac_cpp_err=yes
    2485 fi
    2486 if test -z "$ac_cpp_err"; then
    2487   ac_cv_header_minix_config_h=yes
    2488 else
    2489   echo "$as_me: failed program was:" >&5
    2490   cat conftest.$ac_ext >&5
    2491   ac_cv_header_minix_config_h=no
    2492 fi
    2493 rm -f conftest.err conftest.$ac_ext
    2494 fi
    2495 echo "$as_me:2495: result: $ac_cv_header_minix_config_h" >&5
    2496 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    2497 if test $ac_cv_header_minix_config_h = yes; then
    2498   MINIX=yes
    2499 else
    2500   MINIX=
    2501 fi
    2502 
    2503 if test "$MINIX" = yes; then
    2504 
    2505 cat >>confdefs.h <<\EOF
    2506 #define _POSIX_SOURCE 1
    2507 EOF
    2508 
    2509 cat >>confdefs.h <<\EOF
    2510 #define _POSIX_1_SOURCE 2
    2511 EOF
    2512 
    2513 cat >>confdefs.h <<\EOF
    2514 #define _MINIX 1
    2515 EOF
    2516 
    2517 fi
    2518 
    2519 echo "$as_me:2519: checking for ${CC-cc} option to accept ANSI C" >&5
    2520 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
    2521 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2522   echo $ECHO_N "(cached) $ECHO_C" >&6
    2523 else
    2524   ac_cv_prog_cc_stdc=no
    2525 ac_save_CFLAGS="$CFLAGS"
    2526 # Don't try gcc -ansi; that turns off useful extensions and
    2527 # breaks some systems' header files.
    2528 # AIX           -qlanglvl=ansi
    2529 # Ultrix and OSF/1  -std1
    2530 # HP-UX         -Aa -D_HPUX_SOURCE
    2531 # SVR4          -Xc
    2532 for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
    2533 do
    2534   CFLAGS="$ac_save_CFLAGS $ac_arg"
    2535   cat >conftest.$ac_ext <<_ACEOF
    2536 #line 2536 "configure"
    2537 #include "confdefs.h"
    2538 #if !defined(__STDC__) || __STDC__ != 1
    2539 choke me
    2540 #endif
    2541 
    2542 int
    2543 main ()
    2544 {
    2545 int test (int i, double x);
    2546 struct s1 {int (*f) (int a);};
    2547 struct s2 {int (*f) (double a);};
    2548   ;
    2549   return 0;
    2550 }
    2551 _ACEOF
    2552 rm -f conftest.$ac_objext
    2553 if { (eval echo "$as_me:2553: \"$ac_compile\"") >&5
    2554   (eval $ac_compile) 2>&5
    2555   ac_status=$?
    2556   echo "$as_me:2556: \$? = $ac_status" >&5
    2557   (exit $ac_status); } &&
    2558          { ac_try='test -s conftest.$ac_objext'
    2559   { (eval echo "$as_me:2559: \"$ac_try\"") >&5
    2560   (eval $ac_try) 2>&5
    2561   ac_status=$?
    2562   echo "$as_me:2562: \$? = $ac_status" >&5
    2563   (exit $ac_status); }; }; then
    2564   ac_cv_prog_cc_stdc="$ac_arg"; break
    2565 else
    2566   echo "$as_me: failed program was:" >&5
    2567 cat conftest.$ac_ext >&5
    2568 fi
    2569 rm -f conftest.$ac_objext conftest.$ac_ext
    2570 done
    2571 CFLAGS="$ac_save_CFLAGS"
    2572 
    2573 fi
    2574 
    2575 echo "$as_me:2575: result: $ac_cv_prog_cc_stdc" >&5
    2576 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2577 case "x$ac_cv_prog_cc_stdc" in
    2578   x|xno) ;;
    2579   *) CC="$CC $ac_cv_prog_cc_stdc" ;;
    2580 esac
    2581 
    2582 echo "$as_me:2582: checking for function prototypes" >&5
    2583 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
    2584 if test "$ac_cv_prog_cc_stdc" != no; then
    2585   echo "$as_me:2585: result: yes" >&5
    2586 echo "${ECHO_T}yes" >&6
    2587   cat >>confdefs.h <<\EOF
    2588 #define PROTOTYPES 1
    2589 EOF
    2590 
    2591   U= ANSI2KNR=
    2592 else
    2593   echo "$as_me:2593: result: no" >&5
    2594 echo "${ECHO_T}no" >&6
    2595   U=_ ANSI2KNR=ansi2knr
    2596 fi
    2597 
    2598 echo "$as_me:2598: checking for $CC option to accept ANSI C" >&5
     2450echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    25992451echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    26002452if test "${ac_cv_prog_cc_stdc+set}" = set; then
     
    26042456ac_save_CC=$CC
    26052457cat >conftest.$ac_ext <<_ACEOF
    2606 #line 2606 "configure"
    2607 #include "confdefs.h"
     2458/* confdefs.h.  */
     2459_ACEOF
     2460cat confdefs.h >>conftest.$ac_ext
     2461cat >>conftest.$ac_ext <<_ACEOF
     2462/* end confdefs.h.  */
    26082463#include <stdarg.h>
    26092464#include <stdio.h>
     
    26282483  return s;
    26292484}
     2485
     2486/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     2487   function prototypes and stuff, but not '\xHH' hex character constants.
     2488   These don't provoke an error unfortunately, instead are silently treated
     2489   as 'x'.  The following induces an error, until -std1 is added to get
     2490   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     2491   array size at least.  It's necessary to write '\x00'==0 to get something
     2492   that's true only with -std1.  */
     2493int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2494
    26302495int test (int i, double x);
    26312496struct s1 {int (*f) (int a);};
     
    26532518  CC="$ac_save_CC $ac_arg"
    26542519  rm -f conftest.$ac_objext
    2655 if { (eval echo "$as_me:2655: \"$ac_compile\"") >&5
    2656   (eval $ac_compile) 2>&5
    2657   ac_status=$?
    2658   echo "$as_me:2658: \$? = $ac_status" >&5
     2520if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2521  (eval $ac_compile) 2>conftest.er1
     2522  ac_status=$?
     2523  grep -v '^ *+' conftest.er1 >conftest.err
     2524  rm -f conftest.er1
     2525  cat conftest.err >&5
     2526  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26592527  (exit $ac_status); } &&
    2660          { ac_try='test -s conftest.$ac_objext'
    2661   { (eval echo "$as_me:2661: \"$ac_try\"") >&5
    2662   (eval $ac_try) 2>&5
    2663   ac_status=$?
    2664   echo "$as_me:2664: \$? = $ac_status" >&5
     2528     { ac_try='test -z "$ac_c_werror_flag"
     2529             || test ! -s conftest.err'
     2530  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2531  (eval $ac_try) 2>&5
     2532  ac_status=$?
     2533  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2534  (exit $ac_status); }; } &&
     2535     { ac_try='test -s conftest.$ac_objext'
     2536  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2537  (eval $ac_try) 2>&5
     2538  ac_status=$?
     2539  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26652540  (exit $ac_status); }; }; then
    26662541  ac_cv_prog_cc_stdc=$ac_arg
     
    26682543else
    26692544  echo "$as_me: failed program was:" >&5
    2670 cat conftest.$ac_ext >&5
    2671 fi
    2672 rm -f conftest.$ac_objext
     2545sed 's/^/| /' conftest.$ac_ext >&5
     2546
     2547fi
     2548rm -f conftest.err conftest.$ac_objext
    26732549done
    26742550rm -f conftest.$ac_ext conftest.$ac_objext
     
    26792555case "x$ac_cv_prog_cc_stdc" in
    26802556  x|xno)
    2681     echo "$as_me:2681: result: none needed" >&5
     2557    echo "$as_me:$LINENO: result: none needed" >&5
    26822558echo "${ECHO_T}none needed" >&6 ;;
    26832559  *)
    2684     echo "$as_me:2684: result: $ac_cv_prog_cc_stdc" >&5
     2560    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    26852561echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    26862562    CC="$CC $ac_cv_prog_cc_stdc" ;;
    26872563esac
    26882564
    2689 echo "$as_me:2689: checking for an ANSI C-conforming const" >&5
     2565# Some people use a C++ compiler to compile C.  Since we use `exit',
     2566# in C++ we need to declare it.  In case someone uses the same compiler
     2567# for both compiling C and C++ we need to have the C++ compiler decide
     2568# the declaration of exit, since it's the most demanding environment.
     2569cat >conftest.$ac_ext <<_ACEOF
     2570#ifndef __cplusplus
     2571  choke me
     2572#endif
     2573_ACEOF
     2574rm -f conftest.$ac_objext
     2575if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2576  (eval $ac_compile) 2>conftest.er1
     2577  ac_status=$?
     2578  grep -v '^ *+' conftest.er1 >conftest.err
     2579  rm -f conftest.er1
     2580  cat conftest.err >&5
     2581  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2582  (exit $ac_status); } &&
     2583     { ac_try='test -z "$ac_c_werror_flag"
     2584             || test ! -s conftest.err'
     2585  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2586  (eval $ac_try) 2>&5
     2587  ac_status=$?
     2588  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2589  (exit $ac_status); }; } &&
     2590     { ac_try='test -s conftest.$ac_objext'
     2591  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2592  (eval $ac_try) 2>&5
     2593  ac_status=$?
     2594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2595  (exit $ac_status); }; }; then
     2596  for ac_declaration in \
     2597   '' \
     2598   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2599   'extern "C" void std::exit (int); using std::exit;' \
     2600   'extern "C" void exit (int) throw ();' \
     2601   'extern "C" void exit (int);' \
     2602   'void exit (int);'
     2603do
     2604  cat >conftest.$ac_ext <<_ACEOF
     2605/* confdefs.h.  */
     2606_ACEOF
     2607cat confdefs.h >>conftest.$ac_ext
     2608cat >>conftest.$ac_ext <<_ACEOF
     2609/* end confdefs.h.  */
     2610$ac_declaration
     2611#include <stdlib.h>
     2612int
     2613main ()
     2614{
     2615exit (42);
     2616  ;
     2617  return 0;
     2618}
     2619_ACEOF
     2620rm -f conftest.$ac_objext
     2621if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2622  (eval $ac_compile) 2>conftest.er1
     2623  ac_status=$?
     2624  grep -v '^ *+' conftest.er1 >conftest.err
     2625  rm -f conftest.er1
     2626  cat conftest.err >&5
     2627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2628  (exit $ac_status); } &&
     2629     { ac_try='test -z "$ac_c_werror_flag"
     2630             || test ! -s conftest.err'
     2631  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2632  (eval $ac_try) 2>&5
     2633  ac_status=$?
     2634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2635  (exit $ac_status); }; } &&
     2636     { ac_try='test -s conftest.$ac_objext'
     2637  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2638  (eval $ac_try) 2>&5
     2639  ac_status=$?
     2640  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2641  (exit $ac_status); }; }; then
     2642  :
     2643else
     2644  echo "$as_me: failed program was:" >&5
     2645sed 's/^/| /' conftest.$ac_ext >&5
     2646
     2647continue
     2648fi
     2649rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2650  cat >conftest.$ac_ext <<_ACEOF
     2651/* confdefs.h.  */
     2652_ACEOF
     2653cat confdefs.h >>conftest.$ac_ext
     2654cat >>conftest.$ac_ext <<_ACEOF
     2655/* end confdefs.h.  */
     2656$ac_declaration
     2657int
     2658main ()
     2659{
     2660exit (42);
     2661  ;
     2662  return 0;
     2663}
     2664_ACEOF
     2665rm -f conftest.$ac_objext
     2666if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2667  (eval $ac_compile) 2>conftest.er1
     2668  ac_status=$?
     2669  grep -v '^ *+' conftest.er1 >conftest.err
     2670  rm -f conftest.er1
     2671  cat conftest.err >&5
     2672  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2673  (exit $ac_status); } &&
     2674     { ac_try='test -z "$ac_c_werror_flag"
     2675             || test ! -s conftest.err'
     2676  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2677  (eval $ac_try) 2>&5
     2678  ac_status=$?
     2679  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2680  (exit $ac_status); }; } &&
     2681     { ac_try='test -s conftest.$ac_objext'
     2682  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2683  (eval $ac_try) 2>&5
     2684  ac_status=$?
     2685  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2686  (exit $ac_status); }; }; then
     2687  break
     2688else
     2689  echo "$as_me: failed program was:" >&5
     2690sed 's/^/| /' conftest.$ac_ext >&5
     2691
     2692fi
     2693rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2694done
     2695rm -f conftest*
     2696if test -n "$ac_declaration"; then
     2697  echo '#ifdef __cplusplus' >>confdefs.h
     2698  echo $ac_declaration      >>confdefs.h
     2699  echo '#endif'             >>confdefs.h
     2700fi
     2701
     2702else
     2703  echo "$as_me: failed program was:" >&5
     2704sed 's/^/| /' conftest.$ac_ext >&5
     2705
     2706fi
     2707rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2708ac_ext=c
     2709ac_cpp='$CPP $CPPFLAGS'
     2710ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2711ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2712ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2713
     2714ac_aux_dir=
     2715for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     2716  if test -f $ac_dir/install-sh; then
     2717    ac_aux_dir=$ac_dir
     2718    ac_install_sh="$ac_aux_dir/install-sh -c"
     2719    break
     2720  elif test -f $ac_dir/install.sh; then
     2721    ac_aux_dir=$ac_dir
     2722    ac_install_sh="$ac_aux_dir/install.sh -c"
     2723    break
     2724  elif test -f $ac_dir/shtool; then
     2725    ac_aux_dir=$ac_dir
     2726    ac_install_sh="$ac_aux_dir/shtool install -c"
     2727    break
     2728  fi
     2729done
     2730if test -z "$ac_aux_dir"; then
     2731  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     2732echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     2733   { (exit 1); exit 1; }; }
     2734fi
     2735ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     2736ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     2737ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     2738
     2739# Find a good install program.  We prefer a C program (faster),
     2740# so one script is as good as another.  But avoid the broken or
     2741# incompatible versions:
     2742# SysV /etc/install, /usr/sbin/install
     2743# SunOS /usr/etc/install
     2744# IRIX /sbin/install
     2745# AIX /bin/install
     2746# AmigaOS /C/install, which installs bootblocks on floppy discs
     2747# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     2748# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     2749# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     2750# OS/2's system install, which has a completely different semantic
     2751# ./install, which can be erroneously created by make from ./install.sh.
     2752echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2753echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     2754if test -z "$INSTALL"; then
     2755if test "${ac_cv_path_install+set}" = set; then
     2756  echo $ECHO_N "(cached) $ECHO_C" >&6
     2757else
     2758  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2759for as_dir in $PATH
     2760do
     2761  IFS=$as_save_IFS
     2762  test -z "$as_dir" && as_dir=.
     2763  # Account for people who put trailing slashes in PATH elements.
     2764case $as_dir/ in
     2765  ./ | .// | /cC/* | \
     2766  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     2767  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2768  /usr/ucb/* ) ;;
     2769  *)
     2770    # OSF1 and SCO ODT 3.0 have their own names for install.
     2771    # Don't use installbsd from OSF since it installs stuff as root
     2772    # by default.
     2773    for ac_prog in ginstall scoinst install; do
     2774      for ac_exec_ext in '' $ac_executable_extensions; do
     2775    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     2776      if test $ac_prog = install &&
     2777        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2778        # AIX install.  It has an incompatible calling convention.
     2779        :
     2780      elif test $ac_prog = install &&
     2781        grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2782        # program-specific install script used by HP pwplus--don't use.
     2783        :
     2784      else
     2785        ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2786        break 3
     2787      fi
     2788    fi
     2789      done
     2790    done
     2791    ;;
     2792esac
     2793done
     2794
     2795
     2796fi
     2797  if test "${ac_cv_path_install+set}" = set; then
     2798    INSTALL=$ac_cv_path_install
     2799  else
     2800    # As a last resort, use the slow shell script.  We don't cache a
     2801    # path for INSTALL within a source directory, because that will
     2802    # break other packages using the cache if that directory is
     2803    # removed, or if the path is relative.
     2804    INSTALL=$ac_install_sh
     2805  fi
     2806fi
     2807echo "$as_me:$LINENO: result: $INSTALL" >&5
     2808echo "${ECHO_T}$INSTALL" >&6
     2809
     2810# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     2811# It thinks the first close brace ends the variable substitution.
     2812test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     2813
     2814test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     2815
     2816test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     2817
     2818echo "$as_me:$LINENO: checking whether ln -s works" >&5
     2819echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     2820LN_S=$as_ln_s
     2821if test "$LN_S" = "ln -s"; then
     2822  echo "$as_me:$LINENO: result: yes" >&5
     2823echo "${ECHO_T}yes" >&6
     2824else
     2825  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     2826echo "${ECHO_T}no, using $LN_S" >&6
     2827fi
     2828
     2829echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     2830echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     2831set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     2832if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     2833  echo $ECHO_N "(cached) $ECHO_C" >&6
     2834else
     2835  cat >conftest.make <<\_ACEOF
     2836all:
     2837    @echo 'ac_maketemp="$(MAKE)"'
     2838_ACEOF
     2839# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     2840eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     2841if test -n "$ac_maketemp"; then
     2842  eval ac_cv_prog_make_${ac_make}_set=yes
     2843else
     2844  eval ac_cv_prog_make_${ac_make}_set=no
     2845fi
     2846rm -f conftest.make
     2847fi
     2848if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     2849  echo "$as_me:$LINENO: result: yes" >&5
     2850echo "${ECHO_T}yes" >&6
     2851  SET_MAKE=
     2852else
     2853  echo "$as_me:$LINENO: result: no" >&5
     2854echo "${ECHO_T}no" >&6
     2855  SET_MAKE="MAKE=${MAKE-make}"
     2856fi
     2857
     2858if test -n "$ac_tool_prefix"; then
     2859  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     2860set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     2861echo "$as_me:$LINENO: checking for $ac_word" >&5
     2862echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2863if test "${ac_cv_prog_RANLIB+set}" = set; then
     2864  echo $ECHO_N "(cached) $ECHO_C" >&6
     2865else
     2866  if test -n "$RANLIB"; then
     2867  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     2868else
     2869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2870for as_dir in $PATH
     2871do
     2872  IFS=$as_save_IFS
     2873  test -z "$as_dir" && as_dir=.
     2874  for ac_exec_ext in '' $ac_executable_extensions; do
     2875  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2876    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     2877    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2878    break 2
     2879  fi
     2880done
     2881done
     2882
     2883fi
     2884fi
     2885RANLIB=$ac_cv_prog_RANLIB
     2886if test -n "$RANLIB"; then
     2887  echo "$as_me:$LINENO: result: $RANLIB" >&5
     2888echo "${ECHO_T}$RANLIB" >&6
     2889else
     2890  echo "$as_me:$LINENO: result: no" >&5
     2891echo "${ECHO_T}no" >&6
     2892fi
     2893
     2894fi
     2895if test -z "$ac_cv_prog_RANLIB"; then
     2896  ac_ct_RANLIB=$RANLIB
     2897  # Extract the first word of "ranlib", so it can be a program name with args.
     2898set dummy ranlib; ac_word=$2
     2899echo "$as_me:$LINENO: checking for $ac_word" >&5
     2900echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2901if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     2902  echo $ECHO_N "(cached) $ECHO_C" >&6
     2903else
     2904  if test -n "$ac_ct_RANLIB"; then
     2905  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     2906else
     2907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2908for as_dir in $PATH
     2909do
     2910  IFS=$as_save_IFS
     2911  test -z "$as_dir" && as_dir=.
     2912  for ac_exec_ext in '' $ac_executable_extensions; do
     2913  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2914    ac_cv_prog_ac_ct_RANLIB="ranlib"
     2915    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2916    break 2
     2917  fi
     2918done
     2919done
     2920
     2921  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     2922fi
     2923fi
     2924ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     2925if test -n "$ac_ct_RANLIB"; then
     2926  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     2927echo "${ECHO_T}$ac_ct_RANLIB" >&6
     2928else
     2929  echo "$as_me:$LINENO: result: no" >&5
     2930echo "${ECHO_T}no" >&6
     2931fi
     2932
     2933  RANLIB=$ac_ct_RANLIB
     2934else
     2935  RANLIB="$ac_cv_prog_RANLIB"
     2936fi
     2937
     2938
     2939
     2940ac_ext=c
     2941ac_cpp='$CPP $CPPFLAGS'
     2942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2944ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2945echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     2946echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     2947# On Suns, sometimes $CPP names a directory.
     2948if test -n "$CPP" && test -d "$CPP"; then
     2949  CPP=
     2950fi
     2951if test -z "$CPP"; then
     2952  if test "${ac_cv_prog_CPP+set}" = set; then
     2953  echo $ECHO_N "(cached) $ECHO_C" >&6
     2954else
     2955      # Double quotes because CPP needs to be expanded
     2956    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     2957    do
     2958      ac_preproc_ok=false
     2959for ac_c_preproc_warn_flag in '' yes
     2960do
     2961  # Use a header file that comes with gcc, so configuring glibc
     2962  # with a fresh cross-compiler works.
     2963  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2964  # <limits.h> exists even on freestanding compilers.
     2965  # On the NeXT, cc -E runs the code through the compiler's parser,
     2966  # not just through cpp. "Syntax error" is here to catch this case.
     2967  cat >conftest.$ac_ext <<_ACEOF
     2968/* confdefs.h.  */
     2969_ACEOF
     2970cat confdefs.h >>conftest.$ac_ext
     2971cat >>conftest.$ac_ext <<_ACEOF
     2972/* end confdefs.h.  */
     2973#ifdef __STDC__
     2974# include <limits.h>
     2975#else
     2976# include <assert.h>
     2977#endif
     2978             Syntax error
     2979_ACEOF
     2980if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2981  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2982  ac_status=$?
     2983  grep -v '^ *+' conftest.er1 >conftest.err
     2984  rm -f conftest.er1
     2985  cat conftest.err >&5
     2986  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2987  (exit $ac_status); } >/dev/null; then
     2988  if test -s conftest.err; then
     2989    ac_cpp_err=$ac_c_preproc_warn_flag
     2990    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     2991  else
     2992    ac_cpp_err=
     2993  fi
     2994else
     2995  ac_cpp_err=yes
     2996fi
     2997if test -z "$ac_cpp_err"; then
     2998  :
     2999else
     3000  echo "$as_me: failed program was:" >&5
     3001sed 's/^/| /' conftest.$ac_ext >&5
     3002
     3003  # Broken: fails on valid input.
     3004continue
     3005fi
     3006rm -f conftest.err conftest.$ac_ext
     3007
     3008  # OK, works on sane cases.  Now check whether non-existent headers
     3009  # can be detected and how.
     3010  cat >conftest.$ac_ext <<_ACEOF
     3011/* confdefs.h.  */
     3012_ACEOF
     3013cat confdefs.h >>conftest.$ac_ext
     3014cat >>conftest.$ac_ext <<_ACEOF
     3015/* end confdefs.h.  */
     3016#include <ac_nonexistent.h>
     3017_ACEOF
     3018if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3019  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3020  ac_status=$?
     3021  grep -v '^ *+' conftest.er1 >conftest.err
     3022  rm -f conftest.er1
     3023  cat conftest.err >&5
     3024  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3025  (exit $ac_status); } >/dev/null; then
     3026  if test -s conftest.err; then
     3027    ac_cpp_err=$ac_c_preproc_warn_flag
     3028    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3029  else
     3030    ac_cpp_err=
     3031  fi
     3032else
     3033  ac_cpp_err=yes
     3034fi
     3035if test -z "$ac_cpp_err"; then
     3036  # Broken: success on invalid input.
     3037continue
     3038else
     3039  echo "$as_me: failed program was:" >&5
     3040sed 's/^/| /' conftest.$ac_ext >&5
     3041
     3042  # Passes both tests.
     3043ac_preproc_ok=:
     3044break
     3045fi
     3046rm -f conftest.err conftest.$ac_ext
     3047
     3048done
     3049# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3050rm -f conftest.err conftest.$ac_ext
     3051if $ac_preproc_ok; then
     3052  break
     3053fi
     3054
     3055    done
     3056    ac_cv_prog_CPP=$CPP
     3057
     3058fi
     3059  CPP=$ac_cv_prog_CPP
     3060else
     3061  ac_cv_prog_CPP=$CPP
     3062fi
     3063echo "$as_me:$LINENO: result: $CPP" >&5
     3064echo "${ECHO_T}$CPP" >&6
     3065ac_preproc_ok=false
     3066for ac_c_preproc_warn_flag in '' yes
     3067do
     3068  # Use a header file that comes with gcc, so configuring glibc
     3069  # with a fresh cross-compiler works.
     3070  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3071  # <limits.h> exists even on freestanding compilers.
     3072  # On the NeXT, cc -E runs the code through the compiler's parser,
     3073  # not just through cpp. "Syntax error" is here to catch this case.
     3074  cat >conftest.$ac_ext <<_ACEOF
     3075/* confdefs.h.  */
     3076_ACEOF
     3077cat confdefs.h >>conftest.$ac_ext
     3078cat >>conftest.$ac_ext <<_ACEOF
     3079/* end confdefs.h.  */
     3080#ifdef __STDC__
     3081# include <limits.h>
     3082#else
     3083# include <assert.h>
     3084#endif
     3085             Syntax error
     3086_ACEOF
     3087if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3088  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3089  ac_status=$?
     3090  grep -v '^ *+' conftest.er1 >conftest.err
     3091  rm -f conftest.er1
     3092  cat conftest.err >&5
     3093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3094  (exit $ac_status); } >/dev/null; then
     3095  if test -s conftest.err; then
     3096    ac_cpp_err=$ac_c_preproc_warn_flag
     3097    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3098  else
     3099    ac_cpp_err=
     3100  fi
     3101else
     3102  ac_cpp_err=yes
     3103fi
     3104if test -z "$ac_cpp_err"; then
     3105  :
     3106else
     3107  echo "$as_me: failed program was:" >&5
     3108sed 's/^/| /' conftest.$ac_ext >&5
     3109
     3110  # Broken: fails on valid input.
     3111continue
     3112fi
     3113rm -f conftest.err conftest.$ac_ext
     3114
     3115  # OK, works on sane cases.  Now check whether non-existent headers
     3116  # can be detected and how.
     3117  cat >conftest.$ac_ext <<_ACEOF
     3118/* confdefs.h.  */
     3119_ACEOF
     3120cat confdefs.h >>conftest.$ac_ext
     3121cat >>conftest.$ac_ext <<_ACEOF
     3122/* end confdefs.h.  */
     3123#include <ac_nonexistent.h>
     3124_ACEOF
     3125if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3126  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3127  ac_status=$?
     3128  grep -v '^ *+' conftest.er1 >conftest.err
     3129  rm -f conftest.er1
     3130  cat conftest.err >&5
     3131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3132  (exit $ac_status); } >/dev/null; then
     3133  if test -s conftest.err; then
     3134    ac_cpp_err=$ac_c_preproc_warn_flag
     3135    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3136  else
     3137    ac_cpp_err=
     3138  fi
     3139else
     3140  ac_cpp_err=yes
     3141fi
     3142if test -z "$ac_cpp_err"; then
     3143  # Broken: success on invalid input.
     3144continue
     3145else
     3146  echo "$as_me: failed program was:" >&5
     3147sed 's/^/| /' conftest.$ac_ext >&5
     3148
     3149  # Passes both tests.
     3150ac_preproc_ok=:
     3151break
     3152fi
     3153rm -f conftest.err conftest.$ac_ext
     3154
     3155done
     3156# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3157rm -f conftest.err conftest.$ac_ext
     3158if $ac_preproc_ok; then
     3159  :
     3160else
     3161  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3162See \`config.log' for more details." >&5
     3163echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3164See \`config.log' for more details." >&2;}
     3165   { (exit 1); exit 1; }; }
     3166fi
     3167
     3168ac_ext=c
     3169ac_cpp='$CPP $CPPFLAGS'
     3170ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3171ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3172ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3173
     3174
     3175echo "$as_me:$LINENO: checking for egrep" >&5
     3176echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3177if test "${ac_cv_prog_egrep+set}" = set; then
     3178  echo $ECHO_N "(cached) $ECHO_C" >&6
     3179else
     3180  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3181    then ac_cv_prog_egrep='grep -E'
     3182    else ac_cv_prog_egrep='egrep'
     3183    fi
     3184fi
     3185echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3186echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3187 EGREP=$ac_cv_prog_egrep
     3188
     3189
     3190
     3191echo "$as_me:$LINENO: checking for AIX" >&5
     3192echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     3193cat >conftest.$ac_ext <<_ACEOF
     3194/* confdefs.h.  */
     3195_ACEOF
     3196cat confdefs.h >>conftest.$ac_ext
     3197cat >>conftest.$ac_ext <<_ACEOF
     3198/* end confdefs.h.  */
     3199#ifdef _AIX
     3200  yes
     3201#endif
     3202
     3203_ACEOF
     3204if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3205  $EGREP "yes" >/dev/null 2>&1; then
     3206  echo "$as_me:$LINENO: result: yes" >&5
     3207echo "${ECHO_T}yes" >&6
     3208cat >>confdefs.h <<\_ACEOF
     3209#define _ALL_SOURCE 1
     3210_ACEOF
     3211
     3212else
     3213  echo "$as_me:$LINENO: result: no" >&5
     3214echo "${ECHO_T}no" >&6
     3215fi
     3216rm -f conftest*
     3217
     3218
     3219echo "$as_me:$LINENO: checking for library containing strerror" >&5
     3220echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     3221if test "${ac_cv_search_strerror+set}" = set; then
     3222  echo $ECHO_N "(cached) $ECHO_C" >&6
     3223else
     3224  ac_func_search_save_LIBS=$LIBS
     3225ac_cv_search_strerror=no
     3226cat >conftest.$ac_ext <<_ACEOF
     3227/* confdefs.h.  */
     3228_ACEOF
     3229cat confdefs.h >>conftest.$ac_ext
     3230cat >>conftest.$ac_ext <<_ACEOF
     3231/* end confdefs.h.  */
     3232
     3233/* Override any gcc2 internal prototype to avoid an error.  */
     3234#ifdef __cplusplus
     3235extern "C"
     3236#endif
     3237/* We use char because int might match the return type of a gcc2
     3238   builtin and then its argument prototype would still apply.  */
     3239char strerror ();
     3240int
     3241main ()
     3242{
     3243strerror ();
     3244  ;
     3245  return 0;
     3246}
     3247_ACEOF
     3248rm -f conftest.$ac_objext conftest$ac_exeext
     3249if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3250  (eval $ac_link) 2>conftest.er1
     3251  ac_status=$?
     3252  grep -v '^ *+' conftest.er1 >conftest.err
     3253  rm -f conftest.er1
     3254  cat conftest.err >&5
     3255  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3256  (exit $ac_status); } &&
     3257     { ac_try='test -z "$ac_c_werror_flag"
     3258             || test ! -s conftest.err'
     3259  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3260  (eval $ac_try) 2>&5
     3261  ac_status=$?
     3262  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3263  (exit $ac_status); }; } &&
     3264     { ac_try='test -s conftest$ac_exeext'
     3265  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3266  (eval $ac_try) 2>&5
     3267  ac_status=$?
     3268  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3269  (exit $ac_status); }; }; then
     3270  ac_cv_search_strerror="none required"
     3271else
     3272  echo "$as_me: failed program was:" >&5
     3273sed 's/^/| /' conftest.$ac_ext >&5
     3274
     3275fi
     3276rm -f conftest.err conftest.$ac_objext \
     3277      conftest$ac_exeext conftest.$ac_ext
     3278if test "$ac_cv_search_strerror" = no; then
     3279  for ac_lib in cposix; do
     3280    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     3281    cat >conftest.$ac_ext <<_ACEOF
     3282/* confdefs.h.  */
     3283_ACEOF
     3284cat confdefs.h >>conftest.$ac_ext
     3285cat >>conftest.$ac_ext <<_ACEOF
     3286/* end confdefs.h.  */
     3287
     3288/* Override any gcc2 internal prototype to avoid an error.  */
     3289#ifdef __cplusplus
     3290extern "C"
     3291#endif
     3292/* We use char because int might match the return type of a gcc2
     3293   builtin and then its argument prototype would still apply.  */
     3294char strerror ();
     3295int
     3296main ()
     3297{
     3298strerror ();
     3299  ;
     3300  return 0;
     3301}
     3302_ACEOF
     3303rm -f conftest.$ac_objext conftest$ac_exeext
     3304if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3305  (eval $ac_link) 2>conftest.er1
     3306  ac_status=$?
     3307  grep -v '^ *+' conftest.er1 >conftest.err
     3308  rm -f conftest.er1
     3309  cat conftest.err >&5
     3310  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3311  (exit $ac_status); } &&
     3312     { ac_try='test -z "$ac_c_werror_flag"
     3313             || test ! -s conftest.err'
     3314  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3315  (eval $ac_try) 2>&5
     3316  ac_status=$?
     3317  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3318  (exit $ac_status); }; } &&
     3319     { ac_try='test -s conftest$ac_exeext'
     3320  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3321  (eval $ac_try) 2>&5
     3322  ac_status=$?
     3323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3324  (exit $ac_status); }; }; then
     3325  ac_cv_search_strerror="-l$ac_lib"
     3326break
     3327else
     3328  echo "$as_me: failed program was:" >&5
     3329sed 's/^/| /' conftest.$ac_ext >&5
     3330
     3331fi
     3332rm -f conftest.err conftest.$ac_objext \
     3333      conftest$ac_exeext conftest.$ac_ext
     3334  done
     3335fi
     3336LIBS=$ac_func_search_save_LIBS
     3337fi
     3338echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     3339echo "${ECHO_T}$ac_cv_search_strerror" >&6
     3340if test "$ac_cv_search_strerror" != no; then
     3341  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
     3342
     3343fi
     3344
     3345echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3346echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     3347if test "${ac_cv_header_stdc+set}" = set; then
     3348  echo $ECHO_N "(cached) $ECHO_C" >&6
     3349else
     3350  cat >conftest.$ac_ext <<_ACEOF
     3351/* confdefs.h.  */
     3352_ACEOF
     3353cat confdefs.h >>conftest.$ac_ext
     3354cat >>conftest.$ac_ext <<_ACEOF
     3355/* end confdefs.h.  */
     3356#include <stdlib.h>
     3357#include <stdarg.h>
     3358#include <string.h>
     3359#include <float.h>
     3360
     3361int
     3362main ()
     3363{
     3364
     3365  ;
     3366  return 0;
     3367}
     3368_ACEOF
     3369rm -f conftest.$ac_objext
     3370if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3371  (eval $ac_compile) 2>conftest.er1
     3372  ac_status=$?
     3373  grep -v '^ *+' conftest.er1 >conftest.err
     3374  rm -f conftest.er1
     3375  cat conftest.err >&5
     3376  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3377  (exit $ac_status); } &&
     3378     { ac_try='test -z "$ac_c_werror_flag"
     3379             || test ! -s conftest.err'
     3380  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3381  (eval $ac_try) 2>&5
     3382  ac_status=$?
     3383  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3384  (exit $ac_status); }; } &&
     3385     { ac_try='test -s conftest.$ac_objext'
     3386  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3387  (eval $ac_try) 2>&5
     3388  ac_status=$?
     3389  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3390  (exit $ac_status); }; }; then
     3391  ac_cv_header_stdc=yes
     3392else
     3393  echo "$as_me: failed program was:" >&5
     3394sed 's/^/| /' conftest.$ac_ext >&5
     3395
     3396ac_cv_header_stdc=no
     3397fi
     3398rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3399
     3400if test $ac_cv_header_stdc = yes; then
     3401  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     3402  cat >conftest.$ac_ext <<_ACEOF
     3403/* confdefs.h.  */
     3404_ACEOF
     3405cat confdefs.h >>conftest.$ac_ext
     3406cat >>conftest.$ac_ext <<_ACEOF
     3407/* end confdefs.h.  */
     3408#include <string.h>
     3409
     3410_ACEOF
     3411if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3412  $EGREP "memchr" >/dev/null 2>&1; then
     3413  :
     3414else
     3415  ac_cv_header_stdc=no
     3416fi
     3417rm -f conftest*
     3418
     3419fi
     3420
     3421if test $ac_cv_header_stdc = yes; then
     3422  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     3423  cat >conftest.$ac_ext <<_ACEOF
     3424/* confdefs.h.  */
     3425_ACEOF
     3426cat confdefs.h >>conftest.$ac_ext
     3427cat >>conftest.$ac_ext <<_ACEOF
     3428/* end confdefs.h.  */
     3429#include <stdlib.h>
     3430
     3431_ACEOF
     3432if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3433  $EGREP "free" >/dev/null 2>&1; then
     3434  :
     3435else
     3436  ac_cv_header_stdc=no
     3437fi
     3438rm -f conftest*
     3439
     3440fi
     3441
     3442if test $ac_cv_header_stdc = yes; then
     3443  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     3444  if test "$cross_compiling" = yes; then
     3445  :
     3446else
     3447  cat >conftest.$ac_ext <<_ACEOF
     3448/* confdefs.h.  */
     3449_ACEOF
     3450cat confdefs.h >>conftest.$ac_ext
     3451cat >>conftest.$ac_ext <<_ACEOF
     3452/* end confdefs.h.  */
     3453#include <ctype.h>
     3454#if ((' ' & 0x0FF) == 0x020)
     3455# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     3456# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     3457#else
     3458# define ISLOWER(c) \
     3459           (('a' <= (c) && (c) <= 'i') \
     3460             || ('j' <= (c) && (c) <= 'r') \
     3461             || ('s' <= (c) && (c) <= 'z'))
     3462# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     3463#endif
     3464
     3465#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     3466int
     3467main ()
     3468{
     3469  int i;
     3470  for (i = 0; i < 256; i++)
     3471    if (XOR (islower (i), ISLOWER (i))
     3472    || toupper (i) != TOUPPER (i))
     3473      exit(2);
     3474  exit (0);
     3475}
     3476_ACEOF
     3477rm -f conftest$ac_exeext
     3478if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3479  (eval $ac_link) 2>&5
     3480  ac_status=$?
     3481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3482  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3484  (eval $ac_try) 2>&5
     3485  ac_status=$?
     3486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3487  (exit $ac_status); }; }; then
     3488  :
     3489else
     3490  echo "$as_me: program exited with status $ac_status" >&5
     3491echo "$as_me: failed program was:" >&5
     3492sed 's/^/| /' conftest.$ac_ext >&5
     3493
     3494( exit $ac_status )
     3495ac_cv_header_stdc=no
     3496fi
     3497rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3498fi
     3499fi
     3500fi
     3501echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3502echo "${ECHO_T}$ac_cv_header_stdc" >&6
     3503if test $ac_cv_header_stdc = yes; then
     3504
     3505cat >>confdefs.h <<\_ACEOF
     3506#define STDC_HEADERS 1
     3507_ACEOF
     3508
     3509fi
     3510
     3511# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3512
     3513
     3514
     3515
     3516
     3517
     3518
     3519
     3520
     3521for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     3522          inttypes.h stdint.h unistd.h
     3523do
     3524as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3525echo "$as_me:$LINENO: checking for $ac_header" >&5
     3526echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3527if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3528  echo $ECHO_N "(cached) $ECHO_C" >&6
     3529else
     3530  cat >conftest.$ac_ext <<_ACEOF
     3531/* confdefs.h.  */
     3532_ACEOF
     3533cat confdefs.h >>conftest.$ac_ext
     3534cat >>conftest.$ac_ext <<_ACEOF
     3535/* end confdefs.h.  */
     3536$ac_includes_default
     3537
     3538#include <$ac_header>
     3539_ACEOF
     3540rm -f conftest.$ac_objext
     3541if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3542  (eval $ac_compile) 2>conftest.er1
     3543  ac_status=$?
     3544  grep -v '^ *+' conftest.er1 >conftest.err
     3545  rm -f conftest.er1
     3546  cat conftest.err >&5
     3547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3548  (exit $ac_status); } &&
     3549     { ac_try='test -z "$ac_c_werror_flag"
     3550             || test ! -s conftest.err'
     3551  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3552  (eval $ac_try) 2>&5
     3553  ac_status=$?
     3554  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3555  (exit $ac_status); }; } &&
     3556     { ac_try='test -s conftest.$ac_objext'
     3557  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3558  (eval $ac_try) 2>&5
     3559  ac_status=$?
     3560  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3561  (exit $ac_status); }; }; then
     3562  eval "$as_ac_Header=yes"
     3563else
     3564  echo "$as_me: failed program was:" >&5
     3565sed 's/^/| /' conftest.$ac_ext >&5
     3566
     3567eval "$as_ac_Header=no"
     3568fi
     3569rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3570fi
     3571echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3572echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     3573if test `eval echo '${'$as_ac_Header'}'` = yes; then
     3574  cat >>confdefs.h <<_ACEOF
     3575#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     3576_ACEOF
     3577
     3578fi
     3579
     3580done
     3581
     3582
     3583if test "${ac_cv_header_minix_config_h+set}" = set; then
     3584  echo "$as_me:$LINENO: checking for minix/config.h" >&5
     3585echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     3586if test "${ac_cv_header_minix_config_h+set}" = set; then
     3587  echo $ECHO_N "(cached) $ECHO_C" >&6
     3588fi
     3589echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     3590echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     3591else
     3592  # Is the header compilable?
     3593echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     3594echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     3595cat >conftest.$ac_ext <<_ACEOF
     3596/* confdefs.h.  */
     3597_ACEOF
     3598cat confdefs.h >>conftest.$ac_ext
     3599cat >>conftest.$ac_ext <<_ACEOF
     3600/* end confdefs.h.  */
     3601$ac_includes_default
     3602#include <minix/config.h>
     3603_ACEOF
     3604rm -f conftest.$ac_objext
     3605if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3606  (eval $ac_compile) 2>conftest.er1
     3607  ac_status=$?
     3608  grep -v '^ *+' conftest.er1 >conftest.err
     3609  rm -f conftest.er1
     3610  cat conftest.err >&5
     3611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3612  (exit $ac_status); } &&
     3613     { ac_try='test -z "$ac_c_werror_flag"
     3614             || test ! -s conftest.err'
     3615  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3616  (eval $ac_try) 2>&5
     3617  ac_status=$?
     3618  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3619  (exit $ac_status); }; } &&
     3620     { ac_try='test -s conftest.$ac_objext'
     3621  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3622  (eval $ac_try) 2>&5
     3623  ac_status=$?
     3624  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3625  (exit $ac_status); }; }; then
     3626  ac_header_compiler=yes
     3627else
     3628  echo "$as_me: failed program was:" >&5
     3629sed 's/^/| /' conftest.$ac_ext >&5
     3630
     3631ac_header_compiler=no
     3632fi
     3633rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3634echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3635echo "${ECHO_T}$ac_header_compiler" >&6
     3636
     3637# Is the header present?
     3638echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     3639echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     3640cat >conftest.$ac_ext <<_ACEOF
     3641/* confdefs.h.  */
     3642_ACEOF
     3643cat confdefs.h >>conftest.$ac_ext
     3644cat >>conftest.$ac_ext <<_ACEOF
     3645/* end confdefs.h.  */
     3646#include <minix/config.h>
     3647_ACEOF
     3648if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3649  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3650  ac_status=$?
     3651  grep -v '^ *+' conftest.er1 >conftest.err
     3652  rm -f conftest.er1
     3653  cat conftest.err >&5
     3654  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3655  (exit $ac_status); } >/dev/null; then
     3656  if test -s conftest.err; then
     3657    ac_cpp_err=$ac_c_preproc_warn_flag
     3658    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3659  else
     3660    ac_cpp_err=
     3661  fi
     3662else
     3663  ac_cpp_err=yes
     3664fi
     3665if test -z "$ac_cpp_err"; then
     3666  ac_header_preproc=yes
     3667else
     3668  echo "$as_me: failed program was:" >&5
     3669sed 's/^/| /' conftest.$ac_ext >&5
     3670
     3671  ac_header_preproc=no
     3672fi
     3673rm -f conftest.err conftest.$ac_ext
     3674echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3675echo "${ECHO_T}$ac_header_preproc" >&6
     3676
     3677# So?  What about this header?
     3678case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     3679  yes:no: )
     3680    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
     3681echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     3682    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
     3683echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
     3684    ac_header_preproc=yes
     3685    ;;
     3686  no:yes:* )
     3687    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
     3688echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
     3689    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
     3690echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
     3691    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
     3692echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
     3693    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
     3694echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     3695    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
     3696echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
     3697    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
     3698echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
     3699    (
     3700      cat <<\_ASBOX
     3701## ------------------------------------------ ##
     3702## Report this to the AC_PACKAGE_NAME lists.  ##
     3703## ------------------------------------------ ##
     3704_ASBOX
     3705    ) |
     3706      sed "s/^/$as_me: WARNING:     /" >&2
     3707    ;;
     3708esac
     3709echo "$as_me:$LINENO: checking for minix/config.h" >&5
     3710echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     3711if test "${ac_cv_header_minix_config_h+set}" = set; then
     3712  echo $ECHO_N "(cached) $ECHO_C" >&6
     3713else
     3714  ac_cv_header_minix_config_h=$ac_header_preproc
     3715fi
     3716echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     3717echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     3718
     3719fi
     3720if test $ac_cv_header_minix_config_h = yes; then
     3721  MINIX=yes
     3722else
     3723  MINIX=
     3724fi
     3725
     3726
     3727if test "$MINIX" = yes; then
     3728
     3729cat >>confdefs.h <<\_ACEOF
     3730#define _POSIX_SOURCE 1
     3731_ACEOF
     3732
     3733
     3734cat >>confdefs.h <<\_ACEOF
     3735#define _POSIX_1_SOURCE 2
     3736_ACEOF
     3737
     3738
     3739cat >>confdefs.h <<\_ACEOF
     3740#define _MINIX 1
     3741_ACEOF
     3742
     3743fi
     3744
     3745echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     3746echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     3747if test "${ac_cv_prog_cc_stdc+set}" = set; then
     3748  echo $ECHO_N "(cached) $ECHO_C" >&6
     3749else
     3750  ac_cv_prog_cc_stdc=no
     3751ac_save_CFLAGS="$CFLAGS"
     3752# Don't try gcc -ansi; that turns off useful extensions and
     3753# breaks some systems' header files.
     3754# AIX           -qlanglvl=ansi
     3755# Ultrix and OSF/1  -std1
     3756# HP-UX         -Aa -D_HPUX_SOURCE
     3757# SVR4          -Xc
     3758for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
     3759do
     3760  CFLAGS="$ac_save_CFLAGS $ac_arg"
     3761  cat >conftest.$ac_ext <<_ACEOF
     3762/* confdefs.h.  */
     3763_ACEOF
     3764cat confdefs.h >>conftest.$ac_ext
     3765cat >>conftest.$ac_ext <<_ACEOF
     3766/* end confdefs.h.  */
     3767#if !defined(__STDC__) || __STDC__ != 1
     3768choke me
     3769#endif
     3770
     3771int
     3772main ()
     3773{
     3774int test (int i, double x);
     3775struct s1 {int (*f) (int a);};
     3776struct s2 {int (*f) (double a);};
     3777  ;
     3778  return 0;
     3779}
     3780_ACEOF
     3781rm -f conftest.$ac_objext
     3782if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3783  (eval $ac_compile) 2>conftest.er1
     3784  ac_status=$?
     3785  grep -v '^ *+' conftest.er1 >conftest.err
     3786  rm -f conftest.er1
     3787  cat conftest.err >&5
     3788  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3789  (exit $ac_status); } &&
     3790     { ac_try='test -z "$ac_c_werror_flag"
     3791             || test ! -s conftest.err'
     3792  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3793  (eval $ac_try) 2>&5
     3794  ac_status=$?
     3795  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3796  (exit $ac_status); }; } &&
     3797     { ac_try='test -s conftest.$ac_objext'
     3798  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3799  (eval $ac_try) 2>&5
     3800  ac_status=$?
     3801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3802  (exit $ac_status); }; }; then
     3803  ac_cv_prog_cc_stdc="$ac_arg"; break
     3804else
     3805  echo "$as_me: failed program was:" >&5
     3806sed 's/^/| /' conftest.$ac_ext >&5
     3807
     3808fi
     3809rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3810done
     3811CFLAGS="$ac_save_CFLAGS"
     3812
     3813fi
     3814
     3815echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     3816echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     3817case "x$ac_cv_prog_cc_stdc" in
     3818  x|xno) ;;
     3819  *) CC="$CC $ac_cv_prog_cc_stdc" ;;
     3820esac
     3821
     3822
     3823echo "$as_me:$LINENO: checking for function prototypes" >&5
     3824echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     3825if test "$ac_cv_prog_cc_stdc" != no; then
     3826  echo "$as_me:$LINENO: result: yes" >&5
     3827echo "${ECHO_T}yes" >&6
     3828  cat >>confdefs.h <<\_ACEOF
     3829#define PROTOTYPES 1
     3830_ACEOF
     3831
     3832  U= ANSI2KNR=
     3833else
     3834  echo "$as_me:$LINENO: result: no" >&5
     3835echo "${ECHO_T}no" >&6
     3836  U=_ ANSI2KNR=ansi2knr
     3837fi
     3838
     3839echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    26903840echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    26913841if test "${ac_cv_c_const+set}" = set; then
     
    26933843else
    26943844  cat >conftest.$ac_ext <<_ACEOF
    2695 #line 2695 "configure"
    2696 #include "confdefs.h"
     3845/* confdefs.h.  */
     3846_ACEOF
     3847cat confdefs.h >>conftest.$ac_ext
     3848cat >>conftest.$ac_ext <<_ACEOF
     3849/* end confdefs.h.  */
    26973850
    26983851int
     
    27513904_ACEOF
    27523905rm -f conftest.$ac_objext
    2753 if { (eval echo "$as_me:2753: \"$ac_compile\"") >&5
    2754   (eval $ac_compile) 2>&5
    2755   ac_status=$?
    2756   echo "$as_me:2756: \$? = $ac_status" >&5
     3906if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3907  (eval $ac_compile) 2>conftest.er1
     3908  ac_status=$?
     3909  grep -v '^ *+' conftest.er1 >conftest.err
     3910  rm -f conftest.er1
     3911  cat conftest.err >&5
     3912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    27573913  (exit $ac_status); } &&
    2758          { ac_try='test -s conftest.$ac_objext'
    2759   { (eval echo "$as_me:2759: \"$ac_try\"") >&5
    2760   (eval $ac_try) 2>&5
    2761   ac_status=$?
    2762   echo "$as_me:2762: \$? = $ac_status" >&5
     3914     { ac_try='test -z "$ac_c_werror_flag"
     3915             || test ! -s conftest.err'
     3916  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3917  (eval $ac_try) 2>&5
     3918  ac_status=$?
     3919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3920  (exit $ac_status); }; } &&
     3921     { ac_try='test -s conftest.$ac_objext'
     3922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3923  (eval $ac_try) 2>&5
     3924  ac_status=$?
     3925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    27633926  (exit $ac_status); }; }; then
    27643927  ac_cv_c_const=yes
    27653928else
    27663929  echo "$as_me: failed program was:" >&5
    2767 cat conftest.$ac_ext >&5
     3930sed 's/^/| /' conftest.$ac_ext >&5
     3931
    27683932ac_cv_c_const=no
    27693933fi
    2770 rm -f conftest.$ac_objext conftest.$ac_ext
    2771 fi
    2772 echo "$as_me:2772: result: $ac_cv_c_const" >&5
     3934rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3935fi
     3936echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    27733937echo "${ECHO_T}$ac_cv_c_const" >&6
    27743938if test $ac_cv_c_const = no; then
    27753939
    2776 cat >>confdefs.h <<\EOF
     3940cat >>confdefs.h <<\_ACEOF
    27773941#define const
    2778 EOF
    2779 
    2780 fi
    2781 
    2782 echo "$as_me:2782: checking for ANSI C header files" >&5
    2783 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    2784 if test "${ac_cv_header_stdc+set}" = set; then
    2785   echo $ECHO_N "(cached) $ECHO_C" >&6
    2786 else
    2787   cat >conftest.$ac_ext <<_ACEOF
    2788 #line 2788 "configure"
    2789 #include "confdefs.h"
    2790 #include <stdlib.h>
    2791 #include <stdarg.h>
    2792 #include <string.h>
    2793 #include <float.h>
    2794 
    2795 _ACEOF
    2796 if { (eval echo "$as_me:2796: \"$ac_cpp conftest.$ac_ext\"") >&5
    2797   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2798   ac_status=$?
    2799   egrep -v '^ *\+' conftest.er1 >conftest.err
    2800   rm -f conftest.er1
    2801   cat conftest.err >&5
    2802   echo "$as_me:2802: \$? = $ac_status" >&5
    2803   (exit $ac_status); } >/dev/null; then
    2804   if test -s conftest.err; then
    2805     ac_cpp_err=$ac_c_preproc_warn_flag
    2806   else
    2807     ac_cpp_err=
    2808   fi
    2809 else
    2810   ac_cpp_err=yes
    2811 fi
    2812 if test -z "$ac_cpp_err"; then
    2813   ac_cv_header_stdc=yes
    2814 else
    2815   echo "$as_me: failed program was:" >&5
    2816   cat conftest.$ac_ext >&5
    2817   ac_cv_header_stdc=no
    2818 fi
    2819 rm -f conftest.err conftest.$ac_ext
    2820 
    2821 if test $ac_cv_header_stdc = yes; then
    2822   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    2823   cat >conftest.$ac_ext <<_ACEOF
    2824 #line 2824 "configure"
    2825 #include "confdefs.h"
    2826 #include <string.h>
    2827 
    2828 _ACEOF
    2829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2830   egrep "memchr" >/dev/null 2>&1; then
    2831   :
    2832 else
    2833   ac_cv_header_stdc=no
    2834 fi
    2835 rm -f conftest*
    2836 
    2837 fi
    2838 
    2839 if test $ac_cv_header_stdc = yes; then
    2840   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    2841   cat >conftest.$ac_ext <<_ACEOF
    2842 #line 2842 "configure"
    2843 #include "confdefs.h"
    2844 #include <stdlib.h>
    2845 
    2846 _ACEOF
    2847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2848   egrep "free" >/dev/null 2>&1; then
    2849   :
    2850 else
    2851   ac_cv_header_stdc=no
    2852 fi
    2853 rm -f conftest*
    2854 
    2855 fi
    2856 
    2857 if test $ac_cv_header_stdc = yes; then
    2858   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    2859   if test "$cross_compiling" = yes; then
    2860   :
    2861 else
    2862   cat >conftest.$ac_ext <<_ACEOF
    2863 #line 2863 "configure"
    2864 #include "confdefs.h"
    2865 #include <ctype.h>
    2866 #if ((' ' & 0x0FF) == 0x020)
    2867 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    2868 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    2869 #else
    2870 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
    2871                      || ('j' <= (c) && (c) <= 'r') \
    2872                      || ('s' <= (c) && (c) <= 'z'))
    2873 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    2874 #endif
    2875 
    2876 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    2877 int
    2878 main ()
    2879 {
    2880   int i;
    2881   for (i = 0; i < 256; i++)
    2882     if (XOR (islower (i), ISLOWER (i))
    2883         || toupper (i) != TOUPPER (i))
    2884       exit(2);
    2885   exit (0);
    2886 }
    2887 _ACEOF
    2888 rm -f conftest$ac_exeext
    2889 if { (eval echo "$as_me:2889: \"$ac_link\"") >&5
    2890   (eval $ac_link) 2>&5
    2891   ac_status=$?
    2892   echo "$as_me:2892: \$? = $ac_status" >&5
    2893   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2894   { (eval echo "$as_me:2894: \"$ac_try\"") >&5
    2895   (eval $ac_try) 2>&5
    2896   ac_status=$?
    2897   echo "$as_me:2897: \$? = $ac_status" >&5
    2898   (exit $ac_status); }; }; then
    2899   :
    2900 else
    2901   echo "$as_me: program exited with status $ac_status" >&5
    2902 echo "$as_me: failed program was:" >&5
    2903 cat conftest.$ac_ext >&5
    2904 ac_cv_header_stdc=no
    2905 fi
    2906 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
    2907 fi
    2908 fi
    2909 fi
    2910 echo "$as_me:2910: result: $ac_cv_header_stdc" >&5
    2911 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    2912 if test $ac_cv_header_stdc = yes; then
    2913 
    2914 cat >>confdefs.h <<\EOF
    2915 #define STDC_HEADERS 1
    2916 EOF
    2917 
    2918 fi
    2919 
    2920 for ac_header in stdlib.h string.h memory.h strings.h inttypes.h unistd.h
    2921 do
    2922 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
    2923 echo "$as_me:2923: checking for $ac_header" >&5
    2924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    2925 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
    2926   echo $ECHO_N "(cached) $ECHO_C" >&6
    2927 else
    2928   cat >conftest.$ac_ext <<_ACEOF
    2929 #line 2929 "configure"
    2930 #include "confdefs.h"
    2931 #include <$ac_header>
    2932 _ACEOF
    2933 if { (eval echo "$as_me:2933: \"$ac_cpp conftest.$ac_ext\"") >&5
    2934   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2935   ac_status=$?
    2936   egrep -v '^ *\+' conftest.er1 >conftest.err
    2937   rm -f conftest.er1
    2938   cat conftest.err >&5
    2939   echo "$as_me:2939: \$? = $ac_status" >&5
    2940   (exit $ac_status); } >/dev/null; then
    2941   if test -s conftest.err; then
    2942     ac_cpp_err=$ac_c_preproc_warn_flag
    2943   else
    2944     ac_cpp_err=
    2945   fi
    2946 else
    2947   ac_cpp_err=yes
    2948 fi
    2949 if test -z "$ac_cpp_err"; then
    2950   eval "$ac_ac_Header=yes"
    2951 else
    2952   echo "$as_me: failed program was:" >&5
    2953   cat conftest.$ac_ext >&5
    2954   eval "$ac_ac_Header=no"
    2955 fi
    2956 rm -f conftest.err conftest.$ac_ext
    2957 fi
    2958 echo "$as_me:2958: result: `eval echo '${'$ac_ac_Header'}'`" >&5
    2959 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
    2960 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
    2961   cat >>confdefs.h <<EOF
    2962 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
    2963 EOF
    2964 
    2965 fi
    2966 done
    2967 
    2968 echo "$as_me:2968: checking for off_t" >&5
     3942_ACEOF
     3943
     3944fi
     3945
     3946echo "$as_me:$LINENO: checking for off_t" >&5
    29693947echo $ECHO_N "checking for off_t... $ECHO_C" >&6
    29703948if test "${ac_cv_type_off_t+set}" = set; then
     
    29723950else
    29733951  cat >conftest.$ac_ext <<_ACEOF
    2974 #line 2974 "configure"
    2975 #include "confdefs.h"
     3952/* confdefs.h.  */
     3953_ACEOF
     3954cat confdefs.h >>conftest.$ac_ext
     3955cat >>conftest.$ac_ext <<_ACEOF
     3956/* end confdefs.h.  */
    29763957$ac_includes_default
    29773958int
     
    29873968_ACEOF
    29883969rm -f conftest.$ac_objext
    2989 if { (eval echo "$as_me:2989: \"$ac_compile\"") >&5
    2990   (eval $ac_compile) 2>&5
    2991   ac_status=$?
    2992   echo "$as_me:2992: \$? = $ac_status" >&5
     3970if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3971  (eval $ac_compile) 2>conftest.er1
     3972  ac_status=$?
     3973  grep -v '^ *+' conftest.er1 >conftest.err
     3974  rm -f conftest.er1
     3975  cat conftest.err >&5
     3976  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29933977  (exit $ac_status); } &&
    2994          { ac_try='test -s conftest.$ac_objext'
    2995   { (eval echo "$as_me:2995: \"$ac_try\"") >&5
    2996   (eval $ac_try) 2>&5
    2997   ac_status=$?
    2998   echo "$as_me:2998: \$? = $ac_status" >&5
     3978     { ac_try='test -z "$ac_c_werror_flag"
     3979             || test ! -s conftest.err'
     3980  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3981  (eval $ac_try) 2>&5
     3982  ac_status=$?
     3983  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3984  (exit $ac_status); }; } &&
     3985     { ac_try='test -s conftest.$ac_objext'
     3986  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3987  (eval $ac_try) 2>&5
     3988  ac_status=$?
     3989  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29993990  (exit $ac_status); }; }; then
    30003991  ac_cv_type_off_t=yes
    30013992else
    30023993  echo "$as_me: failed program was:" >&5
    3003 cat conftest.$ac_ext >&5
     3994sed 's/^/| /' conftest.$ac_ext >&5
     3995
    30043996ac_cv_type_off_t=no
    30053997fi
    3006 rm -f conftest.$ac_objext conftest.$ac_ext
    3007 fi
    3008 echo "$as_me:3008: result: $ac_cv_type_off_t" >&5
     3998rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3999fi
     4000echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    30094001echo "${ECHO_T}$ac_cv_type_off_t" >&6
    30104002if test $ac_cv_type_off_t = yes; then
     
    30124004else
    30134005
    3014 cat >>confdefs.h <<EOF
     4006cat >>confdefs.h <<_ACEOF
    30154007#define off_t long
    3016 EOF
    3017 
    3018 fi
    3019 
    3020 echo "$as_me:3020: checking for size_t" >&5
     4008_ACEOF
     4009
     4010fi
     4011
     4012echo "$as_me:$LINENO: checking for size_t" >&5
    30214013echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    30224014if test "${ac_cv_type_size_t+set}" = set; then
     
    30244016else
    30254017  cat >conftest.$ac_ext <<_ACEOF
    3026 #line 3026 "configure"
    3027 #include "confdefs.h"
     4018/* confdefs.h.  */
     4019_ACEOF
     4020cat confdefs.h >>conftest.$ac_ext
     4021cat >>conftest.$ac_ext <<_ACEOF
     4022/* end confdefs.h.  */
    30284023$ac_includes_default
    30294024int
     
    30394034_ACEOF
    30404035rm -f conftest.$ac_objext
    3041 if { (eval echo "$as_me:3041: \"$ac_compile\"") >&5
    3042   (eval $ac_compile) 2>&5
    3043   ac_status=$?
    3044   echo "$as_me:3044: \$? = $ac_status" >&5
     4036if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4037  (eval $ac_compile) 2>conftest.er1
     4038  ac_status=$?
     4039  grep -v '^ *+' conftest.er1 >conftest.err
     4040  rm -f conftest.er1
     4041  cat conftest.err >&5
     4042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30454043  (exit $ac_status); } &&
    3046          { ac_try='test -s conftest.$ac_objext'
    3047   { (eval echo "$as_me:3047: \"$ac_try\"") >&5
    3048   (eval $ac_try) 2>&5
    3049   ac_status=$?
    3050   echo "$as_me:3050: \$? = $ac_status" >&5
     4044     { ac_try='test -z "$ac_c_werror_flag"
     4045             || test ! -s conftest.err'
     4046  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4047  (eval $ac_try) 2>&5
     4048  ac_status=$?
     4049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4050  (exit $ac_status); }; } &&
     4051     { ac_try='test -s conftest.$ac_objext'
     4052  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4053  (eval $ac_try) 2>&5
     4054  ac_status=$?
     4055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30514056  (exit $ac_status); }; }; then
    30524057  ac_cv_type_size_t=yes
    30534058else
    30544059  echo "$as_me: failed program was:" >&5
    3055 cat conftest.$ac_ext >&5
     4060sed 's/^/| /' conftest.$ac_ext >&5
     4061
    30564062ac_cv_type_size_t=no
    30574063fi
    3058 rm -f conftest.$ac_objext conftest.$ac_ext
    3059 fi
    3060 echo "$as_me:3060: result: $ac_cv_type_size_t" >&5
     4064rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4065fi
     4066echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    30614067echo "${ECHO_T}$ac_cv_type_size_t" >&6
    30624068if test $ac_cv_type_size_t = yes; then
     
    30644070else
    30654071
    3066 cat >>confdefs.h <<EOF
     4072cat >>confdefs.h <<_ACEOF
    30674073#define size_t unsigned
    3068 EOF
    3069 
    3070 fi
    3071 
    3072 echo "$as_me:3072: checking whether time.h and sys/time.h may both be included" >&5
     4074_ACEOF
     4075
     4076fi
     4077
     4078echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    30734079echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    30744080if test "${ac_cv_header_time+set}" = set; then
     
    30764082else
    30774083  cat >conftest.$ac_ext <<_ACEOF
    3078 #line 3078 "configure"
    3079 #include "confdefs.h"
     4084/* confdefs.h.  */
     4085_ACEOF
     4086cat confdefs.h >>conftest.$ac_ext
     4087cat >>conftest.$ac_ext <<_ACEOF
     4088/* end confdefs.h.  */
    30804089#include <sys/types.h>
    30814090#include <sys/time.h>
     
    30854094main ()
    30864095{
    3087 struct tm *tp;
     4096if ((struct tm *) 0)
     4097return 0;
    30884098  ;
    30894099  return 0;
     
    30914101_ACEOF
    30924102rm -f conftest.$ac_objext
    3093 if { (eval echo "$as_me:3093: \"$ac_compile\"") >&5
    3094   (eval $ac_compile) 2>&5
    3095   ac_status=$?
    3096   echo "$as_me:3096: \$? = $ac_status" >&5
     4103if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4104  (eval $ac_compile) 2>conftest.er1
     4105  ac_status=$?
     4106  grep -v '^ *+' conftest.er1 >conftest.err
     4107  rm -f conftest.er1
     4108  cat conftest.err >&5
     4109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30974110  (exit $ac_status); } &&
    3098          { ac_try='test -s conftest.$ac_objext'
    3099   { (eval echo "$as_me:3099: \"$ac_try\"") >&5
    3100   (eval $ac_try) 2>&5
    3101   ac_status=$?
    3102   echo "$as_me:3102: \$? = $ac_status" >&5
     4111     { ac_try='test -z "$ac_c_werror_flag"
     4112             || test ! -s conftest.err'
     4113  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4114  (eval $ac_try) 2>&5
     4115  ac_status=$?
     4116  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4117  (exit $ac_status); }; } &&
     4118     { ac_try='test -s conftest.$ac_objext'
     4119  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4120  (eval $ac_try) 2>&5
     4121  ac_status=$?
     4122  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31034123  (exit $ac_status); }; }; then
    31044124  ac_cv_header_time=yes
    31054125else
    31064126  echo "$as_me: failed program was:" >&5
    3107 cat conftest.$ac_ext >&5
     4127sed 's/^/| /' conftest.$ac_ext >&5
     4128
    31084129ac_cv_header_time=no
    31094130fi
    3110 rm -f conftest.$ac_objext conftest.$ac_ext
    3111 fi
    3112 echo "$as_me:3112: result: $ac_cv_header_time" >&5
     4131rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4132fi
     4133echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    31134134echo "${ECHO_T}$ac_cv_header_time" >&6
    31144135if test $ac_cv_header_time = yes; then
    31154136
    3116 cat >>confdefs.h <<\EOF
     4137cat >>confdefs.h <<\_ACEOF
    31174138#define TIME_WITH_SYS_TIME 1
    3118 EOF
    3119 
    3120 fi
    3121 
    3122 echo "$as_me:3122: checking whether struct tm is in sys/time.h or time.h" >&5
     4139_ACEOF
     4140
     4141fi
     4142
     4143echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    31234144echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
    31244145if test "${ac_cv_struct_tm+set}" = set; then
     
    31264147else
    31274148  cat >conftest.$ac_ext <<_ACEOF
    3128 #line 3128 "configure"
    3129 #include "confdefs.h"
     4149/* confdefs.h.  */
     4150_ACEOF
     4151cat confdefs.h >>conftest.$ac_ext
     4152cat >>conftest.$ac_ext <<_ACEOF
     4153/* end confdefs.h.  */
    31304154#include <sys/types.h>
    31314155#include <time.h>
     
    31404164_ACEOF
    31414165rm -f conftest.$ac_objext
    3142 if { (eval echo "$as_me:3142: \"$ac_compile\"") >&5
    3143   (eval $ac_compile) 2>&5
    3144   ac_status=$?
    3145   echo "$as_me:3145: \$? = $ac_status" >&5
     4166if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4167  (eval $ac_compile) 2>conftest.er1
     4168  ac_status=$?
     4169  grep -v '^ *+' conftest.er1 >conftest.err
     4170  rm -f conftest.er1
     4171  cat conftest.err >&5
     4172  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31464173  (exit $ac_status); } &&
    3147          { ac_try='test -s conftest.$ac_objext'
    3148   { (eval echo "$as_me:3148: \"$ac_try\"") >&5
    3149   (eval $ac_try) 2>&5
    3150   ac_status=$?
    3151   echo "$as_me:3151: \$? = $ac_status" >&5
     4174     { ac_try='test -z "$ac_c_werror_flag"
     4175             || test ! -s conftest.err'
     4176  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4177  (eval $ac_try) 2>&5
     4178  ac_status=$?
     4179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4180  (exit $ac_status); }; } &&
     4181     { ac_try='test -s conftest.$ac_objext'
     4182  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4183  (eval $ac_try) 2>&5
     4184  ac_status=$?
     4185  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31524186  (exit $ac_status); }; }; then
    31534187  ac_cv_struct_tm=time.h
    31544188else
    31554189  echo "$as_me: failed program was:" >&5
    3156 cat conftest.$ac_ext >&5
     4190sed 's/^/| /' conftest.$ac_ext >&5
     4191
    31574192ac_cv_struct_tm=sys/time.h
    31584193fi
    3159 rm -f conftest.$ac_objext conftest.$ac_ext
    3160 fi
    3161 echo "$as_me:3161: result: $ac_cv_struct_tm" >&5
     4194rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4195fi
     4196echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    31624197echo "${ECHO_T}$ac_cv_struct_tm" >&6
    31634198if test $ac_cv_struct_tm = sys/time.h; then
    31644199
    3165 cat >>confdefs.h <<\EOF
     4200cat >>confdefs.h <<\_ACEOF
    31664201#define TM_IN_SYS_TIME 1
    3167 EOF
    3168 
    3169 fi
     4202_ACEOF
     4203
     4204fi
     4205
    31704206
    31714207if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
    31724208cat >conftest.$ac_ext <<_ACEOF
    3173 #line 3173 "configure"
    3174 #include "confdefs.h"
     4209/* confdefs.h.  */
     4210_ACEOF
     4211cat confdefs.h >>conftest.$ac_ext
     4212cat >>conftest.$ac_ext <<_ACEOF
     4213/* end confdefs.h.  */
    31754214#include <stdio.h>
    31764215
     
    31844223_ACEOF
    31854224rm -f conftest.$ac_objext
    3186 if { (eval echo "$as_me:3186: \"$ac_compile\"") >&5
    3187   (eval $ac_compile) 2>&5
    3188   ac_status=$?
    3189   echo "$as_me:3189: \$? = $ac_status" >&5
     4225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4226  (eval $ac_compile) 2>conftest.er1
     4227  ac_status=$?
     4228  grep -v '^ *+' conftest.er1 >conftest.err
     4229  rm -f conftest.er1
     4230  cat conftest.err >&5
     4231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31904232  (exit $ac_status); } &&
    3191          { ac_try='test -s conftest.$ac_objext'
    3192   { (eval echo "$as_me:3192: \"$ac_try\"") >&5
    3193   (eval $ac_try) 2>&5
    3194   ac_status=$?
    3195   echo "$as_me:3195: \$? = $ac_status" >&5
     4233     { ac_try='test -z "$ac_c_werror_flag"
     4234             || test ! -s conftest.err'
     4235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4236  (eval $ac_try) 2>&5
     4237  ac_status=$?
     4238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4239  (exit $ac_status); }; } &&
     4240     { ac_try='test -s conftest.$ac_objext'
     4241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4242  (eval $ac_try) 2>&5
     4243  ac_status=$?
     4244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    31964245  (exit $ac_status); }; }; then
    31974246  :
    31984247else
    31994248  echo "$as_me: failed program was:" >&5
    3200 cat conftest.$ac_ext >&5
     4249sed 's/^/| /' conftest.$ac_ext >&5
     4250
    32014251CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    32024252fi
    3203 rm -f conftest.$ac_objext conftest.$ac_ext
    3204 fi
    3205 
    3206 echo "$as_me:3206: checking for main in -lg" >&5
     4253rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4254fi
     4255
     4256
     4257
     4258echo "$as_me:$LINENO: checking for main in -lg" >&5
    32074259echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
    32084260if test "${ac_cv_lib_g_main+set}" = set; then
     
    32124264LIBS="-lg  $LIBS"
    32134265cat >conftest.$ac_ext <<_ACEOF
    3214 #line 3214 "configure"
    3215 #include "confdefs.h"
     4266/* confdefs.h.  */
     4267_ACEOF
     4268cat confdefs.h >>conftest.$ac_ext
     4269cat >>conftest.$ac_ext <<_ACEOF
     4270/* end confdefs.h.  */
     4271
    32164272
    32174273int
     
    32244280_ACEOF
    32254281rm -f conftest.$ac_objext conftest$ac_exeext
    3226 if { (eval echo "$as_me:3226: \"$ac_link\"") >&5
    3227   (eval $ac_link) 2>&5
    3228   ac_status=$?
    3229   echo "$as_me:3229: \$? = $ac_status" >&5
     4282if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4283  (eval $ac_link) 2>conftest.er1
     4284  ac_status=$?
     4285  grep -v '^ *+' conftest.er1 >conftest.err
     4286  rm -f conftest.er1
     4287  cat conftest.err >&5
     4288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32304289  (exit $ac_status); } &&
    3231          { ac_try='test -s conftest$ac_exeext'
    3232   { (eval echo "$as_me:3232: \"$ac_try\"") >&5
    3233   (eval $ac_try) 2>&5
    3234   ac_status=$?
    3235   echo "$as_me:3235: \$? = $ac_status" >&5
     4290     { ac_try='test -z "$ac_c_werror_flag"
     4291             || test ! -s conftest.err'
     4292  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4293  (eval $ac_try) 2>&5
     4294  ac_status=$?
     4295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4296  (exit $ac_status); }; } &&
     4297     { ac_try='test -s conftest$ac_exeext'
     4298  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4299  (eval $ac_try) 2>&5
     4300  ac_status=$?
     4301  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32364302  (exit $ac_status); }; }; then
    32374303  ac_cv_lib_g_main=yes
    32384304else
    32394305  echo "$as_me: failed program was:" >&5
    3240 cat conftest.$ac_ext >&5
     4306sed 's/^/| /' conftest.$ac_ext >&5
     4307
    32414308ac_cv_lib_g_main=no
    32424309fi
    3243 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4310rm -f conftest.err conftest.$ac_objext \
     4311      conftest$ac_exeext conftest.$ac_ext
    32444312LIBS=$ac_check_lib_save_LIBS
    32454313fi
    3246 echo "$as_me:3246: result: $ac_cv_lib_g_main" >&5
     4314echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    32474315echo "${ECHO_T}$ac_cv_lib_g_main" >&6
    32484316if test $ac_cv_lib_g_main = yes; then
    3249   cat >>confdefs.h <<EOF
     4317  cat >>confdefs.h <<_ACEOF
    32504318#define HAVE_LIBG 1
    3251 EOF
     4319_ACEOF
    32524320
    32534321  LIBS="-lg $LIBS"
     
    32554323fi
    32564324
    3257 echo "$as_me:3257: checking for main in -lm" >&5
     4325
     4326echo "$as_me:$LINENO: checking for main in -lm" >&5
    32584327echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
    32594328if test "${ac_cv_lib_m_main+set}" = set; then
     
    32634332LIBS="-lm  $LIBS"
    32644333cat >conftest.$ac_ext <<_ACEOF
    3265 #line 3265 "configure"
    3266 #include "confdefs.h"
     4334/* confdefs.h.  */
     4335_ACEOF
     4336cat confdefs.h >>conftest.$ac_ext
     4337cat >>conftest.$ac_ext <<_ACEOF
     4338/* end confdefs.h.  */
     4339
    32674340
    32684341int
     
    32754348_ACEOF
    32764349rm -f conftest.$ac_objext conftest$ac_exeext
    3277 if { (eval echo "$as_me:3277: \"$ac_link\"") >&5
    3278   (eval $ac_link) 2>&5
    3279   ac_status=$?
    3280   echo "$as_me:3280: \$? = $ac_status" >&5
     4350if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4351  (eval $ac_link) 2>conftest.er1
     4352  ac_status=$?
     4353  grep -v '^ *+' conftest.er1 >conftest.err
     4354  rm -f conftest.er1
     4355  cat conftest.err >&5
     4356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32814357  (exit $ac_status); } &&
    3282          { ac_try='test -s conftest$ac_exeext'
    3283   { (eval echo "$as_me:3283: \"$ac_try\"") >&5
    3284   (eval $ac_try) 2>&5
    3285   ac_status=$?
    3286   echo "$as_me:3286: \$? = $ac_status" >&5
     4358     { ac_try='test -z "$ac_c_werror_flag"
     4359             || test ! -s conftest.err'
     4360  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4361  (eval $ac_try) 2>&5
     4362  ac_status=$?
     4363  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4364  (exit $ac_status); }; } &&
     4365     { ac_try='test -s conftest$ac_exeext'
     4366  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4367  (eval $ac_try) 2>&5
     4368  ac_status=$?
     4369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32874370  (exit $ac_status); }; }; then
    32884371  ac_cv_lib_m_main=yes
    32894372else
    32904373  echo "$as_me: failed program was:" >&5
    3291 cat conftest.$ac_ext >&5
     4374sed 's/^/| /' conftest.$ac_ext >&5
     4375
    32924376ac_cv_lib_m_main=no
    32934377fi
    3294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4378rm -f conftest.err conftest.$ac_objext \
     4379      conftest$ac_exeext conftest.$ac_ext
    32954380LIBS=$ac_check_lib_save_LIBS
    32964381fi
    3297 echo "$as_me:3297: result: $ac_cv_lib_m_main" >&5
     4382echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    32984383echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    32994384if test $ac_cv_lib_m_main = yes; then
    3300   cat >>confdefs.h <<EOF
     4385  cat >>confdefs.h <<_ACEOF
    33014386#define HAVE_LIBM 1
    3302 EOF
     4387_ACEOF
    33034388
    33044389  LIBS="-lm $LIBS"
     
    33064391fi
    33074392
    3308 echo "$as_me:3308: checking for main in -lstdc++" >&5
     4393
     4394echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
    33094395echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6
    33104396if test "${ac_cv_lib_stdcpp_main+set}" = set; then
     
    33144400LIBS="-lstdc++  $LIBS"
    33154401cat >conftest.$ac_ext <<_ACEOF
    3316 #line 3316 "configure"
    3317 #include "confdefs.h"
     4402/* confdefs.h.  */
     4403_ACEOF
     4404cat confdefs.h >>conftest.$ac_ext
     4405cat >>conftest.$ac_ext <<_ACEOF
     4406/* end confdefs.h.  */
     4407
    33184408
    33194409int
     
    33264416_ACEOF
    33274417rm -f conftest.$ac_objext conftest$ac_exeext
    3328 if { (eval echo "$as_me:3328: \"$ac_link\"") >&5
    3329   (eval $ac_link) 2>&5
    3330   ac_status=$?
    3331   echo "$as_me:3331: \$? = $ac_status" >&5
     4418if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4419  (eval $ac_link) 2>conftest.er1
     4420  ac_status=$?
     4421  grep -v '^ *+' conftest.er1 >conftest.err
     4422  rm -f conftest.er1
     4423  cat conftest.err >&5
     4424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    33324425  (exit $ac_status); } &&
    3333          { ac_try='test -s conftest$ac_exeext'
    3334   { (eval echo "$as_me:3334: \"$ac_try\"") >&5
    3335   (eval $ac_try) 2>&5
    3336   ac_status=$?
    3337   echo "$as_me:3337: \$? = $ac_status" >&5
     4426     { ac_try='test -z "$ac_c_werror_flag"
     4427             || test ! -s conftest.err'
     4428  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4429  (eval $ac_try) 2>&5
     4430  ac_status=$?
     4431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4432  (exit $ac_status); }; } &&
     4433     { ac_try='test -s conftest$ac_exeext'
     4434  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4435  (eval $ac_try) 2>&5
     4436  ac_status=$?
     4437  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    33384438  (exit $ac_status); }; }; then
    33394439  ac_cv_lib_stdcpp_main=yes
    33404440else
    33414441  echo "$as_me: failed program was:" >&5
    3342 cat conftest.$ac_ext >&5
     4442sed 's/^/| /' conftest.$ac_ext >&5
     4443
    33434444ac_cv_lib_stdcpp_main=no
    33444445fi
    3345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4446rm -f conftest.err conftest.$ac_objext \
     4447      conftest$ac_exeext conftest.$ac_ext
    33464448LIBS=$ac_check_lib_save_LIBS
    33474449fi
    3348 echo "$as_me:3348: result: $ac_cv_lib_stdcpp_main" >&5
     4450echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
    33494451echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6
    33504452if test $ac_cv_lib_stdcpp_main = yes; then
    3351   cat >>confdefs.h <<EOF
     4453  cat >>confdefs.h <<_ACEOF
    33524454#define HAVE_LIBSTDC__ 1
    3353 EOF
     4455_ACEOF
    33544456
    33554457  LIBS="-lstdc++ $LIBS"
     
    33574459fi
    33584460
    3359 echo "$as_me:3359: checking for main in -lcrypt" >&5
     4461
     4462echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    33604463echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
    33614464if test "${ac_cv_lib_crypt_main+set}" = set; then
     
    33654468LIBS="-lcrypt  $LIBS"
    33664469cat >conftest.$ac_ext <<_ACEOF
    3367 #line 3367 "configure"
    3368 #include "confdefs.h"
     4470/* confdefs.h.  */
     4471_ACEOF
     4472cat confdefs.h >>conftest.$ac_ext
     4473cat >>conftest.$ac_ext <<_ACEOF
     4474/* end confdefs.h.  */
     4475
    33694476
    33704477int
     
    33774484_ACEOF
    33784485rm -f conftest.$ac_objext conftest$ac_exeext
    3379 if { (eval echo "$as_me:3379: \"$ac_link\"") >&5
    3380   (eval $ac_link) 2>&5
    3381   ac_status=$?
    3382   echo "$as_me:3382: \$? = $ac_status" >&5
     4486if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4487  (eval $ac_link) 2>conftest.er1
     4488  ac_status=$?
     4489  grep -v '^ *+' conftest.er1 >conftest.err
     4490  rm -f conftest.er1
     4491  cat conftest.err >&5
     4492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    33834493  (exit $ac_status); } &&
    3384          { ac_try='test -s conftest$ac_exeext'
    3385   { (eval echo "$as_me:3385: \"$ac_try\"") >&5
    3386   (eval $ac_try) 2>&5
    3387   ac_status=$?
    3388   echo "$as_me:3388: \$? = $ac_status" >&5
     4494     { ac_try='test -z "$ac_c_werror_flag"
     4495             || test ! -s conftest.err'
     4496  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4497  (eval $ac_try) 2>&5
     4498  ac_status=$?
     4499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4500  (exit $ac_status); }; } &&
     4501     { ac_try='test -s conftest$ac_exeext'
     4502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4503  (eval $ac_try) 2>&5
     4504  ac_status=$?
     4505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    33894506  (exit $ac_status); }; }; then
    33904507  ac_cv_lib_crypt_main=yes
    33914508else
    33924509  echo "$as_me: failed program was:" >&5
    3393 cat conftest.$ac_ext >&5
     4510sed 's/^/| /' conftest.$ac_ext >&5
     4511
    33944512ac_cv_lib_crypt_main=no
    33954513fi
    3396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     4514rm -f conftest.err conftest.$ac_objext \
     4515      conftest$ac_exeext conftest.$ac_ext
    33974516LIBS=$ac_check_lib_save_LIBS
    33984517fi
    3399 echo "$as_me:3399: result: $ac_cv_lib_crypt_main" >&5
     4518echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    34004519echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
    34014520if test $ac_cv_lib_crypt_main = yes; then
    3402   cat >>confdefs.h <<EOF
     4521  cat >>confdefs.h <<_ACEOF
    34034522#define HAVE_LIBCRYPT 1
    3404 EOF
     4523_ACEOF
    34054524
    34064525  LIBS="-lcrypt $LIBS"
    34074526
    34084527fi
     4528
     4529
     4530
     4531
     4532
     4533
    34094534
    34104535ac_header_dirent=no
    34114536for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    3412   ac_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $ac_tr_sh`
    3413 echo "$as_me:3413: checking for $ac_hdr that defines DIR" >&5
     4537  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
     4538echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    34144539echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    3415 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
     4540if eval "test \"\${$as_ac_Header+set}\" = set"; then
    34164541  echo $ECHO_N "(cached) $ECHO_C" >&6
    34174542else
    34184543  cat >conftest.$ac_ext <<_ACEOF
    3419 #line 3419 "configure"
    3420 #include "confdefs.h"
     4544/* confdefs.h.  */
     4545_ACEOF
     4546cat confdefs.h >>conftest.$ac_ext
     4547cat >>conftest.$ac_ext <<_ACEOF
     4548/* end confdefs.h.  */
    34214549#include <sys/types.h>
    34224550#include <$ac_hdr>
     
    34254553main ()
    34264554{
    3427 DIR *dirp = 0;
     4555if ((DIR *) 0)
     4556return 0;
    34284557  ;
    34294558  return 0;
     
    34314560_ACEOF
    34324561rm -f conftest.$ac_objext
    3433 if { (eval echo "$as_me:3433: \"$ac_compile\"") >&5
    3434   (eval $ac_compile) 2>&5
    3435   ac_status=$?
    3436   echo "$as_me:3436: \$? = $ac_status" >&5
     4562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4563  (eval $ac_compile) 2>conftest.er1
     4564  ac_status=$?
     4565  grep -v '^ *+' conftest.er1 >conftest.err
     4566  rm -f conftest.er1
     4567  cat conftest.err >&5
     4568  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    34374569  (exit $ac_status); } &&
    3438          { ac_try='test -s conftest.$ac_objext'
    3439   { (eval echo "$as_me:3439: \"$ac_try\"") >&5
    3440   (eval $ac_try) 2>&5
    3441   ac_status=$?
    3442   echo "$as_me:3442: \$? = $ac_status" >&5
     4570     { ac_try='test -z "$ac_c_werror_flag"
     4571             || test ! -s conftest.err'
     4572  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4573  (eval $ac_try) 2>&5
     4574  ac_status=$?
     4575  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4576  (exit $ac_status); }; } &&
     4577     { ac_try='test -s conftest.$ac_objext'
     4578  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4579  (eval $ac_try) 2>&5
     4580  ac_status=$?
     4581  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    34434582  (exit $ac_status); }; }; then
    3444   eval "$ac_ac_Header=yes"
     4583  eval "$as_ac_Header=yes"
    34454584else
    34464585  echo "$as_me: failed program was:" >&5
    3447 cat conftest.$ac_ext >&5
    3448 eval "$ac_ac_Header=no"
    3449 fi
    3450 rm -f conftest.$ac_objext conftest.$ac_ext
    3451 fi
    3452 echo "$as_me:3452: result: `eval echo '${'$ac_ac_Header'}'`" >&5
    3453 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
    3454 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
    3455   cat >>confdefs.h <<EOF
    3456 #define `echo "HAVE_$ac_hdr" | $ac_tr_cpp` 1
    3457 EOF
     4586sed 's/^/| /' conftest.$ac_ext >&5
     4587
     4588eval "$as_ac_Header=no"
     4589fi
     4590rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4591fi
     4592echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4593echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4594if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4595  cat >>confdefs.h <<_ACEOF
     4596#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
     4597_ACEOF
    34584598
    34594599ac_header_dirent=$ac_hdr; break
     
    34634603# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    34644604if test $ac_header_dirent = dirent.h; then
    3465   echo "$as_me:3465: checking for opendir in -ldir" >&5
    3466 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
    3467 if test "${ac_cv_lib_dir_opendir+set}" = set; then
     4605  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4606echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     4607if test "${ac_cv_search_opendir+set}" = set; then
    34684608  echo $ECHO_N "(cached) $ECHO_C" >&6
    34694609else
    3470   ac_check_lib_save_LIBS=$LIBS
    3471 LIBS="-ldir  $LIBS"
     4610  ac_func_search_save_LIBS=$LIBS
     4611ac_cv_search_opendir=no
    34724612cat >conftest.$ac_ext <<_ACEOF
    3473 #line 3473 "configure"
    3474 #include "confdefs.h"
     4613/* confdefs.h.  */
     4614_ACEOF
     4615cat confdefs.h >>conftest.$ac_ext
     4616cat >>conftest.$ac_ext <<_ACEOF
     4617/* end confdefs.h.  */
    34754618
    34764619/* Override any gcc2 internal prototype to avoid an error.  */
     
    34904633_ACEOF
    34914634rm -f conftest.$ac_objext conftest$ac_exeext
    3492 if { (eval echo "$as_me:3492: \"$ac_link\"") >&5
    3493   (eval $ac_link) 2>&5
    3494   ac_status=$?
    3495   echo "$as_me:3495: \$? = $ac_status" >&5
     4635if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4636  (eval $ac_link) 2>conftest.er1
     4637  ac_status=$?
     4638  grep -v '^ *+' conftest.er1 >conftest.err
     4639  rm -f conftest.er1
     4640  cat conftest.err >&5
     4641  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    34964642  (exit $ac_status); } &&
    3497          { ac_try='test -s conftest$ac_exeext'
    3498   { (eval echo "$as_me:3498: \"$ac_try\"") >&5
    3499   (eval $ac_try) 2>&5
    3500   ac_status=$?
    3501   echo "$as_me:3501: \$? = $ac_status" >&5
     4643     { ac_try='test -z "$ac_c_werror_flag"
     4644             || test ! -s conftest.err'
     4645  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4646  (eval $ac_try) 2>&5
     4647  ac_status=$?
     4648  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4649  (exit $ac_status); }; } &&
     4650     { ac_try='test -s conftest$ac_exeext'
     4651  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4652  (eval $ac_try) 2>&5
     4653  ac_status=$?
     4654  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    35024655  (exit $ac_status); }; }; then
    3503   ac_cv_lib_dir_opendir=yes
     4656  ac_cv_search_opendir="none required"
    35044657else
    35054658  echo "$as_me: failed program was:" >&5
    3506 cat conftest.$ac_ext >&5
    3507 ac_cv_lib_dir_opendir=no
    3508 fi
    3509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    3510 LIBS=$ac_check_lib_save_LIBS
    3511 fi
    3512 echo "$as_me:3512: result: $ac_cv_lib_dir_opendir" >&5
    3513 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
    3514 if test $ac_cv_lib_dir_opendir = yes; then
    3515   LIBS="$LIBS -ldir"
    3516 fi
    3517 
    3518 else
    3519   echo "$as_me:3519: checking for opendir in -lx" >&5
    3520 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
    3521 if test "${ac_cv_lib_x_opendir+set}" = set; then
    3522   echo $ECHO_N "(cached) $ECHO_C" >&6
    3523 else
    3524   ac_check_lib_save_LIBS=$LIBS
    3525 LIBS="-lx  $LIBS"
    3526 cat >conftest.$ac_ext <<_ACEOF
    3527 #line 3527 "configure"
    3528 #include "confdefs.h"
     4659sed 's/^/| /' conftest.$ac_ext >&5
     4660
     4661fi
     4662rm -f conftest.err conftest.$ac_objext \
     4663      conftest$ac_exeext conftest.$ac_ext
     4664if test "$ac_cv_search_opendir" = no; then
     4665  for ac_lib in dir; do
     4666    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4667    cat >conftest.$ac_ext <<_ACEOF
     4668/* confdefs.h.  */
     4669_ACEOF
     4670cat confdefs.h >>conftest.$ac_ext
     4671cat >>conftest.$ac_ext <<_ACEOF
     4672/* end confdefs.h.  */
    35294673
    35304674/* Override any gcc2 internal prototype to avoid an error.  */
     
    35444688_ACEOF
    35454689rm -f conftest.$ac_objext conftest$ac_exeext
    3546 if { (eval echo "$as_me:3546: \"$ac_link\"") >&5
    3547   (eval $ac_link) 2>&5
    3548   ac_status=$?
    3549   echo "$as_me:3549: \$? = $ac_status" >&5
     4690if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4691  (eval $ac_link) 2>conftest.er1
     4692  ac_status=$?
     4693  grep -v '^ *+' conftest.er1 >conftest.err
     4694  rm -f conftest.er1
     4695  cat conftest.err >&5
     4696  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    35504697  (exit $ac_status); } &&
    3551          { ac_try='test -s conftest$ac_exeext'
    3552   { (eval echo "$as_me:3552: \"$ac_try\"") >&5
    3553   (eval $ac_try) 2>&5
    3554   ac_status=$?
    3555   echo "$as_me:3555: \$? = $ac_status" >&5
     4698     { ac_try='test -z "$ac_c_werror_flag"
     4699             || test ! -s conftest.err'
     4700  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4701  (eval $ac_try) 2>&5
     4702  ac_status=$?
     4703  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4704  (exit $ac_status); }; } &&
     4705     { ac_try='test -s conftest$ac_exeext'
     4706  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4707  (eval $ac_try) 2>&5
     4708  ac_status=$?
     4709  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    35564710  (exit $ac_status); }; }; then
    3557   ac_cv_lib_x_opendir=yes
     4711  ac_cv_search_opendir="-l$ac_lib"
     4712break
    35584713else
    35594714  echo "$as_me: failed program was:" >&5
    3560 cat conftest.$ac_ext >&5
    3561 ac_cv_lib_x_opendir=no
    3562 fi
    3563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    3564 LIBS=$ac_check_lib_save_LIBS
    3565 fi
    3566 echo "$as_me:3566: result: $ac_cv_lib_x_opendir" >&5
    3567 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
    3568 if test $ac_cv_lib_x_opendir = yes; then
    3569   LIBS="$LIBS -lx"
    3570 fi
    3571 
    3572 fi
    3573 
    3574 echo "$as_me:3574: checking for ANSI C header files" >&5
     4715sed 's/^/| /' conftest.$ac_ext >&5
     4716
     4717fi
     4718rm -f conftest.err conftest.$ac_objext \
     4719      conftest$ac_exeext conftest.$ac_ext
     4720  done
     4721fi
     4722LIBS=$ac_func_search_save_LIBS
     4723fi
     4724echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     4725echo "${ECHO_T}$ac_cv_search_opendir" >&6
     4726if test "$ac_cv_search_opendir" != no; then
     4727  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     4728
     4729fi
     4730
     4731else
     4732  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4733echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     4734if test "${ac_cv_search_opendir+set}" = set; then
     4735  echo $ECHO_N "(cached) $ECHO_C" >&6
     4736else
     4737  ac_func_search_save_LIBS=$LIBS
     4738ac_cv_search_opendir=no
     4739cat >conftest.$ac_ext <<_ACEOF
     4740/* confdefs.h.  */
     4741_ACEOF
     4742cat confdefs.h >>conftest.$ac_ext
     4743cat >>conftest.$ac_ext <<_ACEOF
     4744/* end confdefs.h.  */
     4745
     4746/* Override any gcc2 internal prototype to avoid an error.  */
     4747#ifdef __cplusplus
     4748extern "C"
     4749#endif
     4750/* We use char because int might match the return type of a gcc2
     4751   builtin and then its argument prototype would still apply.  */
     4752char opendir ();
     4753int
     4754main ()
     4755{
     4756opendir ();
     4757  ;
     4758  return 0;
     4759}
     4760_ACEOF
     4761rm -f conftest.$ac_objext conftest$ac_exeext
     4762if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4763  (eval $ac_link) 2>conftest.er1
     4764  ac_status=$?
     4765  grep -v '^ *+' conftest.er1 >conftest.err
     4766  rm -f conftest.er1
     4767  cat conftest.err >&5
     4768  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4769  (exit $ac_status); } &&
     4770     { ac_try='test -z "$ac_c_werror_flag"
     4771             || test ! -s conftest.err'
     4772  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4773  (eval $ac_try) 2>&5
     4774  ac_status=$?
     4775  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4776  (exit $ac_status); }; } &&
     4777     { ac_try='test -s conftest$ac_exeext'
     4778  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4779  (eval $ac_try) 2>&5
     4780  ac_status=$?
     4781  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4782  (exit $ac_status); }; }; then
     4783  ac_cv_search_opendir="none required"
     4784else
     4785  echo "$as_me: failed program was:" >&5
     4786sed 's/^/| /' conftest.$ac_ext >&5
     4787
     4788fi
     4789rm -f conftest.err conftest.$ac_objext \
     4790      conftest$ac_exeext conftest.$ac_ext
     4791if test "$ac_cv_search_opendir" = no; then
     4792  for ac_lib in x; do
     4793    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4794    cat >conftest.$ac_ext <<_ACEOF
     4795/* confdefs.h.  */
     4796_ACEOF
     4797cat confdefs.h >>conftest.$ac_ext
     4798cat >>conftest.$ac_ext <<_ACEOF
     4799/* end confdefs.h.  */
     4800
     4801/* Override any gcc2 internal prototype to avoid an error.  */
     4802#ifdef __cplusplus
     4803extern "C"
     4804#endif
     4805/* We use char because int might match the return type of a gcc2
     4806   builtin and then its argument prototype would still apply.  */
     4807char opendir ();
     4808int
     4809main ()
     4810{
     4811opendir ();
     4812  ;
     4813  return 0;
     4814}
     4815_ACEOF
     4816rm -f conftest.$ac_objext conftest$ac_exeext
     4817if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4818  (eval $ac_link) 2>conftest.er1
     4819  ac_status=$?
     4820  grep -v '^ *+' conftest.er1 >conftest.err
     4821  rm -f conftest.er1
     4822  cat conftest.err >&5
     4823  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4824  (exit $ac_status); } &&
     4825     { ac_try='test -z "$ac_c_werror_flag"
     4826             || test ! -s conftest.err'
     4827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4828  (eval $ac_try) 2>&5
     4829  ac_status=$?
     4830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4831  (exit $ac_status); }; } &&
     4832     { ac_try='test -s conftest$ac_exeext'
     4833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4834  (eval $ac_try) 2>&5
     4835  ac_status=$?
     4836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4837  (exit $ac_status); }; }; then
     4838  ac_cv_search_opendir="-l$ac_lib"
     4839break
     4840else
     4841  echo "$as_me: failed program was:" >&5
     4842sed 's/^/| /' conftest.$ac_ext >&5
     4843
     4844fi
     4845rm -f conftest.err conftest.$ac_objext \
     4846      conftest$ac_exeext conftest.$ac_ext
     4847  done
     4848fi
     4849LIBS=$ac_func_search_save_LIBS
     4850fi
     4851echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     4852echo "${ECHO_T}$ac_cv_search_opendir" >&6
     4853if test "$ac_cv_search_opendir" != no; then
     4854  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     4855
     4856fi
     4857
     4858fi
     4859
     4860echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    35754861echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    35764862if test "${ac_cv_header_stdc+set}" = set; then
     
    35784864else
    35794865  cat >conftest.$ac_ext <<_ACEOF
    3580 #line 3580 "configure"
    3581 #include "confdefs.h"
     4866/* confdefs.h.  */
     4867_ACEOF
     4868cat confdefs.h >>conftest.$ac_ext
     4869cat >>conftest.$ac_ext <<_ACEOF
     4870/* end confdefs.h.  */
    35824871#include <stdlib.h>
    35834872#include <stdarg.h>
     
    35854874#include <float.h>
    35864875
    3587 _ACEOF
    3588 if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5
    3589   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3590   ac_status=$?
    3591   egrep -v '^ *\+' conftest.er1 >conftest.err
     4876int
     4877main ()
     4878{
     4879
     4880  ;
     4881  return 0;
     4882}
     4883_ACEOF
     4884rm -f conftest.$ac_objext
     4885if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4886  (eval $ac_compile) 2>conftest.er1
     4887  ac_status=$?
     4888  grep -v '^ *+' conftest.er1 >conftest.err
    35924889  rm -f conftest.er1
    35934890  cat conftest.err >&5
    3594   echo "$as_me:3594: \$? = $ac_status" >&5
    3595   (exit $ac_status); } >/dev/null; then
    3596   if test -s conftest.err; then
    3597     ac_cpp_err=$ac_c_preproc_warn_flag
    3598   else
    3599     ac_cpp_err=
    3600   fi
    3601 else
    3602   ac_cpp_err=yes
    3603 fi
    3604 if test -z "$ac_cpp_err"; then
     4891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4892  (exit $ac_status); } &&
     4893     { ac_try='test -z "$ac_c_werror_flag"
     4894             || test ! -s conftest.err'
     4895  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4896  (eval $ac_try) 2>&5
     4897  ac_status=$?
     4898  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4899  (exit $ac_status); }; } &&
     4900     { ac_try='test -s conftest.$ac_objext'
     4901  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4902  (eval $ac_try) 2>&5
     4903  ac_status=$?
     4904  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4905  (exit $ac_status); }; }; then
    36054906  ac_cv_header_stdc=yes
    36064907else
    36074908  echo "$as_me: failed program was:" >&5
    3608   cat conftest.$ac_ext >&5
    3609   ac_cv_header_stdc=no
    3610 fi
    3611 rm -f conftest.err conftest.$ac_ext
     4909sed 's/^/| /' conftest.$ac_ext >&5
     4910
     4911ac_cv_header_stdc=no
     4912fi
     4913rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    36124914
    36134915if test $ac_cv_header_stdc = yes; then
    36144916  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    36154917  cat >conftest.$ac_ext <<_ACEOF
    3616 #line 3616 "configure"
    3617 #include "confdefs.h"
     4918/* confdefs.h.  */
     4919_ACEOF
     4920cat confdefs.h >>conftest.$ac_ext
     4921cat >>conftest.$ac_ext <<_ACEOF
     4922/* end confdefs.h.  */
    36184923#include <string.h>
    36194924
    36204925_ACEOF
    36214926if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3622   egrep "memchr" >/dev/null 2>&1; then
     4927  $EGREP "memchr" >/dev/null 2>&1; then
    36234928  :
    36244929else
     
    36324937  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    36334938  cat >conftest.$ac_ext <<_ACEOF
    3634 #line 3634 "configure"
    3635 #include "confdefs.h"
     4939/* confdefs.h.  */
     4940_ACEOF
     4941cat confdefs.h >>conftest.$ac_ext
     4942cat >>conftest.$ac_ext <<_ACEOF
     4943/* end confdefs.h.  */
    36364944#include <stdlib.h>
    36374945
    36384946_ACEOF
    36394947if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3640   egrep "free" >/dev/null 2>&1; then
     4948  $EGREP "free" >/dev/null 2>&1; then
    36414949  :
    36424950else
     
    36534961else
    36544962  cat >conftest.$ac_ext <<_ACEOF
    3655 #line 3655 "configure"
    3656 #include "confdefs.h"
     4963/* confdefs.h.  */
     4964_ACEOF
     4965cat confdefs.h >>conftest.$ac_ext
     4966cat >>conftest.$ac_ext <<_ACEOF
     4967/* end confdefs.h.  */
    36574968#include <ctype.h>
    36584969#if ((' ' & 0x0FF) == 0x020)
     
    36604971# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    36614972#else
    3662 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
    3663                      || ('j' <= (c) && (c) <= 'r') \
    3664                      || ('s' <= (c) && (c) <= 'z'))
     4973# define ISLOWER(c) \
     4974           (('a' <= (c) && (c) <= 'i') \
     4975             || ('j' <= (c) && (c) <= 'r') \
     4976             || ('s' <= (c) && (c) <= 'z'))
    36654977# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    36664978#endif
     
    36734985  for (i = 0; i < 256; i++)
    36744986    if (XOR (islower (i), ISLOWER (i))
    3675         || toupper (i) != TOUPPER (i))
     4987    || toupper (i) != TOUPPER (i))
    36764988      exit(2);
    36774989  exit (0);
     
    36794991_ACEOF
    36804992rm -f conftest$ac_exeext
    3681 if { (eval echo "$as_me:3681: \"$ac_link\"") >&5
     4993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    36824994  (eval $ac_link) 2>&5
    36834995  ac_status=$?
    3684   echo "$as_me:3684: \$? = $ac_status" >&5
     4996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    36854997  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3686   { (eval echo "$as_me:3686: \"$ac_try\"") >&5
    3687   (eval $ac_try) 2>&5
    3688   ac_status=$?
    3689   echo "$as_me:3689: \$? = $ac_status" >&5
     4998  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4999  (eval $ac_try) 2>&5
     5000  ac_status=$?
     5001  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    36905002  (exit $ac_status); }; }; then
    36915003  :
     
    36935005  echo "$as_me: program exited with status $ac_status" >&5
    36945006echo "$as_me: failed program was:" >&5
    3695 cat conftest.$ac_ext >&5
     5007sed 's/^/| /' conftest.$ac_ext >&5
     5008
     5009( exit $ac_status )
    36965010ac_cv_header_stdc=no
    36975011fi
    3698 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
    3699 fi
    3700 fi
    3701 fi
    3702 echo "$as_me:3702: result: $ac_cv_header_stdc" >&5
     5012rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5013fi
     5014fi
     5015fi
     5016echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    37035017echo "${ECHO_T}$ac_cv_header_stdc" >&6
    37045018if test $ac_cv_header_stdc = yes; then
    37055019
    3706 cat >>confdefs.h <<\EOF
     5020cat >>confdefs.h <<\_ACEOF
    37075021#define STDC_HEADERS 1
    3708 EOF
    3709 
    3710 fi
     5022_ACEOF
     5023
     5024fi
     5025
     5026
     5027
     5028
     5029
     5030
     5031
     5032
    37115033
    37125034for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h
    37135035do
    3714 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
    3715 echo "$as_me:3715: checking for $ac_header" >&5
     5036as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5037if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5038  echo "$as_me:$LINENO: checking for $ac_header" >&5
    37165039echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3717 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
     5040if eval "test \"\${$as_ac_Header+set}\" = set"; then
    37185041  echo $ECHO_N "(cached) $ECHO_C" >&6
    3719 else
    3720   cat >conftest.$ac_ext <<_ACEOF
    3721 #line 3721 "configure"
    3722 #include "confdefs.h"
     5042fi
     5043echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5044echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5045else
     5046  # Is the header compilable?
     5047echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5048echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5049cat >conftest.$ac_ext <<_ACEOF
     5050/* confdefs.h.  */
     5051_ACEOF
     5052cat confdefs.h >>conftest.$ac_ext
     5053cat >>conftest.$ac_ext <<_ACEOF
     5054/* end confdefs.h.  */
     5055$ac_includes_default
    37235056#include <$ac_header>
    37245057_ACEOF
    3725 if { (eval echo "$as_me:3725: \"$ac_cpp conftest.$ac_ext\"") >&5
    3726   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3727   ac_status=$?
    3728   egrep -v '^ *\+' conftest.er1 >conftest.err
     5058rm -f conftest.$ac_objext
     5059if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5060  (eval $ac_compile) 2>conftest.er1
     5061  ac_status=$?
     5062  grep -v '^ *+' conftest.er1 >conftest.err
    37295063  rm -f conftest.er1
    37305064  cat conftest.err >&5
    3731   echo "$as_me:3731: \$? = $ac_status" >&5
     5065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5066  (exit $ac_status); } &&
     5067     { ac_try='test -z "$ac_c_werror_flag"
     5068             || test ! -s conftest.err'
     5069  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5070  (eval $ac_try) 2>&5
     5071  ac_status=$?
     5072  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5073  (exit $ac_status); }; } &&
     5074     { ac_try='test -s conftest.$ac_objext'
     5075  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5076  (eval $ac_try) 2>&5
     5077  ac_status=$?
     5078  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5079  (exit $ac_status); }; }; then
     5080  ac_header_compiler=yes
     5081else
     5082  echo "$as_me: failed program was:" >&5
     5083sed 's/^/| /' conftest.$ac_ext >&5
     5084
     5085ac_header_compiler=no
     5086fi
     5087rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5088echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5089echo "${ECHO_T}$ac_header_compiler" >&6
     5090
     5091# Is the header present?
     5092echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5093echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5094cat >conftest.$ac_ext <<_ACEOF
     5095/* confdefs.h.  */
     5096_ACEOF
     5097cat confdefs.h >>conftest.$ac_ext
     5098cat >>conftest.$ac_ext <<_ACEOF
     5099/* end confdefs.h.  */
     5100#include <$ac_header>
     5101_ACEOF
     5102if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5103  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5104  ac_status=$?
     5105  grep -v '^ *+' conftest.er1 >conftest.err
     5106  rm -f conftest.er1
     5107  cat conftest.err >&5
     5108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37325109  (exit $ac_status); } >/dev/null; then
    37335110  if test -s conftest.err; then
    37345111    ac_cpp_err=$ac_c_preproc_warn_flag
     5112    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    37355113  else
    37365114    ac_cpp_err=
     
    37405118fi
    37415119if test -z "$ac_cpp_err"; then
    3742   eval "$ac_ac_Header=yes"
     5120  ac_header_preproc=yes
    37435121else
    37445122  echo "$as_me: failed program was:" >&5
    3745   cat conftest.$ac_ext >&5
    3746   eval "$ac_ac_Header=no"
     5123sed 's/^/| /' conftest.$ac_ext >&5
     5124
     5125  ac_header_preproc=no
    37475126fi
    37485127rm -f conftest.err conftest.$ac_ext
    3749 fi
    3750 echo "$as_me:3750: result: `eval echo '${'$ac_ac_Header'}'`" >&5
    3751 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
    3752 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
    3753   cat >>confdefs.h <<EOF
    3754 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
    3755 EOF
    3756 
    3757 fi
     5128echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5129echo "${ECHO_T}$ac_header_preproc" >&6
     5130
     5131# So?  What about this header?
     5132case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5133  yes:no: )
     5134    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5135echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5136    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5137echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5138    ac_header_preproc=yes
     5139    ;;
     5140  no:yes:* )
     5141    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5142echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5143    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5144echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5145    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5146echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5147    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5148echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5149    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5150echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5151    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5152echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5153    (
     5154      cat <<\_ASBOX
     5155## ------------------------------------------ ##
     5156## Report this to the AC_PACKAGE_NAME lists.  ##
     5157## ------------------------------------------ ##
     5158_ASBOX
     5159    ) |
     5160      sed "s/^/$as_me: WARNING:     /" >&2
     5161    ;;
     5162esac
     5163echo "$as_me:$LINENO: checking for $ac_header" >&5
     5164echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5165if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5166  echo $ECHO_N "(cached) $ECHO_C" >&6
     5167else
     5168  eval "$as_ac_Header=\$ac_header_preproc"
     5169fi
     5170echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5171echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5172
     5173fi
     5174if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5175  cat >>confdefs.h <<_ACEOF
     5176#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5177_ACEOF
     5178
     5179fi
     5180
    37585181done
    37595182
    37605183cat >conftest.$ac_ext <<_ACEOF
    3761 #line 3761 "configure"
    3762 #include "confdefs.h"
     5184/* confdefs.h.  */
     5185_ACEOF
     5186cat confdefs.h >>conftest.$ac_ext
     5187cat >>conftest.$ac_ext <<_ACEOF
     5188/* end confdefs.h.  */
    37635189#include <stdio.h>
    37645190
    37655191_ACEOF
    37665192if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3767   egrep "fread" >/dev/null 2>&1; then
    3768   cat >>confdefs.h <<\EOF
     5193  $EGREP "fread" >/dev/null 2>&1; then
     5194  cat >>confdefs.h <<\_ACEOF
    37695195#define HAVE_FREAD_DECL 1
    3770 EOF
     5196_ACEOF
    37715197
    37725198fi
     
    37745200
    37755201cat >conftest.$ac_ext <<_ACEOF
    3776 #line 3776 "configure"
    3777 #include "confdefs.h"
     5202/* confdefs.h.  */
     5203_ACEOF
     5204cat confdefs.h >>conftest.$ac_ext
     5205cat >>conftest.$ac_ext <<_ACEOF
     5206/* end confdefs.h.  */
    37785207#include <stdio.h>
    37795208
    37805209_ACEOF
    37815210if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3782   egrep "fgetc" >/dev/null 2>&1; then
    3783   cat >>confdefs.h <<\EOF
     5211  $EGREP "fgetc" >/dev/null 2>&1; then
     5212  cat >>confdefs.h <<\_ACEOF
    37845213#define HAVE_FGETC_DECL 1
    3785 EOF
     5214_ACEOF
    37865215
    37875216fi
     
    37895218
    37905219cat >conftest.$ac_ext <<_ACEOF
    3791 #line 3791 "configure"
    3792 #include "confdefs.h"
     5220/* confdefs.h.  */
     5221_ACEOF
     5222cat confdefs.h >>conftest.$ac_ext
     5223cat >>conftest.$ac_ext <<_ACEOF
     5224/* end confdefs.h.  */
    37935225#include <sys/procfs.h>
    37945226
    37955227_ACEOF
    37965228if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3797   egrep "pr_brksize" >/dev/null 2>&1; then
    3798   cat >>confdefs.h <<\EOF
     5229  $EGREP "pr_brksize" >/dev/null 2>&1; then
     5230  cat >>confdefs.h <<\_ACEOF
    37995231#define HAVE_PR_BRKSIZE 1
    3800 EOF
     5232_ACEOF
    38015233
    38025234fi
    38035235rm -f conftest*
     5236
    38045237
    38055238# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    38065239# for constant arguments.  Useless!
    3807 echo "$as_me:3807: checking for working alloca.h" >&5
     5240echo "$as_me:$LINENO: checking for working alloca.h" >&5
    38085241echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
    38095242if test "${ac_cv_working_alloca_h+set}" = set; then
     
    38115244else
    38125245  cat >conftest.$ac_ext <<_ACEOF
    3813 #line 3813 "configure"
    3814 #include "confdefs.h"
     5246/* confdefs.h.  */
     5247_ACEOF
     5248cat confdefs.h >>conftest.$ac_ext
     5249cat >>conftest.$ac_ext <<_ACEOF
     5250/* end confdefs.h.  */
    38155251#include <alloca.h>
    38165252int
     
    38235259_ACEOF
    38245260rm -f conftest.$ac_objext conftest$ac_exeext
    3825 if { (eval echo "$as_me:3825: \"$ac_link\"") >&5
    3826   (eval $ac_link) 2>&5
    3827   ac_status=$?
    3828   echo "$as_me:3828: \$? = $ac_status" >&5
     5261if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5262  (eval $ac_link) 2>conftest.er1
     5263  ac_status=$?
     5264  grep -v '^ *+' conftest.er1 >conftest.err
     5265  rm -f conftest.er1
     5266  cat conftest.err >&5
     5267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38295268  (exit $ac_status); } &&
    3830          { ac_try='test -s conftest$ac_exeext'
    3831   { (eval echo "$as_me:3831: \"$ac_try\"") >&5
    3832   (eval $ac_try) 2>&5
    3833   ac_status=$?
    3834   echo "$as_me:3834: \$? = $ac_status" >&5
     5269     { ac_try='test -z "$ac_c_werror_flag"
     5270             || test ! -s conftest.err'
     5271  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5272  (eval $ac_try) 2>&5
     5273  ac_status=$?
     5274  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5275  (exit $ac_status); }; } &&
     5276     { ac_try='test -s conftest$ac_exeext'
     5277  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5278  (eval $ac_try) 2>&5
     5279  ac_status=$?
     5280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38355281  (exit $ac_status); }; }; then
    38365282  ac_cv_working_alloca_h=yes
    38375283else
    38385284  echo "$as_me: failed program was:" >&5
    3839 cat conftest.$ac_ext >&5
     5285sed 's/^/| /' conftest.$ac_ext >&5
     5286
    38405287ac_cv_working_alloca_h=no
    38415288fi
    3842 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    3843 fi
    3844 echo "$as_me:3844: result: $ac_cv_working_alloca_h" >&5
     5289rm -f conftest.err conftest.$ac_objext \
     5290      conftest$ac_exeext conftest.$ac_ext
     5291fi
     5292echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    38455293echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
    38465294if test $ac_cv_working_alloca_h = yes; then
    38475295
    3848 cat >>confdefs.h <<\EOF
     5296cat >>confdefs.h <<\_ACEOF
    38495297#define HAVE_ALLOCA_H 1
    3850 EOF
    3851 
    3852 fi
    3853 
    3854 echo "$as_me:3854: checking for alloca" >&5
     5298_ACEOF
     5299
     5300fi
     5301
     5302echo "$as_me:$LINENO: checking for alloca" >&5
    38555303echo $ECHO_N "checking for alloca... $ECHO_C" >&6
    38565304if test "${ac_cv_func_alloca_works+set}" = set; then
     
    38585306else
    38595307  cat >conftest.$ac_ext <<_ACEOF
    3860 #line 3860 "configure"
    3861 #include "confdefs.h"
     5308/* confdefs.h.  */
     5309_ACEOF
     5310cat confdefs.h >>conftest.$ac_ext
     5311cat >>conftest.$ac_ext <<_ACEOF
     5312/* end confdefs.h.  */
    38625313#ifdef __GNUC__
    38635314# define alloca __builtin_alloca
     
    38905341_ACEOF
    38915342rm -f conftest.$ac_objext conftest$ac_exeext
    3892 if { (eval echo "$as_me:3892: \"$ac_link\"") >&5
    3893   (eval $ac_link) 2>&5
    3894   ac_status=$?
    3895   echo "$as_me:3895: \$? = $ac_status" >&5
     5343if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5344  (eval $ac_link) 2>conftest.er1
     5345  ac_status=$?
     5346  grep -v '^ *+' conftest.er1 >conftest.err
     5347  rm -f conftest.er1
     5348  cat conftest.err >&5
     5349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38965350  (exit $ac_status); } &&
    3897          { ac_try='test -s conftest$ac_exeext'
    3898   { (eval echo "$as_me:3898: \"$ac_try\"") >&5
    3899   (eval $ac_try) 2>&5
    3900   ac_status=$?
    3901   echo "$as_me:3901: \$? = $ac_status" >&5
     5351     { ac_try='test -z "$ac_c_werror_flag"
     5352             || test ! -s conftest.err'
     5353  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5354  (eval $ac_try) 2>&5
     5355  ac_status=$?
     5356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5357  (exit $ac_status); }; } &&
     5358     { ac_try='test -s conftest$ac_exeext'
     5359  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5360  (eval $ac_try) 2>&5
     5361  ac_status=$?
     5362  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39025363  (exit $ac_status); }; }; then
    39035364  ac_cv_func_alloca_works=yes
    39045365else
    39055366  echo "$as_me: failed program was:" >&5
    3906 cat conftest.$ac_ext >&5
     5367sed 's/^/| /' conftest.$ac_ext >&5
     5368
    39075369ac_cv_func_alloca_works=no
    39085370fi
    3909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    3910 fi
    3911 echo "$as_me:3911: result: $ac_cv_func_alloca_works" >&5
     5371rm -f conftest.err conftest.$ac_objext \
     5372      conftest$ac_exeext conftest.$ac_ext
     5373fi
     5374echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    39125375echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
    39135376
    39145377if test $ac_cv_func_alloca_works = yes; then
    39155378
    3916 cat >>confdefs.h <<\EOF
     5379cat >>confdefs.h <<\_ACEOF
    39175380#define HAVE_ALLOCA 1
    3918 EOF
     5381_ACEOF
    39195382
    39205383else
     
    39265389ALLOCA=alloca.$ac_objext
    39275390
    3928 cat >>confdefs.h <<\EOF
     5391cat >>confdefs.h <<\_ACEOF
    39295392#define C_ALLOCA 1
    3930 EOF
    3931 
    3932 echo "$as_me:3932: checking whether \`alloca.c' needs Cray hooks" >&5
     5393_ACEOF
     5394
     5395
     5396echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    39335397echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
    39345398if test "${ac_cv_os_cray+set}" = set; then
     
    39365400else
    39375401  cat >conftest.$ac_ext <<_ACEOF
    3938 #line 3938 "configure"
    3939 #include "confdefs.h"
     5402/* confdefs.h.  */
     5403_ACEOF
     5404cat confdefs.h >>conftest.$ac_ext
     5405cat >>conftest.$ac_ext <<_ACEOF
     5406/* end confdefs.h.  */
    39405407#if defined(CRAY) && ! defined(CRAY2)
    39415408webecray
     
    39465413_ACEOF
    39475414if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3948   egrep "webecray" >/dev/null 2>&1; then
     5415  $EGREP "webecray" >/dev/null 2>&1; then
    39495416  ac_cv_os_cray=yes
    39505417else
     
    39545421
    39555422fi
    3956 echo "$as_me:3956: result: $ac_cv_os_cray" >&5
     5423echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    39575424echo "${ECHO_T}$ac_cv_os_cray" >&6
    39585425if test $ac_cv_os_cray = yes; then
    39595426  for ac_func in _getb67 GETB67 getb67; do
    3960     ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
    3961 echo "$as_me:3961: checking for $ac_func" >&5
     5427    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5428echo "$as_me:$LINENO: checking for $ac_func" >&5
    39625429echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    3963 if eval "test \"\${$ac_ac_var+set}\" = set"; then
     5430if eval "test \"\${$as_ac_var+set}\" = set"; then
    39645431  echo $ECHO_N "(cached) $ECHO_C" >&6
    39655432else
    39665433  cat >conftest.$ac_ext <<_ACEOF
    3967 #line 3967 "configure"
    3968 #include "confdefs.h"
     5434/* confdefs.h.  */
     5435_ACEOF
     5436cat confdefs.h >>conftest.$ac_ext
     5437cat >>conftest.$ac_ext <<_ACEOF
     5438/* end confdefs.h.  */
     5439/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     5440   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     5441#define $ac_func innocuous_$ac_func
     5442
    39695443/* System header to define __stub macros and hopefully few prototypes,
    3970     which can conflict with char $ac_func (); below.  */
    3971 #include <assert.h>
     5444    which can conflict with char $ac_func (); below.
     5445    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5446    <limits.h> exists even on freestanding compilers.  */
     5447
     5448#ifdef __STDC__
     5449# include <limits.h>
     5450#else
     5451# include <assert.h>
     5452#endif
     5453
     5454#undef $ac_func
     5455
    39725456/* Override any gcc2 internal prototype to avoid an error.  */
    39735457#ifdef __cplusplus
    39745458extern "C"
     5459{
    39755460#endif
    39765461/* We use char because int might match the return type of a gcc2
    39775462   builtin and then its argument prototype would still apply.  */
    39785463char $ac_func ();
    3979 char (*f) ();
    3980 
    3981 int
    3982 main ()
    3983 {
    39845464/* The GNU C library defines this for functions which it implements
    39855465    to always fail with ENOSYS.  Some functions are actually named
     
    39885468choke me
    39895469#else
    3990 f = $ac_func;
     5470char (*f) () = $ac_func;
    39915471#endif
    3992 
     5472#ifdef __cplusplus
     5473}
     5474#endif
     5475
     5476int
     5477main ()
     5478{
     5479return f != $ac_func;
    39935480  ;
    39945481  return 0;
     
    39965483_ACEOF
    39975484rm -f conftest.$ac_objext conftest$ac_exeext
    3998 if { (eval echo "$as_me:3998: \"$ac_link\"") >&5
    3999   (eval $ac_link) 2>&5
    4000   ac_status=$?
    4001   echo "$as_me:4001: \$? = $ac_status" >&5
     5485if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5486  (eval $ac_link) 2>conftest.er1
     5487  ac_status=$?
     5488  grep -v '^ *+' conftest.er1 >conftest.err
     5489  rm -f conftest.er1
     5490  cat conftest.err >&5
     5491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    40025492  (exit $ac_status); } &&
    4003          { ac_try='test -s conftest$ac_exeext'
    4004   { (eval echo "$as_me:4004: \"$ac_try\"") >&5
    4005   (eval $ac_try) 2>&5
    4006   ac_status=$?
    4007   echo "$as_me:4007: \$? = $ac_status" >&5
     5493     { ac_try='test -z "$ac_c_werror_flag"
     5494             || test ! -s conftest.err'
     5495  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5496  (eval $ac_try) 2>&5
     5497  ac_status=$?
     5498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5499  (exit $ac_status); }; } &&
     5500     { ac_try='test -s conftest$ac_exeext'
     5501  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5502  (eval $ac_try) 2>&5
     5503  ac_status=$?
     5504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    40085505  (exit $ac_status); }; }; then
    4009   eval "$ac_ac_var=yes"
     5506  eval "$as_ac_var=yes"
    40105507else
    40115508  echo "$as_me: failed program was:" >&5
    4012 cat conftest.$ac_ext >&5
    4013 eval "$ac_ac_var=no"
    4014 fi
    4015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4016 fi
    4017 echo "$as_me:4017: result: `eval echo '${'$ac_ac_var'}'`" >&5
    4018 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
    4019 if test `eval echo '${'$ac_ac_var'}'` = yes; then
    4020 
    4021 cat >>confdefs.h <<EOF
     5509sed 's/^/| /' conftest.$ac_ext >&5
     5510
     5511eval "$as_ac_var=no"
     5512fi
     5513rm -f conftest.err conftest.$ac_objext \
     5514      conftest$ac_exeext conftest.$ac_ext
     5515fi
     5516echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     5517echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     5518if test `eval echo '${'$as_ac_var'}'` = yes; then
     5519
     5520cat >>confdefs.h <<_ACEOF
    40225521#define CRAY_STACKSEG_END $ac_func
    4023 EOF
     5522_ACEOF
    40245523
    40255524    break
     
    40295528fi
    40305529
    4031 echo "$as_me:4031: checking stack direction for C alloca" >&5
     5530echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    40325531echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
    40335532if test "${ac_cv_c_stack_direction+set}" = set; then
     
    40385537else
    40395538  cat >conftest.$ac_ext <<_ACEOF
    4040 #line 4040 "configure"
    4041 #include "confdefs.h"
     5539/* confdefs.h.  */
     5540_ACEOF
     5541cat confdefs.h >>conftest.$ac_ext
     5542cat >>conftest.$ac_ext <<_ACEOF
     5543/* end confdefs.h.  */
    40425544int
    40435545find_stack_direction ()
     
    40615563_ACEOF
    40625564rm -f conftest$ac_exeext
    4063 if { (eval echo "$as_me:4063: \"$ac_link\"") >&5
     5565if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    40645566  (eval $ac_link) 2>&5
    40655567  ac_status=$?
    4066   echo "$as_me:4066: \$? = $ac_status" >&5
     5568  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    40675569  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4068   { (eval echo "$as_me:4068: \"$ac_try\"") >&5
    4069   (eval $ac_try) 2>&5
    4070   ac_status=$?
    4071   echo "$as_me:4071: \$? = $ac_status" >&5
     5570  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5571  (eval $ac_try) 2>&5
     5572  ac_status=$?
     5573  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    40725574  (exit $ac_status); }; }; then
    40735575  ac_cv_c_stack_direction=1
     
    40755577  echo "$as_me: program exited with status $ac_status" >&5
    40765578echo "$as_me: failed program was:" >&5
    4077 cat conftest.$ac_ext >&5
     5579sed 's/^/| /' conftest.$ac_ext >&5
     5580
     5581( exit $ac_status )
    40785582ac_cv_c_stack_direction=-1
    40795583fi
    4080 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
    4081 fi
    4082 fi
    4083 echo "$as_me:4083: result: $ac_cv_c_stack_direction" >&5
     5584rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5585fi
     5586fi
     5587echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    40845588echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
    40855589
    4086 cat >>confdefs.h <<EOF
     5590cat >>confdefs.h <<_ACEOF
    40875591#define STACK_DIRECTION $ac_cv_c_stack_direction
    4088 EOF
     5592_ACEOF
     5593
    40895594
    40905595fi
    40915596
    40925597if test $ac_cv_c_compiler_gnu = yes; then
    4093     echo "$as_me:4093: checking whether $CC needs -traditional" >&5
     5598    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    40945599echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
    40955600if test "${ac_cv_prog_gcc_traditional+set}" = set; then
     
    40985603    ac_pattern="Autoconf.*'x'"
    40995604  cat >conftest.$ac_ext <<_ACEOF
    4100 #line 4100 "configure"
    4101 #include "confdefs.h"
     5605/* confdefs.h.  */
     5606_ACEOF
     5607cat confdefs.h >>conftest.$ac_ext
     5608cat >>conftest.$ac_ext <<_ACEOF
     5609/* end confdefs.h.  */
    41025610#include <sgtty.h>
    41035611Autoconf TIOCGETP
    41045612_ACEOF
    41055613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4106   egrep "$ac_pattern" >/dev/null 2>&1; then
     5614  $EGREP "$ac_pattern" >/dev/null 2>&1; then
    41075615  ac_cv_prog_gcc_traditional=yes
    41085616else
     
    41105618fi
    41115619rm -f conftest*
     5620
    41125621
    41135622  if test $ac_cv_prog_gcc_traditional = no; then
    41145623    cat >conftest.$ac_ext <<_ACEOF
    4115 #line 4115 "configure"
    4116 #include "confdefs.h"
     5624/* confdefs.h.  */
     5625_ACEOF
     5626cat confdefs.h >>conftest.$ac_ext
     5627cat >>conftest.$ac_ext <<_ACEOF
     5628/* end confdefs.h.  */
    41175629#include <termio.h>
    41185630Autoconf TCGETA
    41195631_ACEOF
    41205632if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4121   egrep "$ac_pattern" >/dev/null 2>&1; then
     5633  $EGREP "$ac_pattern" >/dev/null 2>&1; then
    41225634  ac_cv_prog_gcc_traditional=yes
    41235635fi
     
    41265638  fi
    41275639fi
    4128 echo "$as_me:4128: result: $ac_cv_prog_gcc_traditional" >&5
     5640echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    41295641echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
    41305642  if test $ac_cv_prog_gcc_traditional = yes; then
     
    41335645fi
    41345646
    4135 echo "$as_me:4135: checking return type of signal handlers" >&5
     5647echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    41365648echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
    41375649if test "${ac_cv_type_signal+set}" = set; then
     
    41395651else
    41405652  cat >conftest.$ac_ext <<_ACEOF
    4141 #line 4141 "configure"
    4142 #include "confdefs.h"
     5653/* confdefs.h.  */
     5654_ACEOF
     5655cat confdefs.h >>conftest.$ac_ext
     5656cat >>conftest.$ac_ext <<_ACEOF
     5657/* end confdefs.h.  */
    41435658#include <sys/types.h>
    41445659#include <signal.h>
     
    41615676_ACEOF
    41625677rm -f conftest.$ac_objext
    4163 if { (eval echo "$as_me:4163: \"$ac_compile\"") >&5
    4164   (eval $ac_compile) 2>&5
    4165   ac_status=$?
    4166   echo "$as_me:4166: \$? = $ac_status" >&5
     5678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5679  (eval $ac_compile) 2>conftest.er1
     5680  ac_status=$?
     5681  grep -v '^ *+' conftest.er1 >conftest.err
     5682  rm -f conftest.er1
     5683  cat conftest.err >&5
     5684  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41675685  (exit $ac_status); } &&
    4168          { ac_try='test -s conftest.$ac_objext'
    4169   { (eval echo "$as_me:4169: \"$ac_try\"") >&5
    4170   (eval $ac_try) 2>&5
    4171   ac_status=$?
    4172   echo "$as_me:4172: \$? = $ac_status" >&5
     5686     { ac_try='test -z "$ac_c_werror_flag"
     5687             || test ! -s conftest.err'
     5688  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5689  (eval $ac_try) 2>&5
     5690  ac_status=$?
     5691  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5692  (exit $ac_status); }; } &&
     5693     { ac_try='test -s conftest.$ac_objext'
     5694  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5695  (eval $ac_try) 2>&5
     5696  ac_status=$?
     5697  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41735698  (exit $ac_status); }; }; then
    41745699  ac_cv_type_signal=void
    41755700else
    41765701  echo "$as_me: failed program was:" >&5
    4177 cat conftest.$ac_ext >&5
     5702sed 's/^/| /' conftest.$ac_ext >&5
     5703
    41785704ac_cv_type_signal=int
    41795705fi
    4180 rm -f conftest.$ac_objext conftest.$ac_ext
    4181 fi
    4182 echo "$as_me:4182: result: $ac_cv_type_signal" >&5
     5706rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5707fi
     5708echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    41835709echo "${ECHO_T}$ac_cv_type_signal" >&6
    41845710
    4185 cat >>confdefs.h <<EOF
     5711cat >>confdefs.h <<_ACEOF
    41865712#define RETSIGTYPE $ac_cv_type_signal
    4187 EOF
     5713_ACEOF
     5714
     5715
    41885716
    41895717for ac_func in vprintf
    41905718do
    4191 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
    4192 echo "$as_me:4192: checking for $ac_func" >&5
     5719as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5720echo "$as_me:$LINENO: checking for $ac_func" >&5
    41935721echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    4194 if eval "test \"\${$ac_ac_var+set}\" = set"; then
     5722if eval "test \"\${$as_ac_var+set}\" = set"; then
    41955723  echo $ECHO_N "(cached) $ECHO_C" >&6
    41965724else
    41975725  cat >conftest.$ac_ext <<_ACEOF
    4198 #line 4198 "configure"
    4199 #include "confdefs.h"
     5726/* confdefs.h.  */
     5727_ACEOF
     5728cat confdefs.h >>conftest.$ac_ext
     5729cat >>conftest.$ac_ext <<_ACEOF
     5730/* end confdefs.h.  */
     5731/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     5732   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     5733#define $ac_func innocuous_$ac_func
     5734
    42005735/* System header to define __stub macros and hopefully few prototypes,
    4201     which can conflict with char $ac_func (); below.  */
    4202 #include <assert.h>
     5736    which can conflict with char $ac_func (); below.
     5737    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5738    <limits.h> exists even on freestanding compilers.  */
     5739
     5740#ifdef __STDC__
     5741# include <limits.h>
     5742#else
     5743# include <assert.h>
     5744#endif
     5745
     5746#undef $ac_func
     5747
    42035748/* Override any gcc2 internal prototype to avoid an error.  */
    42045749#ifdef __cplusplus
    42055750extern "C"
     5751{
    42065752#endif
    42075753/* We use char because int might match the return type of a gcc2
    42085754   builtin and then its argument prototype would still apply.  */
    42095755char $ac_func ();
    4210 char (*f) ();
    4211 
    4212 int
    4213 main ()
    4214 {
    42155756/* The GNU C library defines this for functions which it implements
    42165757    to always fail with ENOSYS.  Some functions are actually named
     
    42195760choke me
    42205761#else
    4221 f = $ac_func;
     5762char (*f) () = $ac_func;
    42225763#endif
    4223 
     5764#ifdef __cplusplus
     5765}
     5766#endif
     5767
     5768int
     5769main ()
     5770{
     5771return f != $ac_func;
    42245772  ;
    42255773  return 0;
     
    42275775_ACEOF
    42285776rm -f conftest.$ac_objext conftest$ac_exeext
    4229 if { (eval echo "$as_me:4229: \"$ac_link\"") >&5
    4230   (eval $ac_link) 2>&5
    4231   ac_status=$?
    4232   echo "$as_me:4232: \$? = $ac_status" >&5
     5777if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5778  (eval $ac_link) 2>conftest.er1
     5779  ac_status=$?
     5780  grep -v '^ *+' conftest.er1 >conftest.err
     5781  rm -f conftest.er1
     5782  cat conftest.err >&5
     5783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    42335784  (exit $ac_status); } &&
    4234          { ac_try='test -s conftest$ac_exeext'
    4235   { (eval echo "$as_me:4235: \"$ac_try\"") >&5
    4236   (eval $ac_try) 2>&5
    4237   ac_status=$?
    4238   echo "$as_me:4238: \$? = $ac_status" >&5
     5785     { ac_try='test -z "$ac_c_werror_flag"
     5786             || test ! -s conftest.err'
     5787  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5788  (eval $ac_try) 2>&5
     5789  ac_status=$?
     5790  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5791  (exit $ac_status); }; } &&
     5792     { ac_try='test -s conftest$ac_exeext'
     5793  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5794  (eval $ac_try) 2>&5
     5795  ac_status=$?
     5796  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    42395797  (exit $ac_status); }; }; then
    4240   eval "$ac_ac_var=yes"
     5798  eval "$as_ac_var=yes"
    42415799else
    42425800  echo "$as_me: failed program was:" >&5
    4243 cat conftest.$ac_ext >&5
    4244 eval "$ac_ac_var=no"
    4245 fi
    4246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4247 fi
    4248 echo "$as_me:4248: result: `eval echo '${'$ac_ac_var'}'`" >&5
    4249 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
    4250 if test `eval echo '${'$ac_ac_var'}'` = yes; then
    4251   cat >>confdefs.h <<EOF
    4252 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
    4253 EOF
    4254 
    4255 echo "$as_me:4255: checking for _doprnt" >&5
     5801sed 's/^/| /' conftest.$ac_ext >&5
     5802
     5803eval "$as_ac_var=no"
     5804fi
     5805rm -f conftest.err conftest.$ac_objext \
     5806      conftest$ac_exeext conftest.$ac_ext
     5807fi
     5808echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     5809echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     5810if test `eval echo '${'$as_ac_var'}'` = yes; then
     5811  cat >>confdefs.h <<_ACEOF
     5812#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     5813_ACEOF
     5814
     5815echo "$as_me:$LINENO: checking for _doprnt" >&5
    42565816echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
    42575817if test "${ac_cv_func__doprnt+set}" = set; then
     
    42595819else
    42605820  cat >conftest.$ac_ext <<_ACEOF
    4261 #line 4261 "configure"
    4262 #include "confdefs.h"
     5821/* confdefs.h.  */
     5822_ACEOF
     5823cat confdefs.h >>conftest.$ac_ext
     5824cat >>conftest.$ac_ext <<_ACEOF
     5825/* end confdefs.h.  */
     5826/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
     5827   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     5828#define _doprnt innocuous__doprnt
     5829
    42635830/* System header to define __stub macros and hopefully few prototypes,
    4264     which can conflict with char _doprnt (); below.  */
    4265 #include <assert.h>
     5831    which can conflict with char _doprnt (); below.
     5832    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5833    <limits.h> exists even on freestanding compilers.  */
     5834
     5835#ifdef __STDC__
     5836# include <limits.h>
     5837#else
     5838# include <assert.h>
     5839#endif
     5840
     5841#undef _doprnt
     5842
    42665843/* Override any gcc2 internal prototype to avoid an error.  */
    42675844#ifdef __cplusplus
    42685845extern "C"
     5846{
    42695847#endif
    42705848/* We use char because int might match the return type of a gcc2
    42715849   builtin and then its argument prototype would still apply.  */
    42725850char _doprnt ();
    4273 char (*f) ();
    4274 
    4275 int
    4276 main ()
    4277 {
    42785851/* The GNU C library defines this for functions which it implements
    42795852    to always fail with ENOSYS.  Some functions are actually named
     
    42825855choke me
    42835856#else
    4284 f = _doprnt;
     5857char (*f) () = _doprnt;
    42855858#endif
    4286 
     5859#ifdef __cplusplus
     5860}
     5861#endif
     5862
     5863int
     5864main ()
     5865{
     5866return f != _doprnt;
    42875867  ;
    42885868  return 0;
     
    42905870_ACEOF
    42915871rm -f conftest.$ac_objext conftest$ac_exeext
    4292 if { (eval echo "$as_me:4292: \"$ac_link\"") >&5
    4293   (eval $ac_link) 2>&5
    4294   ac_status=$?
    4295   echo "$as_me:4295: \$? = $ac_status" >&5
     5872if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5873  (eval $ac_link) 2>conftest.er1
     5874  ac_status=$?
     5875  grep -v '^ *+' conftest.er1 >conftest.err
     5876  rm -f conftest.er1
     5877  cat conftest.err >&5
     5878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    42965879  (exit $ac_status); } &&
    4297          { ac_try='test -s conftest$ac_exeext'
    4298   { (eval echo "$as_me:4298: \"$ac_try\"") >&5
    4299   (eval $ac_try) 2>&5
    4300   ac_status=$?
    4301   echo "$as_me:4301: \$? = $ac_status" >&5
     5880     { ac_try='test -z "$ac_c_werror_flag"
     5881             || test ! -s conftest.err'
     5882  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5883  (eval $ac_try) 2>&5
     5884  ac_status=$?
     5885  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5886  (exit $ac_status); }; } &&
     5887     { ac_try='test -s conftest$ac_exeext'
     5888  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5889  (eval $ac_try) 2>&5
     5890  ac_status=$?
     5891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43025892  (exit $ac_status); }; }; then
    43035893  ac_cv_func__doprnt=yes
    43045894else
    43055895  echo "$as_me: failed program was:" >&5
    4306 cat conftest.$ac_ext >&5
     5896sed 's/^/| /' conftest.$ac_ext >&5
     5897
    43075898ac_cv_func__doprnt=no
    43085899fi
    4309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4310 fi
    4311 echo "$as_me:4311: result: $ac_cv_func__doprnt" >&5
     5900rm -f conftest.err conftest.$ac_objext \
     5901      conftest$ac_exeext conftest.$ac_ext
     5902fi
     5903echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    43125904echo "${ECHO_T}$ac_cv_func__doprnt" >&6
    43135905if test $ac_cv_func__doprnt = yes; then
    43145906
    4315 cat >>confdefs.h <<\EOF
     5907cat >>confdefs.h <<\_ACEOF
    43165908#define HAVE_DOPRNT 1
    4317 EOF
     5909_ACEOF
    43185910
    43195911fi
     
    43215913fi
    43225914done
     5915
     5916
     5917
     5918
     5919
     5920
     5921
     5922
     5923
     5924
     5925
    43235926
    43245927for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
    43255928do
    4326 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
    4327 echo "$as_me:4327: checking for $ac_func" >&5
     5929as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5930echo "$as_me:$LINENO: checking for $ac_func" >&5
    43285931echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    4329 if eval "test \"\${$ac_ac_var+set}\" = set"; then
     5932if eval "test \"\${$as_ac_var+set}\" = set"; then
    43305933  echo $ECHO_N "(cached) $ECHO_C" >&6
    43315934else
    43325935  cat >conftest.$ac_ext <<_ACEOF
    4333 #line 4333 "configure"
    4334 #include "confdefs.h"
     5936/* confdefs.h.  */
     5937_ACEOF
     5938cat confdefs.h >>conftest.$ac_ext
     5939cat >>conftest.$ac_ext <<_ACEOF
     5940/* end confdefs.h.  */
     5941/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     5942   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     5943#define $ac_func innocuous_$ac_func
     5944
    43355945/* System header to define __stub macros and hopefully few prototypes,
    4336     which can conflict with char $ac_func (); below.  */
    4337 #include <assert.h>
     5946    which can conflict with char $ac_func (); below.
     5947    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5948    <limits.h> exists even on freestanding compilers.  */
     5949
     5950#ifdef __STDC__
     5951# include <limits.h>
     5952#else
     5953# include <assert.h>
     5954#endif
     5955
     5956#undef $ac_func
     5957
    43385958/* Override any gcc2 internal prototype to avoid an error.  */
    43395959#ifdef __cplusplus
    43405960extern "C"
     5961{
    43415962#endif
    43425963/* We use char because int might match the return type of a gcc2
    43435964   builtin and then its argument prototype would still apply.  */
    43445965char $ac_func ();
    4345 char (*f) ();
    4346 
    4347 int
    4348 main ()
    4349 {
    43505966/* The GNU C library defines this for functions which it implements
    43515967    to always fail with ENOSYS.  Some functions are actually named
     
    43545970choke me
    43555971#else
    4356 f = $ac_func;
     5972char (*f) () = $ac_func;
    43575973#endif
    4358 
     5974#ifdef __cplusplus
     5975}
     5976#endif
     5977
     5978int
     5979main ()
     5980{
     5981return f != $ac_func;
    43595982  ;
    43605983  return 0;
     
    43625985_ACEOF
    43635986rm -f conftest.$ac_objext conftest$ac_exeext
    4364 if { (eval echo "$as_me:4364: \"$ac_link\"") >&5
    4365   (eval $ac_link) 2>&5
    4366   ac_status=$?
    4367   echo "$as_me:4367: \$? = $ac_status" >&5
     5987if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5988  (eval $ac_link) 2>conftest.er1
     5989  ac_status=$?
     5990  grep -v '^ *+' conftest.er1 >conftest.err
     5991  rm -f conftest.er1
     5992  cat conftest.err >&5
     5993  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43685994  (exit $ac_status); } &&
    4369          { ac_try='test -s conftest$ac_exeext'
    4370   { (eval echo "$as_me:4370: \"$ac_try\"") >&5
    4371   (eval $ac_try) 2>&5
    4372   ac_status=$?
    4373   echo "$as_me:4373: \$? = $ac_status" >&5
     5995     { ac_try='test -z "$ac_c_werror_flag"
     5996             || test ! -s conftest.err'
     5997  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5998  (eval $ac_try) 2>&5
     5999  ac_status=$?
     6000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6001  (exit $ac_status); }; } &&
     6002     { ac_try='test -s conftest$ac_exeext'
     6003  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6004  (eval $ac_try) 2>&5
     6005  ac_status=$?
     6006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43746007  (exit $ac_status); }; }; then
    4375   eval "$ac_ac_var=yes"
     6008  eval "$as_ac_var=yes"
    43766009else
    43776010  echo "$as_me: failed program was:" >&5
    4378 cat conftest.$ac_ext >&5
    4379 eval "$ac_ac_var=no"
    4380 fi
    4381 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4382 fi
    4383 echo "$as_me:4383: result: `eval echo '${'$ac_ac_var'}'`" >&5
    4384 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
    4385 if test `eval echo '${'$ac_ac_var'}'` = yes; then
    4386   cat >>confdefs.h <<EOF
    4387 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
    4388 EOF
     6011sed 's/^/| /' conftest.$ac_ext >&5
     6012
     6013eval "$as_ac_var=no"
     6014fi
     6015rm -f conftest.err conftest.$ac_objext \
     6016      conftest$ac_exeext conftest.$ac_ext
     6017fi
     6018echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6019echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6020if test `eval echo '${'$as_ac_var'}'` = yes; then
     6021  cat >>confdefs.h <<_ACEOF
     6022#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6023_ACEOF
    43896024
    43906025fi
    43916026done
     6027
     6028
     6029
    43926030
    43936031for ac_func in ftruncate strstr strcasecmp
    43946032do
    4395 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
    4396 echo "$as_me:4396: checking for $ac_func" >&5
     6033as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6034echo "$as_me:$LINENO: checking for $ac_func" >&5
    43976035echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    4398 if eval "test \"\${$ac_ac_var+set}\" = set"; then
     6036if eval "test \"\${$as_ac_var+set}\" = set"; then
    43996037  echo $ECHO_N "(cached) $ECHO_C" >&6
    44006038else
    44016039  cat >conftest.$ac_ext <<_ACEOF
    4402 #line 4402 "configure"
    4403 #include "confdefs.h"
     6040/* confdefs.h.  */
     6041_ACEOF
     6042cat confdefs.h >>conftest.$ac_ext
     6043cat >>conftest.$ac_ext <<_ACEOF
     6044/* end confdefs.h.  */
     6045/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     6046   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6047#define $ac_func innocuous_$ac_func
     6048
    44046049/* System header to define __stub macros and hopefully few prototypes,
    4405     which can conflict with char $ac_func (); below.  */
    4406 #include <assert.h>
     6050    which can conflict with char $ac_func (); below.
     6051    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6052    <limits.h> exists even on freestanding compilers.  */
     6053
     6054#ifdef __STDC__
     6055# include <limits.h>
     6056#else
     6057# include <assert.h>
     6058#endif
     6059
     6060#undef $ac_func
     6061
    44076062/* Override any gcc2 internal prototype to avoid an error.  */
    44086063#ifdef __cplusplus
    44096064extern "C"
     6065{
    44106066#endif
    44116067/* We use char because int might match the return type of a gcc2
    44126068   builtin and then its argument prototype would still apply.  */
    44136069char $ac_func ();
    4414 char (*f) ();
    4415 
    4416 int
    4417 main ()
    4418 {
    44196070/* The GNU C library defines this for functions which it implements
    44206071    to always fail with ENOSYS.  Some functions are actually named
     
    44236074choke me
    44246075#else
    4425 f = $ac_func;
     6076char (*f) () = $ac_func;
    44266077#endif
    4427 
     6078#ifdef __cplusplus
     6079}
     6080#endif
     6081
     6082int
     6083main ()
     6084{
     6085return f != $ac_func;
    44286086  ;
    44296087  return 0;
     
    44316089_ACEOF
    44326090rm -f conftest.$ac_objext conftest$ac_exeext
    4433 if { (eval echo "$as_me:4433: \"$ac_link\"") >&5
    4434   (eval $ac_link) 2>&5
    4435   ac_status=$?
    4436   echo "$as_me:4436: \$? = $ac_status" >&5
     6091if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6092  (eval $ac_link) 2>conftest.er1
     6093  ac_status=$?
     6094  grep -v '^ *+' conftest.er1 >conftest.err
     6095  rm -f conftest.er1
     6096  cat conftest.err >&5
     6097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44376098  (exit $ac_status); } &&
    4438          { ac_try='test -s conftest$ac_exeext'
    4439   { (eval echo "$as_me:4439: \"$ac_try\"") >&5
    4440   (eval $ac_try) 2>&5
    4441   ac_status=$?
    4442   echo "$as_me:4442: \$? = $ac_status" >&5
     6099     { ac_try='test -z "$ac_c_werror_flag"
     6100             || test ! -s conftest.err'
     6101  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6102  (eval $ac_try) 2>&5
     6103  ac_status=$?
     6104  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6105  (exit $ac_status); }; } &&
     6106     { ac_try='test -s conftest$ac_exeext'
     6107  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6108  (eval $ac_try) 2>&5
     6109  ac_status=$?
     6110  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44436111  (exit $ac_status); }; }; then
    4444   eval "$ac_ac_var=yes"
     6112  eval "$as_ac_var=yes"
    44456113else
    44466114  echo "$as_me: failed program was:" >&5
    4447 cat conftest.$ac_ext >&5
    4448 eval "$ac_ac_var=no"
    4449 fi
    4450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4451 fi
    4452 echo "$as_me:4452: result: `eval echo '${'$ac_ac_var'}'`" >&5
    4453 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
    4454 if test `eval echo '${'$ac_ac_var'}'` = yes; then
    4455   cat >>confdefs.h <<EOF
    4456 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
    4457 EOF
    4458 
    4459 else
    4460   LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     6115sed 's/^/| /' conftest.$ac_ext >&5
     6116
     6117eval "$as_ac_var=no"
     6118fi
     6119rm -f conftest.err conftest.$ac_objext \
     6120      conftest$ac_exeext conftest.$ac_ext
     6121fi
     6122echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6123echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6124if test `eval echo '${'$as_ac_var'}'` = yes; then
     6125  cat >>confdefs.h <<_ACEOF
     6126#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6127_ACEOF
     6128
     6129else
     6130  case $LIBOBJS in
     6131    "$ac_func.$ac_objext"   | \
     6132  *" $ac_func.$ac_objext"   | \
     6133    "$ac_func.$ac_objext "* | \
     6134  *" $ac_func.$ac_objext "* ) ;;
     6135  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
     6136esac
     6137
    44616138fi
    44626139done
    44636140
    4464 echo "$as_me:4464: checking for textdomain" >&5
     6141
     6142
     6143
     6144echo "$as_me:$LINENO: checking for textdomain" >&5
    44656145echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
    44666146if test "${ac_cv_func_textdomain+set}" = set; then
     
    44686148else
    44696149  cat >conftest.$ac_ext <<_ACEOF
    4470 #line 4470 "configure"
    4471 #include "confdefs.h"
     6150/* confdefs.h.  */
     6151_ACEOF
     6152cat confdefs.h >>conftest.$ac_ext
     6153cat >>conftest.$ac_ext <<_ACEOF
     6154/* end confdefs.h.  */
     6155/* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
     6156   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6157#define textdomain innocuous_textdomain
     6158
    44726159/* System header to define __stub macros and hopefully few prototypes,
    4473     which can conflict with char textdomain (); below.  */
    4474 #include <assert.h>
     6160    which can conflict with char textdomain (); below.
     6161    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6162    <limits.h> exists even on freestanding compilers.  */
     6163
     6164#ifdef __STDC__
     6165# include <limits.h>
     6166#else
     6167# include <assert.h>
     6168#endif
     6169
     6170#undef textdomain
     6171
    44756172/* Override any gcc2 internal prototype to avoid an error.  */
    44766173#ifdef __cplusplus
    44776174extern "C"
     6175{
    44786176#endif
    44796177/* We use char because int might match the return type of a gcc2
    44806178   builtin and then its argument prototype would still apply.  */
    44816179char textdomain ();
    4482 char (*f) ();
    4483 
    4484 int
    4485 main ()
    4486 {
    44876180/* The GNU C library defines this for functions which it implements
    44886181    to always fail with ENOSYS.  Some functions are actually named
     
    44916184choke me
    44926185#else
    4493 f = textdomain;
     6186char (*f) () = textdomain;
    44946187#endif
    4495 
     6188#ifdef __cplusplus
     6189}
     6190#endif
     6191
     6192int
     6193main ()
     6194{
     6195return f != textdomain;
    44966196  ;
    44976197  return 0;
     
    44996199_ACEOF
    45006200rm -f conftest.$ac_objext conftest$ac_exeext
    4501 if { (eval echo "$as_me:4501: \"$ac_link\"") >&5
    4502   (eval $ac_link) 2>&5
    4503   ac_status=$?
    4504   echo "$as_me:4504: \$? = $ac_status" >&5
     6201if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6202  (eval $ac_link) 2>conftest.er1
     6203  ac_status=$?
     6204  grep -v '^ *+' conftest.er1 >conftest.err
     6205  rm -f conftest.er1
     6206  cat conftest.err >&5
     6207  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45056208  (exit $ac_status); } &&
    4506          { ac_try='test -s conftest$ac_exeext'
    4507   { (eval echo "$as_me:4507: \"$ac_try\"") >&5
    4508   (eval $ac_try) 2>&5
    4509   ac_status=$?
    4510   echo "$as_me:4510: \$? = $ac_status" >&5
     6209     { ac_try='test -z "$ac_c_werror_flag"
     6210             || test ! -s conftest.err'
     6211  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6212  (eval $ac_try) 2>&5
     6213  ac_status=$?
     6214  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6215  (exit $ac_status); }; } &&
     6216     { ac_try='test -s conftest$ac_exeext'
     6217  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6218  (eval $ac_try) 2>&5
     6219  ac_status=$?
     6220  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45116221  (exit $ac_status); }; }; then
    45126222  ac_cv_func_textdomain=yes
    45136223else
    45146224  echo "$as_me: failed program was:" >&5
    4515 cat conftest.$ac_ext >&5
     6225sed 's/^/| /' conftest.$ac_ext >&5
     6226
    45166227ac_cv_func_textdomain=no
    45176228fi
    4518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4519 fi
    4520 echo "$as_me:4520: result: $ac_cv_func_textdomain" >&5
     6229rm -f conftest.err conftest.$ac_objext \
     6230      conftest$ac_exeext conftest.$ac_ext
     6231fi
     6232echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    45216233echo "${ECHO_T}$ac_cv_func_textdomain" >&6
    45226234if test $ac_cv_func_textdomain = yes; then
    4523   cat >>confdefs.h <<\EOF
     6235  cat >>confdefs.h <<\_ACEOF
    45246236#define ENABLE_NLS  1
    4525 EOF
    4526 
    4527 fi
     6237_ACEOF
     6238
     6239fi
     6240
     6241
     6242
     6243# we need to set an extended JNI path for Mac OS/Darwin, as jni.h is on
     6244# a non-standard Path
     6245echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     6246echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
     6247if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
     6248  echo "$as_me:$LINENO: result: yes" >&5
     6249echo "${ECHO_T}yes" >&6
     6250  JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ "
     6251  JNISUFFIX="jnilib"
     6252  JNIFLAGS="-dynamiclib -fno-common"
     6253  LDFLAGS="-framework JavaVM"
     6254else
     6255  echo "$as_me:$LINENO: result: no" >&5
     6256echo "${ECHO_T}no" >&6
     6257  JNIINC=""
     6258  JNISUFFIX="so"
     6259  JNIFLAGS="-shared"
     6260fi
     6261
     6262
     6263
    45286264
    45296265# *** Custom checking (based on GNU tar configure.in) ***
    45306266# ---------------------------------------------------------------------------
    4531 echo "$as_me:4531: checking for HP-UX needing gmalloc" >&5
     6267echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    45326268echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
    45336269if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    4534   echo "$as_me:4534: result: yes" >&5
     6270  echo "$as_me:$LINENO: result: yes" >&5
    45356271echo "${ECHO_T}yes" >&6
    4536   LIBOBJS="$LIBOBJS gmalloc.o"
    4537   cat >>confdefs.h <<\EOF
     6272  case $LIBOBJS in
     6273    "gmalloc.$ac_objext"   | \
     6274  *" gmalloc.$ac_objext"   | \
     6275    "gmalloc.$ac_objext "* | \
     6276  *" gmalloc.$ac_objext "* ) ;;
     6277  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
     6278esac
     6279
     6280  cat >>confdefs.h <<\_ACEOF
    45386281#define HAVE_VALLOC 1
    4539 EOF
    4540 
    4541 else
    4542   echo "$as_me:4542: result: no" >&5
     6282_ACEOF
     6283
     6284else
     6285  echo "$as_me:$LINENO: result: no" >&5
    45436286echo "${ECHO_T}no" >&6
    45446287
    45456288for ac_func in valloc
    45466289do
    4547 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
    4548 echo "$as_me:4548: checking for $ac_func" >&5
     6290as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6291echo "$as_me:$LINENO: checking for $ac_func" >&5
    45496292echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    4550 if eval "test \"\${$ac_ac_var+set}\" = set"; then
     6293if eval "test \"\${$as_ac_var+set}\" = set"; then
    45516294  echo $ECHO_N "(cached) $ECHO_C" >&6
    45526295else
    45536296  cat >conftest.$ac_ext <<_ACEOF
    4554 #line 4554 "configure"
    4555 #include "confdefs.h"
     6297/* confdefs.h.  */
     6298_ACEOF
     6299cat confdefs.h >>conftest.$ac_ext
     6300cat >>conftest.$ac_ext <<_ACEOF
     6301/* end confdefs.h.  */
     6302/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     6303   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6304#define $ac_func innocuous_$ac_func
     6305
    45566306/* System header to define __stub macros and hopefully few prototypes,
    4557     which can conflict with char $ac_func (); below.  */
    4558 #include <assert.h>
     6307    which can conflict with char $ac_func (); below.
     6308    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6309    <limits.h> exists even on freestanding compilers.  */
     6310
     6311#ifdef __STDC__
     6312# include <limits.h>
     6313#else
     6314# include <assert.h>
     6315#endif
     6316
     6317#undef $ac_func
     6318
    45596319/* Override any gcc2 internal prototype to avoid an error.  */
    45606320#ifdef __cplusplus
    45616321extern "C"
     6322{
    45626323#endif
    45636324/* We use char because int might match the return type of a gcc2
    45646325   builtin and then its argument prototype would still apply.  */
    45656326char $ac_func ();
    4566 char (*f) ();
    4567 
    4568 int
    4569 main ()
    4570 {
    45716327/* The GNU C library defines this for functions which it implements
    45726328    to always fail with ENOSYS.  Some functions are actually named
     
    45756331choke me
    45766332#else
    4577 f = $ac_func;
     6333char (*f) () = $ac_func;
    45786334#endif
    4579 
     6335#ifdef __cplusplus
     6336}
     6337#endif
     6338
     6339int
     6340main ()
     6341{
     6342return f != $ac_func;
    45806343  ;
    45816344  return 0;
     
    45836346_ACEOF
    45846347rm -f conftest.$ac_objext conftest$ac_exeext
    4585 if { (eval echo "$as_me:4585: \"$ac_link\"") >&5
    4586   (eval $ac_link) 2>&5
    4587   ac_status=$?
    4588   echo "$as_me:4588: \$? = $ac_status" >&5
     6348if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6349  (eval $ac_link) 2>conftest.er1
     6350  ac_status=$?
     6351  grep -v '^ *+' conftest.er1 >conftest.err
     6352  rm -f conftest.er1
     6353  cat conftest.err >&5
     6354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45896355  (exit $ac_status); } &&
    4590          { ac_try='test -s conftest$ac_exeext'
    4591   { (eval echo "$as_me:4591: \"$ac_try\"") >&5
    4592   (eval $ac_try) 2>&5
    4593   ac_status=$?
    4594   echo "$as_me:4594: \$? = $ac_status" >&5
     6356     { ac_try='test -z "$ac_c_werror_flag"
     6357             || test ! -s conftest.err'
     6358  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6359  (eval $ac_try) 2>&5
     6360  ac_status=$?
     6361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6362  (exit $ac_status); }; } &&
     6363     { ac_try='test -s conftest$ac_exeext'
     6364  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6365  (eval $ac_try) 2>&5
     6366  ac_status=$?
     6367  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45956368  (exit $ac_status); }; }; then
    4596   eval "$ac_ac_var=yes"
     6369  eval "$as_ac_var=yes"
    45976370else
    45986371  echo "$as_me: failed program was:" >&5
    4599 cat conftest.$ac_ext >&5
    4600 eval "$ac_ac_var=no"
    4601 fi
    4602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4603 fi
    4604 echo "$as_me:4604: result: `eval echo '${'$ac_ac_var'}'`" >&5
    4605 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
    4606 if test `eval echo '${'$ac_ac_var'}'` = yes; then
    4607   cat >>confdefs.h <<EOF
    4608 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
    4609 EOF
     6372sed 's/^/| /' conftest.$ac_ext >&5
     6373
     6374eval "$as_ac_var=no"
     6375fi
     6376rm -f conftest.err conftest.$ac_objext \
     6377      conftest$ac_exeext conftest.$ac_ext
     6378fi
     6379echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6380echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6381if test `eval echo '${'$as_ac_var'}'` = yes; then
     6382  cat >>confdefs.h <<_ACEOF
     6383#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6384_ACEOF
    46106385
    46116386fi
     
    46146389fi
    46156390
    4616 echo "$as_me:4616: checking if malloc debugging is wanted" >&5
     6391echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    46176392echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
    46186393
     
    46216396  withval="$with_dmalloc"
    46226397  if test "$withval" = yes; then
    4623   echo "$as_me:4623: result: yes" >&5
     6398  echo "$as_me:$LINENO: result: yes" >&5
    46246399echo "${ECHO_T}yes" >&6
    4625   cat >>confdefs.h <<\EOF
     6400  cat >>confdefs.h <<\_ACEOF
    46266401#define WITH_DMALLOC 1
    4627 EOF
     6402_ACEOF
    46286403
    46296404  LIBS="$LIBS -ldmalloc"
    46306405  LDFLAGS="$LDFLAGS -g"
    46316406else
    4632   echo "$as_me:4632: result: no" >&5
     6407  echo "$as_me:$LINENO: result: no" >&5
    46336408echo "${ECHO_T}no" >&6
    46346409fi
    46356410else
    4636   echo "$as_me:4636: result: no" >&5
     6411  echo "$as_me:$LINENO: result: no" >&5
    46376412echo "${ECHO_T}no" >&6
    46386413fi;
    46396414
    4640 echo "$as_me:4640: checking which of rx or regex is wanted" >&5
     6415echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    46416416echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
    46426417
     
    46466421  if test "$withval" = yes; then
    46476422  ac_with_regex=1
    4648   echo "$as_me:4648: result: regex" >&5
     6423  echo "$as_me:$LINENO: result: regex" >&5
    46496424echo "${ECHO_T}regex" >&6
    4650   cat >>confdefs.h <<\EOF
     6425  cat >>confdefs.h <<\_ACEOF
    46516426#define WITH_REGEX 1
    4652 EOF
     6427_ACEOF
    46536428
    46546429  LIBOBJS="$LIBOBJS regex.o"
     
    46566431fi;
    46576432if test -z "$ac_with_regex"; then
    4658   echo "$as_me:4658: result: rx" >&5
     6433  echo "$as_me:$LINENO: result: rx" >&5
    46596434echo "${ECHO_T}rx" >&6
    4660   echo "$as_me:4660: checking for re_rx_search" >&5
     6435  echo "$as_me:$LINENO: checking for re_rx_search" >&5
    46616436echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
    46626437if test "${ac_cv_func_re_rx_search+set}" = set; then
     
    46646439else
    46656440  cat >conftest.$ac_ext <<_ACEOF
    4666 #line 4666 "configure"
    4667 #include "confdefs.h"
     6441/* confdefs.h.  */
     6442_ACEOF
     6443cat confdefs.h >>conftest.$ac_ext
     6444cat >>conftest.$ac_ext <<_ACEOF
     6445/* end confdefs.h.  */
     6446/* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
     6447   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     6448#define re_rx_search innocuous_re_rx_search
     6449
    46686450/* System header to define __stub macros and hopefully few prototypes,
    4669     which can conflict with char re_rx_search (); below.  */
    4670 #include <assert.h>
     6451    which can conflict with char re_rx_search (); below.
     6452    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     6453    <limits.h> exists even on freestanding compilers.  */
     6454
     6455#ifdef __STDC__
     6456# include <limits.h>
     6457#else
     6458# include <assert.h>
     6459#endif
     6460
     6461#undef re_rx_search
     6462
    46716463/* Override any gcc2 internal prototype to avoid an error.  */
    46726464#ifdef __cplusplus
    46736465extern "C"
     6466{
    46746467#endif
    46756468/* We use char because int might match the return type of a gcc2
    46766469   builtin and then its argument prototype would still apply.  */
    46776470char re_rx_search ();
    4678 char (*f) ();
    4679 
    4680 int
    4681 main ()
    4682 {
    46836471/* The GNU C library defines this for functions which it implements
    46846472    to always fail with ENOSYS.  Some functions are actually named
     
    46876475choke me
    46886476#else
    4689 f = re_rx_search;
     6477char (*f) () = re_rx_search;
    46906478#endif
    4691 
     6479#ifdef __cplusplus
     6480}
     6481#endif
     6482
     6483int
     6484main ()
     6485{
     6486return f != re_rx_search;
    46926487  ;
    46936488  return 0;
     
    46956490_ACEOF
    46966491rm -f conftest.$ac_objext conftest$ac_exeext
    4697 if { (eval echo "$as_me:4697: \"$ac_link\"") >&5
    4698   (eval $ac_link) 2>&5
    4699   ac_status=$?
    4700   echo "$as_me:4700: \$? = $ac_status" >&5
     6492if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6493  (eval $ac_link) 2>conftest.er1
     6494  ac_status=$?
     6495  grep -v '^ *+' conftest.er1 >conftest.err
     6496  rm -f conftest.er1
     6497  cat conftest.err >&5
     6498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47016499  (exit $ac_status); } &&
    4702          { ac_try='test -s conftest$ac_exeext'
    4703   { (eval echo "$as_me:4703: \"$ac_try\"") >&5
    4704   (eval $ac_try) 2>&5
    4705   ac_status=$?
    4706   echo "$as_me:4706: \$? = $ac_status" >&5
     6500     { ac_try='test -z "$ac_c_werror_flag"
     6501             || test ! -s conftest.err'
     6502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6503  (eval $ac_try) 2>&5
     6504  ac_status=$?
     6505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6506  (exit $ac_status); }; } &&
     6507     { ac_try='test -s conftest$ac_exeext'
     6508  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6509  (eval $ac_try) 2>&5
     6510  ac_status=$?
     6511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47076512  (exit $ac_status); }; }; then
    47086513  ac_cv_func_re_rx_search=yes
    47096514else
    47106515  echo "$as_me: failed program was:" >&5
    4711 cat conftest.$ac_ext >&5
     6516sed 's/^/| /' conftest.$ac_ext >&5
     6517
    47126518ac_cv_func_re_rx_search=no
    47136519fi
    4714 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    4715 fi
    4716 echo "$as_me:4716: result: $ac_cv_func_re_rx_search" >&5
     6520rm -f conftest.err conftest.$ac_objext \
     6521      conftest$ac_exeext conftest.$ac_ext
     6522fi
     6523echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    47176524echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
    47186525if test $ac_cv_func_re_rx_search = yes; then
    47196526  :
    47206527else
    4721   echo "$as_me:4721: checking for unsigned char *" >&5
     6528  echo "$as_me:$LINENO: checking for unsigned char *" >&5
    47226529echo $ECHO_N "checking for unsigned char *... $ECHO_C" >&6
    47236530if test "${ac_cv_type_unsigned_char_p+set}" = set; then
     
    47256532else
    47266533  cat >conftest.$ac_ext <<_ACEOF
    4727 #line 4727 "configure"
    4728 #include "confdefs.h"
     6534/* confdefs.h.  */
     6535_ACEOF
     6536cat confdefs.h >>conftest.$ac_ext
     6537cat >>conftest.$ac_ext <<_ACEOF
     6538/* end confdefs.h.  */
    47296539$ac_includes_default
    47306540int
     
    47406550_ACEOF
    47416551rm -f conftest.$ac_objext
    4742 if { (eval echo "$as_me:4742: \"$ac_compile\"") >&5
    4743   (eval $ac_compile) 2>&5
    4744   ac_status=$?
    4745   echo "$as_me:4745: \$? = $ac_status" >&5
     6552if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6553  (eval $ac_compile) 2>conftest.er1
     6554  ac_status=$?
     6555  grep -v '^ *+' conftest.er1 >conftest.err
     6556  rm -f conftest.er1
     6557  cat conftest.err >&5
     6558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47466559  (exit $ac_status); } &&
    4747          { ac_try='test -s conftest.$ac_objext'
    4748   { (eval echo "$as_me:4748: \"$ac_try\"") >&5
    4749   (eval $ac_try) 2>&5
    4750   ac_status=$?
    4751   echo "$as_me:4751: \$? = $ac_status" >&5
     6560     { ac_try='test -z "$ac_c_werror_flag"
     6561             || test ! -s conftest.err'
     6562  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6563  (eval $ac_try) 2>&5
     6564  ac_status=$?
     6565  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6566  (exit $ac_status); }; } &&
     6567     { ac_try='test -s conftest.$ac_objext'
     6568  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6569  (eval $ac_try) 2>&5
     6570  ac_status=$?
     6571  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47526572  (exit $ac_status); }; }; then
    47536573  ac_cv_type_unsigned_char_p=yes
    47546574else
    47556575  echo "$as_me: failed program was:" >&5
    4756 cat conftest.$ac_ext >&5
     6576sed 's/^/| /' conftest.$ac_ext >&5
     6577
    47576578ac_cv_type_unsigned_char_p=no
    47586579fi
    4759 rm -f conftest.$ac_objext conftest.$ac_ext
    4760 fi
    4761 echo "$as_me:4761: result: $ac_cv_type_unsigned_char_p" >&5
     6580rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6581fi
     6582echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char_p" >&5
    47626583echo "${ECHO_T}$ac_cv_type_unsigned_char_p" >&6
    47636584
    4764 echo "$as_me:4764: checking size of unsigned char *" >&5
     6585echo "$as_me:$LINENO: checking size of unsigned char *" >&5
    47656586echo $ECHO_N "checking size of unsigned char *... $ECHO_C" >&6
    47666587if test "${ac_cv_sizeof_unsigned_char_p+set}" = set; then
     
    47686589else
    47696590  if test "$ac_cv_type_unsigned_char_p" = yes; then
     6591  # The cast to unsigned long works around a bug in the HP C Compiler
     6592  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     6593  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     6594  # This bug is HP SR number 8606223364.
    47706595  if test "$cross_compiling" = yes; then
    47716596  # Depending upon the size, compute the lo and hi bounds.
    47726597cat >conftest.$ac_ext <<_ACEOF
    4773 #line 4773 "configure"
    4774 #include "confdefs.h"
     6598/* confdefs.h.  */
     6599_ACEOF
     6600cat confdefs.h >>conftest.$ac_ext
     6601cat >>conftest.$ac_ext <<_ACEOF
     6602/* end confdefs.h.  */
    47756603$ac_includes_default
    47766604int
    47776605main ()
    47786606{
    4779 int _array_ [1 - 2 * !((sizeof (unsigned char *)) >= 0)]
     6607static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) >= 0)];
     6608test_array [0] = 0
     6609
    47806610  ;
    47816611  return 0;
     
    47836613_ACEOF
    47846614rm -f conftest.$ac_objext
    4785 if { (eval echo "$as_me:4785: \"$ac_compile\"") >&5
    4786   (eval $ac_compile) 2>&5
    4787   ac_status=$?
    4788   echo "$as_me:4788: \$? = $ac_status" >&5
     6615if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6616  (eval $ac_compile) 2>conftest.er1
     6617  ac_status=$?
     6618  grep -v '^ *+' conftest.er1 >conftest.err
     6619  rm -f conftest.er1
     6620  cat conftest.err >&5
     6621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47896622  (exit $ac_status); } &&
    4790          { ac_try='test -s conftest.$ac_objext'
    4791   { (eval echo "$as_me:4791: \"$ac_try\"") >&5
    4792   (eval $ac_try) 2>&5
    4793   ac_status=$?
    4794   echo "$as_me:4794: \$? = $ac_status" >&5
     6623     { ac_try='test -z "$ac_c_werror_flag"
     6624             || test ! -s conftest.err'
     6625  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6626  (eval $ac_try) 2>&5
     6627  ac_status=$?
     6628  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6629  (exit $ac_status); }; } &&
     6630     { ac_try='test -s conftest.$ac_objext'
     6631  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6632  (eval $ac_try) 2>&5
     6633  ac_status=$?
     6634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47956635  (exit $ac_status); }; }; then
    47966636  ac_lo=0 ac_mid=0
    47976637  while :; do
    47986638    cat >conftest.$ac_ext <<_ACEOF
    4799 #line 4799 "configure"
    4800 #include "confdefs.h"
     6639/* confdefs.h.  */
     6640_ACEOF
     6641cat confdefs.h >>conftest.$ac_ext
     6642cat >>conftest.$ac_ext <<_ACEOF
     6643/* end confdefs.h.  */
    48016644$ac_includes_default
    48026645int
    48036646main ()
    48046647{
    4805 int _array_ [1 - 2 * !((sizeof (unsigned char *)) <= $ac_mid)]
     6648static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) <= $ac_mid)];
     6649test_array [0] = 0
     6650
    48066651  ;
    48076652  return 0;
     
    48096654_ACEOF
    48106655rm -f conftest.$ac_objext
    4811 if { (eval echo "$as_me:4811: \"$ac_compile\"") >&5
    4812   (eval $ac_compile) 2>&5
    4813   ac_status=$?
    4814   echo "$as_me:4814: \$? = $ac_status" >&5
     6656if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6657  (eval $ac_compile) 2>conftest.er1
     6658  ac_status=$?
     6659  grep -v '^ *+' conftest.er1 >conftest.err
     6660  rm -f conftest.er1
     6661  cat conftest.err >&5
     6662  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48156663  (exit $ac_status); } &&
    4816          { ac_try='test -s conftest.$ac_objext'
    4817   { (eval echo "$as_me:4817: \"$ac_try\"") >&5
    4818   (eval $ac_try) 2>&5
    4819   ac_status=$?
    4820   echo "$as_me:4820: \$? = $ac_status" >&5
     6664     { ac_try='test -z "$ac_c_werror_flag"
     6665             || test ! -s conftest.err'
     6666  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6667  (eval $ac_try) 2>&5
     6668  ac_status=$?
     6669  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6670  (exit $ac_status); }; } &&
     6671     { ac_try='test -s conftest.$ac_objext'
     6672  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6673  (eval $ac_try) 2>&5
     6674  ac_status=$?
     6675  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48216676  (exit $ac_status); }; }; then
    48226677  ac_hi=$ac_mid; break
    48236678else
    48246679  echo "$as_me: failed program was:" >&5
    4825 cat conftest.$ac_ext >&5
    4826 ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
    4827 fi
    4828 rm -f conftest.$ac_objext conftest.$ac_ext
     6680sed 's/^/| /' conftest.$ac_ext >&5
     6681
     6682ac_lo=`expr $ac_mid + 1`
     6683            if test $ac_lo -le $ac_mid; then
     6684              ac_lo= ac_hi=
     6685              break
     6686            fi
     6687            ac_mid=`expr 2 '*' $ac_mid + 1`
     6688fi
     6689rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    48296690  done
    48306691else
    48316692  echo "$as_me: failed program was:" >&5
    4832 cat conftest.$ac_ext >&5
    4833 ac_hi=-1 ac_mid=-1
    4834   while :; do
    4835     cat >conftest.$ac_ext <<_ACEOF
    4836 #line 4836 "configure"
    4837 #include "confdefs.h"
     6693sed 's/^/| /' conftest.$ac_ext >&5
     6694
     6695cat >conftest.$ac_ext <<_ACEOF
     6696/* confdefs.h.  */
     6697_ACEOF
     6698cat confdefs.h >>conftest.$ac_ext
     6699cat >>conftest.$ac_ext <<_ACEOF
     6700/* end confdefs.h.  */
    48386701$ac_includes_default
    48396702int
    48406703main ()
    48416704{
    4842 int _array_ [1 - 2 * !((sizeof (unsigned char *)) >= $ac_mid)]
     6705static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) < 0)];
     6706test_array [0] = 0
     6707
    48436708  ;
    48446709  return 0;
     
    48466711_ACEOF
    48476712rm -f conftest.$ac_objext
    4848 if { (eval echo "$as_me:4848: \"$ac_compile\"") >&5
    4849   (eval $ac_compile) 2>&5
    4850   ac_status=$?
    4851   echo "$as_me:4851: \$? = $ac_status" >&5
     6713if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6714  (eval $ac_compile) 2>conftest.er1
     6715  ac_status=$?
     6716  grep -v '^ *+' conftest.er1 >conftest.err
     6717  rm -f conftest.er1
     6718  cat conftest.err >&5
     6719  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48526720  (exit $ac_status); } &&
    4853          { ac_try='test -s conftest.$ac_objext'
    4854   { (eval echo "$as_me:4854: \"$ac_try\"") >&5
    4855   (eval $ac_try) 2>&5
    4856   ac_status=$?
    4857   echo "$as_me:4857: \$? = $ac_status" >&5
     6721     { ac_try='test -z "$ac_c_werror_flag"
     6722             || test ! -s conftest.err'
     6723  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6724  (eval $ac_try) 2>&5
     6725  ac_status=$?
     6726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6727  (exit $ac_status); }; } &&
     6728     { ac_try='test -s conftest.$ac_objext'
     6729  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6730  (eval $ac_try) 2>&5
     6731  ac_status=$?
     6732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6733  (exit $ac_status); }; }; then
     6734  ac_hi=-1 ac_mid=-1
     6735  while :; do
     6736    cat >conftest.$ac_ext <<_ACEOF
     6737/* confdefs.h.  */
     6738_ACEOF
     6739cat confdefs.h >>conftest.$ac_ext
     6740cat >>conftest.$ac_ext <<_ACEOF
     6741/* end confdefs.h.  */
     6742$ac_includes_default
     6743int
     6744main ()
     6745{
     6746static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) >= $ac_mid)];
     6747test_array [0] = 0
     6748
     6749  ;
     6750  return 0;
     6751}
     6752_ACEOF
     6753rm -f conftest.$ac_objext
     6754if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6755  (eval $ac_compile) 2>conftest.er1
     6756  ac_status=$?
     6757  grep -v '^ *+' conftest.er1 >conftest.err
     6758  rm -f conftest.er1
     6759  cat conftest.err >&5
     6760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6761  (exit $ac_status); } &&
     6762     { ac_try='test -z "$ac_c_werror_flag"
     6763             || test ! -s conftest.err'
     6764  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6765  (eval $ac_try) 2>&5
     6766  ac_status=$?
     6767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6768  (exit $ac_status); }; } &&
     6769     { ac_try='test -s conftest.$ac_objext'
     6770  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6771  (eval $ac_try) 2>&5
     6772  ac_status=$?
     6773  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48586774  (exit $ac_status); }; }; then
    48596775  ac_lo=$ac_mid; break
    48606776else
    48616777  echo "$as_me: failed program was:" >&5
    4862 cat conftest.$ac_ext >&5
    4863 ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
    4864 fi
    4865 rm -f conftest.$ac_objext conftest.$ac_ext
     6778sed 's/^/| /' conftest.$ac_ext >&5
     6779
     6780ac_hi=`expr '(' $ac_mid ')' - 1`
     6781               if test $ac_mid -le $ac_hi; then
     6782             ac_lo= ac_hi=
     6783             break
     6784               fi
     6785               ac_mid=`expr 2 '*' $ac_mid`
     6786fi
     6787rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    48666788  done
    4867 fi
    4868 rm -f conftest.$ac_objext conftest.$ac_ext
     6789else
     6790  echo "$as_me: failed program was:" >&5
     6791sed 's/^/| /' conftest.$ac_ext >&5
     6792
     6793ac_lo= ac_hi=
     6794fi
     6795rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6796fi
     6797rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    48696798# Binary search between lo and hi bounds.
    48706799while test "x$ac_lo" != "x$ac_hi"; do
    48716800  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    48726801  cat >conftest.$ac_ext <<_ACEOF
    4873 #line 4873 "configure"
    4874 #include "confdefs.h"
     6802/* confdefs.h.  */
     6803_ACEOF
     6804cat confdefs.h >>conftest.$ac_ext
     6805cat >>conftest.$ac_ext <<_ACEOF
     6806/* end confdefs.h.  */
    48756807$ac_includes_default
    48766808int
    48776809main ()
    48786810{
    4879 int _array_ [1 - 2 * !((sizeof (unsigned char *)) <= $ac_mid)]
     6811static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) <= $ac_mid)];
     6812test_array [0] = 0
     6813
    48806814  ;
    48816815  return 0;
     
    48836817_ACEOF
    48846818rm -f conftest.$ac_objext
    4885 if { (eval echo "$as_me:4885: \"$ac_compile\"") >&5
    4886   (eval $ac_compile) 2>&5
    4887   ac_status=$?
    4888   echo "$as_me:4888: \$? = $ac_status" >&5
     6819if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6820  (eval $ac_compile) 2>conftest.er1
     6821  ac_status=$?
     6822  grep -v '^ *+' conftest.er1 >conftest.err
     6823  rm -f conftest.er1
     6824  cat conftest.err >&5
     6825  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48896826  (exit $ac_status); } &&
    4890          { ac_try='test -s conftest.$ac_objext'
    4891   { (eval echo "$as_me:4891: \"$ac_try\"") >&5
    4892   (eval $ac_try) 2>&5
    4893   ac_status=$?
    4894   echo "$as_me:4894: \$? = $ac_status" >&5
     6827     { ac_try='test -z "$ac_c_werror_flag"
     6828             || test ! -s conftest.err'
     6829  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6830  (eval $ac_try) 2>&5
     6831  ac_status=$?
     6832  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6833  (exit $ac_status); }; } &&
     6834     { ac_try='test -s conftest.$ac_objext'
     6835  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6836  (eval $ac_try) 2>&5
     6837  ac_status=$?
     6838  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48956839  (exit $ac_status); }; }; then
    48966840  ac_hi=$ac_mid
    48976841else
    48986842  echo "$as_me: failed program was:" >&5
    4899 cat conftest.$ac_ext >&5
    4900 ac_lo=`expr $ac_mid + 1`
    4901 fi
    4902 rm -f conftest.$ac_objext conftest.$ac_ext
     6843sed 's/^/| /' conftest.$ac_ext >&5
     6844
     6845ac_lo=`expr '(' $ac_mid ')' + 1`
     6846fi
     6847rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    49036848done
    4904 ac_cv_sizeof_unsigned_char_p=$ac_lo
     6849case $ac_lo in
     6850?*) ac_cv_sizeof_unsigned_char_p=$ac_lo;;
     6851'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *), 77
     6852See \`config.log' for more details." >&5
     6853echo "$as_me: error: cannot compute sizeof (unsigned char *), 77
     6854See \`config.log' for more details." >&2;}
     6855   { (exit 1); exit 1; }; } ;;
     6856esac
    49056857else
    49066858  if test "$cross_compiling" = yes; then
    4907   { { echo "$as_me:4907: error: cannot run test program while cross compiling" >&5
    4908 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
     6859  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
     6860See \`config.log' for more details." >&5
     6861echo "$as_me: error: cannot run test program while cross compiling
     6862See \`config.log' for more details." >&2;}
    49096863   { (exit 1); exit 1; }; }
    49106864else
    49116865  cat >conftest.$ac_ext <<_ACEOF
    4912 #line 4912 "configure"
    4913 #include "confdefs.h"
     6866/* confdefs.h.  */
     6867_ACEOF
     6868cat confdefs.h >>conftest.$ac_ext
     6869cat >>conftest.$ac_ext <<_ACEOF
     6870/* end confdefs.h.  */
    49146871$ac_includes_default
     6872long longval () { return (long) (sizeof (unsigned char *)); }
     6873unsigned long ulongval () { return (long) (sizeof (unsigned char *)); }
     6874#include <stdio.h>
     6875#include <stdlib.h>
    49156876int
    49166877main ()
    49176878{
    4918 FILE *f = fopen ("conftest.val", "w");
    4919 if (!f)
    4920   exit (1);
    4921 fprintf (f, "%d", (sizeof (unsigned char *)));
    4922 fclose (f);
     6879
     6880  FILE *f = fopen ("conftest.val", "w");
     6881  if (! f)
     6882    exit (1);
     6883  if (((long) (sizeof (unsigned char *))) < 0)
     6884    {
     6885      long i = longval ();
     6886      if (i != ((long) (sizeof (unsigned char *))))
     6887    exit (1);
     6888      fprintf (f, "%ld\n", i);
     6889    }
     6890  else
     6891    {
     6892      unsigned long i = ulongval ();
     6893      if (i != ((long) (sizeof (unsigned char *))))
     6894    exit (1);
     6895      fprintf (f, "%lu\n", i);
     6896    }
     6897  exit (ferror (f) || fclose (f) != 0);
     6898
    49236899  ;
    49246900  return 0;
     
    49266902_ACEOF
    49276903rm -f conftest$ac_exeext
    4928 if { (eval echo "$as_me:4928: \"$ac_link\"") >&5
     6904if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    49296905  (eval $ac_link) 2>&5
    49306906  ac_status=$?
    4931   echo "$as_me:4931: \$? = $ac_status" >&5
     6907  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    49326908  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4933   { (eval echo "$as_me:4933: \"$ac_try\"") >&5
    4934   (eval $ac_try) 2>&5
    4935   ac_status=$?
    4936   echo "$as_me:4936: \$? = $ac_status" >&5
     6909  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6910  (eval $ac_try) 2>&5
     6911  ac_status=$?
     6912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    49376913  (exit $ac_status); }; }; then
    49386914  ac_cv_sizeof_unsigned_char_p=`cat conftest.val`
     
    49406916  echo "$as_me: program exited with status $ac_status" >&5
    49416917echo "$as_me: failed program was:" >&5
    4942 cat conftest.$ac_ext >&5
    4943 fi
    4944 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
     6918sed 's/^/| /' conftest.$ac_ext >&5
     6919
     6920( exit $ac_status )
     6921{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *), 77
     6922See \`config.log' for more details." >&5
     6923echo "$as_me: error: cannot compute sizeof (unsigned char *), 77
     6924See \`config.log' for more details." >&2;}
     6925   { (exit 1); exit 1; }; }
     6926fi
     6927rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    49456928fi
    49466929fi
     
    49506933fi
    49516934fi
    4952 echo "$as_me:4952: result: $ac_cv_sizeof_unsigned_char_p" >&5
     6935echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char_p" >&5
    49536936echo "${ECHO_T}$ac_cv_sizeof_unsigned_char_p" >&6
    4954 cat >>confdefs.h <<EOF
     6937cat >>confdefs.h <<_ACEOF
    49556938#define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p
    4956 EOF
     6939_ACEOF
     6940
    49576941
    49586942    if test "$ac_cv_sizeof_unsigned_char_p" = 8
    49596943    then
    4960       { echo "$as_me:4960: WARNING: I'm forcing you to use regex because I can't
     6944      { echo "$as_me:$LINENO: WARNING: I'm forcing you to use regex because I can't
    49616945        find a local rx library and the one included with this
    49626946        distribution doesn't work on 64-bit machines like yours" >&5
     
    49736957fi
    49746958
    4975 echo "$as_me:4975: checking whether GNU readline requested" >&5
     6959echo "$as_me:$LINENO: checking whether GNU readline requested" >&5
    49766960echo $ECHO_N "checking whether GNU readline requested... $ECHO_C" >&6
    49776961
     
    49806964  withval="$with_gnu_readline"
    49816965  if test "$withval" = yes; then
    4982       echo "$as_me:4982: result: yes" >&5
     6966      echo "$as_me:$LINENO: result: yes" >&5
    49836967echo "${ECHO_T}yes" >&6
    49846968      ac_with_gnu_readline=1
    49856969    else
    4986       echo "$as_me:4986: result: no" >&5
     6970      echo "$as_me:$LINENO: result: no" >&5
    49876971echo "${ECHO_T}no" >&6
    49886972    fi
    49896973else
    4990   echo "$as_me:4990: result: no" >&5
     6974  echo "$as_me:$LINENO: result: no" >&5
    49916975echo "${ECHO_T}no" >&6
    49926976fi;
    49936977
    49946978  if test -n "$ac_with_gnu_readline"; then
    4995     echo "$as_me:4995: checking for readline/readline.h" >&5
     6979    if test "${ac_cv_header_readline_readline_h+set}" = set; then
     6980  echo "$as_me:$LINENO: checking for readline/readline.h" >&5
    49966981echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6
    49976982if test "${ac_cv_header_readline_readline_h+set}" = set; then
    49986983  echo $ECHO_N "(cached) $ECHO_C" >&6
    4999 else
    5000   cat >conftest.$ac_ext <<_ACEOF
    5001 #line 5001 "configure"
    5002 #include "confdefs.h"
     6984fi
     6985echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
     6986echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
     6987else
     6988  # Is the header compilable?
     6989echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
     6990echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6
     6991cat >conftest.$ac_ext <<_ACEOF
     6992/* confdefs.h.  */
     6993_ACEOF
     6994cat confdefs.h >>conftest.$ac_ext
     6995cat >>conftest.$ac_ext <<_ACEOF
     6996/* end confdefs.h.  */
     6997$ac_includes_default
    50036998#include <readline/readline.h>
    50046999_ACEOF
    5005 if { (eval echo "$as_me:5005: \"$ac_cpp conftest.$ac_ext\"") >&5
    5006   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5007   ac_status=$?
    5008   egrep -v '^ *\+' conftest.er1 >conftest.err
     7000rm -f conftest.$ac_objext
     7001if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7002  (eval $ac_compile) 2>conftest.er1
     7003  ac_status=$?
     7004  grep -v '^ *+' conftest.er1 >conftest.err
    50097005  rm -f conftest.er1
    50107006  cat conftest.err >&5
    5011   echo "$as_me:5011: \$? = $ac_status" >&5
     7007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7008  (exit $ac_status); } &&
     7009     { ac_try='test -z "$ac_c_werror_flag"
     7010             || test ! -s conftest.err'
     7011  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7012  (eval $ac_try) 2>&5
     7013  ac_status=$?
     7014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7015  (exit $ac_status); }; } &&
     7016     { ac_try='test -s conftest.$ac_objext'
     7017  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7018  (eval $ac_try) 2>&5
     7019  ac_status=$?
     7020  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7021  (exit $ac_status); }; }; then
     7022  ac_header_compiler=yes
     7023else
     7024  echo "$as_me: failed program was:" >&5
     7025sed 's/^/| /' conftest.$ac_ext >&5
     7026
     7027ac_header_compiler=no
     7028fi
     7029rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7030echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7031echo "${ECHO_T}$ac_header_compiler" >&6
     7032
     7033# Is the header present?
     7034echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
     7035echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6
     7036cat >conftest.$ac_ext <<_ACEOF
     7037/* confdefs.h.  */
     7038_ACEOF
     7039cat confdefs.h >>conftest.$ac_ext
     7040cat >>conftest.$ac_ext <<_ACEOF
     7041/* end confdefs.h.  */
     7042#include <readline/readline.h>
     7043_ACEOF
     7044if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     7045  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     7046  ac_status=$?
     7047  grep -v '^ *+' conftest.er1 >conftest.err
     7048  rm -f conftest.er1
     7049  cat conftest.err >&5
     7050  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    50127051  (exit $ac_status); } >/dev/null; then
    50137052  if test -s conftest.err; then
    50147053    ac_cpp_err=$ac_c_preproc_warn_flag
     7054    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    50157055  else
    50167056    ac_cpp_err=
     
    50207060fi
    50217061if test -z "$ac_cpp_err"; then
    5022   ac_cv_header_readline_readline_h=yes
     7062  ac_header_preproc=yes
    50237063else
    50247064  echo "$as_me: failed program was:" >&5
    5025   cat conftest.$ac_ext >&5
    5026   ac_cv_header_readline_readline_h=no
     7065sed 's/^/| /' conftest.$ac_ext >&5
     7066
     7067  ac_header_preproc=no
    50277068fi
    50287069rm -f conftest.err conftest.$ac_ext
    5029 fi
    5030 echo "$as_me:5030: result: $ac_cv_header_readline_readline_h" >&5
     7070echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7071echo "${ECHO_T}$ac_header_preproc" >&6
     7072
     7073# So?  What about this header?
     7074case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     7075  yes:no: )
     7076    { echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
     7077echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     7078    { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5
     7079echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;}
     7080    ac_header_preproc=yes
     7081    ;;
     7082  no:yes:* )
     7083    { echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
     7084echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
     7085    { echo "$as_me:$LINENO: WARNING: readline/readline.h:     check for missing prerequisite headers?" >&5
     7086echo "$as_me: WARNING: readline/readline.h:     check for missing prerequisite headers?" >&2;}
     7087    { echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5
     7088echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;}
     7089    { echo "$as_me:$LINENO: WARNING: readline/readline.h:     section \"Present But Cannot Be Compiled\"" >&5
     7090echo "$as_me: WARNING: readline/readline.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     7091    { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
     7092echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
     7093    { echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
     7094echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
     7095    (
     7096      cat <<\_ASBOX
     7097## ------------------------------------------ ##
     7098## Report this to the AC_PACKAGE_NAME lists.  ##
     7099## ------------------------------------------ ##
     7100_ASBOX
     7101    ) |
     7102      sed "s/^/$as_me: WARNING:     /" >&2
     7103    ;;
     7104esac
     7105echo "$as_me:$LINENO: checking for readline/readline.h" >&5
     7106echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6
     7107if test "${ac_cv_header_readline_readline_h+set}" = set; then
     7108  echo $ECHO_N "(cached) $ECHO_C" >&6
     7109else
     7110  ac_cv_header_readline_readline_h=$ac_header_preproc
     7111fi
     7112echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
    50317113echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
     7114
     7115fi
    50327116if test $ac_cv_header_readline_readline_h = yes; then
    50337117  ac_mg_readline_header_found=1
    50347118else
    5035   { echo "$as_me:5035: WARNING: Can't find GNU readline headers; configuring without \
     7119  { echo "$as_me:$LINENO: WARNING: Can't find GNU readline headers; configuring without \
    50367120GNU readline support" >&5
    50377121echo "$as_me: WARNING: Can't find GNU readline headers; configuring without \
     
    50397123fi
    50407124
     7125
    50417126    if test -n "$ac_mg_readline_header_found"; then
    50427127      # first check whether we can find the readline library itself
    5043       echo "$as_me:5043: checking for main in -lreadline" >&5
     7128      echo "$as_me:$LINENO: checking for main in -lreadline" >&5
    50447129echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6
    50457130if test "${ac_cv_lib_readline_main+set}" = set; then
     
    50497134LIBS="-lreadline  $LIBS"
    50507135cat >conftest.$ac_ext <<_ACEOF
    5051 #line 5051 "configure"
    5052 #include "confdefs.h"
     7136/* confdefs.h.  */
     7137_ACEOF
     7138cat confdefs.h >>conftest.$ac_ext
     7139cat >>conftest.$ac_ext <<_ACEOF
     7140/* end confdefs.h.  */
     7141
    50537142
    50547143int
     
    50617150_ACEOF
    50627151rm -f conftest.$ac_objext conftest$ac_exeext
    5063 if { (eval echo "$as_me:5063: \"$ac_link\"") >&5
    5064   (eval $ac_link) 2>&5
    5065   ac_status=$?
    5066   echo "$as_me:5066: \$? = $ac_status" >&5
     7152if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7153  (eval $ac_link) 2>conftest.er1
     7154  ac_status=$?
     7155  grep -v '^ *+' conftest.er1 >conftest.err
     7156  rm -f conftest.er1
     7157  cat conftest.err >&5
     7158  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    50677159  (exit $ac_status); } &&
    5068          { ac_try='test -s conftest$ac_exeext'
    5069   { (eval echo "$as_me:5069: \"$ac_try\"") >&5
    5070   (eval $ac_try) 2>&5
    5071   ac_status=$?
    5072   echo "$as_me:5072: \$? = $ac_status" >&5
     7160     { ac_try='test -z "$ac_c_werror_flag"
     7161             || test ! -s conftest.err'
     7162  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7163  (eval $ac_try) 2>&5
     7164  ac_status=$?
     7165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7166  (exit $ac_status); }; } &&
     7167     { ac_try='test -s conftest$ac_exeext'
     7168  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7169  (eval $ac_try) 2>&5
     7170  ac_status=$?
     7171  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    50737172  (exit $ac_status); }; }; then
    50747173  ac_cv_lib_readline_main=yes
    50757174else
    50767175  echo "$as_me: failed program was:" >&5
    5077 cat conftest.$ac_ext >&5
     7176sed 's/^/| /' conftest.$ac_ext >&5
     7177
    50787178ac_cv_lib_readline_main=no
    50797179fi
    5080 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     7180rm -f conftest.err conftest.$ac_objext \
     7181      conftest$ac_exeext conftest.$ac_ext
    50817182LIBS=$ac_check_lib_save_LIBS
    50827183fi
    5083 echo "$as_me:5083: result: $ac_cv_lib_readline_main" >&5
     7184echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
    50847185echo "${ECHO_T}$ac_cv_lib_readline_main" >&6
    50857186if test $ac_cv_lib_readline_main = yes; then
    50867187  ac_mg_readline_lib_found=1
    5087          cat >>confdefs.h <<\EOF
     7188         cat >>confdefs.h <<\_ACEOF
    50887189#define WITH_GNU_READLINE 1
    5089 EOF
     7190_ACEOF
    50907191
    50917192         LIBS="$LIBS -lreadline"
    50927193else
    5093   { echo "$as_me:5093: WARNING: Can't find GNU readline library; configuring without \
     7194  { echo "$as_me:$LINENO: WARNING: Can't find GNU readline library; configuring without \
    50947195GNU readline support" >&5
    50957196echo "$as_me: WARNING: Can't find GNU readline library; configuring without \
     
    51047205    #  by mg itself (e.g. xmalloc, xrealloc).  So, if we find libcurses,
    51057206    #  we just bung it on and hope for the best.
    5106     echo "$as_me:5106: checking for main in -lcurses" >&5
     7207    echo "$as_me:$LINENO: checking for main in -lcurses" >&5
    51077208echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6
    51087209if test "${ac_cv_lib_curses_main+set}" = set; then
     
    51127213LIBS="-lcurses  $LIBS"
    51137214cat >conftest.$ac_ext <<_ACEOF
    5114 #line 5114 "configure"
    5115 #include "confdefs.h"
     7215/* confdefs.h.  */
     7216_ACEOF
     7217cat confdefs.h >>conftest.$ac_ext
     7218cat >>conftest.$ac_ext <<_ACEOF
     7219/* end confdefs.h.  */
     7220
    51167221
    51177222int
     
    51247229_ACEOF
    51257230rm -f conftest.$ac_objext conftest$ac_exeext
    5126 if { (eval echo "$as_me:5126: \"$ac_link\"") >&5
    5127   (eval $ac_link) 2>&5
    5128   ac_status=$?
    5129   echo "$as_me:5129: \$? = $ac_status" >&5
     7231if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7232  (eval $ac_link) 2>conftest.er1
     7233  ac_status=$?
     7234  grep -v '^ *+' conftest.er1 >conftest.err
     7235  rm -f conftest.er1
     7236  cat conftest.err >&5
     7237  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    51307238  (exit $ac_status); } &&
    5131          { ac_try='test -s conftest$ac_exeext'
    5132   { (eval echo "$as_me:5132: \"$ac_try\"") >&5
    5133   (eval $ac_try) 2>&5
    5134   ac_status=$?
    5135   echo "$as_me:5135: \$? = $ac_status" >&5
     7239     { ac_try='test -z "$ac_c_werror_flag"
     7240             || test ! -s conftest.err'
     7241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7242  (eval $ac_try) 2>&5
     7243  ac_status=$?
     7244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7245  (exit $ac_status); }; } &&
     7246     { ac_try='test -s conftest$ac_exeext'
     7247  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7248  (eval $ac_try) 2>&5
     7249  ac_status=$?
     7250  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    51367251  (exit $ac_status); }; }; then
    51377252  ac_cv_lib_curses_main=yes
    51387253else
    51397254  echo "$as_me: failed program was:" >&5
    5140 cat conftest.$ac_ext >&5
     7255sed 's/^/| /' conftest.$ac_ext >&5
     7256
    51417257ac_cv_lib_curses_main=no
    51427258fi
    5143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     7259rm -f conftest.err conftest.$ac_objext \
     7260      conftest$ac_exeext conftest.$ac_ext
    51447261LIBS=$ac_check_lib_save_LIBS
    51457262fi
    5146 echo "$as_me:5146: result: $ac_cv_lib_curses_main" >&5
     7263echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
    51477264echo "${ECHO_T}$ac_cv_lib_curses_main" >&6
    51487265if test $ac_cv_lib_curses_main = yes; then
     
    51547271  fi
    51557272
     7273
    51567274# ---------------------------------------------------------------------------
    51577275if test "$ac_cv_func_alloca" = 'no'; then
    5158   LIBOBJS="$LIBOBJS xmalloc.o error.o"
    5159 fi
     7276  case $LIBOBJS in
     7277    "xmalloc.$ac_objext"   | \
     7278  *" xmalloc.$ac_objext"   | \
     7279    "xmalloc.$ac_objext "* | \
     7280  *" xmalloc.$ac_objext "* ) ;;
     7281  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
     7282esac
     7283
     7284  case $LIBOBJS in
     7285    "error.$ac_objext"   | \
     7286  *" error.$ac_objext"   | \
     7287    "error.$ac_objext "* | \
     7288  *" error.$ac_objext "* ) ;;
     7289  *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     7290esac
     7291
     7292fi
     7293
    51607294
    51617295# ---------------------------------------------------------------------------
     
    51647298if test "${enable_override_longlong+set}" = set; then
    51657299  enableval="$enable_override_longlong"
    5166   cat >>confdefs.h <<\EOF
     7300  cat >>confdefs.h <<\_ACEOF
    51677301#define DISABLE_LONG_LONG 1
    5168 EOF
     7302_ACEOF
    51697303
    51707304fi;
     
    51727306# ---------------------------------------------------------------------------
    51737307
    5174 ac_config_files="$ac_config_files Makefile text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mgpp/Makefile"
    5175 ac_config_commands="$ac_config_commands default"
     7308                                                  ac_config_files="$ac_config_files Makefile text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mgpp/Makefile"
     7309          ac_config_commands="$ac_config_commands default"
    51767310cat >confcache <<\_ACEOF
    51777311# This file is a shell script that caches the results of configure
     
    51847318# the --recheck option to rerun configure.
    51857319#
    5186 # `ac_cv_env_foo' variables (set or unset) will be overriden when
     7320# `ac_cv_env_foo' variables (set or unset) will be overridden when
    51877321# loading this file, other *unset* `ac_cv_foo' will be assigned the
    51887322# following values.
     
    52027336      # substitution turns \\\\ into \\, and sed turns \\ into \).
    52037337      sed -n \
    5204         "s/'/'\\\\''/g;
    5205           s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     7338    "s/'/'\\\\''/g;
     7339      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    52067340      ;;
    52077341    *)
    52087342      # `set' quotes correctly as required by POSIX, so do not add quotes.
    52097343      sed -n \
    5210         "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     7344    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    52117345      ;;
    52127346    esac;
     
    52197353     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    52207354     : end' >>confcache
    5221 if cmp -s $cache_file confcache; then :; else
     7355if diff $cache_file confcache >/dev/null 2>&1; then :; else
    52227356  if test -w $cache_file; then
    52237357    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     
    52387372# (actually we leave an empty line to preserve line numbers).
    52397373if test "x$srcdir" = x.; then
    5240   ac_vpsub='/^[     ]*VPATH[    ]*=/{
     7374  ac_vpsub='/^[  ]*VPATH[    ]*=/{
    52417375s/:*\$(srcdir):*/:/;
    52427376s/:*\${srcdir}:*/:/;
    52437377s/:*@srcdir@:*/:/;
    5244 s/^\([^=]*=[    ]*\):*/\1/;
     7378s/^\([^=]*=[     ]*\):*/\1/;
    52457379s/:*$//;
    5246 s/^[^=]*=[  ]*$//;
     7380s/^[^=]*=[   ]*$//;
    52477381}'
    52487382fi
    52497383
    52507384DEFS=-DHAVE_CONFIG_H
     7385
     7386ac_libobjs=
     7387ac_ltlibobjs=
     7388for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
     7389  # 1. Remove the extension, and $U if already installed.
     7390  ac_i=`echo "$ac_i" |
     7391     sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     7392  # 2. Add them.
     7393  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     7394  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     7395done
     7396LIBOBJS=$ac_libobjs
     7397
     7398LTLIBOBJS=$ac_ltlibobjs
     7399
     7400
    52517401
    52527402: ${CONFIG_STATUS=./config.status}
    52537403ac_clean_files_save=$ac_clean_files
    52547404ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    5255 { echo "$as_me:5255: creating $CONFIG_STATUS" >&5
     7405{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    52567406echo "$as_me: creating $CONFIG_STATUS" >&6;}
    52577407cat >$CONFIG_STATUS <<_ACEOF
    52587408#! $SHELL
    5259 # Generated automatically by configure.
     7409# Generated by $as_me.
    52607410# Run this file to recreate the current configuration.
    52617411# Compiler output produced by configure, useful for debugging
     
    52637413
    52647414debug=false
     7415ac_cs_recheck=false
     7416ac_cs_silent=false
    52657417SHELL=\${CONFIG_SHELL-$SHELL}
    5266 ac_cs_invocation="\$0 \$@"
    5267 
    52687418_ACEOF
    52697419
    52707420cat >>$CONFIG_STATUS <<\_ACEOF
     7421## --------------------- ##
     7422## M4sh Initialization.  ##
     7423## --------------------- ##
     7424
    52717425# Be Bourne compatible
    52727426if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    52737427  emulate sh
    52747428  NULLCMD=:
     7429  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     7430  # is contrary to our usage.  Disable this feature.
     7431  alias -g '${1+"$@"}'='"$@"'
    52757432elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    52767433  set -o posix
    52777434fi
     7435DUALCASE=1; export DUALCASE # for MKS sh
     7436
     7437# Support unset when possible.
     7438if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     7439  as_unset=unset
     7440else
     7441  as_unset=false
     7442fi
     7443
     7444
     7445# Work around bugs in pre-3.0 UWIN ksh.
     7446$as_unset ENV MAIL MAILPATH
     7447PS1='$ '
     7448PS2='> '
     7449PS4='+ '
     7450
     7451# NLS nuisances.
     7452for as_var in \
     7453  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     7454  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     7455  LC_TELEPHONE LC_TIME
     7456do
     7457  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     7458    eval $as_var=C; export $as_var
     7459  else
     7460    $as_unset $as_var
     7461  fi
     7462done
     7463
     7464# Required to use basename.
     7465if expr a : '\(a\)' >/dev/null 2>&1; then
     7466  as_expr=expr
     7467else
     7468  as_expr=false
     7469fi
     7470
     7471if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     7472  as_basename=basename
     7473else
     7474  as_basename=false
     7475fi
     7476
    52787477
    52797478# Name of the executable.
    5280 as_me=`echo "$0" |sed 's,.*[\\/],,'`
     7479as_me=`$as_basename "$0" ||
     7480$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     7481     X"$0" : 'X\(//\)$' \| \
     7482     X"$0" : 'X\(/\)$' \| \
     7483     .     : '\(.\)' 2>/dev/null ||
     7484echo X/"$0" |
     7485    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     7486      /^X\/\(\/\/\)$/{ s//\1/; q; }
     7487      /^X\/\(\/\).*/{ s//\1/; q; }
     7488      s/.*/./; q'`
     7489
     7490
     7491# PATH needs CR, and LINENO needs CR and PATH.
     7492# Avoid depending upon Character Ranges.
     7493as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     7494as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     7495as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     7496as_cr_digits='0123456789'
     7497as_cr_alnum=$as_cr_Letters$as_cr_digits
     7498
     7499# The user is always right.
     7500if test "${PATH_SEPARATOR+set}" != set; then
     7501  echo "#! /bin/sh" >conf$$.sh
     7502  echo  "exit 0"   >>conf$$.sh
     7503  chmod +x conf$$.sh
     7504  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     7505    PATH_SEPARATOR=';'
     7506  else
     7507    PATH_SEPARATOR=:
     7508  fi
     7509  rm -f conf$$.sh
     7510fi
     7511
     7512
     7513  as_lineno_1=$LINENO
     7514  as_lineno_2=$LINENO
     7515  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     7516  test "x$as_lineno_1" != "x$as_lineno_2" &&
     7517  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     7518  # Find who we are.  Look in the path if we contain no path at all
     7519  # relative or not.
     7520  case $0 in
     7521    *[\\/]* ) as_myself=$0 ;;
     7522    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7523for as_dir in $PATH
     7524do
     7525  IFS=$as_save_IFS
     7526  test -z "$as_dir" && as_dir=.
     7527  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     7528done
     7529
     7530       ;;
     7531  esac
     7532  # We did not find ourselves, most probably we were run as `sh COMMAND'
     7533  # in which case we are not to be found in the path.
     7534  if test "x$as_myself" = x; then
     7535    as_myself=$0
     7536  fi
     7537  if test ! -f "$as_myself"; then
     7538    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     7539echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     7540   { (exit 1); exit 1; }; }
     7541  fi
     7542  case $CONFIG_SHELL in
     7543  '')
     7544    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7545for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     7546do
     7547  IFS=$as_save_IFS
     7548  test -z "$as_dir" && as_dir=.
     7549  for as_base in sh bash ksh sh5; do
     7550     case $as_dir in
     7551     /*)
     7552       if ("$as_dir/$as_base" -c '
     7553  as_lineno_1=$LINENO
     7554  as_lineno_2=$LINENO
     7555  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     7556  test "x$as_lineno_1" != "x$as_lineno_2" &&
     7557  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     7558         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     7559         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     7560         CONFIG_SHELL=$as_dir/$as_base
     7561         export CONFIG_SHELL
     7562         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     7563       fi;;
     7564     esac
     7565       done
     7566done
     7567;;
     7568  esac
     7569
     7570  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     7571  # uniformly replaced by the line number.  The first 'sed' inserts a
     7572  # line-number line before each line; the second 'sed' does the real
     7573  # work.  The second script uses 'N' to pair each line-number line
     7574  # with the numbered line, and appends trailing '-' during
     7575  # substitution so that $LINENO is not a special case at line end.
     7576  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     7577  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     7578  sed '=' <$as_myself |
     7579    sed '
     7580      N
     7581      s,$,-,
     7582      : loop
     7583      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     7584      t loop
     7585      s,-$,,
     7586      s,^['$as_cr_digits']*\n,,
     7587    ' >$as_me.lineno &&
     7588  chmod +x $as_me.lineno ||
     7589    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     7590echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     7591   { (exit 1); exit 1; }; }
     7592
     7593  # Don't try to exec as it changes $[0], causing all sort of problems
     7594  # (the dirname of $[0] is not the place where we might find the
     7595  # original and so on.  Autoconf is especially sensible to this).
     7596  . ./$as_me.lineno
     7597  # Exit status is that of the last command.
     7598  exit
     7599}
     7600
     7601
     7602case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     7603  *c*,-n*) ECHO_N= ECHO_C='
     7604' ECHO_T='  ' ;;
     7605  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     7606  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     7607esac
    52817608
    52827609if expr a : '\(a\)' >/dev/null 2>&1; then
     
    53047631rm -f conf$$ conf$$.exe conf$$.file
    53057632
     7633if mkdir -p . 2>/dev/null; then
     7634  as_mkdir_p=:
     7635else
     7636  test -d ./-p && rmdir ./-p
     7637  as_mkdir_p=false
     7638fi
     7639
    53067640as_executable_p="test -f"
    53077641
    5308 # Support unset when possible.
    5309 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    5310   as_unset=unset
    5311 else
    5312   as_unset=false
    5313 fi
    5314 
    5315 # NLS nuisances.
    5316 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
    5317 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
    5318 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
    5319 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
    5320 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
    5321 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
    5322 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
    5323 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
     7642# Sed expression to map a string onto a valid CPP name.
     7643as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     7644
     7645# Sed expression to map a string onto a valid variable name.
     7646as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     7647
    53247648
    53257649# IFS
     
    53307654
    53317655# CDPATH.
    5332 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
     7656$as_unset CDPATH
    53337657
    53347658exec 6>&1
    53357659
     7660# Open the log real soon, to keep \$[0] and so on meaningful, and to
     7661# report actual input values of CONFIG_FILES etc. instead of their
     7662# values after options handling.  Logging --version etc. is OK.
     7663exec 5>>config.log
     7664{
     7665  echo
     7666  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     7667## Running $as_me. ##
     7668_ASBOX
     7669} >&5
     7670cat >&5 <<_CSEOF
     7671
     7672This file was extended by $as_me, which was
     7673generated by GNU Autoconf 2.59.  Invocation command line was
     7674
     7675  CONFIG_FILES    = $CONFIG_FILES
     7676  CONFIG_HEADERS  = $CONFIG_HEADERS
     7677  CONFIG_LINKS    = $CONFIG_LINKS
     7678  CONFIG_COMMANDS = $CONFIG_COMMANDS
     7679  $ $0 $@
     7680
     7681_CSEOF
     7682echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     7683echo >&5
    53367684_ACEOF
    53377685
     
    53537701fi
    53547702
    5355 cat >>$CONFIG_STATUS <<\EOF
     7703cat >>$CONFIG_STATUS <<\_ACEOF
    53567704
    53577705ac_cs_usage="\
     
    53637711  -h, --help       print this help, then exit
    53647712  -V, --version    print version number, then exit
     7713  -q, --quiet      do not print progress messages
    53657714  -d, --debug      don't remove temporary files
    53667715      --recheck    update $as_me by reconfiguring in the same conditions
    53677716  --file=FILE[:TEMPLATE]
    5368                    instantiate the configuration file FILE
     7717           instantiate the configuration file FILE
    53697718  --header=FILE[:TEMPLATE]
    5370                    instantiate the configuration header FILE
     7719           instantiate the configuration header FILE
    53717720
    53727721Configuration files:
     
    53807729
    53817730Report bugs to <[email protected]>."
    5382 EOF
    5383 
    5384 cat >>$CONFIG_STATUS <<EOF
     7731_ACEOF
     7732
     7733cat >>$CONFIG_STATUS <<_ACEOF
    53857734ac_cs_version="\\
    53867735config.status
    5387 configured by $0, generated by GNU Autoconf 2.50,
     7736configured by $0, generated by GNU Autoconf 2.59,
    53887737  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    53897738
    5390 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    5391 Free Software Foundation, Inc.
     7739Copyright (C) 2003 Free Software Foundation, Inc.
    53927740This config.status script is free software; the Free Software Foundation
    53937741gives unlimited permission to copy, distribute and modify it."
    53947742srcdir=$srcdir
    53957743INSTALL="$INSTALL"
    5396 EOF
    5397 
    5398 cat >>$CONFIG_STATUS <<\EOF
     7744_ACEOF
     7745
     7746cat >>$CONFIG_STATUS <<\_ACEOF
    53997747# If no file are specified by the user, then we need to provide default
    54007748# value.  By we need to know if files were specified by the user.
     
    54067754    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    54077755    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    5408     shift
    5409     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
    5410     shift
     7756    ac_shift=:
    54117757    ;;
    5412   -*);;
     7758  -*)
     7759    ac_option=$1
     7760    ac_optarg=$2
     7761    ac_shift=shift
     7762    ;;
    54137763  *) # This is not an option, so the user has probably given explicit
    54147764     # arguments.
     7765     ac_option=$1
    54157766     ac_need_defaults=false;;
    54167767  esac
    54177768
    5418   case $1 in
     7769  case $ac_option in
    54197770  # Handling of the options.
    5420 EOF
    5421 cat >>$CONFIG_STATUS <<EOF
     7771_ACEOF
     7772cat >>$CONFIG_STATUS <<\_ACEOF
    54227773  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    5423     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
    5424     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
    5425 EOF
    5426 cat >>$CONFIG_STATUS <<\EOF
     7774    ac_cs_recheck=: ;;
    54277775  --version | --vers* | -V )
    54287776    echo "$ac_cs_version"; exit 0 ;;
    54297777  --he | --h)
    54307778    # Conflict between --help and --header
    5431     { { echo "$as_me:5431: error: ambiguous option: $1
     7779    { { echo "$as_me:$LINENO: error: ambiguous option: $1
    54327780Try \`$0 --help' for more information." >&5
    54337781echo "$as_me: error: ambiguous option: $1
     
    54397787    debug=: ;;
    54407788  --file | --fil | --fi | --f )
    5441     shift
    5442     CONFIG_FILES="$CONFIG_FILES $1"
     7789    $ac_shift
     7790    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    54437791    ac_need_defaults=false;;
    54447792  --header | --heade | --head | --hea )
    5445     shift
    5446     CONFIG_HEADERS="$CONFIG_HEADERS $1"
     7793    $ac_shift
     7794    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    54477795    ac_need_defaults=false;;
    5448 
    5449   # Handling of arguments.
    5450   'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    5451   'text/Makefile' ) CONFIG_FILES="$CONFIG_FILES text/Makefile" ;;
    5452   'lib/Makefile' ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
    5453   'jni/Makefile' ) CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
    5454   'java/org/greenstone/mgpp/Makefile' ) CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mgpp/Makefile" ;;
    5455   'default' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
    5456   'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     7796  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     7797  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     7798    ac_cs_silent=: ;;
    54577799
    54587800  # This is an error.
    5459   -*) { { echo "$as_me:5459: error: unrecognized option: $1
     7801  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    54607802Try \`$0 --help' for more information." >&5
    54617803echo "$as_me: error: unrecognized option: $1
    54627804Try \`$0 --help' for more information." >&2;}
    54637805   { (exit 1); exit 1; }; } ;;
    5464   *) { { echo "$as_me:5464: error: invalid argument: $1" >&5
    5465 echo "$as_me: error: invalid argument: $1" >&2;}
    5466    { (exit 1); exit 1; }; };;
     7806
     7807  *) ac_config_targets="$ac_config_targets $1" ;;
     7808
    54677809  esac
    54687810  shift
    54697811done
    54707812
    5471 exec 5>>config.log
    5472 cat >&5 << _ACEOF
    5473 
    5474 ## ----------------------- ##
    5475 ## Running config.status.  ##
    5476 ## ----------------------- ##
    5477 
    5478 This file was extended by $as_me 2.50, executed with
    5479   > $ac_cs_invocation
    5480 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    5481 
    5482 _ACEOF
    5483 EOF
    5484 
    5485 cat >>$CONFIG_STATUS <<\EOF
     7813ac_configure_extra_args=
     7814
     7815if $ac_cs_silent; then
     7816  exec 6>/dev/null
     7817  ac_configure_extra_args="$ac_configure_extra_args --silent"
     7818fi
     7819
     7820_ACEOF
     7821cat >>$CONFIG_STATUS <<_ACEOF
     7822if \$ac_cs_recheck; then
     7823  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     7824  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     7825fi
     7826
     7827_ACEOF
     7828
     7829
     7830
     7831
     7832
     7833cat >>$CONFIG_STATUS <<\_ACEOF
     7834for ac_config_target in $ac_config_targets
     7835do
     7836  case "$ac_config_target" in
     7837  # Handling of arguments.
     7838  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     7839  "text/Makefile" ) CONFIG_FILES="$CONFIG_FILES text/Makefile" ;;
     7840  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
     7841  "jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
     7842  "java/org/greenstone/mgpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mgpp/Makefile" ;;
     7843  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
     7844  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     7845  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     7846echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     7847   { (exit 1); exit 1; }; };;
     7848  esac
     7849done
     7850
    54867851# If the user did not use the arguments to specify the items to instantiate,
    54877852# then the envvar interface is used.  Set only those that are not.
     
    54947859fi
    54957860
     7861# Have a temporary directory for convenience.  Make it in the build tree
     7862# simply because there is no reason to put it here, and in addition,
     7863# creating and moving files from /tmp can sometimes cause problems.
    54967864# Create a temporary directory, and hook for its removal unless debugging.
    54977865$debug ||
    54987866{
    54997867  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    5500   trap '{ (exit $?); exit $?; }' 1 2 13 15
     7868  trap '{ (exit 1); exit 1; }' 1 2 13 15
    55017869}
    55027870
    55037871# Create a (secure) tmp directory for tmp files.
    5504 : ${TMPDIR=/tmp}
     7872
    55057873{
    5506   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
     7874  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    55077875  test -n "$tmp" && test -d "$tmp"
    55087876}  ||
    55097877{
    5510   tmp=$TMPDIR/cs$$-$RANDOM
     7878  tmp=./confstat$$-$RANDOM
    55117879  (umask 077 && mkdir $tmp)
    55127880} ||
    55137881{
    5514    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
     7882   echo "$me: cannot create a temporary directory in ." >&2
    55157883   { (exit 1); exit 1; }
    55167884}
    55177885
    5518 EOF
    5519 
    5520 cat >>$CONFIG_STATUS <<EOF
     7886_ACEOF
     7887
     7888cat >>$CONFIG_STATUS <<_ACEOF
    55217889
    55227890#
     
    55317899   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    55327900s,@SHELL@,$SHELL,;t t
     7901s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     7902s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     7903s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     7904s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     7905s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     7906s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    55337907s,@exec_prefix@,$exec_prefix,;t t
    55347908s,@prefix@,$prefix,;t t
     
    55467920s,@infodir@,$infodir,;t t
    55477921s,@mandir@,$mandir,;t t
    5548 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    5549 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    5550 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    5551 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    5552 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     7922s,@build_alias@,$build_alias,;t t
     7923s,@host_alias@,$host_alias,;t t
     7924s,@target_alias@,$target_alias,;t t
     7925s,@DEFS@,$DEFS,;t t
    55537926s,@ECHO_C@,$ECHO_C,;t t
    55547927s,@ECHO_N@,$ECHO_N,;t t
    55557928s,@ECHO_T@,$ECHO_T,;t t
    5556 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    5557 s,@DEFS@,$DEFS,;t t
    55587929s,@LIBS@,$LIBS,;t t
    55597930s,@PACKAGE@,$PACKAGE,;t t
     
    55797950s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    55807951s,@CPP@,$CPP,;t t
     7952s,@EGREP@,$EGREP,;t t
    55817953s,@U@,$U,;t t
    55827954s,@ANSI2KNR@,$ANSI2KNR,;t t
    55837955s,@ALLOCA@,$ALLOCA,;t t
    55847956s,@LIBOBJS@,$LIBOBJS,;t t
     7957s,@JNIINC@,$JNIINC,;t t
     7958s,@JNISUFFIX@,$JNISUFFIX,;t t
     7959s,@JNIFLAGS@,$JNIFLAGS,;t t
     7960s,@LIBOBJS@,$LIBOBJS,;t t
     7961s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    55857962CEOF
    55867963
    5587 EOF
    5588 
    5589   cat >>$CONFIG_STATUS <<\EOF
     7964_ACEOF
     7965
     7966  cat >>$CONFIG_STATUS <<\_ACEOF
    55907967  # Split the substitutions into bite-sized pieces for seds with
    55917968  # small command number limits, like on Digital OSF/1 and HP-UX.
     
    56127989  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    56137990      if test -z "$ac_sed_cmds"; then
    5614     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     7991    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    56157992      else
    5616     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     7993    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    56177994      fi
    56187995      ac_sed_frag=`expr $ac_sed_frag + 1`
     
    56268003fi # test -n "$CONFIG_FILES"
    56278004
    5628 EOF
    5629 cat >>$CONFIG_STATUS <<\EOF
     8005_ACEOF
     8006cat >>$CONFIG_STATUS <<\_ACEOF
    56308007for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    56318008  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    56328009  case $ac_file in
    56338010  - | *:- | *:-:* ) # input from stdin
    5634         cat >$tmp/stdin
    5635         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5636         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8011    cat >$tmp/stdin
     8012    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8013    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    56378014  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5638         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8015    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    56398016  * )   ac_file_in=$ac_file.in ;;
    56408017  esac
    56418018
    56428019  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    5643   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    5644          X"$ac_file" : 'X\(//\)[^/]' \| \
    5645          X"$ac_file" : 'X\(//\)$' \| \
    5646          X"$ac_file" : 'X\(/\)' \| \
    5647          .     : '\(.\)' 2>/dev/null ||
     8020  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     8021$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8022     X"$ac_file" : 'X\(//\)[^/]' \| \
     8023     X"$ac_file" : 'X\(//\)$' \| \
     8024     X"$ac_file" : 'X\(/\)' \| \
     8025     .     : '\(.\)' 2>/dev/null ||
    56488026echo X"$ac_file" |
    56498027    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    56528030      /^X\(\/\).*/{ s//\1/; q; }
    56538031      s/.*/./; q'`
    5654   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    5655     { case "$ac_dir" in
    5656   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
    5657   *)                      as_incr_dir=.;;
     8032  { if $as_mkdir_p; then
     8033    mkdir -p "$ac_dir"
     8034  else
     8035    as_dir="$ac_dir"
     8036    as_dirs=
     8037    while test ! -d "$as_dir"; do
     8038      as_dirs="$as_dir $as_dirs"
     8039      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8040$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8041     X"$as_dir" : 'X\(//\)[^/]' \| \
     8042     X"$as_dir" : 'X\(//\)$' \| \
     8043     X"$as_dir" : 'X\(/\)' \| \
     8044     .     : '\(.\)' 2>/dev/null ||
     8045echo X"$as_dir" |
     8046    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8047      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8048      /^X\(\/\/\)$/{ s//\1/; q; }
     8049      /^X\(\/\).*/{ s//\1/; q; }
     8050      s/.*/./; q'`
     8051    done
     8052    test ! -n "$as_dirs" || mkdir $as_dirs
     8053  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8054echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8055   { (exit 1); exit 1; }; }; }
     8056
     8057  ac_builddir=.
     8058
     8059if test "$ac_dir" != .; then
     8060  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     8061  # A "../" for each directory in $ac_dir_suffix.
     8062  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     8063else
     8064  ac_dir_suffix= ac_top_builddir=
     8065fi
     8066
     8067case $srcdir in
     8068  .)  # No --srcdir option.  We are building in place.
     8069    ac_srcdir=.
     8070    if test -z "$ac_top_builddir"; then
     8071       ac_top_srcdir=.
     8072    else
     8073       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     8074    fi ;;
     8075  [\\/]* | ?:[\\/]* )  # Absolute path.
     8076    ac_srcdir=$srcdir$ac_dir_suffix;
     8077    ac_top_srcdir=$srcdir ;;
     8078  *) # Relative path.
     8079    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     8080    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    56588081esac
    5659 as_dummy="$ac_dir"
    5660 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
    5661   case $as_mkdir_dir in
    5662     # Skip DOS drivespec
    5663     ?:) as_incr_dir=$as_mkdir_dir ;;
    5664     *)
    5665       as_incr_dir=$as_incr_dir/$as_mkdir_dir
    5666       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
    5667     ;;
    5668   esac
    5669 done; }
    5670 
    5671     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
    5672     # A "../" for each directory in $ac_dir_suffix.
    5673     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
    5674   else
    5675     ac_dir_suffix= ac_dots=
    5676   fi
    5677 
    5678   case $srcdir in
    5679   .)  ac_srcdir=.
    5680       if test -z "$ac_dots"; then
    5681          ac_top_srcdir=.
    5682       else
    5683          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
    5684       fi ;;
    5685   [\\/]* | ?:[\\/]* )
    5686       ac_srcdir=$srcdir$ac_dir_suffix;
    5687       ac_top_srcdir=$srcdir ;;
    5688   *) # Relative path.
    5689     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
    5690     ac_top_srcdir=$ac_dots$srcdir ;;
    5691   esac
     8082
     8083# Do not use `cd foo && pwd` to compute absolute paths, because
     8084# the directories may not exist.
     8085case `pwd` in
     8086.) ac_abs_builddir="$ac_dir";;
     8087*)
     8088  case "$ac_dir" in
     8089  .) ac_abs_builddir=`pwd`;;
     8090  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     8091  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     8092  esac;;
     8093esac
     8094case $ac_abs_builddir in
     8095.) ac_abs_top_builddir=${ac_top_builddir}.;;
     8096*)
     8097  case ${ac_top_builddir}. in
     8098  .) ac_abs_top_builddir=$ac_abs_builddir;;
     8099  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     8100  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     8101  esac;;
     8102esac
     8103case $ac_abs_builddir in
     8104.) ac_abs_srcdir=$ac_srcdir;;
     8105*)
     8106  case $ac_srcdir in
     8107  .) ac_abs_srcdir=$ac_abs_builddir;;
     8108  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     8109  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     8110  esac;;
     8111esac
     8112case $ac_abs_builddir in
     8113.) ac_abs_top_srcdir=$ac_top_srcdir;;
     8114*)
     8115  case $ac_top_srcdir in
     8116  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     8117  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     8118  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     8119  esac;;
     8120esac
     8121
    56928122
    56938123  case $INSTALL in
    56948124  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    5695   *) ac_INSTALL=$ac_dots$INSTALL ;;
     8125  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
    56968126  esac
    56978127
    56988128  if test x"$ac_file" != x-; then
    5699     { echo "$as_me:5699: creating $ac_file" >&5
     8129    { echo "$as_me:$LINENO: creating $ac_file" >&5
    57008130echo "$as_me: creating $ac_file" >&6;}
    57018131    rm -f "$ac_file"
     
    57038133  # Let's still pretend it is `configure' which instantiates (i.e., don't
    57048134  # use $as_me), people would be surprised to read:
    5705   #    /* config.h.  Generated automatically by config.status.  */
    5706   configure_input="Generated automatically from `echo $ac_file_in |
    5707                                                  sed 's,.*/,,'` by configure."
     8135  #    /* config.h.  Generated by config.status.  */
     8136  if test x"$ac_file" = x-; then
     8137    configure_input=
     8138  else
     8139    configure_input="$ac_file.  "
     8140  fi
     8141  configure_input=$configure_input"Generated from `echo $ac_file_in |
     8142                     sed 's,.*/,,'` by configure."
    57088143
    57098144  # First look for the input files in the build tree, otherwise in the
     
    57148149      -) echo $tmp/stdin ;;
    57158150      [\\/$]*)
    5716         # Absolute (can't be DOS-style, as IFS=:)
    5717          test -f "$f" || { { echo "$as_me:5717: error: cannot find input file: $f" >&5
     8151    # Absolute (can't be DOS-style, as IFS=:)
     8152     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    57188153echo "$as_me: error: cannot find input file: $f" >&2;}
    57198154   { (exit 1); exit 1; }; }
    5720          echo $f;;
     8155     echo "$f";;
    57218156      *) # Relative
    5722         if test -f "$f"; then
    5723            # Build tree
    5724            echo $f
    5725         elif test -f "$srcdir/$f"; then
    5726            # Source tree
    5727            echo $srcdir/$f
    5728         else
    5729            # /dev/null tree
    5730            { { echo "$as_me:5730: error: cannot find input file: $f" >&5
     8157    if test -f "$f"; then
     8158       # Build tree
     8159       echo "$f"
     8160    elif test -f "$srcdir/$f"; then
     8161       # Source tree
     8162       echo "$srcdir/$f"
     8163    else
     8164       # /dev/null tree
     8165       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    57318166echo "$as_me: error: cannot find input file: $f" >&2;}
    57328167   { (exit 1); exit 1; }; }
    5733         fi;;
     8168    fi;;
    57348169      esac
    57358170    done` || { (exit 1); exit 1; }
    5736 EOF
    5737 cat >>$CONFIG_STATUS <<EOF
     8171_ACEOF
     8172cat >>$CONFIG_STATUS <<_ACEOF
    57388173  sed "$ac_vpsub
    57398174$extrasub
    5740 EOF
    5741 cat >>$CONFIG_STATUS <<\EOF
     8175_ACEOF
     8176cat >>$CONFIG_STATUS <<\_ACEOF
    57428177:t
    57438178/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    57448179s,@configure_input@,$configure_input,;t t
    57458180s,@srcdir@,$ac_srcdir,;t t
     8181s,@abs_srcdir@,$ac_abs_srcdir,;t t
    57468182s,@top_srcdir@,$ac_top_srcdir,;t t
     8183s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     8184s,@builddir@,$ac_builddir,;t t
     8185s,@abs_builddir@,$ac_abs_builddir,;t t
     8186s,@top_builddir@,$ac_top_builddir,;t t
     8187s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    57478188s,@INSTALL@,$ac_INSTALL,;t t
    57488189" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     
    57568197
    57578198done
    5758 EOF
    5759 cat >>$CONFIG_STATUS <<\EOF
     8199_ACEOF
     8200cat >>$CONFIG_STATUS <<\_ACEOF
    57608201
    57618202#
     
    57678208#
    57688209# ac_d sets the value in "#define NAME VALUE" lines.
    5769 ac_dA='s,^\([   ]*\)#\([    ]*define[   ][  ]*\)'
    5770 ac_dB='[    ].*$,\1#\2'
     8210ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
     8211ac_dB='[     ].*$,\1#\2'
    57718212ac_dC=' '
    57728213ac_dD=',;t'
    57738214# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    5774 ac_uA='s,^\([   ]*\)#\([    ]*\)undef\([    ][  ]*\)'
     8215ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
    57758216ac_uB='$,\1#\2define\3'
    57768217ac_uC=' '
     
    57818222  case $ac_file in
    57828223  - | *:- | *:-:* ) # input from stdin
    5783         cat >$tmp/stdin
    5784         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5785         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8224    cat >$tmp/stdin
     8225    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8226    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    57868227  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5787         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8228    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    57888229  * )   ac_file_in=$ac_file.in ;;
    57898230  esac
    57908231
    5791   test x"$ac_file" != x- && { echo "$as_me:5791: creating $ac_file" >&5
     8232  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    57928233echo "$as_me: creating $ac_file" >&6;}
    57938234
     
    57998240      -) echo $tmp/stdin ;;
    58008241      [\\/$]*)
    5801         # Absolute (can't be DOS-style, as IFS=:)
    5802          test -f "$f" || { { echo "$as_me:5802: error: cannot find input file: $f" >&5
     8242    # Absolute (can't be DOS-style, as IFS=:)
     8243     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    58038244echo "$as_me: error: cannot find input file: $f" >&2;}
    58048245   { (exit 1); exit 1; }; }
    5805          echo $f;;
     8246     # Do quote $f, to prevent DOS paths from being IFS'd.
     8247     echo "$f";;
    58068248      *) # Relative
    5807         if test -f "$f"; then
    5808            # Build tree
    5809            echo $f
    5810         elif test -f "$srcdir/$f"; then
    5811            # Source tree
    5812            echo $srcdir/$f
    5813         else
    5814            # /dev/null tree
    5815            { { echo "$as_me:5815: error: cannot find input file: $f" >&5
     8249    if test -f "$f"; then
     8250       # Build tree
     8251       echo "$f"
     8252    elif test -f "$srcdir/$f"; then
     8253       # Source tree
     8254       echo "$srcdir/$f"
     8255    else
     8256       # /dev/null tree
     8257       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    58168258echo "$as_me: error: cannot find input file: $f" >&2;}
    58178259   { (exit 1); exit 1; }; }
    5818         fi;;
     8260    fi;;
    58198261      esac
    58208262    done` || { (exit 1); exit 1; }
    58218263  # Remove the trailing spaces.
    5822   sed 's/[  ]*$//' $ac_file_inputs >$tmp/in
    5823 
    5824 EOF
     8264  sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
     8265
     8266_ACEOF
    58258267
    58268268# Transform confdefs.h into two sed scripts, `conftest.defines' and
     
    58388280# 0-ary CPP macros) applies to n-ary macro definitions.
    58398281# See the Autoconf documentation for `clear'.
    5840 cat >confdef2sed.sed <<\EOF
     8282cat >confdef2sed.sed <<\_ACEOF
    58418283s/[\\&,]/\\&/g
    58428284s,[\\$`],\\&,g
    58438285t clear
    58448286: clear
    5845 s,^[    ]*#[    ]*define[   ][  ]*\(\([^    (][^    (]*\)([^)]*)\)[     ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
     8287s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    58468288t end
    5847 s,^[    ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     8289s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    58488290: end
    5849 EOF
     8291_ACEOF
    58508292# If some macros were called several times there might be several times
    58518293# the same #defines, which is useless.  Nevertheless, we may not want to
     
    58588300# example, in the case of _POSIX_SOURCE, which is predefined and required
    58598301# on some systems where configure will not decide to define it.
    5860 cat >>conftest.undefs <<\EOF
    5861 s,^[    ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    5862 EOF
     8302cat >>conftest.undefs <<\_ACEOF
     8303s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     8304_ACEOF
    58638305
    58648306# Break up conftest.defines because some shells have a limit on the size
    58658307# of here documents, and old seds have small limits too (100 cmds).
    58668308echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    5867 echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     8309echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    58688310echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    58698311echo '  :' >>$CONFIG_STATUS
     
    58748316  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    58758317  # Speed up: don't consider the non `#define' lines.
    5876   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
     8318  echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
    58778319  # Work around the forget-to-reset-the-flag bug.
    58788320  echo 't clr' >>$CONFIG_STATUS
     
    58898331done
    58908332rm -f conftest.defines
    5891 echo '  fi # egrep' >>$CONFIG_STATUS
     8333echo '  fi # grep' >>$CONFIG_STATUS
    58928334echo >>$CONFIG_STATUS
    58938335
     
    59018343  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    59028344  # Speed up: don't consider the non `#undef'
    5903   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     8345  echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    59048346  # Work around the forget-to-reset-the-flag bug.
    59058347  echo 't clr' >>$CONFIG_STATUS
     
    59178359rm -f conftest.undefs
    59188360
    5919 cat >>$CONFIG_STATUS <<\EOF
     8361cat >>$CONFIG_STATUS <<\_ACEOF
    59208362  # Let's still pretend it is `configure' which instantiates (i.e., don't
    59218363  # use $as_me), people would be surprised to read:
    5922   #    /* config.h.  Generated automatically by config.status.  */
     8364  #    /* config.h.  Generated by config.status.  */
    59238365  if test x"$ac_file" = x-; then
    5924     echo "/* Generated automatically by configure.  */" >$tmp/config.h
     8366    echo "/* Generated by configure.  */" >$tmp/config.h
    59258367  else
    5926     echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
     8368    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    59278369  fi
    59288370  cat $tmp/in >>$tmp/config.h
    59298371  rm -f $tmp/in
    59308372  if test x"$ac_file" != x-; then
    5931     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
    5932       { echo "$as_me:5932: $ac_file is unchanged" >&5
     8373    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
     8374      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    59338375echo "$as_me: $ac_file is unchanged" >&6;}
    59348376    else
    5935       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    5936          X"$ac_file" : 'X\(//\)[^/]' \| \
    5937          X"$ac_file" : 'X\(//\)$' \| \
    5938          X"$ac_file" : 'X\(/\)' \| \
    5939          .     : '\(.\)' 2>/dev/null ||
     8377      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     8378$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8379     X"$ac_file" : 'X\(//\)[^/]' \| \
     8380     X"$ac_file" : 'X\(//\)$' \| \
     8381     X"$ac_file" : 'X\(/\)' \| \
     8382     .     : '\(.\)' 2>/dev/null ||
    59408383echo X"$ac_file" |
    59418384    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    59448387      /^X\(\/\).*/{ s//\1/; q; }
    59458388      s/.*/./; q'`
    5946       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    5947         { case "$ac_dir" in
    5948   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
    5949   *)                      as_incr_dir=.;;
    5950 esac
    5951 as_dummy="$ac_dir"
    5952 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
    5953   case $as_mkdir_dir in
    5954     # Skip DOS drivespec
    5955     ?:) as_incr_dir=$as_mkdir_dir ;;
    5956     *)
    5957       as_incr_dir=$as_incr_dir/$as_mkdir_dir
    5958       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
    5959     ;;
    5960   esac
    5961 done; }
    5962 
    5963       fi
     8389      { if $as_mkdir_p; then
     8390    mkdir -p "$ac_dir"
     8391  else
     8392    as_dir="$ac_dir"
     8393    as_dirs=
     8394    while test ! -d "$as_dir"; do
     8395      as_dirs="$as_dir $as_dirs"
     8396      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8397$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8398     X"$as_dir" : 'X\(//\)[^/]' \| \
     8399     X"$as_dir" : 'X\(//\)$' \| \
     8400     X"$as_dir" : 'X\(/\)' \| \
     8401     .     : '\(.\)' 2>/dev/null ||
     8402echo X"$as_dir" |
     8403    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8404      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8405      /^X\(\/\/\)$/{ s//\1/; q; }
     8406      /^X\(\/\).*/{ s//\1/; q; }
     8407      s/.*/./; q'`
     8408    done
     8409    test ! -n "$as_dirs" || mkdir $as_dirs
     8410  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8411echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8412   { (exit 1); exit 1; }; }; }
     8413
    59648414      rm -f $ac_file
    59658415      mv $tmp/config.h $ac_file
     
    59708420  fi
    59718421done
    5972 EOF
    5973 cat >>$CONFIG_STATUS <<\EOF
     8422_ACEOF
     8423cat >>$CONFIG_STATUS <<\_ACEOF
    59748424
    59758425#
     
    59798429  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
    59808430  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5981 
     8431  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
     8432$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8433     X"$ac_dest" : 'X\(//\)[^/]' \| \
     8434     X"$ac_dest" : 'X\(//\)$' \| \
     8435     X"$ac_dest" : 'X\(/\)' \| \
     8436     .     : '\(.\)' 2>/dev/null ||
     8437echo X"$ac_dest" |
     8438    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8439      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8440      /^X\(\/\/\)$/{ s//\1/; q; }
     8441      /^X\(\/\).*/{ s//\1/; q; }
     8442      s/.*/./; q'`
     8443  { if $as_mkdir_p; then
     8444    mkdir -p "$ac_dir"
     8445  else
     8446    as_dir="$ac_dir"
     8447    as_dirs=
     8448    while test ! -d "$as_dir"; do
     8449      as_dirs="$as_dir $as_dirs"
     8450      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8451$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8452     X"$as_dir" : 'X\(//\)[^/]' \| \
     8453     X"$as_dir" : 'X\(//\)$' \| \
     8454     X"$as_dir" : 'X\(/\)' \| \
     8455     .     : '\(.\)' 2>/dev/null ||
     8456echo X"$as_dir" |
     8457    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8458      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8459      /^X\(\/\/\)$/{ s//\1/; q; }
     8460      /^X\(\/\).*/{ s//\1/; q; }
     8461      s/.*/./; q'`
     8462    done
     8463    test ! -n "$as_dirs" || mkdir $as_dirs
     8464  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8465echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8466   { (exit 1); exit 1; }; }; }
     8467
     8468  ac_builddir=.
     8469
     8470if test "$ac_dir" != .; then
     8471  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     8472  # A "../" for each directory in $ac_dir_suffix.
     8473  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     8474else
     8475  ac_dir_suffix= ac_top_builddir=
     8476fi
     8477
     8478case $srcdir in
     8479  .)  # No --srcdir option.  We are building in place.
     8480    ac_srcdir=.
     8481    if test -z "$ac_top_builddir"; then
     8482       ac_top_srcdir=.
     8483    else
     8484       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     8485    fi ;;
     8486  [\\/]* | ?:[\\/]* )  # Absolute path.
     8487    ac_srcdir=$srcdir$ac_dir_suffix;
     8488    ac_top_srcdir=$srcdir ;;
     8489  *) # Relative path.
     8490    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     8491    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     8492esac
     8493
     8494# Do not use `cd foo && pwd` to compute absolute paths, because
     8495# the directories may not exist.
     8496case `pwd` in
     8497.) ac_abs_builddir="$ac_dir";;
     8498*)
     8499  case "$ac_dir" in
     8500  .) ac_abs_builddir=`pwd`;;
     8501  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     8502  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     8503  esac;;
     8504esac
     8505case $ac_abs_builddir in
     8506.) ac_abs_top_builddir=${ac_top_builddir}.;;
     8507*)
     8508  case ${ac_top_builddir}. in
     8509  .) ac_abs_top_builddir=$ac_abs_builddir;;
     8510  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     8511  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     8512  esac;;
     8513esac
     8514case $ac_abs_builddir in
     8515.) ac_abs_srcdir=$ac_srcdir;;
     8516*)
     8517  case $ac_srcdir in
     8518  .) ac_abs_srcdir=$ac_abs_builddir;;
     8519  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     8520  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     8521  esac;;
     8522esac
     8523case $ac_abs_builddir in
     8524.) ac_abs_top_srcdir=$ac_top_srcdir;;
     8525*)
     8526  case $ac_top_srcdir in
     8527  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     8528  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     8529  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     8530  esac;;
     8531esac
     8532
     8533
     8534  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
     8535echo "$as_me: executing $ac_dest commands" >&6;}
    59828536  case $ac_dest in
    59838537    default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
    59848538  esac
    59858539done
    5986 EOF
    5987 
    5988 cat >>$CONFIG_STATUS <<\EOF
     8540_ACEOF
     8541
     8542cat >>$CONFIG_STATUS <<\_ACEOF
    59898543
    59908544{ (exit 0); exit 0; }
    5991 EOF
     8545_ACEOF
    59928546chmod +x $CONFIG_STATUS
    59938547ac_clean_files=$ac_clean_files_save
     8548
    59948549
    59958550# configure is writing to config.log, and then calls config.status.
     
    60038558if test "$no_create" != yes; then
    60048559  ac_cs_success=:
     8560  ac_config_status_args=
     8561  test "$silent" = yes &&
     8562    ac_config_status_args="$ac_config_status_args --quiet"
    60058563  exec 5>/dev/null
    6006   $SHELL $CONFIG_STATUS || ac_cs_success=false
     8564  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
    60078565  exec 5>>config.log
    60088566  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  • trunk/indexers/mgpp/configure.in

    r10014 r10192  
    8888  AC_MSG_RESULT(yes)
    8989  JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ "
    90   SHARED_SUFFIX="jnilib"
    91   SHARED_OPTION="-dynamiclib"
    92   OTHEROPTS="-fno-common"
     90  JNISUFFIX="jnilib"
     91  JNIFLAGS="-dynamiclib -fno-common"
    9392  LDFLAGS="-framework JavaVM"
    9493else
    9594  AC_MSG_RESULT(no)
    9695  JNIINC=""
    97   SHARED_SUFFIX="so"
    98   SHARED_OPTION="-shared"
    99   OTHEROPTS=""
     96  JNISUFFIX="so"
     97  JNIFLAGS="-shared"
    10098fi
    10199AC_SUBST(JNIINC)
    102 AC_SUBST(SHARED_SUFFIX)
    103 AC_SUBST(SHARED_OPTION)
    104 AC_SUBST(OTHEROPTS)
     100AC_SUBST(JNISUFFIX)
     101AC_SUBST(JNIFLAGS)
    105102
    106103# *** Custom checking (based on GNU tar configure.in) ***
     
    109106if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    110107  AC_MSG_RESULT(yes)
    111   LIBOBJS="$LIBOBJS gmalloc.o"
     108  AC_LIBOBJ(gmalloc)
    112109  AC_DEFINE(HAVE_VALLOC)
    113110else
     
    123120if test "$ac_cv_func_alloca" = 'no'; then
    124121dnl    support functions for alloca.c
    125   LIBOBJS="$LIBOBJS xmalloc.o error.o"
     122  AC_LIBOBJ(xmalloc)
     123  AC_LIBOBJ(error)
    126124fi
    127125
  • trunk/indexers/mgpp/jni/Makefile.in

    r8949 r10192  
    2828AWK = @AWK@
    2929
     30JNIFLAGS=@JNIFLAGS@
     31JNISUFFIX=@JNISUFFIX@
     32JNIINC=@JNIINC@
     33
    3034datadir = $(prefix)/share
    3135libexecdir = $(exec_prefix)/libexec
     
    4145    $(CXXCOMPILE) $<
    4246
    43 
    44 INCLUDES = -I.. -I../lib -I../text -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
     47# can we get rid of JAVA_HOME from here??
     48INCLUDES = -I.. -I../lib -I../text -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux $(JNIINC)
    4549
    4650all: compile link
     
    4953    $(CXXCOMPILE) MGPPWrapperImpl.cpp MGPPPassesWrapperImpl.cpp
    5054link:
    51     $(CXX) $(LDFLAGS) -shared -o libmgppjni.so MGPPWrapperImpl.o $(QUERY_LIBS)
    52     $(CXX) $(LDFLAGS) -shared -o libmgpppassjni.so MGPPPassesWrapperImpl.o $(PASSES_LIBS)
     55    $(CXX) $(LDFLAGS) $(JNIFLAGS) -o libmgppjni.$(JNISUFFIX) MGPPWrapperImpl.o $(QUERY_LIBS)
     56    $(CXX) $(LDFLAGS) $(JNIFLAGS) -o libmgpppassjni.$(JNISUFFIX) MGPPPassesWrapperImpl.o $(PASSES_LIBS)
    5357
    5458clean:
    55     rm -rf *.o libmgppjni.so libmgpppassjni.so
     59    rm -rf *.o libmgppjni.$(JNISUFFIX) libmgpppassjni.$(JNISUFFIX)
    5660
    5761distclean: clean
     
    6064install:
    6165    ../mkinstalldirs $(libdir); \
    62     cp libmgppjni.so  libmgpppassjni.so  $(libdir)/;
     66    cp libmgppjni.$(JNISUFFIX)  libmgpppassjni.$(JNISUFFIX)  $(libdir)/;
    6367
    6468
Note: See TracChangeset for help on using the changeset viewer.