Changeset 21327


Ignore:
Timestamp:
2009-12-09T21:49:00+13:00 (13 years ago)
Author:
ak19
Message:

Changes to makefiles, configure files, and source code to work with the new configure flags that allow indexers to be individually compiled up by setting each indexer to be enabled or disabled (enable-mg, enable-mgpp, enable-lucene).

Location:
main/trunk/greenstone2/common-src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/Makefile.in

    r19877 r21327  
    7676      (cd $$odir && $(MAKE) $(MDEFINES) install) || exit 1; \
    7777    done
    78     cp $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar ../bin/java/ 
     78    if test -e $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar; then \
     79      cp $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar ../bin/java/.; \
     80    fi
    7981    for idir in $(INSTALLDIRS); do \
    8082      echo installing $$idir; \
     
    9799      (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    98100    done
    99     cp $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar ../bin/java/ 
     101    if test -e $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar; then \
     102      cp $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar ../bin/java/.; \
     103    fi
    100104    for odir in $(COMPILEDIRS) $(MODULEDIRS); do \
    101105      echo making install in $$odir; \
  • main/trunk/greenstone2/common-src/config.h.in

    r16567 r21327  
    110110#undef USE_CORBA
    111111
     112/* Define ENABLE for indexers */
     113#undef ENABLE_MG
     114#undef ENABLE_MGPP
     115#undef ENABLE_LUCENE
     116
    112117/* Define MICO_DIR if needsbe */
    113118#undef MICO_DIR
  • main/trunk/greenstone2/common-src/configure

    r20846 r21327  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61.
     3# Generated by GNU Autoconf 2.59.
    44#
    5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     5# Copyright (C) 2003 Free Software Foundation, Inc.
    76# This configure script is free software; the Free Software Foundation
    87# gives unlimited permission to copy, distribute and modify it.
     
    1110## --------------------- ##
    1211
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
     12# Be Bourne compatible
    1513if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1614  emulate sh
     
    1917  # is contrary to our usage.  Disable this feature.
    2018  alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
     19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20  set -o posix
     21fi
     22DUALCASE=1; export DUALCASE # for MKS sh
     23
     24# Support unset when possible.
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26  as_unset=unset
     27else
     28  as_unset=false
     29fi
     30
     31
     32# Work around bugs in pre-3.0 UWIN ksh.
     33$as_unset ENV MAIL MAILPATH
     34PS1='$ '
     35PS2='> '
     36PS4='+ '
     37
     38# NLS nuisances.
     39for as_var in \
     40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     42  LC_TELEPHONE LC_TIME
     43do
     44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     45    eval $as_var=C; export $as_var
     46  else
     47    $as_unset $as_var
     48  fi
     49done
     50
     51# Required to use basename.
     52if expr a : '\(a\)' >/dev/null 2>&1; then
     53  as_expr=expr
     54else
     55  as_expr=false
     56fi
     57
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59  as_basename=basename
     60else
     61  as_basename=false
     62fi
     63
     64
     65# Name of the executable.
     66as_me=`$as_basename "$0" ||
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68     X"$0" : 'X\(//\)$' \| \
     69     X"$0" : 'X\(/\)$' \| \
     70     .     : '\(.\)' 2>/dev/null ||
     71echo X/"$0" |
     72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     73      /^X\/\(\/\/\)$/{ s//\1/; q; }
     74      /^X\/\(\/\).*/{ s//\1/; q; }
     75      s/.*/./; q'`
     76
     77
     78# PATH needs CR, and LINENO needs CR and PATH.
    3379# Avoid depending upon Character Ranges.
    3480as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    5197fi
    5298
    53 # Support unset when possible.
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    55   as_unset=unset
    56 else
    57   as_unset=false
    58 fi
    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.)
    66 as_nl='
    67 '
    68 IFS=" ""    $as_nl"
    69 
    70 # Find who we are.  Look in the path if we contain no directory separator.
    71 case $0 in
    72   *[\\/]* ) as_myself=$0 ;;
    73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     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
    74110for as_dir in $PATH
    75111do
     
    78114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79115done
    80 IFS=$as_save_IFS
    81 
    82      ;;
    83 esac
    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.
    86 if test "x$as_myself" = x; then
    87   as_myself=$0
    88 fi
    89 if 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; }
    92 fi
    93 
    94 # Work around bugs in pre-3.0 UWIN ksh.
    95 for as_var in ENV MAIL MAILPATH
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    97 done
    98 PS1='$ '
    99 PS2='> '
    100 PS4='+ '
    101 
    102 # NLS nuisances.
    103 for 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
    107 do
    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
     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
    112123  fi
    113 done
    114 
    115 # Required to use basename.
    116 if expr a : '\(a\)' >/dev/null 2>&1 &&
    117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    118   as_expr=expr
    119 else
    120   as_expr=false
    121 fi
    122 
    123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    124   as_basename=basename
    125 else
    126   as_basename=false
    127 fi
    128 
    129 
    130 # Name of the executable.
    131 as_me=`$as_basename -- "$0" ||
    132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    133      X"$0" : 'X\(//\)$' \| \
    134      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    135 echo 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 
    154 if test "x$CONFIG_SHELL" = x; then
    155   if (eval ":") 2>/dev/null; then
    156   as_have_required=yes
    157 else
    158   as_have_required=no
    159 fi
    160 
    161   if test $as_have_required = yes &&     (eval ":
    162 (as_func_return () {
    163   (exit \$1)
    164 }
    165 as_func_success () {
    166   as_func_return 0
    167 }
    168 as_func_failure () {
    169   as_func_return 1
    170 }
    171 as_func_ret_success () {
    172   return 0
    173 }
    174 as_func_ret_failure () {
    175   return 1
    176 }
    177 
    178 exitcode=0
    179 if as_func_success; then
    180   :
    181 else
    182   exitcode=1
    183   echo as_func_success failed.
    184 fi
    185 
    186 if as_func_failure; then
    187   exitcode=1
    188   echo as_func_failure succeeded.
    189 fi
    190 
    191 if as_func_ret_success; then
    192   :
    193 else
    194   exitcode=1
    195   echo as_func_ret_success failed.
    196 fi
    197 
    198 if as_func_ret_failure; then
    199   exitcode=1
    200   echo as_func_ret_failure succeeded.
    201 fi
    202 
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    204   :
    205 else
    206   exitcode=1
    207   echo positional parameters were not saved.
    208 fi
    209 
    210 test \$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   :
    219 else
    220   as_candidate_shells=
     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  '')
    221130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    222131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    224133  IFS=$as_save_IFS
    225134  test -z "$as_dir" && as_dir=.
    226   case $as_dir in
     135  for as_base in sh bash ksh sh5; do
     136     case $as_dir in
    227137     /*)
    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
    232 done
    233 IFS=$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
    240 if 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
    247 else
    248   case `(set -o) 2>/dev/null` in
    249   *posix*) set -o posix ;;
    250 esac
    251 
    252 fi
    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
    261 if 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
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 (as_func_return () {
    278   (exit $1)
    279 }
    280 as_func_success () {
    281   as_func_return 0
    282 }
    283 as_func_failure () {
    284   as_func_return 1
    285 }
    286 as_func_ret_success () {
    287   return 0
    288 }
    289 as_func_ret_failure () {
    290   return 1
    291 }
    292 
    293 exitcode=0
    294 if as_func_success; then
    295   :
    296 else
    297   exitcode=1
    298   echo as_func_success failed.
    299 fi
    300 
    301 if as_func_failure; then
    302   exitcode=1
    303   echo as_func_failure succeeded.
    304 fi
    305 
    306 if as_func_ret_success; then
    307   :
    308 else
    309   exitcode=1
    310   echo as_func_ret_success failed.
    311 fi
    312 
    313 if as_func_ret_failure; then
    314   exitcode=1
    315   echo as_func_ret_failure succeeded.
    316 fi
    317 
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then
    319   :
    320 else
    321   exitcode=1
    322   echo positional parameters were not saved.
    323 fi
    324 
    325 test $exitcode = 0) || { (exit 1); exit 1; }
    326 
    327 (
     138       if ("$as_dir/$as_base" -c '
    328139  as_lineno_1=$LINENO
    329140  as_lineno_2=$LINENO
     141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    330142  test "x$as_lineno_1" != "x$as_lineno_2" &&
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    332 
    333 _ASEOF
    334 }; then
    335   break
    336 fi
    337 
    338 fi
    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+"$@"}
    348 fi
    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; }
    357 fi
    358 
    359 
    360 fi
    361 
    362 fi
    363 
    364 
    365 
    366 (eval "as_func_return () {
    367   (exit \$1)
    368 }
    369 as_func_success () {
    370   as_func_return 0
    371 }
    372 as_func_failure () {
    373   as_func_return 1
    374 }
    375 as_func_ret_success () {
    376   return 0
    377 }
    378 as_func_ret_failure () {
    379   return 1
    380 }
    381 
    382 exitcode=0
    383 if as_func_success; then
    384   :
    385 else
    386   exitcode=1
    387   echo as_func_success failed.
    388 fi
    389 
    390 if as_func_failure; then
    391   exitcode=1
    392   echo as_func_failure succeeded.
    393 fi
    394 
    395 if as_func_ret_success; then
    396   :
    397 else
    398   exitcode=1
    399   echo as_func_ret_success failed.
    400 fi
    401 
    402 if as_func_ret_failure; then
    403   exitcode=1
    404   echo as_func_ret_failure succeeded.
    405 fi
    406 
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    408   :
    409 else
    410   exitcode=1
    411   echo positional parameters were not saved.
    412 fi
    413 
    414 test \$exitcode = 0") || {
    415   echo No shell found that supports shell functions.
    416   echo Please tell autoconf@gnu.org about your system,
    417   echo including any error possibly output before this
    418   echo message
    419 }
    420 
    421 
    422 
    423   as_lineno_1=$LINENO
    424   as_lineno_2=$LINENO
    425   test "x$as_lineno_1" != "x$as_lineno_2" &&
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     144         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     145         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     146         CONFIG_SHELL=$as_dir/$as_base
     147         export CONFIG_SHELL
     148         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     149       fi;;
     150     esac
     151       done
     152done
     153;;
     154  esac
    427155
    428156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    429157  # uniformly replaced by the line number.  The first 'sed' inserts a
    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.
     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.
    435162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    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 |
     163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     164  sed '=' <$as_myself |
    442165    sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447166      N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     167      s,$,-,
     168      : loop
     169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    450170      t loop
    451       s/-\n.*//
     171      s,-$,,
     172      s,^['$as_cr_digits']*\n,,
    452173    ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
     174  chmod +x $as_me.lineno ||
    454175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    455176   { (exit 1); exit 1; }; }
     
    457178  # Don't try to exec as it changes $[0], causing all sort of problems
    458179  # (the dirname of $[0] is not the place where we might find the
    459   # original and so on.  Autoconf is especially sensitive to this).
    460   . "./$as_me.lineno"
     180  # original and so on.  Autoconf is especially sensible to this).
     181  . ./$as_me.lineno
    461182  # Exit status is that of the last command.
    462183  exit
     
    464185
    465186
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    467   as_dirname=dirname
    468 else
    469   as_dirname=false
    470 fi
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `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';;
     187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     188  *c*,-n*) ECHO_N= ECHO_C='
     189' ECHO_T='  ' ;;
     190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    481192esac
    482193
    483 if expr a : '\(a\)' >/dev/null 2>&1 &&
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     194if expr a : '\(a\)' >/dev/null 2>&1; then
    485195  as_expr=expr
    486196else
     
    489199
    490200rm -f conf$$ conf$$.exe conf$$.file
    491 if test -d conf$$.dir; then
    492   rm -f conf$$.dir/conf$$.file
    493 else
    494   rm -f conf$$.dir
    495   mkdir conf$$.dir
    496 fi
    497201echo >conf$$.file
    498202if ln -s conf$$.file conf$$ 2>/dev/null; then
    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 ||
     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
    505207    as_ln_s='cp -p'
     208  else
     209    as_ln_s='ln -s'
     210  fi
    506211elif ln conf$$.file conf$$ 2>/dev/null; then
    507212  as_ln_s=ln
     
    509214  as_ln_s='cp -p'
    510215fi
    511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    512 rmdir conf$$.dir 2>/dev/null
     216rm -f conf$$ conf$$.exe conf$$.file
    513217
    514218if mkdir -p . 2>/dev/null; then
     
    519223fi
    520224
    521 if test -x / >/dev/null 2>&1; then
    522   as_test_x='test -x'
    523 else
    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   '
    541 fi
    542 as_executable_p=$as_test_x
     225as_executable_p="test -f"
    543226
    544227# Sed expression to map a string onto a valid CPP name.
     
    549232
    550233
    551 
    552 exec 7<&0 </dev/null 6>&1
     234# IFS
     235# We need space, tab and new line, in precisely that order.
     236as_nl='
     237'
     238IFS="   $as_nl"
     239
     240# CDPATH.
     241$as_unset CDPATH
     242
    553243
    554244# Name of the host.
     
    557247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558248
     249exec 6>&1
     250
    559251#
    560252# Initializations.
    561253#
    562254ac_default_prefix=/usr/local
    563 ac_clean_files=
    564255ac_config_libobj_dir=.
    565 LIBOBJS=
    566256cross_compiling=no
    567257subdirs=
     
    569259MAKEFLAGS=
    570260SHELL=${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}
    571266
    572267# Identity of this package.
     
    581276ac_includes_default="\
    582277#include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
     278#if HAVE_SYS_TYPES_H
    584279# include <sys/types.h>
    585280#endif
    586 #ifdef HAVE_SYS_STAT_H
     281#if HAVE_SYS_STAT_H
    587282# include <sys/stat.h>
    588283#endif
    589 #ifdef STDC_HEADERS
     284#if STDC_HEADERS
    590285# include <stdlib.h>
    591286# include <stddef.h>
    592287#else
    593 # ifdef HAVE_STDLIB_H
     288# if HAVE_STDLIB_H
    594289#  include <stdlib.h>
    595290# endif
    596291#endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     292#if HAVE_STRING_H
     293# if !STDC_HEADERS && HAVE_MEMORY_H
    599294#  include <memory.h>
    600295# endif
    601296# include <string.h>
    602297#endif
    603 #ifdef HAVE_STRINGS_H
     298#if HAVE_STRINGS_H
    604299# include <strings.h>
    605300#endif
    606 #ifdef HAVE_INTTYPES_H
     301#if HAVE_INTTYPES_H
    607302# include <inttypes.h>
     303#else
     304# if HAVE_STDINT_H
     305#  include <stdint.h>
     306# endif
    608307#endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
     308#if HAVE_UNISTD_H
    613309# include <unistd.h>
    614310#endif"
    615311
    616 ac_subst_vars='SHELL
    617 PATH_SEPARATOR
    618 PACKAGE_NAME
    619 PACKAGE_TARNAME
    620 PACKAGE_VERSION
    621 PACKAGE_STRING
    622 PACKAGE_BUGREPORT
    623 exec_prefix
    624 prefix
    625 program_transform_name
    626 bindir
    627 sbindir
    628 libexecdir
    629 datarootdir
    630 datadir
    631 sysconfdir
    632 sharedstatedir
    633 localstatedir
    634 includedir
    635 oldincludedir
    636 docdir
    637 infodir
    638 htmldir
    639 dvidir
    640 pdfdir
    641 psdir
    642 libdir
    643 localedir
    644 mandir
    645 DEFS
    646 ECHO_C
    647 ECHO_N
    648 ECHO_T
    649 LIBS
    650 build_alias
    651 host_alias
    652 target_alias
    653 PACKAGE
    654 VERSION
    655 USE_FASTCGI
    656 USE_LANGACTION
    657 USE_CORBA
    658 MICO_DIR
    659 USE_Z3950
    660 USE_YAZ
    661 ENABLE_ACCENTFOLD
    662 USE_SQLITE
    663 LDFLAGS
    664 CFLAGS
    665 CC
    666 CPPFLAGS
    667 ac_ct_CC
    668 EXEEXT
    669 OBJEXT
    670 CXX
    671 CXXFLAGS
    672 ac_ct_CXX
    673 AWK
    674 YACC
    675 YFLAGS
    676 build
    677 build_cpu
    678 build_vendor
    679 build_os
    680 host
    681 host_cpu
    682 host_vendor
    683 host_os
    684 target
    685 target_cpu
    686 target_vendor
    687 target_os
    688 INSTALL_PROGRAM
    689 INSTALL_SCRIPT
    690 INSTALL_DATA
    691 LN_S
    692 SET_MAKE
    693 RANLIB
    694 COMPAT32BITFLAGS
    695 MICO_VER
    696 CPP
    697 GREP
    698 EGREP
    699 U
    700 ANSI2KNR
    701 ALLOCA
    702 LIBOBJS
    703 STATIC
    704 gsdlos
    705 MODULEDIRS
    706 subdirs
    707 LTLIBOBJS'
     312ac_subdirs_all="$ac_subdirs_all packages"
     313ac_subdirs_all="$ac_subdirs_all indexers"
     314ac_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 ENABLE_MG ENABLE_MGPP ENABLE_LUCENE 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'
    708315ac_subst_files=''
    709       ac_precious_vars='build_alias
    710 host_alias
    711 target_alias
    712 CC
    713 CFLAGS
    714 LDFLAGS
    715 LIBS
    716 CPPFLAGS
    717 CXX
    718 CXXFLAGS
    719 CCC
    720 YACC
    721 YFLAGS
    722 CPP'
    723 ac_subdirs_all='packages
    724 indexers'
    725316
    726317# Initialize some variables set by options.
     
    749340# by default will actually change.
    750341# Use braces instead of parens because sh, perl, etc. also accept them.
    751 # (The list follows the same order as the GNU Coding Standards.)
    752342bindir='${exec_prefix}/bin'
    753343sbindir='${exec_prefix}/sbin'
    754344libexecdir='${exec_prefix}/libexec'
    755 datarootdir='${prefix}/share'
    756 datadir='${datarootdir}'
     345datadir='${prefix}/share'
    757346sysconfdir='${prefix}/etc'
    758347sharedstatedir='${prefix}/com'
    759348localstatedir='${prefix}/var'
     349libdir='${exec_prefix}/lib'
    760350includedir='${prefix}/include'
    761351oldincludedir='/usr/include'
    762 docdir='${datarootdir}/doc/${PACKAGE}'
    763 infodir='${datarootdir}/info'
    764 htmldir='${docdir}'
    765 dvidir='${docdir}'
    766 pdfdir='${docdir}'
    767 psdir='${docdir}'
    768 libdir='${exec_prefix}/lib'
    769 localedir='${datarootdir}/locale'
    770 mandir='${datarootdir}/man'
     352infodir='${prefix}/info'
     353mandir='${prefix}/man'
    771354
    772355ac_prev=
    773 ac_dashdash=
    774356for ac_option
    775357do
    776358  # If the previous option needs an argument, assign it.
    777359  if test -n "$ac_prev"; then
    778     eval $ac_prev=\$ac_option
     360    eval "$ac_prev=\$ac_option"
    779361    ac_prev=
    780362    continue
    781363  fi
    782364
     365  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     366
     367  # Accept the important Cygnus configure options, so we can diagnose typos.
     368
    783369  case $ac_option in
    784   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    785   *)    ac_optarg=yes ;;
    786   esac
    787 
    788   # Accept the important Cygnus configure options, so we can diagnose typos.
    789 
    790   case $ac_dashdash$ac_option in
    791   --)
    792     ac_dashdash=yes ;;
    793370
    794371  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    812389    cache_file=config.cache ;;
    813390
    814   -datadir | --datadir | --datadi | --datad)
     391  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    815392    ac_prev=datadir ;;
    816   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     393  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     394  | --da=*)
    817395    datadir=$ac_optarg ;;
    818 
    819   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    820   | --dataroo | --dataro | --datar)
    821     ac_prev=datarootdir ;;
    822   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    823   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    824     datarootdir=$ac_optarg ;;
    825396
    826397  -disable-* | --disable-*)
    827398    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    828399    # Reject names that are not valid shell variable names.
    829     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     400    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    830401      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    831402   { (exit 1); exit 1; }; }
    832     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    833     eval enable_$ac_feature=no ;;
    834 
    835   -docdir | --docdir | --docdi | --doc | --do)
    836     ac_prev=docdir ;;
    837   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    838     docdir=$ac_optarg ;;
    839 
    840   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    841     ac_prev=dvidir ;;
    842   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    843     dvidir=$ac_optarg ;;
     403    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     404    eval "enable_$ac_feature=no" ;;
    844405
    845406  -enable-* | --enable-*)
    846407    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    847408    # Reject names that are not valid shell variable names.
    848     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     409    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    849410      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    850411   { (exit 1); exit 1; }; }
    851     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    852     eval enable_$ac_feature=\$ac_optarg ;;
     412    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     413    case $ac_option in
     414      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     415      *) ac_optarg=yes ;;
     416    esac
     417    eval "enable_$ac_feature='$ac_optarg'" ;;
    853418
    854419  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    877442    host_alias=$ac_optarg ;;
    878443
    879   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    880     ac_prev=htmldir ;;
    881   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    882   | --ht=*)
    883     htmldir=$ac_optarg ;;
    884 
    885444  -includedir | --includedir | --includedi | --included | --include \
    886445  | --includ | --inclu | --incl | --inc)
     
    907466    libexecdir=$ac_optarg ;;
    908467
    909   -localedir | --localedir | --localedi | --localed | --locale)
    910     ac_prev=localedir ;;
    911   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    912     localedir=$ac_optarg ;;
    913 
    914468  -localstatedir | --localstatedir | --localstatedi | --localstated \
    915   | --localstate | --localstat | --localsta | --localst | --locals)
     469  | --localstate | --localstat | --localsta | --localst \
     470  | --locals | --local | --loca | --loc | --lo)
    916471    ac_prev=localstatedir ;;
    917472  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    918   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     473  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     474  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    919475    localstatedir=$ac_optarg ;;
    920476
     
    981537    program_transform_name=$ac_optarg ;;
    982538
    983   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    984     ac_prev=pdfdir ;;
    985   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    986     pdfdir=$ac_optarg ;;
    987 
    988   -psdir | --psdir | --psdi | --psd | --ps)
    989     ac_prev=psdir ;;
    990   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    991     psdir=$ac_optarg ;;
    992 
    993539  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    994540  | -silent | --silent | --silen | --sile | --sil)
     
    1043589    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    1044590    # Reject names that are not valid shell variable names.
    1045     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     591    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    1046592      { echo "$as_me: error: invalid package name: $ac_package" >&2
    1047593   { (exit 1); exit 1; }; }
    1048     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1049     eval with_$ac_package=\$ac_optarg ;;
     594    ac_package=`echo $ac_package| sed 's/-/_/g'`
     595    case $ac_option in
     596      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     597      *) ac_optarg=yes ;;
     598    esac
     599    eval "with_$ac_package='$ac_optarg'" ;;
    1050600
    1051601  -without-* | --without-*)
    1052602    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    1053603    # Reject names that are not valid shell variable names.
    1054     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     604    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    1055605      { echo "$as_me: error: invalid package name: $ac_package" >&2
    1056606   { (exit 1); exit 1; }; }
    1057     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1058     eval with_$ac_package=no ;;
     607    ac_package=`echo $ac_package | sed 's/-/_/g'`
     608    eval "with_$ac_package=no" ;;
    1059609
    1060610  --x)
     
    1087637      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1088638   { (exit 1); exit 1; }; }
    1089     eval $ac_envvar=\$ac_optarg
     639    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     640    eval "$ac_envvar='$ac_optarg'"
    1090641    export $ac_envvar ;;
    1091642
     
    1107658fi
    1108659
    1109 # Be sure to have absolute directory names.
    1110 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    1111         datadir sysconfdir sharedstatedir localstatedir includedir \
    1112         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1113         libdir localedir mandir
     660# Be sure to have absolute paths.
     661for ac_var in exec_prefix prefix
    1114662do
    1115   eval ac_val=\$$ac_var
     663  eval ac_val=$`echo $ac_var`
    1116664  case $ac_val in
    1117     [\\/$]* | ?:[\\/]* )  continue;;
    1118     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
     665    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     666    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     667   { (exit 1); exit 1; }; };;
    1119668  esac
    1120   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1121    { (exit 1); exit 1; }; }
     669done
     670
     671# Be sure to have absolute paths.
     672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     673          localstatedir libdir includedir oldincludedir infodir mandir
     674do
     675  eval ac_val=$`echo $ac_var`
     676  case $ac_val in
     677    [\\/$]* | ?:[\\/]* ) ;;
     678    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     679   { (exit 1); exit 1; }; };;
     680  esac
    1122681done
    1123682
     
    1146705
    1147706
    1148 ac_pwd=`pwd` && test -n "$ac_pwd" &&
    1149 ac_ls_di=`ls -di .` &&
    1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1151   { echo "$as_me: error: Working directory cannot be determined" >&2
    1152    { (exit 1); exit 1; }; }
    1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1154   { echo "$as_me: error: pwd does not report name of working directory" >&2
    1155    { (exit 1); exit 1; }; }
    1156 
    1157 
    1158707# Find the source files, if location was not specified.
    1159708if test -z "$srcdir"; then
    1160709  ac_srcdir_defaulted=yes
    1161   # Try the directory containing this script, then the parent directory.
    1162   ac_confdir=`$as_dirname -- "$0" ||
     710  # Try the directory containing this script, then its parent.
     711  ac_confdir=`(dirname "$0") 2>/dev/null ||
    1163712$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1164713     X"$0" : 'X\(//\)[^/]' \| \
    1165714     X"$0" : 'X\(//\)$' \| \
    1166      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     715     X"$0" : 'X\(/\)' \| \
     716     .     : '\(.\)' 2>/dev/null ||
    1167717echo X"$0" |
    1168     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1169         s//\1/
    1170         q
    1171       }
    1172       /^X\(\/\/\)[^/].*/{
    1173         s//\1/
    1174         q
    1175       }
    1176       /^X\(\/\/\)$/{
    1177         s//\1/
    1178         q
    1179       }
    1180       /^X\(\/\).*/{
    1181         s//\1/
    1182         q
    1183       }
    1184       s/.*/./; q'`
     718    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     719      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     720      /^X\(\/\/\)$/{ s//\1/; q; }
     721      /^X\(\/\).*/{ s//\1/; q; }
     722      s/.*/./; q'`
    1185723  srcdir=$ac_confdir
    1186   if test ! -r "$srcdir/$ac_unique_file"; then
     724  if test ! -r $srcdir/$ac_unique_file; then
    1187725    srcdir=..
    1188726  fi
     
    1190728  ac_srcdir_defaulted=no
    1191729fi
    1192 if test ! -r "$srcdir/$ac_unique_file"; then
    1193   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1194   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     730if test ! -r $srcdir/$ac_unique_file; then
     731  if test "$ac_srcdir_defaulted" = yes; then
     732    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    1195733   { (exit 1); exit 1; }; }
    1196 fi
    1197 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    1198 ac_abs_confdir=`(
    1199     cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
     734  else
     735    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1200736   { (exit 1); exit 1; }; }
    1201     pwd)`
    1202 # When building in place, set srcdir=.
    1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
    1204   srcdir=.
    1205 fi
    1206 # Remove unnecessary trailing slashes from srcdir.
    1207 # Double slashes in file names in object file debugging info
    1208 # mess up M-x gdb in Emacs.
    1209 case $srcdir in
    1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
    1211 esac
    1212 for ac_var in $ac_precious_vars; do
    1213   eval ac_env_${ac_var}_set=\${${ac_var}+set}
    1214   eval ac_env_${ac_var}_value=\$${ac_var}
    1215   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
    1216   eval ac_cv_env_${ac_var}_value=\$${ac_var}
    1217 done
     737  fi
     738fi
     739(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     740  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     741   { (exit 1); exit 1; }; }
     742srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     743ac_env_build_alias_set=${build_alias+set}
     744ac_env_build_alias_value=$build_alias
     745ac_cv_env_build_alias_set=${build_alias+set}
     746ac_cv_env_build_alias_value=$build_alias
     747ac_env_host_alias_set=${host_alias+set}
     748ac_env_host_alias_value=$host_alias
     749ac_cv_env_host_alias_set=${host_alias+set}
     750ac_cv_env_host_alias_value=$host_alias
     751ac_env_target_alias_set=${target_alias+set}
     752ac_env_target_alias_value=$target_alias
     753ac_cv_env_target_alias_set=${target_alias+set}
     754ac_cv_env_target_alias_value=$target_alias
     755ac_env_CC_set=${CC+set}
     756ac_env_CC_value=$CC
     757ac_cv_env_CC_set=${CC+set}
     758ac_cv_env_CC_value=$CC
     759ac_env_CFLAGS_set=${CFLAGS+set}
     760ac_env_CFLAGS_value=$CFLAGS
     761ac_cv_env_CFLAGS_set=${CFLAGS+set}
     762ac_cv_env_CFLAGS_value=$CFLAGS
     763ac_env_LDFLAGS_set=${LDFLAGS+set}
     764ac_env_LDFLAGS_value=$LDFLAGS
     765ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     766ac_cv_env_LDFLAGS_value=$LDFLAGS
     767ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     768ac_env_CPPFLAGS_value=$CPPFLAGS
     769ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     770ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     771ac_env_CXX_set=${CXX+set}
     772ac_env_CXX_value=$CXX
     773ac_cv_env_CXX_set=${CXX+set}
     774ac_cv_env_CXX_value=$CXX
     775ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     776ac_env_CXXFLAGS_value=$CXXFLAGS
     777ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     778ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     779ac_env_CPP_set=${CPP+set}
     780ac_env_CPP_value=$CPP
     781ac_cv_env_CPP_set=${CPP+set}
     782ac_cv_env_CPP_value=$CPP
    1218783
    1219784#
     
    1244809      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1245810
     811_ACEOF
     812
     813  cat <<_ACEOF
    1246814Installation directories:
    1247815  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    1261829  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1262830  --libexecdir=DIR       program executables [EPREFIX/libexec]
     831  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    1263832  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1264833  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    1267836  --includedir=DIR       C header files [PREFIX/include]
    1268837  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1269   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
    1270   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
    1271   --infodir=DIR          info documentation [DATAROOTDIR/info]
    1272   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
    1273   --mandir=DIR           man documentation [DATAROOTDIR/man]
    1274   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
    1275   --htmldir=DIR          html documentation [DOCDIR]
    1276   --dvidir=DIR           dvi documentation [DOCDIR]
    1277   --pdfdir=DIR           pdf documentation [DOCDIR]
    1278   --psdir=DIR            ps documentation [DOCDIR]
     838  --infodir=DIR          info documentation [PREFIX/info]
     839  --mandir=DIR           man documentation [PREFIX/man]
    1279840_ACEOF
    1280841
     
    1300861  --disable-accentfold    Disable Accent Folding for MGPP
    1301862  --disable-sqlite        Disable SQLite support
     863  --disable-mg        Disable MG compilation
     864  --disable-mgpp        Disable MGPP compilation
     865  --disable-lucene        Disable Lucene compilation
    1302866
    1303867Optional Packages:
     
    1314878  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1315879              nonstandard directory <lib dir>
    1316   LIBS        libraries to pass to the linker, e.g. -l<library>
    1317   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
    1318               you have headers in a nonstandard directory <include dir>
     880  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     881              headers in a nonstandard directory <include dir>
    1319882  CXX         C++ compiler command
    1320883  CXXFLAGS    C++ compiler flags
    1321   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
    1322               the first program found out of: `bison -y', `byacc', `yacc'.
    1323   YFLAGS      The list of arguments that will be passed by default to $YACC.
    1324               This script will default YFLAGS to the empty string to avoid a
    1325               default value of `-d' given by some make applications.
    1326884  CPP         C preprocessor
    1327885
     
    1330888
    1331889_ACEOF
    1332 ac_status=$?
    1333890fi
    1334891
    1335892if test "$ac_init_help" = "recursive"; then
    1336893  # If there are subdirs, report their specific --help.
     894  ac_popdir=`pwd`
    1337895  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1338     test -d "$ac_dir" || continue
     896    test -d $ac_dir || continue
    1339897    ac_builddir=.
    1340898
    1341 case "$ac_dir" in
    1342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     899if test "$ac_dir" != .; then
     900  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     901  # A "../" for each directory in $ac_dir_suffix.
     902  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     903else
     904  ac_dir_suffix= ac_top_builddir=
     905fi
     906
     907case $srcdir in
     908  .)  # No --srcdir option.  We are building in place.
     909    ac_srcdir=.
     910    if test -z "$ac_top_builddir"; then
     911       ac_top_srcdir=.
     912    else
     913       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     914    fi ;;
     915  [\\/]* | ?:[\\/]* )  # Absolute path.
     916    ac_srcdir=$srcdir$ac_dir_suffix;
     917    ac_top_srcdir=$srcdir ;;
     918  *) # Relative path.
     919    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     920    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     921esac
     922
     923# Do not use `cd foo && pwd` to compute absolute paths, because
     924# the directories may not exist.
     925case `pwd` in
     926.) ac_abs_builddir="$ac_dir";;
    1343927*)
    1344   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    1345   # A ".." for each directory in $ac_dir_suffix.
    1346   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    1347   case $ac_top_builddir_sub in
    1348   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1349   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    1350   esac ;;
     928  case "$ac_dir" in
     929  .) ac_abs_builddir=`pwd`;;
     930  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     931  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     932  esac;;
    1351933esac
    1352 ac_abs_top_builddir=$ac_pwd
    1353 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    1354 # for backward compatibility:
    1355 ac_top_builddir=$ac_top_build_prefix
    1356 
    1357 case $srcdir in
    1358   .)  # We are building in place.
    1359     ac_srcdir=.
    1360     ac_top_srcdir=$ac_top_builddir_sub
    1361     ac_abs_top_srcdir=$ac_pwd ;;
    1362   [\\/]* | ?:[\\/]* )  # Absolute name.
    1363     ac_srcdir=$srcdir$ac_dir_suffix;
    1364     ac_top_srcdir=$srcdir
    1365     ac_abs_top_srcdir=$srcdir ;;
    1366   *) # Relative name.
    1367     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    1368     ac_top_srcdir=$ac_top_build_prefix$srcdir
    1369     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     934case $ac_abs_builddir in
     935.) ac_abs_top_builddir=${ac_top_builddir}.;;
     936*)
     937  case ${ac_top_builddir}. in
     938  .) ac_abs_top_builddir=$ac_abs_builddir;;
     939  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     940  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     941  esac;;
    1370942esac
    1371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    1372 
    1373     cd "$ac_dir" || { ac_status=$?; continue; }
    1374     # Check for guested configure.
    1375     if test -f "$ac_srcdir/configure.gnu"; then
    1376       echo &&
    1377       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    1378     elif test -f "$ac_srcdir/configure"; then
    1379       echo &&
    1380       $SHELL "$ac_srcdir/configure" --help=recursive
     943case $ac_abs_builddir in
     944.) ac_abs_srcdir=$ac_srcdir;;
     945*)
     946  case $ac_srcdir in
     947  .) ac_abs_srcdir=$ac_abs_builddir;;
     948  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     949  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     950  esac;;
     951esac
     952case $ac_abs_builddir in
     953.) ac_abs_top_srcdir=$ac_top_srcdir;;
     954*)
     955  case $ac_top_srcdir in
     956  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     957  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     958  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     959  esac;;
     960esac
     961
     962    cd $ac_dir
     963    # Check for guested configure; otherwise get Cygnus style configure.
     964    if test -f $ac_srcdir/configure.gnu; then
     965      echo
     966      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     967    elif test -f $ac_srcdir/configure; then
     968      echo
     969      $SHELL $ac_srcdir/configure  --help=recursive
     970    elif test -f $ac_srcdir/configure.ac ||
     971       test -f $ac_srcdir/configure.in; then
     972      echo
     973      $ac_configure --help
    1381974    else
    1382975      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1383     fi || ac_status=$?
    1384     cd "$ac_pwd" || { ac_status=$?; break; }
     976    fi
     977    cd $ac_popdir
    1385978  done
    1386979fi
    1387980
    1388 test -n "$ac_init_help" && exit $ac_status
     981test -n "$ac_init_help" && exit 0
    1389982if $ac_init_version; then
    1390983  cat <<\_ACEOF
    1391 configure
    1392 generated by GNU Autoconf 2.61
    1393 
    1394 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1395 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     984
     985Copyright (C) 2003 Free Software Foundation, Inc.
    1396986This configure script is free software; the Free Software Foundation
    1397987gives unlimited permission to copy, distribute and modify it.
    1398988_ACEOF
    1399   exit
    1400 fi
    1401 cat >config.log <<_ACEOF
     989  exit 0
     990fi
     991exec 5>config.log
     992cat >&5 <<_ACEOF
    1402993This file contains any messages produced by compilers while
    1403994running configure, to aid debugging if configure makes a mistake.
    1404995
    1405996It was created by $as_me, which was
    1406 generated by GNU Autoconf 2.61.  Invocation command line was
     997generated by GNU Autoconf 2.59.  Invocation command line was
    1407998
    1408999  $ $0 $@
    14091000
    14101001_ACEOF
    1411 exec 5>>config.log
    14121002{
    14131003cat <<_ASUNAME
     
    14281018/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    14291019/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1430 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     1020hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    14311021/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    14321022/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    14421032  echo "PATH: $as_dir"
    14431033done
    1444 IFS=$as_save_IFS
    14451034
    14461035} >&5
     
    14641053ac_configure_args0=
    14651054ac_configure_args1=
     1055ac_sep=
    14661056ac_must_keep_next=false
    14671057for ac_pass in 1 2
     
    14741064    | -silent | --silent | --silen | --sile | --sil)
    14751065      continue ;;
    1476     *\'*)
     1066    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    14771067      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    14781068    esac
     
    14961086    esac
    14971087      fi
    1498       ac_configure_args="$ac_configure_args '$ac_arg'"
     1088      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1089      # Get rid of the leading space.
     1090      ac_sep=" "
    14991091      ;;
    15001092    esac
     
    15071099# config.log.  We remove comments because anyway the quotes in there
    15081100# would cause problems or look ugly.
    1509 # WARNING: Use '\'' to represent an apostrophe within the trap.
    1510 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
     1101# WARNING: Be sure not to use single quotes in there, as some shells,
     1102# such as our DU 5.0 friend, will then `close' the trap.
    15111103trap 'exit_status=$?
    15121104  # Save into config.log some information that might help in debugging.
     
    15211113    echo
    15221114    # The following way of writing the cache mishandles newlines in values,
    1523 (
    1524   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    1525     eval ac_val=\$$ac_var
    1526     case $ac_val in #(
    1527     *${as_nl}*)
    1528       case $ac_var in #(
    1529       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1530 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
    1531       esac
    1532       case $ac_var in #(
    1533       _ | IFS | as_nl) ;; #(
    1534       *) $as_unset $ac_var ;;
    1535       esac ;;
    1536     esac
    1537   done
     1115{
    15381116  (set) 2>&1 |
    1539     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    1540     *${as_nl}ac_space=\ *)
     1117    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1118    *ac_space=\ *)
    15411119      sed -n \
    1542     "s/'\''/'\''\\\\'\'''\''/g;
    1543       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
    1544       ;; #(
     1120    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1121      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1122      ;;
    15451123    *)
    1546       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1124      sed -n \
     1125    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    15471126      ;;
    1548     esac |
    1549     sort
    1550 )
     1127    esac;
     1128}
    15511129    echo
    15521130
     
    15591137    for ac_var in $ac_subst_vars
    15601138    do
    1561       eval ac_val=\$$ac_var
    1562       case $ac_val in
    1563       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    1564       esac
    1565       echo "$ac_var='\''$ac_val'\''"
     1139      eval ac_val=$`echo $ac_var`
     1140      echo "$ac_var='"'"'$ac_val'"'"'"
    15661141    done | sort
    15671142    echo
     
    15691144    if test -n "$ac_subst_files"; then
    15701145      cat <<\_ASBOX
    1571 ## ------------------- ##
    1572 ## File substitutions. ##
    1573 ## ------------------- ##
     1146## ------------- ##
     1147## Output files. ##
     1148## ------------- ##
    15741149_ASBOX
    15751150      echo
    15761151      for ac_var in $ac_subst_files
    15771152      do
    1578     eval ac_val=\$$ac_var
    1579     case $ac_val in
    1580     *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    1581     esac
    1582     echo "$ac_var='\''$ac_val'\''"
     1153    eval ac_val=$`echo $ac_var`
     1154    echo "$ac_var='"'"'$ac_val'"'"'"
    15831155      done | sort
    15841156      echo
     
    15921164_ASBOX
    15931165      echo
    1594       cat confdefs.h
     1166      sed "/^$/d" confdefs.h | sort
    15951167      echo
    15961168    fi
     
    15991171    echo "$as_me: exit $exit_status"
    16001172  } >&5
    1601   rm -f core *.core core.conftest.* &&
    1602     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1173  rm -f core *.core &&
     1174  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    16031175    exit $exit_status
    1604 ' 0
     1176     ' 0
    16051177for ac_signal in 1 2 13 15; do
    16061178  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    16091181
    16101182# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1611 rm -f -r conftest* confdefs.h
     1183rm -rf conftest* confdefs.h
     1184# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1185echo >confdefs.h
    16121186
    16131187# Predefined preprocessor variables.
     
    16401214# Let the site file select an alternate cache file if it wants to.
    16411215# Prefer explicitly selected file to automatically selected ones.
    1642 if test -n "$CONFIG_SITE"; then
    1643   set x "$CONFIG_SITE"
    1644 elif test "x$prefix" != xNONE; then
    1645   set x "$prefix/share/config.site" "$prefix/etc/config.site"
    1646 else
    1647   set x "$ac_default_prefix/share/config.site" \
    1648     "$ac_default_prefix/etc/config.site"
    1649 fi
    1650 shift
    1651 for ac_site_file
    1652 do
     1216if test -z "$CONFIG_SITE"; then
     1217  if test "x$prefix" != xNONE; then
     1218    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     1219  else
     1220    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
     1221  fi
     1222fi
     1223for ac_site_file in $CONFIG_SITE; do
    16531224  if test -r "$ac_site_file"; then
    16541225    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    16661237echo "$as_me: loading cache $cache_file" >&6;}
    16671238    case $cache_file in
    1668       [\\/]* | ?:[\\/]* ) . "$cache_file";;
    1669       *)                      . "./$cache_file";;
     1239      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1240      *)                      . ./$cache_file;;
    16701241    esac
    16711242  fi
     
    16791250# value.
    16801251ac_cache_corrupted=false
    1681 for ac_var in $ac_precious_vars; do
     1252for ac_var in `(set) 2>&1 |
     1253           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    16821254  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    16831255  eval ac_new_set=\$ac_env_${ac_var}_set
    1684   eval ac_old_val=\$ac_cv_env_${ac_var}_value
    1685   eval ac_new_val=\$ac_env_${ac_var}_value
     1256  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1257  eval ac_new_val="\$ac_env_${ac_var}_value"
    16861258  case $ac_old_set,$ac_new_set in
    16871259    set,)
     
    17081280  if test "$ac_new_set" = set; then
    17091281    case $ac_new_val in
    1710     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1282    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1283      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    17111284    *) ac_arg=$ac_var=$ac_new_val ;;
    17121285    esac
     
    17251298fi
    17261299
    1727 
    1728 
    1729 
    1730 
    1731 
    1732 
    1733 
    1734 
    1735 
    1736 
    1737 
    1738 
    1739 
    1740 
    1741 
    1742 
    17431300ac_ext=c
    17441301ac_cpp='$CPP $CPPFLAGS'
     
    17481305
    17491306
    1750 ac_config_headers="$ac_config_headers config.h"
     1307
     1308
     1309
     1310
     1311
     1312
     1313
     1314
     1315
     1316
     1317
     1318
     1319
     1320
     1321
     1322
     1323
     1324          ac_config_headers="$ac_config_headers config.h"
    17511325
    17521326
     
    17841358fi
    17851359
    1786 # Check whether --enable-corba was given.
     1360# Check whether --enable-corba or --disable-corba was given.
    17871361if test "${enable_corba+set}" = set; then
    1788   enableval=$enable_corba; USE_CORBA=1
     1362  enableval="$enable_corba"
     1363  USE_CORBA=1
    17891364else
    17901365  USE_CORBA=0
    1791 fi
    1792 
     1366fi;
    17931367cat >>confdefs.h <<_ACEOF
    17941368#define USE_CORBA $USE_CORBA
     
    17981372
    17991373
    1800 # Check whether --with-micodir was given.
     1374# Check whether --with-micodir or --without-micodir was given.
    18011375if test "${with_micodir+set}" = set; then
    1802   withval=$with_micodir; MICO_DIR=$enableval
     1376  withval="$with_micodir"
     1377  MICO_DIR=$enableval
    18031378else
    18041379  MICO_DIR="default"
    1805 fi
    1806 
     1380fi;
    18071381cat >>confdefs.h <<_ACEOF
    18081382#define MICO_DIR "$MICO_DIR"
     
    18111385
    18121386
    1813 # Check whether --enable-z3950 was given.
     1387# Check whether --enable-z3950 or --disable-z3950 was given.
    18141388if test "${enable_z3950+set}" = set; then
    1815   enableval=$enable_z3950; USE_Z3950=1
     1389  enableval="$enable_z3950"
     1390  USE_Z3950=1
    18161391else
    18171392  USE_Z3950=0
    1818 fi
    1819 
     1393fi;
    18201394if test USE_Z3950 = 1; then
    18211395cat >>confdefs.h <<\_ACEOF
     
    18261400fi
    18271401
    1828 # Check whether --enable-yaz was given.
     1402# Check whether --enable-yaz or --disable-yaz was given.
    18291403if test "${enable_yaz+set}" = set; then
    1830   enableval=$enable_yaz; USE_YAZ=0
     1404  enableval="$enable_yaz"
     1405  USE_YAZ=0
    18311406else
    18321407  USE_YAZ=1
    1833 fi
    1834 
     1408fi;
    18351409cat >>confdefs.h <<\_ACEOF
    18361410#define USE_YAZ $USE_YAZ
     
    18391413
    18401414
    1841 # Check whether --enable-accentfold was given.
     1415# Check whether --enable-accentfold or --disable-accentfold was given.
    18421416if test "${enable_accentfold+set}" = set; then
    1843   enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
     1417  enableval="$enable_accentfold"
     1418  ENABLE_ACCENTFOLD=0
    18441419else
    18451420  ENABLE_ACCENTFOLD=1
    1846 fi
    1847 
     1421fi;
    18481422cat >>confdefs.h <<\_ACEOF
    18491423#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    18521426
    18531427
    1854 # Check whether --enable-sqlite was given.
     1428# Check whether --enable-sqlite or --disable-sqlite was given.
    18551429if test "${enable_sqlite+set}" = set; then
    1856   enableval=$enable_sqlite; USE_SQLITE=0
     1430  enableval="$enable_sqlite"
     1431  USE_SQLITE=0
    18571432else
    18581433  USE_SQLITE=1
    1859 fi
    1860 
     1434fi;
    18611435cat >>confdefs.h <<\_ACEOF
    18621436#define USE_SQLITE $USE_SQLITE
    18631437_ACEOF
     1438
     1439
     1440
     1441# Check whether --enable-mg or --disable-mg was given.
     1442if test "${enable_mg+set}" = set; then
     1443  enableval="$enable_mg"
     1444  ENABLE_MG=$enableval
     1445else
     1446  ENABLE_MG=yes
     1447fi;
     1448if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
     1449  ENABLE_MG=1
     1450  cat >>confdefs.h <<\_ACEOF
     1451#define ENABLE_MG
     1452_ACEOF
     1453
     1454else
     1455  ENABLE_MG=0
     1456fi
     1457
     1458
     1459# Check whether --enable-mgpp or --disable-mgpp was given.
     1460if test "${enable_mgpp+set}" = set; then
     1461  enableval="$enable_mgpp"
     1462  ENABLE_MGPP=$enableval
     1463else
     1464  ENABLE_MGPP=yes
     1465fi;
     1466if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
     1467  ENABLE_MGPP=1
     1468  cat >>confdefs.h <<\_ACEOF
     1469#define ENABLE_MGPP
     1470_ACEOF
     1471
     1472else
     1473  ENABLE_MGPP=0
     1474fi
     1475
     1476
     1477# Check whether --enable-lucene or --disable-lucene was given.
     1478if test "${enable_lucene+set}" = set; then
     1479  enableval="$enable_lucene"
     1480  ENABLE_LUCENE=$enableval
     1481else
     1482  ENABLE_LUCENE=yes
     1483fi;
     1484if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
     1485  ENABLE_LUCENE=1
     1486  cat >>confdefs.h <<\_ACEOF
     1487#define ENABLE_LUCENE
     1488_ACEOF
     1489
     1490else
     1491  ENABLE_LUCENE=0
     1492fi
    18641493
    18651494
     
    18811510  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    18821511set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1512echo "$as_me:$LINENO: checking for $ac_word" >&5
     1513echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    18851514if test "${ac_cv_prog_CC+set}" = set; then
    18861515  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    18951524  test -z "$as_dir" && as_dir=.
    18961525  for ac_exec_ext in '' $ac_executable_extensions; do
    1897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1526  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18981527    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    18991528    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    19021531done
    19031532done
    1904 IFS=$as_save_IFS
    19051533
    19061534fi
     
    19081536CC=$ac_cv_prog_CC
    19091537if test -n "$CC"; then
    1910   { echo "$as_me:$LINENO: result: $CC" >&5
    1911 echo "${ECHO_T}$CC" >&6; }
    1912 else
    1913   { echo "$as_me:$LINENO: result: no" >&5
    1914 echo "${ECHO_T}no" >&6; }
    1915 fi
    1916 
     1538  echo "$as_me:$LINENO: result: $CC" >&5
     1539echo "${ECHO_T}$CC" >&6
     1540else
     1541  echo "$as_me:$LINENO: result: no" >&5
     1542echo "${ECHO_T}no" >&6
     1543fi
    19171544
    19181545fi
     
    19211548  # Extract the first word of "gcc", so it can be a program name with args.
    19221549set dummy gcc; ac_word=$2
    1923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1550echo "$as_me:$LINENO: checking for $ac_word" >&5
     1551echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19251552if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    19261553  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19351562  test -z "$as_dir" && as_dir=.
    19361563  for ac_exec_ext in '' $ac_executable_extensions; do
    1937   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1564  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19381565    ac_cv_prog_ac_ct_CC="gcc"
    19391566    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    19421569done
    19431570done
    1944 IFS=$as_save_IFS
    19451571
    19461572fi
     
    19481574ac_ct_CC=$ac_cv_prog_ac_ct_CC
    19491575if test -n "$ac_ct_CC"; then
    1950   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1951 echo "${ECHO_T}$ac_ct_CC" >&6; }
    1952 else
    1953   { echo "$as_me:$LINENO: result: no" >&5
    1954 echo "${ECHO_T}no" >&6; }
    1955 fi
    1956 
    1957   if test "x$ac_ct_CC" = x; then
    1958     CC=""
    1959   else
    1960     case $cross_compiling:$ac_tool_warned in
    1961 yes:)
    1962 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    1963 whose name does not start with the host triplet.  If you think this
    1964 configuration is useful to you, please write to autoconf@gnu.org." >&5
    1965 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    1966 whose name does not start with the host triplet.  If you think this
    1967 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    1968 ac_tool_warned=yes ;;
    1969 esac
    1970     CC=$ac_ct_CC
    1971   fi
     1576  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1577echo "${ECHO_T}$ac_ct_CC" >&6
     1578else
     1579  echo "$as_me:$LINENO: result: no" >&5
     1580echo "${ECHO_T}no" >&6
     1581fi
     1582
     1583  CC=$ac_ct_CC
    19721584else
    19731585  CC="$ac_cv_prog_CC"
     
    19751587
    19761588if test -z "$CC"; then
    1977           if test -n "$ac_tool_prefix"; then
    1978     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1589  if test -n "$ac_tool_prefix"; then
     1590  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    19791591set dummy ${ac_tool_prefix}cc; ac_word=$2
    1980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1592echo "$as_me:$LINENO: checking for $ac_word" >&5
     1593echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19821594if test "${ac_cv_prog_CC+set}" = set; then
    19831595  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19921604  test -z "$as_dir" && as_dir=.
    19931605  for ac_exec_ext in '' $ac_executable_extensions; do
    1994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1606  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19951607    ac_cv_prog_CC="${ac_tool_prefix}cc"
    19961608    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    19991611done
    20001612done
    2001 IFS=$as_save_IFS
    20021613
    20031614fi
     
    20051616CC=$ac_cv_prog_CC
    20061617if test -n "$CC"; then
    2007   { echo "$as_me:$LINENO: result: $CC" >&5
    2008 echo "${ECHO_T}$CC" >&6; }
    2009 else
    2010   { echo "$as_me:$LINENO: result: no" >&5
    2011 echo "${ECHO_T}no" >&6; }
    2012 fi
    2013 
    2014 
     1618  echo "$as_me:$LINENO: result: $CC" >&5
     1619echo "${ECHO_T}$CC" >&6
     1620else
     1621  echo "$as_me:$LINENO: result: no" >&5
     1622echo "${ECHO_T}no" >&6
     1623fi
     1624
     1625fi
     1626if test -z "$ac_cv_prog_CC"; then
     1627  ac_ct_CC=$CC
     1628  # Extract the first word of "cc", so it can be a program name with args.
     1629set dummy cc; ac_word=$2
     1630echo "$as_me:$LINENO: checking for $ac_word" >&5
     1631echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1632if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1633  echo $ECHO_N "(cached) $ECHO_C" >&6
     1634else
     1635  if test -n "$ac_ct_CC"; then
     1636  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1637else
     1638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1639for as_dir in $PATH
     1640do
     1641  IFS=$as_save_IFS
     1642  test -z "$as_dir" && as_dir=.
     1643  for ac_exec_ext in '' $ac_executable_extensions; do
     1644  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1645    ac_cv_prog_ac_ct_CC="cc"
     1646    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1647    break 2
    20151648  fi
     1649done
     1650done
     1651
     1652fi
     1653fi
     1654ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1655if test -n "$ac_ct_CC"; then
     1656  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1657echo "${ECHO_T}$ac_ct_CC" >&6
     1658else
     1659  echo "$as_me:$LINENO: result: no" >&5
     1660echo "${ECHO_T}no" >&6
     1661fi
     1662
     1663  CC=$ac_ct_CC
     1664else
     1665  CC="$ac_cv_prog_CC"
     1666fi
     1667
    20161668fi
    20171669if test -z "$CC"; then
    20181670  # Extract the first word of "cc", so it can be a program name with args.
    20191671set dummy cc; ac_word=$2
    2020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1672echo "$as_me:$LINENO: checking for $ac_word" >&5
     1673echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20221674if test "${ac_cv_prog_CC+set}" = set; then
    20231675  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20331685  test -z "$as_dir" && as_dir=.
    20341686  for ac_exec_ext in '' $ac_executable_extensions; do
    2035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1687  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20361688    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    20371689       ac_prog_rejected=yes
     
    20441696done
    20451697done
    2046 IFS=$as_save_IFS
    20471698
    20481699if test $ac_prog_rejected = yes; then
     
    20621713CC=$ac_cv_prog_CC
    20631714if test -n "$CC"; then
    2064   { echo "$as_me:$LINENO: result: $CC" >&5
    2065 echo "${ECHO_T}$CC" >&6; }
    2066 else
    2067   { echo "$as_me:$LINENO: result: no" >&5
    2068 echo "${ECHO_T}no" >&6; }
    2069 fi
    2070 
     1715  echo "$as_me:$LINENO: result: $CC" >&5
     1716echo "${ECHO_T}$CC" >&6
     1717else
     1718  echo "$as_me:$LINENO: result: no" >&5
     1719echo "${ECHO_T}no" >&6
     1720fi
    20711721
    20721722fi
    20731723if test -z "$CC"; then
    20741724  if test -n "$ac_tool_prefix"; then
    2075   for ac_prog in cl.exe
     1725  for ac_prog in cl
    20761726  do
    20771727    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    20781728set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1729echo "$as_me:$LINENO: checking for $ac_word" >&5
     1730echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20811731if test "${ac_cv_prog_CC+set}" = set; then
    20821732  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20911741  test -z "$as_dir" && as_dir=.
    20921742  for ac_exec_ext in '' $ac_executable_extensions; do
    2093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1743  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20941744    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    20951745    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    20981748done
    20991749done
    2100 IFS=$as_save_IFS
    21011750
    21021751fi
     
    21041753CC=$ac_cv_prog_CC
    21051754if test -n "$CC"; then
    2106   { echo "$as_me:$LINENO: result: $CC" >&5
    2107 echo "${ECHO_T}$CC" >&6; }
    2108 else
    2109   { echo "$as_me:$LINENO: result: no" >&5
    2110 echo "${ECHO_T}no" >&6; }
    2111 fi
    2112 
     1755  echo "$as_me:$LINENO: result: $CC" >&5
     1756echo "${ECHO_T}$CC" >&6
     1757else
     1758  echo "$as_me:$LINENO: result: no" >&5
     1759echo "${ECHO_T}no" >&6
     1760fi
    21131761
    21141762    test -n "$CC" && break
     
    21171765if test -z "$CC"; then
    21181766  ac_ct_CC=$CC
    2119   for ac_prog in cl.exe
     1767  for ac_prog in cl
    21201768do
    21211769  # Extract the first word of "$ac_prog", so it can be a program name with args.
    21221770set dummy $ac_prog; ac_word=$2
    2123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1771echo "$as_me:$LINENO: checking for $ac_word" >&5
     1772echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    21251773if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    21261774  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    21351783  test -z "$as_dir" && as_dir=.
    21361784  for ac_exec_ext in '' $ac_executable_extensions; do
    2137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1785  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21381786    ac_cv_prog_ac_ct_CC="$ac_prog"
    21391787    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    21421790done
    21431791done
    2144 IFS=$as_save_IFS
    21451792
    21461793fi
     
    21481795ac_ct_CC=$ac_cv_prog_ac_ct_CC
    21491796if test -n "$ac_ct_CC"; then
    2150   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2151 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2152 else
    2153   { echo "$as_me:$LINENO: result: no" >&5
    2154 echo "${ECHO_T}no" >&6; }
    2155 fi
    2156 
     1797  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1798echo "${ECHO_T}$ac_ct_CC" >&6
     1799else
     1800  echo "$as_me:$LINENO: result: no" >&5
     1801echo "${ECHO_T}no" >&6
     1802fi
    21571803
    21581804  test -n "$ac_ct_CC" && break
    21591805done
    21601806
    2161   if test "x$ac_ct_CC" = x; then
    2162     CC=""
    2163   else
    2164     case $cross_compiling:$ac_tool_warned in
    2165 yes:)
    2166 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2167 whose name does not start with the host triplet.  If you think this
    2168 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2169 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2170 whose name does not start with the host triplet.  If you think this
    2171 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2172 ac_tool_warned=yes ;;
    2173 esac
    2174     CC=$ac_ct_CC
    2175   fi
     1807  CC=$ac_ct_CC
    21761808fi
    21771809
     
    21861818
    21871819# Provide some information about the compiler.
    2188 echo "$as_me:$LINENO: checking for C compiler version" >&5
     1820echo "$as_me:$LINENO:" \
     1821     "checking for C compiler version" >&5
    21891822ac_compiler=`set X $ac_compile; echo $2`
    2190 { (ac_try="$ac_compiler --version >&5"
    2191 case "(($ac_try" in
    2192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2193   *) ac_try_echo=$ac_try;;
    2194 esac
    2195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2196   (eval "$ac_compiler --version >&5") 2>&5
     1823{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1824  (eval $ac_compiler --version </dev/null >&5) 2>&5
    21971825  ac_status=$?
    21981826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21991827  (exit $ac_status); }
    2200 { (ac_try="$ac_compiler -v >&5"
    2201 case "(($ac_try" in
    2202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2203   *) ac_try_echo=$ac_try;;
    2204 esac
    2205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2206   (eval "$ac_compiler -v >&5") 2>&5
     1828{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1829  (eval $ac_compiler -v </dev/null >&5) 2>&5
    22071830  ac_status=$?
    22081831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22091832  (exit $ac_status); }
    2210 { (ac_try="$ac_compiler -V >&5"
    2211 case "(($ac_try" in
    2212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2213   *) ac_try_echo=$ac_try;;
    2214 esac
    2215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2216   (eval "$ac_compiler -V >&5") 2>&5
     1833{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1834  (eval $ac_compiler -V </dev/null >&5) 2>&5
    22171835  ac_status=$?
    22181836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    22391857# It will help us diagnose broken compilers, and finding out an intuition
    22401858# of exeext.
    2241 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2242 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
     1859echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1860echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    22431861ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2244 #
    2245 # List of possible output files, starting from the most likely.
    2246 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
    2247 # only as a last resort.  b.out is created by i960 compilers.
    2248 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
    2249 #
    2250 # The IRIX 6 linker writes into existing files which may not be
    2251 # executable, retaining their permissions.  Remove them first so a
    2252 # subsequent execution test works.
    2253 ac_rmfiles=
    2254 for ac_file in $ac_files
    2255 do
    2256   case $ac_file in
    2257     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    2258     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2259   esac
    2260 done
    2261 rm -f $ac_rmfiles
    2262 
    2263 if { (ac_try="$ac_link_default"
    2264 case "(($ac_try" in
    2265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2266   *) ac_try_echo=$ac_try;;
    2267 esac
    2268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2269   (eval "$ac_link_default") 2>&5
     1862if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1863  (eval $ac_link_default) 2>&5
    22701864  ac_status=$?
    22711865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22721866  (exit $ac_status); }; then
    2273   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2274 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2275 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2276 # so that the user can short-circuit this test for compilers unknown to
    2277 # Autoconf.
    2278 for ac_file in $ac_files ''
     1867  # Find the output, starting from the most likely.  This scheme is
     1868# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1869# resort.
     1870
     1871# Be careful to initialize this variable, since it used to be cached.
     1872# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1873ac_cv_exeext=
     1874# b.out is created by i960 compilers.
     1875for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    22791876do
    22801877  test -f "$ac_file" || continue
    22811878  case $ac_file in
    2282     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
     1879    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1880    ;;
     1881    conftest.$ac_ext )
     1882    # This is the source file.
    22831883    ;;
    22841884    [ab].out )
     
    22871887    break;;
    22881888    *.* )
    2289         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2290     then :; else
    2291        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2292     fi
    2293     # We set ac_cv_exeext here because the later test for it is not
    2294     # safe: cross compilers may not add the suffix if given an `-o'
    2295     # argument, so we may need to know it at that point already.
    2296     # Even if this section looks crufty: it has the advantage of
    2297     # actually working.
     1889    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1890    # FIXME: I believe we export ac_cv_exeext for Libtool,
     1891    # but it would be cool to find out if it's true.  Does anybody
     1892    # maintain Libtool? --akim.
     1893    export ac_cv_exeext
    22981894    break;;
    22991895    * )
     
    23011897  esac
    23021898done
    2303 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2304 
    2305 else
    2306   ac_file=''
    2307 fi
    2308 
    2309 { echo "$as_me:$LINENO: result: $ac_file" >&5
    2310 echo "${ECHO_T}$ac_file" >&6; }
    2311 if test -z "$ac_file"; then
     1899else
    23121900  echo "$as_me: failed program was:" >&5
    23131901sed 's/^/| /' conftest.$ac_ext >&5
     
    23211909
    23221910ac_exeext=$ac_cv_exeext
    2323 
    2324 # Check that the compiler produces executables we can run.  If not, either
     1911echo "$as_me:$LINENO: result: $ac_file" >&5
     1912echo "${ECHO_T}$ac_file" >&6
     1913
     1914# Check the compiler produces executables we can run.  If not, either
    23251915# the compiler is broken, or we cross compile.
    2326 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2327 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
     1916echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     1917echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    23281918# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    23291919# If not cross compiling, check that we can run a simple program.
    23301920if test "$cross_compiling" != yes; then
    23311921  if { ac_try='./$ac_file'
    2332   { (case "(($ac_try" in
    2333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2334   *) ac_try_echo=$ac_try;;
    2335 esac
    2336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2337   (eval "$ac_try") 2>&5
     1922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1923  (eval $ac_try) 2>&5
    23381924  ac_status=$?
    23391925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    23541940  fi
    23551941fi
    2356 { echo "$as_me:$LINENO: result: yes" >&5
    2357 echo "${ECHO_T}yes" >&6; }
     1942echo "$as_me:$LINENO: result: yes" >&5
     1943echo "${ECHO_T}yes" >&6
    23581944
    23591945rm -f a.out a.exe conftest$ac_cv_exeext b.out
    23601946ac_clean_files=$ac_clean_files_save
    2361 # Check that the compiler produces executables we can run.  If not, either
     1947# Check the compiler produces executables we can run.  If not, either
    23621948# the compiler is broken, or we cross compile.
    2363 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2364 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
    2365 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2366 echo "${ECHO_T}$cross_compiling" >&6; }
    2367 
    2368 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2369 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    2370 if { (ac_try="$ac_link"
    2371 case "(($ac_try" in
    2372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2373   *) ac_try_echo=$ac_try;;
    2374 esac
    2375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2376   (eval "$ac_link") 2>&5
     1949echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     1950echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     1951echo "$as_me:$LINENO: result: $cross_compiling" >&5
     1952echo "${ECHO_T}$cross_compiling" >&6
     1953
     1954echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1955echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1956if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     1957  (eval $ac_link) 2>&5
    23771958  ac_status=$?
    23781959  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    23851966  test -f "$ac_file" || continue
    23861967  case $ac_file in
    2387     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     1968    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    23881969    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1970      export ac_cv_exeext
    23891971      break;;
    23901972    * ) break;;
     
    24001982
    24011983rm -f conftest$ac_cv_exeext
    2402 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2403 echo "${ECHO_T}$ac_cv_exeext" >&6; }
     1984echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     1985echo "${ECHO_T}$ac_cv_exeext" >&6
    24041986
    24051987rm -f conftest.$ac_ext
    24061988EXEEXT=$ac_cv_exeext
    24071989ac_exeext=$EXEEXT
    2408 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2409 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
     1990echo "$as_me:$LINENO: checking for suffix of object files" >&5
     1991echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    24101992if test "${ac_cv_objext+set}" = set; then
    24111993  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24272009_ACEOF
    24282010rm -f conftest.o conftest.obj
    2429 if { (ac_try="$ac_compile"
    2430 case "(($ac_try" in
    2431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2432   *) ac_try_echo=$ac_try;;
    2433 esac
    2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2435   (eval "$ac_compile") 2>&5
     2011if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2012  (eval $ac_compile) 2>&5
    24362013  ac_status=$?
    24372014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24382015  (exit $ac_status); }; then
    2439   for ac_file in conftest.o conftest.obj conftest.*; do
    2440   test -f "$ac_file" || continue;
     2016  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    24412017  case $ac_file in
    2442     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
     2018    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    24432019    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    24442020       break;;
     
    24582034rm -f conftest.$ac_cv_objext conftest.$ac_ext
    24592035fi
    2460 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2461 echo "${ECHO_T}$ac_cv_objext" >&6; }
     2036echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2037echo "${ECHO_T}$ac_cv_objext" >&6
    24622038OBJEXT=$ac_cv_objext
    24632039ac_objext=$OBJEXT
    2464 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2465 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
     2040echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2041echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    24662042if test "${ac_cv_c_compiler_gnu+set}" = set; then
    24672043  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24862062_ACEOF
    24872063rm -f conftest.$ac_objext
    2488 if { (ac_try="$ac_compile"
    2489 case "(($ac_try" in
    2490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2491   *) ac_try_echo=$ac_try;;
    2492 esac
    2493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2494   (eval "$ac_compile") 2>conftest.er1
     2064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2065  (eval $ac_compile) 2>conftest.er1
    24952066  ac_status=$?
    24962067  grep -v '^ *+' conftest.er1 >conftest.err
     
    24982069  cat conftest.err >&5
    24992070  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2500   (exit $ac_status); } && {
    2501      test -z "$ac_c_werror_flag" ||
    2502      test ! -s conftest.err
    2503        } && test -s conftest.$ac_objext; then
     2071  (exit $ac_status); } &&
     2072     { ac_try='test -z "$ac_c_werror_flag"
     2073             || test ! -s conftest.err'
     2074  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2075  (eval $ac_try) 2>&5
     2076  ac_status=$?
     2077  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2078  (exit $ac_status); }; } &&
     2079     { ac_try='test -s conftest.$ac_objext'
     2080  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2081  (eval $ac_try) 2>&5
     2082  ac_status=$?
     2083  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2084  (exit $ac_status); }; }; then
    25042085  ac_compiler_gnu=yes
    25052086else
     
    25072088sed 's/^/| /' conftest.$ac_ext >&5
    25082089
    2509     ac_compiler_gnu=no
    2510 fi
    2511 
    2512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2090ac_compiler_gnu=no
     2091fi
     2092rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    25132093ac_cv_c_compiler_gnu=$ac_compiler_gnu
    25142094
    25152095fi
    2516 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2517 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
     2096echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2097echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    25182098GCC=`test $ac_compiler_gnu = yes && echo yes`
    25192099ac_test_CFLAGS=${CFLAGS+set}
    25202100ac_save_CFLAGS=$CFLAGS
    2521 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2522 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
     2101CFLAGS="-g"
     2102echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2103echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    25232104if test "${ac_cv_prog_cc_g+set}" = set; then
    25242105  echo $ECHO_N "(cached) $ECHO_C" >&6
    25252106else
    2526   ac_save_c_werror_flag=$ac_c_werror_flag
    2527    ac_c_werror_flag=yes
    2528    ac_cv_prog_cc_g=no
    2529    CFLAGS="-g"
    2530    cat >conftest.$ac_ext <<_ACEOF
     2107  cat >conftest.$ac_ext <<_ACEOF
    25312108/* confdefs.h.  */
    25322109_ACEOF
     
    25442121_ACEOF
    25452122rm -f conftest.$ac_objext
    2546 if { (ac_try="$ac_compile"
    2547 case "(($ac_try" in
    2548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2549   *) ac_try_echo=$ac_try;;
    2550 esac
    2551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2552   (eval "$ac_compile") 2>conftest.er1
     2123if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2124  (eval $ac_compile) 2>conftest.er1
    25532125  ac_status=$?
    25542126  grep -v '^ *+' conftest.er1 >conftest.err
     
    25562128  cat conftest.err >&5
    25572129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2558   (exit $ac_status); } && {
    2559      test -z "$ac_c_werror_flag" ||
    2560      test ! -s conftest.err
    2561        } && test -s conftest.$ac_objext; then
     2130  (exit $ac_status); } &&
     2131     { ac_try='test -z "$ac_c_werror_flag"
     2132             || test ! -s conftest.err'
     2133  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2134  (eval $ac_try) 2>&5
     2135  ac_status=$?
     2136  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2137  (exit $ac_status); }; } &&
     2138     { ac_try='test -s conftest.$ac_objext'
     2139  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2140  (eval $ac_try) 2>&5
     2141  ac_status=$?
     2142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2143  (exit $ac_status); }; }; then
    25622144  ac_cv_prog_cc_g=yes
    25632145else
     
    25652147sed 's/^/| /' conftest.$ac_ext >&5
    25662148
    2567     CFLAGS=""
    2568       cat >conftest.$ac_ext <<_ACEOF
    2569 /* confdefs.h.  */
    2570 _ACEOF
    2571 cat confdefs.h >>conftest.$ac_ext
    2572 cat >>conftest.$ac_ext <<_ACEOF
    2573 /* end confdefs.h.  */
    2574 
    2575 int
    2576 main ()
    2577 {
    2578 
    2579   ;
    2580   return 0;
    2581 }
    2582 _ACEOF
    2583 rm -f conftest.$ac_objext
    2584 if { (ac_try="$ac_compile"
    2585 case "(($ac_try" in
    2586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2587   *) ac_try_echo=$ac_try;;
    2588 esac
    2589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2590   (eval "$ac_compile") 2>conftest.er1
    2591   ac_status=$?
    2592   grep -v '^ *+' conftest.er1 >conftest.err
    2593   rm -f conftest.er1
    2594   cat conftest.err >&5
    2595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2596   (exit $ac_status); } && {
    2597      test -z "$ac_c_werror_flag" ||
    2598      test ! -s conftest.err
    2599        } && test -s conftest.$ac_objext; then
    2600   :
    2601 else
    2602   echo "$as_me: failed program was:" >&5
    2603 sed 's/^/| /' conftest.$ac_ext >&5
    2604 
    2605     ac_c_werror_flag=$ac_save_c_werror_flag
    2606      CFLAGS="-g"
    2607      cat >conftest.$ac_ext <<_ACEOF
    2608 /* confdefs.h.  */
    2609 _ACEOF
    2610 cat confdefs.h >>conftest.$ac_ext
    2611 cat >>conftest.$ac_ext <<_ACEOF
    2612 /* end confdefs.h.  */
    2613 
    2614 int
    2615 main ()
    2616 {
    2617 
    2618   ;
    2619   return 0;
    2620 }
    2621 _ACEOF
    2622 rm -f conftest.$ac_objext
    2623 if { (ac_try="$ac_compile"
    2624 case "(($ac_try" in
    2625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2626   *) ac_try_echo=$ac_try;;
    2627 esac
    2628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2629   (eval "$ac_compile") 2>conftest.er1
    2630   ac_status=$?
    2631   grep -v '^ *+' conftest.er1 >conftest.err
    2632   rm -f conftest.er1
    2633   cat conftest.err >&5
    2634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2635   (exit $ac_status); } && {
    2636      test -z "$ac_c_werror_flag" ||
    2637      test ! -s conftest.err
    2638        } && test -s conftest.$ac_objext; then
    2639   ac_cv_prog_cc_g=yes
    2640 else
    2641   echo "$as_me: failed program was:" >&5
    2642 sed 's/^/| /' conftest.$ac_ext >&5
    2643 
    2644 
    2645 fi
    2646 
    2647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2648 fi
    2649 
    2650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2651 fi
    2652 
    2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2654    ac_c_werror_flag=$ac_save_c_werror_flag
    2655 fi
    2656 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2657 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
     2149ac_cv_prog_cc_g=no
     2150fi
     2151rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2152fi
     2153echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2154echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    26582155if test "$ac_test_CFLAGS" = set; then
    26592156  CFLAGS=$ac_save_CFLAGS
     
    26712168  fi
    26722169fi
    2673 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    2674 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    2675 if test "${ac_cv_prog_cc_c89+set}" = set; then
     2170echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2171echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2172if test "${ac_cv_prog_cc_stdc+set}" = set; then
    26762173  echo $ECHO_N "(cached) $ECHO_C" >&6
    26772174else
    2678   ac_cv_prog_cc_c89=no
     2175  ac_cv_prog_cc_stdc=no
    26792176ac_save_CC=$CC
    26802177cat >conftest.$ac_ext <<_ACEOF
     
    27102207   function prototypes and stuff, but not '\xHH' hex character constants.
    27112208   These don't provoke an error unfortunately, instead are silently treated
    2712    as 'x'.  The following induces an error, until -std is added to get
     2209   as 'x'.  The following induces an error, until -std1 is added to get
    27132210   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    27142211   array size at least.  It's necessary to write '\x00'==0 to get something
    2715    that's true only with -std.  */
     2212   that's true only with -std1.  */
    27162213int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2717 
    2718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    2719    inside strings and character constants.  */
    2720 #define FOO(x) 'x'
    2721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    27222214
    27232215int test (int i, double x);
     
    27352227}
    27362228_ACEOF
    2737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    2738     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2229# Don't try gcc -ansi; that turns off useful extensions and
     2230# breaks some systems' header files.
     2231# AIX           -qlanglvl=ansi
     2232# Ultrix and OSF/1  -std1
     2233# HP-UX 10.20 and later -Ae
     2234# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2235# SVR4          -Xc -D__EXTENSIONS__
     2236for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    27392237do
    27402238  CC="$ac_save_CC $ac_arg"
    27412239  rm -f conftest.$ac_objext
    2742 if { (ac_try="$ac_compile"
    2743 case "(($ac_try" in
    2744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2745   *) ac_try_echo=$ac_try;;
    2746 esac
    2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2748   (eval "$ac_compile") 2>conftest.er1
     2240if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2241  (eval $ac_compile) 2>conftest.er1
    27492242  ac_status=$?
    27502243  grep -v '^ *+' conftest.er1 >conftest.err
     
    27522245  cat conftest.err >&5
    27532246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2754   (exit $ac_status); } && {
    2755      test -z "$ac_c_werror_flag" ||
    2756      test ! -s conftest.err
    2757        } && test -s conftest.$ac_objext; then
    2758   ac_cv_prog_cc_c89=$ac_arg
     2247  (exit $ac_status); } &&
     2248     { ac_try='test -z "$ac_c_werror_flag"
     2249             || test ! -s conftest.err'
     2250  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2251  (eval $ac_try) 2>&5
     2252  ac_status=$?
     2253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2254  (exit $ac_status); }; } &&
     2255     { ac_try='test -s conftest.$ac_objext'
     2256  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2257  (eval $ac_try) 2>&5
     2258  ac_status=$?
     2259  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2260  (exit $ac_status); }; }; then
     2261  ac_cv_prog_cc_stdc=$ac_arg
     2262break
    27592263else
    27602264  echo "$as_me: failed program was:" >&5
    27612265sed 's/^/| /' conftest.$ac_ext >&5
    27622266
    2763 
    2764 fi
    2765 
    2766 rm -f core conftest.err conftest.$ac_objext
    2767   test "x$ac_cv_prog_cc_c89" != "xno" && break
     2267fi
     2268rm -f conftest.err conftest.$ac_objext
    27682269done
    2769 rm -f conftest.$ac_ext
     2270rm -f conftest.$ac_ext conftest.$ac_objext
    27702271CC=$ac_save_CC
    27712272
    27722273fi
    2773 # AC_CACHE_VAL
    2774 case "x$ac_cv_prog_cc_c89" in
    2775   x)
    2776     { echo "$as_me:$LINENO: result: none needed" >&5
    2777 echo "${ECHO_T}none needed" >&6; } ;;
    2778   xno)
    2779     { echo "$as_me:$LINENO: result: unsupported" >&5
    2780 echo "${ECHO_T}unsupported" >&6; } ;;
     2274
     2275case "x$ac_cv_prog_cc_stdc" in
     2276  x|xno)
     2277    echo "$as_me:$LINENO: result: none needed" >&5
     2278echo "${ECHO_T}none needed" >&6 ;;
    27812279  *)
    2782     CC="$CC $ac_cv_prog_cc_c89"
    2783     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    2784 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2280    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2281echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2282    CC="$CC $ac_cv_prog_cc_stdc" ;;
    27852283esac
    27862284
    2787 
     2285# Some people use a C++ compiler to compile C.  Since we use `exit',
     2286# in C++ we need to declare it.  In case someone uses the same compiler
     2287# for both compiling C and C++ we need to have the C++ compiler decide
     2288# the declaration of exit, since it's the most demanding environment.
     2289cat >conftest.$ac_ext <<_ACEOF
     2290#ifndef __cplusplus
     2291  choke me
     2292#endif
     2293_ACEOF
     2294rm -f conftest.$ac_objext
     2295if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2296  (eval $ac_compile) 2>conftest.er1
     2297  ac_status=$?
     2298  grep -v '^ *+' conftest.er1 >conftest.err
     2299  rm -f conftest.er1
     2300  cat conftest.err >&5
     2301  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2302  (exit $ac_status); } &&
     2303     { ac_try='test -z "$ac_c_werror_flag"
     2304             || test ! -s conftest.err'
     2305  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2306  (eval $ac_try) 2>&5
     2307  ac_status=$?
     2308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2309  (exit $ac_status); }; } &&
     2310     { ac_try='test -s conftest.$ac_objext'
     2311  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2312  (eval $ac_try) 2>&5
     2313  ac_status=$?
     2314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2315  (exit $ac_status); }; }; then
     2316  for ac_declaration in \
     2317   '' \
     2318   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2319   'extern "C" void std::exit (int); using std::exit;' \
     2320   'extern "C" void exit (int) throw ();' \
     2321   'extern "C" void exit (int);' \
     2322   'void exit (int);'
     2323do
     2324  cat >conftest.$ac_ext <<_ACEOF
     2325/* confdefs.h.  */
     2326_ACEOF
     2327cat confdefs.h >>conftest.$ac_ext
     2328cat >>conftest.$ac_ext <<_ACEOF
     2329/* end confdefs.h.  */
     2330$ac_declaration
     2331#include <stdlib.h>
     2332int
     2333main ()
     2334{
     2335exit (42);
     2336  ;
     2337  return 0;
     2338}
     2339_ACEOF
     2340rm -f conftest.$ac_objext
     2341if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2342  (eval $ac_compile) 2>conftest.er1
     2343  ac_status=$?
     2344  grep -v '^ *+' conftest.er1 >conftest.err
     2345  rm -f conftest.er1
     2346  cat conftest.err >&5
     2347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2348  (exit $ac_status); } &&
     2349     { ac_try='test -z "$ac_c_werror_flag"
     2350             || test ! -s conftest.err'
     2351  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2352  (eval $ac_try) 2>&5
     2353  ac_status=$?
     2354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2355  (exit $ac_status); }; } &&
     2356     { ac_try='test -s conftest.$ac_objext'
     2357  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2358  (eval $ac_try) 2>&5
     2359  ac_status=$?
     2360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2361  (exit $ac_status); }; }; then
     2362  :
     2363else
     2364  echo "$as_me: failed program was:" >&5
     2365sed 's/^/| /' conftest.$ac_ext >&5
     2366
     2367continue
     2368fi
     2369rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2370  cat >conftest.$ac_ext <<_ACEOF
     2371/* confdefs.h.  */
     2372_ACEOF
     2373cat confdefs.h >>conftest.$ac_ext
     2374cat >>conftest.$ac_ext <<_ACEOF
     2375/* end confdefs.h.  */
     2376$ac_declaration
     2377int
     2378main ()
     2379{
     2380exit (42);
     2381  ;
     2382  return 0;
     2383}
     2384_ACEOF
     2385rm -f conftest.$ac_objext
     2386if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2387  (eval $ac_compile) 2>conftest.er1
     2388  ac_status=$?
     2389  grep -v '^ *+' conftest.er1 >conftest.err
     2390  rm -f conftest.er1
     2391  cat conftest.err >&5
     2392  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2393  (exit $ac_status); } &&
     2394     { ac_try='test -z "$ac_c_werror_flag"
     2395             || test ! -s conftest.err'
     2396  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2397  (eval $ac_try) 2>&5
     2398  ac_status=$?
     2399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2400  (exit $ac_status); }; } &&
     2401     { ac_try='test -s conftest.$ac_objext'
     2402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2403  (eval $ac_try) 2>&5
     2404  ac_status=$?
     2405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2406  (exit $ac_status); }; }; then
     2407  break
     2408else
     2409  echo "$as_me: failed program was:" >&5
     2410sed 's/^/| /' conftest.$ac_ext >&5
     2411
     2412fi
     2413rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2414done
     2415rm -f conftest*
     2416if test -n "$ac_declaration"; then
     2417  echo '#ifdef __cplusplus' >>confdefs.h
     2418  echo $ac_declaration      >>confdefs.h
     2419  echo '#endif'             >>confdefs.h
     2420fi
     2421
     2422else
     2423  echo "$as_me: failed program was:" >&5
     2424sed 's/^/| /' conftest.$ac_ext >&5
     2425
     2426fi
     2427rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    27882428ac_ext=c
    27892429ac_cpp='$CPP $CPPFLAGS'
     
    27922432ac_compiler_gnu=$ac_cv_c_compiler_gnu
    27932433
    2794 ac_ext=cpp
     2434ac_ext=cc
    27952435ac_cpp='$CXXCPP $CPPFLAGS'
    27962436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    27972437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    27982438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2799 if test -z "$CXX"; then
    2800   if test -n "$CCC"; then
    2801     CXX=$CCC
    2802   else
    2803     if test -n "$ac_tool_prefix"; then
    2804   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2439if test -n "$ac_tool_prefix"; then
     2440  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    28052441  do
    28062442    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    28072443set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2444echo "$as_me:$LINENO: checking for $ac_word" >&5
     2445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    28102446if test "${ac_cv_prog_CXX+set}" = set; then
    28112447  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28202456  test -z "$as_dir" && as_dir=.
    28212457  for ac_exec_ext in '' $ac_executable_extensions; do
    2822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2458  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28232459    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    28242460    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28272463done
    28282464done
    2829 IFS=$as_save_IFS
    28302465
    28312466fi
     
    28332468CXX=$ac_cv_prog_CXX
    28342469if test -n "$CXX"; then
    2835   { echo "$as_me:$LINENO: result: $CXX" >&5
    2836 echo "${ECHO_T}$CXX" >&6; }
    2837 else
    2838   { echo "$as_me:$LINENO: result: no" >&5
    2839 echo "${ECHO_T}no" >&6; }
    2840 fi
    2841 
     2470  echo "$as_me:$LINENO: result: $CXX" >&5
     2471echo "${ECHO_T}$CXX" >&6
     2472else
     2473  echo "$as_me:$LINENO: result: no" >&5
     2474echo "${ECHO_T}no" >&6
     2475fi
    28422476
    28432477    test -n "$CXX" && break
     
    28462480if test -z "$CXX"; then
    28472481  ac_ct_CXX=$CXX
    2848   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2482  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    28492483do
    28502484  # Extract the first word of "$ac_prog", so it can be a program name with args.
    28512485set dummy $ac_prog; ac_word=$2
    2852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2486echo "$as_me:$LINENO: checking for $ac_word" >&5
     2487echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    28542488if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    28552489  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28642498  test -z "$as_dir" && as_dir=.
    28652499  for ac_exec_ext in '' $ac_executable_extensions; do
    2866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2500  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28672501    ac_cv_prog_ac_ct_CXX="$ac_prog"
    28682502    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28712505done
    28722506done
    2873 IFS=$as_save_IFS
    28742507
    28752508fi
     
    28772510ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    28782511if test -n "$ac_ct_CXX"; then
    2879   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2880 echo "${ECHO_T}$ac_ct_CXX" >&6; }
    2881 else
    2882   { echo "$as_me:$LINENO: result: no" >&5
    2883 echo "${ECHO_T}no" >&6; }
    2884 fi
    2885 
     2512  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2513echo "${ECHO_T}$ac_ct_CXX" >&6
     2514else
     2515  echo "$as_me:$LINENO: result: no" >&5
     2516echo "${ECHO_T}no" >&6
     2517fi
    28862518
    28872519  test -n "$ac_ct_CXX" && break
    28882520done
    2889 
    2890   if test "x$ac_ct_CXX" = x; then
    2891     CXX="g++"
    2892   else
    2893     case $cross_compiling:$ac_tool_warned in
    2894 yes:)
    2895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2896 whose name does not start with the host triplet.  If you think this
    2897 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2899 whose name does not start with the host triplet.  If you think this
    2900 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2901 ac_tool_warned=yes ;;
    2902 esac
    2903     CXX=$ac_ct_CXX
    2904   fi
    2905 fi
    2906 
    2907   fi
    2908 fi
     2521test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2522
     2523  CXX=$ac_ct_CXX
     2524fi
     2525
     2526
    29092527# Provide some information about the compiler.
    2910 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     2528echo "$as_me:$LINENO:" \
     2529     "checking for C++ compiler version" >&5
    29112530ac_compiler=`set X $ac_compile; echo $2`
    2912 { (ac_try="$ac_compiler --version >&5"
    2913 case "(($ac_try" in
    2914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2915   *) ac_try_echo=$ac_try;;
    2916 esac
    2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2918   (eval "$ac_compiler --version >&5") 2>&5
     2531{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2532  (eval $ac_compiler --version </dev/null >&5) 2>&5
    29192533  ac_status=$?
    29202534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29212535  (exit $ac_status); }
    2922 { (ac_try="$ac_compiler -v >&5"
    2923 case "(($ac_try" in
    2924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2925   *) ac_try_echo=$ac_try;;
    2926 esac
    2927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2928   (eval "$ac_compiler -v >&5") 2>&5
     2536{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2537  (eval $ac_compiler -v </dev/null >&5) 2>&5
    29292538  ac_status=$?
    29302539  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29312540  (exit $ac_status); }
    2932 { (ac_try="$ac_compiler -V >&5"
    2933 case "(($ac_try" in
    2934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2935   *) ac_try_echo=$ac_try;;
    2936 esac
    2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2938   (eval "$ac_compiler -V >&5") 2>&5
     2541{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2542  (eval $ac_compiler -V </dev/null >&5) 2>&5
    29392543  ac_status=$?
    29402544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29412545  (exit $ac_status); }
    29422546
    2943 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2944 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
     2547echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2548echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    29452549if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    29462550  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    29652569_ACEOF
    29662570rm -f conftest.$ac_objext
    2967 if { (ac_try="$ac_compile"
    2968 case "(($ac_try" in
    2969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2970   *) ac_try_echo=$ac_try;;
    2971 esac
    2972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2973   (eval "$ac_compile") 2>conftest.er1
     2571if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2572  (eval $ac_compile) 2>conftest.er1
    29742573  ac_status=$?
    29752574  grep -v '^ *+' conftest.er1 >conftest.err
     
    29772576  cat conftest.err >&5
    29782577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2979   (exit $ac_status); } && {
    2980      test -z "$ac_cxx_werror_flag" ||
    2981      test ! -s conftest.err
    2982        } && test -s conftest.$ac_objext; then
     2578  (exit $ac_status); } &&
     2579     { ac_try='test -z "$ac_cxx_werror_flag"
     2580             || test ! -s conftest.err'
     2581  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2582  (eval $ac_try) 2>&5
     2583  ac_status=$?
     2584  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2585  (exit $ac_status); }; } &&
     2586     { ac_try='test -s conftest.$ac_objext'
     2587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2588  (eval $ac_try) 2>&5
     2589  ac_status=$?
     2590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2591  (exit $ac_status); }; }; then
    29832592  ac_compiler_gnu=yes
    29842593else
     
    29862595sed 's/^/| /' conftest.$ac_ext >&5
    29872596
    2988     ac_compiler_gnu=no
    2989 fi
    2990 
    2991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2597ac_compiler_gnu=no
     2598fi
     2599rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    29922600ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    29932601
    29942602fi
    2995 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2996 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
     2603echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2604echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    29972605GXX=`test $ac_compiler_gnu = yes && echo yes`
    29982606ac_test_CXXFLAGS=${CXXFLAGS+set}
    29992607ac_save_CXXFLAGS=$CXXFLAGS
    3000 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3001 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
     2608CXXFLAGS="-g"
     2609echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2610echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    30022611if test "${ac_cv_prog_cxx_g+set}" = set; then
    30032612  echo $ECHO_N "(cached) $ECHO_C" >&6
    30042613else
    3005   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    3006    ac_cxx_werror_flag=yes
    3007    ac_cv_prog_cxx_g=no
    3008    CXXFLAGS="-g"
    3009    cat >conftest.$ac_ext <<_ACEOF
     2614  cat >conftest.$ac_ext <<_ACEOF
    30102615/* confdefs.h.  */
    30112616_ACEOF
     
    30232628_ACEOF
    30242629rm -f conftest.$ac_objext
    3025 if { (ac_try="$ac_compile"
    3026 case "(($ac_try" in
    3027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3028   *) ac_try_echo=$ac_try;;
    3029 esac
    3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3031   (eval "$ac_compile") 2>conftest.er1
     2630if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2631  (eval $ac_compile) 2>conftest.er1
    30322632  ac_status=$?
    30332633  grep -v '^ *+' conftest.er1 >conftest.err
     
    30352635  cat conftest.err >&5
    30362636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3037   (exit $ac_status); } && {
    3038      test -z "$ac_cxx_werror_flag" ||
    3039      test ! -s conftest.err
    3040        } && test -s conftest.$ac_objext; then
     2637  (exit $ac_status); } &&
     2638     { ac_try='test -z "$ac_cxx_werror_flag"
     2639             || test ! -s conftest.err'
     2640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2641  (eval $ac_try) 2>&5
     2642  ac_status=$?
     2643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2644  (exit $ac_status); }; } &&
     2645     { ac_try='test -s conftest.$ac_objext'
     2646  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2647  (eval $ac_try) 2>&5
     2648  ac_status=$?
     2649  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2650  (exit $ac_status); }; }; then
    30412651  ac_cv_prog_cxx_g=yes
    30422652else
     
    30442654sed 's/^/| /' conftest.$ac_ext >&5
    30452655
    3046     CXXFLAGS=""
    3047       cat >conftest.$ac_ext <<_ACEOF
    3048 /* confdefs.h.  */
    3049 _ACEOF
    3050 cat confdefs.h >>conftest.$ac_ext
    3051 cat >>conftest.$ac_ext <<_ACEOF
    3052 /* end confdefs.h.  */
    3053 
    3054 int
    3055 main ()
    3056 {
    3057 
    3058   ;
    3059   return 0;
    3060 }
    3061 _ACEOF
    3062 rm -f conftest.$ac_objext
    3063 if { (ac_try="$ac_compile"
    3064 case "(($ac_try" in
    3065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3066   *) ac_try_echo=$ac_try;;
    3067 esac
    3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3069   (eval "$ac_compile") 2>conftest.er1
    3070   ac_status=$?
    3071   grep -v '^ *+' conftest.er1 >conftest.err
    3072   rm -f conftest.er1
    3073   cat conftest.err >&5
    3074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3075   (exit $ac_status); } && {
    3076      test -z "$ac_cxx_werror_flag" ||
    3077      test ! -s conftest.err
    3078        } && test -s conftest.$ac_objext; then
    3079   :
    3080 else
    3081   echo "$as_me: failed program was:" >&5
    3082 sed 's/^/| /' conftest.$ac_ext >&5
    3083 
    3084     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3085      CXXFLAGS="-g"
    3086      cat >conftest.$ac_ext <<_ACEOF
    3087 /* confdefs.h.  */
    3088 _ACEOF
    3089 cat confdefs.h >>conftest.$ac_ext
    3090 cat >>conftest.$ac_ext <<_ACEOF
    3091 /* end confdefs.h.  */
    3092 
    3093 int
    3094 main ()
    3095 {
    3096 
    3097   ;
    3098   return 0;
    3099 }
    3100 _ACEOF
    3101 rm -f conftest.$ac_objext
    3102 if { (ac_try="$ac_compile"
    3103 case "(($ac_try" in
    3104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3105   *) ac_try_echo=$ac_try;;
    3106 esac
    3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3108   (eval "$ac_compile") 2>conftest.er1
    3109   ac_status=$?
    3110   grep -v '^ *+' conftest.er1 >conftest.err
    3111   rm -f conftest.er1
    3112   cat conftest.err >&5
    3113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3114   (exit $ac_status); } && {
    3115      test -z "$ac_cxx_werror_flag" ||
    3116      test ! -s conftest.err
    3117        } && test -s conftest.$ac_objext; then
    3118   ac_cv_prog_cxx_g=yes
    3119 else
    3120   echo "$as_me: failed program was:" >&5
    3121 sed 's/^/| /' conftest.$ac_ext >&5
    3122 
    3123 
    3124 fi
    3125 
    3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3127 fi
    3128 
    3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3130 fi
    3131 
    3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3133    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3134 fi
    3135 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3136 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     2656ac_cv_prog_cxx_g=no
     2657fi
     2658rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2659fi
     2660echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2661echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    31372662if test "$ac_test_CXXFLAGS" = set; then
    31382663  CXXFLAGS=$ac_save_CXXFLAGS
     
    31502675  fi
    31512676fi
     2677for ac_declaration in \
     2678   '' \
     2679   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2680   'extern "C" void std::exit (int); using std::exit;' \
     2681   'extern "C" void exit (int) throw ();' \
     2682   'extern "C" void exit (int);' \
     2683   'void exit (int);'
     2684do
     2685  cat >conftest.$ac_ext <<_ACEOF
     2686/* confdefs.h.  */
     2687_ACEOF
     2688cat confdefs.h >>conftest.$ac_ext
     2689cat >>conftest.$ac_ext <<_ACEOF
     2690/* end confdefs.h.  */
     2691$ac_declaration
     2692#include <stdlib.h>
     2693int
     2694main ()
     2695{
     2696exit (42);
     2697  ;
     2698  return 0;
     2699}
     2700_ACEOF
     2701rm -f conftest.$ac_objext
     2702if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2703  (eval $ac_compile) 2>conftest.er1
     2704  ac_status=$?
     2705  grep -v '^ *+' conftest.er1 >conftest.err
     2706  rm -f conftest.er1
     2707  cat conftest.err >&5
     2708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2709  (exit $ac_status); } &&
     2710     { ac_try='test -z "$ac_cxx_werror_flag"
     2711             || test ! -s conftest.err'
     2712  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2713  (eval $ac_try) 2>&5
     2714  ac_status=$?
     2715  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2716  (exit $ac_status); }; } &&
     2717     { ac_try='test -s conftest.$ac_objext'
     2718  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2719  (eval $ac_try) 2>&5
     2720  ac_status=$?
     2721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2722  (exit $ac_status); }; }; then
     2723  :
     2724else
     2725  echo "$as_me: failed program was:" >&5
     2726sed 's/^/| /' conftest.$ac_ext >&5
     2727
     2728continue
     2729fi
     2730rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2731  cat >conftest.$ac_ext <<_ACEOF
     2732/* confdefs.h.  */
     2733_ACEOF
     2734cat confdefs.h >>conftest.$ac_ext
     2735cat >>conftest.$ac_ext <<_ACEOF
     2736/* end confdefs.h.  */
     2737$ac_declaration
     2738int
     2739main ()
     2740{
     2741exit (42);
     2742  ;
     2743  return 0;
     2744}
     2745_ACEOF
     2746rm -f conftest.$ac_objext
     2747if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2748  (eval $ac_compile) 2>conftest.er1
     2749  ac_status=$?
     2750  grep -v '^ *+' conftest.er1 >conftest.err
     2751  rm -f conftest.er1
     2752  cat conftest.err >&5
     2753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2754  (exit $ac_status); } &&
     2755     { ac_try='test -z "$ac_cxx_werror_flag"
     2756             || test ! -s conftest.err'
     2757  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2758  (eval $ac_try) 2>&5
     2759  ac_status=$?
     2760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2761  (exit $ac_status); }; } &&
     2762     { ac_try='test -s conftest.$ac_objext'
     2763  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2764  (eval $ac_try) 2>&5
     2765  ac_status=$?
     2766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2767  (exit $ac_status); }; }; then
     2768  break
     2769else
     2770  echo "$as_me: failed program was:" >&5
     2771sed 's/^/| /' conftest.$ac_ext >&5
     2772
     2773fi
     2774rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2775done
     2776rm -f conftest*
     2777if test -n "$ac_declaration"; then
     2778  echo '#ifdef __cplusplus' >>confdefs.h
     2779  echo $ac_declaration      >>confdefs.h
     2780  echo '#endif'             >>confdefs.h
     2781fi
     2782
    31522783ac_ext=c
    31532784ac_cpp='$CPP $CPPFLAGS'
     
    31602791  # Extract the first word of "$ac_prog", so it can be a program name with args.
    31612792set dummy $ac_prog; ac_word=$2
    3162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2793echo "$as_me:$LINENO: checking for $ac_word" >&5
     2794echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    31642795if test "${ac_cv_prog_AWK+set}" = set; then
    31652796  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    31742805  test -z "$as_dir" && as_dir=.
    31752806  for ac_exec_ext in '' $ac_executable_extensions; do
    3176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2807  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    31772808    ac_cv_prog_AWK="$ac_prog"
    31782809    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    31812812done
    31822813done
    3183 IFS=$as_save_IFS
    31842814
    31852815fi
     
    31872817AWK=$ac_cv_prog_AWK
    31882818if test -n "$AWK"; then
    3189   { echo "$as_me:$LINENO: result: $AWK" >&5
    3190 echo "${ECHO_T}$AWK" >&6; }
    3191 else
    3192   { echo "$as_me:$LINENO: result: no" >&5
    3193 echo "${ECHO_T}no" >&6; }
    3194 fi
    3195 
     2819  echo "$as_me:$LINENO: result: $AWK" >&5
     2820echo "${ECHO_T}$AWK" >&6
     2821else
     2822  echo "$as_me:$LINENO: result: no" >&5
     2823echo "${ECHO_T}no" >&6
     2824fi
    31962825
    31972826  test -n "$AWK" && break
     
    32022831  # Extract the first word of "$ac_prog", so it can be a program name with args.
    32032832set dummy $ac_prog; ac_word=$2
    3204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2833echo "$as_me:$LINENO: checking for $ac_word" >&5
     2834echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    32062835if test "${ac_cv_prog_YACC+set}" = set; then
    32072836  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    32162845  test -z "$as_dir" && as_dir=.
    32172846  for ac_exec_ext in '' $ac_executable_extensions; do
    3218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2847  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    32192848    ac_cv_prog_YACC="$ac_prog"
    32202849    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    32232852done
    32242853done
    3225 IFS=$as_save_IFS
    32262854
    32272855fi
     
    32292857YACC=$ac_cv_prog_YACC
    32302858if test -n "$YACC"; then
    3231   { echo "$as_me:$LINENO: result: $YACC" >&5
    3232 echo "${ECHO_T}$YACC" >&6; }
    3233 else
    3234   { echo "$as_me:$LINENO: result: no" >&5
    3235 echo "${ECHO_T}no" >&6; }
    3236 fi
    3237 
     2859  echo "$as_me:$LINENO: result: $YACC" >&5
     2860echo "${ECHO_T}$YACC" >&6
     2861else
     2862  echo "$as_me:$LINENO: result: no" >&5
     2863echo "${ECHO_T}no" >&6
     2864fi
    32382865
    32392866  test -n "$YACC" && break
     
    32422869
    32432870ac_aux_dir=
    3244 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    3245   if test -f "$ac_dir/install-sh"; then
     2871for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     2872  if test -f $ac_dir/install-sh; then
    32462873    ac_aux_dir=$ac_dir
    32472874    ac_install_sh="$ac_aux_dir/install-sh -c"
    32482875    break
    3249   elif test -f "$ac_dir/install.sh"; then
     2876  elif test -f $ac_dir/install.sh; then
    32502877    ac_aux_dir=$ac_dir
    32512878    ac_install_sh="$ac_aux_dir/install.sh -c"
    32522879    break
    3253   elif test -f "$ac_dir/shtool"; then
     2880  elif test -f $ac_dir/shtool; then
    32542881    ac_aux_dir=$ac_dir
    32552882    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    32582885done
    32592886if test -z "$ac_aux_dir"; then
    3260   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    3261 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
     2887  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     2888echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    32622889   { (exit 1); exit 1; }; }
    32632890fi
    3264 
    3265 # These three variables are undocumented and unsupported,
    3266 # and are intended to be withdrawn in a future Autoconf release.
    3267 # They can cause serious problems if a builder's source tree is in a directory
    3268 # whose full name contains unusual characters.
    3269 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    3270 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    3271 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    3272 
     2891ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     2892ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     2893ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    32732894
    32742895# Make sure we can run config.sub.
    3275 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    3276   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
    3277 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
     2896$ac_config_sub sun4 >/dev/null 2>&1 ||
     2897  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
     2898echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    32782899   { (exit 1); exit 1; }; }
    32792900
    3280 { echo "$as_me:$LINENO: checking build system type" >&5
    3281 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
     2901echo "$as_me:$LINENO: checking build system type" >&5
     2902echo $ECHO_N "checking build system type... $ECHO_C" >&6
    32822903if test "${ac_cv_build+set}" = set; then
    32832904  echo $ECHO_N "(cached) $ECHO_C" >&6
    32842905else
    3285   ac_build_alias=$build_alias
    3286 test "x$ac_build_alias" = x &&
    3287   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    3288 test "x$ac_build_alias" = x &&
     2906  ac_cv_build_alias=$build_alias
     2907test -z "$ac_cv_build_alias" &&
     2908  ac_cv_build_alias=`$ac_config_guess`
     2909test -z "$ac_cv_build_alias" &&
    32892910  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    32902911echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    32912912   { (exit 1); exit 1; }; }
    3292 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    3293   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
    3294 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
     2913ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     2914  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
     2915echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
    32952916   { (exit 1); exit 1; }; }
    32962917
    32972918fi
    3298 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    3299 echo "${ECHO_T}$ac_cv_build" >&6; }
    3300 case $ac_cv_build in
    3301 *-*-*) ;;
    3302 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
    3303 echo "$as_me: error: invalid value of canonical build" >&2;}
    3304    { (exit 1); exit 1; }; };;
    3305 esac
     2919echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     2920echo "${ECHO_T}$ac_cv_build" >&6
    33062921build=$ac_cv_build
    3307 ac_save_IFS=$IFS; IFS='-'
    3308 set x $ac_cv_build
    3309 shift
    3310 build_cpu=$1
    3311 build_vendor=$2
    3312 shift; shift
    3313 # Remember, the first character of IFS is used to create $*,
    3314 # except with old shells:
    3315 build_os=$*
    3316 IFS=$ac_save_IFS
    3317 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    3318 
    3319 
    3320 { echo "$as_me:$LINENO: checking host system type" >&5
    3321 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
     2922build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     2923build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     2924build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     2925
     2926
     2927echo "$as_me:$LINENO: checking host system type" >&5
     2928echo $ECHO_N "checking host system type... $ECHO_C" >&6
    33222929if test "${ac_cv_host+set}" = set; then
    33232930  echo $ECHO_N "(cached) $ECHO_C" >&6
    33242931else
    3325   if test "x$host_alias" = x; then
    3326   ac_cv_host=$ac_cv_build
    3327 else
    3328   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    3329     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
    3330 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
     2932  ac_cv_host_alias=$host_alias
     2933test -z "$ac_cv_host_alias" &&
     2934  ac_cv_host_alias=$ac_cv_build_alias
     2935ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     2936  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     2937echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    33312938   { (exit 1); exit 1; }; }
    3332 fi
    3333 
    3334 fi
    3335 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    3336 echo "${ECHO_T}$ac_cv_host" >&6; }
    3337 case $ac_cv_host in
    3338 *-*-*) ;;
    3339 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
    3340 echo "$as_me: error: invalid value of canonical host" >&2;}
    3341    { (exit 1); exit 1; }; };;
    3342 esac
     2939
     2940fi
     2941echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     2942echo "${ECHO_T}$ac_cv_host" >&6
    33432943host=$ac_cv_host
    3344 ac_save_IFS=$IFS; IFS='-'
    3345 set x $ac_cv_host
    3346 shift
    3347 host_cpu=$1
    3348 host_vendor=$2
    3349 shift; shift
    3350 # Remember, the first character of IFS is used to create $*,
    3351 # except with old shells:
    3352 host_os=$*
    3353 IFS=$ac_save_IFS
    3354 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    3355 
    3356 
    3357 { echo "$as_me:$LINENO: checking target system type" >&5
    3358 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
     2944host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     2945host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     2946host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     2947
     2948
     2949echo "$as_me:$LINENO: checking target system type" >&5
     2950echo $ECHO_N "checking target system type... $ECHO_C" >&6
    33592951if test "${ac_cv_target+set}" = set; then
    33602952  echo $ECHO_N "(cached) $ECHO_C" >&6
    33612953else
    3362   if test "x$target_alias" = x; then
    3363   ac_cv_target=$ac_cv_host
    3364 else
    3365   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    3366     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
    3367 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
     2954  ac_cv_target_alias=$target_alias
     2955test "x$ac_cv_target_alias" = "x" &&
     2956  ac_cv_target_alias=$ac_cv_host_alias
     2957ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
     2958  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     2959echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
    33682960   { (exit 1); exit 1; }; }
    3369 fi
    3370 
    3371 fi
    3372 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    3373 echo "${ECHO_T}$ac_cv_target" >&6; }
    3374 case $ac_cv_target in
    3375 *-*-*) ;;
    3376 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
    3377 echo "$as_me: error: invalid value of canonical target" >&2;}
    3378    { (exit 1); exit 1; }; };;
    3379 esac
     2961
     2962fi
     2963echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     2964echo "${ECHO_T}$ac_cv_target" >&6
    33802965target=$ac_cv_target
    3381 ac_save_IFS=$IFS; IFS='-'
    3382 set x $ac_cv_target
    3383 shift
    3384 target_cpu=$1
    3385 target_vendor=$2
    3386 shift; shift
    3387 # Remember, the first character of IFS is used to create $*,
    3388 # except with old shells:
    3389 target_os=$*
    3390 IFS=$ac_save_IFS
    3391 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
     2966target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     2967target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     2968target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    33922969
    33932970
     
    34112988# OS/2's system install, which has a completely different semantic
    34122989# ./install, which can be erroneously created by make from ./install.sh.
    3413 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3414 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
     2990echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2991echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    34152992if test -z "$INSTALL"; then
    34162993if test "${ac_cv_path_install+set}" = set; then
     
    34343011    for ac_prog in ginstall scoinst install; do
    34353012      for ac_exec_ext in '' $ac_executable_extensions; do
    3436     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     3013    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    34373014      if test $ac_prog = install &&
    34383015        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    34533030esac
    34543031done
    3455 IFS=$as_save_IFS
    34563032
    34573033
     
    34603036    INSTALL=$ac_cv_path_install
    34613037  else
    3462     # As a last resort, use the slow shell script.  Don't cache a
    3463     # value for INSTALL within a source directory, because that will
     3038    # As a last resort, use the slow shell script.  We don't cache a
     3039    # path for INSTALL within a source directory, because that will
    34643040    # break other packages using the cache if that directory is
    3465     # removed, or if the value is a relative name.
     3041    # removed, or if the path is relative.
    34663042    INSTALL=$ac_install_sh
    34673043  fi
    34683044fi
    3469 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    3470 echo "${ECHO_T}$INSTALL" >&6; }
     3045echo "$as_me:$LINENO: result: $INSTALL" >&5
     3046echo "${ECHO_T}$INSTALL" >&6
    34713047
    34723048# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    34783054test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    34793055
    3480 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3481 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
     3056echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3057echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    34823058LN_S=$as_ln_s
    34833059if test "$LN_S" = "ln -s"; then
    3484   { echo "$as_me:$LINENO: result: yes" >&5
    3485 echo "${ECHO_T}yes" >&6; }
    3486 else
    3487   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3488 echo "${ECHO_T}no, using $LN_S" >&6; }
    3489 fi
    3490 
    3491 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3492 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
    3493 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    3494 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     3060  echo "$as_me:$LINENO: result: yes" >&5
     3061echo "${ECHO_T}yes" >&6
     3062else
     3063  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3064echo "${ECHO_T}no, using $LN_S" >&6
     3065fi
     3066
     3067echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3068echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3069set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     3070if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    34953071  echo $ECHO_N "(cached) $ECHO_C" >&6
    34963072else
    34973073  cat >conftest.make <<\_ACEOF
    3498 SHELL = /bin/sh
    34993074all:
    3500     @echo '@@@%%%=$(MAKE)=@@@%%%'
     3075    @echo 'ac_maketemp="$(MAKE)"'
    35013076_ACEOF
    35023077# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3503 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    3504   *@@@%%%=?*=@@@%%%*)
    3505     eval ac_cv_prog_make_${ac_make}_set=yes;;
    3506   *)
    3507     eval ac_cv_prog_make_${ac_make}_set=no;;
    3508 esac
     3078eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3079if test -n "$ac_maketemp"; then
     3080  eval ac_cv_prog_make_${ac_make}_set=yes
     3081else
     3082  eval ac_cv_prog_make_${ac_make}_set=no
     3083fi
    35093084rm -f conftest.make
    35103085fi
    3511 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    3512   { echo "$as_me:$LINENO: result: yes" >&5
    3513 echo "${ECHO_T}yes" >&6; }
     3086if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3087  echo "$as_me:$LINENO: result: yes" >&5
     3088echo "${ECHO_T}yes" >&6
    35143089  SET_MAKE=
    35153090else
    3516   { echo "$as_me:$LINENO: result: no" >&5
    3517 echo "${ECHO_T}no" >&6; }
     3091  echo "$as_me:$LINENO: result: no" >&5
     3092echo "${ECHO_T}no" >&6
    35183093  SET_MAKE="MAKE=${MAKE-make}"
    35193094fi
     
    35223097  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    35233098set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3099echo "$as_me:$LINENO: checking for $ac_word" >&5
     3100echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    35263101if test "${ac_cv_prog_RANLIB+set}" = set; then
    35273102  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    35363111  test -z "$as_dir" && as_dir=.
    35373112  for ac_exec_ext in '' $ac_executable_extensions; do
    3538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3113  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35393114    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    35403115    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    35433118done
    35443119done
    3545 IFS=$as_save_IFS
    35463120
    35473121fi
     
    35493123RANLIB=$ac_cv_prog_RANLIB
    35503124if test -n "$RANLIB"; then
    3551   { echo "$as_me:$LINENO: result: $RANLIB" >&5
    3552 echo "${ECHO_T}$RANLIB" >&6; }
    3553 else
    3554   { echo "$as_me:$LINENO: result: no" >&5
    3555 echo "${ECHO_T}no" >&6; }
    3556 fi
    3557 
     3125  echo "$as_me:$LINENO: result: $RANLIB" >&5
     3126echo "${ECHO_T}$RANLIB" >&6
     3127else
     3128  echo "$as_me:$LINENO: result: no" >&5
     3129echo "${ECHO_T}no" >&6
     3130fi
    35583131
    35593132fi
     
    35623135  # Extract the first word of "ranlib", so it can be a program name with args.
    35633136set dummy ranlib; ac_word=$2
    3564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3137echo "$as_me:$LINENO: checking for $ac_word" >&5
     3138echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    35663139if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    35673140  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    35763149  test -z "$as_dir" && as_dir=.
    35773150  for ac_exec_ext in '' $ac_executable_extensions; do
    3578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3151  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35793152    ac_cv_prog_ac_ct_RANLIB="ranlib"
    35803153    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    35833156done
    35843157done
    3585 IFS=$as_save_IFS
    3586 
     3158
     3159  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    35873160fi
    35883161fi
    35893162ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    35903163if test -n "$ac_ct_RANLIB"; then
    3591   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3592 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
    3593 else
    3594   { echo "$as_me:$LINENO: result: no" >&5
    3595 echo "${ECHO_T}no" >&6; }
    3596 fi
    3597 
    3598   if test "x$ac_ct_RANLIB" = x; then
    3599     RANLIB=":"
    3600   else
    3601     case $cross_compiling:$ac_tool_warned in
    3602 yes:)
    3603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3604 whose name does not start with the host triplet.  If you think this
    3605 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3607 whose name does not start with the host triplet.  If you think this
    3608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    3609 ac_tool_warned=yes ;;
    3610 esac
    3611     RANLIB=$ac_ct_RANLIB
    3612   fi
     3164  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3165echo "${ECHO_T}$ac_ct_RANLIB" >&6
     3166else
     3167  echo "$as_me:$LINENO: result: no" >&5
     3168echo "${ECHO_T}no" >&6
     3169fi
     3170
     3171  RANLIB=$ac_ct_RANLIB
    36133172else
    36143173  RANLIB="$ac_cv_prog_RANLIB"
     
    36163175
    36173176
    3618 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3619 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
     3177echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3178echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
    36203179arch_64bit=no
    36213180case "$host_cpu" in
     
    36243183
    36253184if test "$arch_64bit" = yes; then
    3626   { echo "$as_me:$LINENO: result: yes" >&5
    3627 echo "${ECHO_T}yes" >&6; }
     3185  echo "$as_me:$LINENO: result: yes" >&5
     3186echo "${ECHO_T}yes" >&6
    36283187  if test -z "$COMPAT32BITFLAGS" ; then
    36293188    COMPAT32BITFLAGS="-m32"
    36303189  fi
    36313190else
    3632   { echo "$as_me:$LINENO: result: no" >&5
    3633 echo "${ECHO_T}no" >&6; }
     3191  echo "$as_me:$LINENO: result: no" >&5
     3192echo "${ECHO_T}no" >&6
    36343193  if test -z "$COMPAT32BITFLAGS" ; then
    36353194    COMPAT32BITFLAGS=
     
    36783237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    36793238ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3680 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     3239echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3240echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    36823241# On Suns, sometimes $CPP names a directory.
    36833242if test -n "$CPP" && test -d "$CPP"; then
     
    37133272             Syntax error
    37143273_ACEOF
    3715 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3716 case "(($ac_try" in
    3717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3718   *) ac_try_echo=$ac_try;;
    3719 esac
    3720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3721   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3274if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3275  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    37223276  ac_status=$?
    37233277  grep -v '^ *+' conftest.er1 >conftest.err
     
    37253279  cat conftest.err >&5
    37263280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3727   (exit $ac_status); } >/dev/null && {
    3728      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3729      test ! -s conftest.err
    3730        }; then
     3281  (exit $ac_status); } >/dev/null; then
     3282  if test -s conftest.err; then
     3283    ac_cpp_err=$ac_c_preproc_warn_flag
     3284    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3285  else
     3286    ac_cpp_err=
     3287  fi
     3288else
     3289  ac_cpp_err=yes
     3290fi
     3291if test -z "$ac_cpp_err"; then
    37313292  :
    37323293else
     
    37373298continue
    37383299fi
    3739 
    37403300rm -f conftest.err conftest.$ac_ext
    37413301
    3742   # OK, works on sane cases.  Now check whether nonexistent headers
     3302  # OK, works on sane cases.  Now check whether non-existent headers
    37433303  # can be detected and how.
    37443304  cat >conftest.$ac_ext <<_ACEOF
     
    37503310#include <ac_nonexistent.h>
    37513311_ACEOF
    3752 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3753 case "(($ac_try" in
    3754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3755   *) ac_try_echo=$ac_try;;
    3756 esac
    3757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3758   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3312if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3313  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    37593314  ac_status=$?
    37603315  grep -v '^ *+' conftest.er1 >conftest.err
     
    37623317  cat conftest.err >&5
    37633318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3764   (exit $ac_status); } >/dev/null && {
    3765      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3766      test ! -s conftest.err
    3767        }; then
     3319  (exit $ac_status); } >/dev/null; then
     3320  if test -s conftest.err; then
     3321    ac_cpp_err=$ac_c_preproc_warn_flag
     3322    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3323  else
     3324    ac_cpp_err=
     3325  fi
     3326else
     3327  ac_cpp_err=yes
     3328fi
     3329if test -z "$ac_cpp_err"; then
    37683330  # Broken: success on invalid input.
    37693331continue
     
    37763338break
    37773339fi
    3778 
    37793340rm -f conftest.err conftest.$ac_ext
    37803341
     
    37943355  ac_cv_prog_CPP=$CPP
    37953356fi
    3796 { echo "$as_me:$LINENO: result: $CPP" >&5
    3797 echo "${ECHO_T}$CPP" >&6; }
     3357echo "$as_me:$LINENO: result: $CPP" >&5
     3358echo "${ECHO_T}$CPP" >&6
    37983359ac_preproc_ok=false
    37993360for ac_c_preproc_warn_flag in '' yes
     
    38183379             Syntax error
    38193380_ACEOF
    3820 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3821 case "(($ac_try" in
    3822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3823   *) ac_try_echo=$ac_try;;
    3824 esac
    3825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3826   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3381if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3382  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    38273383  ac_status=$?
    38283384  grep -v '^ *+' conftest.er1 >conftest.err
     
    38303386  cat conftest.err >&5
    38313387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3832   (exit $ac_status); } >/dev/null && {
    3833      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3834      test ! -s conftest.err
    3835        }; then
     3388  (exit $ac_status); } >/dev/null; then
     3389  if test -s conftest.err; then
     3390    ac_cpp_err=$ac_c_preproc_warn_flag
     3391    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3392  else
     3393    ac_cpp_err=
     3394  fi
     3395else
     3396  ac_cpp_err=yes
     3397fi
     3398if test -z "$ac_cpp_err"; then
    38363399  :
    38373400else
     
    38423405continue
    38433406fi
    3844 
    38453407rm -f conftest.err conftest.$ac_ext
    38463408
    3847   # OK, works on sane cases.  Now check whether nonexistent headers
     3409  # OK, works on sane cases.  Now check whether non-existent headers
    38483410  # can be detected and how.
    38493411  cat >conftest.$ac_ext <<_ACEOF
     
    38553417#include <ac_nonexistent.h>
    38563418_ACEOF
    3857 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3858 case "(($ac_try" in
    3859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3860   *) ac_try_echo=$ac_try;;
    3861 esac
    3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3863   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3419if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3420  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    38643421  ac_status=$?
    38653422  grep -v '^ *+' conftest.er1 >conftest.err
     
    38673424  cat conftest.err >&5
    38683425  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3869   (exit $ac_status); } >/dev/null && {
    3870      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3871      test ! -s conftest.err
    3872        }; then
     3426  (exit $ac_status); } >/dev/null; then
     3427  if test -s conftest.err; then
     3428    ac_cpp_err=$ac_c_preproc_warn_flag
     3429    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3430  else
     3431    ac_cpp_err=
     3432  fi
     3433else
     3434  ac_cpp_err=yes
     3435fi
     3436if test -z "$ac_cpp_err"; then
    38733437  # Broken: success on invalid input.
    38743438continue
     
    38813445break
    38823446fi
    3883 
    38843447rm -f conftest.err conftest.$ac_ext
    38853448
     
    39043467
    39053468
    3906 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    3907 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    3908 if test "${ac_cv_path_GREP+set}" = set; then
     3469echo "$as_me:$LINENO: checking for egrep" >&5
     3470echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3471if test "${ac_cv_prog_egrep+set}" = set; then
    39093472  echo $ECHO_N "(cached) $ECHO_C" >&6
    39103473else
    3911   # Extract the first word of "grep ggrep" to use in msg output
    3912 if test -z "$GREP"; then
    3913 set dummy grep ggrep; ac_prog_name=$2
    3914 if test "${ac_cv_path_GREP+set}" = set; then
    3915   echo $ECHO_N "(cached) $ECHO_C" >&6
    3916 else
    3917   ac_path_GREP_found=false
    3918 # Loop through the user's path and test for each of PROGNAME-LIST
    3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3920 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    3921 do
    3922   IFS=$as_save_IFS
    3923   test -z "$as_dir" && as_dir=.
    3924   for ac_prog in grep ggrep; do
    3925   for ac_exec_ext in '' $ac_executable_extensions; do
    3926     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3927     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    3928     # Check for GNU ac_path_GREP and select it if it is found.
    3929   # Check for GNU $ac_path_GREP
    3930 case `"$ac_path_GREP" --version 2>&1` in
    3931 *GNU*)
    3932   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    3933 *)
    3934   ac_count=0
    3935   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    3936   while :
    3937   do
    3938     cat "conftest.in" "conftest.in" >"conftest.tmp"
    3939     mv "conftest.tmp" "conftest.in"
    3940     cp "conftest.in" "conftest.nl"
    3941     echo 'GREP' >> "conftest.nl"
    3942     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    3943     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3944     ac_count=`expr $ac_count + 1`
    3945     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    3946       # Best one so far, save it but keep looking for a better one
    3947       ac_cv_path_GREP="$ac_path_GREP"
    3948       ac_path_GREP_max=$ac_count
     3474  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3475    then ac_cv_prog_egrep='grep -E'
     3476    else ac_cv_prog_egrep='egrep'
    39493477    fi
    3950     # 10*(2^10) chars as input seems more than enough
    3951     test $ac_count -gt 10 && break
    3952   done
    3953   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    3954 esac
    3955 
    3956 
    3957     $ac_path_GREP_found && break 3
    3958   done
    3959 done
    3960 
    3961 done
    3962 IFS=$as_save_IFS
    3963 
    3964 
    3965 fi
    3966 
    3967 GREP="$ac_cv_path_GREP"
    3968 if test -z "$GREP"; then
    3969   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3970 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3971    { (exit 1); exit 1; }; }
    3972 fi
    3973 
    3974 else
    3975   ac_cv_path_GREP=$GREP
    3976 fi
    3977 
    3978 
    3979 fi
    3980 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    3981 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
    3982  GREP="$ac_cv_path_GREP"
    3983 
    3984 
    3985 { echo "$as_me:$LINENO: checking for egrep" >&5
    3986 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
    3987 if test "${ac_cv_path_EGREP+set}" = set; then
    3988   echo $ECHO_N "(cached) $ECHO_C" >&6
    3989 else
    3990   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    3991    then ac_cv_path_EGREP="$GREP -E"
    3992    else
    3993      # Extract the first word of "egrep" to use in msg output
    3994 if test -z "$EGREP"; then
    3995 set dummy egrep; ac_prog_name=$2
    3996 if test "${ac_cv_path_EGREP+set}" = set; then
    3997   echo $ECHO_N "(cached) $ECHO_C" >&6
    3998 else
    3999   ac_path_EGREP_found=false
    4000 # Loop through the user's path and test for each of PROGNAME-LIST
    4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4003 do
    4004   IFS=$as_save_IFS
    4005   test -z "$as_dir" && as_dir=.
    4006   for ac_prog in egrep; do
    4007   for ac_exec_ext in '' $ac_executable_extensions; do
    4008     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4009     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4010     # Check for GNU ac_path_EGREP and select it if it is found.
    4011   # Check for GNU $ac_path_EGREP
    4012 case `"$ac_path_EGREP" --version 2>&1` in
    4013 *GNU*)
    4014   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4015 *)
    4016   ac_count=0
    4017   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    4018   while :
    4019   do
    4020     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4021     mv "conftest.tmp" "conftest.in"
    4022     cp "conftest.in" "conftest.nl"
    4023     echo 'EGREP' >> "conftest.nl"
    4024     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4025     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4026     ac_count=`expr $ac_count + 1`
    4027     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4028       # Best one so far, save it but keep looking for a better one
    4029       ac_cv_path_EGREP="$ac_path_EGREP"
    4030       ac_path_EGREP_max=$ac_count
    4031     fi
    4032     # 10*(2^10) chars as input seems more than enough
    4033     test $ac_count -gt 10 && break
    4034   done
    4035   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4036 esac
    4037 
    4038 
    4039     $ac_path_EGREP_found && break 3
    4040   done
    4041 done
    4042 
    4043 done
    4044 IFS=$as_save_IFS
    4045 
    4046 
    4047 fi
    4048 
    4049 EGREP="$ac_cv_path_EGREP"
    4050 if test -z "$EGREP"; then
    4051   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4052 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4053    { (exit 1); exit 1; }; }
    4054 fi
    4055 
    4056 else
    4057   ac_cv_path_EGREP=$EGREP
    4058 fi
    4059 
    4060 
    4061    fi
    4062 fi
    4063 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    4064 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
    4065  EGREP="$ac_cv_path_EGREP"
    4066 
    4067 
    4068 
    4069 { echo "$as_me:$LINENO: checking for AIX" >&5
    4070 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
     3478fi
     3479echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3480echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3481 EGREP=$ac_cv_prog_egrep
     3482
     3483
     3484
     3485echo "$as_me:$LINENO: checking for AIX" >&5
     3486echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    40713487cat >conftest.$ac_ext <<_ACEOF
    40723488/* confdefs.h.  */
     
    40823498if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    40833499  $EGREP "yes" >/dev/null 2>&1; then
    4084   { echo "$as_me:$LINENO: result: yes" >&5
    4085 echo "${ECHO_T}yes" >&6; }
     3500  echo "$as_me:$LINENO: result: yes" >&5
     3501echo "${ECHO_T}yes" >&6
    40863502cat >>confdefs.h <<\_ACEOF
    40873503#define _ALL_SOURCE 1
     
    40893505
    40903506else
    4091   { echo "$as_me:$LINENO: result: no" >&5
    4092 echo "${ECHO_T}no" >&6; }
     3507  echo "$as_me:$LINENO: result: no" >&5
     3508echo "${ECHO_T}no" >&6
    40933509fi
    40943510rm -f conftest*
    40953511
    40963512
    4097 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
    4098 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
     3513echo "$as_me:$LINENO: checking for library containing strerror" >&5
     3514echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
    40993515if test "${ac_cv_search_strerror+set}" = set; then
    41003516  echo $ECHO_N "(cached) $ECHO_C" >&6
    41013517else
    41023518  ac_func_search_save_LIBS=$LIBS
     3519ac_cv_search_strerror=no
    41033520cat >conftest.$ac_ext <<_ACEOF
    41043521/* confdefs.h.  */
     
    41083525/* end confdefs.h.  */
    41093526
    4110 /* Override any GCC internal prototype to avoid an error.
    4111    Use char because int might match the return type of a GCC
    4112    builtin and then its argument prototype would still apply.  */
     3527/* Override any gcc2 internal prototype to avoid an error.  */
    41133528#ifdef __cplusplus
    41143529extern "C"
    41153530#endif
     3531/* We use char because int might match the return type of a gcc2
     3532   builtin and then its argument prototype would still apply.  */
    41163533char strerror ();
    41173534int
    41183535main ()
    41193536{
    4120 return strerror ();
     3537strerror ();
    41213538  ;
    41223539  return 0;
    41233540}
    41243541_ACEOF
    4125 for ac_lib in '' cposix; do
    4126   if test -z "$ac_lib"; then
    4127     ac_res="none required"
    4128   else
    4129     ac_res=-l$ac_lib
    4130     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4131   fi
    4132   rm -f conftest.$ac_objext conftest$ac_exeext
    4133 if { (ac_try="$ac_link"
    4134 case "(($ac_try" in
    4135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4136   *) ac_try_echo=$ac_try;;
    4137 esac
    4138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4139   (eval "$ac_link") 2>conftest.er1
     3542rm -f conftest.$ac_objext conftest$ac_exeext
     3543if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3544  (eval $ac_link) 2>conftest.er1
    41403545  ac_status=$?
    41413546  grep -v '^ *+' conftest.er1 >conftest.err
     
    41433548  cat conftest.err >&5
    41443549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4145   (exit $ac_status); } && {
    4146      test -z "$ac_c_werror_flag" ||
    4147      test ! -s conftest.err
    4148        } && test -s conftest$ac_exeext &&
    4149        $as_test_x conftest$ac_exeext; then
    4150   ac_cv_search_strerror=$ac_res
     3550  (exit $ac_status); } &&
     3551     { ac_try='test -z "$ac_c_werror_flag"
     3552             || test ! -s conftest.err'
     3553  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3554  (eval $ac_try) 2>&5
     3555  ac_status=$?
     3556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3557  (exit $ac_status); }; } &&
     3558     { ac_try='test -s conftest$ac_exeext'
     3559  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3560  (eval $ac_try) 2>&5
     3561  ac_status=$?
     3562  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3563  (exit $ac_status); }; }; then
     3564  ac_cv_search_strerror="none required"
    41513565else
    41523566  echo "$as_me: failed program was:" >&5
    41533567sed 's/^/| /' conftest.$ac_ext >&5
    41543568
    4155 
    4156 fi
    4157 
    4158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4159       conftest$ac_exeext
    4160   if test "${ac_cv_search_strerror+set}" = set; then
    4161   break
    4162 fi
    4163 done
    4164 if test "${ac_cv_search_strerror+set}" = set; then
    4165   :
    4166 else
    4167   ac_cv_search_strerror=no
    4168 fi
    4169 rm conftest.$ac_ext
     3569fi
     3570rm -f conftest.err conftest.$ac_objext \
     3571      conftest$ac_exeext conftest.$ac_ext
     3572if test "$ac_cv_search_strerror" = no; then
     3573  for ac_lib in cposix; do
     3574    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     3575    cat >conftest.$ac_ext <<_ACEOF
     3576/* confdefs.h.  */
     3577_ACEOF
     3578cat confdefs.h >>conftest.$ac_ext
     3579cat >>conftest.$ac_ext <<_ACEOF
     3580/* end confdefs.h.  */
     3581
     3582/* Override any gcc2 internal prototype to avoid an error.  */
     3583#ifdef __cplusplus
     3584extern "C"
     3585#endif
     3586/* We use char because int might match the return type of a gcc2
     3587   builtin and then its argument prototype would still apply.  */
     3588char strerror ();
     3589int
     3590main ()
     3591{
     3592strerror ();
     3593  ;
     3594  return 0;
     3595}
     3596_ACEOF
     3597rm -f conftest.$ac_objext conftest$ac_exeext
     3598if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3599  (eval $ac_link) 2>conftest.er1
     3600  ac_status=$?
     3601  grep -v '^ *+' conftest.er1 >conftest.err
     3602  rm -f conftest.er1
     3603  cat conftest.err >&5
     3604  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3605  (exit $ac_status); } &&
     3606     { ac_try='test -z "$ac_c_werror_flag"
     3607             || test ! -s conftest.err'
     3608  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3609  (eval $ac_try) 2>&5
     3610  ac_status=$?
     3611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3612  (exit $ac_status); }; } &&
     3613     { ac_try='test -s conftest$ac_exeext'
     3614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3615  (eval $ac_try) 2>&5
     3616  ac_status=$?
     3617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3618  (exit $ac_status); }; }; then
     3619  ac_cv_search_strerror="-l$ac_lib"
     3620break
     3621else
     3622  echo "$as_me: failed program was:" >&5
     3623sed 's/^/| /' conftest.$ac_ext >&5
     3624
     3625fi
     3626rm -f conftest.err conftest.$ac_objext \
     3627      conftest$ac_exeext conftest.$ac_ext
     3628  done
     3629fi
    41703630LIBS=$ac_func_search_save_LIBS
    41713631fi
    4172 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    4173 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
    4174 ac_res=$ac_cv_search_strerror
    4175 if test "$ac_res" != no; then
    4176   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    4177 
    4178 fi
    4179 
    4180 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4181 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
     3632echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     3633echo "${ECHO_T}$ac_cv_search_strerror" >&6
     3634if test "$ac_cv_search_strerror" != no; then
     3635  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
     3636
     3637fi
     3638
     3639echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3640echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    41823641if test "${ac_cv_header_stdc+set}" = set; then
    41833642  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42033662_ACEOF
    42043663rm -f conftest.$ac_objext
    4205 if { (ac_try="$ac_compile"
    4206 case "(($ac_try" in
    4207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4208   *) ac_try_echo=$ac_try;;
    4209 esac
    4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4211   (eval "$ac_compile") 2>conftest.er1
     3664if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3665  (eval $ac_compile) 2>conftest.er1
    42123666  ac_status=$?
    42133667  grep -v '^ *+' conftest.er1 >conftest.err
     
    42153669  cat conftest.err >&5
    42163670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4217   (exit $ac_status); } && {
    4218      test -z "$ac_c_werror_flag" ||
    4219      test ! -s conftest.err
    4220        } && test -s conftest.$ac_objext; then
     3671  (exit $ac_status); } &&
     3672     { ac_try='test -z "$ac_c_werror_flag"
     3673             || test ! -s conftest.err'
     3674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3675  (eval $ac_try) 2>&5
     3676  ac_status=$?
     3677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3678  (exit $ac_status); }; } &&
     3679     { ac_try='test -s conftest.$ac_objext'
     3680  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3681  (eval $ac_try) 2>&5
     3682  ac_status=$?
     3683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3684  (exit $ac_status); }; }; then
    42213685  ac_cv_header_stdc=yes
    42223686else
     
    42243688sed 's/^/| /' conftest.$ac_ext >&5
    42253689
    4226     ac_cv_header_stdc=no
    4227 fi
    4228 
    4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3690ac_cv_header_stdc=no
     3691fi
     3692rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    42303693
    42313694if test $ac_cv_header_stdc = yes; then
     
    42833746/* end confdefs.h.  */
    42843747#include <ctype.h>
    4285 #include <stdlib.h>
    42863748#if ((' ' & 0x0FF) == 0x020)
    42873749# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    43033765    if (XOR (islower (i), ISLOWER (i))
    43043766    || toupper (i) != TOUPPER (i))
    4305       return 2;
    4306   return 0;
     3767      exit(2);
     3768  exit (0);
    43073769}
    43083770_ACEOF
    43093771rm -f conftest$ac_exeext
    4310 if { (ac_try="$ac_link"
    4311 case "(($ac_try" in
    4312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4313   *) ac_try_echo=$ac_try;;
    4314 esac
    4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4316   (eval "$ac_link") 2>&5
     3772if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3773  (eval $ac_link) 2>&5
    43173774  ac_status=$?
    43183775  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43193776  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4320   { (case "(($ac_try" in
    4321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4322   *) ac_try_echo=$ac_try;;
    4323 esac
    4324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4325   (eval "$ac_try") 2>&5
     3777  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3778  (eval $ac_try) 2>&5
    43263779  ac_status=$?
    43273780  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    43363789ac_cv_header_stdc=no
    43373790fi
    4338 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4339 fi
    4340 
    4341 
    4342 fi
    4343 fi
    4344 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4345 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     3791rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3792fi
     3793fi
     3794fi
     3795echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3796echo "${ECHO_T}$ac_cv_header_stdc" >&6
    43463797if test $ac_cv_header_stdc = yes; then
    43473798
     
    43663817do
    43673818as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3819echo "$as_me:$LINENO: checking for $ac_header" >&5
     3820echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3821if eval "test \"\${$as_ac_Header+set}\" = set"; then
    43713822  echo $ECHO_N "(cached) $ECHO_C" >&6
    43723823else
     
    43823833_ACEOF
    43833834rm -f conftest.$ac_objext
    4384 if { (ac_try="$ac_compile"
    4385 case "(($ac_try" in
    4386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4387   *) ac_try_echo=$ac_try;;
    4388 esac
    4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4390   (eval "$ac_compile") 2>conftest.er1
     3835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3836  (eval $ac_compile) 2>conftest.er1
    43913837  ac_status=$?
    43923838  grep -v '^ *+' conftest.er1 >conftest.err
     
    43943840  cat conftest.err >&5
    43953841  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4396   (exit $ac_status); } && {
    4397      test -z "$ac_c_werror_flag" ||
    4398      test ! -s conftest.err
    4399        } && test -s conftest.$ac_objext; then
     3842  (exit $ac_status); } &&
     3843     { ac_try='test -z "$ac_c_werror_flag"
     3844             || test ! -s conftest.err'
     3845  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3846  (eval $ac_try) 2>&5
     3847  ac_status=$?
     3848  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3849  (exit $ac_status); }; } &&
     3850     { ac_try='test -s conftest.$ac_objext'
     3851  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3852  (eval $ac_try) 2>&5
     3853  ac_status=$?
     3854  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3855  (exit $ac_status); }; }; then
    44003856  eval "$as_ac_Header=yes"
    44013857else
     
    44033859sed 's/^/| /' conftest.$ac_ext >&5
    44043860
    4405     eval "$as_ac_Header=no"
    4406 fi
    4407 
    4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4409 fi
    4410 ac_res=`eval echo '${'$as_ac_Header'}'`
    4411            { echo "$as_me:$LINENO: result: $ac_res" >&5
    4412 echo "${ECHO_T}$ac_res" >&6; }
     3861eval "$as_ac_Header=no"
     3862fi
     3863rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3864fi
     3865echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3866echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    44133867if test `eval echo '${'$as_ac_Header'}'` = yes; then
    44143868  cat >>confdefs.h <<_ACEOF
     
    44223876
    44233877if test "${ac_cv_header_minix_config_h+set}" = set; then
    4424   { echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4425 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
     3878  echo "$as_me:$LINENO: checking for minix/config.h" >&5
     3879echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    44263880if test "${ac_cv_header_minix_config_h+set}" = set; then
    44273881  echo $ECHO_N "(cached) $ECHO_C" >&6
    44283882fi
    4429 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4430 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
     3883echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     3884echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    44313885else
    44323886  # Is the header compilable?
    4433 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    4434 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
     3887echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     3888echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
    44353889cat >conftest.$ac_ext <<_ACEOF
    44363890/* confdefs.h.  */
     
    44433897_ACEOF
    44443898rm -f conftest.$ac_objext
    4445 if { (ac_try="$ac_compile"
    4446 case "(($ac_try" in
    4447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4448   *) ac_try_echo=$ac_try;;
    4449 esac
    4450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4451   (eval "$ac_compile") 2>conftest.er1
     3899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3900  (eval $ac_compile) 2>conftest.er1
    44523901  ac_status=$?
    44533902  grep -v '^ *+' conftest.er1 >conftest.err
     
    44553904  cat conftest.err >&5
    44563905  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4457   (exit $ac_status); } && {
    4458      test -z "$ac_c_werror_flag" ||
    4459      test ! -s conftest.err
    4460        } && test -s conftest.$ac_objext; then
     3906  (exit $ac_status); } &&
     3907     { ac_try='test -z "$ac_c_werror_flag"
     3908             || test ! -s conftest.err'
     3909  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3910  (eval $ac_try) 2>&5
     3911  ac_status=$?
     3912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3913  (exit $ac_status); }; } &&
     3914     { ac_try='test -s conftest.$ac_objext'
     3915  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3916  (eval $ac_try) 2>&5
     3917  ac_status=$?
     3918  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3919  (exit $ac_status); }; }; then
    44613920  ac_header_compiler=yes
    44623921else
     
    44643923sed 's/^/| /' conftest.$ac_ext >&5
    44653924
    4466     ac_header_compiler=no
    4467 fi
    4468 
    4469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4470 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4471 echo "${ECHO_T}$ac_header_compiler" >&6; }
     3925ac_header_compiler=no
     3926fi
     3927rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3928echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3929echo "${ECHO_T}$ac_header_compiler" >&6
    44723930
    44733931# Is the header present?
    4474 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    4475 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
     3932echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     3933echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
    44763934cat >conftest.$ac_ext <<_ACEOF
    44773935/* confdefs.h.  */
     
    44823940#include <minix/config.h>
    44833941_ACEOF
    4484 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4485 case "(($ac_try" in
    4486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4487   *) ac_try_echo=$ac_try;;
    4488 esac
    4489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4490   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3942if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3943  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    44913944  ac_status=$?
    44923945  grep -v '^ *+' conftest.er1 >conftest.err
     
    44943947  cat conftest.err >&5
    44953948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4496   (exit $ac_status); } >/dev/null && {
    4497      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4498      test ! -s conftest.err
    4499        }; then
     3949  (exit $ac_status); } >/dev/null; then
     3950  if test -s conftest.err; then
     3951    ac_cpp_err=$ac_c_preproc_warn_flag
     3952    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3953  else
     3954    ac_cpp_err=
     3955  fi
     3956else
     3957  ac_cpp_err=yes
     3958fi
     3959if test -z "$ac_cpp_err"; then
    45003960  ac_header_preproc=yes
    45013961else
     
    45053965  ac_header_preproc=no
    45063966fi
    4507 
    45083967rm -f conftest.err conftest.$ac_ext
    4509 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4510 echo "${ECHO_T}$ac_header_preproc" >&6; }
     3968echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3969echo "${ECHO_T}$ac_header_preproc" >&6
    45113970
    45123971# So?  What about this header?
     
    45323991    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    45333992echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    4534 
     3993    (
     3994      cat <<\_ASBOX
     3995## ------------------------------------------ ##
     3996## Report this to the AC_PACKAGE_NAME lists.  ##
     3997## ------------------------------------------ ##
     3998_ASBOX
     3999    ) |
     4000      sed "s/^/$as_me: WARNING:     /" >&2
    45354001    ;;
    45364002esac
    4537 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4538 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
     4003echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4004echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    45394005if test "${ac_cv_header_minix_config_h+set}" = set; then
    45404006  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45424008  ac_cv_header_minix_config_h=$ac_header_preproc
    45434009fi
    4544 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4545 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
     4010echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4011echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    45464012
    45474013fi
     
    45714037fi
    45724038
    4573 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    4574 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
     4039echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     4040echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
    45754041if test "${ac_cv_prog_cc_stdc+set}" = set; then
    45764042  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46084074_ACEOF
    46094075rm -f conftest.$ac_objext
    4610 if { (ac_try="$ac_compile"
    4611 case "(($ac_try" in
    4612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4613   *) ac_try_echo=$ac_try;;
    4614 esac
    4615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4616   (eval "$ac_compile") 2>conftest.er1
     4076if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4077  (eval $ac_compile) 2>conftest.er1
    46174078  ac_status=$?
    46184079  grep -v '^ *+' conftest.er1 >conftest.err
     
    46204081  cat conftest.err >&5
    46214082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4622   (exit $ac_status); } && {
    4623      test -z "$ac_c_werror_flag" ||
    4624      test ! -s conftest.err
    4625        } && test -s conftest.$ac_objext; then
     4083  (exit $ac_status); } &&
     4084     { ac_try='test -z "$ac_c_werror_flag"
     4085             || test ! -s conftest.err'
     4086  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4087  (eval $ac_try) 2>&5
     4088  ac_status=$?
     4089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4090  (exit $ac_status); }; } &&
     4091     { ac_try='test -s conftest.$ac_objext'
     4092  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4093  (eval $ac_try) 2>&5
     4094  ac_status=$?
     4095  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4096  (exit $ac_status); }; }; then
    46264097  ac_cv_prog_cc_stdc="$ac_arg"; break
    46274098else
     
    46294100sed 's/^/| /' conftest.$ac_ext >&5
    46304101
    4631 
    4632 fi
    4633 
    4634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4102fi
     4103rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    46354104done
    46364105CFLAGS="$ac_save_CFLAGS"
     
    46384107fi
    46394108
    4640 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4641 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
     4109echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4110echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    46424111case "x$ac_cv_prog_cc_stdc" in
    46434112  x|xno) ;;
     
    46464115
    46474116
    4648 { echo "$as_me:$LINENO: checking for function prototypes" >&5
    4649 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
     4117echo "$as_me:$LINENO: checking for function prototypes" >&5
     4118echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
    46504119if test "$ac_cv_prog_cc_stdc" != no; then
    4651   { echo "$as_me:$LINENO: result: yes" >&5
    4652 echo "${ECHO_T}yes" >&6; }
     4120  echo "$as_me:$LINENO: result: yes" >&5
     4121echo "${ECHO_T}yes" >&6
    46534122  cat >>confdefs.h <<\_ACEOF
    46544123#define PROTOTYPES 1
     
    46574126  U= ANSI2KNR=
    46584127else
    4659   { echo "$as_me:$LINENO: result: no" >&5
    4660 echo "${ECHO_T}no" >&6; }
     4128  echo "$as_me:$LINENO: result: no" >&5
     4129echo "${ECHO_T}no" >&6
    46614130  U=_ ANSI2KNR=ansi2knr
    46624131fi
    46634132
    4664 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4665 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
     4133echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4134echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    46664135if test "${ac_cv_c_const+set}" = set; then
    46674136  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46814150  /* Ultrix mips cc rejects this.  */
    46824151  typedef int charset[2];
    4683   const charset cs;
     4152  const charset x;
    46844153  /* SunOS 4.1.1 cc rejects this.  */
    4685   char const *const *pcpcc;
    4686   char **ppc;
     4154  char const *const *ccp;
     4155  char **p;
    46874156  /* NEC SVR4.0.2 mips cc rejects this.  */
    46884157  struct point {int x, y;};
     
    46934162     expression */
    46944163  const char *g = "string";
    4695   pcpcc = &g + (g ? g-g : 0);
     4164  ccp = &g + (g ? g-g : 0);
    46964165  /* HPUX 7.0 cc rejects these. */
    4697   ++pcpcc;
    4698   ppc = (char**) pcpcc;
    4699   pcpcc = (char const *const *) ppc;
     4166  ++ccp;
     4167  p = (char**) ccp;
     4168  ccp = (char const *const *) p;
    47004169  { /* SCO 3.2v4 cc rejects this.  */
    47014170    char *t;
     
    47034172
    47044173    *t++ = 0;
    4705     if (s) return 0;
    47064174  }
    47074175  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    47224190  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    47234191    const int foo = 10;
    4724     if (!foo) return 0;
    47254192  }
    4726   return !cs[0] && !zero.x;
    47274193#endif
    47284194
     
    47324198_ACEOF
    47334199rm -f conftest.$ac_objext
    4734 if { (ac_try="$ac_compile"
    4735 case "(($ac_try" in
    4736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4737   *) ac_try_echo=$ac_try;;
    4738 esac
    4739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4740   (eval "$ac_compile") 2>conftest.er1
     4200if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4201  (eval $ac_compile) 2>conftest.er1
    47414202  ac_status=$?
    47424203  grep -v '^ *+' conftest.er1 >conftest.err
     
    47444205  cat conftest.err >&5
    47454206  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4746   (exit $ac_status); } && {
    4747      test -z "$ac_c_werror_flag" ||
    4748      test ! -s conftest.err
    4749        } && test -s conftest.$ac_objext; then
     4207  (exit $ac_status); } &&
     4208     { ac_try='test -z "$ac_c_werror_flag"
     4209             || test ! -s conftest.err'
     4210  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4211  (eval $ac_try) 2>&5
     4212  ac_status=$?
     4213  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4214  (exit $ac_status); }; } &&
     4215     { ac_try='test -s conftest.$ac_objext'
     4216  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4217  (eval $ac_try) 2>&5
     4218  ac_status=$?
     4219  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4220  (exit $ac_status); }; }; then
    47504221  ac_cv_c_const=yes
    47514222else
     
    47534224sed 's/^/| /' conftest.$ac_ext >&5
    47544225
    4755     ac_cv_c_const=no
    4756 fi
    4757 
    4758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4759 fi
    4760 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4761 echo "${ECHO_T}$ac_cv_c_const" >&6; }
     4226ac_cv_c_const=no
     4227fi
     4228rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4229fi
     4230echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4231echo "${ECHO_T}$ac_cv_c_const" >&6
    47624232if test $ac_cv_c_const = no; then
    47634233
     
    47684238fi
    47694239
    4770 { echo "$as_me:$LINENO: checking for off_t" >&5
    4771 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
     4240echo "$as_me:$LINENO: checking for off_t" >&5
     4241echo $ECHO_N "checking for off_t... $ECHO_C" >&6
    47724242if test "${ac_cv_type_off_t+set}" = set; then
    47734243  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    47804250/* end confdefs.h.  */
    47814251$ac_includes_default
    4782 typedef off_t ac__type_new_;
    47834252int
    47844253main ()
    47854254{
    4786 if ((ac__type_new_ *) 0)
     4255if ((off_t *) 0)
    47874256  return 0;
    4788 if (sizeof (ac__type_new_))
     4257if (sizeof (off_t))
    47894258  return 0;
    47904259  ;
     
    47934262_ACEOF
    47944263rm -f conftest.$ac_objext
    4795 if { (ac_try="$ac_compile"
    4796 case "(($ac_try" in
    4797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4798   *) ac_try_echo=$ac_try;;
    4799 esac
    4800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4801   (eval "$ac_compile") 2>conftest.er1
     4264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4265  (eval $ac_compile) 2>conftest.er1
    48024266  ac_status=$?
    48034267  grep -v '^ *+' conftest.er1 >conftest.err
     
    48054269  cat conftest.err >&5
    48064270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4807   (exit $ac_status); } && {
    4808      test -z "$ac_c_werror_flag" ||
    4809      test ! -s conftest.err
    4810        } && test -s conftest.$ac_objext; then
     4271  (exit $ac_status); } &&
     4272     { ac_try='test -z "$ac_c_werror_flag"
     4273             || test ! -s conftest.err'
     4274  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4275  (eval $ac_try) 2>&5
     4276  ac_status=$?
     4277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4278  (exit $ac_status); }; } &&
     4279     { ac_try='test -s conftest.$ac_objext'
     4280  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4281  (eval $ac_try) 2>&5
     4282  ac_status=$?
     4283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4284  (exit $ac_status); }; }; then
    48114285  ac_cv_type_off_t=yes
    48124286else
     
    48144288sed 's/^/| /' conftest.$ac_ext >&5
    48154289
    4816     ac_cv_type_off_t=no
    4817 fi
    4818 
    4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4820 fi
    4821 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4822 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
     4290ac_cv_type_off_t=no
     4291fi
     4292rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4293fi
     4294echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4295echo "${ECHO_T}$ac_cv_type_off_t" >&6
    48234296if test $ac_cv_type_off_t = yes; then
    48244297  :
     
    48264299
    48274300cat >>confdefs.h <<_ACEOF
    4828 #define off_t long int
    4829 _ACEOF
    4830 
    4831 fi
    4832 
    4833 { echo "$as_me:$LINENO: checking for size_t" >&5
    4834 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
     4301#define off_t long
     4302_ACEOF
     4303
     4304fi
     4305
     4306echo "$as_me:$LINENO: checking for size_t" >&5
     4307echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    48354308if test "${ac_cv_type_size_t+set}" = set; then
    48364309  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    48434316/* end confdefs.h.  */
    48444317$ac_includes_default
    4845 typedef size_t ac__type_new_;
    48464318int
    48474319main ()
    48484320{
    4849 if ((ac__type_new_ *) 0)
     4321if ((size_t *) 0)
    48504322  return 0;
    4851 if (sizeof (ac__type_new_))
     4323if (sizeof (size_t))
    48524324  return 0;
    48534325  ;
     
    48564328_ACEOF
    48574329rm -f conftest.$ac_objext
    4858 if { (ac_try="$ac_compile"
    4859 case "(($ac_try" in
    4860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4861   *) ac_try_echo=$ac_try;;
    4862 esac
    4863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4864   (eval "$ac_compile") 2>conftest.er1
     4330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4331  (eval $ac_compile) 2>conftest.er1
    48654332  ac_status=$?
    48664333  grep -v '^ *+' conftest.er1 >conftest.err
     
    48684335  cat conftest.err >&5
    48694336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4870   (exit $ac_status); } && {
    4871      test -z "$ac_c_werror_flag" ||
    4872      test ! -s conftest.err
    4873        } && test -s conftest.$ac_objext; then
     4337  (exit $ac_status); } &&
     4338     { ac_try='test -z "$ac_c_werror_flag"
     4339             || test ! -s conftest.err'
     4340  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4341  (eval $ac_try) 2>&5
     4342  ac_status=$?
     4343  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4344  (exit $ac_status); }; } &&
     4345     { ac_try='test -s conftest.$ac_objext'
     4346  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4347  (eval $ac_try) 2>&5
     4348  ac_status=$?
     4349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4350  (exit $ac_status); }; }; then
    48744351  ac_cv_type_size_t=yes
    48754352else
     
    48774354sed 's/^/| /' conftest.$ac_ext >&5
    48784355
    4879     ac_cv_type_size_t=no
    4880 fi
    4881 
    4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4883 fi
    4884 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4885 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
     4356ac_cv_type_size_t=no
     4357fi
     4358rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4359fi
     4360echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4361echo "${ECHO_T}$ac_cv_type_size_t" >&6
    48864362if test $ac_cv_type_size_t = yes; then
    48874363  :
     
    48894365
    48904366cat >>confdefs.h <<_ACEOF
    4891 #define size_t unsigned int
    4892 _ACEOF
    4893 
    4894 fi
    4895 
    4896 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4897 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
     4367#define size_t unsigned
     4368_ACEOF
     4369
     4370fi
     4371
     4372echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4373echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    48984374if test "${ac_cv_header_time+set}" = set; then
    48994375  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    49194395_ACEOF
    49204396rm -f conftest.$ac_objext
    4921 if { (ac_try="$ac_compile"
    4922 case "(($ac_try" in
    4923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4924   *) ac_try_echo=$ac_try;;
    4925 esac
    4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4927   (eval "$ac_compile") 2>conftest.er1
     4397if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4398  (eval $ac_compile) 2>conftest.er1
    49284399  ac_status=$?
    49294400  grep -v '^ *+' conftest.er1 >conftest.err
     
    49314402  cat conftest.err >&5
    49324403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4933   (exit $ac_status); } && {
    4934      test -z "$ac_c_werror_flag" ||
    4935      test ! -s conftest.err
    4936        } && test -s conftest.$ac_objext; then
     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
    49374418  ac_cv_header_time=yes
    49384419else
     
    49404421sed 's/^/| /' conftest.$ac_ext >&5
    49414422
    4942     ac_cv_header_time=no
    4943 fi
    4944 
    4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4946 fi
    4947 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4948 echo "${ECHO_T}$ac_cv_header_time" >&6; }
     4423ac_cv_header_time=no
     4424fi
     4425rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4426fi
     4427echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     4428echo "${ECHO_T}$ac_cv_header_time" >&6
    49494429if test $ac_cv_header_time = yes; then
    49504430
     
    49554435fi
    49564436
    4957 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4958 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
     4437echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     4438echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
    49594439if test "${ac_cv_struct_tm+set}" = set; then
    49604440  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    49724452main ()
    49734453{
    4974 struct tm tm;
    4975                      int *p = &tm.tm_sec;
    4976                      return !p;
     4454struct tm *tp; tp->tm_sec;
    49774455  ;
    49784456  return 0;
     
    49804458_ACEOF
    49814459rm -f conftest.$ac_objext
    4982 if { (ac_try="$ac_compile"
    4983 case "(($ac_try" in
    4984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4985   *) ac_try_echo=$ac_try;;
    4986 esac
    4987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4988   (eval "$ac_compile") 2>conftest.er1
     4460if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4461  (eval $ac_compile) 2>conftest.er1
    49894462  ac_status=$?
    49904463  grep -v '^ *+' conftest.er1 >conftest.err
     
    49924465  cat conftest.err >&5
    49934466  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4994   (exit $ac_status); } && {
    4995      test -z "$ac_c_werror_flag" ||
    4996      test ! -s conftest.err
    4997        } && test -s conftest.$ac_objext; then
     4467  (exit $ac_status); } &&
     4468     { ac_try='test -z "$ac_c_werror_flag"
     4469             || test ! -s conftest.err'
     4470  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4471  (eval $ac_try) 2>&5
     4472  ac_status=$?
     4473  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4474  (exit $ac_status); }; } &&
     4475     { ac_try='test -s conftest.$ac_objext'
     4476  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4477  (eval $ac_try) 2>&5
     4478  ac_status=$?
     4479  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4480  (exit $ac_status); }; }; then
    49984481  ac_cv_struct_tm=time.h
    49994482else
     
    50014484sed 's/^/| /' conftest.$ac_ext >&5
    50024485
    5003     ac_cv_struct_tm=sys/time.h
    5004 fi
    5005 
    5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5007 fi
    5008 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    5009 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
     4486ac_cv_struct_tm=sys/time.h
     4487fi
     4488rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4489fi
     4490echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     4491echo "${ECHO_T}$ac_cv_struct_tm" >&6
    50104492if test $ac_cv_struct_tm = sys/time.h; then
    50114493
     
    50354517_ACEOF
    50364518rm -f conftest.$ac_objext
    5037 if { (ac_try="$ac_compile"
    5038 case "(($ac_try" in
    5039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5040   *) ac_try_echo=$ac_try;;
    5041 esac
    5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5043   (eval "$ac_compile") 2>conftest.er1
     4519if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4520  (eval $ac_compile) 2>conftest.er1
    50444521  ac_status=$?
    50454522  grep -v '^ *+' conftest.er1 >conftest.err
     
    50474524  cat conftest.err >&5
    50484525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5049   (exit $ac_status); } && {
    5050      test -z "$ac_c_werror_flag" ||
    5051      test ! -s conftest.err
    5052        } && test -s conftest.$ac_objext; then
     4526  (exit $ac_status); } &&
     4527     { ac_try='test -z "$ac_c_werror_flag"
     4528             || test ! -s conftest.err'
     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); }; } &&
     4534     { ac_try='test -s conftest.$ac_objext'
     4535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4536  (eval $ac_try) 2>&5
     4537  ac_status=$?
     4538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4539  (exit $ac_status); }; }; then
    50534540  :
    50544541else
     
    50564543sed 's/^/| /' conftest.$ac_ext >&5
    50574544
    5058     CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    5059 fi
    5060 
    5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5062 fi
    5063 
    5064 
    5065 
    5066 { echo "$as_me:$LINENO: checking for main in -lg" >&5
    5067 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
     4545CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     4546fi
     4547rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4548fi
     4549
     4550
     4551
     4552echo "$as_me:$LINENO: checking for main in -lg" >&5
     4553echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
    50684554if test "${ac_cv_lib_g_main+set}" = set; then
    50694555  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    50824568main ()
    50834569{
    5084 return main ();
     4570main ();
    50854571  ;
    50864572  return 0;
     
    50884574_ACEOF
    50894575rm -f conftest.$ac_objext conftest$ac_exeext
    5090 if { (ac_try="$ac_link"
    5091 case "(($ac_try" in
    5092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5093   *) ac_try_echo=$ac_try;;
    5094 esac
    5095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5096   (eval "$ac_link") 2>conftest.er1
     4576if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4577  (eval $ac_link) 2>conftest.er1
    50974578  ac_status=$?
    50984579  grep -v '^ *+' conftest.er1 >conftest.err
     
    51004581  cat conftest.err >&5
    51014582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5102   (exit $ac_status); } && {
    5103      test -z "$ac_c_werror_flag" ||
    5104      test ! -s conftest.err
    5105        } && test -s conftest$ac_exeext &&
    5106        $as_test_x conftest$ac_exeext; then
     4583  (exit $ac_status); } &&
     4584     { ac_try='test -z "$ac_c_werror_flag"
     4585             || test ! -s conftest.err'
     4586  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4587  (eval $ac_try) 2>&5
     4588  ac_status=$?
     4589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4590  (exit $ac_status); }; } &&
     4591     { ac_try='test -s conftest$ac_exeext'
     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); }; }; then
    51074597  ac_cv_lib_g_main=yes
    51084598else
     
    51104600sed 's/^/| /' conftest.$ac_ext >&5
    51114601
    5112     ac_cv_lib_g_main=no
    5113 fi
    5114 
    5115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4602ac_cv_lib_g_main=no
     4603fi
     4604rm -f conftest.err conftest.$ac_objext \
    51164605      conftest$ac_exeext conftest.$ac_ext
    51174606LIBS=$ac_check_lib_save_LIBS
    51184607fi
    5119 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    5120 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
     4608echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     4609echo "${ECHO_T}$ac_cv_lib_g_main" >&6
    51214610if test $ac_cv_lib_g_main = yes; then
    51224611  cat >>confdefs.h <<_ACEOF
     
    51304619
    51314620
    5132 { echo "$as_me:$LINENO: checking for main in -lm" >&5
    5133 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
     4621echo "$as_me:$LINENO: checking for main in -lm" >&5
     4622echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
    51344623if test "${ac_cv_lib_m_main+set}" = set; then
    51354624  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51484637main ()
    51494638{
    5150 return main ();
     4639main ();
    51514640  ;
    51524641  return 0;
     
    51544643_ACEOF
    51554644rm -f conftest.$ac_objext conftest$ac_exeext
    5156 if { (ac_try="$ac_link"
    5157 case "(($ac_try" in
    5158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5159   *) ac_try_echo=$ac_try;;
    5160 esac
    5161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5162   (eval "$ac_link") 2>conftest.er1
     4645if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4646  (eval $ac_link) 2>conftest.er1
    51634647  ac_status=$?
    51644648  grep -v '^ *+' conftest.er1 >conftest.err
     
    51664650  cat conftest.err >&5
    51674651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5168   (exit $ac_status); } && {
    5169      test -z "$ac_c_werror_flag" ||
    5170      test ! -s conftest.err
    5171        } && test -s conftest$ac_exeext &&
    5172        $as_test_x conftest$ac_exeext; then
     4652  (exit $ac_status); } &&
     4653     { ac_try='test -z "$ac_c_werror_flag"
     4654             || test ! -s conftest.err'
     4655  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4656  (eval $ac_try) 2>&5
     4657  ac_status=$?
     4658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4659  (exit $ac_status); }; } &&
     4660     { ac_try='test -s conftest$ac_exeext'
     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); }; }; then
    51734666  ac_cv_lib_m_main=yes
    51744667else
     
    51764669sed 's/^/| /' conftest.$ac_ext >&5
    51774670
    5178     ac_cv_lib_m_main=no
    5179 fi
    5180 
    5181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4671ac_cv_lib_m_main=no
     4672fi
     4673rm -f conftest.err conftest.$ac_objext \
    51824674      conftest$ac_exeext conftest.$ac_ext
    51834675LIBS=$ac_check_lib_save_LIBS
    51844676fi
    5185 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5186 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
     4677echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     4678echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    51874679if test $ac_cv_lib_m_main = yes; then
    51884680  cat >>confdefs.h <<_ACEOF
     
    51964688
    51974689
    5198 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    5199 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
     4690echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     4691echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
    52004692if test "${ac_cv_lib_crypt_main+set}" = set; then
    52014693  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    52144706main ()
    52154707{
    5216 return main ();
     4708main ();
    52174709  ;
    52184710  return 0;
     
    52204712_ACEOF
    52214713rm -f conftest.$ac_objext conftest$ac_exeext
    5222 if { (ac_try="$ac_link"
    5223 case "(($ac_try" in
    5224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5225   *) ac_try_echo=$ac_try;;
    5226 esac
    5227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5228   (eval "$ac_link") 2>conftest.er1
     4714if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4715  (eval $ac_link) 2>conftest.er1
    52294716  ac_status=$?
    52304717  grep -v '^ *+' conftest.er1 >conftest.err
     
    52324719  cat conftest.err >&5
    52334720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5234   (exit $ac_status); } && {
    5235      test -z "$ac_c_werror_flag" ||
    5236      test ! -s conftest.err
    5237        } && test -s conftest$ac_exeext &&
    5238        $as_test_x conftest$ac_exeext; then
     4721  (exit $ac_status); } &&
     4722     { ac_try='test -z "$ac_c_werror_flag"
     4723             || test ! -s conftest.err'
     4724  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4725  (eval $ac_try) 2>&5
     4726  ac_status=$?
     4727  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4728  (exit $ac_status); }; } &&
     4729     { ac_try='test -s conftest$ac_exeext'
     4730  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4731  (eval $ac_try) 2>&5
     4732  ac_status=$?
     4733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4734  (exit $ac_status); }; }; then
    52394735  ac_cv_lib_crypt_main=yes
    52404736else
     
    52424738sed 's/^/| /' conftest.$ac_ext >&5
    52434739
    5244     ac_cv_lib_crypt_main=no
    5245 fi
    5246 
    5247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4740ac_cv_lib_crypt_main=no
     4741fi
     4742rm -f conftest.err conftest.$ac_objext \
    52484743      conftest$ac_exeext conftest.$ac_ext
    52494744LIBS=$ac_check_lib_save_LIBS
    52504745fi
    5251 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    5252 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
     4746echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     4747echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
    52534748if test $ac_cv_lib_crypt_main = yes; then
    52544749  cat >>confdefs.h <<_ACEOF
     
    52734768for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    52744769  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    5275 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    5276 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
    5277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4770echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     4771echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
     4772if eval "test \"\${$as_ac_Header+set}\" = set"; then
    52784773  echo $ECHO_N "(cached) $ECHO_C" >&6
    52794774else
     
    52974792_ACEOF
    52984793rm -f conftest.$ac_objext
    5299 if { (ac_try="$ac_compile"
    5300 case "(($ac_try" in
    5301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5302   *) ac_try_echo=$ac_try;;
    5303 esac
    5304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5305   (eval "$ac_compile") 2>conftest.er1
     4794if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4795  (eval $ac_compile) 2>conftest.er1
    53064796  ac_status=$?
    53074797  grep -v '^ *+' conftest.er1 >conftest.err
     
    53094799  cat conftest.err >&5
    53104800  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5311   (exit $ac_status); } && {
    5312      test -z "$ac_c_werror_flag" ||
    5313      test ! -s conftest.err
    5314        } && test -s conftest.$ac_objext; then
     4801  (exit $ac_status); } &&
     4802     { ac_try='test -z "$ac_c_werror_flag"
     4803             || test ! -s conftest.err'
     4804  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4805  (eval $ac_try) 2>&5
     4806  ac_status=$?
     4807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4808  (exit $ac_status); }; } &&
     4809     { ac_try='test -s conftest.$ac_objext'
     4810  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4811  (eval $ac_try) 2>&5
     4812  ac_status=$?
     4813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4814  (exit $ac_status); }; }; then
    53154815  eval "$as_ac_Header=yes"
    53164816else
     
    53184818sed 's/^/| /' conftest.$ac_ext >&5
    53194819
    5320     eval "$as_ac_Header=no"
    5321 fi
    5322 
    5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5324 fi
    5325 ac_res=`eval echo '${'$as_ac_Header'}'`
    5326            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5327 echo "${ECHO_T}$ac_res" >&6; }
     4820eval "$as_ac_Header=no"
     4821fi
     4822rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4823fi
     4824echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4825echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    53284826if test `eval echo '${'$as_ac_Header'}'` = yes; then
    53294827  cat >>confdefs.h <<_ACEOF
     
    53374835# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    53384836if test $ac_header_dirent = dirent.h; then
    5339   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5340 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
     4837  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4838echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    53414839if test "${ac_cv_search_opendir+set}" = set; then
    53424840  echo $ECHO_N "(cached) $ECHO_C" >&6
    53434841else
    53444842  ac_func_search_save_LIBS=$LIBS
     4843ac_cv_search_opendir=no
    53454844cat >conftest.$ac_ext <<_ACEOF
    53464845/* confdefs.h.  */
     
    53504849/* end confdefs.h.  */
    53514850
    5352 /* Override any GCC internal prototype to avoid an error.
    5353    Use char because int might match the return type of a GCC
    5354    builtin and then its argument prototype would still apply.  */
     4851/* Override any gcc2 internal prototype to avoid an error.  */
    53554852#ifdef __cplusplus
    53564853extern "C"
    53574854#endif
     4855/* We use char because int might match the return type of a gcc2
     4856   builtin and then its argument prototype would still apply.  */
    53584857char opendir ();
    53594858int
    53604859main ()
    53614860{
    5362 return opendir ();
     4861opendir ();
    53634862  ;
    53644863  return 0;
    53654864}
    53664865_ACEOF
    5367 for ac_lib in '' dir; do
    5368   if test -z "$ac_lib"; then
    5369     ac_res="none required"
    5370   else
    5371     ac_res=-l$ac_lib
    5372     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5373   fi
    5374   rm -f conftest.$ac_objext conftest$ac_exeext
    5375 if { (ac_try="$ac_link"
    5376 case "(($ac_try" in
    5377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5378   *) ac_try_echo=$ac_try;;
    5379 esac
    5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5381   (eval "$ac_link") 2>conftest.er1
     4866rm -f conftest.$ac_objext conftest$ac_exeext
     4867if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4868  (eval $ac_link) 2>conftest.er1
    53824869  ac_status=$?
    53834870  grep -v '^ *+' conftest.er1 >conftest.err
     
    53854872  cat conftest.err >&5
    53864873  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5387   (exit $ac_status); } && {
    5388      test -z "$ac_c_werror_flag" ||
    5389      test ! -s conftest.err
    5390        } && test -s conftest$ac_exeext &&
    5391        $as_test_x conftest$ac_exeext; then
    5392   ac_cv_search_opendir=$ac_res
     4874  (exit $ac_status); } &&
     4875     { ac_try='test -z "$ac_c_werror_flag"
     4876             || test ! -s conftest.err'
     4877  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4878  (eval $ac_try) 2>&5
     4879  ac_status=$?
     4880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4881  (exit $ac_status); }; } &&
     4882     { ac_try='test -s conftest$ac_exeext'
     4883  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4884  (eval $ac_try) 2>&5
     4885  ac_status=$?
     4886  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4887  (exit $ac_status); }; }; then
     4888  ac_cv_search_opendir="none required"
    53934889else
    53944890  echo "$as_me: failed program was:" >&5
    53954891sed 's/^/| /' conftest.$ac_ext >&5
    53964892
    5397 
    5398 fi
    5399 
    5400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5401       conftest$ac_exeext
    5402   if test "${ac_cv_search_opendir+set}" = set; then
    5403   break
    5404 fi
    5405 done
    5406 if test "${ac_cv_search_opendir+set}" = set; then
    5407   :
    5408 else
    5409   ac_cv_search_opendir=no
    5410 fi
    5411 rm conftest.$ac_ext
    5412 LIBS=$ac_func_search_save_LIBS
    5413 fi
    5414 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5415 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
    5416 ac_res=$ac_cv_search_opendir
    5417 if test "$ac_res" != no; then
    5418   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5419 
    5420 fi
    5421 
    5422 else
    5423   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5424 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    5425 if test "${ac_cv_search_opendir+set}" = set; then
    5426   echo $ECHO_N "(cached) $ECHO_C" >&6
    5427 else
    5428   ac_func_search_save_LIBS=$LIBS
    5429 cat >conftest.$ac_ext <<_ACEOF
     4893fi
     4894rm -f conftest.err conftest.$ac_objext \
     4895      conftest$ac_exeext conftest.$ac_ext
     4896if test "$ac_cv_search_opendir" = no; then
     4897  for ac_lib in dir; do
     4898    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4899    cat >conftest.$ac_ext <<_ACEOF
    54304900/* confdefs.h.  */
    54314901_ACEOF
     
    54344904/* end confdefs.h.  */
    54354905
    5436 /* Override any GCC internal prototype to avoid an error.
    5437    Use char because int might match the return type of a GCC
    5438    builtin and then its argument prototype would still apply.  */
     4906/* Override any gcc2 internal prototype to avoid an error.  */
    54394907#ifdef __cplusplus
    54404908extern "C"
    54414909#endif
     4910/* We use char because int might match the return type of a gcc2
     4911   builtin and then its argument prototype would still apply.  */
    54424912char opendir ();
    54434913int
    54444914main ()
    54454915{
    5446 return opendir ();
     4916opendir ();
    54474917  ;
    54484918  return 0;
    54494919}
    54504920_ACEOF
    5451 for ac_lib in '' x; do
    5452   if test -z "$ac_lib"; then
    5453     ac_res="none required"
    5454   else
    5455     ac_res=-l$ac_lib
    5456     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5457   fi
    5458   rm -f conftest.$ac_objext conftest$ac_exeext
    5459 if { (ac_try="$ac_link"
    5460 case "(($ac_try" in
    5461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5462   *) ac_try_echo=$ac_try;;
    5463 esac
    5464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5465   (eval "$ac_link") 2>conftest.er1
     4921rm -f conftest.$ac_objext conftest$ac_exeext
     4922if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4923  (eval $ac_link) 2>conftest.er1
    54664924  ac_status=$?
    54674925  grep -v '^ *+' conftest.er1 >conftest.err
     
    54694927  cat conftest.err >&5
    54704928  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5471   (exit $ac_status); } && {
    5472      test -z "$ac_c_werror_flag" ||
    5473      test ! -s conftest.err
    5474        } && test -s conftest$ac_exeext &&
    5475        $as_test_x conftest$ac_exeext; then
    5476   ac_cv_search_opendir=$ac_res
     4929  (exit $ac_status); } &&
     4930     { ac_try='test -z "$ac_c_werror_flag"
     4931             || test ! -s conftest.err'
     4932  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4933  (eval $ac_try) 2>&5
     4934  ac_status=$?
     4935  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4936  (exit $ac_status); }; } &&
     4937     { ac_try='test -s conftest$ac_exeext'
     4938  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4939  (eval $ac_try) 2>&5
     4940  ac_status=$?
     4941  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4942  (exit $ac_status); }; }; then
     4943  ac_cv_search_opendir="-l$ac_lib"
     4944break
    54774945else
    54784946  echo "$as_me: failed program was:" >&5
    54794947sed 's/^/| /' conftest.$ac_ext >&5
    54804948
    5481 
    5482 fi
    5483 
    5484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5485       conftest$ac_exeext
    5486   if test "${ac_cv_search_opendir+set}" = set; then
    5487   break
    5488 fi
    5489 done
     4949fi
     4950rm -f conftest.err conftest.$ac_objext \
     4951      conftest$ac_exeext conftest.$ac_ext
     4952  done
     4953fi
     4954LIBS=$ac_func_search_save_LIBS
     4955fi
     4956echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     4957echo "${ECHO_T}$ac_cv_search_opendir" >&6
     4958if test "$ac_cv_search_opendir" != no; then
     4959  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     4960
     4961fi
     4962
     4963else
     4964  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4965echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    54904966if test "${ac_cv_search_opendir+set}" = set; then
    5491   :
    5492 else
    5493   ac_cv_search_opendir=no
    5494 fi
    5495 rm conftest.$ac_ext
     4967  echo $ECHO_N "(cached) $ECHO_C" >&6
     4968else
     4969  ac_func_search_save_LIBS=$LIBS
     4970ac_cv_search_opendir=no
     4971cat >conftest.$ac_ext <<_ACEOF
     4972/* confdefs.h.  */
     4973_ACEOF
     4974cat confdefs.h >>conftest.$ac_ext
     4975cat >>conftest.$ac_ext <<_ACEOF
     4976/* end confdefs.h.  */
     4977
     4978/* Override any gcc2 internal prototype to avoid an error.  */
     4979#ifdef __cplusplus
     4980extern "C"
     4981#endif
     4982/* We use char because int might match the return type of a gcc2
     4983   builtin and then its argument prototype would still apply.  */
     4984char opendir ();
     4985int
     4986main ()
     4987{
     4988opendir ();
     4989  ;
     4990  return 0;
     4991}
     4992_ACEOF
     4993rm -f conftest.$ac_objext conftest$ac_exeext
     4994if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4995  (eval $ac_link) 2>conftest.er1
     4996  ac_status=$?
     4997  grep -v '^ *+' conftest.er1 >conftest.err
     4998  rm -f conftest.er1
     4999  cat conftest.err >&5
     5000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5001  (exit $ac_status); } &&
     5002     { ac_try='test -z "$ac_c_werror_flag"
     5003             || test ! -s conftest.err'
     5004  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5005  (eval $ac_try) 2>&5
     5006  ac_status=$?
     5007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5008  (exit $ac_status); }; } &&
     5009     { ac_try='test -s conftest$ac_exeext'
     5010  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5011  (eval $ac_try) 2>&5
     5012  ac_status=$?
     5013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5014  (exit $ac_status); }; }; then
     5015  ac_cv_search_opendir="none required"
     5016else
     5017  echo "$as_me: failed program was:" >&5
     5018sed 's/^/| /' conftest.$ac_ext >&5
     5019
     5020fi
     5021rm -f conftest.err conftest.$ac_objext \
     5022      conftest$ac_exeext conftest.$ac_ext
     5023if test "$ac_cv_search_opendir" = no; then
     5024  for ac_lib in x; do
     5025    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5026    cat >conftest.$ac_ext <<_ACEOF
     5027/* confdefs.h.  */
     5028_ACEOF
     5029cat confdefs.h >>conftest.$ac_ext
     5030cat >>conftest.$ac_ext <<_ACEOF
     5031/* end confdefs.h.  */
     5032
     5033/* Override any gcc2 internal prototype to avoid an error.  */
     5034#ifdef __cplusplus
     5035extern "C"
     5036#endif
     5037/* We use char because int might match the return type of a gcc2
     5038   builtin and then its argument prototype would still apply.  */
     5039char opendir ();
     5040int
     5041main ()
     5042{
     5043opendir ();
     5044  ;
     5045  return 0;
     5046}
     5047_ACEOF
     5048rm -f conftest.$ac_objext conftest$ac_exeext
     5049if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5050  (eval $ac_link) 2>conftest.er1
     5051  ac_status=$?
     5052  grep -v '^ *+' conftest.er1 >conftest.err
     5053  rm -f conftest.er1
     5054  cat conftest.err >&5
     5055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5056  (exit $ac_status); } &&
     5057     { ac_try='test -z "$ac_c_werror_flag"
     5058             || test ! -s conftest.err'
     5059  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5060  (eval $ac_try) 2>&5
     5061  ac_status=$?
     5062  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5063  (exit $ac_status); }; } &&
     5064     { ac_try='test -s conftest$ac_exeext'
     5065  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5066  (eval $ac_try) 2>&5
     5067  ac_status=$?
     5068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5069  (exit $ac_status); }; }; then
     5070  ac_cv_search_opendir="-l$ac_lib"
     5071break
     5072else
     5073  echo "$as_me: failed program was:" >&5
     5074sed 's/^/| /' conftest.$ac_ext >&5
     5075
     5076fi
     5077rm -f conftest.err conftest.$ac_objext \
     5078      conftest$ac_exeext conftest.$ac_ext
     5079  done
     5080fi
    54965081LIBS=$ac_func_search_save_LIBS
    54975082fi
    5498 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5499 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
    5500 ac_res=$ac_cv_search_opendir
    5501 if test "$ac_res" != no; then
    5502   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5503 
    5504 fi
    5505 
    5506 fi
    5507 
    5508 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5509 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
     5083echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5084echo "${ECHO_T}$ac_cv_search_opendir" >&6
     5085if test "$ac_cv_search_opendir" != no; then
     5086  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     5087
     5088fi
     5089
     5090fi
     5091
     5092echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5093echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    55105094if test "${ac_cv_header_stdc+set}" = set; then
    55115095  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55315115_ACEOF
    55325116rm -f conftest.$ac_objext
    5533 if { (ac_try="$ac_compile"
    5534 case "(($ac_try" in
    5535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5536   *) ac_try_echo=$ac_try;;
    5537 esac
    5538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5539   (eval "$ac_compile") 2>conftest.er1
     5117if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5118  (eval $ac_compile) 2>conftest.er1
    55405119  ac_status=$?
    55415120  grep -v '^ *+' conftest.er1 >conftest.err
     
    55435122  cat conftest.err >&5
    55445123  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5545   (exit $ac_status); } && {
    5546      test -z "$ac_c_werror_flag" ||
    5547      test ! -s conftest.err
    5548        } && test -s conftest.$ac_objext; then
     5124  (exit $ac_status); } &&
     5125     { ac_try='test -z "$ac_c_werror_flag"
     5126             || test ! -s conftest.err'
     5127  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5128  (eval $ac_try) 2>&5
     5129  ac_status=$?
     5130  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5131  (exit $ac_status); }; } &&
     5132     { ac_try='test -s conftest.$ac_objext'
     5133  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5134  (eval $ac_try) 2>&5
     5135  ac_status=$?
     5136  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5137  (exit $ac_status); }; }; then
    55495138  ac_cv_header_stdc=yes
    55505139else
     
    55525141sed 's/^/| /' conftest.$ac_ext >&5
    55535142
    5554     ac_cv_header_stdc=no
    5555 fi
    5556 
    5557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5143ac_cv_header_stdc=no
     5144fi
     5145rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    55585146
    55595147if test $ac_cv_header_stdc = yes; then
     
    56115199/* end confdefs.h.  */
    56125200#include <ctype.h>
    5613 #include <stdlib.h>
    56145201#if ((' ' & 0x0FF) == 0x020)
    56155202# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    56315218    if (XOR (islower (i), ISLOWER (i))
    56325219    || toupper (i) != TOUPPER (i))
    5633       return 2;
    5634   return 0;
     5220      exit(2);
     5221  exit (0);
    56355222}
    56365223_ACEOF
    56375224rm -f conftest$ac_exeext
    5638 if { (ac_try="$ac_link"
    5639 case "(($ac_try" in
    5640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5641   *) ac_try_echo=$ac_try;;
    5642 esac
    5643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5644   (eval "$ac_link") 2>&5
     5225if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5226  (eval $ac_link) 2>&5
    56455227  ac_status=$?
    56465228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    56475229  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5648   { (case "(($ac_try" in
    5649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5650   *) ac_try_echo=$ac_try;;
    5651 esac
    5652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5653   (eval "$ac_try") 2>&5
     5230  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5231  (eval $ac_try) 2>&5
    56545232  ac_status=$?
    56555233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    56645242ac_cv_header_stdc=no
    56655243fi
    5666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5667 fi
    5668 
    5669 
    5670 fi
    5671 fi
    5672 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5673 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     5244rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5245fi
     5246fi
     5247fi
     5248echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5249echo "${ECHO_T}$ac_cv_header_stdc" >&6
    56745250if test $ac_cv_header_stdc = yes; then
    56755251
     
    56925268do
    56935269as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5695   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5270if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5271  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5272echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5273if eval "test \"\${$as_ac_Header+set}\" = set"; then
    56985274  echo $ECHO_N "(cached) $ECHO_C" >&6
    56995275fi
    5700 ac_res=`eval echo '${'$as_ac_Header'}'`
    5701            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5702 echo "${ECHO_T}$ac_res" >&6; }
     5276echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5277echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    57035278else
    57045279  # Is the header compilable?
    5705 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5706 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     5280echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5281echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    57075282cat >conftest.$ac_ext <<_ACEOF
    57085283/* confdefs.h.  */
     
    57155290_ACEOF
    57165291rm -f conftest.$ac_objext
    5717 if { (ac_try="$ac_compile"
    5718 case "(($ac_try" in
    5719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5720   *) ac_try_echo=$ac_try;;
    5721 esac
    5722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5723   (eval "$ac_compile") 2>conftest.er1
     5292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5293  (eval $ac_compile) 2>conftest.er1
    57245294  ac_status=$?
    57255295  grep -v '^ *+' conftest.er1 >conftest.err
     
    57275297  cat conftest.err >&5
    57285298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5729   (exit $ac_status); } && {
    5730      test -z "$ac_c_werror_flag" ||
    5731      test ! -s conftest.err
    5732        } && test -s conftest.$ac_objext; then
     5299  (exit $ac_status); } &&
     5300     { ac_try='test -z "$ac_c_werror_flag"
     5301             || test ! -s conftest.err'
     5302  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5303  (eval $ac_try) 2>&5
     5304  ac_status=$?
     5305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5306  (exit $ac_status); }; } &&
     5307     { ac_try='test -s conftest.$ac_objext'
     5308  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5309  (eval $ac_try) 2>&5
     5310  ac_status=$?
     5311  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5312  (exit $ac_status); }; }; then
    57335313  ac_header_compiler=yes
    57345314else
     
    57365316sed 's/^/| /' conftest.$ac_ext >&5
    57375317
    5738     ac_header_compiler=no
    5739 fi
    5740 
    5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5742 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5743 echo "${ECHO_T}$ac_header_compiler" >&6; }
     5318ac_header_compiler=no
     5319fi
     5320rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5321echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5322echo "${ECHO_T}$ac_header_compiler" >&6
    57445323
    57455324# Is the header present?
    5746 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     5325echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5326echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    57485327cat >conftest.$ac_ext <<_ACEOF
    57495328/* confdefs.h.  */
     
    57545333#include <$ac_header>
    57555334_ACEOF
    5756 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5757 case "(($ac_try" in
    5758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5759   *) ac_try_echo=$ac_try;;
    5760 esac
    5761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5762   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5335if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5336  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    57635337  ac_status=$?
    57645338  grep -v '^ *+' conftest.er1 >conftest.err
     
    57665340  cat conftest.err >&5
    57675341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5768   (exit $ac_status); } >/dev/null && {
    5769      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5770      test ! -s conftest.err
    5771        }; then
     5342  (exit $ac_status); } >/dev/null; then
     5343  if test -s conftest.err; then
     5344    ac_cpp_err=$ac_c_preproc_warn_flag
     5345    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     5346  else
     5347    ac_cpp_err=
     5348  fi
     5349else
     5350  ac_cpp_err=yes
     5351fi
     5352if test -z "$ac_cpp_err"; then
    57725353  ac_header_preproc=yes
    57735354else
     
    57775358  ac_header_preproc=no
    57785359fi
    5779 
    57805360rm -f conftest.err conftest.$ac_ext
    5781 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5782 echo "${ECHO_T}$ac_header_preproc" >&6; }
     5361echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5362echo "${ECHO_T}$ac_header_preproc" >&6
    57835363
    57845364# So?  What about this header?
     
    58045384    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    58055385echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5806 
     5386    (
     5387      cat <<\_ASBOX
     5388## ------------------------------------------ ##
     5389## Report this to the AC_PACKAGE_NAME lists.  ##
     5390## ------------------------------------------ ##
     5391_ASBOX
     5392    ) |
     5393      sed "s/^/$as_me: WARNING:     /" >&2
    58075394    ;;
    58085395esac
    5809 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5396echo "$as_me:$LINENO: checking for $ac_header" >&5
     5397echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5398if eval "test \"\${$as_ac_Header+set}\" = set"; then
    58125399  echo $ECHO_N "(cached) $ECHO_C" >&6
    58135400else
    58145401  eval "$as_ac_Header=\$ac_header_preproc"
    58155402fi
    5816 ac_res=`eval echo '${'$as_ac_Header'}'`
    5817            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5818 echo "${ECHO_T}$ac_res" >&6; }
     5403echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5404echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    58195405
    58205406fi
     
    58855471# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    58865472# for constant arguments.  Useless!
    5887 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5888 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
     5473echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5474echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
    58895475if test "${ac_cv_working_alloca_h+set}" = set; then
    58905476  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    59015487{
    59025488char *p = (char *) alloca (2 * sizeof (int));
    5903               if (p) return 0;
    59045489  ;
    59055490  return 0;
     
    59075492_ACEOF
    59085493rm -f conftest.$ac_objext conftest$ac_exeext
    5909 if { (ac_try="$ac_link"
    5910 case "(($ac_try" in
    5911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5912   *) ac_try_echo=$ac_try;;
    5913 esac
    5914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5915   (eval "$ac_link") 2>conftest.er1
     5494if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5495  (eval $ac_link) 2>conftest.er1
    59165496  ac_status=$?
    59175497  grep -v '^ *+' conftest.er1 >conftest.err
     
    59195499  cat conftest.err >&5
    59205500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5921   (exit $ac_status); } && {
    5922      test -z "$ac_c_werror_flag" ||
    5923      test ! -s conftest.err
    5924        } && test -s conftest$ac_exeext &&
    5925        $as_test_x conftest$ac_exeext; then
     5501  (exit $ac_status); } &&
     5502     { ac_try='test -z "$ac_c_werror_flag"
     5503             || test ! -s conftest.err'
     5504  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5505  (eval $ac_try) 2>&5
     5506  ac_status=$?
     5507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5508  (exit $ac_status); }; } &&
     5509     { ac_try='test -s conftest$ac_exeext'
     5510  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5511  (eval $ac_try) 2>&5
     5512  ac_status=$?
     5513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5514  (exit $ac_status); }; }; then
    59265515  ac_cv_working_alloca_h=yes
    59275516else
     
    59295518sed 's/^/| /' conftest.$ac_ext >&5
    59305519
    5931     ac_cv_working_alloca_h=no
    5932 fi
    5933 
    5934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5520ac_cv_working_alloca_h=no
     5521fi
     5522rm -f conftest.err conftest.$ac_objext \
    59355523      conftest$ac_exeext conftest.$ac_ext
    59365524fi
    5937 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5938 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
     5525echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5526echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
    59395527if test $ac_cv_working_alloca_h = yes; then
    59405528
     
    59455533fi
    59465534
    5947 { echo "$as_me:$LINENO: checking for alloca" >&5
    5948 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
     5535echo "$as_me:$LINENO: checking for alloca" >&5
     5536echo $ECHO_N "checking for alloca... $ECHO_C" >&6
    59495537if test "${ac_cv_func_alloca_works+set}" = set; then
    59505538  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    59635551#  define alloca _alloca
    59645552# else
    5965 #  ifdef HAVE_ALLOCA_H
     5553#  if HAVE_ALLOCA_H
    59665554#   include <alloca.h>
    59675555#  else
     
    59815569{
    59825570char *p = (char *) alloca (1);
    5983                     if (p) return 0;
    59845571  ;
    59855572  return 0;
     
    59875574_ACEOF
    59885575rm -f conftest.$ac_objext conftest$ac_exeext
    5989 if { (ac_try="$ac_link"
    5990 case "(($ac_try" in
    5991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5992   *) ac_try_echo=$ac_try;;
    5993 esac
    5994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5995   (eval "$ac_link") 2>conftest.er1
     5576if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5577  (eval $ac_link) 2>conftest.er1
    59965578  ac_status=$?
    59975579  grep -v '^ *+' conftest.er1 >conftest.err
     
    59995581  cat conftest.err >&5
    60005582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6001   (exit $ac_status); } && {
    6002      test -z "$ac_c_werror_flag" ||
    6003      test ! -s conftest.err
    6004        } && test -s conftest$ac_exeext &&
    6005        $as_test_x conftest$ac_exeext; then
     5583  (exit $ac_status); } &&
     5584     { ac_try='test -z "$ac_c_werror_flag"
     5585             || test ! -s conftest.err'
     5586  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5587  (eval $ac_try) 2>&5
     5588  ac_status=$?
     5589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5590  (exit $ac_status); }; } &&
     5591     { ac_try='test -s conftest$ac_exeext'
     5592  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5593  (eval $ac_try) 2>&5
     5594  ac_status=$?
     5595  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5596  (exit $ac_status); }; }; then
    60065597  ac_cv_func_alloca_works=yes
    60075598else
     
    60095600sed 's/^/| /' conftest.$ac_ext >&5
    60105601
    6011     ac_cv_func_alloca_works=no
    6012 fi
    6013 
    6014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5602ac_cv_func_alloca_works=no
     5603fi
     5604rm -f conftest.err conftest.$ac_objext \
    60155605      conftest$ac_exeext conftest.$ac_ext
    60165606fi
    6017 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    6018 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
     5607echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     5608echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
    60195609
    60205610if test $ac_cv_func_alloca_works = yes; then
     
    60305620# use ar to extract alloca.o from them instead of compiling alloca.c.
    60315621
    6032 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
     5622ALLOCA=alloca.$ac_objext
    60335623
    60345624cat >>confdefs.h <<\_ACEOF
     
    60375627
    60385628
    6039 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    6040 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
     5629echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5