Changeset 20846


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

removing another check for iconv causing problems

Location:
gsdl/trunk/common-src
Files:
2 edited

Legend:

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

    r20843 r20846  
    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_subdirs_all="$ac_subdirs_all packages"
    313 ac_subdirs_all="$ac_subdirs_all indexers"
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
     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
     653PACKAGE
     654VERSION
     655USE_FASTCGI
     656USE_LANGACTION
     657USE_CORBA
     658MICO_DIR
     659USE_Z3950
     660USE_YAZ
     661ENABLE_ACCENTFOLD
     662USE_SQLITE
     663LDFLAGS
     664CFLAGS
     665CC
     666CPPFLAGS
     667ac_ct_CC
     668EXEEXT
     669OBJEXT
     670CXX
     671CXXFLAGS
     672ac_ct_CXX
     673AWK
     674YACC
     675YFLAGS
     676build
     677build_cpu
     678build_vendor
     679build_os
     680host
     681host_cpu
     682host_vendor
     683host_os
     684target
     685target_cpu
     686target_vendor
     687target_os
     688INSTALL_PROGRAM
     689INSTALL_SCRIPT
     690INSTALL_DATA
     691LN_S
     692SET_MAKE
     693RANLIB
     694COMPAT32BITFLAGS
     695MICO_VER
     696CPP
     697GREP
     698EGREP
     699U
     700ANSI2KNR
     701ALLOCA
     702LIBOBJS
     703STATIC
     704gsdlos
     705MODULEDIRS
     706subdirs
     707LTLIBOBJS'
    315708ac_subst_files=''
     709      ac_precious_vars='build_alias
     710host_alias
     711target_alias
     712CC
     713CFLAGS
     714LDFLAGS
     715LIBS
     716CPPFLAGS
     717CXX
     718CXXFLAGS
     719CCC
     720YACC
     721YFLAGS
     722CPP'
     723ac_subdirs_all='packages
     724indexers'
    316725
    317726# Initialize some variables set by options.
     
    340749# by default will actually change.
    341750# Use braces instead of parens because sh, perl, etc. also accept them.
     751# (The list follows the same order as the GNU Coding Standards.)
    342752bindir='${exec_prefix}/bin'
    343753sbindir='${exec_prefix}/sbin'
    344754libexecdir='${exec_prefix}/libexec'
    345 datadir='${prefix}/share'
     755datarootdir='${prefix}/share'
     756datadir='${datarootdir}'
    346757sysconfdir='${prefix}/etc'
    347758sharedstatedir='${prefix}/com'
    348759localstatedir='${prefix}/var'
    349 libdir='${exec_prefix}/lib'
    350760includedir='${prefix}/include'
    351761oldincludedir='/usr/include'
    352 infodir='${prefix}/info'
    353 mandir='${prefix}/man'
     762docdir='${datarootdir}/doc/${PACKAGE}'
     763infodir='${datarootdir}/info'
     764htmldir='${docdir}'
     765dvidir='${docdir}'
     766pdfdir='${docdir}'
     767psdir='${docdir}'
     768libdir='${exec_prefix}/lib'
     769localedir='${datarootdir}/locale'
     770mandir='${datarootdir}/man'
    354771
    355772ac_prev=
     773ac_dashdash=
    356774for ac_option
    357775do
    358776  # If the previous option needs an argument, assign it.
    359777  if test -n "$ac_prev"; then
    360     eval "$ac_prev=\$ac_option"
     778    eval $ac_prev=\$ac_option
    361779    ac_prev=
    362780    continue
    363781  fi
    364782
    365   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     783  case $ac_option in
     784  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     785  *)    ac_optarg=yes ;;
     786  esac
    366787
    367788  # Accept the important Cygnus configure options, so we can diagnose typos.
    368789
    369   case $ac_option in
     790  case $ac_dashdash$ac_option in
     791  --)
     792    ac_dashdash=yes ;;
    370793
    371794  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    389812    cache_file=config.cache ;;
    390813
    391   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     814  -datadir | --datadir | --datadi | --datad)
    392815    ac_prev=datadir ;;
    393   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    394   | --da=*)
     816  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    395817    datadir=$ac_optarg ;;
     818
     819  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     820  | --dataroo | --dataro | --datar)
     821    ac_prev=datarootdir ;;
     822  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     823  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     824    datarootdir=$ac_optarg ;;
    396825
    397826  -disable-* | --disable-*)
    398827    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    399828    # Reject names that are not valid shell variable names.
    400     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     829    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    401830      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    402831   { (exit 1); exit 1; }; }
    403     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    404     eval "enable_$ac_feature=no" ;;
     832    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     833    eval enable_$ac_feature=no ;;
     834
     835  -docdir | --docdir | --docdi | --doc | --do)
     836    ac_prev=docdir ;;
     837  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     838    docdir=$ac_optarg ;;
     839
     840  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     841    ac_prev=dvidir ;;
     842  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     843    dvidir=$ac_optarg ;;
    405844
    406845  -enable-* | --enable-*)
    407846    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    408847    # Reject names that are not valid shell variable names.
    409     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     848    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    410849      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    411850   { (exit 1); exit 1; }; }
    412     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    413     case $ac_option in
    414       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    415       *) ac_optarg=yes ;;
    416     esac
    417     eval "enable_$ac_feature='$ac_optarg'" ;;
     851    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     852    eval enable_$ac_feature=\$ac_optarg ;;
    418853
    419854  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    442877    host_alias=$ac_optarg ;;
    443878
     879  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     880    ac_prev=htmldir ;;
     881  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     882  | --ht=*)
     883    htmldir=$ac_optarg ;;
     884
    444885  -includedir | --includedir | --includedi | --included | --include \
    445886  | --includ | --inclu | --incl | --inc)
     
    466907    libexecdir=$ac_optarg ;;
    467908
     909  -localedir | --localedir | --localedi | --localed | --locale)
     910    ac_prev=localedir ;;
     911  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     912    localedir=$ac_optarg ;;
     913
    468914  -localstatedir | --localstatedir | --localstatedi | --localstated \
    469   | --localstate | --localstat | --localsta | --localst \
    470   | --locals | --local | --loca | --loc | --lo)
     915  | --localstate | --localstat | --localsta | --localst | --locals)
    471916    ac_prev=localstatedir ;;
    472917  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    473   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    474   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     918  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    475919    localstatedir=$ac_optarg ;;
    476920
     
    537981    program_transform_name=$ac_optarg ;;
    538982
     983  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     984    ac_prev=pdfdir ;;
     985  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     986    pdfdir=$ac_optarg ;;
     987
     988  -psdir | --psdir | --psdi | --psd | --ps)
     989    ac_prev=psdir ;;
     990  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     991    psdir=$ac_optarg ;;
     992
    539993  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    540994  | -silent | --silent | --silen | --sile | --sil)
     
    5891043    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5901044    # Reject names that are not valid shell variable names.
    591     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1045    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    5921046      { echo "$as_me: error: invalid package name: $ac_package" >&2
    5931047   { (exit 1); exit 1; }; }
    594     ac_package=`echo $ac_package| sed 's/-/_/g'`
    595     case $ac_option in
    596       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    597       *) ac_optarg=yes ;;
    598     esac
    599     eval "with_$ac_package='$ac_optarg'" ;;
     1048    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1049    eval with_$ac_package=\$ac_optarg ;;
    6001050
    6011051  -without-* | --without-*)
    6021052    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6031053    # Reject names that are not valid shell variable names.
    604     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1054    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    6051055      { echo "$as_me: error: invalid package name: $ac_package" >&2
    6061056   { (exit 1); exit 1; }; }
    607     ac_package=`echo $ac_package | sed 's/-/_/g'`
    608     eval "with_$ac_package=no" ;;
     1057    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1058    eval with_$ac_package=no ;;
    6091059
    6101060  --x)
     
    6371087      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6381088   { (exit 1); exit 1; }; }
    639     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    640     eval "$ac_envvar='$ac_optarg'"
     1089    eval $ac_envvar=\$ac_optarg
    6411090    export $ac_envvar ;;
    6421091
     
    6581107fi
    6591108
    660 # Be sure to have absolute paths.
    661 for ac_var in exec_prefix prefix
     1109# Be sure to have absolute directory names.
     1110for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1111        datadir sysconfdir sharedstatedir localstatedir includedir \
     1112        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1113        libdir localedir mandir
    6621114do
    663   eval ac_val=$`echo $ac_var`
     1115  eval ac_val=\$$ac_var
    6641116  case $ac_val in
    665     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    666     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    667    { (exit 1); exit 1; }; };;
     1117    [\\/$]* | ?:[\\/]* )  continue;;
     1118    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6681119  esac
    669 done
    670 
    671 # Be sure to have absolute paths.
    672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    673           localstatedir libdir includedir oldincludedir infodir mandir
    674 do
    675   eval ac_val=$`echo $ac_var`
    676   case $ac_val in
    677     [\\/$]* | ?:[\\/]* ) ;;
    678     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    679    { (exit 1); exit 1; }; };;
    680   esac
     1120  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1121   { (exit 1); exit 1; }; }
    6811122done
    6821123
     
    7051146
    7061147
     1148ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1149ac_ls_di=`ls -di .` &&
     1150ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1151  { echo "$as_me: error: Working directory cannot be determined" >&2
     1152   { (exit 1); exit 1; }; }
     1153test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1154  { echo "$as_me: error: pwd does not report name of working directory" >&2
     1155   { (exit 1); exit 1; }; }
     1156
     1157
    7071158# Find the source files, if location was not specified.
    7081159if test -z "$srcdir"; then
    7091160  ac_srcdir_defaulted=yes
    710   # Try the directory containing this script, then its parent.
    711   ac_confdir=`(dirname "$0") 2>/dev/null ||
     1161  # Try the directory containing this script, then the parent directory.
     1162  ac_confdir=`$as_dirname -- "$0" ||
    7121163$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7131164     X"$0" : 'X\(//\)[^/]' \| \
    7141165     X"$0" : 'X\(//\)$' \| \
    715      X"$0" : 'X\(/\)' \| \
    716      .     : '\(.\)' 2>/dev/null ||
     1166     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7171167echo X"$0" |
    718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    719       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    720       /^X\(\/\/\)$/{ s//\1/; q; }
    721       /^X\(\/\).*/{ s//\1/; q; }
    722       s/.*/./; q'`
     1168    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1169        s//\1/
     1170        q
     1171      }
     1172      /^X\(\/\/\)[^/].*/{
     1173        s//\1/
     1174        q
     1175      }
     1176      /^X\(\/\/\)$/{
     1177        s//\1/
     1178        q
     1179      }
     1180      /^X\(\/\).*/{
     1181        s//\1/
     1182        q
     1183      }
     1184      s/.*/./; q'`
    7231185  srcdir=$ac_confdir
    724   if test ! -r $srcdir/$ac_unique_file; then
     1186  if test ! -r "$srcdir/$ac_unique_file"; then
    7251187    srcdir=..
    7261188  fi
     
    7281190  ac_srcdir_defaulted=no
    7291191fi
    730 if test ! -r $srcdir/$ac_unique_file; then
    731   if test "$ac_srcdir_defaulted" = yes; then
    732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     1192if test ! -r "$srcdir/$ac_unique_file"; then
     1193  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1194  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    7331195   { (exit 1); exit 1; }; }
    734   else
    735     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1196fi
     1197ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1198ac_abs_confdir=`(
     1199    cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    7361200   { (exit 1); exit 1; }; }
    737   fi
    738 fi
    739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    740   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    741    { (exit 1); exit 1; }; }
    742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    743 ac_env_build_alias_set=${build_alias+set}
    744 ac_env_build_alias_value=$build_alias
    745 ac_cv_env_build_alias_set=${build_alias+set}
    746 ac_cv_env_build_alias_value=$build_alias
    747 ac_env_host_alias_set=${host_alias+set}
    748 ac_env_host_alias_value=$host_alias
    749 ac_cv_env_host_alias_set=${host_alias+set}
    750 ac_cv_env_host_alias_value=$host_alias
    751 ac_env_target_alias_set=${target_alias+set}
    752 ac_env_target_alias_value=$target_alias
    753 ac_cv_env_target_alias_set=${target_alias+set}
    754 ac_cv_env_target_alias_value=$target_alias
    755 ac_env_CC_set=${CC+set}
    756 ac_env_CC_value=$CC
    757 ac_cv_env_CC_set=${CC+set}
    758 ac_cv_env_CC_value=$CC
    759 ac_env_CFLAGS_set=${CFLAGS+set}
    760 ac_env_CFLAGS_value=$CFLAGS
    761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    762 ac_cv_env_CFLAGS_value=$CFLAGS
    763 ac_env_LDFLAGS_set=${LDFLAGS+set}
    764 ac_env_LDFLAGS_value=$LDFLAGS
    765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    766 ac_cv_env_LDFLAGS_value=$LDFLAGS
    767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    768 ac_env_CPPFLAGS_value=$CPPFLAGS
    769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    771 ac_env_CXX_set=${CXX+set}
    772 ac_env_CXX_value=$CXX
    773 ac_cv_env_CXX_set=${CXX+set}
    774 ac_cv_env_CXX_value=$CXX
    775 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    776 ac_env_CXXFLAGS_value=$CXXFLAGS
    777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    779 ac_env_CPP_set=${CPP+set}
    780 ac_env_CPP_value=$CPP
    781 ac_cv_env_CPP_set=${CPP+set}
    782 ac_cv_env_CPP_value=$CPP
     1201    pwd)`
     1202# When building in place, set srcdir=.
     1203if test "$ac_abs_confdir" = "$ac_pwd"; then
     1204  srcdir=.
     1205fi
     1206# Remove unnecessary trailing slashes from srcdir.
     1207# Double slashes in file names in object file debugging info
     1208# mess up M-x gdb in Emacs.
     1209case $srcdir in
     1210*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1211esac
     1212for ac_var in $ac_precious_vars; do
     1213  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1214  eval ac_env_${ac_var}_value=\$${ac_var}
     1215  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1216  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1217done
    7831218
    7841219#
     
    8091244      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8101245
    811 _ACEOF
    812 
    813   cat <<_ACEOF
    8141246Installation directories:
    8151247  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    8291261  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    8301262  --libexecdir=DIR       program executables [EPREFIX/libexec]
    831   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    8321263  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    8331264  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    8361267  --includedir=DIR       C header files [PREFIX/include]
    8371268  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    838   --infodir=DIR          info documentation [PREFIX/info]
    839   --mandir=DIR           man documentation [PREFIX/man]
     1269  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
     1270  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
     1271  --infodir=DIR          info documentation [DATAROOTDIR/info]
     1272  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
     1273  --mandir=DIR           man documentation [DATAROOTDIR/man]
     1274  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
     1275  --htmldir=DIR          html documentation [DOCDIR]
     1276  --dvidir=DIR           dvi documentation [DOCDIR]
     1277  --pdfdir=DIR           pdf documentation [DOCDIR]
     1278  --psdir=DIR            ps documentation [DOCDIR]
    8401279_ACEOF
    8411280
     
    8751314  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8761315              nonstandard directory <lib dir>
    877   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    878               headers in a nonstandard directory <include dir>
     1316  LIBS        libraries to pass to the linker, e.g. -l<library>
     1317  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1318              you have headers in a nonstandard directory <include dir>
    8791319  CXX         C++ compiler command
    8801320  CXXFLAGS    C++ compiler flags
     1321  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
     1322              the first program found out of: `bison -y', `byacc', `yacc'.
     1323  YFLAGS      The list of arguments that will be passed by default to $YACC.
     1324              This script will default YFLAGS to the empty string to avoid a
     1325              default value of `-d' given by some make applications.
    8811326  CPP         C preprocessor
    8821327
     
    8851330
    8861331_ACEOF
     1332ac_status=$?
    8871333fi
    8881334
    8891335if test "$ac_init_help" = "recursive"; then
    8901336  # If there are subdirs, report their specific --help.
    891   ac_popdir=`pwd`
    8921337  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    893     test -d $ac_dir || continue
     1338    test -d "$ac_dir" || continue
    8941339    ac_builddir=.
    8951340
    896 if test "$ac_dir" != .; then
     1341case "$ac_dir" in
     1342.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1343*)
    8971344  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    898   # A "../" for each directory in $ac_dir_suffix.
    899   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    900 else
    901   ac_dir_suffix= ac_top_builddir=
    902 fi
     1345  # A ".." for each directory in $ac_dir_suffix.
     1346  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1347  case $ac_top_builddir_sub in
     1348  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1349  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1350  esac ;;
     1351esac
     1352ac_abs_top_builddir=$ac_pwd
     1353ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1354# for backward compatibility:
     1355ac_top_builddir=$ac_top_build_prefix
    9031356
    9041357case $srcdir in
    905   .)  # No --srcdir option.  We are building in place.
     1358  .)  # We are building in place.
    9061359    ac_srcdir=.
    907     if test -z "$ac_top_builddir"; then
    908        ac_top_srcdir=.
    909     else
    910        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    911     fi ;;
    912   [\\/]* | ?:[\\/]* )  # Absolute path.
     1360    ac_top_srcdir=$ac_top_builddir_sub
     1361    ac_abs_top_srcdir=$ac_pwd ;;
     1362  [\\/]* | ?:[\\/]* )  # Absolute name.
    9131363    ac_srcdir=$srcdir$ac_dir_suffix;
    914     ac_top_srcdir=$srcdir ;;
    915   *) # Relative path.
    916     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    917     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    918 esac
    919 
    920 # Do not use `cd foo && pwd` to compute absolute paths, because
    921 # the directories may not exist.
    922 case `pwd` in
    923 .) ac_abs_builddir="$ac_dir";;
    924 *)
    925   case "$ac_dir" in
    926   .) ac_abs_builddir=`pwd`;;
    927   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    928   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    929   esac;;
    930 esac
    931 case $ac_abs_builddir in
    932 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    933 *)
    934   case ${ac_top_builddir}. in
    935   .) ac_abs_top_builddir=$ac_abs_builddir;;
    936   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    937   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    938   esac;;
    939 esac
    940 case $ac_abs_builddir in
    941 .) ac_abs_srcdir=$ac_srcdir;;
    942 *)
    943   case $ac_srcdir in
    944   .) ac_abs_srcdir=$ac_abs_builddir;;
    945   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    946   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    947   esac;;
    948 esac
    949 case $ac_abs_builddir in
    950 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    951 *)
    952   case $ac_top_srcdir in
    953   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    954   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    955   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    956   esac;;
    957 esac
    958 
    959     cd $ac_dir
    960     # Check for guested configure; otherwise get Cygnus style configure.
    961     if test -f $ac_srcdir/configure.gnu; then
    962       echo
    963       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    964     elif test -f $ac_srcdir/configure; then
    965       echo
    966       $SHELL $ac_srcdir/configure  --help=recursive
    967     elif test -f $ac_srcdir/configure.ac ||
    968        test -f $ac_srcdir/configure.in; then
    969       echo
    970       $ac_configure --help
     1364    ac_top_srcdir=$srcdir
     1365    ac_abs_top_srcdir=$srcdir ;;
     1366  *) # Relative name.
     1367    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1368    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1369    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1370esac
     1371ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1372
     1373    cd "$ac_dir" || { ac_status=$?; continue; }
     1374    # Check for guested configure.
     1375    if test -f "$ac_srcdir/configure.gnu"; then
     1376      echo &&
     1377      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1378    elif test -f "$ac_srcdir/configure"; then
     1379      echo &&
     1380      $SHELL "$ac_srcdir/configure" --help=recursive
    9711381    else
    9721382      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    973     fi
    974     cd $ac_popdir
     1383    fi || ac_status=$?
     1384    cd "$ac_pwd" || { ac_status=$?; break; }
    9751385  done
    9761386fi
    9771387
    978 test -n "$ac_init_help" && exit 0
     1388test -n "$ac_init_help" && exit $ac_status
    9791389if $ac_init_version; then
    9801390  cat <<\_ACEOF
    981 
    982 Copyright (C) 2003 Free Software Foundation, Inc.
     1391configure
     1392generated by GNU Autoconf 2.61
     1393
     1394Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     13952002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    9831396This configure script is free software; the Free Software Foundation
    9841397gives unlimited permission to copy, distribute and modify it.
    9851398_ACEOF
    986   exit 0
    987 fi
    988 exec 5>config.log
    989 cat >&5 <<_ACEOF
     1399  exit
     1400fi
     1401cat >config.log <<_ACEOF
    9901402This file contains any messages produced by compilers while
    9911403running configure, to aid debugging if configure makes a mistake.
    9921404
    9931405It was created by $as_me, which was
    994 generated by GNU Autoconf 2.59.  Invocation command line was
     1406generated by GNU Autoconf 2.61.  Invocation command line was
    9951407
    9961408  $ $0 $@
    9971409
    9981410_ACEOF
     1411exec 5>>config.log
    9991412{
    10001413cat <<_ASUNAME
     
    10151428/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10161429/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1017 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1430/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10181431/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10191432/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10291442  echo "PATH: $as_dir"
    10301443done
     1444IFS=$as_save_IFS
    10311445
    10321446} >&5
     
    10501464ac_configure_args0=
    10511465ac_configure_args1=
    1052 ac_sep=
    10531466ac_must_keep_next=false
    10541467for ac_pass in 1 2
     
    10611474    | -silent | --silent | --silen | --sile | --sil)
    10621475      continue ;;
    1063     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1476    *\'*)
    10641477      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10651478    esac
     
    10831496    esac
    10841497      fi
    1085       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1086       # Get rid of the leading space.
    1087       ac_sep=" "
     1498      ac_configure_args="$ac_configure_args '$ac_arg'"
    10881499      ;;
    10891500    esac
     
    10961507# config.log.  We remove comments because anyway the quotes in there
    10971508# would cause problems or look ugly.
    1098 # WARNING: Be sure not to use single quotes in there, as some shells,
    1099 # such as our DU 5.0 friend, will then `close' the trap.
     1509# WARNING: Use '\'' to represent an apostrophe within the trap.
     1510# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    11001511trap 'exit_status=$?
    11011512  # Save into config.log some information that might help in debugging.
     
    11101521    echo
    11111522    # The following way of writing the cache mishandles newlines in values,
    1112 {
     1523(
     1524  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1525    eval ac_val=\$$ac_var
     1526    case $ac_val in #(
     1527    *${as_nl}*)
     1528      case $ac_var in #(
     1529      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     1530echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     1531      esac
     1532      case $ac_var in #(
     1533      _ | IFS | as_nl) ;; #(
     1534      *) $as_unset $ac_var ;;
     1535      esac ;;
     1536    esac
     1537  done
    11131538  (set) 2>&1 |
    1114     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1115     *ac_space=\ *)
     1539    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1540    *${as_nl}ac_space=\ *)
    11161541      sed -n \
    1117     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1118       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1542    "s/'\''/'\''\\\\'\'''\''/g;
     1543      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1544      ;; #(
     1545    *)
     1546      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11191547      ;;
    1120     *)
    1121       sed -n \
    1122     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1123       ;;
    1124     esac;
    1125 }
     1548    esac |
     1549    sort
     1550)
    11261551    echo
    11271552
     
    11341559    for ac_var in $ac_subst_vars
    11351560    do
    1136       eval ac_val=$`echo $ac_var`
    1137       echo "$ac_var='"'"'$ac_val'"'"'"
     1561      eval ac_val=\$$ac_var
     1562      case $ac_val in
     1563      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1564      esac
     1565      echo "$ac_var='\''$ac_val'\''"
    11381566    done | sort
    11391567    echo
     
    11411569    if test -n "$ac_subst_files"; then
    11421570      cat <<\_ASBOX
    1143 ## ------------- ##
    1144 ## Output files. ##
    1145 ## ------------- ##
     1571## ------------------- ##
     1572## File substitutions. ##
     1573## ------------------- ##
    11461574_ASBOX
    11471575      echo
    11481576      for ac_var in $ac_subst_files
    11491577      do
    1150     eval ac_val=$`echo $ac_var`
    1151     echo "$ac_var='"'"'$ac_val'"'"'"
     1578    eval ac_val=\$$ac_var
     1579    case $ac_val in
     1580    *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1581    esac
     1582    echo "$ac_var='\''$ac_val'\''"
    11521583      done | sort
    11531584      echo
     
    11611592_ASBOX
    11621593      echo
    1163       sed "/^$/d" confdefs.h | sort
     1594      cat confdefs.h
    11641595      echo
    11651596    fi
     
    11681599    echo "$as_me: exit $exit_status"
    11691600  } >&5
    1170   rm -f core *.core &&
    1171   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1601  rm -f core *.core core.conftest.* &&
     1602    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11721603    exit $exit_status
    1173      ' 0
     1604' 0
    11741605for ac_signal in 1 2 13 15; do
    11751606  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11781609
    11791610# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1180 rm -rf conftest* confdefs.h
    1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1182 echo >confdefs.h
     1611rm -f -r conftest* confdefs.h
    11831612
    11841613# Predefined preprocessor variables.
     
    12111640# Let the site file select an alternate cache file if it wants to.
    12121641# Prefer explicitly selected file to automatically selected ones.
    1213 if test -z "$CONFIG_SITE"; then
    1214   if test "x$prefix" != xNONE; then
    1215     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1216   else
    1217     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1218   fi
    1219 fi
    1220 for ac_site_file in $CONFIG_SITE; do
     1642if test -n "$CONFIG_SITE"; then
     1643  set x "$CONFIG_SITE"
     1644elif test "x$prefix" != xNONE; then
     1645  set x "$prefix/share/config.site" "$prefix/etc/config.site"
     1646else
     1647  set x "$ac_default_prefix/share/config.site" \
     1648    "$ac_default_prefix/etc/config.site"
     1649fi
     1650shift
     1651for ac_site_file
     1652do
    12211653  if test -r "$ac_site_file"; then
    12221654    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    12341666echo "$as_me: loading cache $cache_file" >&6;}
    12351667    case $cache_file in
    1236       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1237       *)                      . ./$cache_file;;
     1668      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1669      *)                      . "./$cache_file";;
    12381670    esac
    12391671  fi
     
    12471679# value.
    12481680ac_cache_corrupted=false
    1249 for ac_var in `(set) 2>&1 |
    1250            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1681for ac_var in $ac_precious_vars; do
    12511682  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12521683  eval ac_new_set=\$ac_env_${ac_var}_set
    1253   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1254   eval ac_new_val="\$ac_env_${ac_var}_value"
     1684  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1685  eval ac_new_val=\$ac_env_${ac_var}_value
    12551686  case $ac_old_set,$ac_new_set in
    12561687    set,)
     
    12771708  if test "$ac_new_set" = set; then
    12781709    case $ac_new_val in
    1279     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1280       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1710    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12811711    *) ac_arg=$ac_var=$ac_new_val ;;
    12821712    esac
     
    12951725fi
    12961726
     1727
     1728
     1729
     1730
     1731
     1732
     1733
     1734
     1735
     1736
     1737
     1738
     1739
     1740
     1741
     1742
    12971743ac_ext=c
    12981744ac_cpp='$CPP $CPPFLAGS'
     
    13021748
    13031749
    1304 
    1305 
    1306 
    1307 
    1308 
    1309 
    1310 
    1311 
    1312 
    1313 
    1314 
    1315 
    1316 
    1317 
    1318 
    1319 
    1320 
    1321           ac_config_headers="$ac_config_headers config.h"
     1750ac_config_headers="$ac_config_headers config.h"
    13221751
    13231752
     
    13551784fi
    13561785
    1357 # Check whether --enable-corba or --disable-corba was given.
     1786# Check whether --enable-corba was given.
    13581787if test "${enable_corba+set}" = set; then
    1359   enableval="$enable_corba"
    1360   USE_CORBA=1
     1788  enableval=$enable_corba; USE_CORBA=1
    13611789else
    13621790  USE_CORBA=0
    1363 fi;
     1791fi
     1792
    13641793cat >>confdefs.h <<_ACEOF
    13651794#define USE_CORBA $USE_CORBA
     
    13691798
    13701799
    1371 # Check whether --with-micodir or --without-micodir was given.
     1800# Check whether --with-micodir was given.
    13721801if test "${with_micodir+set}" = set; then
    1373   withval="$with_micodir"
    1374   MICO_DIR=$enableval
     1802  withval=$with_micodir; MICO_DIR=$enableval
    13751803else
    13761804  MICO_DIR="default"
    1377 fi;
     1805fi
     1806
    13781807cat >>confdefs.h <<_ACEOF
    13791808#define MICO_DIR "$MICO_DIR"
     
    13821811
    13831812
    1384 # Check whether --enable-z3950 or --disable-z3950 was given.
     1813# Check whether --enable-z3950 was given.
    13851814if test "${enable_z3950+set}" = set; then
    1386   enableval="$enable_z3950"
    1387   USE_Z3950=1
     1815  enableval=$enable_z3950; USE_Z3950=1
    13881816else
    13891817  USE_Z3950=0
    1390 fi;
     1818fi
     1819
    13911820if test USE_Z3950 = 1; then
    13921821cat >>confdefs.h <<\_ACEOF
     
    13971826fi
    13981827
    1399 # Check whether --enable-yaz or --disable-yaz was given.
     1828# Check whether --enable-yaz was given.
    14001829if test "${enable_yaz+set}" = set; then
    1401   enableval="$enable_yaz"
    1402   USE_YAZ=0
     1830  enableval=$enable_yaz; USE_YAZ=0
    14031831else
    14041832  USE_YAZ=1
    1405 fi;
     1833fi
     1834
    14061835cat >>confdefs.h <<\_ACEOF
    14071836#define USE_YAZ $USE_YAZ
     
    14101839
    14111840
    1412 # Check whether --enable-accentfold or --disable-accentfold was given.
     1841# Check whether --enable-accentfold was given.
    14131842if test "${enable_accentfold+set}" = set; then
    1414   enableval="$enable_accentfold"
    1415   ENABLE_ACCENTFOLD=0
     1843  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
    14161844else
    14171845  ENABLE_ACCENTFOLD=1
    1418 fi;
     1846fi
     1847
    14191848cat >>confdefs.h <<\_ACEOF
    14201849#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    14231852
    14241853
    1425 # Check whether --enable-sqlite or --disable-sqlite was given.
     1854# Check whether --enable-sqlite was given.
    14261855if test "${enable_sqlite+set}" = set; then
    1427   enableval="$enable_sqlite"
    1428   USE_SQLITE=0
     1856  enableval=$enable_sqlite; USE_SQLITE=0
    14291857else
    14301858  USE_SQLITE=1
    1431 fi;
     1859fi
     1860
    14321861cat >>confdefs.h <<\_ACEOF
    14331862#define USE_SQLITE $USE_SQLITE
     
    14521881  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    14531882set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1454 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1883{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1884echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    14561885if test "${ac_cv_prog_CC+set}" = set; then
    14571886  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    14661895  test -z "$as_dir" && as_dir=.
    14671896  for ac_exec_ext in '' $ac_executable_extensions; do
    1468   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1897  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14691898    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    14701899    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    14731902done
    14741903done
     1904IFS=$as_save_IFS
    14751905
    14761906fi
     
    14781908CC=$ac_cv_prog_CC
    14791909if test -n "$CC"; then
    1480   echo "$as_me:$LINENO: result: $CC" >&5
    1481 echo "${ECHO_T}$CC" >&6
    1482 else
    1483   echo "$as_me:$LINENO: result: no" >&5
    1484 echo "${ECHO_T}no" >&6
    1485 fi
     1910  { echo "$as_me:$LINENO: result: $CC" >&5
     1911echo "${ECHO_T}$CC" >&6; }
     1912else
     1913  { echo "$as_me:$LINENO: result: no" >&5
     1914echo "${ECHO_T}no" >&6; }
     1915fi
     1916
    14861917
    14871918fi
     
    14901921  # Extract the first word of "gcc", so it can be a program name with args.
    14911922set dummy gcc; ac_word=$2
    1492 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1923{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1924echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    14941925if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    14951926  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15041935  test -z "$as_dir" && as_dir=.
    15051936  for ac_exec_ext in '' $ac_executable_extensions; do
    1506   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1937  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15071938    ac_cv_prog_ac_ct_CC="gcc"
    15081939    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15111942done
    15121943done
     1944IFS=$as_save_IFS
    15131945
    15141946fi
     
    15161948ac_ct_CC=$ac_cv_prog_ac_ct_CC
    15171949if test -n "$ac_ct_CC"; then
    1518   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1519 echo "${ECHO_T}$ac_ct_CC" >&6
    1520 else
    1521   echo "$as_me:$LINENO: result: no" >&5
    1522 echo "${ECHO_T}no" >&6
    1523 fi
    1524 
    1525   CC=$ac_ct_CC
     1950  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1951echo "${ECHO_T}$ac_ct_CC" >&6; }
     1952else
     1953  { echo "$as_me:$LINENO: result: no" >&5
     1954echo "${ECHO_T}no" >&6; }
     1955fi
     1956
     1957  if test "x$ac_ct_CC" = x; then
     1958    CC=""
     1959  else
     1960    case $cross_compiling:$ac_tool_warned in
     1961yes:)
     1962{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     1963whose name does not start with the host triplet.  If you think this
     1964configuration is useful to you, please write to autoconf@gnu.org." >&5
     1965echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     1966whose name does not start with the host triplet.  If you think this
     1967configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     1968ac_tool_warned=yes ;;
     1969esac
     1970    CC=$ac_ct_CC
     1971  fi
    15261972else
    15271973  CC="$ac_cv_prog_CC"
     
    15291975
    15301976if test -z "$CC"; then
    1531   if test -n "$ac_tool_prefix"; then
    1532   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1977          if test -n "$ac_tool_prefix"; then
     1978    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    15331979set dummy ${ac_tool_prefix}cc; ac_word=$2
    1534 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1980{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1981echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15361982if test "${ac_cv_prog_CC+set}" = set; then
    15371983  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15461992  test -z "$as_dir" && as_dir=.
    15471993  for ac_exec_ext in '' $ac_executable_extensions; do
    1548   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1994  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15491995    ac_cv_prog_CC="${ac_tool_prefix}cc"
    15501996    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15531999done
    15542000done
     2001IFS=$as_save_IFS
    15552002
    15562003fi
     
    15582005CC=$ac_cv_prog_CC
    15592006if test -n "$CC"; then
    1560   echo "$as_me:$LINENO: result: $CC" >&5
    1561 echo "${ECHO_T}$CC" >&6
    1562 else
    1563   echo "$as_me:$LINENO: result: no" >&5
    1564 echo "${ECHO_T}no" >&6
    1565 fi
    1566 
    1567 fi
    1568 if test -z "$ac_cv_prog_CC"; then
    1569   ac_ct_CC=$CC
    1570   # Extract the first word of "cc", so it can be a program name with args.
    1571 set dummy cc; ac_word=$2
    1572 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1574 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1575   echo $ECHO_N "(cached) $ECHO_C" >&6
    1576 else
    1577   if test -n "$ac_ct_CC"; then
    1578   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1579 else
    1580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1581 for as_dir in $PATH
    1582 do
    1583   IFS=$as_save_IFS
    1584   test -z "$as_dir" && as_dir=.
    1585   for ac_exec_ext in '' $ac_executable_extensions; do
    1586   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1587     ac_cv_prog_ac_ct_CC="cc"
    1588     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1589     break 2
     2007  { echo "$as_me:$LINENO: result: $CC" >&5
     2008echo "${ECHO_T}$CC" >&6; }
     2009else
     2010  { echo "$as_me:$LINENO: result: no" >&5
     2011echo "${ECHO_T}no" >&6; }
     2012fi
     2013
     2014
    15902015  fi
    1591 done
    1592 done
    1593 
    1594 fi
    1595 fi
    1596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1597 if test -n "$ac_ct_CC"; then
    1598   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1599 echo "${ECHO_T}$ac_ct_CC" >&6
    1600 else
    1601   echo "$as_me:$LINENO: result: no" >&5
    1602 echo "${ECHO_T}no" >&6
    1603 fi
    1604 
    1605   CC=$ac_ct_CC
    1606 else
    1607   CC="$ac_cv_prog_CC"
    1608 fi
    1609 
    16102016fi
    16112017if test -z "$CC"; then
    16122018  # Extract the first word of "cc", so it can be a program name with args.
    16132019set dummy cc; ac_word=$2
    1614 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2020{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2021echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16162022if test "${ac_cv_prog_CC+set}" = set; then
    16172023  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16272033  test -z "$as_dir" && as_dir=.
    16282034  for ac_exec_ext in '' $ac_executable_extensions; do
    1629   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2035  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16302036    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    16312037       ac_prog_rejected=yes
     
    16382044done
    16392045done
     2046IFS=$as_save_IFS
    16402047
    16412048if test $ac_prog_rejected = yes; then
     
    16552062CC=$ac_cv_prog_CC
    16562063if test -n "$CC"; then
    1657   echo "$as_me:$LINENO: result: $CC" >&5
    1658 echo "${ECHO_T}$CC" >&6
    1659 else
    1660   echo "$as_me:$LINENO: result: no" >&5
    1661 echo "${ECHO_T}no" >&6
    1662 fi
     2064  { echo "$as_me:$LINENO: result: $CC" >&5
     2065echo "${ECHO_T}$CC" >&6; }
     2066else
     2067  { echo "$as_me:$LINENO: result: no" >&5
     2068echo "${ECHO_T}no" >&6; }
     2069fi
     2070
    16632071
    16642072fi
    16652073if test -z "$CC"; then
    16662074  if test -n "$ac_tool_prefix"; then
    1667   for ac_prog in cl
     2075  for ac_prog in cl.exe
    16682076  do
    16692077    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    16702078set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1671 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2079{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2080echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16732081if test "${ac_cv_prog_CC+set}" = set; then
    16742082  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16832091  test -z "$as_dir" && as_dir=.
    16842092  for ac_exec_ext in '' $ac_executable_extensions; do
    1685   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2093  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16862094    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    16872095    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    16902098done
    16912099done
     2100IFS=$as_save_IFS
    16922101
    16932102fi
     
    16952104CC=$ac_cv_prog_CC
    16962105if test -n "$CC"; then
    1697   echo "$as_me:$LINENO: result: $CC" >&5
    1698 echo "${ECHO_T}$CC" >&6
    1699 else
    1700   echo "$as_me:$LINENO: result: no" >&5
    1701 echo "${ECHO_T}no" >&6
    1702 fi
     2106  { echo "$as_me:$LINENO: result: $CC" >&5
     2107echo "${ECHO_T}$CC" >&6; }
     2108else
     2109  { echo "$as_me:$LINENO: result: no" >&5
     2110echo "${ECHO_T}no" >&6; }
     2111fi
     2112
    17032113
    17042114    test -n "$CC" && break
     
    17072117if test -z "$CC"; then
    17082118  ac_ct_CC=$CC
    1709   for ac_prog in cl
     2119  for ac_prog in cl.exe
    17102120do
    17112121  # Extract the first word of "$ac_prog", so it can be a program name with args.
    17122122set dummy $ac_prog; ac_word=$2
    1713 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2123{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2124echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17152125if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    17162126  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17252135  test -z "$as_dir" && as_dir=.
    17262136  for ac_exec_ext in '' $ac_executable_extensions; do
    1727   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2137  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17282138    ac_cv_prog_ac_ct_CC="$ac_prog"
    17292139    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17322142done
    17332143done
     2144IFS=$as_save_IFS
    17342145
    17352146fi
     
    17372148ac_ct_CC=$ac_cv_prog_ac_ct_CC
    17382149if test -n "$ac_ct_CC"; then
    1739   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1740 echo "${ECHO_T}$ac_ct_CC" >&6
    1741 else
    1742   echo "$as_me:$LINENO: result: no" >&5
    1743 echo "${ECHO_T}no" >&6
    1744 fi
     2150  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2151echo "${ECHO_T}$ac_ct_CC" >&6; }
     2152else
     2153  { echo "$as_me:$LINENO: result: no" >&5
     2154echo "${ECHO_T}no" >&6; }
     2155fi
     2156
    17452157
    17462158  test -n "$ac_ct_CC" && break
    17472159done
    17482160
    1749   CC=$ac_ct_CC
     2161  if test "x$ac_ct_CC" = x; then
     2162    CC=""
     2163  else
     2164    case $cross_compiling:$ac_tool_warned in
     2165yes:)
     2166{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2167whose name does not start with the host triplet.  If you think this
     2168configuration is useful to you, please write to autoconf@gnu.org." >&5
     2169echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2170whose name does not start with the host triplet.  If you think this
     2171configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2172ac_tool_warned=yes ;;
     2173esac
     2174    CC=$ac_ct_CC
     2175  fi
    17502176fi
    17512177
     
    17602186
    17612187# Provide some information about the compiler.
    1762 echo "$as_me:$LINENO:" \
    1763      "checking for C compiler version" >&5
     2188echo "$as_me:$LINENO: checking for C compiler version" >&5
    17642189ac_compiler=`set X $ac_compile; echo $2`
    1765 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1766   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2190{ (ac_try="$ac_compiler --version >&5"
     2191case "(($ac_try" in
     2192  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2193  *) ac_try_echo=$ac_try;;
     2194esac
     2195eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2196  (eval "$ac_compiler --version >&5") 2>&5
    17672197  ac_status=$?
    17682198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17692199  (exit $ac_status); }
    1770 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1771   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2200{ (ac_try="$ac_compiler -v >&5"
     2201case "(($ac_try" in
     2202  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2203  *) ac_try_echo=$ac_try;;
     2204esac
     2205eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2206  (eval "$ac_compiler -v >&5") 2>&5
    17722207  ac_status=$?
    17732208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17742209  (exit $ac_status); }
    1775 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1776   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2210{ (ac_try="$ac_compiler -V >&5"
     2211case "(($ac_try" in
     2212  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2213  *) ac_try_echo=$ac_try;;
     2214esac
     2215eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2216  (eval "$ac_compiler -V >&5") 2>&5
    17772217  ac_status=$?
    17782218  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    17992239# It will help us diagnose broken compilers, and finding out an intuition
    18002240# of exeext.
    1801 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1802 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2241{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2242echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    18032243ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1804 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1805   (eval $ac_link_default) 2>&5
     2244#
     2245# List of possible output files, starting from the most likely.
     2246# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
     2247# only as a last resort.  b.out is created by i960 compilers.
     2248ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
     2249#
     2250# The IRIX 6 linker writes into existing files which may not be
     2251# executable, retaining their permissions.  Remove them first so a
     2252# subsequent execution test works.
     2253ac_rmfiles=
     2254for ac_file in $ac_files
     2255do
     2256  case $ac_file in
     2257    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     2258    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2259  esac
     2260done
     2261rm -f $ac_rmfiles
     2262
     2263if { (ac_try="$ac_link_default"
     2264case "(($ac_try" in
     2265  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2266  *) ac_try_echo=$ac_try;;
     2267esac
     2268eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2269  (eval "$ac_link_default") 2>&5
    18062270  ac_status=$?
    18072271  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18082272  (exit $ac_status); }; then
    1809   # Find the output, starting from the most likely.  This scheme is
    1810 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1811 # resort.
    1812 
    1813 # Be careful to initialize this variable, since it used to be cached.
    1814 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1815 ac_cv_exeext=
    1816 # b.out is created by i960 compilers.
    1817 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2273  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2274# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2275# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2276# so that the user can short-circuit this test for compilers unknown to
     2277# Autoconf.
     2278for ac_file in $ac_files ''
    18182279do
    18192280  test -f "$ac_file" || continue
    18202281  case $ac_file in
    1821     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1822     ;;
    1823     conftest.$ac_ext )
    1824     # This is the source file.
     2282    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    18252283    ;;
    18262284    [ab].out )
     
    18292287    break;;
    18302288    *.* )
    1831     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1832     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1833     # but it would be cool to find out if it's true.  Does anybody
    1834     # maintain Libtool? --akim.
    1835     export ac_cv_exeext
     2289        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2290    then :; else
     2291       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2292    fi
     2293    # We set ac_cv_exeext here because the later test for it is not
     2294    # safe: cross compilers may not add the suffix if given an `-o'
     2295    # argument, so we may need to know it at that point already.
     2296    # Even if this section looks crufty: it has the advantage of
     2297    # actually working.
    18362298    break;;
    18372299    * )
     
    18392301  esac
    18402302done
    1841 else
     2303test "$ac_cv_exeext" = no && ac_cv_exeext=
     2304
     2305else
     2306  ac_file=''
     2307fi
     2308
     2309{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2310echo "${ECHO_T}$ac_file" >&6; }
     2311if test -z "$ac_file"; then
    18422312  echo "$as_me: failed program was:" >&5
    18432313sed 's/^/| /' conftest.$ac_ext >&5
     
    18512321
    18522322ac_exeext=$ac_cv_exeext
    1853 echo "$as_me:$LINENO: result: $ac_file" >&5
    1854 echo "${ECHO_T}$ac_file" >&6
    1855 
    1856 # Check the compiler produces executables we can run.  If not, either
     2323
     2324# Check that the compiler produces executables we can run.  If not, either
    18572325# the compiler is broken, or we cross compile.
    1858 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1859 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2326{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2327echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    18602328# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    18612329# If not cross compiling, check that we can run a simple program.
    18622330if test "$cross_compiling" != yes; then
    18632331  if { ac_try='./$ac_file'
    1864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1865   (eval $ac_try) 2>&5
     2332  { (case "(($ac_try" in
     2333  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2334  *) ac_try_echo=$ac_try;;
     2335esac
     2336eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2337  (eval "$ac_try") 2>&5
    18662338  ac_status=$?
    18672339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    18822354  fi
    18832355fi
    1884 echo "$as_me:$LINENO: result: yes" >&5
    1885 echo "${ECHO_T}yes" >&6
     2356{ echo "$as_me:$LINENO: result: yes" >&5
     2357echo "${ECHO_T}yes" >&6; }
    18862358
    18872359rm -f a.out a.exe conftest$ac_cv_exeext b.out
    18882360ac_clean_files=$ac_clean_files_save
    1889 # Check the compiler produces executables we can run.  If not, either
     2361# Check that the compiler produces executables we can run.  If not, either
    18902362# the compiler is broken, or we cross compile.
    1891 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1892 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1893 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1894 echo "${ECHO_T}$cross_compiling" >&6
    1895 
    1896 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1897 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1899   (eval $ac_link) 2>&5
     2363{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2364echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2365{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2366echo "${ECHO_T}$cross_compiling" >&6; }
     2367
     2368{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2369echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
     2370if { (ac_try="$ac_link"
     2371case "(($ac_try" in
     2372  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2373  *) ac_try_echo=$ac_try;;
     2374esac
     2375eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2376  (eval "$ac_link") 2>&5
    19002377  ac_status=$?
    19012378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    19082385  test -f "$ac_file" || continue
    19092386  case $ac_file in
    1910     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2387    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    19112388    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1912       export ac_cv_exeext
    19132389      break;;
    19142390    * ) break;;
     
    19242400
    19252401rm -f conftest$ac_cv_exeext
    1926 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1927 echo "${ECHO_T}$ac_cv_exeext" >&6
     2402{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2403echo "${ECHO_T}$ac_cv_exeext" >&6; }
    19282404
    19292405rm -f conftest.$ac_ext
    19302406EXEEXT=$ac_cv_exeext
    19312407ac_exeext=$EXEEXT
    1932 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1933 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2408{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2409echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    19342410if test "${ac_cv_objext+set}" = set; then
    19352411  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19512427_ACEOF
    19522428rm -f conftest.o conftest.obj
    1953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1954   (eval $ac_compile) 2>&5
     2429if { (ac_try="$ac_compile"
     2430case "(($ac_try" in
     2431  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2432  *) ac_try_echo=$ac_try;;
     2433esac
     2434eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2435  (eval "$ac_compile") 2>&5
    19552436  ac_status=$?
    19562437  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19572438  (exit $ac_status); }; then
    1958   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2439  for ac_file in conftest.o conftest.obj conftest.*; do
     2440  test -f "$ac_file" || continue;
    19592441  case $ac_file in
    1960     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2442    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    19612443    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    19622444       break;;
     
    19762458rm -f conftest.$ac_cv_objext conftest.$ac_ext
    19772459fi
    1978 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1979 echo "${ECHO_T}$ac_cv_objext" >&6
     2460{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2461echo "${ECHO_T}$ac_cv_objext" >&6; }
    19802462OBJEXT=$ac_cv_objext
    19812463ac_objext=$OBJEXT
    1982 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    1983 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2464{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2465echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    19842466if test "${ac_cv_c_compiler_gnu+set}" = set; then
    19852467  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20042486_ACEOF
    20052487rm -f conftest.$ac_objext
    2006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2007   (eval $ac_compile) 2>conftest.er1
     2488if { (ac_try="$ac_compile"
     2489case "(($ac_try" in
     2490  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2491  *) ac_try_echo=$ac_try;;
     2492esac
     2493eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2494  (eval "$ac_compile") 2>conftest.er1
    20082495  ac_status=$?
    20092496  grep -v '^ *+' conftest.er1 >conftest.err
     
    20112498  cat conftest.err >&5
    20122499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2013   (exit $ac_status); } &&
    2014      { ac_try='test -z "$ac_c_werror_flag"
    2015              || test ! -s conftest.err'
    2016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2017   (eval $ac_try) 2>&5
    2018   ac_status=$?
    2019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2020   (exit $ac_status); }; } &&
    2021      { ac_try='test -s conftest.$ac_objext'
    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); }; }; then
     2500  (exit $ac_status); } && {
     2501     test -z "$ac_c_werror_flag" ||
     2502     test ! -s conftest.err
     2503       } && test -s conftest.$ac_objext; then
    20272504  ac_compiler_gnu=yes
    20282505else
     
    20302507sed 's/^/| /' conftest.$ac_ext >&5
    20312508
    2032 ac_compiler_gnu=no
    2033 fi
    2034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2509    ac_compiler_gnu=no
     2510fi
     2511
     2512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    20352513ac_cv_c_compiler_gnu=$ac_compiler_gnu
    20362514
    20372515fi
    2038 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2039 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2516{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2517echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    20402518GCC=`test $ac_compiler_gnu = yes && echo yes`
    20412519ac_test_CFLAGS=${CFLAGS+set}
    20422520ac_save_CFLAGS=$CFLAGS
    2043 CFLAGS="-g"
    2044 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2045 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2521{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2522echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    20462523if test "${ac_cv_prog_cc_g+set}" = set; then
    20472524  echo $ECHO_N "(cached) $ECHO_C" >&6
    20482525else
    2049   cat >conftest.$ac_ext <<_ACEOF
     2526  ac_save_c_werror_flag=$ac_c_werror_flag
     2527   ac_c_werror_flag=yes
     2528   ac_cv_prog_cc_g=no
     2529   CFLAGS="-g"
     2530   cat >conftest.$ac_ext <<_ACEOF
    20502531/* confdefs.h.  */
    20512532_ACEOF
     
    20632544_ACEOF
    20642545rm -f conftest.$ac_objext
    2065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2066   (eval $ac_compile) 2>conftest.er1
     2546if { (ac_try="$ac_compile"
     2547case "(($ac_try" in
     2548  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2549  *) ac_try_echo=$ac_try;;
     2550esac
     2551eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2552  (eval "$ac_compile") 2>conftest.er1
    20672553  ac_status=$?
    20682554  grep -v '^ *+' conftest.er1 >conftest.err
     
    20702556  cat conftest.err >&5
    20712557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2072   (exit $ac_status); } &&
    2073      { ac_try='test -z "$ac_c_werror_flag"
    2074              || test ! -s conftest.err'
    2075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2076   (eval $ac_try) 2>&5
    2077   ac_status=$?
    2078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2079   (exit $ac_status); }; } &&
    2080      { ac_try='test -s conftest.$ac_objext'
    2081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2082   (eval $ac_try) 2>&5
    2083   ac_status=$?
    2084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2085   (exit $ac_status); }; }; then
     2558  (exit $ac_status); } && {
     2559     test -z "$ac_c_werror_flag" ||
     2560     test ! -s conftest.err
     2561       } && test -s conftest.$ac_objext; then
    20862562  ac_cv_prog_cc_g=yes
    20872563else
     
    20892565sed 's/^/| /' conftest.$ac_ext >&5
    20902566
    2091 ac_cv_prog_cc_g=no
    2092 fi
    2093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2094 fi
    2095 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2096 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2567    CFLAGS=""
     2568      cat >conftest.$ac_ext <<_ACEOF
     2569/* confdefs.h.  */
     2570_ACEOF
     2571cat confdefs.h >>conftest.$ac_ext
     2572cat >>conftest.$ac_ext <<_ACEOF
     2573/* end confdefs.h.  */
     2574
     2575int
     2576main ()
     2577{
     2578
     2579  ;
     2580  return 0;
     2581}
     2582_ACEOF
     2583rm -f conftest.$ac_objext
     2584if { (ac_try="$ac_compile"
     2585case "(($ac_try" in
     2586  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2587  *) ac_try_echo=$ac_try;;
     2588esac
     2589eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2590  (eval "$ac_compile") 2>conftest.er1
     2591  ac_status=$?
     2592  grep -v '^ *+' conftest.er1 >conftest.err
     2593  rm -f conftest.er1
     2594  cat conftest.err >&5
     2595  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2596  (exit $ac_status); } && {
     2597     test -z "$ac_c_werror_flag" ||
     2598     test ! -s conftest.err
     2599       } && test -s conftest.$ac_objext; then
     2600  :
     2601else
     2602  echo "$as_me: failed program was:" >&5
     2603sed 's/^/| /' conftest.$ac_ext >&5
     2604
     2605    ac_c_werror_flag=$ac_save_c_werror_flag
     2606     CFLAGS="-g"
     2607     cat >conftest.$ac_ext <<_ACEOF
     2608/* confdefs.h.  */
     2609_ACEOF
     2610cat confdefs.h >>conftest.$ac_ext
     2611cat >>conftest.$ac_ext <<_ACEOF
     2612/* end confdefs.h.  */
     2613
     2614int
     2615main ()
     2616{
     2617
     2618  ;
     2619  return 0;
     2620}
     2621_ACEOF
     2622rm -f conftest.$ac_objext
     2623if { (ac_try="$ac_compile"
     2624case "(($ac_try" in
     2625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2626  *) ac_try_echo=$ac_try;;
     2627esac
     2628eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2629  (eval "$ac_compile") 2>conftest.er1
     2630  ac_status=$?
     2631  grep -v '^ *+' conftest.er1 >conftest.err
     2632  rm -f conftest.er1
     2633  cat conftest.err >&5
     2634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2635  (exit $ac_status); } && {
     2636     test -z "$ac_c_werror_flag" ||
     2637     test ! -s conftest.err
     2638       } && test -s conftest.$ac_objext; then
     2639  ac_cv_prog_cc_g=yes
     2640else
     2641  echo "$as_me: failed program was:" >&5
     2642sed 's/^/| /' conftest.$ac_ext >&5
     2643
     2644
     2645fi
     2646
     2647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2648fi
     2649
     2650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2651fi
     2652
     2653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2654   ac_c_werror_flag=$ac_save_c_werror_flag
     2655fi
     2656{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2657echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    20972658if test "$ac_test_CFLAGS" = set; then
    20982659  CFLAGS=$ac_save_CFLAGS
     
    21102671  fi
    21112672fi
    2112 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2113 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2114 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2673{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2674echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     2675if test "${ac_cv_prog_cc_c89+set}" = set; then
    21152676  echo $ECHO_N "(cached) $ECHO_C" >&6
    21162677else
    2117   ac_cv_prog_cc_stdc=no
     2678  ac_cv_prog_cc_c89=no
    21182679ac_save_CC=$CC
    21192680cat >conftest.$ac_ext <<_ACEOF
     
    21492710   function prototypes and stuff, but not '\xHH' hex character constants.
    21502711   These don't provoke an error unfortunately, instead are silently treated
    2151    as 'x'.  The following induces an error, until -std1 is added to get
     2712   as 'x'.  The following induces an error, until -std is added to get
    21522713   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    21532714   array size at least.  It's necessary to write '\x00'==0 to get something
    2154    that's true only with -std1.  */
     2715   that's true only with -std.  */
    21552716int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2717
     2718/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2719   inside strings and character constants.  */
     2720#define FOO(x) 'x'
     2721int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    21562722
    21572723int test (int i, double x);
     
    21692735}
    21702736_ACEOF
    2171 # Don't try gcc -ansi; that turns off useful extensions and
    2172 # breaks some systems' header files.
    2173 # AIX           -qlanglvl=ansi
    2174 # Ultrix and OSF/1  -std1
    2175 # HP-UX 10.20 and later -Ae
    2176 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2177 # SVR4          -Xc -D__EXTENSIONS__
    2178 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2737for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2738    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    21792739do
    21802740  CC="$ac_save_CC $ac_arg"
    21812741  rm -f conftest.$ac_objext
    2182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2183   (eval $ac_compile) 2>conftest.er1
     2742if { (ac_try="$ac_compile"
     2743case "(($ac_try" in
     2744  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2745  *) ac_try_echo=$ac_try;;
     2746esac
     2747eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2748  (eval "$ac_compile") 2>conftest.er1
    21842749  ac_status=$?
    21852750  grep -v '^ *+' conftest.er1 >conftest.err
     
    21872752  cat conftest.err >&5
    21882753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2189   (exit $ac_status); } &&
    2190      { ac_try='test -z "$ac_c_werror_flag"
    2191              || test ! -s conftest.err'
    2192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2193   (eval $ac_try) 2>&5
    2194   ac_status=$?
    2195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2196   (exit $ac_status); }; } &&
    2197      { ac_try='test -s conftest.$ac_objext'
    2198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2199   (eval $ac_try) 2>&5
    2200   ac_status=$?
    2201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2202   (exit $ac_status); }; }; then
    2203   ac_cv_prog_cc_stdc=$ac_arg
    2204 break
     2754  (exit $ac_status); } && {
     2755     test -z "$ac_c_werror_flag" ||
     2756     test ! -s conftest.err
     2757       } && test -s conftest.$ac_objext; then
     2758  ac_cv_prog_cc_c89=$ac_arg
    22052759else
    22062760  echo "$as_me: failed program was:" >&5
    22072761sed 's/^/| /' conftest.$ac_ext >&5
    22082762
    2209 fi
    2210 rm -f conftest.err conftest.$ac_objext
     2763
     2764fi
     2765
     2766rm -f core conftest.err conftest.$ac_objext
     2767  test "x$ac_cv_prog_cc_c89" != "xno" && break
    22112768done
    2212 rm -f conftest.$ac_ext conftest.$ac_objext
     2769rm -f conftest.$ac_ext
    22132770CC=$ac_save_CC
    22142771
    22152772fi
    2216 
    2217 case "x$ac_cv_prog_cc_stdc" in
    2218   x|xno)
    2219     echo "$as_me:$LINENO: result: none needed" >&5
    2220 echo "${ECHO_T}none needed" >&6 ;;
     2773# AC_CACHE_VAL
     2774case "x$ac_cv_prog_cc_c89" in
     2775  x)
     2776    { echo "$as_me:$LINENO: result: none needed" >&5
     2777echo "${ECHO_T}none needed" >&6; } ;;
     2778  xno)
     2779    { echo "$as_me:$LINENO: result: unsupported" >&5
     2780echo "${ECHO_T}unsupported" >&6; } ;;
    22212781  *)
    2222     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2223 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2224     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2225 esac
    2226 
    2227 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2228 # in C++ we need to declare it.  In case someone uses the same compiler
    2229 # for both compiling C and C++ we need to have the C++ compiler decide
    2230 # the declaration of exit, since it's the most demanding environment.
    2231 cat >conftest.$ac_ext <<_ACEOF
    2232 #ifndef __cplusplus
    2233   choke me
    2234 #endif
    2235 _ACEOF
    2236 rm -f conftest.$ac_objext
    2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2238   (eval $ac_compile) 2>conftest.er1
    2239   ac_status=$?
    2240   grep -v '^ *+' conftest.er1 >conftest.err
    2241   rm -f conftest.er1
    2242   cat conftest.err >&5
    2243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2244   (exit $ac_status); } &&
    2245      { ac_try='test -z "$ac_c_werror_flag"
    2246              || test ! -s conftest.err'
    2247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2248   (eval $ac_try) 2>&5
    2249   ac_status=$?
    2250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2251   (exit $ac_status); }; } &&
    2252      { ac_try='test -s conftest.$ac_objext'
    2253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2254   (eval $ac_try) 2>&5
    2255   ac_status=$?
    2256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2257   (exit $ac_status); }; }; then
    2258   for ac_declaration in \
    2259    '' \
    2260    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2261    'extern "C" void std::exit (int); using std::exit;' \
    2262    'extern "C" void exit (int) throw ();' \
    2263    'extern "C" void exit (int);' \
    2264    'void exit (int);'
    2265 do
    2266   cat >conftest.$ac_ext <<_ACEOF
    2267 /* confdefs.h.  */
    2268 _ACEOF
    2269 cat confdefs.h >>conftest.$ac_ext
    2270 cat >>conftest.$ac_ext <<_ACEOF
    2271 /* end confdefs.h.  */
    2272 $ac_declaration
    2273 #include <stdlib.h>
    2274 int
    2275 main ()
    2276 {
    2277 exit (42);
    2278   ;
    2279   return 0;
    2280 }
    2281 _ACEOF
    2282 rm -f conftest.$ac_objext
    2283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2284   (eval $ac_compile) 2>conftest.er1
    2285   ac_status=$?
    2286   grep -v '^ *+' conftest.er1 >conftest.err
    2287   rm -f conftest.er1
    2288   cat conftest.err >&5
    2289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2290   (exit $ac_status); } &&
    2291      { ac_try='test -z "$ac_c_werror_flag"
    2292              || test ! -s conftest.err'
    2293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2294   (eval $ac_try) 2>&5
    2295   ac_status=$?
    2296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2297   (exit $ac_status); }; } &&
    2298      { ac_try='test -s conftest.$ac_objext'
    2299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2300   (eval $ac_try) 2>&5
    2301   ac_status=$?
    2302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2303   (exit $ac_status); }; }; then
    2304   :
    2305 else
    2306   echo "$as_me: failed program was:" >&5
    2307 sed 's/^/| /' conftest.$ac_ext >&5
    2308 
    2309 continue
    2310 fi
    2311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2312   cat >conftest.$ac_ext <<_ACEOF
    2313 /* confdefs.h.  */
    2314 _ACEOF
    2315 cat confdefs.h >>conftest.$ac_ext
    2316 cat >>conftest.$ac_ext <<_ACEOF
    2317 /* end confdefs.h.  */
    2318 $ac_declaration
    2319 int
    2320 main ()
    2321 {
    2322 exit (42);
    2323   ;
    2324   return 0;
    2325 }
    2326 _ACEOF
    2327 rm -f conftest.$ac_objext
    2328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2329   (eval $ac_compile) 2>conftest.er1
    2330   ac_status=$?
    2331   grep -v '^ *+' conftest.er1 >conftest.err
    2332   rm -f conftest.er1
    2333   cat conftest.err >&5
    2334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2335   (exit $ac_status); } &&
    2336      { ac_try='test -z "$ac_c_werror_flag"
    2337              || test ! -s conftest.err'
    2338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2339   (eval $ac_try) 2>&5
    2340   ac_status=$?
    2341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2342   (exit $ac_status); }; } &&
    2343      { ac_try='test -s conftest.$ac_objext'
    2344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2345   (eval $ac_try) 2>&5
    2346   ac_status=$?
    2347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2348   (exit $ac_status); }; }; then
    2349   break
    2350 else
    2351   echo "$as_me: failed program was:" >&5
    2352 sed 's/^/| /' conftest.$ac_ext >&5
    2353 
    2354 fi
    2355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2356 done
    2357 rm -f conftest*
    2358 if test -n "$ac_declaration"; then
    2359   echo '#ifdef __cplusplus' >>confdefs.h
    2360   echo $ac_declaration      >>confdefs.h
    2361   echo '#endif'             >>confdefs.h
    2362 fi
    2363 
    2364 else
    2365   echo "$as_me: failed program was:" >&5
    2366 sed 's/^/| /' conftest.$ac_ext >&5
    2367 
    2368 fi
    2369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2782    CC="$CC $ac_cv_prog_cc_c89"
     2783    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     2784echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2785esac
     2786
     2787
    23702788ac_ext=c
    23712789ac_cpp='$CPP $CPPFLAGS'
     
    23742792ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23752793
    2376 ac_ext=cc
     2794ac_ext=cpp
    23772795ac_cpp='$CXXCPP $CPPFLAGS'
    23782796ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23792797ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23802798ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2381 if test -n "$ac_tool_prefix"; then
    2382   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2799if test -z "$CXX"; then
     2800  if test -n "$CCC"; then
     2801    CXX=$CCC
     2802  else
     2803    if test -n "$ac_tool_prefix"; then
     2804  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    23832805  do
    23842806    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    23852807set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2386 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2808{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2809echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    23882810if test "${ac_cv_prog_CXX+set}" = set; then
    23892811  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    23982820  test -z "$as_dir" && as_dir=.
    23992821  for ac_exec_ext in '' $ac_executable_extensions; do
    2400   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2822  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24012823    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    24022824    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24052827done
    24062828done
     2829IFS=$as_save_IFS
    24072830
    24082831fi
     
    24102833CXX=$ac_cv_prog_CXX
    24112834if test -n "$CXX"; then
    2412   echo "$as_me:$LINENO: result: $CXX" >&5
    2413 echo "${ECHO_T}$CXX" >&6
    2414 else
    2415   echo "$as_me:$LINENO: result: no" >&5
    2416 echo "${ECHO_T}no" >&6
    2417 fi
     2835  { echo "$as_me:$LINENO: result: $CXX" >&5
     2836echo "${ECHO_T}$CXX" >&6; }
     2837else
     2838  { echo "$as_me:$LINENO: result: no" >&5
     2839echo "${ECHO_T}no" >&6; }
     2840fi
     2841
    24182842
    24192843    test -n "$CXX" && break
     
    24222846if test -z "$CXX"; then
    24232847  ac_ct_CXX=$CXX
    2424   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2848  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    24252849do
    24262850  # Extract the first word of "$ac_prog", so it can be a program name with args.
    24272851set dummy $ac_prog; ac_word=$2
    2428 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2852{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2853echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    24302854if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    24312855  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24402864  test -z "$as_dir" && as_dir=.
    24412865  for ac_exec_ext in '' $ac_executable_extensions; do
    2442   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2866  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24432867    ac_cv_prog_ac_ct_CXX="$ac_prog"
    24442868    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24472871done
    24482872done
     2873IFS=$as_save_IFS
    24492874
    24502875fi
     
    24522877ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    24532878if test -n "$ac_ct_CXX"; then
    2454   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2455 echo "${ECHO_T}$ac_ct_CXX" >&6
    2456 else
    2457   echo "$as_me:$LINENO: result: no" >&5
    2458 echo "${ECHO_T}no" >&6
    2459 fi
     2879  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2880echo "${ECHO_T}$ac_ct_CXX" >&6; }
     2881else
     2882  { echo "$as_me:$LINENO: result: no" >&5
     2883echo "${ECHO_T}no" >&6; }
     2884fi
     2885
    24602886
    24612887  test -n "$ac_ct_CXX" && break
    24622888done
    2463 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2464 
    2465   CXX=$ac_ct_CXX
    2466 fi
    2467 
    2468 
     2889
     2890  if test "x$ac_ct_CXX" = x; then
     2891    CXX="g++"
     2892  else
     2893    case $cross_compiling:$ac_tool_warned in
     2894yes:)
     2895{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2896whose name does not start with the host triplet.  If you think this
     2897configuration is useful to you, please write to autoconf@gnu.org." >&5
     2898echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2899whose name does not start with the host triplet.  If you think this
     2900configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2901ac_tool_warned=yes ;;
     2902esac
     2903    CXX=$ac_ct_CXX
     2904  fi
     2905fi
     2906
     2907  fi
     2908fi
    24692909# Provide some information about the compiler.
    2470 echo "$as_me:$LINENO:" \
    2471      "checking for C++ compiler version" >&5
     2910echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    24722911ac_compiler=`set X $ac_compile; echo $2`
    2473 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2474   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2912{ (ac_try="$ac_compiler --version >&5"
     2913case "(($ac_try" in
     2914  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2915  *) ac_try_echo=$ac_try;;
     2916esac
     2917eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2918  (eval "$ac_compiler --version >&5") 2>&5
    24752919  ac_status=$?
    24762920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24772921  (exit $ac_status); }
    2478 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2479   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2922{ (ac_try="$ac_compiler -v >&5"
     2923case "(($ac_try" in
     2924  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2925  *) ac_try_echo=$ac_try;;
     2926esac
     2927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2928  (eval "$ac_compiler -v >&5") 2>&5
    24802929  ac_status=$?
    24812930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24822931  (exit $ac_status); }
    2483 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2484   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2932{ (ac_try="$ac_compiler -V >&5"
     2933case "(($ac_try" in
     2934  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2935  *) ac_try_echo=$ac_try;;
     2936esac
     2937eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2938  (eval "$ac_compiler -V >&5") 2>&5
    24852939  ac_status=$?
    24862940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24872941  (exit $ac_status); }
    24882942
    2489 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2490 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2943{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2944echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    24912945if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    24922946  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    25112965_ACEOF
    25122966rm -f conftest.$ac_objext
    2513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2514   (eval $ac_compile) 2>conftest.er1
     2967if { (ac_try="$ac_compile"
     2968case "(($ac_try" in
     2969  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2970  *) ac_try_echo=$ac_try;;
     2971esac
     2972eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2973  (eval "$ac_compile") 2>conftest.er1
    25152974  ac_status=$?
    25162975  grep -v '^ *+' conftest.er1 >conftest.err
     
    25182977  cat conftest.err >&5
    25192978  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2520   (exit $ac_status); } &&
    2521      { ac_try='test -z "$ac_cxx_werror_flag"
    2522              || test ! -s conftest.err'
    2523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2524   (eval $ac_try) 2>&5
    2525   ac_status=$?
    2526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2527   (exit $ac_status); }; } &&
    2528      { ac_try='test -s conftest.$ac_objext'
    2529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2530   (eval $ac_try) 2>&5
    2531   ac_status=$?
    2532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2533   (exit $ac_status); }; }; then
     2979  (exit $ac_status); } && {
     2980     test -z "$ac_cxx_werror_flag" ||
     2981     test ! -s conftest.err
     2982       } && test -s conftest.$ac_objext; then
    25342983  ac_compiler_gnu=yes
    25352984else
     
    25372986sed 's/^/| /' conftest.$ac_ext >&5
    25382987
    2539 ac_compiler_gnu=no
    2540 fi
    2541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2988    ac_compiler_gnu=no
     2989fi
     2990
     2991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25422992ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    25432993
    25442994fi
    2545 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2546 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2995{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2996echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    25472997GXX=`test $ac_compiler_gnu = yes && echo yes`
    25482998ac_test_CXXFLAGS=${CXXFLAGS+set}
    25492999ac_save_CXXFLAGS=$CXXFLAGS
    2550 CXXFLAGS="-g"
    2551 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2552 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3000{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3001echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    25533002if test "${ac_cv_prog_cxx_g+set}" = set; then
    25543003  echo $ECHO_N "(cached) $ECHO_C" >&6
    25553004else
    2556   cat >conftest.$ac_ext <<_ACEOF
     3005  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3006   ac_cxx_werror_flag=yes
     3007   ac_cv_prog_cxx_g=no
     3008   CXXFLAGS="-g"
     3009   cat >conftest.$ac_ext <<_ACEOF
    25573010/* confdefs.h.  */
    25583011_ACEOF
     
    25703023_ACEOF
    25713024rm -f conftest.$ac_objext
    2572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2573   (eval $ac_compile) 2>conftest.er1
     3025if { (ac_try="$ac_compile"
     3026case "(($ac_try" in
     3027  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3028  *) ac_try_echo=$ac_try;;
     3029esac
     3030eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3031  (eval "$ac_compile") 2>conftest.er1
    25743032  ac_status=$?
    25753033  grep -v '^ *+' conftest.er1 >conftest.err
     
    25773035  cat conftest.err >&5
    25783036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2579   (exit $ac_status); } &&
    2580      { ac_try='test -z "$ac_cxx_werror_flag"
    2581              || test ! -s conftest.err'
    2582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2583   (eval $ac_try) 2>&5
    2584   ac_status=$?
    2585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2586   (exit $ac_status); }; } &&
    2587      { ac_try='test -s conftest.$ac_objext'
    2588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2589   (eval $ac_try) 2>&5
    2590   ac_status=$?
    2591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2592   (exit $ac_status); }; }; then
     3037  (exit $ac_status); } && {
     3038     test -z "$ac_cxx_werror_flag" ||
     3039     test ! -s conftest.err
     3040       } && test -s conftest.$ac_objext; then
    25933041  ac_cv_prog_cxx_g=yes
    25943042else
     
    25963044sed 's/^/| /' conftest.$ac_ext >&5
    25973045
    2598 ac_cv_prog_cxx_g=no
    2599 fi
    2600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2601 fi
    2602 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2603 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3046    CXXFLAGS=""
     3047      cat >conftest.$ac_ext <<_ACEOF
     3048/* confdefs.h.  */
     3049_ACEOF
     3050cat confdefs.h >>conftest.$ac_ext
     3051cat >>conftest.$ac_ext <<_ACEOF
     3052/* end confdefs.h.  */
     3053
     3054int
     3055main ()
     3056{
     3057
     3058  ;
     3059  return 0;
     3060}
     3061_ACEOF
     3062rm -f conftest.$ac_objext
     3063if { (ac_try="$ac_compile"
     3064case "(($ac_try" in
     3065  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3066  *) ac_try_echo=$ac_try;;
     3067esac
     3068eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3069  (eval "$ac_compile") 2>conftest.er1
     3070  ac_status=$?
     3071  grep -v '^ *+' conftest.er1 >conftest.err
     3072  rm -f conftest.er1
     3073  cat conftest.err >&5
     3074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3075  (exit $ac_status); } && {
     3076     test -z "$ac_cxx_werror_flag" ||
     3077     test ! -s conftest.err
     3078       } && test -s conftest.$ac_objext; then
     3079  :
     3080else
     3081  echo "$as_me: failed program was:" >&5
     3082sed 's/^/| /' conftest.$ac_ext >&5
     3083
     3084    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3085     CXXFLAGS="-g"
     3086     cat >conftest.$ac_ext <<_ACEOF
     3087/* confdefs.h.  */
     3088_ACEOF
     3089cat confdefs.h >>conftest.$ac_ext
     3090cat >>conftest.$ac_ext <<_ACEOF
     3091/* end confdefs.h.  */
     3092
     3093int
     3094main ()
     3095{
     3096
     3097  ;
     3098  return 0;
     3099}
     3100_ACEOF
     3101rm -f conftest.$ac_objext
     3102if { (ac_try="$ac_compile"
     3103case "(($ac_try" in
     3104  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3105  *) ac_try_echo=$ac_try;;
     3106esac
     3107eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3108  (eval "$ac_compile") 2>conftest.er1
     3109  ac_status=$?
     3110  grep -v '^ *+' conftest.er1 >conftest.err
     3111  rm -f conftest.er1
     3112  cat conftest.err >&5
     3113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3114  (exit $ac_status); } && {
     3115     test -z "$ac_cxx_werror_flag" ||
     3116     test ! -s conftest.err
     3117       } && test -s conftest.$ac_objext; then
     3118  ac_cv_prog_cxx_g=yes
     3119else
     3120  echo "$as_me: failed program was:" >&5
     3121sed 's/^/| /' conftest.$ac_ext >&5
     3122
     3123
     3124fi
     3125
     3126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3127fi
     3128
     3129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3130fi
     3131
     3132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3133   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3134fi
     3135{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3136echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
    26043137if test "$ac_test_CXXFLAGS" = set; then
    26053138  CXXFLAGS=$ac_save_CXXFLAGS
     
    26173150  fi
    26183151fi
    2619 for ac_declaration in \
    2620    '' \
    2621    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2622    'extern "C" void std::exit (int); using std::exit;' \
    2623    'extern "C" void exit (int) throw ();' \
    2624    'extern "C" void exit (int);' \
    2625    'void exit (int);'
    2626 do
    2627   cat >conftest.$ac_ext <<_ACEOF
    2628 /* confdefs.h.  */
    2629 _ACEOF
    2630 cat confdefs.h >>conftest.$ac_ext
    2631 cat >>conftest.$ac_ext <<_ACEOF
    2632 /* end confdefs.h.  */
    2633 $ac_declaration
    2634 #include <stdlib.h>
    2635 int
    2636 main ()
    2637 {
    2638 exit (42);
    2639   ;
    2640   return 0;
    2641 }
    2642 _ACEOF
    2643 rm -f conftest.$ac_objext
    2644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2645   (eval $ac_compile) 2>conftest.er1
    2646   ac_status=$?
    2647   grep -v '^ *+' conftest.er1 >conftest.err
    2648   rm -f conftest.er1
    2649   cat conftest.err >&5
    2650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2651   (exit $ac_status); } &&
    2652      { ac_try='test -z "$ac_cxx_werror_flag"
    2653              || test ! -s conftest.err'
    2654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2655   (eval $ac_try) 2>&5
    2656   ac_status=$?
    2657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2658   (exit $ac_status); }; } &&
    2659      { ac_try='test -s conftest.$ac_objext'
    2660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2661   (eval $ac_try) 2>&5
    2662   ac_status=$?
    2663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2664   (exit $ac_status); }; }; then
    2665   :
    2666 else
    2667   echo "$as_me: failed program was:" >&5
    2668 sed 's/^/| /' conftest.$ac_ext >&5
    2669 
    2670 continue
    2671 fi
    2672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2673   cat >conftest.$ac_ext <<_ACEOF
    2674 /* confdefs.h.  */
    2675 _ACEOF
    2676 cat confdefs.h >>conftest.$ac_ext
    2677 cat >>conftest.$ac_ext <<_ACEOF
    2678 /* end confdefs.h.  */
    2679 $ac_declaration
    2680 int
    2681 main ()
    2682 {
    2683 exit (42);
    2684   ;
    2685   return 0;
    2686 }
    2687 _ACEOF
    2688 rm -f conftest.$ac_objext
    2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2690   (eval $ac_compile) 2>conftest.er1
    2691   ac_status=$?
    2692   grep -v '^ *+' conftest.er1 >conftest.err
    2693   rm -f conftest.er1
    2694   cat conftest.err >&5
    2695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2696   (exit $ac_status); } &&
    2697      { ac_try='test -z "$ac_cxx_werror_flag"
    2698              || test ! -s conftest.err'
    2699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2700   (eval $ac_try) 2>&5
    2701   ac_status=$?
    2702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2703   (exit $ac_status); }; } &&
    2704      { ac_try='test -s conftest.$ac_objext'
    2705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2706   (eval $ac_try) 2>&5
    2707   ac_status=$?
    2708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2709   (exit $ac_status); }; }; then
    2710   break
    2711 else
    2712   echo "$as_me: failed program was:" >&5
    2713 sed 's/^/| /' conftest.$ac_ext >&5
    2714 
    2715 fi
    2716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2717 done
    2718 rm -f conftest*
    2719 if test -n "$ac_declaration"; then
    2720   echo '#ifdef __cplusplus' >>confdefs.h
    2721   echo $ac_declaration      >>confdefs.h
    2722   echo '#endif'             >>confdefs.h
    2723 fi
    2724 
    27253152ac_ext=c
    27263153ac_cpp='$CPP $CPPFLAGS'
     
    27333160  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27343161set dummy $ac_prog; ac_word=$2
    2735 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3162{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3163echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    27373164if test "${ac_cv_prog_AWK+set}" = set; then
    27383165  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27473174  test -z "$as_dir" && as_dir=.
    27483175  for ac_exec_ext in '' $ac_executable_extensions; do
    2749   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3176  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27503177    ac_cv_prog_AWK="$ac_prog"
    27513178    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27543181done
    27553182done
     3183IFS=$as_save_IFS
    27563184
    27573185fi
     
    27593187AWK=$ac_cv_prog_AWK
    27603188if test -n "$AWK"; then
    2761   echo "$as_me:$LINENO: result: $AWK" >&5
    2762 echo "${ECHO_T}$AWK" >&6
    2763 else
    2764   echo "$as_me:$LINENO: result: no" >&5
    2765 echo "${ECHO_T}no" >&6
    2766 fi
     3189  { echo "$as_me:$LINENO: result: $AWK" >&5
     3190echo "${ECHO_T}$AWK" >&6; }
     3191else
     3192  { echo "$as_me:$LINENO: result: no" >&5
     3193echo "${ECHO_T}no" >&6; }
     3194fi
     3195
    27673196
    27683197  test -n "$AWK" && break
     
    27733202  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27743203set dummy $ac_prog; ac_word=$2
    2775 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3204{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3205echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    27773206if test "${ac_cv_prog_YACC+set}" = set; then
    27783207  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27873216  test -z "$as_dir" && as_dir=.
    27883217  for ac_exec_ext in '' $ac_executable_extensions; do
    2789   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3218  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27903219    ac_cv_prog_YACC="$ac_prog"
    27913220    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27943223done
    27953224done
     3225IFS=$as_save_IFS
    27963226
    27973227fi
     
    27993229YACC=$ac_cv_prog_YACC
    28003230if test -n "$YACC"; then
    2801   echo "$as_me:$LINENO: result: $YACC" >&5
    2802 echo "${ECHO_T}$YACC" >&6
    2803 else
    2804   echo "$as_me:$LINENO: result: no" >&5
    2805 echo "${ECHO_T}no" >&6
    2806 fi
     3231  { echo "$as_me:$LINENO: result: $YACC" >&5
     3232echo "${ECHO_T}$YACC" >&6; }
     3233else
     3234  { echo "$as_me:$LINENO: result: no" >&5
     3235echo "${ECHO_T}no" >&6; }
     3236fi
     3237
    28073238
    28083239  test -n "$YACC" && break
     
    28113242
    28123243ac_aux_dir=
    2813 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    2814   if test -f $ac_dir/install-sh; then
     3244for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     3245  if test -f "$ac_dir/install-sh"; then
    28153246    ac_aux_dir=$ac_dir
    28163247    ac_install_sh="$ac_aux_dir/install-sh -c"
    28173248    break
    2818   elif test -f $ac_dir/install.sh; then
     3249  elif test -f "$ac_dir/install.sh"; then
    28193250    ac_aux_dir=$ac_dir
    28203251    ac_install_sh="$ac_aux_dir/install.sh -c"
    28213252    break
    2822   elif test -f $ac_dir/shtool; then
     3253  elif test -f "$ac_dir/shtool"; then
    28233254    ac_aux_dir=$ac_dir
    28243255    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    28273258done
    28283259if test -z "$ac_aux_dir"; then
    2829   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2830 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     3260  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     3261echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    28313262   { (exit 1); exit 1; }; }
    28323263fi
    2833 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2834 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2835 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     3264
     3265# These three variables are undocumented and unsupported,
     3266# and are intended to be withdrawn in a future Autoconf release.
     3267# They can cause serious problems if a builder's source tree is in a directory
     3268# whose full name contains unusual characters.
     3269ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     3270ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     3271ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     3272
    28363273
    28373274# Make sure we can run config.sub.
    2838 $ac_config_sub sun4 >/dev/null 2>&1 ||
    2839   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    2840 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     3275$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     3276  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     3277echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    28413278   { (exit 1); exit 1; }; }
    28423279
    2843 echo "$as_me:$LINENO: checking build system type" >&5
    2844 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     3280{ echo "$as_me:$LINENO: checking build system type" >&5
     3281echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
    28453282if test "${ac_cv_build+set}" = set; then
    28463283  echo $ECHO_N "(cached) $ECHO_C" >&6
    28473284else
    2848   ac_cv_build_alias=$build_alias
    2849 test -z "$ac_cv_build_alias" &&
    2850   ac_cv_build_alias=`$ac_config_guess`
    2851 test -z "$ac_cv_build_alias" &&
     3285  ac_build_alias=$build_alias
     3286test "x$ac_build_alias" = x &&
     3287  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     3288test "x$ac_build_alias" = x &&
    28523289  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    28533290echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    28543291   { (exit 1); exit 1; }; }
    2855 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    2856   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    2857 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     3292ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     3293  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     3294echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    28583295   { (exit 1); exit 1; }; }
    28593296
    28603297fi
    2861 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    2862 echo "${ECHO_T}$ac_cv_build" >&6
     3298{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     3299echo "${ECHO_T}$ac_cv_build" >&6; }
     3300case $ac_cv_build in
     3301*-*-*) ;;
     3302*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     3303echo "$as_me: error: invalid value of canonical build" >&2;}
     3304   { (exit 1); exit 1; }; };;
     3305esac
    28633306build=$ac_cv_build
    2864 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2865 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2866 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2867 
    2868 
    2869 echo "$as_me:$LINENO: checking host system type" >&5
    2870 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     3307ac_save_IFS=$IFS; IFS='-'
     3308set x $ac_cv_build
     3309shift
     3310build_cpu=$1
     3311build_vendor=$2
     3312shift; shift
     3313# Remember, the first character of IFS is used to create $*,
     3314# except with old shells:
     3315build_os=$*
     3316IFS=$ac_save_IFS
     3317case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     3318
     3319
     3320{ echo "$as_me:$LINENO: checking host system type" >&5
     3321echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
    28713322if test "${ac_cv_host+set}" = set; then
    28723323  echo $ECHO_N "(cached) $ECHO_C" >&6
    28733324else
    2874   ac_cv_host_alias=$host_alias
    2875 test -z "$ac_cv_host_alias" &&
    2876   ac_cv_host_alias=$ac_cv_build_alias
    2877 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    2878   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    2879 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     3325  if test "x$host_alias" = x; then
     3326  ac_cv_host=$ac_cv_build
     3327else
     3328  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     3329    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     3330echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    28803331   { (exit 1); exit 1; }; }
    2881 
    2882 fi
    2883 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    2884 echo "${ECHO_T}$ac_cv_host" >&6
     3332fi
     3333
     3334fi
     3335{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     3336echo "${ECHO_T}$ac_cv_host" >&6; }
     3337case $ac_cv_host in
     3338*-*-*) ;;
     3339*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     3340echo "$as_me: error: invalid value of canonical host" >&2;}
     3341   { (exit 1); exit 1; }; };;
     3342esac
    28853343host=$ac_cv_host
    2886 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2887 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2888 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2889 
    2890 
    2891 echo "$as_me:$LINENO: checking target system type" >&5
    2892 echo $ECHO_N "checking target system type... $ECHO_C" >&6
     3344ac_save_IFS=$IFS; IFS='-'
     3345set x $ac_cv_host
     3346shift
     3347host_cpu=$1
     3348host_vendor=$2
     3349shift; shift
     3350# Remember, the first character of IFS is used to create $*,
     3351# except with old shells:
     3352host_os=$*
     3353IFS=$ac_save_IFS
     3354case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     3355
     3356
     3357{ echo "$as_me:$LINENO: checking target system type" >&5
     3358echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
    28933359if test "${ac_cv_target+set}" = set; then
    28943360  echo $ECHO_N "(cached) $ECHO_C" >&6
    28953361else
    2896   ac_cv_target_alias=$target_alias
    2897 test "x$ac_cv_target_alias" = "x" &&
    2898   ac_cv_target_alias=$ac_cv_host_alias
    2899 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    2900   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    2901 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     3362  if test "x$target_alias" = x; then
     3363  ac_cv_target=$ac_cv_host
     3364else
     3365  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     3366    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     3367echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    29023368   { (exit 1); exit 1; }; }
    2903 
    2904 fi
    2905 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    2906 echo "${ECHO_T}$ac_cv_target" >&6
     3369fi
     3370
     3371fi
     3372{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     3373echo "${ECHO_T}$ac_cv_target" >&6; }
     3374case $ac_cv_target in
     3375*-*-*) ;;
     3376*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     3377echo "$as_me: error: invalid value of canonical target" >&2;}
     3378   { (exit 1); exit 1; }; };;
     3379esac
    29073380target=$ac_cv_target
    2908 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2909 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2910 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3381ac_save_IFS=$IFS; IFS='-'
     3382set x $ac_cv_target
     3383shift
     3384target_cpu=$1
     3385target_vendor=$2
     3386shift; shift
     3387# Remember, the first character of IFS is used to create $*,
     3388# except with old shells:
     3389target_os=$*
     3390IFS=$ac_save_IFS
     3391case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    29113392
    29123393
     
    29303411# OS/2's system install, which has a completely different semantic
    29313412# ./install, which can be erroneously created by make from ./install.sh.
    2932 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2933 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3413{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3414echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    29343415if test -z "$INSTALL"; then
    29353416if test "${ac_cv_path_install+set}" = set; then
     
    29533434    for ac_prog in ginstall scoinst install; do
    29543435      for ac_exec_ext in '' $ac_executable_extensions; do
    2955     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3436    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    29563437      if test $ac_prog = install &&
    29573438        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    29723453esac
    29733454done
     3455IFS=$as_save_IFS
    29743456
    29753457
     
    29783460    INSTALL=$ac_cv_path_install
    29793461  else
    2980     # As a last resort, use the slow shell script.  We don't cache a
    2981     # path for INSTALL within a source directory, because that will
     3462    # As a last resort, use the slow shell script.  Don't cache a
     3463    # value for INSTALL within a source directory, because that will
    29823464    # break other packages using the cache if that directory is
    2983     # removed, or if the path is relative.
     3465    # removed, or if the value is a relative name.
    29843466    INSTALL=$ac_install_sh
    29853467  fi
    29863468fi
    2987 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2988 echo "${ECHO_T}$INSTALL" >&6
     3469{ echo "$as_me:$LINENO: result: $INSTALL" >&5
     3470echo "${ECHO_T}$INSTALL" >&6; }
    29893471
    29903472# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    29963478test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    29973479
    2998 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    2999 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3480{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3481echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
    30003482LN_S=$as_ln_s
    30013483if test "$LN_S" = "ln -s"; then
    3002   echo "$as_me:$LINENO: result: yes" >&5
    3003 echo "${ECHO_T}yes" >&6
    3004 else
    3005   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3006 echo "${ECHO_T}no, using $LN_S" >&6
    3007 fi
    3008 
    3009 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3011 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3012 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3484  { echo "$as_me:$LINENO: result: yes" >&5
     3485echo "${ECHO_T}yes" >&6; }
     3486else
     3487  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3488echo "${ECHO_T}no, using $LN_S" >&6; }
     3489fi
     3490
     3491{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3492echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
     3493set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3494if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    30133495  echo $ECHO_N "(cached) $ECHO_C" >&6
    30143496else
    30153497  cat >conftest.make <<\_ACEOF
     3498SHELL = /bin/sh
    30163499all:
    3017     @echo 'ac_maketemp="$(MAKE)"'
     3500    @echo '@@@%%%=$(MAKE)=@@@%%%'
    30183501_ACEOF
    30193502# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3020 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    3021 if test -n "$ac_maketemp"; then
    3022   eval ac_cv_prog_make_${ac_make}_set=yes
    3023 else
    3024   eval ac_cv_prog_make_${ac_make}_set=no
    3025 fi
     3503case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3504  *@@@%%%=?*=@@@%%%*)
     3505    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3506  *)
     3507    eval ac_cv_prog_make_${ac_make}_set=no;;
     3508esac
    30263509rm -f conftest.make
    30273510fi
    3028 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3029   echo "$as_me:$LINENO: result: yes" >&5
    3030 echo "${ECHO_T}yes" >&6
     3511if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3512  { echo "$as_me:$LINENO: result: yes" >&5
     3513echo "${ECHO_T}yes" >&6; }
    30313514  SET_MAKE=
    30323515else
    3033   echo "$as_me:$LINENO: result: no" >&5
    3034 echo "${ECHO_T}no" >&6
     3516  { echo "$as_me:$LINENO: result: no" >&5
     3517echo "${ECHO_T}no" >&6; }
    30353518  SET_MAKE="MAKE=${MAKE-make}"
    30363519fi
     
    30393522  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    30403523set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3041 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3524{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3525echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30433526if test "${ac_cv_prog_RANLIB+set}" = set; then
    30443527  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30533536  test -z "$as_dir" && as_dir=.
    30543537  for ac_exec_ext in '' $ac_executable_extensions; do
    3055   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3538  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30563539    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    30573540    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30603543done
    30613544done
     3545IFS=$as_save_IFS
    30623546
    30633547fi
     
    30653549RANLIB=$ac_cv_prog_RANLIB
    30663550if test -n "$RANLIB"; then
    3067   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3068 echo "${ECHO_T}$RANLIB" >&6
    3069 else
    3070   echo "$as_me:$LINENO: result: no" >&5
    3071 echo "${ECHO_T}no" >&6
    3072 fi
     3551  { echo "$as_me:$LINENO: result: $RANLIB" >&5
     3552echo "${ECHO_T}$RANLIB" >&6; }
     3553else
     3554  { echo "$as_me:$LINENO: result: no" >&5
     3555echo "${ECHO_T}no" >&6; }
     3556fi
     3557
    30733558
    30743559fi
     
    30773562  # Extract the first word of "ranlib", so it can be a program name with args.
    30783563set dummy ranlib; ac_word=$2
    3079 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3564{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3565echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30813566if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    30823567  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30913576  test -z "$as_dir" && as_dir=.
    30923577  for ac_exec_ext in '' $ac_executable_extensions; do
    3093   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3578  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30943579    ac_cv_prog_ac_ct_RANLIB="ranlib"
    30953580    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30983583done
    30993584done
    3100 
    3101   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     3585IFS=$as_save_IFS
     3586
    31023587fi
    31033588fi
    31043589ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    31053590if test -n "$ac_ct_RANLIB"; then
    3106   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3107 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3108 else
    3109   echo "$as_me:$LINENO: result: no" >&5
    3110 echo "${ECHO_T}no" >&6
    3111 fi
    3112 
    3113   RANLIB=$ac_ct_RANLIB
     3591  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3592echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
     3593else
     3594  { echo "$as_me:$LINENO: result: no" >&5
     3595echo "${ECHO_T}no" >&6; }
     3596fi
     3597
     3598  if test "x$ac_ct_RANLIB" = x; then
     3599    RANLIB=":"
     3600  else
     3601    case $cross_compiling:$ac_tool_warned in
     3602yes:)
     3603{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3604whose name does not start with the host triplet.  If you think this
     3605configuration is useful to you, please write to autoconf@gnu.org." >&5
     3606echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3607whose name does not start with the host triplet.  If you think this
     3608configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3609ac_tool_warned=yes ;;
     3610esac
     3611    RANLIB=$ac_ct_RANLIB
     3612  fi
    31143613else
    31153614  RANLIB="$ac_cv_prog_RANLIB"
     
    31173616
    31183617
    3119 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3120 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     3618{ echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3619echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
    31213620arch_64bit=no
    31223621case "$host_cpu" in
     
    31253624
    31263625if test "$arch_64bit" = yes; then
    3127   echo "$as_me:$LINENO: result: yes" >&5
    3128 echo "${ECHO_T}yes" >&6
     3626  { echo "$as_me:$LINENO: result: yes" >&5
     3627echo "${ECHO_T}yes" >&6; }
    31293628  if test -z "$COMPAT32BITFLAGS" ; then
    31303629    COMPAT32BITFLAGS="-m32"
    31313630  fi
    31323631else
    3133   echo "$as_me:$LINENO: result: no" >&5
    3134 echo "${ECHO_T}no" >&6
     3632  { echo "$as_me:$LINENO: result: no" >&5
     3633echo "${ECHO_T}no" >&6; }
    31353634  if test -z "$COMPAT32BITFLAGS" ; then
    31363635    COMPAT32BITFLAGS=
     
    31793678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    31803679ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3181 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3182 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3680{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3681echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    31833682# On Suns, sometimes $CPP names a directory.
    31843683if test -n "$CPP" && test -d "$CPP"; then
     
    32143713             Syntax error
    32153714_ACEOF
    3216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3217   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3715if { (ac_try="$ac_cpp conftest.$ac_ext"
     3716case "(($ac_try" in
     3717  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3718  *) ac_try_echo=$ac_try;;
     3719esac
     3720eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3721  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32183722  ac_status=$?
    32193723  grep -v '^ *+' conftest.er1 >conftest.err
     
    32213725  cat conftest.err >&5
    32223726  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3223   (exit $ac_status); } >/dev/null; then
    3224   if test -s conftest.err; then
    3225     ac_cpp_err=$ac_c_preproc_warn_flag
    3226     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3227   else
    3228     ac_cpp_err=
    3229   fi
    3230 else
    3231   ac_cpp_err=yes
    3232 fi
    3233 if test -z "$ac_cpp_err"; then
     3727  (exit $ac_status); } >/dev/null && {
     3728     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3729     test ! -s conftest.err
     3730       }; then
    32343731  :
    32353732else
     
    32403737continue
    32413738fi
     3739
    32423740rm -f conftest.err conftest.$ac_ext
    32433741
    3244   # OK, works on sane cases.  Now check whether non-existent headers
     3742  # OK, works on sane cases.  Now check whether nonexistent headers
    32453743  # can be detected and how.
    32463744  cat >conftest.$ac_ext <<_ACEOF
     
    32523750#include <ac_nonexistent.h>
    32533751_ACEOF
    3254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3255   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3752if { (ac_try="$ac_cpp conftest.$ac_ext"
     3753case "(($ac_try" in
     3754  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3755  *) ac_try_echo=$ac_try;;
     3756esac
     3757eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3758  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32563759  ac_status=$?
    32573760  grep -v '^ *+' conftest.er1 >conftest.err
     
    32593762  cat conftest.err >&5
    32603763  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3261   (exit $ac_status); } >/dev/null; then
    3262   if test -s conftest.err; then
    3263     ac_cpp_err=$ac_c_preproc_warn_flag
    3264     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3265   else
    3266     ac_cpp_err=
    3267   fi
    3268 else
    3269   ac_cpp_err=yes
    3270 fi
    3271 if test -z "$ac_cpp_err"; then
     3764  (exit $ac_status); } >/dev/null && {
     3765     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3766     test ! -s conftest.err
     3767       }; then
    32723768  # Broken: success on invalid input.
    32733769continue
     
    32803776break
    32813777fi
     3778
    32823779rm -f conftest.err conftest.$ac_ext
    32833780
     
    32973794  ac_cv_prog_CPP=$CPP
    32983795fi
    3299 echo "$as_me:$LINENO: result: $CPP" >&5
    3300 echo "${ECHO_T}$CPP" >&6
     3796{ echo "$as_me:$LINENO: result: $CPP" >&5
     3797echo "${ECHO_T}$CPP" >&6; }
    33013798ac_preproc_ok=false
    33023799for ac_c_preproc_warn_flag in '' yes
     
    33213818             Syntax error
    33223819_ACEOF
    3323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3324   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3820if { (ac_try="$ac_cpp conftest.$ac_ext"
     3821case "(($ac_try" in
     3822  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3823  *) ac_try_echo=$ac_try;;
     3824esac
     3825eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3826  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33253827  ac_status=$?
    33263828  grep -v '^ *+' conftest.er1 >conftest.err
     
    33283830  cat conftest.err >&5
    33293831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3330   (exit $ac_status); } >/dev/null; then
    3331   if test -s conftest.err; then
    3332     ac_cpp_err=$ac_c_preproc_warn_flag
    3333     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3334   else
    3335     ac_cpp_err=
    3336   fi
    3337 else
    3338   ac_cpp_err=yes
    3339 fi
    3340 if test -z "$ac_cpp_err"; then
     3832  (exit $ac_status); } >/dev/null && {
     3833     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3834     test ! -s conftest.err
     3835       }; then
    33413836  :
    33423837else
     
    33473842continue
    33483843fi
     3844
    33493845rm -f conftest.err conftest.$ac_ext
    33503846
    3351   # OK, works on sane cases.  Now check whether non-existent headers
     3847  # OK, works on sane cases.  Now check whether nonexistent headers
    33523848  # can be detected and how.
    33533849  cat >conftest.$ac_ext <<_ACEOF
     
    33593855#include <ac_nonexistent.h>
    33603856_ACEOF
    3361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3362   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3857if { (ac_try="$ac_cpp conftest.$ac_ext"
     3858case "(($ac_try" in
     3859  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3860  *) ac_try_echo=$ac_try;;
     3861esac
     3862eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3863  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33633864  ac_status=$?
    33643865  grep -v '^ *+' conftest.er1 >conftest.err
     
    33663867  cat conftest.err >&5
    33673868  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3368   (exit $ac_status); } >/dev/null; then
    3369   if test -s conftest.err; then
    3370     ac_cpp_err=$ac_c_preproc_warn_flag
    3371     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3372   else
    3373     ac_cpp_err=
    3374   fi
    3375 else
    3376   ac_cpp_err=yes
    3377 fi
    3378 if test -z "$ac_cpp_err"; then
     3869  (exit $ac_status); } >/dev/null && {
     3870     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3871     test ! -s conftest.err
     3872       }; then
    33793873  # Broken: success on invalid input.
    33803874continue
     
    33873881break
    33883882fi
     3883
    33893884rm -f conftest.err conftest.$ac_ext
    33903885
     
    34093904
    34103905
    3411 echo "$as_me:$LINENO: checking for egrep" >&5
    3412 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3413 if test "${ac_cv_prog_egrep+set}" = set; then
     3906{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3907echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
     3908if test "${ac_cv_path_GREP+set}" = set; then
    34143909  echo $ECHO_N "(cached) $ECHO_C" >&6
    34153910else
    3416   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3417     then ac_cv_prog_egrep='grep -E'
    3418     else ac_cv_prog_egrep='egrep'
     3911  # Extract the first word of "grep ggrep" to use in msg output
     3912if test -z "$GREP"; then
     3913set dummy grep ggrep; ac_prog_name=$2
     3914if test "${ac_cv_path_GREP+set}" = set; then
     3915  echo $ECHO_N "(cached) $ECHO_C" >&6
     3916else
     3917  ac_path_GREP_found=false
     3918# Loop through the user's path and test for each of PROGNAME-LIST
     3919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3920for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3921do
     3922  IFS=$as_save_IFS
     3923  test -z "$as_dir" && as_dir=.
     3924  for ac_prog in grep ggrep; do
     3925  for ac_exec_ext in '' $ac_executable_extensions; do
     3926    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     3927    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3928    # Check for GNU ac_path_GREP and select it if it is found.
     3929  # Check for GNU $ac_path_GREP
     3930case `"$ac_path_GREP" --version 2>&1` in
     3931*GNU*)
     3932  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     3933*)
     3934  ac_count=0
     3935  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     3936  while :
     3937  do
     3938    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3939    mv "conftest.tmp" "conftest.in"
     3940    cp "conftest.in" "conftest.nl"
     3941    echo 'GREP' >> "conftest.nl"
     3942    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3943    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3944    ac_count=`expr $ac_count + 1`
     3945    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     3946      # Best one so far, save it but keep looking for a better one
     3947      ac_cv_path_GREP="$ac_path_GREP"
     3948      ac_path_GREP_max=$ac_count
    34193949    fi
    3420 fi
    3421 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3422 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3423  EGREP=$ac_cv_prog_egrep
    3424 
    3425 
    3426 
    3427 echo "$as_me:$LINENO: checking for AIX" >&5
    3428 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     3950    # 10*(2^10) chars as input seems more than enough
     3951    test $ac_count -gt 10 && break
     3952  done
     3953  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3954esac
     3955
     3956
     3957    $ac_path_GREP_found && break 3
     3958  done
     3959done
     3960
     3961done
     3962IFS=$as_save_IFS
     3963
     3964
     3965fi
     3966
     3967GREP="$ac_cv_path_GREP"
     3968if test -z "$GREP"; then
     3969  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3970echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3971   { (exit 1); exit 1; }; }
     3972fi
     3973
     3974else
     3975  ac_cv_path_GREP=$GREP
     3976fi
     3977
     3978
     3979fi
     3980{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3981echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     3982 GREP="$ac_cv_path_GREP"
     3983
     3984
     3985{ echo "$as_me:$LINENO: checking for egrep" >&5
     3986echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
     3987if test "${ac_cv_path_EGREP+set}" = set; then
     3988  echo $ECHO_N "(cached) $ECHO_C" >&6
     3989else
     3990  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     3991   then ac_cv_path_EGREP="$GREP -E"
     3992   else
     3993     # Extract the first word of "egrep" to use in msg output
     3994if test -z "$EGREP"; then
     3995set dummy egrep; ac_prog_name=$2
     3996if test "${ac_cv_path_EGREP+set}" = set; then
     3997  echo $ECHO_N "(cached) $ECHO_C" >&6
     3998else
     3999  ac_path_EGREP_found=false
     4000# Loop through the user's path and test for each of PROGNAME-LIST
     4001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4002for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4003do
     4004  IFS=$as_save_IFS
     4005  test -z "$as_dir" && as_dir=.
     4006  for ac_prog in egrep; do
     4007  for ac_exec_ext in '' $ac_executable_extensions; do
     4008    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4009    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4010    # Check for GNU ac_path_EGREP and select it if it is found.
     4011  # Check for GNU $ac_path_EGREP
     4012case `"$ac_path_EGREP" --version 2>&1` in
     4013*GNU*)
     4014  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4015*)
     4016  ac_count=0
     4017  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4018  while :
     4019  do
     4020    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4021    mv "conftest.tmp" "conftest.in"
     4022    cp "conftest.in" "conftest.nl"
     4023    echo 'EGREP' >> "conftest.nl"
     4024    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4025    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4026    ac_count=`expr $ac_count + 1`
     4027    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4028      # Best one so far, save it but keep looking for a better one
     4029      ac_cv_path_EGREP="$ac_path_EGREP"
     4030      ac_path_EGREP_max=$ac_count
     4031    fi
     4032    # 10*(2^10) chars as input seems more than enough
     4033    test $ac_count -gt 10 && break
     4034  done
     4035  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4036esac
     4037
     4038
     4039    $ac_path_EGREP_found && break 3
     4040  done
     4041done
     4042
     4043done
     4044IFS=$as_save_IFS
     4045
     4046
     4047fi
     4048
     4049EGREP="$ac_cv_path_EGREP"
     4050if test -z "$EGREP"; then
     4051  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4052echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4053   { (exit 1); exit 1; }; }
     4054fi
     4055
     4056else
     4057  ac_cv_path_EGREP=$EGREP
     4058fi
     4059
     4060
     4061   fi
     4062fi
     4063{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4064echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     4065 EGREP="$ac_cv_path_EGREP"
     4066
     4067
     4068
     4069{ echo "$as_me:$LINENO: checking for AIX" >&5
     4070echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
    34294071cat >conftest.$ac_ext <<_ACEOF
    34304072/* confdefs.h.  */
     
    34404082if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    34414083  $EGREP "yes" >/dev/null 2>&1; then
    3442   echo "$as_me:$LINENO: result: yes" >&5
    3443 echo "${ECHO_T}yes" >&6
     4084  { echo "$as_me:$LINENO: result: yes" >&5
     4085echo "${ECHO_T}yes" >&6; }
    34444086cat >>confdefs.h <<\_ACEOF
    34454087#define _ALL_SOURCE 1
     
    34474089
    34484090else
    3449   echo "$as_me:$LINENO: result: no" >&5
    3450 echo "${ECHO_T}no" >&6
     4091  { echo "$as_me:$LINENO: result: no" >&5
     4092echo "${ECHO_T}no" >&6; }
    34514093fi
    34524094rm -f conftest*
    34534095
    34544096
    3455 echo "$as_me:$LINENO: checking for library containing strerror" >&5
    3456 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     4097{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
     4098echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
    34574099if test "${ac_cv_search_strerror+set}" = set; then
    34584100  echo $ECHO_N "(cached) $ECHO_C" >&6
    34594101else
    34604102  ac_func_search_save_LIBS=$LIBS
    3461 ac_cv_search_strerror=no
    34624103cat >conftest.$ac_ext <<_ACEOF
    34634104/* confdefs.h.  */
     
    34674108/* end confdefs.h.  */
    34684109
    3469 /* Override any gcc2 internal prototype to avoid an error.  */
     4110/* Override any GCC internal prototype to avoid an error.
     4111   Use char because int might match the return type of a GCC
     4112   builtin and then its argument prototype would still apply.  */
    34704113#ifdef __cplusplus
    34714114extern "C"
    34724115#endif
    3473 /* We use char because int might match the return type of a gcc2
    3474    builtin and then its argument prototype would still apply.  */
    34754116char strerror ();
    34764117int
    34774118main ()
    34784119{
    3479 strerror ();
     4120return strerror ();
    34804121  ;
    34814122  return 0;
    34824123}
    34834124_ACEOF
    3484 rm -f conftest.$ac_objext conftest$ac_exeext
    3485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3486   (eval $ac_link) 2>conftest.er1
     4125for ac_lib in '' cposix; do
     4126  if test -z "$ac_lib"; then
     4127    ac_res="none required"
     4128  else
     4129    ac_res=-l$ac_lib
     4130    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4131  fi
     4132  rm -f conftest.$ac_objext conftest$ac_exeext
     4133if { (ac_try="$ac_link"
     4134case "(($ac_try" in
     4135  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4136  *) ac_try_echo=$ac_try;;
     4137esac
     4138eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4139  (eval "$ac_link") 2>conftest.er1
    34874140  ac_status=$?
    34884141  grep -v '^ *+' conftest.er1 >conftest.err
     
    34904143  cat conftest.err >&5
    34914144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3492   (exit $ac_status); } &&
    3493      { ac_try='test -z "$ac_c_werror_flag"
    3494              || test ! -s conftest.err'
    3495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3496   (eval $ac_try) 2>&5
    3497   ac_status=$?
    3498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3499   (exit $ac_status); }; } &&
    3500      { ac_try='test -s conftest$ac_exeext'
    3501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3502   (eval $ac_try) 2>&5
    3503   ac_status=$?
    3504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3505   (exit $ac_status); }; }; then
    3506   ac_cv_search_strerror="none required"
     4145  (exit $ac_status); } && {
     4146     test -z "$ac_c_werror_flag" ||
     4147     test ! -s conftest.err
     4148       } && test -s conftest$ac_exeext &&
     4149       $as_test_x conftest$ac_exeext; then
     4150  ac_cv_search_strerror=$ac_res
    35074151else
    35084152  echo "$as_me: failed program was:" >&5
    35094153sed 's/^/| /' conftest.$ac_ext >&5
    35104154
    3511 fi
    3512 rm -f conftest.err conftest.$ac_objext \
    3513       conftest$ac_exeext conftest.$ac_ext
    3514 if test "$ac_cv_search_strerror" = no; then
    3515   for ac_lib in cposix; do
    3516     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    3517     cat >conftest.$ac_ext <<_ACEOF
    3518 /* confdefs.h.  */
    3519 _ACEOF
    3520 cat confdefs.h >>conftest.$ac_ext
    3521 cat >>conftest.$ac_ext <<_ACEOF
    3522 /* end confdefs.h.  */
    3523 
    3524 /* Override any gcc2 internal prototype to avoid an error.  */
    3525 #ifdef __cplusplus
    3526 extern "C"
    3527 #endif
    3528 /* We use char because int might match the return type of a gcc2
    3529    builtin and then its argument prototype would still apply.  */
    3530 char strerror ();
    3531 int
    3532 main ()
    3533 {
    3534 strerror ();
    3535   ;
    3536   return 0;
    3537 }
    3538 _ACEOF
    3539 rm -f conftest.$ac_objext conftest$ac_exeext
    3540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3541   (eval $ac_link) 2>conftest.er1
    3542   ac_status=$?
    3543   grep -v '^ *+' conftest.er1 >conftest.err
    3544   rm -f conftest.er1
    3545   cat conftest.err >&5
    3546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3547   (exit $ac_status); } &&
    3548      { ac_try='test -z "$ac_c_werror_flag"
    3549              || test ! -s conftest.err'
    3550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3551   (eval $ac_try) 2>&5
    3552   ac_status=$?
    3553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3554   (exit $ac_status); }; } &&
    3555      { ac_try='test -s conftest$ac_exeext'
    3556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3557   (eval $ac_try) 2>&5
    3558   ac_status=$?
    3559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3560   (exit $ac_status); }; }; then
    3561   ac_cv_search_strerror="-l$ac_lib"
    3562 break
    3563 else
    3564   echo "$as_me: failed program was:" >&5
    3565 sed 's/^/| /' conftest.$ac_ext >&5
    3566 
    3567 fi
    3568 rm -f conftest.err conftest.$ac_objext \
    3569       conftest$ac_exeext conftest.$ac_ext
    3570   done
    3571 fi
     4155
     4156fi
     4157
     4158rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4159      conftest$ac_exeext
     4160  if test "${ac_cv_search_strerror+set}" = set; then
     4161  break
     4162fi
     4163done
     4164if test "${ac_cv_search_strerror+set}" = set; then
     4165  :
     4166else
     4167  ac_cv_search_strerror=no
     4168fi
     4169rm conftest.$ac_ext
    35724170LIBS=$ac_func_search_save_LIBS
    35734171fi
    3574 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    3575 echo "${ECHO_T}$ac_cv_search_strerror" >&6
    3576 if test "$ac_cv_search_strerror" != no; then
    3577   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
    3578 
    3579 fi
    3580 
    3581 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3582 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4172{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     4173echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
     4174ac_res=$ac_cv_search_strerror
     4175if test "$ac_res" != no; then
     4176  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     4177
     4178fi
     4179
     4180{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4181echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    35834182if test "${ac_cv_header_stdc+set}" = set; then
    35844183  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    36044203_ACEOF
    36054204rm -f conftest.$ac_objext
    3606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3607   (eval $ac_compile) 2>conftest.er1
     4205if { (ac_try="$ac_compile"
     4206case "(($ac_try" in
     4207  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4208  *) ac_try_echo=$ac_try;;
     4209esac
     4210eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4211  (eval "$ac_compile") 2>conftest.er1
    36084212  ac_status=$?
    36094213  grep -v '^ *+' conftest.er1 >conftest.err
     
    36114215  cat conftest.err >&5
    36124216  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3613   (exit $ac_status); } &&
    3614      { ac_try='test -z "$ac_c_werror_flag"
    3615              || test ! -s conftest.err'
    3616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3617   (eval $ac_try) 2>&5
    3618   ac_status=$?
    3619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3620   (exit $ac_status); }; } &&
    3621      { ac_try='test -s conftest.$ac_objext'
    3622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3623   (eval $ac_try) 2>&5
    3624   ac_status=$?
    3625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3626   (exit $ac_status); }; }; then
     4217  (exit $ac_status); } && {
     4218     test -z "$ac_c_werror_flag" ||
     4219     test ! -s conftest.err
     4220       } && test -s conftest.$ac_objext; then
    36274221  ac_cv_header_stdc=yes
    36284222else
     
    36304224sed 's/^/| /' conftest.$ac_ext >&5
    36314225
    3632 ac_cv_header_stdc=no
    3633 fi
    3634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4226    ac_cv_header_stdc=no
     4227fi
     4228
     4229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36354230
    36364231if test $ac_cv_header_stdc = yes; then
     
    36884283/* end confdefs.h.  */
    36894284#include <ctype.h>
     4285#include <stdlib.h>
    36904286#if ((' ' & 0x0FF) == 0x020)
    36914287# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    37074303    if (XOR (islower (i), ISLOWER (i))
    37084304    || toupper (i) != TOUPPER (i))
    3709       exit(2);
    3710   exit (0);
     4305      return 2;
     4306  return 0;
    37114307}
    37124308_ACEOF
    37134309rm -f conftest$ac_exeext
    3714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3715   (eval $ac_link) 2>&5
     4310if { (ac_try="$ac_link"
     4311case "(($ac_try" in
     4312  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4313  *) ac_try_echo=$ac_try;;
     4314esac
     4315eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4316  (eval "$ac_link") 2>&5
    37164317  ac_status=$?
    37174318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37184319  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3720   (eval $ac_try) 2>&5
     4320  { (case "(($ac_try" in
     4321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4322  *) ac_try_echo=$ac_try;;
     4323esac
     4324eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4325  (eval "$ac_try") 2>&5
    37214326  ac_status=$?
    37224327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    37314336ac_cv_header_stdc=no
    37324337fi
    3733 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3734 fi
    3735 fi
    3736 fi
    3737 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3738 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4338rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4339fi
     4340
     4341
     4342fi
     4343fi
     4344{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4345echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    37394346if test $ac_cv_header_stdc = yes; then
    37404347
     
    37594366do
    37604367as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3761 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4368{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4369echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4370if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    37644371  echo $ECHO_N "(cached) $ECHO_C" >&6
    37654372else
     
    37754382_ACEOF
    37764383rm -f conftest.$ac_objext
    3777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3778   (eval $ac_compile) 2>conftest.er1
     4384if { (ac_try="$ac_compile"
     4385case "(($ac_try" in
     4386  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4387  *) ac_try_echo=$ac_try;;
     4388esac
     4389eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4390  (eval "$ac_compile") 2>conftest.er1
    37794391  ac_status=$?
    37804392  grep -v '^ *+' conftest.er1 >conftest.err
     
    37824394  cat conftest.err >&5
    37834395  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3784   (exit $ac_status); } &&
    3785      { ac_try='test -z "$ac_c_werror_flag"
    3786              || test ! -s conftest.err'
    3787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3788   (eval $ac_try) 2>&5
    3789   ac_status=$?
    3790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3791   (exit $ac_status); }; } &&
    3792      { ac_try='test -s conftest.$ac_objext'
    3793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3794   (eval $ac_try) 2>&5
    3795   ac_status=$?
    3796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3797   (exit $ac_status); }; }; then
     4396  (exit $ac_status); } && {
     4397     test -z "$ac_c_werror_flag" ||
     4398     test ! -s conftest.err
     4399       } && test -s conftest.$ac_objext; then
    37984400  eval "$as_ac_Header=yes"
    37994401else
     
    38014403sed 's/^/| /' conftest.$ac_ext >&5
    38024404
    3803 eval "$as_ac_Header=no"
    3804 fi
    3805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3806 fi
    3807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4405    eval "$as_ac_Header=no"
     4406fi
     4407
     4408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4409fi
     4410ac_res=`eval echo '${'$as_ac_Header'}'`
     4411           { echo "$as_me:$LINENO: result: $ac_res" >&5
     4412echo "${ECHO_T}$ac_res" >&6; }
    38094413if test `eval echo '${'$as_ac_Header'}'` = yes; then
    38104414  cat >>confdefs.h <<_ACEOF
     
    38184422
    38194423if test "${ac_cv_header_minix_config_h+set}" = set; then
    3820   echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3821 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4424  { echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4425echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    38224426if test "${ac_cv_header_minix_config_h+set}" = set; then
    38234427  echo $ECHO_N "(cached) $ECHO_C" >&6
    38244428fi
    3825 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3826 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4429{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4430echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    38274431else
    38284432  # Is the header compilable?
    3829 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    3830 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     4433{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4434echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
    38314435cat >conftest.$ac_ext <<_ACEOF
    38324436/* confdefs.h.  */
     
    38394443_ACEOF
    38404444rm -f conftest.$ac_objext
    3841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3842   (eval $ac_compile) 2>conftest.er1
     4445if { (ac_try="$ac_compile"
     4446case "(($ac_try" in
     4447  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4448  *) ac_try_echo=$ac_try;;
     4449esac
     4450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4451  (eval "$ac_compile") 2>conftest.er1
    38434452  ac_status=$?
    38444453  grep -v '^ *+' conftest.er1 >conftest.err
     
    38464455  cat conftest.err >&5
    38474456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3848   (exit $ac_status); } &&
    3849      { ac_try='test -z "$ac_c_werror_flag"
    3850              || test ! -s conftest.err'
    3851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3852   (eval $ac_try) 2>&5
    3853   ac_status=$?
    3854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3855   (exit $ac_status); }; } &&
    3856      { ac_try='test -s conftest.$ac_objext'
    3857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3858   (eval $ac_try) 2>&5
    3859   ac_status=$?
    3860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3861   (exit $ac_status); }; }; then
     4457  (exit $ac_status); } && {
     4458     test -z "$ac_c_werror_flag" ||
     4459     test ! -s conftest.err
     4460       } && test -s conftest.$ac_objext; then
    38624461  ac_header_compiler=yes
    38634462else
     
    38654464sed 's/^/| /' conftest.$ac_ext >&5
    38664465
    3867 ac_header_compiler=no
    3868 fi
    3869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3870 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3871 echo "${ECHO_T}$ac_header_compiler" >&6
     4466    ac_header_compiler=no
     4467fi
     4468
     4469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4470{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4471echo "${ECHO_T}$ac_header_compiler" >&6; }
    38724472
    38734473# Is the header present?
    3874 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    3875 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     4474{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4475echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
    38764476cat >conftest.$ac_ext <<_ACEOF
    38774477/* confdefs.h.  */
     
    38824482#include <minix/config.h>
    38834483_ACEOF
    3884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3885   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4484if { (ac_try="$ac_cpp conftest.$ac_ext"
     4485case "(($ac_try" in
     4486  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4487  *) ac_try_echo=$ac_try;;
     4488esac
     4489eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4490  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    38864491  ac_status=$?
    38874492  grep -v '^ *+' conftest.er1 >conftest.err
     
    38894494  cat conftest.err >&5
    38904495  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3891   (exit $ac_status); } >/dev/null; then
    3892   if test -s conftest.err; then
    3893     ac_cpp_err=$ac_c_preproc_warn_flag
    3894     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3895   else
    3896     ac_cpp_err=
    3897   fi
    3898 else
    3899   ac_cpp_err=yes
    3900 fi
    3901 if test -z "$ac_cpp_err"; then
     4496  (exit $ac_status); } >/dev/null && {
     4497     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4498     test ! -s conftest.err
     4499       }; then
    39024500  ac_header_preproc=yes
    39034501else
     
    39074505  ac_header_preproc=no
    39084506fi
     4507
    39094508rm -f conftest.err conftest.$ac_ext
    3910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3911 echo "${ECHO_T}$ac_header_preproc" >&6
     4509{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4510echo "${ECHO_T}$ac_header_preproc" >&6; }
    39124511
    39134512# So?  What about this header?
     
    39334532    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    39344533echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    3935     (
    3936       cat <<\_ASBOX
    3937 ## ------------------------------------------ ##
    3938 ## Report this to the AC_PACKAGE_NAME lists.  ##
    3939 ## ------------------------------------------ ##
    3940 _ASBOX
    3941     ) |
    3942       sed "s/^/$as_me: WARNING:     /" >&2
     4534
    39434535    ;;
    39444536esac
    3945 echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3946 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4537{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4538echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    39474539if test "${ac_cv_header_minix_config_h+set}" = set; then
    39484540  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    39504542  ac_cv_header_minix_config_h=$ac_header_preproc
    39514543fi
    3952 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3953 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4544{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4545echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    39544546
    39554547fi
     
    39794571fi
    39804572
    3981 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    3982 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     4573{ echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     4574echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
    39834575if test "${ac_cv_prog_cc_stdc+set}" = set; then
    39844576  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    40164608_ACEOF
    40174609rm -f conftest.$ac_objext
    4018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4019   (eval $ac_compile) 2>conftest.er1
     4610if { (ac_try="$ac_compile"
     4611case "(($ac_try" in
     4612  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4613  *) ac_try_echo=$ac_try;;
     4614esac
     4615eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4616  (eval "$ac_compile") 2>conftest.er1
    40204617  ac_status=$?
    40214618  grep -v '^ *+' conftest.er1 >conftest.err
     
    40234620  cat conftest.err >&5
    40244621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4025   (exit $ac_status); } &&
    4026      { ac_try='test -z "$ac_c_werror_flag"
    4027              || test ! -s conftest.err'
    4028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4029   (eval $ac_try) 2>&5
    4030   ac_status=$?
    4031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4032   (exit $ac_status); }; } &&
    4033      { ac_try='test -s conftest.$ac_objext'
    4034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4035   (eval $ac_try) 2>&5
    4036   ac_status=$?
    4037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4038   (exit $ac_status); }; }; then
     4622  (exit $ac_status); } && {
     4623     test -z "$ac_c_werror_flag" ||
     4624     test ! -s conftest.err
     4625       } && test -s conftest.$ac_objext; then
    40394626  ac_cv_prog_cc_stdc="$ac_arg"; break
    40404627else
     
    40424629sed 's/^/| /' conftest.$ac_ext >&5
    40434630
    4044 fi
    4045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4631
     4632fi
     4633
     4634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    40464635done
    40474636CFLAGS="$ac_save_CFLAGS"
     
    40494638fi
    40504639
    4051 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4052 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     4640{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4641echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
    40534642case "x$ac_cv_prog_cc_stdc" in
    40544643  x|xno) ;;
     
    40574646
    40584647
    4059 echo "$as_me:$LINENO: checking for function prototypes" >&5
    4060 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     4648{ echo "$as_me:$LINENO: checking for function prototypes" >&5
     4649echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
    40614650if test "$ac_cv_prog_cc_stdc" != no; then
    4062   echo "$as_me:$LINENO: result: yes" >&5
    4063 echo "${ECHO_T}yes" >&6
     4651  { echo "$as_me:$LINENO: result: yes" >&5
     4652echo "${ECHO_T}yes" >&6; }
    40644653  cat >>confdefs.h <<\_ACEOF
    40654654#define PROTOTYPES 1
     
    40684657  U= ANSI2KNR=
    40694658else
    4070   echo "$as_me:$LINENO: result: no" >&5
    4071 echo "${ECHO_T}no" >&6
     4659  { echo "$as_me:$LINENO: result: no" >&5
     4660echo "${ECHO_T}no" >&6; }
    40724661  U=_ ANSI2KNR=ansi2knr
    40734662fi
    40744663
    4075 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4076 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     4664{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4665echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
    40774666if test "${ac_cv_c_const+set}" = set; then
    40784667  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    40924681  /* Ultrix mips cc rejects this.  */
    40934682  typedef int charset[2];
    4094   const charset x;
     4683  const charset cs;
    40954684  /* SunOS 4.1.1 cc rejects this.  */
    4096   char const *const *ccp;
    4097   char **p;
     4685  char const *const *pcpcc;
     4686  char **ppc;
    40984687  /* NEC SVR4.0.2 mips cc rejects this.  */
    40994688  struct point {int x, y;};
     
    41044693     expression */
    41054694  const char *g = "string";
    4106   ccp = &g + (g ? g-g : 0);
     4695  pcpcc = &g + (g ? g-g : 0);
    41074696  /* HPUX 7.0 cc rejects these. */
    4108   ++ccp;
    4109   p = (char**) ccp;
    4110   ccp = (char const *const *) p;
     4697  ++pcpcc;
     4698  ppc = (char**) pcpcc;
     4699  pcpcc = (char const *const *) ppc;
    41114700  { /* SCO 3.2v4 cc rejects this.  */
    41124701    char *t;
     
    41144703
    41154704    *t++ = 0;
     4705    if (s) return 0;
    41164706  }
    41174707  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    41324722  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    41334723    const int foo = 10;
     4724    if (!foo) return 0;
    41344725  }
     4726  return !cs[0] && !zero.x;
    41354727#endif
    41364728
     
    41404732_ACEOF
    41414733rm -f conftest.$ac_objext
    4142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4143   (eval $ac_compile) 2>conftest.er1
     4734if { (ac_try="$ac_compile"
     4735case "(($ac_try" in
     4736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4737  *) ac_try_echo=$ac_try;;
     4738esac
     4739eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4740  (eval "$ac_compile") 2>conftest.er1
    41444741  ac_status=$?
    41454742  grep -v '^ *+' conftest.er1 >conftest.err
     
    41474744  cat conftest.err >&5
    41484745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4149   (exit $ac_status); } &&
    4150      { ac_try='test -z "$ac_c_werror_flag"
    4151              || test ! -s conftest.err'
    4152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4153   (eval $ac_try) 2>&5
    4154   ac_status=$?
    4155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4156   (exit $ac_status); }; } &&
    4157      { ac_try='test -s conftest.$ac_objext'
    4158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4159   (eval $ac_try) 2>&5
    4160   ac_status=$?
    4161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4162   (exit $ac_status); }; }; then
     4746  (exit $ac_status); } && {
     4747     test -z "$ac_c_werror_flag" ||
     4748     test ! -s conftest.err
     4749       } && test -s conftest.$ac_objext; then
    41634750  ac_cv_c_const=yes
    41644751else
     
    41664753sed 's/^/| /' conftest.$ac_ext >&5
    41674754
    4168 ac_cv_c_const=no
    4169 fi
    4170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4171 fi
    4172 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4173 echo "${ECHO_T}$ac_cv_c_const" >&6
     4755    ac_cv_c_const=no
     4756fi
     4757
     4758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4759fi
     4760{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4761echo "${ECHO_T}$ac_cv_c_const" >&6; }
    41744762if test $ac_cv_c_const = no; then
    41754763
     
    41804768fi
    41814769
    4182 echo "$as_me:$LINENO: checking for off_t" >&5
    4183 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     4770{ echo "$as_me:$LINENO: checking for off_t" >&5
     4771echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
    41844772if test "${ac_cv_type_off_t+set}" = set; then
    41854773  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    41924780/* end confdefs.h.  */
    41934781$ac_includes_default
     4782typedef off_t ac__type_new_;
    41944783int
    41954784main ()
    41964785{
    4197 if ((off_t *) 0)
     4786if ((ac__type_new_ *) 0)
    41984787  return 0;
    4199 if (sizeof (off_t))
     4788if (sizeof (ac__type_new_))
    42004789  return 0;
    42014790  ;
     
    42044793_ACEOF
    42054794rm -f conftest.$ac_objext
    4206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4207   (eval $ac_compile) 2>conftest.er1
     4795if { (ac_try="$ac_compile"
     4796case "(($ac_try" in
     4797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4798  *) ac_try_echo=$ac_try;;
     4799esac
     4800eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4801  (eval "$ac_compile") 2>conftest.er1
    42084802  ac_status=$?
    42094803  grep -v '^ *+' conftest.er1 >conftest.err
     
    42114805  cat conftest.err >&5
    42124806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4213   (exit $ac_status); } &&
    4214      { ac_try='test -z "$ac_c_werror_flag"
    4215              || test ! -s conftest.err'
    4216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4217   (eval $ac_try) 2>&5
    4218   ac_status=$?
    4219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4220   (exit $ac_status); }; } &&
    4221      { ac_try='test -s conftest.$ac_objext'
    4222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4223   (eval $ac_try) 2>&5
    4224   ac_status=$?
    4225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4226   (exit $ac_status); }; }; then
     4807  (exit $ac_status); } && {
     4808     test -z "$ac_c_werror_flag" ||
     4809     test ! -s conftest.err
     4810       } && test -s conftest.$ac_objext; then
    42274811  ac_cv_type_off_t=yes
    42284812else
     
    42304814sed 's/^/| /' conftest.$ac_ext >&5
    42314815
    4232 ac_cv_type_off_t=no
    4233 fi
    4234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4235 fi
    4236 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4237 echo "${ECHO_T}$ac_cv_type_off_t" >&6
     4816    ac_cv_type_off_t=no
     4817fi
     4818
     4819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4820fi
     4821{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4822echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
    42384823if test $ac_cv_type_off_t = yes; then
    42394824  :
     
    42414826
    42424827cat >>confdefs.h <<_ACEOF
    4243 #define off_t long
    4244 _ACEOF
    4245 
    4246 fi
    4247 
    4248 echo "$as_me:$LINENO: checking for size_t" >&5
    4249 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
     4828#define off_t long int
     4829_ACEOF
     4830
     4831fi
     4832
     4833{ echo "$as_me:$LINENO: checking for size_t" >&5
     4834echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
    42504835if test "${ac_cv_type_size_t+set}" = set; then
    42514836  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42584843/* end confdefs.h.  */
    42594844$ac_includes_default
     4845typedef size_t ac__type_new_;
    42604846int
    42614847main ()
    42624848{
    4263 if ((size_t *) 0)
     4849if ((ac__type_new_ *) 0)
    42644850  return 0;
    4265 if (sizeof (size_t))
     4851if (sizeof (ac__type_new_))
    42664852  return 0;
    42674853  ;
     
    42704856_ACEOF
    42714857rm -f conftest.$ac_objext
    4272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4273   (eval $ac_compile) 2>conftest.er1
     4858if { (ac_try="$ac_compile"
     4859case "(($ac_try" in
     4860  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4861  *) ac_try_echo=$ac_try;;
     4862esac
     4863eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4864  (eval "$ac_compile") 2>conftest.er1
    42744865  ac_status=$?
    42754866  grep -v '^ *+' conftest.er1 >conftest.err
     
    42774868  cat conftest.err >&5
    42784869  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4279   (exit $ac_status); } &&
    4280      { ac_try='test -z "$ac_c_werror_flag"
    4281              || test ! -s conftest.err'
    4282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4283   (eval $ac_try) 2>&5
    4284   ac_status=$?
    4285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4286   (exit $ac_status); }; } &&
    4287      { ac_try='test -s conftest.$ac_objext'
    4288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4289   (eval $ac_try) 2>&5
    4290   ac_status=$?
    4291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4292   (exit $ac_status); }; }; then
     4870  (exit $ac_status); } && {
     4871     test -z "$ac_c_werror_flag" ||
     4872     test ! -s conftest.err
     4873       } && test -s conftest.$ac_objext; then
    42934874  ac_cv_type_size_t=yes
    42944875else
     
    42964877sed 's/^/| /' conftest.$ac_ext >&5
    42974878
    4298 ac_cv_type_size_t=no
    4299 fi
    4300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4301 fi
    4302 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4303 echo "${ECHO_T}$ac_cv_type_size_t" >&6
     4879    ac_cv_type_size_t=no
     4880fi
     4881
     4882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4883fi
     4884{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4885echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
    43044886if test $ac_cv_type_size_t = yes; then
    43054887  :
     
    43074889
    43084890cat >>confdefs.h <<_ACEOF
    4309 #define size_t unsigned
    4310 _ACEOF
    4311 
    4312 fi
    4313 
    4314 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4315 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     4891#define size_t unsigned int
     4892_ACEOF
     4893
     4894fi
     4895
     4896{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4897echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
    43164898if test "${ac_cv_header_time+set}" = set; then
    43174899  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    43374919_ACEOF
    43384920rm -f conftest.$ac_objext
    4339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4340   (eval $ac_compile) 2>conftest.er1
     4921if { (ac_try="$ac_compile"
     4922case "(($ac_try" in
     4923  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4924  *) ac_try_echo=$ac_try;;
     4925esac
     4926eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4927  (eval "$ac_compile") 2>conftest.er1
    43414928  ac_status=$?
    43424929  grep -v '^ *+' conftest.er1 >conftest.err
     
    43444931  cat conftest.err >&5
    43454932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4346   (exit $ac_status); } &&
    4347      { ac_try='test -z "$ac_c_werror_flag"
    4348              || test ! -s conftest.err'
    4349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4350   (eval $ac_try) 2>&5
    4351   ac_status=$?
    4352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4353   (exit $ac_status); }; } &&
    4354      { ac_try='test -s conftest.$ac_objext'
    4355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4356   (eval $ac_try) 2>&5
    4357   ac_status=$?
    4358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4359   (exit $ac_status); }; }; then
     4933  (exit $ac_status); } && {
     4934     test -z "$ac_c_werror_flag" ||
     4935     test ! -s conftest.err
     4936       } && test -s conftest.$ac_objext; then
    43604937  ac_cv_header_time=yes
    43614938else
     
    43634940sed 's/^/| /' conftest.$ac_ext >&5
    43644941
    4365 ac_cv_header_time=no
    4366 fi
    4367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4368 fi
    4369 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4370 echo "${ECHO_T}$ac_cv_header_time" >&6
     4942    ac_cv_header_time=no
     4943fi
     4944
     4945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4946fi
     4947{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     4948echo "${ECHO_T}$ac_cv_header_time" >&6; }
    43714949if test $ac_cv_header_time = yes; then
    43724950
     
    43774955fi
    43784956
    4379 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4380 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     4957{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     4958echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
    43814959if test "${ac_cv_struct_tm+set}" = set; then
    43824960  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    43944972main ()
    43954973{
    4396 struct tm *tp; tp->tm_sec;
     4974struct tm tm;
     4975                     int *p = &tm.tm_sec;
     4976                     return !p;
    43974977  ;
    43984978  return 0;
     
    44004980_ACEOF
    44014981rm -f conftest.$ac_objext
    4402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4403   (eval $ac_compile) 2>conftest.er1
     4982if { (ac_try="$ac_compile"
     4983case "(($ac_try" in
     4984  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4985  *) ac_try_echo=$ac_try;;
     4986esac
     4987eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4988  (eval "$ac_compile") 2>conftest.er1
    44044989  ac_status=$?
    44054990  grep -v '^ *+' conftest.er1 >conftest.err
     
    44074992  cat conftest.err >&5
    44084993  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4409   (exit $ac_status); } &&
    4410      { ac_try='test -z "$ac_c_werror_flag"
    4411              || test ! -s conftest.err'
    4412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4413   (eval $ac_try) 2>&5
    4414   ac_status=$?
    4415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4416   (exit $ac_status); }; } &&
    4417      { ac_try='test -s conftest.$ac_objext'
    4418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4419   (eval $ac_try) 2>&5
    4420   ac_status=$?
    4421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4422   (exit $ac_status); }; }; then
     4994  (exit $ac_status); } && {
     4995     test -z "$ac_c_werror_flag" ||
     4996     test ! -s conftest.err
     4997       } && test -s conftest.$ac_objext; then
    44234998  ac_cv_struct_tm=time.h
    44244999else
     
    44265001sed 's/^/| /' conftest.$ac_ext >&5
    44275002
    4428 ac_cv_struct_tm=sys/time.h
    4429 fi
    4430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4431 fi
    4432 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    4433 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     5003    ac_cv_struct_tm=sys/time.h
     5004fi
     5005
     5006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5007fi
     5008{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     5009echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
    44345010if test $ac_cv_struct_tm = sys/time.h; then
    44355011
     
    44595035_ACEOF
    44605036rm -f conftest.$ac_objext
    4461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4462   (eval $ac_compile) 2>conftest.er1
     5037if { (ac_try="$ac_compile"
     5038case "(($ac_try" in
     5039  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5040  *) ac_try_echo=$ac_try;;
     5041esac
     5042eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5043  (eval "$ac_compile") 2>conftest.er1
    44635044  ac_status=$?
    44645045  grep -v '^ *+' conftest.er1 >conftest.err
     
    44665047  cat conftest.err >&5
    44675048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4468   (exit $ac_status); } &&
    4469      { ac_try='test -z "$ac_c_werror_flag"
    4470              || test ! -s conftest.err'
    4471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4472   (eval $ac_try) 2>&5
    4473   ac_status=$?
    4474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4475   (exit $ac_status); }; } &&
    4476      { ac_try='test -s conftest.$ac_objext'
    4477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4478   (eval $ac_try) 2>&5
    4479   ac_status=$?
    4480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4481   (exit $ac_status); }; }; then
     5049  (exit $ac_status); } && {
     5050     test -z "$ac_c_werror_flag" ||
     5051     test ! -s conftest.err
     5052       } && test -s conftest.$ac_objext; then
    44825053  :
    44835054else
     
    44855056sed 's/^/| /' conftest.$ac_ext >&5
    44865057
    4487 CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    4488 fi
    4489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4490 fi
    4491 
    4492 
    4493 
    4494 echo "$as_me:$LINENO: checking for main in -lg" >&5
    4495 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     5058    CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     5059fi
     5060
     5061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5062fi
     5063
     5064
     5065
     5066{ echo "$as_me:$LINENO: checking for main in -lg" >&5
     5067echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
    44965068if test "${ac_cv_lib_g_main+set}" = set; then
    44975069  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45105082main ()
    45115083{
    4512 main ();
     5084return main ();
    45135085  ;
    45145086  return 0;
     
    45165088_ACEOF
    45175089rm -f conftest.$ac_objext conftest$ac_exeext
    4518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4519   (eval $ac_link) 2>conftest.er1
     5090if { (ac_try="$ac_link"
     5091case "(($ac_try" in
     5092  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5093  *) ac_try_echo=$ac_try;;
     5094esac
     5095eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5096  (eval "$ac_link") 2>conftest.er1
    45205097  ac_status=$?
    45215098  grep -v '^ *+' conftest.er1 >conftest.err
     
    45235100  cat conftest.err >&5
    45245101  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4525   (exit $ac_status); } &&
    4526      { ac_try='test -z "$ac_c_werror_flag"
    4527              || test ! -s conftest.err'
    4528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4529   (eval $ac_try) 2>&5
    4530   ac_status=$?
    4531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4532   (exit $ac_status); }; } &&
    4533      { ac_try='test -s conftest$ac_exeext'
    4534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4535   (eval $ac_try) 2>&5
    4536   ac_status=$?
    4537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4538   (exit $ac_status); }; }; then
     5102  (exit $ac_status); } && {
     5103     test -z "$ac_c_werror_flag" ||
     5104     test ! -s conftest.err
     5105       } && test -s conftest$ac_exeext &&
     5106       $as_test_x conftest$ac_exeext; then
    45395107  ac_cv_lib_g_main=yes
    45405108else
     
    45425110sed 's/^/| /' conftest.$ac_ext >&5
    45435111
    4544 ac_cv_lib_g_main=no
    4545 fi
    4546 rm -f conftest.err conftest.$ac_objext \
     5112    ac_cv_lib_g_main=no
     5113fi
     5114
     5115rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    45475116      conftest$ac_exeext conftest.$ac_ext
    45485117LIBS=$ac_check_lib_save_LIBS
    45495118fi
    4550 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    4551 echo "${ECHO_T}$ac_cv_lib_g_main" >&6
     5119{ echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     5120echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
    45525121if test $ac_cv_lib_g_main = yes; then
    45535122  cat >>confdefs.h <<_ACEOF
     
    45615130
    45625131
    4563 echo "$as_me:$LINENO: checking for main in -lm" >&5
    4564 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     5132{ echo "$as_me:$LINENO: checking for main in -lm" >&5
     5133echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
    45655134if test "${ac_cv_lib_m_main+set}" = set; then
    45665135  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45795148main ()
    45805149{
    4581 main ();
     5150return main ();
    45825151  ;
    45835152  return 0;
     
    45855154_ACEOF
    45865155rm -f conftest.$ac_objext conftest$ac_exeext
    4587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4588   (eval $ac_link) 2>conftest.er1
     5156if { (ac_try="$ac_link"
     5157case "(($ac_try" in
     5158  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5159  *) ac_try_echo=$ac_try;;
     5160esac
     5161eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5162  (eval "$ac_link") 2>conftest.er1
    45895163  ac_status=$?
    45905164  grep -v '^ *+' conftest.er1 >conftest.err
     
    45925166  cat conftest.err >&5
    45935167  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4594   (exit $ac_status); } &&
    4595      { ac_try='test -z "$ac_c_werror_flag"
    4596              || test ! -s conftest.err'
    4597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4598   (eval $ac_try) 2>&5
    4599   ac_status=$?
    4600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4601   (exit $ac_status); }; } &&
    4602      { ac_try='test -s conftest$ac_exeext'
    4603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4604   (eval $ac_try) 2>&5
    4605   ac_status=$?
    4606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4607   (exit $ac_status); }; }; then
     5168  (exit $ac_status); } && {
     5169     test -z "$ac_c_werror_flag" ||
     5170     test ! -s conftest.err
     5171       } && test -s conftest$ac_exeext &&
     5172       $as_test_x conftest$ac_exeext; then
    46085173  ac_cv_lib_m_main=yes
    46095174else
     
    46115176sed 's/^/| /' conftest.$ac_ext >&5
    46125177
    4613 ac_cv_lib_m_main=no
    4614 fi
    4615 rm -f conftest.err conftest.$ac_objext \
     5178    ac_cv_lib_m_main=no
     5179fi
     5180
     5181rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46165182      conftest$ac_exeext conftest.$ac_ext
    46175183LIBS=$ac_check_lib_save_LIBS
    46185184fi
    4619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    4620 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     5185{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     5186echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
    46215187if test $ac_cv_lib_m_main = yes; then
    46225188  cat >>confdefs.h <<_ACEOF
     
    46305196
    46315197
    4632 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    4633 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     5198{ echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     5199echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
    46345200if test "${ac_cv_lib_crypt_main+set}" = set; then
    46355201  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46485214main ()
    46495215{
    4650 main ();
     5216return main ();
    46515217  ;
    46525218  return 0;
     
    46545220_ACEOF
    46555221rm -f conftest.$ac_objext conftest$ac_exeext
    4656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4657   (eval $ac_link) 2>conftest.er1
     5222if { (ac_try="$ac_link"
     5223case "(($ac_try" in
     5224  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5225  *) ac_try_echo=$ac_try;;
     5226esac
     5227eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5228  (eval "$ac_link") 2>conftest.er1
    46585229  ac_status=$?
    46595230  grep -v '^ *+' conftest.er1 >conftest.err
     
    46615232  cat conftest.err >&5
    46625233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4663   (exit $ac_status); } &&
    4664      { ac_try='test -z "$ac_c_werror_flag"
    4665              || test ! -s conftest.err'
    4666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4667   (eval $ac_try) 2>&5
    4668   ac_status=$?
    4669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4670   (exit $ac_status); }; } &&
    4671      { ac_try='test -s conftest$ac_exeext'
    4672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4673   (eval $ac_try) 2>&5
    4674   ac_status=$?
    4675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4676   (exit $ac_status); }; }; then
     5234  (exit $ac_status); } && {
     5235     test -z "$ac_c_werror_flag" ||
     5236     test ! -s conftest.err
     5237       } && test -s conftest$ac_exeext &&
     5238       $as_test_x conftest$ac_exeext; then
    46775239  ac_cv_lib_crypt_main=yes
    46785240else
     
    46805242sed 's/^/| /' conftest.$ac_ext >&5
    46815243
    4682 ac_cv_lib_crypt_main=no
    4683 fi
    4684 rm -f conftest.err conftest.$ac_objext \
     5244    ac_cv_lib_crypt_main=no
     5245fi
     5246
     5247rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46855248      conftest$ac_exeext conftest.$ac_ext
    46865249LIBS=$ac_check_lib_save_LIBS
    46875250fi
    4688 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    4689 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
     5251{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     5252echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
    46905253if test $ac_cv_lib_crypt_main = yes; then
    46915254  cat >>confdefs.h <<_ACEOF
     
    46985261ac_cv_lib_crypt=ac_cv_lib_crypt_main
    46995262
     5263#if test $ENABLE_ACCENTFOLD = 1; then
     5264#AC_HAVE_LIBRARY(iconv)
     5265#fi
     5266
     5267
     5268
     5269
    47005270
    47015271
     
    47035273for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    47045274  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    4705 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    4706 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    4707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5275{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     5276echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
     5277if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    47085278  echo $ECHO_N "(cached) $ECHO_C" >&6
    47095279else
     
    47275297_ACEOF
    47285298rm -f conftest.$ac_objext
    4729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4730   (eval $ac_compile) 2>conftest.er1
     5299if { (ac_try="$ac_compile"
     5300case "(($ac_try" in
     5301  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5302  *) ac_try_echo=$ac_try;;
     5303esac
     5304eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5305  (eval "$ac_compile") 2>conftest.er1
    47315306  ac_status=$?
    47325307  grep -v '^ *+' conftest.er1 >conftest.err
     
    47345309  cat conftest.err >&5
    47355310  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4736   (exit $ac_status); } &&
    4737      { ac_try='test -z "$ac_c_werror_flag"
    4738              || test ! -s conftest.err'
    4739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4740   (eval $ac_try) 2>&5
    4741   ac_status=$?
    4742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4743   (exit $ac_status); }; } &&
    4744      { ac_try='test -s conftest.$ac_objext'
    4745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4746   (eval $ac_try) 2>&5
    4747   ac_status=$?
    4748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4749   (exit $ac_status); }; }; then
     5311  (exit $ac_status); } && {
     5312     test -z "$ac_c_werror_flag" ||
     5313     test ! -s conftest.err
     5314       } && test -s conftest.$ac_objext; then
    47505315  eval "$as_ac_Header=yes"
    47515316else
     
    47535318sed 's/^/| /' conftest.$ac_ext >&5
    47545319
    4755 eval "$as_ac_Header=no"
    4756 fi
    4757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4758 fi
    4759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5320    eval "$as_ac_Header=no"
     5321fi
     5322
     5323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5324fi
     5325ac_res=`eval echo '${'$as_ac_Header'}'`
     5326           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5327echo "${ECHO_T}$ac_res" >&6; }
    47615328if test `eval echo '${'$as_ac_Header'}'` = yes; then
    47625329  cat >>confdefs.h <<_ACEOF
     
    47705337# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    47715338if test $ac_header_dirent = dirent.h; then
    4772   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4773 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     5339  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5340echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    47745341if test "${ac_cv_search_opendir+set}" = set; then
    47755342  echo $ECHO_N "(cached) $ECHO_C" >&6
    47765343else
    47775344  ac_func_search_save_LIBS=$LIBS
    4778 ac_cv_search_opendir=no
    47795345cat >conftest.$ac_ext <<_ACEOF
    47805346/* confdefs.h.  */
     
    47845350/* end confdefs.h.  */
    47855351
    4786 /* Override any gcc2 internal prototype to avoid an error.  */
     5352/* Override any GCC internal prototype to avoid an error.
     5353   Use char because int might match the return type of a GCC
     5354   builtin and then its argument prototype would still apply.  */
    47875355#ifdef __cplusplus
    47885356extern "C"
    47895357#endif
    4790 /* We use char because int might match the return type of a gcc2
    4791    builtin and then its argument prototype would still apply.  */
    47925358char opendir ();
    47935359int
    47945360main ()
    47955361{
    4796 opendir ();
     5362return opendir ();
    47975363  ;
    47985364  return 0;
    47995365}
    48005366_ACEOF
    4801 rm -f conftest.$ac_objext conftest$ac_exeext
    4802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4803   (eval $ac_link) 2>conftest.er1
     5367for ac_lib in '' dir; do
     5368  if test -z "$ac_lib"; then
     5369    ac_res="none required"
     5370  else
     5371    ac_res=-l$ac_lib
     5372    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5373  fi
     5374  rm -f conftest.$ac_objext conftest$ac_exeext
     5375if { (ac_try="$ac_link"
     5376case "(($ac_try" in
     5377  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5378  *) ac_try_echo=$ac_try;;
     5379esac
     5380eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5381  (eval "$ac_link") 2>conftest.er1
    48045382  ac_status=$?
    48055383  grep -v '^ *+' conftest.er1 >conftest.err
     
    48075385  cat conftest.err >&5
    48085386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4809   (exit $ac_status); } &&
    4810      { ac_try='test -z "$ac_c_werror_flag"
    4811              || test ! -s conftest.err'
    4812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4813   (eval $ac_try) 2>&5
    4814   ac_status=$?
    4815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4816   (exit $ac_status); }; } &&
    4817      { ac_try='test -s conftest$ac_exeext'
    4818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4819   (eval $ac_try) 2>&5
    4820   ac_status=$?
    4821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4822   (exit $ac_status); }; }; then
    4823   ac_cv_search_opendir="none required"
     5387  (exit $ac_status); } && {
     5388     test -z "$ac_c_werror_flag" ||
     5389     test ! -s conftest.err
     5390       } && test -s conftest$ac_exeext &&
     5391       $as_test_x conftest$ac_exeext; then
     5392  ac_cv_search_opendir=$ac_res
    48245393else
    48255394  echo "$as_me: failed program was:" >&5
    48265395sed 's/^/| /' conftest.$ac_ext >&5
    48275396
    4828 fi
    4829 rm -f conftest.err conftest.$ac_objext \
    4830       conftest$ac_exeext conftest.$ac_ext
    4831 if test "$ac_cv_search_opendir" = no; then
    4832   for ac_lib in dir; do
    4833     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4834     cat >conftest.$ac_ext <<_ACEOF
     5397
     5398fi
     5399
     5400rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5401      conftest$ac_exeext
     5402  if test "${ac_cv_search_opendir+set}" = set; then
     5403  break
     5404fi
     5405done
     5406if test "${ac_cv_search_opendir+set}" = set; then
     5407  :
     5408else
     5409  ac_cv_search_opendir=no
     5410fi
     5411rm conftest.$ac_ext
     5412LIBS=$ac_func_search_save_LIBS
     5413fi
     5414{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5415echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5416ac_res=$ac_cv_search_opendir
     5417if test "$ac_res" != no; then
     5418  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5419
     5420fi
     5421
     5422else
     5423  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5424echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
     5425if test "${ac_cv_search_opendir+set}" = set; then
     5426  echo $ECHO_N "(cached) $ECHO_C" >&6
     5427else
     5428  ac_func_search_save_LIBS=$LIBS
     5429cat >conftest.$ac_ext <<_ACEOF
    48355430/* confdefs.h.  */
    48365431_ACEOF
     
    48395434/* end confdefs.h.  */
    48405435
    4841 /* Override any gcc2 internal prototype to avoid an error.  */
     5436/* Override any GCC internal prototype to avoid an error.
     5437   Use char because int might match the return type of a GCC
     5438   builtin and then its argument prototype would still apply.  */
    48425439#ifdef __cplusplus
    48435440extern "C"
    48445441#endif
    4845 /* We use char because int might match the return type of a gcc2
    4846    builtin and then its argument prototype would still apply.  */
    48475442char opendir ();
    48485443int
    48495444main ()
    48505445{
    4851 opendir ();
     5446return opendir ();
    48525447  ;
    48535448  return 0;
    48545449}
    48555450_ACEOF
    4856 rm -f conftest.$ac_objext conftest$ac_exeext
    4857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4858   (eval $ac_link) 2>conftest.er1
     5451for ac_lib in '' x; do
     5452  if test -z "$ac_lib"; then
     5453    ac_res="none required"
     5454  else
     5455    ac_res=-l$ac_lib
     5456    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5457  fi
     5458  rm -f conftest.$ac_objext conftest$ac_exeext
     5459if { (ac_try="$ac_link"
     5460case "(($ac_try" in
     5461  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5462  *) ac_try_echo=$ac_try;;
     5463esac
     5464eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5465  (eval "$ac_link") 2>conftest.er1
    48595466  ac_status=$?
    48605467  grep -v '^ *+' conftest.er1 >conftest.err
     
    48625469  cat conftest.err >&5
    48635470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4864   (exit $ac_status); } &&
    4865      { ac_try='test -z "$ac_c_werror_flag"
    4866              || test ! -s conftest.err'
    4867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4868   (eval $ac_try) 2>&5
    4869   ac_status=$?
    4870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4871   (exit $ac_status); }; } &&
    4872      { ac_try='test -s conftest$ac_exeext'
    4873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4874   (eval $ac_try) 2>&5
    4875   ac_status=$?
    4876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4877   (exit $ac_status); }; }; then
    4878   ac_cv_search_opendir="-l$ac_lib"
    4879 break
     5471  (exit $ac_status); } && {
     5472     test -z "$ac_c_werror_flag" ||
     5473     test ! -s conftest.err
     5474       } && test -s conftest$ac_exeext &&
     5475       $as_test_x conftest$ac_exeext; then
     5476  ac_cv_search_opendir=$ac_res
    48805477else
    48815478  echo "$as_me: failed program was:" >&5
    48825479sed 's/^/| /' conftest.$ac_ext >&5
    48835480
    4884 fi
    4885 rm -f conftest.err conftest.$ac_objext \
    4886       conftest$ac_exeext conftest.$ac_ext
    4887   done
    4888 fi
     5481
     5482fi
     5483
     5484rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5485      conftest$ac_exeext
     5486  if test "${ac_cv_search_opendir+set}" = set; then
     5487  break
     5488fi
     5489done
     5490if test "${ac_cv_search_opendir+set}" = set; then
     5491  :
     5492else
     5493  ac_cv_search_opendir=no
     5494fi
     5495rm conftest.$ac_ext
    48895496LIBS=$ac_func_search_save_LIBS
    48905497fi
    4891 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    4892 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    4893 if test "$ac_cv_search_opendir" != no; then
    4894   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    4895 
    4896 fi
    4897 
    4898 else
    4899   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4900 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    4901 if test "${ac_cv_search_opendir+set}" = set; then
    4902   echo $ECHO_N "(cached) $ECHO_C" >&6
    4903 else
    4904   ac_func_search_save_LIBS=$LIBS
    4905 ac_cv_search_opendir=no
    4906 cat >conftest.$ac_ext <<_ACEOF
    4907 /* confdefs.h.  */
    4908 _ACEOF
    4909 cat confdefs.h >>conftest.$ac_ext
    4910 cat >>conftest.$ac_ext <<_ACEOF
    4911 /* end confdefs.h.  */
    4912 
    4913 /* Override any gcc2 internal prototype to avoid an error.  */
    4914 #ifdef __cplusplus
    4915 extern "C"
    4916 #endif
    4917 /* We use char because int might match the return type of a gcc2
    4918    builtin and then its argument prototype would still apply.  */
    4919 char opendir ();
    4920 int
    4921 main ()
    4922 {
    4923 opendir ();
    4924   ;
    4925   return 0;
    4926 }
    4927 _ACEOF
    4928 rm -f conftest.$ac_objext conftest$ac_exeext
    4929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4930   (eval $ac_link) 2>conftest.er1
    4931   ac_status=$?
    4932   grep -v '^ *+' conftest.er1 >conftest.err
    4933   rm -f conftest.er1
    4934   cat conftest.err >&5
    4935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4936   (exit $ac_status); } &&
    4937      { ac_try='test -z "$ac_c_werror_flag"
    4938              || test ! -s conftest.err'
    4939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4940   (eval $ac_try) 2>&5
    4941   ac_status=$?
    4942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4943   (exit $ac_status); }; } &&
    4944      { ac_try='test -s conftest$ac_exeext'
    4945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4946   (eval $ac_try) 2>&5
    4947   ac_status=$?
    4948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4949   (exit $ac_status); }; }; then
    4950   ac_cv_search_opendir="none required"
    4951 else
    4952   echo "$as_me: failed program was:" >&5
    4953 sed 's/^/| /' conftest.$ac_ext >&5
    4954 
    4955 fi
    4956 rm -f conftest.err conftest.$ac_objext \
    4957       conftest$ac_exeext conftest.$ac_ext
    4958 if test "$ac_cv_search_opendir" = no; then
    4959   for ac_lib in x; do
    4960     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4961     cat >conftest.$ac_ext <<_ACEOF
    4962 /* confdefs.h.  */
    4963 _ACEOF
    4964 cat confdefs.h >>conftest.$ac_ext
    4965 cat >>conftest.$ac_ext <<_ACEOF
    4966 /* end confdefs.h.  */
    4967 
    4968 /* Override any gcc2 internal prototype to avoid an error.  */
    4969 #ifdef __cplusplus
    4970 extern "C"
    4971 #endif
    4972 /* We use char because int might match the return type of a gcc2
    4973    builtin and then its argument prototype would still apply.  */
    4974 char opendir ();
    4975 int
    4976 main ()
    4977 {
    4978 opendir ();
    4979   ;
    4980   return 0;
    4981 }
    4982 _ACEOF
    4983 rm -f conftest.$ac_objext conftest$ac_exeext
    4984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4985   (eval $ac_link) 2>conftest.er1
    4986   ac_status=$?
    4987   grep -v '^ *+' conftest.er1 >conftest.err
    4988   rm -f conftest.er1
    4989   cat conftest.err >&5
    4990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4991   (exit $ac_status); } &&
    4992      { ac_try='test -z "$ac_c_werror_flag"
    4993              || test ! -s conftest.err'
    4994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4995   (eval $ac_try) 2>&5
    4996   ac_status=$?
    4997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4998   (exit $ac_status); }; } &&
    4999      { ac_try='test -s conftest$ac_exeext'
    5000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5001   (eval $ac_try) 2>&5
    5002   ac_status=$?
    5003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5004   (exit $ac_status); }; }; then
    5005   ac_cv_search_opendir="-l$ac_lib"
    5006 break
    5007 else
    5008   echo "$as_me: failed program was:" >&5
    5009 sed 's/^/| /' conftest.$ac_ext >&5
    5010 
    5011 fi
    5012 rm -f conftest.err conftest.$ac_objext \
    5013       conftest$ac_exeext conftest.$ac_ext
    5014   done
    5015 fi
    5016 LIBS=$ac_func_search_save_LIBS
    5017 fi
    5018 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5019 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5020 if test "$ac_cv_search_opendir" != no; then
    5021   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5022 
    5023 fi
    5024 
    5025 fi
    5026 
    5027 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5028 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     5498{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5499echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5500ac_res=$ac_cv_search_opendir
     5501if test "$ac_res" != no; then
     5502  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5503
     5504fi
     5505
     5506fi
     5507
     5508{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5509echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    50295510if test "${ac_cv_header_stdc+set}" = set; then
    50305511  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    50505531_ACEOF
    50515532rm -f conftest.$ac_objext
    5052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5053   (eval $ac_compile) 2>conftest.er1
     5533if { (ac_try="$ac_compile"
     5534case "(($ac_try" in
     5535  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5536  *) ac_try_echo=$ac_try;;
     5537esac
     5538eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5539  (eval "$ac_compile") 2>conftest.er1
    50545540  ac_status=$?
    50555541  grep -v '^ *+' conftest.er1 >conftest.err
     
    50575543  cat conftest.err >&5
    50585544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5059   (exit $ac_status); } &&
    5060      { ac_try='test -z "$ac_c_werror_flag"
    5061              || test ! -s conftest.err'
    5062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5063   (eval $ac_try) 2>&5
    5064   ac_status=$?
    5065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5066   (exit $ac_status); }; } &&
    5067      { ac_try='test -s conftest.$ac_objext'
    5068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5069   (eval $ac_try) 2>&5
    5070   ac_status=$?
    5071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5072   (exit $ac_status); }; }; then
     5545  (exit $ac_status); } && {
     5546     test -z "$ac_c_werror_flag" ||
     5547     test ! -s conftest.err
     5548       } && test -s conftest.$ac_objext; then
    50735549  ac_cv_header_stdc=yes
    50745550else
     
    50765552sed 's/^/| /' conftest.$ac_ext >&5
    50775553
    5078 ac_cv_header_stdc=no
    5079 fi
    5080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5554    ac_cv_header_stdc=no
     5555fi
     5556
     5557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    50815558
    50825559if test $ac_cv_header_stdc = yes; then
     
    51345611/* end confdefs.h.  */
    51355612#include <ctype.h>
     5613#include <stdlib.h>
    51365614#if ((' ' & 0x0FF) == 0x020)
    51375615# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    51535631    if (XOR (islower (i), ISLOWER (i))
    51545632    || toupper (i) != TOUPPER (i))
    5155       exit(2);
    5156   exit (0);
     5633      return 2;
     5634  return 0;
    51575635}
    51585636_ACEOF
    51595637rm -f conftest$ac_exeext
    5160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5161   (eval $ac_link) 2>&5
     5638if { (ac_try="$ac_link"
     5639case "(($ac_try" in
     5640  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5641  *) ac_try_echo=$ac_try;;
     5642esac
     5643eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5644  (eval "$ac_link") 2>&5
    51625645  ac_status=$?
    51635646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    51645647  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5166   (eval $ac_try) 2>&5
     5648  { (case "(($ac_try" in
     5649  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5650  *) ac_try_echo=$ac_try;;
     5651esac
     5652eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5653  (eval "$ac_try") 2>&5
    51675654  ac_status=$?
    51685655  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    51775664ac_cv_header_stdc=no
    51785665fi
    5179 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5180 fi
    5181 fi
    5182 fi
    5183 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5184 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     5666rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5667fi
     5668
     5669
     5670fi
     5671fi
     5672{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5673echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    51855674if test $ac_cv_header_stdc = yes; then
    51865675
     
    52035692do
    52045693as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5206   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5694if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5695  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     5696echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5697if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    52095698  echo $ECHO_N "(cached) $ECHO_C" >&6
    52105699fi
    5211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5700ac_res=`eval echo '${'$as_ac_Header'}'`
     5701           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5702echo "${ECHO_T}$ac_res" >&6; }
    52135703else
    52145704  # Is the header compilable?
    5215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5705{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5706echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    52175707cat >conftest.$ac_ext <<_ACEOF
    52185708/* confdefs.h.  */
     
    52255715_ACEOF
    52265716rm -f conftest.$ac_objext
    5227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5228   (eval $ac_compile) 2>conftest.er1
     5717if { (ac_try="$ac_compile"
     5718case "(($ac_try" in
     5719  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5720  *) ac_try_echo=$ac_try;;
     5721esac
     5722eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5723  (eval "$ac_compile") 2>conftest.er1
    52295724  ac_status=$?
    52305725  grep -v '^ *+' conftest.er1 >conftest.err
     
    52325727  cat conftest.err >&5
    52335728  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5234   (exit $ac_status); } &&
    5235      { ac_try='test -z "$ac_c_werror_flag"
    5236              || test ! -s conftest.err'
    5237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5238   (eval $ac_try) 2>&5
    5239   ac_status=$?
    5240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5241   (exit $ac_status); }; } &&
    5242      { ac_try='test -s conftest.$ac_objext'
    5243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5244   (eval $ac_try) 2>&5
    5245   ac_status=$?
    5246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5247   (exit $ac_status); }; }; then
     5729  (exit $ac_status); } && {
     5730     test -z "$ac_c_werror_flag" ||
     5731     test ! -s conftest.err
     5732       } && test -s conftest.$ac_objext; then
    52485733  ac_header_compiler=yes
    52495734else
     
    52515736sed 's/^/| /' conftest.$ac_ext >&5
    52525737
    5253 ac_header_compiler=no
    5254 fi
    5255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5257 echo "${ECHO_T}$ac_header_compiler" >&6
     5738    ac_header_compiler=no
     5739fi
     5740
     5741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5742{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5743echo "${ECHO_T}$ac_header_compiler" >&6; }
    52585744
    52595745# Is the header present?
    5260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5746{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5747echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    52625748cat >conftest.$ac_ext <<_ACEOF
    52635749/* confdefs.h.  */
     
    52685754#include <$ac_header>
    52695755_ACEOF
    5270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5271   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5756if { (ac_try="$ac_cpp conftest.$ac_ext"
     5757case "(($ac_try" in
     5758  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5759  *) ac_try_echo=$ac_try;;
     5760esac
     5761eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5762  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    52725763  ac_status=$?
    52735764  grep -v '^ *+' conftest.er1 >conftest.err
     
    52755766  cat conftest.err >&5
    52765767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5277   (exit $ac_status); } >/dev/null; then
    5278   if test -s conftest.err; then
    5279     ac_cpp_err=$ac_c_preproc_warn_flag
    5280     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5281   else
    5282     ac_cpp_err=
    5283   fi
    5284 else
    5285   ac_cpp_err=yes
    5286 fi
    5287 if test -z "$ac_cpp_err"; then
     5768  (exit $ac_status); } >/dev/null && {
     5769     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5770     test ! -s conftest.err
     5771       }; then
    52885772  ac_header_preproc=yes
    52895773else
     
    52935777  ac_header_preproc=no
    52945778fi
     5779
    52955780rm -f conftest.err conftest.$ac_ext
    5296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5297 echo "${ECHO_T}$ac_header_preproc" >&6
     5781{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5782echo "${ECHO_T}$ac_header_preproc" >&6; }
    52985783
    52995784# So?  What about this header?
     
    53195804    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    53205805echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5321     (
    5322       cat <<\_ASBOX
    5323 ## ------------------------------------------ ##
    5324 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5325 ## ------------------------------------------ ##
    5326 _ASBOX
    5327     ) |
    5328       sed "s/^/$as_me: WARNING:     /" >&2
     5806
    53295807    ;;
    53305808esac
    5331 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5809{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     5810echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5811if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    53345812  echo $ECHO_N "(cached) $ECHO_C" >&6
    53355813else
    53365814  eval "$as_ac_Header=\$ac_header_preproc"
    53375815fi
    5338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5816ac_res=`eval echo '${'$as_ac_Header'}'`
     5817           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5818echo "${ECHO_T}$ac_res" >&6; }
    53405819
    53415820fi
     
    54065885# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    54075886# for constant arguments.  Useless!
    5408 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5409 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     5887{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5888echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
    54105889if test "${ac_cv_working_alloca_h+set}" = set; then
    54115890  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    54225901{
    54235902char *p = (char *) alloca (2 * sizeof (int));
     5903              if (p) return 0;
    54245904  ;
    54255905  return 0;
     
    54275907_ACEOF
    54285908rm -f conftest.$ac_objext conftest$ac_exeext
    5429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5430   (eval $ac_link) 2>conftest.er1
     5909if { (ac_try="$ac_link"
     5910case "(($ac_try" in
     5911  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5912  *) ac_try_echo=$ac_try;;
     5913esac
     5914eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5915  (eval "$ac_link") 2>conftest.er1
    54315916  ac_status=$?
    54325917  grep -v '^ *+' conftest.er1 >conftest.err
     
    54345919  cat conftest.err >&5
    54355920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5436   (exit $ac_status); } &&
    5437      { ac_try='test -z "$ac_c_werror_flag"
    5438              || test ! -s conftest.err'
    5439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5440   (eval $ac_try) 2>&5
    5441   ac_status=$?
    5442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5443   (exit $ac_status); }; } &&
    5444      { ac_try='test -s conftest$ac_exeext'
    5445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5446   (eval $ac_try) 2>&5
    5447   ac_status=$?
    5448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5449   (exit $ac_status); }; }; then
     5921  (exit $ac_status); } && {
     5922     test -z "$ac_c_werror_flag" ||
     5923     test ! -s conftest.err
     5924       } && test -s conftest$ac_exeext &&
     5925       $as_test_x conftest$ac_exeext; then
    54505926  ac_cv_working_alloca_h=yes
    54515927else
     
    54535929sed 's/^/| /' conftest.$ac_ext >&5
    54545930
    5455 ac_cv_working_alloca_h=no
    5456 fi
    5457 rm -f conftest.err conftest.$ac_objext \
     5931    ac_cv_working_alloca_h=no
     5932fi
     5933
     5934rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    54585935      conftest$ac_exeext conftest.$ac_ext
    54595936fi
    5460 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5461 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
     5937{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5938echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
    54625939if test $ac_cv_working_alloca_h = yes; then
    54635940
     
    54685945fi
    54695946
    5470 echo "$as_me:$LINENO: checking for alloca" >&5
    5471 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     5947{ echo "$as_me:$LINENO: checking for alloca" >&5
     5948echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
    54725949if test "${ac_cv_func_alloca_works+set}" = set; then
    54735950  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    54865963#  define alloca _alloca
    54875964# else
    5488 #  if HAVE_ALLOCA_H
     5965#  ifdef HAVE_ALLOCA_H
    54895966#   include <alloca.h>
    54905967#  else
     
    55045981{
    55055982char *p = (char *) alloca (1);
     5983                    if (p) return 0;
    55065984  ;
    55075985  return 0;
     
    55095987_ACEOF
    55105988rm -f conftest.$ac_objext conftest$ac_exeext
    5511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5512   (eval $ac_link) 2>conftest.er1
     5989if { (ac_try="$ac_link"
     5990case "(($ac_try" in
     5991  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5992  *) ac_try_echo=$ac_try;;
     5993esac
     5994eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5995  (eval "$ac_link") 2>conftest.er1
    55135996  ac_status=$?
    55145997  grep -v '^ *+' conftest.er1 >conftest.err
     
    55165999  cat conftest.err >&5
    55176000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5518   (exit $ac_status); } &&
    5519      { ac_try='test -z "$ac_c_werror_flag"
    5520              || test ! -s conftest.err'
    5521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5522   (eval $ac_try) 2>&5
    5523   ac_status=$?
    5524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5525   (exit $ac_status); }; } &&
    5526      { ac_try='test -s conftest$ac_exeext'
    5527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5528   (eval $ac_try) 2>&5
    5529   ac_status=$?
    5530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5531   (exit $ac_status); }; }; then
     6001  (exit $ac_status); } && {
     6002     test -z "$ac_c_werror_flag" ||
     6003     test ! -s conftest.err
     6004       } && test -s conftest$ac_exeext &&
     6005       $as_test_x conftest$ac_exeext; then
    55326006  ac_cv_func_alloca_works=yes
    55336007else
     
    55356009sed 's/^/| /' conftest.$ac_ext >&5
    55366010
    5537 ac_cv_func_alloca_works=no
    5538 fi
    5539 rm -f conftest.err conftest.$ac_objext \
     6011    ac_cv_func_alloca_works=no
     6012fi
     6013
     6014rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    55406015      conftest$ac_exeext conftest.$ac_ext
    55416016fi
    5542 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    5543 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
     6017{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     6018echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
    55446019
    55456020if test $ac_cv_func_alloca_works = yes; then
     
    55556030# use ar to extract alloca.o from them instead of compiling alloca.c.
    55566031
    5557 ALLOCA=alloca.$ac_objext
     6032ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    55586033
    55596034cat >>confdefs.h <<\_ACEOF
     
    55626037
    55636038
    5564 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    5565 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     6039{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     6040echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
    55666041if test "${ac_cv_os_cray+set}" = set; then
    55676042  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55736048cat >>conftest.$ac_ext <<_ACEOF
    55746049/* end confdefs.h.  */
    5575 #if defined(CRAY) && ! defined(CRAY2)
     6050#if defined CRAY && ! defined CRAY2
    55766051webecray
    55776052#else
     
    55896064
    55906065fi
    5591 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    5592 echo "${ECHO_T}$ac_cv_os_cray" >&6
     6066{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     6067echo "${ECHO_T}$ac_cv_os_cray" >&6; }
    55936068if test $ac_cv_os_cray = yes; then
    55946069  for ac_func in _getb67 GETB67 getb67; do
    55956070    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5596 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5598 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6071{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6072echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6073if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    55996074  echo $ECHO_N "(cached) $ECHO_C" >&6
    56006075else
     
    56226097#undef $ac_func
    56236098
    5624 /* Override any gcc2 internal prototype to avoid an error.  */
     6099/* Override any GCC internal prototype to avoid an error.
     6100   Use char because int might match the return type of a GCC
     6101   builtin and then its argument prototype would still apply.  */
    56256102#ifdef __cplusplus
    56266103extern "C"
    5627 {
    56286104#endif
    5629 /* We use char because int might match the return type of a gcc2
    5630    builtin and then its argument prototype would still apply.  */
    56316105char $ac_func ();
    56326106/* The GNU C library defines this for functions which it implements
    56336107    to always fail with ENOSYS.  Some functions are actually named
    56346108    something starting with __ and the normal name is an alias.  */
    5635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6109#if defined __stub_$ac_func || defined __stub___$ac_func
    56366110choke me
    5637 #else
    5638 char (*f) () = $ac_func;
    5639 #endif
    5640 #ifdef __cplusplus
    5641 }
    56426111#endif
    56436112
     
    56456114main ()
    56466115{
    5647 return f != $ac_func;
     6116return $ac_func ();
    56486117  ;
    56496118  return 0;
     
    56516120_ACEOF
    56526121rm -f conftest.$ac_objext conftest$ac_exeext
    5653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5654   (eval $ac_link) 2>conftest.er1
     6122if { (ac_try="$ac_link"
     6123case "(($ac_try" in
     6124  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6125  *) ac_try_echo=$ac_try;;
     6126esac
     6127eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6128  (eval "$ac_link") 2>conftest.er1
    56556129  ac_status=$?
    56566130  grep -v '^ *+' conftest.er1 >conftest.err
     
    56586132  cat conftest.err >&5
    56596133  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5660   (exit $ac_status); } &&
    5661      { ac_try='test -z "$ac_c_werror_flag"
    5662              || test ! -s conftest.err'
    5663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5664   (eval $ac_try) 2>&5
    5665   ac_status=$?
    5666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5667   (exit $ac_status); }; } &&
    5668      { ac_try='test -s conftest$ac_exeext'
    5669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5670   (eval $ac_try) 2>&5
    5671   ac_status=$?
    5672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5673   (exit $ac_status); }; }; then
     6134  (exit $ac_status); } && {
     6135     test -z "$ac_c_werror_flag" ||
     6136     test ! -s conftest.err
     6137       } && test -s conftest$ac_exeext &&
     6138       $as_test_x conftest$ac_exeext; then
    56746139  eval "$as_ac_var=yes"
    56756140else
     
    56776142sed 's/^/| /' conftest.$ac_ext >&5
    56786143
    5679 eval "$as_ac_var=no"
    5680 fi
    5681 rm -f conftest.err conftest.$ac_objext \
     6144    eval "$as_ac_var=no"
     6145fi
     6146
     6147rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \