Ignore:
Timestamp:
2010-01-16T23:44:18+13:00 (14 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 [email protected] 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 [email protected]." >&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 [email protected]." >&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 [email protected]." >&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 [email protected]." >&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 [email protected]." >&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 [email protected]." >&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 [email protected]." >&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 [email protected]." >&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
     6101  (exit $ac_status); } && {
     6102     test -z "$ac_c_werror_flag" ||
     6103     test ! -s conftest.err
     6104       } && test -s conftest$ac_exeext &&
     6105       $as_test_x conftest$ac_exeext; then
    55206106  ac_cv_working_alloca_h=yes
    55216107else
     
    55236109sed 's/^/| /' conftest.$ac_ext >&5
    55246110
    5525 ac_cv_working_alloca_h=no
    5526 fi
    5527 rm -f conftest.err conftest.$ac_objext \
     6111    ac_cv_working_alloca_h=no
     6112fi
     6113
     6114rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    55286115      conftest$ac_exeext conftest.$ac_ext
    55296116fi
    5530 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5531 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
     6117{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     6118echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
    55326119if test $ac_cv_working_alloca_h = yes; then
    55336120
     
    55386125fi
    55396126
    5540 echo "$as_me:$LINENO: checking for alloca" >&5
    5541 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     6127{ echo "$as_me:$LINENO: checking for alloca" >&5
     6128echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
    55426129if test "${ac_cv_func_alloca_works+set}" = set; then
    55436130  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55566143#  define alloca _alloca
    55576144# else
    5558 #  if HAVE_ALLOCA_H
     6145#  ifdef HAVE_ALLOCA_H
    55596146#   include <alloca.h>
    55606147#  else
     
    55746161{
    55756162char *p = (char *) alloca (1);
     6163                    if (p) return 0;
    55766164  ;
    55776165  return 0;
     
    55796167_ACEOF
    55806168rm -f conftest.$ac_objext conftest$ac_exeext
    5581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5582   (eval $ac_link) 2>conftest.er1
     6169if { (ac_try="$ac_link"
     6170case "(($ac_try" in
     6171  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6172  *) ac_try_echo=$ac_try;;
     6173esac
     6174eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6175  (eval "$ac_link") 2>conftest.er1
    55836176  ac_status=$?
    55846177  grep -v '^ *+' conftest.er1 >conftest.err
     
    55866179  cat conftest.err >&5
    55876180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5588   (exit $ac_status); } &&
    5589      { ac_try='test -z "$ac_c_werror_flag"
    5590              || test ! -s conftest.err'
    5591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5592   (eval $ac_try) 2>&5
    5593   ac_status=$?
    5594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5595   (exit $ac_status); }; } &&
    5596      { ac_try='test -s conftest$ac_exeext'
    5597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5598   (eval $ac_try) 2>&5
    5599   ac_status=$?
    5600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5601   (exit $ac_status); }; }; then
     6181  (exit $ac_status); } && {
     6182     test -z "$ac_c_werror_flag" ||
     6183     test ! -s conftest.err
     6184       } && test -s conftest$ac_exeext &&
     6185       $as_test_x conftest$ac_exeext; then
    56026186  ac_cv_func_alloca_works=yes
    56036187else
     
    56056189sed 's/^/| /' conftest.$ac_ext >&5
    56066190
    5607 ac_cv_func_alloca_works=no
    5608 fi
    5609 rm -f conftest.err conftest.$ac_objext \
     6191    ac_cv_func_alloca_works=no
     6192fi
     6193
     6194rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    56106195      conftest$ac_exeext conftest.$ac_ext
    56116196fi
    5612 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    5613 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
     6197{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     6198echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
    56146199
    56156200if test $ac_cv_func_alloca_works = yes; then
     
    56256210# use ar to extract alloca.o from them instead of compiling alloca.c.
    56266211
    5627 ALLOCA=alloca.$ac_objext
     6212ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    56286213
    56296214cat >>confdefs.h <<\_ACEOF
     
    56326217
    56336218
    5634 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    5635 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     6219{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     6220echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
    56366221if test "${ac_cv_os_cray+set}" = set; then
    56376222  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    56436228cat >>conftest.$ac_ext <<_ACEOF
    56446229/* end confdefs.h.  */
    5645 #if defined(CRAY) && ! defined(CRAY2)
     6230#if defined CRAY && ! defined CRAY2
    56466231webecray
    56476232#else
     
    56596244
    56606245fi
    5661 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    5662 echo "${ECHO_T}$ac_cv_os_cray" >&6
     6246{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     6247echo "${ECHO_T}$ac_cv_os_cray" >&6; }
    56636248if test $ac_cv_os_cray = yes; then
    56646249  for ac_func in _getb67 GETB67 getb67; do
    56656250    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5666 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5668 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6251{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6252echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6253if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    56696254  echo $ECHO_N "(cached) $ECHO_C" >&6
    56706255else
     
    56926277#undef $ac_func
    56936278
    5694 /* Override any gcc2 internal prototype to avoid an error.  */
     6279/* Override any GCC internal prototype to avoid an error.
     6280   Use char because int might match the return type of a GCC
     6281   builtin and then its argument prototype would still apply.  */
    56956282#ifdef __cplusplus
    56966283extern "C"
    5697 {
    56986284#endif
    5699 /* We use char because int might match the return type of a gcc2
    5700    builtin and then its argument prototype would still apply.  */
    57016285char $ac_func ();
    57026286/* The GNU C library defines this for functions which it implements
    57036287    to always fail with ENOSYS.  Some functions are actually named
    57046288    something starting with __ and the normal name is an alias.  */
    5705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6289#if defined __stub_$ac_func || defined __stub___$ac_func
    57066290choke me
    5707 #else
    5708 char (*f) () = $ac_func;
    5709 #endif
    5710 #ifdef __cplusplus
    5711 }
    57126291#endif
    57136292
     
    57156294main ()
    57166295{
    5717 return f != $ac_func;
     6296return $ac_func ();
    57186297  ;
    57196298  return 0;
     
    57216300_ACEOF
    57226301rm -f conftest.$ac_objext conftest$ac_exeext
    5723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5724   (eval $ac_link) 2>conftest.er1
     6302if { (ac_try="$ac_link"
     6303case "(($ac_try" in
     6304  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6305  *) ac_try_echo=$ac_try;;
     6306esac
     6307eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6308  (eval "$ac_link") 2>conftest.er1
    57256309  ac_status=$?
    57266310  grep -v '^ *+' conftest.er1 >conftest.err
     
    57286312  cat conftest.err >&5
    57296313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5730   (exit $ac_status); } &&
    5731      { ac_try='test -z "$ac_c_werror_flag"
    5732              || test ! -s conftest.err'
    5733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5734   (eval $ac_try) 2>&5
    5735   ac_status=$?
    5736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5737   (exit $ac_status); }; } &&
    5738      { ac_try='test -s conftest$ac_exeext'
    5739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5740   (eval $ac_try) 2>&5
    5741   ac_status=$?
    5742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5743   (exit $ac_status); }; }; then
     6314  (exit $ac_status); } && {
     6315     test -z "$ac_c_werror_flag" ||
     6316     test ! -s conftest.err
     6317       } && test -s conftest$ac_exeext &&
     6318       $as_test_x conftest$ac_exeext; then
    57446319  eval "$as_ac_var=yes"
    57456320else
     
    57476322sed 's/^/| /' conftest.$ac_ext >&5
    57486323
    5749 eval "$as_ac_var=no"
    5750 fi
    5751 rm -f conftest.err conftest.$ac_objext \
     6324    eval "$as_ac_var=no"
     6325fi
     6326
     6327rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    57526328      conftest$ac_exeext conftest.$ac_ext
    57536329fi
    5754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    5755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6330ac_res=`eval echo '${'$as_ac_var'}'`
     6331           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6332echo "${ECHO_T}$ac_res" >&6; }
    57566333if test `eval echo '${'$as_ac_var'}'` = yes; then
    57576334
     
    57666343fi
    57676344
    5768 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    5769 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
     6345{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     6346echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
    57706347if test "${ac_cv_c_stack_direction+set}" = set; then
    57716348  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    57806357cat >>conftest.$ac_ext <<_ACEOF
    57816358/* end confdefs.h.  */
     6359$ac_includes_default
    57826360int
    57836361find_stack_direction ()
     
    57976375main ()
    57986376{
    5799   exit (find_stack_direction () < 0);
     6377  return find_stack_direction () < 0;
    58006378}
    58016379_ACEOF
    58026380rm -f conftest$ac_exeext
    5803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5804   (eval $ac_link) 2>&5
     6381if { (ac_try="$ac_link"
     6382case "(($ac_try" in
     6383  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6384  *) ac_try_echo=$ac_try;;
     6385esac
     6386eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6387  (eval "$ac_link") 2>&5
    58056388  ac_status=$?
    58066389  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58076390  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5809   (eval $ac_try) 2>&5
     6391  { (case "(($ac_try" in
     6392  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6393  *) ac_try_echo=$ac_try;;
     6394esac
     6395eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6396  (eval "$ac_try") 2>&5
    58106397  ac_status=$?
    58116398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    58206407ac_cv_c_stack_direction=-1
    58216408fi
    5822 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5823 fi
    5824 fi
    5825 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    5826 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
     6409rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6410fi
     6411
     6412
     6413fi
     6414{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     6415echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
    58276416
    58286417cat >>confdefs.h <<_ACEOF
     
    58346423
    58356424if test $ac_cv_c_compiler_gnu = yes; then
    5836     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    5837 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
     6425    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     6426echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
    58386427if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    58396428  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    58766465  fi
    58776466fi
    5878 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    5879 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
     6467{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     6468echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
    58806469  if test $ac_cv_prog_gcc_traditional = yes; then
    58816470    CC="$CC -traditional"
     
    58836472fi
    58846473
    5885 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    5886 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
     6474{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     6475echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
    58876476if test "${ac_cv_type_signal+set}" = set; then
    58886477  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    58966485#include <sys/types.h>
    58976486#include <signal.h>
    5898 #ifdef signal
    5899 # undef signal
    5900 #endif
    5901 #ifdef __cplusplus
    5902 extern "C" void (*signal (int, void (*)(int)))(int);
    5903 #else
    5904 void (*signal ()) ();
    5905 #endif
    59066487
    59076488int
    59086489main ()
    59096490{
    5910 int i;
     6491return *(signal (0, 0)) (0) == 1;
    59116492  ;
    59126493  return 0;
     
    59146495_ACEOF
    59156496rm -f conftest.$ac_objext
    5916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5917   (eval $ac_compile) 2>conftest.er1
     6497if { (ac_try="$ac_compile"
     6498case "(($ac_try" in
     6499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6500  *) ac_try_echo=$ac_try;;
     6501esac
     6502eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6503  (eval "$ac_compile") 2>conftest.er1
    59186504  ac_status=$?
    59196505  grep -v '^ *+' conftest.er1 >conftest.err
     
    59216507  cat conftest.err >&5
    59226508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5923   (exit $ac_status); } &&
    5924      { ac_try='test -z "$ac_c_werror_flag"
    5925              || test ! -s conftest.err'
    5926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5927   (eval $ac_try) 2>&5
    5928   ac_status=$?
    5929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5930   (exit $ac_status); }; } &&
    5931      { ac_try='test -s conftest.$ac_objext'
    5932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5933   (eval $ac_try) 2>&5
    5934   ac_status=$?
    5935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5936   (exit $ac_status); }; }; then
    5937   ac_cv_type_signal=void
     6509  (exit $ac_status); } && {
     6510     test -z "$ac_c_werror_flag" ||
     6511     test ! -s conftest.err
     6512       } && test -s conftest.$ac_objext; then
     6513  ac_cv_type_signal=int
    59386514else
    59396515  echo "$as_me: failed program was:" >&5
    59406516sed 's/^/| /' conftest.$ac_ext >&5
    59416517
    5942 ac_cv_type_signal=int
    5943 fi
    5944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5945 fi
    5946 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    5947 echo "${ECHO_T}$ac_cv_type_signal" >&6
     6518    ac_cv_type_signal=void
     6519fi
     6520
     6521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6522fi
     6523{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     6524echo "${ECHO_T}$ac_cv_type_signal" >&6; }
    59486525
    59496526cat >>confdefs.h <<_ACEOF
     
    59566533do
    59576534as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5958 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5960 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6535{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6536echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6537if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    59616538  echo $ECHO_N "(cached) $ECHO_C" >&6
    59626539else
     
    59846561#undef $ac_func
    59856562
    5986 /* Override any gcc2 internal prototype to avoid an error.  */
     6563/* Override any GCC internal prototype to avoid an error.
     6564   Use char because int might match the return type of a GCC
     6565   builtin and then its argument prototype would still apply.  */
    59876566#ifdef __cplusplus
    59886567extern "C"
    5989 {
    59906568#endif
    5991 /* We use char because int might match the return type of a gcc2
    5992    builtin and then its argument prototype would still apply.  */
    59936569char $ac_func ();
    59946570/* The GNU C library defines this for functions which it implements
    59956571    to always fail with ENOSYS.  Some functions are actually named
    59966572    something starting with __ and the normal name is an alias.  */
    5997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6573#if defined __stub_$ac_func || defined __stub___$ac_func
    59986574choke me
    5999 #else
    6000 char (*f) () = $ac_func;
    6001 #endif
    6002 #ifdef __cplusplus
    6003 }
    60046575#endif
    60056576
     
    60076578main ()
    60086579{
    6009 return f != $ac_func;
     6580return $ac_func ();
    60106581  ;
    60116582  return 0;
     
    60136584_ACEOF
    60146585rm -f conftest.$ac_objext conftest$ac_exeext
    6015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6016   (eval $ac_link) 2>conftest.er1
     6586if { (ac_try="$ac_link"
     6587case "(($ac_try" in
     6588  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6589  *) ac_try_echo=$ac_try;;
     6590esac
     6591eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6592  (eval "$ac_link") 2>conftest.er1
    60176593  ac_status=$?
    60186594  grep -v '^ *+' conftest.er1 >conftest.err
     
    60206596  cat conftest.err >&5
    60216597  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6022   (exit $ac_status); } &&
    6023      { ac_try='test -z "$ac_c_werror_flag"
    6024              || test ! -s conftest.err'
    6025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6026   (eval $ac_try) 2>&5
    6027   ac_status=$?
    6028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6029   (exit $ac_status); }; } &&
    6030      { ac_try='test -s conftest$ac_exeext'
    6031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6032   (eval $ac_try) 2>&5
    6033   ac_status=$?
    6034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6035   (exit $ac_status); }; }; then
     6598  (exit $ac_status); } && {
     6599     test -z "$ac_c_werror_flag" ||
     6600     test ! -s conftest.err
     6601       } && test -s conftest$ac_exeext &&
     6602       $as_test_x conftest$ac_exeext; then
    60366603  eval "$as_ac_var=yes"
    60376604else
     
    60396606sed 's/^/| /' conftest.$ac_ext >&5
    60406607
    6041 eval "$as_ac_var=no"
    6042 fi
    6043 rm -f conftest.err conftest.$ac_objext \
     6608    eval "$as_ac_var=no"
     6609fi
     6610
     6611rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    60446612      conftest$ac_exeext conftest.$ac_ext
    60456613fi
    6046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6614ac_res=`eval echo '${'$as_ac_var'}'`
     6615           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6616echo "${ECHO_T}$ac_res" >&6; }
    60486617if test `eval echo '${'$as_ac_var'}'` = yes; then
    60496618  cat >>confdefs.h <<_ACEOF
     
    60516620_ACEOF
    60526621
    6053 echo "$as_me:$LINENO: checking for _doprnt" >&5
    6054 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
     6622{ echo "$as_me:$LINENO: checking for _doprnt" >&5
     6623echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
    60556624if test "${ac_cv_func__doprnt+set}" = set; then
    60566625  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    60796648#undef _doprnt
    60806649
    6081 /* Override any gcc2 internal prototype to avoid an error.  */
     6650/* Override any GCC internal prototype to avoid an error.
     6651   Use char because int might match the return type of a GCC
     6652   builtin and then its argument prototype would still apply.  */
    60826653#ifdef __cplusplus
    60836654extern "C"
    6084 {
    60856655#endif
    6086 /* We use char because int might match the return type of a gcc2
    6087    builtin and then its argument prototype would still apply.  */
    60886656char _doprnt ();
    60896657/* The GNU C library defines this for functions which it implements
    60906658    to always fail with ENOSYS.  Some functions are actually named
    60916659    something starting with __ and the normal name is an alias.  */
    6092 #if defined (__stub__doprnt) || defined (__stub____doprnt)
     6660#if defined __stub__doprnt || defined __stub____doprnt
    60936661choke me
    6094 #else
    6095 char (*f) () = _doprnt;
    6096 #endif
    6097 #ifdef __cplusplus
    6098 }
    60996662#endif
    61006663
     
    61026665main ()
    61036666{
    6104 return f != _doprnt;
     6667return _doprnt ();
    61056668  ;
    61066669  return 0;
     
    61086671_ACEOF
    61096672rm -f conftest.$ac_objext conftest$ac_exeext
    6110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6111   (eval $ac_link) 2>conftest.er1
     6673if { (ac_try="$ac_link"
     6674case "(($ac_try" in
     6675  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6676  *) ac_try_echo=$ac_try;;
     6677esac
     6678eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6679  (eval "$ac_link") 2>conftest.er1
    61126680  ac_status=$?
    61136681  grep -v '^ *+' conftest.er1 >conftest.err
     
    61156683  cat conftest.err >&5
    61166684  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6117   (exit $ac_status); } &&
    6118      { ac_try='test -z "$ac_c_werror_flag"
    6119              || test ! -s conftest.err'
    6120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6121   (eval $ac_try) 2>&5
    6122   ac_status=$?
    6123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6124   (exit $ac_status); }; } &&
    6125      { ac_try='test -s conftest$ac_exeext'
    6126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6127   (eval $ac_try) 2>&5
    6128   ac_status=$?
    6129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6130   (exit $ac_status); }; }; then
     6685  (exit $ac_status); } && {
     6686     test -z "$ac_c_werror_flag" ||
     6687     test ! -s conftest.err
     6688       } && test -s conftest$ac_exeext &&
     6689       $as_test_x conftest$ac_exeext; then
    61316690  ac_cv_func__doprnt=yes
    61326691else
     
    61346693sed 's/^/| /' conftest.$ac_ext >&5
    61356694
    6136 ac_cv_func__doprnt=no
    6137 fi
    6138 rm -f conftest.err conftest.$ac_objext \
     6695    ac_cv_func__doprnt=no
     6696fi
     6697
     6698rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    61396699      conftest$ac_exeext conftest.$ac_ext
    61406700fi
    6141 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6142 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
     6701{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     6702echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
    61436703if test $ac_cv_func__doprnt = yes; then
    61446704
     
    61666726do
    61676727as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6168 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6170 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6728{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6729echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6730if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    61716731  echo $ECHO_N "(cached) $ECHO_C" >&6
    61726732else
     
    61946754#undef $ac_func
    61956755
    6196 /* Override any gcc2 internal prototype to avoid an error.  */
     6756/* Override any GCC internal prototype to avoid an error.
     6757   Use char because int might match the return type of a GCC
     6758   builtin and then its argument prototype would still apply.  */
    61976759#ifdef __cplusplus
    61986760extern "C"
    6199 {
    62006761#endif
    6201 /* We use char because int might match the return type of a gcc2
    6202    builtin and then its argument prototype would still apply.  */
    62036762char $ac_func ();
    62046763/* The GNU C library defines this for functions which it implements
    62056764    to always fail with ENOSYS.  Some functions are actually named
    62066765    something starting with __ and the normal name is an alias.  */
    6207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6766#if defined __stub_$ac_func || defined __stub___$ac_func
    62086767choke me
    6209 #else
    6210 char (*f) () = $ac_func;
    6211 #endif
    6212 #ifdef __cplusplus
    6213 }
    62146768#endif
    62156769
     
    62176771main ()
    62186772{
    6219 return f != $ac_func;
     6773return $ac_func ();
    62206774  ;
    62216775  return 0;
     
    62236777_ACEOF
    62246778rm -f conftest.$ac_objext conftest$ac_exeext
    6225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6226   (eval $ac_link) 2>conftest.er1
     6779if { (ac_try="$ac_link"
     6780case "(($ac_try" in
     6781  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6782  *) ac_try_echo=$ac_try;;
     6783esac
     6784eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6785  (eval "$ac_link") 2>conftest.er1
    62276786  ac_status=$?
    62286787  grep -v '^ *+' conftest.er1 >conftest.err
     
    62306789  cat conftest.err >&5
    62316790  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6232   (exit $ac_status); } &&
    6233      { ac_try='test -z "$ac_c_werror_flag"
    6234              || test ! -s conftest.err'
    6235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6236   (eval $ac_try) 2>&5
    6237   ac_status=$?
    6238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6239   (exit $ac_status); }; } &&
    6240      { ac_try='test -s conftest$ac_exeext'
    6241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6242   (eval $ac_try) 2>&5
    6243   ac_status=$?
    6244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6245   (exit $ac_status); }; }; then
     6791  (exit $ac_status); } && {
     6792     test -z "$ac_c_werror_flag" ||
     6793     test ! -s conftest.err
     6794       } && test -s conftest$ac_exeext &&
     6795       $as_test_x conftest$ac_exeext; then
    62466796  eval "$as_ac_var=yes"
    62476797else
     
    62496799sed 's/^/| /' conftest.$ac_ext >&5
    62506800
    6251 eval "$as_ac_var=no"
    6252 fi
    6253 rm -f conftest.err conftest.$ac_objext \
     6801    eval "$as_ac_var=no"
     6802fi
     6803
     6804rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    62546805      conftest$ac_exeext conftest.$ac_ext
    62556806fi
    6256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6807ac_res=`eval echo '${'$as_ac_var'}'`
     6808           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6809echo "${ECHO_T}$ac_res" >&6; }
    62586810if test `eval echo '${'$as_ac_var'}'` = yes; then
    62596811  cat >>confdefs.h <<_ACEOF
     
    62706822do
    62716823as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6272 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6274 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6824{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6825echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6826if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    62756827  echo $ECHO_N "(cached) $ECHO_C" >&6
    62766828else
     
    62986850#undef $ac_func
    62996851
    6300 /* Override any gcc2 internal prototype to avoid an error.  */
     6852/* Override any GCC internal prototype to avoid an error.
     6853   Use char because int might match the return type of a GCC
     6854   builtin and then its argument prototype would still apply.  */
    63016855#ifdef __cplusplus
    63026856extern "C"
    6303 {
    63046857#endif
    6305 /* We use char because int might match the return type of a gcc2
    6306    builtin and then its argument prototype would still apply.  */
    63076858char $ac_func ();
    63086859/* The GNU C library defines this for functions which it implements
    63096860    to always fail with ENOSYS.  Some functions are actually named
    63106861    something starting with __ and the normal name is an alias.  */
    6311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6862#if defined __stub_$ac_func || defined __stub___$ac_func
    63126863choke me
    6313 #else
    6314 char (*f) () = $ac_func;
    6315 #endif
    6316 #ifdef __cplusplus
    6317 }
    63186864#endif
    63196865
     
    63216867main ()
    63226868{
    6323 return f != $ac_func;
     6869return $ac_func ();
    63246870  ;
    63256871  return 0;
     
    63276873_ACEOF
    63286874rm -f conftest.$ac_objext conftest$ac_exeext
    6329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6330   (eval $ac_link) 2>conftest.er1
     6875if { (ac_try="$ac_link"
     6876case "(($ac_try" in
     6877  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6878  *) ac_try_echo=$ac_try;;
     6879esac
     6880eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6881  (eval "$ac_link") 2>conftest.er1
    63316882  ac_status=$?
    63326883  grep -v '^ *+' conftest.er1 >conftest.err
     
    63346885  cat conftest.err >&5
    63356886  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6336   (exit $ac_status); } &&
    6337      { ac_try='test -z "$ac_c_werror_flag"
    6338              || test ! -s conftest.err'
    6339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6340   (eval $ac_try) 2>&5
    6341   ac_status=$?
    6342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6343   (exit $ac_status); }; } &&
    6344      { ac_try='test -s conftest$ac_exeext'
    6345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6346   (eval $ac_try) 2>&5
    6347   ac_status=$?
    6348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6349   (exit $ac_status); }; }; then
     6887  (exit $ac_status); } && {
     6888     test -z "$ac_c_werror_flag" ||
     6889     test ! -s conftest.err
     6890       } && test -s conftest$ac_exeext &&
     6891       $as_test_x conftest$ac_exeext; then
    63506892  eval "$as_ac_var=yes"
    63516893else
     
    63536895sed 's/^/| /' conftest.$ac_ext >&5
    63546896
    6355 eval "$as_ac_var=no"
    6356 fi
    6357 rm -f conftest.err conftest.$ac_objext \
     6897    eval "$as_ac_var=no"
     6898fi
     6899
     6900rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    63586901      conftest$ac_exeext conftest.$ac_ext
    63596902fi
    6360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6903ac_res=`eval echo '${'$as_ac_var'}'`
     6904           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6905echo "${ECHO_T}$ac_res" >&6; }
    63626906if test `eval echo '${'$as_ac_var'}'` = yes; then
    63636907  cat >>confdefs.h <<_ACEOF
     
    63666910
    63676911else
    6368   case $LIBOBJS in
    6369     "$ac_func.$ac_objext"   | \
    6370   *" $ac_func.$ac_objext"   | \
    6371     "$ac_func.$ac_objext "* | \
     6912  case " $LIBOBJS " in
    63726913  *" $ac_func.$ac_objext "* ) ;;
    6373   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
     6914  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     6915 ;;
    63746916esac
    63756917
     
    63796921
    63806922
    6381 echo "$as_me:$LINENO: checking for textdomain" >&5
    6382 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
     6923{ echo "$as_me:$LINENO: checking for textdomain" >&5
     6924echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; }
    63836925if test "${ac_cv_func_textdomain+set}" = set; then
    63846926  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    64076949#undef textdomain
    64086950
    6409 /* Override any gcc2 internal prototype to avoid an error.  */
     6951/* Override any GCC internal prototype to avoid an error.
     6952   Use char because int might match the return type of a GCC
     6953   builtin and then its argument prototype would still apply.  */
    64106954#ifdef __cplusplus
    64116955extern "C"
    6412 {
    64136956#endif
    6414 /* We use char because int might match the return type of a gcc2
    6415    builtin and then its argument prototype would still apply.  */
    64166957char textdomain ();
    64176958/* The GNU C library defines this for functions which it implements
    64186959    to always fail with ENOSYS.  Some functions are actually named
    64196960    something starting with __ and the normal name is an alias.  */
    6420 #if defined (__stub_textdomain) || defined (__stub___textdomain)
     6961#if defined __stub_textdomain || defined __stub___textdomain
    64216962choke me
    6422 #else
    6423 char (*f) () = textdomain;
    6424 #endif
    6425 #ifdef __cplusplus
    6426 }
    64276963#endif
    64286964
     
    64306966main ()
    64316967{
    6432 return f != textdomain;
     6968return textdomain ();
    64336969  ;
    64346970  return 0;
     
    64366972_ACEOF
    64376973rm -f conftest.$ac_objext conftest$ac_exeext
    6438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6439   (eval $ac_link) 2>conftest.er1
     6974if { (ac_try="$ac_link"
     6975case "(($ac_try" in
     6976  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6977  *) ac_try_echo=$ac_try;;
     6978esac
     6979eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6980  (eval "$ac_link") 2>conftest.er1
    64406981  ac_status=$?
    64416982  grep -v '^ *+' conftest.er1 >conftest.err
     
    64436984  cat conftest.err >&5
    64446985  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6445   (exit $ac_status); } &&
    6446      { ac_try='test -z "$ac_c_werror_flag"
    6447              || test ! -s conftest.err'
    6448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6449   (eval $ac_try) 2>&5
    6450   ac_status=$?
    6451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6452   (exit $ac_status); }; } &&
    6453      { ac_try='test -s conftest$ac_exeext'
    6454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6455   (eval $ac_try) 2>&5
    6456   ac_status=$?
    6457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6458   (exit $ac_status); }; }; then
     6986  (exit $ac_status); } && {
     6987     test -z "$ac_c_werror_flag" ||
     6988     test ! -s conftest.err
     6989       } && test -s conftest$ac_exeext &&
     6990       $as_test_x conftest$ac_exeext; then
    64596991  ac_cv_func_textdomain=yes
    64606992else
     
    64626994sed 's/^/| /' conftest.$ac_ext >&5
    64636995
    6464 ac_cv_func_textdomain=no
    6465 fi
    6466 rm -f conftest.err conftest.$ac_objext \
     6996    ac_cv_func_textdomain=no
     6997fi
     6998
     6999rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    64677000      conftest$ac_exeext conftest.$ac_ext
    64687001fi
    6469 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    6470 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
     7002{ echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     7003echo "${ECHO_T}$ac_cv_func_textdomain" >&6; }
    64717004if test $ac_cv_func_textdomain = yes; then
    64727005  cat >>confdefs.h <<\_ACEOF
     
    64797012# *** Custom checking (based on GNU tar configure.in) ***
    64807013# ---------------------------------------------------------------------------
    6481 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    6482 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
     7014{ echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     7015echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; }
    64837016if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    6484   echo "$as_me:$LINENO: result: yes" >&5
    6485 echo "${ECHO_T}yes" >&6
    6486   case $LIBOBJS in
    6487     "gmalloc.$ac_objext"   | \
    6488   *" gmalloc.$ac_objext"   | \
    6489     "gmalloc.$ac_objext "* | \
     7017  { echo "$as_me:$LINENO: result: yes" >&5
     7018echo "${ECHO_T}yes" >&6; }
     7019  case " $LIBOBJS " in
    64907020  *" gmalloc.$ac_objext "* ) ;;
    6491   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
     7021  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
     7022 ;;
    64927023esac
    64937024
     
    64977028
    64987029else
    6499   echo "$as_me:$LINENO: result: no" >&5
    6500 echo "${ECHO_T}no" >&6
     7030  { echo "$as_me:$LINENO: result: no" >&5
     7031echo "${ECHO_T}no" >&6; }
    65017032
    65027033for ac_func in valloc
    65037034do
    65047035as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6505 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6507 if eval "test \"\${$as_ac_var+set}\" = set"; then
     7036{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     7037echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     7038if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    65087039  echo $ECHO_N "(cached) $ECHO_C" >&6
    65097040else
     
    65317062#undef $ac_func
    65327063
    6533 /* Override any gcc2 internal prototype to avoid an error.  */
     7064/* Override any GCC internal prototype to avoid an error.
     7065   Use char because int might match the return type of a GCC
     7066   builtin and then its argument prototype would still apply.  */
    65347067#ifdef __cplusplus
    65357068extern "C"
    6536 {
    65377069#endif
    6538 /* We use char because int might match the return type of a gcc2
    6539    builtin and then its argument prototype would still apply.  */
    65407070char $ac_func ();
    65417071/* The GNU C library defines this for functions which it implements
    65427072    to always fail with ENOSYS.  Some functions are actually named
    65437073    something starting with __ and the normal name is an alias.  */
    6544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7074#if defined __stub_$ac_func || defined __stub___$ac_func
    65457075choke me
    6546 #else
    6547 char (*f) () = $ac_func;
    6548 #endif
    6549 #ifdef __cplusplus
    6550 }
    65517076#endif
    65527077
     
    65547079main ()
    65557080{
    6556 return f != $ac_func;
     7081return $ac_func ();
    65577082  ;
    65587083  return 0;
     
    65607085_ACEOF
    65617086rm -f conftest.$ac_objext conftest$ac_exeext
    6562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6563   (eval $ac_link) 2>conftest.er1
     7087if { (ac_try="$ac_link"
     7088case "(($ac_try" in
     7089  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7090  *) ac_try_echo=$ac_try;;
     7091esac
     7092eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7093  (eval "$ac_link") 2>conftest.er1
    65647094  ac_status=$?
    65657095  grep -v '^ *+' conftest.er1 >conftest.err
     
    65677097  cat conftest.err >&5
    65687098  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6569   (exit $ac_status); } &&
    6570      { ac_try='test -z "$ac_c_werror_flag"
    6571              || test ! -s conftest.err'
    6572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6573   (eval $ac_try) 2>&5
    6574   ac_status=$?
    6575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6576   (exit $ac_status); }; } &&
    6577      { ac_try='test -s conftest$ac_exeext'
    6578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6579   (eval $ac_try) 2>&5
    6580   ac_status=$?
    6581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6582   (exit $ac_status); }; }; then
     7099  (exit $ac_status); } && {
     7100     test -z "$ac_c_werror_flag" ||
     7101     test ! -s conftest.err
     7102       } && test -s conftest$ac_exeext &&
     7103       $as_test_x conftest$ac_exeext; then
    65837104  eval "$as_ac_var=yes"
    65847105else
     
    65867107sed 's/^/| /' conftest.$ac_ext >&5
    65877108
    6588 eval "$as_ac_var=no"
    6589 fi
    6590 rm -f conftest.err conftest.$ac_objext \
     7109    eval "$as_ac_var=no"
     7110fi
     7111
     7112rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    65917113      conftest$ac_exeext conftest.$ac_ext
    65927114fi
    6593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     7115ac_res=`eval echo '${'$as_ac_var'}'`
     7116           { echo "$as_me:$LINENO: result: $ac_res" >&5
     7117echo "${ECHO_T}$ac_res" >&6; }
    65957118if test `eval echo '${'$as_ac_var'}'` = yes; then
    65967119  cat >>confdefs.h <<_ACEOF
     
    66047127
    66057128# we cannot generate static libraries under Darwin
    6606 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
    6607 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
     7129{ echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     7130echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6; }
    66087131if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    6609   echo "$as_me:$LINENO: result: yes" >&5
    6610 echo "${ECHO_T}yes" >&6
     7132  { echo "$as_me:$LINENO: result: yes" >&5
     7133echo "${ECHO_T}yes" >&6; }
    66117134  STATIC=""
    66127135else
    6613   echo "$as_me:$LINENO: result: no" >&5
    6614 echo "${ECHO_T}no" >&6
     7136  { echo "$as_me:$LINENO: result: no" >&5
     7137echo "${ECHO_T}no" >&6; }
    66157138  STATIC="-static "
    66167139fi
    66177140
    66187141
    6619 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    6620 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
    6621 
    6622 # Check whether --with-dmalloc or --without-dmalloc was given.
     7142{ echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     7143echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }
     7144
     7145# Check whether --with-dmalloc was given.
    66237146if test "${with_dmalloc+set}" = set; then
    6624   withval="$with_dmalloc"
    6625   if test "$withval" = yes; then
    6626   echo "$as_me:$LINENO: result: yes" >&5
    6627 echo "${ECHO_T}yes" >&6
     7147  withval=$with_dmalloc; if test "$withval" = yes; then
     7148  { echo "$as_me:$LINENO: result: yes" >&5
     7149echo "${ECHO_T}yes" >&6; }
    66287150  cat >>confdefs.h <<\_ACEOF
    66297151#define WITH_DMALLOC 1
     
    66337155  LDFLAGS="$LDFLAGS -g"
    66347156else
    6635   echo "$as_me:$LINENO: result: no" >&5
    6636 echo "${ECHO_T}no" >&6
    6637 fi
    6638 else
    6639   echo "$as_me:$LINENO: result: no" >&5
    6640 echo "${ECHO_T}no" >&6
    6641 fi;
    6642 
    6643 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    6644 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
    6645 
    6646 # Check whether --with-regex or --without-regex was given.
     7157  { echo "$as_me:$LINENO: result: no" >&5
     7158echo "${ECHO_T}no" >&6; }
     7159fi
     7160else
     7161  { echo "$as_me:$LINENO: result: no" >&5
     7162echo "${ECHO_T}no" >&6; }
     7163fi
     7164
     7165
     7166{ echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     7167echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; }
     7168
     7169# Check whether --with-regex was given.
    66477170if test "${with_regex+set}" = set; then
    6648   withval="$with_regex"
    6649   if test "$withval" = yes; then
     7171  withval=$with_regex; if test "$withval" = yes; then
    66507172  ac_with_regex=1
    6651   echo "$as_me:$LINENO: result: regex" >&5
    6652 echo "${ECHO_T}regex" >&6
     7173  { echo "$as_me:$LINENO: result: regex" >&5
     7174echo "${ECHO_T}regex" >&6; }
    66537175  cat >>confdefs.h <<\_ACEOF
    66547176#define WITH_REGEX 1
    66557177_ACEOF
    66567178
    6657   case $LIBOBJS in
    6658     "regex.$ac_objext"   | \
    6659   *" regex.$ac_objext"   | \
    6660     "regex.$ac_objext "* | \
     7179  case " $LIBOBJS " in
    66617180  *" regex.$ac_objext "* ) ;;
    6662   *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    6663 esac
    6664 
    6665 fi
    6666 fi;
     7181  *) LIBOBJS="$LIBOBJS regex.$ac_objext"
     7182 ;;
     7183esac
     7184
     7185fi
     7186fi
     7187
    66677188if test -z "$ac_with_regex"; then
    6668   echo "$as_me:$LINENO: result: rx" >&5
    6669 echo "${ECHO_T}rx" >&6
    6670   echo "$as_me:$LINENO: checking for re_rx_search" >&5
    6671 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
     7189  { echo "$as_me:$LINENO: result: rx" >&5
     7190echo "${ECHO_T}rx" >&6; }
     7191  { echo "$as_me:$LINENO: checking for re_rx_search" >&5
     7192echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; }
    66727193if test "${ac_cv_func_re_rx_search+set}" = set; then
    66737194  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    66967217#undef re_rx_search
    66977218
    6698 /* Override any gcc2 internal prototype to avoid an error.  */
     7219/* Override any GCC internal prototype to avoid an error.
     7220   Use char because int might match the return type of a GCC
     7221   builtin and then its argument prototype would still apply.  */
    66997222#ifdef __cplusplus
    67007223extern "C"
    6701 {
    67027224#endif
    6703 /* We use char because int might match the return type of a gcc2
    6704    builtin and then its argument prototype would still apply.  */
    67057225char re_rx_search ();
    67067226/* The GNU C library defines this for functions which it implements
    67077227    to always fail with ENOSYS.  Some functions are actually named
    67087228    something starting with __ and the normal name is an alias.  */
    6709 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
     7229#if defined __stub_re_rx_search || defined __stub___re_rx_search
    67107230choke me
    6711 #else
    6712 char (*f) () = re_rx_search;
    6713 #endif
    6714 #ifdef __cplusplus
    6715 }
    67167231#endif
    67177232
     
    67197234main ()
    67207235{
    6721 return f != re_rx_search;
     7236return re_rx_search ();
    67227237  ;
    67237238  return 0;
     
    67257240_ACEOF
    67267241rm -f conftest.$ac_objext conftest$ac_exeext
    6727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6728   (eval $ac_link) 2>conftest.er1
     7242if { (ac_try="$ac_link"
     7243case "(($ac_try" in
     7244  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7245  *) ac_try_echo=$ac_try;;
     7246esac
     7247eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7248  (eval "$ac_link") 2>conftest.er1
    67297249  ac_status=$?
    67307250  grep -v '^ *+' conftest.er1 >conftest.err
     
    67327252  cat conftest.err >&5
    67337253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6734   (exit $ac_status); } &&
    6735      { ac_try='test -z "$ac_c_werror_flag"
    6736              || test ! -s conftest.err'
    6737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6738   (eval $ac_try) 2>&5
    6739   ac_status=$?
    6740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6741   (exit $ac_status); }; } &&
    6742      { ac_try='test -s conftest$ac_exeext'
    6743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6744   (eval $ac_try) 2>&5
    6745   ac_status=$?
    6746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6747   (exit $ac_status); }; }; then
     7254  (exit $ac_status); } && {
     7255     test -z "$ac_c_werror_flag" ||
     7256     test ! -s conftest.err
     7257       } && test -s conftest$ac_exeext &&
     7258       $as_test_x conftest$ac_exeext; then
    67487259  ac_cv_func_re_rx_search=yes
    67497260else
     
    67517262sed 's/^/| /' conftest.$ac_ext >&5
    67527263
    6753 ac_cv_func_re_rx_search=no
    6754 fi
    6755 rm -f conftest.err conftest.$ac_objext \
     7264    ac_cv_func_re_rx_search=no
     7265fi
     7266
     7267rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    67567268      conftest$ac_exeext conftest.$ac_ext
    67577269fi
    6758 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    6759 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
     7270{ echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     7271echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; }
    67607272if test $ac_cv_func_re_rx_search = yes; then
    67617273  :
    67627274else
    6763   case $LIBOBJS in
    6764     "rx.$ac_objext"   | \
    6765   *" rx.$ac_objext"   | \
    6766     "rx.$ac_objext "* | \
     7275  case " $LIBOBJS " in
    67677276  *" rx.$ac_objext "* ) ;;
    6768   *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
     7277  *) LIBOBJS="$LIBOBJS rx.$ac_objext"
     7278 ;;
    67697279esac
    67707280
     
    67767286# ---------------------------------------------------------------------------
    67777287if test "$ac_cv_func_alloca" = 'no'; then
    6778   case $LIBOBJS in
    6779     "xmalloc.$ac_objext"   | \
    6780   *" xmalloc.$ac_objext"   | \
    6781     "xmalloc.$ac_objext "* | \
     7288  case " $LIBOBJS " in
    67827289  *" xmalloc.$ac_objext "* ) ;;
    6783   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    6784 esac
    6785 
    6786   case $LIBOBJS in
    6787     "error.$ac_objext"   | \
    6788   *" error.$ac_objext"   | \
    6789     "error.$ac_objext "* | \
     7290  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
     7291 ;;
     7292esac
     7293
     7294  case " $LIBOBJS " in
    67907295  *" error.$ac_objext "* ) ;;
    6791   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     7296  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     7297 ;;
    67927298esac
    67937299
     
    67977303# ---------------------------------------------------------------------------
    67987304
    6799 ac_ext=cc
     7305ac_ext=cpp
    68007306ac_cpp='$CXXCPP $CPPFLAGS'
    68017307ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    68057311
    68067312success=no
    6807 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
    6808 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
     7313{ echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
     7314echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6; }
    68097315
    68107316
     
    68267332_ACEOF
    68277333rm -f conftest.$ac_objext
    6828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6829   (eval $ac_compile) 2>conftest.er1
     7334if { (ac_try="$ac_compile"
     7335case "(($ac_try" in
     7336  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7337  *) ac_try_echo=$ac_try;;
     7338esac
     7339eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7340  (eval "$ac_compile") 2>conftest.er1
    68307341  ac_status=$?
    68317342  grep -v '^ *+' conftest.er1 >conftest.err
     
    68337344  cat conftest.err >&5
    68347345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6835   (exit $ac_status); } &&
    6836      { ac_try='test -z "$ac_cxx_werror_flag"
    6837              || test ! -s conftest.err'
    6838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6839   (eval $ac_try) 2>&5
    6840   ac_status=$?
    6841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6842   (exit $ac_status); }; } &&
    6843      { ac_try='test -s conftest.$ac_objext'
    6844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6845   (eval $ac_try) 2>&5
    6846   ac_status=$?
    6847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6848   (exit $ac_status); }; }; then
     7346  (exit $ac_status); } && {
     7347     test -z "$ac_cxx_werror_flag" ||
     7348     test ! -s conftest.err
     7349       } && test -s conftest.$ac_objext; then
    68497350  success=yes
    68507351else
     
    68527353sed 's/^/| /' conftest.$ac_ext >&5
    68537354
    6854 fi
    6855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7355
     7356fi
     7357
     7358rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    68567359
    68577360if test $success = "no"; then
     
    68737376_ACEOF
    68747377rm -f conftest.$ac_objext
    6875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6876   (eval $ac_compile) 2>conftest.er1
     7378if { (ac_try="$ac_compile"
     7379case "(($ac_try" in
     7380  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7381  *) ac_try_echo=$ac_try;;
     7382esac
     7383eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7384  (eval "$ac_compile") 2>conftest.er1
    68777385  ac_status=$?
    68787386  grep -v '^ *+' conftest.er1 >conftest.err
     
    68807388  cat conftest.err >&5
    68817389  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6882   (exit $ac_status); } &&
    6883      { ac_try='test -z "$ac_cxx_werror_flag"
    6884              || test ! -s conftest.err'
    6885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6886   (eval $ac_try) 2>&5
    6887   ac_status=$?
    6888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6889   (exit $ac_status); }; } &&
    6890      { ac_try='test -s conftest.$ac_objext'
    6891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6892   (eval $ac_try) 2>&5
    6893   ac_status=$?
    6894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6895   (exit $ac_status); }; }; then
     7390  (exit $ac_status); } && {
     7391     test -z "$ac_cxx_werror_flag" ||
     7392     test ! -s conftest.err
     7393       } && test -s conftest.$ac_objext; then
    68967394  success="yes"
    68977395else
     
    68997397sed 's/^/| /' conftest.$ac_ext >&5
    69007398
    6901 fi
    6902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7399
     7400fi
     7401
     7402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    69037403fi
    69047404
     
    69217421_ACEOF
    69227422rm -f conftest.$ac_objext
    6923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6924   (eval $ac_compile) 2>conftest.er1
     7423if { (ac_try="$ac_compile"
     7424case "(($ac_try" in
     7425  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7426  *) ac_try_echo=$ac_try;;
     7427esac
     7428eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7429  (eval "$ac_compile") 2>conftest.er1
    69257430  ac_status=$?
    69267431  grep -v '^ *+' conftest.er1 >conftest.err
     
    69287433  cat conftest.err >&5
    69297434  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6930   (exit $ac_status); } &&
    6931      { ac_try='test -z "$ac_cxx_werror_flag"
    6932              || test ! -s conftest.err'
    6933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6934   (eval $ac_try) 2>&5
    6935   ac_status=$?
    6936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6937   (exit $ac_status); }; } &&
    6938      { ac_try='test -s conftest.$ac_objext'
    6939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6940   (eval $ac_try) 2>&5
    6941   ac_status=$?
    6942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6943   (exit $ac_status); }; }; then
     7435  (exit $ac_status); } && {
     7436     test -z "$ac_cxx_werror_flag" ||
     7437     test ! -s conftest.err
     7438       } && test -s conftest.$ac_objext; then
    69447439  success="yes"
    69457440else
     
    69477442sed 's/^/| /' conftest.$ac_ext >&5
    69487443
    6949 fi
    6950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7444
     7445fi
     7446
     7447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    69517448fi
    69527449
    69537450if test $success = yes; then
    6954 echo "$as_me:$LINENO: result: \"no\"" >&5
    6955 echo "${ECHO_T}\"no\"" >&6
    6956 else
    6957 echo "$as_me:$LINENO: result: \"yes\"" >&5
    6958 echo "${ECHO_T}\"yes\"" >&6
     7451{ echo "$as_me:$LINENO: result: \"no\"" >&5
     7452echo "${ECHO_T}\"no\"" >&6; }
     7453else
     7454{ echo "$as_me:$LINENO: result: \"yes\"" >&5
     7455echo "${ECHO_T}\"yes\"" >&6; }
    69597456{ { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
    69607457echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
     
    69717468
    69727469# check for endianness
    6973 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    6974 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
     7470{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7471echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
    69757472if test "${ac_cv_c_bigendian+set}" = set; then
    69767473  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    69897486main ()
    69907487{
    6991 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
     7488#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
     7489    && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
    69927490 bogus endian macros
    69937491#endif
     
    69987496_ACEOF
    69997497rm -f conftest.$ac_objext
    7000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7001   (eval $ac_compile) 2>conftest.er1
     7498if { (ac_try="$ac_compile"
     7499case "(($ac_try" in
     7500  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7501  *) ac_try_echo=$ac_try;;
     7502esac
     7503eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7504  (eval "$ac_compile") 2>conftest.er1
    70027505  ac_status=$?
    70037506  grep -v '^ *+' conftest.er1 >conftest.err
     
    70057508  cat conftest.err >&5
    70067509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7007   (exit $ac_status); } &&
    7008      { ac_try='test -z "$ac_cxx_werror_flag"
    7009              || test ! -s conftest.err'
    7010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7011   (eval $ac_try) 2>&5
    7012   ac_status=$?
    7013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7014   (exit $ac_status); }; } &&
    7015      { ac_try='test -s conftest.$ac_objext'
    7016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7017   (eval $ac_try) 2>&5
    7018   ac_status=$?
    7019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7020   (exit $ac_status); }; }; then
     7510  (exit $ac_status); } && {
     7511     test -z "$ac_cxx_werror_flag" ||
     7512     test ! -s conftest.err
     7513       } && test -s conftest.$ac_objext; then
    70217514  # It does; now see whether it defined to BIG_ENDIAN or not.
    70227515cat >conftest.$ac_ext <<_ACEOF
     
    70417534_ACEOF
    70427535rm -f conftest.$ac_objext
    7043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7044   (eval $ac_compile) 2>conftest.er1
     7536if { (ac_try="$ac_compile"
     7537case "(($ac_try" in
     7538  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7539  *) ac_try_echo=$ac_try;;
     7540esac
     7541eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7542  (eval "$ac_compile") 2>conftest.er1
    70457543  ac_status=$?
    70467544  grep -v '^ *+' conftest.er1 >conftest.err
     
    70487546  cat conftest.err >&5
    70497547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7050   (exit $ac_status); } &&
    7051      { ac_try='test -z "$ac_cxx_werror_flag"
    7052              || test ! -s conftest.err'
    7053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7054   (eval $ac_try) 2>&5
    7055   ac_status=$?
    7056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7057   (exit $ac_status); }; } &&
    7058      { ac_try='test -s conftest.$ac_objext'
    7059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7060   (eval $ac_try) 2>&5
    7061   ac_status=$?
    7062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7063   (exit $ac_status); }; }; then
     7548  (exit $ac_status); } && {
     7549     test -z "$ac_cxx_werror_flag" ||
     7550     test ! -s conftest.err
     7551       } && test -s conftest.$ac_objext; then
    70647552  ac_cv_c_bigendian=yes
    70657553else
     
    70677555sed 's/^/| /' conftest.$ac_ext >&5
    70687556
    7069 ac_cv_c_bigendian=no
    7070 fi
    7071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7557    ac_cv_c_bigendian=no
     7558fi
     7559
     7560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70727561else
    70737562  echo "$as_me: failed program was:" >&5
    70747563sed 's/^/| /' conftest.$ac_ext >&5
    70757564
    7076 # It does not; compile a test program.
     7565    # It does not; compile a test program.
    70777566if test "$cross_compiling" = yes; then
    70787567  # try to guess the endianness by grepping values into an object file
     
    70847573cat >>conftest.$ac_ext <<_ACEOF
    70857574/* end confdefs.h.  */
    7086 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    7087 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     7575short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     7576short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    70887577void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    7089 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    7090 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     7578short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     7579short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    70917580void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    70927581int
     
    70997588_ACEOF
    71007589rm -f conftest.$ac_objext
    7101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7102   (eval $ac_compile) 2>conftest.er1
     7590if { (ac_try="$ac_compile"
     7591case "(($ac_try" in
     7592  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7593  *) ac_try_echo=$ac_try;;
     7594esac
     7595eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7596  (eval "$ac_compile") 2>conftest.er1
    71037597  ac_status=$?
    71047598  grep -v '^ *+' conftest.er1 >conftest.err
     
    71067600  cat conftest.err >&5
    71077601  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7108   (exit $ac_status); } &&
    7109      { ac_try='test -z "$ac_cxx_werror_flag"
    7110              || test ! -s conftest.err'
    7111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7112   (eval $ac_try) 2>&5
    7113   ac_status=$?
    7114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7115   (exit $ac_status); }; } &&
    7116      { ac_try='test -s conftest.$ac_objext'
    7117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7118   (eval $ac_try) 2>&5
    7119   ac_status=$?
    7120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7121   (exit $ac_status); }; }; then
     7602  (exit $ac_status); } && {
     7603     test -z "$ac_cxx_werror_flag" ||
     7604     test ! -s conftest.err
     7605       } && test -s conftest.$ac_objext; then
    71227606  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    71237607  ac_cv_c_bigendian=yes
     
    71357619sed 's/^/| /' conftest.$ac_ext >&5
    71367620
    7137 fi
    7138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7621
     7622fi
     7623
     7624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71397625else
    71407626  cat >conftest.$ac_ext <<_ACEOF
     
    71447630cat >>conftest.$ac_ext <<_ACEOF
    71457631/* end confdefs.h.  */
     7632$ac_includes_default
    71467633int
    71477634main ()
    71487635{
     7636
    71497637  /* Are we little or big endian?  From Harbison&Steele.  */
    71507638  union
    71517639  {
    7152     long l;
    7153     char c[sizeof (long)];
     7640    long int l;
     7641    char c[sizeof (long int)];
    71547642  } u;
    71557643  u.l = 1;
    7156   exit (u.c[sizeof (long) - 1] == 1);
     7644  return u.c[sizeof (long int) - 1] == 1;
     7645
     7646  ;
     7647  return 0;
    71577648}
    71587649_ACEOF
    71597650rm -f conftest$ac_exeext
    7160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7161   (eval $ac_link) 2>&5
     7651if { (ac_try="$ac_link"
     7652case "(($ac_try" in
     7653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7654  *) ac_try_echo=$ac_try;;
     7655esac
     7656eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7657  (eval "$ac_link") 2>&5
    71627658  ac_status=$?
    71637659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71647660  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7166   (eval $ac_try) 2>&5
     7661  { (case "(($ac_try" in
     7662  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7663  *) ac_try_echo=$ac_try;;
     7664esac
     7665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7666  (eval "$ac_try") 2>&5
    71677667  ac_status=$?
    71687668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    71777677ac_cv_c_bigendian=yes
    71787678fi
    7179 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7180 fi
    7181 fi
    7182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7183 fi
    7184 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    7185 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
     7679rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7680fi
     7681
     7682
     7683fi
     7684
     7685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7686fi
     7687{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7688echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
    71867689case $ac_cv_c_bigendian in
    71877690  yes)
     
    72037706# ---------------------------------------------------------------------------
    72047707if test "$ac_cv_func_alloca" = 'no'; then
    7205   case $LIBOBJS in
    7206     "xmalloc.o.$ac_objext"   | \
    7207   *" xmalloc.o.$ac_objext"   | \
    7208     "xmalloc.o.$ac_objext "* | \
     7708  case " $LIBOBJS " in
    72097709  *" xmalloc.o.$ac_objext "* ) ;;
    7210   *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
    7211 esac
    7212 
    7213   case $LIBOBJS in
    7214     "error.$ac_objext"   | \
    7215   *" error.$ac_objext"   | \
    7216     "error.$ac_objext "* | \
     7710  *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
     7711 ;;
     7712esac
     7713
     7714  case " $LIBOBJS " in
    72177715  *" error.$ac_objext "* ) ;;
    7218   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     7716  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     7717 ;;
    72197718esac
    72207719
     
    72457744gsdlprefix=`pwd`
    72467745ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos "
    7247 
    7248 
    72497746subdirs="$subdirs common-src runtime-src"
    72507747
     
    72547751         runtime-src/Makefile"
    72557752
    7256                               ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
     7753ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
     7754
    72577755cat >confcache <<\_ACEOF
    72587756# This file is a shell script that caches the results of configure
     
    72737771# The following way of writing the cache mishandles newlines in values,
    72747772# but we know of no workaround that is simple, portable, and efficient.
    7275 # So, don't put newlines in cache variables' values.
     7773# So, we kill variables containing newlines.
    72767774# Ultrix sh set writes to stderr and can't be redirected directly,
    72777775# and sets the high bit in the cache file unless we assign to the vars.
    7278 {
     7776(
     7777  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     7778    eval ac_val=\$$ac_var
     7779    case $ac_val in #(
     7780    *${as_nl}*)
     7781      case $ac_var in #(
     7782      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     7783echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     7784      esac
     7785      case $ac_var in #(
     7786      _ | IFS | as_nl) ;; #(
     7787      *) $as_unset $ac_var ;;
     7788      esac ;;
     7789    esac
     7790  done
     7791
    72797792  (set) 2>&1 |
    7280     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    7281     *ac_space=\ *)
     7793    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     7794    *${as_nl}ac_space=\ *)
    72827795      # `set' does not quote correctly, so add quotes (double-quote
    72837796      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    72857798    "s/'/'\\\\''/g;
    72867799      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    7287       ;;
     7800      ;; #(
    72887801    *)
    72897802      # `set' quotes correctly as required by POSIX, so do not add quotes.
    7290       sed -n \
    7291     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     7803      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    72927804      ;;
    7293     esac;
    7294 } |
     7805    esac |
     7806    sort
     7807) |
    72957808  sed '
     7809     /^ac_cv_env_/b end
    72967810     t clear
    7297      : clear
     7811     :clear
    72987812     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    72997813     t end
    7300      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    7301      : end' >>confcache
    7302 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    7303   if test -w $cache_file; then
    7304     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     7814     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     7815     :end' >>confcache
     7816if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     7817  if test -w "$cache_file"; then
     7818    test "x$cache_file" != "x/dev/null" &&
     7819      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
     7820echo "$as_me: updating cache $cache_file" >&6;}
    73057821    cat confcache >$cache_file
    73067822  else
    7307     echo "not updating unwritable cache $cache_file"
     7823    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     7824echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    73087825  fi
    73097826fi
     
    73137830# Let make expand exec_prefix.
    73147831test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    7315 
    7316 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    7317 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    7318 # trailing colons and then remove the whole line if VPATH becomes empty
    7319 # (actually we leave an empty line to preserve line numbers).
    7320 if test "x$srcdir" = x.; then
    7321   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    7322 s/:*\$(srcdir):*/:/;
    7323 s/:*\${srcdir}:*/:/;
    7324 s/:*@srcdir@:*/:/;
    7325 s/^\([^=]*=[     ]*\):*/\1/;
    7326 s/:*$//;
    7327 s/^[^=]*=[   ]*$//;
    7328 }'
    7329 fi
    73307832
    73317833DEFS=-DHAVE_CONFIG_H
     
    73357837for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    73367838  # 1. Remove the extension, and $U if already installed.
    7337   ac_i=`echo "$ac_i" |
    7338      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    7339   # 2. Add them.
    7340   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    7341   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     7839  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     7840  ac_i=`echo "$ac_i" | sed "$ac_script"`
     7841  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     7842  #    will be set to the directory where LIBOBJS objects are built.
     7843  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     7844  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    73427845done
    73437846LIBOBJS=$ac_libobjs
     
    73707873## --------------------- ##
    73717874
    7372 # Be Bourne compatible
     7875# Be more Bourne compatible
     7876DUALCASE=1; export DUALCASE # for MKS sh
    73737877if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    73747878  emulate sh
     
    73777881  # is contrary to our usage.  Disable this feature.
    73787882  alias -g '${1+"$@"}'='"$@"'
    7379 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    7380   set -o posix
    7381 fi
    7382 DUALCASE=1; export DUALCASE # for MKS sh
    7383 
    7384 # Support unset when possible.
    7385 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    7386   as_unset=unset
    7387 else
    7388   as_unset=false
    7389 fi
    7390 
    7391 
    7392 # Work around bugs in pre-3.0 UWIN ksh.
    7393 $as_unset ENV MAIL MAILPATH
    7394 PS1='$ '
    7395 PS2='> '
    7396 PS4='+ '
    7397 
    7398 # NLS nuisances.
    7399 for as_var in \
    7400   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    7401   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    7402   LC_TELEPHONE LC_TIME
    7403 do
    7404   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    7405     eval $as_var=C; export $as_var
    7406   else
    7407     $as_unset $as_var
    7408   fi
    7409 done
    7410 
    7411 # Required to use basename.
    7412 if expr a : '\(a\)' >/dev/null 2>&1; then
    7413   as_expr=expr
    7414 else
    7415   as_expr=false
    7416 fi
    7417 
    7418 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    7419   as_basename=basename
    7420 else
    7421   as_basename=false
    7422 fi
    7423 
    7424 
    7425 # Name of the executable.
    7426 as_me=`$as_basename "$0" ||
    7427 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    7428      X"$0" : 'X\(//\)$' \| \
    7429      X"$0" : 'X\(/\)$' \| \
    7430      .     : '\(.\)' 2>/dev/null ||
    7431 echo X/"$0" |
    7432     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    7433       /^X\/\(\/\/\)$/{ s//\1/; q; }
    7434       /^X\/\(\/\).*/{ s//\1/; q; }
    7435       s/.*/./; q'`
    7436 
    7437 
    7438 # PATH needs CR, and LINENO needs CR and PATH.
     7883  setopt NO_GLOB_SUBST
     7884else
     7885  case `(set -o) 2>/dev/null` in
     7886  *posix*) set -o posix ;;
     7887esac
     7888
     7889fi
     7890
     7891
     7892
     7893
     7894# PATH needs CR
    74397895# Avoid depending upon Character Ranges.
    74407896as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    74577913fi
    74587914
    7459 
    7460   as_lineno_1=$LINENO
    7461   as_lineno_2=$LINENO
    7462   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    7463   test "x$as_lineno_1" != "x$as_lineno_2" &&
    7464   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    7465   # Find who we are.  Look in the path if we contain no path at all
    7466   # relative or not.
    7467   case $0 in
    7468     *[\\/]* ) as_myself=$0 ;;
    7469     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7915# Support unset when possible.
     7916if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     7917  as_unset=unset
     7918else
     7919  as_unset=false
     7920fi
     7921
     7922
     7923# IFS
     7924# We need space, tab and new line, in precisely that order.  Quoting is
     7925# there to prevent editors from complaining about space-tab.
     7926# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     7927# splitting by setting IFS to empty value.)
     7928as_nl='
     7929'
     7930IFS=" ""    $as_nl"
     7931
     7932# Find who we are.  Look in the path if we contain no directory separator.
     7933case $0 in
     7934  *[\\/]* ) as_myself=$0 ;;
     7935  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    74707936for as_dir in $PATH
    74717937do
     
    74747940  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    74757941done
    7476 
    7477        ;;
    7478   esac
    7479   # We did not find ourselves, most probably we were run as `sh COMMAND'
    7480   # in which case we are not to be found in the path.
    7481   if test "x$as_myself" = x; then
    7482     as_myself=$0
     7942IFS=$as_save_IFS
     7943
     7944     ;;
     7945esac
     7946# We did not find ourselves, most probably we were run as `sh COMMAND'
     7947# in which case we are not to be found in the path.
     7948if test "x$as_myself" = x; then
     7949  as_myself=$0
     7950fi
     7951if test ! -f "$as_myself"; then
     7952  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     7953  { (exit 1); exit 1; }
     7954fi
     7955
     7956# Work around bugs in pre-3.0 UWIN ksh.
     7957for as_var in ENV MAIL MAILPATH
     7958do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     7959done
     7960PS1='$ '
     7961PS2='> '
     7962PS4='+ '
     7963
     7964# NLS nuisances.
     7965for as_var in \
     7966  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     7967  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     7968  LC_TELEPHONE LC_TIME
     7969do
     7970  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     7971    eval $as_var=C; export $as_var
     7972  else
     7973    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    74837974  fi
    7484   if test ! -f "$as_myself"; then
    7485     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    7486 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    7487    { (exit 1); exit 1; }; }
    7488   fi
    7489   case $CONFIG_SHELL in
    7490   '')
    7491     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7492 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    7493 do
    7494   IFS=$as_save_IFS
    7495   test -z "$as_dir" && as_dir=.
    7496   for as_base in sh bash ksh sh5; do
    7497      case $as_dir in
    7498      /*)
    7499        if ("$as_dir/$as_base" -c '
     7975done
     7976
     7977# Required to use basename.
     7978if expr a : '\(a\)' >/dev/null 2>&1 &&
     7979   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     7980  as_expr=expr
     7981else
     7982  as_expr=false
     7983fi
     7984
     7985if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     7986  as_basename=basename
     7987else
     7988  as_basename=false
     7989fi
     7990
     7991
     7992# Name of the executable.
     7993as_me=`$as_basename -- "$0" ||
     7994$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     7995     X"$0" : 'X\(//\)$' \| \
     7996     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     7997echo X/"$0" |
     7998    sed '/^.*\/\([^/][^/]*\)\/*$/{
     7999        s//\1/
     8000        q
     8001      }
     8002      /^X\/\(\/\/\)$/{
     8003        s//\1/
     8004        q
     8005      }
     8006      /^X\/\(\/\).*/{
     8007        s//\1/
     8008        q
     8009      }
     8010      s/.*/./; q'`
     8011
     8012# CDPATH.
     8013$as_unset CDPATH
     8014
     8015
     8016
    75008017  as_lineno_1=$LINENO
    75018018  as_lineno_2=$LINENO
    7502   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    75038019  test "x$as_lineno_1" != "x$as_lineno_2" &&
    7504   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    7505          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    7506          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    7507          CONFIG_SHELL=$as_dir/$as_base
    7508          export CONFIG_SHELL
    7509          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    7510        fi;;
    7511      esac
    7512        done
    7513 done
    7514 ;;
    7515   esac
     8020  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    75168021
    75178022  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    75188023  # uniformly replaced by the line number.  The first 'sed' inserts a
    7519   # line-number line before each line; the second 'sed' does the real
    7520   # work.  The second script uses 'N' to pair each line-number line
    7521   # with the numbered line, and appends trailing '-' during
    7522   # substitution so that $LINENO is not a special case at line end.
     8024  # line-number line after each line using $LINENO; the second 'sed'
     8025  # does the real work.  The second script uses 'N' to pair each
     8026  # line-number line with the line containing $LINENO, and appends
     8027  # trailing '-' during substitution so that $LINENO is not a special
     8028  # case at line end.
    75238029  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    7524   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    7525   sed '=' <$as_myself |
     8030  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     8031  # E. McMahon (1931-1989) for sed's syntax.  :-)
     8032  sed -n '
     8033    p
     8034    /[$]LINENO/=
     8035  ' <$as_myself |
    75268036    sed '
     8037      s/[$]LINENO.*/&-/
     8038      t lineno
     8039      b
     8040      :lineno
    75278041      N
    7528       s,$,-,
    7529       : loop
    7530       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     8042      :loop
     8043      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    75318044      t loop
    7532       s,-$,,
    7533       s,^['$as_cr_digits']*\n,,
     8045      s/-\n.*//
    75348046    ' >$as_me.lineno &&
    7535   chmod +x $as_me.lineno ||
    7536     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    7537 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     8047  chmod +x "$as_me.lineno" ||
     8048    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    75388049   { (exit 1); exit 1; }; }
    75398050
    75408051  # Don't try to exec as it changes $[0], causing all sort of problems
    75418052  # (the dirname of $[0] is not the place where we might find the
    7542   # original and so on.  Autoconf is especially sensible to this).
    7543   . ./$as_me.lineno
     8053  # original and so on.  Autoconf is especially sensitive to this).
     8054  . "./$as_me.lineno"
    75448055  # Exit status is that of the last command.
    75458056  exit
     
    75478058
    75488059
    7549 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    7550   *c*,-n*) ECHO_N= ECHO_C='
    7551 ' ECHO_T='  ' ;;
    7552   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    7553   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    7554 esac
    7555 
    7556 if expr a : '\(a\)' >/dev/null 2>&1; then
     8060if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     8061  as_dirname=dirname
     8062else
     8063  as_dirname=false
     8064fi
     8065
     8066ECHO_C= ECHO_N= ECHO_T=
     8067case `echo -n x` in
     8068-n*)
     8069  case `echo 'x\c'` in
     8070  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     8071  *)   ECHO_C='\c';;
     8072  esac;;
     8073*)
     8074  ECHO_N='-n';;
     8075esac
     8076
     8077if expr a : '\(a\)' >/dev/null 2>&1 &&
     8078   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    75578079  as_expr=expr
    75588080else
     
    75618083
    75628084rm -f conf$$ conf$$.exe conf$$.file
     8085if test -d conf$$.dir; then
     8086  rm -f conf$$.dir/conf$$.file
     8087else
     8088  rm -f conf$$.dir
     8089  mkdir conf$$.dir
     8090fi
    75638091echo >conf$$.file
    75648092if ln -s conf$$.file conf$$ 2>/dev/null; then
    7565   # We could just check for DJGPP; but this test a) works b) is more generic
    7566   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    7567   if test -f conf$$.exe; then
    7568     # Don't use ln at all; we don't have any links
     8093  as_ln_s='ln -s'
     8094  # ... but there are two gotchas:
     8095  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     8096  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     8097  # In both cases, we have to default to `cp -p'.
     8098  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    75698099    as_ln_s='cp -p'
    7570   else
    7571     as_ln_s='ln -s'
    7572   fi
    75738100elif ln conf$$.file conf$$ 2>/dev/null; then
    75748101  as_ln_s=ln
     
    75768103  as_ln_s='cp -p'
    75778104fi
    7578 rm -f conf$$ conf$$.exe conf$$.file
     8105rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     8106rmdir conf$$.dir 2>/dev/null
    75798107
    75808108if mkdir -p . 2>/dev/null; then
     
    75858113fi
    75868114
    7587 as_executable_p="test -f"
     8115if test -x / >/dev/null 2>&1; then
     8116  as_test_x='test -x'
     8117else
     8118  if ls -dL / >/dev/null 2>&1; then
     8119    as_ls_L_option=L
     8120  else
     8121    as_ls_L_option=
     8122  fi
     8123  as_test_x='
     8124    eval sh -c '\''
     8125      if test -d "$1"; then
     8126        test -d "$1/.";
     8127      else
     8128    case $1 in
     8129        -*)set "./$1";;
     8130    esac;
     8131    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     8132    ???[sx]*):;;*)false;;esac;fi
     8133    '\'' sh
     8134  '
     8135fi
     8136as_executable_p=$as_test_x
    75888137
    75898138# Sed expression to map a string onto a valid CPP name.
     
    75948143
    75958144
    7596 # IFS
    7597 # We need space, tab and new line, in precisely that order.
    7598 as_nl='
    7599 '
    7600 IFS="   $as_nl"
    7601 
    7602 # CDPATH.
    7603 $as_unset CDPATH
    7604 
    76058145exec 6>&1
    76068146
    7607 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     8147# Save the log message, to keep $[0] and so on meaningful, and to
    76088148# report actual input values of CONFIG_FILES etc. instead of their
    7609 # values after options handling.  Logging --version etc. is OK.
    7610 exec 5>>config.log
    7611 {
    7612   echo
    7613   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    7614 ## Running $as_me. ##
    7615 _ASBOX
    7616 } >&5
    7617 cat >&5 <<_CSEOF
    7618 
     8149# values after options handling.
     8150ac_log="
    76198151This file was extended by $as_me, which was
    7620 generated by GNU Autoconf 2.59.  Invocation command line was
     8152generated by GNU Autoconf 2.61.  Invocation command line was
    76218153
    76228154  CONFIG_FILES    = $CONFIG_FILES
     
    76268158  $ $0 $@
    76278159
    7628 _CSEOF
    7629 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    7630 echo >&5
    7631 _ACEOF
    7632 
     8160on `(hostname || uname -n) 2>/dev/null | sed 1q`
     8161"
     8162
     8163_ACEOF
     8164
     8165cat >>$CONFIG_STATUS <<_ACEOF
    76338166# Files that config.status was made for.
    7634 if test -n "$ac_config_files"; then
    7635   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    7636 fi
    7637 
    7638 if test -n "$ac_config_headers"; then
    7639   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    7640 fi
    7641 
    7642 if test -n "$ac_config_links"; then
    7643   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    7644 fi
    7645 
    7646 if test -n "$ac_config_commands"; then
    7647   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    7648 fi
     8167config_files="$ac_config_files"
     8168config_headers="$ac_config_headers"
     8169
     8170_ACEOF
    76498171
    76508172cat >>$CONFIG_STATUS <<\_ACEOF
    7651 
    76528173ac_cs_usage="\
    76538174\`$as_me' instantiates files from templates according to the
     
    76578178
    76588179  -h, --help       print this help, then exit
    7659   -V, --version    print version number, then exit
     8180  -V, --version    print version number and configuration settings, then exit
    76608181  -q, --quiet      do not print progress messages
    76618182  -d, --debug      don't remove temporary files
     
    76738194
    76748195Report bugs to <[email protected]>."
    7675 _ACEOF
    7676 
     8196
     8197_ACEOF
    76778198cat >>$CONFIG_STATUS <<_ACEOF
    76788199ac_cs_version="\\
    76798200config.status
    7680 configured by $0, generated by GNU Autoconf 2.59,
    7681   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    7682 
    7683 Copyright (C) 2003 Free Software Foundation, Inc.
     8201configured by $0, generated by GNU Autoconf 2.61,
     8202  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     8203
     8204Copyright (C) 2006 Free Software Foundation, Inc.
    76848205This config.status script is free software; the Free Software Foundation
    76858206gives unlimited permission to copy, distribute and modify it."
    7686 srcdir=$srcdir
    7687 INSTALL="$INSTALL"
     8207
     8208ac_pwd='$ac_pwd'
     8209srcdir='$srcdir'
     8210INSTALL='$INSTALL'
    76888211_ACEOF
    76898212
     
    76968219  case $1 in
    76978220  --*=*)
    7698     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    7699     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     8221    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     8222    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    77008223    ac_shift=:
    77018224    ;;
    7702   -*)
     8225  *)
    77038226    ac_option=$1
    77048227    ac_optarg=$2
    77058228    ac_shift=shift
    77068229    ;;
    7707   *) # This is not an option, so the user has probably given explicit
    7708      # arguments.
    7709      ac_option=$1
    7710      ac_need_defaults=false;;
    77118230  esac
    77128231
    77138232  case $ac_option in
    77148233  # Handling of the options.
    7715 _ACEOF
    7716 cat >>$CONFIG_STATUS <<\_ACEOF
    77178234  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    77188235    ac_cs_recheck=: ;;
    7719   --version | --vers* | -V )
    7720     echo "$ac_cs_version"; exit 0 ;;
    7721   --he | --h)
    7722     # Conflict between --help and --header
    7723     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    7724 Try \`$0 --help' for more information." >&5
    7725 echo "$as_me: error: ambiguous option: $1
    7726 Try \`$0 --help' for more information." >&2;}
    7727    { (exit 1); exit 1; }; };;
    7728   --help | --hel | -h )
    7729     echo "$ac_cs_usage"; exit 0 ;;
    7730   --debug | --d* | -d )
     8236  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     8237    echo "$ac_cs_version"; exit ;;
     8238  --debug | --debu | --deb | --de | --d | -d )
    77318239    debug=: ;;
    77328240  --file | --fil | --fi | --f )
     
    77388246    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    77398247    ac_need_defaults=false;;
     8248  --he | --h)
     8249    # Conflict between --help and --header
     8250    { echo "$as_me: error: ambiguous option: $1
     8251Try \`$0 --help' for more information." >&2
     8252   { (exit 1); exit 1; }; };;
     8253  --help | --hel | -h )
     8254    echo "$ac_cs_usage"; exit ;;
    77408255  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    77418256  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    77438258
    77448259  # This is an error.
    7745   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    7746 Try \`$0 --help' for more information." >&5
    7747 echo "$as_me: error: unrecognized option: $1
    7748 Try \`$0 --help' for more information." >&2;}
     8260  -*) { echo "$as_me: error: unrecognized option: $1
     8261Try \`$0 --help' for more information." >&2
    77498262   { (exit 1); exit 1; }; } ;;
    77508263
    7751   *) ac_config_targets="$ac_config_targets $1" ;;
     8264  *) ac_config_targets="$ac_config_targets $1"
     8265     ac_need_defaults=false ;;
    77528266
    77538267  esac
     
    77658279cat >>$CONFIG_STATUS <<_ACEOF
    77668280if \$ac_cs_recheck; then
    7767   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    7768   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    7769 fi
    7770 
    7771 _ACEOF
    7772 
    7773 
    7774 
    7775 
    7776 
     8281  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     8282  CONFIG_SHELL=$SHELL
     8283  export CONFIG_SHELL
     8284  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     8285fi
     8286
     8287_ACEOF
    77778288cat >>$CONFIG_STATUS <<\_ACEOF
     8289exec 5>>config.log
     8290{
     8291  echo
     8292  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     8293## Running $as_me. ##
     8294_ASBOX
     8295  echo "$ac_log"
     8296} >&5
     8297
     8298_ACEOF
     8299cat >>$CONFIG_STATUS <<_ACEOF
     8300_ACEOF
     8301
     8302cat >>$CONFIG_STATUS <<\_ACEOF
     8303
     8304# Handling of arguments.
    77788305for ac_config_target in $ac_config_targets
    77798306do
    7780   case "$ac_config_target" in
    7781   # Handling of arguments.
    7782   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    7783   "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    7784   "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    7785   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     8307  case $ac_config_target in
     8308    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     8309    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     8310    "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     8311    "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     8312
    77868313  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    77878314echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     
    77898316  esac
    77908317done
     8318
    77918319
    77928320# If the user did not use the arguments to specify the items to instantiate,
     
    78008328
    78018329# Have a temporary directory for convenience.  Make it in the build tree
    7802 # simply because there is no reason to put it here, and in addition,
     8330# simply because there is no reason against having it here, and in addition,
    78038331# creating and moving files from /tmp can sometimes cause problems.
    7804 # Create a temporary directory, and hook for its removal unless debugging.
     8332# Hook for its removal unless debugging.
     8333# Note that there is a small window in which the directory will not be cleaned:
     8334# after its creation but before its name has been assigned to `$tmp'.
    78058335$debug ||
    78068336{
    7807   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     8337  tmp=
     8338  trap 'exit_status=$?
     8339  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     8340' 0
    78088341  trap '{ (exit 1); exit 1; }' 1 2 13 15
    78098342}
    7810 
    78118343# Create a (secure) tmp directory for tmp files.
    78128344
    78138345{
    7814   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     8346  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    78158347  test -n "$tmp" && test -d "$tmp"
    78168348}  ||
    78178349{
    7818   tmp=./confstat$$-$RANDOM
    7819   (umask 077 && mkdir $tmp)
     8350  tmp=./conf$$-$RANDOM
     8351  (umask 077 && mkdir "$tmp")
    78208352} ||
    78218353{
     
    78248356}
    78258357
    7826 _ACEOF
    7827 
    7828 cat >>$CONFIG_STATUS <<_ACEOF
    7829 
    78308358#
    7831 # CONFIG_FILES section.
     8359# Set up the sed scripts for CONFIG_FILES section.
    78328360#
    78338361
    78348362# No need to generate the scripts if there are no CONFIG_FILES.
    78358363# This happens for instance when ./config.status config.h
    7836 if test -n "\$CONFIG_FILES"; then
    7837   # Protect against being on the right side of a sed subst in config.status.
    7838   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    7839    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    7840 s,@SHELL@,$SHELL,;t t
    7841 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    7842 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    7843 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    7844 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    7845 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    7846 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    7847 s,@exec_prefix@,$exec_prefix,;t t
    7848 s,@prefix@,$prefix,;t t
    7849 s,@program_transform_name@,$program_transform_name,;t t
    7850 s,@bindir@,$bindir,;t t
    7851 s,@sbindir@,$sbindir,;t t
    7852 s,@libexecdir@,$libexecdir,;t t
    7853 s,@datadir@,$datadir,;t t
    7854 s,@sysconfdir@,$sysconfdir,;t t
    7855 s,@sharedstatedir@,$sharedstatedir,;t t
    7856 s,@localstatedir@,$localstatedir,;t t
    7857 s,@libdir@,$libdir,;t t
    7858 s,@includedir@,$includedir,;t t
    7859 s,@oldincludedir@,$oldincludedir,;t t
    7860 s,@infodir@,$infodir,;t t
    7861 s,@mandir@,$mandir,;t t
    7862 s,@build_alias@,$build_alias,;t t
    7863 s,@host_alias@,$host_alias,;t t
    7864 s,@target_alias@,$target_alias,;t t
    7865 s,@DEFS@,$DEFS,;t t
    7866 s,@ECHO_C@,$ECHO_C,;t t
    7867 s,@ECHO_N@,$ECHO_N,;t t
    7868 s,@ECHO_T@,$ECHO_T,;t t
    7869 s,@LIBS@,$LIBS,;t t
    7870 s,@PACKAGE@,$PACKAGE,;t t
    7871 s,@VERSION@,$VERSION,;t t
    7872 s,@USE_FASTCGI@,$USE_FASTCGI,;t t
    7873 s,@USE_LANGACTION@,$USE_LANGACTION,;t t
    7874 s,@USE_CORBA@,$USE_CORBA,;t t
    7875 s,@MICO_DIR@,$MICO_DIR,;t t
    7876 s,@USE_Z3950@,$USE_Z3950,;t t
    7877 s,@USE_YAZ@,$USE_YAZ,;t t
    7878 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    7879 s,@USE_SQLITE@,$USE_SQLITE,;t t
    7880 s,@LDFLAGS@,$LDFLAGS,;t t
    7881 s,@CFLAGS@,$CFLAGS,;t t
    7882 s,@CC@,$CC,;t t
    7883 s,@CPPFLAGS@,$CPPFLAGS,;t t
    7884 s,@ac_ct_CC@,$ac_ct_CC,;t t
    7885 s,@EXEEXT@,$EXEEXT,;t t
    7886 s,@OBJEXT@,$OBJEXT,;t t
    7887 s,@CXX@,$CXX,;t t
    7888 s,@CXXFLAGS@,$CXXFLAGS,;t t
    7889 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    7890 s,@AWK@,$AWK,;t t
    7891 s,@YACC@,$YACC,;t t
    7892 s,@build@,$build,;t t
    7893 s,@build_cpu@,$build_cpu,;t t
    7894 s,@build_vendor@,$build_vendor,;t t
    7895 s,@build_os@,$build_os,;t t
    7896 s,@host@,$host,;t t
    7897 s,@host_cpu@,$host_cpu,;t t
    7898 s,@host_vendor@,$host_vendor,;t t
    7899 s,@host_os@,$host_os,;t t
    7900 s,@target@,$target,;t t
    7901 s,@target_cpu@,$target_cpu,;t t
    7902 s,@target_vendor@,$target_vendor,;t t
    7903 s,@target_os@,$target_os,;t t
    7904 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    7905 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    7906 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    7907 s,@LN_S@,$LN_S,;t t
    7908 s,@SET_MAKE@,$SET_MAKE,;t t
    7909 s,@RANLIB@,$RANLIB,;t t
    7910 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    7911 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
    7912 s,@MICO_VER@,$MICO_VER,;t t
    7913 s,@CPP@,$CPP,;t t
    7914 s,@EGREP@,$EGREP,;t t
    7915 s,@U@,$U,;t t
    7916 s,@ANSI2KNR@,$ANSI2KNR,;t t
    7917 s,@ALLOCA@,$ALLOCA,;t t
    7918 s,@LIBOBJS@,$LIBOBJS,;t t
    7919 s,@STATIC@,$STATIC,;t t
    7920 s,@gsdlos@,$gsdlos,;t t
    7921 s,@MODULEDIRS@,$MODULEDIRS,;t t
    7922 s,@subdirs@,$subdirs,;t t
    7923 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    7924 CEOF
    7925 
    7926 _ACEOF
    7927 
    7928   cat >>$CONFIG_STATUS <<\_ACEOF
    7929   # Split the substitutions into bite-sized pieces for seds with
    7930   # small command number limits, like on Digital OSF/1 and HP-UX.
    7931   ac_max_sed_lines=48
    7932   ac_sed_frag=1 # Number of current file.
    7933   ac_beg=1 # First line for current file.
    7934   ac_end=$ac_max_sed_lines # Line after last line for current file.
    7935   ac_more_lines=:
    7936   ac_sed_cmds=
    7937   while $ac_more_lines; do
    7938     if test $ac_beg -gt 1; then
    7939       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    7940     else
    7941       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     8364if test -n "$CONFIG_FILES"; then
     8365
     8366_ACEOF
     8367
     8368
     8369
     8370ac_delim='%!_!# '
     8371for ac_last_try in false false false false false :; do
     8372  cat >conf$$subs.sed <<_ACEOF
     8373SHELL!$SHELL$ac_delim
     8374PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
     8375PACKAGE_NAME!$PACKAGE_NAME$ac_delim
     8376PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
     8377PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
     8378PACKAGE_STRING!$PACKAGE_STRING$ac_delim
     8379PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
     8380exec_prefix!$exec_prefix$ac_delim
     8381prefix!$prefix$ac_delim
     8382program_transform_name!$program_transform_name$ac_delim
     8383bindir!$bindir$ac_delim
     8384sbindir!$sbindir$ac_delim
     8385libexecdir!$libexecdir$ac_delim
     8386datarootdir!$datarootdir$ac_delim
     8387datadir!$datadir$ac_delim
     8388sysconfdir!$sysconfdir$ac_delim
     8389sharedstatedir!$sharedstatedir$ac_delim
     8390localstatedir!$localstatedir$ac_delim
     8391includedir!$includedir$ac_delim
     8392oldincludedir!$oldincludedir$ac_delim
     8393docdir!$docdir$ac_delim
     8394infodir!$infodir$ac_delim
     8395htmldir!$htmldir$ac_delim
     8396dvidir!$dvidir$ac_delim
     8397pdfdir!$pdfdir$ac_delim
     8398psdir!$psdir$ac_delim
     8399libdir!$libdir$ac_delim
     8400localedir!$localedir$ac_delim
     8401mandir!$mandir$ac_delim
     8402DEFS!$DEFS$ac_delim
     8403ECHO_C!$ECHO_C$ac_delim
     8404ECHO_N!$ECHO_N$ac_delim
     8405ECHO_T!$ECHO_T$ac_delim
     8406LIBS!$LIBS$ac_delim
     8407build_alias!$build_alias$ac_delim
     8408host_alias!$host_alias$ac_delim
     8409target_alias!$target_alias$ac_delim
     8410PACKAGE!$PACKAGE$ac_delim
     8411VERSION!$VERSION$ac_delim
     8412USE_FASTCGI!$USE_FASTCGI$ac_delim
     8413USE_LANGACTION!$USE_LANGACTION$ac_delim
     8414USE_CORBA!$USE_CORBA$ac_delim
     8415MICO_DIR!$MICO_DIR$ac_delim
     8416USE_Z3950!$USE_Z3950$ac_delim
     8417USE_YAZ!$USE_YAZ$ac_delim
     8418ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim
     8419ENABLE_JDBM!$ENABLE_JDBM$ac_delim
     8420USE_SQLITE!$USE_SQLITE$ac_delim
     8421ENABLE_JNI!$ENABLE_JNI$ac_delim
     8422ENABLE_MG!$ENABLE_MG$ac_delim
     8423ENABLE_MGPP!$ENABLE_MGPP$ac_delim
     8424ENABLE_LUCENE!$ENABLE_LUCENE$ac_delim
     8425LDFLAGS!$LDFLAGS$ac_delim
     8426CFLAGS!$CFLAGS$ac_delim
     8427CC!$CC$ac_delim
     8428CPPFLAGS!$CPPFLAGS$ac_delim
     8429ac_ct_CC!$ac_ct_CC$ac_delim
     8430EXEEXT!$EXEEXT$ac_delim
     8431OBJEXT!$OBJEXT$ac_delim
     8432CXX!$CXX$ac_delim
     8433CXXFLAGS!$CXXFLAGS$ac_delim
     8434ac_ct_CXX!$ac_ct_CXX$ac_delim
     8435AWK!$AWK$ac_delim
     8436YACC!$YACC$ac_delim
     8437YFLAGS!$YFLAGS$ac_delim
     8438build!$build$ac_delim
     8439build_cpu!$build_cpu$ac_delim
     8440build_vendor!$build_vendor$ac_delim
     8441build_os!$build_os$ac_delim
     8442host!$host$ac_delim
     8443host_cpu!$host_cpu$ac_delim
     8444host_vendor!$host_vendor$ac_delim
     8445host_os!$host_os$ac_delim
     8446target!$target$ac_delim
     8447target_cpu!$target_cpu$ac_delim
     8448target_vendor!$target_vendor$ac_delim
     8449target_os!$target_os$ac_delim
     8450INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
     8451INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
     8452INSTALL_DATA!$INSTALL_DATA$ac_delim
     8453LN_S!$LN_S$ac_delim
     8454SET_MAKE!$SET_MAKE$ac_delim
     8455RANLIB!$RANLIB$ac_delim
     8456COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim
     8457MICO_VER!$MICO_VER$ac_delim
     8458CPP!$CPP$ac_delim
     8459GREP!$GREP$ac_delim
     8460EGREP!$EGREP$ac_delim
     8461U!$U$ac_delim
     8462ANSI2KNR!$ANSI2KNR$ac_delim
     8463ALLOCA!$ALLOCA$ac_delim
     8464LIBOBJS!$LIBOBJS$ac_delim
     8465STATIC!$STATIC$ac_delim
     8466gsdlos!$gsdlos$ac_delim
     8467MODULEDIRS!$MODULEDIRS$ac_delim
     8468subdirs!$subdirs$ac_delim
     8469LTLIBOBJS!$LTLIBOBJS$ac_delim
     8470_ACEOF
     8471
     8472  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
     8473    break
     8474  elif $ac_last_try; then
     8475    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     8476echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     8477   { (exit 1); exit 1; }; }
     8478  else
     8479    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     8480  fi
     8481done
     8482
     8483ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
     8484if test -n "$ac_eof"; then
     8485  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
     8486  ac_eof=`expr $ac_eof + 1`
     8487fi
     8488
     8489cat >>$CONFIG_STATUS <<_ACEOF
     8490cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
     8491/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
     8492_ACEOF
     8493sed '
     8494s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
     8495s/^/s,@/; s/!/@,|#_!!_#|/
     8496:n
     8497t n
     8498s/'"$ac_delim"'$/,g/; t
     8499s/$/\\/; p
     8500N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
     8501' >>$CONFIG_STATUS <conf$$subs.sed
     8502rm -f conf$$subs.sed
     8503cat >>$CONFIG_STATUS <<_ACEOF
     8504CEOF$ac_eof
     8505_ACEOF
     8506
     8507
     8508# VPATH may cause trouble with some makes, so we remove $(srcdir),
     8509# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     8510# trailing colons and then remove the whole line if VPATH becomes empty
     8511# (actually we leave an empty line to preserve line numbers).
     8512if test "x$srcdir" = x.; then
     8513  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     8514s/:*\$(srcdir):*/:/
     8515s/:*\${srcdir}:*/:/
     8516s/:*@srcdir@:*/:/
     8517s/^\([^=]*=[     ]*\):*/\1/
     8518s/:*$//
     8519s/^[^=]*=[   ]*$//
     8520}'
     8521fi
     8522
     8523cat >>$CONFIG_STATUS <<\_ACEOF
     8524fi # test -n "$CONFIG_FILES"
     8525
     8526
     8527for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
     8528do
     8529  case $ac_tag in
     8530  :[FHLC]) ac_mode=$ac_tag; continue;;
     8531  esac
     8532  case $ac_mode$ac_tag in
     8533  :[FHL]*:*);;
     8534  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
     8535echo "$as_me: error: Invalid tag $ac_tag." >&2;}
     8536   { (exit 1); exit 1; }; };;
     8537  :[FH]-) ac_tag=-:-;;
     8538  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     8539  esac
     8540  ac_save_IFS=$IFS
     8541  IFS=:
     8542  set x $ac_tag
     8543  IFS=$ac_save_IFS
     8544  shift
     8545  ac_file=$1
     8546  shift
     8547
     8548  case $ac_mode in
     8549  :L) ac_source=$1;;
     8550  :[FH])
     8551    ac_file_inputs=
     8552    for ac_f
     8553    do
     8554      case $ac_f in
     8555      -) ac_f="$tmp/stdin";;
     8556      *) # Look for the file first in the build tree, then in the source tree
     8557     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     8558     # because $ac_f cannot contain `:'.
     8559     test -f "$ac_f" ||
     8560       case $ac_f in
     8561       [\\/$]*) false;;
     8562       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     8563       esac ||
     8564       { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     8565echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     8566   { (exit 1); exit 1; }; };;
     8567      esac
     8568      ac_file_inputs="$ac_file_inputs $ac_f"
     8569    done
     8570
     8571    # Let's still pretend it is `configure' which instantiates (i.e., don't
     8572    # use $as_me), people would be surprised to read:
     8573    #    /* config.h.  Generated by config.status.  */
     8574    configure_input="Generated from "`IFS=:
     8575      echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
     8576    if test x"$ac_file" != x-; then
     8577      configure_input="$ac_file.  $configure_input"
     8578      { echo "$as_me:$LINENO: creating $ac_file" >&5
     8579echo "$as_me: creating $ac_file" >&6;}
    79428580    fi
    7943     if test ! -s $tmp/subs.frag; then
    7944       ac_more_lines=false
    7945     else
    7946       # The purpose of the label and of the branching condition is to
    7947       # speed up the sed processing (if there are no `@' at all, there
    7948       # is no need to browse any of the substitutions).
    7949       # These are the two extra sed commands mentioned above.
    7950       (echo ':t
    7951   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    7952       if test -z "$ac_sed_cmds"; then
    7953     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    7954       else
    7955     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    7956       fi
    7957       ac_sed_frag=`expr $ac_sed_frag + 1`
    7958       ac_beg=$ac_end
    7959       ac_end=`expr $ac_end + $ac_max_sed_lines`
    7960     fi
    7961   done
    7962   if test -z "$ac_sed_cmds"; then
    7963     ac_sed_cmds=cat
    7964   fi
    7965 fi # test -n "$CONFIG_FILES"
    7966 
    7967 _ACEOF
    7968 cat >>$CONFIG_STATUS <<\_ACEOF
    7969 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    7970   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    7971   case $ac_file in
    7972   - | *:- | *:-:* ) # input from stdin
    7973     cat >$tmp/stdin
    7974     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    7975     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    7976   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    7977     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    7978   * )   ac_file_in=$ac_file.in ;;
     8581
     8582    case $ac_tag in
     8583    *:-:* | *:-) cat >"$tmp/stdin";;
     8584    esac
     8585    ;;
    79798586  esac
    79808587
    7981   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    7982   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     8588  ac_dir=`$as_dirname -- "$ac_file" ||
    79838589$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    79848590     X"$ac_file" : 'X\(//\)[^/]' \| \
    79858591     X"$ac_file" : 'X\(//\)$' \| \
    7986      X"$ac_file" : 'X\(/\)' \| \
    7987      .     : '\(.\)' 2>/dev/null ||
     8592     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    79888593echo X"$ac_file" |
    7989     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    7990       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    7991       /^X\(\/\/\)$/{ s//\1/; q; }
    7992       /^X\(\/\).*/{ s//\1/; q; }
    7993       s/.*/./; q'`
    7994   { if $as_mkdir_p; then
    7995     mkdir -p "$ac_dir"
    7996   else
    7997     as_dir="$ac_dir"
     8594    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8595        s//\1/
     8596        q
     8597      }
     8598      /^X\(\/\/\)[^/].*/{
     8599        s//\1/
     8600        q
     8601      }
     8602      /^X\(\/\/\)$/{
     8603        s//\1/
     8604        q
     8605      }
     8606      /^X\(\/\).*/{
     8607        s//\1/
     8608        q
     8609      }
     8610      s/.*/./; q'`
     8611  { as_dir="$ac_dir"
     8612  case $as_dir in #(
     8613  -*) as_dir=./$as_dir;;
     8614  esac
     8615  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    79988616    as_dirs=
    7999     while test ! -d "$as_dir"; do
    8000       as_dirs="$as_dir $as_dirs"
    8001       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8617    while :; do
     8618      case $as_dir in #(
     8619      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
     8620      *) as_qdir=$as_dir;;
     8621      esac
     8622      as_dirs="'$as_qdir' $as_dirs"
     8623      as_dir=`$as_dirname -- "$as_dir" ||
    80028624$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    80038625     X"$as_dir" : 'X\(//\)[^/]' \| \
    80048626     X"$as_dir" : 'X\(//\)$' \| \
    8005      X"$as_dir" : 'X\(/\)' \| \
    8006      .     : '\(.\)' 2>/dev/null ||
     8627     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    80078628echo X"$as_dir" |
    8008     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8009       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8010       /^X\(\/\/\)$/{ s//\1/; q; }
    8011       /^X\(\/\).*/{ s//\1/; q; }
    8012       s/.*/./; q'`
     8629    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8630        s//\1/
     8631        q
     8632      }
     8633      /^X\(\/\/\)[^/].*/{
     8634        s//\1/
     8635        q
     8636      }
     8637      /^X\(\/\/\)$/{
     8638        s//\1/
     8639        q
     8640      }
     8641      /^X\(\/\).*/{
     8642        s//\1/
     8643        q
     8644      }
     8645      s/.*/./; q'`
     8646      test -d "$as_dir" && break
    80138647    done
    8014     test ! -n "$as_dirs" || mkdir $as_dirs
    8015   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8016 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8648    test -z "$as_dirs" || eval "mkdir $as_dirs"
     8649  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     8650echo "$as_me: error: cannot create directory $as_dir" >&2;}
    80178651   { (exit 1); exit 1; }; }; }
    8018 
    80198652  ac_builddir=.
    80208653
    8021 if test "$ac_dir" != .; then
     8654case "$ac_dir" in
     8655.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8656*)
    80228657  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8023   # A "../" for each directory in $ac_dir_suffix.
    8024   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8025 else
    8026   ac_dir_suffix= ac_top_builddir=
    8027 fi
     8658  # A ".." for each directory in $ac_dir_suffix.
     8659  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     8660  case $ac_top_builddir_sub in
     8661  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8662  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     8663  esac ;;
     8664esac
     8665ac_abs_top_builddir=$ac_pwd
     8666ac_abs_builddir=$ac_pwd$ac_dir_suffix
     8667# for backward compatibility:
     8668ac_top_builddir=$ac_top_build_prefix
    80288669
    80298670case $srcdir in
    8030   .)  # No --srcdir option.  We are building in place.
     8671  .)  # We are building in place.
    80318672    ac_srcdir=.
    8032     if test -z "$ac_top_builddir"; then
    8033        ac_top_srcdir=.
    8034     else
    8035        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8036     fi ;;
    8037   [\\/]* | ?:[\\/]* )  # Absolute path.
     8673    ac_top_srcdir=$ac_top_builddir_sub
     8674    ac_abs_top_srcdir=$ac_pwd ;;
     8675  [\\/]* | ?:[\\/]* )  # Absolute name.
    80388676    ac_srcdir=$srcdir$ac_dir_suffix;
    8039     ac_top_srcdir=$srcdir ;;
    8040   *) # Relative path.
    8041     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8042     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8043 esac
    8044 
    8045 # Do not use `cd foo && pwd` to compute absolute paths, because
    8046 # the directories may not exist.
    8047 case `pwd` in
    8048 .) ac_abs_builddir="$ac_dir";;
    8049 *)
    8050   case "$ac_dir" in
    8051   .) ac_abs_builddir=`pwd`;;
    8052   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8053   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8054   esac;;
    8055 esac
    8056 case $ac_abs_builddir in
    8057 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8058 *)
    8059   case ${ac_top_builddir}. in
    8060   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8061   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8062   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8063   esac;;
    8064 esac
    8065 case $ac_abs_builddir in
    8066 .) ac_abs_srcdir=$ac_srcdir;;
    8067 *)
    8068   case $ac_srcdir in
    8069   .) ac_abs_srcdir=$ac_abs_builddir;;
    8070   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8071   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8072   esac;;
    8073 esac
    8074 case $ac_abs_builddir in
    8075 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8076 *)
    8077   case $ac_top_srcdir in
    8078   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8079   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8080   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8081   esac;;
    8082 esac
    8083 
     8677    ac_top_srcdir=$srcdir
     8678    ac_abs_top_srcdir=$srcdir ;;
     8679  *) # Relative name.
     8680    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     8681    ac_top_srcdir=$ac_top_build_prefix$srcdir
     8682    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8683esac
     8684ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     8685
     8686
     8687  case $ac_mode in
     8688  :F)
     8689  #
     8690  # CONFIG_FILE
     8691  #
    80848692
    80858693  case $INSTALL in
    80868694  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    8087   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     8695  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    80888696  esac
    8089 
    8090   if test x"$ac_file" != x-; then
    8091     { echo "$as_me:$LINENO: creating $ac_file" >&5
    8092 echo "$as_me: creating $ac_file" >&6;}
    8093     rm -f "$ac_file"
    8094   fi
    8095   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8096   # use $as_me), people would be surprised to read:
    8097   #    /* config.h.  Generated by config.status.  */
    8098   if test x"$ac_file" = x-; then
    8099     configure_input=
    8100   else
    8101     configure_input="$ac_file.  "
    8102   fi
    8103   configure_input=$configure_input"Generated from `echo $ac_file_in |
    8104                      sed 's,.*/,,'` by configure."
    8105 
    8106   # First look for the input files in the build tree, otherwise in the
    8107   # src tree.
    8108   ac_file_inputs=`IFS=:
    8109     for f in $ac_file_in; do
    8110       case $f in
    8111       -) echo $tmp/stdin ;;
    8112       [\\/$]*)
    8113      # Absolute (can't be DOS-style, as IFS=:)
    8114      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8115 echo "$as_me: error: cannot find input file: $f" >&2;}
    8116    { (exit 1); exit 1; }; }
    8117      echo "$f";;
    8118       *) # Relative
    8119      if test -f "$f"; then
    8120        # Build tree
    8121        echo "$f"
    8122      elif test -f "$srcdir/$f"; then
    8123        # Source tree
    8124        echo "$srcdir/$f"
    8125      else
    8126        # /dev/null tree
    8127        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8128 echo "$as_me: error: cannot find input file: $f" >&2;}
    8129    { (exit 1); exit 1; }; }
    8130      fi;;
    8131       esac
    8132     done` || { (exit 1); exit 1; }
    8133 _ACEOF
     8697_ACEOF
     8698
     8699cat >>$CONFIG_STATUS <<\_ACEOF
     8700# If the template does not know about datarootdir, expand it.
     8701# FIXME: This hack should be removed a few years after 2.60.
     8702ac_datarootdir_hack=; ac_datarootdir_seen=
     8703
     8704case `sed -n '/datarootdir/ {
     8705  p
     8706  q
     8707}
     8708/@datadir@/p
     8709/@docdir@/p
     8710/@infodir@/p
     8711/@localedir@/p
     8712/@mandir@/p
     8713' $ac_file_inputs` in
     8714*datarootdir*) ac_datarootdir_seen=yes;;
     8715*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     8716  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     8717echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     8718_ACEOF
     8719cat >>$CONFIG_STATUS <<_ACEOF
     8720  ac_datarootdir_hack='
     8721  s&@datadir@&$datadir&g
     8722  s&@docdir@&$docdir&g
     8723  s&@infodir@&$infodir&g
     8724  s&@localedir@&$localedir&g
     8725  s&@mandir@&$mandir&g
     8726    s&\\\${datarootdir}&$datarootdir&g' ;;
     8727esac
     8728_ACEOF
     8729
     8730# Neutralize VPATH when `$srcdir' = `.'.
     8731# Shell code in configure.ac might set extrasub.
     8732# FIXME: do we really want to maintain this feature?
    81348733cat >>$CONFIG_STATUS <<_ACEOF
    81358734  sed "$ac_vpsub
     
    81398738:t
    81408739/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    8141 s,@configure_input@,$configure_input,;t t
    8142 s,@srcdir@,$ac_srcdir,;t t
    8143 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    8144 s,@top_srcdir@,$ac_top_srcdir,;t t
    8145 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    8146 s,@builddir@,$ac_builddir,;t t
    8147 s,@abs_builddir@,$ac_abs_builddir,;t t
    8148 s,@top_builddir@,$ac_top_builddir,;t t
    8149 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    8150 s,@INSTALL@,$ac_INSTALL,;t t
    8151 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    8152   rm -f $tmp/stdin
    8153   if test x"$ac_file" != x-; then
    8154     mv $tmp/out $ac_file
    8155   else
    8156     cat $tmp/out
    8157     rm -f $tmp/out
    8158   fi
    8159 
    8160 done
    8161 _ACEOF
    8162 cat >>$CONFIG_STATUS <<\_ACEOF
    8163 
    8164 #
    8165 # CONFIG_HEADER section.
    8166 #
    8167 
    8168 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    8169 # NAME is the cpp macro being defined and VALUE is the value it is being given.
    8170 #
    8171 # ac_d sets the value in "#define NAME VALUE" lines.
    8172 ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
    8173 ac_dB='[     ].*$,\1#\2'
     8740s&@configure_input@&$configure_input&;t t
     8741s&@top_builddir@&$ac_top_builddir_sub&;t t
     8742s&@srcdir@&$ac_srcdir&;t t
     8743s&@abs_srcdir@&$ac_abs_srcdir&;t t
     8744s&@top_srcdir@&$ac_top_srcdir&;t t
     8745s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     8746s&@builddir@&$ac_builddir&;t t
     8747s&@abs_builddir@&$ac_abs_builddir&;t t
     8748s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     8749s&@INSTALL@&$ac_INSTALL&;t t
     8750$ac_datarootdir_hack
     8751" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
     8752
     8753test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     8754  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     8755  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     8756  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     8757which seems to be undefined.  Please make sure it is defined." >&5
     8758echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     8759which seems to be undefined.  Please make sure it is defined." >&2;}
     8760
     8761  rm -f "$tmp/stdin"
     8762  case $ac_file in
     8763  -) cat "$tmp/out"; rm -f "$tmp/out";;
     8764  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
     8765  esac
     8766 ;;
     8767  :H)
     8768  #
     8769  # CONFIG_HEADER
     8770  #
     8771_ACEOF
     8772
     8773# Transform confdefs.h into a sed script `conftest.defines', that
     8774# substitutes the proper values into config.h.in to produce config.h.
     8775rm -f conftest.defines conftest.tail
     8776# First, append a space to every undef/define line, to ease matching.
     8777echo 's/$/ /' >conftest.defines
     8778# Then, protect against being on the right side of a sed subst, or in
     8779# an unquoted here document, in config.status.  If some macros were
     8780# called several times there might be several #defines for the same
     8781# symbol, which is useless.  But do not sort them, since the last
     8782# AC_DEFINE must be honored.
     8783ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     8784# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
     8785# NAME is the cpp macro being defined, VALUE is the value it is being given.
     8786# PARAMS is the parameter list in the macro definition--in most cases, it's
     8787# just an empty string.
     8788ac_dA='s,^\\([   #]*\\)[^    ]*\\([  ]*'
     8789ac_dB='\\)[  (].*,\\1define\\2'
    81748790ac_dC=' '
    8175 ac_dD=',;t'
    8176 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    8177 ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
    8178 ac_uB='$,\1#\2define\3'
    8179 ac_uC=' '
    8180 ac_uD=',;t'
    8181 
    8182 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    8183   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8184   case $ac_file in
    8185   - | *:- | *:-:* ) # input from stdin
    8186     cat >$tmp/stdin
    8187     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8188     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8189   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8190     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8191   * )   ac_file_in=$ac_file.in ;;
    8192   esac
    8193 
    8194   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    8195 echo "$as_me: creating $ac_file" >&6;}
    8196 
    8197   # First look for the input files in the build tree, otherwise in the
    8198   # src tree.
    8199   ac_file_inputs=`IFS=:
    8200     for f in $ac_file_in; do
    8201       case $f in
    8202       -) echo $tmp/stdin ;;
    8203       [\\/$]*)
    8204      # Absolute (can't be DOS-style, as IFS=:)
    8205      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8206 echo "$as_me: error: cannot find input file: $f" >&2;}
    8207    { (exit 1); exit 1; }; }
    8208      # Do quote $f, to prevent DOS paths from being IFS'd.
    8209      echo "$f";;
    8210       *) # Relative
    8211      if test -f "$f"; then
    8212        # Build tree
    8213        echo "$f"
    8214      elif test -f "$srcdir/$f"; then
    8215        # Source tree
    8216        echo "$srcdir/$f"
    8217      else
    8218        # /dev/null tree
    8219        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8220 echo "$as_me: error: cannot find input file: $f" >&2;}
    8221    { (exit 1); exit 1; }; }
    8222      fi;;
    8223       esac
    8224     done` || { (exit 1); exit 1; }
    8225   # Remove the trailing spaces.
    8226   sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
    8227 
    8228 _ACEOF
    8229 
    8230 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    8231 # `conftest.undefs', that substitutes the proper values into
    8232 # config.h.in to produce config.h.  The first handles `#define'
    8233 # templates, and the second `#undef' templates.
    8234 # And first: Protect against being on the right side of a sed subst in
    8235 # config.status.  Protect against being in an unquoted here document
    8236 # in config.status.
    8237 rm -f conftest.defines conftest.undefs
    8238 # Using a here document instead of a string reduces the quoting nightmare.
    8239 # Putting comments in sed scripts is not portable.
    8240 #
    8241 # `end' is used to avoid that the second main sed command (meant for
    8242 # 0-ary CPP macros) applies to n-ary macro definitions.
    8243 # See the Autoconf documentation for `clear'.
    8244 cat >confdef2sed.sed <<\_ACEOF
    8245 s/[\\&,]/\\&/g
    8246 s,[\\$`],\\&,g
    8247 t clear
    8248 : clear
    8249 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    8250 t end
    8251 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    8252 : end
    8253 _ACEOF
    8254 # If some macros were called several times there might be several times
    8255 # the same #defines, which is useless.  Nevertheless, we may not want to
    8256 # sort them, since we want the *last* AC-DEFINE to be honored.
    8257 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    8258 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    8259 rm -f confdef2sed.sed
    8260 
    8261 # This sed command replaces #undef with comments.  This is necessary, for
     8791ac_dD=' ,'
     8792
     8793uniq confdefs.h |
     8794  sed -n '
     8795    t rset
     8796    :rset
     8797    s/^[     ]*#[    ]*define[   ][  ]*//
     8798    t ok
     8799    d
     8800    :ok
     8801    s/[\\&,]/\\&/g
     8802    s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
     8803    s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
     8804  ' >>conftest.defines
     8805
     8806# Remove the space that was appended to ease matching.
     8807# Then replace #undef with comments.  This is necessary, for
    82628808# example, in the case of _POSIX_SOURCE, which is predefined and required
    82638809# on some systems where configure will not decide to define it.
    8264 cat >>conftest.undefs <<\_ACEOF
    8265 s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    8266 _ACEOF
    8267 
    8268 # Break up conftest.defines because some shells have a limit on the size
    8269 # of here documents, and old seds have small limits too (100 cmds).
    8270 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    8271 echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    8272 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    8273 echo '  :' >>$CONFIG_STATUS
    8274 rm -f conftest.tail
    8275 while grep . conftest.defines >/dev/null
     8810# (The regexp can be short, since the line contains either #define or #undef.)
     8811echo 's/ $//
     8812s,^[     #]*u.*,/* & */,' >>conftest.defines
     8813
     8814# Break up conftest.defines:
     8815ac_max_sed_lines=50
     8816
     8817# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
     8818# Second one is:     sed -f defines.sed "$tmp/out1" >"$tmp/out2"
     8819# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
     8820# et cetera.
     8821ac_in='$ac_file_inputs'
     8822ac_out='"$tmp/out1"'
     8823ac_nxt='"$tmp/out2"'
     8824
     8825while :
    82768826do
    8277   # Write a limited-size here document to $tmp/defines.sed.
    8278   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    8279   # Speed up: don't consider the non `#define' lines.
    8280   echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
    8281   # Work around the forget-to-reset-the-flag bug.
    8282   echo 't clr' >>$CONFIG_STATUS
    8283   echo ': clr' >>$CONFIG_STATUS
    8284   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
     8827  # Write a here document:
     8828    cat >>$CONFIG_STATUS <<_ACEOF
     8829    # First, check the format of the line:
     8830    cat >"\$tmp/defines.sed" <<\\CEOF
     8831/^[  ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
     8832/^[  ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
     8833b
     8834:def
     8835_ACEOF
     8836  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
    82858837  echo 'CEOF
    8286   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    8287   rm -f $tmp/in
    8288   mv $tmp/out $tmp/in
    8289 ' >>$CONFIG_STATUS
    8290   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
     8838    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
     8839  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
     8840  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
     8841  grep . conftest.tail >/dev/null || break
    82918842  rm -f conftest.defines
    82928843  mv conftest.tail conftest.defines
    82938844done
    8294 rm -f conftest.defines
    8295 echo '  fi # grep' >>$CONFIG_STATUS
    8296 echo >>$CONFIG_STATUS
    8297 
    8298 # Break up conftest.undefs because some shells have a limit on the size
    8299 # of here documents, and old seds have small limits too (100 cmds).
    8300 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    8301 rm -f conftest.tail
    8302 while grep . conftest.undefs >/dev/null
    8303 do
    8304   # Write a limited-size here document to $tmp/undefs.sed.
    8305   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    8306   # Speed up: don't consider the non `#undef'
    8307   echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    8308   # Work around the forget-to-reset-the-flag bug.
    8309   echo 't clr' >>$CONFIG_STATUS
    8310   echo ': clr' >>$CONFIG_STATUS
    8311   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    8312   echo 'CEOF
    8313   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    8314   rm -f $tmp/in
    8315   mv $tmp/out $tmp/in
    8316 ' >>$CONFIG_STATUS
    8317   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    8318   rm -f conftest.undefs
    8319   mv conftest.tail conftest.undefs
    8320 done
    8321 rm -f conftest.undefs
    8322 
     8845rm -f conftest.defines conftest.tail
     8846
     8847echo "ac_result=$ac_in" >>$CONFIG_STATUS
    83238848cat >>$CONFIG_STATUS <<\_ACEOF
    8324   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8325   # use $as_me), people would be surprised to read:
    8326   #    /* config.h.  Generated by config.status.  */
    8327   if test x"$ac_file" = x-; then
    8328     echo "/* Generated by configure.  */" >$tmp/config.h
    8329   else
    8330     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    8331   fi
    8332   cat $tmp/in >>$tmp/config.h
    8333   rm -f $tmp/in
    83348849  if test x"$ac_file" != x-; then
    8335     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
     8850    echo "/* $configure_input  */" >"$tmp/config.h"
     8851    cat "$ac_result" >>"$tmp/config.h"
     8852    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
    83368853      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    83378854echo "$as_me: $ac_file is unchanged" >&6;}
    83388855    else
    8339       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    8340 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8341      X"$ac_file" : 'X\(//\)[^/]' \| \
    8342      X"$ac_file" : 'X\(//\)$' \| \
    8343      X"$ac_file" : 'X\(/\)' \| \
    8344      .     : '\(.\)' 2>/dev/null ||
    8345 echo X"$ac_file" |
    8346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8347       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8348       /^X\(\/\/\)$/{ s//\1/; q; }
    8349       /^X\(\/\).*/{ s//\1/; q; }
    8350       s/.*/./; q'`
    8351       { if $as_mkdir_p; then
    8352     mkdir -p "$ac_dir"
    8353   else
    8354     as_dir="$ac_dir"
    8355     as_dirs=
    8356     while test ! -d "$as_dir"; do
    8357       as_dirs="$as_dir $as_dirs"
    8358       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8359 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8360      X"$as_dir" : 'X\(//\)[^/]' \| \
    8361      X"$as_dir" : 'X\(//\)$' \| \
    8362      X"$as_dir" : 'X\(/\)' \| \
    8363      .     : '\(.\)' 2>/dev/null ||
    8364 echo X"$as_dir" |
    8365     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8366       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8367       /^X\(\/\/\)$/{ s//\1/; q; }
    8368       /^X\(\/\).*/{ s//\1/; q; }
    8369       s/.*/./; q'`
    8370     done
    8371     test ! -n "$as_dirs" || mkdir $as_dirs
    8372   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8373 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    8374    { (exit 1); exit 1; }; }; }
    8375 
    83768856      rm -f $ac_file
    8377       mv $tmp/config.h $ac_file
     8857      mv "$tmp/config.h" $ac_file
    83788858    fi
    83798859  else
    8380     cat $tmp/config.h
    8381     rm -f $tmp/config.h
     8860    echo "/* $configure_input  */"
     8861    cat "$ac_result"
    83828862  fi
    8383 done
    8384 _ACEOF
    8385 
    8386 cat >>$CONFIG_STATUS <<\_ACEOF
     8863  rm -f "$tmp/out12"
     8864 ;;
     8865
     8866
     8867  esac
     8868
     8869done # for ac_tag
     8870
    83878871
    83888872{ (exit 0); exit 0; }
     
    84218905  ac_sub_configure_args=
    84228906  ac_prev=
    8423   for ac_arg in $ac_configure_args; do
     8907  eval "set x $ac_configure_args"
     8908  shift
     8909  for ac_arg
     8910  do
    84248911    if test -n "$ac_prev"; then
    84258912      ac_prev=
     
    84448931    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    84458932      ;;
    8446     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
     8933    *)
     8934      case $ac_arg in
     8935      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     8936      esac
     8937      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
    84478938    esac
    84488939  done
     
    84508941  # Always prepend --prefix to ensure using the same prefix
    84518942  # in subdir configurations.
    8452   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
     8943  ac_arg="--prefix=$prefix"
     8944  case $ac_arg in
     8945  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     8946  esac
     8947  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
     8948
     8949  # Pass --silent
     8950  if test "$silent" = yes; then
     8951    ac_sub_configure_args="--silent $ac_sub_configure_args"
     8952  fi
    84538953
    84548954  ac_popdir=`pwd`
     
    84578957    # Do not complain, so a configure script can configure whichever
    84588958    # parts of a large source tree are present.
    8459     test -d $srcdir/$ac_dir || continue
    8460 
    8461     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
    8462 echo "$as_me: configuring in $ac_dir" >&6;}
    8463     { if $as_mkdir_p; then
    8464     mkdir -p "$ac_dir"
    8465   else
    8466     as_dir="$ac_dir"
     8959    test -d "$srcdir/$ac_dir" || continue
     8960
     8961    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
     8962    echo "$as_me:$LINENO: $ac_msg" >&5
     8963    echo "$ac_msg" >&6
     8964    { as_dir="$ac_dir"
     8965  case $as_dir in #(
     8966  -*) as_dir=./$as_dir;;
     8967  esac
     8968  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    84678969    as_dirs=
    8468     while test ! -d "$as_dir"; do
    8469       as_dirs="$as_dir $as_dirs"
    8470       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8970    while :; do
     8971      case $as_dir in #(
     8972      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
     8973      *) as_qdir=$as_dir;;
     8974      esac
     8975      as_dirs="'$as_qdir' $as_dirs"
     8976      as_dir=`$as_dirname -- "$as_dir" ||
    84718977$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    84728978     X"$as_dir" : 'X\(//\)[^/]' \| \
    84738979     X"$as_dir" : 'X\(//\)$' \| \
    8474      X"$as_dir" : 'X\(/\)' \| \
    8475      .     : '\(.\)' 2>/dev/null ||
     8980     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    84768981echo X"$as_dir" |
    8477     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8478       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8479       /^X\(\/\/\)$/{ s//\1/; q; }
    8480       /^X\(\/\).*/{ s//\1/; q; }
    8481       s/.*/./; q'`
     8982    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8983        s//\1/
     8984        q
     8985      }
     8986      /^X\(\/\/\)[^/].*/{
     8987        s//\1/
     8988        q
     8989      }
     8990      /^X\(\/\/\)$/{
     8991        s//\1/
     8992        q
     8993      }
     8994      /^X\(\/\).*/{
     8995        s//\1/
     8996        q
     8997      }
     8998      s/.*/./; q'`
     8999      test -d "$as_dir" && break
    84829000    done
    8483     test ! -n "$as_dirs" || mkdir $as_dirs
    8484   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8485 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     9001    test -z "$as_dirs" || eval "mkdir $as_dirs"
     9002  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     9003echo "$as_me: error: cannot create directory $as_dir" >&2;}
    84869004   { (exit 1); exit 1; }; }; }
    8487 
    84889005    ac_builddir=.
    84899006
    8490 if test "$ac_dir" != .; then
     9007case "$ac_dir" in
     9008.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     9009*)
    84919010  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8492   # A "../" for each directory in $ac_dir_suffix.
    8493   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8494 else
    8495   ac_dir_suffix= ac_top_builddir=
    8496 fi
     9011  # A ".." for each directory in $ac_dir_suffix.
     9012  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     9013  case $ac_top_builddir_sub in
     9014  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     9015  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     9016  esac ;;
     9017esac
     9018ac_abs_top_builddir=$ac_pwd
     9019ac_abs_builddir=$ac_pwd$ac_dir_suffix
     9020# for backward compatibility:
     9021ac_top_builddir=$ac_top_build_prefix
    84979022
    84989023case $srcdir in
    8499   .)  # No --srcdir option.  We are building in place.
     9024  .)  # We are building in place.
    85009025    ac_srcdir=.
    8501     if test -z "$ac_top_builddir"; then
    8502        ac_top_srcdir=.
    8503     else
    8504        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8505     fi ;;
    8506   [\\/]* | ?:[\\/]* )  # Absolute path.
     9026    ac_top_srcdir=$ac_top_builddir_sub
     9027    ac_abs_top_srcdir=$ac_pwd ;;
     9028  [\\/]* | ?:[\\/]* )  # Absolute name.
    85079029    ac_srcdir=$srcdir$ac_dir_suffix;
    8508     ac_top_srcdir=$srcdir ;;
    8509   *) # Relative path.
    8510     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8511     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8512 esac
    8513 
    8514 # Do not use `cd foo && pwd` to compute absolute paths, because
    8515 # the directories may not exist.
    8516 case `pwd` in
    8517 .) ac_abs_builddir="$ac_dir";;
    8518 *)
    8519   case "$ac_dir" in
    8520   .) ac_abs_builddir=`pwd`;;
    8521   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8522   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8523   esac;;
    8524 esac
    8525 case $ac_abs_builddir in
    8526 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8527 *)
    8528   case ${ac_top_builddir}. in
    8529   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8530   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8531   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8532   esac;;
    8533 esac
    8534 case $ac_abs_builddir in
    8535 .) ac_abs_srcdir=$ac_srcdir;;
    8536 *)
    8537   case $ac_srcdir in
    8538   .) ac_abs_srcdir=$ac_abs_builddir;;
    8539   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8540   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8541   esac;;
    8542 esac
    8543 case $ac_abs_builddir in
    8544 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8545 *)
    8546   case $ac_top_srcdir in
    8547   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8548   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8549   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8550   esac;;
    8551 esac
    8552 
    8553 
    8554     cd $ac_dir
     9030    ac_top_srcdir=$srcdir
     9031    ac_abs_top_srcdir=$srcdir ;;
     9032  *) # Relative name.
     9033    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     9034    ac_top_srcdir=$ac_top_build_prefix$srcdir
     9035    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     9036esac
     9037ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     9038
     9039
     9040    cd "$ac_dir"
    85559041
    85569042    # Check for guested configure; otherwise get Cygnus style configure.
    8557     if test -f $ac_srcdir/configure.gnu; then
    8558       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
    8559     elif test -f $ac_srcdir/configure; then
    8560       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
    8561     elif test -f $ac_srcdir/configure.in; then
    8562       ac_sub_configure=$ac_configure
     9043    if test -f "$ac_srcdir/configure.gnu"; then
     9044      ac_sub_configure=$ac_srcdir/configure.gnu
     9045    elif test -f "$ac_srcdir/configure"; then
     9046      ac_sub_configure=$ac_srcdir/configure
     9047    elif test -f "$ac_srcdir/configure.in"; then
     9048      # This should be Cygnus configure.
     9049      ac_sub_configure=$ac_aux_dir/configure
    85639050    else
    85649051      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     
    85729059      case $cache_file in
    85739060      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    8574       *) # Relative path.
    8575     ac_sub_cache_file=$ac_top_builddir$cache_file ;;
     9061      *) # Relative name.
     9062    ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
    85769063      esac
    85779064
    8578       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    8579 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     9065      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     9066echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    85809067      # The eval makes quoting arguments work.
    8581       eval $ac_sub_configure $ac_sub_configure_args \
    8582        --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
     9068      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
     9069       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    85839070    { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    85849071echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     
    85869073    fi
    85879074
    8588     cd $ac_popdir
     9075    cd "$ac_popdir"
    85899076  done
    85909077fi
  • main/trunk/gs2runtime/configure.in

    r21444 r21487  
    5959dnl fi
    6060
     61
    6162dnl disable compilation of accent folding stuff for mgpp (and one day mg)
    6263dnl
     
    6566AC_SUBST(ENABLE_ACCENTFOLD)
    6667
     68
     69dnl
     70dnl disable compilation of accent folding stuff for mgpp (and one day mg)
     71dnl
     72AC_ARG_ENABLE(accentfold, [  --disable-accentfold    Disable Accent Folding for\
     73 MGPP], ENABLE_ACCENTFOLD=0, ENABLE_ACCENTFOLD=1)
     74AC_DEFINE(ENABLE_ACCENTFOLD, $ENABLE_ACCENTFOLD)
     75AC_SUBST(ENABLE_ACCENTFOLD)
     76
     77dnl
     78dnl Set use of JDBM (enabled by default)
     79dnl
     80dnl
     81dnl Set use of JDBM (enabled by default)
     82dnl
     83AC_ARG_ENABLE(jdbm, [  --disable-jdbm          Disable JDBM compilation], ENABLE_JDBM=$enableval, ENABLE_JDBM=yes)
     84if test $ENABLE_JDBM = "yes" -o $ENABLE_JDBM = "1" ; then
     85  ENABLE_JDBM=1
     86  AC_DEFINE(ENABLE_JDBM,[])
     87else
     88  ENABLE_JDBM=0
     89fi
     90AC_SUBST(ENABLE_JDBM)
     91
     92
    6793dnl
    6894dnl Set use of SQLite (enabled by default)
     
    7197AC_DEFINE(USE_SQLITE, $USE_SQLITE)
    7298AC_SUBST(USE_SQLITE)
     99
     100dnl
     101dnl Set compilation of JNI parts of MG and MGPP indexers (disabled by default, which is GS2's default behaviour)
     102dnl
     103AC_ARG_ENABLE(jni, [  --enable-jni    Enable JNI compilation], ENABLE_JNI=$enableval, ENABLE_JNI=no)
     104if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
     105  ENABLE_JNI=1
     106  AC_DEFINE(ENABLE_JNI,[])
     107else
     108  ENABLE_JNI=0
     109fi
     110AC_SUBST(ENABLE_JNI)
     111
     112dnl
     113dnl Set compilation of MG (enabled by default)
     114dnl
     115AC_ARG_ENABLE(mg, [  --disable-mg    Disable MG compilation], ENABLE_MG=$enableval, ENABLE_MG=yes)
     116if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
     117  ENABLE_MG=1
     118  AC_DEFINE(ENABLE_MG,[])
     119 else
     120  ENABLE_MG=0
     121 fi
     122AC_SUBST(ENABLE_MG)
     123
     124dnl
     125dnl Set compilation of MGPP (enabled by default)
     126dnl
     127AC_ARG_ENABLE(mgpp, [  --disable-mgpp        Disable MGPP compilation], ENABLE_MGPP=$enableval, ENABLE_MGPP=yes)
     128if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
     129  ENABLE_MGPP=1
     130  AC_DEFINE(ENABLE_MGPP,[])
     131else
     132  ENABLE_MGPP=0
     133fi
     134AC_SUBST(ENABLE_MGPP)
     135
     136dnl
     137dnl Set compilation of lucene (enabled by default)
     138dnl
     139AC_ARG_ENABLE(lucene, [  --disable-lucene        Disable Lucene compilation], ENABLE_LUCENE=$enableval, ENABLE_LUCENE=yes)
     140if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
     141  ENABLE_LUCENE=1
     142  AC_DEFINE(ENABLE_LUCENE, [])
     143else
     144  ENABLE_LUCENE=0
     145fi
     146AC_SUBST(ENABLE_LUCENE)
     147
     148
    73149
    74150dnl Checks for programs.
Note: See TracChangeset for help on using the changeset viewer.