Changeset 20848


Ignore:
Timestamp:
2009-10-23T08:12:27+13:00 (13 years ago)
Author:
oranfry
Message:

more changes to use our own libiconv

Location:
gsdl/trunk/runtime-src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/configure

    r19825 r20848  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     3# Generated by GNU Autoconf 2.61.
    44#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
     5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    67# This configure script is free software; the Free Software Foundation
    78# gives unlimited permission to copy, distribute and modify it.
     
    1011## --------------------- ##
    1112
    12 # Be Bourne compatible
     13# Be more Bourne compatible
     14DUALCASE=1; export DUALCASE # for MKS sh
    1315if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1416  emulate sh
     
    1719  # is contrary to our usage.  Disable this feature.
    1820  alias -g '${1+"$@"}'='"$@"'
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20   set -o posix
    21 fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    23 
    24 # Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26   as_unset=unset
    27 else
    28   as_unset=false
    29 fi
    30 
    31 
    32 # Work around bugs in pre-3.0 UWIN ksh.
    33 $as_unset ENV MAIL MAILPATH
    34 PS1='$ '
    35 PS2='> '
    36 PS4='+ '
    37 
    38 # NLS nuisances.
    39 for as_var in \
    40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42   LC_TELEPHONE LC_TIME
    43 do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45     eval $as_var=C; export $as_var
    46   else
    47     $as_unset $as_var
    48   fi
    49 done
    50 
    51 # Required to use basename.
    52 if expr a : '\(a\)' >/dev/null 2>&1; then
    53   as_expr=expr
    54 else
    55   as_expr=false
    56 fi
    57 
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    59   as_basename=basename
    60 else
    61   as_basename=false
    62 fi
    63 
    64 
    65 # Name of the executable.
    66 as_me=`$as_basename "$0" ||
    67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68      X"$0" : 'X\(//\)$' \| \
    69      X"$0" : 'X\(/\)$' \| \
    70      .     : '\(.\)' 2>/dev/null ||
    71 echo X/"$0" |
    72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73       /^X\/\(\/\/\)$/{ s//\1/; q; }
    74       /^X\/\(\/\).*/{ s//\1/; q; }
    75       s/.*/./; q'`
    76 
    77 
    78 # PATH needs CR, and LINENO needs CR and PATH.
     21  setopt NO_GLOB_SUBST
     22else
     23  case `(set -o) 2>/dev/null` in
     24  *posix*) set -o posix ;;
     25esac
     26
     27fi
     28
     29
     30
     31
     32# PATH needs CR
    7933# Avoid depending upon Character Ranges.
    8034as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    9751fi
    9852
    99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     53# Support unset when possible.
     54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     55  as_unset=unset
     56else
     57  as_unset=false
     58fi
     59
     60
     61# IFS
     62# We need space, tab and new line, in precisely that order.  Quoting is
     63# there to prevent editors from complaining about space-tab.
     64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     65# splitting by setting IFS to empty value.)
     66as_nl='
     67'
     68IFS=" ""    $as_nl"
     69
     70# Find who we are.  Look in the path if we contain no directory separator.
     71case $0 in
     72  *[\\/]* ) as_myself=$0 ;;
     73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    11074for as_dir in $PATH
    11175do
     
    11478  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    11579done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
     80IFS=$as_save_IFS
     81
     82     ;;
     83esac
     84# We did not find ourselves, most probably we were run as `sh COMMAND'
     85# in which case we are not to be found in the path.
     86if test "x$as_myself" = x; then
     87  as_myself=$0
     88fi
     89if test ! -f "$as_myself"; then
     90  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     91  { (exit 1); exit 1; }
     92fi
     93
     94# Work around bugs in pre-3.0 UWIN ksh.
     95for as_var in ENV MAIL MAILPATH
     96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     97done
     98PS1='$ '
     99PS2='> '
     100PS4='+ '
     101
     102# NLS nuisances.
     103for as_var in \
     104  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     105  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     106  LC_TELEPHONE LC_TIME
     107do
     108  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     109    eval $as_var=C; export $as_var
     110  else
     111    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    123112  fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
     113done
     114
     115# Required to use basename.
     116if expr a : '\(a\)' >/dev/null 2>&1 &&
     117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     118  as_expr=expr
     119else
     120  as_expr=false
     121fi
     122
     123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     124  as_basename=basename
     125else
     126  as_basename=false
     127fi
     128
     129
     130# Name of the executable.
     131as_me=`$as_basename -- "$0" ||
     132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     133     X"$0" : 'X\(//\)$' \| \
     134     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     135echo X/"$0" |
     136    sed '/^.*\/\([^/][^/]*\)\/*$/{
     137        s//\1/
     138        q
     139      }
     140      /^X\/\(\/\/\)$/{
     141        s//\1/
     142        q
     143      }
     144      /^X\/\(\/\).*/{
     145        s//\1/
     146        q
     147      }
     148      s/.*/./; q'`
     149
     150# CDPATH.
     151$as_unset CDPATH
     152
     153
     154if test "x$CONFIG_SHELL" = x; then
     155  if (eval ":") 2>/dev/null; then
     156  as_have_required=yes
     157else
     158  as_have_required=no
     159fi
     160
     161  if test $as_have_required = yes &&     (eval ":
     162(as_func_return () {
     163  (exit \$1)
     164}
     165as_func_success () {
     166  as_func_return 0
     167}
     168as_func_failure () {
     169  as_func_return 1
     170}
     171as_func_ret_success () {
     172  return 0
     173}
     174as_func_ret_failure () {
     175  return 1
     176}
     177
     178exitcode=0
     179if as_func_success; then
     180  :
     181else
     182  exitcode=1
     183  echo as_func_success failed.
     184fi
     185
     186if as_func_failure; then
     187  exitcode=1
     188  echo as_func_failure succeeded.
     189fi
     190
     191if as_func_ret_success; then
     192  :
     193else
     194  exitcode=1
     195  echo as_func_ret_success failed.
     196fi
     197
     198if as_func_ret_failure; then
     199  exitcode=1
     200  echo as_func_ret_failure succeeded.
     201fi
     202
     203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     204  :
     205else
     206  exitcode=1
     207  echo positional parameters were not saved.
     208fi
     209
     210test \$exitcode = 0) || { (exit 1); exit 1; }
     211
     212(
     213  as_lineno_1=\$LINENO
     214  as_lineno_2=\$LINENO
     215  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     216  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     217") 2> /dev/null; then
     218  :
     219else
     220  as_candidate_shells=
    130221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    133224  IFS=$as_save_IFS
    134225  test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136      case $as_dir in
     226  case $as_dir in
    137227     /*)
    138        if ("$as_dir/$as_base" -c '
     228       for as_base in sh bash ksh sh5; do
     229         as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     230       done;;
     231       esac
     232done
     233IFS=$as_save_IFS
     234
     235
     236      for as_shell in $as_candidate_shells $SHELL; do
     237     # Try only shells that exist, to save several forks.
     238     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     239        { ("$as_shell") 2> /dev/null <<\_ASEOF
     240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     241  emulate sh
     242  NULLCMD=:
     243  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     244  # is contrary to our usage.  Disable this feature.
     245  alias -g '${1+"$@"}'='"$@"'
     246  setopt NO_GLOB_SUBST
     247else
     248  case `(set -o) 2>/dev/null` in
     249  *posix*) set -o posix ;;
     250esac
     251
     252fi
     253
     254
     255:
     256_ASEOF
     257}; then
     258  CONFIG_SHELL=$as_shell
     259           as_have_required=yes
     260           if { "$as_shell" 2> /dev/null <<\_ASEOF
     261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     262  emulate sh
     263  NULLCMD=:
     264  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     265  # is contrary to our usage.  Disable this feature.
     266  alias -g '${1+"$@"}'='"$@"'
     267  setopt NO_GLOB_SUBST
     268else
     269  case `(set -o) 2>/dev/null` in
     270  *posix*) set -o posix ;;
     271esac
     272
     273fi
     274
     275
     276:
     277(as_func_return () {
     278  (exit $1)
     279}
     280as_func_success () {
     281  as_func_return 0
     282}
     283as_func_failure () {
     284  as_func_return 1
     285}
     286as_func_ret_success () {
     287  return 0
     288}
     289as_func_ret_failure () {
     290  return 1
     291}
     292
     293exitcode=0
     294if as_func_success; then
     295  :
     296else
     297  exitcode=1
     298  echo as_func_success failed.
     299fi
     300
     301if as_func_failure; then
     302  exitcode=1
     303  echo as_func_failure succeeded.
     304fi
     305
     306if as_func_ret_success; then
     307  :
     308else
     309  exitcode=1
     310  echo as_func_ret_success failed.
     311fi
     312
     313if as_func_ret_failure; then
     314  exitcode=1
     315  echo as_func_ret_failure succeeded.
     316fi
     317
     318if ( set x; as_func_ret_success y && test x = "$1" ); then
     319  :
     320else
     321  exitcode=1
     322  echo positional parameters were not saved.
     323fi
     324
     325test $exitcode = 0) || { (exit 1); exit 1; }
     326
     327(
    139328  as_lineno_1=$LINENO
    140329  as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142330  test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146          CONFIG_SHELL=$as_dir/$as_base
    147          export CONFIG_SHELL
    148          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149        fi;;
    150      esac
    151        done
    152 done
    153 ;;
    154   esac
     331  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     332
     333_ASEOF
     334}; then
     335  break
     336fi
     337
     338fi
     339
     340      done
     341
     342      if test "x$CONFIG_SHELL" != x; then
     343  for as_var in BASH_ENV ENV
     344        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     345        done
     346        export CONFIG_SHELL
     347        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     348fi
     349
     350
     351    if test $as_have_required = no; then
     352  echo This script requires a shell more modern than all the
     353      echo shells that I found on your system.  Please install a
     354      echo modern shell, or manually run the script under such a
     355      echo shell if you do have one.
     356      { (exit 1); exit 1; }
     357fi
     358
     359
     360fi
     361
     362fi
     363
     364
     365
     366(eval "as_func_return () {
     367  (exit \$1)
     368}
     369as_func_success () {
     370  as_func_return 0
     371}
     372as_func_failure () {
     373  as_func_return 1
     374}
     375as_func_ret_success () {
     376  return 0
     377}
     378as_func_ret_failure () {
     379  return 1
     380}
     381
     382exitcode=0
     383if as_func_success; then
     384  :
     385else
     386  exitcode=1
     387  echo as_func_success failed.
     388fi
     389
     390if as_func_failure; then
     391  exitcode=1
     392  echo as_func_failure succeeded.
     393fi
     394
     395if as_func_ret_success; then
     396  :
     397else
     398  exitcode=1
     399  echo as_func_ret_success failed.
     400fi
     401
     402if as_func_ret_failure; then
     403  exitcode=1
     404  echo as_func_ret_failure succeeded.
     405fi
     406
     407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     408  :
     409else
     410  exitcode=1
     411  echo positional parameters were not saved.
     412fi
     413
     414test \$exitcode = 0") || {
     415  echo No shell found that supports shell functions.
     416  echo Please tell autoconf@gnu.org about your system,
     417  echo including any error possibly output before this
     418  echo message
     419}
     420
     421
     422
     423  as_lineno_1=$LINENO
     424  as_lineno_2=$LINENO
     425  test "x$as_lineno_1" != "x$as_lineno_2" &&
     426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    155427
    156428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157429  # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
     430  # line-number line after each line using $LINENO; the second 'sed'
     431  # does the real work.  The second script uses 'N' to pair each
     432  # line-number line with the line containing $LINENO, and appends
     433  # trailing '-' during substitution so that $LINENO is not a special
     434  # case at line end.
    162435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
     436  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     437  # E. McMahon (1931-1989) for sed's syntax.  :-)
     438  sed -n '
     439    p
     440    /[$]LINENO/=
     441  ' <$as_myself |
    165442    sed '
     443      s/[$]LINENO.*/&-/
     444      t lineno
     445      b
     446      :lineno
    166447      N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     448      :loop
     449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    170450      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     451      s/-\n.*//
    173452    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
     453  chmod +x "$as_me.lineno" ||
    175454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176455   { (exit 1); exit 1; }; }
     
    178457  # Don't try to exec as it changes $[0], causing all sort of problems
    179458  # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
     459  # original and so on.  Autoconf is especially sensitive to this).
     460  . "./$as_me.lineno"
    182461  # Exit status is that of the last command.
    183462  exit
     
    185464
    186465
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='  ' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
     466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     467  as_dirname=dirname
     468else
     469  as_dirname=false
     470fi
     471
     472ECHO_C= ECHO_N= ECHO_T=
     473case `echo -n x` in
     474-n*)
     475  case `echo 'x\c'` in
     476  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     477  *)   ECHO_C='\c';;
     478  esac;;
     479*)
     480  ECHO_N='-n';;
     481esac
     482
     483if expr a : '\(a\)' >/dev/null 2>&1 &&
     484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    195485  as_expr=expr
    196486else
     
    199489
    200490rm -f conf$$ conf$$.exe conf$$.file
     491if test -d conf$$.dir; then
     492  rm -f conf$$.dir/conf$$.file
     493else
     494  rm -f conf$$.dir
     495  mkdir conf$$.dir
     496fi
    201497echo >conf$$.file
    202498if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
     499  as_ln_s='ln -s'
     500  # ... but there are two gotchas:
     501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     503  # In both cases, we have to default to `cp -p'.
     504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    207505    as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211506elif ln conf$$.file conf$$ 2>/dev/null; then
    212507  as_ln_s=ln
     
    214509  as_ln_s='cp -p'
    215510fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     512rmdir conf$$.dir 2>/dev/null
    217513
    218514if mkdir -p . 2>/dev/null; then
     
    223519fi
    224520
    225 as_executable_p="test -f"
     521if test -x / >/dev/null 2>&1; then
     522  as_test_x='test -x'
     523else
     524  if ls -dL / >/dev/null 2>&1; then
     525    as_ls_L_option=L
     526  else
     527    as_ls_L_option=
     528  fi
     529  as_test_x='
     530    eval sh -c '\''
     531      if test -d "$1"; then
     532        test -d "$1/.";
     533      else
     534    case $1 in
     535        -*)set "./$1";;
     536    esac;
     537    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     538    ???[sx]*):;;*)false;;esac;fi
     539    '\'' sh
     540  '
     541fi
     542as_executable_p=$as_test_x
    226543
    227544# Sed expression to map a string onto a valid CPP name.
     
    232549
    233550
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS="   $as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
     551
     552exec 7<&0 </dev/null 6>&1
    243553
    244554# Name of the host.
     
    247557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248558
    249 exec 6>&1
    250 
    251559#
    252560# Initializations.
    253561#
    254562ac_default_prefix=/usr/local
     563ac_clean_files=
    255564ac_config_libobj_dir=.
     565LIBOBJS=
    256566cross_compiling=no
    257567subdirs=
     
    259569MAKEFLAGS=
    260570SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266571
    267572# Identity of this package.
     
    275580ac_includes_default="\
    276581#include <stdio.h>
    277 #if HAVE_SYS_TYPES_H
     582#ifdef HAVE_SYS_TYPES_H
    278583# include <sys/types.h>
    279584#endif
    280 #if HAVE_SYS_STAT_H
     585#ifdef HAVE_SYS_STAT_H
    281586# include <sys/stat.h>
    282587#endif
    283 #if STDC_HEADERS
     588#ifdef STDC_HEADERS
    284589# include <stdlib.h>
    285590# include <stddef.h>
    286591#else
    287 # if HAVE_STDLIB_H
     592# ifdef HAVE_STDLIB_H
    288593#  include <stdlib.h>
    289594# endif
    290595#endif
    291 #if HAVE_STRING_H
    292 # if !STDC_HEADERS && HAVE_MEMORY_H
     596#ifdef HAVE_STRING_H
     597# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    293598#  include <memory.h>
    294599# endif
    295600# include <string.h>
    296601#endif
    297 #if HAVE_STRINGS_H
     602#ifdef HAVE_STRINGS_H
    298603# include <strings.h>
    299604#endif
    300 #if HAVE_INTTYPES_H
     605#ifdef HAVE_INTTYPES_H
    301606# include <inttypes.h>
    302 #else
    303 # if HAVE_STDINT_H
    304 #  include <stdint.h>
    305 # endif
    306607#endif
    307 #if HAVE_UNISTD_H
     608#ifdef HAVE_STDINT_H
     609# include <stdint.h>
     610#endif
     611#ifdef HAVE_UNISTD_H
    308612# include <unistd.h>
    309613#endif"
    310614
    311 ac_subdirs_all="$ac_subdirs_all packages"
    312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
     615ac_subst_vars='SHELL
     616PATH_SEPARATOR
     617PACKAGE_NAME
     618PACKAGE_TARNAME
     619PACKAGE_VERSION
     620PACKAGE_STRING
     621PACKAGE_BUGREPORT
     622exec_prefix
     623prefix
     624program_transform_name
     625bindir
     626sbindir
     627libexecdir
     628datarootdir
     629datadir
     630sysconfdir
     631sharedstatedir
     632localstatedir
     633includedir
     634oldincludedir
     635docdir
     636infodir
     637htmldir
     638dvidir
     639pdfdir
     640psdir
     641libdir
     642localedir
     643mandir
     644DEFS
     645ECHO_C
     646ECHO_N
     647ECHO_T
     648LIBS
     649build_alias
     650host_alias
     651target_alias
     652PACKAGE
     653VERSION
     654USE_FASTCGI
     655USE_LANGACTION
     656USE_CORBA
     657MICO_DIR
     658USE_Z3950
     659USE_YAZ
     660ENABLE_ACCENTFOLD
     661USE_SQLITE
     662USE_APACHE_HTTPD
     663LDFLAGS
     664CFLAGS
     665CC
     666CPPFLAGS
     667ac_ct_CC
     668EXEEXT
     669OBJEXT
     670CXX
     671CXXFLAGS
     672ac_ct_CXX
     673AWK
     674YACC
     675YFLAGS
     676build
     677build_cpu
     678build_vendor
     679build_os
     680host
     681host_cpu
     682host_vendor
     683host_os
     684target
     685target_cpu
     686target_vendor
     687target_os
     688INSTALL_PROGRAM
     689INSTALL_SCRIPT
     690INSTALL_DATA
     691LN_S
     692SET_MAKE
     693RANLIB
     694COMPAT32BITFLAGS
     695MICO_VER
     696CPP
     697GREP
     698EGREP
     699U
     700ANSI2KNR
     701ALLOCA
     702LIBOBJS
     703STATIC
     704gsdlos
     705MODULEDIRS
     706subdirs
     707LTLIBOBJS'
    313708ac_subst_files=''
     709      ac_precious_vars='build_alias
     710host_alias
     711target_alias
     712CC
     713CFLAGS
     714LDFLAGS
     715LIBS
     716CPPFLAGS
     717CXX
     718CXXFLAGS
     719CCC
     720YACC
     721YFLAGS
     722CPP'
     723ac_subdirs_all='packages'
    314724
    315725# Initialize some variables set by options.
     
    338748# by default will actually change.
    339749# Use braces instead of parens because sh, perl, etc. also accept them.
     750# (The list follows the same order as the GNU Coding Standards.)
    340751bindir='${exec_prefix}/bin'
    341752sbindir='${exec_prefix}/sbin'
    342753libexecdir='${exec_prefix}/libexec'
    343 datadir='${prefix}/share'
     754datarootdir='${prefix}/share'
     755datadir='${datarootdir}'
    344756sysconfdir='${prefix}/etc'
    345757sharedstatedir='${prefix}/com'
    346758localstatedir='${prefix}/var'
    347 libdir='${exec_prefix}/lib'
    348759includedir='${prefix}/include'
    349760oldincludedir='/usr/include'
    350 infodir='${prefix}/info'
    351 mandir='${prefix}/man'
     761docdir='${datarootdir}/doc/${PACKAGE}'
     762infodir='${datarootdir}/info'
     763htmldir='${docdir}'
     764dvidir='${docdir}'
     765pdfdir='${docdir}'
     766psdir='${docdir}'
     767libdir='${exec_prefix}/lib'
     768localedir='${datarootdir}/locale'
     769mandir='${datarootdir}/man'
    352770
    353771ac_prev=
     772ac_dashdash=
    354773for ac_option
    355774do
    356775  # If the previous option needs an argument, assign it.
    357776  if test -n "$ac_prev"; then
    358     eval "$ac_prev=\$ac_option"
     777    eval $ac_prev=\$ac_option
    359778    ac_prev=
    360779    continue
    361780  fi
    362781
    363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     782  case $ac_option in
     783  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     784  *)    ac_optarg=yes ;;
     785  esac
    364786
    365787  # Accept the important Cygnus configure options, so we can diagnose typos.
    366788
    367   case $ac_option in
     789  case $ac_dashdash$ac_option in
     790  --)
     791    ac_dashdash=yes ;;
    368792
    369793  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    387811    cache_file=config.cache ;;
    388812
    389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     813  -datadir | --datadir | --datadi | --datad)
    390814    ac_prev=datadir ;;
    391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    392   | --da=*)
     815  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    393816    datadir=$ac_optarg ;;
     817
     818  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     819  | --dataroo | --dataro | --datar)
     820    ac_prev=datarootdir ;;
     821  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     822  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     823    datarootdir=$ac_optarg ;;
    394824
    395825  -disable-* | --disable-*)
    396826    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    397827    # Reject names that are not valid shell variable names.
    398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     828    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    399829      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    400830   { (exit 1); exit 1; }; }
    401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    402     eval "enable_$ac_feature=no" ;;
     831    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     832    eval enable_$ac_feature=no ;;
     833
     834  -docdir | --docdir | --docdi | --doc | --do)
     835    ac_prev=docdir ;;
     836  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     837    docdir=$ac_optarg ;;
     838
     839  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     840    ac_prev=dvidir ;;
     841  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     842    dvidir=$ac_optarg ;;
    403843
    404844  -enable-* | --enable-*)
    405845    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    406846    # Reject names that are not valid shell variable names.
    407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     847    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    408848      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    409849   { (exit 1); exit 1; }; }
    410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    411     case $ac_option in
    412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    413       *) ac_optarg=yes ;;
    414     esac
    415     eval "enable_$ac_feature='$ac_optarg'" ;;
     850    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     851    eval enable_$ac_feature=\$ac_optarg ;;
    416852
    417853  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    440876    host_alias=$ac_optarg ;;
    441877
     878  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     879    ac_prev=htmldir ;;
     880  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     881  | --ht=*)
     882    htmldir=$ac_optarg ;;
     883
    442884  -includedir | --includedir | --includedi | --included | --include \
    443885  | --includ | --inclu | --incl | --inc)
     
    464906    libexecdir=$ac_optarg ;;
    465907
     908  -localedir | --localedir | --localedi | --localed | --locale)
     909    ac_prev=localedir ;;
     910  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     911    localedir=$ac_optarg ;;
     912
    466913  -localstatedir | --localstatedir | --localstatedi | --localstated \
    467   | --localstate | --localstat | --localsta | --localst \
    468   | --locals | --local | --loca | --loc | --lo)
     914  | --localstate | --localstat | --localsta | --localst | --locals)
    469915    ac_prev=localstatedir ;;
    470916  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     917  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    473918    localstatedir=$ac_optarg ;;
    474919
     
    535980    program_transform_name=$ac_optarg ;;
    536981
     982  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     983    ac_prev=pdfdir ;;
     984  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     985    pdfdir=$ac_optarg ;;
     986
     987  -psdir | --psdir | --psdi | --psd | --ps)
     988    ac_prev=psdir ;;
     989  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     990    psdir=$ac_optarg ;;
     991
    537992  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    538993  | -silent | --silent | --silen | --sile | --sil)
     
    5871042    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5881043    # Reject names that are not valid shell variable names.
    589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1044    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    5901045      { echo "$as_me: error: invalid package name: $ac_package" >&2
    5911046   { (exit 1); exit 1; }; }
    592     ac_package=`echo $ac_package| sed 's/-/_/g'`
    593     case $ac_option in
    594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    595       *) ac_optarg=yes ;;
    596     esac
    597     eval "with_$ac_package='$ac_optarg'" ;;
     1047    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1048    eval with_$ac_package=\$ac_optarg ;;
    5981049
    5991050  -without-* | --without-*)
    6001051    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6011052    # Reject names that are not valid shell variable names.
    602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1053    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    6031054      { echo "$as_me: error: invalid package name: $ac_package" >&2
    6041055   { (exit 1); exit 1; }; }
    605     ac_package=`echo $ac_package | sed 's/-/_/g'`
    606     eval "with_$ac_package=no" ;;
     1056    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1057    eval with_$ac_package=no ;;
    6071058
    6081059  --x)
     
    6351086      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6361087   { (exit 1); exit 1; }; }
    637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    638     eval "$ac_envvar='$ac_optarg'"
     1088    eval $ac_envvar=\$ac_optarg
    6391089    export $ac_envvar ;;
    6401090
     
    6561106fi
    6571107
    658 # Be sure to have absolute paths.
    659 for ac_var in exec_prefix prefix
     1108# Be sure to have absolute directory names.
     1109for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1110        datadir sysconfdir sharedstatedir localstatedir includedir \
     1111        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1112        libdir localedir mandir
    6601113do
    661   eval ac_val=$`echo $ac_var`
     1114  eval ac_val=\$$ac_var
    6621115  case $ac_val in
    663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    665    { (exit 1); exit 1; }; };;
     1116    [\\/$]* | ?:[\\/]* )  continue;;
     1117    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6661118  esac
    667 done
    668 
    669 # Be sure to have absolute paths.
    670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    671           localstatedir libdir includedir oldincludedir infodir mandir
    672 do
    673   eval ac_val=$`echo $ac_var`
    674   case $ac_val in
    675     [\\/$]* | ?:[\\/]* ) ;;
    676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    677    { (exit 1); exit 1; }; };;
    678   esac
     1119  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1120   { (exit 1); exit 1; }; }
    6791121done
    6801122
     
    7031145
    7041146
     1147ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1148ac_ls_di=`ls -di .` &&
     1149ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1150  { echo "$as_me: error: Working directory cannot be determined" >&2
     1151   { (exit 1); exit 1; }; }
     1152test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1153  { echo "$as_me: error: pwd does not report name of working directory" >&2
     1154   { (exit 1); exit 1; }; }
     1155
     1156
    7051157# Find the source files, if location was not specified.
    7061158if test -z "$srcdir"; then
    7071159  ac_srcdir_defaulted=yes
    708   # Try the directory containing this script, then its parent.
    709   ac_confdir=`(dirname "$0") 2>/dev/null ||
     1160  # Try the directory containing this script, then the parent directory.
     1161  ac_confdir=`$as_dirname -- "$0" ||
    7101162$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7111163     X"$0" : 'X\(//\)[^/]' \| \
    7121164     X"$0" : 'X\(//\)$' \| \
    713      X"$0" : 'X\(/\)' \| \
    714      .     : '\(.\)' 2>/dev/null ||
     1165     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7151166echo X"$0" |
    716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    717       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    718       /^X\(\/\/\)$/{ s//\1/; q; }
    719       /^X\(\/\).*/{ s//\1/; q; }
    720       s/.*/./; q'`
     1167    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1168        s//\1/
     1169        q
     1170      }
     1171      /^X\(\/\/\)[^/].*/{
     1172        s//\1/
     1173        q
     1174      }
     1175      /^X\(\/\/\)$/{
     1176        s//\1/
     1177        q
     1178      }
     1179      /^X\(\/\).*/{
     1180        s//\1/
     1181        q
     1182      }
     1183      s/.*/./; q'`
    7211184  srcdir=$ac_confdir
    722   if test ! -r $srcdir/$ac_unique_file; then
     1185  if test ! -r "$srcdir/$ac_unique_file"; then
    7231186    srcdir=..
    7241187  fi
     
    7261189  ac_srcdir_defaulted=no
    7271190fi
    728 if test ! -r $srcdir/$ac_unique_file; then
    729   if test "$ac_srcdir_defaulted" = yes; then
    730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     1191if test ! -r "$srcdir/$ac_unique_file"; then
     1192  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1193  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    7311194   { (exit 1); exit 1; }; }
    732   else
    733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1195fi
     1196ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1197ac_abs_confdir=`(
     1198    cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    7341199   { (exit 1); exit 1; }; }
    735   fi
    736 fi
    737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    739    { (exit 1); exit 1; }; }
    740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    741 ac_env_build_alias_set=${build_alias+set}
    742 ac_env_build_alias_value=$build_alias
    743 ac_cv_env_build_alias_set=${build_alias+set}
    744 ac_cv_env_build_alias_value=$build_alias
    745 ac_env_host_alias_set=${host_alias+set}
    746 ac_env_host_alias_value=$host_alias
    747 ac_cv_env_host_alias_set=${host_alias+set}
    748 ac_cv_env_host_alias_value=$host_alias
    749 ac_env_target_alias_set=${target_alias+set}
    750 ac_env_target_alias_value=$target_alias
    751 ac_cv_env_target_alias_set=${target_alias+set}
    752 ac_cv_env_target_alias_value=$target_alias
    753 ac_env_CC_set=${CC+set}
    754 ac_env_CC_value=$CC
    755 ac_cv_env_CC_set=${CC+set}
    756 ac_cv_env_CC_value=$CC
    757 ac_env_CFLAGS_set=${CFLAGS+set}
    758 ac_env_CFLAGS_value=$CFLAGS
    759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    760 ac_cv_env_CFLAGS_value=$CFLAGS
    761 ac_env_LDFLAGS_set=${LDFLAGS+set}
    762 ac_env_LDFLAGS_value=$LDFLAGS
    763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    764 ac_cv_env_LDFLAGS_value=$LDFLAGS
    765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    766 ac_env_CPPFLAGS_value=$CPPFLAGS
    767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    769 ac_env_CXX_set=${CXX+set}
    770 ac_env_CXX_value=$CXX
    771 ac_cv_env_CXX_set=${CXX+set}
    772 ac_cv_env_CXX_value=$CXX
    773 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    774 ac_env_CXXFLAGS_value=$CXXFLAGS
    775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    777 ac_env_CPP_set=${CPP+set}
    778 ac_env_CPP_value=$CPP
    779 ac_cv_env_CPP_set=${CPP+set}
    780 ac_cv_env_CPP_value=$CPP
     1200    pwd)`
     1201# When building in place, set srcdir=.
     1202if test "$ac_abs_confdir" = "$ac_pwd"; then
     1203  srcdir=.
     1204fi
     1205# Remove unnecessary trailing slashes from srcdir.
     1206# Double slashes in file names in object file debugging info
     1207# mess up M-x gdb in Emacs.
     1208case $srcdir in
     1209*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1210esac
     1211for ac_var in $ac_precious_vars; do
     1212  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1213  eval ac_env_${ac_var}_value=\$${ac_var}
     1214  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1215  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1216done
    7811217
    7821218#
     
    8071243      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8081244
    809 _ACEOF
    810 
    811   cat <<_ACEOF
    8121245Installation directories:
    8131246  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    8271260  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    8281261  --libexecdir=DIR       program executables [EPREFIX/libexec]
    829   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    8301262  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    8311263  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    8341266  --includedir=DIR       C header files [PREFIX/include]
    8351267  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    836   --infodir=DIR          info documentation [PREFIX/info]
    837   --mandir=DIR           man documentation [PREFIX/man]
     1268  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
     1269  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
     1270  --infodir=DIR          info documentation [DATAROOTDIR/info]
     1271  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
     1272  --mandir=DIR           man documentation [DATAROOTDIR/man]
     1273  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
     1274  --htmldir=DIR          html documentation [DOCDIR]
     1275  --dvidir=DIR           dvi documentation [DOCDIR]
     1276  --pdfdir=DIR           pdf documentation [DOCDIR]
     1277  --psdir=DIR            ps documentation [DOCDIR]
    8381278_ACEOF
    8391279
     
    8591299  --disable-accentfold    Disable Accent Folding for MGPP
    8601300  --disable-sqlite        Disable SQLite support
    861   --enable-apache-httpd   Enable Apache httpd support
     1301  --disable-apache-httpd  Disable Apache httpd support
    8621302
    8631303Optional Packages:
     
    8741314  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8751315              nonstandard directory <lib dir>
    876   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    877               headers in a nonstandard directory <include 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>
    8781319  CXX         C++ compiler command
    8791320  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.
    8801326  CPP         C preprocessor
    8811327
     
    8841330
    8851331_ACEOF
     1332ac_status=$?
    8861333fi
    8871334
    8881335if test "$ac_init_help" = "recursive"; then
    8891336  # If there are subdirs, report their specific --help.
    890   ac_popdir=`pwd`
    8911337  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    892     test -d $ac_dir || continue
     1338    test -d "$ac_dir" || continue
    8931339    ac_builddir=.
    8941340
    895 if test "$ac_dir" != .; then
     1341case "$ac_dir" in
     1342.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1343*)
    8961344  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    897   # A "../" for each directory in $ac_dir_suffix.
    898   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    899 else
    900   ac_dir_suffix= ac_top_builddir=
    901 fi
     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 ;;
     1351esac
     1352ac_abs_top_builddir=$ac_pwd
     1353ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1354# for backward compatibility:
     1355ac_top_builddir=$ac_top_build_prefix
    9021356
    9031357case $srcdir in
    904   .)  # No --srcdir option.  We are building in place.
     1358  .)  # We are building in place.
    9051359    ac_srcdir=.
    906     if test -z "$ac_top_builddir"; then
    907        ac_top_srcdir=.
    908     else
    909        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    910     fi ;;
    911   [\\/]* | ?:[\\/]* )  # Absolute path.
     1360    ac_top_srcdir=$ac_top_builddir_sub
     1361    ac_abs_top_srcdir=$ac_pwd ;;
     1362  [\\/]* | ?:[\\/]* )  # Absolute name.
    9121363    ac_srcdir=$srcdir$ac_dir_suffix;
    913     ac_top_srcdir=$srcdir ;;
    914   *) # Relative path.
    915     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    916     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    917 esac
    918 
    919 # Do not use `cd foo && pwd` to compute absolute paths, because
    920 # the directories may not exist.
    921 case `pwd` in
    922 .) ac_abs_builddir="$ac_dir";;
    923 *)
    924   case "$ac_dir" in
    925   .) ac_abs_builddir=`pwd`;;
    926   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    927   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    928   esac;;
    929 esac
    930 case $ac_abs_builddir in
    931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    932 *)
    933   case ${ac_top_builddir}. in
    934   .) ac_abs_top_builddir=$ac_abs_builddir;;
    935   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    936   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    937   esac;;
    938 esac
    939 case $ac_abs_builddir in
    940 .) ac_abs_srcdir=$ac_srcdir;;
    941 *)
    942   case $ac_srcdir in
    943   .) ac_abs_srcdir=$ac_abs_builddir;;
    944   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    945   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    946   esac;;
    947 esac
    948 case $ac_abs_builddir in
    949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    950 *)
    951   case $ac_top_srcdir in
    952   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    953   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    954   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    955   esac;;
    956 esac
    957 
    958     cd $ac_dir
    959     # Check for guested configure; otherwise get Cygnus style configure.
    960     if test -f $ac_srcdir/configure.gnu; then
    961       echo
    962       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    963     elif test -f $ac_srcdir/configure; then
    964       echo
    965       $SHELL $ac_srcdir/configure  --help=recursive
    966     elif test -f $ac_srcdir/configure.ac ||
    967        test -f $ac_srcdir/configure.in; then
    968       echo
    969       $ac_configure --help
     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 ;;
     1370esac
     1371ac_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
    9701381    else
    9711382      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    972     fi
    973     cd $ac_popdir
     1383    fi || ac_status=$?
     1384    cd "$ac_pwd" || { ac_status=$?; break; }
    9741385  done
    9751386fi
    9761387
    977 test -n "$ac_init_help" && exit 0
     1388test -n "$ac_init_help" && exit $ac_status
    9781389if $ac_init_version; then
    9791390  cat <<\_ACEOF
    980 
    981 Copyright (C) 2003 Free Software Foundation, Inc.
     1391configure
     1392generated by GNU Autoconf 2.61
     1393
     1394Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     13952002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    9821396This configure script is free software; the Free Software Foundation
    9831397gives unlimited permission to copy, distribute and modify it.
    9841398_ACEOF
    985   exit 0
    986 fi
    987 exec 5>config.log
    988 cat >&5 <<_ACEOF
     1399  exit
     1400fi
     1401cat >config.log <<_ACEOF
    9891402This file contains any messages produced by compilers while
    9901403running configure, to aid debugging if configure makes a mistake.
    9911404
    9921405It was created by $as_me, which was
    993 generated by GNU Autoconf 2.59.  Invocation command line was
     1406generated by GNU Autoconf 2.61.  Invocation command line was
    9941407
    9951408  $ $0 $@
    9961409
    9971410_ACEOF
     1411exec 5>>config.log
    9981412{
    9991413cat <<_ASUNAME
     
    10141428/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10151429/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1016 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1430/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10171431/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10181432/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10281442  echo "PATH: $as_dir"
    10291443done
     1444IFS=$as_save_IFS
    10301445
    10311446} >&5
     
    10491464ac_configure_args0=
    10501465ac_configure_args1=
    1051 ac_sep=
    10521466ac_must_keep_next=false
    10531467for ac_pass in 1 2
     
    10601474    | -silent | --silent | --silen | --sile | --sil)
    10611475      continue ;;
    1062     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1476    *\'*)
    10631477      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10641478    esac
     
    10821496    esac
    10831497      fi
    1084       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1085       # Get rid of the leading space.
    1086       ac_sep=" "
     1498      ac_configure_args="$ac_configure_args '$ac_arg'"
    10871499      ;;
    10881500    esac
     
    10951507# config.log.  We remove comments because anyway the quotes in there
    10961508# would cause problems or look ugly.
    1097 # WARNING: Be sure not to use single quotes in there, as some shells,
    1098 # such as our DU 5.0 friend, will then `close' the trap.
     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.
    10991511trap 'exit_status=$?
    11001512  # Save into config.log some information that might help in debugging.
     
    11091521    echo
    11101522    # The following way of writing the cache mishandles newlines in values,
    1111 {
     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
     1530echo "$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
    11121538  (set) 2>&1 |
    1113     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1114     *ac_space=\ *)
     1539    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1540    *${as_nl}ac_space=\ *)
    11151541      sed -n \
    1116     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1117       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1542    "s/'\''/'\''\\\\'\'''\''/g;
     1543      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1544      ;; #(
     1545    *)
     1546      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11181547      ;;
    1119     *)
    1120       sed -n \
    1121     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1122       ;;
    1123     esac;
    1124 }
     1548    esac |
     1549    sort
     1550)
    11251551    echo
    11261552
     
    11331559    for ac_var in $ac_subst_vars
    11341560    do
    1135       eval ac_val=$`echo $ac_var`
    1136       echo "$ac_var='"'"'$ac_val'"'"'"
     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'\''"
    11371566    done | sort
    11381567    echo
     
    11401569    if test -n "$ac_subst_files"; then
    11411570      cat <<\_ASBOX
    1142 ## ------------- ##
    1143 ## Output files. ##
    1144 ## ------------- ##
     1571## ------------------- ##
     1572## File substitutions. ##
     1573## ------------------- ##
    11451574_ASBOX
    11461575      echo
    11471576      for ac_var in $ac_subst_files
    11481577      do
    1149     eval ac_val=$`echo $ac_var`
    1150     echo "$ac_var='"'"'$ac_val'"'"'"
     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'\''"
    11511583      done | sort
    11521584      echo
     
    11601592_ASBOX
    11611593      echo
    1162       sed "/^$/d" confdefs.h | sort
     1594      cat confdefs.h
    11631595      echo
    11641596    fi
     
    11671599    echo "$as_me: exit $exit_status"
    11681600  } >&5
    1169   rm -f core *.core &&
    1170   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1601  rm -f core *.core core.conftest.* &&
     1602    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11711603    exit $exit_status
    1172      ' 0
     1604' 0
    11731605for ac_signal in 1 2 13 15; do
    11741606  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11771609
    11781610# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1179 rm -rf conftest* confdefs.h
    1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1181 echo >confdefs.h
     1611rm -f -r conftest* confdefs.h
    11821612
    11831613# Predefined preprocessor variables.
     
    12101640# Let the site file select an alternate cache file if it wants to.
    12111641# Prefer explicitly selected file to automatically selected ones.
    1212 if test -z "$CONFIG_SITE"; then
    1213   if test "x$prefix" != xNONE; then
    1214     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1215   else
    1216     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1217   fi
    1218 fi
    1219 for ac_site_file in $CONFIG_SITE; do
     1642if test -n "$CONFIG_SITE"; then
     1643  set x "$CONFIG_SITE"
     1644elif test "x$prefix" != xNONE; then
     1645  set x "$prefix/share/config.site" "$prefix/etc/config.site"
     1646else
     1647  set x "$ac_default_prefix/share/config.site" \
     1648    "$ac_default_prefix/etc/config.site"
     1649fi
     1650shift
     1651for ac_site_file
     1652do
    12201653  if test -r "$ac_site_file"; then
    12211654    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    12331666echo "$as_me: loading cache $cache_file" >&6;}
    12341667    case $cache_file in
    1235       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1236       *)                      . ./$cache_file;;
     1668      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1669      *)                      . "./$cache_file";;
    12371670    esac
    12381671  fi
     
    12461679# value.
    12471680ac_cache_corrupted=false
    1248 for ac_var in `(set) 2>&1 |
    1249            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1681for ac_var in $ac_precious_vars; do
    12501682  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12511683  eval ac_new_set=\$ac_env_${ac_var}_set
    1252   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1253   eval ac_new_val="\$ac_env_${ac_var}_value"
     1684  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1685  eval ac_new_val=\$ac_env_${ac_var}_value
    12541686  case $ac_old_set,$ac_new_set in
    12551687    set,)
     
    12761708  if test "$ac_new_set" = set; then
    12771709    case $ac_new_val in
    1278     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1279       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1710    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12801711    *) ac_arg=$ac_var=$ac_new_val ;;
    12811712    esac
     
    12941725fi
    12951726
     1727
     1728
     1729
     1730
     1731
     1732
     1733
     1734
     1735
     1736
     1737
     1738
     1739
     1740
     1741
     1742
    12961743ac_ext=c
    12971744ac_cpp='$CPP $CPPFLAGS'
     
    13011748
    13021749
    1303 
    1304 
    1305 
    1306 
    1307 
    1308 
    1309 
    1310 
    1311 
    1312 
    1313 
    1314 
    1315 
    1316 
    1317 
    1318 
    1319 
    1320           ac_config_headers="$ac_config_headers config.h"
     1750ac_config_headers="$ac_config_headers config.h"
    13211751
    13221752
     
    13531783fi
    13541784
    1355 # Check whether --enable-corba or --disable-corba was given.
     1785# Check whether --enable-corba was given.
    13561786if test "${enable_corba+set}" = set; then
    1357   enableval="$enable_corba"
    1358   USE_CORBA=1
     1787  enableval=$enable_corba; USE_CORBA=1
    13591788else
    13601789  USE_CORBA=0
    1361 fi;
     1790fi
     1791
    13621792cat >>confdefs.h <<_ACEOF
    13631793#define USE_CORBA $USE_CORBA
     
    13671797
    13681798
    1369 # Check whether --with-micodir or --without-micodir was given.
     1799# Check whether --with-micodir was given.
    13701800if test "${with_micodir+set}" = set; then
    1371   withval="$with_micodir"
    1372   MICO_DIR=$enableval
     1801  withval=$with_micodir; MICO_DIR=$enableval
    13731802else
    13741803  MICO_DIR="default"
    1375 fi;
     1804fi
     1805
    13761806cat >>confdefs.h <<_ACEOF
    13771807#define MICO_DIR "$MICO_DIR"
     
    13801810
    13811811
    1382 # Check whether --enable-z3950 or --disable-z3950 was given.
     1812# Check whether --enable-z3950 was given.
    13831813if test "${enable_z3950+set}" = set; then
    1384   enableval="$enable_z3950"
    1385   USE_Z3950=1
     1814  enableval=$enable_z3950; USE_Z3950=1
    13861815else
    13871816  USE_Z3950=0
    1388 fi;
     1817fi
     1818
    13891819if test USE_Z3950 = 1; then
    13901820cat >>confdefs.h <<\_ACEOF
     
    13951825fi
    13961826
    1397 # Check whether --enable-yaz or --disable-yaz was given.
     1827# Check whether --enable-yaz was given.
    13981828if test "${enable_yaz+set}" = set; then
    1399   enableval="$enable_yaz"
    1400   USE_YAZ=0
     1829  enableval=$enable_yaz; USE_YAZ=0
    14011830else
    14021831  USE_YAZ=1
    1403 fi;
     1832fi
     1833
    14041834cat >>confdefs.h <<\_ACEOF
    14051835#define USE_YAZ $USE_YAZ
     
    14081838
    14091839
    1410 # Check whether --enable-accentfold or --disable-accentfold was given.
     1840# Check whether --enable-accentfold was given.
    14111841if test "${enable_accentfold+set}" = set; then
    1412   enableval="$enable_accentfold"
    1413   ENABLE_ACCENTFOLD=0
     1842  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
    14141843else
    14151844  ENABLE_ACCENTFOLD=1
    1416 fi;
     1845fi
     1846
    14171847cat >>confdefs.h <<\_ACEOF
    14181848#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    14211851
    14221852
    1423 # Check whether --enable-sqlite or --disable-sqlite was given.
     1853# Check whether --enable-sqlite was given.
    14241854if test "${enable_sqlite+set}" = set; then
    1425   enableval="$enable_sqlite"
    1426   USE_SQLITE=0
     1855  enableval=$enable_sqlite; USE_SQLITE=0
    14271856else
    14281857  USE_SQLITE=1
    1429 fi;
     1858fi
     1859
    14301860cat >>confdefs.h <<\_ACEOF
    14311861#define USE_SQLITE $USE_SQLITE
     
    14341864
    14351865
    1436 # Check whether --enable-apache-httpd or --disable-apache-httpd was given.
     1866# Check whether --enable-apache-httpd was given.
    14371867if test "${enable_apache_httpd+set}" = set; then
    1438   enableval="$enable_apache_httpd"
     1868  enableval=$enable_apache_httpd; USE_APACHE_HTTPD=0
     1869else
    14391870  USE_APACHE_HTTPD=1
    1440 else
    1441   USE_APACHE_HTTPD=0
    1442 fi;
     1871fi
     1872
    14431873cat >>confdefs.h <<\_ACEOF
    14441874#define USE_APACHE_HTTPD $USE_APACHE_HTTPD
     
    14641894  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    14651895set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1896{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1897echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    14681898if test "${ac_cv_prog_CC+set}" = set; then
    14691899  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    14781908  test -z "$as_dir" && as_dir=.
    14791909  for ac_exec_ext in '' $ac_executable_extensions; do
    1480   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1910  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14811911    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    14821912    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    14851915done
    14861916done
     1917IFS=$as_save_IFS
    14871918
    14881919fi
     
    14901921CC=$ac_cv_prog_CC
    14911922if test -n "$CC"; then
    1492   echo "$as_me:$LINENO: result: $CC" >&5
    1493 echo "${ECHO_T}$CC" >&6
    1494 else
    1495   echo "$as_me:$LINENO: result: no" >&5
    1496 echo "${ECHO_T}no" >&6
    1497 fi
     1923  { echo "$as_me:$LINENO: result: $CC" >&5
     1924echo "${ECHO_T}$CC" >&6; }
     1925else
     1926  { echo "$as_me:$LINENO: result: no" >&5
     1927echo "${ECHO_T}no" >&6; }
     1928fi
     1929
    14981930
    14991931fi
     
    15021934  # Extract the first word of "gcc", so it can be a program name with args.
    15031935set dummy gcc; ac_word=$2
    1504 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1936{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1937echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15061938if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    15071939  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15161948  test -z "$as_dir" && as_dir=.
    15171949  for ac_exec_ext in '' $ac_executable_extensions; do
    1518   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1950  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15191951    ac_cv_prog_ac_ct_CC="gcc"
    15201952    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15231955done
    15241956done
     1957IFS=$as_save_IFS
    15251958
    15261959fi
     
    15281961ac_ct_CC=$ac_cv_prog_ac_ct_CC
    15291962if test -n "$ac_ct_CC"; then
    1530   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1531 echo "${ECHO_T}$ac_ct_CC" >&6
    1532 else
    1533   echo "$as_me:$LINENO: result: no" >&5
    1534 echo "${ECHO_T}no" >&6
    1535 fi
    1536 
    1537   CC=$ac_ct_CC
     1963  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1964echo "${ECHO_T}$ac_ct_CC" >&6; }
     1965else
     1966  { echo "$as_me:$LINENO: result: no" >&5
     1967echo "${ECHO_T}no" >&6; }
     1968fi
     1969
     1970  if test "x$ac_ct_CC" = x; then
     1971    CC=""
     1972  else
     1973    case $cross_compiling:$ac_tool_warned in
     1974yes:)
     1975{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     1976whose name does not start with the host triplet.  If you think this
     1977configuration is useful to you, please write to autoconf@gnu.org." >&5
     1978echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     1979whose name does not start with the host triplet.  If you think this
     1980configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     1981ac_tool_warned=yes ;;
     1982esac
     1983    CC=$ac_ct_CC
     1984  fi
    15381985else
    15391986  CC="$ac_cv_prog_CC"
     
    15411988
    15421989if test -z "$CC"; then
    1543   if test -n "$ac_tool_prefix"; then
    1544   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1990          if test -n "$ac_tool_prefix"; then
     1991    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    15451992set dummy ${ac_tool_prefix}cc; ac_word=$2
    1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1993{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1994echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15481995if test "${ac_cv_prog_CC+set}" = set; then
    15491996  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15582005  test -z "$as_dir" && as_dir=.
    15592006  for ac_exec_ext in '' $ac_executable_extensions; do
    1560   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2007  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15612008    ac_cv_prog_CC="${ac_tool_prefix}cc"
    15622009    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15652012done
    15662013done
     2014IFS=$as_save_IFS
    15672015
    15682016fi
     
    15702018CC=$ac_cv_prog_CC
    15712019if test -n "$CC"; then
    1572   echo "$as_me:$LINENO: result: $CC" >&5
    1573 echo "${ECHO_T}$CC" >&6
    1574 else
    1575   echo "$as_me:$LINENO: result: no" >&5
    1576 echo "${ECHO_T}no" >&6
    1577 fi
    1578 
    1579 fi
    1580 if test -z "$ac_cv_prog_CC"; then
    1581   ac_ct_CC=$CC
    1582   # Extract the first word of "cc", so it can be a program name with args.
    1583 set dummy cc; ac_word=$2
    1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1587   echo $ECHO_N "(cached) $ECHO_C" >&6
    1588 else
    1589   if test -n "$ac_ct_CC"; then
    1590   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1591 else
    1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1593 for as_dir in $PATH
    1594 do
    1595   IFS=$as_save_IFS
    1596   test -z "$as_dir" && as_dir=.
    1597   for ac_exec_ext in '' $ac_executable_extensions; do
    1598   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1599     ac_cv_prog_ac_ct_CC="cc"
    1600     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1601     break 2
     2020  { echo "$as_me:$LINENO: result: $CC" >&5
     2021echo "${ECHO_T}$CC" >&6; }
     2022else
     2023  { echo "$as_me:$LINENO: result: no" >&5
     2024echo "${ECHO_T}no" >&6; }
     2025fi
     2026
     2027
    16022028  fi
    1603 done
    1604 done
    1605 
    1606 fi
    1607 fi
    1608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1609 if test -n "$ac_ct_CC"; then
    1610   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1611 echo "${ECHO_T}$ac_ct_CC" >&6
    1612 else
    1613   echo "$as_me:$LINENO: result: no" >&5
    1614 echo "${ECHO_T}no" >&6
    1615 fi
    1616 
    1617   CC=$ac_ct_CC
    1618 else
    1619   CC="$ac_cv_prog_CC"
    1620 fi
    1621 
    16222029fi
    16232030if test -z "$CC"; then
    16242031  # Extract the first word of "cc", so it can be a program name with args.
    16252032set dummy cc; ac_word=$2
    1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2033{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2034echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16282035if test "${ac_cv_prog_CC+set}" = set; then
    16292036  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16392046  test -z "$as_dir" && as_dir=.
    16402047  for ac_exec_ext in '' $ac_executable_extensions; do
    1641   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2048  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16422049    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    16432050       ac_prog_rejected=yes
     
    16502057done
    16512058done
     2059IFS=$as_save_IFS
    16522060
    16532061if test $ac_prog_rejected = yes; then
     
    16672075CC=$ac_cv_prog_CC
    16682076if test -n "$CC"; then
    1669   echo "$as_me:$LINENO: result: $CC" >&5
    1670 echo "${ECHO_T}$CC" >&6
    1671 else
    1672   echo "$as_me:$LINENO: result: no" >&5
    1673 echo "${ECHO_T}no" >&6
    1674 fi
     2077  { echo "$as_me:$LINENO: result: $CC" >&5
     2078echo "${ECHO_T}$CC" >&6; }
     2079else
     2080  { echo "$as_me:$LINENO: result: no" >&5
     2081echo "${ECHO_T}no" >&6; }
     2082fi
     2083
    16752084
    16762085fi
    16772086if test -z "$CC"; then
    16782087  if test -n "$ac_tool_prefix"; then
    1679   for ac_prog in cl
     2088  for ac_prog in cl.exe
    16802089  do
    16812090    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    16822091set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1683 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2092{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2093echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16852094if test "${ac_cv_prog_CC+set}" = set; then
    16862095  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16952104  test -z "$as_dir" && as_dir=.
    16962105  for ac_exec_ext in '' $ac_executable_extensions; do
    1697   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2106  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16982107    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    16992108    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17022111done
    17032112done
     2113IFS=$as_save_IFS
    17042114
    17052115fi
     
    17072117CC=$ac_cv_prog_CC
    17082118if test -n "$CC"; then
    1709   echo "$as_me:$LINENO: result: $CC" >&5
    1710 echo "${ECHO_T}$CC" >&6
    1711 else
    1712   echo "$as_me:$LINENO: result: no" >&5
    1713 echo "${ECHO_T}no" >&6
    1714 fi
     2119  { echo "$as_me:$LINENO: result: $CC" >&5
     2120echo "${ECHO_T}$CC" >&6; }
     2121else
     2122  { echo "$as_me:$LINENO: result: no" >&5
     2123echo "${ECHO_T}no" >&6; }
     2124fi
     2125
    17152126
    17162127    test -n "$CC" && break
     
    17192130if test -z "$CC"; then
    17202131  ac_ct_CC=$CC
    1721   for ac_prog in cl
     2132  for ac_prog in cl.exe
    17222133do
    17232134  # Extract the first word of "$ac_prog", so it can be a program name with args.
    17242135set dummy $ac_prog; ac_word=$2
    1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2136{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2137echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17272138if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    17282139  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17372148  test -z "$as_dir" && as_dir=.
    17382149  for ac_exec_ext in '' $ac_executable_extensions; do
    1739   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2150  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17402151    ac_cv_prog_ac_ct_CC="$ac_prog"
    17412152    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17442155done
    17452156done
     2157IFS=$as_save_IFS
    17462158
    17472159fi
     
    17492161ac_ct_CC=$ac_cv_prog_ac_ct_CC
    17502162if test -n "$ac_ct_CC"; then
    1751   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1752 echo "${ECHO_T}$ac_ct_CC" >&6
    1753 else
    1754   echo "$as_me:$LINENO: result: no" >&5
    1755 echo "${ECHO_T}no" >&6
    1756 fi
     2163  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2164echo "${ECHO_T}$ac_ct_CC" >&6; }
     2165else
     2166  { echo "$as_me:$LINENO: result: no" >&5
     2167echo "${ECHO_T}no" >&6; }
     2168fi
     2169
    17572170
    17582171  test -n "$ac_ct_CC" && break
    17592172done
    17602173
    1761   CC=$ac_ct_CC
     2174  if test "x$ac_ct_CC" = x; then
     2175    CC=""
     2176  else
     2177    case $cross_compiling:$ac_tool_warned in
     2178yes:)
     2179{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2180whose name does not start with the host triplet.  If you think this
     2181configuration is useful to you, please write to autoconf@gnu.org." >&5
     2182echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2183whose name does not start with the host triplet.  If you think this
     2184configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2185ac_tool_warned=yes ;;
     2186esac
     2187    CC=$ac_ct_CC
     2188  fi
    17622189fi
    17632190
     
    17722199
    17732200# Provide some information about the compiler.
    1774 echo "$as_me:$LINENO:" \
    1775      "checking for C compiler version" >&5
     2201echo "$as_me:$LINENO: checking for C compiler version" >&5
    17762202ac_compiler=`set X $ac_compile; echo $2`
    1777 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1778   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2203{ (ac_try="$ac_compiler --version >&5"
     2204case "(($ac_try" in
     2205  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2206  *) ac_try_echo=$ac_try;;
     2207esac
     2208eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2209  (eval "$ac_compiler --version >&5") 2>&5
    17792210  ac_status=$?
    17802211  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17812212  (exit $ac_status); }
    1782 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1783   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2213{ (ac_try="$ac_compiler -v >&5"
     2214case "(($ac_try" in
     2215  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2216  *) ac_try_echo=$ac_try;;
     2217esac
     2218eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2219  (eval "$ac_compiler -v >&5") 2>&5
    17842220  ac_status=$?
    17852221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17862222  (exit $ac_status); }
    1787 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1788   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2223{ (ac_try="$ac_compiler -V >&5"
     2224case "(($ac_try" in
     2225  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2226  *) ac_try_echo=$ac_try;;
     2227esac
     2228eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2229  (eval "$ac_compiler -V >&5") 2>&5
    17892230  ac_status=$?
    17902231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    18112252# It will help us diagnose broken compilers, and finding out an intuition
    18122253# of exeext.
    1813 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1814 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2254{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2255echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    18152256ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1816 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1817   (eval $ac_link_default) 2>&5
     2257#
     2258# List of possible output files, starting from the most likely.
     2259# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
     2260# only as a last resort.  b.out is created by i960 compilers.
     2261ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
     2262#
     2263# The IRIX 6 linker writes into existing files which may not be
     2264# executable, retaining their permissions.  Remove them first so a
     2265# subsequent execution test works.
     2266ac_rmfiles=
     2267for ac_file in $ac_files
     2268do
     2269  case $ac_file in
     2270    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     2271    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2272  esac
     2273done
     2274rm -f $ac_rmfiles
     2275
     2276if { (ac_try="$ac_link_default"
     2277case "(($ac_try" in
     2278  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2279  *) ac_try_echo=$ac_try;;
     2280esac
     2281eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2282  (eval "$ac_link_default") 2>&5
    18182283  ac_status=$?
    18192284  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18202285  (exit $ac_status); }; then
    1821   # Find the output, starting from the most likely.  This scheme is
    1822 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1823 # resort.
    1824 
    1825 # Be careful to initialize this variable, since it used to be cached.
    1826 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1827 ac_cv_exeext=
    1828 # b.out is created by i960 compilers.
    1829 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2286  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2287# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2288# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2289# so that the user can short-circuit this test for compilers unknown to
     2290# Autoconf.
     2291for ac_file in $ac_files ''
    18302292do
    18312293  test -f "$ac_file" || continue
    18322294  case $ac_file in
    1833     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1834     ;;
    1835     conftest.$ac_ext )
    1836     # This is the source file.
     2295    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    18372296    ;;
    18382297    [ab].out )
     
    18412300    break;;
    18422301    *.* )
    1843     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1844     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1845     # but it would be cool to find out if it's true.  Does anybody
    1846     # maintain Libtool? --akim.
    1847     export ac_cv_exeext
     2302        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2303    then :; else
     2304       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2305    fi
     2306    # We set ac_cv_exeext here because the later test for it is not
     2307    # safe: cross compilers may not add the suffix if given an `-o'
     2308    # argument, so we may need to know it at that point already.
     2309    # Even if this section looks crufty: it has the advantage of
     2310    # actually working.
    18482311    break;;
    18492312    * )
     
    18512314  esac
    18522315done
    1853 else
     2316test "$ac_cv_exeext" = no && ac_cv_exeext=
     2317
     2318else
     2319  ac_file=''
     2320fi
     2321
     2322{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2323echo "${ECHO_T}$ac_file" >&6; }
     2324if test -z "$ac_file"; then
    18542325  echo "$as_me: failed program was:" >&5
    18552326sed 's/^/| /' conftest.$ac_ext >&5
     
    18632334
    18642335ac_exeext=$ac_cv_exeext
    1865 echo "$as_me:$LINENO: result: $ac_file" >&5
    1866 echo "${ECHO_T}$ac_file" >&6
    1867 
    1868 # Check the compiler produces executables we can run.  If not, either
     2336
     2337# Check that the compiler produces executables we can run.  If not, either
    18692338# the compiler is broken, or we cross compile.
    1870 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1871 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2339{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2340echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    18722341# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    18732342# If not cross compiling, check that we can run a simple program.
    18742343if test "$cross_compiling" != yes; then
    18752344  if { ac_try='./$ac_file'
    1876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1877   (eval $ac_try) 2>&5
     2345  { (case "(($ac_try" in
     2346  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2347  *) ac_try_echo=$ac_try;;
     2348esac
     2349eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2350  (eval "$ac_try") 2>&5
    18782351  ac_status=$?
    18792352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    18942367  fi
    18952368fi
    1896 echo "$as_me:$LINENO: result: yes" >&5
    1897 echo "${ECHO_T}yes" >&6
     2369{ echo "$as_me:$LINENO: result: yes" >&5
     2370echo "${ECHO_T}yes" >&6; }
    18982371
    18992372rm -f a.out a.exe conftest$ac_cv_exeext b.out
    19002373ac_clean_files=$ac_clean_files_save
    1901 # Check the compiler produces executables we can run.  If not, either
     2374# Check that the compiler produces executables we can run.  If not, either
    19022375# the compiler is broken, or we cross compile.
    1903 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1904 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1905 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1906 echo "${ECHO_T}$cross_compiling" >&6
    1907 
    1908 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1909 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1911   (eval $ac_link) 2>&5
     2376{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2377echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2378{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2379echo "${ECHO_T}$cross_compiling" >&6; }
     2380
     2381{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2382echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
     2383if { (ac_try="$ac_link"
     2384case "(($ac_try" in
     2385  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2386  *) ac_try_echo=$ac_try;;
     2387esac
     2388eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2389  (eval "$ac_link") 2>&5
    19122390  ac_status=$?
    19132391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    19202398  test -f "$ac_file" || continue
    19212399  case $ac_file in
    1922     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2400    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    19232401    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1924       export ac_cv_exeext
    19252402      break;;
    19262403    * ) break;;
     
    19362413
    19372414rm -f conftest$ac_cv_exeext
    1938 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1939 echo "${ECHO_T}$ac_cv_exeext" >&6
     2415{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2416echo "${ECHO_T}$ac_cv_exeext" >&6; }
    19402417
    19412418rm -f conftest.$ac_ext
    19422419EXEEXT=$ac_cv_exeext
    19432420ac_exeext=$EXEEXT
    1944 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1945 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2421{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2422echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    19462423if test "${ac_cv_objext+set}" = set; then
    19472424  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19632440_ACEOF
    19642441rm -f conftest.o conftest.obj
    1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1966   (eval $ac_compile) 2>&5
     2442if { (ac_try="$ac_compile"
     2443case "(($ac_try" in
     2444  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2445  *) ac_try_echo=$ac_try;;
     2446esac
     2447eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2448  (eval "$ac_compile") 2>&5
    19672449  ac_status=$?
    19682450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19692451  (exit $ac_status); }; then
    1970   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2452  for ac_file in conftest.o conftest.obj conftest.*; do
     2453  test -f "$ac_file" || continue;
    19712454  case $ac_file in
    1972     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2455    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    19732456    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    19742457       break;;
     
    19882471rm -f conftest.$ac_cv_objext conftest.$ac_ext
    19892472fi
    1990 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1991 echo "${ECHO_T}$ac_cv_objext" >&6
     2473{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2474echo "${ECHO_T}$ac_cv_objext" >&6; }
    19922475OBJEXT=$ac_cv_objext
    19932476ac_objext=$OBJEXT
    1994 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    1995 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2477{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2478echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    19962479if test "${ac_cv_c_compiler_gnu+set}" = set; then
    19972480  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20162499_ACEOF
    20172500rm -f conftest.$ac_objext
    2018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2019   (eval $ac_compile) 2>conftest.er1
     2501if { (ac_try="$ac_compile"
     2502case "(($ac_try" in
     2503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2504  *) ac_try_echo=$ac_try;;
     2505esac
     2506eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2507  (eval "$ac_compile") 2>conftest.er1
    20202508  ac_status=$?
    20212509  grep -v '^ *+' conftest.er1 >conftest.err
     
    20232511  cat conftest.err >&5
    20242512  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2025   (exit $ac_status); } &&
    2026      { ac_try='test -z "$ac_c_werror_flag"
    2027              || test ! -s conftest.err'
    2028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2029   (eval $ac_try) 2>&5
    2030   ac_status=$?
    2031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2032   (exit $ac_status); }; } &&
    2033      { ac_try='test -s conftest.$ac_objext'
    2034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2035   (eval $ac_try) 2>&5
    2036   ac_status=$?
    2037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2038   (exit $ac_status); }; }; then
     2513  (exit $ac_status); } && {
     2514     test -z "$ac_c_werror_flag" ||
     2515     test ! -s conftest.err
     2516       } && test -s conftest.$ac_objext; then
    20392517  ac_compiler_gnu=yes
    20402518else
     
    20422520sed 's/^/| /' conftest.$ac_ext >&5
    20432521
    2044 ac_compiler_gnu=no
    2045 fi
    2046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2522    ac_compiler_gnu=no
     2523fi
     2524
     2525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    20472526ac_cv_c_compiler_gnu=$ac_compiler_gnu
    20482527
    20492528fi
    2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2529{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2530echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    20522531GCC=`test $ac_compiler_gnu = yes && echo yes`
    20532532ac_test_CFLAGS=${CFLAGS+set}
    20542533ac_save_CFLAGS=$CFLAGS
    2055 CFLAGS="-g"
    2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2534{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2535echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    20582536if test "${ac_cv_prog_cc_g+set}" = set; then
    20592537  echo $ECHO_N "(cached) $ECHO_C" >&6
    20602538else
    2061   cat >conftest.$ac_ext <<_ACEOF
     2539  ac_save_c_werror_flag=$ac_c_werror_flag
     2540   ac_c_werror_flag=yes
     2541   ac_cv_prog_cc_g=no
     2542   CFLAGS="-g"
     2543   cat >conftest.$ac_ext <<_ACEOF
    20622544/* confdefs.h.  */
    20632545_ACEOF
     
    20752557_ACEOF
    20762558rm -f conftest.$ac_objext
    2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2078   (eval $ac_compile) 2>conftest.er1
     2559if { (ac_try="$ac_compile"
     2560case "(($ac_try" in
     2561  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2562  *) ac_try_echo=$ac_try;;
     2563esac
     2564eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2565  (eval "$ac_compile") 2>conftest.er1
    20792566  ac_status=$?
    20802567  grep -v '^ *+' conftest.er1 >conftest.err
     
    20822569  cat conftest.err >&5
    20832570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2084   (exit $ac_status); } &&
    2085      { ac_try='test -z "$ac_c_werror_flag"
    2086              || test ! -s conftest.err'
    2087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2088   (eval $ac_try) 2>&5
    2089   ac_status=$?
    2090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2091   (exit $ac_status); }; } &&
    2092      { ac_try='test -s conftest.$ac_objext'
    2093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2094   (eval $ac_try) 2>&5
    2095   ac_status=$?
    2096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2097   (exit $ac_status); }; }; then
     2571  (exit $ac_status); } && {
     2572     test -z "$ac_c_werror_flag" ||
     2573     test ! -s conftest.err
     2574       } && test -s conftest.$ac_objext; then
    20982575  ac_cv_prog_cc_g=yes
    20992576else
     
    21012578sed 's/^/| /' conftest.$ac_ext >&5
    21022579
    2103 ac_cv_prog_cc_g=no
    2104 fi
    2105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2106 fi
    2107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2108 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2580    CFLAGS=""
     2581      cat >conftest.$ac_ext <<_ACEOF
     2582/* confdefs.h.  */
     2583_ACEOF
     2584cat confdefs.h >>conftest.$ac_ext
     2585cat >>conftest.$ac_ext <<_ACEOF
     2586/* end confdefs.h.  */
     2587
     2588int
     2589main ()
     2590{
     2591
     2592  ;
     2593  return 0;
     2594}
     2595_ACEOF
     2596rm -f conftest.$ac_objext
     2597if { (ac_try="$ac_compile"
     2598case "(($ac_try" in
     2599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2600  *) ac_try_echo=$ac_try;;
     2601esac
     2602eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2603  (eval "$ac_compile") 2>conftest.er1
     2604  ac_status=$?
     2605  grep -v '^ *+' conftest.er1 >conftest.err
     2606  rm -f conftest.er1
     2607  cat conftest.err >&5
     2608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2609  (exit $ac_status); } && {
     2610     test -z "$ac_c_werror_flag" ||
     2611     test ! -s conftest.err
     2612       } && test -s conftest.$ac_objext; then
     2613  :
     2614else
     2615  echo "$as_me: failed program was:" >&5
     2616sed 's/^/| /' conftest.$ac_ext >&5
     2617
     2618    ac_c_werror_flag=$ac_save_c_werror_flag
     2619     CFLAGS="-g"
     2620     cat >conftest.$ac_ext <<_ACEOF
     2621/* confdefs.h.  */
     2622_ACEOF
     2623cat confdefs.h >>conftest.$ac_ext
     2624cat >>conftest.$ac_ext <<_ACEOF
     2625/* end confdefs.h.  */
     2626
     2627int
     2628main ()
     2629{
     2630
     2631  ;
     2632  return 0;
     2633}
     2634_ACEOF
     2635rm -f conftest.$ac_objext
     2636if { (ac_try="$ac_compile"
     2637case "(($ac_try" in
     2638  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2639  *) ac_try_echo=$ac_try;;
     2640esac
     2641eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2642  (eval "$ac_compile") 2>conftest.er1
     2643  ac_status=$?
     2644  grep -v '^ *+' conftest.er1 >conftest.err
     2645  rm -f conftest.er1
     2646  cat conftest.err >&5
     2647  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2648  (exit $ac_status); } && {
     2649     test -z "$ac_c_werror_flag" ||
     2650     test ! -s conftest.err
     2651       } && test -s conftest.$ac_objext; then
     2652  ac_cv_prog_cc_g=yes
     2653else
     2654  echo "$as_me: failed program was:" >&5
     2655sed 's/^/| /' conftest.$ac_ext >&5
     2656
     2657
     2658fi
     2659
     2660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2661fi
     2662
     2663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2664fi
     2665
     2666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2667   ac_c_werror_flag=$ac_save_c_werror_flag
     2668fi
     2669{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2670echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    21092671if test "$ac_test_CFLAGS" = set; then
    21102672  CFLAGS=$ac_save_CFLAGS
     
    21222684  fi
    21232685fi
    2124 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2125 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2126 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2686{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2687echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     2688if test "${ac_cv_prog_cc_c89+set}" = set; then
    21272689  echo $ECHO_N "(cached) $ECHO_C" >&6
    21282690else
    2129   ac_cv_prog_cc_stdc=no
     2691  ac_cv_prog_cc_c89=no
    21302692ac_save_CC=$CC
    21312693cat >conftest.$ac_ext <<_ACEOF
     
    21612723   function prototypes and stuff, but not '\xHH' hex character constants.
    21622724   These don't provoke an error unfortunately, instead are silently treated
    2163    as 'x'.  The following induces an error, until -std1 is added to get
     2725   as 'x'.  The following induces an error, until -std is added to get
    21642726   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    21652727   array size at least.  It's necessary to write '\x00'==0 to get something
    2166    that's true only with -std1.  */
     2728   that's true only with -std.  */
    21672729int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2730
     2731/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2732   inside strings and character constants.  */
     2733#define FOO(x) 'x'
     2734int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    21682735
    21692736int test (int i, double x);
     
    21812748}
    21822749_ACEOF
    2183 # Don't try gcc -ansi; that turns off useful extensions and
    2184 # breaks some systems' header files.
    2185 # AIX           -qlanglvl=ansi
    2186 # Ultrix and OSF/1  -std1
    2187 # HP-UX 10.20 and later -Ae
    2188 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2189 # SVR4          -Xc -D__EXTENSIONS__
    2190 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2750for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2751    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    21912752do
    21922753  CC="$ac_save_CC $ac_arg"
    21932754  rm -f conftest.$ac_objext
    2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2195   (eval $ac_compile) 2>conftest.er1
     2755if { (ac_try="$ac_compile"
     2756case "(($ac_try" in
     2757  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2758  *) ac_try_echo=$ac_try;;
     2759esac
     2760eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2761  (eval "$ac_compile") 2>conftest.er1
    21962762  ac_status=$?
    21972763  grep -v '^ *+' conftest.er1 >conftest.err
     
    21992765  cat conftest.err >&5
    22002766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2201   (exit $ac_status); } &&
    2202      { ac_try='test -z "$ac_c_werror_flag"
    2203              || test ! -s conftest.err'
    2204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2205   (eval $ac_try) 2>&5
    2206   ac_status=$?
    2207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2208   (exit $ac_status); }; } &&
    2209      { ac_try='test -s conftest.$ac_objext'
    2210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2211   (eval $ac_try) 2>&5
    2212   ac_status=$?
    2213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2214   (exit $ac_status); }; }; then
    2215   ac_cv_prog_cc_stdc=$ac_arg
    2216 break
     2767  (exit $ac_status); } && {
     2768     test -z "$ac_c_werror_flag" ||
     2769     test ! -s conftest.err
     2770       } && test -s conftest.$ac_objext; then
     2771  ac_cv_prog_cc_c89=$ac_arg
    22172772else
    22182773  echo "$as_me: failed program was:" >&5
    22192774sed 's/^/| /' conftest.$ac_ext >&5
    22202775
    2221 fi
    2222 rm -f conftest.err conftest.$ac_objext
     2776
     2777fi
     2778
     2779rm -f core conftest.err conftest.$ac_objext
     2780  test "x$ac_cv_prog_cc_c89" != "xno" && break
    22232781done
    2224 rm -f conftest.$ac_ext conftest.$ac_objext
     2782rm -f conftest.$ac_ext
    22252783CC=$ac_save_CC
    22262784
    22272785fi
    2228 
    2229 case "x$ac_cv_prog_cc_stdc" in
    2230   x|xno)
    2231     echo "$as_me:$LINENO: result: none needed" >&5
    2232 echo "${ECHO_T}none needed" >&6 ;;
     2786# AC_CACHE_VAL
     2787case "x$ac_cv_prog_cc_c89" in
     2788  x)
     2789    { echo "$as_me:$LINENO: result: none needed" >&5
     2790echo "${ECHO_T}none needed" >&6; } ;;
     2791  xno)
     2792    { echo "$as_me:$LINENO: result: unsupported" >&5
     2793echo "${ECHO_T}unsupported" >&6; } ;;
    22332794  *)
    2234     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2236     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2237 esac
    2238 
    2239 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2240 # in C++ we need to declare it.  In case someone uses the same compiler
    2241 # for both compiling C and C++ we need to have the C++ compiler decide
    2242 # the declaration of exit, since it's the most demanding environment.
    2243 cat >conftest.$ac_ext <<_ACEOF
    2244 #ifndef __cplusplus
    2245   choke me
    2246 #endif
    2247 _ACEOF
    2248 rm -f conftest.$ac_objext
    2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2250   (eval $ac_compile) 2>conftest.er1
    2251   ac_status=$?
    2252   grep -v '^ *+' conftest.er1 >conftest.err
    2253   rm -f conftest.er1
    2254   cat conftest.err >&5
    2255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2256   (exit $ac_status); } &&
    2257      { ac_try='test -z "$ac_c_werror_flag"
    2258              || test ! -s conftest.err'
    2259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2260   (eval $ac_try) 2>&5
    2261   ac_status=$?
    2262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2263   (exit $ac_status); }; } &&
    2264      { ac_try='test -s conftest.$ac_objext'
    2265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2266   (eval $ac_try) 2>&5
    2267   ac_status=$?
    2268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2269   (exit $ac_status); }; }; then
    2270   for ac_declaration in \
    2271    '' \
    2272    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2273    'extern "C" void std::exit (int); using std::exit;' \
    2274    'extern "C" void exit (int) throw ();' \
    2275    'extern "C" void exit (int);' \
    2276    'void exit (int);'
    2277 do
    2278   cat >conftest.$ac_ext <<_ACEOF
    2279 /* confdefs.h.  */
    2280 _ACEOF
    2281 cat confdefs.h >>conftest.$ac_ext
    2282 cat >>conftest.$ac_ext <<_ACEOF
    2283 /* end confdefs.h.  */
    2284 $ac_declaration
    2285 #include <stdlib.h>
    2286 int
    2287 main ()
    2288 {
    2289 exit (42);
    2290   ;
    2291   return 0;
    2292 }
    2293 _ACEOF
    2294 rm -f conftest.$ac_objext
    2295 if { (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   :
    2317 else
    2318   echo "$as_me: failed program was:" >&5
    2319 sed 's/^/| /' conftest.$ac_ext >&5
    2320 
    2321 continue
    2322 fi
    2323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2324   cat >conftest.$ac_ext <<_ACEOF
    2325 /* confdefs.h.  */
    2326 _ACEOF
    2327 cat confdefs.h >>conftest.$ac_ext
    2328 cat >>conftest.$ac_ext <<_ACEOF
    2329 /* end confdefs.h.  */
    2330 $ac_declaration
    2331 int
    2332 main ()
    2333 {
    2334 exit (42);
    2335   ;
    2336   return 0;
    2337 }
    2338 _ACEOF
    2339 rm -f conftest.$ac_objext
    2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2341   (eval $ac_compile) 2>conftest.er1
    2342   ac_status=$?
    2343   grep -v '^ *+' conftest.er1 >conftest.err
    2344   rm -f conftest.er1
    2345   cat conftest.err >&5
    2346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2347   (exit $ac_status); } &&
    2348      { ac_try='test -z "$ac_c_werror_flag"
    2349              || test ! -s conftest.err'
    2350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2351   (eval $ac_try) 2>&5
    2352   ac_status=$?
    2353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2354   (exit $ac_status); }; } &&
    2355      { ac_try='test -s conftest.$ac_objext'
    2356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2357   (eval $ac_try) 2>&5
    2358   ac_status=$?
    2359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2360   (exit $ac_status); }; }; then
    2361   break
    2362 else
    2363   echo "$as_me: failed program was:" >&5
    2364 sed 's/^/| /' conftest.$ac_ext >&5
    2365 
    2366 fi
    2367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2368 done
    2369 rm -f conftest*
    2370 if test -n "$ac_declaration"; then
    2371   echo '#ifdef __cplusplus' >>confdefs.h
    2372   echo $ac_declaration      >>confdefs.h
    2373   echo '#endif'             >>confdefs.h
    2374 fi
    2375 
    2376 else
    2377   echo "$as_me: failed program was:" >&5
    2378 sed 's/^/| /' conftest.$ac_ext >&5
    2379 
    2380 fi
    2381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2795    CC="$CC $ac_cv_prog_cc_c89"
     2796    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     2797echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2798esac
     2799
     2800
    23822801ac_ext=c
    23832802ac_cpp='$CPP $CPPFLAGS'
     
    23862805ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23872806
    2388 ac_ext=cc
     2807ac_ext=cpp
    23892808ac_cpp='$CXXCPP $CPPFLAGS'
    23902809ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23912810ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23922811ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2393 if test -n "$ac_tool_prefix"; then
    2394   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2812if test -z "$CXX"; then
     2813  if test -n "$CCC"; then
     2814    CXX=$CCC
     2815  else
     2816    if test -n "$ac_tool_prefix"; then
     2817  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    23952818  do
    23962819    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    23972820set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2398 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2821{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2822echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    24002823if test "${ac_cv_prog_CXX+set}" = set; then
    24012824  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24102833  test -z "$as_dir" && as_dir=.
    24112834  for ac_exec_ext in '' $ac_executable_extensions; do
    2412   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2835  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24132836    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    24142837    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24172840done
    24182841done
     2842IFS=$as_save_IFS
    24192843
    24202844fi
     
    24222846CXX=$ac_cv_prog_CXX
    24232847if test -n "$CXX"; then
    2424   echo "$as_me:$LINENO: result: $CXX" >&5
    2425 echo "${ECHO_T}$CXX" >&6
    2426 else
    2427   echo "$as_me:$LINENO: result: no" >&5
    2428 echo "${ECHO_T}no" >&6
    2429 fi
     2848  { echo "$as_me:$LINENO: result: $CXX" >&5
     2849echo "${ECHO_T}$CXX" >&6; }
     2850else
     2851  { echo "$as_me:$LINENO: result: no" >&5
     2852echo "${ECHO_T}no" >&6; }
     2853fi
     2854
    24302855
    24312856    test -n "$CXX" && break
     
    24342859if test -z "$CXX"; then
    24352860  ac_ct_CXX=$CXX
    2436   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2861  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    24372862do
    24382863  # Extract the first word of "$ac_prog", so it can be a program name with args.
    24392864set dummy $ac_prog; ac_word=$2
    2440 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2865{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2866echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    24422867if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    24432868  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24522877  test -z "$as_dir" && as_dir=.
    24532878  for ac_exec_ext in '' $ac_executable_extensions; do
    2454   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2879  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24552880    ac_cv_prog_ac_ct_CXX="$ac_prog"
    24562881    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24592884done
    24602885done
     2886IFS=$as_save_IFS
    24612887
    24622888fi
     
    24642890ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    24652891if test -n "$ac_ct_CXX"; then
    2466   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2467 echo "${ECHO_T}$ac_ct_CXX" >&6
    2468 else
    2469   echo "$as_me:$LINENO: result: no" >&5
    2470 echo "${ECHO_T}no" >&6
    2471 fi
     2892  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2893echo "${ECHO_T}$ac_ct_CXX" >&6; }
     2894else
     2895  { echo "$as_me:$LINENO: result: no" >&5
     2896echo "${ECHO_T}no" >&6; }
     2897fi
     2898
    24722899
    24732900  test -n "$ac_ct_CXX" && break
    24742901done
    2475 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2476 
    2477   CXX=$ac_ct_CXX
    2478 fi
    2479 
    2480 
     2902
     2903  if test "x$ac_ct_CXX" = x; then
     2904    CXX="g++"
     2905  else
     2906    case $cross_compiling:$ac_tool_warned in
     2907yes:)
     2908{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2909whose name does not start with the host triplet.  If you think this
     2910configuration is useful to you, please write to autoconf@gnu.org." >&5
     2911echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2912whose name does not start with the host triplet.  If you think this
     2913configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2914ac_tool_warned=yes ;;
     2915esac
     2916    CXX=$ac_ct_CXX
     2917  fi
     2918fi
     2919
     2920  fi
     2921fi
    24812922# Provide some information about the compiler.
    2482 echo "$as_me:$LINENO:" \
    2483      "checking for C++ compiler version" >&5
     2923echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    24842924ac_compiler=`set X $ac_compile; echo $2`
    2485 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2486   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2925{ (ac_try="$ac_compiler --version >&5"
     2926case "(($ac_try" in
     2927  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2928  *) ac_try_echo=$ac_try;;
     2929esac
     2930eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2931  (eval "$ac_compiler --version >&5") 2>&5
    24872932  ac_status=$?
    24882933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24892934  (exit $ac_status); }
    2490 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2491   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2935{ (ac_try="$ac_compiler -v >&5"
     2936case "(($ac_try" in
     2937  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2938  *) ac_try_echo=$ac_try;;
     2939esac
     2940eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2941  (eval "$ac_compiler -v >&5") 2>&5
    24922942  ac_status=$?
    24932943  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24942944  (exit $ac_status); }
    2495 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2496   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2945{ (ac_try="$ac_compiler -V >&5"
     2946case "(($ac_try" in
     2947  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2948  *) ac_try_echo=$ac_try;;
     2949esac
     2950eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2951  (eval "$ac_compiler -V >&5") 2>&5
    24972952  ac_status=$?
    24982953  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24992954  (exit $ac_status); }
    25002955
    2501 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2502 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2956{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2957echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    25032958if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    25042959  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    25232978_ACEOF
    25242979rm -f conftest.$ac_objext
    2525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2526   (eval $ac_compile) 2>conftest.er1
     2980if { (ac_try="$ac_compile"
     2981case "(($ac_try" in
     2982  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2983  *) ac_try_echo=$ac_try;;
     2984esac
     2985eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2986  (eval "$ac_compile") 2>conftest.er1
    25272987  ac_status=$?
    25282988  grep -v '^ *+' conftest.er1 >conftest.err
     
    25302990  cat conftest.err >&5
    25312991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2532   (exit $ac_status); } &&
    2533      { ac_try='test -z "$ac_cxx_werror_flag"
    2534              || test ! -s conftest.err'
    2535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2536   (eval $ac_try) 2>&5
    2537   ac_status=$?
    2538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2539   (exit $ac_status); }; } &&
    2540      { ac_try='test -s conftest.$ac_objext'
    2541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2542   (eval $ac_try) 2>&5
    2543   ac_status=$?
    2544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2545   (exit $ac_status); }; }; then
     2992  (exit $ac_status); } && {
     2993     test -z "$ac_cxx_werror_flag" ||
     2994     test ! -s conftest.err
     2995       } && test -s conftest.$ac_objext; then
    25462996  ac_compiler_gnu=yes
    25472997else
     
    25492999sed 's/^/| /' conftest.$ac_ext >&5
    25503000
    2551 ac_compiler_gnu=no
    2552 fi
    2553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3001    ac_compiler_gnu=no
     3002fi
     3003
     3004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25543005ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    25553006
    25563007fi
    2557 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2558 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     3008{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3009echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    25593010GXX=`test $ac_compiler_gnu = yes && echo yes`
    25603011ac_test_CXXFLAGS=${CXXFLAGS+set}
    25613012ac_save_CXXFLAGS=$CXXFLAGS
    2562 CXXFLAGS="-g"
    2563 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2564 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3013{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3014echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    25653015if test "${ac_cv_prog_cxx_g+set}" = set; then
    25663016  echo $ECHO_N "(cached) $ECHO_C" >&6
    25673017else
    2568   cat >conftest.$ac_ext <<_ACEOF
     3018  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3019   ac_cxx_werror_flag=yes
     3020   ac_cv_prog_cxx_g=no
     3021   CXXFLAGS="-g"
     3022   cat >conftest.$ac_ext <<_ACEOF
    25693023/* confdefs.h.  */
    25703024_ACEOF
     
    25823036_ACEOF
    25833037rm -f conftest.$ac_objext
    2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2585   (eval $ac_compile) 2>conftest.er1
     3038if { (ac_try="$ac_compile"
     3039case "(($ac_try" in
     3040  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3041  *) ac_try_echo=$ac_try;;
     3042esac
     3043eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3044  (eval "$ac_compile") 2>conftest.er1
    25863045  ac_status=$?
    25873046  grep -v '^ *+' conftest.er1 >conftest.err
     
    25893048  cat conftest.err >&5
    25903049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2591   (exit $ac_status); } &&
    2592      { ac_try='test -z "$ac_cxx_werror_flag"
    2593              || test ! -s conftest.err'
    2594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2595   (eval $ac_try) 2>&5
    2596   ac_status=$?
    2597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2598   (exit $ac_status); }; } &&
    2599      { ac_try='test -s conftest.$ac_objext'
    2600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2601   (eval $ac_try) 2>&5
    2602   ac_status=$?
    2603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2604   (exit $ac_status); }; }; then
     3050  (exit $ac_status); } && {
     3051     test -z "$ac_cxx_werror_flag" ||
     3052     test ! -s conftest.err
     3053       } && test -s conftest.$ac_objext; then
    26053054  ac_cv_prog_cxx_g=yes
    26063055else
     
    26083057sed 's/^/| /' conftest.$ac_ext >&5
    26093058
    2610 ac_cv_prog_cxx_g=no
    2611 fi
    2612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2613 fi
    2614 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2615 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3059    CXXFLAGS=""
     3060      cat >conftest.$ac_ext <<_ACEOF
     3061/* confdefs.h.  */
     3062_ACEOF
     3063cat confdefs.h >>conftest.$ac_ext
     3064cat >>conftest.$ac_ext <<_ACEOF
     3065/* end confdefs.h.  */
     3066
     3067int
     3068main ()
     3069{
     3070
     3071  ;
     3072  return 0;
     3073}
     3074_ACEOF
     3075rm -f conftest.$ac_objext
     3076if { (ac_try="$ac_compile"
     3077case "(($ac_try" in
     3078  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3079  *) ac_try_echo=$ac_try;;
     3080esac
     3081eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3082  (eval "$ac_compile") 2>conftest.er1
     3083  ac_status=$?
     3084  grep -v '^ *+' conftest.er1 >conftest.err
     3085  rm -f conftest.er1
     3086  cat conftest.err >&5
     3087  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3088  (exit $ac_status); } && {
     3089     test -z "$ac_cxx_werror_flag" ||
     3090     test ! -s conftest.err
     3091       } && test -s conftest.$ac_objext; then
     3092  :
     3093else
     3094  echo "$as_me: failed program was:" >&5
     3095sed 's/^/| /' conftest.$ac_ext >&5
     3096
     3097    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3098     CXXFLAGS="-g"
     3099     cat >conftest.$ac_ext <<_ACEOF
     3100/* confdefs.h.  */
     3101_ACEOF
     3102cat confdefs.h >>conftest.$ac_ext
     3103cat >>conftest.$ac_ext <<_ACEOF
     3104/* end confdefs.h.  */
     3105
     3106int
     3107main ()
     3108{
     3109
     3110  ;
     3111  return 0;
     3112}
     3113_ACEOF
     3114rm -f conftest.$ac_objext
     3115if { (ac_try="$ac_compile"
     3116case "(($ac_try" in
     3117  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3118  *) ac_try_echo=$ac_try;;
     3119esac
     3120eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3121  (eval "$ac_compile") 2>conftest.er1
     3122  ac_status=$?
     3123  grep -v '^ *+' conftest.er1 >conftest.err
     3124  rm -f conftest.er1
     3125  cat conftest.err >&5
     3126  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3127  (exit $ac_status); } && {
     3128     test -z "$ac_cxx_werror_flag" ||
     3129     test ! -s conftest.err
     3130       } && test -s conftest.$ac_objext; then
     3131  ac_cv_prog_cxx_g=yes
     3132else
     3133  echo "$as_me: failed program was:" >&5
     3134sed 's/^/| /' conftest.$ac_ext >&5
     3135
     3136
     3137fi
     3138
     3139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3140fi
     3141
     3142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3143fi
     3144
     3145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3146   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3147fi
     3148{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3149echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
    26163150if test "$ac_test_CXXFLAGS" = set; then
    26173151  CXXFLAGS=$ac_save_CXXFLAGS
     
    26293163  fi
    26303164fi
    2631 for ac_declaration in \
    2632    '' \
    2633    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2634    'extern "C" void std::exit (int); using std::exit;' \
    2635    'extern "C" void exit (int) throw ();' \
    2636    'extern "C" void exit (int);' \
    2637    'void exit (int);'
    2638 do
    2639   cat >conftest.$ac_ext <<_ACEOF
    2640 /* confdefs.h.  */
    2641 _ACEOF
    2642 cat confdefs.h >>conftest.$ac_ext
    2643 cat >>conftest.$ac_ext <<_ACEOF
    2644 /* end confdefs.h.  */
    2645 $ac_declaration
    2646 #include <stdlib.h>
    2647 int
    2648 main ()
    2649 {
    2650 exit (42);
    2651   ;
    2652   return 0;
    2653 }
    2654 _ACEOF
    2655 rm -f conftest.$ac_objext
    2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2657   (eval $ac_compile) 2>conftest.er1
    2658   ac_status=$?
    2659   grep -v '^ *+' conftest.er1 >conftest.err
    2660   rm -f conftest.er1
    2661   cat conftest.err >&5
    2662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2663   (exit $ac_status); } &&
    2664      { ac_try='test -z "$ac_cxx_werror_flag"
    2665              || test ! -s conftest.err'
    2666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2667   (eval $ac_try) 2>&5
    2668   ac_status=$?
    2669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2670   (exit $ac_status); }; } &&
    2671      { ac_try='test -s conftest.$ac_objext'
    2672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2673   (eval $ac_try) 2>&5
    2674   ac_status=$?
    2675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2676   (exit $ac_status); }; }; then
    2677   :
    2678 else
    2679   echo "$as_me: failed program was:" >&5
    2680 sed 's/^/| /' conftest.$ac_ext >&5
    2681 
    2682 continue
    2683 fi
    2684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2685   cat >conftest.$ac_ext <<_ACEOF
    2686 /* confdefs.h.  */
    2687 _ACEOF
    2688 cat confdefs.h >>conftest.$ac_ext
    2689 cat >>conftest.$ac_ext <<_ACEOF
    2690 /* end confdefs.h.  */
    2691 $ac_declaration
    2692 int
    2693 main ()
    2694 {
    2695 exit (42);
    2696   ;
    2697   return 0;
    2698 }
    2699 _ACEOF
    2700 rm -f conftest.$ac_objext
    2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2702   (eval $ac_compile) 2>conftest.er1
    2703   ac_status=$?
    2704   grep -v '^ *+' conftest.er1 >conftest.err
    2705   rm -f conftest.er1
    2706   cat conftest.err >&5
    2707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2708   (exit $ac_status); } &&
    2709      { ac_try='test -z "$ac_cxx_werror_flag"
    2710              || test ! -s conftest.err'
    2711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2712   (eval $ac_try) 2>&5
    2713   ac_status=$?
    2714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2715   (exit $ac_status); }; } &&
    2716      { ac_try='test -s conftest.$ac_objext'
    2717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2718   (eval $ac_try) 2>&5
    2719   ac_status=$?
    2720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2721   (exit $ac_status); }; }; then
    2722   break
    2723 else
    2724   echo "$as_me: failed program was:" >&5
    2725 sed 's/^/| /' conftest.$ac_ext >&5
    2726 
    2727 fi
    2728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2729 done
    2730 rm -f conftest*
    2731 if test -n "$ac_declaration"; then
    2732   echo '#ifdef __cplusplus' >>confdefs.h
    2733   echo $ac_declaration      >>confdefs.h
    2734   echo '#endif'             >>confdefs.h
    2735 fi
    2736 
    27373165ac_ext=c
    27383166ac_cpp='$CPP $CPPFLAGS'
     
    27453173  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27463174set dummy $ac_prog; ac_word=$2
    2747 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3175{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3176echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    27493177if test "${ac_cv_prog_AWK+set}" = set; then
    27503178  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27593187  test -z "$as_dir" && as_dir=.
    27603188  for ac_exec_ext in '' $ac_executable_extensions; do
    2761   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3189  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27623190    ac_cv_prog_AWK="$ac_prog"
    27633191    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27663194done
    27673195done
     3196IFS=$as_save_IFS
    27683197
    27693198fi
     
    27713200AWK=$ac_cv_prog_AWK
    27723201if test -n "$AWK"; then
    2773   echo "$as_me:$LINENO: result: $AWK" >&5
    2774 echo "${ECHO_T}$AWK" >&6
    2775 else
    2776   echo "$as_me:$LINENO: result: no" >&5
    2777 echo "${ECHO_T}no" >&6
    2778 fi
     3202  { echo "$as_me:$LINENO: result: $AWK" >&5
     3203echo "${ECHO_T}$AWK" >&6; }
     3204else
     3205  { echo "$as_me:$LINENO: result: no" >&5
     3206echo "${ECHO_T}no" >&6; }
     3207fi
     3208
    27793209
    27803210  test -n "$AWK" && break
     
    27853215  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27863216set dummy $ac_prog; ac_word=$2
    2787 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3217{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3218echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    27893219if test "${ac_cv_prog_YACC+set}" = set; then
    27903220  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27993229  test -z "$as_dir" && as_dir=.
    28003230  for ac_exec_ext in '' $ac_executable_extensions; do
    2801   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3231  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28023232    ac_cv_prog_YACC="$ac_prog"
    28033233    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28063236done
    28073237done
     3238IFS=$as_save_IFS
    28083239
    28093240fi
     
    28113242YACC=$ac_cv_prog_YACC
    28123243if test -n "$YACC"; then
    2813   echo "$as_me:$LINENO: result: $YACC" >&5
    2814 echo "${ECHO_T}$YACC" >&6
    2815 else
    2816   echo "$as_me:$LINENO: result: no" >&5
    2817 echo "${ECHO_T}no" >&6
    2818 fi
     3244  { echo "$as_me:$LINENO: result: $YACC" >&5
     3245echo "${ECHO_T}$YACC" >&6; }
     3246else
     3247  { echo "$as_me:$LINENO: result: no" >&5
     3248echo "${ECHO_T}no" >&6; }
     3249fi
     3250
    28193251
    28203252  test -n "$YACC" && break
     
    28233255
    28243256ac_aux_dir=
    2825 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    2826   if test -f $ac_dir/install-sh; then
     3257for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     3258  if test -f "$ac_dir/install-sh"; then
    28273259    ac_aux_dir=$ac_dir
    28283260    ac_install_sh="$ac_aux_dir/install-sh -c"
    28293261    break
    2830   elif test -f $ac_dir/install.sh; then
     3262  elif test -f "$ac_dir/install.sh"; then
    28313263    ac_aux_dir=$ac_dir
    28323264    ac_install_sh="$ac_aux_dir/install.sh -c"
    28333265    break
    2834   elif test -f $ac_dir/shtool; then
     3266  elif test -f "$ac_dir/shtool"; then
    28353267    ac_aux_dir=$ac_dir
    28363268    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    28393271done
    28403272if test -z "$ac_aux_dir"; then
    2841   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2842 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     3273  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     3274echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    28433275   { (exit 1); exit 1; }; }
    28443276fi
    2845 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2846 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2847 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     3277
     3278# These three variables are undocumented and unsupported,
     3279# and are intended to be withdrawn in a future Autoconf release.
     3280# They can cause serious problems if a builder's source tree is in a directory
     3281# whose full name contains unusual characters.
     3282ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     3283ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     3284ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     3285
    28483286
    28493287# Make sure we can run config.sub.
    2850 $ac_config_sub sun4 >/dev/null 2>&1 ||
    2851   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    2852 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     3288$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     3289  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     3290echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    28533291   { (exit 1); exit 1; }; }
    28543292
    2855 echo "$as_me:$LINENO: checking build system type" >&5
    2856 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     3293{ echo "$as_me:$LINENO: checking build system type" >&5
     3294echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
    28573295if test "${ac_cv_build+set}" = set; then
    28583296  echo $ECHO_N "(cached) $ECHO_C" >&6
    28593297else
    2860   ac_cv_build_alias=$build_alias
    2861 test -z "$ac_cv_build_alias" &&
    2862   ac_cv_build_alias=`$ac_config_guess`
    2863 test -z "$ac_cv_build_alias" &&
     3298  ac_build_alias=$build_alias
     3299test "x$ac_build_alias" = x &&
     3300  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     3301test "x$ac_build_alias" = x &&
    28643302  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    28653303echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    28663304   { (exit 1); exit 1; }; }
    2867 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    2868   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    2869 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     3305ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     3306  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     3307echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    28703308   { (exit 1); exit 1; }; }
    28713309
    28723310fi
    2873 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    2874 echo "${ECHO_T}$ac_cv_build" >&6
     3311{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     3312echo "${ECHO_T}$ac_cv_build" >&6; }
     3313case $ac_cv_build in
     3314*-*-*) ;;
     3315*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     3316echo "$as_me: error: invalid value of canonical build" >&2;}
     3317   { (exit 1); exit 1; }; };;
     3318esac
    28753319build=$ac_cv_build
    2876 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2877 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2878 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2879 
    2880 
    2881 echo "$as_me:$LINENO: checking host system type" >&5
    2882 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     3320ac_save_IFS=$IFS; IFS='-'
     3321set x $ac_cv_build
     3322shift
     3323build_cpu=$1
     3324build_vendor=$2
     3325shift; shift
     3326# Remember, the first character of IFS is used to create $*,
     3327# except with old shells:
     3328build_os=$*
     3329IFS=$ac_save_IFS
     3330case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     3331
     3332
     3333{ echo "$as_me:$LINENO: checking host system type" >&5
     3334echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
    28833335if test "${ac_cv_host+set}" = set; then
    28843336  echo $ECHO_N "(cached) $ECHO_C" >&6
    28853337else
    2886   ac_cv_host_alias=$host_alias
    2887 test -z "$ac_cv_host_alias" &&
    2888   ac_cv_host_alias=$ac_cv_build_alias
    2889 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    2890   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    2891 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     3338  if test "x$host_alias" = x; then
     3339  ac_cv_host=$ac_cv_build
     3340else
     3341  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     3342    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     3343echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    28923344   { (exit 1); exit 1; }; }
    2893 
    2894 fi
    2895 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    2896 echo "${ECHO_T}$ac_cv_host" >&6
     3345fi
     3346
     3347fi
     3348{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     3349echo "${ECHO_T}$ac_cv_host" >&6; }
     3350case $ac_cv_host in
     3351*-*-*) ;;
     3352*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     3353echo "$as_me: error: invalid value of canonical host" >&2;}
     3354   { (exit 1); exit 1; }; };;
     3355esac
    28973356host=$ac_cv_host
    2898 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2899 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2900 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2901 
    2902 
    2903 echo "$as_me:$LINENO: checking target system type" >&5
    2904 echo $ECHO_N "checking target system type... $ECHO_C" >&6
     3357ac_save_IFS=$IFS; IFS='-'
     3358set x $ac_cv_host
     3359shift
     3360host_cpu=$1
     3361host_vendor=$2
     3362shift; shift
     3363# Remember, the first character of IFS is used to create $*,
     3364# except with old shells:
     3365host_os=$*
     3366IFS=$ac_save_IFS
     3367case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     3368
     3369
     3370{ echo "$as_me:$LINENO: checking target system type" >&5
     3371echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
    29053372if test "${ac_cv_target+set}" = set; then
    29063373  echo $ECHO_N "(cached) $ECHO_C" >&6
    29073374else
    2908   ac_cv_target_alias=$target_alias
    2909 test "x$ac_cv_target_alias" = "x" &&
    2910   ac_cv_target_alias=$ac_cv_host_alias
    2911 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    2912   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    2913 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     3375  if test "x$target_alias" = x; then
     3376  ac_cv_target=$ac_cv_host
     3377else
     3378  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     3379    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     3380echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    29143381   { (exit 1); exit 1; }; }
    2915 
    2916 fi
    2917 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    2918 echo "${ECHO_T}$ac_cv_target" >&6
     3382fi
     3383
     3384fi
     3385{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     3386echo "${ECHO_T}$ac_cv_target" >&6; }
     3387case $ac_cv_target in
     3388*-*-*) ;;
     3389*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     3390echo "$as_me: error: invalid value of canonical target" >&2;}
     3391   { (exit 1); exit 1; }; };;
     3392esac
    29193393target=$ac_cv_target
    2920 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2921 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2922 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3394ac_save_IFS=$IFS; IFS='-'
     3395set x $ac_cv_target
     3396shift
     3397target_cpu=$1
     3398target_vendor=$2
     3399shift; shift
     3400# Remember, the first character of IFS is used to create $*,
     3401# except with old shells:
     3402target_os=$*
     3403IFS=$ac_save_IFS
     3404case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    29233405
    29243406
     
    29423424# OS/2's system install, which has a completely different semantic
    29433425# ./install, which can be erroneously created by make from ./install.sh.
    2944 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2945 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3426{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3427echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    29463428if test -z "$INSTALL"; then
    29473429if test "${ac_cv_path_install+set}" = set; then
     
    29653447    for ac_prog in ginstall scoinst install; do
    29663448      for ac_exec_ext in '' $ac_executable_extensions; do
    2967     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3449    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    29683450      if test $ac_prog = install &&
    29693451        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    29843466esac
    29853467done
     3468IFS=$as_save_IFS
    29863469
    29873470
     
    29903473    INSTALL=$ac_cv_path_install
    29913474  else
    2992     # As a last resort, use the slow shell script.  We don't cache a
    2993     # path for INSTALL within a source directory, because that will
     3475    # As a last resort, use the slow shell script.  Don't cache a
     3476    # value for INSTALL within a source directory, because that will
    29943477    # break other packages using the cache if that directory is
    2995     # removed, or if the path is relative.
     3478    # removed, or if the value is a relative name.
    29963479    INSTALL=$ac_install_sh
    29973480  fi
    29983481fi
    2999 echo "$as_me:$LINENO: result: $INSTALL" >&5
    3000 echo "${ECHO_T}$INSTALL" >&6
     3482{ echo "$as_me:$LINENO: result: $INSTALL" >&5
     3483echo "${ECHO_T}$INSTALL" >&6; }
    30013484
    30023485# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    30083491test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    30093492
    3010 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3011 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3493{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3494echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
    30123495LN_S=$as_ln_s
    30133496if test "$LN_S" = "ln -s"; then
    3014   echo "$as_me:$LINENO: result: yes" >&5
    3015 echo "${ECHO_T}yes" >&6
    3016 else
    3017   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3018 echo "${ECHO_T}no, using $LN_S" >&6
    3019 fi
    3020 
    3021 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3022 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3023 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3024 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3497  { echo "$as_me:$LINENO: result: yes" >&5
     3498echo "${ECHO_T}yes" >&6; }
     3499else
     3500  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3501echo "${ECHO_T}no, using $LN_S" >&6; }
     3502fi
     3503
     3504{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3505echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
     3506set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3507if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    30253508  echo $ECHO_N "(cached) $ECHO_C" >&6
    30263509else
    30273510  cat >conftest.make <<\_ACEOF
     3511SHELL = /bin/sh
    30283512all:
    3029     @echo 'ac_maketemp="$(MAKE)"'
     3513    @echo '@@@%%%=$(MAKE)=@@@%%%'
    30303514_ACEOF
    30313515# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3032 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    3033 if test -n "$ac_maketemp"; then
    3034   eval ac_cv_prog_make_${ac_make}_set=yes
    3035 else
    3036   eval ac_cv_prog_make_${ac_make}_set=no
    3037 fi
     3516case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3517  *@@@%%%=?*=@@@%%%*)
     3518    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3519  *)
     3520    eval ac_cv_prog_make_${ac_make}_set=no;;
     3521esac
    30383522rm -f conftest.make
    30393523fi
    3040 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3041   echo "$as_me:$LINENO: result: yes" >&5
    3042 echo "${ECHO_T}yes" >&6
     3524if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3525  { echo "$as_me:$LINENO: result: yes" >&5
     3526echo "${ECHO_T}yes" >&6; }
    30433527  SET_MAKE=
    30443528else
    3045   echo "$as_me:$LINENO: result: no" >&5
    3046 echo "${ECHO_T}no" >&6
     3529  { echo "$as_me:$LINENO: result: no" >&5
     3530echo "${ECHO_T}no" >&6; }
    30473531  SET_MAKE="MAKE=${MAKE-make}"
    30483532fi
     
    30513535  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    30523536set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3053 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3537{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3538echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30553539if test "${ac_cv_prog_RANLIB+set}" = set; then
    30563540  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30653549  test -z "$as_dir" && as_dir=.
    30663550  for ac_exec_ext in '' $ac_executable_extensions; do
    3067   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3551  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30683552    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    30693553    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30723556done
    30733557done
     3558IFS=$as_save_IFS
    30743559
    30753560fi
     
    30773562RANLIB=$ac_cv_prog_RANLIB
    30783563if test -n "$RANLIB"; then
    3079   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3080 echo "${ECHO_T}$RANLIB" >&6
    3081 else
    3082   echo "$as_me:$LINENO: result: no" >&5
    3083 echo "${ECHO_T}no" >&6
    3084 fi
     3564  { echo "$as_me:$LINENO: result: $RANLIB" >&5
     3565echo "${ECHO_T}$RANLIB" >&6; }
     3566else
     3567  { echo "$as_me:$LINENO: result: no" >&5
     3568echo "${ECHO_T}no" >&6; }
     3569fi
     3570
    30853571
    30863572fi
     
    30893575  # Extract the first word of "ranlib", so it can be a program name with args.
    30903576set dummy ranlib; ac_word=$2
    3091 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3577{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3578echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30933579if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    30943580  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    31033589  test -z "$as_dir" && as_dir=.
    31043590  for ac_exec_ext in '' $ac_executable_extensions; do
    3105   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3591  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31063592    ac_cv_prog_ac_ct_RANLIB="ranlib"
    31073593    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    31103596done
    31113597done
    3112 
    3113   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     3598IFS=$as_save_IFS
     3599
    31143600fi
    31153601fi
    31163602ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    31173603if test -n "$ac_ct_RANLIB"; then
    3118   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3119 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3120 else
    3121   echo "$as_me:$LINENO: result: no" >&5
    3122 echo "${ECHO_T}no" >&6
    3123 fi
    3124 
    3125   RANLIB=$ac_ct_RANLIB
     3604  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3605echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
     3606else
     3607  { echo "$as_me:$LINENO: result: no" >&5
     3608echo "${ECHO_T}no" >&6; }
     3609fi
     3610
     3611  if test "x$ac_ct_RANLIB" = x; then
     3612    RANLIB=":"
     3613  else
     3614    case $cross_compiling:$ac_tool_warned in
     3615yes:)
     3616{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3617whose name does not start with the host triplet.  If you think this
     3618configuration is useful to you, please write to autoconf@gnu.org." >&5
     3619echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3620whose name does not start with the host triplet.  If you think this
     3621configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3622ac_tool_warned=yes ;;
     3623esac
     3624    RANLIB=$ac_ct_RANLIB
     3625  fi
    31263626else
    31273627  RANLIB="$ac_cv_prog_RANLIB"
     
    31293629
    31303630
    3131 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3132 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     3631{ echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3632echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
    31333633arch_64bit=no
    31343634case "$host_cpu" in
     
    31373637
    31383638if test "$arch_64bit" = yes; then
    3139   echo "$as_me:$LINENO: result: yes" >&5
    3140 echo "${ECHO_T}yes" >&6
     3639  { echo "$as_me:$LINENO: result: yes" >&5
     3640echo "${ECHO_T}yes" >&6; }
    31413641  if test -z "$COMPAT32BITFLAGS" ; then
    31423642    COMPAT32BITFLAGS="-m32"
    31433643  fi
    31443644else
    3145   echo "$as_me:$LINENO: result: no" >&5
    3146 echo "${ECHO_T}no" >&6
     3645  { echo "$as_me:$LINENO: result: no" >&5
     3646echo "${ECHO_T}no" >&6; }
    31473647  if test -z "$COMPAT32BITFLAGS" ; then
    31483648    COMPAT32BITFLAGS=
     
    31913691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    31923692ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3193 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3194 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3693{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3694echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    31953695# On Suns, sometimes $CPP names a directory.
    31963696if test -n "$CPP" && test -d "$CPP"; then
     
    32263726             Syntax error
    32273727_ACEOF
    3228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3229   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3728if { (ac_try="$ac_cpp conftest.$ac_ext"
     3729case "(($ac_try" in
     3730  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3731  *) ac_try_echo=$ac_try;;
     3732esac
     3733eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3734  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32303735  ac_status=$?
    32313736  grep -v '^ *+' conftest.er1 >conftest.err
     
    32333738  cat conftest.err >&5
    32343739  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3235   (exit $ac_status); } >/dev/null; then
    3236   if test -s conftest.err; then
    3237     ac_cpp_err=$ac_c_preproc_warn_flag
    3238     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3239   else
    3240     ac_cpp_err=
    3241   fi
    3242 else
    3243   ac_cpp_err=yes
    3244 fi
    3245 if test -z "$ac_cpp_err"; then
     3740  (exit $ac_status); } >/dev/null && {
     3741     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3742     test ! -s conftest.err
     3743       }; then
    32463744  :
    32473745else
     
    32523750continue
    32533751fi
     3752
    32543753rm -f conftest.err conftest.$ac_ext
    32553754
    3256   # OK, works on sane cases.  Now check whether non-existent headers
     3755  # OK, works on sane cases.  Now check whether nonexistent headers
    32573756  # can be detected and how.
    32583757  cat >conftest.$ac_ext <<_ACEOF
     
    32643763#include <ac_nonexistent.h>
    32653764_ACEOF
    3266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3267   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3765if { (ac_try="$ac_cpp conftest.$ac_ext"
     3766case "(($ac_try" in
     3767  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3768  *) ac_try_echo=$ac_try;;
     3769esac
     3770eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3771  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32683772  ac_status=$?
    32693773  grep -v '^ *+' conftest.er1 >conftest.err
     
    32713775  cat conftest.err >&5
    32723776  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3273   (exit $ac_status); } >/dev/null; then
    3274   if test -s conftest.err; then
    3275     ac_cpp_err=$ac_c_preproc_warn_flag
    3276     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3277   else
    3278     ac_cpp_err=
    3279   fi
    3280 else
    3281   ac_cpp_err=yes
    3282 fi
    3283 if test -z "$ac_cpp_err"; then
     3777  (exit $ac_status); } >/dev/null && {
     3778     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3779     test ! -s conftest.err
     3780       }; then
    32843781  # Broken: success on invalid input.
    32853782continue
     
    32923789break
    32933790fi
     3791
    32943792rm -f conftest.err conftest.$ac_ext
    32953793
     
    33093807  ac_cv_prog_CPP=$CPP
    33103808fi
    3311 echo "$as_me:$LINENO: result: $CPP" >&5
    3312 echo "${ECHO_T}$CPP" >&6
     3809{ echo "$as_me:$LINENO: result: $CPP" >&5
     3810echo "${ECHO_T}$CPP" >&6; }
    33133811ac_preproc_ok=false
    33143812for ac_c_preproc_warn_flag in '' yes
     
    33333831             Syntax error
    33343832_ACEOF
    3335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3336   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3833if { (ac_try="$ac_cpp conftest.$ac_ext"
     3834case "(($ac_try" in
     3835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3836  *) ac_try_echo=$ac_try;;
     3837esac
     3838eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3839  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33373840  ac_status=$?
    33383841  grep -v '^ *+' conftest.er1 >conftest.err
     
    33403843  cat conftest.err >&5
    33413844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3342   (exit $ac_status); } >/dev/null; then
    3343   if test -s conftest.err; then
    3344     ac_cpp_err=$ac_c_preproc_warn_flag
    3345     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3346   else
    3347     ac_cpp_err=
    3348   fi
    3349 else
    3350   ac_cpp_err=yes
    3351 fi
    3352 if test -z "$ac_cpp_err"; then
     3845  (exit $ac_status); } >/dev/null && {
     3846     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3847     test ! -s conftest.err
     3848       }; then
    33533849  :
    33543850else
     
    33593855continue
    33603856fi
     3857
    33613858rm -f conftest.err conftest.$ac_ext
    33623859
    3363   # OK, works on sane cases.  Now check whether non-existent headers
     3860  # OK, works on sane cases.  Now check whether nonexistent headers
    33643861  # can be detected and how.
    33653862  cat >conftest.$ac_ext <<_ACEOF
     
    33713868#include <ac_nonexistent.h>
    33723869_ACEOF
    3373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3374   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3870if { (ac_try="$ac_cpp conftest.$ac_ext"
     3871case "(($ac_try" in
     3872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3873  *) ac_try_echo=$ac_try;;
     3874esac
     3875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3876  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33753877  ac_status=$?
    33763878  grep -v '^ *+' conftest.er1 >conftest.err
     
    33783880  cat conftest.err >&5
    33793881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3380   (exit $ac_status); } >/dev/null; then
    3381   if test -s conftest.err; then
    3382     ac_cpp_err=$ac_c_preproc_warn_flag
    3383     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3384   else
    3385     ac_cpp_err=
    3386   fi
    3387 else
    3388   ac_cpp_err=yes
    3389 fi
    3390 if test -z "$ac_cpp_err"; then
     3882  (exit $ac_status); } >/dev/null && {
     3883     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3884     test ! -s conftest.err
     3885       }; then
    33913886  # Broken: success on invalid input.
    33923887continue
     
    33993894break
    34003895fi
     3896
    34013897rm -f conftest.err conftest.$ac_ext
    34023898
     
    34213917
    34223918
    3423 echo "$as_me:$LINENO: checking for egrep" >&5
    3424 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3425 if test "${ac_cv_prog_egrep+set}" = set; then
     3919{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3920echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
     3921if test "${ac_cv_path_GREP+set}" = set; then
    34263922  echo $ECHO_N "(cached) $ECHO_C" >&6
    34273923else
    3428   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3429     then ac_cv_prog_egrep='grep -E'
    3430     else ac_cv_prog_egrep='egrep'
     3924  # Extract the first word of "grep ggrep" to use in msg output
     3925if test -z "$GREP"; then
     3926set dummy grep ggrep; ac_prog_name=$2
     3927if test "${ac_cv_path_GREP+set}" = set; then
     3928  echo $ECHO_N "(cached) $ECHO_C" >&6
     3929else
     3930  ac_path_GREP_found=false
     3931# Loop through the user's path and test for each of PROGNAME-LIST
     3932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3933for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3934do
     3935  IFS=$as_save_IFS
     3936  test -z "$as_dir" && as_dir=.
     3937  for ac_prog in grep ggrep; do
     3938  for ac_exec_ext in '' $ac_executable_extensions; do
     3939    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     3940    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3941    # Check for GNU ac_path_GREP and select it if it is found.
     3942  # Check for GNU $ac_path_GREP
     3943case `"$ac_path_GREP" --version 2>&1` in
     3944*GNU*)
     3945  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     3946*)
     3947  ac_count=0
     3948  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     3949  while :
     3950  do
     3951    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3952    mv "conftest.tmp" "conftest.in"
     3953    cp "conftest.in" "conftest.nl"
     3954    echo 'GREP' >> "conftest.nl"
     3955    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3956    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3957    ac_count=`expr $ac_count + 1`
     3958    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     3959      # Best one so far, save it but keep looking for a better one
     3960      ac_cv_path_GREP="$ac_path_GREP"
     3961      ac_path_GREP_max=$ac_count
    34313962    fi
    3432 fi
    3433 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3434 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3435  EGREP=$ac_cv_prog_egrep
    3436 
    3437 
    3438 
    3439 echo "$as_me:$LINENO: checking for AIX" >&5
    3440 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     3963    # 10*(2^10) chars as input seems more than enough
     3964    test $ac_count -gt 10 && break
     3965  done
     3966  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3967esac
     3968
     3969
     3970    $ac_path_GREP_found && break 3
     3971  done
     3972done
     3973
     3974done
     3975IFS=$as_save_IFS
     3976
     3977
     3978fi
     3979
     3980GREP="$ac_cv_path_GREP"
     3981if test -z "$GREP"; then
     3982  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3983echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3984   { (exit 1); exit 1; }; }
     3985fi
     3986
     3987else
     3988  ac_cv_path_GREP=$GREP
     3989fi
     3990
     3991
     3992fi
     3993{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3994echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     3995 GREP="$ac_cv_path_GREP"
     3996
     3997
     3998{ echo "$as_me:$LINENO: checking for egrep" >&5
     3999echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
     4000if test "${ac_cv_path_EGREP+set}" = set; then
     4001  echo $ECHO_N "(cached) $ECHO_C" >&6
     4002else
     4003  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4004   then ac_cv_path_EGREP="$GREP -E"
     4005   else
     4006     # Extract the first word of "egrep" to use in msg output
     4007if test -z "$EGREP"; then
     4008set dummy egrep; ac_prog_name=$2
     4009if test "${ac_cv_path_EGREP+set}" = set; then
     4010  echo $ECHO_N "(cached) $ECHO_C" >&6
     4011else
     4012  ac_path_EGREP_found=false
     4013# Loop through the user's path and test for each of PROGNAME-LIST
     4014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4015for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4016do
     4017  IFS=$as_save_IFS
     4018  test -z "$as_dir" && as_dir=.
     4019  for ac_prog in egrep; do
     4020  for ac_exec_ext in '' $ac_executable_extensions; do
     4021    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4022    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4023    # Check for GNU ac_path_EGREP and select it if it is found.
     4024  # Check for GNU $ac_path_EGREP
     4025case `"$ac_path_EGREP" --version 2>&1` in
     4026*GNU*)
     4027  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4028*)
     4029  ac_count=0
     4030  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4031  while :
     4032  do
     4033    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4034    mv "conftest.tmp" "conftest.in"
     4035    cp "conftest.in" "conftest.nl"
     4036    echo 'EGREP' >> "conftest.nl"
     4037    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4038    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4039    ac_count=`expr $ac_count + 1`
     4040    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4041      # Best one so far, save it but keep looking for a better one
     4042      ac_cv_path_EGREP="$ac_path_EGREP"
     4043      ac_path_EGREP_max=$ac_count
     4044    fi
     4045    # 10*(2^10) chars as input seems more than enough
     4046    test $ac_count -gt 10 && break
     4047  done
     4048  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4049esac
     4050
     4051
     4052    $ac_path_EGREP_found && break 3
     4053  done
     4054done
     4055
     4056done
     4057IFS=$as_save_IFS
     4058
     4059
     4060fi
     4061
     4062EGREP="$ac_cv_path_EGREP"
     4063if test -z "$EGREP"; then
     4064  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4065echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4066   { (exit 1); exit 1; }; }
     4067fi
     4068
     4069else
     4070  ac_cv_path_EGREP=$EGREP
     4071fi
     4072
     4073
     4074   fi
     4075fi
     4076{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4077echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     4078 EGREP="$ac_cv_path_EGREP"
     4079
     4080
     4081
     4082{ echo "$as_me:$LINENO: checking for AIX" >&5
     4083echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
    34414084cat >conftest.$ac_ext <<_ACEOF
    34424085/* confdefs.h.  */
     
    34524095if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    34534096  $EGREP "yes" >/dev/null 2>&1; then
    3454   echo "$as_me:$LINENO: result: yes" >&5
    3455 echo "${ECHO_T}yes" >&6
     4097  { echo "$as_me:$LINENO: result: yes" >&5
     4098echo "${ECHO_T}yes" >&6; }
    34564099cat >>confdefs.h <<\_ACEOF
    34574100#define _ALL_SOURCE 1
     
    34594102
    34604103else
    3461   echo "$as_me:$LINENO: result: no" >&5
    3462 echo "${ECHO_T}no" >&6
     4104  { echo "$as_me:$LINENO: result: no" >&5
     4105echo "${ECHO_T}no" >&6; }
    34634106fi
    34644107rm -f conftest*
    34654108
    34664109
    3467 echo "$as_me:$LINENO: checking for library containing strerror" >&5
    3468 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     4110{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
     4111echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
    34694112if test "${ac_cv_search_strerror+set}" = set; then
    34704113  echo $ECHO_N "(cached) $ECHO_C" >&6
    34714114else
    34724115  ac_func_search_save_LIBS=$LIBS
    3473 ac_cv_search_strerror=no
    34744116cat >conftest.$ac_ext <<_ACEOF
    34754117/* confdefs.h.  */
     
    34794121/* end confdefs.h.  */
    34804122
    3481 /* Override any gcc2 internal prototype to avoid an error.  */
     4123/* Override any GCC internal prototype to avoid an error.
     4124   Use char because int might match the return type of a GCC
     4125   builtin and then its argument prototype would still apply.  */
    34824126#ifdef __cplusplus
    34834127extern "C"
    34844128#endif
    3485 /* We use char because int might match the return type of a gcc2
    3486    builtin and then its argument prototype would still apply.  */
    34874129char strerror ();
    34884130int
    34894131main ()
    34904132{
    3491 strerror ();
     4133return strerror ();
    34924134  ;
    34934135  return 0;
    34944136}
    34954137_ACEOF
    3496 rm -f conftest.$ac_objext conftest$ac_exeext
    3497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3498   (eval $ac_link) 2>conftest.er1
     4138for ac_lib in '' cposix; do
     4139  if test -z "$ac_lib"; then
     4140    ac_res="none required"
     4141  else
     4142    ac_res=-l$ac_lib
     4143    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4144  fi
     4145  rm -f conftest.$ac_objext conftest$ac_exeext
     4146if { (ac_try="$ac_link"
     4147case "(($ac_try" in
     4148  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4149  *) ac_try_echo=$ac_try;;
     4150esac
     4151eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4152  (eval "$ac_link") 2>conftest.er1
    34994153  ac_status=$?
    35004154  grep -v '^ *+' conftest.er1 >conftest.err
     
    35024156  cat conftest.err >&5
    35034157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3504   (exit $ac_status); } &&
    3505      { ac_try='test -z "$ac_c_werror_flag"
    3506              || test ! -s conftest.err'
    3507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3508   (eval $ac_try) 2>&5
    3509   ac_status=$?
    3510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3511   (exit $ac_status); }; } &&
    3512      { ac_try='test -s conftest$ac_exeext'
    3513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3514   (eval $ac_try) 2>&5
    3515   ac_status=$?
    3516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3517   (exit $ac_status); }; }; then
    3518   ac_cv_search_strerror="none required"
     4158  (exit $ac_status); } && {
     4159     test -z "$ac_c_werror_flag" ||
     4160     test ! -s conftest.err
     4161       } && test -s conftest$ac_exeext &&
     4162       $as_test_x conftest$ac_exeext; then
     4163  ac_cv_search_strerror=$ac_res
    35194164else
    35204165  echo "$as_me: failed program was:" >&5
    35214166sed 's/^/| /' conftest.$ac_ext >&5
    35224167
    3523 fi
    3524 rm -f conftest.err conftest.$ac_objext \
    3525       conftest$ac_exeext conftest.$ac_ext
    3526 if test "$ac_cv_search_strerror" = no; then
    3527   for ac_lib in cposix; do
    3528     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    3529     cat >conftest.$ac_ext <<_ACEOF
    3530 /* confdefs.h.  */
    3531 _ACEOF
    3532 cat confdefs.h >>conftest.$ac_ext
    3533 cat >>conftest.$ac_ext <<_ACEOF
    3534 /* end confdefs.h.  */
    3535 
    3536 /* Override any gcc2 internal prototype to avoid an error.  */
    3537 #ifdef __cplusplus
    3538 extern "C"
    3539 #endif
    3540 /* We use char because int might match the return type of a gcc2
    3541    builtin and then its argument prototype would still apply.  */
    3542 char strerror ();
    3543 int
    3544 main ()
    3545 {
    3546 strerror ();
    3547   ;
    3548   return 0;
    3549 }
    3550 _ACEOF
    3551 rm -f conftest.$ac_objext conftest$ac_exeext
    3552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3553   (eval $ac_link) 2>conftest.er1
    3554   ac_status=$?
    3555   grep -v '^ *+' conftest.er1 >conftest.err
    3556   rm -f conftest.er1
    3557   cat conftest.err >&5
    3558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3559   (exit $ac_status); } &&
    3560      { ac_try='test -z "$ac_c_werror_flag"
    3561              || test ! -s conftest.err'
    3562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3563   (eval $ac_try) 2>&5
    3564   ac_status=$?
    3565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3566   (exit $ac_status); }; } &&
    3567      { ac_try='test -s conftest$ac_exeext'
    3568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3569   (eval $ac_try) 2>&5
    3570   ac_status=$?
    3571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3572   (exit $ac_status); }; }; then
    3573   ac_cv_search_strerror="-l$ac_lib"
    3574 break
    3575 else
    3576   echo "$as_me: failed program was:" >&5
    3577 sed 's/^/| /' conftest.$ac_ext >&5
    3578 
    3579 fi
    3580 rm -f conftest.err conftest.$ac_objext \
    3581       conftest$ac_exeext conftest.$ac_ext
    3582   done
    3583 fi
     4168
     4169fi
     4170
     4171rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4172      conftest$ac_exeext
     4173  if test "${ac_cv_search_strerror+set}" = set; then
     4174  break
     4175fi
     4176done
     4177if test "${ac_cv_search_strerror+set}" = set; then
     4178  :
     4179else
     4180  ac_cv_search_strerror=no
     4181fi
     4182rm conftest.$ac_ext
    35844183LIBS=$ac_func_search_save_LIBS
    35854184fi
    3586 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    3587 echo "${ECHO_T}$ac_cv_search_strerror" >&6
    3588 if test "$ac_cv_search_strerror" != no; then
    3589   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
    3590 
    3591 fi
    3592 
    3593 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3594 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4185{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     4186echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
     4187ac_res=$ac_cv_search_strerror
     4188if test "$ac_res" != no; then
     4189  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     4190
     4191fi
     4192
     4193{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4194echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    35954195if test "${ac_cv_header_stdc+set}" = set; then
    35964196  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    36164216_ACEOF
    36174217rm -f conftest.$ac_objext
    3618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3619   (eval $ac_compile) 2>conftest.er1
     4218if { (ac_try="$ac_compile"
     4219case "(($ac_try" in
     4220  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4221  *) ac_try_echo=$ac_try;;
     4222esac
     4223eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4224  (eval "$ac_compile") 2>conftest.er1
    36204225  ac_status=$?
    36214226  grep -v '^ *+' conftest.er1 >conftest.err
     
    36234228  cat conftest.err >&5
    36244229  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3625   (exit $ac_status); } &&
    3626      { ac_try='test -z "$ac_c_werror_flag"
    3627              || test ! -s conftest.err'
    3628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3629   (eval $ac_try) 2>&5
    3630   ac_status=$?
    3631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3632   (exit $ac_status); }; } &&
    3633      { ac_try='test -s conftest.$ac_objext'
    3634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3635   (eval $ac_try) 2>&5
    3636   ac_status=$?
    3637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3638   (exit $ac_status); }; }; then
     4230  (exit $ac_status); } && {
     4231     test -z "$ac_c_werror_flag" ||
     4232     test ! -s conftest.err
     4233       } && test -s conftest.$ac_objext; then
    36394234  ac_cv_header_stdc=yes
    36404235else
     
    36424237sed 's/^/| /' conftest.$ac_ext >&5
    36434238
    3644 ac_cv_header_stdc=no
    3645 fi
    3646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4239    ac_cv_header_stdc=no
     4240fi
     4241
     4242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36474243
    36484244if test $ac_cv_header_stdc = yes; then
     
    37004296/* end confdefs.h.  */
    37014297#include <ctype.h>
     4298#include <stdlib.h>
    37024299#if ((' ' & 0x0FF) == 0x020)
    37034300# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    37194316    if (XOR (islower (i), ISLOWER (i))
    37204317    || toupper (i) != TOUPPER (i))
    3721       exit(2);
    3722   exit (0);
     4318      return 2;
     4319  return 0;
    37234320}
    37244321_ACEOF
    37254322rm -f conftest$ac_exeext
    3726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3727   (eval $ac_link) 2>&5
     4323if { (ac_try="$ac_link"
     4324case "(($ac_try" in
     4325  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4326  *) ac_try_echo=$ac_try;;
     4327esac
     4328eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4329  (eval "$ac_link") 2>&5
    37284330  ac_status=$?
    37294331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37304332  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3732   (eval $ac_try) 2>&5
     4333  { (case "(($ac_try" in
     4334  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4335  *) ac_try_echo=$ac_try;;
     4336esac
     4337eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4338  (eval "$ac_try") 2>&5
    37334339  ac_status=$?
    37344340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    37434349ac_cv_header_stdc=no
    37444350fi
    3745 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3746 fi
    3747 fi
    3748 fi
    3749 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3750 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4351rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4352fi
     4353
     4354
     4355fi
     4356fi
     4357{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4358echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    37514359if test $ac_cv_header_stdc = yes; then
    37524360
     
    37714379do
    37724380as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3773 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4381{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4382echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4383if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    37764384  echo $ECHO_N "(cached) $ECHO_C" >&6
    37774385else
     
    37874395_ACEOF
    37884396rm -f conftest.$ac_objext
    3789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3790   (eval $ac_compile) 2>conftest.er1
     4397if { (ac_try="$ac_compile"
     4398case "(($ac_try" in
     4399  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4400  *) ac_try_echo=$ac_try;;
     4401esac
     4402eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4403  (eval "$ac_compile") 2>conftest.er1
    37914404  ac_status=$?
    37924405  grep -v '^ *+' conftest.er1 >conftest.err
     
    37944407  cat conftest.err >&5
    37954408  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3796   (exit $ac_status); } &&
    3797      { ac_try='test -z "$ac_c_werror_flag"
    3798              || test ! -s conftest.err'
    3799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3800   (eval $ac_try) 2>&5
    3801   ac_status=$?
    3802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3803   (exit $ac_status); }; } &&
    3804      { ac_try='test -s conftest.$ac_objext'
    3805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3806   (eval $ac_try) 2>&5
    3807   ac_status=$?
    3808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3809   (exit $ac_status); }; }; then
     4409  (exit $ac_status); } && {
     4410     test -z "$ac_c_werror_flag" ||
     4411     test ! -s conftest.err
     4412       } && test -s conftest.$ac_objext; then
    38104413  eval "$as_ac_Header=yes"
    38114414else
     
    38134416sed 's/^/| /' conftest.$ac_ext >&5
    38144417
    3815 eval "$as_ac_Header=no"
    3816 fi
    3817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3818 fi
    3819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4418    eval "$as_ac_Header=no"
     4419fi
     4420
     4421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4422fi
     4423ac_res=`eval echo '${'$as_ac_Header'}'`
     4424           { echo "$as_me:$LINENO: result: $ac_res" >&5
     4425echo "${ECHO_T}$ac_res" >&6; }
    38214426if test `eval echo '${'$as_ac_Header'}'` = yes; then
    38224427  cat >>confdefs.h <<_ACEOF
     
    38304435
    38314436if test "${ac_cv_header_minix_config_h+set}" = set; then
    3832   echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3833 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4437  { echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4438echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    38344439if test "${ac_cv_header_minix_config_h+set}" = set; then
    38354440  echo $ECHO_N "(cached) $ECHO_C" >&6
    38364441fi
    3837 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3838 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4442{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4443echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    38394444else
    38404445  # Is the header compilable?
    3841 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    3842 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     4446{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4447echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
    38434448cat >conftest.$ac_ext <<_ACEOF
    38444449/* confdefs.h.  */
     
    38514456_ACEOF
    38524457rm -f conftest.$ac_objext
    3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3854   (eval $ac_compile) 2>conftest.er1
     4458if { (ac_try="$ac_compile"
     4459case "(($ac_try" in
     4460  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4461  *) ac_try_echo=$ac_try;;
     4462esac
     4463eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4464  (eval "$ac_compile") 2>conftest.er1
    38554465  ac_status=$?
    38564466  grep -v '^ *+' conftest.er1 >conftest.err
     
    38584468  cat conftest.err >&5
    38594469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3860   (exit $ac_status); } &&
    3861      { ac_try='test -z "$ac_c_werror_flag"
    3862              || test ! -s conftest.err'
    3863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3864   (eval $ac_try) 2>&5
    3865   ac_status=$?
    3866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3867   (exit $ac_status); }; } &&
    3868      { ac_try='test -s conftest.$ac_objext'
    3869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3870   (eval $ac_try) 2>&5
    3871   ac_status=$?
    3872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3873   (exit $ac_status); }; }; then
     4470  (exit $ac_status); } && {
     4471     test -z "$ac_c_werror_flag" ||
     4472     test ! -s conftest.err
     4473       } && test -s conftest.$ac_objext; then
    38744474  ac_header_compiler=yes
    38754475else
     
    38774477sed 's/^/| /' conftest.$ac_ext >&5
    38784478
    3879 ac_header_compiler=no
    3880 fi
    3881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3883 echo "${ECHO_T}$ac_header_compiler" >&6
     4479    ac_header_compiler=no
     4480fi
     4481
     4482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4483{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4484echo "${ECHO_T}$ac_header_compiler" >&6; }
    38844485
    38854486# Is the header present?
    3886 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    3887 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     4487{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4488echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
    38884489cat >conftest.$ac_ext <<_ACEOF
    38894490/* confdefs.h.  */
     
    38944495#include <minix/config.h>
    38954496_ACEOF
    3896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3897   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4497if { (ac_try="$ac_cpp conftest.$ac_ext"
     4498case "(($ac_try" in
     4499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4500  *) ac_try_echo=$ac_try;;
     4501esac
     4502eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4503  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    38984504  ac_status=$?
    38994505  grep -v '^ *+' conftest.er1 >conftest.err
     
    39014507  cat conftest.err >&5
    39024508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3903   (exit $ac_status); } >/dev/null; then
    3904   if test -s conftest.err; then
    3905     ac_cpp_err=$ac_c_preproc_warn_flag
    3906     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3907   else
    3908     ac_cpp_err=
    3909   fi
    3910 else
    3911   ac_cpp_err=yes
    3912 fi
    3913 if test -z "$ac_cpp_err"; then
     4509  (exit $ac_status); } >/dev/null && {
     4510     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4511     test ! -s conftest.err
     4512       }; then
    39144513  ac_header_preproc=yes
    39154514else
     
    39194518  ac_header_preproc=no
    39204519fi
     4520
    39214521rm -f conftest.err conftest.$ac_ext
    3922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3923 echo "${ECHO_T}$ac_header_preproc" >&6
     4522{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4523echo "${ECHO_T}$ac_header_preproc" >&6; }
    39244524
    39254525# So?  What about this header?
     
    39454545    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    39464546echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    3947     (
    3948       cat <<\_ASBOX
    3949 ## ------------------------------------------ ##
    3950 ## Report this to the AC_PACKAGE_NAME lists.  ##
    3951 ## ------------------------------------------ ##
    3952 _ASBOX
    3953     ) |
    3954       sed "s/^/$as_me: WARNING:     /" >&2
     4547
    39554548    ;;
    39564549esac
    3957 echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3958 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4550{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4551echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    39594552if test "${ac_cv_header_minix_config_h+set}" = set; then
    39604553  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    39624555  ac_cv_header_minix_config_h=$ac_header_preproc
    39634556fi
    3964 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3965 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4557{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4558echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    39664559
    39674560fi
     
    39914584fi
    39924585
    3993 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    3994 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     4586{ echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     4587echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
    39954588if test "${ac_cv_prog_cc_stdc+set}" = set; then
    39964589  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    40284621_ACEOF
    40294622rm -f conftest.$ac_objext
    4030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4031   (eval $ac_compile) 2>conftest.er1
     4623if { (ac_try="$ac_compile"
     4624case "(($ac_try" in
     4625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4626  *) ac_try_echo=$ac_try;;
     4627esac
     4628eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4629  (eval "$ac_compile") 2>conftest.er1
    40324630  ac_status=$?
    40334631  grep -v '^ *+' conftest.er1 >conftest.err
     
    40354633  cat conftest.err >&5
    40364634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4037   (exit $ac_status); } &&
    4038      { ac_try='test -z "$ac_c_werror_flag"
    4039              || test ! -s conftest.err'
    4040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4041   (eval $ac_try) 2>&5
    4042   ac_status=$?
    4043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4044   (exit $ac_status); }; } &&
    4045      { ac_try='test -s conftest.$ac_objext'
    4046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4047   (eval $ac_try) 2>&5
    4048   ac_status=$?
    4049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4050   (exit $ac_status); }; }; then
     4635  (exit $ac_status); } && {
     4636     test -z "$ac_c_werror_flag" ||
     4637     test ! -s conftest.err
     4638       } && test -s conftest.$ac_objext; then
    40514639  ac_cv_prog_cc_stdc="$ac_arg"; break
    40524640else
     
    40544642sed 's/^/| /' conftest.$ac_ext >&5
    40554643
    4056 fi
    4057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4644
     4645fi
     4646
     4647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    40584648done
    40594649CFLAGS="$ac_save_CFLAGS"
     
    40614651fi
    40624652
    4063 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4064 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     4653{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4654echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
    40654655case "x$ac_cv_prog_cc_stdc" in
    40664656  x|xno) ;;
     
    40694659
    40704660
    4071 echo "$as_me:$LINENO: checking for function prototypes" >&5
    4072 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     4661{ echo "$as_me:$LINENO: checking for function prototypes" >&5
     4662echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
    40734663if test "$ac_cv_prog_cc_stdc" != no; then
    4074   echo "$as_me:$LINENO: result: yes" >&5
    4075 echo "${ECHO_T}yes" >&6
     4664  { echo "$as_me:$LINENO: result: yes" >&5
     4665echo "${ECHO_T}yes" >&6; }
    40764666  cat >>confdefs.h <<\_ACEOF
    40774667#define PROTOTYPES 1
     
    40804670  U= ANSI2KNR=
    40814671else
    4082   echo "$as_me:$LINENO: result: no" >&5
    4083 echo "${ECHO_T}no" >&6
     4672  { echo "$as_me:$LINENO: result: no" >&5
     4673echo "${ECHO_T}no" >&6; }
    40844674  U=_ ANSI2KNR=ansi2knr
    40854675fi
    40864676
    4087 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4088 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     4677{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4678echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
    40894679if test "${ac_cv_c_const+set}" = set; then
    40904680  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    41044694  /* Ultrix mips cc rejects this.  */
    41054695  typedef int charset[2];
    4106   const charset x;
     4696  const charset cs;
    41074697  /* SunOS 4.1.1 cc rejects this.  */
    4108   char const *const *ccp;
    4109   char **p;
     4698  char const *const *pcpcc;
     4699  char **ppc;
    41104700  /* NEC SVR4.0.2 mips cc rejects this.  */
    41114701  struct point {int x, y;};
     
    41164706     expression */
    41174707  const char *g = "string";
    4118   ccp = &g + (g ? g-g : 0);
     4708  pcpcc = &g + (g ? g-g : 0);
    41194709  /* HPUX 7.0 cc rejects these. */
    4120   ++ccp;
    4121   p = (char**) ccp;
    4122   ccp = (char const *const *) p;
     4710  ++pcpcc;
     4711  ppc = (char**) pcpcc;
     4712  pcpcc = (char const *const *) ppc;
    41234713  { /* SCO 3.2v4 cc rejects this.  */
    41244714    char *t;
     
    41264716
    41274717    *t++ = 0;
     4718    if (s) return 0;
    41284719  }
    41294720  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    41444735  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    41454736    const int foo = 10;
     4737    if (!foo) return 0;
    41464738  }
     4739  return !cs[0] && !zero.x;
    41474740#endif
    41484741
     
    41524745_ACEOF
    41534746rm -f conftest.$ac_objext
    4154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4155   (eval $ac_compile) 2>conftest.er1
     4747if { (ac_try="$ac_compile"
     4748case "(($ac_try" in
     4749  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4750  *) ac_try_echo=$ac_try;;
     4751esac
     4752eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4753  (eval "$ac_compile") 2>conftest.er1
    41564754  ac_status=$?
    41574755  grep -v '^ *+' conftest.er1 >conftest.err
     
    41594757  cat conftest.err >&5
    41604758  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4161   (exit $ac_status); } &&
    4162      { ac_try='test -z "$ac_c_werror_flag"
    4163              || test ! -s conftest.err'
    4164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4165   (eval $ac_try) 2>&5
    4166   ac_status=$?
    4167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4168   (exit $ac_status); }; } &&
    4169      { ac_try='test -s conftest.$ac_objext'
    4170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4171   (eval $ac_try) 2>&5
    4172   ac_status=$?
    4173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4174   (exit $ac_status); }; }; then
     4759  (exit $ac_status); } && {
     4760     test -z "$ac_c_werror_flag" ||
     4761     test ! -s conftest.err
     4762       } && test -s conftest.$ac_objext; then
    41754763  ac_cv_c_const=yes
    41764764else
     
    41784766sed 's/^/| /' conftest.$ac_ext >&5
    41794767
    4180 ac_cv_c_const=no
    4181 fi
    4182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4183 fi
    4184 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4185 echo "${ECHO_T}$ac_cv_c_const" >&6
     4768    ac_cv_c_const=no
     4769fi
     4770
     4771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4772fi
     4773{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4774echo "${ECHO_T}$ac_cv_c_const" >&6; }
    41864775if test $ac_cv_c_const = no; then
    41874776
     
    41924781fi
    41934782
    4194 echo "$as_me:$LINENO: checking for off_t" >&5
    4195 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     4783{ echo "$as_me:$LINENO: checking for off_t" >&5
     4784echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
    41964785if test "${ac_cv_type_off_t+set}" = set; then
    41974786  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42044793/* end confdefs.h.  */
    42054794$ac_includes_default
     4795typedef off_t ac__type_new_;
    42064796int
    42074797main ()
    42084798{
    4209 if ((off_t *) 0)
     4799if ((ac__type_new_ *) 0)
    42104800  return 0;
    4211 if (sizeof (off_t))
     4801if (sizeof (ac__type_new_))
    42124802  return 0;
    42134803  ;
     
    42164806_ACEOF
    42174807rm -f conftest.$ac_objext
    4218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4219   (eval $ac_compile) 2>conftest.er1
     4808if { (ac_try="$ac_compile"
     4809case "(($ac_try" in
     4810  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4811  *) ac_try_echo=$ac_try;;
     4812esac
     4813eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4814  (eval "$ac_compile") 2>conftest.er1
    42204815  ac_status=$?
    42214816  grep -v '^ *+' conftest.er1 >conftest.err
     
    42234818  cat conftest.err >&5
    42244819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4225   (exit $ac_status); } &&
    4226      { ac_try='test -z "$ac_c_werror_flag"
    4227              || test ! -s conftest.err'
    4228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4229   (eval $ac_try) 2>&5
    4230   ac_status=$?
    4231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4232   (exit $ac_status); }; } &&
    4233      { ac_try='test -s conftest.$ac_objext'
    4234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4235   (eval $ac_try) 2>&5
    4236   ac_status=$?
    4237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4238   (exit $ac_status); }; }; then
     4820  (exit $ac_status); } && {
     4821     test -z "$ac_c_werror_flag" ||
     4822     test ! -s conftest.err
     4823       } && test -s conftest.$ac_objext; then
    42394824  ac_cv_type_off_t=yes
    42404825else
     
    42424827sed 's/^/| /' conftest.$ac_ext >&5
    42434828
    4244 ac_cv_type_off_t=no
    4245 fi
    4246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4247 fi
    4248 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4249 echo "${ECHO_T}$ac_cv_type_off_t" >&6
     4829    ac_cv_type_off_t=no
     4830fi
     4831
     4832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4833fi
     4834{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4835echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
    42504836if test $ac_cv_type_off_t = yes; then
    42514837  :
     
    42534839
    42544840cat >>confdefs.h <<_ACEOF
    4255 #define off_t long
    4256 _ACEOF
    4257 
    4258 fi
    4259 
    4260 echo "$as_me:$LINENO: checking for size_t" >&5
    4261 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
     4841#define off_t long int
     4842_ACEOF
     4843
     4844fi
     4845
     4846{ echo "$as_me:$LINENO: checking for size_t" >&5
     4847echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
    42624848if test "${ac_cv_type_size_t+set}" = set; then
    42634849  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42704856/* end confdefs.h.  */
    42714857$ac_includes_default
     4858typedef size_t ac__type_new_;
    42724859int
    42734860main ()
    42744861{
    4275 if ((size_t *) 0)
     4862if ((ac__type_new_ *) 0)
    42764863  return 0;
    4277 if (sizeof (size_t))
     4864if (sizeof (ac__type_new_))
    42784865  return 0;
    42794866  ;
     
    42824869_ACEOF
    42834870rm -f conftest.$ac_objext
    4284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4285   (eval $ac_compile) 2>conftest.er1
     4871if { (ac_try="$ac_compile"
     4872case "(($ac_try" in
     4873  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4874  *) ac_try_echo=$ac_try;;
     4875esac
     4876eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4877  (eval "$ac_compile") 2>conftest.er1
    42864878  ac_status=$?
    42874879  grep -v '^ *+' conftest.er1 >conftest.err
     
    42894881  cat conftest.err >&5
    42904882  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4291   (exit $ac_status); } &&
    4292      { ac_try='test -z "$ac_c_werror_flag"
    4293              || test ! -s conftest.err'
    4294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4295   (eval $ac_try) 2>&5
    4296   ac_status=$?
    4297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4298   (exit $ac_status); }; } &&
    4299      { ac_try='test -s conftest.$ac_objext'
    4300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4301   (eval $ac_try) 2>&5
    4302   ac_status=$?
    4303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4304   (exit $ac_status); }; }; then
     4883  (exit $ac_status); } && {
     4884     test -z "$ac_c_werror_flag" ||
     4885     test ! -s conftest.err
     4886       } && test -s conftest.$ac_objext; then
    43054887  ac_cv_type_size_t=yes
    43064888else
     
    43084890sed 's/^/| /' conftest.$ac_ext >&5
    43094891
    4310 ac_cv_type_size_t=no
    4311 fi
    4312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4313 fi
    4314 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4315 echo "${ECHO_T}$ac_cv_type_size_t" >&6
     4892    ac_cv_type_size_t=no
     4893fi
     4894
     4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4896fi
     4897{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4898echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
    43164899if test $ac_cv_type_size_t = yes; then
    43174900  :
     
    43194902
    43204903cat >>confdefs.h <<_ACEOF
    4321 #define size_t unsigned
    4322 _ACEOF
    4323 
    4324 fi
    4325 
    4326 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4327 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     4904#define size_t unsigned int
     4905_ACEOF
     4906
     4907fi
     4908
     4909{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4910echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
    43284911if test "${ac_cv_header_time+set}" = set; then
    43294912  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    43494932_ACEOF
    43504933rm -f conftest.$ac_objext
    4351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4352   (eval $ac_compile) 2>conftest.er1
     4934if { (ac_try="$ac_compile"
     4935case "(($ac_try" in
     4936  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4937  *) ac_try_echo=$ac_try;;
     4938esac
     4939eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4940  (eval "$ac_compile") 2>conftest.er1
    43534941  ac_status=$?
    43544942  grep -v '^ *+' conftest.er1 >conftest.err
     
    43564944  cat conftest.err >&5
    43574945  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4358   (exit $ac_status); } &&
    4359      { ac_try='test -z "$ac_c_werror_flag"
    4360              || test ! -s conftest.err'
    4361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4362   (eval $ac_try) 2>&5
    4363   ac_status=$?
    4364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4365   (exit $ac_status); }; } &&
    4366      { ac_try='test -s conftest.$ac_objext'
    4367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4368   (eval $ac_try) 2>&5
    4369   ac_status=$?
    4370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4371   (exit $ac_status); }; }; then
     4946  (exit $ac_status); } && {
     4947     test -z "$ac_c_werror_flag" ||
     4948     test ! -s conftest.err
     4949       } && test -s conftest.$ac_objext; then
    43724950  ac_cv_header_time=yes
    43734951else
     
    43754953sed 's/^/| /' conftest.$ac_ext >&5
    43764954
    4377 ac_cv_header_time=no
    4378 fi
    4379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4380 fi
    4381 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4382 echo "${ECHO_T}$ac_cv_header_time" >&6
     4955    ac_cv_header_time=no
     4956fi
     4957
     4958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4959fi
     4960{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     4961echo "${ECHO_T}$ac_cv_header_time" >&6; }
    43834962if test $ac_cv_header_time = yes; then
    43844963
     
    43894968fi
    43904969
    4391 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4392 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     4970{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     4971echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
    43934972if test "${ac_cv_struct_tm+set}" = set; then
    43944973  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    44064985main ()
    44074986{
    4408 struct tm *tp; tp->tm_sec;
     4987struct tm tm;
     4988                     int *p = &tm.tm_sec;
     4989                     return !p;
    44094990  ;
    44104991  return 0;
     
    44124993_ACEOF
    44134994rm -f conftest.$ac_objext
    4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4415   (eval $ac_compile) 2>conftest.er1
     4995if { (ac_try="$ac_compile"
     4996case "(($ac_try" in
     4997  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4998  *) ac_try_echo=$ac_try;;
     4999esac
     5000eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5001  (eval "$ac_compile") 2>conftest.er1
    44165002  ac_status=$?
    44175003  grep -v '^ *+' conftest.er1 >conftest.err
     
    44195005  cat conftest.err >&5
    44205006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4421   (exit $ac_status); } &&
    4422      { ac_try='test -z "$ac_c_werror_flag"
    4423              || test ! -s conftest.err'
    4424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4425   (eval $ac_try) 2>&5
    4426   ac_status=$?
    4427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4428   (exit $ac_status); }; } &&
    4429      { ac_try='test -s conftest.$ac_objext'
    4430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4431   (eval $ac_try) 2>&5
    4432   ac_status=$?
    4433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4434   (exit $ac_status); }; }; then
     5007  (exit $ac_status); } && {
     5008     test -z "$ac_c_werror_flag" ||
     5009     test ! -s conftest.err
     5010       } && test -s conftest.$ac_objext; then
    44355011  ac_cv_struct_tm=time.h
    44365012else
     
    44385014sed 's/^/| /' conftest.$ac_ext >&5
    44395015
    4440 ac_cv_struct_tm=sys/time.h
    4441 fi
    4442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4443 fi
    4444 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    4445 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     5016    ac_cv_struct_tm=sys/time.h
     5017fi
     5018
     5019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5020fi
     5021{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     5022echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
    44465023if test $ac_cv_struct_tm = sys/time.h; then
    44475024
     
    44715048_ACEOF
    44725049rm -f conftest.$ac_objext
    4473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4474   (eval $ac_compile) 2>conftest.er1
     5050if { (ac_try="$ac_compile"
     5051case "(($ac_try" in
     5052  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5053  *) ac_try_echo=$ac_try;;
     5054esac
     5055eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5056  (eval "$ac_compile") 2>conftest.er1
    44755057  ac_status=$?
    44765058  grep -v '^ *+' conftest.er1 >conftest.err
     
    44785060  cat conftest.err >&5
    44795061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4480   (exit $ac_status); } &&
    4481      { ac_try='test -z "$ac_c_werror_flag"
    4482              || test ! -s conftest.err'
    4483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4484   (eval $ac_try) 2>&5
    4485   ac_status=$?
    4486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4487   (exit $ac_status); }; } &&
    4488      { ac_try='test -s conftest.$ac_objext'
    4489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4490   (eval $ac_try) 2>&5
    4491   ac_status=$?
    4492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4493   (exit $ac_status); }; }; then
     5062  (exit $ac_status); } && {
     5063     test -z "$ac_c_werror_flag" ||
     5064     test ! -s conftest.err
     5065       } && test -s conftest.$ac_objext; then
    44945066  :
    44955067else
     
    44975069sed 's/^/| /' conftest.$ac_ext >&5
    44985070
    4499 CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    4500 fi
    4501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4502 fi
    4503 
    4504 
    4505 
    4506 echo "$as_me:$LINENO: checking for main in -lg" >&5
    4507 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     5071    CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     5072fi
     5073
     5074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5075fi
     5076
     5077
     5078
     5079{ echo "$as_me:$LINENO: checking for main in -lg" >&5
     5080echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
    45085081if test "${ac_cv_lib_g_main+set}" = set; then
    45095082  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45225095main ()
    45235096{
    4524 main ();
     5097return main ();
    45255098  ;
    45265099  return 0;
     
    45285101_ACEOF
    45295102rm -f conftest.$ac_objext conftest$ac_exeext
    4530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4531   (eval $ac_link) 2>conftest.er1
     5103if { (ac_try="$ac_link"
     5104case "(($ac_try" in
     5105  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5106  *) ac_try_echo=$ac_try;;
     5107esac
     5108eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5109  (eval "$ac_link") 2>conftest.er1
    45325110  ac_status=$?
    45335111  grep -v '^ *+' conftest.er1 >conftest.err
     
    45355113  cat conftest.err >&5
    45365114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4537   (exit $ac_status); } &&
    4538      { ac_try='test -z "$ac_c_werror_flag"
    4539              || test ! -s conftest.err'
    4540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4541   (eval $ac_try) 2>&5
    4542   ac_status=$?
    4543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4544   (exit $ac_status); }; } &&
    4545      { ac_try='test -s conftest$ac_exeext'
    4546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4547   (eval $ac_try) 2>&5
    4548   ac_status=$?
    4549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4550   (exit $ac_status); }; }; then
     5115  (exit $ac_status); } && {
     5116     test -z "$ac_c_werror_flag" ||
     5117     test ! -s conftest.err
     5118       } && test -s conftest$ac_exeext &&
     5119       $as_test_x conftest$ac_exeext; then
    45515120  ac_cv_lib_g_main=yes
    45525121else
     
    45545123sed 's/^/| /' conftest.$ac_ext >&5
    45555124
    4556 ac_cv_lib_g_main=no
    4557 fi
    4558 rm -f conftest.err conftest.$ac_objext \
     5125    ac_cv_lib_g_main=no
     5126fi
     5127
     5128rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    45595129      conftest$ac_exeext conftest.$ac_ext
    45605130LIBS=$ac_check_lib_save_LIBS
    45615131fi
    4562 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    4563 echo "${ECHO_T}$ac_cv_lib_g_main" >&6
     5132{ echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     5133echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
    45645134if test $ac_cv_lib_g_main = yes; then
    45655135  cat >>confdefs.h <<_ACEOF
     
    45735143
    45745144
    4575 echo "$as_me:$LINENO: checking for main in -lm" >&5
    4576 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     5145{ echo "$as_me:$LINENO: checking for main in -lm" >&5
     5146echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
    45775147if test "${ac_cv_lib_m_main+set}" = set; then
    45785148  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45915161main ()
    45925162{
    4593 main ();
     5163return main ();
    45945164  ;
    45955165  return 0;
     
    45975167_ACEOF
    45985168rm -f conftest.$ac_objext conftest$ac_exeext
    4599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4600   (eval $ac_link) 2>conftest.er1
     5169if { (ac_try="$ac_link"
     5170case "(($ac_try" in
     5171  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5172  *) ac_try_echo=$ac_try;;
     5173esac
     5174eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5175  (eval "$ac_link") 2>conftest.er1
    46015176  ac_status=$?
    46025177  grep -v '^ *+' conftest.er1 >conftest.err
     
    46045179  cat conftest.err >&5
    46055180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4606   (exit $ac_status); } &&
    4607      { ac_try='test -z "$ac_c_werror_flag"
    4608              || test ! -s conftest.err'
    4609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4610   (eval $ac_try) 2>&5
    4611   ac_status=$?
    4612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4613   (exit $ac_status); }; } &&
    4614      { ac_try='test -s conftest$ac_exeext'
    4615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4616   (eval $ac_try) 2>&5
    4617   ac_status=$?
    4618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4619   (exit $ac_status); }; }; then
     5181  (exit $ac_status); } && {
     5182     test -z "$ac_c_werror_flag" ||
     5183     test ! -s conftest.err
     5184       } && test -s conftest$ac_exeext &&
     5185       $as_test_x conftest$ac_exeext; then
    46205186  ac_cv_lib_m_main=yes
    46215187else
     
    46235189sed 's/^/| /' conftest.$ac_ext >&5
    46245190
    4625 ac_cv_lib_m_main=no
    4626 fi
    4627 rm -f conftest.err conftest.$ac_objext \
     5191    ac_cv_lib_m_main=no
     5192fi
     5193
     5194rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46285195      conftest$ac_exeext conftest.$ac_ext
    46295196LIBS=$ac_check_lib_save_LIBS
    46305197fi
    4631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    4632 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     5198{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     5199echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
    46335200if test $ac_cv_lib_m_main = yes; then
    46345201  cat >>confdefs.h <<_ACEOF
     
    46425209
    46435210
    4644 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    4645 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     5211{ echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     5212echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
    46465213if test "${ac_cv_lib_crypt_main+set}" = set; then
    46475214  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46605227main ()
    46615228{
    4662 main ();
     5229return main ();
    46635230  ;
    46645231  return 0;
     
    46665233_ACEOF
    46675234rm -f conftest.$ac_objext conftest$ac_exeext
    4668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4669   (eval $ac_link) 2>conftest.er1
     5235if { (ac_try="$ac_link"
     5236case "(($ac_try" in
     5237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5238  *) ac_try_echo=$ac_try;;
     5239esac
     5240eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5241  (eval "$ac_link") 2>conftest.er1
    46705242  ac_status=$?
    46715243  grep -v '^ *+' conftest.er1 >conftest.err
     
    46735245  cat conftest.err >&5
    46745246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4675   (exit $ac_status); } &&
    4676      { ac_try='test -z "$ac_c_werror_flag"
    4677              || test ! -s conftest.err'
    4678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4679   (eval $ac_try) 2>&5
    4680   ac_status=$?
    4681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4682   (exit $ac_status); }; } &&
    4683      { ac_try='test -s conftest$ac_exeext'
    4684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4685   (eval $ac_try) 2>&5
    4686   ac_status=$?
    4687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4688   (exit $ac_status); }; }; then
     5247  (exit $ac_status); } && {
     5248     test -z "$ac_c_werror_flag" ||
     5249     test ! -s conftest.err
     5250       } && test -s conftest$ac_exeext &&
     5251       $as_test_x conftest$ac_exeext; then
    46895252  ac_cv_lib_crypt_main=yes
    46905253else
     
    46925255sed 's/^/| /' conftest.$ac_ext >&5
    46935256
    4694 ac_cv_lib_crypt_main=no
    4695 fi
    4696 rm -f conftest.err conftest.$ac_objext \
     5257    ac_cv_lib_crypt_main=no
     5258fi
     5259
     5260rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46975261      conftest$ac_exeext conftest.$ac_ext
    46985262LIBS=$ac_check_lib_save_LIBS
    46995263fi
    4700 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    4701 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
     5264{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     5265echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
    47025266if test $ac_cv_lib_crypt_main = yes; then
    47035267  cat >>confdefs.h <<_ACEOF
     
    47105274ac_cv_lib_crypt=ac_cv_lib_crypt_main
    47115275
    4712 if test $ENABLE_ACCENTFOLD = 1; then
    4713 
    4714 echo "$as_me:$LINENO: checking for main in -liconv" >&5
    4715 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6
    4716 if test "${ac_cv_lib_iconv_main+set}" = set; then
    4717   echo $ECHO_N "(cached) $ECHO_C" >&6
    4718 else
    4719   ac_check_lib_save_LIBS=$LIBS
    4720 LIBS="-liconv  $LIBS"
    4721 cat >conftest.$ac_ext <<_ACEOF
    4722 /* confdefs.h.  */
    4723 _ACEOF
    4724 cat confdefs.h >>conftest.$ac_ext
    4725 cat >>conftest.$ac_ext <<_ACEOF
    4726 /* end confdefs.h.  */
    4727 
    4728 
    4729 int
    4730 main ()
    4731 {
    4732 main ();
    4733   ;
    4734   return 0;
    4735 }
    4736 _ACEOF
    4737 rm -f conftest.$ac_objext conftest$ac_exeext
    4738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4739   (eval $ac_link) 2>conftest.er1
    4740   ac_status=$?
    4741   grep -v '^ *+' conftest.er1 >conftest.err
    4742   rm -f conftest.er1
    4743   cat conftest.err >&5
    4744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4745   (exit $ac_status); } &&
    4746      { ac_try='test -z "$ac_c_werror_flag"
    4747              || test ! -s conftest.err'
    4748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4749   (eval $ac_try) 2>&5
    4750   ac_status=$?
    4751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4752   (exit $ac_status); }; } &&
    4753      { ac_try='test -s conftest$ac_exeext'
    4754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4755   (eval $ac_try) 2>&5
    4756   ac_status=$?
    4757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4758   (exit $ac_status); }; }; then
    4759   ac_cv_lib_iconv_main=yes
    4760 else
    4761   echo "$as_me: failed program was:" >&5
    4762 sed 's/^/| /' conftest.$ac_ext >&5
    4763 
    4764 ac_cv_lib_iconv_main=no
    4765 fi
    4766 rm -f conftest.err conftest.$ac_objext \
    4767       conftest$ac_exeext conftest.$ac_ext
    4768 LIBS=$ac_check_lib_save_LIBS
    4769 fi
    4770 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
    4771 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6
    4772 if test $ac_cv_lib_iconv_main = yes; then
    4773   cat >>confdefs.h <<_ACEOF
    4774 #define HAVE_LIBICONV 1
    4775 _ACEOF
    4776 
    4777   LIBS="-liconv $LIBS"
    4778 
    4779 fi
    4780 ac_cv_lib_iconv=ac_cv_lib_iconv_main
    4781 
    4782 fi
     5276#if test $ENABLE_ACCENTFOLD = 1; then
     5277#AC_HAVE_LIBRARY(iconv)
     5278#fi
    47835279
    47845280
     
    47905286for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    47915287  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    4792 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    4793 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    4794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5288{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     5289echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
     5290if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    47955291  echo $ECHO_N "(cached) $ECHO_C" >&6
    47965292else
     
    48145310_ACEOF
    48155311rm -f conftest.$ac_objext
    4816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4817   (eval $ac_compile) 2>conftest.er1
     5312if { (ac_try="$ac_compile"
     5313case "(($ac_try" in
     5314  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5315  *) ac_try_echo=$ac_try;;
     5316esac
     5317eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5318  (eval "$ac_compile") 2>conftest.er1
    48185319  ac_status=$?
    48195320  grep -v '^ *+' conftest.er1 >conftest.err
     
    48215322  cat conftest.err >&5
    48225323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4823   (exit $ac_status); } &&
    4824      { ac_try='test -z "$ac_c_werror_flag"
    4825              || test ! -s conftest.err'
    4826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4827   (eval $ac_try) 2>&5
    4828   ac_status=$?
    4829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4830   (exit $ac_status); }; } &&
    4831      { ac_try='test -s conftest.$ac_objext'
    4832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4833   (eval $ac_try) 2>&5
    4834   ac_status=$?
    4835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4836   (exit $ac_status); }; }; then
     5324  (exit $ac_status); } && {
     5325     test -z "$ac_c_werror_flag" ||
     5326     test ! -s conftest.err
     5327       } && test -s conftest.$ac_objext; then
    48375328  eval "$as_ac_Header=yes"
    48385329else
     
    48405331sed 's/^/| /' conftest.$ac_ext >&5
    48415332
    4842 eval "$as_ac_Header=no"
    4843 fi
    4844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4845 fi
    4846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5333    eval "$as_ac_Header=no"
     5334fi
     5335
     5336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5337fi
     5338ac_res=`eval echo '${'$as_ac_Header'}'`
     5339           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5340echo "${ECHO_T}$ac_res" >&6; }
    48485341if test `eval echo '${'$as_ac_Header'}'` = yes; then
    48495342  cat >>confdefs.h <<_ACEOF
     
    48575350# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    48585351if test $ac_header_dirent = dirent.h; then
    4859   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4860 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     5352  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5353echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    48615354if test "${ac_cv_search_opendir+set}" = set; then
    48625355  echo $ECHO_N "(cached) $ECHO_C" >&6
    48635356else
    48645357  ac_func_search_save_LIBS=$LIBS
    4865 ac_cv_search_opendir=no
    48665358cat >conftest.$ac_ext <<_ACEOF
    48675359/* confdefs.h.  */
     
    48715363/* end confdefs.h.  */
    48725364
    4873 /* Override any gcc2 internal prototype to avoid an error.  */
     5365/* Override any GCC internal prototype to avoid an error.
     5366   Use char because int might match the return type of a GCC
     5367   builtin and then its argument prototype would still apply.  */
    48745368#ifdef __cplusplus
    48755369extern "C"
    48765370#endif
    4877 /* We use char because int might match the return type of a gcc2
    4878    builtin and then its argument prototype would still apply.  */
    48795371char opendir ();
    48805372int
    48815373main ()
    48825374{
    4883 opendir ();
     5375return opendir ();
    48845376  ;
    48855377  return 0;
    48865378}
    48875379_ACEOF
    4888 rm -f conftest.$ac_objext conftest$ac_exeext
    4889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4890   (eval $ac_link) 2>conftest.er1
     5380for ac_lib in '' dir; do
     5381  if test -z "$ac_lib"; then
     5382    ac_res="none required"
     5383  else
     5384    ac_res=-l$ac_lib
     5385    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5386  fi
     5387  rm -f conftest.$ac_objext conftest$ac_exeext
     5388if { (ac_try="$ac_link"
     5389case "(($ac_try" in
     5390  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5391  *) ac_try_echo=$ac_try;;
     5392esac
     5393eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5394  (eval "$ac_link") 2>conftest.er1
    48915395  ac_status=$?
    48925396  grep -v '^ *+' conftest.er1 >conftest.err
     
    48945398  cat conftest.err >&5
    48955399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4896   (exit $ac_status); } &&
    4897      { ac_try='test -z "$ac_c_werror_flag"
    4898              || test ! -s conftest.err'
    4899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4900   (eval $ac_try) 2>&5
    4901   ac_status=$?
    4902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4903   (exit $ac_status); }; } &&
    4904      { ac_try='test -s conftest$ac_exeext'
    4905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4906   (eval $ac_try) 2>&5
    4907   ac_status=$?
    4908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4909   (exit $ac_status); }; }; then
    4910   ac_cv_search_opendir="none required"
     5400  (exit $ac_status); } && {
     5401     test -z "$ac_c_werror_flag" ||
     5402     test ! -s conftest.err
     5403       } && test -s conftest$ac_exeext &&
     5404       $as_test_x conftest$ac_exeext; then
     5405  ac_cv_search_opendir=$ac_res
    49115406else
    49125407  echo "$as_me: failed program was:" >&5
    49135408sed 's/^/| /' conftest.$ac_ext >&5
    49145409
    4915 fi
    4916 rm -f conftest.err conftest.$ac_objext \
    4917       conftest$ac_exeext conftest.$ac_ext
    4918 if test "$ac_cv_search_opendir" = no; then
    4919   for ac_lib in dir; do
    4920     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4921     cat >conftest.$ac_ext <<_ACEOF
     5410
     5411fi
     5412
     5413rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5414      conftest$ac_exeext
     5415  if test "${ac_cv_search_opendir+set}" = set; then
     5416  break
     5417fi
     5418done
     5419if test "${ac_cv_search_opendir+set}" = set; then
     5420  :
     5421else
     5422  ac_cv_search_opendir=no
     5423fi
     5424rm conftest.$ac_ext
     5425LIBS=$ac_func_search_save_LIBS
     5426fi
     5427{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5428echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5429ac_res=$ac_cv_search_opendir
     5430if test "$ac_res" != no; then
     5431  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5432
     5433fi
     5434
     5435else
     5436  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5437echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
     5438if test "${ac_cv_search_opendir+set}" = set; then
     5439  echo $ECHO_N "(cached) $ECHO_C" >&6
     5440else
     5441  ac_func_search_save_LIBS=$LIBS
     5442cat >conftest.$ac_ext <<_ACEOF
    49225443/* confdefs.h.  */
    49235444_ACEOF
     
    49265447/* end confdefs.h.  */
    49275448
    4928 /* Override any gcc2 internal prototype to avoid an error.  */
     5449/* Override any GCC internal prototype to avoid an error.
     5450   Use char because int might match the return type of a GCC
     5451   builtin and then its argument prototype would still apply.  */
    49295452#ifdef __cplusplus
    49305453extern "C"
    49315454#endif
    4932 /* We use char because int might match the return type of a gcc2
    4933    builtin and then its argument prototype would still apply.  */
    49345455char opendir ();
    49355456int
    49365457main ()
    49375458{
    4938 opendir ();
     5459return opendir ();
    49395460  ;
    49405461  return 0;
    49415462}
    49425463_ACEOF
    4943 rm -f conftest.$ac_objext conftest$ac_exeext
    4944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4945   (eval $ac_link) 2>conftest.er1
     5464for ac_lib in '' x; do
     5465  if test -z "$ac_lib"; then
     5466    ac_res="none required"
     5467  else
     5468    ac_res=-l$ac_lib
     5469    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5470  fi
     5471  rm -f conftest.$ac_objext conftest$ac_exeext
     5472if { (ac_try="$ac_link"
     5473case "(($ac_try" in
     5474  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5475  *) ac_try_echo=$ac_try;;
     5476esac
     5477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5478  (eval "$ac_link") 2>conftest.er1
    49465479  ac_status=$?
    49475480  grep -v '^ *+' conftest.er1 >conftest.err
     
    49495482  cat conftest.err >&5
    49505483  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4951   (exit $ac_status); } &&
    4952      { ac_try='test -z "$ac_c_werror_flag"
    4953              || test ! -s conftest.err'
    4954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4955   (eval $ac_try) 2>&5
    4956   ac_status=$?
    4957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4958   (exit $ac_status); }; } &&
    4959      { ac_try='test -s conftest$ac_exeext'
    4960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4961   (eval $ac_try) 2>&5
    4962   ac_status=$?
    4963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4964   (exit $ac_status); }; }; then
    4965   ac_cv_search_opendir="-l$ac_lib"
    4966 break
     5484  (exit $ac_status); } && {
     5485     test -z "$ac_c_werror_flag" ||
     5486     test ! -s conftest.err
     5487       } && test -s conftest$ac_exeext &&
     5488       $as_test_x conftest$ac_exeext; then
     5489  ac_cv_search_opendir=$ac_res
    49675490else
    49685491  echo "$as_me: failed program was:" >&5
    49695492sed 's/^/| /' conftest.$ac_ext >&5
    49705493
    4971 fi
    4972 rm -f conftest.err conftest.$ac_objext \
    4973       conftest$ac_exeext conftest.$ac_ext
    4974   done
    4975 fi
     5494
     5495fi
     5496
     5497rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5498      conftest$ac_exeext
     5499  if test "${ac_cv_search_opendir+set}" = set; then
     5500  break
     5501fi
     5502done
     5503if test "${ac_cv_search_opendir+set}" = set; then
     5504  :
     5505else
     5506  ac_cv_search_opendir=no
     5507fi
     5508rm conftest.$ac_ext
    49765509LIBS=$ac_func_search_save_LIBS
    49775510fi
    4978 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    4979 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    4980 if test "$ac_cv_search_opendir" != no; then
    4981   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    4982 
    4983 fi
    4984 
    4985 else
    4986   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4987 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    4988 if test "${ac_cv_search_opendir+set}" = set; then
    4989   echo $ECHO_N "(cached) $ECHO_C" >&6
    4990 else
    4991   ac_func_search_save_LIBS=$LIBS
    4992 ac_cv_search_opendir=no
    4993 cat >conftest.$ac_ext <<_ACEOF
    4994 /* confdefs.h.  */
    4995 _ACEOF
    4996 cat confdefs.h >>conftest.$ac_ext
    4997 cat >>conftest.$ac_ext <<_ACEOF
    4998 /* end confdefs.h.  */
    4999 
    5000 /* Override any gcc2 internal prototype to avoid an error.  */
    5001 #ifdef __cplusplus
    5002 extern "C"
    5003 #endif
    5004 /* We use char because int might match the return type of a gcc2
    5005    builtin and then its argument prototype would still apply.  */
    5006 char opendir ();
    5007 int
    5008 main ()
    5009 {
    5010 opendir ();
    5011   ;
    5012   return 0;
    5013 }
    5014 _ACEOF
    5015 rm -f conftest.$ac_objext conftest$ac_exeext
    5016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5017   (eval $ac_link) 2>conftest.er1
    5018   ac_status=$?
    5019   grep -v '^ *+' conftest.er1 >conftest.err
    5020   rm -f conftest.er1
    5021   cat conftest.err >&5
    5022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5023   (exit $ac_status); } &&
    5024      { ac_try='test -z "$ac_c_werror_flag"
    5025              || test ! -s conftest.err'
    5026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5027   (eval $ac_try) 2>&5
    5028   ac_status=$?
    5029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5030   (exit $ac_status); }; } &&
    5031      { ac_try='test -s conftest$ac_exeext'
    5032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5033   (eval $ac_try) 2>&5
    5034   ac_status=$?
    5035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5036   (exit $ac_status); }; }; then
    5037   ac_cv_search_opendir="none required"
    5038 else
    5039   echo "$as_me: failed program was:" >&5
    5040 sed 's/^/| /' conftest.$ac_ext >&5
    5041 
    5042 fi
    5043 rm -f conftest.err conftest.$ac_objext \
    5044       conftest$ac_exeext conftest.$ac_ext
    5045 if test "$ac_cv_search_opendir" = no; then
    5046   for ac_lib in x; do
    5047     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5048     cat >conftest.$ac_ext <<_ACEOF
    5049 /* confdefs.h.  */
    5050 _ACEOF
    5051 cat confdefs.h >>conftest.$ac_ext
    5052 cat >>conftest.$ac_ext <<_ACEOF
    5053 /* end confdefs.h.  */
    5054 
    5055 /* Override any gcc2 internal prototype to avoid an error.  */
    5056 #ifdef __cplusplus
    5057 extern "C"
    5058 #endif
    5059 /* We use char because int might match the return type of a gcc2
    5060    builtin and then its argument prototype would still apply.  */
    5061 char opendir ();
    5062 int
    5063 main ()
    5064 {
    5065 opendir ();
    5066   ;
    5067   return 0;
    5068 }
    5069 _ACEOF
    5070 rm -f conftest.$ac_objext conftest$ac_exeext
    5071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5072   (eval $ac_link) 2>conftest.er1
    5073   ac_status=$?
    5074   grep -v '^ *+' conftest.er1 >conftest.err
    5075   rm -f conftest.er1
    5076   cat conftest.err >&5
    5077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5078   (exit $ac_status); } &&
    5079      { ac_try='test -z "$ac_c_werror_flag"
    5080              || test ! -s conftest.err'
    5081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5082   (eval $ac_try) 2>&5
    5083   ac_status=$?
    5084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5085   (exit $ac_status); }; } &&
    5086      { ac_try='test -s conftest$ac_exeext'
    5087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5088   (eval $ac_try) 2>&5
    5089   ac_status=$?
    5090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5091   (exit $ac_status); }; }; then
    5092   ac_cv_search_opendir="-l$ac_lib"
    5093 break
    5094 else
    5095   echo "$as_me: failed program was:" >&5
    5096 sed 's/^/| /' conftest.$ac_ext >&5
    5097 
    5098 fi
    5099 rm -f conftest.err conftest.$ac_objext \
    5100       conftest$ac_exeext conftest.$ac_ext
    5101   done
    5102 fi
    5103 LIBS=$ac_func_search_save_LIBS
    5104 fi
    5105 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5106 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5107 if test "$ac_cv_search_opendir" != no; then
    5108   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5109 
    5110 fi
    5111 
    5112 fi
    5113 
    5114 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5115 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     5511{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5512echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5513ac_res=$ac_cv_search_opendir
     5514if test "$ac_res" != no; then
     5515  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5516
     5517fi
     5518
     5519fi
     5520
     5521{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5522echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    51165523if test "${ac_cv_header_stdc+set}" = set; then
    51175524  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51375544_ACEOF
    51385545rm -f conftest.$ac_objext
    5139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5140   (eval $ac_compile) 2>conftest.er1
     5546if { (ac_try="$ac_compile"
     5547case "(($ac_try" in
     5548  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5549  *) ac_try_echo=$ac_try;;
     5550esac
     5551eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5552  (eval "$ac_compile") 2>conftest.er1
    51415553  ac_status=$?
    51425554  grep -v '^ *+' conftest.er1 >conftest.err
     
    51445556  cat conftest.err >&5
    51455557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5146   (exit $ac_status); } &&
    5147      { ac_try='test -z "$ac_c_werror_flag"
    5148              || test ! -s conftest.err'
    5149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5150   (eval $ac_try) 2>&5
    5151   ac_status=$?
    5152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5153   (exit $ac_status); }; } &&
    5154      { ac_try='test -s conftest.$ac_objext'
    5155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5156   (eval $ac_try) 2>&5
    5157   ac_status=$?
    5158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5159   (exit $ac_status); }; }; then
     5558  (exit $ac_status); } && {
     5559     test -z "$ac_c_werror_flag" ||
     5560     test ! -s conftest.err
     5561       } && test -s conftest.$ac_objext; then
    51605562  ac_cv_header_stdc=yes
    51615563else
     
    51635565sed 's/^/| /' conftest.$ac_ext >&5
    51645566
    5165 ac_cv_header_stdc=no
    5166 fi
    5167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5567    ac_cv_header_stdc=no
     5568fi
     5569
     5570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    51685571
    51695572if test $ac_cv_header_stdc = yes; then
     
    52215624/* end confdefs.h.  */
    52225625#include <ctype.h>
     5626#include <stdlib.h>
    52235627#if ((' ' & 0x0FF) == 0x020)
    52245628# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    52405644    if (XOR (islower (i), ISLOWER (i))
    52415645    || toupper (i) != TOUPPER (i))
    5242       exit(2);
    5243   exit (0);
     5646      return 2;
     5647  return 0;
    52445648}
    52455649_ACEOF
    52465650rm -f conftest$ac_exeext
    5247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5248   (eval $ac_link) 2>&5
     5651if { (ac_try="$ac_link"
     5652case "(($ac_try" in
     5653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5654  *) ac_try_echo=$ac_try;;
     5655esac
     5656eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5657  (eval "$ac_link") 2>&5
    52495658  ac_status=$?
    52505659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52515660  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5253   (eval $ac_try) 2>&5
     5661  { (case "(($ac_try" in
     5662  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5663  *) ac_try_echo=$ac_try;;
     5664esac
     5665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5666  (eval "$ac_try") 2>&5
    52545667  ac_status=$?
    52555668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    52645677ac_cv_header_stdc=no
    52655678fi
    5266 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5267 fi
    5268 fi
    5269 fi
    5270 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5271 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     5679rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5680fi
     5681
     5682
     5683fi
     5684fi
     5685{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5686echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    52725687if test $ac_cv_header_stdc = yes; then
    52735688
     
    52905705do
    52915706as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5293   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5707if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5708  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     5709echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5710if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    52965711  echo $ECHO_N "(cached) $ECHO_C" >&6
    52975712fi
    5298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5713ac_res=`eval echo '${'$as_ac_Header'}'`
     5714           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5715echo "${ECHO_T}$ac_res" >&6; }
    53005716else
    53015717  # Is the header compilable?
    5302 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5718{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5719echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    53045720cat >conftest.$ac_ext <<_ACEOF
    53055721/* confdefs.h.  */
     
    53125728_ACEOF
    53135729rm -f conftest.$ac_objext
    5314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5315   (eval $ac_compile) 2>conftest.er1
     5730if { (ac_try="$ac_compile"
     5731case "(($ac_try" in
     5732  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5733  *) ac_try_echo=$ac_try;;
     5734esac
     5735eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5736  (eval "$ac_compile") 2>conftest.er1
    53165737  ac_status=$?
    53175738  grep -v '^ *+' conftest.er1 >conftest.err
     
    53195740  cat conftest.err >&5
    53205741  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5321   (exit $ac_status); } &&
    5322      { ac_try='test -z "$ac_c_werror_flag"
    5323              || test ! -s conftest.err'
    5324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5325   (eval $ac_try) 2>&5
    5326   ac_status=$?
    5327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5328   (exit $ac_status); }; } &&
    5329      { ac_try='test -s conftest.$ac_objext'
    5330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5331   (eval $ac_try) 2>&5
    5332   ac_status=$?
    5333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5334   (exit $ac_status); }; }; then
     5742  (exit $ac_status); } && {
     5743     test -z "$ac_c_werror_flag" ||
     5744     test ! -s conftest.err
     5745       } && test -s conftest.$ac_objext; then
    53355746  ac_header_compiler=yes
    53365747else
     
    53385749sed 's/^/| /' conftest.$ac_ext >&5
    53395750
    5340 ac_header_compiler=no
    5341 fi
    5342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5344 echo "${ECHO_T}$ac_header_compiler" >&6
     5751    ac_header_compiler=no
     5752fi
     5753
     5754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5755{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5756echo "${ECHO_T}$ac_header_compiler" >&6; }
    53455757
    53465758# Is the header present?
    5347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5759{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5760echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    53495761cat >conftest.$ac_ext <<_ACEOF
    53505762/* confdefs.h.  */
     
    53555767#include <$ac_header>
    53565768_ACEOF
    5357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5358   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5769if { (ac_try="$ac_cpp conftest.$ac_ext"
     5770case "(($ac_try" in
     5771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5772  *) ac_try_echo=$ac_try;;
     5773esac
     5774eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5775  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    53595776  ac_status=$?
    53605777  grep -v '^ *+' conftest.er1 >conftest.err
     
    53625779  cat conftest.err >&5
    53635780  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5364   (exit $ac_status); } >/dev/null; then
    5365   if test -s conftest.err; then
    5366     ac_cpp_err=$ac_c_preproc_warn_flag
    5367     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5368   else
    5369     ac_cpp_err=
    5370   fi
    5371 else
    5372   ac_cpp_err=yes
    5373 fi
    5374 if test -z "$ac_cpp_err"; then
     5781  (exit $ac_status); } >/dev/null && {
     5782     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5783     test ! -s conftest.err
     5784       }; then
    53755785  ac_header_preproc=yes
    53765786else
     
    53805790  ac_header_preproc=no
    53815791fi
     5792
    53825793rm -f conftest.err conftest.$ac_ext
    5383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5384 echo "${ECHO_T}$ac_header_preproc" >&6
     5794{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5795echo "${ECHO_T}$ac_header_preproc" >&6; }
    53855796
    53865797# So?  What about this header?
     
    54065817    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    54075818echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5408     (
    5409       cat <<\_ASBOX
    5410 ## ------------------------------------------ ##
    5411 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5412 ## ------------------------------------------ ##
    5413 _ASBOX
    5414     ) |
    5415       sed "s/^/$as_me: WARNING:     /" >&2
     5819
    54165820    ;;
    54175821esac
    5418 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5822{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     5823echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5824if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    54215825  echo $ECHO_N "(cached) $ECHO_C" >&6
    54225826else
    54235827  eval "$as_ac_Header=\$ac_header_preproc"
    54245828fi
    5425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5829ac_res=`eval echo '${'$as_ac_Header'}'`
     5830           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5831echo "${ECHO_T}$ac_res" >&6; }
    54275832
    54285833fi
     
    54935898# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    54945899# for constant arguments.  Useless!
    5495 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5496 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     5900{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5901echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
    54975902if test "${ac_cv_working_alloca_h+set}" = set; then
    54985903  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55095914{
    55105915char *p = (char *) alloca (2 * sizeof (int));
     5916              if (p) return 0;
    55115917  ;
    55125918  return 0;
     
    55145920_ACEOF
    55155921rm -f conftest.$ac_objext conftest$ac_exeext
    5516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5517   (eval $ac_link) 2>conftest.er1
     5922if { (ac_try="$ac_link"
     5923case "(($ac_try" in
     5924  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5925  *) ac_try_echo=$ac_try;;
     5926esac
     5927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5928  (eval "$ac_link") 2>conftest.er1
    55185929  ac_status=$?
    55195930  grep -v '^ *+' conftest.er1 >conftest.err
     
    55215932  cat conftest.err >&5
    55225933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5523   (exit $ac_status); } &&
    5524      { ac_try='test -z "$ac_c_werror_flag"
    5525              || test ! -s conftest.err'
    5526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5527   (eval $ac_try) 2>&5
    5528   ac_status=$?
    5529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5530   (exit $ac_status); }; } &&
    5531      { ac_try='test -s conftest$ac_exeext'
    5532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5533   (eval $ac_try) 2>&5
    5534   ac_status=$?
    5535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5536   (exit $ac_status); }; }; then
     5934  (exit $ac_status); } && {
     5935     test -z "$ac_c_werror_flag" ||
     5936     test ! -s conftest.err
     5937       } && test -s conftest$ac_exeext &&
     5938       $as_test_x conftest$ac_exeext; then
    55375939  ac_cv_working_alloca_h=yes
    55385940else
     
    55405942sed 's/^/| /' conftest.$ac_ext >&5
    55415943
    5542 ac_cv_working_alloca_h=no
    5543 fi
    5544 rm -f conftest.err conftest.$ac_objext \
     5944    ac_cv_working_alloca_h=no
     5945fi
     5946
     5947rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    55455948      conftest$ac_exeext conftest.$ac_ext
    55465949fi
    5547 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5548 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
     5950{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5951echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
    55495952if test $ac_cv_working_alloca_h = yes; then
    55505953
     
    55555958fi
    55565959
    5557 echo "$as_me:$LINENO: checking for alloca" >&5
    5558 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     5960{ echo "$as_me:$LINENO: checking for alloca" >&5
     5961echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
    55595962if test "${ac_cv_func_alloca_works+set}" = set; then
    55605963  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55735976#  define alloca _alloca
    55745977# else
    5575 #  if HAVE_ALLOCA_H
     5978#  ifdef HAVE_ALLOCA_H
    55765979#   include <alloca.h>
    55775980#  else
     
    55915994{
    55925995char *p = (char *) alloca (1);
     5996                    if (p) return 0;
    55935997  ;
    55945998  return 0;
     
    55966000_ACEOF
    55976001rm -f conftest.$ac_objext conftest$ac_exeext
    5598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5599   (eval $ac_link) 2>conftest.er1
     6002if { (ac_try="$ac_link"
     6003case "(($ac_try" in
     6004  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6005  *) ac_try_echo=$ac_try;;
     6006esac
     6007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6008  (eval "$ac_link") 2>conftest.er1
    56006009  ac_status=$?
    56016010  grep -v '^ *+' conftest.er1 >conftest.err
     
    56036012  cat conftest.err >&5
    56046013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5605   (exit $ac_status); } &&
    5606      { ac_try='test -z "$ac_c_werror_flag"
    5607              || test ! -s conftest.err'
    5608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5609   (eval $ac_try) 2>&5
    5610   ac_status=$?
    5611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5612   (exit $ac_status); }; } &&
    5613      { ac_try='test -s conftest$ac_exeext'
    5614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5615   (eval $ac_try) 2>&5
    5616   ac_status=$?
    5617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5618   (exit $ac_status); }; }; then
     6014  (exit $ac_status); } && {
     6015     test -z "$ac_c_werror_flag" ||
     6016     test ! -s conftest.err
     6017       } && test -s conftest$ac_exeext &&
     6018       $as_test_x conftest$ac_exeext; then
    56196019  ac_cv_func_alloca_works=yes
    56206020else
     
    56226022sed 's/^/| /' conftest.$ac_ext >&5
    56236023
    5624 ac_cv_func_alloca_works=no
    5625 fi
    5626 rm -f conftest.err conftest.$ac_objext \
     6024    ac_cv_func_alloca_works=no
     6025fi
     6026
     6027rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    56276028      conftest$ac_exeext conftest.$ac_ext
    56286029fi
    5629 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    5630 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
     6030{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     6031echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
    56316032
    56326033if test $ac_cv_func_alloca_works = yes; then
     
    56426043# use ar to extract alloca.o from them instead of compiling alloca.c.
    56436044
    5644 ALLOCA=alloca.$ac_objext
     6045ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    56456046
    56466047cat >>confdefs.h <<\_ACEOF
     
    56496050
    56506051
    5651 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    5652 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     6052{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     6053echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
    56536054if test "${ac_cv_os_cray+set}" = set; then
    56546055  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    56606061cat >>conftest.$ac_ext <<_ACEOF
    56616062/* end confdefs.h.  */
    5662 #if defined(CRAY) && ! defined(CRAY2)
     6063#if defined CRAY && ! defined CRAY2
    56636064webecray
    56646065#else
     
    56766077
    56776078fi
    5678 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    5679 echo "${ECHO_T}$ac_cv_os_cray" >&6
     6079{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     6080echo "${ECHO_T}$ac_cv_os_cray" >&6; }
    56806081if test $ac_cv_os_cray = yes; then
    56816082  for ac_func in _getb67 GETB67 getb67; do
    56826083    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5683 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5685 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6084{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6085echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6086if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then