Changeset 20844


Ignore:
Timestamp:
2009-10-23T07:04:22+13:00 (15 years ago)
Author:
oranfry
Message:

removing another check for iconv casing problems

Location:
indexers/trunk/mgpp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indexers/trunk/mgpp/configure

    r20832 r20844  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     3# Generated by GNU Autoconf 2.61.
    44#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
     5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    67# This configure script is free software; the Free Software Foundation
    78# gives unlimited permission to copy, distribute and modify it.
     
    1011## --------------------- ##
    1112
    12 # Be Bourne compatible
     13# Be more Bourne compatible
     14DUALCASE=1; export DUALCASE # for MKS sh
    1315if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1416  emulate sh
     
    1719  # is contrary to our usage.  Disable this feature.
    1820  alias -g '${1+"$@"}'='"$@"'
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20   set -o posix
    21 fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    23 
    24 # Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26   as_unset=unset
    27 else
    28   as_unset=false
    29 fi
    30 
    31 
    32 # Work around bugs in pre-3.0 UWIN ksh.
    33 $as_unset ENV MAIL MAILPATH
    34 PS1='$ '
    35 PS2='> '
    36 PS4='+ '
    37 
    38 # NLS nuisances.
    39 for as_var in \
    40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42   LC_TELEPHONE LC_TIME
    43 do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45     eval $as_var=C; export $as_var
    46   else
    47     $as_unset $as_var
    48   fi
    49 done
    50 
    51 # Required to use basename.
    52 if expr a : '\(a\)' >/dev/null 2>&1; then
    53   as_expr=expr
    54 else
    55   as_expr=false
    56 fi
    57 
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    59   as_basename=basename
    60 else
    61   as_basename=false
    62 fi
    63 
    64 
    65 # Name of the executable.
    66 as_me=`$as_basename "$0" ||
    67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68      X"$0" : 'X\(//\)$' \| \
    69      X"$0" : 'X\(/\)$' \| \
    70      .     : '\(.\)' 2>/dev/null ||
    71 echo X/"$0" |
    72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73       /^X\/\(\/\/\)$/{ s//\1/; q; }
    74       /^X\/\(\/\).*/{ s//\1/; q; }
    75       s/.*/./; q'`
    76 
    77 
    78 # PATH needs CR, and LINENO needs CR and PATH.
     21  setopt NO_GLOB_SUBST
     22else
     23  case `(set -o) 2>/dev/null` in
     24  *posix*) set -o posix ;;
     25esac
     26
     27fi
     28
     29
     30
     31
     32# PATH needs CR
    7933# Avoid depending upon Character Ranges.
    8034as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    9751fi
    9852
    99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     53# Support unset when possible.
     54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     55  as_unset=unset
     56else
     57  as_unset=false
     58fi
     59
     60
     61# IFS
     62# We need space, tab and new line, in precisely that order.  Quoting is
     63# there to prevent editors from complaining about space-tab.
     64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     65# splitting by setting IFS to empty value.)
     66as_nl='
     67'
     68IFS=" ""    $as_nl"
     69
     70# Find who we are.  Look in the path if we contain no directory separator.
     71case $0 in
     72  *[\\/]* ) as_myself=$0 ;;
     73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    11074for as_dir in $PATH
    11175do
     
    11478  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    11579done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
     80IFS=$as_save_IFS
     81
     82     ;;
     83esac
     84# We did not find ourselves, most probably we were run as `sh COMMAND'
     85# in which case we are not to be found in the path.
     86if test "x$as_myself" = x; then
     87  as_myself=$0
     88fi
     89if test ! -f "$as_myself"; then
     90  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     91  { (exit 1); exit 1; }
     92fi
     93
     94# Work around bugs in pre-3.0 UWIN ksh.
     95for as_var in ENV MAIL MAILPATH
     96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     97done
     98PS1='$ '
     99PS2='> '
     100PS4='+ '
     101
     102# NLS nuisances.
     103for as_var in \
     104  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     105  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     106  LC_TELEPHONE LC_TIME
     107do
     108  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     109    eval $as_var=C; export $as_var
     110  else
     111    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    123112  fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
     113done
     114
     115# Required to use basename.
     116if expr a : '\(a\)' >/dev/null 2>&1 &&
     117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     118  as_expr=expr
     119else
     120  as_expr=false
     121fi
     122
     123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     124  as_basename=basename
     125else
     126  as_basename=false
     127fi
     128
     129
     130# Name of the executable.
     131as_me=`$as_basename -- "$0" ||
     132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     133     X"$0" : 'X\(//\)$' \| \
     134     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     135echo X/"$0" |
     136    sed '/^.*\/\([^/][^/]*\)\/*$/{
     137        s//\1/
     138        q
     139      }
     140      /^X\/\(\/\/\)$/{
     141        s//\1/
     142        q
     143      }
     144      /^X\/\(\/\).*/{
     145        s//\1/
     146        q
     147      }
     148      s/.*/./; q'`
     149
     150# CDPATH.
     151$as_unset CDPATH
     152
     153
     154if test "x$CONFIG_SHELL" = x; then
     155  if (eval ":") 2>/dev/null; then
     156  as_have_required=yes
     157else
     158  as_have_required=no
     159fi
     160
     161  if test $as_have_required = yes &&     (eval ":
     162(as_func_return () {
     163  (exit \$1)
     164}
     165as_func_success () {
     166  as_func_return 0
     167}
     168as_func_failure () {
     169  as_func_return 1
     170}
     171as_func_ret_success () {
     172  return 0
     173}
     174as_func_ret_failure () {
     175  return 1
     176}
     177
     178exitcode=0
     179if as_func_success; then
     180  :
     181else
     182  exitcode=1
     183  echo as_func_success failed.
     184fi
     185
     186if as_func_failure; then
     187  exitcode=1
     188  echo as_func_failure succeeded.
     189fi
     190
     191if as_func_ret_success; then
     192  :
     193else
     194  exitcode=1
     195  echo as_func_ret_success failed.
     196fi
     197
     198if as_func_ret_failure; then
     199  exitcode=1
     200  echo as_func_ret_failure succeeded.
     201fi
     202
     203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     204  :
     205else
     206  exitcode=1
     207  echo positional parameters were not saved.
     208fi
     209
     210test \$exitcode = 0) || { (exit 1); exit 1; }
     211
     212(
     213  as_lineno_1=\$LINENO
     214  as_lineno_2=\$LINENO
     215  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     216  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     217") 2> /dev/null; then
     218  :
     219else
     220  as_candidate_shells=
    130221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    133224  IFS=$as_save_IFS
    134225  test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136      case $as_dir in
     226  case $as_dir in
    137227     /*)
    138        if ("$as_dir/$as_base" -c '
     228       for as_base in sh bash ksh sh5; do
     229         as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     230       done;;
     231       esac
     232done
     233IFS=$as_save_IFS
     234
     235
     236      for as_shell in $as_candidate_shells $SHELL; do
     237     # Try only shells that exist, to save several forks.
     238     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     239        { ("$as_shell") 2> /dev/null <<\_ASEOF
     240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     241  emulate sh
     242  NULLCMD=:
     243  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     244  # is contrary to our usage.  Disable this feature.
     245  alias -g '${1+"$@"}'='"$@"'
     246  setopt NO_GLOB_SUBST
     247else
     248  case `(set -o) 2>/dev/null` in
     249  *posix*) set -o posix ;;
     250esac
     251
     252fi
     253
     254
     255:
     256_ASEOF
     257}; then
     258  CONFIG_SHELL=$as_shell
     259           as_have_required=yes
     260           if { "$as_shell" 2> /dev/null <<\_ASEOF
     261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     262  emulate sh
     263  NULLCMD=:
     264  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     265  # is contrary to our usage.  Disable this feature.
     266  alias -g '${1+"$@"}'='"$@"'
     267  setopt NO_GLOB_SUBST
     268else
     269  case `(set -o) 2>/dev/null` in
     270  *posix*) set -o posix ;;
     271esac
     272
     273fi
     274
     275
     276:
     277(as_func_return () {
     278  (exit $1)
     279}
     280as_func_success () {
     281  as_func_return 0
     282}
     283as_func_failure () {
     284  as_func_return 1
     285}
     286as_func_ret_success () {
     287  return 0
     288}
     289as_func_ret_failure () {
     290  return 1
     291}
     292
     293exitcode=0
     294if as_func_success; then
     295  :
     296else
     297  exitcode=1
     298  echo as_func_success failed.
     299fi
     300
     301if as_func_failure; then
     302  exitcode=1
     303  echo as_func_failure succeeded.
     304fi
     305
     306if as_func_ret_success; then
     307  :
     308else
     309  exitcode=1
     310  echo as_func_ret_success failed.
     311fi
     312
     313if as_func_ret_failure; then
     314  exitcode=1
     315  echo as_func_ret_failure succeeded.
     316fi
     317
     318if ( set x; as_func_ret_success y && test x = "$1" ); then
     319  :
     320else
     321  exitcode=1
     322  echo positional parameters were not saved.
     323fi
     324
     325test $exitcode = 0) || { (exit 1); exit 1; }
     326
     327(
    139328  as_lineno_1=$LINENO
    140329  as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142330  test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146          CONFIG_SHELL=$as_dir/$as_base
    147          export CONFIG_SHELL
    148          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149        fi;;
    150      esac
    151        done
    152 done
    153 ;;
    154   esac
     331  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     332
     333_ASEOF
     334}; then
     335  break
     336fi
     337
     338fi
     339
     340      done
     341
     342      if test "x$CONFIG_SHELL" != x; then
     343  for as_var in BASH_ENV ENV
     344        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     345        done
     346        export CONFIG_SHELL
     347        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     348fi
     349
     350
     351    if test $as_have_required = no; then
     352  echo This script requires a shell more modern than all the
     353      echo shells that I found on your system.  Please install a
     354      echo modern shell, or manually run the script under such a
     355      echo shell if you do have one.
     356      { (exit 1); exit 1; }
     357fi
     358
     359
     360fi
     361
     362fi
     363
     364
     365
     366(eval "as_func_return () {
     367  (exit \$1)
     368}
     369as_func_success () {
     370  as_func_return 0
     371}
     372as_func_failure () {
     373  as_func_return 1
     374}
     375as_func_ret_success () {
     376  return 0
     377}
     378as_func_ret_failure () {
     379  return 1
     380}
     381
     382exitcode=0
     383if as_func_success; then
     384  :
     385else
     386  exitcode=1
     387  echo as_func_success failed.
     388fi
     389
     390if as_func_failure; then
     391  exitcode=1
     392  echo as_func_failure succeeded.
     393fi
     394
     395if as_func_ret_success; then
     396  :
     397else
     398  exitcode=1
     399  echo as_func_ret_success failed.
     400fi
     401
     402if as_func_ret_failure; then
     403  exitcode=1
     404  echo as_func_ret_failure succeeded.
     405fi
     406
     407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     408  :
     409else
     410  exitcode=1
     411  echo positional parameters were not saved.
     412fi
     413
     414test \$exitcode = 0") || {
     415  echo No shell found that supports shell functions.
     416  echo Please tell [email protected] about your system,
     417  echo including any error possibly output before this
     418  echo message
     419}
     420
     421
     422
     423  as_lineno_1=$LINENO
     424  as_lineno_2=$LINENO
     425  test "x$as_lineno_1" != "x$as_lineno_2" &&
     426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    155427
    156428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157429  # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
     430  # line-number line after each line using $LINENO; the second 'sed'
     431  # does the real work.  The second script uses 'N' to pair each
     432  # line-number line with the line containing $LINENO, and appends
     433  # trailing '-' during substitution so that $LINENO is not a special
     434  # case at line end.
    162435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
     436  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     437  # E. McMahon (1931-1989) for sed's syntax.  :-)
     438  sed -n '
     439    p
     440    /[$]LINENO/=
     441  ' <$as_myself |
    165442    sed '
     443      s/[$]LINENO.*/&-/
     444      t lineno
     445      b
     446      :lineno
    166447      N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     448      :loop
     449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    170450      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     451      s/-\n.*//
    173452    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
     453  chmod +x "$as_me.lineno" ||
    175454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176455   { (exit 1); exit 1; }; }
     
    178457  # Don't try to exec as it changes $[0], causing all sort of problems
    179458  # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
     459  # original and so on.  Autoconf is especially sensitive to this).
     460  . "./$as_me.lineno"
    182461  # Exit status is that of the last command.
    183462  exit
     
    185464
    186465
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='  ' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
     466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     467  as_dirname=dirname
     468else
     469  as_dirname=false
     470fi
     471
     472ECHO_C= ECHO_N= ECHO_T=
     473case `echo -n x` in
     474-n*)
     475  case `echo 'x\c'` in
     476  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     477  *)   ECHO_C='\c';;
     478  esac;;
     479*)
     480  ECHO_N='-n';;
     481esac
     482
     483if expr a : '\(a\)' >/dev/null 2>&1 &&
     484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    195485  as_expr=expr
    196486else
     
    199489
    200490rm -f conf$$ conf$$.exe conf$$.file
     491if test -d conf$$.dir; then
     492  rm -f conf$$.dir/conf$$.file
     493else
     494  rm -f conf$$.dir
     495  mkdir conf$$.dir
     496fi
    201497echo >conf$$.file
    202498if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
     499  as_ln_s='ln -s'
     500  # ... but there are two gotchas:
     501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     503  # In both cases, we have to default to `cp -p'.
     504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    207505    as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211506elif ln conf$$.file conf$$ 2>/dev/null; then
    212507  as_ln_s=ln
     
    214509  as_ln_s='cp -p'
    215510fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     512rmdir conf$$.dir 2>/dev/null
    217513
    218514if mkdir -p . 2>/dev/null; then
     
    223519fi
    224520
    225 as_executable_p="test -f"
     521if test -x / >/dev/null 2>&1; then
     522  as_test_x='test -x'
     523else
     524  if ls -dL / >/dev/null 2>&1; then
     525    as_ls_L_option=L
     526  else
     527    as_ls_L_option=
     528  fi
     529  as_test_x='
     530    eval sh -c '\''
     531      if test -d "$1"; then
     532        test -d "$1/.";
     533      else
     534    case $1 in
     535        -*)set "./$1";;
     536    esac;
     537    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     538    ???[sx]*):;;*)false;;esac;fi
     539    '\'' sh
     540  '
     541fi
     542as_executable_p=$as_test_x
    226543
    227544# Sed expression to map a string onto a valid CPP name.
     
    232549
    233550
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS="   $as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
     551
     552exec 7<&0 </dev/null 6>&1
    243553
    244554# Name of the host.
     
    247557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248558
    249 exec 6>&1
    250 
    251559#
    252560# Initializations.
    253561#
    254562ac_default_prefix=/usr/local
     563ac_clean_files=
    255564ac_config_libobj_dir=.
     565LIBOBJS=
    256566cross_compiling=no
    257567subdirs=
     
    259569MAKEFLAGS=
    260570SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266571
    267572# Identity of this package.
     
    276581ac_includes_default="\
    277582#include <stdio.h>
    278 #if HAVE_SYS_TYPES_H
     583#ifdef HAVE_SYS_TYPES_H
    279584# include <sys/types.h>
    280585#endif
    281 #if HAVE_SYS_STAT_H
     586#ifdef HAVE_SYS_STAT_H
    282587# include <sys/stat.h>
    283588#endif
    284 #if STDC_HEADERS
     589#ifdef STDC_HEADERS
    285590# include <stdlib.h>
    286591# include <stddef.h>
    287592#else
    288 # if HAVE_STDLIB_H
     593# ifdef HAVE_STDLIB_H
    289594#  include <stdlib.h>
    290595# endif
    291596#endif
    292 #if HAVE_STRING_H
    293 # if !STDC_HEADERS && HAVE_MEMORY_H
     597#ifdef HAVE_STRING_H
     598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    294599#  include <memory.h>
    295600# endif
    296601# include <string.h>
    297602#endif
    298 #if HAVE_STRINGS_H
     603#ifdef HAVE_STRINGS_H
    299604# include <strings.h>
    300605#endif
    301 #if HAVE_INTTYPES_H
     606#ifdef HAVE_INTTYPES_H
    302607# include <inttypes.h>
    303 #else
    304 # if HAVE_STDINT_H
    305 #  include <stdint.h>
    306 # endif
    307608#endif
    308 #if HAVE_UNISTD_H
     609#ifdef HAVE_STDINT_H
     610# include <stdint.h>
     611#endif
     612#ifdef HAVE_UNISTD_H
    309613# include <unistd.h>
    310614#endif"
    311615
    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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os PACKAGE VERSION COMPAT32BITFLAGS ENABLE_ACCENTFOLD CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT AWK YACC CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB CPP EGREP U ANSI2KNR UNAC_DIR LIBICONV_DIR ALLOCA LIBOBJS JNIINC JNISUFFIX JNIFLAGS LTLIBOBJS'
     616ac_subst_vars='SHELL
     617PATH_SEPARATOR
     618PACKAGE_NAME
     619PACKAGE_TARNAME
     620PACKAGE_VERSION
     621PACKAGE_STRING
     622PACKAGE_BUGREPORT
     623exec_prefix
     624prefix
     625program_transform_name
     626bindir
     627sbindir
     628libexecdir
     629datarootdir
     630datadir
     631sysconfdir
     632sharedstatedir
     633localstatedir
     634includedir
     635oldincludedir
     636docdir
     637infodir
     638htmldir
     639dvidir
     640pdfdir
     641psdir
     642libdir
     643localedir
     644mandir
     645DEFS
     646ECHO_C
     647ECHO_N
     648ECHO_T
     649LIBS
     650build_alias
     651host_alias
     652target_alias
     653build
     654build_cpu
     655build_vendor
     656build_os
     657host
     658host_cpu
     659host_vendor
     660host_os
     661target
     662target_cpu
     663target_vendor
     664target_os
     665PACKAGE
     666VERSION
     667COMPAT32BITFLAGS
     668ENABLE_ACCENTFOLD
     669CXX
     670CXXFLAGS
     671LDFLAGS
     672CPPFLAGS
     673ac_ct_CXX
     674EXEEXT
     675OBJEXT
     676AWK
     677YACC
     678YFLAGS
     679CC
     680CFLAGS
     681ac_ct_CC
     682INSTALL_PROGRAM
     683INSTALL_SCRIPT
     684INSTALL_DATA
     685LN_S
     686SET_MAKE
     687RANLIB
     688CPP
     689GREP
     690EGREP
     691U
     692ANSI2KNR
     693UNAC_DIR
     694ALLOCA
     695LIBOBJS
     696JNIINC
     697JNISUFFIX
     698JNIFLAGS
     699LTLIBOBJS'
    313700ac_subst_files=''
     701      ac_precious_vars='build_alias
     702host_alias
     703target_alias
     704CXX
     705CXXFLAGS
     706LDFLAGS
     707LIBS
     708CPPFLAGS
     709CCC
     710YACC
     711YFLAGS
     712CC
     713CFLAGS
     714CPP'
     715
    314716
    315717# Initialize some variables set by options.
     
    338740# by default will actually change.
    339741# Use braces instead of parens because sh, perl, etc. also accept them.
     742# (The list follows the same order as the GNU Coding Standards.)
    340743bindir='${exec_prefix}/bin'
    341744sbindir='${exec_prefix}/sbin'
    342745libexecdir='${exec_prefix}/libexec'
    343 datadir='${prefix}/share'
     746datarootdir='${prefix}/share'
     747datadir='${datarootdir}'
    344748sysconfdir='${prefix}/etc'
    345749sharedstatedir='${prefix}/com'
    346750localstatedir='${prefix}/var'
    347 libdir='${exec_prefix}/lib'
    348751includedir='${prefix}/include'
    349752oldincludedir='/usr/include'
    350 infodir='${prefix}/info'
    351 mandir='${prefix}/man'
     753docdir='${datarootdir}/doc/${PACKAGE}'
     754infodir='${datarootdir}/info'
     755htmldir='${docdir}'
     756dvidir='${docdir}'
     757pdfdir='${docdir}'
     758psdir='${docdir}'
     759libdir='${exec_prefix}/lib'
     760localedir='${datarootdir}/locale'
     761mandir='${datarootdir}/man'
    352762
    353763ac_prev=
     764ac_dashdash=
    354765for ac_option
    355766do
    356767  # If the previous option needs an argument, assign it.
    357768  if test -n "$ac_prev"; then
    358     eval "$ac_prev=\$ac_option"
     769    eval $ac_prev=\$ac_option
    359770    ac_prev=
    360771    continue
    361772  fi
    362773
    363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     774  case $ac_option in
     775  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     776  *)    ac_optarg=yes ;;
     777  esac
    364778
    365779  # Accept the important Cygnus configure options, so we can diagnose typos.
    366780
    367   case $ac_option in
     781  case $ac_dashdash$ac_option in
     782  --)
     783    ac_dashdash=yes ;;
    368784
    369785  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    387803    cache_file=config.cache ;;
    388804
    389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     805  -datadir | --datadir | --datadi | --datad)
    390806    ac_prev=datadir ;;
    391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    392   | --da=*)
     807  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    393808    datadir=$ac_optarg ;;
     809
     810  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     811  | --dataroo | --dataro | --datar)
     812    ac_prev=datarootdir ;;
     813  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     814  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     815    datarootdir=$ac_optarg ;;
    394816
    395817  -disable-* | --disable-*)
    396818    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    397819    # Reject names that are not valid shell variable names.
    398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     820    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    399821      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    400822   { (exit 1); exit 1; }; }
    401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    402     eval "enable_$ac_feature=no" ;;
     823    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     824    eval enable_$ac_feature=no ;;
     825
     826  -docdir | --docdir | --docdi | --doc | --do)
     827    ac_prev=docdir ;;
     828  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     829    docdir=$ac_optarg ;;
     830
     831  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     832    ac_prev=dvidir ;;
     833  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     834    dvidir=$ac_optarg ;;
    403835
    404836  -enable-* | --enable-*)
    405837    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    406838    # Reject names that are not valid shell variable names.
    407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     839    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    408840      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    409841   { (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'" ;;
     842    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     843    eval enable_$ac_feature=\$ac_optarg ;;
    416844
    417845  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    440868    host_alias=$ac_optarg ;;
    441869
     870  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     871    ac_prev=htmldir ;;
     872  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     873  | --ht=*)
     874    htmldir=$ac_optarg ;;
     875
    442876  -includedir | --includedir | --includedi | --included | --include \
    443877  | --includ | --inclu | --incl | --inc)
     
    464898    libexecdir=$ac_optarg ;;
    465899
     900  -localedir | --localedir | --localedi | --localed | --locale)
     901    ac_prev=localedir ;;
     902  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     903    localedir=$ac_optarg ;;
     904
    466905  -localstatedir | --localstatedir | --localstatedi | --localstated \
    467   | --localstate | --localstat | --localsta | --localst \
    468   | --locals | --local | --loca | --loc | --lo)
     906  | --localstate | --localstat | --localsta | --localst | --locals)
    469907    ac_prev=localstatedir ;;
    470908  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     909  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    473910    localstatedir=$ac_optarg ;;
    474911
     
    535972    program_transform_name=$ac_optarg ;;
    536973
     974  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     975    ac_prev=pdfdir ;;
     976  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     977    pdfdir=$ac_optarg ;;
     978
     979  -psdir | --psdir | --psdi | --psd | --ps)
     980    ac_prev=psdir ;;
     981  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     982    psdir=$ac_optarg ;;
     983
    537984  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    538985  | -silent | --silent | --silen | --sile | --sil)
     
    5871034    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5881035    # Reject names that are not valid shell variable names.
    589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1036    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    5901037      { echo "$as_me: error: invalid package name: $ac_package" >&2
    5911038   { (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'" ;;
     1039    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1040    eval with_$ac_package=\$ac_optarg ;;
    5981041
    5991042  -without-* | --without-*)
    6001043    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6011044    # Reject names that are not valid shell variable names.
    602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1045    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    6031046      { echo "$as_me: error: invalid package name: $ac_package" >&2
    6041047   { (exit 1); exit 1; }; }
    605     ac_package=`echo $ac_package | sed 's/-/_/g'`
    606     eval "with_$ac_package=no" ;;
     1048    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1049    eval with_$ac_package=no ;;
    6071050
    6081051  --x)
     
    6351078      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6361079   { (exit 1); exit 1; }; }
    637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    638     eval "$ac_envvar='$ac_optarg'"
     1080    eval $ac_envvar=\$ac_optarg
    6391081    export $ac_envvar ;;
    6401082
     
    6561098fi
    6571099
    658 # Be sure to have absolute paths.
    659 for ac_var in exec_prefix prefix
     1100# Be sure to have absolute directory names.
     1101for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1102        datadir sysconfdir sharedstatedir localstatedir includedir \
     1103        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1104        libdir localedir mandir
    6601105do
    661   eval ac_val=$`echo $ac_var`
     1106  eval ac_val=\$$ac_var
    6621107  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; }; };;
     1108    [\\/$]* | ?:[\\/]* )  continue;;
     1109    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6661110  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
     1111  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1112   { (exit 1); exit 1; }; }
    6791113done
    6801114
     
    7031137
    7041138
     1139ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1140ac_ls_di=`ls -di .` &&
     1141ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1142  { echo "$as_me: error: Working directory cannot be determined" >&2
     1143   { (exit 1); exit 1; }; }
     1144test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1145  { echo "$as_me: error: pwd does not report name of working directory" >&2
     1146   { (exit 1); exit 1; }; }
     1147
     1148
    7051149# Find the source files, if location was not specified.
    7061150if test -z "$srcdir"; then
    7071151  ac_srcdir_defaulted=yes
    708   # Try the directory containing this script, then its parent.
    709   ac_confdir=`(dirname "$0") 2>/dev/null ||
     1152  # Try the directory containing this script, then the parent directory.
     1153  ac_confdir=`$as_dirname -- "$0" ||
    7101154$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7111155     X"$0" : 'X\(//\)[^/]' \| \
    7121156     X"$0" : 'X\(//\)$' \| \
    713      X"$0" : 'X\(/\)' \| \
    714      .     : '\(.\)' 2>/dev/null ||
     1157     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7151158echo 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'`
     1159    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1160        s//\1/
     1161        q
     1162      }
     1163      /^X\(\/\/\)[^/].*/{
     1164        s//\1/
     1165        q
     1166      }
     1167      /^X\(\/\/\)$/{
     1168        s//\1/
     1169        q
     1170      }
     1171      /^X\(\/\).*/{
     1172        s//\1/
     1173        q
     1174      }
     1175      s/.*/./; q'`
    7211176  srcdir=$ac_confdir
    722   if test ! -r $srcdir/$ac_unique_file; then
     1177  if test ! -r "$srcdir/$ac_unique_file"; then
    7231178    srcdir=..
    7241179  fi
     
    7261181  ac_srcdir_defaulted=no
    7271182fi
    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
     1183if test ! -r "$srcdir/$ac_unique_file"; then
     1184  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1185  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    7311186   { (exit 1); exit 1; }; }
    732   else
    733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1187fi
     1188ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1189ac_abs_confdir=`(
     1190    cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    7341191   { (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_CXX_set=${CXX+set}
    754 ac_env_CXX_value=$CXX
    755 ac_cv_env_CXX_set=${CXX+set}
    756 ac_cv_env_CXX_value=$CXX
    757 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    758 ac_env_CXXFLAGS_value=$CXXFLAGS
    759 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    760 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    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_CC_set=${CC+set}
    770 ac_env_CC_value=$CC
    771 ac_cv_env_CC_set=${CC+set}
    772 ac_cv_env_CC_value=$CC
    773 ac_env_CFLAGS_set=${CFLAGS+set}
    774 ac_env_CFLAGS_value=$CFLAGS
    775 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    776 ac_cv_env_CFLAGS_value=$CFLAGS
    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
     1192    pwd)`
     1193# When building in place, set srcdir=.
     1194if test "$ac_abs_confdir" = "$ac_pwd"; then
     1195  srcdir=.
     1196fi
     1197# Remove unnecessary trailing slashes from srcdir.
     1198# Double slashes in file names in object file debugging info
     1199# mess up M-x gdb in Emacs.
     1200case $srcdir in
     1201*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1202esac
     1203for ac_var in $ac_precious_vars; do
     1204  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1205  eval ac_env_${ac_var}_value=\$${ac_var}
     1206  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1207  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1208done
    7811209
    7821210#
     
    8071235      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8081236
    809 _ACEOF
    810 
    811   cat <<_ACEOF
    8121237Installation directories:
    8131238  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    8271252  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    8281253  --libexecdir=DIR       program executables [EPREFIX/libexec]
    829   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    8301254  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    8311255  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    8341258  --includedir=DIR       C header files [PREFIX/include]
    8351259  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    836   --infodir=DIR          info documentation [PREFIX/info]
    837   --mandir=DIR           man documentation [PREFIX/man]
     1260  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
     1261  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
     1262  --infodir=DIR          info documentation [DATAROOTDIR/info]
     1263  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
     1264  --mandir=DIR           man documentation [DATAROOTDIR/man]
     1265  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
     1266  --htmldir=DIR          html documentation [DOCDIR]
     1267  --dvidir=DIR           dvi documentation [DOCDIR]
     1268  --pdfdir=DIR           pdf documentation [DOCDIR]
     1269  --psdir=DIR            ps documentation [DOCDIR]
    8381270_ACEOF
    8391271
     
    8671299  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    8681300  --with-unac=dir         Use local unac library and headers
    869   --with-libiconv-prefix=dir         Use local libiconv library
    8701301  --with-dmalloc          use dmalloc, as in
    8711302                          ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
     
    8781309  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8791310              nonstandard directory <lib dir>
    880   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    881               headers in a nonstandard directory <include dir>
     1311  LIBS        libraries to pass to the linker, e.g. -l<library>
     1312  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1313              you have headers in a nonstandard directory <include dir>
     1314  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
     1315              the first program found out of: `bison -y', `byacc', `yacc'.
     1316  YFLAGS      The list of arguments that will be passed by default to $YACC.
     1317              This script will default YFLAGS to the empty string to avoid a
     1318              default value of `-d' given by some make applications.
    8821319  CC          C compiler command
    8831320  CFLAGS      C compiler flags
     
    8881325
    8891326_ACEOF
     1327ac_status=$?
    8901328fi
    8911329
    8921330if test "$ac_init_help" = "recursive"; then
    8931331  # If there are subdirs, report their specific --help.
    894   ac_popdir=`pwd`
    8951332  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    896     test -d $ac_dir || continue
     1333    test -d "$ac_dir" || continue
    8971334    ac_builddir=.
    8981335
    899 if test "$ac_dir" != .; then
     1336case "$ac_dir" in
     1337.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1338*)
    9001339  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    901   # A "../" for each directory in $ac_dir_suffix.
    902   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    903 else
    904   ac_dir_suffix= ac_top_builddir=
    905 fi
     1340  # A ".." for each directory in $ac_dir_suffix.
     1341  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1342  case $ac_top_builddir_sub in
     1343  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1344  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1345  esac ;;
     1346esac
     1347ac_abs_top_builddir=$ac_pwd
     1348ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1349# for backward compatibility:
     1350ac_top_builddir=$ac_top_build_prefix
    9061351
    9071352case $srcdir in
    908   .)  # No --srcdir option.  We are building in place.
     1353  .)  # We are building in place.
    9091354    ac_srcdir=.
    910     if test -z "$ac_top_builddir"; then
    911        ac_top_srcdir=.
    912     else
    913        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    914     fi ;;
    915   [\\/]* | ?:[\\/]* )  # Absolute path.
     1355    ac_top_srcdir=$ac_top_builddir_sub
     1356    ac_abs_top_srcdir=$ac_pwd ;;
     1357  [\\/]* | ?:[\\/]* )  # Absolute name.
    9161358    ac_srcdir=$srcdir$ac_dir_suffix;
    917     ac_top_srcdir=$srcdir ;;
    918   *) # Relative path.
    919     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    920     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    921 esac
    922 
    923 # Do not use `cd foo && pwd` to compute absolute paths, because
    924 # the directories may not exist.
    925 case `pwd` in
    926 .) ac_abs_builddir="$ac_dir";;
    927 *)
    928   case "$ac_dir" in
    929   .) ac_abs_builddir=`pwd`;;
    930   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    931   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    932   esac;;
    933 esac
    934 case $ac_abs_builddir in
    935 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    936 *)
    937   case ${ac_top_builddir}. in
    938   .) ac_abs_top_builddir=$ac_abs_builddir;;
    939   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    940   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    941   esac;;
    942 esac
    943 case $ac_abs_builddir in
    944 .) ac_abs_srcdir=$ac_srcdir;;
    945 *)
    946   case $ac_srcdir in
    947   .) ac_abs_srcdir=$ac_abs_builddir;;
    948   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    949   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    950   esac;;
    951 esac
    952 case $ac_abs_builddir in
    953 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    954 *)
    955   case $ac_top_srcdir in
    956   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    957   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    958   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    959   esac;;
    960 esac
    961 
    962     cd $ac_dir
    963     # Check for guested configure; otherwise get Cygnus style configure.
    964     if test -f $ac_srcdir/configure.gnu; then
    965       echo
    966       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    967     elif test -f $ac_srcdir/configure; then
    968       echo
    969       $SHELL $ac_srcdir/configure  --help=recursive
    970     elif test -f $ac_srcdir/configure.ac ||
    971        test -f $ac_srcdir/configure.in; then
    972       echo
    973       $ac_configure --help
     1359    ac_top_srcdir=$srcdir
     1360    ac_abs_top_srcdir=$srcdir ;;
     1361  *) # Relative name.
     1362    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1363    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1364    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1365esac
     1366ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1367
     1368    cd "$ac_dir" || { ac_status=$?; continue; }
     1369    # Check for guested configure.
     1370    if test -f "$ac_srcdir/configure.gnu"; then
     1371      echo &&
     1372      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1373    elif test -f "$ac_srcdir/configure"; then
     1374      echo &&
     1375      $SHELL "$ac_srcdir/configure" --help=recursive
    9741376    else
    9751377      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    976     fi
    977     cd $ac_popdir
     1378    fi || ac_status=$?
     1379    cd "$ac_pwd" || { ac_status=$?; break; }
    9781380  done
    9791381fi
    9801382
    981 test -n "$ac_init_help" && exit 0
     1383test -n "$ac_init_help" && exit $ac_status
    9821384if $ac_init_version; then
    9831385  cat <<\_ACEOF
    984 
    985 Copyright (C) 2003 Free Software Foundation, Inc.
     1386configure
     1387generated by GNU Autoconf 2.61
     1388
     1389Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     13902002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    9861391This configure script is free software; the Free Software Foundation
    9871392gives unlimited permission to copy, distribute and modify it.
    9881393_ACEOF
    989   exit 0
    990 fi
    991 exec 5>config.log
    992 cat >&5 <<_ACEOF
     1394  exit
     1395fi
     1396cat >config.log <<_ACEOF
    9931397This file contains any messages produced by compilers while
    9941398running configure, to aid debugging if configure makes a mistake.
    9951399
    9961400It was created by $as_me, which was
    997 generated by GNU Autoconf 2.59.  Invocation command line was
     1401generated by GNU Autoconf 2.61.  Invocation command line was
    9981402
    9991403  $ $0 $@
    10001404
    10011405_ACEOF
     1406exec 5>>config.log
    10021407{
    10031408cat <<_ASUNAME
     
    10181423/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10191424/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1020 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1425/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10211426/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10221427/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10321437  echo "PATH: $as_dir"
    10331438done
     1439IFS=$as_save_IFS
    10341440
    10351441} >&5
     
    10531459ac_configure_args0=
    10541460ac_configure_args1=
    1055 ac_sep=
    10561461ac_must_keep_next=false
    10571462for ac_pass in 1 2
     
    10641469    | -silent | --silent | --silen | --sile | --sil)
    10651470      continue ;;
    1066     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1471    *\'*)
    10671472      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10681473    esac
     
    10861491    esac
    10871492      fi
    1088       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1089       # Get rid of the leading space.
    1090       ac_sep=" "
     1493      ac_configure_args="$ac_configure_args '$ac_arg'"
    10911494      ;;
    10921495    esac
     
    10991502# config.log.  We remove comments because anyway the quotes in there
    11001503# would cause problems or look ugly.
    1101 # WARNING: Be sure not to use single quotes in there, as some shells,
    1102 # such as our DU 5.0 friend, will then `close' the trap.
     1504# WARNING: Use '\'' to represent an apostrophe within the trap.
     1505# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    11031506trap 'exit_status=$?
    11041507  # Save into config.log some information that might help in debugging.
     
    11131516    echo
    11141517    # The following way of writing the cache mishandles newlines in values,
    1115 {
     1518(
     1519  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1520    eval ac_val=\$$ac_var
     1521    case $ac_val in #(
     1522    *${as_nl}*)
     1523      case $ac_var in #(
     1524      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     1525echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     1526      esac
     1527      case $ac_var in #(
     1528      _ | IFS | as_nl) ;; #(
     1529      *) $as_unset $ac_var ;;
     1530      esac ;;
     1531    esac
     1532  done
    11161533  (set) 2>&1 |
    1117     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1118     *ac_space=\ *)
     1534    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1535    *${as_nl}ac_space=\ *)
    11191536      sed -n \
    1120     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1121       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1537    "s/'\''/'\''\\\\'\'''\''/g;
     1538      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1539      ;; #(
     1540    *)
     1541      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11221542      ;;
    1123     *)
    1124       sed -n \
    1125     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1126       ;;
    1127     esac;
    1128 }
     1543    esac |
     1544    sort
     1545)
    11291546    echo
    11301547
     
    11371554    for ac_var in $ac_subst_vars
    11381555    do
    1139       eval ac_val=$`echo $ac_var`
    1140       echo "$ac_var='"'"'$ac_val'"'"'"
     1556      eval ac_val=\$$ac_var
     1557      case $ac_val in
     1558      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1559      esac
     1560      echo "$ac_var='\''$ac_val'\''"
    11411561    done | sort
    11421562    echo
     
    11441564    if test -n "$ac_subst_files"; then
    11451565      cat <<\_ASBOX
    1146 ## ------------- ##
    1147 ## Output files. ##
    1148 ## ------------- ##
     1566## ------------------- ##
     1567## File substitutions. ##
     1568## ------------------- ##
    11491569_ASBOX
    11501570      echo
    11511571      for ac_var in $ac_subst_files
    11521572      do
    1153     eval ac_val=$`echo $ac_var`
    1154     echo "$ac_var='"'"'$ac_val'"'"'"
     1573    eval ac_val=\$$ac_var
     1574    case $ac_val in
     1575    *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1576    esac
     1577    echo "$ac_var='\''$ac_val'\''"
    11551578      done | sort
    11561579      echo
     
    11641587_ASBOX
    11651588      echo
    1166       sed "/^$/d" confdefs.h | sort
     1589      cat confdefs.h
    11671590      echo
    11681591    fi
     
    11711594    echo "$as_me: exit $exit_status"
    11721595  } >&5
    1173   rm -f core *.core &&
    1174   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1596  rm -f core *.core core.conftest.* &&
     1597    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11751598    exit $exit_status
    1176      ' 0
     1599' 0
    11771600for ac_signal in 1 2 13 15; do
    11781601  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11811604
    11821605# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1183 rm -rf conftest* confdefs.h
    1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1185 echo >confdefs.h
     1606rm -f -r conftest* confdefs.h
    11861607
    11871608# Predefined preprocessor variables.
     
    12141635# Let the site file select an alternate cache file if it wants to.
    12151636# Prefer explicitly selected file to automatically selected ones.
    1216 if test -z "$CONFIG_SITE"; then
    1217   if test "x$prefix" != xNONE; then
    1218     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1219   else
    1220     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1221   fi
    1222 fi
    1223 for ac_site_file in $CONFIG_SITE; do
     1637if test -n "$CONFIG_SITE"; then
     1638  set x "$CONFIG_SITE"
     1639elif test "x$prefix" != xNONE; then
     1640  set x "$prefix/share/config.site" "$prefix/etc/config.site"
     1641else
     1642  set x "$ac_default_prefix/share/config.site" \
     1643    "$ac_default_prefix/etc/config.site"
     1644fi
     1645shift
     1646for ac_site_file
     1647do
    12241648  if test -r "$ac_site_file"; then
    12251649    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    12371661echo "$as_me: loading cache $cache_file" >&6;}
    12381662    case $cache_file in
    1239       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1240       *)                      . ./$cache_file;;
     1663      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1664      *)                      . "./$cache_file";;
    12411665    esac
    12421666  fi
     
    12501674# value.
    12511675ac_cache_corrupted=false
    1252 for ac_var in `(set) 2>&1 |
    1253            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1676for ac_var in $ac_precious_vars; do
    12541677  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12551678  eval ac_new_set=\$ac_env_${ac_var}_set
    1256   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1257   eval ac_new_val="\$ac_env_${ac_var}_value"
     1679  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1680  eval ac_new_val=\$ac_env_${ac_var}_value
    12581681  case $ac_old_set,$ac_new_set in
    12591682    set,)
     
    12801703  if test "$ac_new_set" = set; then
    12811704    case $ac_new_val in
    1282     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1283       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1705    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12841706    *) ac_arg=$ac_var=$ac_new_val ;;
    12851707    esac
     
    12981720fi
    12991721
     1722
     1723
     1724
     1725
     1726
     1727
     1728
     1729
     1730
     1731
     1732
     1733
     1734
     1735
     1736
     1737
    13001738ac_ext=c
    13011739ac_cpp='$CPP $CPPFLAGS'
     
    13051743
    13061744
    1307 
    1308 
    1309 
    1310 
    1311 
    1312 
    1313 
    1314 
    1315 
    1316 
    1317 
    1318 
    1319 
    1320 
    1321 
    1322 
    1323 
    1324           ac_config_headers="$ac_config_headers config.h"
     1745ac_config_headers="$ac_config_headers config.h"
    13251746
    13261747
    13271748ac_aux_dir=
    1328 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    1329   if test -f $ac_dir/install-sh; then
     1749for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     1750  if test -f "$ac_dir/install-sh"; then
    13301751    ac_aux_dir=$ac_dir
    13311752    ac_install_sh="$ac_aux_dir/install-sh -c"
    13321753    break
    1333   elif test -f $ac_dir/install.sh; then
     1754  elif test -f "$ac_dir/install.sh"; then
    13341755    ac_aux_dir=$ac_dir
    13351756    ac_install_sh="$ac_aux_dir/install.sh -c"
    13361757    break
    1337   elif test -f $ac_dir/shtool; then
     1758  elif test -f "$ac_dir/shtool"; then
    13381759    ac_aux_dir=$ac_dir
    13391760    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    13421763done
    13431764if test -z "$ac_aux_dir"; then
    1344   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    1345 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     1765  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     1766echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    13461767   { (exit 1); exit 1; }; }
    13471768fi
    1348 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    1349 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    1350 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1769
     1770# These three variables are undocumented and unsupported,
     1771# and are intended to be withdrawn in a future Autoconf release.
     1772# They can cause serious problems if a builder's source tree is in a directory
     1773# whose full name contains unusual characters.
     1774ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     1775ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     1776ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     1777
    13511778
    13521779# Make sure we can run config.sub.
    1353 $ac_config_sub sun4 >/dev/null 2>&1 ||
    1354   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    1355 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     1780$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     1781  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     1782echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    13561783   { (exit 1); exit 1; }; }
    13571784
    1358 echo "$as_me:$LINENO: checking build system type" >&5
    1359 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     1785{ echo "$as_me:$LINENO: checking build system type" >&5
     1786echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
    13601787if test "${ac_cv_build+set}" = set; then
    13611788  echo $ECHO_N "(cached) $ECHO_C" >&6
    13621789else
    1363   ac_cv_build_alias=$build_alias
    1364 test -z "$ac_cv_build_alias" &&
    1365   ac_cv_build_alias=`$ac_config_guess`
    1366 test -z "$ac_cv_build_alias" &&
     1790  ac_build_alias=$build_alias
     1791test "x$ac_build_alias" = x &&
     1792  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     1793test "x$ac_build_alias" = x &&
    13671794  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    13681795echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    13691796   { (exit 1); exit 1; }; }
    1370 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    1371   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    1372 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     1797ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     1798  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     1799echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    13731800   { (exit 1); exit 1; }; }
    13741801
    13751802fi
    1376 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    1377 echo "${ECHO_T}$ac_cv_build" >&6
     1803{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     1804echo "${ECHO_T}$ac_cv_build" >&6; }
     1805case $ac_cv_build in
     1806*-*-*) ;;
     1807*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     1808echo "$as_me: error: invalid value of canonical build" >&2;}
     1809   { (exit 1); exit 1; }; };;
     1810esac
    13781811build=$ac_cv_build
    1379 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1380 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1381 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1382 
    1383 
    1384 echo "$as_me:$LINENO: checking host system type" >&5
    1385 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     1812ac_save_IFS=$IFS; IFS='-'
     1813set x $ac_cv_build
     1814shift
     1815build_cpu=$1
     1816build_vendor=$2
     1817shift; shift
     1818# Remember, the first character of IFS is used to create $*,
     1819# except with old shells:
     1820build_os=$*
     1821IFS=$ac_save_IFS
     1822case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     1823
     1824
     1825{ echo "$as_me:$LINENO: checking host system type" >&5
     1826echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
    13861827if test "${ac_cv_host+set}" = set; then
    13871828  echo $ECHO_N "(cached) $ECHO_C" >&6
    13881829else
    1389   ac_cv_host_alias=$host_alias
    1390 test -z "$ac_cv_host_alias" &&
    1391   ac_cv_host_alias=$ac_cv_build_alias
    1392 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    1393   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    1394 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     1830  if test "x$host_alias" = x; then
     1831  ac_cv_host=$ac_cv_build
     1832else
     1833  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     1834    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     1835echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    13951836   { (exit 1); exit 1; }; }
    1396 
    1397 fi
    1398 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    1399 echo "${ECHO_T}$ac_cv_host" >&6
     1837fi
     1838
     1839fi
     1840{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     1841echo "${ECHO_T}$ac_cv_host" >&6; }
     1842case $ac_cv_host in
     1843*-*-*) ;;
     1844*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     1845echo "$as_me: error: invalid value of canonical host" >&2;}
     1846   { (exit 1); exit 1; }; };;
     1847esac
    14001848host=$ac_cv_host
    1401 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1402 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1403 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1404 
    1405 
    1406 echo "$as_me:$LINENO: checking target system type" >&5
    1407 echo $ECHO_N "checking target system type... $ECHO_C" >&6
     1849ac_save_IFS=$IFS; IFS='-'
     1850set x $ac_cv_host
     1851shift
     1852host_cpu=$1
     1853host_vendor=$2
     1854shift; shift
     1855# Remember, the first character of IFS is used to create $*,
     1856# except with old shells:
     1857host_os=$*
     1858IFS=$ac_save_IFS
     1859case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     1860
     1861
     1862{ echo "$as_me:$LINENO: checking target system type" >&5
     1863echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
    14081864if test "${ac_cv_target+set}" = set; then
    14091865  echo $ECHO_N "(cached) $ECHO_C" >&6
    14101866else
    1411   ac_cv_target_alias=$target_alias
    1412 test "x$ac_cv_target_alias" = "x" &&
    1413   ac_cv_target_alias=$ac_cv_host_alias
    1414 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    1415   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    1416 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     1867  if test "x$target_alias" = x; then
     1868  ac_cv_target=$ac_cv_host
     1869else
     1870  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     1871    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     1872echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    14171873   { (exit 1); exit 1; }; }
    1418 
    1419 fi
    1420 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    1421 echo "${ECHO_T}$ac_cv_target" >&6
     1874fi
     1875
     1876fi
     1877{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     1878echo "${ECHO_T}$ac_cv_target" >&6; }
     1879case $ac_cv_target in
     1880*-*-*) ;;
     1881*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     1882echo "$as_me: error: invalid value of canonical target" >&2;}
     1883   { (exit 1); exit 1; }; };;
     1884esac
    14221885target=$ac_cv_target
    1423 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1424 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1425 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1886ac_save_IFS=$IFS; IFS='-'
     1887set x $ac_cv_target
     1888shift
     1889target_cpu=$1
     1890target_vendor=$2
     1891shift; shift
     1892# Remember, the first character of IFS is used to create $*,
     1893# except with old shells:
     1894target_os=$*
     1895IFS=$ac_save_IFS
     1896case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    14261897
    14271898
     
    14331904  program_prefix=${target_alias}-
    14341905test "$program_prefix" != NONE &&
    1435   program_transform_name="s,^,$program_prefix,;$program_transform_name"
     1906  program_transform_name="s&^&$program_prefix&;$program_transform_name"
    14361907# Use a double $ so make ignores it.
    14371908test "$program_suffix" != NONE &&
    1438   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
     1909  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
    14391910# Double any \ or $.  echo might interpret backslashes.
    14401911# By default was `s,x,x', remove it if useless.
     
    14431914_ACEOF
    14441915program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
    1445 rm conftest.sed
     1916rm -f conftest.sed
    14461917
    14471918
     
    14611932
    14621933
    1463 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    1464 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     1934{ echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     1935echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
    14651936arch_64bit=no
    14661937case "$host_cpu" in
     
    14691940
    14701941if test "$arch_64bit" = yes; then
    1471   echo "$as_me:$LINENO: result: yes" >&5
    1472 echo "${ECHO_T}yes" >&6
     1942  { echo "$as_me:$LINENO: result: yes" >&5
     1943echo "${ECHO_T}yes" >&6; }
    14731944  if test -z "$COMPAT32BITFLAGS" ; then
    14741945    COMPAT32BITFLAGS="-m32"
    14751946  fi
    14761947else
    1477   echo "$as_me:$LINENO: result: no" >&5
    1478 echo "${ECHO_T}no" >&6
     1948  { echo "$as_me:$LINENO: result: no" >&5
     1949echo "${ECHO_T}no" >&6; }
    14791950  if test -z "$COMPAT32BITFLAGS" ; then
    14801951    COMPAT32BITFLAGS=
     
    14831954
    14841955
    1485 # Check whether --enable-accentfold or --disable-accentfold was given.
     1956# Check whether --enable-accentfold was given.
    14861957if test "${enable_accentfold+set}" = set; then
    1487   enableval="$enable_accentfold"
    1488   ENABLE_ACCENTFOLD=0
     1958  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
    14891959else
    14901960  ENABLE_ACCENTFOLD=1
    1491 fi;
     1961fi
     1962
    14921963cat >>confdefs.h <<\_ACEOF
    14931964#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    14961967
    14971968
    1498 ac_ext=cc
     1969ac_ext=cpp
    14991970ac_cpp='$CXXCPP $CPPFLAGS'
    15001971ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    15011972ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    15021973ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    1503 if test -n "$ac_tool_prefix"; then
    1504   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     1974if test -z "$CXX"; then
     1975  if test -n "$CCC"; then
     1976    CXX=$CCC
     1977  else
     1978    if test -n "$ac_tool_prefix"; then
     1979  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    15051980  do
    15061981    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    15071982set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1508 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1983{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1984echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15101985if test "${ac_cv_prog_CXX+set}" = set; then
    15111986  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15201995  test -z "$as_dir" && as_dir=.
    15211996  for ac_exec_ext in '' $ac_executable_extensions; do
    1522   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1997  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15231998    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    15241999    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15272002done
    15282003done
     2004IFS=$as_save_IFS
    15292005
    15302006fi
     
    15322008CXX=$ac_cv_prog_CXX
    15332009if test -n "$CXX"; then
    1534   echo "$as_me:$LINENO: result: $CXX" >&5
    1535 echo "${ECHO_T}$CXX" >&6
    1536 else
    1537   echo "$as_me:$LINENO: result: no" >&5
    1538 echo "${ECHO_T}no" >&6
    1539 fi
     2010  { echo "$as_me:$LINENO: result: $CXX" >&5
     2011echo "${ECHO_T}$CXX" >&6; }
     2012else
     2013  { echo "$as_me:$LINENO: result: no" >&5
     2014echo "${ECHO_T}no" >&6; }
     2015fi
     2016
    15402017
    15412018    test -n "$CXX" && break
     
    15442021if test -z "$CXX"; then
    15452022  ac_ct_CXX=$CXX
    1546   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2023  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    15472024do
    15482025  # Extract the first word of "$ac_prog", so it can be a program name with args.
    15492026set dummy $ac_prog; ac_word=$2
    1550 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2027{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2028echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15522029if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    15532030  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15622039  test -z "$as_dir" && as_dir=.
    15632040  for ac_exec_ext in '' $ac_executable_extensions; do
    1564   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2041  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15652042    ac_cv_prog_ac_ct_CXX="$ac_prog"
    15662043    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15692046done
    15702047done
     2048IFS=$as_save_IFS
    15712049
    15722050fi
     
    15742052ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    15752053if test -n "$ac_ct_CXX"; then
    1576   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    1577 echo "${ECHO_T}$ac_ct_CXX" >&6
    1578 else
    1579   echo "$as_me:$LINENO: result: no" >&5
    1580 echo "${ECHO_T}no" >&6
    1581 fi
     2054  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2055echo "${ECHO_T}$ac_ct_CXX" >&6; }
     2056else
     2057  { echo "$as_me:$LINENO: result: no" >&5
     2058echo "${ECHO_T}no" >&6; }
     2059fi
     2060
    15822061
    15832062  test -n "$ac_ct_CXX" && break
    15842063done
    1585 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    1586 
    1587   CXX=$ac_ct_CXX
    1588 fi
    1589 
    1590 
     2064
     2065  if test "x$ac_ct_CXX" = x; then
     2066    CXX="g++"
     2067  else
     2068    case $cross_compiling:$ac_tool_warned in
     2069yes:)
     2070{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2071whose name does not start with the host triplet.  If you think this
     2072configuration is useful to you, please write to [email protected]." >&5
     2073echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2074whose name does not start with the host triplet.  If you think this
     2075configuration is useful to you, please write to [email protected]." >&2;}
     2076ac_tool_warned=yes ;;
     2077esac
     2078    CXX=$ac_ct_CXX
     2079  fi
     2080fi
     2081
     2082  fi
     2083fi
    15912084# Provide some information about the compiler.
    1592 echo "$as_me:$LINENO:" \
    1593      "checking for C++ compiler version" >&5
     2085echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    15942086ac_compiler=`set X $ac_compile; echo $2`
    1595 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1596   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2087{ (ac_try="$ac_compiler --version >&5"
     2088case "(($ac_try" in
     2089  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2090  *) ac_try_echo=$ac_try;;
     2091esac
     2092eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2093  (eval "$ac_compiler --version >&5") 2>&5
    15972094  ac_status=$?
    15982095  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15992096  (exit $ac_status); }
    1600 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1601   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2097{ (ac_try="$ac_compiler -v >&5"
     2098case "(($ac_try" in
     2099  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2100  *) ac_try_echo=$ac_try;;
     2101esac
     2102eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2103  (eval "$ac_compiler -v >&5") 2>&5
    16022104  ac_status=$?
    16032105  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16042106  (exit $ac_status); }
    1605 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1606   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2107{ (ac_try="$ac_compiler -V >&5"
     2108case "(($ac_try" in
     2109  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2110  *) ac_try_echo=$ac_try;;
     2111esac
     2112eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2113  (eval "$ac_compiler -V >&5") 2>&5
    16072114  ac_status=$?
    16082115  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    16292136# It will help us diagnose broken compilers, and finding out an intuition
    16302137# of exeext.
    1631 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
    1632 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
     2138{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
     2139echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
    16332140ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1634 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1635   (eval $ac_link_default) 2>&5
     2141#
     2142# List of possible output files, starting from the most likely.
     2143# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
     2144# only as a last resort.  b.out is created by i960 compilers.
     2145ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
     2146#
     2147# The IRIX 6 linker writes into existing files which may not be
     2148# executable, retaining their permissions.  Remove them first so a
     2149# subsequent execution test works.
     2150ac_rmfiles=
     2151for ac_file in $ac_files
     2152do
     2153  case $ac_file in
     2154    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     2155    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2156  esac
     2157done
     2158rm -f $ac_rmfiles
     2159
     2160if { (ac_try="$ac_link_default"
     2161case "(($ac_try" in
     2162  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2163  *) ac_try_echo=$ac_try;;
     2164esac
     2165eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2166  (eval "$ac_link_default") 2>&5
    16362167  ac_status=$?
    16372168  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16382169  (exit $ac_status); }; then
    1639   # Find the output, starting from the most likely.  This scheme is
    1640 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1641 # resort.
    1642 
    1643 # Be careful to initialize this variable, since it used to be cached.
    1644 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1645 ac_cv_exeext=
    1646 # b.out is created by i960 compilers.
    1647 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2170  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2171# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2172# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2173# so that the user can short-circuit this test for compilers unknown to
     2174# Autoconf.
     2175for ac_file in $ac_files ''
    16482176do
    16492177  test -f "$ac_file" || continue
    16502178  case $ac_file in
    1651     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1652     ;;
    1653     conftest.$ac_ext )
    1654     # This is the source file.
     2179    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    16552180    ;;
    16562181    [ab].out )
     
    16592184    break;;
    16602185    *.* )
    1661     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1662     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1663     # but it would be cool to find out if it's true.  Does anybody
    1664     # maintain Libtool? --akim.
    1665     export ac_cv_exeext
     2186        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2187    then :; else
     2188       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2189    fi
     2190    # We set ac_cv_exeext here because the later test for it is not
     2191    # safe: cross compilers may not add the suffix if given an `-o'
     2192    # argument, so we may need to know it at that point already.
     2193    # Even if this section looks crufty: it has the advantage of
     2194    # actually working.
    16662195    break;;
    16672196    * )
     
    16692198  esac
    16702199done
    1671 else
     2200test "$ac_cv_exeext" = no && ac_cv_exeext=
     2201
     2202else
     2203  ac_file=''
     2204fi
     2205
     2206{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2207echo "${ECHO_T}$ac_file" >&6; }
     2208if test -z "$ac_file"; then
    16722209  echo "$as_me: failed program was:" >&5
    16732210sed 's/^/| /' conftest.$ac_ext >&5
     
    16812218
    16822219ac_exeext=$ac_cv_exeext
    1683 echo "$as_me:$LINENO: result: $ac_file" >&5
    1684 echo "${ECHO_T}$ac_file" >&6
    1685 
    1686 # Check the compiler produces executables we can run.  If not, either
     2220
     2221# Check that the compiler produces executables we can run.  If not, either
    16872222# the compiler is broken, or we cross compile.
    1688 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
    1689 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
     2223{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
     2224echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
    16902225# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    16912226# If not cross compiling, check that we can run a simple program.
    16922227if test "$cross_compiling" != yes; then
    16932228  if { ac_try='./$ac_file'
    1694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1695   (eval $ac_try) 2>&5
     2229  { (case "(($ac_try" in
     2230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2231  *) ac_try_echo=$ac_try;;
     2232esac
     2233eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2234  (eval "$ac_try") 2>&5
    16962235  ac_status=$?
    16972236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    17122251  fi
    17132252fi
    1714 echo "$as_me:$LINENO: result: yes" >&5
    1715 echo "${ECHO_T}yes" >&6
     2253{ echo "$as_me:$LINENO: result: yes" >&5
     2254echo "${ECHO_T}yes" >&6; }
    17162255
    17172256rm -f a.out a.exe conftest$ac_cv_exeext b.out
    17182257ac_clean_files=$ac_clean_files_save
    1719 # Check the compiler produces executables we can run.  If not, either
     2258# Check that the compiler produces executables we can run.  If not, either
    17202259# the compiler is broken, or we cross compile.
    1721 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1722 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1723 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1724 echo "${ECHO_T}$cross_compiling" >&6
    1725 
    1726 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1727 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1729   (eval $ac_link) 2>&5
     2260{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2261echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2262{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2263echo "${ECHO_T}$cross_compiling" >&6; }
     2264
     2265{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2266echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
     2267if { (ac_try="$ac_link"
     2268case "(($ac_try" in
     2269  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2270  *) ac_try_echo=$ac_try;;
     2271esac
     2272eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2273  (eval "$ac_link") 2>&5
    17302274  ac_status=$?
    17312275  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    17382282  test -f "$ac_file" || continue
    17392283  case $ac_file in
    1740     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2284    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    17412285    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1742       export ac_cv_exeext
    17432286      break;;
    17442287    * ) break;;
     
    17542297
    17552298rm -f conftest$ac_cv_exeext
    1756 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1757 echo "${ECHO_T}$ac_cv_exeext" >&6
     2299{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2300echo "${ECHO_T}$ac_cv_exeext" >&6; }
    17582301
    17592302rm -f conftest.$ac_ext
    17602303EXEEXT=$ac_cv_exeext
    17612304ac_exeext=$EXEEXT
    1762 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1763 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2305{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2306echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    17642307if test "${ac_cv_objext+set}" = set; then
    17652308  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17812324_ACEOF
    17822325rm -f conftest.o conftest.obj
    1783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1784   (eval $ac_compile) 2>&5
     2326if { (ac_try="$ac_compile"
     2327case "(($ac_try" in
     2328  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2329  *) ac_try_echo=$ac_try;;
     2330esac
     2331eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2332  (eval "$ac_compile") 2>&5
    17852333  ac_status=$?
    17862334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17872335  (exit $ac_status); }; then
    1788   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2336  for ac_file in conftest.o conftest.obj conftest.*; do
     2337  test -f "$ac_file" || continue;
    17892338  case $ac_file in
    1790     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2339    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    17912340    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    17922341       break;;
     
    18062355rm -f conftest.$ac_cv_objext conftest.$ac_ext
    18072356fi
    1808 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1809 echo "${ECHO_T}$ac_cv_objext" >&6
     2357{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2358echo "${ECHO_T}$ac_cv_objext" >&6; }
    18102359OBJEXT=$ac_cv_objext
    18112360ac_objext=$OBJEXT
    1812 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    1813 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2361{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2362echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    18142363if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    18152364  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    18342383_ACEOF
    18352384rm -f conftest.$ac_objext
    1836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1837   (eval $ac_compile) 2>conftest.er1
     2385if { (ac_try="$ac_compile"
     2386case "(($ac_try" in
     2387  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2388  *) ac_try_echo=$ac_try;;
     2389esac
     2390eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2391  (eval "$ac_compile") 2>conftest.er1
    18382392  ac_status=$?
    18392393  grep -v '^ *+' conftest.er1 >conftest.err
     
    18412395  cat conftest.err >&5
    18422396  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1843   (exit $ac_status); } &&
    1844      { ac_try='test -z "$ac_cxx_werror_flag"
    1845              || test ! -s conftest.err'
    1846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1847   (eval $ac_try) 2>&5
    1848   ac_status=$?
    1849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1850   (exit $ac_status); }; } &&
    1851      { ac_try='test -s conftest.$ac_objext'
    1852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1853   (eval $ac_try) 2>&5
    1854   ac_status=$?
    1855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1856   (exit $ac_status); }; }; then
     2397  (exit $ac_status); } && {
     2398     test -z "$ac_cxx_werror_flag" ||
     2399     test ! -s conftest.err
     2400       } && test -s conftest.$ac_objext; then
    18572401  ac_compiler_gnu=yes
    18582402else
     
    18602404sed 's/^/| /' conftest.$ac_ext >&5
    18612405
    1862 ac_compiler_gnu=no
    1863 fi
    1864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2406    ac_compiler_gnu=no
     2407fi
     2408
     2409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    18652410ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    18662411
    18672412fi
    1868 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    1869 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2413{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2414echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    18702415GXX=`test $ac_compiler_gnu = yes && echo yes`
    18712416ac_test_CXXFLAGS=${CXXFLAGS+set}
    18722417ac_save_CXXFLAGS=$CXXFLAGS
    1873 CXXFLAGS="-g"
    1874 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    1875 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     2418{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2419echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    18762420if test "${ac_cv_prog_cxx_g+set}" = set; then
    18772421  echo $ECHO_N "(cached) $ECHO_C" >&6
    18782422else
    1879   cat >conftest.$ac_ext <<_ACEOF
     2423  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     2424   ac_cxx_werror_flag=yes
     2425   ac_cv_prog_cxx_g=no
     2426   CXXFLAGS="-g"
     2427   cat >conftest.$ac_ext <<_ACEOF
    18802428/* confdefs.h.  */
    18812429_ACEOF
     
    18932441_ACEOF
    18942442rm -f conftest.$ac_objext
    1895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1896   (eval $ac_compile) 2>conftest.er1
     2443if { (ac_try="$ac_compile"
     2444case "(($ac_try" in
     2445  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2446  *) ac_try_echo=$ac_try;;
     2447esac
     2448eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2449  (eval "$ac_compile") 2>conftest.er1
    18972450  ac_status=$?
    18982451  grep -v '^ *+' conftest.er1 >conftest.err
     
    19002453  cat conftest.err >&5
    19012454  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1902   (exit $ac_status); } &&
    1903      { ac_try='test -z "$ac_cxx_werror_flag"
    1904              || test ! -s conftest.err'
    1905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1906   (eval $ac_try) 2>&5
    1907   ac_status=$?
    1908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1909   (exit $ac_status); }; } &&
    1910      { ac_try='test -s conftest.$ac_objext'
    1911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1912   (eval $ac_try) 2>&5
    1913   ac_status=$?
    1914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1915   (exit $ac_status); }; }; then
     2455  (exit $ac_status); } && {
     2456     test -z "$ac_cxx_werror_flag" ||
     2457     test ! -s conftest.err
     2458       } && test -s conftest.$ac_objext; then
    19162459  ac_cv_prog_cxx_g=yes
    19172460else
     
    19192462sed 's/^/| /' conftest.$ac_ext >&5
    19202463
    1921 ac_cv_prog_cxx_g=no
    1922 fi
    1923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    1924 fi
    1925 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    1926 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     2464    CXXFLAGS=""
     2465      cat >conftest.$ac_ext <<_ACEOF
     2466/* confdefs.h.  */
     2467_ACEOF
     2468cat confdefs.h >>conftest.$ac_ext
     2469cat >>conftest.$ac_ext <<_ACEOF
     2470/* end confdefs.h.  */
     2471
     2472int
     2473main ()
     2474{
     2475
     2476  ;
     2477  return 0;
     2478}
     2479_ACEOF
     2480rm -f conftest.$ac_objext
     2481if { (ac_try="$ac_compile"
     2482case "(($ac_try" in
     2483  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2484  *) ac_try_echo=$ac_try;;
     2485esac
     2486eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2487  (eval "$ac_compile") 2>conftest.er1
     2488  ac_status=$?
     2489  grep -v '^ *+' conftest.er1 >conftest.err
     2490  rm -f conftest.er1
     2491  cat conftest.err >&5
     2492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2493  (exit $ac_status); } && {
     2494     test -z "$ac_cxx_werror_flag" ||
     2495     test ! -s conftest.err
     2496       } && test -s conftest.$ac_objext; then
     2497  :
     2498else
     2499  echo "$as_me: failed program was:" >&5
     2500sed 's/^/| /' conftest.$ac_ext >&5
     2501
     2502    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     2503     CXXFLAGS="-g"
     2504     cat >conftest.$ac_ext <<_ACEOF
     2505/* confdefs.h.  */
     2506_ACEOF
     2507cat confdefs.h >>conftest.$ac_ext
     2508cat >>conftest.$ac_ext <<_ACEOF
     2509/* end confdefs.h.  */
     2510
     2511int
     2512main ()
     2513{
     2514
     2515  ;
     2516  return 0;
     2517}
     2518_ACEOF
     2519rm -f conftest.$ac_objext
     2520if { (ac_try="$ac_compile"
     2521case "(($ac_try" in
     2522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2523  *) ac_try_echo=$ac_try;;
     2524esac
     2525eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2526  (eval "$ac_compile") 2>conftest.er1
     2527  ac_status=$?
     2528  grep -v '^ *+' conftest.er1 >conftest.err
     2529  rm -f conftest.er1
     2530  cat conftest.err >&5
     2531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2532  (exit $ac_status); } && {
     2533     test -z "$ac_cxx_werror_flag" ||
     2534     test ! -s conftest.err
     2535       } && test -s conftest.$ac_objext; then
     2536  ac_cv_prog_cxx_g=yes
     2537else
     2538  echo "$as_me: failed program was:" >&5
     2539sed 's/^/| /' conftest.$ac_ext >&5
     2540
     2541
     2542fi
     2543
     2544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2545fi
     2546
     2547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2548fi
     2549
     2550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2551   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     2552fi
     2553{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2554echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
    19272555if test "$ac_test_CXXFLAGS" = set; then
    19282556  CXXFLAGS=$ac_save_CXXFLAGS
     
    19402568  fi
    19412569fi
    1942 for ac_declaration in \
    1943    '' \
    1944    'extern "C" void std::exit (int) throw (); using std::exit;' \
    1945    'extern "C" void std::exit (int); using std::exit;' \
    1946    'extern "C" void exit (int) throw ();' \
    1947    'extern "C" void exit (int);' \
    1948    'void exit (int);'
    1949 do
    1950   cat >conftest.$ac_ext <<_ACEOF
    1951 /* confdefs.h.  */
    1952 _ACEOF
    1953 cat confdefs.h >>conftest.$ac_ext
    1954 cat >>conftest.$ac_ext <<_ACEOF
    1955 /* end confdefs.h.  */
    1956 $ac_declaration
    1957 #include <stdlib.h>
    1958 int
    1959 main ()
    1960 {
    1961 exit (42);
    1962   ;
    1963   return 0;
    1964 }
    1965 _ACEOF
    1966 rm -f conftest.$ac_objext
    1967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1968   (eval $ac_compile) 2>conftest.er1
    1969   ac_status=$?
    1970   grep -v '^ *+' conftest.er1 >conftest.err
    1971   rm -f conftest.er1
    1972   cat conftest.err >&5
    1973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1974   (exit $ac_status); } &&
    1975      { ac_try='test -z "$ac_cxx_werror_flag"
    1976              || test ! -s conftest.err'
    1977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1978   (eval $ac_try) 2>&5
    1979   ac_status=$?
    1980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1981   (exit $ac_status); }; } &&
    1982      { ac_try='test -s conftest.$ac_objext'
    1983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1984   (eval $ac_try) 2>&5
    1985   ac_status=$?
    1986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1987   (exit $ac_status); }; }; then
    1988   :
    1989 else
    1990   echo "$as_me: failed program was:" >&5
    1991 sed 's/^/| /' conftest.$ac_ext >&5
    1992 
    1993 continue
    1994 fi
    1995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    1996   cat >conftest.$ac_ext <<_ACEOF
    1997 /* confdefs.h.  */
    1998 _ACEOF
    1999 cat confdefs.h >>conftest.$ac_ext
    2000 cat >>conftest.$ac_ext <<_ACEOF
    2001 /* end confdefs.h.  */
    2002 $ac_declaration
    2003 int
    2004 main ()
    2005 {
    2006 exit (42);
    2007   ;
    2008   return 0;
    2009 }
    2010 _ACEOF
    2011 rm -f conftest.$ac_objext
    2012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2013   (eval $ac_compile) 2>conftest.er1
    2014   ac_status=$?
    2015   grep -v '^ *+' conftest.er1 >conftest.err
    2016   rm -f conftest.er1
    2017   cat conftest.err >&5
    2018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2019   (exit $ac_status); } &&
    2020      { ac_try='test -z "$ac_cxx_werror_flag"
    2021              || test ! -s conftest.err'
    2022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2023   (eval $ac_try) 2>&5
    2024   ac_status=$?
    2025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2026   (exit $ac_status); }; } &&
    2027      { ac_try='test -s conftest.$ac_objext'
    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); }; }; then
    2033   break
    2034 else
    2035   echo "$as_me: failed program was:" >&5
    2036 sed 's/^/| /' conftest.$ac_ext >&5
    2037 
    2038 fi
    2039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2040 done
    2041 rm -f conftest*
    2042 if test -n "$ac_declaration"; then
    2043   echo '#ifdef __cplusplus' >>confdefs.h
    2044   echo $ac_declaration      >>confdefs.h
    2045   echo '#endif'             >>confdefs.h
    2046 fi
    2047 
    20482570ac_ext=c
    20492571ac_cpp='$CPP $CPPFLAGS'
     
    20562578  # Extract the first word of "$ac_prog", so it can be a program name with args.
    20572579set dummy $ac_prog; ac_word=$2
    2058 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2580{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2581echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    20602582if test "${ac_cv_prog_AWK+set}" = set; then
    20612583  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20702592  test -z "$as_dir" && as_dir=.
    20712593  for ac_exec_ext in '' $ac_executable_extensions; do
    2072   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2594  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20732595    ac_cv_prog_AWK="$ac_prog"
    20742596    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    20772599done
    20782600done
     2601IFS=$as_save_IFS
    20792602
    20802603fi
     
    20822605AWK=$ac_cv_prog_AWK
    20832606if test -n "$AWK"; then
    2084   echo "$as_me:$LINENO: result: $AWK" >&5
    2085 echo "${ECHO_T}$AWK" >&6
    2086 else
    2087   echo "$as_me:$LINENO: result: no" >&5
    2088 echo "${ECHO_T}no" >&6
    2089 fi
     2607  { echo "$as_me:$LINENO: result: $AWK" >&5
     2608echo "${ECHO_T}$AWK" >&6; }
     2609else
     2610  { echo "$as_me:$LINENO: result: no" >&5
     2611echo "${ECHO_T}no" >&6; }
     2612fi
     2613
    20902614
    20912615  test -n "$AWK" && break
     
    20962620  # Extract the first word of "$ac_prog", so it can be a program name with args.
    20972621set dummy $ac_prog; ac_word=$2
    2098 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2622{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2623echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    21002624if test "${ac_cv_prog_YACC+set}" = set; then
    21012625  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    21102634  test -z "$as_dir" && as_dir=.
    21112635  for ac_exec_ext in '' $ac_executable_extensions; do
    2112   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2636  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21132637    ac_cv_prog_YACC="$ac_prog"
    21142638    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    21172641done
    21182642done
     2643IFS=$as_save_IFS
    21192644
    21202645fi
     
    21222647YACC=$ac_cv_prog_YACC
    21232648if test -n "$YACC"; then
    2124   echo "$as_me:$LINENO: result: $YACC" >&5
    2125 echo "${ECHO_T}$YACC" >&6
    2126 else
    2127   echo "$as_me:$LINENO: result: no" >&5
    2128 echo "${ECHO_T}no" >&6
    2129 fi
     2649  { echo "$as_me:$LINENO: result: $YACC" >&5
     2650echo "${ECHO_T}$YACC" >&6; }
     2651else
     2652  { echo "$as_me:$LINENO: result: no" >&5
     2653echo "${ECHO_T}no" >&6; }
     2654fi
     2655
    21302656
    21312657  test -n "$YACC" && break
     
    21412667  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    21422668set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2669{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2670echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    21452671if test "${ac_cv_prog_CC+set}" = set; then
    21462672  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    21552681  test -z "$as_dir" && as_dir=.
    21562682  for ac_exec_ext in '' $ac_executable_extensions; do
    2157   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2683  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21582684    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    21592685    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    21622688done
    21632689done
     2690IFS=$as_save_IFS
    21642691
    21652692fi
     
    21672694CC=$ac_cv_prog_CC
    21682695if test -n "$CC"; then
    2169   echo "$as_me:$LINENO: result: $CC" >&5
    2170 echo "${ECHO_T}$CC" >&6
    2171 else
    2172   echo "$as_me:$LINENO: result: no" >&5
    2173 echo "${ECHO_T}no" >&6
    2174 fi
     2696  { echo "$as_me:$LINENO: result: $CC" >&5
     2697echo "${ECHO_T}$CC" >&6; }
     2698else
     2699  { echo "$as_me:$LINENO: result: no" >&5
     2700echo "${ECHO_T}no" >&6; }
     2701fi
     2702
    21752703
    21762704fi
     
    21792707  # Extract the first word of "gcc", so it can be a program name with args.
    21802708set dummy gcc; ac_word=$2
    2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2709{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2710echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    21832711if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    21842712  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    21932721  test -z "$as_dir" && as_dir=.
    21942722  for ac_exec_ext in '' $ac_executable_extensions; do
    2195   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2723  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21962724    ac_cv_prog_ac_ct_CC="gcc"
    21972725    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    22002728done
    22012729done
     2730IFS=$as_save_IFS
    22022731
    22032732fi
     
    22052734ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22062735if test -n "$ac_ct_CC"; then
    2207   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2208 echo "${ECHO_T}$ac_ct_CC" >&6
    2209 else
    2210   echo "$as_me:$LINENO: result: no" >&5
    2211 echo "${ECHO_T}no" >&6
    2212 fi
    2213 
    2214   CC=$ac_ct_CC
     2736  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2737echo "${ECHO_T}$ac_ct_CC" >&6; }
     2738else
     2739  { echo "$as_me:$LINENO: result: no" >&5
     2740echo "${ECHO_T}no" >&6; }
     2741fi
     2742
     2743  if test "x$ac_ct_CC" = x; then
     2744    CC=""
     2745  else
     2746    case $cross_compiling:$ac_tool_warned in
     2747yes:)
     2748{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2749whose name does not start with the host triplet.  If you think this
     2750configuration is useful to you, please write to [email protected]." >&5
     2751echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2752whose name does not start with the host triplet.  If you think this
     2753configuration is useful to you, please write to [email protected]." >&2;}
     2754ac_tool_warned=yes ;;
     2755esac
     2756    CC=$ac_ct_CC
     2757  fi
    22152758else
    22162759  CC="$ac_cv_prog_CC"
     
    22182761
    22192762if test -z "$CC"; then
    2220   if test -n "$ac_tool_prefix"; then
    2221   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2763          if test -n "$ac_tool_prefix"; then
     2764    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    22222765set dummy ${ac_tool_prefix}cc; ac_word=$2
    2223 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2766{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2767echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    22252768if test "${ac_cv_prog_CC+set}" = set; then
    22262769  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    22352778  test -z "$as_dir" && as_dir=.
    22362779  for ac_exec_ext in '' $ac_executable_extensions; do
    2237   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2780  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    22382781    ac_cv_prog_CC="${ac_tool_prefix}cc"
    22392782    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    22422785done
    22432786done
     2787IFS=$as_save_IFS
    22442788
    22452789fi
     
    22472791CC=$ac_cv_prog_CC
    22482792if test -n "$CC"; then
    2249   echo "$as_me:$LINENO: result: $CC" >&5
    2250 echo "${ECHO_T}$CC" >&6
    2251 else
    2252   echo "$as_me:$LINENO: result: no" >&5
    2253 echo "${ECHO_T}no" >&6
    2254 fi
    2255 
    2256 fi
    2257 if test -z "$ac_cv_prog_CC"; then
    2258   ac_ct_CC=$CC
    2259   # Extract the first word of "cc", so it can be a program name with args.
    2260 set dummy cc; ac_word=$2
    2261 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2263 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2264   echo $ECHO_N "(cached) $ECHO_C" >&6
    2265 else
    2266   if test -n "$ac_ct_CC"; then
    2267   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2268 else
    2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2270 for as_dir in $PATH
    2271 do
    2272   IFS=$as_save_IFS
    2273   test -z "$as_dir" && as_dir=.
    2274   for ac_exec_ext in '' $ac_executable_extensions; do
    2275   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2276     ac_cv_prog_ac_ct_CC="cc"
    2277     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2278     break 2
     2793  { echo "$as_me:$LINENO: result: $CC" >&5
     2794echo "${ECHO_T}$CC" >&6; }
     2795else
     2796  { echo "$as_me:$LINENO: result: no" >&5
     2797echo "${ECHO_T}no" >&6; }
     2798fi
     2799
     2800
    22792801  fi
    2280 done
    2281 done
    2282 
    2283 fi
    2284 fi
    2285 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2286 if test -n "$ac_ct_CC"; then
    2287   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2288 echo "${ECHO_T}$ac_ct_CC" >&6
    2289 else
    2290   echo "$as_me:$LINENO: result: no" >&5
    2291 echo "${ECHO_T}no" >&6
    2292 fi
    2293 
    2294   CC=$ac_ct_CC
    2295 else
    2296   CC="$ac_cv_prog_CC"
    2297 fi
    2298 
    22992802fi
    23002803if test -z "$CC"; then
    23012804  # Extract the first word of "cc", so it can be a program name with args.
    23022805set dummy cc; ac_word=$2
    2303 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2806{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2807echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    23052808if test "${ac_cv_prog_CC+set}" = set; then
    23062809  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    23162819  test -z "$as_dir" && as_dir=.
    23172820  for ac_exec_ext in '' $ac_executable_extensions; do
    2318   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2821  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    23192822    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    23202823       ac_prog_rejected=yes
     
    23272830done
    23282831done
     2832IFS=$as_save_IFS
    23292833
    23302834if test $ac_prog_rejected = yes; then
     
    23442848CC=$ac_cv_prog_CC
    23452849if test -n "$CC"; then
    2346   echo "$as_me:$LINENO: result: $CC" >&5
    2347 echo "${ECHO_T}$CC" >&6
    2348 else
    2349   echo "$as_me:$LINENO: result: no" >&5
    2350 echo "${ECHO_T}no" >&6
    2351 fi
     2850  { echo "$as_me:$LINENO: result: $CC" >&5
     2851echo "${ECHO_T}$CC" >&6; }
     2852else
     2853  { echo "$as_me:$LINENO: result: no" >&5
     2854echo "${ECHO_T}no" >&6; }
     2855fi
     2856
    23522857
    23532858fi
    23542859if test -z "$CC"; then
    23552860  if test -n "$ac_tool_prefix"; then
    2356   for ac_prog in cl
     2861  for ac_prog in cl.exe
    23572862  do
    23582863    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    23592864set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2360 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2361 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; }
    23622867if test "${ac_cv_prog_CC+set}" = set; then
    23632868  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    23722877  test -z "$as_dir" && as_dir=.
    23732878  for ac_exec_ext in '' $ac_executable_extensions; do
    2374   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
    23752880    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    23762881    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    23792884done
    23802885done
     2886IFS=$as_save_IFS
    23812887
    23822888fi
     
    23842890CC=$ac_cv_prog_CC
    23852891if test -n "$CC"; then
    2386   echo "$as_me:$LINENO: result: $CC" >&5
    2387 echo "${ECHO_T}$CC" >&6
    2388 else
    2389   echo "$as_me:$LINENO: result: no" >&5
    2390 echo "${ECHO_T}no" >&6
    2391 fi
     2892  { echo "$as_me:$LINENO: result: $CC" >&5
     2893echo "${ECHO_T}$CC" >&6; }
     2894else
     2895  { echo "$as_me:$LINENO: result: no" >&5
     2896echo "${ECHO_T}no" >&6; }
     2897fi
     2898
    23922899
    23932900    test -n "$CC" && break
     
    23962903if test -z "$CC"; then
    23972904  ac_ct_CC=$CC
    2398   for ac_prog in cl
     2905  for ac_prog in cl.exe
    23992906do
    24002907  # Extract the first word of "$ac_prog", so it can be a program name with args.
    24012908set dummy $ac_prog; ac_word=$2
    2402 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2909{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2910echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    24042911if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    24052912  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24142921  test -z "$as_dir" && as_dir=.
    24152922  for ac_exec_ext in '' $ac_executable_extensions; do
    2416   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2923  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24172924    ac_cv_prog_ac_ct_CC="$ac_prog"
    24182925    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24212928done
    24222929done
     2930IFS=$as_save_IFS
    24232931
    24242932fi
     
    24262934ac_ct_CC=$ac_cv_prog_ac_ct_CC
    24272935if test -n "$ac_ct_CC"; then
    2428   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2429 echo "${ECHO_T}$ac_ct_CC" >&6
    2430 else
    2431   echo "$as_me:$LINENO: result: no" >&5
    2432 echo "${ECHO_T}no" >&6
    2433 fi
     2936  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2937echo "${ECHO_T}$ac_ct_CC" >&6; }
     2938else
     2939  { echo "$as_me:$LINENO: result: no" >&5
     2940echo "${ECHO_T}no" >&6; }
     2941fi
     2942
    24342943
    24352944  test -n "$ac_ct_CC" && break
    24362945done
    24372946
    2438   CC=$ac_ct_CC
     2947  if test "x$ac_ct_CC" = x; then
     2948    CC=""
     2949  else
     2950    case $cross_compiling:$ac_tool_warned in
     2951yes:)
     2952{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2953whose name does not start with the host triplet.  If you think this
     2954configuration is useful to you, please write to [email protected]." >&5
     2955echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2956whose name does not start with the host triplet.  If you think this
     2957configuration is useful to you, please write to [email protected]." >&2;}
     2958ac_tool_warned=yes ;;
     2959esac
     2960    CC=$ac_ct_CC
     2961  fi
    24392962fi
    24402963
     
    24492972
    24502973# Provide some information about the compiler.
    2451 echo "$as_me:$LINENO:" \
    2452      "checking for C compiler version" >&5
     2974echo "$as_me:$LINENO: checking for C compiler version" >&5
    24532975ac_compiler=`set X $ac_compile; echo $2`
    2454 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2455   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2976{ (ac_try="$ac_compiler --version >&5"
     2977case "(($ac_try" in
     2978  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2979  *) ac_try_echo=$ac_try;;
     2980esac
     2981eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2982  (eval "$ac_compiler --version >&5") 2>&5
    24562983  ac_status=$?
    24572984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24582985  (exit $ac_status); }
    2459 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2460   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2986{ (ac_try="$ac_compiler -v >&5"
     2987case "(($ac_try" in
     2988  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2989  *) ac_try_echo=$ac_try;;
     2990esac
     2991eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2992  (eval "$ac_compiler -v >&5") 2>&5
    24612993  ac_status=$?
    24622994  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24632995  (exit $ac_status); }
    2464 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2465   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2996{ (ac_try="$ac_compiler -V >&5"
     2997case "(($ac_try" in
     2998  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2999  *) ac_try_echo=$ac_try;;
     3000esac
     3001eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3002  (eval "$ac_compiler -V >&5") 2>&5
    24663003  ac_status=$?
    24673004  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24683005  (exit $ac_status); }
    24693006
    2470 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2471 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     3007{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3008echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    24723009if test "${ac_cv_c_compiler_gnu+set}" = set; then
    24733010  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24923029_ACEOF
    24933030rm -f conftest.$ac_objext
    2494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2495   (eval $ac_compile) 2>conftest.er1
     3031if { (ac_try="$ac_compile"
     3032case "(($ac_try" in
     3033  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3034  *) ac_try_echo=$ac_try;;
     3035esac
     3036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3037  (eval "$ac_compile") 2>conftest.er1
    24963038  ac_status=$?
    24973039  grep -v '^ *+' conftest.er1 >conftest.err
     
    24993041  cat conftest.err >&5
    25003042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2501   (exit $ac_status); } &&
    2502      { ac_try='test -z "$ac_c_werror_flag"
    2503              || test ! -s conftest.err'
    2504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2505   (eval $ac_try) 2>&5
    2506   ac_status=$?
    2507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2508   (exit $ac_status); }; } &&
    2509      { ac_try='test -s conftest.$ac_objext'
    2510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2511   (eval $ac_try) 2>&5
    2512   ac_status=$?
    2513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2514   (exit $ac_status); }; }; then
     3043  (exit $ac_status); } && {
     3044     test -z "$ac_c_werror_flag" ||
     3045     test ! -s conftest.err
     3046       } && test -s conftest.$ac_objext; then
    25153047  ac_compiler_gnu=yes
    25163048else
     
    25183050sed 's/^/| /' conftest.$ac_ext >&5
    25193051
    2520 ac_compiler_gnu=no
    2521 fi
    2522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3052    ac_compiler_gnu=no
     3053fi
     3054
     3055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25233056ac_cv_c_compiler_gnu=$ac_compiler_gnu
    25243057
    25253058fi
    2526 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2527 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     3059{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3060echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    25283061GCC=`test $ac_compiler_gnu = yes && echo yes`
    25293062ac_test_CFLAGS=${CFLAGS+set}
    25303063ac_save_CFLAGS=$CFLAGS
    2531 CFLAGS="-g"
    2532 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2533 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     3064{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3065echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    25343066if test "${ac_cv_prog_cc_g+set}" = set; then
    25353067  echo $ECHO_N "(cached) $ECHO_C" >&6
    25363068else
    2537   cat >conftest.$ac_ext <<_ACEOF
     3069  ac_save_c_werror_flag=$ac_c_werror_flag
     3070   ac_c_werror_flag=yes
     3071   ac_cv_prog_cc_g=no
     3072   CFLAGS="-g"
     3073   cat >conftest.$ac_ext <<_ACEOF
    25383074/* confdefs.h.  */
    25393075_ACEOF
     
    25513087_ACEOF
    25523088rm -f conftest.$ac_objext
    2553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2554   (eval $ac_compile) 2>conftest.er1
     3089if { (ac_try="$ac_compile"
     3090case "(($ac_try" in
     3091  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3092  *) ac_try_echo=$ac_try;;
     3093esac
     3094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3095  (eval "$ac_compile") 2>conftest.er1
    25553096  ac_status=$?
    25563097  grep -v '^ *+' conftest.er1 >conftest.err
     
    25583099  cat conftest.err >&5
    25593100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2560   (exit $ac_status); } &&
    2561      { ac_try='test -z "$ac_c_werror_flag"
    2562              || test ! -s conftest.err'
    2563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2564   (eval $ac_try) 2>&5
    2565   ac_status=$?
    2566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2567   (exit $ac_status); }; } &&
    2568      { ac_try='test -s conftest.$ac_objext'
    2569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2570   (eval $ac_try) 2>&5
    2571   ac_status=$?
    2572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2573   (exit $ac_status); }; }; then
     3101  (exit $ac_status); } && {
     3102     test -z "$ac_c_werror_flag" ||
     3103     test ! -s conftest.err
     3104       } && test -s conftest.$ac_objext; then
    25743105  ac_cv_prog_cc_g=yes
    25753106else
     
    25773108sed 's/^/| /' conftest.$ac_ext >&5
    25783109
    2579 ac_cv_prog_cc_g=no
    2580 fi
    2581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2582 fi
    2583 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2584 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     3110    CFLAGS=""
     3111      cat >conftest.$ac_ext <<_ACEOF
     3112/* confdefs.h.  */
     3113_ACEOF
     3114cat confdefs.h >>conftest.$ac_ext
     3115cat >>conftest.$ac_ext <<_ACEOF
     3116/* end confdefs.h.  */
     3117
     3118int
     3119main ()
     3120{
     3121
     3122  ;
     3123  return 0;
     3124}
     3125_ACEOF
     3126rm -f conftest.$ac_objext
     3127if { (ac_try="$ac_compile"
     3128case "(($ac_try" in
     3129  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3130  *) ac_try_echo=$ac_try;;
     3131esac
     3132eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3133  (eval "$ac_compile") 2>conftest.er1
     3134  ac_status=$?
     3135  grep -v '^ *+' conftest.er1 >conftest.err
     3136  rm -f conftest.er1
     3137  cat conftest.err >&5
     3138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3139  (exit $ac_status); } && {
     3140     test -z "$ac_c_werror_flag" ||
     3141     test ! -s conftest.err
     3142       } && test -s conftest.$ac_objext; then
     3143  :
     3144else
     3145  echo "$as_me: failed program was:" >&5
     3146sed 's/^/| /' conftest.$ac_ext >&5
     3147
     3148    ac_c_werror_flag=$ac_save_c_werror_flag
     3149     CFLAGS="-g"
     3150     cat >conftest.$ac_ext <<_ACEOF
     3151/* confdefs.h.  */
     3152_ACEOF
     3153cat confdefs.h >>conftest.$ac_ext
     3154cat >>conftest.$ac_ext <<_ACEOF
     3155/* end confdefs.h.  */
     3156
     3157int
     3158main ()
     3159{
     3160
     3161  ;
     3162  return 0;
     3163}
     3164_ACEOF
     3165rm -f conftest.$ac_objext
     3166if { (ac_try="$ac_compile"
     3167case "(($ac_try" in
     3168  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3169  *) ac_try_echo=$ac_try;;
     3170esac
     3171eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3172  (eval "$ac_compile") 2>conftest.er1
     3173  ac_status=$?
     3174  grep -v '^ *+' conftest.er1 >conftest.err
     3175  rm -f conftest.er1
     3176  cat conftest.err >&5
     3177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3178  (exit $ac_status); } && {
     3179     test -z "$ac_c_werror_flag" ||
     3180     test ! -s conftest.err
     3181       } && test -s conftest.$ac_objext; then
     3182  ac_cv_prog_cc_g=yes
     3183else
     3184  echo "$as_me: failed program was:" >&5
     3185sed 's/^/| /' conftest.$ac_ext >&5
     3186
     3187
     3188fi
     3189
     3190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3191fi
     3192
     3193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3194fi
     3195
     3196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3197   ac_c_werror_flag=$ac_save_c_werror_flag
     3198fi
     3199{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3200echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    25853201if test "$ac_test_CFLAGS" = set; then
    25863202  CFLAGS=$ac_save_CFLAGS
     
    25983214  fi
    25993215fi
    2600 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2601 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2602 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     3216{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3217echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     3218if test "${ac_cv_prog_cc_c89+set}" = set; then
    26033219  echo $ECHO_N "(cached) $ECHO_C" >&6
    26043220else
    2605   ac_cv_prog_cc_stdc=no
     3221  ac_cv_prog_cc_c89=no
    26063222ac_save_CC=$CC
    26073223cat >conftest.$ac_ext <<_ACEOF
     
    26373253   function prototypes and stuff, but not '\xHH' hex character constants.
    26383254   These don't provoke an error unfortunately, instead are silently treated
    2639    as 'x'.  The following induces an error, until -std1 is added to get
     3255   as 'x'.  The following induces an error, until -std is added to get
    26403256   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    26413257   array size at least.  It's necessary to write '\x00'==0 to get something
    2642    that's true only with -std1.  */
     3258   that's true only with -std.  */
    26433259int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     3260
     3261/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     3262   inside strings and character constants.  */
     3263#define FOO(x) 'x'
     3264int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    26443265
    26453266int test (int i, double x);
     
    26573278}
    26583279_ACEOF
    2659 # Don't try gcc -ansi; that turns off useful extensions and
    2660 # breaks some systems' header files.
    2661 # AIX           -qlanglvl=ansi
    2662 # Ultrix and OSF/1  -std1
    2663 # HP-UX 10.20 and later -Ae
    2664 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2665 # SVR4          -Xc -D__EXTENSIONS__
    2666 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     3280for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     3281    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    26673282do
    26683283  CC="$ac_save_CC $ac_arg"
    26693284  rm -f conftest.$ac_objext
    2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2671   (eval $ac_compile) 2>conftest.er1
     3285if { (ac_try="$ac_compile"
     3286case "(($ac_try" in
     3287  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3288  *) ac_try_echo=$ac_try;;
     3289esac
     3290eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3291  (eval "$ac_compile") 2>conftest.er1
    26723292  ac_status=$?
    26733293  grep -v '^ *+' conftest.er1 >conftest.err
     
    26753295  cat conftest.err >&5
    26763296  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2677   (exit $ac_status); } &&
    2678      { ac_try='test -z "$ac_c_werror_flag"
    2679              || test ! -s conftest.err'
    2680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2681   (eval $ac_try) 2>&5
    2682   ac_status=$?
    2683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2684   (exit $ac_status); }; } &&
    2685      { ac_try='test -s conftest.$ac_objext'
    2686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2687   (eval $ac_try) 2>&5
    2688   ac_status=$?
    2689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2690   (exit $ac_status); }; }; then
    2691   ac_cv_prog_cc_stdc=$ac_arg
    2692 break
     3297  (exit $ac_status); } && {
     3298     test -z "$ac_c_werror_flag" ||
     3299     test ! -s conftest.err
     3300       } && test -s conftest.$ac_objext; then
     3301  ac_cv_prog_cc_c89=$ac_arg
    26933302else
    26943303  echo "$as_me: failed program was:" >&5
    26953304sed 's/^/| /' conftest.$ac_ext >&5
    26963305
    2697 fi
    2698 rm -f conftest.err conftest.$ac_objext
     3306
     3307fi
     3308
     3309rm -f core conftest.err conftest.$ac_objext
     3310  test "x$ac_cv_prog_cc_c89" != "xno" && break
    26993311done
    2700 rm -f conftest.$ac_ext conftest.$ac_objext
     3312rm -f conftest.$ac_ext
    27013313CC=$ac_save_CC
    27023314
    27033315fi
    2704 
    2705 case "x$ac_cv_prog_cc_stdc" in
    2706   x|xno)
    2707     echo "$as_me:$LINENO: result: none needed" >&5
    2708 echo "${ECHO_T}none needed" >&6 ;;
     3316# AC_CACHE_VAL
     3317case "x$ac_cv_prog_cc_c89" in
     3318  x)
     3319    { echo "$as_me:$LINENO: result: none needed" >&5
     3320echo "${ECHO_T}none needed" >&6; } ;;
     3321  xno)
     3322    { echo "$as_me:$LINENO: result: unsupported" >&5
     3323echo "${ECHO_T}unsupported" >&6; } ;;
    27093324  *)
    2710     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2711 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2712     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2713 esac
    2714 
    2715 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2716 # in C++ we need to declare it.  In case someone uses the same compiler
    2717 # for both compiling C and C++ we need to have the C++ compiler decide
    2718 # the declaration of exit, since it's the most demanding environment.
    2719 cat >conftest.$ac_ext <<_ACEOF
    2720 #ifndef __cplusplus
    2721   choke me
    2722 #endif
    2723 _ACEOF
    2724 rm -f conftest.$ac_objext
    2725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2726   (eval $ac_compile) 2>conftest.er1
    2727   ac_status=$?
    2728   grep -v '^ *+' conftest.er1 >conftest.err
    2729   rm -f conftest.er1
    2730   cat conftest.err >&5
    2731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2732   (exit $ac_status); } &&
    2733      { ac_try='test -z "$ac_c_werror_flag"
    2734              || test ! -s conftest.err'
    2735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2736   (eval $ac_try) 2>&5
    2737   ac_status=$?
    2738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2739   (exit $ac_status); }; } &&
    2740      { ac_try='test -s conftest.$ac_objext'
    2741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2742   (eval $ac_try) 2>&5
    2743   ac_status=$?
    2744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2745   (exit $ac_status); }; }; then
    2746   for ac_declaration in \
    2747    '' \
    2748    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2749    'extern "C" void std::exit (int); using std::exit;' \
    2750    'extern "C" void exit (int) throw ();' \
    2751    'extern "C" void exit (int);' \
    2752    'void exit (int);'
    2753 do
    2754   cat >conftest.$ac_ext <<_ACEOF
    2755 /* confdefs.h.  */
    2756 _ACEOF
    2757 cat confdefs.h >>conftest.$ac_ext
    2758 cat >>conftest.$ac_ext <<_ACEOF
    2759 /* end confdefs.h.  */
    2760 $ac_declaration
    2761 #include <stdlib.h>
    2762 int
    2763 main ()
    2764 {
    2765 exit (42);
    2766   ;
    2767   return 0;
    2768 }
    2769 _ACEOF
    2770 rm -f conftest.$ac_objext
    2771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2772   (eval $ac_compile) 2>conftest.er1
    2773   ac_status=$?
    2774   grep -v '^ *+' conftest.er1 >conftest.err
    2775   rm -f conftest.er1
    2776   cat conftest.err >&5
    2777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2778   (exit $ac_status); } &&
    2779      { ac_try='test -z "$ac_c_werror_flag"
    2780              || test ! -s conftest.err'
    2781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2782   (eval $ac_try) 2>&5
    2783   ac_status=$?
    2784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2785   (exit $ac_status); }; } &&
    2786      { ac_try='test -s conftest.$ac_objext'
    2787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2788   (eval $ac_try) 2>&5
    2789   ac_status=$?
    2790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2791   (exit $ac_status); }; }; then
    2792   :
    2793 else
    2794   echo "$as_me: failed program was:" >&5
    2795 sed 's/^/| /' conftest.$ac_ext >&5
    2796 
    2797 continue
    2798 fi
    2799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2800   cat >conftest.$ac_ext <<_ACEOF
    2801 /* confdefs.h.  */
    2802 _ACEOF
    2803 cat confdefs.h >>conftest.$ac_ext
    2804 cat >>conftest.$ac_ext <<_ACEOF
    2805 /* end confdefs.h.  */
    2806 $ac_declaration
    2807 int
    2808 main ()
    2809 {
    2810 exit (42);
    2811   ;
    2812   return 0;
    2813 }
    2814 _ACEOF
    2815 rm -f conftest.$ac_objext
    2816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2817   (eval $ac_compile) 2>conftest.er1
    2818   ac_status=$?
    2819   grep -v '^ *+' conftest.er1 >conftest.err
    2820   rm -f conftest.er1
    2821   cat conftest.err >&5
    2822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2823   (exit $ac_status); } &&
    2824      { ac_try='test -z "$ac_c_werror_flag"
    2825              || test ! -s conftest.err'
    2826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2827   (eval $ac_try) 2>&5
    2828   ac_status=$?
    2829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2830   (exit $ac_status); }; } &&
    2831      { ac_try='test -s conftest.$ac_objext'
    2832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2833   (eval $ac_try) 2>&5
    2834   ac_status=$?
    2835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2836   (exit $ac_status); }; }; then
    2837   break
    2838 else
    2839   echo "$as_me: failed program was:" >&5
    2840 sed 's/^/| /' conftest.$ac_ext >&5
    2841 
    2842 fi
    2843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2844 done
    2845 rm -f conftest*
    2846 if test -n "$ac_declaration"; then
    2847   echo '#ifdef __cplusplus' >>confdefs.h
    2848   echo $ac_declaration      >>confdefs.h
    2849   echo '#endif'             >>confdefs.h
    2850 fi
    2851 
    2852 else
    2853   echo "$as_me: failed program was:" >&5
    2854 sed 's/^/| /' conftest.$ac_ext >&5
    2855 
    2856 fi
    2857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3325    CC="$CC $ac_cv_prog_cc_c89"
     3326    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3327echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     3328esac
     3329
     3330
    28583331ac_ext=c
    28593332ac_cpp='$CPP $CPPFLAGS'
     
    28753348# OS/2's system install, which has a completely different semantic
    28763349# ./install, which can be erroneously created by make from ./install.sh.
    2877 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2878 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3350{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3351echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    28793352if test -z "$INSTALL"; then
    28803353if test "${ac_cv_path_install+set}" = set; then
     
    28983371    for ac_prog in ginstall scoinst install; do
    28993372      for ac_exec_ext in '' $ac_executable_extensions; do
    2900     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3373    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    29013374      if test $ac_prog = install &&
    29023375        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    29173390esac
    29183391done
     3392IFS=$as_save_IFS
    29193393
    29203394
     
    29233397    INSTALL=$ac_cv_path_install
    29243398  else
    2925     # As a last resort, use the slow shell script.  We don't cache a
    2926     # path for INSTALL within a source directory, because that will
     3399    # As a last resort, use the slow shell script.  Don't cache a
     3400    # value for INSTALL within a source directory, because that will
    29273401    # break other packages using the cache if that directory is
    2928     # removed, or if the path is relative.
     3402    # removed, or if the value is a relative name.
    29293403    INSTALL=$ac_install_sh
    29303404  fi
    29313405fi
    2932 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2933 echo "${ECHO_T}$INSTALL" >&6
     3406{ echo "$as_me:$LINENO: result: $INSTALL" >&5
     3407echo "${ECHO_T}$INSTALL" >&6; }
    29343408
    29353409# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    29413415test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    29423416
    2943 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    2944 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3417{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3418echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
    29453419LN_S=$as_ln_s
    29463420if test "$LN_S" = "ln -s"; then
    2947   echo "$as_me:$LINENO: result: yes" >&5
    2948 echo "${ECHO_T}yes" >&6
    2949 else
    2950   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    2951 echo "${ECHO_T}no, using $LN_S" >&6
    2952 fi
    2953 
    2954 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    2955 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    2956 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    2957 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3421  { echo "$as_me:$LINENO: result: yes" >&5
     3422echo "${ECHO_T}yes" >&6; }
     3423else
     3424  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3425echo "${ECHO_T}no, using $LN_S" >&6; }
     3426fi
     3427
     3428{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3429echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
     3430set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3431if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    29583432  echo $ECHO_N "(cached) $ECHO_C" >&6
    29593433else
    29603434  cat >conftest.make <<\_ACEOF
     3435SHELL = /bin/sh
    29613436all:
    2962     @echo 'ac_maketemp="$(MAKE)"'
     3437    @echo '@@@%%%=$(MAKE)=@@@%%%'
    29633438_ACEOF
    29643439# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    2965 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    2966 if test -n "$ac_maketemp"; then
    2967   eval ac_cv_prog_make_${ac_make}_set=yes
    2968 else
    2969   eval ac_cv_prog_make_${ac_make}_set=no
    2970 fi
     3440case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3441  *@@@%%%=?*=@@@%%%*)
     3442    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3443  *)
     3444    eval ac_cv_prog_make_${ac_make}_set=no;;
     3445esac
    29713446rm -f conftest.make
    29723447fi
    2973 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    2974   echo "$as_me:$LINENO: result: yes" >&5
    2975 echo "${ECHO_T}yes" >&6
     3448if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3449  { echo "$as_me:$LINENO: result: yes" >&5
     3450echo "${ECHO_T}yes" >&6; }
    29763451  SET_MAKE=
    29773452else
    2978   echo "$as_me:$LINENO: result: no" >&5
    2979 echo "${ECHO_T}no" >&6
     3453  { echo "$as_me:$LINENO: result: no" >&5
     3454echo "${ECHO_T}no" >&6; }
    29803455  SET_MAKE="MAKE=${MAKE-make}"
    29813456fi
     
    29843459  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    29853460set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2986 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3461{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3462echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    29883463if test "${ac_cv_prog_RANLIB+set}" = set; then
    29893464  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    29983473  test -z "$as_dir" && as_dir=.
    29993474  for ac_exec_ext in '' $ac_executable_extensions; do
    3000   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3475  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30013476    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    30023477    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30053480done
    30063481done
     3482IFS=$as_save_IFS
    30073483
    30083484fi
     
    30103486RANLIB=$ac_cv_prog_RANLIB
    30113487if test -n "$RANLIB"; then
    3012   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3013 echo "${ECHO_T}$RANLIB" >&6
    3014 else
    3015   echo "$as_me:$LINENO: result: no" >&5
    3016 echo "${ECHO_T}no" >&6
    3017 fi
     3488  { echo "$as_me:$LINENO: result: $RANLIB" >&5
     3489echo "${ECHO_T}$RANLIB" >&6; }
     3490else
     3491  { echo "$as_me:$LINENO: result: no" >&5
     3492echo "${ECHO_T}no" >&6; }
     3493fi
     3494
    30183495
    30193496fi
     
    30223499  # Extract the first word of "ranlib", so it can be a program name with args.
    30233500set dummy ranlib; ac_word=$2
    3024 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3501{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3502echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30263503if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    30273504  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30363513  test -z "$as_dir" && as_dir=.
    30373514  for ac_exec_ext in '' $ac_executable_extensions; do
    3038   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3515  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30393516    ac_cv_prog_ac_ct_RANLIB="ranlib"
    30403517    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30433520done
    30443521done
    3045 
    3046   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     3522IFS=$as_save_IFS
     3523
    30473524fi
    30483525fi
    30493526ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    30503527if test -n "$ac_ct_RANLIB"; then
    3051   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3052 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3053 else
    3054   echo "$as_me:$LINENO: result: no" >&5
    3055 echo "${ECHO_T}no" >&6
    3056 fi
    3057 
    3058   RANLIB=$ac_ct_RANLIB
     3528  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3529echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
     3530else
     3531  { echo "$as_me:$LINENO: result: no" >&5
     3532echo "${ECHO_T}no" >&6; }
     3533fi
     3534
     3535  if test "x$ac_ct_RANLIB" = x; then
     3536    RANLIB=":"
     3537  else
     3538    case $cross_compiling:$ac_tool_warned in
     3539yes:)
     3540{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3541whose name does not start with the host triplet.  If you think this
     3542configuration is useful to you, please write to [email protected]." >&5
     3543echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3544whose name does not start with the host triplet.  If you think this
     3545configuration is useful to you, please write to [email protected]." >&2;}
     3546ac_tool_warned=yes ;;
     3547esac
     3548    RANLIB=$ac_ct_RANLIB
     3549  fi
    30593550else
    30603551  RANLIB="$ac_cv_prog_RANLIB"
     
    30683559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    30693560ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3070 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3071 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3561{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3562echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    30723563# On Suns, sometimes $CPP names a directory.
    30733564if test -n "$CPP" && test -d "$CPP"; then
     
    31033594             Syntax error
    31043595_ACEOF
    3105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3106   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3596if { (ac_try="$ac_cpp conftest.$ac_ext"
     3597case "(($ac_try" in
     3598  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3599  *) ac_try_echo=$ac_try;;
     3600esac
     3601eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3602  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    31073603  ac_status=$?
    31083604  grep -v '^ *+' conftest.er1 >conftest.err
     
    31103606  cat conftest.err >&5
    31113607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3112   (exit $ac_status); } >/dev/null; then
    3113   if test -s conftest.err; then
    3114     ac_cpp_err=$ac_c_preproc_warn_flag
    3115     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3116   else
    3117     ac_cpp_err=
    3118   fi
    3119 else
    3120   ac_cpp_err=yes
    3121 fi
    3122 if test -z "$ac_cpp_err"; then
     3608  (exit $ac_status); } >/dev/null && {
     3609     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3610     test ! -s conftest.err
     3611       }; then
    31233612  :
    31243613else
     
    31293618continue
    31303619fi
     3620
    31313621rm -f conftest.err conftest.$ac_ext
    31323622
    3133   # OK, works on sane cases.  Now check whether non-existent headers
     3623  # OK, works on sane cases.  Now check whether nonexistent headers
    31343624  # can be detected and how.
    31353625  cat >conftest.$ac_ext <<_ACEOF
     
    31413631#include <ac_nonexistent.h>
    31423632_ACEOF
    3143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3144   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3633if { (ac_try="$ac_cpp conftest.$ac_ext"
     3634case "(($ac_try" in
     3635  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3636  *) ac_try_echo=$ac_try;;
     3637esac
     3638eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3639  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    31453640  ac_status=$?
    31463641  grep -v '^ *+' conftest.er1 >conftest.err
     
    31483643  cat conftest.err >&5
    31493644  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3150   (exit $ac_status); } >/dev/null; then
    3151   if test -s conftest.err; then
    3152     ac_cpp_err=$ac_c_preproc_warn_flag
    3153     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3154   else
    3155     ac_cpp_err=
    3156   fi
    3157 else
    3158   ac_cpp_err=yes
    3159 fi
    3160 if test -z "$ac_cpp_err"; then
     3645  (exit $ac_status); } >/dev/null && {
     3646     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3647     test ! -s conftest.err
     3648       }; then
    31613649  # Broken: success on invalid input.
    31623650continue
     
    31693657break
    31703658fi
     3659
    31713660rm -f conftest.err conftest.$ac_ext
    31723661
     
    31863675  ac_cv_prog_CPP=$CPP
    31873676fi
    3188 echo "$as_me:$LINENO: result: $CPP" >&5
    3189 echo "${ECHO_T}$CPP" >&6
     3677{ echo "$as_me:$LINENO: result: $CPP" >&5
     3678echo "${ECHO_T}$CPP" >&6; }
    31903679ac_preproc_ok=false
    31913680for ac_c_preproc_warn_flag in '' yes
     
    32103699             Syntax error
    32113700_ACEOF
    3212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3213   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3701if { (ac_try="$ac_cpp conftest.$ac_ext"
     3702case "(($ac_try" in
     3703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3704  *) ac_try_echo=$ac_try;;
     3705esac
     3706eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3707  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32143708  ac_status=$?
    32153709  grep -v '^ *+' conftest.er1 >conftest.err
     
    32173711  cat conftest.err >&5
    32183712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3219   (exit $ac_status); } >/dev/null; then
    3220   if test -s conftest.err; then
    3221     ac_cpp_err=$ac_c_preproc_warn_flag
    3222     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3223   else
    3224     ac_cpp_err=
    3225   fi
    3226 else
    3227   ac_cpp_err=yes
    3228 fi
    3229 if test -z "$ac_cpp_err"; then
     3713  (exit $ac_status); } >/dev/null && {
     3714     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3715     test ! -s conftest.err
     3716       }; then
    32303717  :
    32313718else
     
    32363723continue
    32373724fi
     3725
    32383726rm -f conftest.err conftest.$ac_ext
    32393727
    3240   # OK, works on sane cases.  Now check whether non-existent headers
     3728  # OK, works on sane cases.  Now check whether nonexistent headers
    32413729  # can be detected and how.
    32423730  cat >conftest.$ac_ext <<_ACEOF
     
    32483736#include <ac_nonexistent.h>
    32493737_ACEOF
    3250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3251   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3738if { (ac_try="$ac_cpp conftest.$ac_ext"
     3739case "(($ac_try" in
     3740  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3741  *) ac_try_echo=$ac_try;;
     3742esac
     3743eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3744  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32523745  ac_status=$?
    32533746  grep -v '^ *+' conftest.er1 >conftest.err
     
    32553748  cat conftest.err >&5
    32563749  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3257   (exit $ac_status); } >/dev/null; then
    3258   if test -s conftest.err; then
    3259     ac_cpp_err=$ac_c_preproc_warn_flag
    3260     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3261   else
    3262     ac_cpp_err=
    3263   fi
    3264 else
    3265   ac_cpp_err=yes
    3266 fi
    3267 if test -z "$ac_cpp_err"; then
     3750  (exit $ac_status); } >/dev/null && {
     3751     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3752     test ! -s conftest.err
     3753       }; then
    32683754  # Broken: success on invalid input.
    32693755continue
     
    32763762break
    32773763fi
     3764
    32783765rm -f conftest.err conftest.$ac_ext
    32793766
     
    32983785
    32993786
    3300 echo "$as_me:$LINENO: checking for egrep" >&5
    3301 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3302 if test "${ac_cv_prog_egrep+set}" = set; then
     3787{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3788echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
     3789if test "${ac_cv_path_GREP+set}" = set; then
    33033790  echo $ECHO_N "(cached) $ECHO_C" >&6
    33043791else
    3305   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3306     then ac_cv_prog_egrep='grep -E'
    3307     else ac_cv_prog_egrep='egrep'
     3792  # Extract the first word of "grep ggrep" to use in msg output
     3793if test -z "$GREP"; then
     3794set dummy grep ggrep; ac_prog_name=$2
     3795if test "${ac_cv_path_GREP+set}" = set; then
     3796  echo $ECHO_N "(cached) $ECHO_C" >&6
     3797else
     3798  ac_path_GREP_found=false
     3799# Loop through the user's path and test for each of PROGNAME-LIST
     3800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3801for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3802do
     3803  IFS=$as_save_IFS
     3804  test -z "$as_dir" && as_dir=.
     3805  for ac_prog in grep ggrep; do
     3806  for ac_exec_ext in '' $ac_executable_extensions; do
     3807    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     3808    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3809    # Check for GNU ac_path_GREP and select it if it is found.
     3810  # Check for GNU $ac_path_GREP
     3811case `"$ac_path_GREP" --version 2>&1` in
     3812*GNU*)
     3813  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     3814*)
     3815  ac_count=0
     3816  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     3817  while :
     3818  do
     3819    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3820    mv "conftest.tmp" "conftest.in"
     3821    cp "conftest.in" "conftest.nl"
     3822    echo 'GREP' >> "conftest.nl"
     3823    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3824    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3825    ac_count=`expr $ac_count + 1`
     3826    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     3827      # Best one so far, save it but keep looking for a better one
     3828      ac_cv_path_GREP="$ac_path_GREP"
     3829      ac_path_GREP_max=$ac_count
    33083830    fi
    3309 fi
    3310 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3311 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3312  EGREP=$ac_cv_prog_egrep
    3313 
    3314 
    3315 
    3316 echo "$as_me:$LINENO: checking for AIX" >&5
    3317 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     3831    # 10*(2^10) chars as input seems more than enough
     3832    test $ac_count -gt 10 && break
     3833  done
     3834  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3835esac
     3836
     3837
     3838    $ac_path_GREP_found && break 3
     3839  done
     3840done
     3841
     3842done
     3843IFS=$as_save_IFS
     3844
     3845
     3846fi
     3847
     3848GREP="$ac_cv_path_GREP"
     3849if test -z "$GREP"; then
     3850  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3851echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3852   { (exit 1); exit 1; }; }
     3853fi
     3854
     3855else
     3856  ac_cv_path_GREP=$GREP
     3857fi
     3858
     3859
     3860fi
     3861{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3862echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     3863 GREP="$ac_cv_path_GREP"
     3864
     3865
     3866{ echo "$as_me:$LINENO: checking for egrep" >&5
     3867echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
     3868if test "${ac_cv_path_EGREP+set}" = set; then
     3869  echo $ECHO_N "(cached) $ECHO_C" >&6
     3870else
     3871  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     3872   then ac_cv_path_EGREP="$GREP -E"
     3873   else
     3874     # Extract the first word of "egrep" to use in msg output
     3875if test -z "$EGREP"; then
     3876set dummy egrep; ac_prog_name=$2
     3877if test "${ac_cv_path_EGREP+set}" = set; then
     3878  echo $ECHO_N "(cached) $ECHO_C" >&6
     3879else
     3880  ac_path_EGREP_found=false
     3881# Loop through the user's path and test for each of PROGNAME-LIST
     3882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3883for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3884do
     3885  IFS=$as_save_IFS
     3886  test -z "$as_dir" && as_dir=.
     3887  for ac_prog in egrep; do
     3888  for ac_exec_ext in '' $ac_executable_extensions; do
     3889    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     3890    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3891    # Check for GNU ac_path_EGREP and select it if it is found.
     3892  # Check for GNU $ac_path_EGREP
     3893case `"$ac_path_EGREP" --version 2>&1` in
     3894*GNU*)
     3895  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     3896*)
     3897  ac_count=0
     3898  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     3899  while :
     3900  do
     3901    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3902    mv "conftest.tmp" "conftest.in"
     3903    cp "conftest.in" "conftest.nl"
     3904    echo 'EGREP' >> "conftest.nl"
     3905    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3906    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3907    ac_count=`expr $ac_count + 1`
     3908    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     3909      # Best one so far, save it but keep looking for a better one
     3910      ac_cv_path_EGREP="$ac_path_EGREP"
     3911      ac_path_EGREP_max=$ac_count
     3912    fi
     3913    # 10*(2^10) chars as input seems more than enough
     3914    test $ac_count -gt 10 && break
     3915  done
     3916  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3917esac
     3918
     3919
     3920    $ac_path_EGREP_found && break 3
     3921  done
     3922done
     3923
     3924done
     3925IFS=$as_save_IFS
     3926
     3927
     3928fi
     3929
     3930EGREP="$ac_cv_path_EGREP"
     3931if test -z "$EGREP"; then
     3932  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3933echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3934   { (exit 1); exit 1; }; }
     3935fi
     3936
     3937else
     3938  ac_cv_path_EGREP=$EGREP
     3939fi
     3940
     3941
     3942   fi
     3943fi
     3944{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3945echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     3946 EGREP="$ac_cv_path_EGREP"
     3947
     3948
     3949
     3950{ echo "$as_me:$LINENO: checking for AIX" >&5
     3951echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
    33183952cat >conftest.$ac_ext <<_ACEOF
    33193953/* confdefs.h.  */
     
    33293963if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    33303964  $EGREP "yes" >/dev/null 2>&1; then
    3331   echo "$as_me:$LINENO: result: yes" >&5
    3332 echo "${ECHO_T}yes" >&6
     3965  { echo "$as_me:$LINENO: result: yes" >&5
     3966echo "${ECHO_T}yes" >&6; }
    33333967cat >>confdefs.h <<\_ACEOF
    33343968#define _ALL_SOURCE 1
     
    33363970
    33373971else
    3338   echo "$as_me:$LINENO: result: no" >&5
    3339 echo "${ECHO_T}no" >&6
     3972  { echo "$as_me:$LINENO: result: no" >&5
     3973echo "${ECHO_T}no" >&6; }
    33403974fi
    33413975rm -f conftest*
    33423976
    33433977
    3344 echo "$as_me:$LINENO: checking for library containing strerror" >&5
    3345 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     3978{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
     3979echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
    33463980if test "${ac_cv_search_strerror+set}" = set; then
    33473981  echo $ECHO_N "(cached) $ECHO_C" >&6
    33483982else
    33493983  ac_func_search_save_LIBS=$LIBS
    3350 ac_cv_search_strerror=no
    33513984cat >conftest.$ac_ext <<_ACEOF
    33523985/* confdefs.h.  */
     
    33563989/* end confdefs.h.  */
    33573990
    3358 /* Override any gcc2 internal prototype to avoid an error.  */
     3991/* Override any GCC internal prototype to avoid an error.
     3992   Use char because int might match the return type of a GCC
     3993   builtin and then its argument prototype would still apply.  */
    33593994#ifdef __cplusplus
    33603995extern "C"
    33613996#endif
    3362 /* We use char because int might match the return type of a gcc2
    3363    builtin and then its argument prototype would still apply.  */
    33643997char strerror ();
    33653998int
    33663999main ()
    33674000{
    3368 strerror ();
     4001return strerror ();
    33694002  ;
    33704003  return 0;
    33714004}
    33724005_ACEOF
    3373 rm -f conftest.$ac_objext conftest$ac_exeext
    3374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3375   (eval $ac_link) 2>conftest.er1
     4006for ac_lib in '' cposix; do
     4007  if test -z "$ac_lib"; then
     4008    ac_res="none required"
     4009  else
     4010    ac_res=-l$ac_lib
     4011    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4012  fi
     4013  rm -f conftest.$ac_objext conftest$ac_exeext
     4014if { (ac_try="$ac_link"
     4015case "(($ac_try" in
     4016  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4017  *) ac_try_echo=$ac_try;;
     4018esac
     4019eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4020  (eval "$ac_link") 2>conftest.er1
    33764021  ac_status=$?
    33774022  grep -v '^ *+' conftest.er1 >conftest.err
     
    33794024  cat conftest.err >&5
    33804025  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3381   (exit $ac_status); } &&
    3382      { ac_try='test -z "$ac_c_werror_flag"
    3383              || test ! -s conftest.err'
    3384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3385   (eval $ac_try) 2>&5
    3386   ac_status=$?
    3387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3388   (exit $ac_status); }; } &&
    3389      { ac_try='test -s conftest$ac_exeext'
    3390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3391   (eval $ac_try) 2>&5
    3392   ac_status=$?
    3393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3394   (exit $ac_status); }; }; then
    3395   ac_cv_search_strerror="none required"
     4026  (exit $ac_status); } && {
     4027     test -z "$ac_c_werror_flag" ||
     4028     test ! -s conftest.err
     4029       } && test -s conftest$ac_exeext &&
     4030       $as_test_x conftest$ac_exeext; then
     4031  ac_cv_search_strerror=$ac_res
    33964032else
    33974033  echo "$as_me: failed program was:" >&5
    33984034sed 's/^/| /' conftest.$ac_ext >&5
    33994035
    3400 fi
    3401 rm -f conftest.err conftest.$ac_objext \
    3402       conftest$ac_exeext conftest.$ac_ext
    3403 if test "$ac_cv_search_strerror" = no; then
    3404   for ac_lib in cposix; do
    3405     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    3406     cat >conftest.$ac_ext <<_ACEOF
    3407 /* confdefs.h.  */
    3408 _ACEOF
    3409 cat confdefs.h >>conftest.$ac_ext
    3410 cat >>conftest.$ac_ext <<_ACEOF
    3411 /* end confdefs.h.  */
    3412 
    3413 /* Override any gcc2 internal prototype to avoid an error.  */
    3414 #ifdef __cplusplus
    3415 extern "C"
    3416 #endif
    3417 /* We use char because int might match the return type of a gcc2
    3418    builtin and then its argument prototype would still apply.  */
    3419 char strerror ();
    3420 int
    3421 main ()
    3422 {
    3423 strerror ();
    3424   ;
    3425   return 0;
    3426 }
    3427 _ACEOF
    3428 rm -f conftest.$ac_objext conftest$ac_exeext
    3429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3430   (eval $ac_link) 2>conftest.er1
    3431   ac_status=$?
    3432   grep -v '^ *+' conftest.er1 >conftest.err
    3433   rm -f conftest.er1
    3434   cat conftest.err >&5
    3435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3436   (exit $ac_status); } &&
    3437      { ac_try='test -z "$ac_c_werror_flag"
    3438              || test ! -s conftest.err'
    3439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3440   (eval $ac_try) 2>&5
    3441   ac_status=$?
    3442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3443   (exit $ac_status); }; } &&
    3444      { ac_try='test -s conftest$ac_exeext'
    3445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3446   (eval $ac_try) 2>&5
    3447   ac_status=$?
    3448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3449   (exit $ac_status); }; }; then
    3450   ac_cv_search_strerror="-l$ac_lib"
    3451 break
    3452 else
    3453   echo "$as_me: failed program was:" >&5
    3454 sed 's/^/| /' conftest.$ac_ext >&5
    3455 
    3456 fi
    3457 rm -f conftest.err conftest.$ac_objext \
    3458       conftest$ac_exeext conftest.$ac_ext
    3459   done
    3460 fi
     4036
     4037fi
     4038
     4039rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4040      conftest$ac_exeext
     4041  if test "${ac_cv_search_strerror+set}" = set; then
     4042  break
     4043fi
     4044done
     4045if test "${ac_cv_search_strerror+set}" = set; then
     4046  :
     4047else
     4048  ac_cv_search_strerror=no
     4049fi
     4050rm conftest.$ac_ext
    34614051LIBS=$ac_func_search_save_LIBS
    34624052fi
    3463 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    3464 echo "${ECHO_T}$ac_cv_search_strerror" >&6
    3465 if test "$ac_cv_search_strerror" != no; then
    3466   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
    3467 
    3468 fi
    3469 
    3470 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3471 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4053{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     4054echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
     4055ac_res=$ac_cv_search_strerror
     4056if test "$ac_res" != no; then
     4057  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     4058
     4059fi
     4060
     4061{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4062echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    34724063if test "${ac_cv_header_stdc+set}" = set; then
    34734064  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    34934084_ACEOF
    34944085rm -f conftest.$ac_objext
    3495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3496   (eval $ac_compile) 2>conftest.er1
     4086if { (ac_try="$ac_compile"
     4087case "(($ac_try" in
     4088  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4089  *) ac_try_echo=$ac_try;;
     4090esac
     4091eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4092  (eval "$ac_compile") 2>conftest.er1
    34974093  ac_status=$?
    34984094  grep -v '^ *+' conftest.er1 >conftest.err
     
    35004096  cat conftest.err >&5
    35014097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3502   (exit $ac_status); } &&
    3503      { ac_try='test -z "$ac_c_werror_flag"
    3504              || test ! -s conftest.err'
    3505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3506   (eval $ac_try) 2>&5
    3507   ac_status=$?
    3508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3509   (exit $ac_status); }; } &&
    3510      { ac_try='test -s conftest.$ac_objext'
    3511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3512   (eval $ac_try) 2>&5
    3513   ac_status=$?
    3514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3515   (exit $ac_status); }; }; then
     4098  (exit $ac_status); } && {
     4099     test -z "$ac_c_werror_flag" ||
     4100     test ! -s conftest.err
     4101       } && test -s conftest.$ac_objext; then
    35164102  ac_cv_header_stdc=yes
    35174103else
     
    35194105sed 's/^/| /' conftest.$ac_ext >&5
    35204106
    3521 ac_cv_header_stdc=no
    3522 fi
    3523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4107    ac_cv_header_stdc=no
     4108fi
     4109
     4110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35244111
    35254112if test $ac_cv_header_stdc = yes; then
     
    35774164/* end confdefs.h.  */
    35784165#include <ctype.h>
     4166#include <stdlib.h>
    35794167#if ((' ' & 0x0FF) == 0x020)
    35804168# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    35964184    if (XOR (islower (i), ISLOWER (i))
    35974185    || toupper (i) != TOUPPER (i))
    3598       exit(2);
    3599   exit (0);
     4186      return 2;
     4187  return 0;
    36004188}
    36014189_ACEOF
    36024190rm -f conftest$ac_exeext
    3603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3604   (eval $ac_link) 2>&5
     4191if { (ac_try="$ac_link"
     4192case "(($ac_try" in
     4193  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4194  *) ac_try_echo=$ac_try;;
     4195esac
     4196eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4197  (eval "$ac_link") 2>&5
    36054198  ac_status=$?
    36064199  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    36074200  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3609   (eval $ac_try) 2>&5
     4201  { (case "(($ac_try" in
     4202  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4203  *) ac_try_echo=$ac_try;;
     4204esac
     4205eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4206  (eval "$ac_try") 2>&5
    36104207  ac_status=$?
    36114208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    36204217ac_cv_header_stdc=no
    36214218fi
    3622 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3623 fi
    3624 fi
    3625 fi
    3626 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3627 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4219rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4220fi
     4221
     4222
     4223fi
     4224fi
     4225{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4226echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    36284227if test $ac_cv_header_stdc = yes; then
    36294228
     
    36484247do
    36494248as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3650 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4249{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4250echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4251if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    36534252  echo $ECHO_N "(cached) $ECHO_C" >&6
    36544253else
     
    36644263_ACEOF
    36654264rm -f conftest.$ac_objext
    3666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3667   (eval $ac_compile) 2>conftest.er1
     4265if { (ac_try="$ac_compile"
     4266case "(($ac_try" in
     4267  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4268  *) ac_try_echo=$ac_try;;
     4269esac
     4270eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4271  (eval "$ac_compile") 2>conftest.er1
    36684272  ac_status=$?
    36694273  grep -v '^ *+' conftest.er1 >conftest.err
     
    36714275  cat conftest.err >&5
    36724276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3673   (exit $ac_status); } &&
    3674      { ac_try='test -z "$ac_c_werror_flag"
    3675              || test ! -s conftest.err'
    3676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3677   (eval $ac_try) 2>&5
    3678   ac_status=$?
    3679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3680   (exit $ac_status); }; } &&
    3681      { ac_try='test -s conftest.$ac_objext'
    3682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3683   (eval $ac_try) 2>&5
    3684   ac_status=$?
    3685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3686   (exit $ac_status); }; }; then
     4277  (exit $ac_status); } && {
     4278     test -z "$ac_c_werror_flag" ||
     4279     test ! -s conftest.err
     4280       } && test -s conftest.$ac_objext; then
    36874281  eval "$as_ac_Header=yes"
    36884282else
     
    36904284sed 's/^/| /' conftest.$ac_ext >&5
    36914285
    3692 eval "$as_ac_Header=no"
    3693 fi
    3694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3695 fi
    3696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4286    eval "$as_ac_Header=no"
     4287fi
     4288
     4289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4290fi
     4291ac_res=`eval echo '${'$as_ac_Header'}'`
     4292           { echo "$as_me:$LINENO: result: $ac_res" >&5
     4293echo "${ECHO_T}$ac_res" >&6; }
    36984294if test `eval echo '${'$as_ac_Header'}'` = yes; then
    36994295  cat >>confdefs.h <<_ACEOF
     
    37074303
    37084304if test "${ac_cv_header_minix_config_h+set}" = set; then
    3709   echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3710 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4305  { echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4306echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    37114307if test "${ac_cv_header_minix_config_h+set}" = set; then
    37124308  echo $ECHO_N "(cached) $ECHO_C" >&6
    37134309fi
    3714 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3715 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4310{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4311echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    37164312else
    37174313  # Is the header compilable?
    3718 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    3719 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     4314{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4315echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
    37204316cat >conftest.$ac_ext <<_ACEOF
    37214317/* confdefs.h.  */
     
    37284324_ACEOF
    37294325rm -f conftest.$ac_objext
    3730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3731   (eval $ac_compile) 2>conftest.er1
     4326if { (ac_try="$ac_compile"
     4327case "(($ac_try" in
     4328  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4329  *) ac_try_echo=$ac_try;;
     4330esac
     4331eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4332  (eval "$ac_compile") 2>conftest.er1
    37324333  ac_status=$?
    37334334  grep -v '^ *+' conftest.er1 >conftest.err
     
    37354336  cat conftest.err >&5
    37364337  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3737   (exit $ac_status); } &&
    3738      { ac_try='test -z "$ac_c_werror_flag"
    3739              || test ! -s conftest.err'
    3740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3741   (eval $ac_try) 2>&5
    3742   ac_status=$?
    3743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3744   (exit $ac_status); }; } &&
    3745      { ac_try='test -s conftest.$ac_objext'
    3746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3747   (eval $ac_try) 2>&5
    3748   ac_status=$?
    3749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3750   (exit $ac_status); }; }; then
     4338  (exit $ac_status); } && {
     4339     test -z "$ac_c_werror_flag" ||
     4340     test ! -s conftest.err
     4341       } && test -s conftest.$ac_objext; then
    37514342  ac_header_compiler=yes
    37524343else
     
    37544345sed 's/^/| /' conftest.$ac_ext >&5
    37554346
    3756 ac_header_compiler=no
    3757 fi
    3758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3760 echo "${ECHO_T}$ac_header_compiler" >&6
     4347    ac_header_compiler=no
     4348fi
     4349
     4350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4351{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4352echo "${ECHO_T}$ac_header_compiler" >&6; }
    37614353
    37624354# Is the header present?
    3763 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    3764 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     4355{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4356echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
    37654357cat >conftest.$ac_ext <<_ACEOF
    37664358/* confdefs.h.  */
     
    37714363#include <minix/config.h>
    37724364_ACEOF
    3773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3774   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4365if { (ac_try="$ac_cpp conftest.$ac_ext"
     4366case "(($ac_try" in
     4367  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4368  *) ac_try_echo=$ac_try;;
     4369esac
     4370eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4371  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    37754372  ac_status=$?
    37764373  grep -v '^ *+' conftest.er1 >conftest.err
     
    37784375  cat conftest.err >&5
    37794376  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3780   (exit $ac_status); } >/dev/null; then
    3781   if test -s conftest.err; then
    3782     ac_cpp_err=$ac_c_preproc_warn_flag
    3783     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3784   else
    3785     ac_cpp_err=
    3786   fi
    3787 else
    3788   ac_cpp_err=yes
    3789 fi
    3790 if test -z "$ac_cpp_err"; then
     4377  (exit $ac_status); } >/dev/null && {
     4378     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4379     test ! -s conftest.err
     4380       }; then
    37914381  ac_header_preproc=yes
    37924382else
     
    37964386  ac_header_preproc=no
    37974387fi
     4388
    37984389rm -f conftest.err conftest.$ac_ext
    3799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3800 echo "${ECHO_T}$ac_header_preproc" >&6
     4390{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4391echo "${ECHO_T}$ac_header_preproc" >&6; }
    38014392
    38024393# So?  What about this header?
     
    38224413    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    38234414echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    3824     (
    3825       cat <<\_ASBOX
    3826 ## ------------------------------------------ ##
    3827 ## Report this to the AC_PACKAGE_NAME lists.  ##
    3828 ## ------------------------------------------ ##
    3829 _ASBOX
    3830     ) |
    3831       sed "s/^/$as_me: WARNING:     /" >&2
     4415
    38324416    ;;
    38334417esac
    3834 echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3835 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4418{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4419echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    38364420if test "${ac_cv_header_minix_config_h+set}" = set; then
    38374421  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    38394423  ac_cv_header_minix_config_h=$ac_header_preproc
    38404424fi
    3841 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3842 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4425{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4426echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    38434427
    38444428fi
     
    38684452fi
    38694453
    3870 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    3871 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     4454{ echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     4455echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
    38724456if test "${ac_cv_prog_cc_stdc+set}" = set; then
    38734457  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    39054489_ACEOF
    39064490rm -f conftest.$ac_objext
    3907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3908   (eval $ac_compile) 2>conftest.er1
     4491if { (ac_try="$ac_compile"
     4492case "(($ac_try" in
     4493  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4494  *) ac_try_echo=$ac_try;;
     4495esac
     4496eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4497  (eval "$ac_compile") 2>conftest.er1
    39094498  ac_status=$?
    39104499  grep -v '^ *+' conftest.er1 >conftest.err
     
    39124501  cat conftest.err >&5
    39134502  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3914   (exit $ac_status); } &&
    3915      { ac_try='test -z "$ac_c_werror_flag"
    3916              || test ! -s conftest.err'
    3917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3918   (eval $ac_try) 2>&5
    3919   ac_status=$?
    3920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3921   (exit $ac_status); }; } &&
    3922      { ac_try='test -s conftest.$ac_objext'
    3923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3924   (eval $ac_try) 2>&5
    3925   ac_status=$?
    3926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3927   (exit $ac_status); }; }; then
     4503  (exit $ac_status); } && {
     4504     test -z "$ac_c_werror_flag" ||
     4505     test ! -s conftest.err
     4506       } && test -s conftest.$ac_objext; then
    39284507  ac_cv_prog_cc_stdc="$ac_arg"; break
    39294508else
     
    39314510sed 's/^/| /' conftest.$ac_ext >&5
    39324511
    3933 fi
    3934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4512
     4513fi
     4514
     4515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    39354516done
    39364517CFLAGS="$ac_save_CFLAGS"
     
    39384519fi
    39394520
    3940 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    3941 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     4521{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4522echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
    39424523case "x$ac_cv_prog_cc_stdc" in
    39434524  x|xno) ;;
     
    39464527
    39474528
    3948 echo "$as_me:$LINENO: checking for function prototypes" >&5
    3949 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     4529{ echo "$as_me:$LINENO: checking for function prototypes" >&5
     4530echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
    39504531if test "$ac_cv_prog_cc_stdc" != no; then
    3951   echo "$as_me:$LINENO: result: yes" >&5
    3952 echo "${ECHO_T}yes" >&6
     4532  { echo "$as_me:$LINENO: result: yes" >&5
     4533echo "${ECHO_T}yes" >&6; }
    39534534  cat >>confdefs.h <<\_ACEOF
    39544535#define PROTOTYPES 1
     
    39574538  U= ANSI2KNR=
    39584539else
    3959   echo "$as_me:$LINENO: result: no" >&5
    3960 echo "${ECHO_T}no" >&6
     4540  { echo "$as_me:$LINENO: result: no" >&5
     4541echo "${ECHO_T}no" >&6; }
    39614542  U=_ ANSI2KNR=ansi2knr
    39624543fi
    39634544
    3964 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    3965 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     4545{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4546echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
    39664547if test "${ac_cv_c_const+set}" = set; then
    39674548  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    39814562  /* Ultrix mips cc rejects this.  */
    39824563  typedef int charset[2];
    3983   const charset x;
     4564  const charset cs;
    39844565  /* SunOS 4.1.1 cc rejects this.  */
    3985   char const *const *ccp;
    3986   char **p;
     4566  char const *const *pcpcc;
     4567  char **ppc;
    39874568  /* NEC SVR4.0.2 mips cc rejects this.  */
    39884569  struct point {int x, y;};
     
    39934574     expression */
    39944575  const char *g = "string";
    3995   ccp = &g + (g ? g-g : 0);
     4576  pcpcc = &g + (g ? g-g : 0);
    39964577  /* HPUX 7.0 cc rejects these. */
    3997   ++ccp;
    3998   p = (char**) ccp;
    3999   ccp = (char const *const *) p;
     4578  ++pcpcc;
     4579  ppc = (char**) pcpcc;
     4580  pcpcc = (char const *const *) ppc;
    40004581  { /* SCO 3.2v4 cc rejects this.  */
    40014582    char *t;
     
    40034584
    40044585    *t++ = 0;
     4586    if (s) return 0;
    40054587  }
    40064588  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    40214603  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    40224604    const int foo = 10;
     4605    if (!foo) return 0;
    40234606  }
     4607  return !cs[0] && !zero.x;
    40244608#endif
    40254609
     
    40294613_ACEOF
    40304614rm -f conftest.$ac_objext
    4031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4032   (eval $ac_compile) 2>conftest.er1
     4615if { (ac_try="$ac_compile"
     4616case "(($ac_try" in
     4617  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4618  *) ac_try_echo=$ac_try;;
     4619esac
     4620eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4621  (eval "$ac_compile") 2>conftest.er1
    40334622  ac_status=$?
    40344623  grep -v '^ *+' conftest.er1 >conftest.err
     
    40364625  cat conftest.err >&5
    40374626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4038   (exit $ac_status); } &&
    4039      { ac_try='test -z "$ac_c_werror_flag"
    4040              || test ! -s conftest.err'
    4041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4042   (eval $ac_try) 2>&5
    4043   ac_status=$?
    4044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4045   (exit $ac_status); }; } &&
    4046      { ac_try='test -s conftest.$ac_objext'
    4047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4048   (eval $ac_try) 2>&5
    4049   ac_status=$?
    4050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4051   (exit $ac_status); }; }; then
     4627  (exit $ac_status); } && {
     4628     test -z "$ac_c_werror_flag" ||
     4629     test ! -s conftest.err
     4630       } && test -s conftest.$ac_objext; then
    40524631  ac_cv_c_const=yes
    40534632else
     
    40554634sed 's/^/| /' conftest.$ac_ext >&5
    40564635
    4057 ac_cv_c_const=no
    4058 fi
    4059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4060 fi
    4061 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4062 echo "${ECHO_T}$ac_cv_c_const" >&6
     4636    ac_cv_c_const=no
     4637fi
     4638
     4639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4640fi
     4641{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4642echo "${ECHO_T}$ac_cv_c_const" >&6; }
    40634643if test $ac_cv_c_const = no; then
    40644644
     
    40694649fi
    40704650
    4071 echo "$as_me:$LINENO: checking for off_t" >&5
    4072 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     4651{ echo "$as_me:$LINENO: checking for off_t" >&5
     4652echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
    40734653if test "${ac_cv_type_off_t+set}" = set; then
    40744654  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    40814661/* end confdefs.h.  */
    40824662$ac_includes_default
     4663typedef off_t ac__type_new_;
    40834664int
    40844665main ()
    40854666{
    4086 if ((off_t *) 0)
     4667if ((ac__type_new_ *) 0)
    40874668  return 0;
    4088 if (sizeof (off_t))
     4669if (sizeof (ac__type_new_))
    40894670  return 0;
    40904671  ;
     
    40934674_ACEOF
    40944675rm -f conftest.$ac_objext
    4095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4096   (eval $ac_compile) 2>conftest.er1
     4676if { (ac_try="$ac_compile"
     4677case "(($ac_try" in
     4678  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4679  *) ac_try_echo=$ac_try;;
     4680esac
     4681eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4682  (eval "$ac_compile") 2>conftest.er1
    40974683  ac_status=$?
    40984684  grep -v '^ *+' conftest.er1 >conftest.err
     
    41004686  cat conftest.err >&5
    41014687  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4102   (exit $ac_status); } &&
    4103      { ac_try='test -z "$ac_c_werror_flag"
    4104              || test ! -s conftest.err'
    4105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4106   (eval $ac_try) 2>&5
    4107   ac_status=$?
    4108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4109   (exit $ac_status); }; } &&
    4110      { ac_try='test -s conftest.$ac_objext'
    4111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4112   (eval $ac_try) 2>&5
    4113   ac_status=$?
    4114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4115   (exit $ac_status); }; }; then
     4688  (exit $ac_status); } && {
     4689     test -z "$ac_c_werror_flag" ||
     4690     test ! -s conftest.err
     4691       } && test -s conftest.$ac_objext; then
    41164692  ac_cv_type_off_t=yes
    41174693else
     
    41194695sed 's/^/| /' conftest.$ac_ext >&5
    41204696
    4121 ac_cv_type_off_t=no
    4122 fi
    4123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4124 fi
    4125 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4126 echo "${ECHO_T}$ac_cv_type_off_t" >&6
     4697    ac_cv_type_off_t=no
     4698fi
     4699
     4700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4701fi
     4702{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4703echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
    41274704if test $ac_cv_type_off_t = yes; then
    41284705  :
     
    41304707
    41314708cat >>confdefs.h <<_ACEOF
    4132 #define off_t long
    4133 _ACEOF
    4134 
    4135 fi
    4136 
    4137 echo "$as_me:$LINENO: checking for size_t" >&5
    4138 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
     4709#define off_t long int
     4710_ACEOF
     4711
     4712fi
     4713
     4714{ echo "$as_me:$LINENO: checking for size_t" >&5
     4715echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
    41394716if test "${ac_cv_type_size_t+set}" = set; then
    41404717  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    41474724/* end confdefs.h.  */
    41484725$ac_includes_default
     4726typedef size_t ac__type_new_;
    41494727int
    41504728main ()
    41514729{
    4152 if ((size_t *) 0)
     4730if ((ac__type_new_ *) 0)
    41534731  return 0;
    4154 if (sizeof (size_t))
     4732if (sizeof (ac__type_new_))
    41554733  return 0;
    41564734  ;
     
    41594737_ACEOF
    41604738rm -f conftest.$ac_objext
    4161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4162   (eval $ac_compile) 2>conftest.er1
     4739if { (ac_try="$ac_compile"
     4740case "(($ac_try" in
     4741  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4742  *) ac_try_echo=$ac_try;;
     4743esac
     4744eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4745  (eval "$ac_compile") 2>conftest.er1
    41634746  ac_status=$?
    41644747  grep -v '^ *+' conftest.er1 >conftest.err
     
    41664749  cat conftest.err >&5
    41674750  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4168   (exit $ac_status); } &&
    4169      { ac_try='test -z "$ac_c_werror_flag"
    4170              || test ! -s conftest.err'
    4171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4172   (eval $ac_try) 2>&5
    4173   ac_status=$?
    4174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4175   (exit $ac_status); }; } &&
    4176      { ac_try='test -s conftest.$ac_objext'
    4177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4178   (eval $ac_try) 2>&5
    4179   ac_status=$?
    4180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4181   (exit $ac_status); }; }; then
     4751  (exit $ac_status); } && {
     4752     test -z "$ac_c_werror_flag" ||
     4753     test ! -s conftest.err
     4754       } && test -s conftest.$ac_objext; then
    41824755  ac_cv_type_size_t=yes
    41834756else
     
    41854758sed 's/^/| /' conftest.$ac_ext >&5
    41864759
    4187 ac_cv_type_size_t=no
    4188 fi
    4189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4190 fi
    4191 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4192 echo "${ECHO_T}$ac_cv_type_size_t" >&6
     4760    ac_cv_type_size_t=no
     4761fi
     4762
     4763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4764fi
     4765{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4766echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
    41934767if test $ac_cv_type_size_t = yes; then
    41944768  :
     
    41964770
    41974771cat >>confdefs.h <<_ACEOF
    4198 #define size_t unsigned
    4199 _ACEOF
    4200 
    4201 fi
    4202 
    4203 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4204 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     4772#define size_t unsigned int
     4773_ACEOF
     4774
     4775fi
     4776
     4777{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4778echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
    42054779if test "${ac_cv_header_time+set}" = set; then
    42064780  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42264800_ACEOF
    42274801rm -f conftest.$ac_objext
    4228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4229   (eval $ac_compile) 2>conftest.er1
     4802if { (ac_try="$ac_compile"
     4803case "(($ac_try" in
     4804  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4805  *) ac_try_echo=$ac_try;;
     4806esac
     4807eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4808  (eval "$ac_compile") 2>conftest.er1
    42304809  ac_status=$?
    42314810  grep -v '^ *+' conftest.er1 >conftest.err
     
    42334812  cat conftest.err >&5
    42344813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4235   (exit $ac_status); } &&
    4236      { ac_try='test -z "$ac_c_werror_flag"
    4237              || test ! -s conftest.err'
    4238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4239   (eval $ac_try) 2>&5
    4240   ac_status=$?
    4241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4242   (exit $ac_status); }; } &&
    4243      { ac_try='test -s conftest.$ac_objext'
    4244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4245   (eval $ac_try) 2>&5
    4246   ac_status=$?
    4247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4248   (exit $ac_status); }; }; then
     4814  (exit $ac_status); } && {
     4815     test -z "$ac_c_werror_flag" ||
     4816     test ! -s conftest.err
     4817       } && test -s conftest.$ac_objext; then
    42494818  ac_cv_header_time=yes
    42504819else
     
    42524821sed 's/^/| /' conftest.$ac_ext >&5
    42534822
    4254 ac_cv_header_time=no
    4255 fi
    4256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4257 fi
    4258 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4259 echo "${ECHO_T}$ac_cv_header_time" >&6
     4823    ac_cv_header_time=no
     4824fi
     4825
     4826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4827fi
     4828{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     4829echo "${ECHO_T}$ac_cv_header_time" >&6; }
    42604830if test $ac_cv_header_time = yes; then
    42614831
     
    42664836fi
    42674837
    4268 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4269 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     4838{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     4839echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
    42704840if test "${ac_cv_struct_tm+set}" = set; then
    42714841  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42834853main ()
    42844854{
    4285 struct tm *tp; tp->tm_sec;
     4855struct tm tm;
     4856                     int *p = &tm.tm_sec;
     4857                     return !p;
    42864858  ;
    42874859  return 0;
     
    42894861_ACEOF
    42904862rm -f conftest.$ac_objext
    4291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4292   (eval $ac_compile) 2>conftest.er1
     4863if { (ac_try="$ac_compile"
     4864case "(($ac_try" in
     4865  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4866  *) ac_try_echo=$ac_try;;
     4867esac
     4868eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4869  (eval "$ac_compile") 2>conftest.er1
    42934870  ac_status=$?
    42944871  grep -v '^ *+' conftest.er1 >conftest.err
     
    42964873  cat conftest.err >&5
    42974874  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4298   (exit $ac_status); } &&
    4299      { ac_try='test -z "$ac_c_werror_flag"
    4300              || test ! -s conftest.err'
    4301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4302   (eval $ac_try) 2>&5
    4303   ac_status=$?
    4304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4305   (exit $ac_status); }; } &&
    4306      { ac_try='test -s conftest.$ac_objext'
    4307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4308   (eval $ac_try) 2>&5
    4309   ac_status=$?
    4310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4311   (exit $ac_status); }; }; then
     4875  (exit $ac_status); } && {
     4876     test -z "$ac_c_werror_flag" ||
     4877     test ! -s conftest.err
     4878       } && test -s conftest.$ac_objext; then
    43124879  ac_cv_struct_tm=time.h
    43134880else
     
    43154882sed 's/^/| /' conftest.$ac_ext >&5
    43164883
    4317 ac_cv_struct_tm=sys/time.h
    4318 fi
    4319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4320 fi
    4321 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    4322 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     4884    ac_cv_struct_tm=sys/time.h
     4885fi
     4886
     4887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4888fi
     4889{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     4890echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
    43234891if test $ac_cv_struct_tm = sys/time.h; then
    43244892
     
    43314899
    43324900
    4333 # Check whether --with-unac or --without-unac was given.
     4901# Check whether --with-unac was given.
    43344902if test "${with_unac+set}" = set; then
    4335   withval="$with_unac"
    4336   UNAC_DIR=$withval
     4903  withval=$with_unac; UNAC_DIR=$withval
    43374904else
    43384905  UNAC_DIR="`pwd`/../packages/unac"
    4339 fi;
     4906fi
     4907
    43404908cat >>confdefs.h <<_ACEOF
    43414909#define UNAC_DIR "$UNAC_DIR"
     
    43444912
    43454913
    4346 
    4347 # Check whether --with-unac or --without-unac was given.
    4348 if test "${with_unac+set}" = set; then
    4349   withval="$with_unac"
    4350   LIBICONV_DIR=$withval
    4351 fi;
    4352 cat >>confdefs.h <<_ACEOF
    4353 #define LIBICONV_DIR "$LIBICONV_DIR"
    4354 _ACEOF
    4355 
    4356 
     4914#AC_ARG_WITH(unac, [  --with-libiconv-prefix=dir         Use local libiconv library], LIBICONV_DIR=$withval)
     4915#AC_DEFINE_UNQUOTED(LIBICONV_DIR, "$LIBICONV_DIR")
     4916#AC_SUBST(LIBICONV_DIR)
    43574917
    43584918
     
    43754935_ACEOF
    43764936rm -f conftest.$ac_objext
    4377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4378   (eval $ac_compile) 2>conftest.er1
     4937if { (ac_try="$ac_compile"
     4938case "(($ac_try" in
     4939  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4940  *) ac_try_echo=$ac_try;;
     4941esac
     4942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4943  (eval "$ac_compile") 2>conftest.er1
    43794944  ac_status=$?
    43804945  grep -v '^ *+' conftest.er1 >conftest.err
     
    43824947  cat conftest.err >&5
    43834948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4384   (exit $ac_status); } &&
    4385      { ac_try='test -z "$ac_c_werror_flag"
    4386              || test ! -s conftest.err'
    4387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4388   (eval $ac_try) 2>&5
    4389   ac_status=$?
    4390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4391   (exit $ac_status); }; } &&
    4392      { ac_try='test -s conftest.$ac_objext'
    4393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4394   (eval $ac_try) 2>&5
    4395   ac_status=$?
    4396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4397   (exit $ac_status); }; }; then
     4949  (exit $ac_status); } && {
     4950     test -z "$ac_c_werror_flag" ||
     4951     test ! -s conftest.err
     4952       } && test -s conftest.$ac_objext; then
    43984953  :
    43994954else
     
    44014956sed 's/^/| /' conftest.$ac_ext >&5
    44024957
    4403 CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    4404 fi
    4405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4406 fi
    4407 
    4408 
    4409 
    4410 echo "$as_me:$LINENO: checking for main in -lg" >&5
    4411 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     4958    CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     4959fi
     4960
     4961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4962fi
     4963
     4964
     4965
     4966{ echo "$as_me:$LINENO: checking for main in -lg" >&5
     4967echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
    44124968if test "${ac_cv_lib_g_main+set}" = set; then
    44134969  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    44264982main ()
    44274983{
    4428 main ();
     4984return main ();
    44294985  ;
    44304986  return 0;
     
    44324988_ACEOF
    44334989rm -f conftest.$ac_objext conftest$ac_exeext
    4434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4435   (eval $ac_link) 2>conftest.er1
     4990if { (ac_try="$ac_link"
     4991case "(($ac_try" in
     4992  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4993  *) ac_try_echo=$ac_try;;
     4994esac
     4995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4996  (eval "$ac_link") 2>conftest.er1
    44364997  ac_status=$?
    44374998  grep -v '^ *+' conftest.er1 >conftest.err
     
    44395000  cat conftest.err >&5
    44405001  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4441   (exit $ac_status); } &&
    4442      { ac_try='test -z "$ac_c_werror_flag"
    4443              || test ! -s conftest.err'
    4444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4445   (eval $ac_try) 2>&5
    4446   ac_status=$?
    4447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4448   (exit $ac_status); }; } &&
    4449      { ac_try='test -s conftest$ac_exeext'
    4450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4451   (eval $ac_try) 2>&5
    4452   ac_status=$?
    4453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4454   (exit $ac_status); }; }; then
     5002  (exit $ac_status); } && {
     5003     test -z "$ac_c_werror_flag" ||
     5004     test ! -s conftest.err
     5005       } && test -s conftest$ac_exeext &&
     5006       $as_test_x conftest$ac_exeext; then
    44555007  ac_cv_lib_g_main=yes
    44565008else
     
    44585010sed 's/^/| /' conftest.$ac_ext >&5
    44595011
    4460 ac_cv_lib_g_main=no
    4461 fi
    4462 rm -f conftest.err conftest.$ac_objext \
     5012    ac_cv_lib_g_main=no
     5013fi
     5014
     5015rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    44635016      conftest$ac_exeext conftest.$ac_ext
    44645017LIBS=$ac_check_lib_save_LIBS
    44655018fi
    4466 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    4467 echo "${ECHO_T}$ac_cv_lib_g_main" >&6
     5019{ echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     5020echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
    44685021if test $ac_cv_lib_g_main = yes; then
    44695022  cat >>confdefs.h <<_ACEOF
     
    44765029
    44775030
    4478 echo "$as_me:$LINENO: checking for main in -lm" >&5
    4479 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     5031{ echo "$as_me:$LINENO: checking for main in -lm" >&5
     5032echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
    44805033if test "${ac_cv_lib_m_main+set}" = set; then
    44815034  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    44945047main ()
    44955048{
    4496 main ();
     5049return main ();
    44975050  ;
    44985051  return 0;
     
    45005053_ACEOF
    45015054rm -f conftest.$ac_objext conftest$ac_exeext
    4502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4503   (eval $ac_link) 2>conftest.er1
     5055if { (ac_try="$ac_link"
     5056case "(($ac_try" in
     5057  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5058  *) ac_try_echo=$ac_try;;
     5059esac
     5060eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5061  (eval "$ac_link") 2>conftest.er1
    45045062  ac_status=$?
    45055063  grep -v '^ *+' conftest.er1 >conftest.err
     
    45075065  cat conftest.err >&5
    45085066  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4509   (exit $ac_status); } &&
    4510      { ac_try='test -z "$ac_c_werror_flag"
    4511              || test ! -s conftest.err'
    4512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4513   (eval $ac_try) 2>&5
    4514   ac_status=$?
    4515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4516   (exit $ac_status); }; } &&
    4517      { ac_try='test -s conftest$ac_exeext'
    4518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4519   (eval $ac_try) 2>&5
    4520   ac_status=$?
    4521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4522   (exit $ac_status); }; }; then
     5067  (exit $ac_status); } && {
     5068     test -z "$ac_c_werror_flag" ||
     5069     test ! -s conftest.err
     5070       } && test -s conftest$ac_exeext &&
     5071       $as_test_x conftest$ac_exeext; then
    45235072  ac_cv_lib_m_main=yes
    45245073else
     
    45265075sed 's/^/| /' conftest.$ac_ext >&5
    45275076
    4528 ac_cv_lib_m_main=no
    4529 fi
    4530 rm -f conftest.err conftest.$ac_objext \
     5077    ac_cv_lib_m_main=no
     5078fi
     5079
     5080rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    45315081      conftest$ac_exeext conftest.$ac_ext
    45325082LIBS=$ac_check_lib_save_LIBS
    45335083fi
    4534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    4535 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     5084{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     5085echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
    45365086if test $ac_cv_lib_m_main = yes; then
    45375087  cat >>confdefs.h <<_ACEOF
     
    45445094
    45455095
    4546 echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
    4547 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6
     5096{ echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
     5097echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; }
    45485098if test "${ac_cv_lib_stdcpp_main+set}" = set; then
    45495099  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45625112main ()
    45635113{
    4564 main ();
     5114return main ();
    45655115  ;
    45665116  return 0;
     
    45685118_ACEOF
    45695119rm -f conftest.$ac_objext conftest$ac_exeext
    4570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4571   (eval $ac_link) 2>conftest.er1
     5120if { (ac_try="$ac_link"
     5121case "(($ac_try" in
     5122  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5123  *) ac_try_echo=$ac_try;;
     5124esac
     5125eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5126  (eval "$ac_link") 2>conftest.er1
    45725127  ac_status=$?
    45735128  grep -v '^ *+' conftest.er1 >conftest.err
     
    45755130  cat conftest.err >&5
    45765131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4577   (exit $ac_status); } &&
    4578      { ac_try='test -z "$ac_c_werror_flag"
    4579              || test ! -s conftest.err'
    4580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4581   (eval $ac_try) 2>&5
    4582   ac_status=$?
    4583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4584   (exit $ac_status); }; } &&
    4585      { ac_try='test -s conftest$ac_exeext'
    4586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4587   (eval $ac_try) 2>&5
    4588   ac_status=$?
    4589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4590   (exit $ac_status); }; }; then
     5132  (exit $ac_status); } && {
     5133     test -z "$ac_c_werror_flag" ||
     5134     test ! -s conftest.err
     5135       } && test -s conftest$ac_exeext &&
     5136       $as_test_x conftest$ac_exeext; then
    45915137  ac_cv_lib_stdcpp_main=yes
    45925138else
     
    45945140sed 's/^/| /' conftest.$ac_ext >&5
    45955141
    4596 ac_cv_lib_stdcpp_main=no
    4597 fi
    4598 rm -f conftest.err conftest.$ac_objext \
     5142    ac_cv_lib_stdcpp_main=no
     5143fi
     5144
     5145rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    45995146      conftest$ac_exeext conftest.$ac_ext
    46005147LIBS=$ac_check_lib_save_LIBS
    46015148fi
    4602 echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
    4603 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6
     5149{ echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
     5150echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }
    46045151if test $ac_cv_lib_stdcpp_main = yes; then
    46055152  cat >>confdefs.h <<_ACEOF
     
    46125159
    46135160
    4614 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    4615 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     5161{ echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     5162echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
    46165163if test "${ac_cv_lib_crypt_main+set}" = set; then
    46175164  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46305177main ()
    46315178{
    4632 main ();
     5179return main ();
    46335180  ;
    46345181  return 0;
     
    46365183_ACEOF
    46375184rm -f conftest.$ac_objext conftest$ac_exeext
    4638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4639   (eval $ac_link) 2>conftest.er1
     5185if { (ac_try="$ac_link"
     5186case "(($ac_try" in
     5187  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5188  *) ac_try_echo=$ac_try;;
     5189esac
     5190eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5191  (eval "$ac_link") 2>conftest.er1
    46405192  ac_status=$?
    46415193  grep -v '^ *+' conftest.er1 >conftest.err
     
    46435195  cat conftest.err >&5
    46445196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4645   (exit $ac_status); } &&
    4646      { ac_try='test -z "$ac_c_werror_flag"
    4647              || test ! -s conftest.err'
    4648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4649   (eval $ac_try) 2>&5
    4650   ac_status=$?
    4651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4652   (exit $ac_status); }; } &&
    4653      { ac_try='test -s conftest$ac_exeext'
    4654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4655   (eval $ac_try) 2>&5
    4656   ac_status=$?
    4657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4658   (exit $ac_status); }; }; then
     5197  (exit $ac_status); } && {
     5198     test -z "$ac_c_werror_flag" ||
     5199     test ! -s conftest.err
     5200       } && test -s conftest$ac_exeext &&
     5201       $as_test_x conftest$ac_exeext; then
    46595202  ac_cv_lib_crypt_main=yes
    46605203else
     
    46625205sed 's/^/| /' conftest.$ac_ext >&5
    46635206
    4664 ac_cv_lib_crypt_main=no
    4665 fi
    4666 rm -f conftest.err conftest.$ac_objext \
     5207    ac_cv_lib_crypt_main=no
     5208fi
     5209
     5210rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46675211      conftest$ac_exeext conftest.$ac_ext
    46685212LIBS=$ac_check_lib_save_LIBS
    46695213fi
    4670 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    4671 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
     5214{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     5215echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
    46725216if test $ac_cv_lib_crypt_main = yes; then
    46735217  cat >>confdefs.h <<_ACEOF
     
    46815225if test $ENABLE_ACCENTFOLD = 1; then
    46825226
    4683 echo "$as_me:$LINENO: checking for main in -liconv" >&5
    4684 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6
     5227{ echo "$as_me:$LINENO: checking for main in -liconv" >&5
     5228echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6; }
    46855229if test "${ac_cv_lib_iconv_main+set}" = set; then
    46865230  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46995243main ()
    47005244{
    4701 main ();
     5245return main ();
    47025246  ;
    47035247  return 0;
     
    47055249_ACEOF
    47065250rm -f conftest.$ac_objext conftest$ac_exeext
    4707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4708   (eval $ac_link) 2>conftest.er1
     5251if { (ac_try="$ac_link"
     5252case "(($ac_try" in
     5253  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5254  *) ac_try_echo=$ac_try;;
     5255esac
     5256eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5257  (eval "$ac_link") 2>conftest.er1
    47095258  ac_status=$?
    47105259  grep -v '^ *+' conftest.er1 >conftest.err
     
    47125261  cat conftest.err >&5
    47135262  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4714   (exit $ac_status); } &&
    4715      { ac_try='test -z "$ac_c_werror_flag"
    4716              || test ! -s conftest.err'
    4717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4718   (eval $ac_try) 2>&5
    4719   ac_status=$?
    4720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4721   (exit $ac_status); }; } &&
    4722      { ac_try='test -s conftest$ac_exeext'
    4723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4724   (eval $ac_try) 2>&5
    4725   ac_status=$?
    4726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4727   (exit $ac_status); }; }; then
     5263  (exit $ac_status); } && {
     5264     test -z "$ac_c_werror_flag" ||
     5265     test ! -s conftest.err
     5266       } && test -s conftest$ac_exeext &&
     5267       $as_test_x conftest$ac_exeext; then
    47285268  ac_cv_lib_iconv_main=yes
    47295269else
     
    47315271sed 's/^/| /' conftest.$ac_ext >&5
    47325272
    4733 ac_cv_lib_iconv_main=no
    4734 fi
    4735 rm -f conftest.err conftest.$ac_objext \
     5273    ac_cv_lib_iconv_main=no
     5274fi
     5275
     5276rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    47365277      conftest$ac_exeext conftest.$ac_ext
    47375278LIBS=$ac_check_lib_save_LIBS
    47385279fi
    4739 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
    4740 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6
     5280{ echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
     5281echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6; }
    47415282if test $ac_cv_lib_iconv_main = yes; then
    47425283  cat >>confdefs.h <<_ACEOF
     
    47605301for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    47615302  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    4762 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    4763 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    4764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5303{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     5304echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
     5305if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    47655306  echo $ECHO_N "(cached) $ECHO_C" >&6
    47665307else
     
    47845325_ACEOF
    47855326rm -f conftest.$ac_objext
    4786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4787   (eval $ac_compile) 2>conftest.er1
     5327if { (ac_try="$ac_compile"
     5328case "(($ac_try" in
     5329  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5330  *) ac_try_echo=$ac_try;;
     5331esac
     5332eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5333  (eval "$ac_compile") 2>conftest.er1
    47885334  ac_status=$?
    47895335  grep -v '^ *+' conftest.er1 >conftest.err
     
    47915337  cat conftest.err >&5
    47925338  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4793   (exit $ac_status); } &&
    4794      { ac_try='test -z "$ac_c_werror_flag"
    4795              || test ! -s conftest.err'
    4796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4797   (eval $ac_try) 2>&5
    4798   ac_status=$?
    4799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4800   (exit $ac_status); }; } &&
    4801      { ac_try='test -s conftest.$ac_objext'
    4802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4803   (eval $ac_try) 2>&5
    4804   ac_status=$?
    4805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4806   (exit $ac_status); }; }; then
     5339  (exit $ac_status); } && {
     5340     test -z "$ac_c_werror_flag" ||
     5341     test ! -s conftest.err
     5342       } && test -s conftest.$ac_objext; then
    48075343  eval "$as_ac_Header=yes"
    48085344else
     
    48105346sed 's/^/| /' conftest.$ac_ext >&5
    48115347
    4812 eval "$as_ac_Header=no"
    4813 fi
    4814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4815 fi
    4816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5348    eval "$as_ac_Header=no"
     5349fi
     5350
     5351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5352fi
     5353ac_res=`eval echo '${'$as_ac_Header'}'`
     5354           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5355echo "${ECHO_T}$ac_res" >&6; }
    48185356if test `eval echo '${'$as_ac_Header'}'` = yes; then
    48195357  cat >>confdefs.h <<_ACEOF
     
    48275365# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    48285366if test $ac_header_dirent = dirent.h; then
    4829   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4830 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     5367  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5368echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    48315369if test "${ac_cv_search_opendir+set}" = set; then
    48325370  echo $ECHO_N "(cached) $ECHO_C" >&6
    48335371else
    48345372  ac_func_search_save_LIBS=$LIBS
    4835 ac_cv_search_opendir=no
    48365373cat >conftest.$ac_ext <<_ACEOF
    48375374/* confdefs.h.  */
     
    48415378/* end confdefs.h.  */
    48425379
    4843 /* Override any gcc2 internal prototype to avoid an error.  */
     5380/* Override any GCC internal prototype to avoid an error.
     5381   Use char because int might match the return type of a GCC
     5382   builtin and then its argument prototype would still apply.  */
    48445383#ifdef __cplusplus
    48455384extern "C"
    48465385#endif
    4847 /* We use char because int might match the return type of a gcc2
    4848    builtin and then its argument prototype would still apply.  */
    48495386char opendir ();
    48505387int
    48515388main ()
    48525389{
    4853 opendir ();
     5390return opendir ();
    48545391  ;
    48555392  return 0;
    48565393}
    48575394_ACEOF
    4858 rm -f conftest.$ac_objext conftest$ac_exeext
    4859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4860   (eval $ac_link) 2>conftest.er1
     5395for ac_lib in '' dir; do
     5396  if test -z "$ac_lib"; then
     5397    ac_res="none required"
     5398  else
     5399    ac_res=-l$ac_lib
     5400    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5401  fi
     5402  rm -f conftest.$ac_objext conftest$ac_exeext
     5403if { (ac_try="$ac_link"
     5404case "(($ac_try" in
     5405  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5406  *) ac_try_echo=$ac_try;;
     5407esac
     5408eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5409  (eval "$ac_link") 2>conftest.er1
    48615410  ac_status=$?
    48625411  grep -v '^ *+' conftest.er1 >conftest.err
     
    48645413  cat conftest.err >&5
    48655414  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4866   (exit $ac_status); } &&
    4867      { ac_try='test -z "$ac_c_werror_flag"
    4868              || test ! -s conftest.err'
    4869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4870   (eval $ac_try) 2>&5
    4871   ac_status=$?
    4872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4873   (exit $ac_status); }; } &&
    4874      { ac_try='test -s conftest$ac_exeext'
    4875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4876   (eval $ac_try) 2>&5
    4877   ac_status=$?
    4878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4879   (exit $ac_status); }; }; then
    4880   ac_cv_search_opendir="none required"
     5415  (exit $ac_status); } && {
     5416     test -z "$ac_c_werror_flag" ||
     5417     test ! -s conftest.err
     5418       } && test -s conftest$ac_exeext &&
     5419       $as_test_x conftest$ac_exeext; then
     5420  ac_cv_search_opendir=$ac_res
    48815421else
    48825422  echo "$as_me: failed program was:" >&5
    48835423sed 's/^/| /' conftest.$ac_ext >&5
    48845424
    4885 fi
    4886 rm -f conftest.err conftest.$ac_objext \
    4887       conftest$ac_exeext conftest.$ac_ext
    4888 if test "$ac_cv_search_opendir" = no; then
    4889   for ac_lib in dir; do
    4890     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4891     cat >conftest.$ac_ext <<_ACEOF
     5425
     5426fi
     5427
     5428rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5429      conftest$ac_exeext
     5430  if test "${ac_cv_search_opendir+set}" = set; then
     5431  break
     5432fi
     5433done
     5434if test "${ac_cv_search_opendir+set}" = set; then
     5435  :
     5436else
     5437  ac_cv_search_opendir=no
     5438fi
     5439rm conftest.$ac_ext
     5440LIBS=$ac_func_search_save_LIBS
     5441fi
     5442{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5443echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5444ac_res=$ac_cv_search_opendir
     5445if test "$ac_res" != no; then
     5446  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5447
     5448fi
     5449
     5450else
     5451  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5452echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
     5453if test "${ac_cv_search_opendir+set}" = set; then
     5454  echo $ECHO_N "(cached) $ECHO_C" >&6
     5455else
     5456  ac_func_search_save_LIBS=$LIBS
     5457cat >conftest.$ac_ext <<_ACEOF
    48925458/* confdefs.h.  */
    48935459_ACEOF
     
    48965462/* end confdefs.h.  */
    48975463
    4898 /* Override any gcc2 internal prototype to avoid an error.  */
     5464/* Override any GCC internal prototype to avoid an error.
     5465   Use char because int might match the return type of a GCC
     5466   builtin and then its argument prototype would still apply.  */
    48995467#ifdef __cplusplus
    49005468extern "C"
    49015469#endif
    4902 /* We use char because int might match the return type of a gcc2
    4903    builtin and then its argument prototype would still apply.  */
    49045470char opendir ();
    49055471int
    49065472main ()
    49075473{
    4908 opendir ();
     5474return opendir ();
    49095475  ;
    49105476  return 0;
    49115477}
    49125478_ACEOF
    4913 rm -f conftest.$ac_objext conftest$ac_exeext
    4914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4915   (eval $ac_link) 2>conftest.er1
     5479for ac_lib in '' x; do
     5480  if test -z "$ac_lib"; then
     5481    ac_res="none required"
     5482  else
     5483    ac_res=-l$ac_lib
     5484    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5485  fi
     5486  rm -f conftest.$ac_objext conftest$ac_exeext
     5487if { (ac_try="$ac_link"
     5488case "(($ac_try" in
     5489  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5490  *) ac_try_echo=$ac_try;;
     5491esac
     5492eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5493  (eval "$ac_link") 2>conftest.er1
    49165494  ac_status=$?
    49175495  grep -v '^ *+' conftest.er1 >conftest.err
     
    49195497  cat conftest.err >&5
    49205498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4921   (exit $ac_status); } &&
    4922      { ac_try='test -z "$ac_c_werror_flag"
    4923              || test ! -s conftest.err'
    4924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4925   (eval $ac_try) 2>&5
    4926   ac_status=$?
    4927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4928   (exit $ac_status); }; } &&
    4929      { ac_try='test -s conftest$ac_exeext'
    4930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4931   (eval $ac_try) 2>&5
    4932   ac_status=$?
    4933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4934   (exit $ac_status); }; }; then
    4935   ac_cv_search_opendir="-l$ac_lib"
    4936 break
     5499  (exit $ac_status); } && {
     5500     test -z "$ac_c_werror_flag" ||
     5501     test ! -s conftest.err
     5502       } && test -s conftest$ac_exeext &&
     5503       $as_test_x conftest$ac_exeext; then
     5504  ac_cv_search_opendir=$ac_res
    49375505else
    49385506  echo "$as_me: failed program was:" >&5
    49395507sed 's/^/| /' conftest.$ac_ext >&5
    49405508
    4941 fi
    4942 rm -f conftest.err conftest.$ac_objext \
    4943       conftest$ac_exeext conftest.$ac_ext
    4944   done
    4945 fi
     5509
     5510fi
     5511
     5512rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5513      conftest$ac_exeext
     5514  if test "${ac_cv_search_opendir+set}" = set; then
     5515  break
     5516fi
     5517done
     5518if test "${ac_cv_search_opendir+set}" = set; then
     5519  :
     5520else
     5521  ac_cv_search_opendir=no
     5522fi
     5523rm conftest.$ac_ext
    49465524LIBS=$ac_func_search_save_LIBS
    49475525fi
    4948 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    4949 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    4950 if test "$ac_cv_search_opendir" != no; then
    4951   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    4952 
    4953 fi
    4954 
    4955 else
    4956   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4957 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    4958 if test "${ac_cv_search_opendir+set}" = set; then
    4959   echo $ECHO_N "(cached) $ECHO_C" >&6
    4960 else
    4961   ac_func_search_save_LIBS=$LIBS
    4962 ac_cv_search_opendir=no
    4963 cat >conftest.$ac_ext <<_ACEOF
    4964 /* confdefs.h.  */
    4965 _ACEOF
    4966 cat confdefs.h >>conftest.$ac_ext
    4967 cat >>conftest.$ac_ext <<_ACEOF
    4968 /* end confdefs.h.  */
    4969 
    4970 /* Override any gcc2 internal prototype to avoid an error.  */
    4971 #ifdef __cplusplus
    4972 extern "C"
    4973 #endif
    4974 /* We use char because int might match the return type of a gcc2
    4975    builtin and then its argument prototype would still apply.  */
    4976 char opendir ();
    4977 int
    4978 main ()
    4979 {
    4980 opendir ();
    4981   ;
    4982   return 0;
    4983 }
    4984 _ACEOF
    4985 rm -f conftest.$ac_objext conftest$ac_exeext
    4986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4987   (eval $ac_link) 2>conftest.er1
    4988   ac_status=$?
    4989   grep -v '^ *+' conftest.er1 >conftest.err
    4990   rm -f conftest.er1
    4991   cat conftest.err >&5
    4992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4993   (exit $ac_status); } &&
    4994      { ac_try='test -z "$ac_c_werror_flag"
    4995              || test ! -s conftest.err'
    4996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4997   (eval $ac_try) 2>&5
    4998   ac_status=$?
    4999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5000   (exit $ac_status); }; } &&
    5001      { ac_try='test -s conftest$ac_exeext'
    5002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5003   (eval $ac_try) 2>&5
    5004   ac_status=$?
    5005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5006   (exit $ac_status); }; }; then
    5007   ac_cv_search_opendir="none required"
    5008 else
    5009   echo "$as_me: failed program was:" >&5
    5010 sed 's/^/| /' conftest.$ac_ext >&5
    5011 
    5012 fi
    5013 rm -f conftest.err conftest.$ac_objext \
    5014       conftest$ac_exeext conftest.$ac_ext
    5015 if test "$ac_cv_search_opendir" = no; then
    5016   for ac_lib in x; do
    5017     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5018     cat >conftest.$ac_ext <<_ACEOF
    5019 /* confdefs.h.  */
    5020 _ACEOF
    5021 cat confdefs.h >>conftest.$ac_ext
    5022 cat >>conftest.$ac_ext <<_ACEOF
    5023 /* end confdefs.h.  */
    5024 
    5025 /* Override any gcc2 internal prototype to avoid an error.  */
    5026 #ifdef __cplusplus
    5027 extern "C"
    5028 #endif
    5029 /* We use char because int might match the return type of a gcc2
    5030    builtin and then its argument prototype would still apply.  */
    5031 char opendir ();
    5032 int
    5033 main ()
    5034 {
    5035 opendir ();
    5036   ;
    5037   return 0;
    5038 }
    5039 _ACEOF
    5040 rm -f conftest.$ac_objext conftest$ac_exeext
    5041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5042   (eval $ac_link) 2>conftest.er1
    5043   ac_status=$?
    5044   grep -v '^ *+' conftest.er1 >conftest.err
    5045   rm -f conftest.er1
    5046   cat conftest.err >&5
    5047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5048   (exit $ac_status); } &&
    5049      { ac_try='test -z "$ac_c_werror_flag"
    5050              || test ! -s conftest.err'
    5051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5052   (eval $ac_try) 2>&5
    5053   ac_status=$?
    5054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5055   (exit $ac_status); }; } &&
    5056      { ac_try='test -s conftest$ac_exeext'
    5057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5058   (eval $ac_try) 2>&5
    5059   ac_status=$?
    5060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5061   (exit $ac_status); }; }; then
    5062   ac_cv_search_opendir="-l$ac_lib"
    5063 break
    5064 else
    5065   echo "$as_me: failed program was:" >&5
    5066 sed 's/^/| /' conftest.$ac_ext >&5
    5067 
    5068 fi
    5069 rm -f conftest.err conftest.$ac_objext \
    5070       conftest$ac_exeext conftest.$ac_ext
    5071   done
    5072 fi
    5073 LIBS=$ac_func_search_save_LIBS
    5074 fi
    5075 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5076 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5077 if test "$ac_cv_search_opendir" != no; then
    5078   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5079 
    5080 fi
    5081 
    5082 fi
    5083 
    5084 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5085 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     5526{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5527echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5528ac_res=$ac_cv_search_opendir
     5529if test "$ac_res" != no; then
     5530  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5531
     5532fi
     5533
     5534fi
     5535
     5536{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5537echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    50865538if test "${ac_cv_header_stdc+set}" = set; then
    50875539  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51075559_ACEOF
    51085560rm -f conftest.$ac_objext
    5109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5110   (eval $ac_compile) 2>conftest.er1
     5561if { (ac_try="$ac_compile"
     5562case "(($ac_try" in
     5563  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5564  *) ac_try_echo=$ac_try;;
     5565esac
     5566eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5567  (eval "$ac_compile") 2>conftest.er1
    51115568  ac_status=$?
    51125569  grep -v '^ *+' conftest.er1 >conftest.err
     
    51145571  cat conftest.err >&5
    51155572  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5116   (exit $ac_status); } &&
    5117      { ac_try='test -z "$ac_c_werror_flag"
    5118              || test ! -s conftest.err'
    5119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5120   (eval $ac_try) 2>&5
    5121   ac_status=$?
    5122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5123   (exit $ac_status); }; } &&
    5124      { ac_try='test -s conftest.$ac_objext'
    5125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5126   (eval $ac_try) 2>&5
    5127   ac_status=$?
    5128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5129   (exit $ac_status); }; }; then
     5573  (exit $ac_status); } && {
     5574     test -z "$ac_c_werror_flag" ||
     5575     test ! -s conftest.err
     5576       } && test -s conftest.$ac_objext; then
    51305577  ac_cv_header_stdc=yes
    51315578else
     
    51335580sed 's/^/| /' conftest.$ac_ext >&5
    51345581
    5135 ac_cv_header_stdc=no
    5136 fi
    5137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5582    ac_cv_header_stdc=no
     5583fi
     5584
     5585rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    51385586
    51395587if test $ac_cv_header_stdc = yes; then
     
    51915639/* end confdefs.h.  */
    51925640#include <ctype.h>
     5641#include <stdlib.h>
    51935642#if ((' ' & 0x0FF) == 0x020)
    51945643# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    52105659    if (XOR (islower (i), ISLOWER (i))
    52115660    || toupper (i) != TOUPPER (i))
    5212       exit(2);
    5213   exit (0);
     5661      return 2;
     5662  return 0;
    52145663}
    52155664_ACEOF
    52165665rm -f conftest$ac_exeext
    5217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5218   (eval $ac_link) 2>&5
     5666if { (ac_try="$ac_link"
     5667case "(($ac_try" in
     5668  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5669  *) ac_try_echo=$ac_try;;
     5670esac
     5671eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5672  (eval "$ac_link") 2>&5
    52195673  ac_status=$?
    52205674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52215675  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5223   (eval $ac_try) 2>&5
     5676  { (case "(($ac_try" in
     5677  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5678  *) ac_try_echo=$ac_try;;
     5679esac
     5680eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5681  (eval "$ac_try") 2>&5
    52245682  ac_status=$?
    52255683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    52345692ac_cv_header_stdc=no
    52355693fi
    5236 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5237 fi
    5238 fi
    5239 fi
    5240 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5241 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     5694rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5695fi
     5696
     5697
     5698fi
     5699fi
     5700{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5701echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    52425702if test $ac_cv_header_stdc = yes; then
    52435703
     
    52595719do
    52605720as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5262   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5721if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5722  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     5723echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5724if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    52655725  echo $ECHO_N "(cached) $ECHO_C" >&6
    52665726fi
    5267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5727ac_res=`eval echo '${'$as_ac_Header'}'`
     5728           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5729echo "${ECHO_T}$ac_res" >&6; }
    52695730else
    52705731  # Is the header compilable?
    5271 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5272 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5732{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5733echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    52735734cat >conftest.$ac_ext <<_ACEOF
    52745735/* confdefs.h.  */
     
    52815742_ACEOF
    52825743rm -f conftest.$ac_objext
    5283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5284   (eval $ac_compile) 2>conftest.er1
     5744if { (ac_try="$ac_compile"
     5745case "(($ac_try" in
     5746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5747  *) ac_try_echo=$ac_try;;
     5748esac
     5749eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5750  (eval "$ac_compile") 2>conftest.er1
    52855751  ac_status=$?
    52865752  grep -v '^ *+' conftest.er1 >conftest.err
     
    52885754  cat conftest.err >&5
    52895755  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5290   (exit $ac_status); } &&
    5291      { ac_try='test -z "$ac_c_werror_flag"
    5292              || test ! -s conftest.err'
    5293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5294   (eval $ac_try) 2>&5
    5295   ac_status=$?
    5296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5297   (exit $ac_status); }; } &&
    5298      { ac_try='test -s conftest.$ac_objext'
    5299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5300   (eval $ac_try) 2>&5
    5301   ac_status=$?
    5302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5303   (exit $ac_status); }; }; then
     5756  (exit $ac_status); } && {
     5757     test -z "$ac_c_werror_flag" ||
     5758     test ! -s conftest.err
     5759       } && test -s conftest.$ac_objext; then
    53045760  ac_header_compiler=yes
    53055761else
     
    53075763sed 's/^/| /' conftest.$ac_ext >&5
    53085764
    5309 ac_header_compiler=no
    5310 fi
    5311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5313 echo "${ECHO_T}$ac_header_compiler" >&6
     5765    ac_header_compiler=no
     5766fi
     5767
     5768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5769{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5770echo "${ECHO_T}$ac_header_compiler" >&6; }
    53145771
    53155772# Is the header present?
    5316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5773{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5774echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    53185775cat >conftest.$ac_ext <<_ACEOF
    53195776/* confdefs.h.  */
     
    53245781#include <$ac_header>
    53255782_ACEOF
    5326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5327   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5783if { (ac_try="$ac_cpp conftest.$ac_ext"
     5784case "(($ac_try" in
     5785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5786  *) ac_try_echo=$ac_try;;
     5787esac
     5788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5789  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    53285790  ac_status=$?
    53295791  grep -v '^ *+' conftest.er1 >conftest.err
     
    53315793  cat conftest.err >&5
    53325794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5333   (exit $ac_status); } >/dev/null; then
    5334   if test -s conftest.err; then
    5335     ac_cpp_err=$ac_c_preproc_warn_flag
    5336     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5337   else
    5338     ac_cpp_err=
    5339   fi
    5340 else
    5341   ac_cpp_err=yes
    5342 fi
    5343 if test -z "$ac_cpp_err"; then
     5795  (exit $ac_status); } >/dev/null && {
     5796     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5797     test ! -s conftest.err
     5798       }; then
    53445799  ac_header_preproc=yes
    53455800else
     
    53495804  ac_header_preproc=no
    53505805fi
     5806
    53515807rm -f conftest.err conftest.$ac_ext
    5352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5353 echo "${ECHO_T}$ac_header_preproc" >&6
     5808{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5809echo "${ECHO_T}$ac_header_preproc" >&6; }
    53545810
    53555811# So?  What about this header?
     
    53755831    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    53765832echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5377     (
    5378       cat <<\_ASBOX
    5379 ## ------------------------------------------ ##
    5380 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5381 ## ------------------------------------------ ##
    5382 _ASBOX
    5383     ) |
    5384       sed "s/^/$as_me: WARNING:     /" >&2
     5833
    53855834    ;;
    53865835esac
    5387 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5836{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     5837echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5838if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    53905839  echo $ECHO_N "(cached) $ECHO_C" >&6
    53915840else
    53925841  eval "$as_ac_Header=\$ac_header_preproc"
    53935842fi
    5394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5843ac_res=`eval echo '${'$as_ac_Header'}'`
     5844           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5845echo "${ECHO_T}$ac_res" >&6; }
    53965846
    53975847fi
     
    54625912# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    54635913# for constant arguments.  Useless!
    5464 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5465 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     5914{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5915echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
    54665916if test "${ac_cv_working_alloca_h+set}" = set; then
    54675917  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    54785928{
    54795929char *p = (char *) alloca (2 * sizeof (int));
     5930              if (p) return 0;
    54805931  ;
    54815932  return 0;
     
    54835934_ACEOF
    54845935rm -f conftest.$ac_objext conftest$ac_exeext
    5485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5486   (eval $ac_link) 2>conftest.er1
     5936if { (ac_try="$ac_link"
     5937case "(($ac_try" in
     5938  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5939  *) ac_try_echo=$ac_try;;
     5940esac
     5941eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5942  (eval "$ac_link") 2>conftest.er1
    54875943  ac_status=$?
    54885944  grep -v '^ *+' conftest.er1 >conftest.err
     
    54905946  cat conftest.err >&5
    54915947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5492   (exit $ac_status); } &&
    5493      { ac_try='test -z "$ac_c_werror_flag"
    5494              || test ! -s conftest.err'
    5495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5496   (eval $ac_try) 2>&5
    5497   ac_status=$?
    5498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5499   (exit $ac_status); }; } &&
    5500      { ac_try='test -s conftest$ac_exeext'
    5501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5502   (eval $ac_try) 2>&5
    5503   ac_status=$?
    5504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5505   (exit $ac_status); }; }; then
     5948  (exit $ac_status); } && {
     5949     test -z "$ac_c_werror_flag" ||
     5950     test ! -s conftest.err
     5951       } && test -s conftest$ac_exeext &&
     5952       $as_test_x conftest$ac_exeext; then
    55065953  ac_cv_working_alloca_h=yes
    55075954else
     
    55095956sed 's/^/| /' conftest.$ac_ext >&5
    55105957
    5511 ac_cv_working_alloca_h=no
    5512 fi
    5513 rm -f conftest.err conftest.$ac_objext \
     5958    ac_cv_working_alloca_h=no
     5959fi
     5960
     5961rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    55145962      conftest$ac_exeext conftest.$ac_ext
    55155963fi
    5516 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5517 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
     5964{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5965echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
    55185966if test $ac_cv_working_alloca_h = yes; then
    55195967
     
    55245972fi
    55255973
    5526 echo "$as_me:$LINENO: checking for alloca" >&5
    5527 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     5974{ echo "$as_me:$LINENO: checking for alloca" >&5
     5975echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
    55285976if test "${ac_cv_func_alloca_works+set}" = set; then
    55295977  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55425990#  define alloca _alloca
    55435991# else
    5544 #  if HAVE_ALLOCA_H
     5992#  ifdef HAVE_ALLOCA_H
    55455993#   include <alloca.h>
    55465994#  else
     
    55606008{
    55616009char *p = (char *) alloca (1);
     6010                    if (p) return 0;
    55626011  ;
    55636012  return 0;
     
    55656014_ACEOF
    55666015rm -f conftest.$ac_objext conftest$ac_exeext
    5567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5568   (eval $ac_link) 2>conftest.er1
     6016if { (ac_try="$ac_link"
     6017case "(($ac_try" in
     6018  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6019  *) ac_try_echo=$ac_try;;
     6020esac
     6021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6022  (eval "$ac_link") 2>conftest.er1
    55696023  ac_status=$?
    55706024  grep -v '^ *+' conftest.er1 >conftest.err
     
    55726026  cat conftest.err >&5
    55736027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5574   (exit $ac_status); } &&
    5575      { ac_try='test -z "$ac_c_werror_flag"
    5576              || test ! -s conftest.err'
    5577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5578   (eval $ac_try) 2>&5
    5579   ac_status=$?
    5580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5581   (exit $ac_status); }; } &&
    5582      { ac_try='test -s conftest$ac_exeext'
    5583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5584   (eval $ac_try) 2>&5
    5585   ac_status=$?
    5586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5587   (exit $ac_status); }; }; then
     6028  (exit $ac_status); } && {
     6029     test -z "$ac_c_werror_flag" ||
     6030     test ! -s conftest.err
     6031       } && test -s conftest$ac_exeext &&
     6032       $as_test_x conftest$ac_exeext; then
    55886033  ac_cv_func_alloca_works=yes
    55896034else
     
    55916036sed 's/^/| /' conftest.$ac_ext >&5
    55926037
    5593 ac_cv_func_alloca_works=no
    5594 fi
    5595 rm -f conftest.err conftest.$ac_objext \
     6038    ac_cv_func_alloca_works=no
     6039fi
     6040
     6041rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    55966042      conftest$ac_exeext conftest.$ac_ext
    55976043fi
    5598 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    5599 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
     6044{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     6045echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
    56006046
    56016047if test $ac_cv_func_alloca_works = yes; then
     
    56116057# use ar to extract alloca.o from them instead of compiling alloca.c.
    56126058
    5613 ALLOCA=alloca.$ac_objext
     6059ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    56146060
    56156061cat >>confdefs.h <<\_ACEOF
     
    56186064
    56196065
    5620 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    5621 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     6066{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     6067echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
    56226068if test "${ac_cv_os_cray+set}" = set; then
    56236069  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    56296075cat >>conftest.$ac_ext <<_ACEOF
    56306076/* end confdefs.h.  */
    5631 #if defined(CRAY) && ! defined(CRAY2)
     6077#if defined CRAY && ! defined CRAY2
    56326078webecray
    56336079#else
     
    56456091
    56466092fi
    5647 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    5648 echo "${ECHO_T}$ac_cv_os_cray" >&6
     6093{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     6094echo "${ECHO_T}$ac_cv_os_cray" >&6; }
    56496095if test $ac_cv_os_cray = yes; then
    56506096  for ac_func in _getb67 GETB67 getb67; do
    56516097    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5652 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5654 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6098{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6099echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6100if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    56556101  echo $ECHO_N "(cached) $ECHO_C" >&6
    56566102else
     
    56786124#undef $ac_func
    56796125
    5680 /* Override any gcc2 internal prototype to avoid an error.  */
     6126/* Override any GCC internal prototype to avoid an error.
     6127   Use char because int might match the return type of a GCC
     6128   builtin and then its argument prototype would still apply.  */
    56816129#ifdef __cplusplus
    56826130extern "C"
    5683 {
    56846131#endif
    5685 /* We use char because int might match the return type of a gcc2
    5686    builtin and then its argument prototype would still apply.  */
    56876132char $ac_func ();
    56886133/* The GNU C library defines this for functions which it implements
    56896134    to always fail with ENOSYS.  Some functions are actually named
    56906135    something starting with __ and the normal name is an alias.  */
    5691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6136#if defined __stub_$ac_func || defined __stub___$ac_func
    56926137choke me
    5693 #else
    5694 char (*f) () = $ac_func;
    5695 #endif
    5696 #ifdef __cplusplus
    5697 }
    56986138#endif
    56996139
     
    57016141main ()
    57026142{
    5703 return f != $ac_func;
     6143return $ac_func ();
    57046144  ;
    57056145  return 0;
     
    57076147_ACEOF
    57086148rm -f conftest.$ac_objext conftest$ac_exeext
    5709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5710   (eval $ac_link) 2>conftest.er1
     6149if { (ac_try="$ac_link"
     6150case "(($ac_try" in
     6151  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6152  *) ac_try_echo=$ac_try;;
     6153esac
     6154eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6155  (eval "$ac_link") 2>conftest.er1
    57116156  ac_status=$?
    57126157  grep -v '^ *+' conftest.er1 >conftest.err
     
    57146159  cat conftest.err >&5
    57156160  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5716   (exit $ac_status); } &&
    5717      { ac_try='test -z "$ac_c_werror_flag"
    5718              || test ! -s conftest.err'
    5719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5720   (eval $ac_try) 2>&5
    5721   ac_status=$?
    5722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5723   (exit $ac_status); }; } &&
    5724      { ac_try='test -s conftest$ac_exeext'
    5725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5726   (eval $ac_try) 2>&5
    5727   ac_status=$?
    5728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5729   (exit $ac_status); }; }; then
     6161  (exit $ac_status); } && {
     6162     test -z "$ac_c_werror_flag" ||
     6163     test ! -s conftest.err
     6164       } && test -s conftest$ac_exeext &&
     6165       $as_test_x conftest$ac_exeext; then
    57306166  eval "$as_ac_var=yes"
    57316167else
     
    57336169sed 's/^/| /' conftest.$ac_ext >&5
    57346170
    5735 eval "$as_ac_var=no"
    5736 fi
    5737 rm -f conftest.err conftest.$ac_objext \
     6171    eval "$as_ac_var=no"
     6172fi
     6173
     6174rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    57386175      conftest$ac_exeext conftest.$ac_ext
    57396176fi
    5740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    5741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6177ac_res=`eval echo '${'$as_ac_var'}'`
     6178           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6179echo "${ECHO_T}$ac_res" >&6; }
    57426180if test `eval echo '${'$as_ac_var'}'` = yes; then
    57436181
     
    57526190fi
    57536191
    5754 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    5755 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
     6192{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     6193echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
    57566194if test "${ac_cv_c_stack_direction+set}" = set; then
    57576195  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    57666204cat >>conftest.$ac_ext <<_ACEOF
    57676205/* end confdefs.h.  */
     6206$ac_includes_default
    57686207int
    57696208find_stack_direction ()
     
    57836222main ()
    57846223{
    5785   exit (find_stack_direction () < 0);
     6224  return find_stack_direction () < 0;
    57866225}
    57876226_ACEOF
    57886227rm -f conftest$ac_exeext
    5789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5790   (eval $ac_link) 2>&5
     6228if { (ac_try="$ac_link"
     6229case "(($ac_try" in
     6230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6231  *) ac_try_echo=$ac_try;;
     6232esac
     6233eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6234  (eval "$ac_link") 2>&5
    57916235  ac_status=$?
    57926236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    57936237  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5795   (eval $ac_try) 2>&5
     6238  { (case "(($ac_try" in
     6239  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6240  *) ac_try_echo=$ac_try;;
     6241esac
     6242eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6243  (eval "$ac_try") 2>&5
    57966244  ac_status=$?
    57976245  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    58066254ac_cv_c_stack_direction=-1
    58076255fi
    5808 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5809 fi
    5810 fi
    5811 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    5812 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
     6256rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6257fi
     6258
     6259
     6260fi
     6261{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     6262echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
    58136263
    58146264cat >>confdefs.h <<_ACEOF
     
    58206270
    58216271if test $ac_cv_c_compiler_gnu = yes; then
    5822     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    5823 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
     6272    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     6273echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
    58246274if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    58256275  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    58626312  fi
    58636313fi
    5864 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    5865 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
     6314{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     6315echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
    58666316  if test $ac_cv_prog_gcc_traditional = yes; then
    58676317    CC="$CC -traditional"
     
    58696319fi
    58706320
    5871 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    5872 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
     6321{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     6322echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
    58736323if test "${ac_cv_type_signal+set}" = set; then
    58746324  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    58826332#include <sys/types.h>
    58836333#include <signal.h>
    5884 #ifdef signal
    5885 # undef signal
    5886 #endif
    5887 #ifdef __cplusplus
    5888 extern "C" void (*signal (int, void (*)(int)))(int);
    5889 #else
    5890 void (*signal ()) ();
    5891 #endif
    58926334
    58936335int
    58946336main ()
    58956337{
    5896 int i;
     6338return *(signal (0, 0)) (0) == 1;
    58976339  ;
    58986340  return 0;
     
    59006342_ACEOF
    59016343rm -f conftest.$ac_objext
    5902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5903   (eval $ac_compile) 2>conftest.er1
     6344if { (ac_try="$ac_compile"
     6345case "(($ac_try" in
     6346  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6347  *) ac_try_echo=$ac_try;;
     6348esac
     6349eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6350  (eval "$ac_compile") 2>conftest.er1
    59046351  ac_status=$?
    59056352  grep -v '^ *+' conftest.er1 >conftest.err
     
    59076354  cat conftest.err >&5
    59086355  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5909   (exit $ac_status); } &&
    5910      { ac_try='test -z "$ac_c_werror_flag"
    5911              || test ! -s conftest.err'
    5912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5913   (eval $ac_try) 2>&5
    5914   ac_status=$?
    5915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5916   (exit $ac_status); }; } &&
    5917      { ac_try='test -s conftest.$ac_objext'
    5918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5919   (eval $ac_try) 2>&5
    5920   ac_status=$?
    5921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5922   (exit $ac_status); }; }; then
    5923   ac_cv_type_signal=void
     6356  (exit $ac_status); } && {
     6357     test -z "$ac_c_werror_flag" ||
     6358     test ! -s conftest.err
     6359       } && test -s conftest.$ac_objext; then
     6360  ac_cv_type_signal=int
    59246361else
    59256362  echo "$as_me: failed program was:" >&5
    59266363sed 's/^/| /' conftest.$ac_ext >&5
    59276364
    5928 ac_cv_type_signal=int
    5929 fi
    5930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5931 fi
    5932 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    5933 echo "${ECHO_T}$ac_cv_type_signal" >&6
     6365    ac_cv_type_signal=void
     6366fi
     6367
     6368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6369fi
     6370{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     6371echo "${ECHO_T}$ac_cv_type_signal" >&6; }
    59346372
    59356373cat >>confdefs.h <<_ACEOF
     
    59426380do
    59436381as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5944 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5946 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6382{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6383echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6384if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    59476385  echo $ECHO_N "(cached) $ECHO_C" >&6
    59486386else
     
    59706408#undef $ac_func
    59716409
    5972 /* Override any gcc2 internal prototype to avoid an error.  */
     6410/* Override any GCC internal prototype to avoid an error.
     6411   Use char because int might match the return type of a GCC
     6412   builtin and then its argument prototype would still apply.  */
    59736413#ifdef __cplusplus
    59746414extern "C"
    5975 {
    59766415#endif
    5977 /* We use char because int might match the return type of a gcc2
    5978    builtin and then its argument prototype would still apply.  */
    59796416char $ac_func ();
    59806417/* The GNU C library defines this for functions which it implements
    59816418    to always fail with ENOSYS.  Some functions are actually named
    59826419    something starting with __ and the normal name is an alias.  */
    5983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6420#if defined __stub_$ac_func || defined __stub___$ac_func
    59846421choke me
    5985 #else
    5986 char (*f) () = $ac_func;
    5987 #endif
    5988 #ifdef __cplusplus
    5989 }
    59906422#endif
    59916423
     
    59936425main ()
    59946426{
    5995 return f != $ac_func;
     6427return $ac_func ();
    59966428  ;
    59976429  return 0;
     
    59996431_ACEOF
    60006432rm -f conftest.$ac_objext conftest$ac_exeext
    6001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6002   (eval $ac_link) 2>conftest.er1
     6433if { (ac_try="$ac_link"
     6434case "(($ac_try" in
     6435  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6436  *) ac_try_echo=$ac_try;;
     6437esac
     6438eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6439  (eval "$ac_link") 2>conftest.er1
    60036440  ac_status=$?
    60046441  grep -v '^ *+' conftest.er1 >conftest.err
     
    60066443  cat conftest.err >&5
    60076444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6008   (exit $ac_status); } &&
    6009      { ac_try='test -z "$ac_c_werror_flag"
    6010              || test ! -s conftest.err'
    6011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6012   (eval $ac_try) 2>&5
    6013   ac_status=$?
    6014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6015   (exit $ac_status); }; } &&
    6016      { ac_try='test -s conftest$ac_exeext'
    6017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6018   (eval $ac_try) 2>&5
    6019   ac_status=$?
    6020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6021   (exit $ac_status); }; }; then
     6445  (exit $ac_status); } && {
     6446     test -z "$ac_c_werror_flag" ||
     6447     test ! -s conftest.err
     6448       } && test -s conftest$ac_exeext &&
     6449       $as_test_x conftest$ac_exeext; then
    60226450  eval "$as_ac_var=yes"
    60236451else
     
    60256453sed 's/^/| /' conftest.$ac_ext >&5
    60266454
    6027 eval "$as_ac_var=no"
    6028 fi
    6029 rm -f conftest.err conftest.$ac_objext \
     6455    eval "$as_ac_var=no"
     6456fi
     6457
     6458rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    60306459      conftest$ac_exeext conftest.$ac_ext
    60316460fi
    6032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6461ac_res=`eval echo '${'$as_ac_var'}'`
     6462           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6463echo "${ECHO_T}$ac_res" >&6; }
    60346464if test `eval echo '${'$as_ac_var'}'` = yes; then
    60356465  cat >>confdefs.h <<_ACEOF
     
    60376467_ACEOF
    60386468
    6039 echo "$as_me:$LINENO: checking for _doprnt" >&5
    6040 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
     6469{ echo "$as_me:$LINENO: checking for _doprnt" >&5
     6470echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
    60416471if test "${ac_cv_func__doprnt+set}" = set; then
    60426472  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    60656495#undef _doprnt
    60666496
    6067 /* Override any gcc2 internal prototype to avoid an error.  */
     6497/* Override any GCC internal prototype to avoid an error.
     6498   Use char because int might match the return type of a GCC
     6499   builtin and then its argument prototype would still apply.  */
    60686500#ifdef __cplusplus
    60696501extern "C"
    6070 {
    60716502#endif
    6072 /* We use char because int might match the return type of a gcc2
    6073    builtin and then its argument prototype would still apply.  */
    60746503char _doprnt ();
    60756504/* The GNU C library defines this for functions which it implements
    60766505    to always fail with ENOSYS.  Some functions are actually named
    60776506    something starting with __ and the normal name is an alias.  */
    6078 #if defined (__stub__doprnt) || defined (__stub____doprnt)
     6507#if defined __stub__doprnt || defined __stub____doprnt
    60796508choke me
    6080 #else
    6081 char (*f) () = _doprnt;
    6082 #endif
    6083 #ifdef __cplusplus
    6084 }
    60856509#endif
    60866510
     
    60886512main ()
    60896513{
    6090 return f != _doprnt;
     6514return _doprnt ();
    60916515  ;
    60926516  return 0;
     
    60946518_ACEOF
    60956519rm -f conftest.$ac_objext conftest$ac_exeext
    6096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6097   (eval $ac_link) 2>conftest.er1
     6520if { (ac_try="$ac_link"
     6521case "(($ac_try" in
     6522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6523  *) ac_try_echo=$ac_try;;
     6524esac
     6525eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6526  (eval "$ac_link") 2>conftest.er1
    60986527  ac_status=$?
    60996528  grep -v '^ *+' conftest.er1 >conftest.err
     
    61016530  cat conftest.err >&5
    61026531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6103   (exit $ac_status); } &&
    6104      { ac_try='test -z "$ac_c_werror_flag"
    6105              || test ! -s conftest.err'
    6106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6107   (eval $ac_try) 2>&5
    6108   ac_status=$?
    6109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6110   (exit $ac_status); }; } &&
    6111      { ac_try='test -s conftest$ac_exeext'
    6112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6113   (eval $ac_try) 2>&5
    6114   ac_status=$?
    6115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6116   (exit $ac_status); }; }; then
     6532  (exit $ac_status); } && {
     6533     test -z "$ac_c_werror_flag" ||
     6534     test ! -s conftest.err
     6535       } && test -s conftest$ac_exeext &&
     6536       $as_test_x conftest$ac_exeext; then
    61176537  ac_cv_func__doprnt=yes
    61186538else
     
    61206540sed 's/^/| /' conftest.$ac_ext >&5
    61216541
    6122 ac_cv_func__doprnt=no
    6123 fi
    6124 rm -f conftest.err conftest.$ac_objext \
     6542    ac_cv_func__doprnt=no
     6543fi
     6544
     6545rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    61256546      conftest$ac_exeext conftest.$ac_ext
    61266547fi
    6127 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6128 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
     6548{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     6549echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
    61296550if test $ac_cv_func__doprnt = yes; then
    61306551
     
    61526573do
    61536574as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6154 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6156 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6575{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6576echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6577if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    61576578  echo $ECHO_N "(cached) $ECHO_C" >&6
    61586579else
     
    61806601#undef $ac_func
    61816602
    6182 /* Override any gcc2 internal prototype to avoid an error.  */
     6603/* Override any GCC internal prototype to avoid an error.
     6604   Use char because int might match the return type of a GCC
     6605   builtin and then its argument prototype would still apply.  */
    61836606#ifdef __cplusplus
    61846607extern "C"
    6185 {
    61866608#endif
    6187 /* We use char because int might match the return type of a gcc2
    6188    builtin and then its argument prototype would still apply.  */
    61896609char $ac_func ();
    61906610/* The GNU C library defines this for functions which it implements
    61916611    to always fail with ENOSYS.  Some functions are actually named
    61926612    something starting with __ and the normal name is an alias.  */
    6193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6613#if defined __stub_$ac_func || defined __stub___$ac_func
    61946614choke me
    6195 #else
    6196 char (*f) () = $ac_func;
    6197 #endif
    6198 #ifdef __cplusplus
    6199 }
    62006615#endif
    62016616
     
    62036618main ()
    62046619{
    6205 return f != $ac_func;
     6620return $ac_func ();
    62066621  ;
    62076622  return 0;
     
    62096624_ACEOF
    62106625rm -f conftest.$ac_objext conftest$ac_exeext
    6211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6212   (eval $ac_link) 2>conftest.er1
     6626if { (ac_try="$ac_link"
     6627case "(($ac_try" in
     6628  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6629  *) ac_try_echo=$ac_try;;
     6630esac
     6631eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6632  (eval "$ac_link") 2>conftest.er1
    62136633  ac_status=$?
    62146634  grep -v '^ *+' conftest.er1 >conftest.err
     
    62166636  cat conftest.err >&5
    62176637  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6218   (exit $ac_status); } &&
    6219      { ac_try='test -z "$ac_c_werror_flag"
    6220              || test ! -s conftest.err'
    6221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6222   (eval $ac_try) 2>&5
    6223   ac_status=$?
    6224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6225   (exit $ac_status); }; } &&
    6226      { ac_try='test -s conftest$ac_exeext'
    6227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6228   (eval $ac_try) 2>&5
    6229   ac_status=$?
    6230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6231   (exit $ac_status); }; }; then
     6638  (exit $ac_status); } && {
     6639     test -z "$ac_c_werror_flag" ||
     6640     test ! -s conftest.err
     6641       } && test -s conftest$ac_exeext &&
     6642       $as_test_x conftest$ac_exeext; then
    62326643  eval "$as_ac_var=yes"
    62336644else
     
    62356646sed 's/^/| /' conftest.$ac_ext >&5
    62366647
    6237 eval "$as_ac_var=no"
    6238 fi
    6239 rm -f conftest.err conftest.$ac_objext \
     6648    eval "$as_ac_var=no"
     6649fi
     6650
     6651rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    62406652      conftest$ac_exeext conftest.$ac_ext
    62416653fi
    6242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6654ac_res=`eval echo '${'$as_ac_var'}'`
     6655           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6656echo "${ECHO_T}$ac_res" >&6; }
    62446657if test `eval echo '${'$as_ac_var'}'` = yes; then
    62456658  cat >>confdefs.h <<_ACEOF
     
    62566669do
    62576670as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6258 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6260 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6671{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6672echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6673if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    62616674  echo $ECHO_N "(cached) $ECHO_C" >&6
    62626675else
     
    62846697#undef $ac_func
    62856698
    6286 /* Override any gcc2 internal prototype to avoid an error.  */
     6699/* Override any GCC internal prototype to avoid an error.
     6700   Use char because int might match the return type of a GCC
     6701   builtin and then its argument prototype would still apply.  */
    62876702#ifdef __cplusplus
    62886703extern "C"
    6289 {
    62906704#endif
    6291 /* We use char because int might match the return type of a gcc2
    6292    builtin and then its argument prototype would still apply.  */
    62936705char $ac_func ();
    62946706/* The GNU C library defines this for functions which it implements
    62956707    to always fail with ENOSYS.  Some functions are actually named
    62966708    something starting with __ and the normal name is an alias.  */
    6297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6709#if defined __stub_$ac_func || defined __stub___$ac_func
    62986710choke me
    6299 #else
    6300 char (*f) () = $ac_func;
    6301 #endif
    6302 #ifdef __cplusplus
    6303 }
    63046711#endif
    63056712
     
    63076714main ()
    63086715{
    6309 return f != $ac_func;
     6716return $ac_func ();
    63106717  ;
    63116718  return 0;
     
    63136720_ACEOF
    63146721rm -f conftest.$ac_objext conftest$ac_exeext
    6315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6316   (eval $ac_link) 2>conftest.er1
     6722if { (ac_try="$ac_link"
     6723case "(($ac_try" in
     6724  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6725  *) ac_try_echo=$ac_try;;
     6726esac
     6727eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6728  (eval "$ac_link") 2>conftest.er1
    63176729  ac_status=$?
    63186730  grep -v '^ *+' conftest.er1 >conftest.err
     
    63206732  cat conftest.err >&5
    63216733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6322   (exit $ac_status); } &&
    6323      { ac_try='test -z "$ac_c_werror_flag"
    6324              || test ! -s conftest.err'
    6325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6326   (eval $ac_try) 2>&5
    6327   ac_status=$?
    6328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6329   (exit $ac_status); }; } &&
    6330      { ac_try='test -s conftest$ac_exeext'
    6331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6332   (eval $ac_try) 2>&5
    6333   ac_status=$?
    6334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6335   (exit $ac_status); }; }; then
     6734  (exit $ac_status); } && {
     6735     test -z "$ac_c_werror_flag" ||
     6736     test ! -s conftest.err
     6737       } && test -s conftest$ac_exeext &&
     6738       $as_test_x conftest$ac_exeext; then
    63366739  eval "$as_ac_var=yes"
    63376740else
     
    63396742sed 's/^/| /' conftest.$ac_ext >&5
    63406743
    6341 eval "$as_ac_var=no"
    6342 fi
    6343 rm -f conftest.err conftest.$ac_objext \
     6744    eval "$as_ac_var=no"
     6745fi
     6746
     6747rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    63446748      conftest$ac_exeext conftest.$ac_ext
    63456749fi
    6346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6750ac_res=`eval echo '${'$as_ac_var'}'`
     6751           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6752echo "${ECHO_T}$ac_res" >&6; }
    63486753if test `eval echo '${'$as_ac_var'}'` = yes; then
    63496754  cat >>confdefs.h <<_ACEOF
     
    63526757
    63536758else
    6354   case $LIBOBJS in
    6355     "$ac_func.$ac_objext"   | \
    6356   *" $ac_func.$ac_objext"   | \
    6357     "$ac_func.$ac_objext "* | \
     6759  case " $LIBOBJS " in
    63586760  *" $ac_func.$ac_objext "* ) ;;
    6359   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
     6761  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     6762 ;;
    63606763esac
    63616764
     
    63666769
    63676770
    6368 echo "$as_me:$LINENO: checking for textdomain" >&5
    6369 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
     6771{ echo "$as_me:$LINENO: checking for textdomain" >&5
     6772echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; }
    63706773if test "${ac_cv_func_textdomain+set}" = set; then
    63716774  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    63946797#undef textdomain
    63956798
    6396 /* Override any gcc2 internal prototype to avoid an error.  */
     6799/* Override any GCC internal prototype to avoid an error.
     6800   Use char because int might match the return type of a GCC
     6801   builtin and then its argument prototype would still apply.  */
    63976802#ifdef __cplusplus
    63986803extern "C"
    6399 {
    64006804#endif
    6401 /* We use char because int might match the return type of a gcc2
    6402    builtin and then its argument prototype would still apply.  */
    64036805char textdomain ();
    64046806/* The GNU C library defines this for functions which it implements
    64056807    to always fail with ENOSYS.  Some functions are actually named
    64066808    something starting with __ and the normal name is an alias.  */
    6407 #if defined (__stub_textdomain) || defined (__stub___textdomain)
     6809#if defined __stub_textdomain || defined __stub___textdomain
    64086810choke me
    6409 #else
    6410 char (*f) () = textdomain;
    6411 #endif
    6412 #ifdef __cplusplus
    6413 }
    64146811#endif
    64156812
     
    64176814main ()
    64186815{
    6419 return f != textdomain;
     6816return textdomain ();
    64206817  ;
    64216818  return 0;
     
    64236820_ACEOF
    64246821rm -f conftest.$ac_objext conftest$ac_exeext
    6425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6426   (eval $ac_link) 2>conftest.er1
     6822if { (ac_try="$ac_link"
     6823case "(($ac_try" in
     6824  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6825  *) ac_try_echo=$ac_try;;
     6826esac
     6827eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6828  (eval "$ac_link") 2>conftest.er1
    64276829  ac_status=$?
    64286830  grep -v '^ *+' conftest.er1 >conftest.err
     
    64306832  cat conftest.err >&5
    64316833  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6432   (exit $ac_status); } &&
    6433      { ac_try='test -z "$ac_c_werror_flag"
    6434              || test ! -s conftest.err'
    6435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6436   (eval $ac_try) 2>&5
    6437   ac_status=$?
    6438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6439   (exit $ac_status); }; } &&
    6440      { ac_try='test -s conftest$ac_exeext'
    6441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6442   (eval $ac_try) 2>&5
    6443   ac_status=$?
    6444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6445   (exit $ac_status); }; }; then
     6834  (exit $ac_status); } && {
     6835     test -z "$ac_c_werror_flag" ||
     6836     test ! -s conftest.err
     6837       } && test -s conftest$ac_exeext &&
     6838       $as_test_x conftest$ac_exeext; then
    64466839  ac_cv_func_textdomain=yes
    64476840else
     
    64496842sed 's/^/| /' conftest.$ac_ext >&5
    64506843
    6451 ac_cv_func_textdomain=no
    6452 fi
    6453 rm -f conftest.err conftest.$ac_objext \
     6844    ac_cv_func_textdomain=no
     6845fi
     6846
     6847rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    64546848      conftest$ac_exeext conftest.$ac_ext
    64556849fi
    6456 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    6457 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
     6850{ echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     6851echo "${ECHO_T}$ac_cv_func_textdomain" >&6; }
    64586852if test $ac_cv_func_textdomain = yes; then
    64596853  cat >>confdefs.h <<\_ACEOF
     
    64676861# a non-standard Path
    64686862# is there a better way to do this??
    6469 echo "$as_me:$LINENO: checking for OS to set JNI options" >&5
    6470 echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6
     6863{ echo "$as_me:$LINENO: checking for OS to set JNI options" >&5
     6864echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6; }
    64716865# set defaults
    64726866JNIINC=""
     
    64756869
    64766870if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    6477   echo "$as_me:$LINENO: result: Darwin" >&5
    6478 echo "${ECHO_T}Darwin" >&6
     6871  { echo "$as_me:$LINENO: result: Darwin" >&5
     6872echo "${ECHO_T}Darwin" >&6; }
    64796873  JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ "
    64806874  JNISUFFIX="jnilib"
     
    64826876fi
    64836877if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
    6484   echo "$as_me:$LINENO: result: Solaris" >&5
    6485 echo "${ECHO_T}Solaris" >&6
     6878  { echo "$as_me:$LINENO: result: Solaris" >&5
     6879echo "${ECHO_T}Solaris" >&6; }
    64866880  JNIINC="-I\$(JAVA_HOME)/include/solaris "
    64876881fi
    64886882if test "`(uname -s) 2> /dev/null`" = 'Linux'; then
    6489   echo "$as_me:$LINENO: result: Linux" >&5
    6490 echo "${ECHO_T}Linux" >&6
     6883  { echo "$as_me:$LINENO: result: Linux" >&5
     6884echo "${ECHO_T}Linux" >&6; }
    64916885  JNIINC="-I\$(JAVA_HOME)/include/linux -I\$(JAVA_HOME)/include "
    64926886fi
     
    64986892# *** Custom checking (based on GNU tar configure.in) ***
    64996893# ---------------------------------------------------------------------------
    6500 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    6501 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
     6894{ echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     6895echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; }
    65026896if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    6503   echo "$as_me:$LINENO: result: yes" >&5
    6504 echo "${ECHO_T}yes" >&6
    6505   case $LIBOBJS in
    6506     "gmalloc.$ac_objext"   | \
    6507   *" gmalloc.$ac_objext"   | \
    6508     "gmalloc.$ac_objext "* | \
     6897  { echo "$as_me:$LINENO: result: yes" >&5
     6898echo "${ECHO_T}yes" >&6; }
     6899  case " $LIBOBJS " in
    65096900  *" gmalloc.$ac_objext "* ) ;;
    6510   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
     6901  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
     6902 ;;
    65116903esac
    65126904
     
    65166908
    65176909else
    6518   echo "$as_me:$LINENO: result: no" >&5
    6519 echo "${ECHO_T}no" >&6
     6910  { echo "$as_me:$LINENO: result: no" >&5
     6911echo "${ECHO_T}no" >&6; }
    65206912
    65216913for ac_func in valloc
    65226914do
    65236915as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6524 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6526 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6916{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6917echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6918if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    65276919  echo $ECHO_N "(cached) $ECHO_C" >&6
    65286920else
     
    65506942#undef $ac_func
    65516943
    6552 /* Override any gcc2 internal prototype to avoid an error.  */
     6944/* Override any GCC internal prototype to avoid an error.
     6945   Use char because int might match the return type of a GCC
     6946   builtin and then its argument prototype would still apply.  */
    65536947#ifdef __cplusplus
    65546948extern "C"
    6555 {
    65566949#endif
    6557 /* We use char because int might match the return type of a gcc2
    6558    builtin and then its argument prototype would still apply.  */
    65596950char $ac_func ();
    65606951/* The GNU C library defines this for functions which it implements
    65616952    to always fail with ENOSYS.  Some functions are actually named
    65626953    something starting with __ and the normal name is an alias.  */
    6563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6954#if defined __stub_$ac_func || defined __stub___$ac_func
    65646955choke me
    6565 #else
    6566 char (*f) () = $ac_func;
    6567 #endif
    6568 #ifdef __cplusplus
    6569 }
    65706956#endif
    65716957
     
    65736959main ()
    65746960{
    6575 return f != $ac_func;
     6961return $ac_func ();
    65766962  ;
    65776963  return 0;
     
    65796965_ACEOF
    65806966rm -f conftest.$ac_objext conftest$ac_exeext
    6581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6582   (eval $ac_link) 2>conftest.er1
     6967if { (ac_try="$ac_link"
     6968case "(($ac_try" in
     6969  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6970  *) ac_try_echo=$ac_try;;
     6971esac
     6972eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6973  (eval "$ac_link") 2>conftest.er1
    65836974  ac_status=$?
    65846975  grep -v '^ *+' conftest.er1 >conftest.err
     
    65866977  cat conftest.err >&5
    65876978  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6588   (exit $ac_status); } &&
    6589      { ac_try='test -z "$ac_c_werror_flag"
    6590              || test ! -s conftest.err'
    6591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6592   (eval $ac_try) 2>&5
    6593   ac_status=$?
    6594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6595   (exit $ac_status); }; } &&
    6596      { ac_try='test -s conftest$ac_exeext'
    6597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6598   (eval $ac_try) 2>&5
    6599   ac_status=$?
    6600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6601   (exit $ac_status); }; }; then
     6979  (exit $ac_status); } && {
     6980     test -z "$ac_c_werror_flag" ||
     6981     test ! -s conftest.err
     6982       } && test -s conftest$ac_exeext &&
     6983       $as_test_x conftest$ac_exeext; then
    66026984  eval "$as_ac_var=yes"
    66036985else
     
    66056987sed 's/^/| /' conftest.$ac_ext >&5
    66066988
    6607 eval "$as_ac_var=no"
    6608 fi
    6609 rm -f conftest.err conftest.$ac_objext \
     6989    eval "$as_ac_var=no"
     6990fi
     6991
     6992rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    66106993      conftest$ac_exeext conftest.$ac_ext
    66116994fi
    6612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6995ac_res=`eval echo '${'$as_ac_var'}'`
     6996           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6997echo "${ECHO_T}$ac_res" >&6; }
    66146998if test `eval echo '${'$as_ac_var'}'` = yes; then
    66156999  cat >>confdefs.h <<_ACEOF
     
    66227006fi
    66237007
    6624 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    6625 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
    6626 
    6627 # Check whether --with-dmalloc or --without-dmalloc was given.
     7008{ echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     7009echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }
     7010
     7011# Check whether --with-dmalloc was given.
    66287012if test "${with_dmalloc+set}" = set; then
    6629   withval="$with_dmalloc"
    6630   if test "$withval" = yes; then
    6631   echo "$as_me:$LINENO: result: yes" >&5
    6632 echo "${ECHO_T}yes" >&6
     7013  withval=$with_dmalloc; if test "$withval" = yes; then
     7014  { echo "$as_me:$LINENO: result: yes" >&5
     7015echo "${ECHO_T}yes" >&6; }
    66337016  cat >>confdefs.h <<\_ACEOF
    66347017#define WITH_DMALLOC 1
     
    66387021  LDFLAGS="$LDFLAGS -g"
    66397022else
    6640   echo "$as_me:$LINENO: result: no" >&5
    6641 echo "${ECHO_T}no" >&6
    6642 fi
    6643 else
    6644   echo "$as_me:$LINENO: result: no" >&5
    6645 echo "${ECHO_T}no" >&6
    6646 fi;
    6647 
    6648 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    6649 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
    6650 
    6651 # Check whether --with-regex or --without-regex was given.
     7023  { echo "$as_me:$LINENO: result: no" >&5
     7024echo "${ECHO_T}no" >&6; }
     7025fi
     7026else
     7027  { echo "$as_me:$LINENO: result: no" >&5
     7028echo "${ECHO_T}no" >&6; }
     7029fi
     7030
     7031
     7032{ echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     7033echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; }
     7034
     7035# Check whether --with-regex was given.
    66527036if test "${with_regex+set}" = set; then
    6653   withval="$with_regex"
    6654   if test "$withval" = yes; then
     7037  withval=$with_regex; if test "$withval" = yes; then
    66557038  ac_with_regex=1
    6656   echo "$as_me:$LINENO: result: regex" >&5
    6657 echo "${ECHO_T}regex" >&6
     7039  { echo "$as_me:$LINENO: result: regex" >&5
     7040echo "${ECHO_T}regex" >&6; }
    66587041  cat >>confdefs.h <<\_ACEOF
    66597042#define WITH_REGEX 1
    66607043_ACEOF
    66617044
    6662   case $LIBOBJS in
    6663     "regex.$ac_objext"   | \
    6664   *" regex.$ac_objext"   | \
    6665     "regex.$ac_objext "* | \
     7045  case " $LIBOBJS " in
    66667046  *" regex.$ac_objext "* ) ;;
    6667   *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    6668 esac
    6669 
    6670 fi
    6671 fi;
     7047  *) LIBOBJS="$LIBOBJS regex.$ac_objext"
     7048 ;;
     7049esac
     7050
     7051fi
     7052fi
     7053
    66727054if test -z "$ac_with_regex"; then
    6673   echo "$as_me:$LINENO: result: rx" >&5
    6674 echo "${ECHO_T}rx" >&6
    6675   echo "$as_me:$LINENO: checking for re_rx_search" >&5
    6676 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
     7055  { echo "$as_me:$LINENO: result: rx" >&5
     7056echo "${ECHO_T}rx" >&6; }
     7057  { echo "$as_me:$LINENO: checking for re_rx_search" >&5
     7058echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; }
    66777059if test "${ac_cv_func_re_rx_search+set}" = set; then
    66787060  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    67017083#undef re_rx_search
    67027084
    6703 /* Override any gcc2 internal prototype to avoid an error.  */
     7085/* Override any GCC internal prototype to avoid an error.
     7086   Use char because int might match the return type of a GCC
     7087   builtin and then its argument prototype would still apply.  */
    67047088#ifdef __cplusplus
    67057089extern "C"
    6706 {
    67077090#endif
    6708 /* We use char because int might match the return type of a gcc2
    6709    builtin and then its argument prototype would still apply.  */
    67107091char re_rx_search ();
    67117092/* The GNU C library defines this for functions which it implements
    67127093    to always fail with ENOSYS.  Some functions are actually named
    67137094    something starting with __ and the normal name is an alias.  */
    6714 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
     7095#if defined __stub_re_rx_search || defined __stub___re_rx_search
    67157096choke me
    6716 #else
    6717 char (*f) () = re_rx_search;
    6718 #endif
    6719 #ifdef __cplusplus
    6720 }
    67217097#endif
    67227098
     
    67247100main ()
    67257101{
    6726 return f != re_rx_search;
     7102return re_rx_search ();
    67277103  ;
    67287104  return 0;
     
    67307106_ACEOF
    67317107rm -f conftest.$ac_objext conftest$ac_exeext
    6732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6733   (eval $ac_link) 2>conftest.er1
     7108if { (ac_try="$ac_link"
     7109case "(($ac_try" in
     7110  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7111  *) ac_try_echo=$ac_try;;
     7112esac
     7113eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7114  (eval "$ac_link") 2>conftest.er1
    67347115  ac_status=$?
    67357116  grep -v '^ *+' conftest.er1 >conftest.err
     
    67377118  cat conftest.err >&5
    67387119  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6739   (exit $ac_status); } &&
    6740      { ac_try='test -z "$ac_c_werror_flag"
    6741              || test ! -s conftest.err'
    6742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6743   (eval $ac_try) 2>&5
    6744   ac_status=$?
    6745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6746   (exit $ac_status); }; } &&
    6747      { ac_try='test -s conftest$ac_exeext'
    6748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6749   (eval $ac_try) 2>&5
    6750   ac_status=$?
    6751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6752   (exit $ac_status); }; }; then
     7120  (exit $ac_status); } && {
     7121     test -z "$ac_c_werror_flag" ||
     7122     test ! -s conftest.err
     7123       } && test -s conftest$ac_exeext &&
     7124       $as_test_x conftest$ac_exeext; then
    67537125  ac_cv_func_re_rx_search=yes
    67547126else
     
    67567128sed 's/^/| /' conftest.$ac_ext >&5
    67577129
    6758 ac_cv_func_re_rx_search=no
    6759 fi
    6760 rm -f conftest.err conftest.$ac_objext \
     7130    ac_cv_func_re_rx_search=no
     7131fi
     7132
     7133rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    67617134      conftest$ac_exeext conftest.$ac_ext
    67627135fi
    6763 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    6764 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
     7136{ echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     7137echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; }
    67657138if test $ac_cv_func_re_rx_search = yes; then
    67667139  :
    67677140else
    6768   echo "$as_me:$LINENO: checking for unsigned char *" >&5
    6769 echo $ECHO_N "checking for unsigned char *... $ECHO_C" >&6
     7141  { echo "$as_me:$LINENO: checking for unsigned char *" >&5
     7142echo $ECHO_N "checking for unsigned char *... $ECHO_C" >&6; }
    67707143if test "${ac_cv_type_unsigned_char_p+set}" = set; then
    67717144  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    67787151/* end confdefs.h.  */
    67797152$ac_includes_default
     7153typedef unsigned char * ac__type_new_;
    67807154int
    67817155main ()
    67827156{
    6783 if ((unsigned char * *) 0)
     7157if ((ac__type_new_ *) 0)
    67847158  return 0;
    6785 if (sizeof (unsigned char *))
     7159if (sizeof (ac__type_new_))
    67867160  return 0;
    67877161  ;
     
    67907164_ACEOF
    67917165rm -f conftest.$ac_objext
    6792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6793   (eval $ac_compile) 2>conftest.er1
     7166if { (ac_try="$ac_compile"
     7167case "(($ac_try" in
     7168  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7169  *) ac_try_echo=$ac_try;;
     7170esac
     7171eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7172  (eval "$ac_compile") 2>conftest.er1
    67947173  ac_status=$?
    67957174  grep -v '^ *+' conftest.er1 >conftest.err
     
    67977176  cat conftest.err >&5
    67987177  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6799   (exit $ac_status); } &&
    6800      { ac_try='test -z "$ac_c_werror_flag"
    6801              || test ! -s conftest.err'
    6802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6803   (eval $ac_try) 2>&5
    6804   ac_status=$?
    6805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6806   (exit $ac_status); }; } &&
    6807      { ac_try='test -s conftest.$ac_objext'
    6808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6809   (eval $ac_try) 2>&5
    6810   ac_status=$?
    6811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6812   (exit $ac_status); }; }; then
     7178  (exit $ac_status); } && {
     7179     test -z "$ac_c_werror_flag" ||
     7180     test ! -s conftest.err
     7181       } && test -s conftest.$ac_objext; then
    68137182  ac_cv_type_unsigned_char_p=yes
    68147183else
     
    68167185sed 's/^/| /' conftest.$ac_ext >&5
    68177186
    6818 ac_cv_type_unsigned_char_p=no
    6819 fi
    6820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6821 fi
    6822 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char_p" >&5
    6823 echo "${ECHO_T}$ac_cv_type_unsigned_char_p" >&6
    6824 
    6825 echo "$as_me:$LINENO: checking size of unsigned char *" >&5
    6826 echo $ECHO_N "checking size of unsigned char *... $ECHO_C" >&6
     7187    ac_cv_type_unsigned_char_p=no
     7188fi
     7189
     7190rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7191fi
     7192{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char_p" >&5
     7193echo "${ECHO_T}$ac_cv_type_unsigned_char_p" >&6; }
     7194
     7195# The cast to long int works around a bug in the HP C Compiler
     7196# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     7197# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     7198# This bug is HP SR number 8606223364.
     7199{ echo "$as_me:$LINENO: checking size of unsigned char *" >&5
     7200echo $ECHO_N "checking size of unsigned char *... $ECHO_C" >&6; }
    68277201if test "${ac_cv_sizeof_unsigned_char_p+set}" = set; then
    68287202  echo $ECHO_N "(cached) $ECHO_C" >&6
    68297203else
    6830   if test "$ac_cv_type_unsigned_char_p" = yes; then
    6831   # The cast to unsigned long works around a bug in the HP C Compiler
    6832   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    6833   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    6834   # This bug is HP SR number 8606223364.
    68357204  if test "$cross_compiling" = yes; then
    68367205  # Depending upon the size, compute the lo and hi bounds.
     
    68427211/* end confdefs.h.  */
    68437212$ac_includes_default
     7213   typedef unsigned char * ac__type_sizeof_;
    68447214int
    68457215main ()
    68467216{
    6847 static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) >= 0)];
     7217static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
    68487218test_array [0] = 0
    68497219
     
    68537223_ACEOF
    68547224rm -f conftest.$ac_objext
    6855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6856   (eval $ac_compile) 2>conftest.er1
     7225if { (ac_try="$ac_compile"
     7226case "(($ac_try" in
     7227  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7228  *) ac_try_echo=$ac_try;;
     7229esac
     7230eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7231  (eval "$ac_compile") 2>conftest.er1
    68577232  ac_status=$?
    68587233  grep -v '^ *+' conftest.er1 >conftest.err
     
    68607235  cat conftest.err >&5
    68617236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6862   (exit $ac_status); } &&
    6863      { ac_try='test -z "$ac_c_werror_flag"
    6864              || test ! -s conftest.err'
    6865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6866   (eval $ac_try) 2>&5
    6867   ac_status=$?
    6868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6869   (exit $ac_status); }; } &&
    6870      { ac_try='test -s conftest.$ac_objext'
    6871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6872   (eval $ac_try) 2>&5
    6873   ac_status=$?
    6874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6875   (exit $ac_status); }; }; then
     7237  (exit $ac_status); } && {
     7238     test -z "$ac_c_werror_flag" ||
     7239     test ! -s conftest.err
     7240       } && test -s conftest.$ac_objext; then
    68767241  ac_lo=0 ac_mid=0
    68777242  while :; do
     
    68837248/* end confdefs.h.  */
    68847249$ac_includes_default
     7250   typedef unsigned char * ac__type_sizeof_;
    68857251int
    68867252main ()
    68877253{
    6888 static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) <= $ac_mid)];
     7254static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    68897255test_array [0] = 0
    68907256
     
    68947260_ACEOF
    68957261rm -f conftest.$ac_objext
    6896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6897   (eval $ac_compile) 2>conftest.er1
     7262if { (ac_try="$ac_compile"
     7263case "(($ac_try" in
     7264  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7265  *) ac_try_echo=$ac_try;;
     7266esac
     7267eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7268  (eval "$ac_compile") 2>conftest.er1
    68987269  ac_status=$?
    68997270  grep -v '^ *+' conftest.er1 >conftest.err
     
    69017272  cat conftest.err >&5
    69027273  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6903   (exit $ac_status); } &&
    6904      { ac_try='test -z "$ac_c_werror_flag"
    6905              || test ! -s conftest.err'
    6906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6907   (eval $ac_try) 2>&5
    6908   ac_status=$?
    6909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6910   (exit $ac_status); }; } &&
    6911      { ac_try='test -s conftest.$ac_objext'
    6912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6913   (eval $ac_try) 2>&5
    6914   ac_status=$?
    6915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6916   (exit $ac_status); }; }; then
     7274  (exit $ac_status); } && {
     7275     test -z "$ac_c_werror_flag" ||
     7276     test ! -s conftest.err
     7277       } && test -s conftest.$ac_objext; then
    69177278  ac_hi=$ac_mid; break
    69187279else
     
    69207281sed 's/^/| /' conftest.$ac_ext >&5
    69217282
    6922 ac_lo=`expr $ac_mid + 1`
    6923             if test $ac_lo -le $ac_mid; then
    6924               ac_lo= ac_hi=
    6925               break
    6926             fi
    6927             ac_mid=`expr 2 '*' $ac_mid + 1`
    6928 fi
    6929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7283    ac_lo=`expr $ac_mid + 1`
     7284            if test $ac_lo -le $ac_mid; then
     7285              ac_lo= ac_hi=
     7286              break
     7287            fi
     7288            ac_mid=`expr 2 '*' $ac_mid + 1`
     7289fi
     7290
     7291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    69307292  done
    69317293else
     
    69337295sed 's/^/| /' conftest.$ac_ext >&5
    69347296
    6935 cat >conftest.$ac_ext <<_ACEOF
     7297    cat >conftest.$ac_ext <<_ACEOF
    69367298/* confdefs.h.  */
    69377299_ACEOF
     
    69407302/* end confdefs.h.  */
    69417303$ac_includes_default
     7304   typedef unsigned char * ac__type_sizeof_;
    69427305int
    69437306main ()
    69447307{
    6945 static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) < 0)];
     7308static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
    69467309test_array [0] = 0
    69477310
     
    69517314_ACEOF
    69527315rm -f conftest.$ac_objext
    6953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6954   (eval $ac_compile) 2>conftest.er1
     7316if { (ac_try="$ac_compile"
     7317case "(($ac_try" in
     7318  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7319  *) ac_try_echo=$ac_try;;
     7320esac
     7321eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7322  (eval "$ac_compile") 2>conftest.er1
    69557323  ac_status=$?
    69567324  grep -v '^ *+' conftest.er1 >conftest.err
     
    69587326  cat conftest.err >&5
    69597327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6960   (exit $ac_status); } &&
    6961      { ac_try='test -z "$ac_c_werror_flag"
    6962              || test ! -s conftest.err'
    6963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6964   (eval $ac_try) 2>&5
    6965   ac_status=$?
    6966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6967   (exit $ac_status); }; } &&
    6968      { ac_try='test -s conftest.$ac_objext'
    6969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6970   (eval $ac_try) 2>&5
    6971   ac_status=$?
    6972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6973   (exit $ac_status); }; }; then
     7328  (exit $ac_status); } && {
     7329     test -z "$ac_c_werror_flag" ||
     7330     test ! -s conftest.err
     7331       } && test -s conftest.$ac_objext; then
    69747332  ac_hi=-1 ac_mid=-1
    69757333  while :; do
     
    69817339/* end confdefs.h.  */
    69827340$ac_includes_default
     7341   typedef unsigned char * ac__type_sizeof_;
    69837342int
    69847343main ()
    69857344{
    6986 static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) >= $ac_mid)];
     7345static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
    69877346test_array [0] = 0
    69887347
     
    69927351_ACEOF
    69937352rm -f conftest.$ac_objext
    6994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6995   (eval $ac_compile) 2>conftest.er1
     7353if { (ac_try="$ac_compile"
     7354case "(($ac_try" in
     7355  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7356  *) ac_try_echo=$ac_try;;
     7357esac
     7358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7359  (eval "$ac_compile") 2>conftest.er1
    69967360  ac_status=$?
    69977361  grep -v '^ *+' conftest.er1 >conftest.err
     
    69997363  cat conftest.err >&5
    70007364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7001   (exit $ac_status); } &&
    7002      { ac_try='test -z "$ac_c_werror_flag"
    7003              || test ! -s conftest.err'
    7004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7005   (eval $ac_try) 2>&5
    7006   ac_status=$?
    7007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7008   (exit $ac_status); }; } &&
    7009      { ac_try='test -s conftest.$ac_objext'
    7010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7011   (eval $ac_try) 2>&5
    7012   ac_status=$?
    7013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7014   (exit $ac_status); }; }; then
     7365  (exit $ac_status); } && {
     7366     test -z "$ac_c_werror_flag" ||
     7367     test ! -s conftest.err
     7368       } && test -s conftest.$ac_objext; then
    70157369  ac_lo=$ac_mid; break
    70167370else
     
    70187372sed 's/^/| /' conftest.$ac_ext >&5
    70197373
    7020 ac_hi=`expr '(' $ac_mid ')' - 1`
    7021                if test $ac_mid -le $ac_hi; then
    7022              ac_lo= ac_hi=
    7023              break
    7024                fi
    7025                ac_mid=`expr 2 '*' $ac_mid`
    7026 fi
    7027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7374    ac_hi=`expr '(' $ac_mid ')' - 1`
     7375            if test $ac_mid -le $ac_hi; then
     7376              ac_lo= ac_hi=
     7377              break
     7378            fi
     7379            ac_mid=`expr 2 '*' $ac_mid`
     7380fi
     7381
     7382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70287383  done
    70297384else
     
    70317386sed 's/^/| /' conftest.$ac_ext >&5
    70327387
    7033 ac_lo= ac_hi=
    7034 fi
    7035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7036 fi
    7037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7388    ac_lo= ac_hi=
     7389fi
     7390
     7391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7392fi
     7393
     7394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70387395# Binary search between lo and hi bounds.
    70397396while test "x$ac_lo" != "x$ac_hi"; do
     
    70467403/* end confdefs.h.  */
    70477404$ac_includes_default
     7405   typedef unsigned char * ac__type_sizeof_;
    70487406int
    70497407main ()
    70507408{
    7051 static int test_array [1 - 2 * !(((long) (sizeof (unsigned char *))) <= $ac_mid)];
     7409static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    70527410test_array [0] = 0
    70537411
     
    70577415_ACEOF
    70587416rm -f conftest.$ac_objext
    7059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7060   (eval $ac_compile) 2>conftest.er1
     7417if { (ac_try="$ac_compile"
     7418case "(($ac_try" in
     7419  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7420  *) ac_try_echo=$ac_try;;
     7421esac
     7422eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7423  (eval "$ac_compile") 2>conftest.er1
    70617424  ac_status=$?
    70627425  grep -v '^ *+' conftest.er1 >conftest.err
     
    70647427  cat conftest.err >&5
    70657428  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7066   (exit $ac_status); } &&
    7067      { ac_try='test -z "$ac_c_werror_flag"
    7068              || test ! -s conftest.err'
    7069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7070   (eval $ac_try) 2>&5
    7071   ac_status=$?
    7072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7073   (exit $ac_status); }; } &&
    7074      { ac_try='test -s conftest.$ac_objext'
    7075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7076   (eval $ac_try) 2>&5
    7077   ac_status=$?
    7078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7079   (exit $ac_status); }; }; then
     7429  (exit $ac_status); } && {
     7430     test -z "$ac_c_werror_flag" ||
     7431     test ! -s conftest.err
     7432       } && test -s conftest.$ac_objext; then
    70807433  ac_hi=$ac_mid
    70817434else
     
    70837436sed 's/^/| /' conftest.$ac_ext >&5
    70847437
    7085 ac_lo=`expr '(' $ac_mid ')' + 1`
    7086 fi
    7087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7438    ac_lo=`expr '(' $ac_mid ')' + 1`
     7439fi
     7440
     7441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70887442done
    70897443case $ac_lo in
    70907444?*) ac_cv_sizeof_unsigned_char_p=$ac_lo;;
    7091 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *), 77
     7445'') if test "$ac_cv_type_unsigned_char_p" = yes; then
     7446     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *)
    70927447See \`config.log' for more details." >&5
    7093 echo "$as_me: error: cannot compute sizeof (unsigned char *), 77
     7448echo "$as_me: error: cannot compute sizeof (unsigned char *)
    70947449See \`config.log' for more details." >&2;}
    7095    { (exit 1); exit 1; }; } ;;
    7096 esac
    7097 else
    7098   if test "$cross_compiling" = yes; then
    7099   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    7100 See \`config.log' for more details." >&5
    7101 echo "$as_me: error: cannot run test program while cross compiling
    7102 See \`config.log' for more details." >&2;}
    7103    { (exit 1); exit 1; }; }
     7450   { (exit 77); exit 77; }; }
     7451   else
     7452     ac_cv_sizeof_unsigned_char_p=0
     7453   fi ;;
     7454esac
    71047455else
    71057456  cat >conftest.$ac_ext <<_ACEOF
     
    71107461/* end confdefs.h.  */
    71117462$ac_includes_default
    7112 long longval () { return (long) (sizeof (unsigned char *)); }
    7113 unsigned long ulongval () { return (long) (sizeof (unsigned char *)); }
     7463   typedef unsigned char * ac__type_sizeof_;
     7464static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
     7465static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
    71147466#include <stdio.h>
    71157467#include <stdlib.h>
     
    71207472  FILE *f = fopen ("conftest.val", "w");
    71217473  if (! f)
    7122     exit (1);
    7123   if (((long) (sizeof (unsigned char *))) < 0)
     7474    return 1;
     7475  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
    71247476    {
    7125       long i = longval ();
    7126       if (i != ((long) (sizeof (unsigned char *))))
    7127     exit (1);
     7477      long int i = longval ();
     7478      if (i != ((long int) (sizeof (ac__type_sizeof_))))
     7479    return 1;
    71287480      fprintf (f, "%ld\n", i);
    71297481    }
    71307482  else
    71317483    {
    7132       unsigned long i = ulongval ();
    7133       if (i != ((long) (sizeof (unsigned char *))))
    7134     exit (1);
     7484      unsigned long int i = ulongval ();
     7485      if (i != ((long int) (sizeof (ac__type_sizeof_))))
     7486    return 1;
    71357487      fprintf (f, "%lu\n", i);
    71367488    }
    7137   exit (ferror (f) || fclose (f) != 0);
     7489  return ferror (f) || fclose (f) != 0;
    71387490
    71397491  ;
     
    71427494_ACEOF
    71437495rm -f conftest$ac_exeext
    7144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7145   (eval $ac_link) 2>&5
     7496if { (ac_try="$ac_link"
     7497case "(($ac_try" in
     7498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7499  *) ac_try_echo=$ac_try;;
     7500esac
     7501eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7502  (eval "$ac_link") 2>&5
    71467503  ac_status=$?
    71477504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71487505  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7150   (eval $ac_try) 2>&5
     7506  { (case "(($ac_try" in
     7507  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7508  *) ac_try_echo=$ac_try;;
     7509esac
     7510eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7511  (eval "$ac_try") 2>&5
    71517512  ac_status=$?
    71527513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    71597520
    71607521( exit $ac_status )
    7161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *), 77
     7522if test "$ac_cv_type_unsigned_char_p" = yes; then
     7523     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char *)
    71627524See \`config.log' for more details." >&5
    7163 echo "$as_me: error: cannot compute sizeof (unsigned char *), 77
     7525echo "$as_me: error: cannot compute sizeof (unsigned char *)
    71647526See \`config.log' for more details." >&2;}
    7165    { (exit 1); exit 1; }; }
    7166 fi
    7167 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7168 fi
     7527   { (exit 77); exit 77; }; }
     7528   else
     7529     ac_cv_sizeof_unsigned_char_p=0
     7530   fi
     7531fi
     7532rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    71697533fi
    71707534rm -f conftest.val
    7171 else
    7172   ac_cv_sizeof_unsigned_char_p=0
    7173 fi
    7174 fi
    7175 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char_p" >&5
    7176 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char_p" >&6
     7535fi
     7536{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char_p" >&5
     7537echo "${ECHO_T}$ac_cv_sizeof_unsigned_char_p" >&6; }
     7538
     7539
     7540
    71777541cat >>confdefs.h <<_ACEOF
    71787542#define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p
     
    71887552        find a local rx library and the one included with this
    71897553        distribution doesn't work on 64-bit machines like yours" >&2;}
    7190       case $LIBOBJS in
    7191     "regex.$ac_objext"   | \
    7192   *" regex.$ac_objext"   | \
    7193     "regex.$ac_objext "* | \
     7554      case " $LIBOBJS " in
    71947555  *" regex.$ac_objext "* ) ;;
    7195   *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
     7556  *) LIBOBJS="$LIBOBJS regex.$ac_objext"
     7557 ;;
    71967558esac
    71977559
    71987560    else
    7199       case $LIBOBJS in
    7200     "rx.$ac_objext"   | \
    7201   *" rx.$ac_objext"   | \
    7202     "rx.$ac_objext "* | \
     7561      case " $LIBOBJS " in
    72037562  *" rx.$ac_objext "* ) ;;
    7204   *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
     7563  *) LIBOBJS="$LIBOBJS rx.$ac_objext"
     7564 ;;
    72057565esac
    72067566
     
    72117571fi
    72127572
    7213 echo "$as_me:$LINENO: checking whether GNU readline requested" >&5
    7214 echo $ECHO_N "checking whether GNU readline requested... $ECHO_C" >&6
    7215 
    7216 # Check whether --with-gnu_readline or --without-gnu_readline was given.
     7573{ echo "$as_me:$LINENO: checking whether GNU readline requested" >&5
     7574echo $ECHO_N "checking whether GNU readline requested... $ECHO_C" >&6; }
     7575
     7576# Check whether --with-gnu_readline was given.
    72177577if test "${with_gnu_readline+set}" = set; then
    7218   withval="$with_gnu_readline"
    7219   if test "$withval" = yes; then
    7220       echo "$as_me:$LINENO: result: yes" >&5
    7221 echo "${ECHO_T}yes" >&6
     7578  withval=$with_gnu_readline; if test "$withval" = yes; then
     7579      { echo "$as_me:$LINENO: result: yes" >&5
     7580echo "${ECHO_T}yes" >&6; }
    72227581      ac_with_gnu_readline=1
    72237582    else
    7224       echo "$as_me:$LINENO: result: no" >&5
    7225 echo "${ECHO_T}no" >&6
     7583      { echo "$as_me:$LINENO: result: no" >&5
     7584echo "${ECHO_T}no" >&6; }
    72267585    fi
    72277586else
    7228   echo "$as_me:$LINENO: result: no" >&5
    7229 echo "${ECHO_T}no" >&6
    7230 fi;
     7587  { echo "$as_me:$LINENO: result: no" >&5
     7588echo "${ECHO_T}no" >&6; }
     7589fi
     7590
    72317591
    72327592  if test -n "$ac_with_gnu_readline"; then
    72337593    if test "${ac_cv_header_readline_readline_h+set}" = set; then
    7234   echo "$as_me:$LINENO: checking for readline/readline.h" >&5
    7235 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6
     7594  { echo "$as_me:$LINENO: checking for readline/readline.h" >&5
     7595echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; }
    72367596if test "${ac_cv_header_readline_readline_h+set}" = set; then
    72377597  echo $ECHO_N "(cached) $ECHO_C" >&6
    72387598fi
    7239 echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
    7240 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
     7599{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
     7600echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; }
    72417601else
    72427602  # Is the header compilable?
    7243 echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
    7244 echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6
     7603{ echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
     7604echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6; }
    72457605cat >conftest.$ac_ext <<_ACEOF
    72467606/* confdefs.h.  */
     
    72537613_ACEOF
    72547614rm -f conftest.$ac_objext
    7255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7256   (eval $ac_compile) 2>conftest.er1
     7615if { (ac_try="$ac_compile"
     7616case "(($ac_try" in
     7617  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7618  *) ac_try_echo=$ac_try;;
     7619esac
     7620eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7621  (eval "$ac_compile") 2>conftest.er1
    72577622  ac_status=$?
    72587623  grep -v '^ *+' conftest.er1 >conftest.err
     
    72607625  cat conftest.err >&5
    72617626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7262   (exit $ac_status); } &&
    7263      { ac_try='test -z "$ac_c_werror_flag"
    7264              || test ! -s conftest.err'
    7265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7266   (eval $ac_try) 2>&5
    7267   ac_status=$?
    7268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7269   (exit $ac_status); }; } &&
    7270      { ac_try='test -s conftest.$ac_objext'
    7271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7272   (eval $ac_try) 2>&5
    7273   ac_status=$?
    7274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7275   (exit $ac_status); }; }; then
     7627  (exit $ac_status); } && {
     7628     test -z "$ac_c_werror_flag" ||
     7629     test ! -s conftest.err
     7630       } && test -s conftest.$ac_objext; then
    72767631  ac_header_compiler=yes
    72777632else
     
    72797634sed 's/^/| /' conftest.$ac_ext >&5
    72807635
    7281 ac_header_compiler=no
    7282 fi
    7283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7285 echo "${ECHO_T}$ac_header_compiler" >&6
     7636    ac_header_compiler=no
     7637fi
     7638
     7639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7640{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7641echo "${ECHO_T}$ac_header_compiler" >&6; }
    72867642
    72877643# Is the header present?
    7288 echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
    7289 echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6
     7644{ echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
     7645echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6; }
    72907646cat >conftest.$ac_ext <<_ACEOF
    72917647/* confdefs.h.  */
     
    72967652#include <readline/readline.h>
    72977653_ACEOF
    7298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    7299   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     7654if { (ac_try="$ac_cpp conftest.$ac_ext"
     7655case "(($ac_try" in
     7656  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7657  *) ac_try_echo=$ac_try;;
     7658esac
     7659eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7660  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    73007661  ac_status=$?
    73017662  grep -v '^ *+' conftest.er1 >conftest.err
     
    73037664  cat conftest.err >&5
    73047665  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7305   (exit $ac_status); } >/dev/null; then
    7306   if test -s conftest.err; then
    7307     ac_cpp_err=$ac_c_preproc_warn_flag
    7308     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    7309   else
    7310     ac_cpp_err=
    7311   fi
    7312 else
    7313   ac_cpp_err=yes
    7314 fi
    7315 if test -z "$ac_cpp_err"; then
     7666  (exit $ac_status); } >/dev/null && {
     7667     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7668     test ! -s conftest.err
     7669       }; then
    73167670  ac_header_preproc=yes
    73177671else
     
    73217675  ac_header_preproc=no
    73227676fi
     7677
    73237678rm -f conftest.err conftest.$ac_ext
    7324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7325 echo "${ECHO_T}$ac_header_preproc" >&6
     7679{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7680echo "${ECHO_T}$ac_header_preproc" >&6; }
    73267681
    73277682# So?  What about this header?
     
    73477702    { echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
    73487703echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
    7349     (
    7350       cat <<\_ASBOX
    7351 ## ------------------------------------------ ##
    7352 ## Report this to the AC_PACKAGE_NAME lists.  ##
    7353 ## ------------------------------------------ ##
    7354 _ASBOX
    7355     ) |
    7356       sed "s/^/$as_me: WARNING:     /" >&2
     7704
    73577705    ;;
    73587706esac
    7359 echo "$as_me:$LINENO: checking for readline/readline.h" >&5
    7360 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6
     7707{ echo "$as_me:$LINENO: checking for readline/readline.h" >&5
     7708echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6; }
    73617709if test "${ac_cv_header_readline_readline_h+set}" = set; then
    73627710  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    73647712  ac_cv_header_readline_readline_h=$ac_header_preproc
    73657713fi
    7366 echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
    7367 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
     7714{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
     7715echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6; }
    73687716
    73697717fi
     
    73807728    if test -n "$ac_mg_readline_header_found"; then
    73817729      # first check whether we can find the readline library itself
    7382       echo "$as_me:$LINENO: checking for main in -lreadline" >&5
    7383 echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6
     7730      { echo "$as_me:$LINENO: checking for main in -lreadline" >&5
     7731echo $ECHO_N "checking for main in -lreadline... $ECHO_C" >&6; }
    73847732if test "${ac_cv_lib_readline_main+set}" = set; then
    73857733  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    73987746main ()
    73997747{
    7400 main ();
     7748return main ();
    74017749  ;
    74027750  return 0;
     
    74047752_ACEOF
    74057753rm -f conftest.$ac_objext conftest$ac_exeext
    7406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7407   (eval $ac_link) 2>conftest.er1
     7754if { (ac_try="$ac_link"
     7755case "(($ac_try" in
     7756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7757  *) ac_try_echo=$ac_try;;
     7758esac
     7759eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7760  (eval "$ac_link") 2>conftest.er1
    74087761  ac_status=$?
    74097762  grep -v '^ *+' conftest.er1 >conftest.err
     
    74117764  cat conftest.err >&5
    74127765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7413   (exit $ac_status); } &&
    7414      { ac_try='test -z "$ac_c_werror_flag"
    7415              || test ! -s conftest.err'
    7416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7417   (eval $ac_try) 2>&5
    7418   ac_status=$?
    7419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7420   (exit $ac_status); }; } &&
    7421      { ac_try='test -s conftest$ac_exeext'
    7422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7423   (eval $ac_try) 2>&5
    7424   ac_status=$?
    7425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7426   (exit $ac_status); }; }; then
     7766  (exit $ac_status); } && {
     7767     test -z "$ac_c_werror_flag" ||
     7768     test ! -s conftest.err
     7769       } && test -s conftest$ac_exeext &&
     7770       $as_test_x conftest$ac_exeext; then
    74277771  ac_cv_lib_readline_main=yes
    74287772else
     
    74307774sed 's/^/| /' conftest.$ac_ext >&5
    74317775
    7432 ac_cv_lib_readline_main=no
    7433 fi
    7434 rm -f conftest.err conftest.$ac_objext \
     7776    ac_cv_lib_readline_main=no
     7777fi
     7778
     7779rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    74357780      conftest$ac_exeext conftest.$ac_ext
    74367781LIBS=$ac_check_lib_save_LIBS
    74377782fi
    7438 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
    7439 echo "${ECHO_T}$ac_cv_lib_readline_main" >&6
     7783{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_main" >&5
     7784echo "${ECHO_T}$ac_cv_lib_readline_main" >&6; }
    74407785if test $ac_cv_lib_readline_main = yes; then
    74417786  ac_mg_readline_lib_found=1
     
    74597804    #  by mg itself (e.g. xmalloc, xrealloc).  So, if we find libcurses,
    74607805    #  we just bung it on and hope for the best.
    7461     echo "$as_me:$LINENO: checking for main in -lcurses" >&5
    7462 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6
     7806    { echo "$as_me:$LINENO: checking for main in -lcurses" >&5
     7807echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6; }
    74637808if test "${ac_cv_lib_curses_main+set}" = set; then
    74647809  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    74777822main ()
    74787823{
    7479 main ();
     7824return main ();
    74807825  ;
    74817826  return 0;
     
    74837828_ACEOF
    74847829rm -f conftest.$ac_objext conftest$ac_exeext
    7485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7486   (eval $ac_link) 2>conftest.er1
     7830if { (ac_try="$ac_link"
     7831case "(($ac_try" in
     7832  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7833  *) ac_try_echo=$ac_try;;
     7834esac
     7835eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7836  (eval "$ac_link") 2>conftest.er1
    74877837  ac_status=$?
    74887838  grep -v '^ *+' conftest.er1 >conftest.err
     
    74907840  cat conftest.err >&5
    74917841  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7492   (exit $ac_status); } &&
    7493      { ac_try='test -z "$ac_c_werror_flag"
    7494              || test ! -s conftest.err'
    7495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7496   (eval $ac_try) 2>&5
    7497   ac_status=$?
    7498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7499   (exit $ac_status); }; } &&
    7500      { ac_try='test -s conftest$ac_exeext'
    7501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7502   (eval $ac_try) 2>&5
    7503   ac_status=$?
    7504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7505   (exit $ac_status); }; }; then
     7842  (exit $ac_status); } && {
     7843     test -z "$ac_c_werror_flag" ||
     7844     test ! -s conftest.err
     7845       } && test -s conftest$ac_exeext &&
     7846       $as_test_x conftest$ac_exeext; then
    75067847  ac_cv_lib_curses_main=yes
    75077848else
     
    75097850sed 's/^/| /' conftest.$ac_ext >&5
    75107851
    7511 ac_cv_lib_curses_main=no
    7512 fi
    7513 rm -f conftest.err conftest.$ac_objext \
     7852    ac_cv_lib_curses_main=no
     7853fi
     7854
     7855rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    75147856      conftest$ac_exeext conftest.$ac_ext
    75157857LIBS=$ac_check_lib_save_LIBS
    75167858fi
    7517 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
    7518 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6
     7859{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
     7860echo "${ECHO_T}$ac_cv_lib_curses_main" >&6; }
    75197861if test $ac_cv_lib_curses_main = yes; then
    75207862  LIBS="$LIBS -lcurses"
     
    75277869
    75287870# text for endianness
    7529 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    7530 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
     7871{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7872echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
    75317873if test "${ac_cv_c_bigendian+set}" = set; then
    75327874  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    75457887main ()
    75467888{
    7547 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
     7889#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
     7890    && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
    75487891 bogus endian macros
    75497892#endif
     
    75547897_ACEOF
    75557898rm -f conftest.$ac_objext
    7556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7557   (eval $ac_compile) 2>conftest.er1
     7899if { (ac_try="$ac_compile"
     7900case "(($ac_try" in
     7901  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7902  *) ac_try_echo=$ac_try;;
     7903esac
     7904eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7905  (eval "$ac_compile") 2>conftest.er1
    75587906  ac_status=$?
    75597907  grep -v '^ *+' conftest.er1 >conftest.err
     
    75617909  cat conftest.err >&5
    75627910  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7563   (exit $ac_status); } &&
    7564      { ac_try='test -z "$ac_c_werror_flag"
    7565              || test ! -s conftest.err'
    7566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7567   (eval $ac_try) 2>&5
    7568   ac_status=$?
    7569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7570   (exit $ac_status); }; } &&
    7571      { ac_try='test -s conftest.$ac_objext'
    7572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7573   (eval $ac_try) 2>&5
    7574   ac_status=$?
    7575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7576   (exit $ac_status); }; }; then
     7911  (exit $ac_status); } && {
     7912     test -z "$ac_c_werror_flag" ||
     7913     test ! -s conftest.err
     7914       } && test -s conftest.$ac_objext; then
    75777915  # It does; now see whether it defined to BIG_ENDIAN or not.
    75787916cat >conftest.$ac_ext <<_ACEOF
     
    75977935_ACEOF
    75987936rm -f conftest.$ac_objext
    7599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7600   (eval $ac_compile) 2>conftest.er1
     7937if { (ac_try="$ac_compile"
     7938case "(($ac_try" in
     7939  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7940  *) ac_try_echo=$ac_try;;
     7941esac
     7942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7943  (eval "$ac_compile") 2>conftest.er1
    76017944  ac_status=$?
    76027945  grep -v '^ *+' conftest.er1 >conftest.err
     
    76047947  cat conftest.err >&5
    76057948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7606   (exit $ac_status); } &&
    7607      { ac_try='test -z "$ac_c_werror_flag"
    7608              || test ! -s conftest.err'
    7609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7610   (eval $ac_try) 2>&5
    7611   ac_status=$?
    7612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7613   (exit $ac_status); }; } &&
    7614      { ac_try='test -s conftest.$ac_objext'
    7615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7616   (eval $ac_try) 2>&5
    7617   ac_status=$?
    7618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7619   (exit $ac_status); }; }; then
     7949  (exit $ac_status); } && {
     7950     test -z "$ac_c_werror_flag" ||
     7951     test ! -s conftest.err
     7952       } && test -s conftest.$ac_objext; then
    76207953  ac_cv_c_bigendian=yes
    76217954else
     
    76237956sed 's/^/| /' conftest.$ac_ext >&5
    76247957
    7625 ac_cv_c_bigendian=no
    7626 fi
    7627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7958    ac_cv_c_bigendian=no
     7959fi
     7960
     7961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76287962else
    76297963  echo "$as_me: failed program was:" >&5
    76307964sed 's/^/| /' conftest.$ac_ext >&5
    76317965
    7632 # It does not; compile a test program.
     7966    # It does not; compile a test program.
    76337967if test "$cross_compiling" = yes; then
    76347968  # try to guess the endianness by grepping values into an object file
     
    76407974cat >>conftest.$ac_ext <<_ACEOF
    76417975/* end confdefs.h.  */
    7642 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    7643 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     7976short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     7977short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    76447978void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    7645 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    7646 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     7979short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     7980short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    76477981void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    76487982int
     
    76557989_ACEOF
    76567990rm -f conftest.$ac_objext
    7657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7658   (eval $ac_compile) 2>conftest.er1
     7991if { (ac_try="$ac_compile"
     7992case "(($ac_try" in
     7993  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7994  *) ac_try_echo=$ac_try;;
     7995esac
     7996eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7997  (eval "$ac_compile") 2>conftest.er1
    76597998  ac_status=$?
    76607999  grep -v '^ *+' conftest.er1 >conftest.err
     
    76628001  cat conftest.err >&5
    76638002  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7664   (exit $ac_status); } &&
    7665      { ac_try='test -z "$ac_c_werror_flag"
    7666              || test ! -s conftest.err'
    7667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7668   (eval $ac_try) 2>&5
    7669   ac_status=$?
    7670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7671   (exit $ac_status); }; } &&
    7672      { ac_try='test -s conftest.$ac_objext'
    7673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7674   (eval $ac_try) 2>&5
    7675   ac_status=$?
    7676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7677   (exit $ac_status); }; }; then
     8003  (exit $ac_status); } && {
     8004     test -z "$ac_c_werror_flag" ||
     8005     test ! -s conftest.err
     8006       } && test -s conftest.$ac_objext; then
    76788007  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    76798008  ac_cv_c_bigendian=yes
     
    76918020sed 's/^/| /' conftest.$ac_ext >&5
    76928021
    7693 fi
    7694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8022
     8023fi
     8024
     8025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76958026else
    76968027  cat >conftest.$ac_ext <<_ACEOF
     
    77008031cat >>conftest.$ac_ext <<_ACEOF
    77018032/* end confdefs.h.  */
     8033$ac_includes_default
    77028034int
    77038035main ()
    77048036{
     8037
    77058038  /* Are we little or big endian?  From Harbison&Steele.  */
    77068039  union
    77078040  {
    7708     long l;
    7709     char c[sizeof (long)];
     8041    long int l;
     8042    char c[sizeof (long int)];
    77108043  } u;
    77118044  u.l = 1;
    7712   exit (u.c[sizeof (long) - 1] == 1);
     8045  return u.c[sizeof (long int) - 1] == 1;
     8046
     8047  ;
     8048  return 0;
    77138049}
    77148050_ACEOF
    77158051rm -f conftest$ac_exeext
    7716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7717   (eval $ac_link) 2>&5
     8052if { (ac_try="$ac_link"
     8053case "(($ac_try" in
     8054  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8055  *) ac_try_echo=$ac_try;;
     8056esac
     8057eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     8058  (eval "$ac_link") 2>&5
    77188059  ac_status=$?
    77198060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    77208061  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7722   (eval $ac_try) 2>&5
     8062  { (case "(($ac_try" in
     8063  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8064  *) ac_try_echo=$ac_try;;
     8065esac
     8066eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     8067  (eval "$ac_try") 2>&5
    77238068  ac_status=$?
    77248069  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    77338078ac_cv_c_bigendian=yes
    77348079fi
    7735 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7736 fi
    7737 fi
    7738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7739 fi
    7740 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    7741 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
     8080rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     8081fi
     8082
     8083
     8084fi
     8085
     8086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8087fi
     8088{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     8089echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
    77428090case $ac_cv_c_bigendian in
    77438091  yes)
     
    77608108# ---------------------------------------------------------------------------
    77618109if test "$ac_cv_func_alloca" = 'no'; then
    7762   case $LIBOBJS in
    7763     "xmalloc.$ac_objext"   | \
    7764   *" xmalloc.$ac_objext"   | \
    7765     "xmalloc.$ac_objext "* | \
     8110  case " $LIBOBJS " in
    77668111  *" xmalloc.$ac_objext "* ) ;;
    7767   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    7768 esac
    7769 
    7770   case $LIBOBJS in
    7771     "error.$ac_objext"   | \
    7772   *" error.$ac_objext"   | \
    7773     "error.$ac_objext "* | \
     8112  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
     8113 ;;
     8114esac
     8115
     8116  case " $LIBOBJS " in
    77748117  *" error.$ac_objext "* ) ;;
    7775   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     8118  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     8119 ;;
    77768120esac
    77778121
     
    77818125# ---------------------------------------------------------------------------
    77828126# see if the user wants to override use of long long
    7783 # Check whether --enable-override-longlong or --disable-override-longlong was given.
     8127# Check whether --enable-override-longlong was given.
    77848128if test "${enable_override_longlong+set}" = set; then
    7785   enableval="$enable_override_longlong"
    7786   cat >>confdefs.h <<\_ACEOF
     8129  enableval=$enable_override_longlong; cat >>confdefs.h <<\_ACEOF
    77878130#define DISABLE_LONG_LONG 1
    77888131_ACEOF
    77898132
    7790 fi;
     8133fi
     8134
    77918135
    77928136
    77938137# ---------------------------------------------------------------------------
    77948138
    7795                                                   ac_config_files="$ac_config_files Makefile text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mgpp/Makefile"
    7796           ac_config_commands="$ac_config_commands default"
     8139ac_config_files="$ac_config_files Makefile text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mgpp/Makefile"
     8140
     8141ac_config_commands="$ac_config_commands default"
     8142
    77978143cat >confcache <<\_ACEOF
    77988144# This file is a shell script that caches the results of configure
     
    78138159# The following way of writing the cache mishandles newlines in values,
    78148160# but we know of no workaround that is simple, portable, and efficient.
    7815 # So, don't put newlines in cache variables' values.
     8161# So, we kill variables containing newlines.
    78168162# Ultrix sh set writes to stderr and can't be redirected directly,
    78178163# and sets the high bit in the cache file unless we assign to the vars.
    7818 {
     8164(
     8165  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     8166    eval ac_val=\$$ac_var
     8167    case $ac_val in #(
     8168    *${as_nl}*)
     8169      case $ac_var in #(
     8170      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     8171echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     8172      esac
     8173      case $ac_var in #(
     8174      _ | IFS | as_nl) ;; #(
     8175      *) $as_unset $ac_var ;;
     8176      esac ;;
     8177    esac
     8178  done
     8179
    78198180  (set) 2>&1 |
    7820     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    7821     *ac_space=\ *)
     8181    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     8182    *${as_nl}ac_space=\ *)
    78228183      # `set' does not quote correctly, so add quotes (double-quote
    78238184      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    78258186    "s/'/'\\\\''/g;
    78268187      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    7827       ;;
     8188      ;; #(
    78288189    *)
    78298190      # `set' quotes correctly as required by POSIX, so do not add quotes.
    7830       sed -n \
    7831     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     8191      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    78328192      ;;
    7833     esac;
    7834 } |
     8193    esac |
     8194    sort
     8195) |
    78358196  sed '
     8197     /^ac_cv_env_/b end
    78368198     t clear
    7837      : clear
     8199     :clear
    78388200     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    78398201     t end
    7840      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    7841      : end' >>confcache
    7842 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    7843   if test -w $cache_file; then
    7844     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     8202     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     8203     :end' >>confcache
     8204if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     8205  if test -w "$cache_file"; then
     8206    test "x$cache_file" != "x/dev/null" &&
     8207      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
     8208echo "$as_me: updating cache $cache_file" >&6;}
    78458209    cat confcache >$cache_file
    78468210  else
    7847     echo "not updating unwritable cache $cache_file"
     8211    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     8212echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    78488213  fi
    78498214fi
     
    78538218# Let make expand exec_prefix.
    78548219test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    7855 
    7856 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    7857 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    7858 # trailing colons and then remove the whole line if VPATH becomes empty
    7859 # (actually we leave an empty line to preserve line numbers).
    7860 if test "x$srcdir" = x.; then
    7861   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    7862 s/:*\$(srcdir):*/:/;
    7863 s/:*\${srcdir}:*/:/;
    7864 s/:*@srcdir@:*/:/;
    7865 s/^\([^=]*=[     ]*\):*/\1/;
    7866 s/:*$//;
    7867 s/^[^=]*=[   ]*$//;
    7868 }'
    7869 fi
    78708220
    78718221DEFS=-DHAVE_CONFIG_H
     
    78758225for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    78768226  # 1. Remove the extension, and $U if already installed.
    7877   ac_i=`echo "$ac_i" |
    7878      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    7879   # 2. Add them.
    7880   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    7881   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     8227  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     8228  ac_i=`echo "$ac_i" | sed "$ac_script"`
     8229  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     8230  #    will be set to the directory where LIBOBJS objects are built.
     8231  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     8232  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    78828233done
    78838234LIBOBJS=$ac_libobjs
     
    79108261## --------------------- ##
    79118262
    7912 # Be Bourne compatible
     8263# Be more Bourne compatible
     8264DUALCASE=1; export DUALCASE # for MKS sh
    79138265if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    79148266  emulate sh
     
    79178269  # is contrary to our usage.  Disable this feature.
    79188270  alias -g '${1+"$@"}'='"$@"'
    7919 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    7920   set -o posix
    7921 fi
    7922 DUALCASE=1; export DUALCASE # for MKS sh
    7923 
    7924 # Support unset when possible.
    7925 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    7926   as_unset=unset
    7927 else
    7928   as_unset=false
    7929 fi
    7930 
    7931 
    7932 # Work around bugs in pre-3.0 UWIN ksh.
    7933 $as_unset ENV MAIL MAILPATH
    7934 PS1='$ '
    7935 PS2='> '
    7936 PS4='+ '
    7937 
    7938 # NLS nuisances.
    7939 for as_var in \
    7940   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    7941   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    7942   LC_TELEPHONE LC_TIME
    7943 do
    7944   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    7945     eval $as_var=C; export $as_var
    7946   else
    7947     $as_unset $as_var
    7948   fi
    7949 done
    7950 
    7951 # Required to use basename.
    7952 if expr a : '\(a\)' >/dev/null 2>&1; then
    7953   as_expr=expr
    7954 else
    7955   as_expr=false
    7956 fi
    7957 
    7958 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    7959   as_basename=basename
    7960 else
    7961   as_basename=false
    7962 fi
    7963 
    7964 
    7965 # Name of the executable.
    7966 as_me=`$as_basename "$0" ||
    7967 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    7968      X"$0" : 'X\(//\)$' \| \
    7969      X"$0" : 'X\(/\)$' \| \
    7970      .     : '\(.\)' 2>/dev/null ||
    7971 echo X/"$0" |
    7972     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    7973       /^X\/\(\/\/\)$/{ s//\1/; q; }
    7974       /^X\/\(\/\).*/{ s//\1/; q; }
    7975       s/.*/./; q'`
    7976 
    7977 
    7978 # PATH needs CR, and LINENO needs CR and PATH.
     8271  setopt NO_GLOB_SUBST
     8272else
     8273  case `(set -o) 2>/dev/null` in
     8274  *posix*) set -o posix ;;
     8275esac
     8276
     8277fi
     8278
     8279
     8280
     8281
     8282# PATH needs CR
    79798283# Avoid depending upon Character Ranges.
    79808284as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    79978301fi
    79988302
    7999 
    8000   as_lineno_1=$LINENO
    8001   as_lineno_2=$LINENO
    8002   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    8003   test "x$as_lineno_1" != "x$as_lineno_2" &&
    8004   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    8005   # Find who we are.  Look in the path if we contain no path at all
    8006   # relative or not.
    8007   case $0 in
    8008     *[\\/]* ) as_myself=$0 ;;
    8009     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8303# Support unset when possible.
     8304if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     8305  as_unset=unset
     8306else
     8307  as_unset=false
     8308fi
     8309
     8310
     8311# IFS
     8312# We need space, tab and new line, in precisely that order.  Quoting is
     8313# there to prevent editors from complaining about space-tab.
     8314# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     8315# splitting by setting IFS to empty value.)
     8316as_nl='
     8317'
     8318IFS=" ""    $as_nl"
     8319
     8320# Find who we are.  Look in the path if we contain no directory separator.
     8321case $0 in
     8322  *[\\/]* ) as_myself=$0 ;;
     8323  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    80108324for as_dir in $PATH
    80118325do
     
    80148328  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    80158329done
    8016 
    8017        ;;
    8018   esac
    8019   # We did not find ourselves, most probably we were run as `sh COMMAND'
    8020   # in which case we are not to be found in the path.
    8021   if test "x$as_myself" = x; then
    8022     as_myself=$0
     8330IFS=$as_save_IFS
     8331
     8332     ;;
     8333esac
     8334# We did not find ourselves, most probably we were run as `sh COMMAND'
     8335# in which case we are not to be found in the path.
     8336if test "x$as_myself" = x; then
     8337  as_myself=$0
     8338fi
     8339if test ! -f "$as_myself"; then
     8340  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     8341  { (exit 1); exit 1; }
     8342fi
     8343
     8344# Work around bugs in pre-3.0 UWIN ksh.
     8345for as_var in ENV MAIL MAILPATH
     8346do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     8347done
     8348PS1='$ '
     8349PS2='> '
     8350PS4='+ '
     8351
     8352# NLS nuisances.
     8353for as_var in \
     8354  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     8355  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     8356  LC_TELEPHONE LC_TIME
     8357do
     8358  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     8359    eval $as_var=C; export $as_var
     8360  else
     8361    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    80238362  fi
    8024   if test ! -f "$as_myself"; then
    8025     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    8026 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    8027    { (exit 1); exit 1; }; }
    8028   fi
    8029   case $CONFIG_SHELL in
    8030   '')
    8031     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8032 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    8033 do
    8034   IFS=$as_save_IFS
    8035   test -z "$as_dir" && as_dir=.
    8036   for as_base in sh bash ksh sh5; do
    8037      case $as_dir in
    8038      /*)
    8039        if ("$as_dir/$as_base" -c '
     8363done
     8364
     8365# Required to use basename.
     8366if expr a : '\(a\)' >/dev/null 2>&1 &&
     8367   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     8368  as_expr=expr
     8369else
     8370  as_expr=false
     8371fi
     8372
     8373if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     8374  as_basename=basename
     8375else
     8376  as_basename=false
     8377fi
     8378
     8379
     8380# Name of the executable.
     8381as_me=`$as_basename -- "$0" ||
     8382$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     8383     X"$0" : 'X\(//\)$' \| \
     8384     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     8385echo X/"$0" |
     8386    sed '/^.*\/\([^/][^/]*\)\/*$/{
     8387        s//\1/
     8388        q
     8389      }
     8390      /^X\/\(\/\/\)$/{
     8391        s//\1/
     8392        q
     8393      }
     8394      /^X\/\(\/\).*/{
     8395        s//\1/
     8396        q
     8397      }
     8398      s/.*/./; q'`
     8399
     8400# CDPATH.
     8401$as_unset CDPATH
     8402
     8403
     8404
    80408405  as_lineno_1=$LINENO
    80418406  as_lineno_2=$LINENO
    8042   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    80438407  test "x$as_lineno_1" != "x$as_lineno_2" &&
    8044   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    8045          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    8046          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    8047          CONFIG_SHELL=$as_dir/$as_base
    8048          export CONFIG_SHELL
    8049          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    8050        fi;;
    8051      esac
    8052        done
    8053 done
    8054 ;;
    8055   esac
     8408  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    80568409
    80578410  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    80588411  # uniformly replaced by the line number.  The first 'sed' inserts a
    8059   # line-number line before each line; the second 'sed' does the real
    8060   # work.  The second script uses 'N' to pair each line-number line
    8061   # with the numbered line, and appends trailing '-' during
    8062   # substitution so that $LINENO is not a special case at line end.
     8412  # line-number line after each line using $LINENO; the second 'sed'
     8413  # does the real work.  The second script uses 'N' to pair each
     8414  # line-number line with the line containing $LINENO, and appends
     8415  # trailing '-' during substitution so that $LINENO is not a special
     8416  # case at line end.
    80638417  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    8064   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    8065   sed '=' <$as_myself |
     8418  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     8419  # E. McMahon (1931-1989) for sed's syntax.  :-)
     8420  sed -n '
     8421    p
     8422    /[$]LINENO/=
     8423  ' <$as_myself |
    80668424    sed '
     8425      s/[$]LINENO.*/&-/
     8426      t lineno
     8427      b
     8428      :lineno
    80678429      N
    8068       s,$,-,
    8069       : loop
    8070       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     8430      :loop
     8431      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    80718432      t loop
    8072       s,-$,,
    8073       s,^['$as_cr_digits']*\n,,
     8433      s/-\n.*//
    80748434    ' >$as_me.lineno &&
    8075   chmod +x $as_me.lineno ||
    8076     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    8077 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     8435  chmod +x "$as_me.lineno" ||
     8436    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    80788437   { (exit 1); exit 1; }; }
    80798438
    80808439  # Don't try to exec as it changes $[0], causing all sort of problems
    80818440  # (the dirname of $[0] is not the place where we might find the
    8082   # original and so on.  Autoconf is especially sensible to this).
    8083   . ./$as_me.lineno
     8441  # original and so on.  Autoconf is especially sensitive to this).
     8442  . "./$as_me.lineno"
    80848443  # Exit status is that of the last command.
    80858444  exit
     
    80878446
    80888447
    8089 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    8090   *c*,-n*) ECHO_N= ECHO_C='
    8091 ' ECHO_T='  ' ;;
    8092   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    8093   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    8094 esac
    8095 
    8096 if expr a : '\(a\)' >/dev/null 2>&1; then
     8448if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     8449  as_dirname=dirname
     8450else
     8451  as_dirname=false
     8452fi
     8453
     8454ECHO_C= ECHO_N= ECHO_T=
     8455case `echo -n x` in
     8456-n*)
     8457  case `echo 'x\c'` in
     8458  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     8459  *)   ECHO_C='\c';;
     8460  esac;;
     8461*)
     8462  ECHO_N='-n';;
     8463esac
     8464
     8465if expr a : '\(a\)' >/dev/null 2>&1 &&
     8466   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    80978467  as_expr=expr
    80988468else
     
    81018471
    81028472rm -f conf$$ conf$$.exe conf$$.file
     8473if test -d conf$$.dir; then
     8474  rm -f conf$$.dir/conf$$.file
     8475else
     8476  rm -f conf$$.dir
     8477  mkdir conf$$.dir
     8478fi
    81038479echo >conf$$.file
    81048480if ln -s conf$$.file conf$$ 2>/dev/null; then
    8105   # We could just check for DJGPP; but this test a) works b) is more generic
    8106   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    8107   if test -f conf$$.exe; then
    8108     # Don't use ln at all; we don't have any links
     8481  as_ln_s='ln -s'
     8482  # ... but there are two gotchas:
     8483  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     8484  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     8485  # In both cases, we have to default to `cp -p'.
     8486  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    81098487    as_ln_s='cp -p'
    8110   else
    8111     as_ln_s='ln -s'
    8112   fi
    81138488elif ln conf$$.file conf$$ 2>/dev/null; then
    81148489  as_ln_s=ln
     
    81168491  as_ln_s='cp -p'
    81178492fi
    8118 rm -f conf$$ conf$$.exe conf$$.file
     8493rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     8494rmdir conf$$.dir 2>/dev/null
    81198495
    81208496if mkdir -p . 2>/dev/null; then
     
    81258501fi
    81268502
    8127 as_executable_p="test -f"
     8503if test -x / >/dev/null 2>&1; then
     8504  as_test_x='test -x'
     8505else
     8506  if ls -dL / >/dev/null 2>&1; then
     8507    as_ls_L_option=L
     8508  else
     8509    as_ls_L_option=
     8510  fi
     8511  as_test_x='
     8512    eval sh -c '\''
     8513      if test -d "$1"; then
     8514        test -d "$1/.";
     8515      else
     8516    case $1 in
     8517        -*)set "./$1";;
     8518    esac;
     8519    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     8520    ???[sx]*):;;*)false;;esac;fi
     8521    '\'' sh
     8522  '
     8523fi
     8524as_executable_p=$as_test_x
    81288525
    81298526# Sed expression to map a string onto a valid CPP name.
     
    81348531
    81358532
    8136 # IFS
    8137 # We need space, tab and new line, in precisely that order.
    8138 as_nl='
    8139 '
    8140 IFS="   $as_nl"
    8141 
    8142 # CDPATH.
    8143 $as_unset CDPATH
    8144 
    81458533exec 6>&1
    81468534
    8147 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     8535# Save the log message, to keep $[0] and so on meaningful, and to
    81488536# report actual input values of CONFIG_FILES etc. instead of their
    8149 # values after options handling.  Logging --version etc. is OK.
    8150 exec 5>>config.log
    8151 {
    8152   echo
    8153   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    8154 ## Running $as_me. ##
    8155 _ASBOX
    8156 } >&5
    8157 cat >&5 <<_CSEOF
    8158 
     8537# values after options handling.
     8538ac_log="
    81598539This file was extended by $as_me, which was
    8160 generated by GNU Autoconf 2.59.  Invocation command line was
     8540generated by GNU Autoconf 2.61.  Invocation command line was
    81618541
    81628542  CONFIG_FILES    = $CONFIG_FILES
     
    81668546  $ $0 $@
    81678547
    8168 _CSEOF
    8169 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    8170 echo >&5
    8171 _ACEOF
    8172 
     8548on `(hostname || uname -n) 2>/dev/null | sed 1q`
     8549"
     8550
     8551_ACEOF
     8552
     8553cat >>$CONFIG_STATUS <<_ACEOF
    81738554# Files that config.status was made for.
    8174 if test -n "$ac_config_files"; then
    8175   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    8176 fi
    8177 
    8178 if test -n "$ac_config_headers"; then
    8179   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    8180 fi
    8181 
    8182 if test -n "$ac_config_links"; then
    8183   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    8184 fi
    8185 
    8186 if test -n "$ac_config_commands"; then
    8187   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    8188 fi
     8555config_files="$ac_config_files"
     8556config_headers="$ac_config_headers"
     8557config_commands="$ac_config_commands"
     8558
     8559_ACEOF
    81898560
    81908561cat >>$CONFIG_STATUS <<\_ACEOF
    8191 
    81928562ac_cs_usage="\
    81938563\`$as_me' instantiates files from templates according to the
     
    81978567
    81988568  -h, --help       print this help, then exit
    8199   -V, --version    print version number, then exit
     8569  -V, --version    print version number and configuration settings, then exit
    82008570  -q, --quiet      do not print progress messages
    82018571  -d, --debug      don't remove temporary files
     
    82168586
    82178587Report bugs to <[email protected]>."
    8218 _ACEOF
    8219 
     8588
     8589_ACEOF
    82208590cat >>$CONFIG_STATUS <<_ACEOF
    82218591ac_cs_version="\\
    82228592config.status
    8223 configured by $0, generated by GNU Autoconf 2.59,
    8224   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    8225 
    8226 Copyright (C) 2003 Free Software Foundation, Inc.
     8593configured by $0, generated by GNU Autoconf 2.61,
     8594  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     8595
     8596Copyright (C) 2006 Free Software Foundation, Inc.
    82278597This config.status script is free software; the Free Software Foundation
    82288598gives unlimited permission to copy, distribute and modify it."
    8229 srcdir=$srcdir
    8230 INSTALL="$INSTALL"
     8599
     8600ac_pwd='$ac_pwd'
     8601srcdir='$srcdir'
     8602INSTALL='$INSTALL'
    82318603_ACEOF
    82328604
     
    82398611  case $1 in
    82408612  --*=*)
    8241     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    8242     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     8613    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     8614    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    82438615    ac_shift=:
    82448616    ;;
    8245   -*)
     8617  *)
    82468618    ac_option=$1
    82478619    ac_optarg=$2
    82488620    ac_shift=shift
    82498621    ;;
    8250   *) # This is not an option, so the user has probably given explicit
    8251      # arguments.
    8252      ac_option=$1
    8253      ac_need_defaults=false;;
    82548622  esac
    82558623
    82568624  case $ac_option in
    82578625  # Handling of the options.
    8258 _ACEOF
    8259 cat >>$CONFIG_STATUS <<\_ACEOF
    82608626  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    82618627    ac_cs_recheck=: ;;
    8262   --version | --vers* | -V )
    8263     echo "$ac_cs_version"; exit 0 ;;
    8264   --he | --h)
    8265     # Conflict between --help and --header
    8266     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    8267 Try \`$0 --help' for more information." >&5
    8268 echo "$as_me: error: ambiguous option: $1
    8269 Try \`$0 --help' for more information." >&2;}
    8270    { (exit 1); exit 1; }; };;
    8271   --help | --hel | -h )
    8272     echo "$ac_cs_usage"; exit 0 ;;
    8273   --debug | --d* | -d )
     8628  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     8629    echo "$ac_cs_version"; exit ;;
     8630  --debug | --debu | --deb | --de | --d | -d )
    82748631    debug=: ;;
    82758632  --file | --fil | --fi | --f )
     
    82818638    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    82828639    ac_need_defaults=false;;
     8640  --he | --h)
     8641    # Conflict between --help and --header
     8642    { echo "$as_me: error: ambiguous option: $1
     8643Try \`$0 --help' for more information." >&2
     8644   { (exit 1); exit 1; }; };;
     8645  --help | --hel | -h )
     8646    echo "$ac_cs_usage"; exit ;;
    82838647  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    82848648  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    82868650
    82878651  # This is an error.
    8288   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    8289 Try \`$0 --help' for more information." >&5
    8290 echo "$as_me: error: unrecognized option: $1
    8291 Try \`$0 --help' for more information." >&2;}
     8652  -*) { echo "$as_me: error: unrecognized option: $1
     8653Try \`$0 --help' for more information." >&2
    82928654   { (exit 1); exit 1; }; } ;;
    82938655
    8294   *) ac_config_targets="$ac_config_targets $1" ;;
     8656  *) ac_config_targets="$ac_config_targets $1"
     8657     ac_need_defaults=false ;;
    82958658
    82968659  esac
     
    83088671cat >>$CONFIG_STATUS <<_ACEOF
    83098672if \$ac_cs_recheck; then
    8310   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    8311   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    8312 fi
    8313 
    8314 _ACEOF
    8315 
    8316 
    8317 
    8318 
    8319 
     8673  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     8674  CONFIG_SHELL=$SHELL
     8675  export CONFIG_SHELL
     8676  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     8677fi
     8678
     8679_ACEOF
    83208680cat >>$CONFIG_STATUS <<\_ACEOF
     8681exec 5>>config.log
     8682{
     8683  echo
     8684  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     8685## Running $as_me. ##
     8686_ASBOX
     8687  echo "$ac_log"
     8688} >&5
     8689
     8690_ACEOF
     8691cat >>$CONFIG_STATUS <<_ACEOF
     8692_ACEOF
     8693
     8694cat >>$CONFIG_STATUS <<\_ACEOF
     8695
     8696# Handling of arguments.
    83218697for ac_config_target in $ac_config_targets
    83228698do
    8323   case "$ac_config_target" in
    8324   # Handling of arguments.
    8325   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    8326   "text/Makefile" ) CONFIG_FILES="$CONFIG_FILES text/Makefile" ;;
    8327   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
    8328   "jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
    8329   "java/org/greenstone/mgpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mgpp/Makefile" ;;
    8330   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
    8331   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     8699  case $ac_config_target in
     8700    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     8701    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     8702    "text/Makefile") CONFIG_FILES="$CONFIG_FILES text/Makefile" ;;
     8703    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
     8704    "jni/Makefile") CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
     8705    "java/org/greenstone/mgpp/Makefile") CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mgpp/Makefile" ;;
     8706    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
     8707
    83328708  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    83338709echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     
    83358711  esac
    83368712done
     8713
    83378714
    83388715# If the user did not use the arguments to specify the items to instantiate,
     
    83478724
    83488725# Have a temporary directory for convenience.  Make it in the build tree
    8349 # simply because there is no reason to put it here, and in addition,
     8726# simply because there is no reason against having it here, and in addition,
    83508727# creating and moving files from /tmp can sometimes cause problems.
    8351 # Create a temporary directory, and hook for its removal unless debugging.
     8728# Hook for its removal unless debugging.
     8729# Note that there is a small window in which the directory will not be cleaned:
     8730# after its creation but before its name has been assigned to `$tmp'.
    83528731$debug ||
    83538732{
    8354   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     8733  tmp=
     8734  trap 'exit_status=$?
     8735  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     8736' 0
    83558737  trap '{ (exit 1); exit 1; }' 1 2 13 15
    83568738}
    8357 
    83588739# Create a (secure) tmp directory for tmp files.
    83598740
    83608741{
    8361   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     8742  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    83628743  test -n "$tmp" && test -d "$tmp"
    83638744}  ||
    83648745{
    8365   tmp=./confstat$$-$RANDOM
    8366   (umask 077 && mkdir $tmp)
     8746  tmp=./conf$$-$RANDOM
     8747  (umask 077 && mkdir "$tmp")
    83678748} ||
    83688749{
     
    83718752}
    83728753
    8373 _ACEOF
    8374 
    8375 cat >>$CONFIG_STATUS <<_ACEOF
    8376 
    83778754#
    8378 # CONFIG_FILES section.
     8755# Set up the sed scripts for CONFIG_FILES section.
    83798756#
    83808757
    83818758# No need to generate the scripts if there are no CONFIG_FILES.
    83828759# This happens for instance when ./config.status config.h
    8383 if test -n "\$CONFIG_FILES"; then
    8384   # Protect against being on the right side of a sed subst in config.status.
    8385   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    8386    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    8387 s,@SHELL@,$SHELL,;t t
    8388 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    8389 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    8390 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    8391 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    8392 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    8393 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    8394 s,@exec_prefix@,$exec_prefix,;t t
    8395 s,@prefix@,$prefix,;t t
    8396 s,@program_transform_name@,$program_transform_name,;t t
    8397 s,@bindir@,$bindir,;t t
    8398 s,@sbindir@,$sbindir,;t t
    8399 s,@libexecdir@,$libexecdir,;t t
    8400 s,@datadir@,$datadir,;t t
    8401 s,@sysconfdir@,$sysconfdir,;t t
    8402 s,@sharedstatedir@,$sharedstatedir,;t t
    8403 s,@localstatedir@,$localstatedir,;t t
    8404 s,@libdir@,$libdir,;t t
    8405 s,@includedir@,$includedir,;t t
    8406 s,@oldincludedir@,$oldincludedir,;t t
    8407 s,@infodir@,$infodir,;t t
    8408 s,@mandir@,$mandir,;t t
    8409 s,@build_alias@,$build_alias,;t t
    8410 s,@host_alias@,$host_alias,;t t
    8411 s,@target_alias@,$target_alias,;t t
    8412 s,@DEFS@,$DEFS,;t t
    8413 s,@ECHO_C@,$ECHO_C,;t t
    8414 s,@ECHO_N@,$ECHO_N,;t t
    8415 s,@ECHO_T@,$ECHO_T,;t t
    8416 s,@LIBS@,$LIBS,;t t
    8417 s,@build@,$build,;t t
    8418 s,@build_cpu@,$build_cpu,;t t
    8419 s,@build_vendor@,$build_vendor,;t t
    8420 s,@build_os@,$build_os,;t t
    8421 s,@host@,$host,;t t
    8422 s,@host_cpu@,$host_cpu,;t t
    8423 s,@host_vendor@,$host_vendor,;t t
    8424 s,@host_os@,$host_os,;t t
    8425 s,@target@,$target,;t t
    8426 s,@target_cpu@,$target_cpu,;t t
    8427 s,@target_vendor@,$target_vendor,;t t
    8428 s,@target_os@,$target_os,;t t
    8429 s,@PACKAGE@,$PACKAGE,;t t
    8430 s,@VERSION@,$VERSION,;t t
    8431 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
    8432 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    8433 s,@CXX@,$CXX,;t t
    8434 s,@CXXFLAGS@,$CXXFLAGS,;t t
    8435 s,@LDFLAGS@,$LDFLAGS,;t t
    8436 s,@CPPFLAGS@,$CPPFLAGS,;t t
    8437 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    8438 s,@EXEEXT@,$EXEEXT,;t t
    8439 s,@OBJEXT@,$OBJEXT,;t t
    8440 s,@AWK@,$AWK,;t t
    8441 s,@YACC@,$YACC,;t t
    8442 s,@CC@,$CC,;t t
    8443 s,@CFLAGS@,$CFLAGS,;t t
    8444 s,@ac_ct_CC@,$ac_ct_CC,;t t
    8445 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    8446 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    8447 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    8448 s,@LN_S@,$LN_S,;t t
    8449 s,@SET_MAKE@,$SET_MAKE,;t t
    8450 s,@RANLIB@,$RANLIB,;t t
    8451 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    8452 s,@CPP@,$CPP,;t t
    8453 s,@EGREP@,$EGREP,;t t
    8454 s,@U@,$U,;t t
    8455 s,@ANSI2KNR@,$ANSI2KNR,;t t
    8456 s,@UNAC_DIR@,$UNAC_DIR,;t t
    8457 s,@LIBICONV_DIR@,$LIBICONV_DIR,;t t
    8458 s,@ALLOCA@,$ALLOCA,;t t
    8459 s,@LIBOBJS@,$LIBOBJS,;t t
    8460 s,@JNIINC@,$JNIINC,;t t
    8461 s,@JNISUFFIX@,$JNISUFFIX,;t t
    8462 s,@JNIFLAGS@,$JNIFLAGS,;t t
    8463 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    8464 CEOF
    8465 
    8466 _ACEOF
    8467 
    8468   cat >>$CONFIG_STATUS <<\_ACEOF
    8469   # Split the substitutions into bite-sized pieces for seds with
    8470   # small command number limits, like on Digital OSF/1 and HP-UX.
    8471   ac_max_sed_lines=48
    8472   ac_sed_frag=1 # Number of current file.
    8473   ac_beg=1 # First line for current file.
    8474   ac_end=$ac_max_sed_lines # Line after last line for current file.
    8475   ac_more_lines=:
    8476   ac_sed_cmds=
    8477   while $ac_more_lines; do
    8478     if test $ac_beg -gt 1; then
    8479       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    8480     else
    8481       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     8760if test -n "$CONFIG_FILES"; then
     8761
     8762_ACEOF
     8763
     8764
     8765
     8766ac_delim='%!_!# '
     8767for ac_last_try in false false false false false :; do
     8768  cat >conf$$subs.sed <<_ACEOF
     8769SHELL!$SHELL$ac_delim
     8770PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
     8771PACKAGE_NAME!$PACKAGE_NAME$ac_delim
     8772PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
     8773PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
     8774PACKAGE_STRING!$PACKAGE_STRING$ac_delim
     8775PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
     8776exec_prefix!$exec_prefix$ac_delim
     8777prefix!$prefix$ac_delim
     8778program_transform_name!$program_transform_name$ac_delim
     8779bindir!$bindir$ac_delim
     8780sbindir!$sbindir$ac_delim
     8781libexecdir!$libexecdir$ac_delim
     8782datarootdir!$datarootdir$ac_delim
     8783datadir!$datadir$ac_delim
     8784sysconfdir!$sysconfdir$ac_delim
     8785sharedstatedir!$sharedstatedir$ac_delim
     8786localstatedir!$localstatedir$ac_delim
     8787includedir!$includedir$ac_delim
     8788oldincludedir!$oldincludedir$ac_delim
     8789docdir!$docdir$ac_delim
     8790infodir!$infodir$ac_delim
     8791htmldir!$htmldir$ac_delim
     8792dvidir!$dvidir$ac_delim
     8793pdfdir!$pdfdir$ac_delim
     8794psdir!$psdir$ac_delim
     8795libdir!$libdir$ac_delim
     8796localedir!$localedir$ac_delim
     8797mandir!$mandir$ac_delim
     8798DEFS!$DEFS$ac_delim
     8799ECHO_C!$ECHO_C$ac_delim
     8800ECHO_N!$ECHO_N$ac_delim
     8801ECHO_T!$ECHO_T$ac_delim
     8802LIBS!$LIBS$ac_delim
     8803build_alias!$build_alias$ac_delim
     8804host_alias!$host_alias$ac_delim
     8805target_alias!$target_alias$ac_delim
     8806build!$build$ac_delim
     8807build_cpu!$build_cpu$ac_delim
     8808build_vendor!$build_vendor$ac_delim
     8809build_os!$build_os$ac_delim
     8810host!$host$ac_delim
     8811host_cpu!$host_cpu$ac_delim
     8812host_vendor!$host_vendor$ac_delim
     8813host_os!$host_os$ac_delim
     8814target!$target$ac_delim
     8815target_cpu!$target_cpu$ac_delim
     8816target_vendor!$target_vendor$ac_delim
     8817target_os!$target_os$ac_delim
     8818PACKAGE!$PACKAGE$ac_delim
     8819VERSION!$VERSION$ac_delim
     8820COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim
     8821ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim
     8822CXX!$CXX$ac_delim
     8823CXXFLAGS!$CXXFLAGS$ac_delim
     8824LDFLAGS!$LDFLAGS$ac_delim
     8825CPPFLAGS!$CPPFLAGS$ac_delim
     8826ac_ct_CXX!$ac_ct_CXX$ac_delim
     8827EXEEXT!$EXEEXT$ac_delim
     8828OBJEXT!$OBJEXT$ac_delim
     8829AWK!$AWK$ac_delim
     8830YACC!$YACC$ac_delim
     8831YFLAGS!$YFLAGS$ac_delim
     8832CC!$CC$ac_delim
     8833CFLAGS!$CFLAGS$ac_delim
     8834ac_ct_CC!$ac_ct_CC$ac_delim
     8835INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
     8836INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
     8837INSTALL_DATA!$INSTALL_DATA$ac_delim
     8838LN_S!$LN_S$ac_delim
     8839SET_MAKE!$SET_MAKE$ac_delim
     8840RANLIB!$RANLIB$ac_delim
     8841CPP!$CPP$ac_delim
     8842GREP!$GREP$ac_delim
     8843EGREP!$EGREP$ac_delim
     8844U!$U$ac_delim
     8845ANSI2KNR!$ANSI2KNR$ac_delim
     8846UNAC_DIR!$UNAC_DIR$ac_delim
     8847ALLOCA!$ALLOCA$ac_delim
     8848LIBOBJS!$LIBOBJS$ac_delim
     8849JNIINC!$JNIINC$ac_delim
     8850JNISUFFIX!$JNISUFFIX$ac_delim
     8851JNIFLAGS!$JNIFLAGS$ac_delim
     8852LTLIBOBJS!$LTLIBOBJS$ac_delim
     8853_ACEOF
     8854
     8855  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
     8856    break
     8857  elif $ac_last_try; then
     8858    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     8859echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     8860   { (exit 1); exit 1; }; }
     8861  else
     8862    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     8863  fi
     8864done
     8865
     8866ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
     8867if test -n "$ac_eof"; then
     8868  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
     8869  ac_eof=`expr $ac_eof + 1`
     8870fi
     8871
     8872cat >>$CONFIG_STATUS <<_ACEOF
     8873cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
     8874/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
     8875_ACEOF
     8876sed '
     8877s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
     8878s/^/s,@/; s/!/@,|#_!!_#|/
     8879:n
     8880t n
     8881s/'"$ac_delim"'$/,g/; t
     8882s/$/\\/; p
     8883N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
     8884' >>$CONFIG_STATUS <conf$$subs.sed
     8885rm -f conf$$subs.sed
     8886cat >>$CONFIG_STATUS <<_ACEOF
     8887:end
     8888s/|#_!!_#|//g
     8889CEOF$ac_eof
     8890_ACEOF
     8891
     8892
     8893# VPATH may cause trouble with some makes, so we remove $(srcdir),
     8894# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     8895# trailing colons and then remove the whole line if VPATH becomes empty
     8896# (actually we leave an empty line to preserve line numbers).
     8897if test "x$srcdir" = x.; then
     8898  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     8899s/:*\$(srcdir):*/:/
     8900s/:*\${srcdir}:*/:/
     8901s/:*@srcdir@:*/:/
     8902s/^\([^=]*=[     ]*\):*/\1/
     8903s/:*$//
     8904s/^[^=]*=[   ]*$//
     8905}'
     8906fi
     8907
     8908cat >>$CONFIG_STATUS <<\_ACEOF
     8909fi # test -n "$CONFIG_FILES"
     8910
     8911
     8912for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
     8913do
     8914  case $ac_tag in
     8915  :[FHLC]) ac_mode=$ac_tag; continue;;
     8916  esac
     8917  case $ac_mode$ac_tag in
     8918  :[FHL]*:*);;
     8919  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
     8920echo "$as_me: error: Invalid tag $ac_tag." >&2;}
     8921   { (exit 1); exit 1; }; };;
     8922  :[FH]-) ac_tag=-:-;;
     8923  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     8924  esac
     8925  ac_save_IFS=$IFS
     8926  IFS=:
     8927  set x $ac_tag
     8928  IFS=$ac_save_IFS
     8929  shift
     8930  ac_file=$1
     8931  shift
     8932
     8933  case $ac_mode in
     8934  :L) ac_source=$1;;
     8935  :[FH])
     8936    ac_file_inputs=
     8937    for ac_f
     8938    do
     8939      case $ac_f in
     8940      -) ac_f="$tmp/stdin";;
     8941      *) # Look for the file first in the build tree, then in the source tree
     8942     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     8943     # because $ac_f cannot contain `:'.
     8944     test -f "$ac_f" ||
     8945       case $ac_f in
     8946       [\\/$]*) false;;
     8947       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     8948       esac ||
     8949       { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     8950echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     8951   { (exit 1); exit 1; }; };;
     8952      esac
     8953      ac_file_inputs="$ac_file_inputs $ac_f"
     8954    done
     8955
     8956    # Let's still pretend it is `configure' which instantiates (i.e., don't
     8957    # use $as_me), people would be surprised to read:
     8958    #    /* config.h.  Generated by config.status.  */
     8959    configure_input="Generated from "`IFS=:
     8960      echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
     8961    if test x"$ac_file" != x-; then
     8962      configure_input="$ac_file.  $configure_input"
     8963      { echo "$as_me:$LINENO: creating $ac_file" >&5
     8964echo "$as_me: creating $ac_file" >&6;}
    84828965    fi
    8483     if test ! -s $tmp/subs.frag; then
    8484       ac_more_lines=false
    8485     else
    8486       # The purpose of the label and of the branching condition is to
    8487       # speed up the sed processing (if there are no `@' at all, there
    8488       # is no need to browse any of the substitutions).
    8489       # These are the two extra sed commands mentioned above.
    8490       (echo ':t
    8491   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    8492       if test -z "$ac_sed_cmds"; then
    8493     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    8494       else
    8495     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    8496       fi
    8497       ac_sed_frag=`expr $ac_sed_frag + 1`
    8498       ac_beg=$ac_end
    8499       ac_end=`expr $ac_end + $ac_max_sed_lines`
    8500     fi
    8501   done
    8502   if test -z "$ac_sed_cmds"; then
    8503     ac_sed_cmds=cat
    8504   fi
    8505 fi # test -n "$CONFIG_FILES"
    8506 
    8507 _ACEOF
    8508 cat >>$CONFIG_STATUS <<\_ACEOF
    8509 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    8510   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8511   case $ac_file in
    8512   - | *:- | *:-:* ) # input from stdin
    8513     cat >$tmp/stdin
    8514     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8515     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8516   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8517     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8518   * )   ac_file_in=$ac_file.in ;;
     8966
     8967    case $ac_tag in
     8968    *:-:* | *:-) cat >"$tmp/stdin";;
     8969    esac
     8970    ;;
    85198971  esac
    85208972
    8521   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    8522   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     8973  ac_dir=`$as_dirname -- "$ac_file" ||
    85238974$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    85248975     X"$ac_file" : 'X\(//\)[^/]' \| \
    85258976     X"$ac_file" : 'X\(//\)$' \| \
    8526      X"$ac_file" : 'X\(/\)' \| \
    8527      .     : '\(.\)' 2>/dev/null ||
     8977     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    85288978echo X"$ac_file" |
    8529     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8530       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8531       /^X\(\/\/\)$/{ s//\1/; q; }
    8532       /^X\(\/\).*/{ s//\1/; q; }
    8533       s/.*/./; q'`
    8534   { if $as_mkdir_p; then
    8535     mkdir -p "$ac_dir"
    8536   else
    8537     as_dir="$ac_dir"
     8979    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8980        s//\1/
     8981        q
     8982      }
     8983      /^X\(\/\/\)[^/].*/{
     8984        s//\1/
     8985        q
     8986      }
     8987      /^X\(\/\/\)$/{
     8988        s//\1/
     8989        q
     8990      }
     8991      /^X\(\/\).*/{
     8992        s//\1/
     8993        q
     8994      }
     8995      s/.*/./; q'`
     8996  { as_dir="$ac_dir"
     8997  case $as_dir in #(
     8998  -*) as_dir=./$as_dir;;
     8999  esac
     9000  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    85389001    as_dirs=
    8539     while test ! -d "$as_dir"; do
    8540       as_dirs="$as_dir $as_dirs"
    8541       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     9002    while :; do
     9003      case $as_dir in #(
     9004      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
     9005      *) as_qdir=$as_dir;;
     9006      esac
     9007      as_dirs="'$as_qdir' $as_dirs"
     9008      as_dir=`$as_dirname -- "$as_dir" ||
    85429009$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    85439010     X"$as_dir" : 'X\(//\)[^/]' \| \
    85449011     X"$as_dir" : 'X\(//\)$' \| \
    8545      X"$as_dir" : 'X\(/\)' \| \
    8546      .     : '\(.\)' 2>/dev/null ||
     9012     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    85479013echo X"$as_dir" |
    8548     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8549       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8550       /^X\(\/\/\)$/{ s//\1/; q; }
    8551       /^X\(\/\).*/{ s//\1/; q; }
    8552       s/.*/./; q'`
     9014    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     9015        s//\1/
     9016        q
     9017      }
     9018      /^X\(\/\/\)[^/].*/{
     9019        s//\1/
     9020        q
     9021      }
     9022      /^X\(\/\/\)$/{
     9023        s//\1/
     9024        q
     9025      }
     9026      /^X\(\/\).*/{
     9027        s//\1/
     9028        q
     9029      }
     9030      s/.*/./; q'`
     9031      test -d "$as_dir" && break
    85539032    done
    8554     test ! -n "$as_dirs" || mkdir $as_dirs
    8555   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8556 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     9033    test -z "$as_dirs" || eval "mkdir $as_dirs"
     9034  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     9035echo "$as_me: error: cannot create directory $as_dir" >&2;}
    85579036   { (exit 1); exit 1; }; }; }
    8558 
    85599037  ac_builddir=.
    85609038
    8561 if test "$ac_dir" != .; then
     9039case "$ac_dir" in
     9040.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     9041*)
    85629042  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8563   # A "../" for each directory in $ac_dir_suffix.
    8564   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8565 else
    8566   ac_dir_suffix= ac_top_builddir=
    8567 fi
     9043  # A ".." for each directory in $ac_dir_suffix.
     9044  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     9045  case $ac_top_builddir_sub in
     9046  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     9047  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     9048  esac ;;
     9049esac
     9050ac_abs_top_builddir=$ac_pwd
     9051ac_abs_builddir=$ac_pwd$ac_dir_suffix
     9052# for backward compatibility:
     9053ac_top_builddir=$ac_top_build_prefix
    85689054
    85699055case $srcdir in
    8570   .)  # No --srcdir option.  We are building in place.
     9056  .)  # We are building in place.
    85719057    ac_srcdir=.
    8572     if test -z "$ac_top_builddir"; then
    8573        ac_top_srcdir=.
    8574     else
    8575        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8576     fi ;;
    8577   [\\/]* | ?:[\\/]* )  # Absolute path.
     9058    ac_top_srcdir=$ac_top_builddir_sub
     9059    ac_abs_top_srcdir=$ac_pwd ;;
     9060  [\\/]* | ?:[\\/]* )  # Absolute name.
    85789061    ac_srcdir=$srcdir$ac_dir_suffix;
    8579     ac_top_srcdir=$srcdir ;;
    8580   *) # Relative path.
    8581     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8582     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8583 esac
    8584 
    8585 # Do not use `cd foo && pwd` to compute absolute paths, because
    8586 # the directories may not exist.
    8587 case `pwd` in
    8588 .) ac_abs_builddir="$ac_dir";;
    8589 *)
    8590   case "$ac_dir" in
    8591   .) ac_abs_builddir=`pwd`;;
    8592   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8593   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8594   esac;;
    8595 esac
    8596 case $ac_abs_builddir in
    8597 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8598 *)
    8599   case ${ac_top_builddir}. in
    8600   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8601   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8602   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8603   esac;;
    8604 esac
    8605 case $ac_abs_builddir in
    8606 .) ac_abs_srcdir=$ac_srcdir;;
    8607 *)
    8608   case $ac_srcdir in
    8609   .) ac_abs_srcdir=$ac_abs_builddir;;
    8610   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8611   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8612   esac;;
    8613 esac
    8614 case $ac_abs_builddir in
    8615 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8616 *)
    8617   case $ac_top_srcdir in
    8618   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8619   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8620   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8621   esac;;
    8622 esac
    8623 
     9062    ac_top_srcdir=$srcdir
     9063    ac_abs_top_srcdir=$srcdir ;;
     9064  *) # Relative name.
     9065    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     9066    ac_top_srcdir=$ac_top_build_prefix$srcdir
     9067    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     9068esac
     9069ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     9070
     9071
     9072  case $ac_mode in
     9073  :F)
     9074  #
     9075  # CONFIG_FILE
     9076  #
    86249077
    86259078  case $INSTALL in
    86269079  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    8627   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     9080  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    86289081  esac
    8629 
    8630   if test x"$ac_file" != x-; then
    8631     { echo "$as_me:$LINENO: creating $ac_file" >&5
    8632 echo "$as_me: creating $ac_file" >&6;}
    8633     rm -f "$ac_file"
    8634   fi
    8635   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8636   # use $as_me), people would be surprised to read:
    8637   #    /* config.h.  Generated by config.status.  */
    8638   if test x"$ac_file" = x-; then
    8639     configure_input=
    8640   else
    8641     configure_input="$ac_file.  "
    8642   fi
    8643   configure_input=$configure_input"Generated from `echo $ac_file_in |
    8644                      sed 's,.*/,,'` by configure."
    8645 
    8646   # First look for the input files in the build tree, otherwise in the
    8647   # src tree.
    8648   ac_file_inputs=`IFS=:
    8649     for f in $ac_file_in; do
    8650       case $f in
    8651       -) echo $tmp/stdin ;;
    8652       [\\/$]*)
    8653      # Absolute (can't be DOS-style, as IFS=:)
    8654      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8655 echo "$as_me: error: cannot find input file: $f" >&2;}
    8656    { (exit 1); exit 1; }; }
    8657      echo "$f";;
    8658       *) # Relative
    8659      if test -f "$f"; then
    8660        # Build tree
    8661        echo "$f"
    8662      elif test -f "$srcdir/$f"; then
    8663        # Source tree
    8664        echo "$srcdir/$f"
    8665      else
    8666        # /dev/null tree
    8667        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8668 echo "$as_me: error: cannot find input file: $f" >&2;}
    8669    { (exit 1); exit 1; }; }
    8670      fi;;
    8671       esac
    8672     done` || { (exit 1); exit 1; }
    8673 _ACEOF
     9082_ACEOF
     9083
     9084cat >>$CONFIG_STATUS <<\_ACEOF
     9085# If the template does not know about datarootdir, expand it.
     9086# FIXME: This hack should be removed a few years after 2.60.
     9087ac_datarootdir_hack=; ac_datarootdir_seen=
     9088
     9089case `sed -n '/datarootdir/ {
     9090  p
     9091  q
     9092}
     9093/@datadir@/p
     9094/@docdir@/p
     9095/@infodir@/p
     9096/@localedir@/p
     9097/@mandir@/p
     9098' $ac_file_inputs` in
     9099*datarootdir*) ac_datarootdir_seen=yes;;
     9100*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     9101  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     9102echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     9103_ACEOF
     9104cat >>$CONFIG_STATUS <<_ACEOF
     9105  ac_datarootdir_hack='
     9106  s&@datadir@&$datadir&g
     9107  s&@docdir@&$docdir&g
     9108  s&@infodir@&$infodir&g
     9109  s&@localedir@&$localedir&g
     9110  s&@mandir@&$mandir&g
     9111    s&\\\${datarootdir}&$datarootdir&g' ;;
     9112esac
     9113_ACEOF
     9114
     9115# Neutralize VPATH when `$srcdir' = `.'.
     9116# Shell code in configure.ac might set extrasub.
     9117# FIXME: do we really want to maintain this feature?
    86749118cat >>$CONFIG_STATUS <<_ACEOF
    86759119  sed "$ac_vpsub
     
    86799123:t
    86809124/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    8681 s,@configure_input@,$configure_input,;t t
    8682 s,@srcdir@,$ac_srcdir,;t t
    8683 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    8684 s,@top_srcdir@,$ac_top_srcdir,;t t
    8685 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    8686 s,@builddir@,$ac_builddir,;t t
    8687 s,@abs_builddir@,$ac_abs_builddir,;t t
    8688 s,@top_builddir@,$ac_top_builddir,;t t
    8689 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    8690 s,@INSTALL@,$ac_INSTALL,;t t
    8691 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    8692   rm -f $tmp/stdin
    8693   if test x"$ac_file" != x-; then
    8694     mv $tmp/out $ac_file
    8695   else
    8696     cat $tmp/out
    8697     rm -f $tmp/out
    8698   fi
    8699 
    8700 done
    8701 _ACEOF
    8702 cat >>$CONFIG_STATUS <<\_ACEOF
    8703 
    8704 #
    8705 # CONFIG_HEADER section.
    8706 #
    8707 
    8708 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    8709 # NAME is the cpp macro being defined and VALUE is the value it is being given.
    8710 #
    8711 # ac_d sets the value in "#define NAME VALUE" lines.
    8712 ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
    8713 ac_dB='[     ].*$,\1#\2'
     9125s&@configure_input@&$configure_input&;t t
     9126s&@top_builddir@&$ac_top_builddir_sub&;t t
     9127s&@srcdir@&$ac_srcdir&;t t
     9128s&@abs_srcdir@&$ac_abs_srcdir&;t t
     9129s&@top_srcdir@&$ac_top_srcdir&;t t
     9130s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     9131s&@builddir@&$ac_builddir&;t t
     9132s&@abs_builddir@&$ac_abs_builddir&;t t
     9133s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     9134s&@INSTALL@&$ac_INSTALL&;t t
     9135$ac_datarootdir_hack
     9136" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
     9137
     9138test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     9139  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     9140  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     9141  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     9142which seems to be undefined.  Please make sure it is defined." >&5
     9143echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     9144which seems to be undefined.  Please make sure it is defined." >&2;}
     9145
     9146  rm -f "$tmp/stdin"
     9147  case $ac_file in
     9148  -) cat "$tmp/out"; rm -f "$tmp/out";;
     9149  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
     9150  esac
     9151 ;;
     9152  :H)
     9153  #
     9154  # CONFIG_HEADER
     9155  #
     9156_ACEOF
     9157
     9158# Transform confdefs.h into a sed script `conftest.defines', that
     9159# substitutes the proper values into config.h.in to produce config.h.
     9160rm -f conftest.defines conftest.tail
     9161# First, append a space to every undef/define line, to ease matching.
     9162echo 's/$/ /' >conftest.defines
     9163# Then, protect against being on the right side of a sed subst, or in
     9164# an unquoted here document, in config.status.  If some macros were
     9165# called several times there might be several #defines for the same
     9166# symbol, which is useless.  But do not sort them, since the last
     9167# AC_DEFINE must be honored.
     9168ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     9169# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
     9170# NAME is the cpp macro being defined, VALUE is the value it is being given.
     9171# PARAMS is the parameter list in the macro definition--in most cases, it's
     9172# just an empty string.
     9173ac_dA='s,^\\([   #]*\\)[^    ]*\\([  ]*'
     9174ac_dB='\\)[  (].*,\\1define\\2'
    87149175ac_dC=' '
    8715 ac_dD=',;t'
    8716 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    8717 ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
    8718 ac_uB='$,\1#\2define\3'
    8719 ac_uC=' '
    8720 ac_uD=',;t'
    8721 
    8722 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    8723   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8724   case $ac_file in
    8725   - | *:- | *:-:* ) # input from stdin
    8726     cat >$tmp/stdin
    8727     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8728     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8729   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8730     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8731   * )   ac_file_in=$ac_file.in ;;
    8732   esac
    8733 
    8734   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    8735 echo "$as_me: creating $ac_file" >&6;}
    8736 
    8737   # First look for the input files in the build tree, otherwise in the
    8738   # src tree.
    8739   ac_file_inputs=`IFS=:
    8740     for f in $ac_file_in; do
    8741       case $f in
    8742       -) echo $tmp/stdin ;;
    8743       [\\/$]*)
    8744      # Absolute (can't be DOS-style, as IFS=:)
    8745      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8746 echo "$as_me: error: cannot find input file: $f" >&2;}
    8747    { (exit 1); exit 1; }; }
    8748      # Do quote $f, to prevent DOS paths from being IFS'd.
    8749      echo "$f";;
    8750       *) # Relative
    8751      if test -f "$f"; then
    8752        # Build tree
    8753        echo "$f"
    8754      elif test -f "$srcdir/$f"; then
    8755        # Source tree
    8756        echo "$srcdir/$f"
    8757      else
    8758        # /dev/null tree
    8759        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8760 echo "$as_me: error: cannot find input file: $f" >&2;}
    8761    { (exit 1); exit 1; }; }
    8762      fi;;
    8763       esac
    8764     done` || { (exit 1); exit 1; }
    8765   # Remove the trailing spaces.
    8766   sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
    8767 
    8768 _ACEOF
    8769 
    8770 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    8771 # `conftest.undefs', that substitutes the proper values into
    8772 # config.h.in to produce config.h.  The first handles `#define'
    8773 # templates, and the second `#undef' templates.
    8774 # And first: Protect against being on the right side of a sed subst in
    8775 # config.status.  Protect against being in an unquoted here document
    8776 # in config.status.
    8777 rm -f conftest.defines conftest.undefs
    8778 # Using a here document instead of a string reduces the quoting nightmare.
    8779 # Putting comments in sed scripts is not portable.
    8780 #
    8781 # `end' is used to avoid that the second main sed command (meant for
    8782 # 0-ary CPP macros) applies to n-ary macro definitions.
    8783 # See the Autoconf documentation for `clear'.
    8784 cat >confdef2sed.sed <<\_ACEOF
    8785 s/[\\&,]/\\&/g
    8786 s,[\\$`],\\&,g
    8787 t clear
    8788 : clear
    8789 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    8790 t end
    8791 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    8792 : end
    8793 _ACEOF
    8794 # If some macros were called several times there might be several times
    8795 # the same #defines, which is useless.  Nevertheless, we may not want to
    8796 # sort them, since we want the *last* AC-DEFINE to be honored.
    8797 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    8798 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    8799 rm -f confdef2sed.sed
    8800 
    8801 # This sed command replaces #undef with comments.  This is necessary, for
     9176ac_dD=' ,'
     9177
     9178uniq confdefs.h |
     9179  sed -n '
     9180    t rset
     9181    :rset
     9182    s/^[     ]*#[    ]*define[   ][  ]*//
     9183    t ok
     9184    d
     9185    :ok
     9186    s/[\\&,]/\\&/g
     9187    s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
     9188    s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
     9189  ' >>conftest.defines
     9190
     9191# Remove the space that was appended to ease matching.
     9192# Then replace #undef with comments.  This is necessary, for
    88029193# example, in the case of _POSIX_SOURCE, which is predefined and required
    88039194# on some systems where configure will not decide to define it.
    8804 cat >>conftest.undefs <<\_ACEOF
    8805 s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    8806 _ACEOF
    8807 
    8808 # Break up conftest.defines because some shells have a limit on the size
    8809 # of here documents, and old seds have small limits too (100 cmds).
    8810 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    8811 echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    8812 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    8813 echo '  :' >>$CONFIG_STATUS
    8814 rm -f conftest.tail
    8815 while grep . conftest.defines >/dev/null
     9195# (The regexp can be short, since the line contains either #define or #undef.)
     9196echo 's/ $//
     9197s,^[     #]*u.*,/* & */,' >>conftest.defines
     9198
     9199# Break up conftest.defines:
     9200ac_max_sed_lines=50
     9201
     9202# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
     9203# Second one is:     sed -f defines.sed "$tmp/out1" >"$tmp/out2"
     9204# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
     9205# et cetera.
     9206ac_in='$ac_file_inputs'
     9207ac_out='"$tmp/out1"'
     9208ac_nxt='"$tmp/out2"'
     9209
     9210while :
    88169211do
    8817   # Write a limited-size here document to $tmp/defines.sed.
    8818   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    8819   # Speed up: don't consider the non `#define' lines.
    8820   echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
    8821   # Work around the forget-to-reset-the-flag bug.
    8822   echo 't clr' >>$CONFIG_STATUS
    8823   echo ': clr' >>$CONFIG_STATUS
    8824   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
     9212  # Write a here document:
     9213    cat >>$CONFIG_STATUS <<_ACEOF
     9214    # First, check the format of the line:
     9215    cat >"\$tmp/defines.sed" <<\\CEOF
     9216/^[  ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
     9217/^[  ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
     9218b
     9219:def
     9220_ACEOF
     9221  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
    88259222  echo 'CEOF
    8826   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    8827   rm -f $tmp/in
    8828   mv $tmp/out $tmp/in
    8829 ' >>$CONFIG_STATUS
    8830   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
     9223    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
     9224  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
     9225  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
     9226  grep . conftest.tail >/dev/null || break
    88319227  rm -f conftest.defines
    88329228  mv conftest.tail conftest.defines
    88339229done
    8834 rm -f conftest.defines
    8835 echo '  fi # grep' >>$CONFIG_STATUS
    8836 echo >>$CONFIG_STATUS
    8837 
    8838 # Break up conftest.undefs because some shells have a limit on the size
    8839 # of here documents, and old seds have small limits too (100 cmds).
    8840 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    8841 rm -f conftest.tail
    8842 while grep . conftest.undefs >/dev/null
    8843 do
    8844   # Write a limited-size here document to $tmp/undefs.sed.
    8845   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    8846   # Speed up: don't consider the non `#undef'
    8847   echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    8848   # Work around the forget-to-reset-the-flag bug.
    8849   echo 't clr' >>$CONFIG_STATUS
    8850   echo ': clr' >>$CONFIG_STATUS
    8851   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    8852   echo 'CEOF
    8853   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    8854   rm -f $tmp/in
    8855   mv $tmp/out $tmp/in
    8856 ' >>$CONFIG_STATUS
    8857   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    8858   rm -f conftest.undefs
    8859   mv conftest.tail conftest.undefs
    8860 done
    8861 rm -f conftest.undefs
    8862 
     9230rm -f conftest.defines conftest.tail
     9231
     9232echo "ac_result=$ac_in" >>$CONFIG_STATUS
    88639233cat >>$CONFIG_STATUS <<\_ACEOF
    8864   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8865   # use $as_me), people would be surprised to read:
    8866   #    /* config.h.  Generated by config.status.  */
    8867   if test x"$ac_file" = x-; then
    8868     echo "/* Generated by configure.  */" >$tmp/config.h
    8869   else
    8870     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    8871   fi
    8872   cat $tmp/in >>$tmp/config.h
    8873   rm -f $tmp/in
    88749234  if test x"$ac_file" != x-; then
    8875     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
     9235    echo "/* $configure_input  */" >"$tmp/config.h"
     9236    cat "$ac_result" >>"$tmp/config.h"
     9237    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
    88769238      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    88779239echo "$as_me: $ac_file is unchanged" >&6;}
    88789240    else
    8879       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    8880 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8881      X"$ac_file" : 'X\(//\)[^/]' \| \
    8882      X"$ac_file" : 'X\(//\)$' \| \
    8883      X"$ac_file" : 'X\(/\)' \| \
    8884      .     : '\(.\)' 2>/dev/null ||
    8885 echo X"$ac_file" |
    8886     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8887       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8888       /^X\(\/\/\)$/{ s//\1/; q; }
    8889       /^X\(\/\).*/{ s//\1/; q; }
    8890       s/.*/./; q'`
    8891       { if $as_mkdir_p; then
    8892     mkdir -p "$ac_dir"
    8893   else
    8894     as_dir="$ac_dir"
    8895     as_dirs=
    8896     while test ! -d "$as_dir"; do
    8897       as_dirs="$as_dir $as_dirs"
    8898       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8899 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8900      X"$as_dir" : 'X\(//\)[^/]' \| \
    8901      X"$as_dir" : 'X\(//\)$' \| \
    8902      X"$as_dir" : 'X\(/\)' \| \
    8903      .     : '\(.\)' 2>/dev/null ||
    8904 echo X"$as_dir" |
    8905     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8906       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8907       /^X\(\/\/\)$/{ s//\1/; q; }
    8908       /^X\(\/\).*/{ s//\1/; q; }
    8909       s/.*/./; q'`
    8910     done
    8911     test ! -n "$as_dirs" || mkdir $as_dirs
    8912   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8913 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    8914    { (exit 1); exit 1; }; }; }
    8915 
    89169241      rm -f $ac_file
    8917       mv $tmp/config.h $ac_file
     9242      mv "$tmp/config.h" $ac_file
    89189243    fi
    89199244  else
    8920     cat $tmp/config.h
    8921     rm -f $tmp/config.h
     9245    echo "/* $configure_input  */"
     9246    cat "$ac_result"
    89229247  fi
    8923 done
    8924 _ACEOF
    8925 cat >>$CONFIG_STATUS <<\_ACEOF
    8926 
    8927 #
    8928 # CONFIG_COMMANDS section.
    8929 #
    8930 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
    8931   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
    8932   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8933   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
    8934 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8935      X"$ac_dest" : 'X\(//\)[^/]' \| \
    8936      X"$ac_dest" : 'X\(//\)$' \| \
    8937      X"$ac_dest" : 'X\(/\)' \| \
    8938      .     : '\(.\)' 2>/dev/null ||
    8939 echo X"$ac_dest" |
    8940     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8941       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8942       /^X\(\/\/\)$/{ s//\1/; q; }
    8943       /^X\(\/\).*/{ s//\1/; q; }
    8944       s/.*/./; q'`
    8945   { if $as_mkdir_p; then
    8946     mkdir -p "$ac_dir"
    8947   else
    8948     as_dir="$ac_dir"
    8949     as_dirs=
    8950     while test ! -d "$as_dir"; do
    8951       as_dirs="$as_dir $as_dirs"
    8952       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8954      X"$as_dir" : 'X\(//\)[^/]' \| \
    8955      X"$as_dir" : 'X\(//\)$' \| \
    8956      X"$as_dir" : 'X\(/\)' \| \
    8957      .     : '\(.\)' 2>/dev/null ||
    8958 echo X"$as_dir" |
    8959     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8960       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8961       /^X\(\/\/\)$/{ s//\1/; q; }
    8962       /^X\(\/\).*/{ s//\1/; q; }
    8963       s/.*/./; q'`
    8964     done
    8965     test ! -n "$as_dirs" || mkdir $as_dirs
    8966   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8967 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    8968    { (exit 1); exit 1; }; }; }
    8969 
    8970   ac_builddir=.
    8971 
    8972 if test "$ac_dir" != .; then
    8973   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8974   # A "../" for each directory in $ac_dir_suffix.
    8975   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8976 else
    8977   ac_dir_suffix= ac_top_builddir=
    8978 fi
    8979 
    8980 case $srcdir in
    8981   .)  # No --srcdir option.  We are building in place.
    8982     ac_srcdir=.
    8983     if test -z "$ac_top_builddir"; then
    8984        ac_top_srcdir=.
    8985     else
    8986        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8987     fi ;;
    8988   [\\/]* | ?:[\\/]* )  # Absolute path.
    8989     ac_srcdir=$srcdir$ac_dir_suffix;
    8990     ac_top_srcdir=$srcdir ;;
    8991   *) # Relative path.
    8992     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8993     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8994 esac
    8995 
    8996 # Do not use `cd foo && pwd` to compute absolute paths, because
    8997 # the directories may not exist.
    8998 case `pwd` in
    8999 .) ac_abs_builddir="$ac_dir";;
    9000 *)
    9001   case "$ac_dir" in
    9002   .) ac_abs_builddir=`pwd`;;
    9003   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    9004   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    9005   esac;;
    9006 esac
    9007 case $ac_abs_builddir in
    9008 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    9009 *)
    9010   case ${ac_top_builddir}. in
    9011   .) ac_abs_top_builddir=$ac_abs_builddir;;
    9012   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    9013   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    9014   esac;;
    9015 esac
    9016 case $ac_abs_builddir in
    9017 .) ac_abs_srcdir=$ac_srcdir;;
    9018 *)
    9019   case $ac_srcdir in
    9020   .) ac_abs_srcdir=$ac_abs_builddir;;
    9021   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    9022   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    9023   esac;;
    9024 esac
    9025 case $ac_abs_builddir in
    9026 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    9027 *)
    9028   case $ac_top_srcdir in
    9029   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    9030   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    9031   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    9032   esac;;
    9033 esac
    9034 
    9035 
    9036   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
    9037 echo "$as_me: executing $ac_dest commands" >&6;}
    9038   case $ac_dest in
    9039     default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
     9248  rm -f "$tmp/out12"
     9249 ;;
     9250
     9251  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
     9252echo "$as_me: executing $ac_file commands" >&6;}
     9253 ;;
    90409254  esac
    9041 done
    9042 _ACEOF
    9043 
    9044 cat >>$CONFIG_STATUS <<\_ACEOF
     9255
     9256
     9257  case $ac_file$ac_mode in
     9258    "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
     9259
     9260  esac
     9261done # for ac_tag
     9262
    90459263
    90469264{ (exit 0); exit 0; }
  • indexers/trunk/mgpp/configure.in

    r20832 r20844  
    7676dnl look for libiconv package if not in standard location
    7777dnl
    78 AC_ARG_WITH(unac, [  --with-libiconv-prefix=dir         Use local libiconv library], LIBICONV_DIR=$withval)
    79 AC_DEFINE_UNQUOTED(LIBICONV_DIR, "$LIBICONV_DIR")
    80 AC_SUBST(LIBICONV_DIR)
     78#AC_ARG_WITH(unac, [  --with-libiconv-prefix=dir         Use local libiconv library], LIBICONV_DIR=$withval)
     79#AC_DEFINE_UNQUOTED(LIBICONV_DIR, "$LIBICONV_DIR")
     80#AC_SUBST(LIBICONV_DIR)
    8181
    8282
Note: See TracChangeset for help on using the changeset viewer.