Changeset 20844


Ignore:
Timestamp:
2009-10-23T07:04:22+13:00 (12 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 autoconf@gnu.org about your system,
     417  echo including any error possibly output before this
     418  echo message
     419}
     420
     421
     422
     423  as_lineno_1=$LINENO
     424  as_lineno_2=$LINENO
     425  test "x$as_lineno_1" != "x$as_lineno_2" &&
     426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    155427
    156428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157429  # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
     430  # line-number line after each line using $LINENO; the second 'sed'
     431  # does the real work.  The second script uses 'N' to pair each
     432  # line-number line with the line containing $LINENO, and appends
     433  # trailing '-' during substitution so that $LINENO is not a special
     434  # case at line end.
    162435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
     436  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     437  # E. McMahon (1931-1989) for sed's syntax.  :-)
     438  sed -n '
     439    p
     440    /[$]LINENO/=
     441  ' <$as_myself |
    165442    sed '
     443      s/[$]LINENO.*/&-/
     444      t lineno
     445      b
     446      :lineno
    166447      N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     448      :loop
     449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    170450      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     451      s/-\n.*//
    173452    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
     453  chmod +x "$as_me.lineno" ||
    175454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176455   { (exit 1); exit 1; }; }
     
    178457  # Don't try to exec as it changes $[0], causing all sort of problems
    179458  # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
     459  # original and so on.  Autoconf is especially sensitive to this).
     460  . "./$as_me.lineno"
    182461  # Exit status is that of the last command.
    183462  exit
     
    185464
    186465
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='  ' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
     466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     467  as_dirname=dirname
     468else
     469  as_dirname=false
     470fi
     471
     472ECHO_C= ECHO_N= ECHO_T=
     473case `echo -n x` in
     474-n*)
     475  case `echo 'x\c'` in
     476  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     477  *)   ECHO_C='\c';;
     478  esac;;
     479*)
     480  ECHO_N='-n';;
     481esac
     482
     483if expr a : '\(a\)' >/dev/null 2>&1 &&
     484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    195485  as_expr=expr
    196486else
     
    199489
    200490rm -f conf$$ conf$$.exe conf$$.file
     491if test -d conf$$.dir; then
     492  rm -f conf$$.dir/conf$$.file
     493else
     494  rm -f conf$$.dir
     495  mkdir conf$$.dir
     496fi
    201497echo >conf$$.file
    202498if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
     499  as_ln_s='ln -s'
     500  # ... but there are two gotchas:
     501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     503  # In both cases, we have to default to `cp -p'.
     504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    207505    as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211506elif ln conf$$.file conf$$ 2>/dev/null; then
    212507  as_ln_s=ln
     
    214509  as_ln_s='cp -p'
    215510fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     512rmdir conf$$.dir 2>/dev/null
    217513
    218514if mkdir -p . 2>/dev/null; then
     
    223519fi
    224520
    225 as_executable_p="test -f"
     521if test -x / >/dev/null 2>&1; then
     522  as_test_x='test -x'
     523else
     524  if ls -dL / >/dev/null 2>&1; then
     525    as_ls_L_option=L
     526  else
     527    as_ls_L_option=
     528  fi
     529  as_test_x='
     530    eval sh -c '\''
     531      if test -d "$1"; then
     532        test -d "$1/.";
     533      else
     534    case $1 in
     535        -*)set "./$1";;
     536    esac;
     537    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     538    ???[sx]*):;;*)false;;esac;fi
     539    '\'' sh
     540  '
     541fi
     542as_executable_p=$as_test_x
    226543
    227544# Sed expression to map a string onto a valid CPP name.
     
    232549
    233550
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS="   $as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
     551
     552exec 7<&0 </dev/null 6>&1
    243553
    244554# Name of the host.
     
    247557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248558
    249 exec 6>&1
    250 
    251559#
    252560# Initializations.
    253561#
    254562ac_default_prefix=/usr/local
     563ac_clean_files=
    255564ac_config_libobj_dir=.
     565LIBOBJS=
    256566cross_compiling=no
    257567subdirs=
     
    259569MAKEFLAGS=
    260570SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266571
    267572# Identity of this package.
     
    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 autoconf@gnu.org." >&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 autoconf@gnu.org." >&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 autoconf@gnu.org." >&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 autoconf@gnu.org." >&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 autoconf@gnu.org." >&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 autoconf@gnu.org." >&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 autoconf@gnu.org." >&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 autoconf@gnu.org." >&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