Ignore:
Timestamp:
2010-01-16T23:44:18+13:00 (11 years ago)
Author:
davidb
Message:

Adjustments to bring configure/Makefile logic in to line with main greenstone2 code

Location:
main/trunk/gs2runtime
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gs2runtime/Makefile.in

    r16608 r21487  
    4747ALLFILES = $(OBJECTS)
    4848
     49SPECIAL_COMPILEDIRS = common-src
     50COMPILEDIRS = runtime-src
    4951
    50 COMPILEDIRS = common-src runtime-src
    51 
    52 INSTALLDIRS = common-src runtime-src
     52SPECIAL_INSTALLDIRS = common-src
     53INSTALLDIRS = runtime-src
    5354
    5455MODULEDIRS = @MODULEDIRS@
    5556
     57ENABLE_JNI=@ENABLE_JNI@
     58ifeq ($(ENABLE_JNI), 1)
     59COMPILE_TARGET=with-jni
     60else
     61COMPILE_TARGET=without-jni
     62endif
    5663
    57 # we don't want to compile the jni stuff in indexers for gs2
    58 all:
     64
     65# with some compilers, just calling another target is insufficient
     66# so an extra echo stmt is added after each call to another target
     67all:    $(COMPILE_TARGET)
     68    @echo "Compile done"
     69
     70install: install-$(COMPILE_TARGET)
     71    @echo "Install done"
     72
     73
     74with-jni without-jni:
     75    for odir in $(SPECIAL_COMPILEDIRS); do \
     76      if test -d $$odir; then \
     77        echo making $(COMPILE_TARGET) in $$odir; \
     78        (cd $$odir && $(MAKE) $(MDEFINES) $(COMPILE_TARGET)) || exit 1; \
     79      fi; \
     80    done
    5981    for odir in $(COMPILEDIRS) $(MODULEDIRS); do \
    60       echo making $@ in $$odir; \
    61       (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
     82      if test -d $$odir; then \
     83        echo making all in $$odir; \
     84        (cd $$odir && $(MAKE) $(MDEFINES) all) || exit 1; \
     85      fi; \
    6286    done
    6387
    64 install: all
     88install-with-jni install-without-jni: all
     89    for idir in $(SPECIAL_INSTALLDIRS); do \
     90      if test -d $$idir; then \
     91        echo installing $$idir $(COMPILE_TARGET); \
     92        (cd $$idir && $(MAKE) install-$(COMPILE_TARGET)) || exit 1; \
     93      fi; \
     94    done
    6595    for idir in $(INSTALLDIRS); do \
    66       echo installing $$idir; \
    67       (cd $$idir && $(MAKE) install) || exit 1; \
     96      if test -d $$idir; then \
     97        echo installing $$idir; \
     98        (cd $$idir && $(MAKE) install) || exit 1; \
     99      fi; \
    68100    done
    69101
  • main/trunk/gs2runtime/configure

    r21445 r21487  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     3# Generated by GNU Autoconf 2.61.
    44#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
     5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    67# This configure script is free software; the Free Software Foundation
    78# gives unlimited permission to copy, distribute and modify it.
     
    1011## --------------------- ##
    1112
    12 # Be Bourne compatible
     13# Be more Bourne compatible
     14DUALCASE=1; export DUALCASE # for MKS sh
    1315if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1416  emulate sh
     
    1719  # is contrary to our usage.  Disable this feature.
    1820  alias -g '${1+"$@"}'='"$@"'
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20   set -o posix
    21 fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    23 
    24 # Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26   as_unset=unset
    27 else
    28   as_unset=false
    29 fi
    30 
    31 
    32 # Work around bugs in pre-3.0 UWIN ksh.
    33 $as_unset ENV MAIL MAILPATH
    34 PS1='$ '
    35 PS2='> '
    36 PS4='+ '
    37 
    38 # NLS nuisances.
    39 for as_var in \
    40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42   LC_TELEPHONE LC_TIME
    43 do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45     eval $as_var=C; export $as_var
    46   else
    47     $as_unset $as_var
    48   fi
    49 done
    50 
    51 # Required to use basename.
    52 if expr a : '\(a\)' >/dev/null 2>&1; then
    53   as_expr=expr
    54 else
    55   as_expr=false
    56 fi
    57 
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    59   as_basename=basename
    60 else
    61   as_basename=false
    62 fi
    63 
    64 
    65 # Name of the executable.
    66 as_me=`$as_basename "$0" ||
    67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68      X"$0" : 'X\(//\)$' \| \
    69      X"$0" : 'X\(/\)$' \| \
    70      .     : '\(.\)' 2>/dev/null ||
    71 echo X/"$0" |
    72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73       /^X\/\(\/\/\)$/{ s//\1/; q; }
    74       /^X\/\(\/\).*/{ s//\1/; q; }
    75       s/.*/./; q'`
    76 
    77 
    78 # PATH needs CR, and LINENO needs CR and PATH.
     21  setopt NO_GLOB_SUBST
     22else
     23  case `(set -o) 2>/dev/null` in
     24  *posix*) set -o posix ;;
     25esac
     26
     27fi
     28
     29
     30
     31
     32# PATH needs CR
    7933# Avoid depending upon Character Ranges.
    8034as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    9751fi
    9852
    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
     53# Support unset when possible.
     54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     55  as_unset=unset
     56else
     57  as_unset=false
     58fi
     59
     60
     61# IFS
     62# We need space, tab and new line, in precisely that order.  Quoting is
     63# there to prevent editors from complaining about space-tab.
     64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     65# splitting by setting IFS to empty value.)
     66as_nl='
     67'
     68IFS=" ""    $as_nl"
     69
     70# Find who we are.  Look in the path if we contain no directory separator.
     71case $0 in
     72  *[\\/]* ) as_myself=$0 ;;
     73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    11074for as_dir in $PATH
    11175do
     
    11478  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    11579done
    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
     80IFS=$as_save_IFS
     81
     82     ;;
     83esac
     84# We did not find ourselves, most probably we were run as `sh COMMAND'
     85# in which case we are not to be found in the path.
     86if test "x$as_myself" = x; then
     87  as_myself=$0
     88fi
     89if test ! -f "$as_myself"; then
     90  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     91  { (exit 1); exit 1; }
     92fi
     93
     94# Work around bugs in pre-3.0 UWIN ksh.
     95for as_var in ENV MAIL MAILPATH
     96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     97done
     98PS1='$ '
     99PS2='> '
     100PS4='+ '
     101
     102# NLS nuisances.
     103for as_var in \
     104  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     105  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     106  LC_TELEPHONE LC_TIME
     107do
     108  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     109    eval $as_var=C; export $as_var
     110  else
     111    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    123112  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   '')
     113done
     114
     115# Required to use basename.
     116if expr a : '\(a\)' >/dev/null 2>&1 &&
     117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     118  as_expr=expr
     119else
     120  as_expr=false
     121fi
     122
     123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     124  as_basename=basename
     125else
     126  as_basename=false
     127fi
     128
     129
     130# Name of the executable.
     131as_me=`$as_basename -- "$0" ||
     132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     133     X"$0" : 'X\(//\)$' \| \
     134     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     135echo X/"$0" |
     136    sed '/^.*\/\([^/][^/]*\)\/*$/{
     137        s//\1/
     138        q
     139      }
     140      /^X\/\(\/\/\)$/{
     141        s//\1/
     142        q
     143      }
     144      /^X\/\(\/\).*/{
     145        s//\1/
     146        q
     147      }
     148      s/.*/./; q'`
     149
     150# CDPATH.
     151$as_unset CDPATH
     152
     153
     154if test "x$CONFIG_SHELL" = x; then
     155  if (eval ":") 2>/dev/null; then
     156  as_have_required=yes
     157else
     158  as_have_required=no
     159fi
     160
     161  if test $as_have_required = yes &&     (eval ":
     162(as_func_return () {
     163  (exit \$1)
     164}
     165as_func_success () {
     166  as_func_return 0
     167}
     168as_func_failure () {
     169  as_func_return 1
     170}
     171as_func_ret_success () {
     172  return 0
     173}
     174as_func_ret_failure () {
     175  return 1
     176}
     177
     178exitcode=0
     179if as_func_success; then
     180  :
     181else
     182  exitcode=1
     183  echo as_func_success failed.
     184fi
     185
     186if as_func_failure; then
     187  exitcode=1
     188  echo as_func_failure succeeded.
     189fi
     190
     191if as_func_ret_success; then
     192  :
     193else
     194  exitcode=1
     195  echo as_func_ret_success failed.
     196fi
     197
     198if as_func_ret_failure; then
     199  exitcode=1
     200  echo as_func_ret_failure succeeded.
     201fi
     202
     203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     204  :
     205else
     206  exitcode=1
     207  echo positional parameters were not saved.
     208fi
     209
     210test \$exitcode = 0) || { (exit 1); exit 1; }
     211
     212(
     213  as_lineno_1=\$LINENO
     214  as_lineno_2=\$LINENO
     215  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     216  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     217") 2> /dev/null; then
     218  :
     219else
     220  as_candidate_shells=
    130221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    133224  IFS=$as_save_IFS
    134225  test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136      case $as_dir in
     226  case $as_dir in
    137227     /*)
    138        if ("$as_dir/$as_base" -c '
     228       for as_base in sh bash ksh sh5; do
     229         as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     230       done;;
     231       esac
     232done
     233IFS=$as_save_IFS
     234
     235
     236      for as_shell in $as_candidate_shells $SHELL; do
     237     # Try only shells that exist, to save several forks.
     238     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     239        { ("$as_shell") 2> /dev/null <<\_ASEOF
     240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     241  emulate sh
     242  NULLCMD=:
     243  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     244  # is contrary to our usage.  Disable this feature.
     245  alias -g '${1+"$@"}'='"$@"'
     246  setopt NO_GLOB_SUBST
     247else
     248  case `(set -o) 2>/dev/null` in
     249  *posix*) set -o posix ;;
     250esac
     251
     252fi
     253
     254
     255:
     256_ASEOF
     257}; then
     258  CONFIG_SHELL=$as_shell
     259           as_have_required=yes
     260           if { "$as_shell" 2> /dev/null <<\_ASEOF
     261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     262  emulate sh
     263  NULLCMD=:
     264  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     265  # is contrary to our usage.  Disable this feature.
     266  alias -g '${1+"$@"}'='"$@"'
     267  setopt NO_GLOB_SUBST
     268else
     269  case `(set -o) 2>/dev/null` in
     270  *posix*) set -o posix ;;
     271esac
     272
     273fi
     274
     275
     276:
     277(as_func_return () {
     278  (exit $1)
     279}
     280as_func_success () {
     281  as_func_return 0
     282}
     283as_func_failure () {
     284  as_func_return 1
     285}
     286as_func_ret_success () {
     287  return 0
     288}
     289as_func_ret_failure () {
     290  return 1
     291}
     292
     293exitcode=0
     294if as_func_success; then
     295  :
     296else
     297  exitcode=1
     298  echo as_func_success failed.
     299fi
     300
     301if as_func_failure; then
     302  exitcode=1
     303  echo as_func_failure succeeded.
     304fi
     305
     306if as_func_ret_success; then
     307  :
     308else
     309  exitcode=1
     310  echo as_func_ret_success failed.
     311fi
     312
     313if as_func_ret_failure; then
     314  exitcode=1
     315  echo as_func_ret_failure succeeded.
     316fi
     317
     318if ( set x; as_func_ret_success y && test x = "$1" ); then
     319  :
     320else
     321  exitcode=1
     322  echo positional parameters were not saved.
     323fi
     324
     325test $exitcode = 0) || { (exit 1); exit 1; }
     326
     327(
    139328  as_lineno_1=$LINENO
    140329  as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142330  test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146          CONFIG_SHELL=$as_dir/$as_base
    147          export CONFIG_SHELL
    148          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149        fi;;
    150      esac
    151        done
    152 done
    153 ;;
    154   esac
     331  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     332
     333_ASEOF
     334}; then
     335  break
     336fi
     337
     338fi
     339
     340      done
     341
     342      if test "x$CONFIG_SHELL" != x; then
     343  for as_var in BASH_ENV ENV
     344        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     345        done
     346        export CONFIG_SHELL
     347        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     348fi
     349
     350
     351    if test $as_have_required = no; then
     352  echo This script requires a shell more modern than all the
     353      echo shells that I found on your system.  Please install a
     354      echo modern shell, or manually run the script under such a
     355      echo shell if you do have one.
     356      { (exit 1); exit 1; }
     357fi
     358
     359
     360fi
     361
     362fi
     363
     364
     365
     366(eval "as_func_return () {
     367  (exit \$1)
     368}
     369as_func_success () {
     370  as_func_return 0
     371}
     372as_func_failure () {
     373  as_func_return 1
     374}
     375as_func_ret_success () {
     376  return 0
     377}
     378as_func_ret_failure () {
     379  return 1
     380}
     381
     382exitcode=0
     383if as_func_success; then
     384  :
     385else
     386  exitcode=1
     387  echo as_func_success failed.
     388fi
     389
     390if as_func_failure; then
     391  exitcode=1
     392  echo as_func_failure succeeded.
     393fi
     394
     395if as_func_ret_success; then
     396  :
     397else
     398  exitcode=1
     399  echo as_func_ret_success failed.
     400fi
     401
     402if as_func_ret_failure; then
     403  exitcode=1
     404  echo as_func_ret_failure succeeded.
     405fi
     406
     407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     408  :
     409else
     410  exitcode=1
     411  echo positional parameters were not saved.
     412fi
     413
     414test \$exitcode = 0") || {
     415  echo No shell found that supports shell functions.
     416  echo Please tell autoconf@gnu.org about your system,
     417  echo including any error possibly output before this
     418  echo message
     419}
     420
     421
     422
     423  as_lineno_1=$LINENO
     424  as_lineno_2=$LINENO
     425  test "x$as_lineno_1" != "x$as_lineno_2" &&
     426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    155427
    156428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157429  # 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.
     430  # line-number line after each line using $LINENO; the second 'sed'
     431  # does the real work.  The second script uses 'N' to pair each
     432  # line-number line with the line containing $LINENO, and appends
     433  # trailing '-' during substitution so that $LINENO is not a special
     434  # case at line end.
    162435  # (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 |
     436  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     437  # E. McMahon (1931-1989) for sed's syntax.  :-)
     438  sed -n '
     439    p
     440    /[$]LINENO/=
     441  ' <$as_myself |
    165442    sed '
     443      s/[$]LINENO.*/&-/
     444      t lineno
     445      b
     446      :lineno
    166447      N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     448      :loop
     449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    170450      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     451      s/-\n.*//
    173452    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
     453  chmod +x "$as_me.lineno" ||
    175454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176455   { (exit 1); exit 1; }; }
     
    178457  # Don't try to exec as it changes $[0], causing all sort of problems
    179458  # (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
     459  # original and so on.  Autoconf is especially sensitive to this).
     460  . "./$as_me.lineno"
    182461  # Exit status is that of the last command.
    183462  exit
     
    185464
    186465
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='  ' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
     466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     467  as_dirname=dirname
     468else
     469  as_dirname=false
     470fi
     471
     472ECHO_C= ECHO_N= ECHO_T=
     473case `echo -n x` in
     474-n*)
     475  case `echo 'x\c'` in
     476  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     477  *)   ECHO_C='\c';;
     478  esac;;
     479*)
     480  ECHO_N='-n';;
     481esac
     482
     483if expr a : '\(a\)' >/dev/null 2>&1 &&
     484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    195485  as_expr=expr
    196486else
     
    199489
    200490rm -f conf$$ conf$$.exe conf$$.file
     491if test -d conf$$.dir; then
     492  rm -f conf$$.dir/conf$$.file
     493else
     494  rm -f conf$$.dir
     495  mkdir conf$$.dir
     496fi
    201497echo >conf$$.file
    202498if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
     499  as_ln_s='ln -s'
     500  # ... but there are two gotchas:
     501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     503  # In both cases, we have to default to `cp -p'.
     504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    207505    as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211506elif ln conf$$.file conf$$ 2>/dev/null; then
    212507  as_ln_s=ln
     
    214509  as_ln_s='cp -p'
    215510fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     512rmdir conf$$.dir 2>/dev/null
    217513
    218514if mkdir -p . 2>/dev/null; then
     
    223519fi
    224520
    225 as_executable_p="test -f"
     521if test -x / >/dev/null 2>&1; then
     522  as_test_x='test -x'
     523else
     524  if ls -dL / >/dev/null 2>&1; then
     525    as_ls_L_option=L
     526  else
     527    as_ls_L_option=
     528  fi
     529  as_test_x='
     530    eval sh -c '\''
     531      if test -d "$1"; then
     532        test -d "$1/.";
     533      else
     534    case $1 in
     535        -*)set "./$1";;
     536    esac;
     537    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     538    ???[sx]*):;;*)false;;esac;fi
     539    '\'' sh
     540  '
     541fi
     542as_executable_p=$as_test_x
    226543
    227544# Sed expression to map a string onto a valid CPP name.
     
    232549
    233550
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS="   $as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
     551
     552exec 7<&0 </dev/null 6>&1
    243553
    244554# Name of the host.
     
    247557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248558
    249 exec 6>&1
    250 
    251559#
    252560# Initializations.
    253561#
    254562ac_default_prefix=/usr/local
     563ac_clean_files=
    255564ac_config_libobj_dir=.
     565LIBOBJS=
    256566cross_compiling=no
    257567subdirs=
     
    259569MAKEFLAGS=
    260570SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266571
    267572# Identity of this package.
     
    275580ac_includes_default="\
    276581#include <stdio.h>
    277 #if HAVE_SYS_TYPES_H
     582#ifdef HAVE_SYS_TYPES_H
    278583# include <sys/types.h>
    279584#endif
    280 #if HAVE_SYS_STAT_H
     585#ifdef HAVE_SYS_STAT_H
    281586# include <sys/stat.h>
    282587#endif
    283 #if STDC_HEADERS
     588#ifdef STDC_HEADERS
    284589# include <stdlib.h>
    285590# include <stddef.h>
    286591#else
    287 # if HAVE_STDLIB_H
     592# ifdef HAVE_STDLIB_H
    288593#  include <stdlib.h>
    289594# endif
    290595#endif
    291 #if HAVE_STRING_H
    292 # if !STDC_HEADERS && HAVE_MEMORY_H
     596#ifdef HAVE_STRING_H
     597# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    293598#  include <memory.h>
    294599# endif
    295600# include <string.h>
    296601#endif
    297 #if HAVE_STRINGS_H
     602#ifdef HAVE_STRINGS_H
    298603# include <strings.h>
    299604#endif
    300 #if HAVE_INTTYPES_H
     605#ifdef HAVE_INTTYPES_H
    301606# include <inttypes.h>
    302 #else
    303 # if HAVE_STDINT_H
    304 #  include <stdint.h>
    305 # endif
    306607#endif
    307 #if HAVE_UNISTD_H
     608#ifdef HAVE_STDINT_H
     609# include <stdint.h>
     610#endif
     611#ifdef HAVE_UNISTD_H
    308612# include <unistd.h>
    309613#endif"
    310614
    311 ac_subdirs_all="$ac_subdirs_all common-src runtime-src"
    312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
     615ac_subst_vars='SHELL
     616PATH_SEPARATOR
     617PACKAGE_NAME
     618PACKAGE_TARNAME
     619PACKAGE_VERSION
     620PACKAGE_STRING
     621PACKAGE_BUGREPORT
     622exec_prefix
     623prefix
     624program_transform_name
     625bindir
     626sbindir
     627libexecdir
     628datarootdir
     629datadir
     630sysconfdir
     631sharedstatedir
     632localstatedir
     633includedir
     634oldincludedir
     635docdir
     636infodir
     637htmldir
     638dvidir
     639pdfdir
     640psdir
     641libdir
     642localedir
     643mandir
     644DEFS
     645ECHO_C
     646ECHO_N
     647ECHO_T
     648LIBS
     649build_alias
     650host_alias
     651target_alias
     652PACKAGE
     653VERSION
     654USE_FASTCGI
     655USE_LANGACTION
     656USE_CORBA
     657MICO_DIR
     658USE_Z3950
     659USE_YAZ
     660ENABLE_ACCENTFOLD
     661ENABLE_JDBM
     662USE_SQLITE
     663ENABLE_JNI
     664ENABLE_MG
     665ENABLE_MGPP
     666ENABLE_LUCENE
     667LDFLAGS
     668CFLAGS
     669CC
     670CPPFLAGS
     671ac_ct_CC
     672EXEEXT
     673OBJEXT
     674CXX
     675CXXFLAGS
     676ac_ct_CXX
     677AWK
     678YACC
     679YFLAGS
     680build
     681build_cpu
     682build_vendor
     683build_os
     684host
     685host_cpu
     686host_vendor
     687host_os
     688target
     689target_cpu
     690target_vendor
     691target_os
     692INSTALL_PROGRAM
     693INSTALL_SCRIPT
     694INSTALL_DATA
     695LN_S
     696SET_MAKE
     697RANLIB
     698COMPAT32BITFLAGS
     699MICO_VER
     700CPP
     701GREP
     702EGREP
     703U
     704ANSI2KNR
     705ALLOCA
     706LIBOBJS
     707STATIC
     708gsdlos
     709MODULEDIRS
     710subdirs
     711LTLIBOBJS'
    313712ac_subst_files=''
     713      ac_precious_vars='build_alias
     714host_alias
     715target_alias
     716CC
     717CFLAGS
     718LDFLAGS
     719LIBS
     720CPPFLAGS
     721CXX
     722CXXFLAGS
     723CCC
     724YACC
     725YFLAGS
     726CPP'
     727ac_subdirs_all='common-src runtime-src'
    314728
    315729# Initialize some variables set by options.
     
    338752# by default will actually change.
    339753# Use braces instead of parens because sh, perl, etc. also accept them.
     754# (The list follows the same order as the GNU Coding Standards.)
    340755bindir='${exec_prefix}/bin'
    341756sbindir='${exec_prefix}/sbin'
    342757libexecdir='${exec_prefix}/libexec'
    343 datadir='${prefix}/share'
     758datarootdir='${prefix}/share'
     759datadir='${datarootdir}'
    344760sysconfdir='${prefix}/etc'
    345761sharedstatedir='${prefix}/com'
    346762localstatedir='${prefix}/var'
    347 libdir='${exec_prefix}/lib'
    348763includedir='${prefix}/include'
    349764oldincludedir='/usr/include'
    350 infodir='${prefix}/info'
    351 mandir='${prefix}/man'
     765docdir='${datarootdir}/doc/${PACKAGE}'
     766infodir='${datarootdir}/info'
     767htmldir='${docdir}'
     768dvidir='${docdir}'
     769pdfdir='${docdir}'
     770psdir='${docdir}'
     771libdir='${exec_prefix}/lib'
     772localedir='${datarootdir}/locale'
     773mandir='${datarootdir}/man'
    352774
    353775ac_prev=
     776ac_dashdash=
    354777for ac_option
    355778do
    356779  # If the previous option needs an argument, assign it.
    357780  if test -n "$ac_prev"; then
    358     eval "$ac_prev=\$ac_option"
     781    eval $ac_prev=\$ac_option
    359782    ac_prev=
    360783    continue
    361784  fi
    362785
    363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     786  case $ac_option in
     787  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     788  *)    ac_optarg=yes ;;
     789  esac
    364790
    365791  # Accept the important Cygnus configure options, so we can diagnose typos.
    366792
    367   case $ac_option in
     793  case $ac_dashdash$ac_option in
     794  --)
     795    ac_dashdash=yes ;;
    368796
    369797  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    387815    cache_file=config.cache ;;
    388816
    389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     817  -datadir | --datadir | --datadi | --datad)
    390818    ac_prev=datadir ;;
    391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    392   | --da=*)
     819  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    393820    datadir=$ac_optarg ;;
     821
     822  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     823  | --dataroo | --dataro | --datar)
     824    ac_prev=datarootdir ;;
     825  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     826  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     827    datarootdir=$ac_optarg ;;
    394828
    395829  -disable-* | --disable-*)
    396830    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    397831    # Reject names that are not valid shell variable names.
    398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     832    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    399833      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    400834   { (exit 1); exit 1; }; }
    401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    402     eval "enable_$ac_feature=no" ;;
     835    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     836    eval enable_$ac_feature=no ;;
     837
     838  -docdir | --docdir | --docdi | --doc | --do)
     839    ac_prev=docdir ;;
     840  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     841    docdir=$ac_optarg ;;
     842
     843  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     844    ac_prev=dvidir ;;
     845  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     846    dvidir=$ac_optarg ;;
    403847
    404848  -enable-* | --enable-*)
    405849    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    406850    # Reject names that are not valid shell variable names.
    407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     851    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    408852      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    409853   { (exit 1); exit 1; }; }
    410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    411     case $ac_option in
    412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    413       *) ac_optarg=yes ;;
    414     esac
    415     eval "enable_$ac_feature='$ac_optarg'" ;;
     854    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     855    eval enable_$ac_feature=\$ac_optarg ;;
    416856
    417857  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    440880    host_alias=$ac_optarg ;;
    441881
     882  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     883    ac_prev=htmldir ;;
     884  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     885  | --ht=*)
     886    htmldir=$ac_optarg ;;
     887
    442888  -includedir | --includedir | --includedi | --included | --include \
    443889  | --includ | --inclu | --incl | --inc)
     
    464910    libexecdir=$ac_optarg ;;
    465911
     912  -localedir | --localedir | --localedi | --localed | --locale)
     913    ac_prev=localedir ;;
     914  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     915    localedir=$ac_optarg ;;
     916
    466917  -localstatedir | --localstatedir | --localstatedi | --localstated \
    467   | --localstate | --localstat | --localsta | --localst \
    468   | --locals | --local | --loca | --loc | --lo)
     918  | --localstate | --localstat | --localsta | --localst | --locals)
    469919    ac_prev=localstatedir ;;
    470920  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     921  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    473922    localstatedir=$ac_optarg ;;
    474923
     
    535984    program_transform_name=$ac_optarg ;;
    536985
     986  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     987    ac_prev=pdfdir ;;
     988  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     989    pdfdir=$ac_optarg ;;
     990
     991  -psdir | --psdir | --psdi | --psd | --ps)
     992    ac_prev=psdir ;;
     993  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     994    psdir=$ac_optarg ;;
     995
    537996  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    538997  | -silent | --silent | --silen | --sile | --sil)
     
    5871046    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5881047    # Reject names that are not valid shell variable names.
    589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1048    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    5901049      { echo "$as_me: error: invalid package name: $ac_package" >&2
    5911050   { (exit 1); exit 1; }; }
    592     ac_package=`echo $ac_package| sed 's/-/_/g'`
    593     case $ac_option in
    594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    595       *) ac_optarg=yes ;;
    596     esac
    597     eval "with_$ac_package='$ac_optarg'" ;;
     1051    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1052    eval with_$ac_package=\$ac_optarg ;;
    5981053
    5991054  -without-* | --without-*)
    6001055    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6011056    # Reject names that are not valid shell variable names.
    602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1057    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    6031058      { echo "$as_me: error: invalid package name: $ac_package" >&2
    6041059   { (exit 1); exit 1; }; }
    605     ac_package=`echo $ac_package | sed 's/-/_/g'`
    606     eval "with_$ac_package=no" ;;
     1060    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1061    eval with_$ac_package=no ;;
    6071062
    6081063  --x)
     
    6351090      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6361091   { (exit 1); exit 1; }; }
    637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    638     eval "$ac_envvar='$ac_optarg'"
     1092    eval $ac_envvar=\$ac_optarg
    6391093    export $ac_envvar ;;
    6401094
     
    6561110fi
    6571111
    658 # Be sure to have absolute paths.
    659 for ac_var in exec_prefix prefix
     1112# Be sure to have absolute directory names.
     1113for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1114        datadir sysconfdir sharedstatedir localstatedir includedir \
     1115        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1116        libdir localedir mandir
    6601117do
    661   eval ac_val=$`echo $ac_var`
     1118  eval ac_val=\$$ac_var
    6621119  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; }; };;
     1120    [\\/$]* | ?:[\\/]* )  continue;;
     1121    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6661122  esac
    667 done
    668 
    669 # Be sure to have absolute paths.
    670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    671           localstatedir libdir includedir oldincludedir infodir mandir
    672 do
    673   eval ac_val=$`echo $ac_var`
    674   case $ac_val in
    675     [\\/$]* | ?:[\\/]* ) ;;
    676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    677    { (exit 1); exit 1; }; };;
    678   esac
     1123  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1124   { (exit 1); exit 1; }; }
    6791125done
    6801126
     
    7031149
    7041150
     1151ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1152ac_ls_di=`ls -di .` &&
     1153ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1154  { echo "$as_me: error: Working directory cannot be determined" >&2
     1155   { (exit 1); exit 1; }; }
     1156test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1157  { echo "$as_me: error: pwd does not report name of working directory" >&2
     1158   { (exit 1); exit 1; }; }
     1159
     1160
    7051161# Find the source files, if location was not specified.
    7061162if test -z "$srcdir"; then
    7071163  ac_srcdir_defaulted=yes
    708   # Try the directory containing this script, then its parent.
    709   ac_confdir=`(dirname "$0") 2>/dev/null ||
     1164  # Try the directory containing this script, then the parent directory.
     1165  ac_confdir=`$as_dirname -- "$0" ||
    7101166$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7111167     X"$0" : 'X\(//\)[^/]' \| \
    7121168     X"$0" : 'X\(//\)$' \| \
    713      X"$0" : 'X\(/\)' \| \
    714      .     : '\(.\)' 2>/dev/null ||
     1169     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7151170echo 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'`
     1171    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1172        s//\1/
     1173        q
     1174      }
     1175      /^X\(\/\/\)[^/].*/{
     1176        s//\1/
     1177        q
     1178      }
     1179      /^X\(\/\/\)$/{
     1180        s//\1/
     1181        q
     1182      }
     1183      /^X\(\/\).*/{
     1184        s//\1/
     1185        q
     1186      }
     1187      s/.*/./; q'`
    7211188  srcdir=$ac_confdir
    722   if test ! -r $srcdir/$ac_unique_file; then
     1189  if test ! -r "$srcdir/$ac_unique_file"; then
    7231190    srcdir=..
    7241191  fi
     
    7261193  ac_srcdir_defaulted=no
    7271194fi
    728 if test ! -r $srcdir/$ac_unique_file; then
    729   if test "$ac_srcdir_defaulted" = yes; then
    730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     1195if test ! -r "$srcdir/$ac_unique_file"; then
     1196  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1197  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    7311198   { (exit 1); exit 1; }; }
    732   else
    733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1199fi
     1200ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1201ac_abs_confdir=`(
     1202    cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    7341203   { (exit 1); exit 1; }; }
    735   fi
    736 fi
    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; }; }
    740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    741 ac_env_build_alias_set=${build_alias+set}
    742 ac_env_build_alias_value=$build_alias
    743 ac_cv_env_build_alias_set=${build_alias+set}
    744 ac_cv_env_build_alias_value=$build_alias
    745 ac_env_host_alias_set=${host_alias+set}
    746 ac_env_host_alias_value=$host_alias
    747 ac_cv_env_host_alias_set=${host_alias+set}
    748 ac_cv_env_host_alias_value=$host_alias
    749 ac_env_target_alias_set=${target_alias+set}
    750 ac_env_target_alias_value=$target_alias
    751 ac_cv_env_target_alias_set=${target_alias+set}
    752 ac_cv_env_target_alias_value=$target_alias
    753 ac_env_CC_set=${CC+set}
    754 ac_env_CC_value=$CC
    755 ac_cv_env_CC_set=${CC+set}
    756 ac_cv_env_CC_value=$CC
    757 ac_env_CFLAGS_set=${CFLAGS+set}
    758 ac_env_CFLAGS_value=$CFLAGS
    759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    760 ac_cv_env_CFLAGS_value=$CFLAGS
    761 ac_env_LDFLAGS_set=${LDFLAGS+set}
    762 ac_env_LDFLAGS_value=$LDFLAGS
    763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    764 ac_cv_env_LDFLAGS_value=$LDFLAGS
    765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    766 ac_env_CPPFLAGS_value=$CPPFLAGS
    767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    769 ac_env_CXX_set=${CXX+set}
    770 ac_env_CXX_value=$CXX
    771 ac_cv_env_CXX_set=${CXX+set}
    772 ac_cv_env_CXX_value=$CXX
    773 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    774 ac_env_CXXFLAGS_value=$CXXFLAGS
    775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    777 ac_env_CPP_set=${CPP+set}
    778 ac_env_CPP_value=$CPP
    779 ac_cv_env_CPP_set=${CPP+set}
    780 ac_cv_env_CPP_value=$CPP
     1204    pwd)`
     1205# When building in place, set srcdir=.
     1206if test "$ac_abs_confdir" = "$ac_pwd"; then
     1207  srcdir=.
     1208fi
     1209# Remove unnecessary trailing slashes from srcdir.
     1210# Double slashes in file names in object file debugging info
     1211# mess up M-x gdb in Emacs.
     1212case $srcdir in
     1213*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1214esac
     1215for ac_var in $ac_precious_vars; do
     1216  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1217  eval ac_env_${ac_var}_value=\$${ac_var}
     1218  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1219  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1220done
    7811221
    7821222#
     
    8071247      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8081248
    809 _ACEOF
    810 
    811   cat <<_ACEOF
    8121249Installation directories:
    8131250  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    8271264  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    8281265  --libexecdir=DIR       program executables [EPREFIX/libexec]
    829   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    8301266  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    8311267  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    8341270  --includedir=DIR       C header files [PREFIX/include]
    8351271  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    836   --infodir=DIR          info documentation [PREFIX/info]
    837   --mandir=DIR           man documentation [PREFIX/man]
     1272  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
     1273  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
     1274  --infodir=DIR          info documentation [DATAROOTDIR/info]
     1275  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
     1276  --mandir=DIR           man documentation [DATAROOTDIR/man]
     1277  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
     1278  --htmldir=DIR          html documentation [DOCDIR]
     1279  --dvidir=DIR           dvi documentation [DOCDIR]
     1280  --pdfdir=DIR           pdf documentation [DOCDIR]
     1281  --psdir=DIR            ps documentation [DOCDIR]
    8381282_ACEOF
    8391283
     
    8581302  --disable-yaz           Disable YAZ compilation
    8591303  --disable-accentfold    Disable Accent Folding for MGPP
     1304  --disable-accentfold    Disable Accent Folding for\
     1305 MGPP
     1306  --disable-jdbm          Disable JDBM compilation
    8601307  --disable-sqlite        Disable SQLite support
     1308  --enable-jni    Enable JNI compilation
     1309  --disable-mg    Disable MG compilation
     1310  --disable-mgpp        Disable MGPP compilation
     1311  --disable-lucene        Disable Lucene compilation
    8611312
    8621313Optional Packages:
     
    8731324  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8741325              nonstandard directory <lib dir>
    875   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    876               headers in a nonstandard directory <include dir>
     1326  LIBS        libraries to pass to the linker, e.g. -l<library>
     1327  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1328              you have headers in a nonstandard directory <include dir>
    8771329  CXX         C++ compiler command
    8781330  CXXFLAGS    C++ compiler flags
     1331  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
     1332              the first program found out of: `bison -y', `byacc', `yacc'.
     1333  YFLAGS      The list of arguments that will be passed by default to $YACC.
     1334              This script will default YFLAGS to the empty string to avoid a
     1335              default value of `-d' given by some make applications.
    8791336  CPP         C preprocessor
    8801337
     
    8831340
    8841341_ACEOF
     1342ac_status=$?
    8851343fi
    8861344
    8871345if test "$ac_init_help" = "recursive"; then
    8881346  # If there are subdirs, report their specific --help.
    889   ac_popdir=`pwd`
    8901347  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    891     test -d $ac_dir || continue
     1348    test -d "$ac_dir" || continue
    8921349    ac_builddir=.
    8931350
    894 if test "$ac_dir" != .; then
     1351case "$ac_dir" in
     1352.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1353*)
    8951354  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    896   # A "../" for each directory in $ac_dir_suffix.
    897   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    898 else
    899   ac_dir_suffix= ac_top_builddir=
    900 fi
     1355  # A ".." for each directory in $ac_dir_suffix.
     1356  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1357  case $ac_top_builddir_sub in
     1358  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1359  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1360  esac ;;
     1361esac
     1362ac_abs_top_builddir=$ac_pwd
     1363ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1364# for backward compatibility:
     1365ac_top_builddir=$ac_top_build_prefix
    9011366
    9021367case $srcdir in
    903   .)  # No --srcdir option.  We are building in place.
     1368  .)  # We are building in place.
    9041369    ac_srcdir=.
    905     if test -z "$ac_top_builddir"; then
    906        ac_top_srcdir=.
    907     else
    908        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    909     fi ;;
    910   [\\/]* | ?:[\\/]* )  # Absolute path.
     1370    ac_top_srcdir=$ac_top_builddir_sub
     1371    ac_abs_top_srcdir=$ac_pwd ;;
     1372  [\\/]* | ?:[\\/]* )  # Absolute name.
    9111373    ac_srcdir=$srcdir$ac_dir_suffix;
    912     ac_top_srcdir=$srcdir ;;
    913   *) # Relative path.
    914     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    915     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    916 esac
    917 
    918 # Do not use `cd foo && pwd` to compute absolute paths, because
    919 # the directories may not exist.
    920 case `pwd` in
    921 .) ac_abs_builddir="$ac_dir";;
    922 *)
    923   case "$ac_dir" in
    924   .) ac_abs_builddir=`pwd`;;
    925   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    926   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    927   esac;;
    928 esac
    929 case $ac_abs_builddir in
    930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    931 *)
    932   case ${ac_top_builddir}. in
    933   .) ac_abs_top_builddir=$ac_abs_builddir;;
    934   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    935   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    936   esac;;
    937 esac
    938 case $ac_abs_builddir in
    939 .) ac_abs_srcdir=$ac_srcdir;;
    940 *)
    941   case $ac_srcdir in
    942   .) ac_abs_srcdir=$ac_abs_builddir;;
    943   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    944   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    945   esac;;
    946 esac
    947 case $ac_abs_builddir in
    948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    949 *)
    950   case $ac_top_srcdir in
    951   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    952   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    953   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    954   esac;;
    955 esac
    956 
    957     cd $ac_dir
    958     # Check for guested configure; otherwise get Cygnus style configure.
    959     if test -f $ac_srcdir/configure.gnu; then
    960       echo
    961       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    962     elif test -f $ac_srcdir/configure; then
    963       echo
    964       $SHELL $ac_srcdir/configure  --help=recursive
    965     elif test -f $ac_srcdir/configure.ac ||
    966        test -f $ac_srcdir/configure.in; then
    967       echo
    968       $ac_configure --help
     1374    ac_top_srcdir=$srcdir
     1375    ac_abs_top_srcdir=$srcdir ;;
     1376  *) # Relative name.
     1377    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1378    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1379    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1380esac
     1381ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1382
     1383    cd "$ac_dir" || { ac_status=$?; continue; }
     1384    # Check for guested configure.
     1385    if test -f "$ac_srcdir/configure.gnu"; then
     1386      echo &&
     1387      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1388    elif test -f "$ac_srcdir/configure"; then
     1389      echo &&
     1390      $SHELL "$ac_srcdir/configure" --help=recursive
    9691391    else
    9701392      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    971     fi
    972     cd $ac_popdir
     1393    fi || ac_status=$?
     1394    cd "$ac_pwd" || { ac_status=$?; break; }
    9731395  done
    9741396fi
    9751397
    976 test -n "$ac_init_help" && exit 0
     1398test -n "$ac_init_help" && exit $ac_status
    9771399if $ac_init_version; then
    9781400  cat <<\_ACEOF
    979 
    980 Copyright (C) 2003 Free Software Foundation, Inc.
     1401configure
     1402generated by GNU Autoconf 2.61
     1403
     1404Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     14052002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    9811406This configure script is free software; the Free Software Foundation
    9821407gives unlimited permission to copy, distribute and modify it.
    9831408_ACEOF
    984   exit 0
    985 fi
    986 exec 5>config.log
    987 cat >&5 <<_ACEOF
     1409  exit
     1410fi
     1411cat >config.log <<_ACEOF
    9881412This file contains any messages produced by compilers while
    9891413running configure, to aid debugging if configure makes a mistake.
    9901414
    9911415It was created by $as_me, which was
    992 generated by GNU Autoconf 2.59.  Invocation command line was
     1416generated by GNU Autoconf 2.61.  Invocation command line was
    9931417
    9941418  $ $0 $@
    9951419
    9961420_ACEOF
     1421exec 5>>config.log
    9971422{
    9981423cat <<_ASUNAME
     
    10131438/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10141439/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1015 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1440/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10161441/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10171442/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10271452  echo "PATH: $as_dir"
    10281453done
     1454IFS=$as_save_IFS
    10291455
    10301456} >&5
     
    10481474ac_configure_args0=
    10491475ac_configure_args1=
    1050 ac_sep=
    10511476ac_must_keep_next=false
    10521477for ac_pass in 1 2
     
    10591484    | -silent | --silent | --silen | --sile | --sil)
    10601485      continue ;;
    1061     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1486    *\'*)
    10621487      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10631488    esac
     
    10811506    esac
    10821507      fi
    1083       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1084       # Get rid of the leading space.
    1085       ac_sep=" "
     1508      ac_configure_args="$ac_configure_args '$ac_arg'"
    10861509      ;;
    10871510    esac
     
    10941517# config.log.  We remove comments because anyway the quotes in there
    10951518# would cause problems or look ugly.
    1096 # WARNING: Be sure not to use single quotes in there, as some shells,
    1097 # such as our DU 5.0 friend, will then `close' the trap.
     1519# WARNING: Use '\'' to represent an apostrophe within the trap.
     1520# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    10981521trap 'exit_status=$?
    10991522  # Save into config.log some information that might help in debugging.
     
    11081531    echo
    11091532    # The following way of writing the cache mishandles newlines in values,
    1110 {
     1533(
     1534  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1535    eval ac_val=\$$ac_var
     1536    case $ac_val in #(
     1537    *${as_nl}*)
     1538      case $ac_var in #(
     1539      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     1540echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     1541      esac
     1542      case $ac_var in #(
     1543      _ | IFS | as_nl) ;; #(
     1544      *) $as_unset $ac_var ;;
     1545      esac ;;
     1546    esac
     1547  done
    11111548  (set) 2>&1 |
    1112     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1113     *ac_space=\ *)
     1549    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1550    *${as_nl}ac_space=\ *)
    11141551      sed -n \
    1115     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1116       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1552    "s/'\''/'\''\\\\'\'''\''/g;
     1553      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1554      ;; #(
     1555    *)
     1556      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11171557      ;;
    1118     *)
    1119       sed -n \
    1120     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1121       ;;
    1122     esac;
    1123 }
     1558    esac |
     1559    sort
     1560)
    11241561    echo
    11251562
     
    11321569    for ac_var in $ac_subst_vars
    11331570    do
    1134       eval ac_val=$`echo $ac_var`
    1135       echo "$ac_var='"'"'$ac_val'"'"'"
     1571      eval ac_val=\$$ac_var
     1572      case $ac_val in
     1573      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1574      esac
     1575      echo "$ac_var='\''$ac_val'\''"
    11361576    done | sort
    11371577    echo
     
    11391579    if test -n "$ac_subst_files"; then
    11401580      cat <<\_ASBOX
    1141 ## ------------- ##
    1142 ## Output files. ##
    1143 ## ------------- ##
     1581## ------------------- ##
     1582## File substitutions. ##
     1583## ------------------- ##
    11441584_ASBOX
    11451585      echo
    11461586      for ac_var in $ac_subst_files
    11471587      do
    1148     eval ac_val=$`echo $ac_var`
    1149     echo "$ac_var='"'"'$ac_val'"'"'"
     1588    eval ac_val=\$$ac_var
     1589    case $ac_val in
     1590    *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1591    esac
     1592    echo "$ac_var='\''$ac_val'\''"
    11501593      done | sort
    11511594      echo
     
    11591602_ASBOX
    11601603      echo
    1161       sed "/^$/d" confdefs.h | sort
     1604      cat confdefs.h
    11621605      echo
    11631606    fi
     
    11661609    echo "$as_me: exit $exit_status"
    11671610  } >&5
    1168   rm -f core *.core &&
    1169   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1611  rm -f core *.core core.conftest.* &&
     1612    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11701613    exit $exit_status
    1171      ' 0
     1614' 0
    11721615for ac_signal in 1 2 13 15; do
    11731616  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11761619
    11771620# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1178 rm -rf conftest* confdefs.h
    1179 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1180 echo >confdefs.h
     1621rm -f -r conftest* confdefs.h
    11811622
    11821623# Predefined preprocessor variables.
     
    12091650# Let the site file select an alternate cache file if it wants to.
    12101651# Prefer explicitly selected file to automatically selected ones.
    1211 if test -z "$CONFIG_SITE"; then
    1212   if test "x$prefix" != xNONE; then
    1213     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1214   else
    1215     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1216   fi
    1217 fi
    1218 for ac_site_file in $CONFIG_SITE; do
     1652if test -n "$CONFIG_SITE"; then
     1653  set x "$CONFIG_SITE"
     1654elif test "x$prefix" != xNONE; then
     1655  set x "$prefix/share/config.site" "$prefix/etc/config.site"
     1656else
     1657  set x "$ac_default_prefix/share/config.site" \
     1658    "$ac_default_prefix/etc/config.site"
     1659fi
     1660shift
     1661for ac_site_file
     1662do
    12191663  if test -r "$ac_site_file"; then
    12201664    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    12321676echo "$as_me: loading cache $cache_file" >&6;}
    12331677    case $cache_file in
    1234       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1235       *)                      . ./$cache_file;;
     1678      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1679      *)                      . "./$cache_file";;
    12361680    esac
    12371681  fi
     
    12451689# value.
    12461690ac_cache_corrupted=false
    1247 for ac_var in `(set) 2>&1 |
    1248            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1691for ac_var in $ac_precious_vars; do
    12491692  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12501693  eval ac_new_set=\$ac_env_${ac_var}_set
    1251   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1252   eval ac_new_val="\$ac_env_${ac_var}_value"
     1694  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1695  eval ac_new_val=\$ac_env_${ac_var}_value
    12531696  case $ac_old_set,$ac_new_set in
    12541697    set,)
     
    12751718  if test "$ac_new_set" = set; then
    12761719    case $ac_new_val in
    1277     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1278       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1720    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12791721    *) ac_arg=$ac_var=$ac_new_val ;;
    12801722    esac
     
    12931735fi
    12941736
     1737
     1738
     1739
     1740
     1741
     1742
     1743
     1744
     1745
     1746
     1747
     1748
     1749
     1750
     1751
     1752
    12951753ac_ext=c
    12961754ac_cpp='$CPP $CPPFLAGS'
     
    13001758
    13011759
    1302 
    1303 
    1304 
    1305 
    1306 
    1307 
    1308 
    1309 
    1310 
    1311 
    1312 
    1313 
    1314 
    1315 
    1316 
    1317 
    1318 
    1319           ac_config_headers="$ac_config_headers config.h"
     1760ac_config_headers="$ac_config_headers config.h"
    13201761
    13211762
     
    13501791fi
    13511792
    1352 # Check whether --enable-corba or --disable-corba was given.
     1793# Check whether --enable-corba was given.
    13531794if test "${enable_corba+set}" = set; then
    1354   enableval="$enable_corba"
    1355   USE_CORBA=1
     1795  enableval=$enable_corba; USE_CORBA=1
    13561796else
    13571797  USE_CORBA=0
    1358 fi;
     1798fi
     1799
    13591800cat >>confdefs.h <<_ACEOF
    13601801#define USE_CORBA $USE_CORBA
     
    13641805
    13651806
    1366 # Check whether --with-micodir or --without-micodir was given.
     1807# Check whether --with-micodir was given.
    13671808if test "${with_micodir+set}" = set; then
    1368   withval="$with_micodir"
    1369   MICO_DIR=$enableval
     1809  withval=$with_micodir; MICO_DIR=$enableval
    13701810else
    13711811  MICO_DIR="default"
    1372 fi;
     1812fi
     1813
    13731814cat >>confdefs.h <<_ACEOF
    13741815#define MICO_DIR "$MICO_DIR"
     
    13771818
    13781819
    1379 # Check whether --enable-z3950 or --disable-z3950 was given.
     1820# Check whether --enable-z3950 was given.
    13801821if test "${enable_z3950+set}" = set; then
    1381   enableval="$enable_z3950"
    1382   USE_Z3950=1
     1822  enableval=$enable_z3950; USE_Z3950=1
    13831823else
    13841824  USE_Z3950=0
    1385 fi;
     1825fi
     1826
    13861827if test USE_Z3950 = 1; then
    13871828cat >>confdefs.h <<\_ACEOF
     
    13921833fi
    13931834
    1394 # Check whether --enable-yaz or --disable-yaz was given.
     1835# Check whether --enable-yaz was given.
    13951836if test "${enable_yaz+set}" = set; then
    1396   enableval="$enable_yaz"
    1397   USE_YAZ=0
     1837  enableval=$enable_yaz; USE_YAZ=0
    13981838else
    13991839  USE_YAZ=1
    1400 fi;
     1840fi
     1841
    14011842cat >>confdefs.h <<\_ACEOF
    14021843#define USE_YAZ $USE_YAZ
     
    14051846
    14061847
    1407 # Check whether --enable-accentfold or --disable-accentfold was given.
     1848
     1849# Check whether --enable-accentfold was given.
    14081850if test "${enable_accentfold+set}" = set; then
    1409   enableval="$enable_accentfold"
    1410   ENABLE_ACCENTFOLD=0
     1851  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
    14111852else
    14121853  ENABLE_ACCENTFOLD=1
    1413 fi;
     1854fi
     1855
    14141856cat >>confdefs.h <<\_ACEOF
    14151857#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    14181860
    14191861
    1420 # Check whether --enable-sqlite or --disable-sqlite was given.
     1862
     1863# Check whether --enable-accentfold was given.
     1864if test "${enable_accentfold+set}" = set; then
     1865  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
     1866else
     1867  ENABLE_ACCENTFOLD=1
     1868fi
     1869
     1870cat >>confdefs.h <<\_ACEOF
     1871#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     1872_ACEOF
     1873
     1874
     1875
     1876# Check whether --enable-jdbm was given.
     1877if test "${enable_jdbm+set}" = set; then
     1878  enableval=$enable_jdbm; ENABLE_JDBM=$enableval
     1879else
     1880  ENABLE_JDBM=yes
     1881fi
     1882
     1883if test $ENABLE_JDBM = "yes" -o $ENABLE_JDBM = "1" ; then
     1884  ENABLE_JDBM=1
     1885  cat >>confdefs.h <<\_ACEOF
     1886#define ENABLE_JDBM
     1887_ACEOF
     1888
     1889else
     1890  ENABLE_JDBM=0
     1891fi
     1892
     1893
     1894
     1895# Check whether --enable-sqlite was given.
    14211896if test "${enable_sqlite+set}" = set; then
    1422   enableval="$enable_sqlite"
    1423   USE_SQLITE=0
     1897  enableval=$enable_sqlite; USE_SQLITE=0
    14241898else
    14251899  USE_SQLITE=1
    1426 fi;
     1900fi
     1901
    14271902cat >>confdefs.h <<\_ACEOF
    14281903#define USE_SQLITE $USE_SQLITE
    14291904_ACEOF
     1905
     1906
     1907
     1908# Check whether --enable-jni was given.
     1909if test "${enable_jni+set}" = set; then
     1910  enableval=$enable_jni; ENABLE_JNI=$enableval
     1911else
     1912  ENABLE_JNI=no
     1913fi
     1914
     1915if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
     1916  ENABLE_JNI=1
     1917  cat >>confdefs.h <<\_ACEOF
     1918#define ENABLE_JNI
     1919_ACEOF
     1920
     1921else
     1922  ENABLE_JNI=0
     1923fi
     1924
     1925
     1926# Check whether --enable-mg was given.
     1927if test "${enable_mg+set}" = set; then
     1928  enableval=$enable_mg; ENABLE_MG=$enableval
     1929else
     1930  ENABLE_MG=yes
     1931fi
     1932
     1933if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
     1934  ENABLE_MG=1
     1935  cat >>confdefs.h <<\_ACEOF
     1936#define ENABLE_MG
     1937_ACEOF
     1938
     1939 else
     1940  ENABLE_MG=0
     1941 fi
     1942
     1943
     1944# Check whether --enable-mgpp was given.
     1945if test "${enable_mgpp+set}" = set; then
     1946  enableval=$enable_mgpp; ENABLE_MGPP=$enableval
     1947else
     1948  ENABLE_MGPP=yes
     1949fi
     1950
     1951if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
     1952  ENABLE_MGPP=1
     1953  cat >>confdefs.h <<\_ACEOF
     1954#define ENABLE_MGPP
     1955_ACEOF
     1956
     1957else
     1958  ENABLE_MGPP=0
     1959fi
     1960
     1961
     1962# Check whether --enable-lucene was given.
     1963if test "${enable_lucene+set}" = set; then
     1964  enableval=$enable_lucene; ENABLE_LUCENE=$enableval
     1965else
     1966  ENABLE_LUCENE=yes
     1967fi
     1968
     1969if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
     1970  ENABLE_LUCENE=1
     1971  cat >>confdefs.h <<\_ACEOF
     1972#define ENABLE_LUCENE
     1973_ACEOF
     1974
     1975else
     1976  ENABLE_LUCENE=0
     1977fi
     1978
    14301979
    14311980
     
    14471996  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    14481997set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1449 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1998{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1999echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    14512000if test "${ac_cv_prog_CC+set}" = set; then
    14522001  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    14612010  test -z "$as_dir" && as_dir=.
    14622011  for ac_exec_ext in '' $ac_executable_extensions; do
    1463   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2012  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14642013    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    14652014    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    14682017done
    14692018done
     2019IFS=$as_save_IFS
    14702020
    14712021fi
     
    14732023CC=$ac_cv_prog_CC
    14742024if test -n "$CC"; then
    1475   echo "$as_me:$LINENO: result: $CC" >&5
    1476 echo "${ECHO_T}$CC" >&6
    1477 else
    1478   echo "$as_me:$LINENO: result: no" >&5
    1479 echo "${ECHO_T}no" >&6
    1480 fi
     2025  { echo "$as_me:$LINENO: result: $CC" >&5
     2026echo "${ECHO_T}$CC" >&6; }
     2027else
     2028  { echo "$as_me:$LINENO: result: no" >&5
     2029echo "${ECHO_T}no" >&6; }
     2030fi
     2031
    14812032
    14822033fi
     
    14852036  # Extract the first word of "gcc", so it can be a program name with args.
    14862037set dummy gcc; ac_word=$2
    1487 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2038{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2039echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    14892040if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    14902041  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    14992050  test -z "$as_dir" && as_dir=.
    15002051  for ac_exec_ext in '' $ac_executable_extensions; do
    1501   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2052  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15022053    ac_cv_prog_ac_ct_CC="gcc"
    15032054    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15062057done
    15072058done
     2059IFS=$as_save_IFS
    15082060
    15092061fi
     
    15112063ac_ct_CC=$ac_cv_prog_ac_ct_CC
    15122064if test -n "$ac_ct_CC"; then
    1513   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1514 echo "${ECHO_T}$ac_ct_CC" >&6
    1515 else
    1516   echo "$as_me:$LINENO: result: no" >&5
    1517 echo "${ECHO_T}no" >&6
    1518 fi
    1519 
    1520   CC=$ac_ct_CC
     2065  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2066echo "${ECHO_T}$ac_ct_CC" >&6; }
     2067else
     2068  { echo "$as_me:$LINENO: result: no" >&5
     2069echo "${ECHO_T}no" >&6; }
     2070fi
     2071
     2072  if test "x$ac_ct_CC" = x; then
     2073    CC=""
     2074  else
     2075    case $cross_compiling:$ac_tool_warned in
     2076yes:)
     2077{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2078whose name does not start with the host triplet.  If you think this
     2079configuration is useful to you, please write to autoconf@gnu.org." >&5
     2080echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2081whose name does not start with the host triplet.  If you think this
     2082configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2083ac_tool_warned=yes ;;
     2084esac
     2085    CC=$ac_ct_CC
     2086  fi
    15212087else
    15222088  CC="$ac_cv_prog_CC"
     
    15242090
    15252091if test -z "$CC"; then
    1526   if test -n "$ac_tool_prefix"; then
    1527   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2092          if test -n "$ac_tool_prefix"; then
     2093    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    15282094set dummy ${ac_tool_prefix}cc; ac_word=$2
    1529 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2095{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2096echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15312097if test "${ac_cv_prog_CC+set}" = set; then
    15322098  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15412107  test -z "$as_dir" && as_dir=.
    15422108  for ac_exec_ext in '' $ac_executable_extensions; do
    1543   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2109  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15442110    ac_cv_prog_CC="${ac_tool_prefix}cc"
    15452111    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15482114done
    15492115done
     2116IFS=$as_save_IFS
    15502117
    15512118fi
     
    15532120CC=$ac_cv_prog_CC
    15542121if test -n "$CC"; then
    1555   echo "$as_me:$LINENO: result: $CC" >&5
    1556 echo "${ECHO_T}$CC" >&6
    1557 else
    1558   echo "$as_me:$LINENO: result: no" >&5
    1559 echo "${ECHO_T}no" >&6
    1560 fi
    1561 
    1562 fi
    1563 if test -z "$ac_cv_prog_CC"; then
    1564   ac_ct_CC=$CC
    1565   # Extract the first word of "cc", so it can be a program name with args.
    1566 set dummy cc; ac_word=$2
    1567 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1569 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1570   echo $ECHO_N "(cached) $ECHO_C" >&6
    1571 else
    1572   if test -n "$ac_ct_CC"; then
    1573   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1574 else
    1575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1576 for as_dir in $PATH
    1577 do
    1578   IFS=$as_save_IFS
    1579   test -z "$as_dir" && as_dir=.
    1580   for ac_exec_ext in '' $ac_executable_extensions; do
    1581   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1582     ac_cv_prog_ac_ct_CC="cc"
    1583     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1584     break 2
     2122  { echo "$as_me:$LINENO: result: $CC" >&5
     2123echo "${ECHO_T}$CC" >&6; }
     2124else
     2125  { echo "$as_me:$LINENO: result: no" >&5
     2126echo "${ECHO_T}no" >&6; }
     2127fi
     2128
     2129
    15852130  fi
    1586 done
    1587 done
    1588 
    1589 fi
    1590 fi
    1591 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1592 if test -n "$ac_ct_CC"; then
    1593   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1594 echo "${ECHO_T}$ac_ct_CC" >&6
    1595 else
    1596   echo "$as_me:$LINENO: result: no" >&5
    1597 echo "${ECHO_T}no" >&6
    1598 fi
    1599 
    1600   CC=$ac_ct_CC
    1601 else
    1602   CC="$ac_cv_prog_CC"
    1603 fi
    1604 
    16052131fi
    16062132if test -z "$CC"; then
    16072133  # Extract the first word of "cc", so it can be a program name with args.
    16082134set dummy cc; ac_word=$2
    1609 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2135{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2136echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16112137if test "${ac_cv_prog_CC+set}" = set; then
    16122138  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16222148  test -z "$as_dir" && as_dir=.
    16232149  for ac_exec_ext in '' $ac_executable_extensions; do
    1624   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2150  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16252151    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    16262152       ac_prog_rejected=yes
     
    16332159done
    16342160done
     2161IFS=$as_save_IFS
    16352162
    16362163if test $ac_prog_rejected = yes; then
     
    16502177CC=$ac_cv_prog_CC
    16512178if test -n "$CC"; then
    1652   echo "$as_me:$LINENO: result: $CC" >&5
    1653 echo "${ECHO_T}$CC" >&6
    1654 else
    1655   echo "$as_me:$LINENO: result: no" >&5
    1656 echo "${ECHO_T}no" >&6
    1657 fi
     2179  { echo "$as_me:$LINENO: result: $CC" >&5
     2180echo "${ECHO_T}$CC" >&6; }
     2181else
     2182  { echo "$as_me:$LINENO: result: no" >&5
     2183echo "${ECHO_T}no" >&6; }
     2184fi
     2185
    16582186
    16592187fi
    16602188if test -z "$CC"; then
    16612189  if test -n "$ac_tool_prefix"; then
    1662   for ac_prog in cl
     2190  for ac_prog in cl.exe
    16632191  do
    16642192    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    16652193set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1666 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2194{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2195echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16682196if test "${ac_cv_prog_CC+set}" = set; then
    16692197  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16782206  test -z "$as_dir" && as_dir=.
    16792207  for ac_exec_ext in '' $ac_executable_extensions; do
    1680   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2208  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16812209    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    16822210    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    16852213done
    16862214done
     2215IFS=$as_save_IFS
    16872216
    16882217fi
     
    16902219CC=$ac_cv_prog_CC
    16912220if test -n "$CC"; then
    1692   echo "$as_me:$LINENO: result: $CC" >&5
    1693 echo "${ECHO_T}$CC" >&6
    1694 else
    1695   echo "$as_me:$LINENO: result: no" >&5
    1696 echo "${ECHO_T}no" >&6
    1697 fi
     2221  { echo "$as_me:$LINENO: result: $CC" >&5
     2222echo "${ECHO_T}$CC" >&6; }
     2223else
     2224  { echo "$as_me:$LINENO: result: no" >&5
     2225echo "${ECHO_T}no" >&6; }
     2226fi
     2227
    16982228
    16992229    test -n "$CC" && break
     
    17022232if test -z "$CC"; then
    17032233  ac_ct_CC=$CC
    1704   for ac_prog in cl
     2234  for ac_prog in cl.exe
    17052235do
    17062236  # Extract the first word of "$ac_prog", so it can be a program name with args.
    17072237set dummy $ac_prog; ac_word=$2
    1708 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2238{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2239echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17102240if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    17112241  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17202250  test -z "$as_dir" && as_dir=.
    17212251  for ac_exec_ext in '' $ac_executable_extensions; do
    1722   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2252  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17232253    ac_cv_prog_ac_ct_CC="$ac_prog"
    17242254    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17272257done
    17282258done
     2259IFS=$as_save_IFS
    17292260
    17302261fi
     
    17322263ac_ct_CC=$ac_cv_prog_ac_ct_CC
    17332264if test -n "$ac_ct_CC"; then
    1734   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1735 echo "${ECHO_T}$ac_ct_CC" >&6
    1736 else
    1737   echo "$as_me:$LINENO: result: no" >&5
    1738 echo "${ECHO_T}no" >&6
    1739 fi
     2265  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2266echo "${ECHO_T}$ac_ct_CC" >&6; }
     2267else
     2268  { echo "$as_me:$LINENO: result: no" >&5
     2269echo "${ECHO_T}no" >&6; }
     2270fi
     2271
    17402272
    17412273  test -n "$ac_ct_CC" && break
    17422274done
    17432275
    1744   CC=$ac_ct_CC
     2276  if test "x$ac_ct_CC" = x; then
     2277    CC=""
     2278  else
     2279    case $cross_compiling:$ac_tool_warned in
     2280yes:)
     2281{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2282whose name does not start with the host triplet.  If you think this
     2283configuration is useful to you, please write to autoconf@gnu.org." >&5
     2284echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2285whose name does not start with the host triplet.  If you think this
     2286configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2287ac_tool_warned=yes ;;
     2288esac
     2289    CC=$ac_ct_CC
     2290  fi
    17452291fi
    17462292
     
    17552301
    17562302# Provide some information about the compiler.
    1757 echo "$as_me:$LINENO:" \
    1758      "checking for C compiler version" >&5
     2303echo "$as_me:$LINENO: checking for C compiler version" >&5
    17592304ac_compiler=`set X $ac_compile; echo $2`
    1760 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1761   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2305{ (ac_try="$ac_compiler --version >&5"
     2306case "(($ac_try" in
     2307  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2308  *) ac_try_echo=$ac_try;;
     2309esac
     2310eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2311  (eval "$ac_compiler --version >&5") 2>&5
    17622312  ac_status=$?
    17632313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17642314  (exit $ac_status); }
    1765 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1766   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2315{ (ac_try="$ac_compiler -v >&5"
     2316case "(($ac_try" in
     2317  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2318  *) ac_try_echo=$ac_try;;
     2319esac
     2320eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2321  (eval "$ac_compiler -v >&5") 2>&5
    17672322  ac_status=$?
    17682323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17692324  (exit $ac_status); }
    1770 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1771   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2325{ (ac_try="$ac_compiler -V >&5"
     2326case "(($ac_try" in
     2327  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2328  *) ac_try_echo=$ac_try;;
     2329esac
     2330eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2331  (eval "$ac_compiler -V >&5") 2>&5
    17722332  ac_status=$?
    17732333  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    17942354# It will help us diagnose broken compilers, and finding out an intuition
    17952355# of exeext.
    1796 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1797 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2356{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2357echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    17982358ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1799 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1800   (eval $ac_link_default) 2>&5
     2359#
     2360# List of possible output files, starting from the most likely.
     2361# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
     2362# only as a last resort.  b.out is created by i960 compilers.
     2363ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
     2364#
     2365# The IRIX 6 linker writes into existing files which may not be
     2366# executable, retaining their permissions.  Remove them first so a
     2367# subsequent execution test works.
     2368ac_rmfiles=
     2369for ac_file in $ac_files
     2370do
     2371  case $ac_file in
     2372    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     2373    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2374  esac
     2375done
     2376rm -f $ac_rmfiles
     2377
     2378if { (ac_try="$ac_link_default"
     2379case "(($ac_try" in
     2380  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2381  *) ac_try_echo=$ac_try;;
     2382esac
     2383eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2384  (eval "$ac_link_default") 2>&5
    18012385  ac_status=$?
    18022386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18032387  (exit $ac_status); }; then
    1804   # Find the output, starting from the most likely.  This scheme is
    1805 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1806 # resort.
    1807 
    1808 # Be careful to initialize this variable, since it used to be cached.
    1809 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1810 ac_cv_exeext=
    1811 # b.out is created by i960 compilers.
    1812 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2388  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2389# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2390# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2391# so that the user can short-circuit this test for compilers unknown to
     2392# Autoconf.
     2393for ac_file in $ac_files ''
    18132394do
    18142395  test -f "$ac_file" || continue
    18152396  case $ac_file in
    1816     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1817     ;;
    1818     conftest.$ac_ext )
    1819     # This is the source file.
     2397    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    18202398    ;;
    18212399    [ab].out )
     
    18242402    break;;
    18252403    *.* )
    1826     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1827     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1828     # but it would be cool to find out if it's true.  Does anybody
    1829     # maintain Libtool? --akim.
    1830     export ac_cv_exeext
     2404        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2405    then :; else
     2406       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2407    fi
     2408    # We set ac_cv_exeext here because the later test for it is not
     2409    # safe: cross compilers may not add the suffix if given an `-o'
     2410    # argument, so we may need to know it at that point already.
     2411    # Even if this section looks crufty: it has the advantage of
     2412    # actually working.
    18312413    break;;
    18322414    * )
     
    18342416  esac
    18352417done
    1836 else
     2418test "$ac_cv_exeext" = no && ac_cv_exeext=
     2419
     2420else
     2421  ac_file=''
     2422fi
     2423
     2424{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2425echo "${ECHO_T}$ac_file" >&6; }
     2426if test -z "$ac_file"; then
    18372427  echo "$as_me: failed program was:" >&5
    18382428sed 's/^/| /' conftest.$ac_ext >&5
     
    18462436
    18472437ac_exeext=$ac_cv_exeext
    1848 echo "$as_me:$LINENO: result: $ac_file" >&5
    1849 echo "${ECHO_T}$ac_file" >&6
    1850 
    1851 # Check the compiler produces executables we can run.  If not, either
     2438
     2439# Check that the compiler produces executables we can run.  If not, either
    18522440# the compiler is broken, or we cross compile.
    1853 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1854 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2441{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2442echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    18552443# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    18562444# If not cross compiling, check that we can run a simple program.
    18572445if test "$cross_compiling" != yes; then
    18582446  if { ac_try='./$ac_file'
    1859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1860   (eval $ac_try) 2>&5
     2447  { (case "(($ac_try" in
     2448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2449  *) ac_try_echo=$ac_try;;
     2450esac
     2451eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2452  (eval "$ac_try") 2>&5
    18612453  ac_status=$?
    18622454  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    18772469  fi
    18782470fi
    1879 echo "$as_me:$LINENO: result: yes" >&5
    1880 echo "${ECHO_T}yes" >&6
     2471{ echo "$as_me:$LINENO: result: yes" >&5
     2472echo "${ECHO_T}yes" >&6; }
    18812473
    18822474rm -f a.out a.exe conftest$ac_cv_exeext b.out
    18832475ac_clean_files=$ac_clean_files_save
    1884 # Check the compiler produces executables we can run.  If not, either
     2476# Check that the compiler produces executables we can run.  If not, either
    18852477# the compiler is broken, or we cross compile.
    1886 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1887 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1888 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1889 echo "${ECHO_T}$cross_compiling" >&6
    1890 
    1891 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1892 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1894   (eval $ac_link) 2>&5
     2478{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2479echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2480{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2481echo "${ECHO_T}$cross_compiling" >&6; }
     2482
     2483{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2484echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
     2485if { (ac_try="$ac_link"
     2486case "(($ac_try" in
     2487  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2488  *) ac_try_echo=$ac_try;;
     2489esac
     2490eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2491  (eval "$ac_link") 2>&5
    18952492  ac_status=$?
    18962493  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    19032500  test -f "$ac_file" || continue
    19042501  case $ac_file in
    1905     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2502    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    19062503    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1907       export ac_cv_exeext
    19082504      break;;
    19092505    * ) break;;
     
    19192515
    19202516rm -f conftest$ac_cv_exeext
    1921 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1922 echo "${ECHO_T}$ac_cv_exeext" >&6
     2517{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2518echo "${ECHO_T}$ac_cv_exeext" >&6; }
    19232519
    19242520rm -f conftest.$ac_ext
    19252521EXEEXT=$ac_cv_exeext
    19262522ac_exeext=$EXEEXT
    1927 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1928 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2523{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2524echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    19292525if test "${ac_cv_objext+set}" = set; then
    19302526  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19462542_ACEOF
    19472543rm -f conftest.o conftest.obj
    1948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1949   (eval $ac_compile) 2>&5
     2544if { (ac_try="$ac_compile"
     2545case "(($ac_try" in
     2546  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2547  *) ac_try_echo=$ac_try;;
     2548esac
     2549eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2550  (eval "$ac_compile") 2>&5
    19502551  ac_status=$?
    19512552  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19522553  (exit $ac_status); }; then
    1953   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2554  for ac_file in conftest.o conftest.obj conftest.*; do
     2555  test -f "$ac_file" || continue;
    19542556  case $ac_file in
    1955     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2557    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    19562558    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    19572559       break;;
     
    19712573rm -f conftest.$ac_cv_objext conftest.$ac_ext
    19722574fi
    1973 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1974 echo "${ECHO_T}$ac_cv_objext" >&6
     2575{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2576echo "${ECHO_T}$ac_cv_objext" >&6; }
    19752577OBJEXT=$ac_cv_objext
    19762578ac_objext=$OBJEXT
    1977 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    1978 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2579{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2580echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    19792581if test "${ac_cv_c_compiler_gnu+set}" = set; then
    19802582  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19992601_ACEOF
    20002602rm -f conftest.$ac_objext
    2001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2002   (eval $ac_compile) 2>conftest.er1
     2603if { (ac_try="$ac_compile"
     2604case "(($ac_try" in
     2605  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2606  *) ac_try_echo=$ac_try;;
     2607esac
     2608eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2609  (eval "$ac_compile") 2>conftest.er1
    20032610  ac_status=$?
    20042611  grep -v '^ *+' conftest.er1 >conftest.err
     
    20062613  cat conftest.err >&5
    20072614  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2008   (exit $ac_status); } &&
    2009      { ac_try='test -z "$ac_c_werror_flag"
    2010              || test ! -s conftest.err'
    2011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2012   (eval $ac_try) 2>&5
    2013   ac_status=$?
    2014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2015   (exit $ac_status); }; } &&
    2016      { ac_try='test -s conftest.$ac_objext'
    2017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2018   (eval $ac_try) 2>&5
    2019   ac_status=$?
    2020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2021   (exit $ac_status); }; }; then
     2615  (exit $ac_status); } && {
     2616     test -z "$ac_c_werror_flag" ||
     2617     test ! -s conftest.err
     2618       } && test -s conftest.$ac_objext; then
    20222619  ac_compiler_gnu=yes
    20232620else
     
    20252622sed 's/^/| /' conftest.$ac_ext >&5
    20262623
    2027 ac_compiler_gnu=no
    2028 fi
    2029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2624    ac_compiler_gnu=no
     2625fi
     2626
     2627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    20302628ac_cv_c_compiler_gnu=$ac_compiler_gnu
    20312629
    20322630fi
    2033 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2034 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2631{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2632echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    20352633GCC=`test $ac_compiler_gnu = yes && echo yes`
    20362634ac_test_CFLAGS=${CFLAGS+set}
    20372635ac_save_CFLAGS=$CFLAGS
    2038 CFLAGS="-g"
    2039 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2040 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2636{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2637echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    20412638if test "${ac_cv_prog_cc_g+set}" = set; then
    20422639  echo $ECHO_N "(cached) $ECHO_C" >&6
    20432640else
    2044   cat >conftest.$ac_ext <<_ACEOF
     2641  ac_save_c_werror_flag=$ac_c_werror_flag
     2642   ac_c_werror_flag=yes
     2643   ac_cv_prog_cc_g=no
     2644   CFLAGS="-g"
     2645   cat >conftest.$ac_ext <<_ACEOF
    20452646/* confdefs.h.  */
    20462647_ACEOF
     
    20582659_ACEOF
    20592660rm -f conftest.$ac_objext
    2060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2061   (eval $ac_compile) 2>conftest.er1
     2661if { (ac_try="$ac_compile"
     2662case "(($ac_try" in
     2663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2664  *) ac_try_echo=$ac_try;;
     2665esac
     2666eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2667  (eval "$ac_compile") 2>conftest.er1
    20622668  ac_status=$?
    20632669  grep -v '^ *+' conftest.er1 >conftest.err
     
    20652671  cat conftest.err >&5
    20662672  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2067   (exit $ac_status); } &&
    2068      { ac_try='test -z "$ac_c_werror_flag"
    2069              || test ! -s conftest.err'
    2070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2071   (eval $ac_try) 2>&5
    2072   ac_status=$?
    2073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2074   (exit $ac_status); }; } &&
    2075      { ac_try='test -s conftest.$ac_objext'
    2076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2077   (eval $ac_try) 2>&5
    2078   ac_status=$?
    2079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2080   (exit $ac_status); }; }; then
     2673  (exit $ac_status); } && {
     2674     test -z "$ac_c_werror_flag" ||
     2675     test ! -s conftest.err
     2676       } && test -s conftest.$ac_objext; then
    20812677  ac_cv_prog_cc_g=yes
    20822678else
     
    20842680sed 's/^/| /' conftest.$ac_ext >&5
    20852681
    2086 ac_cv_prog_cc_g=no
    2087 fi
    2088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2089 fi
    2090 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2091 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2682    CFLAGS=""
     2683      cat >conftest.$ac_ext <<_ACEOF
     2684/* confdefs.h.  */
     2685_ACEOF
     2686cat confdefs.h >>conftest.$ac_ext
     2687cat >>conftest.$ac_ext <<_ACEOF
     2688/* end confdefs.h.  */
     2689
     2690int
     2691main ()
     2692{
     2693
     2694  ;
     2695  return 0;
     2696}
     2697_ACEOF
     2698rm -f conftest.$ac_objext
     2699if { (ac_try="$ac_compile"
     2700case "(($ac_try" in
     2701  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2702  *) ac_try_echo=$ac_try;;
     2703esac
     2704eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2705  (eval "$ac_compile") 2>conftest.er1
     2706  ac_status=$?
     2707  grep -v '^ *+' conftest.er1 >conftest.err
     2708  rm -f conftest.er1
     2709  cat conftest.err >&5
     2710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2711  (exit $ac_status); } && {
     2712     test -z "$ac_c_werror_flag" ||
     2713     test ! -s conftest.err
     2714       } && test -s conftest.$ac_objext; then
     2715  :
     2716else
     2717  echo "$as_me: failed program was:" >&5
     2718sed 's/^/| /' conftest.$ac_ext >&5
     2719
     2720    ac_c_werror_flag=$ac_save_c_werror_flag
     2721     CFLAGS="-g"
     2722     cat >conftest.$ac_ext <<_ACEOF
     2723/* confdefs.h.  */
     2724_ACEOF
     2725cat confdefs.h >>conftest.$ac_ext
     2726cat >>conftest.$ac_ext <<_ACEOF
     2727/* end confdefs.h.  */
     2728
     2729int
     2730main ()
     2731{
     2732
     2733  ;
     2734  return 0;
     2735}
     2736_ACEOF
     2737rm -f conftest.$ac_objext
     2738if { (ac_try="$ac_compile"
     2739case "(($ac_try" in
     2740  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2741  *) ac_try_echo=$ac_try;;
     2742esac
     2743eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2744  (eval "$ac_compile") 2>conftest.er1
     2745  ac_status=$?
     2746  grep -v '^ *+' conftest.er1 >conftest.err
     2747  rm -f conftest.er1
     2748  cat conftest.err >&5
     2749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2750  (exit $ac_status); } && {
     2751     test -z "$ac_c_werror_flag" ||
     2752     test ! -s conftest.err
     2753       } && test -s conftest.$ac_objext; then
     2754  ac_cv_prog_cc_g=yes
     2755else
     2756  echo "$as_me: failed program was:" >&5
     2757sed 's/^/| /' conftest.$ac_ext >&5
     2758
     2759
     2760fi
     2761
     2762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2763fi
     2764
     2765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2766fi
     2767
     2768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2769   ac_c_werror_flag=$ac_save_c_werror_flag
     2770fi
     2771{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2772echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    20922773if test "$ac_test_CFLAGS" = set; then
    20932774  CFLAGS=$ac_save_CFLAGS
     
    21052786  fi
    21062787fi
    2107 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2108 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2109 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2788{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2789echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     2790if test "${ac_cv_prog_cc_c89+set}" = set; then
    21102791  echo $ECHO_N "(cached) $ECHO_C" >&6
    21112792else
    2112   ac_cv_prog_cc_stdc=no
     2793  ac_cv_prog_cc_c89=no
    21132794ac_save_CC=$CC
    21142795cat >conftest.$ac_ext <<_ACEOF
     
    21442825   function prototypes and stuff, but not '\xHH' hex character constants.
    21452826   These don't provoke an error unfortunately, instead are silently treated
    2146    as 'x'.  The following induces an error, until -std1 is added to get
     2827   as 'x'.  The following induces an error, until -std is added to get
    21472828   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    21482829   array size at least.  It's necessary to write '\x00'==0 to get something
    2149    that's true only with -std1.  */
     2830   that's true only with -std.  */
    21502831int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2832
     2833/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2834   inside strings and character constants.  */
     2835#define FOO(x) 'x'
     2836int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    21512837
    21522838int test (int i, double x);
     
    21642850}
    21652851_ACEOF
    2166 # Don't try gcc -ansi; that turns off useful extensions and
    2167 # breaks some systems' header files.
    2168 # AIX           -qlanglvl=ansi
    2169 # Ultrix and OSF/1  -std1
    2170 # HP-UX 10.20 and later -Ae
    2171 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2172 # SVR4          -Xc -D__EXTENSIONS__
    2173 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2852for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2853    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    21742854do
    21752855  CC="$ac_save_CC $ac_arg"
    21762856  rm -f conftest.$ac_objext
    2177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2178   (eval $ac_compile) 2>conftest.er1
     2857if { (ac_try="$ac_compile"
     2858case "(($ac_try" in
     2859  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2860  *) ac_try_echo=$ac_try;;
     2861esac
     2862eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2863  (eval "$ac_compile") 2>conftest.er1
    21792864  ac_status=$?
    21802865  grep -v '^ *+' conftest.er1 >conftest.err
     
    21822867  cat conftest.err >&5
    21832868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2184   (exit $ac_status); } &&
    2185      { ac_try='test -z "$ac_c_werror_flag"
    2186              || test ! -s conftest.err'
    2187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2188   (eval $ac_try) 2>&5
    2189   ac_status=$?
    2190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2191   (exit $ac_status); }; } &&
    2192      { ac_try='test -s conftest.$ac_objext'
    2193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2194   (eval $ac_try) 2>&5
    2195   ac_status=$?
    2196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2197   (exit $ac_status); }; }; then
    2198   ac_cv_prog_cc_stdc=$ac_arg
    2199 break
     2869  (exit $ac_status); } && {
     2870     test -z "$ac_c_werror_flag" ||
     2871     test ! -s conftest.err
     2872       } && test -s conftest.$ac_objext; then
     2873  ac_cv_prog_cc_c89=$ac_arg
    22002874else
    22012875  echo "$as_me: failed program was:" >&5
    22022876sed 's/^/| /' conftest.$ac_ext >&5
    22032877
    2204 fi
    2205 rm -f conftest.err conftest.$ac_objext
     2878
     2879fi
     2880
     2881rm -f core conftest.err conftest.$ac_objext
     2882  test "x$ac_cv_prog_cc_c89" != "xno" && break
    22062883done
    2207 rm -f conftest.$ac_ext conftest.$ac_objext
     2884rm -f conftest.$ac_ext
    22082885CC=$ac_save_CC
    22092886
    22102887fi
    2211 
    2212 case "x$ac_cv_prog_cc_stdc" in
    2213   x|xno)
    2214     echo "$as_me:$LINENO: result: none needed" >&5
    2215 echo "${ECHO_T}none needed" >&6 ;;
     2888# AC_CACHE_VAL
     2889case "x$ac_cv_prog_cc_c89" in
     2890  x)
     2891    { echo "$as_me:$LINENO: result: none needed" >&5
     2892echo "${ECHO_T}none needed" >&6; } ;;
     2893  xno)
     2894    { echo "$as_me:$LINENO: result: unsupported" >&5
     2895echo "${ECHO_T}unsupported" >&6; } ;;
    22162896  *)
    2217     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2218 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2219     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2220 esac
    2221 
    2222 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2223 # in C++ we need to declare it.  In case someone uses the same compiler
    2224 # for both compiling C and C++ we need to have the C++ compiler decide
    2225 # the declaration of exit, since it's the most demanding environment.
    2226 cat >conftest.$ac_ext <<_ACEOF
    2227 #ifndef __cplusplus
    2228   choke me
    2229 #endif
    2230 _ACEOF
    2231 rm -f conftest.$ac_objext
    2232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2233   (eval $ac_compile) 2>conftest.er1
    2234   ac_status=$?
    2235   grep -v '^ *+' conftest.er1 >conftest.err
    2236   rm -f conftest.er1
    2237   cat conftest.err >&5
    2238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2239   (exit $ac_status); } &&
    2240      { ac_try='test -z "$ac_c_werror_flag"
    2241              || test ! -s conftest.err'
    2242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2243   (eval $ac_try) 2>&5
    2244   ac_status=$?
    2245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2246   (exit $ac_status); }; } &&
    2247      { ac_try='test -s conftest.$ac_objext'
    2248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2249   (eval $ac_try) 2>&5
    2250   ac_status=$?
    2251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2252   (exit $ac_status); }; }; then
    2253   for ac_declaration in \
    2254    '' \
    2255    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2256    'extern "C" void std::exit (int); using std::exit;' \
    2257    'extern "C" void exit (int) throw ();' \
    2258    'extern "C" void exit (int);' \
    2259    'void exit (int);'
    2260 do
    2261   cat >conftest.$ac_ext <<_ACEOF
    2262 /* confdefs.h.  */
    2263 _ACEOF
    2264 cat confdefs.h >>conftest.$ac_ext
    2265 cat >>conftest.$ac_ext <<_ACEOF
    2266 /* end confdefs.h.  */
    2267 $ac_declaration
    2268 #include <stdlib.h>
    2269 int
    2270 main ()
    2271 {
    2272 exit (42);
    2273   ;
    2274   return 0;
    2275 }
    2276 _ACEOF
    2277 rm -f conftest.$ac_objext
    2278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2279   (eval $ac_compile) 2>conftest.er1
    2280   ac_status=$?
    2281   grep -v '^ *+' conftest.er1 >conftest.err
    2282   rm -f conftest.er1
    2283   cat conftest.err >&5
    2284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2285   (exit $ac_status); } &&
    2286      { ac_try='test -z "$ac_c_werror_flag"
    2287              || test ! -s conftest.err'
    2288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2289   (eval $ac_try) 2>&5
    2290   ac_status=$?
    2291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2292   (exit $ac_status); }; } &&
    2293      { ac_try='test -s conftest.$ac_objext'
    2294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2295   (eval $ac_try) 2>&5
    2296   ac_status=$?
    2297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2298   (exit $ac_status); }; }; then
    2299   :
    2300 else
    2301   echo "$as_me: failed program was:" >&5
    2302 sed 's/^/| /' conftest.$ac_ext >&5
    2303 
    2304 continue
    2305 fi
    2306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2307   cat >conftest.$ac_ext <<_ACEOF
    2308 /* confdefs.h.  */
    2309 _ACEOF
    2310 cat confdefs.h >>conftest.$ac_ext
    2311 cat >>conftest.$ac_ext <<_ACEOF
    2312 /* end confdefs.h.  */
    2313 $ac_declaration
    2314 int
    2315 main ()
    2316 {
    2317 exit (42);
    2318   ;
    2319   return 0;
    2320 }
    2321 _ACEOF
    2322 rm -f conftest.$ac_objext
    2323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2324   (eval $ac_compile) 2>conftest.er1
    2325   ac_status=$?
    2326   grep -v '^ *+' conftest.er1 >conftest.err
    2327   rm -f conftest.er1
    2328   cat conftest.err >&5
    2329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2330   (exit $ac_status); } &&
    2331      { ac_try='test -z "$ac_c_werror_flag"
    2332              || test ! -s conftest.err'
    2333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2334   (eval $ac_try) 2>&5
    2335   ac_status=$?
    2336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2337   (exit $ac_status); }; } &&
    2338      { ac_try='test -s conftest.$ac_objext'
    2339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2340   (eval $ac_try) 2>&5
    2341   ac_status=$?
    2342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2343   (exit $ac_status); }; }; then
    2344   break
    2345 else
    2346   echo "$as_me: failed program was:" >&5
    2347 sed 's/^/| /' conftest.$ac_ext >&5
    2348 
    2349 fi
    2350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2351 done
    2352 rm -f conftest*
    2353 if test -n "$ac_declaration"; then
    2354   echo '#ifdef __cplusplus' >>confdefs.h
    2355   echo $ac_declaration      >>confdefs.h
    2356   echo '#endif'             >>confdefs.h
    2357 fi
    2358 
    2359 else
    2360   echo "$as_me: failed program was:" >&5
    2361 sed 's/^/| /' conftest.$ac_ext >&5
    2362 
    2363 fi
    2364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2897    CC="$CC $ac_cv_prog_cc_c89"
     2898    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     2899echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2900esac
     2901
     2902
    23652903ac_ext=c
    23662904ac_cpp='$CPP $CPPFLAGS'
     
    23692907ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23702908
    2371 ac_ext=cc
     2909ac_ext=cpp
    23722910ac_cpp='$CXXCPP $CPPFLAGS'
    23732911ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23742912ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23752913ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2376 if test -n "$ac_tool_prefix"; then
    2377   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2914if test -z "$CXX"; then
     2915  if test -n "$CCC"; then
     2916    CXX=$CCC
     2917  else
     2918    if test -n "$ac_tool_prefix"; then
     2919  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    23782920  do
    23792921    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    23802922set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2381 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2923{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2924echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    23832925if test "${ac_cv_prog_CXX+set}" = set; then
    23842926  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    23932935  test -z "$as_dir" && as_dir=.
    23942936  for ac_exec_ext in '' $ac_executable_extensions; do
    2395   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2937  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    23962938    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    23972939    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24002942done
    24012943done
     2944IFS=$as_save_IFS
    24022945
    24032946fi
     
    24052948CXX=$ac_cv_prog_CXX
    24062949if test -n "$CXX"; then
    2407   echo "$as_me:$LINENO: result: $CXX" >&5
    2408 echo "${ECHO_T}$CXX" >&6
    2409 else
    2410   echo "$as_me:$LINENO: result: no" >&5
    2411 echo "${ECHO_T}no" >&6
    2412 fi
     2950  { echo "$as_me:$LINENO: result: $CXX" >&5
     2951echo "${ECHO_T}$CXX" >&6; }
     2952else
     2953  { echo "$as_me:$LINENO: result: no" >&5
     2954echo "${ECHO_T}no" >&6; }
     2955fi
     2956
    24132957
    24142958    test -n "$CXX" && break
     
    24172961if test -z "$CXX"; then
    24182962  ac_ct_CXX=$CXX
    2419   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2963  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    24202964do
    24212965  # Extract the first word of "$ac_prog", so it can be a program name with args.
    24222966set dummy $ac_prog; ac_word=$2
    2423 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2967{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2968echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    24252969if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    24262970  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24352979  test -z "$as_dir" && as_dir=.
    24362980  for ac_exec_ext in '' $ac_executable_extensions; do
    2437   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2981  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24382982    ac_cv_prog_ac_ct_CXX="$ac_prog"
    24392983    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24422986done
    24432987done
     2988IFS=$as_save_IFS
    24442989
    24452990fi
     
    24472992ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    24482993if test -n "$ac_ct_CXX"; then
    2449   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2450 echo "${ECHO_T}$ac_ct_CXX" >&6
    2451 else
    2452   echo "$as_me:$LINENO: result: no" >&5
    2453 echo "${ECHO_T}no" >&6
    2454 fi
     2994  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2995echo "${ECHO_T}$ac_ct_CXX" >&6; }
     2996else
     2997  { echo "$as_me:$LINENO: result: no" >&5
     2998echo "${ECHO_T}no" >&6; }
     2999fi
     3000
    24553001
    24563002  test -n "$ac_ct_CXX" && break
    24573003done
    2458 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2459 
    2460   CXX=$ac_ct_CXX
    2461 fi
    2462 
    2463 
     3004
     3005  if test "x$ac_ct_CXX" = x; then
     3006    CXX="g++"
     3007  else
     3008    case $cross_compiling:$ac_tool_warned in
     3009yes:)
     3010{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3011whose name does not start with the host triplet.  If you think this
     3012configuration is useful to you, please write to autoconf@gnu.org." >&5
     3013echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3014whose name does not start with the host triplet.  If you think this
     3015configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3016ac_tool_warned=yes ;;
     3017esac
     3018    CXX=$ac_ct_CXX
     3019  fi
     3020fi
     3021
     3022  fi
     3023fi
    24643024# Provide some information about the compiler.
    2465 echo "$as_me:$LINENO:" \
    2466      "checking for C++ compiler version" >&5
     3025echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    24673026ac_compiler=`set X $ac_compile; echo $2`
    2468 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2469   (eval $ac_compiler --version </dev/null >&5) 2>&5
     3027{ (ac_try="$ac_compiler --version >&5"
     3028case "(($ac_try" in
     3029  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3030  *) ac_try_echo=$ac_try;;
     3031esac
     3032eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3033  (eval "$ac_compiler --version >&5") 2>&5
    24703034  ac_status=$?
    24713035  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24723036  (exit $ac_status); }
    2473 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2474   (eval $ac_compiler -v </dev/null >&5) 2>&5
     3037{ (ac_try="$ac_compiler -v >&5"
     3038case "(($ac_try" in
     3039  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3040  *) ac_try_echo=$ac_try;;
     3041esac
     3042eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3043  (eval "$ac_compiler -v >&5") 2>&5
    24753044  ac_status=$?
    24763045  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24773046  (exit $ac_status); }
    2478 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2479   (eval $ac_compiler -V </dev/null >&5) 2>&5
     3047{ (ac_try="$ac_compiler -V >&5"
     3048case "(($ac_try" in
     3049  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3050  *) ac_try_echo=$ac_try;;
     3051esac
     3052eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3053  (eval "$ac_compiler -V >&5") 2>&5
    24803054  ac_status=$?
    24813055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24823056  (exit $ac_status); }
    24833057
    2484 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2485 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     3058{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3059echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    24863060if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    24873061  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    25063080_ACEOF
    25073081rm -f conftest.$ac_objext
    2508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2509   (eval $ac_compile) 2>conftest.er1
     3082if { (ac_try="$ac_compile"
     3083case "(($ac_try" in
     3084  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3085  *) ac_try_echo=$ac_try;;
     3086esac
     3087eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3088  (eval "$ac_compile") 2>conftest.er1
    25103089  ac_status=$?
    25113090  grep -v '^ *+' conftest.er1 >conftest.err
     
    25133092  cat conftest.err >&5
    25143093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2515   (exit $ac_status); } &&
    2516      { ac_try='test -z "$ac_cxx_werror_flag"
    2517              || test ! -s conftest.err'
    2518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2519   (eval $ac_try) 2>&5
    2520   ac_status=$?
    2521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2522   (exit $ac_status); }; } &&
    2523      { ac_try='test -s conftest.$ac_objext'
    2524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2525   (eval $ac_try) 2>&5
    2526   ac_status=$?
    2527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2528   (exit $ac_status); }; }; then
     3094  (exit $ac_status); } && {
     3095     test -z "$ac_cxx_werror_flag" ||
     3096     test ! -s conftest.err
     3097       } && test -s conftest.$ac_objext; then
    25293098  ac_compiler_gnu=yes
    25303099else
     
    25323101sed 's/^/| /' conftest.$ac_ext >&5
    25333102
    2534 ac_compiler_gnu=no
    2535 fi
    2536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3103    ac_compiler_gnu=no
     3104fi
     3105
     3106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25373107ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    25383108
    25393109fi
    2540 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2541 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     3110{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3111echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    25423112GXX=`test $ac_compiler_gnu = yes && echo yes`
    25433113ac_test_CXXFLAGS=${CXXFLAGS+set}
    25443114ac_save_CXXFLAGS=$CXXFLAGS
    2545 CXXFLAGS="-g"
    2546 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2547 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3115{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3116echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    25483117if test "${ac_cv_prog_cxx_g+set}" = set; then
    25493118  echo $ECHO_N "(cached) $ECHO_C" >&6
    25503119else
    2551   cat >conftest.$ac_ext <<_ACEOF
     3120  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3121   ac_cxx_werror_flag=yes
     3122   ac_cv_prog_cxx_g=no
     3123   CXXFLAGS="-g"
     3124   cat >conftest.$ac_ext <<_ACEOF
    25523125/* confdefs.h.  */
    25533126_ACEOF
     
    25653138_ACEOF
    25663139rm -f conftest.$ac_objext
    2567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2568   (eval $ac_compile) 2>conftest.er1
     3140if { (ac_try="$ac_compile"
     3141case "(($ac_try" in
     3142  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3143  *) ac_try_echo=$ac_try;;
     3144esac
     3145eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3146  (eval "$ac_compile") 2>conftest.er1
    25693147  ac_status=$?
    25703148  grep -v '^ *+' conftest.er1 >conftest.err
     
    25723150  cat conftest.err >&5
    25733151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2574   (exit $ac_status); } &&
    2575      { ac_try='test -z "$ac_cxx_werror_flag"
    2576              || test ! -s conftest.err'
    2577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2578   (eval $ac_try) 2>&5
    2579   ac_status=$?
    2580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2581   (exit $ac_status); }; } &&
    2582      { ac_try='test -s conftest.$ac_objext'
    2583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2584   (eval $ac_try) 2>&5
    2585   ac_status=$?
    2586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2587   (exit $ac_status); }; }; then
     3152  (exit $ac_status); } && {
     3153     test -z "$ac_cxx_werror_flag" ||
     3154     test ! -s conftest.err
     3155       } && test -s conftest.$ac_objext; then
    25883156  ac_cv_prog_cxx_g=yes
    25893157else
     
    25913159sed 's/^/| /' conftest.$ac_ext >&5
    25923160
    2593 ac_cv_prog_cxx_g=no
    2594 fi
    2595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2596 fi
    2597 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2598 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3161    CXXFLAGS=""
     3162      cat >conftest.$ac_ext <<_ACEOF
     3163/* confdefs.h.  */
     3164_ACEOF
     3165cat confdefs.h >>conftest.$ac_ext
     3166cat >>conftest.$ac_ext <<_ACEOF
     3167/* end confdefs.h.  */
     3168
     3169int
     3170main ()
     3171{
     3172
     3173  ;
     3174  return 0;
     3175}
     3176_ACEOF
     3177rm -f conftest.$ac_objext
     3178if { (ac_try="$ac_compile"
     3179case "(($ac_try" in
     3180  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3181  *) ac_try_echo=$ac_try;;
     3182esac
     3183eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3184  (eval "$ac_compile") 2>conftest.er1
     3185  ac_status=$?
     3186  grep -v '^ *+' conftest.er1 >conftest.err
     3187  rm -f conftest.er1
     3188  cat conftest.err >&5
     3189  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3190  (exit $ac_status); } && {
     3191     test -z "$ac_cxx_werror_flag" ||
     3192     test ! -s conftest.err
     3193       } && test -s conftest.$ac_objext; then
     3194  :
     3195else
     3196  echo "$as_me: failed program was:" >&5
     3197sed 's/^/| /' conftest.$ac_ext >&5
     3198
     3199    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3200     CXXFLAGS="-g"
     3201     cat >conftest.$ac_ext <<_ACEOF
     3202/* confdefs.h.  */
     3203_ACEOF
     3204cat confdefs.h >>conftest.$ac_ext
     3205cat >>conftest.$ac_ext <<_ACEOF
     3206/* end confdefs.h.  */
     3207
     3208int
     3209main ()
     3210{
     3211
     3212  ;
     3213  return 0;
     3214}
     3215_ACEOF
     3216rm -f conftest.$ac_objext
     3217if { (ac_try="$ac_compile"
     3218case "(($ac_try" in
     3219  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3220  *) ac_try_echo=$ac_try;;
     3221esac
     3222eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3223  (eval "$ac_compile") 2>conftest.er1
     3224  ac_status=$?
     3225  grep -v '^ *+' conftest.er1 >conftest.err
     3226  rm -f conftest.er1
     3227  cat conftest.err >&5
     3228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3229  (exit $ac_status); } && {
     3230     test -z "$ac_cxx_werror_flag" ||
     3231     test ! -s conftest.err
     3232       } && test -s conftest.$ac_objext; then
     3233  ac_cv_prog_cxx_g=yes
     3234else
     3235  echo "$as_me: failed program was:" >&5
     3236sed 's/^/| /' conftest.$ac_ext >&5
     3237
     3238
     3239fi
     3240
     3241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3242fi
     3243
     3244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3245fi
     3246
     3247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3248   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3249fi
     3250{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3251echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
    25993252if test "$ac_test_CXXFLAGS" = set; then
    26003253  CXXFLAGS=$ac_save_CXXFLAGS
     
    26123265  fi
    26133266fi
    2614 for ac_declaration in \
    2615    '' \
    2616    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2617    'extern "C" void std::exit (int); using std::exit;' \
    2618    'extern "C" void exit (int) throw ();' \
    2619    'extern "C" void exit (int);' \
    2620    'void exit (int);'
    2621 do
    2622   cat >conftest.$ac_ext <<_ACEOF
    2623 /* confdefs.h.  */
    2624 _ACEOF
    2625 cat confdefs.h >>conftest.$ac_ext
    2626 cat >>conftest.$ac_ext <<_ACEOF
    2627 /* end confdefs.h.  */
    2628 $ac_declaration
    2629 #include <stdlib.h>
    2630 int
    2631 main ()
    2632 {
    2633 exit (42);
    2634   ;
    2635   return 0;
    2636 }
    2637 _ACEOF
    2638 rm -f conftest.$ac_objext
    2639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2640   (eval $ac_compile) 2>conftest.er1
    2641   ac_status=$?
    2642   grep -v '^ *+' conftest.er1 >conftest.err
    2643   rm -f conftest.er1
    2644   cat conftest.err >&5
    2645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2646   (exit $ac_status); } &&
    2647      { ac_try='test -z "$ac_cxx_werror_flag"
    2648              || test ! -s conftest.err'
    2649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2650   (eval $ac_try) 2>&5
    2651   ac_status=$?
    2652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2653   (exit $ac_status); }; } &&
    2654      { ac_try='test -s conftest.$ac_objext'
    2655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2656   (eval $ac_try) 2>&5
    2657   ac_status=$?
    2658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2659   (exit $ac_status); }; }; then
    2660   :
    2661 else
    2662   echo "$as_me: failed program was:" >&5
    2663 sed 's/^/| /' conftest.$ac_ext >&5
    2664 
    2665 continue
    2666 fi
    2667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2668   cat >conftest.$ac_ext <<_ACEOF
    2669 /* confdefs.h.  */
    2670 _ACEOF
    2671 cat confdefs.h >>conftest.$ac_ext
    2672 cat >>conftest.$ac_ext <<_ACEOF
    2673 /* end confdefs.h.  */
    2674 $ac_declaration
    2675 int
    2676 main ()
    2677 {
    2678 exit (42);
    2679   ;
    2680   return 0;
    2681 }
    2682 _ACEOF
    2683 rm -f conftest.$ac_objext
    2684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2685   (eval $ac_compile) 2>conftest.er1
    2686   ac_status=$?
    2687   grep -v '^ *+' conftest.er1 >conftest.err
    2688   rm -f conftest.er1
    2689   cat conftest.err >&5
    2690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2691   (exit $ac_status); } &&
    2692      { ac_try='test -z "$ac_cxx_werror_flag"
    2693              || test ! -s conftest.err'
    2694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2695   (eval $ac_try) 2>&5
    2696   ac_status=$?
    2697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2698   (exit $ac_status); }; } &&
    2699      { ac_try='test -s conftest.$ac_objext'
    2700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2701   (eval $ac_try) 2>&5
    2702   ac_status=$?
    2703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2704   (exit $ac_status); }; }; then
    2705   break
    2706 else
    2707   echo "$as_me: failed program was:" >&5
    2708 sed 's/^/| /' conftest.$ac_ext >&5
    2709 
    2710 fi
    2711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2712 done
    2713 rm -f conftest*
    2714 if test -n "$ac_declaration"; then
    2715   echo '#ifdef __cplusplus' >>confdefs.h
    2716   echo $ac_declaration      >>confdefs.h
    2717   echo '#endif'             >>confdefs.h
    2718 fi
    2719 
    27203267ac_ext=c
    27213268ac_cpp='$CPP $CPPFLAGS'
     
    27283275  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27293276set dummy $ac_prog; ac_word=$2
    2730 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3277{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3278echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    27323279if test "${ac_cv_prog_AWK+set}" = set; then
    27333280  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27423289  test -z "$as_dir" && as_dir=.
    27433290  for ac_exec_ext in '' $ac_executable_extensions; do
    2744   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3291  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27453292    ac_cv_prog_AWK="$ac_prog"
    27463293    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27493296done
    27503297done
     3298IFS=$as_save_IFS
    27513299
    27523300fi
     
    27543302AWK=$ac_cv_prog_AWK
    27553303if test -n "$AWK"; then
    2756   echo "$as_me:$LINENO: result: $AWK" >&5
    2757 echo "${ECHO_T}$AWK" >&6
    2758 else
    2759   echo "$as_me:$LINENO: result: no" >&5
    2760 echo "${ECHO_T}no" >&6
    2761 fi
     3304  { echo "$as_me:$LINENO: result: $AWK" >&5
     3305echo "${ECHO_T}$AWK" >&6; }
     3306else
     3307  { echo "$as_me:$LINENO: result: no" >&5
     3308echo "${ECHO_T}no" >&6; }
     3309fi
     3310
    27623311
    27633312  test -n "$AWK" && break
     
    27683317  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27693318set dummy $ac_prog; ac_word=$2
    2770 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3319{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3320echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    27723321if test "${ac_cv_prog_YACC+set}" = set; then
    27733322  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27823331  test -z "$as_dir" && as_dir=.
    27833332  for ac_exec_ext in '' $ac_executable_extensions; do
    2784   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3333  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27853334    ac_cv_prog_YACC="$ac_prog"
    27863335    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27893338done
    27903339done
     3340IFS=$as_save_IFS
    27913341
    27923342fi
     
    27943344YACC=$ac_cv_prog_YACC
    27953345if test -n "$YACC"; then
    2796   echo "$as_me:$LINENO: result: $YACC" >&5
    2797 echo "${ECHO_T}$YACC" >&6
    2798 else
    2799   echo "$as_me:$LINENO: result: no" >&5
    2800 echo "${ECHO_T}no" >&6
    2801 fi
     3346  { echo "$as_me:$LINENO: result: $YACC" >&5
     3347echo "${ECHO_T}$YACC" >&6; }
     3348else
     3349  { echo "$as_me:$LINENO: result: no" >&5
     3350echo "${ECHO_T}no" >&6; }
     3351fi
     3352
    28023353
    28033354  test -n "$YACC" && break
     
    28063357
    28073358ac_aux_dir=
    2808 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    2809   if test -f $ac_dir/install-sh; then
     3359for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     3360  if test -f "$ac_dir/install-sh"; then
    28103361    ac_aux_dir=$ac_dir
    28113362    ac_install_sh="$ac_aux_dir/install-sh -c"
    28123363    break
    2813   elif test -f $ac_dir/install.sh; then
     3364  elif test -f "$ac_dir/install.sh"; then
    28143365    ac_aux_dir=$ac_dir
    28153366    ac_install_sh="$ac_aux_dir/install.sh -c"
    28163367    break
    2817   elif test -f $ac_dir/shtool; then
     3368  elif test -f "$ac_dir/shtool"; then
    28183369    ac_aux_dir=$ac_dir
    28193370    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    28223373done
    28233374if test -z "$ac_aux_dir"; then
    2824   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2825 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     3375  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     3376echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    28263377   { (exit 1); exit 1; }; }
    28273378fi
    2828 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2829 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2830 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     3379
     3380# These three variables are undocumented and unsupported,
     3381# and are intended to be withdrawn in a future Autoconf release.
     3382# They can cause serious problems if a builder's source tree is in a directory
     3383# whose full name contains unusual characters.
     3384ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     3385ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     3386ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     3387
    28313388
    28323389# Make sure we can run config.sub.
    2833 $ac_config_sub sun4 >/dev/null 2>&1 ||
    2834   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    2835 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     3390$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     3391  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     3392echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    28363393   { (exit 1); exit 1; }; }
    28373394
    2838 echo "$as_me:$LINENO: checking build system type" >&5
    2839 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     3395{ echo "$as_me:$LINENO: checking build system type" >&5
     3396echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
    28403397if test "${ac_cv_build+set}" = set; then
    28413398  echo $ECHO_N "(cached) $ECHO_C" >&6
    28423399else
    2843   ac_cv_build_alias=$build_alias
    2844 test -z "$ac_cv_build_alias" &&
    2845   ac_cv_build_alias=`$ac_config_guess`
    2846 test -z "$ac_cv_build_alias" &&
     3400  ac_build_alias=$build_alias
     3401test "x$ac_build_alias" = x &&
     3402  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     3403test "x$ac_build_alias" = x &&
    28473404  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    28483405echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    28493406   { (exit 1); exit 1; }; }
    2850 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    2851   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    2852 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     3407ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     3408  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     3409echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    28533410   { (exit 1); exit 1; }; }
    28543411
    28553412fi
    2856 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    2857 echo "${ECHO_T}$ac_cv_build" >&6
     3413{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     3414echo "${ECHO_T}$ac_cv_build" >&6; }
     3415case $ac_cv_build in
     3416*-*-*) ;;
     3417*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     3418echo "$as_me: error: invalid value of canonical build" >&2;}
     3419   { (exit 1); exit 1; }; };;
     3420esac
    28583421build=$ac_cv_build
    2859 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2860 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2861 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2862 
    2863 
    2864 echo "$as_me:$LINENO: checking host system type" >&5
    2865 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     3422ac_save_IFS=$IFS; IFS='-'
     3423set x $ac_cv_build
     3424shift
     3425build_cpu=$1
     3426build_vendor=$2
     3427shift; shift
     3428# Remember, the first character of IFS is used to create $*,
     3429# except with old shells:
     3430build_os=$*
     3431IFS=$ac_save_IFS
     3432case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     3433
     3434
     3435{ echo "$as_me:$LINENO: checking host system type" >&5
     3436echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
    28663437if test "${ac_cv_host+set}" = set; then
    28673438  echo $ECHO_N "(cached) $ECHO_C" >&6
    28683439else
    2869   ac_cv_host_alias=$host_alias
    2870 test -z "$ac_cv_host_alias" &&
    2871   ac_cv_host_alias=$ac_cv_build_alias
    2872 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    2873   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    2874 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     3440  if test "x$host_alias" = x; then
     3441  ac_cv_host=$ac_cv_build
     3442else
     3443  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     3444    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     3445echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    28753446   { (exit 1); exit 1; }; }
    2876 
    2877 fi
    2878 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    2879 echo "${ECHO_T}$ac_cv_host" >&6
     3447fi
     3448
     3449fi
     3450{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     3451echo "${ECHO_T}$ac_cv_host" >&6; }
     3452case $ac_cv_host in
     3453*-*-*) ;;
     3454*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     3455echo "$as_me: error: invalid value of canonical host" >&2;}
     3456   { (exit 1); exit 1; }; };;
     3457esac
    28803458host=$ac_cv_host
    2881 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2882 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2883 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2884 
    2885 
    2886 echo "$as_me:$LINENO: checking target system type" >&5
    2887 echo $ECHO_N "checking target system type... $ECHO_C" >&6
     3459ac_save_IFS=$IFS; IFS='-'
     3460set x $ac_cv_host
     3461shift
     3462host_cpu=$1
     3463host_vendor=$2
     3464shift; shift
     3465# Remember, the first character of IFS is used to create $*,
     3466# except with old shells:
     3467host_os=$*
     3468IFS=$ac_save_IFS
     3469case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     3470
     3471
     3472{ echo "$as_me:$LINENO: checking target system type" >&5
     3473echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
    28883474if test "${ac_cv_target+set}" = set; then
    28893475  echo $ECHO_N "(cached) $ECHO_C" >&6
    28903476else
    2891   ac_cv_target_alias=$target_alias
    2892 test "x$ac_cv_target_alias" = "x" &&
    2893   ac_cv_target_alias=$ac_cv_host_alias
    2894 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    2895   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    2896 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     3477  if test "x$target_alias" = x; then
     3478  ac_cv_target=$ac_cv_host
     3479else
     3480  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     3481    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     3482echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    28973483   { (exit 1); exit 1; }; }
    2898 
    2899 fi
    2900 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    2901 echo "${ECHO_T}$ac_cv_target" >&6
     3484fi
     3485
     3486fi
     3487{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     3488echo "${ECHO_T}$ac_cv_target" >&6; }
     3489case $ac_cv_target in
     3490*-*-*) ;;
     3491*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     3492echo "$as_me: error: invalid value of canonical target" >&2;}
     3493   { (exit 1); exit 1; }; };;
     3494esac
    29023495target=$ac_cv_target
    2903 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2904 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2905 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3496ac_save_IFS=$IFS; IFS='-'
     3497set x $ac_cv_target
     3498shift
     3499target_cpu=$1
     3500target_vendor=$2
     3501shift; shift
     3502# Remember, the first character of IFS is used to create $*,
     3503# except with old shells:
     3504target_os=$*
     3505IFS=$ac_save_IFS
     3506case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    29063507
    29073508
     
    29253526# OS/2's system install, which has a completely different semantic
    29263527# ./install, which can be erroneously created by make from ./install.sh.
    2927 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2928 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3528{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3529echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    29293530if test -z "$INSTALL"; then
    29303531if test "${ac_cv_path_install+set}" = set; then
     
    29483549    for ac_prog in ginstall scoinst install; do
    29493550      for ac_exec_ext in '' $ac_executable_extensions; do
    2950     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3551    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    29513552      if test $ac_prog = install &&
    29523553        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    29673568esac
    29683569done
     3570IFS=$as_save_IFS
    29693571
    29703572
     
    29733575    INSTALL=$ac_cv_path_install
    29743576  else
    2975     # As a last resort, use the slow shell script.  We don't cache a
    2976     # path for INSTALL within a source directory, because that will
     3577    # As a last resort, use the slow shell script.  Don't cache a
     3578    # value for INSTALL within a source directory, because that will
    29773579    # break other packages using the cache if that directory is
    2978     # removed, or if the path is relative.
     3580    # removed, or if the value is a relative name.
    29793581    INSTALL=$ac_install_sh
    29803582  fi
    29813583fi
    2982 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2983 echo "${ECHO_T}$INSTALL" >&6
     3584{ echo "$as_me:$LINENO: result: $INSTALL" >&5
     3585echo "${ECHO_T}$INSTALL" >&6; }
    29843586
    29853587# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    29913593test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    29923594
    2993 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    2994 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3595{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3596echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
    29953597LN_S=$as_ln_s
    29963598if test "$LN_S" = "ln -s"; then
    2997   echo "$as_me:$LINENO: result: yes" >&5
    2998 echo "${ECHO_T}yes" >&6
    2999 else
    3000   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3001 echo "${ECHO_T}no, using $LN_S" >&6
    3002 fi
    3003 
    3004 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3005 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3006 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3007 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3599  { echo "$as_me:$LINENO: result: yes" >&5
     3600echo "${ECHO_T}yes" >&6; }
     3601else
     3602  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3603echo "${ECHO_T}no, using $LN_S" >&6; }
     3604fi
     3605
     3606{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3607echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
     3608set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3609if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    30083610  echo $ECHO_N "(cached) $ECHO_C" >&6
    30093611else
    30103612  cat >conftest.make <<\_ACEOF
     3613SHELL = /bin/sh
    30113614all:
    3012     @echo 'ac_maketemp="$(MAKE)"'
     3615    @echo '@@@%%%=$(MAKE)=@@@%%%'
    30133616_ACEOF
    30143617# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3015 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    3016 if test -n "$ac_maketemp"; then
    3017   eval ac_cv_prog_make_${ac_make}_set=yes
    3018 else
    3019   eval ac_cv_prog_make_${ac_make}_set=no
    3020 fi
     3618case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3619  *@@@%%%=?*=@@@%%%*)
     3620    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3621  *)
     3622    eval ac_cv_prog_make_${ac_make}_set=no;;
     3623esac
    30213624rm -f conftest.make
    30223625fi
    3023 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3024   echo "$as_me:$LINENO: result: yes" >&5
    3025 echo "${ECHO_T}yes" >&6
     3626if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3627  { echo "$as_me:$LINENO: result: yes" >&5
     3628echo "${ECHO_T}yes" >&6; }
    30263629  SET_MAKE=
    30273630else
    3028   echo "$as_me:$LINENO: result: no" >&5
    3029 echo "${ECHO_T}no" >&6
     3631  { echo "$as_me:$LINENO: result: no" >&5
     3632echo "${ECHO_T}no" >&6; }
    30303633  SET_MAKE="MAKE=${MAKE-make}"
    30313634fi
     
    30343637  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    30353638set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3036 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3639{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3640echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30383641if test "${ac_cv_prog_RANLIB+set}" = set; then
    30393642  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30483651  test -z "$as_dir" && as_dir=.
    30493652  for ac_exec_ext in '' $ac_executable_extensions; do
    3050   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3653  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30513654    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    30523655    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30553658done
    30563659done
     3660IFS=$as_save_IFS
    30573661
    30583662fi
     
    30603664RANLIB=$ac_cv_prog_RANLIB
    30613665if test -n "$RANLIB"; then
    3062   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3063 echo "${ECHO_T}$RANLIB" >&6
    3064 else
    3065   echo "$as_me:$LINENO: result: no" >&5
    3066 echo "${ECHO_T}no" >&6
    3067 fi
     3666  { echo "$as_me:$LINENO: result: $RANLIB" >&5
     3667echo "${ECHO_T}$RANLIB" >&6; }
     3668else
     3669  { echo "$as_me:$LINENO: result: no" >&5
     3670echo "${ECHO_T}no" >&6; }
     3671fi
     3672
    30683673
    30693674fi
     
    30723677  # Extract the first word of "ranlib", so it can be a program name with args.
    30733678set dummy ranlib; ac_word=$2
    3074 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3679{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3680echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30763681if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    30773682  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30863691  test -z "$as_dir" && as_dir=.
    30873692  for ac_exec_ext in '' $ac_executable_extensions; do
    3088   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3693  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30893694    ac_cv_prog_ac_ct_RANLIB="ranlib"
    30903695    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30933698done
    30943699done
    3095 
    3096   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     3700IFS=$as_save_IFS
     3701
    30973702fi
    30983703fi
    30993704ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    31003705if test -n "$ac_ct_RANLIB"; then
    3101   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3102 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3103 else
    3104   echo "$as_me:$LINENO: result: no" >&5
    3105 echo "${ECHO_T}no" >&6
    3106 fi
    3107 
    3108   RANLIB=$ac_ct_RANLIB
     3706  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3707echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
     3708else
     3709  { echo "$as_me:$LINENO: result: no" >&5
     3710echo "${ECHO_T}no" >&6; }
     3711fi
     3712
     3713  if test "x$ac_ct_RANLIB" = x; then
     3714    RANLIB=":"
     3715  else
     3716    case $cross_compiling:$ac_tool_warned in
     3717yes:)
     3718{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3719whose name does not start with the host triplet.  If you think this
     3720configuration is useful to you, please write to autoconf@gnu.org." >&5
     3721echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3722whose name does not start with the host triplet.  If you think this
     3723configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3724ac_tool_warned=yes ;;
     3725esac
     3726    RANLIB=$ac_ct_RANLIB
     3727  fi
    31093728else
    31103729  RANLIB="$ac_cv_prog_RANLIB"
     
    31123731
    31133732
    3114 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3115 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     3733{ echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3734echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
    31163735arch_64bit=no
    31173736case "$host_cpu" in
     
    31203739
    31213740if test "$arch_64bit" = yes; then
    3122   echo "$as_me:$LINENO: result: yes" >&5
    3123 echo "${ECHO_T}yes" >&6
     3741  { echo "$as_me:$LINENO: result: yes" >&5
     3742echo "${ECHO_T}yes" >&6; }
    31243743  if test -z "$COMPAT32BITFLAGS" ; then
    31253744    COMPAT32BITFLAGS="-m32"
    31263745  fi
    31273746else
    3128   echo "$as_me:$LINENO: result: no" >&5
    3129 echo "${ECHO_T}no" >&6
     3747  { echo "$as_me:$LINENO: result: no" >&5
     3748echo "${ECHO_T}no" >&6; }
    31303749  if test -z "$COMPAT32BITFLAGS" ; then
    31313750    COMPAT32BITFLAGS=
     
    31743793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    31753794ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3176 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3177 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3795{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3796echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    31783797# On Suns, sometimes $CPP names a directory.
    31793798if test -n "$CPP" && test -d "$CPP"; then
     
    32093828             Syntax error
    32103829_ACEOF
    3211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3212   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3830if { (ac_try="$ac_cpp conftest.$ac_ext"
     3831case "(($ac_try" in
     3832  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3833  *) ac_try_echo=$ac_try;;
     3834esac
     3835eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3836  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32133837  ac_status=$?
    32143838  grep -v '^ *+' conftest.er1 >conftest.err
     
    32163840  cat conftest.err >&5
    32173841  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3218   (exit $ac_status); } >/dev/null; then
    3219   if test -s conftest.err; then
    3220     ac_cpp_err=$ac_c_preproc_warn_flag
    3221     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3222   else
    3223     ac_cpp_err=
    3224   fi
    3225 else
    3226   ac_cpp_err=yes
    3227 fi
    3228 if test -z "$ac_cpp_err"; then
     3842  (exit $ac_status); } >/dev/null && {
     3843     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3844     test ! -s conftest.err
     3845       }; then
    32293846  :
    32303847else
     
    32353852continue
    32363853fi
     3854
    32373855rm -f conftest.err conftest.$ac_ext
    32383856
    3239   # OK, works on sane cases.  Now check whether non-existent headers
     3857  # OK, works on sane cases.  Now check whether nonexistent headers
    32403858  # can be detected and how.
    32413859  cat >conftest.$ac_ext <<_ACEOF
     
    32473865#include <ac_nonexistent.h>
    32483866_ACEOF
    3249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3250   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3867if { (ac_try="$ac_cpp conftest.$ac_ext"
     3868case "(($ac_try" in
     3869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3870  *) ac_try_echo=$ac_try;;
     3871esac
     3872eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3873  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32513874  ac_status=$?
    32523875  grep -v '^ *+' conftest.er1 >conftest.err
     
    32543877  cat conftest.err >&5
    32553878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3256   (exit $ac_status); } >/dev/null; then
    3257   if test -s conftest.err; then
    3258     ac_cpp_err=$ac_c_preproc_warn_flag
    3259     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3260   else
    3261     ac_cpp_err=
    3262   fi
    3263 else
    3264   ac_cpp_err=yes
    3265 fi
    3266 if test -z "$ac_cpp_err"; then
     3879  (exit $ac_status); } >/dev/null && {
     3880     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3881     test ! -s conftest.err
     3882       }; then
    32673883  # Broken: success on invalid input.
    32683884continue
     
    32753891break
    32763892fi
     3893
    32773894rm -f conftest.err conftest.$ac_ext
    32783895
     
    32923909  ac_cv_prog_CPP=$CPP
    32933910fi
    3294 echo "$as_me:$LINENO: result: $CPP" >&5
    3295 echo "${ECHO_T}$CPP" >&6
     3911{ echo "$as_me:$LINENO: result: $CPP" >&5
     3912echo "${ECHO_T}$CPP" >&6; }
    32963913ac_preproc_ok=false
    32973914for ac_c_preproc_warn_flag in '' yes
     
    33163933             Syntax error
    33173934_ACEOF
    3318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3319   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3935if { (ac_try="$ac_cpp conftest.$ac_ext"
     3936case "(($ac_try" in
     3937  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3938  *) ac_try_echo=$ac_try;;
     3939esac
     3940eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3941  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33203942  ac_status=$?
    33213943  grep -v '^ *+' conftest.er1 >conftest.err
     
    33233945  cat conftest.err >&5
    33243946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3325   (exit $ac_status); } >/dev/null; then
    3326   if test -s conftest.err; then
    3327     ac_cpp_err=$ac_c_preproc_warn_flag
    3328     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3329   else
    3330     ac_cpp_err=
    3331   fi
    3332 else
    3333   ac_cpp_err=yes
    3334 fi
    3335 if test -z "$ac_cpp_err"; then
     3947  (exit $ac_status); } >/dev/null && {
     3948     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3949     test ! -s conftest.err
     3950       }; then
    33363951  :
    33373952else
     
    33423957continue
    33433958fi
     3959
    33443960rm -f conftest.err conftest.$ac_ext
    33453961
    3346   # OK, works on sane cases.  Now check whether non-existent headers
     3962  # OK, works on sane cases.  Now check whether nonexistent headers
    33473963  # can be detected and how.
    33483964  cat >conftest.$ac_ext <<_ACEOF
     
    33543970#include <ac_nonexistent.h>
    33553971_ACEOF
    3356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3357   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3972if { (ac_try="$ac_cpp conftest.$ac_ext"
     3973case "(($ac_try" in
     3974  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3975  *) ac_try_echo=$ac_try;;
     3976esac
     3977eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3978  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33583979  ac_status=$?
    33593980  grep -v '^ *+' conftest.er1 >conftest.err
     
    33613982  cat conftest.err >&5
    33623983  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3363   (exit $ac_status); } >/dev/null; then
    3364   if test -s conftest.err; then
    3365     ac_cpp_err=$ac_c_preproc_warn_flag
    3366     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3367   else
    3368     ac_cpp_err=
    3369   fi
    3370 else
    3371   ac_cpp_err=yes
    3372 fi
    3373 if test -z "$ac_cpp_err"; then
     3984  (exit $ac_status); } >/dev/null && {
     3985     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3986     test ! -s conftest.err
     3987       }; then
    33743988  # Broken: success on invalid input.
    33753989continue
     
    33823996break
    33833997fi
     3998
    33843999rm -f conftest.err conftest.$ac_ext
    33854000
     
    34044019
    34054020
    3406 echo "$as_me:$LINENO: checking for egrep" >&5
    3407 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3408 if test "${ac_cv_prog_egrep+set}" = set; then
     4021{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4022echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
     4023if test "${ac_cv_path_GREP+set}" = set; then
    34094024  echo $ECHO_N "(cached) $ECHO_C" >&6
    34104025else
    3411   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3412     then ac_cv_prog_egrep='grep -E'
    3413     else ac_cv_prog_egrep='egrep'
     4026  # Extract the first word of "grep ggrep" to use in msg output
     4027if test -z "$GREP"; then
     4028set dummy grep ggrep; ac_prog_name=$2
     4029if test "${ac_cv_path_GREP+set}" = set; then
     4030  echo $ECHO_N "(cached) $ECHO_C" >&6
     4031else
     4032  ac_path_GREP_found=false
     4033# Loop through the user's path and test for each of PROGNAME-LIST
     4034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4035for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4036do
     4037  IFS=$as_save_IFS
     4038  test -z "$as_dir" && as_dir=.
     4039  for ac_prog in grep ggrep; do
     4040  for ac_exec_ext in '' $ac_executable_extensions; do
     4041    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4042    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4043    # Check for GNU ac_path_GREP and select it if it is found.
     4044  # Check for GNU $ac_path_GREP
     4045case `"$ac_path_GREP" --version 2>&1` in
     4046*GNU*)
     4047  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4048*)
     4049  ac_count=0
     4050  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4051  while :
     4052  do
     4053    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4054    mv "conftest.tmp" "conftest.in"
     4055    cp "conftest.in" "conftest.nl"
     4056    echo 'GREP' >> "conftest.nl"
     4057    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4058    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4059    ac_count=`expr $ac_count + 1`
     4060    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4061      # Best one so far, save it but keep looking for a better one
     4062      ac_cv_path_GREP="$ac_path_GREP"
     4063      ac_path_GREP_max=$ac_count
    34144064    fi
    3415 fi
    3416 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3417 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3418  EGREP=$ac_cv_prog_egrep
    3419 
    3420 
    3421 
    3422 echo "$as_me:$LINENO: checking for AIX" >&5
    3423 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     4065    # 10*(2^10) chars as input seems more than enough
     4066    test $ac_count -gt 10 && break
     4067  done
     4068  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4069esac
     4070
     4071
     4072    $ac_path_GREP_found && break 3
     4073  done
     4074done
     4075
     4076done
     4077IFS=$as_save_IFS
     4078
     4079
     4080fi
     4081
     4082GREP="$ac_cv_path_GREP"
     4083if test -z "$GREP"; then
     4084  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4085echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4086   { (exit 1); exit 1; }; }
     4087fi
     4088
     4089else
     4090  ac_cv_path_GREP=$GREP
     4091fi
     4092
     4093
     4094fi
     4095{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4096echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     4097 GREP="$ac_cv_path_GREP"
     4098
     4099
     4100{ echo "$as_me:$LINENO: checking for egrep" >&5
     4101echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
     4102if test "${ac_cv_path_EGREP+set}" = set; then
     4103  echo $ECHO_N "(cached) $ECHO_C" >&6
     4104else
     4105  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4106   then ac_cv_path_EGREP="$GREP -E"
     4107   else
     4108     # Extract the first word of "egrep" to use in msg output
     4109if test -z "$EGREP"; then
     4110set dummy egrep; ac_prog_name=$2
     4111if test "${ac_cv_path_EGREP+set}" = set; then
     4112  echo $ECHO_N "(cached) $ECHO_C" >&6
     4113else
     4114  ac_path_EGREP_found=false
     4115# Loop through the user's path and test for each of PROGNAME-LIST
     4116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4117for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4118do
     4119  IFS=$as_save_IFS
     4120  test -z "$as_dir" && as_dir=.
     4121  for ac_prog in egrep; do
     4122  for ac_exec_ext in '' $ac_executable_extensions; do
     4123    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4124    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4125    # Check for GNU ac_path_EGREP and select it if it is found.
     4126  # Check for GNU $ac_path_EGREP
     4127case `"$ac_path_EGREP" --version 2>&1` in
     4128*GNU*)
     4129  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4130*)
     4131  ac_count=0
     4132  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4133  while :
     4134  do
     4135    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4136    mv "conftest.tmp" "conftest.in"
     4137    cp "conftest.in" "conftest.nl"
     4138    echo 'EGREP' >> "conftest.nl"
     4139    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4140    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4141    ac_count=`expr $ac_count + 1`
     4142    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4143      # Best one so far, save it but keep looking for a better one
     4144      ac_cv_path_EGREP="$ac_path_EGREP"
     4145      ac_path_EGREP_max=$ac_count
     4146    fi
     4147    # 10*(2^10) chars as input seems more than enough
     4148    test $ac_count -gt 10 && break
     4149  done
     4150  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4151esac
     4152
     4153
     4154    $ac_path_EGREP_found && break 3
     4155  done
     4156done
     4157
     4158done
     4159IFS=$as_save_IFS
     4160
     4161
     4162fi
     4163
     4164EGREP="$ac_cv_path_EGREP"
     4165if test -z "$EGREP"; then
     4166  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4167echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4168   { (exit 1); exit 1; }; }
     4169fi
     4170
     4171else
     4172  ac_cv_path_EGREP=$EGREP
     4173fi
     4174
     4175
     4176   fi
     4177fi
     4178{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4179echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     4180 EGREP="$ac_cv_path_EGREP"
     4181
     4182
     4183
     4184{ echo "$as_me:$LINENO: checking for AIX" >&5
     4185echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
    34244186cat >conftest.$ac_ext <<_ACEOF
    34254187/* confdefs.h.  */
     
    34354197if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    34364198  $EGREP "yes" >/dev/null 2>&1; then
    3437   echo "$as_me:$LINENO: result: yes" >&5
    3438 echo "${ECHO_T}yes" >&6
     4199  { echo "$as_me:$LINENO: result: yes" >&5
     4200echo "${ECHO_T}yes" >&6; }
    34394201cat >>confdefs.h <<\_ACEOF
    34404202#define _ALL_SOURCE 1
     
    34424204
    34434205else
    3444   echo "$as_me:$LINENO: result: no" >&5
    3445 echo "${ECHO_T}no" >&6
     4206  { echo "$as_me:$LINENO: result: no" >&5
     4207echo "${ECHO_T}no" >&6; }
    34464208fi
    34474209rm -f conftest*
    34484210
    34494211
    3450 echo "$as_me:$LINENO: checking for library containing strerror" >&5
    3451 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     4212{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
     4213echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
    34524214if test "${ac_cv_search_strerror+set}" = set; then
    34534215  echo $ECHO_N "(cached) $ECHO_C" >&6
    34544216else
    34554217  ac_func_search_save_LIBS=$LIBS
    3456 ac_cv_search_strerror=no
    34574218cat >conftest.$ac_ext <<_ACEOF
    34584219/* confdefs.h.  */
     
    34624223/* end confdefs.h.  */
    34634224
    3464 /* Override any gcc2 internal prototype to avoid an error.  */
     4225/* Override any GCC internal prototype to avoid an error.
     4226   Use char because int might match the return type of a GCC
     4227   builtin and then its argument prototype would still apply.  */
    34654228#ifdef __cplusplus
    34664229extern "C"
    34674230#endif
    3468 /* We use char because int might match the return type of a gcc2
    3469    builtin and then its argument prototype would still apply.  */
    34704231char strerror ();
    34714232int
    34724233main ()
    34734234{
    3474 strerror ();
     4235return strerror ();
    34754236  ;
    34764237  return 0;
    34774238}
    34784239_ACEOF
    3479 rm -f conftest.$ac_objext conftest$ac_exeext
    3480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3481   (eval $ac_link) 2>conftest.er1
     4240for ac_lib in '' cposix; do
     4241  if test -z "$ac_lib"; then
     4242    ac_res="none required"
     4243  else
     4244    ac_res=-l$ac_lib
     4245    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4246  fi
     4247  rm -f conftest.$ac_objext conftest$ac_exeext
     4248if { (ac_try="$ac_link"
     4249case "(($ac_try" in
     4250  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4251  *) ac_try_echo=$ac_try;;
     4252esac
     4253eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4254  (eval "$ac_link") 2>conftest.er1
    34824255  ac_status=$?
    34834256  grep -v '^ *+' conftest.er1 >conftest.err
     
    34854258  cat conftest.err >&5
    34864259  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3487   (exit $ac_status); } &&
    3488      { ac_try='test -z "$ac_c_werror_flag"
    3489              || test ! -s conftest.err'
    3490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3491   (eval $ac_try) 2>&5
    3492   ac_status=$?
    3493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3494   (exit $ac_status); }; } &&
    3495      { ac_try='test -s conftest$ac_exeext'
    3496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3497   (eval $ac_try) 2>&5
    3498   ac_status=$?
    3499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3500   (exit $ac_status); }; }; then
    3501   ac_cv_search_strerror="none required"
     4260  (exit $ac_status); } && {
     4261     test -z "$ac_c_werror_flag" ||
     4262     test ! -s conftest.err
     4263       } && test -s conftest$ac_exeext &&
     4264       $as_test_x conftest$ac_exeext; then
     4265  ac_cv_search_strerror=$ac_res
    35024266else
    35034267  echo "$as_me: failed program was:" >&5
    35044268sed 's/^/| /' conftest.$ac_ext >&5
    35054269
    3506 fi
    3507 rm -f conftest.err conftest.$ac_objext \
    3508       conftest$ac_exeext conftest.$ac_ext
    3509 if test "$ac_cv_search_strerror" = no; then
    3510   for ac_lib in cposix; do
    3511     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    3512     cat >conftest.$ac_ext <<_ACEOF
    3513 /* confdefs.h.  */
    3514 _ACEOF
    3515 cat confdefs.h >>conftest.$ac_ext
    3516 cat >>conftest.$ac_ext <<_ACEOF
    3517 /* end confdefs.h.  */
    3518 
    3519 /* Override any gcc2 internal prototype to avoid an error.  */
    3520 #ifdef __cplusplus
    3521 extern "C"
    3522 #endif
    3523 /* We use char because int might match the return type of a gcc2
    3524    builtin and then its argument prototype would still apply.  */
    3525 char strerror ();
    3526 int
    3527 main ()
    3528 {
    3529 strerror ();
    3530   ;
    3531   return 0;
    3532 }
    3533 _ACEOF
    3534 rm -f conftest.$ac_objext conftest$ac_exeext
    3535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3536   (eval $ac_link) 2>conftest.er1
    3537   ac_status=$?
    3538   grep -v '^ *+' conftest.er1 >conftest.err
    3539   rm -f conftest.er1
    3540   cat conftest.err >&5
    3541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3542   (exit $ac_status); } &&
    3543      { ac_try='test -z "$ac_c_werror_flag"
    3544              || test ! -s conftest.err'
    3545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3546   (eval $ac_try) 2>&5
    3547   ac_status=$?
    3548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3549   (exit $ac_status); }; } &&
    3550      { ac_try='test -s conftest$ac_exeext'
    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); }; }; then
    3556   ac_cv_search_strerror="-l$ac_lib"
    3557 break
    3558 else
    3559   echo "$as_me: failed program was:" >&5
    3560 sed 's/^/| /' conftest.$ac_ext >&5
    3561 
    3562 fi
    3563 rm -f conftest.err conftest.$ac_objext \
    3564       conftest$ac_exeext conftest.$ac_ext
    3565   done
    3566 fi
     4270
     4271fi
     4272
     4273rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4274      conftest$ac_exeext
     4275  if test "${ac_cv_search_strerror+set}" = set; then
     4276  break
     4277fi
     4278done
     4279if test "${ac_cv_search_strerror+set}" = set; then
     4280  :
     4281else
     4282  ac_cv_search_strerror=no
     4283fi
     4284rm conftest.$ac_ext
    35674285LIBS=$ac_func_search_save_LIBS
    35684286fi
    3569 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    3570 echo "${ECHO_T}$ac_cv_search_strerror" >&6
    3571 if test "$ac_cv_search_strerror" != no; then
    3572   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
    3573 
    3574 fi
    3575 
    3576 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3577 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4287{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     4288echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
     4289ac_res=$ac_cv_search_strerror
     4290if test "$ac_res" != no; then
     4291  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     4292
     4293fi
     4294
     4295{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4296echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    35784297if test "${ac_cv_header_stdc+set}" = set; then
    35794298  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    35994318_ACEOF
    36004319rm -f conftest.$ac_objext
    3601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3602   (eval $ac_compile) 2>conftest.er1
     4320if { (ac_try="$ac_compile"
     4321case "(($ac_try" in
     4322  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4323  *) ac_try_echo=$ac_try;;
     4324esac
     4325eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4326  (eval "$ac_compile") 2>conftest.er1
    36034327  ac_status=$?
    36044328  grep -v '^ *+' conftest.er1 >conftest.err
     
    36064330  cat conftest.err >&5
    36074331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3608   (exit $ac_status); } &&
    3609      { ac_try='test -z "$ac_c_werror_flag"
    3610              || test ! -s conftest.err'
    3611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3612   (eval $ac_try) 2>&5
    3613   ac_status=$?
    3614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3615   (exit $ac_status); }; } &&
    3616      { ac_try='test -s conftest.$ac_objext'
    3617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3618   (eval $ac_try) 2>&5
    3619   ac_status=$?
    3620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3621   (exit $ac_status); }; }; then
     4332  (exit $ac_status); } && {
     4333     test -z "$ac_c_werror_flag" ||
     4334     test ! -s conftest.err
     4335       } && test -s conftest.$ac_objext; then
    36224336  ac_cv_header_stdc=yes
    36234337else
     
    36254339sed 's/^/| /' conftest.$ac_ext >&5
    36264340
    3627 ac_cv_header_stdc=no
    3628 fi
    3629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4341    ac_cv_header_stdc=no
     4342fi
     4343
     4344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36304345
    36314346if test $ac_cv_header_stdc = yes; then
     
    36834398/* end confdefs.h.  */
    36844399#include <ctype.h>
     4400#include <stdlib.h>
    36854401#if ((' ' & 0x0FF) == 0x020)
    36864402# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    37024418    if (XOR (islower (i), ISLOWER (i))
    37034419    || toupper (i) != TOUPPER (i))
    3704       exit(2);
    3705   exit (0);
     4420      return 2;
     4421  return 0;
    37064422}
    37074423_ACEOF
    37084424rm -f conftest$ac_exeext
    3709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3710   (eval $ac_link) 2>&5
     4425if { (ac_try="$ac_link"
     4426case "(($ac_try" in
     4427  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4428  *) ac_try_echo=$ac_try;;
     4429esac
     4430eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4431  (eval "$ac_link") 2>&5
    37114432  ac_status=$?
    37124433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37134434  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3715   (eval $ac_try) 2>&5
     4435  { (case "(($ac_try" in
     4436  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4437  *) ac_try_echo=$ac_try;;
     4438esac
     4439eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4440  (eval "$ac_try") 2>&5
    37164441  ac_status=$?
    37174442  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    37264451ac_cv_header_stdc=no
    37274452fi
    3728 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3729 fi
    3730 fi
    3731 fi
    3732 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3733 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4453rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4454fi
     4455
     4456
     4457fi
     4458fi
     4459{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4460echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    37344461if test $ac_cv_header_stdc = yes; then
    37354462
     
    37544481do
    37554482as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3756 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4483{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4484echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4485if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    37594486  echo $ECHO_N "(cached) $ECHO_C" >&6
    37604487else
     
    37704497_ACEOF
    37714498rm -f conftest.$ac_objext
    3772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3773   (eval $ac_compile) 2>conftest.er1
     4499if { (ac_try="$ac_compile"
     4500case "(($ac_try" in
     4501  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4502  *) ac_try_echo=$ac_try;;
     4503esac
     4504eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4505  (eval "$ac_compile") 2>conftest.er1
    37744506  ac_status=$?
    37754507  grep -v '^ *+' conftest.er1 >conftest.err
     
    37774509  cat conftest.err >&5
    37784510  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3779   (exit $ac_status); } &&
    3780      { ac_try='test -z "$ac_c_werror_flag"
    3781              || test ! -s conftest.err'
    3782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3783   (eval $ac_try) 2>&5
    3784   ac_status=$?
    3785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3786   (exit $ac_status); }; } &&
    3787      { ac_try='test -s conftest.$ac_objext'
    3788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3789   (eval $ac_try) 2>&5
    3790   ac_status=$?
    3791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3792   (exit $ac_status); }; }; then
     4511  (exit $ac_status); } && {
     4512     test -z "$ac_c_werror_flag" ||
     4513     test ! -s conftest.err
     4514       } && test -s conftest.$ac_objext; then
    37934515  eval "$as_ac_Header=yes"
    37944516else
     
    37964518sed 's/^/| /' conftest.$ac_ext >&5
    37974519
    3798 eval "$as_ac_Header=no"
    3799 fi
    3800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3801 fi
    3802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4520    eval "$as_ac_Header=no"
     4521fi
     4522
     4523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4524fi
     4525ac_res=`eval echo '${'$as_ac_Header'}'`
     4526           { echo "$as_me:$LINENO: result: $ac_res" >&5
     4527echo "${ECHO_T}$ac_res" >&6; }
    38044528if test `eval echo '${'$as_ac_Header'}'` = yes; then
    38054529  cat >>confdefs.h <<_ACEOF
     
    38134537
    38144538if test "${ac_cv_header_minix_config_h+set}" = set; then
    3815   echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3816 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4539  { echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4540echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    38174541if test "${ac_cv_header_minix_config_h+set}" = set; then
    38184542  echo $ECHO_N "(cached) $ECHO_C" >&6
    38194543fi
    3820 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3821 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4544{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4545echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    38224546else
    38234547  # Is the header compilable?
    3824 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    3825 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     4548{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4549echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
    38264550cat >conftest.$ac_ext <<_ACEOF
    38274551/* confdefs.h.  */
     
    38344558_ACEOF
    38354559rm -f conftest.$ac_objext
    3836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3837   (eval $ac_compile) 2>conftest.er1
     4560if { (ac_try="$ac_compile"
     4561case "(($ac_try" in
     4562  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4563  *) ac_try_echo=$ac_try;;
     4564esac
     4565eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4566  (eval "$ac_compile") 2>conftest.er1
    38384567  ac_status=$?
    38394568  grep -v '^ *+' conftest.er1 >conftest.err
     
    38414570  cat conftest.err >&5
    38424571  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3843   (exit $ac_status); } &&
    3844      { ac_try='test -z "$ac_c_werror_flag"
    3845              || test ! -s conftest.err'
    3846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3847   (eval $ac_try) 2>&5
    3848   ac_status=$?
    3849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3850   (exit $ac_status); }; } &&
    3851      { ac_try='test -s conftest.$ac_objext'
    3852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3853   (eval $ac_try) 2>&5
    3854   ac_status=$?
    3855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3856   (exit $ac_status); }; }; then
     4572  (exit $ac_status); } && {
     4573     test -z "$ac_c_werror_flag" ||
     4574     test ! -s conftest.err
     4575       } && test -s conftest.$ac_objext; then
    38574576  ac_header_compiler=yes
    38584577else
     
    38604579sed 's/^/| /' conftest.$ac_ext >&5
    38614580
    3862 ac_header_compiler=no
    3863 fi
    3864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3866 echo "${ECHO_T}$ac_header_compiler" >&6
     4581    ac_header_compiler=no
     4582fi
     4583
     4584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4585{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4586echo "${ECHO_T}$ac_header_compiler" >&6; }
    38674587
    38684588# Is the header present?
    3869 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    3870 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     4589{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4590echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
    38714591cat >conftest.$ac_ext <<_ACEOF
    38724592/* confdefs.h.  */
     
    38774597#include <minix/config.h>
    38784598_ACEOF
    3879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3880   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4599if { (ac_try="$ac_cpp conftest.$ac_ext"
     4600case "(($ac_try" in
     4601  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4602  *) ac_try_echo=$ac_try;;
     4603esac
     4604eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4605  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    38814606  ac_status=$?
    38824607  grep -v '^ *+' conftest.er1 >conftest.err
     
    38844609  cat conftest.err >&5
    38854610  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3886   (exit $ac_status); } >/dev/null; then
    3887   if test -s conftest.err; then
    3888     ac_cpp_err=$ac_c_preproc_warn_flag
    3889     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3890   else
    3891     ac_cpp_err=
    3892   fi
    3893 else
    3894   ac_cpp_err=yes
    3895 fi
    3896 if test -z "$ac_cpp_err"; then
     4611  (exit $ac_status); } >/dev/null && {
     4612     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4613     test ! -s conftest.err
     4614       }; then
    38974615  ac_header_preproc=yes
    38984616else
     
    39024620  ac_header_preproc=no
    39034621fi
     4622
    39044623rm -f conftest.err conftest.$ac_ext
    3905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3906 echo "${ECHO_T}$ac_header_preproc" >&6
     4624{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4625echo "${ECHO_T}$ac_header_preproc" >&6; }
    39074626
    39084627# So?  What about this header?
     
    39284647    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    39294648echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    3930     (
    3931       cat <<\_ASBOX
    3932 ## ------------------------------------------ ##
    3933 ## Report this to the AC_PACKAGE_NAME lists.  ##
    3934 ## ------------------------------------------ ##
    3935 _ASBOX
    3936     ) |
    3937       sed "s/^/$as_me: WARNING:     /" >&2
     4649
    39384650    ;;
    39394651esac
    3940 echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3941 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4652{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4653echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    39424654if test "${ac_cv_header_minix_config_h+set}" = set; then
    39434655  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    39454657  ac_cv_header_minix_config_h=$ac_header_preproc
    39464658fi
    3947 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3948 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4659{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4660echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    39494661
    39504662fi
     
    39744686fi
    39754687
    3976 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    3977 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     4688{ echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     4689echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
    39784690if test "${ac_cv_prog_cc_stdc+set}" = set; then
    39794691  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    40114723_ACEOF
    40124724rm -f conftest.$ac_objext
    4013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4014   (eval $ac_compile) 2>conftest.er1
     4725if { (ac_try="$ac_compile"
     4726case "(($ac_try" in
     4727  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4728  *) ac_try_echo=$ac_try;;
     4729esac
     4730eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4731  (eval "$ac_compile") 2>conftest.er1
    40154732  ac_status=$?
    40164733  grep -v '^ *+' conftest.er1 >conftest.err
     
    40184735  cat conftest.err >&5
    40194736  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4020   (exit $ac_status); } &&
    4021      { ac_try='test -z "$ac_c_werror_flag"
    4022              || test ! -s conftest.err'
    4023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4024   (eval $ac_try) 2>&5
    4025   ac_status=$?
    4026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4027   (exit $ac_status); }; } &&
    4028      { ac_try='test -s conftest.$ac_objext'
    4029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4030   (eval $ac_try) 2>&5
    4031   ac_status=$?
    4032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4033   (exit $ac_status); }; }; then
     4737  (exit $ac_status); } && {
     4738     test -z "$ac_c_werror_flag" ||
     4739     test ! -s conftest.err
     4740       } && test -s conftest.$ac_objext; then
    40344741  ac_cv_prog_cc_stdc="$ac_arg"; break
    40354742else
     
    40374744sed 's/^/| /' conftest.$ac_ext >&5
    40384745
    4039 fi
    4040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4746
     4747fi
     4748
     4749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    40414750done
    40424751CFLAGS="$ac_save_CFLAGS"
     
    40444753fi
    40454754
    4046 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4047 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     4755{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4756echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
    40484757case "x$ac_cv_prog_cc_stdc" in
    40494758  x|xno) ;;
     
    40524761
    40534762
    4054 echo "$as_me:$LINENO: checking for function prototypes" >&5
    4055 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     4763{ echo "$as_me:$LINENO: checking for function prototypes" >&5
     4764echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
    40564765if test "$ac_cv_prog_cc_stdc" != no; then
    4057   echo "$as_me:$LINENO: result: yes" >&5
    4058 echo "${ECHO_T}yes" >&6
     4766  { echo "$as_me:$LINENO: result: yes" >&5
     4767echo "${ECHO_T}yes" >&6; }
    40594768  cat >>confdefs.h <<\_ACEOF
    40604769#define PROTOTYPES 1
     
    40634772  U= ANSI2KNR=
    40644773else
    4065   echo "$as_me:$LINENO: result: no" >&5
    4066 echo "${ECHO_T}no" >&6
     4774  { echo "$as_me:$LINENO: result: no" >&5
     4775echo "${ECHO_T}no" >&6; }
    40674776  U=_ ANSI2KNR=ansi2knr
    40684777fi
    40694778
    4070 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4071 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     4779{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4780echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
    40724781if test "${ac_cv_c_const+set}" = set; then
    40734782  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    40874796  /* Ultrix mips cc rejects this.  */
    40884797  typedef int charset[2];
    4089   const charset x;
     4798  const charset cs;
    40904799  /* SunOS 4.1.1 cc rejects this.  */
    4091   char const *const *ccp;
    4092   char **p;
     4800  char const *const *pcpcc;
     4801  char **ppc;
    40934802  /* NEC SVR4.0.2 mips cc rejects this.  */
    40944803  struct point {int x, y;};
     
    40994808     expression */
    41004809  const char *g = "string";
    4101   ccp = &g + (g ? g-g : 0);
     4810  pcpcc = &g + (g ? g-g : 0);
    41024811  /* HPUX 7.0 cc rejects these. */
    4103   ++ccp;
    4104   p = (char**) ccp;
    4105   ccp = (char const *const *) p;
     4812  ++pcpcc;
     4813  ppc = (char**) pcpcc;
     4814  pcpcc = (char const *const *) ppc;
    41064815  { /* SCO 3.2v4 cc rejects this.  */
    41074816    char *t;
     
    41094818
    41104819    *t++ = 0;
     4820    if (s) return 0;
    41114821  }
    41124822  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    41274837  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    41284838    const int foo = 10;
     4839    if (!foo) return 0;
    41294840  }
     4841  return !cs[0] && !zero.x;
    41304842#endif
    41314843
     
    41354847_ACEOF
    41364848rm -f conftest.$ac_objext
    4137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4138   (eval $ac_compile) 2>conftest.er1
     4849if { (ac_try="$ac_compile"
     4850case "(($ac_try" in
     4851  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4852  *) ac_try_echo=$ac_try;;
     4853esac
     4854eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4855  (eval "$ac_compile") 2>conftest.er1
    41394856  ac_status=$?
    41404857  grep -v '^ *+' conftest.er1 >conftest.err
     
    41424859  cat conftest.err >&5
    41434860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4144   (exit $ac_status); } &&
    4145      { ac_try='test -z "$ac_c_werror_flag"
    4146              || test ! -s conftest.err'
    4147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4148   (eval $ac_try) 2>&5
    4149   ac_status=$?
    4150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4151   (exit $ac_status); }; } &&
    4152      { ac_try='test -s conftest.$ac_objext'
    4153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4154   (eval $ac_try) 2>&5
    4155   ac_status=$?
    4156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4157   (exit $ac_status); }; }; then
     4861  (exit $ac_status); } && {
     4862     test -z "$ac_c_werror_flag" ||
     4863     test ! -s conftest.err
     4864       } && test -s conftest.$ac_objext; then
    41584865  ac_cv_c_const=yes
    41594866else
     
    41614868sed 's/^/| /' conftest.$ac_ext >&5
    41624869
    4163 ac_cv_c_const=no
    4164 fi
    4165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4166 fi
    4167 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4168 echo "${ECHO_T}$ac_cv_c_const" >&6
     4870    ac_cv_c_const=no
     4871fi
     4872
     4873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4874fi
     4875{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4876echo "${ECHO_T}$ac_cv_c_const" >&6; }
    41694877if test $ac_cv_c_const = no; then
    41704878
     
    41754883fi
    41764884
    4177 echo "$as_me:$LINENO: checking for off_t" >&5
    4178 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     4885{ echo "$as_me:$LINENO: checking for off_t" >&5
     4886echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
    41794887if test "${ac_cv_type_off_t+set}" = set; then
    41804888  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    41874895/* end confdefs.h.  */
    41884896$ac_includes_default
     4897typedef off_t ac__type_new_;
    41894898int
    41904899main ()
    41914900{
    4192 if ((off_t *) 0)
     4901if ((ac__type_new_ *) 0)
    41934902  return 0;
    4194 if (sizeof (off_t))
     4903if (sizeof (ac__type_new_))
    41954904  return 0;
    41964905  ;
     
    41994908_ACEOF
    42004909rm -f conftest.$ac_objext
    4201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4202   (eval $ac_compile) 2>conftest.er1
     4910if { (ac_try="$ac_compile"
     4911case "(($ac_try" in
     4912  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4913  *) ac_try_echo=$ac_try;;
     4914esac
     4915eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4916  (eval "$ac_compile") 2>conftest.er1
    42034917  ac_status=$?
    42044918  grep -v '^ *+' conftest.er1 >conftest.err
     
    42064920  cat conftest.err >&5
    42074921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4208   (exit $ac_status); } &&
    4209      { ac_try='test -z "$ac_c_werror_flag"
    4210              || test ! -s conftest.err'
    4211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4212   (eval $ac_try) 2>&5
    4213   ac_status=$?
    4214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4215   (exit $ac_status); }; } &&
    4216      { ac_try='test -s conftest.$ac_objext'
    4217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4218   (eval $ac_try) 2>&5
    4219   ac_status=$?
    4220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4221   (exit $ac_status); }; }; then
     4922  (exit $ac_status); } && {
     4923     test -z "$ac_c_werror_flag" ||
     4924     test ! -s conftest.err
     4925       } && test -s conftest.$ac_objext; then
    42224926  ac_cv_type_off_t=yes
    42234927else
     
    42254929sed 's/^/| /' conftest.$ac_ext >&5
    42264930
    4227 ac_cv_type_off_t=no
    4228 fi
    4229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4230 fi
    4231 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4232 echo "${ECHO_T}$ac_cv_type_off_t" >&6
     4931    ac_cv_type_off_t=no
     4932fi
     4933
     4934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4935fi
     4936{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4937echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
    42334938if test $ac_cv_type_off_t = yes; then
    42344939  :
     
    42364941
    42374942cat >>confdefs.h <<_ACEOF
    4238 #define off_t long
    4239 _ACEOF
    4240 
    4241 fi
    4242 
    4243 echo "$as_me:$LINENO: checking for size_t" >&5
    4244 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
     4943#define off_t long int
     4944_ACEOF
     4945
     4946fi
     4947
     4948{ echo "$as_me:$LINENO: checking for size_t" >&5
     4949echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
    42454950if test "${ac_cv_type_size_t+set}" = set; then
    42464951  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42534958/* end confdefs.h.  */
    42544959$ac_includes_default
     4960typedef size_t ac__type_new_;
    42554961int
    42564962main ()
    42574963{
    4258 if ((size_t *) 0)
     4964if ((ac__type_new_ *) 0)
    42594965  return 0;
    4260 if (sizeof (size_t))
     4966if (sizeof (ac__type_new_))
    42614967  return 0;
    42624968  ;
     
    42654971_ACEOF
    42664972rm -f conftest.$ac_objext
    4267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4268   (eval $ac_compile) 2>conftest.er1
     4973if { (ac_try="$ac_compile"
     4974case "(($ac_try" in
     4975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4976  *) ac_try_echo=$ac_try;;
     4977esac
     4978eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4979  (eval "$ac_compile") 2>conftest.er1
    42694980  ac_status=$?
    42704981  grep -v '^ *+' conftest.er1 >conftest.err
     
    42724983  cat conftest.err >&5
    42734984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4274   (exit $ac_status); } &&
    4275      { ac_try='test -z "$ac_c_werror_flag"
    4276              || test ! -s conftest.err'
    4277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4278   (eval $ac_try) 2>&5
    4279   ac_status=$?
    4280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4281   (exit $ac_status); }; } &&
    4282      { ac_try='test -s conftest.$ac_objext'
    4283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4284   (eval $ac_try) 2>&5
    4285   ac_status=$?
    4286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4287   (exit $ac_status); }; }; then
     4985  (exit $ac_status); } && {
     4986     test -z "$ac_c_werror_flag" ||
     4987     test ! -s conftest.err
     4988       } && test -s conftest.$ac_objext; then
    42884989  ac_cv_type_size_t=yes
    42894990else
     
    42914992sed 's/^/| /' conftest.$ac_ext >&5
    42924993
    4293 ac_cv_type_size_t=no
    4294 fi
    4295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4296 fi
    4297 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4298 echo "${ECHO_T}$ac_cv_type_size_t" >&6
     4994    ac_cv_type_size_t=no
     4995fi
     4996
     4997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4998fi
     4999{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     5000echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
    42995001if test $ac_cv_type_size_t = yes; then
    43005002  :
     
    43025004
    43035005cat >>confdefs.h <<_ACEOF
    4304 #define size_t unsigned
    4305 _ACEOF
    4306 
    4307 fi
    4308 
    4309 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4310 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     5006#define size_t unsigned int
     5007_ACEOF
     5008
     5009fi
     5010
     5011{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     5012echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
    43115013if test "${ac_cv_header_time+set}" = set; then
    43125014  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    43325034_ACEOF
    43335035rm -f conftest.$ac_objext
    4334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4335   (eval $ac_compile) 2>conftest.er1
     5036if { (ac_try="$ac_compile"
     5037case "(($ac_try" in
     5038  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5039  *) ac_try_echo=$ac_try;;
     5040esac
     5041eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5042  (eval "$ac_compile") 2>conftest.er1
    43365043  ac_status=$?
    43375044  grep -v '^ *+' conftest.er1 >conftest.err
     
    43395046  cat conftest.err >&5
    43405047  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4341   (exit $ac_status); } &&
    4342      { ac_try='test -z "$ac_c_werror_flag"
    4343              || test ! -s conftest.err'
    4344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4345   (eval $ac_try) 2>&5
    4346   ac_status=$?
    4347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4348   (exit $ac_status); }; } &&
    4349      { ac_try='test -s conftest.$ac_objext'
    4350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4351   (eval $ac_try) 2>&5
    4352   ac_status=$?
    4353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4354   (exit $ac_status); }; }; then
     5048  (exit $ac_status); } && {
     5049     test -z "$ac_c_werror_flag" ||
     5050     test ! -s conftest.err
     5051       } && test -s conftest.$ac_objext; then
    43555052  ac_cv_header_time=yes
    43565053else
     
    43585055sed 's/^/| /' conftest.$ac_ext >&5
    43595056
    4360 ac_cv_header_time=no
    4361 fi
    4362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4363 fi
    4364 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4365 echo "${ECHO_T}$ac_cv_header_time" >&6
     5057    ac_cv_header_time=no
     5058fi
     5059
     5060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5061fi
     5062{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     5063echo "${ECHO_T}$ac_cv_header_time" >&6; }
    43665064if test $ac_cv_header_time = yes; then
    43675065
     
    43725070fi
    43735071
    4374 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4375 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     5072{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     5073echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
    43765074if test "${ac_cv_struct_tm+set}" = set; then
    43775075  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    43895087main ()
    43905088{
    4391 struct tm *tp; tp->tm_sec;
     5089struct tm tm;
     5090                     int *p = &tm.tm_sec;
     5091                     return !p;
    43925092  ;
    43935093  return 0;
     
    43955095_ACEOF
    43965096rm -f conftest.$ac_objext
    4397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4398   (eval $ac_compile) 2>conftest.er1
     5097if { (ac_try="$ac_compile"
     5098case "(($ac_try" in
     5099  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5100  *) ac_try_echo=$ac_try;;
     5101esac
     5102eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5103  (eval "$ac_compile") 2>conftest.er1
    43995104  ac_status=$?
    44005105  grep -v '^ *+' conftest.er1 >conftest.err
     
    44025107  cat conftest.err >&5
    44035108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4404   (exit $ac_status); } &&
    4405      { ac_try='test -z "$ac_c_werror_flag"
    4406              || test ! -s conftest.err'
    4407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4408   (eval $ac_try) 2>&5
    4409   ac_status=$?
    4410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4411   (exit $ac_status); }; } &&
    4412      { ac_try='test -s conftest.$ac_objext'
    4413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4414   (eval $ac_try) 2>&5
    4415   ac_status=$?
    4416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4417   (exit $ac_status); }; }; then
     5109  (exit $ac_status); } && {
     5110     test -z "$ac_c_werror_flag" ||
     5111     test ! -s conftest.err
     5112       } && test -s conftest.$ac_objext; then
    44185113  ac_cv_struct_tm=time.h
    44195114else
     
    44215116sed 's/^/| /' conftest.$ac_ext >&5
    44225117
    4423 ac_cv_struct_tm=sys/time.h
    4424 fi
    4425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4426 fi
    4427 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    4428 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     5118    ac_cv_struct_tm=sys/time.h
     5119fi
     5120
     5121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5122fi
     5123{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     5124echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
    44295125if test $ac_cv_struct_tm = sys/time.h; then
    44305126
     
    44545150_ACEOF
    44555151rm -f conftest.$ac_objext
    4456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4457   (eval $ac_compile) 2>conftest.er1
     5152if { (ac_try="$ac_compile"
     5153case "(($ac_try" in
     5154  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5155  *) ac_try_echo=$ac_try;;
     5156esac
     5157eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5158  (eval "$ac_compile") 2>conftest.er1
    44585159  ac_status=$?
    44595160  grep -v '^ *+' conftest.er1 >conftest.err
     
    44615162  cat conftest.err >&5
    44625163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4463   (exit $ac_status); } &&
    4464      { ac_try='test -z "$ac_c_werror_flag"
    4465              || test ! -s conftest.err'
    4466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4467   (eval $ac_try) 2>&5
    4468   ac_status=$?
    4469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4470   (exit $ac_status); }; } &&
    4471      { ac_try='test -s conftest.$ac_objext'
    4472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4473   (eval $ac_try) 2>&5
    4474   ac_status=$?
    4475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4476   (exit $ac_status); }; }; then
     5164  (exit $ac_status); } && {
     5165     test -z "$ac_c_werror_flag" ||
     5166     test ! -s conftest.err
     5167       } && test -s conftest.$ac_objext; then
    44775168  :
    44785169else
     
    44805171sed 's/^/| /' conftest.$ac_ext >&5
    44815172
    4482 CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    4483 fi
    4484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4485 fi
    4486 
    4487 
    4488 
    4489 echo "$as_me:$LINENO: checking for main in -lg" >&5
    4490 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     5173    CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     5174fi
     5175
     5176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5177fi
     5178
     5179
     5180
     5181{ echo "$as_me:$LINENO: checking for main in -lg" >&5
     5182echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
    44915183if test "${ac_cv_lib_g_main+set}" = set; then
    44925184  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45055197main ()
    45065198{
    4507 main ();
     5199return main ();
    45085200  ;
    45095201  return 0;
     
    45115203_ACEOF
    45125204rm -f conftest.$ac_objext conftest$ac_exeext
    4513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4514   (eval $ac_link) 2>conftest.er1
     5205if { (ac_try="$ac_link"
     5206case "(($ac_try" in
     5207  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5208  *) ac_try_echo=$ac_try;;
     5209esac
     5210eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5211  (eval "$ac_link") 2>conftest.er1
    45155212  ac_status=$?
    45165213  grep -v '^ *+' conftest.er1 >conftest.err
     
    45185215  cat conftest.err >&5
    45195216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4520   (exit $ac_status); } &&
    4521      { ac_try='test -z "$ac_c_werror_flag"
    4522              || test ! -s conftest.err'
    4523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4524   (eval $ac_try) 2>&5
    4525   ac_status=$?
    4526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4527   (exit $ac_status); }; } &&
    4528      { ac_try='test -s conftest$ac_exeext'
    4529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4530   (eval $ac_try) 2>&5
    4531   ac_status=$?
    4532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4533   (exit $ac_status); }; }; then
     5217  (exit $ac_status); } && {
     5218     test -z "$ac_c_werror_flag" ||
     5219     test ! -s conftest.err
     5220       } && test -s conftest$ac_exeext &&
     5221       $as_test_x conftest$ac_exeext; then
    45345222  ac_cv_lib_g_main=yes
    45355223else
     
    45375225sed 's/^/| /' conftest.$ac_ext >&5
    45385226
    4539 ac_cv_lib_g_main=no
    4540 fi
    4541 rm -f conftest.err conftest.$ac_objext \
     5227    ac_cv_lib_g_main=no
     5228fi
     5229
     5230rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    45425231      conftest$ac_exeext conftest.$ac_ext
    45435232LIBS=$ac_check_lib_save_LIBS
    45445233fi
    4545 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    4546 echo "${ECHO_T}$ac_cv_lib_g_main" >&6
     5234{ echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     5235echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
    45475236if test $ac_cv_lib_g_main = yes; then
    45485237  cat >>confdefs.h <<_ACEOF
     
    45565245
    45575246
    4558 echo "$as_me:$LINENO: checking for main in -lm" >&5
    4559 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     5247{ echo "$as_me:$LINENO: checking for main in -lm" >&5
     5248echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
    45605249if test "${ac_cv_lib_m_main+set}" = set; then
    45615250  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45745263main ()
    45755264{
    4576 main ();
     5265return main ();
    45775266  ;
    45785267  return 0;
     
    45805269_ACEOF
    45815270rm -f conftest.$ac_objext conftest$ac_exeext
    4582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4583   (eval $ac_link) 2>conftest.er1
     5271if { (ac_try="$ac_link"
     5272case "(($ac_try" in
     5273  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5274  *) ac_try_echo=$ac_try;;
     5275esac
     5276eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5277  (eval "$ac_link") 2>conftest.er1
    45845278  ac_status=$?
    45855279  grep -v '^ *+' conftest.er1 >conftest.err
     
    45875281  cat conftest.err >&5
    45885282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4589   (exit $ac_status); } &&
    4590      { ac_try='test -z "$ac_c_werror_flag"
    4591              || test ! -s conftest.err'
    4592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4593   (eval $ac_try) 2>&5
    4594   ac_status=$?
    4595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4596   (exit $ac_status); }; } &&
    4597      { ac_try='test -s conftest$ac_exeext'
    4598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4599   (eval $ac_try) 2>&5
    4600   ac_status=$?
    4601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4602   (exit $ac_status); }; }; then
     5283  (exit $ac_status); } && {
     5284     test -z "$ac_c_werror_flag" ||
     5285     test ! -s conftest.err
     5286       } && test -s conftest$ac_exeext &&
     5287       $as_test_x conftest$ac_exeext; then
    46035288  ac_cv_lib_m_main=yes
    46045289else
     
    46065291sed 's/^/| /' conftest.$ac_ext >&5
    46075292
    4608 ac_cv_lib_m_main=no
    4609 fi
    4610 rm -f conftest.err conftest.$ac_objext \
     5293    ac_cv_lib_m_main=no
     5294fi
     5295
     5296rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46115297      conftest$ac_exeext conftest.$ac_ext
    46125298LIBS=$ac_check_lib_save_LIBS
    46135299fi
    4614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    4615 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     5300{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     5301echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
    46165302if test $ac_cv_lib_m_main = yes; then
    46175303  cat >>confdefs.h <<_ACEOF
     
    46255311
    46265312
    4627 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    4628 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     5313{ echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     5314echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
    46295315if test "${ac_cv_lib_crypt_main+set}" = set; then
    46305316  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46435329main ()
    46445330{
    4645 main ();
     5331return main ();
    46465332  ;
    46475333  return 0;
     
    46495335_ACEOF
    46505336rm -f conftest.$ac_objext conftest$ac_exeext
    4651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4652   (eval $ac_link) 2>conftest.er1
     5337if { (ac_try="$ac_link"
     5338case "(($ac_try" in
     5339  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5340  *) ac_try_echo=$ac_try;;
     5341esac
     5342eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5343  (eval "$ac_link") 2>conftest.er1
    46535344  ac_status=$?
    46545345  grep -v '^ *+' conftest.er1 >conftest.err
     
    46565347  cat conftest.err >&5
    46575348  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4658   (exit $ac_status); } &&
    4659      { ac_try='test -z "$ac_c_werror_flag"
    4660              || test ! -s conftest.err'
    4661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4662   (eval $ac_try) 2>&5
    4663   ac_status=$?
    4664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4665   (exit $ac_status); }; } &&
    4666      { ac_try='test -s conftest$ac_exeext'
    4667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4668   (eval $ac_try) 2>&5
    4669   ac_status=$?
    4670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4671   (exit $ac_status); }; }; then
     5349  (exit $ac_status); } && {
     5350     test -z "$ac_c_werror_flag" ||
     5351     test ! -s conftest.err
     5352       } && test -s conftest$ac_exeext &&
     5353       $as_test_x conftest$ac_exeext; then
    46725354  ac_cv_lib_crypt_main=yes
    46735355else
     
    46755357sed 's/^/| /' conftest.$ac_ext >&5
    46765358
    4677 ac_cv_lib_crypt_main=no
    4678 fi
    4679 rm -f conftest.err conftest.$ac_objext \
     5359    ac_cv_lib_crypt_main=no
     5360fi
     5361
     5362rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46805363      conftest$ac_exeext conftest.$ac_ext
    46815364LIBS=$ac_check_lib_save_LIBS
    46825365fi
    4683 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    4684 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
     5366{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     5367echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
    46855368if test $ac_cv_lib_crypt_main = yes; then
    46865369  cat >>confdefs.h <<_ACEOF
     
    46955378if test $ENABLE_ACCENTFOLD = 1; then
    46965379
    4697 echo "$as_me:$LINENO: checking for main in -liconv" >&5
    4698 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6
     5380{ echo "$as_me:$LINENO: checking for main in -liconv" >&5
     5381echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6; }
    46995382if test "${ac_cv_lib_iconv_main+set}" = set; then
    47005383  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    47135396main ()
    47145397{
    4715 main ();
     5398return main ();
    47165399  ;
    47175400  return 0;
     
    47195402_ACEOF
    47205403rm -f conftest.$ac_objext conftest$ac_exeext
    4721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4722   (eval $ac_link) 2>conftest.er1
     5404if { (ac_try="$ac_link"
     5405case "(($ac_try" in
     5406  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5407  *) ac_try_echo=$ac_try;;
     5408esac
     5409eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5410  (eval "$ac_link") 2>conftest.er1
    47235411  ac_status=$?
    47245412  grep -v '^ *+' conftest.er1 >conftest.err
     
    47265414  cat conftest.err >&5
    47275415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4728   (exit $ac_status); } &&
    4729      { ac_try='test -z "$ac_c_werror_flag"
    4730              || test ! -s conftest.err'
    4731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4732   (eval $ac_try) 2>&5
    4733   ac_status=$?
    4734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4735   (exit $ac_status); }; } &&
    4736      { ac_try='test -s conftest$ac_exeext'
    4737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4738   (eval $ac_try) 2>&5
    4739   ac_status=$?
    4740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4741   (exit $ac_status); }; }; then
     5416  (exit $ac_status); } && {
     5417     test -z "$ac_c_werror_flag" ||
     5418     test ! -s conftest.err
     5419       } && test -s conftest$ac_exeext &&
     5420       $as_test_x conftest$ac_exeext; then
    47425421  ac_cv_lib_iconv_main=yes
    47435422else
     
    47455424sed 's/^/| /' conftest.$ac_ext >&5
    47465425
    4747 ac_cv_lib_iconv_main=no
    4748 fi
    4749 rm -f conftest.err conftest.$ac_objext \
     5426    ac_cv_lib_iconv_main=no
     5427fi
     5428
     5429rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    47505430      conftest$ac_exeext conftest.$ac_ext
    47515431LIBS=$ac_check_lib_save_LIBS
    47525432fi
    4753 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
    4754 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6
     5433{ echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
     5434echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6; }
    47555435if test $ac_cv_lib_iconv_main = yes; then
    47565436  cat >>confdefs.h <<_ACEOF
     
    47735453for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    47745454  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    4775 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    4776 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    4777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5455{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     5456echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
     5457if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    47785458  echo $ECHO_N "(cached) $ECHO_C" >&6
    47795459else
     
    47975477_ACEOF
    47985478rm -f conftest.$ac_objext
    4799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4800   (eval $ac_compile) 2>conftest.er1
     5479if { (ac_try="$ac_compile"
     5480case "(($ac_try" in
     5481  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5482  *) ac_try_echo=$ac_try;;
     5483esac
     5484eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5485  (eval "$ac_compile") 2>conftest.er1
    48015486  ac_status=$?
    48025487  grep -v '^ *+' conftest.er1 >conftest.err
     
    48045489  cat conftest.err >&5
    48055490  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4806   (exit $ac_status); } &&
    4807      { ac_try='test -z "$ac_c_werror_flag"
    4808              || test ! -s conftest.err'
    4809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4810   (eval $ac_try) 2>&5
    4811   ac_status=$?
    4812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4813   (exit $ac_status); }; } &&
    4814      { ac_try='test -s conftest.$ac_objext'
    4815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4816   (eval $ac_try) 2>&5
    4817   ac_status=$?
    4818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4819   (exit $ac_status); }; }; then
     5491  (exit $ac_status); } && {
     5492     test -z "$ac_c_werror_flag" ||
     5493     test ! -s conftest.err
     5494       } && test -s conftest.$ac_objext; then
    48205495  eval "$as_ac_Header=yes"
    48215496else
     
    48235498sed 's/^/| /' conftest.$ac_ext >&5
    48245499
    4825 eval "$as_ac_Header=no"
    4826 fi
    4827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4828 fi
    4829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5500    eval "$as_ac_Header=no"
     5501fi
     5502
     5503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5504fi
     5505ac_res=`eval echo '${'$as_ac_Header'}'`
     5506           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5507echo "${ECHO_T}$ac_res" >&6; }
    48315508if test `eval echo '${'$as_ac_Header'}'` = yes; then
    48325509  cat >>confdefs.h <<_ACEOF
     
    48405517# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    48415518if test $ac_header_dirent = dirent.h; then
    4842   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4843 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     5519  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5520echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    48445521if test "${ac_cv_search_opendir+set}" = set; then
    48455522  echo $ECHO_N "(cached) $ECHO_C" >&6
    48465523else
    48475524  ac_func_search_save_LIBS=$LIBS
    4848 ac_cv_search_opendir=no
    48495525cat >conftest.$ac_ext <<_ACEOF
    48505526/* confdefs.h.  */
     
    48545530/* end confdefs.h.  */
    48555531
    4856 /* Override any gcc2 internal prototype to avoid an error.  */
     5532/* Override any GCC internal prototype to avoid an error.
     5533   Use char because int might match the return type of a GCC
     5534   builtin and then its argument prototype would still apply.  */
    48575535#ifdef __cplusplus
    48585536extern "C"
    48595537#endif
    4860 /* We use char because int might match the return type of a gcc2
    4861    builtin and then its argument prototype would still apply.  */
    48625538char opendir ();
    48635539int
    48645540main ()
    48655541{
    4866 opendir ();
     5542return opendir ();
    48675543  ;
    48685544  return 0;
    48695545}
    48705546_ACEOF
    4871 rm -f conftest.$ac_objext conftest$ac_exeext
    4872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4873   (eval $ac_link) 2>conftest.er1
     5547for ac_lib in '' dir; do
     5548  if test -z "$ac_lib"; then
     5549    ac_res="none required"
     5550  else
     5551    ac_res=-l$ac_lib
     5552    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5553  fi
     5554  rm -f conftest.$ac_objext conftest$ac_exeext
     5555if { (ac_try="$ac_link"
     5556case "(($ac_try" in
     5557  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5558  *) ac_try_echo=$ac_try;;
     5559esac
     5560eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5561  (eval "$ac_link") 2>conftest.er1
    48745562  ac_status=$?
    48755563  grep -v '^ *+' conftest.er1 >conftest.err
     
    48775565  cat conftest.err >&5
    48785566  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4879   (exit $ac_status); } &&
    4880      { ac_try='test -z "$ac_c_werror_flag"
    4881              || test ! -s conftest.err'
    4882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4883   (eval $ac_try) 2>&5
    4884   ac_status=$?
    4885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4886   (exit $ac_status); }; } &&
    4887      { ac_try='test -s conftest$ac_exeext'
    4888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4889   (eval $ac_try) 2>&5
    4890   ac_status=$?
    4891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4892   (exit $ac_status); }; }; then
    4893   ac_cv_search_opendir="none required"
     5567  (exit $ac_status); } && {
     5568     test -z "$ac_c_werror_flag" ||
     5569     test ! -s conftest.err
     5570       } && test -s conftest$ac_exeext &&
     5571       $as_test_x conftest$ac_exeext; then
     5572  ac_cv_search_opendir=$ac_res
    48945573else
    48955574  echo "$as_me: failed program was:" >&5
    48965575sed 's/^/| /' conftest.$ac_ext >&5
    48975576
    4898 fi
    4899 rm -f conftest.err conftest.$ac_objext \
    4900       conftest$ac_exeext conftest.$ac_ext
    4901 if test "$ac_cv_search_opendir" = no; then
    4902   for ac_lib in dir; do
    4903     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4904     cat >conftest.$ac_ext <<_ACEOF
     5577
     5578fi
     5579
     5580rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5581      conftest$ac_exeext
     5582  if test "${ac_cv_search_opendir+set}" = set; then
     5583  break
     5584fi
     5585done
     5586if test "${ac_cv_search_opendir+set}" = set; then
     5587  :
     5588else
     5589  ac_cv_search_opendir=no
     5590fi
     5591rm conftest.$ac_ext
     5592LIBS=$ac_func_search_save_LIBS
     5593fi
     5594{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5595echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5596ac_res=$ac_cv_search_opendir
     5597if test "$ac_res" != no; then
     5598  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5599
     5600fi
     5601
     5602else
     5603  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5604echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
     5605if test "${ac_cv_search_opendir+set}" = set; then
     5606  echo $ECHO_N "(cached) $ECHO_C" >&6
     5607else
     5608  ac_func_search_save_LIBS=$LIBS
     5609cat >conftest.$ac_ext <<_ACEOF
    49055610/* confdefs.h.  */
    49065611_ACEOF
     
    49095614/* end confdefs.h.  */
    49105615
    4911 /* Override any gcc2 internal prototype to avoid an error.  */
     5616/* Override any GCC internal prototype to avoid an error.
     5617   Use char because int might match the return type of a GCC
     5618   builtin and then its argument prototype would still apply.  */
    49125619#ifdef __cplusplus
    49135620extern "C"
    49145621#endif
    4915 /* We use char because int might match the return type of a gcc2
    4916    builtin and then its argument prototype would still apply.  */
    49175622char opendir ();
    49185623int
    49195624main ()
    49205625{
    4921 opendir ();
     5626return opendir ();
    49225627  ;
    49235628  return 0;
    49245629}
    49255630_ACEOF
    4926 rm -f conftest.$ac_objext conftest$ac_exeext
    4927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4928   (eval $ac_link) 2>conftest.er1
     5631for ac_lib in '' x; do
     5632  if test -z "$ac_lib"; then
     5633    ac_res="none required"
     5634  else
     5635    ac_res=-l$ac_lib
     5636    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5637  fi
     5638  rm -f conftest.$ac_objext conftest$ac_exeext
     5639if { (ac_try="$ac_link"
     5640case "(($ac_try" in
     5641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5642  *) ac_try_echo=$ac_try;;
     5643esac
     5644eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5645  (eval "$ac_link") 2>conftest.er1
    49295646  ac_status=$?
    49305647  grep -v '^ *+' conftest.er1 >conftest.err
     
    49325649  cat conftest.err >&5
    49335650  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4934   (exit $ac_status); } &&
    4935      { ac_try='test -z "$ac_c_werror_flag"
    4936              || test ! -s conftest.err'
    4937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4938   (eval $ac_try) 2>&5
    4939   ac_status=$?
    4940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4941   (exit $ac_status); }; } &&
    4942      { ac_try='test -s conftest$ac_exeext'
    4943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4944   (eval $ac_try) 2>&5
    4945   ac_status=$?
    4946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4947   (exit $ac_status); }; }; then
    4948   ac_cv_search_opendir="-l$ac_lib"
    4949 break
     5651  (exit $ac_status); } && {
     5652     test -z "$ac_c_werror_flag" ||
     5653     test ! -s conftest.err
     5654       } && test -s conftest$ac_exeext &&
     5655       $as_test_x conftest$ac_exeext; then
     5656  ac_cv_search_opendir=$ac_res
    49505657else
    49515658  echo "$as_me: failed program was:" >&5
    49525659sed 's/^/| /' conftest.$ac_ext >&5
    49535660
    4954 fi
    4955 rm -f conftest.err conftest.$ac_objext \
    4956       conftest$ac_exeext conftest.$ac_ext
    4957   done
    4958 fi
     5661
     5662fi
     5663
     5664rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5665      conftest$ac_exeext
     5666  if test "${ac_cv_search_opendir+set}" = set; then
     5667  break
     5668fi
     5669done
     5670if test "${ac_cv_search_opendir+set}" = set; then
     5671  :
     5672else
     5673  ac_cv_search_opendir=no
     5674fi
     5675rm conftest.$ac_ext
    49595676LIBS=$ac_func_search_save_LIBS
    49605677fi
    4961 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    4962 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    4963 if test "$ac_cv_search_opendir" != no; then
    4964   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    4965 
    4966 fi
    4967 
    4968 else
    4969   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4970 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    4971 if test "${ac_cv_search_opendir+set}" = set; then
    4972   echo $ECHO_N "(cached) $ECHO_C" >&6
    4973 else
    4974   ac_func_search_save_LIBS=$LIBS
    4975 ac_cv_search_opendir=no
    4976 cat >conftest.$ac_ext <<_ACEOF
    4977 /* confdefs.h.  */
    4978 _ACEOF
    4979 cat confdefs.h >>conftest.$ac_ext
    4980 cat >>conftest.$ac_ext <<_ACEOF
    4981 /* end confdefs.h.  */
    4982 
    4983 /* Override any gcc2 internal prototype to avoid an error.  */
    4984 #ifdef __cplusplus
    4985 extern "C"
    4986 #endif
    4987 /* We use char because int might match the return type of a gcc2
    4988    builtin and then its argument prototype would still apply.  */
    4989 char opendir ();
    4990 int
    4991 main ()
    4992 {
    4993 opendir ();
    4994   ;
    4995   return 0;
    4996 }
    4997 _ACEOF
    4998 rm -f conftest.$ac_objext conftest$ac_exeext
    4999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5000   (eval $ac_link) 2>conftest.er1
    5001   ac_status=$?
    5002   grep -v '^ *+' conftest.er1 >conftest.err
    5003   rm -f conftest.er1
    5004   cat conftest.err >&5
    5005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5006   (exit $ac_status); } &&
    5007      { ac_try='test -z "$ac_c_werror_flag"
    5008              || test ! -s conftest.err'
    5009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5010   (eval $ac_try) 2>&5
    5011   ac_status=$?
    5012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5013   (exit $ac_status); }; } &&
    5014      { ac_try='test -s conftest$ac_exeext'
    5015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5016   (eval $ac_try) 2>&5
    5017   ac_status=$?
    5018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5019   (exit $ac_status); }; }; then
    5020   ac_cv_search_opendir="none required"
    5021 else
    5022   echo "$as_me: failed program was:" >&5
    5023 sed 's/^/| /' conftest.$ac_ext >&5
    5024 
    5025 fi
    5026 rm -f conftest.err conftest.$ac_objext \
    5027       conftest$ac_exeext conftest.$ac_ext
    5028 if test "$ac_cv_search_opendir" = no; then
    5029   for ac_lib in x; do
    5030     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5031     cat >conftest.$ac_ext <<_ACEOF
    5032 /* confdefs.h.  */
    5033 _ACEOF
    5034 cat confdefs.h >>conftest.$ac_ext
    5035 cat >>conftest.$ac_ext <<_ACEOF
    5036 /* end confdefs.h.  */
    5037 
    5038 /* Override any gcc2 internal prototype to avoid an error.  */
    5039 #ifdef __cplusplus
    5040 extern "C"
    5041 #endif
    5042 /* We use char because int might match the return type of a gcc2
    5043    builtin and then its argument prototype would still apply.  */
    5044 char opendir ();
    5045 int
    5046 main ()
    5047 {
    5048 opendir ();
    5049   ;
    5050   return 0;
    5051 }
    5052 _ACEOF
    5053 rm -f conftest.$ac_objext conftest$ac_exeext
    5054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5055   (eval $ac_link) 2>conftest.er1
    5056   ac_status=$?
    5057   grep -v '^ *+' conftest.er1 >conftest.err
    5058   rm -f conftest.er1
    5059   cat conftest.err >&5
    5060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5061   (exit $ac_status); } &&
    5062      { ac_try='test -z "$ac_c_werror_flag"
    5063              || test ! -s conftest.err'
    5064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5065   (eval $ac_try) 2>&5
    5066   ac_status=$?
    5067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5068   (exit $ac_status); }; } &&
    5069      { ac_try='test -s conftest$ac_exeext'
    5070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5071   (eval $ac_try) 2>&5
    5072   ac_status=$?
    5073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5074   (exit $ac_status); }; }; then
    5075   ac_cv_search_opendir="-l$ac_lib"
    5076 break
    5077 else
    5078   echo "$as_me: failed program was:" >&5
    5079 sed 's/^/| /' conftest.$ac_ext >&5
    5080 
    5081 fi
    5082 rm -f conftest.err conftest.$ac_objext \
    5083       conftest$ac_exeext conftest.$ac_ext
    5084   done
    5085 fi
    5086 LIBS=$ac_func_search_save_LIBS
    5087 fi
    5088 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5089 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5090 if test "$ac_cv_search_opendir" != no; then
    5091   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5092 
    5093 fi
    5094 
    5095 fi
    5096 
    5097 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5098 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     5678{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5679echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5680ac_res=$ac_cv_search_opendir
     5681if test "$ac_res" != no; then
     5682  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5683
     5684fi
     5685
     5686fi
     5687
     5688{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5689echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    50995690if test "${ac_cv_header_stdc+set}" = set; then
    51005691  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51205711_ACEOF
    51215712rm -f conftest.$ac_objext
    5122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5123   (eval $ac_compile) 2>conftest.er1
     5713if { (ac_try="$ac_compile"
     5714case "(($ac_try" in
     5715  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5716  *) ac_try_echo=$ac_try;;
     5717esac
     5718eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5719  (eval "$ac_compile") 2>conftest.er1
    51245720  ac_status=$?
    51255721  grep -v '^ *+' conftest.er1 >conftest.err
     
    51275723  cat conftest.err >&5
    51285724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5129   (exit $ac_status); } &&
    5130      { ac_try='test -z "$ac_c_werror_flag"
    5131              || test ! -s conftest.err'
    5132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5133   (eval $ac_try) 2>&5
    5134   ac_status=$?
    5135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5136   (exit $ac_status); }; } &&
    5137      { ac_try='test -s conftest.$ac_objext'
    5138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5139   (eval $ac_try) 2>&5
    5140   ac_status=$?
    5141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5142   (exit $ac_status); }; }; then
     5725  (exit $ac_status); } && {
     5726     test -z "$ac_c_werror_flag" ||
     5727     test ! -s conftest.err
     5728       } && test -s conftest.$ac_objext; then
    51435729  ac_cv_header_stdc=yes
    51445730else
     
    51465732sed 's/^/| /' conftest.$ac_ext >&5
    51475733
    5148 ac_cv_header_stdc=no
    5149 fi
    5150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5734    ac_cv_header_stdc=no
     5735fi
     5736
     5737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    51515738
    51525739if test $ac_cv_header_stdc = yes; then
     
    52045791/* end confdefs.h.  */
    52055792#include <ctype.h>
     5793#include <stdlib.h>
    52065794#if ((' ' & 0x0FF) == 0x020)
    52075795# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    52235811    if (XOR (islower (i), ISLOWER (i))
    52245812    || toupper (i) != TOUPPER (i))
    5225       exit(2);
    5226   exit (0);
     5813      return 2;
     5814  return 0;
    52275815}
    52285816_ACEOF
    52295817rm -f conftest$ac_exeext
    5230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5231   (eval $ac_link) 2>&5
     5818if { (ac_try="$ac_link"
     5819case "(($ac_try" in
     5820  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5821  *) ac_try_echo=$ac_try;;
     5822esac
     5823eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5824  (eval "$ac_link") 2>&5
    52325825  ac_status=$?
    52335826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52345827  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5236   (eval $ac_try) 2>&5
     5828  { (case "(($ac_try" in
     5829  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5830  *) ac_try_echo=$ac_try;;
     5831esac
     5832eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5833  (eval "$ac_try") 2>&5
    52375834  ac_status=$?
    52385835  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    52475844ac_cv_header_stdc=no
    52485845fi
    5249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5250 fi
    5251 fi
    5252 fi
    5253 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5254 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     5846rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5847fi
     5848
     5849
     5850fi
     5851fi
     5852{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5853echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    52555854if test $ac_cv_header_stdc = yes; then
    52565855
     
    52735872do
    52745873as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5276   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5874if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5875  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     5876echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5877if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    52795878  echo $ECHO_N "(cached) $ECHO_C" >&6
    52805879fi
    5281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5880ac_res=`eval echo '${'$as_ac_Header'}'`
     5881           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5882echo "${ECHO_T}$ac_res" >&6; }
    52835883else
    52845884  # Is the header compilable?
    5285 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5885{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5886echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    52875887cat >conftest.$ac_ext <<_ACEOF
    52885888/* confdefs.h.  */
     
    52955895_ACEOF
    52965896rm -f conftest.$ac_objext
    5297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5298   (eval $ac_compile) 2>conftest.er1
     5897if { (ac_try="$ac_compile"
     5898case "(($ac_try" in
     5899  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5900  *) ac_try_echo=$ac_try;;
     5901esac
     5902eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5903  (eval "$ac_compile") 2>conftest.er1
    52995904  ac_status=$?
    53005905  grep -v '^ *+' conftest.er1 >conftest.err
     
    53025907  cat conftest.err >&5
    53035908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5304   (exit $ac_status); } &&
    5305      { ac_try='test -z "$ac_c_werror_flag"
    5306              || test ! -s conftest.err'
    5307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5308   (eval $ac_try) 2>&5
    5309   ac_status=$?
    5310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5311   (exit $ac_status); }; } &&
    5312      { ac_try='test -s conftest.$ac_objext'
    5313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5314   (eval $ac_try) 2>&5
    5315   ac_status=$?
    5316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5317   (exit $ac_status); }; }; then
     5909  (exit $ac_status); } && {
     5910     test -z "$ac_c_werror_flag" ||
     5911     test ! -s conftest.err
     5912       } && test -s conftest.$ac_objext; then
    53185913  ac_header_compiler=yes
    53195914else
     
    53215916sed 's/^/| /' conftest.$ac_ext >&5
    53225917
    5323 ac_header_compiler=no
    5324 fi
    5325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5327 echo "${ECHO_T}$ac_header_compiler" >&6
     5918    ac_header_compiler=no
     5919fi
     5920
     5921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5922{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5923echo "${ECHO_T}$ac_header_compiler" >&6; }
    53285924
    53295925# Is the header present?
    5330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5926{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5927echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    53325928cat >conftest.$ac_ext <<_ACEOF
    53335929/* confdefs.h.  */
     
    53385934#include <$ac_header>
    53395935_ACEOF
    5340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5341   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5936if { (ac_try="$ac_cpp conftest.$ac_ext"
     5937case "(($ac_try" in
     5938  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5939  *) ac_try_echo=$ac_try;;
     5940esac
     5941eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5942  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    53425943  ac_status=$?
    53435944  grep -v '^ *+' conftest.er1 >conftest.err
     
    53455946  cat conftest.err >&5
    53465947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5347   (exit $ac_status); } >/dev/null; then
    5348   if test -s conftest.err; then
    5349     ac_cpp_err=$ac_c_preproc_warn_flag
    5350     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5351   else
    5352     ac_cpp_err=
    5353   fi
    5354 else
    5355   ac_cpp_err=yes
    5356 fi
    5357 if test -z "$ac_cpp_err"; then
     5948  (exit $ac_status); } >/dev/null && {
     5949     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5950     test ! -s conftest.err
     5951       }; then
    53585952  ac_header_preproc=yes
    53595953else
     
    53635957  ac_header_preproc=no
    53645958fi
     5959
    53655960rm -f conftest.err conftest.$ac_ext
    5366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5367 echo "${ECHO_T}$ac_header_preproc" >&6
     5961{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5962echo "${ECHO_T}$ac_header_preproc" >&6; }
    53685963
    53695964# So?  What about this header?
     
    53895984    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    53905985echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5391     (
    5392       cat <<\_ASBOX
    5393 ## ------------------------------------------ ##
    5394 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5395 ## ------------------------------------------ ##
    5396 _ASBOX
    5397     ) |
    5398       sed "s/^/$as_me: WARNING:     /" >&2
     5986
    53995987    ;;
    54005988esac
    5401 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5989{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     5990echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5991if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    54045992  echo $ECHO_N "(cached) $ECHO_C" >&6
    54055993else
    54065994  eval "$as_ac_Header=\$ac_header_preproc"
    54075995fi
    5408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5996ac_res=`eval echo '${'$as_ac_Header'}'`
     5997           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5998echo "${ECHO_T}$ac_res" >&6; }
    54105999
    54116000fi
     
    54766065# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    54776066# for constant arguments.  Useless!
    5478 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5479 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     6067{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
     6068echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
    54806069if test "${ac_cv_working_alloca_h+set}" = set; then
    54816070  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    54926081{
    54936082char *p = (char *) alloca (2 * sizeof (int));
     6083              if (p) return 0;
    54946084  ;
    54956085  return 0;
     
    54976087_ACEOF
    54986088rm -f conftest.$ac_objext conftest$ac_exeext
    5499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5500   (eval $ac_link) 2>conftest.er1
     6089if { (ac_try="$ac_link"
     6090case "(($ac_try" in
     6091  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6092  *) ac_try_echo=$ac_try;;
     6093esac
     6094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6095  (eval "$ac_link") 2>conftest.er1
    55016096  ac_status=$?
    55026097  grep -v '^ *+' conftest.er1 >conftest.err
     
    55046099  cat conftest.err >&5
    55056100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5506   (exit $ac_status); } &&
    5507      { ac_try='test -z "$ac_c_werror_flag"
    5508              || test ! -s conftest.err'
    5509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5510   (eval $ac_try) 2>&5
    5511   ac_status=$?
    5512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5513   (exit $ac_status); }; } &&
    5514      { ac_try='test -s conftest$ac_exeext'
    5515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5516   (eval $ac_try) 2>&5
    5517   ac_status=$?
    5518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5519   (exit $ac_status); }; }; then