Changeset 20848


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

more changes to use our own libiconv

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

Legend:

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

    r19825 r20848  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     3# Generated by GNU Autoconf 2.61.
    44#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
     5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    67# This configure script is free software; the Free Software Foundation
    78# gives unlimited permission to copy, distribute and modify it.
     
    1011## --------------------- ##
    1112
    12 # Be Bourne compatible
     13# Be more Bourne compatible
     14DUALCASE=1; export DUALCASE # for MKS sh
    1315if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1416  emulate sh
     
    1719  # is contrary to our usage.  Disable this feature.
    1820  alias -g '${1+"$@"}'='"$@"'
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20   set -o posix
    21 fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    23 
    24 # Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26   as_unset=unset
    27 else
    28   as_unset=false
    29 fi
    30 
    31 
    32 # Work around bugs in pre-3.0 UWIN ksh.
    33 $as_unset ENV MAIL MAILPATH
    34 PS1='$ '
    35 PS2='> '
    36 PS4='+ '
    37 
    38 # NLS nuisances.
    39 for as_var in \
    40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42   LC_TELEPHONE LC_TIME
    43 do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45     eval $as_var=C; export $as_var
    46   else
    47     $as_unset $as_var
    48   fi
    49 done
    50 
    51 # Required to use basename.
    52 if expr a : '\(a\)' >/dev/null 2>&1; then
    53   as_expr=expr
    54 else
    55   as_expr=false
    56 fi
    57 
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    59   as_basename=basename
    60 else
    61   as_basename=false
    62 fi
    63 
    64 
    65 # Name of the executable.
    66 as_me=`$as_basename "$0" ||
    67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68      X"$0" : 'X\(//\)$' \| \
    69      X"$0" : 'X\(/\)$' \| \
    70      .     : '\(.\)' 2>/dev/null ||
    71 echo X/"$0" |
    72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73       /^X\/\(\/\/\)$/{ s//\1/; q; }
    74       /^X\/\(\/\).*/{ s//\1/; q; }
    75       s/.*/./; q'`
    76 
    77 
    78 # PATH needs CR, and LINENO needs CR and PATH.
     21  setopt NO_GLOB_SUBST
     22else
     23  case `(set -o) 2>/dev/null` in
     24  *posix*) set -o posix ;;
     25esac
     26
     27fi
     28
     29
     30
     31
     32# PATH needs CR
    7933# Avoid depending upon Character Ranges.
    8034as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    9751fi
    9852
    99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     53# Support unset when possible.
     54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     55  as_unset=unset
     56else
     57  as_unset=false
     58fi
     59
     60
     61# IFS
     62# We need space, tab and new line, in precisely that order.  Quoting is
     63# there to prevent editors from complaining about space-tab.
     64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     65# splitting by setting IFS to empty value.)
     66as_nl='
     67'
     68IFS=" ""    $as_nl"
     69
     70# Find who we are.  Look in the path if we contain no directory separator.
     71case $0 in
     72  *[\\/]* ) as_myself=$0 ;;
     73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    11074for as_dir in $PATH
    11175do
     
    11478  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    11579done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
     80IFS=$as_save_IFS
     81
     82     ;;
     83esac
     84# We did not find ourselves, most probably we were run as `sh COMMAND'
     85# in which case we are not to be found in the path.
     86if test "x$as_myself" = x; then
     87  as_myself=$0
     88fi
     89if test ! -f "$as_myself"; then
     90  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     91  { (exit 1); exit 1; }
     92fi
     93
     94# Work around bugs in pre-3.0 UWIN ksh.
     95for as_var in ENV MAIL MAILPATH
     96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     97done
     98PS1='$ '
     99PS2='> '
     100PS4='+ '
     101
     102# NLS nuisances.
     103for as_var in \
     104  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     105  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     106  LC_TELEPHONE LC_TIME
     107do
     108  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     109    eval $as_var=C; export $as_var
     110  else
     111    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    123112  fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
     113done
     114
     115# Required to use basename.
     116if expr a : '\(a\)' >/dev/null 2>&1 &&
     117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     118  as_expr=expr
     119else
     120  as_expr=false
     121fi
     122
     123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     124  as_basename=basename
     125else
     126  as_basename=false
     127fi
     128
     129
     130# Name of the executable.
     131as_me=`$as_basename -- "$0" ||
     132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     133     X"$0" : 'X\(//\)$' \| \
     134     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     135echo X/"$0" |
     136    sed '/^.*\/\([^/][^/]*\)\/*$/{
     137        s//\1/
     138        q
     139      }
     140      /^X\/\(\/\/\)$/{
     141        s//\1/
     142        q
     143      }
     144      /^X\/\(\/\).*/{
     145        s//\1/
     146        q
     147      }
     148      s/.*/./; q'`
     149
     150# CDPATH.
     151$as_unset CDPATH
     152
     153
     154if test "x$CONFIG_SHELL" = x; then
     155  if (eval ":") 2>/dev/null; then
     156  as_have_required=yes
     157else
     158  as_have_required=no
     159fi
     160
     161  if test $as_have_required = yes &&     (eval ":
     162(as_func_return () {
     163  (exit \$1)
     164}
     165as_func_success () {
     166  as_func_return 0
     167}
     168as_func_failure () {
     169  as_func_return 1
     170}
     171as_func_ret_success () {
     172  return 0
     173}
     174as_func_ret_failure () {
     175  return 1
     176}
     177
     178exitcode=0
     179if as_func_success; then
     180  :
     181else
     182  exitcode=1
     183  echo as_func_success failed.
     184fi
     185
     186if as_func_failure; then
     187  exitcode=1
     188  echo as_func_failure succeeded.
     189fi
     190
     191if as_func_ret_success; then
     192  :
     193else
     194  exitcode=1
     195  echo as_func_ret_success failed.
     196fi
     197
     198if as_func_ret_failure; then
     199  exitcode=1
     200  echo as_func_ret_failure succeeded.
     201fi
     202
     203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     204  :
     205else
     206  exitcode=1
     207  echo positional parameters were not saved.
     208fi
     209
     210test \$exitcode = 0) || { (exit 1); exit 1; }
     211
     212(
     213  as_lineno_1=\$LINENO
     214  as_lineno_2=\$LINENO
     215  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     216  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     217") 2> /dev/null; then
     218  :
     219else
     220  as_candidate_shells=
    130221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    133224  IFS=$as_save_IFS
    134225  test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136      case $as_dir in
     226  case $as_dir in
    137227     /*)
    138        if ("$as_dir/$as_base" -c '
     228       for as_base in sh bash ksh sh5; do
     229         as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     230       done;;
     231       esac
     232done
     233IFS=$as_save_IFS
     234
     235
     236      for as_shell in $as_candidate_shells $SHELL; do
     237     # Try only shells that exist, to save several forks.
     238     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     239        { ("$as_shell") 2> /dev/null <<\_ASEOF
     240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     241  emulate sh
     242  NULLCMD=:
     243  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     244  # is contrary to our usage.  Disable this feature.
     245  alias -g '${1+"$@"}'='"$@"'
     246  setopt NO_GLOB_SUBST
     247else
     248  case `(set -o) 2>/dev/null` in
     249  *posix*) set -o posix ;;
     250esac
     251
     252fi
     253
     254
     255:
     256_ASEOF
     257}; then
     258  CONFIG_SHELL=$as_shell
     259           as_have_required=yes
     260           if { "$as_shell" 2> /dev/null <<\_ASEOF
     261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     262  emulate sh
     263  NULLCMD=:
     264  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     265  # is contrary to our usage.  Disable this feature.
     266  alias -g '${1+"$@"}'='"$@"'
     267  setopt NO_GLOB_SUBST
     268else
     269  case `(set -o) 2>/dev/null` in
     270  *posix*) set -o posix ;;
     271esac
     272
     273fi
     274
     275
     276:
     277(as_func_return () {
     278  (exit $1)
     279}
     280as_func_success () {
     281  as_func_return 0
     282}
     283as_func_failure () {
     284  as_func_return 1
     285}
     286as_func_ret_success () {
     287  return 0
     288}
     289as_func_ret_failure () {
     290  return 1
     291}
     292
     293exitcode=0
     294if as_func_success; then
     295  :
     296else
     297  exitcode=1
     298  echo as_func_success failed.
     299fi
     300
     301if as_func_failure; then
     302  exitcode=1
     303  echo as_func_failure succeeded.
     304fi
     305
     306if as_func_ret_success; then
     307  :
     308else
     309  exitcode=1
     310  echo as_func_ret_success failed.
     311fi
     312
     313if as_func_ret_failure; then
     314  exitcode=1
     315  echo as_func_ret_failure succeeded.
     316fi
     317
     318if ( set x; as_func_ret_success y && test x = "$1" ); then
     319  :
     320else
     321  exitcode=1
     322  echo positional parameters were not saved.
     323fi
     324
     325test $exitcode = 0) || { (exit 1); exit 1; }
     326
     327(
    139328  as_lineno_1=$LINENO
    140329  as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142330  test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146          CONFIG_SHELL=$as_dir/$as_base
    147          export CONFIG_SHELL
    148          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149        fi;;
    150      esac
    151        done
    152 done
    153 ;;
    154   esac
     331  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     332
     333_ASEOF
     334}; then
     335  break
     336fi
     337
     338fi
     339
     340      done
     341
     342      if test "x$CONFIG_SHELL" != x; then
     343  for as_var in BASH_ENV ENV
     344        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     345        done
     346        export CONFIG_SHELL
     347        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     348fi
     349
     350
     351    if test $as_have_required = no; then
     352  echo This script requires a shell more modern than all the
     353      echo shells that I found on your system.  Please install a
     354      echo modern shell, or manually run the script under such a
     355      echo shell if you do have one.
     356      { (exit 1); exit 1; }
     357fi
     358
     359
     360fi
     361
     362fi
     363
     364
     365
     366(eval "as_func_return () {
     367  (exit \$1)
     368}
     369as_func_success () {
     370  as_func_return 0
     371}
     372as_func_failure () {
     373  as_func_return 1
     374}
     375as_func_ret_success () {
     376  return 0
     377}
     378as_func_ret_failure () {
     379  return 1
     380}
     381
     382exitcode=0
     383if as_func_success; then
     384  :
     385else
     386  exitcode=1
     387  echo as_func_success failed.
     388fi
     389
     390if as_func_failure; then
     391  exitcode=1
     392  echo as_func_failure succeeded.
     393fi
     394
     395if as_func_ret_success; then
     396  :
     397else
     398  exitcode=1
     399  echo as_func_ret_success failed.
     400fi
     401
     402if as_func_ret_failure; then
     403  exitcode=1
     404  echo as_func_ret_failure succeeded.
     405fi
     406
     407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     408  :
     409else
     410  exitcode=1
     411  echo positional parameters were not saved.
     412fi
     413
     414test \$exitcode = 0") || {
     415  echo No shell found that supports shell functions.
     416  echo Please tell [email protected] about your system,
     417  echo including any error possibly output before this
     418  echo message
     419}
     420
     421
     422
     423  as_lineno_1=$LINENO
     424  as_lineno_2=$LINENO
     425  test "x$as_lineno_1" != "x$as_lineno_2" &&
     426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    155427
    156428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157429  # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
     430  # line-number line after each line using $LINENO; the second 'sed'
     431  # does the real work.  The second script uses 'N' to pair each
     432  # line-number line with the line containing $LINENO, and appends
     433  # trailing '-' during substitution so that $LINENO is not a special
     434  # case at line end.
    162435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
     436  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     437  # E. McMahon (1931-1989) for sed's syntax.  :-)
     438  sed -n '
     439    p
     440    /[$]LINENO/=
     441  ' <$as_myself |
    165442    sed '
     443      s/[$]LINENO.*/&-/
     444      t lineno
     445      b
     446      :lineno
    166447      N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     448      :loop
     449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    170450      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     451      s/-\n.*//
    173452    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
     453  chmod +x "$as_me.lineno" ||
    175454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176455   { (exit 1); exit 1; }; }
     
    178457  # Don't try to exec as it changes $[0], causing all sort of problems
    179458  # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
     459  # original and so on.  Autoconf is especially sensitive to this).
     460  . "./$as_me.lineno"
    182461  # Exit status is that of the last command.
    183462  exit
     
    185464
    186465
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='  ' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
     466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     467  as_dirname=dirname
     468else
     469  as_dirname=false
     470fi
     471
     472ECHO_C= ECHO_N= ECHO_T=
     473case `echo -n x` in
     474-n*)
     475  case `echo 'x\c'` in
     476  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     477  *)   ECHO_C='\c';;
     478  esac;;
     479*)
     480  ECHO_N='-n';;
     481esac
     482
     483if expr a : '\(a\)' >/dev/null 2>&1 &&
     484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    195485  as_expr=expr
    196486else
     
    199489
    200490rm -f conf$$ conf$$.exe conf$$.file
     491if test -d conf$$.dir; then
     492  rm -f conf$$.dir/conf$$.file
     493else
     494  rm -f conf$$.dir
     495  mkdir conf$$.dir
     496fi
    201497echo >conf$$.file
    202498if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
     499  as_ln_s='ln -s'
     500  # ... but there are two gotchas:
     501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     503  # In both cases, we have to default to `cp -p'.
     504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    207505    as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211506elif ln conf$$.file conf$$ 2>/dev/null; then
    212507  as_ln_s=ln
     
    214509  as_ln_s='cp -p'
    215510fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     512rmdir conf$$.dir 2>/dev/null
    217513
    218514if mkdir -p . 2>/dev/null; then
     
    223519fi
    224520
    225 as_executable_p="test -f"
     521if test -x / >/dev/null 2>&1; then
     522  as_test_x='test -x'
     523else
     524  if ls -dL / >/dev/null 2>&1; then
     525    as_ls_L_option=L
     526  else
     527    as_ls_L_option=
     528  fi
     529  as_test_x='
     530    eval sh -c '\''
     531      if test -d "$1"; then
     532        test -d "$1/.";
     533      else
     534    case $1 in
     535        -*)set "./$1";;
     536    esac;
     537    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     538    ???[sx]*):;;*)false;;esac;fi
     539    '\'' sh
     540  '
     541fi
     542as_executable_p=$as_test_x
    226543
    227544# Sed expression to map a string onto a valid CPP name.
     
    232549
    233550
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS="   $as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
     551
     552exec 7<&0 </dev/null 6>&1
    243553
    244554# Name of the host.
     
    247557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248558
    249 exec 6>&1
    250 
    251559#
    252560# Initializations.
    253561#
    254562ac_default_prefix=/usr/local
     563ac_clean_files=
    255564ac_config_libobj_dir=.
     565LIBOBJS=
    256566cross_compiling=no
    257567subdirs=
     
    259569MAKEFLAGS=
    260570SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266571
    267572# Identity of this package.
     
    275580ac_includes_default="\
    276581#include <stdio.h>
    277 #if HAVE_SYS_TYPES_H
     582#ifdef HAVE_SYS_TYPES_H
    278583# include <sys/types.h>
    279584#endif
    280 #if HAVE_SYS_STAT_H
     585#ifdef HAVE_SYS_STAT_H
    281586# include <sys/stat.h>
    282587#endif
    283 #if STDC_HEADERS
     588#ifdef STDC_HEADERS
    284589# include <stdlib.h>
    285590# include <stddef.h>
    286591#else
    287 # if HAVE_STDLIB_H
     592# ifdef HAVE_STDLIB_H
    288593#  include <stdlib.h>
    289594# endif
    290595#endif
    291 #if HAVE_STRING_H
    292 # if !STDC_HEADERS && HAVE_MEMORY_H
     596#ifdef HAVE_STRING_H
     597# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    293598#  include <memory.h>
    294599# endif
    295600# include <string.h>
    296601#endif
    297 #if HAVE_STRINGS_H
     602#ifdef HAVE_STRINGS_H
    298603# include <strings.h>
    299604#endif
    300 #if HAVE_INTTYPES_H
     605#ifdef HAVE_INTTYPES_H
    301606# include <inttypes.h>
    302 #else
    303 # if HAVE_STDINT_H
    304 #  include <stdint.h>
    305 # endif
    306607#endif
    307 #if HAVE_UNISTD_H
     608#ifdef HAVE_STDINT_H
     609# include <stdint.h>
     610#endif
     611#ifdef HAVE_UNISTD_H
    308612# include <unistd.h>
    309613#endif"
    310614
    311 ac_subdirs_all="$ac_subdirs_all packages"
    312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
     615ac_subst_vars='SHELL
     616PATH_SEPARATOR
     617PACKAGE_NAME
     618PACKAGE_TARNAME
     619PACKAGE_VERSION
     620PACKAGE_STRING
     621PACKAGE_BUGREPORT
     622exec_prefix
     623prefix
     624program_transform_name
     625bindir
     626sbindir
     627libexecdir
     628datarootdir
     629datadir
     630sysconfdir
     631sharedstatedir
     632localstatedir
     633includedir
     634oldincludedir
     635docdir
     636infodir
     637htmldir
     638dvidir
     639pdfdir
     640psdir
     641libdir
     642localedir
     643mandir
     644DEFS
     645ECHO_C
     646ECHO_N
     647ECHO_T
     648LIBS
     649build_alias
     650host_alias
     651target_alias
     652PACKAGE
     653VERSION
     654USE_FASTCGI
     655USE_LANGACTION
     656USE_CORBA
     657MICO_DIR
     658USE_Z3950
     659USE_YAZ
     660ENABLE_ACCENTFOLD
     661USE_SQLITE
     662USE_APACHE_HTTPD
     663LDFLAGS
     664CFLAGS
     665CC
     666CPPFLAGS
     667ac_ct_CC
     668EXEEXT
     669OBJEXT
     670CXX
     671CXXFLAGS
     672ac_ct_CXX
     673AWK
     674YACC
     675YFLAGS
     676build
     677build_cpu
     678build_vendor
     679build_os
     680host
     681host_cpu
     682host_vendor
     683host_os
     684target
     685target_cpu
     686target_vendor
     687target_os
     688INSTALL_PROGRAM
     689INSTALL_SCRIPT
     690INSTALL_DATA
     691LN_S
     692SET_MAKE
     693RANLIB
     694COMPAT32BITFLAGS
     695MICO_VER
     696CPP
     697GREP
     698EGREP
     699U
     700ANSI2KNR
     701ALLOCA
     702LIBOBJS
     703STATIC
     704gsdlos
     705MODULEDIRS
     706subdirs
     707LTLIBOBJS'
    313708ac_subst_files=''
     709      ac_precious_vars='build_alias
     710host_alias
     711target_alias
     712CC
     713CFLAGS
     714LDFLAGS
     715LIBS
     716CPPFLAGS
     717CXX
     718CXXFLAGS
     719CCC
     720YACC
     721YFLAGS
     722CPP'
     723ac_subdirs_all='packages'
    314724
    315725# Initialize some variables set by options.
     
    338748# by default will actually change.
    339749# Use braces instead of parens because sh, perl, etc. also accept them.
     750# (The list follows the same order as the GNU Coding Standards.)
    340751bindir='${exec_prefix}/bin'
    341752sbindir='${exec_prefix}/sbin'
    342753libexecdir='${exec_prefix}/libexec'
    343 datadir='${prefix}/share'
     754datarootdir='${prefix}/share'
     755datadir='${datarootdir}'
    344756sysconfdir='${prefix}/etc'
    345757sharedstatedir='${prefix}/com'
    346758localstatedir='${prefix}/var'
    347 libdir='${exec_prefix}/lib'
    348759includedir='${prefix}/include'
    349760oldincludedir='/usr/include'
    350 infodir='${prefix}/info'
    351 mandir='${prefix}/man'
     761docdir='${datarootdir}/doc/${PACKAGE}'
     762infodir='${datarootdir}/info'
     763htmldir='${docdir}'
     764dvidir='${docdir}'
     765pdfdir='${docdir}'
     766psdir='${docdir}'
     767libdir='${exec_prefix}/lib'
     768localedir='${datarootdir}/locale'
     769mandir='${datarootdir}/man'
    352770
    353771ac_prev=
     772ac_dashdash=
    354773for ac_option
    355774do
    356775  # If the previous option needs an argument, assign it.
    357776  if test -n "$ac_prev"; then
    358     eval "$ac_prev=\$ac_option"
     777    eval $ac_prev=\$ac_option
    359778    ac_prev=
    360779    continue
    361780  fi
    362781
    363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     782  case $ac_option in
     783  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     784  *)    ac_optarg=yes ;;
     785  esac
    364786
    365787  # Accept the important Cygnus configure options, so we can diagnose typos.
    366788
    367   case $ac_option in
     789  case $ac_dashdash$ac_option in
     790  --)
     791    ac_dashdash=yes ;;
    368792
    369793  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    387811    cache_file=config.cache ;;
    388812
    389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     813  -datadir | --datadir | --datadi | --datad)
    390814    ac_prev=datadir ;;
    391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    392   | --da=*)
     815  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    393816    datadir=$ac_optarg ;;
     817
     818  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     819  | --dataroo | --dataro | --datar)
     820    ac_prev=datarootdir ;;
     821  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     822  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     823    datarootdir=$ac_optarg ;;
    394824
    395825  -disable-* | --disable-*)
    396826    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    397827    # Reject names that are not valid shell variable names.
    398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     828    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    399829      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    400830   { (exit 1); exit 1; }; }
    401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    402     eval "enable_$ac_feature=no" ;;
     831    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     832    eval enable_$ac_feature=no ;;
     833
     834  -docdir | --docdir | --docdi | --doc | --do)
     835    ac_prev=docdir ;;
     836  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     837    docdir=$ac_optarg ;;
     838
     839  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     840    ac_prev=dvidir ;;
     841  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     842    dvidir=$ac_optarg ;;
    403843
    404844  -enable-* | --enable-*)
    405845    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    406846    # Reject names that are not valid shell variable names.
    407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     847    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    408848      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    409849   { (exit 1); exit 1; }; }
    410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    411     case $ac_option in
    412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    413       *) ac_optarg=yes ;;
    414     esac
    415     eval "enable_$ac_feature='$ac_optarg'" ;;
     850    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     851    eval enable_$ac_feature=\$ac_optarg ;;
    416852
    417853  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    440876    host_alias=$ac_optarg ;;
    441877
     878  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     879    ac_prev=htmldir ;;
     880  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     881  | --ht=*)
     882    htmldir=$ac_optarg ;;
     883
    442884  -includedir | --includedir | --includedi | --included | --include \
    443885  | --includ | --inclu | --incl | --inc)
     
    464906    libexecdir=$ac_optarg ;;
    465907
     908  -localedir | --localedir | --localedi | --localed | --locale)
     909    ac_prev=localedir ;;
     910  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     911    localedir=$ac_optarg ;;
     912
    466913  -localstatedir | --localstatedir | --localstatedi | --localstated \
    467   | --localstate | --localstat | --localsta | --localst \
    468   | --locals | --local | --loca | --loc | --lo)
     914  | --localstate | --localstat | --localsta | --localst | --locals)
    469915    ac_prev=localstatedir ;;
    470916  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     917  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    473918    localstatedir=$ac_optarg ;;
    474919
     
    535980    program_transform_name=$ac_optarg ;;
    536981
     982  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     983    ac_prev=pdfdir ;;
     984  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     985    pdfdir=$ac_optarg ;;
     986
     987  -psdir | --psdir | --psdi | --psd | --ps)
     988    ac_prev=psdir ;;
     989  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     990    psdir=$ac_optarg ;;
     991
    537992  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    538993  | -silent | --silent | --silen | --sile | --sil)
     
    5871042    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5881043    # Reject names that are not valid shell variable names.
    589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1044    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    5901045      { echo "$as_me: error: invalid package name: $ac_package" >&2
    5911046   { (exit 1); exit 1; }; }
    592     ac_package=`echo $ac_package| sed 's/-/_/g'`
    593     case $ac_option in
    594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    595       *) ac_optarg=yes ;;
    596     esac
    597     eval "with_$ac_package='$ac_optarg'" ;;
     1047    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1048    eval with_$ac_package=\$ac_optarg ;;
    5981049
    5991050  -without-* | --without-*)
    6001051    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6011052    # Reject names that are not valid shell variable names.
    602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1053    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    6031054      { echo "$as_me: error: invalid package name: $ac_package" >&2
    6041055   { (exit 1); exit 1; }; }
    605     ac_package=`echo $ac_package | sed 's/-/_/g'`
    606     eval "with_$ac_package=no" ;;
     1056    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1057    eval with_$ac_package=no ;;
    6071058
    6081059  --x)
     
    6351086      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6361087   { (exit 1); exit 1; }; }
    637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    638     eval "$ac_envvar='$ac_optarg'"
     1088    eval $ac_envvar=\$ac_optarg
    6391089    export $ac_envvar ;;
    6401090
     
    6561106fi
    6571107
    658 # Be sure to have absolute paths.
    659 for ac_var in exec_prefix prefix
     1108# Be sure to have absolute directory names.
     1109for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1110        datadir sysconfdir sharedstatedir localstatedir includedir \
     1111        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1112        libdir localedir mandir
    6601113do
    661   eval ac_val=$`echo $ac_var`
     1114  eval ac_val=\$$ac_var
    6621115  case $ac_val in
    663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    665    { (exit 1); exit 1; }; };;
     1116    [\\/$]* | ?:[\\/]* )  continue;;
     1117    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6661118  esac
    667 done
    668 
    669 # Be sure to have absolute paths.
    670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    671           localstatedir libdir includedir oldincludedir infodir mandir
    672 do
    673   eval ac_val=$`echo $ac_var`
    674   case $ac_val in
    675     [\\/$]* | ?:[\\/]* ) ;;
    676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    677    { (exit 1); exit 1; }; };;
    678   esac
     1119  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1120   { (exit 1); exit 1; }; }
    6791121done
    6801122
     
    7031145
    7041146
     1147ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1148ac_ls_di=`ls -di .` &&
     1149ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1150  { echo "$as_me: error: Working directory cannot be determined" >&2
     1151   { (exit 1); exit 1; }; }
     1152test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1153  { echo "$as_me: error: pwd does not report name of working directory" >&2
     1154   { (exit 1); exit 1; }; }
     1155
     1156
    7051157# Find the source files, if location was not specified.
    7061158if test -z "$srcdir"; then
    7071159  ac_srcdir_defaulted=yes
    708   # Try the directory containing this script, then its parent.
    709   ac_confdir=`(dirname "$0") 2>/dev/null ||
     1160  # Try the directory containing this script, then the parent directory.
     1161  ac_confdir=`$as_dirname -- "$0" ||
    7101162$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7111163     X"$0" : 'X\(//\)[^/]' \| \
    7121164     X"$0" : 'X\(//\)$' \| \
    713      X"$0" : 'X\(/\)' \| \
    714      .     : '\(.\)' 2>/dev/null ||
     1165     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7151166echo X"$0" |
    716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    717       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    718       /^X\(\/\/\)$/{ s//\1/; q; }
    719       /^X\(\/\).*/{ s//\1/; q; }
    720       s/.*/./; q'`
     1167    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1168        s//\1/
     1169        q
     1170      }
     1171      /^X\(\/\/\)[^/].*/{
     1172        s//\1/
     1173        q
     1174      }
     1175      /^X\(\/\/\)$/{
     1176        s//\1/
     1177        q
     1178      }
     1179      /^X\(\/\).*/{
     1180        s//\1/
     1181        q
     1182      }
     1183      s/.*/./; q'`
    7211184  srcdir=$ac_confdir
    722   if test ! -r $srcdir/$ac_unique_file; then
     1185  if test ! -r "$srcdir/$ac_unique_file"; then
    7231186    srcdir=..
    7241187  fi
     
    7261189  ac_srcdir_defaulted=no
    7271190fi
    728 if test ! -r $srcdir/$ac_unique_file; then
    729   if test "$ac_srcdir_defaulted" = yes; then
    730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     1191if test ! -r "$srcdir/$ac_unique_file"; then
     1192  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1193  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    7311194   { (exit 1); exit 1; }; }
    732   else
    733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1195fi
     1196ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1197ac_abs_confdir=`(
     1198    cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    7341199   { (exit 1); exit 1; }; }
    735   fi
    736 fi
    737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    739    { (exit 1); exit 1; }; }
    740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    741 ac_env_build_alias_set=${build_alias+set}
    742 ac_env_build_alias_value=$build_alias
    743 ac_cv_env_build_alias_set=${build_alias+set}
    744 ac_cv_env_build_alias_value=$build_alias
    745 ac_env_host_alias_set=${host_alias+set}
    746 ac_env_host_alias_value=$host_alias
    747 ac_cv_env_host_alias_set=${host_alias+set}
    748 ac_cv_env_host_alias_value=$host_alias
    749 ac_env_target_alias_set=${target_alias+set}
    750 ac_env_target_alias_value=$target_alias
    751 ac_cv_env_target_alias_set=${target_alias+set}
    752 ac_cv_env_target_alias_value=$target_alias
    753 ac_env_CC_set=${CC+set}
    754 ac_env_CC_value=$CC
    755 ac_cv_env_CC_set=${CC+set}
    756 ac_cv_env_CC_value=$CC
    757 ac_env_CFLAGS_set=${CFLAGS+set}
    758 ac_env_CFLAGS_value=$CFLAGS
    759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    760 ac_cv_env_CFLAGS_value=$CFLAGS
    761 ac_env_LDFLAGS_set=${LDFLAGS+set}
    762 ac_env_LDFLAGS_value=$LDFLAGS
    763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    764 ac_cv_env_LDFLAGS_value=$LDFLAGS
    765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    766 ac_env_CPPFLAGS_value=$CPPFLAGS
    767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    769 ac_env_CXX_set=${CXX+set}
    770 ac_env_CXX_value=$CXX
    771 ac_cv_env_CXX_set=${CXX+set}
    772 ac_cv_env_CXX_value=$CXX
    773 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    774 ac_env_CXXFLAGS_value=$CXXFLAGS
    775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    777 ac_env_CPP_set=${CPP+set}
    778 ac_env_CPP_value=$CPP
    779 ac_cv_env_CPP_set=${CPP+set}
    780 ac_cv_env_CPP_value=$CPP
     1200    pwd)`
     1201# When building in place, set srcdir=.
     1202if test "$ac_abs_confdir" = "$ac_pwd"; then
     1203  srcdir=.
     1204fi
     1205# Remove unnecessary trailing slashes from srcdir.
     1206# Double slashes in file names in object file debugging info
     1207# mess up M-x gdb in Emacs.
     1208case $srcdir in
     1209*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1210esac
     1211for ac_var in $ac_precious_vars; do
     1212  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1213  eval ac_env_${ac_var}_value=\$${ac_var}
     1214  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1215  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1216done
    7811217
    7821218#
     
    8071243      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8081244
    809 _ACEOF
    810 
    811   cat <<_ACEOF
    8121245Installation directories:
    8131246  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    8271260  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    8281261  --libexecdir=DIR       program executables [EPREFIX/libexec]
    829   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    8301262  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    8311263  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    8341266  --includedir=DIR       C header files [PREFIX/include]
    8351267  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    836   --infodir=DIR          info documentation [PREFIX/info]
    837   --mandir=DIR           man documentation [PREFIX/man]
     1268  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
     1269  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
     1270  --infodir=DIR          info documentation [DATAROOTDIR/info]
     1271  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
     1272  --mandir=DIR           man documentation [DATAROOTDIR/man]
     1273  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
     1274  --htmldir=DIR          html documentation [DOCDIR]
     1275  --dvidir=DIR           dvi documentation [DOCDIR]
     1276  --pdfdir=DIR           pdf documentation [DOCDIR]
     1277  --psdir=DIR            ps documentation [DOCDIR]
    8381278_ACEOF
    8391279
     
    8591299  --disable-accentfold    Disable Accent Folding for MGPP
    8601300  --disable-sqlite        Disable SQLite support
    861   --enable-apache-httpd   Enable Apache httpd support
     1301  --disable-apache-httpd  Disable Apache httpd support
    8621302
    8631303Optional Packages:
     
    8741314  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8751315              nonstandard directory <lib dir>
    876   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    877               headers in a nonstandard directory <include dir>
     1316  LIBS        libraries to pass to the linker, e.g. -l<library>
     1317  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1318              you have headers in a nonstandard directory <include dir>
    8781319  CXX         C++ compiler command
    8791320  CXXFLAGS    C++ compiler flags
     1321  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
     1322              the first program found out of: `bison -y', `byacc', `yacc'.
     1323  YFLAGS      The list of arguments that will be passed by default to $YACC.
     1324              This script will default YFLAGS to the empty string to avoid a
     1325              default value of `-d' given by some make applications.
    8801326  CPP         C preprocessor
    8811327
     
    8841330
    8851331_ACEOF
     1332ac_status=$?
    8861333fi
    8871334
    8881335if test "$ac_init_help" = "recursive"; then
    8891336  # If there are subdirs, report their specific --help.
    890   ac_popdir=`pwd`
    8911337  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    892     test -d $ac_dir || continue
     1338    test -d "$ac_dir" || continue
    8931339    ac_builddir=.
    8941340
    895 if test "$ac_dir" != .; then
     1341case "$ac_dir" in
     1342.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1343*)
    8961344  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    897   # A "../" for each directory in $ac_dir_suffix.
    898   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    899 else
    900   ac_dir_suffix= ac_top_builddir=
    901 fi
     1345  # A ".." for each directory in $ac_dir_suffix.
     1346  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1347  case $ac_top_builddir_sub in
     1348  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1349  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1350  esac ;;
     1351esac
     1352ac_abs_top_builddir=$ac_pwd
     1353ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1354# for backward compatibility:
     1355ac_top_builddir=$ac_top_build_prefix
    9021356
    9031357case $srcdir in
    904   .)  # No --srcdir option.  We are building in place.
     1358  .)  # We are building in place.
    9051359    ac_srcdir=.
    906     if test -z "$ac_top_builddir"; then
    907        ac_top_srcdir=.
    908     else
    909        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    910     fi ;;
    911   [\\/]* | ?:[\\/]* )  # Absolute path.
     1360    ac_top_srcdir=$ac_top_builddir_sub
     1361    ac_abs_top_srcdir=$ac_pwd ;;
     1362  [\\/]* | ?:[\\/]* )  # Absolute name.
    9121363    ac_srcdir=$srcdir$ac_dir_suffix;
    913     ac_top_srcdir=$srcdir ;;
    914   *) # Relative path.
    915     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    916     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    917 esac
    918 
    919 # Do not use `cd foo && pwd` to compute absolute paths, because
    920 # the directories may not exist.
    921 case `pwd` in
    922 .) ac_abs_builddir="$ac_dir";;
    923 *)
    924   case "$ac_dir" in
    925   .) ac_abs_builddir=`pwd`;;
    926   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    927   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    928   esac;;
    929 esac
    930 case $ac_abs_builddir in
    931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    932 *)
    933   case ${ac_top_builddir}. in
    934   .) ac_abs_top_builddir=$ac_abs_builddir;;
    935   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    936   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    937   esac;;
    938 esac
    939 case $ac_abs_builddir in
    940 .) ac_abs_srcdir=$ac_srcdir;;
    941 *)
    942   case $ac_srcdir in
    943   .) ac_abs_srcdir=$ac_abs_builddir;;
    944   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    945   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    946   esac;;
    947 esac
    948 case $ac_abs_builddir in
    949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    950 *)
    951   case $ac_top_srcdir in
    952   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    953   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    954   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    955   esac;;
    956 esac
    957 
    958     cd $ac_dir
    959     # Check for guested configure; otherwise get Cygnus style configure.
    960     if test -f $ac_srcdir/configure.gnu; then
    961       echo
    962       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    963     elif test -f $ac_srcdir/configure; then
    964       echo
    965       $SHELL $ac_srcdir/configure  --help=recursive
    966     elif test -f $ac_srcdir/configure.ac ||
    967        test -f $ac_srcdir/configure.in; then
    968       echo
    969       $ac_configure --help
     1364    ac_top_srcdir=$srcdir
     1365    ac_abs_top_srcdir=$srcdir ;;
     1366  *) # Relative name.
     1367    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1368    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1369    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1370esac
     1371ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1372
     1373    cd "$ac_dir" || { ac_status=$?; continue; }
     1374    # Check for guested configure.
     1375    if test -f "$ac_srcdir/configure.gnu"; then
     1376      echo &&
     1377      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1378    elif test -f "$ac_srcdir/configure"; then
     1379      echo &&
     1380      $SHELL "$ac_srcdir/configure" --help=recursive
    9701381    else
    9711382      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    972     fi
    973     cd $ac_popdir
     1383    fi || ac_status=$?
     1384    cd "$ac_pwd" || { ac_status=$?; break; }
    9741385  done
    9751386fi
    9761387
    977 test -n "$ac_init_help" && exit 0
     1388test -n "$ac_init_help" && exit $ac_status
    9781389if $ac_init_version; then
    9791390  cat <<\_ACEOF
    980 
    981 Copyright (C) 2003 Free Software Foundation, Inc.
     1391configure
     1392generated by GNU Autoconf 2.61
     1393
     1394Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     13952002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    9821396This configure script is free software; the Free Software Foundation
    9831397gives unlimited permission to copy, distribute and modify it.
    9841398_ACEOF
    985   exit 0
    986 fi
    987 exec 5>config.log
    988 cat >&5 <<_ACEOF
     1399  exit
     1400fi
     1401cat >config.log <<_ACEOF
    9891402This file contains any messages produced by compilers while
    9901403running configure, to aid debugging if configure makes a mistake.
    9911404
    9921405It was created by $as_me, which was
    993 generated by GNU Autoconf 2.59.  Invocation command line was
     1406generated by GNU Autoconf 2.61.  Invocation command line was
    9941407
    9951408  $ $0 $@
    9961409
    9971410_ACEOF
     1411exec 5>>config.log
    9981412{
    9991413cat <<_ASUNAME
     
    10141428/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10151429/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1016 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1430/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10171431/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10181432/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10281442  echo "PATH: $as_dir"
    10291443done
     1444IFS=$as_save_IFS
    10301445
    10311446} >&5
     
    10491464ac_configure_args0=
    10501465ac_configure_args1=
    1051 ac_sep=
    10521466ac_must_keep_next=false
    10531467for ac_pass in 1 2
     
    10601474    | -silent | --silent | --silen | --sile | --sil)
    10611475      continue ;;
    1062     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1476    *\'*)
    10631477      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10641478    esac
     
    10821496    esac
    10831497      fi
    1084       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1085       # Get rid of the leading space.
    1086       ac_sep=" "
     1498      ac_configure_args="$ac_configure_args '$ac_arg'"
    10871499      ;;
    10881500    esac
     
    10951507# config.log.  We remove comments because anyway the quotes in there
    10961508# would cause problems or look ugly.
    1097 # WARNING: Be sure not to use single quotes in there, as some shells,
    1098 # such as our DU 5.0 friend, will then `close' the trap.
     1509# WARNING: Use '\'' to represent an apostrophe within the trap.
     1510# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    10991511trap 'exit_status=$?
    11001512  # Save into config.log some information that might help in debugging.
     
    11091521    echo
    11101522    # The following way of writing the cache mishandles newlines in values,
    1111 {
     1523(
     1524  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1525    eval ac_val=\$$ac_var
     1526    case $ac_val in #(
     1527    *${as_nl}*)
     1528      case $ac_var in #(
     1529      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     1530echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     1531      esac
     1532      case $ac_var in #(
     1533      _ | IFS | as_nl) ;; #(
     1534      *) $as_unset $ac_var ;;
     1535      esac ;;
     1536    esac
     1537  done
    11121538  (set) 2>&1 |
    1113     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1114     *ac_space=\ *)
     1539    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1540    *${as_nl}ac_space=\ *)
    11151541      sed -n \
    1116     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1117       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1542    "s/'\''/'\''\\\\'\'''\''/g;
     1543      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1544      ;; #(
     1545    *)
     1546      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11181547      ;;
    1119     *)
    1120       sed -n \
    1121     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1122       ;;
    1123     esac;
    1124 }
     1548    esac |
     1549    sort
     1550)
    11251551    echo
    11261552
     
    11331559    for ac_var in $ac_subst_vars
    11341560    do
    1135       eval ac_val=$`echo $ac_var`
    1136       echo "$ac_var='"'"'$ac_val'"'"'"
     1561      eval ac_val=\$$ac_var
     1562      case $ac_val in
     1563      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1564      esac
     1565      echo "$ac_var='\''$ac_val'\''"
    11371566    done | sort
    11381567    echo
     
    11401569    if test -n "$ac_subst_files"; then
    11411570      cat <<\_ASBOX
    1142 ## ------------- ##
    1143 ## Output files. ##
    1144 ## ------------- ##
     1571## ------------------- ##
     1572## File substitutions. ##
     1573## ------------------- ##
    11451574_ASBOX
    11461575      echo
    11471576      for ac_var in $ac_subst_files
    11481577      do
    1149     eval ac_val=$`echo $ac_var`
    1150     echo "$ac_var='"'"'$ac_val'"'"'"
     1578    eval ac_val=\$$ac_var
     1579    case $ac_val in
     1580    *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1581    esac
     1582    echo "$ac_var='\''$ac_val'\''"
    11511583      done | sort
    11521584      echo
     
    11601592_ASBOX
    11611593      echo
    1162       sed "/^$/d" confdefs.h | sort
     1594      cat confdefs.h
    11631595      echo
    11641596    fi
     
    11671599    echo "$as_me: exit $exit_status"
    11681600  } >&5
    1169   rm -f core *.core &&
    1170   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1601  rm -f core *.core core.conftest.* &&
     1602    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11711603    exit $exit_status
    1172      ' 0
     1604' 0
    11731605for ac_signal in 1 2 13 15; do
    11741606  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11771609
    11781610# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1179 rm -rf conftest* confdefs.h
    1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1181 echo >confdefs.h
     1611rm -f -r conftest* confdefs.h
    11821612
    11831613# Predefined preprocessor variables.
     
    12101640# Let the site file select an alternate cache file if it wants to.
    12111641# Prefer explicitly selected file to automatically selected ones.
    1212 if test -z "$CONFIG_SITE"; then
    1213   if test "x$prefix" != xNONE; then
    1214     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1215   else
    1216     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1217   fi
    1218 fi
    1219 for ac_site_file in $CONFIG_SITE; do
     1642if test -n "$CONFIG_SITE"; then
     1643  set x "$CONFIG_SITE"
     1644elif test "x$prefix" != xNONE; then
     1645  set x "$prefix/share/config.site" "$prefix/etc/config.site"
     1646else
     1647  set x "$ac_default_prefix/share/config.site" \
     1648    "$ac_default_prefix/etc/config.site"
     1649fi
     1650shift
     1651for ac_site_file
     1652do
    12201653  if test -r "$ac_site_file"; then
    12211654    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    12331666echo "$as_me: loading cache $cache_file" >&6;}
    12341667    case $cache_file in
    1235       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1236       *)                      . ./$cache_file;;
     1668      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1669      *)                      . "./$cache_file";;
    12371670    esac
    12381671  fi
     
    12461679# value.
    12471680ac_cache_corrupted=false
    1248 for ac_var in `(set) 2>&1 |
    1249            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1681for ac_var in $ac_precious_vars; do
    12501682  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12511683  eval ac_new_set=\$ac_env_${ac_var}_set
    1252   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1253   eval ac_new_val="\$ac_env_${ac_var}_value"
     1684  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1685  eval ac_new_val=\$ac_env_${ac_var}_value
    12541686  case $ac_old_set,$ac_new_set in
    12551687    set,)
     
    12761708  if test "$ac_new_set" = set; then
    12771709    case $ac_new_val in
    1278     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1279       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1710    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12801711    *) ac_arg=$ac_var=$ac_new_val ;;
    12811712    esac
     
    12941725fi
    12951726
     1727
     1728
     1729
     1730
     1731
     1732
     1733
     1734
     1735
     1736
     1737
     1738
     1739
     1740
     1741
     1742
    12961743ac_ext=c
    12971744ac_cpp='$CPP $CPPFLAGS'
     
    13011748
    13021749
    1303 
    1304 
    1305 
    1306 
    1307 
    1308 
    1309 
    1310 
    1311 
    1312 
    1313 
    1314 
    1315 
    1316 
    1317 
    1318 
    1319 
    1320           ac_config_headers="$ac_config_headers config.h"
     1750ac_config_headers="$ac_config_headers config.h"
    13211751
    13221752
     
    13531783fi
    13541784
    1355 # Check whether --enable-corba or --disable-corba was given.
     1785# Check whether --enable-corba was given.
    13561786if test "${enable_corba+set}" = set; then
    1357   enableval="$enable_corba"
    1358   USE_CORBA=1
     1787  enableval=$enable_corba; USE_CORBA=1
    13591788else
    13601789  USE_CORBA=0
    1361 fi;
     1790fi
     1791
    13621792cat >>confdefs.h <<_ACEOF
    13631793#define USE_CORBA $USE_CORBA
     
    13671797
    13681798
    1369 # Check whether --with-micodir or --without-micodir was given.
     1799# Check whether --with-micodir was given.
    13701800if test "${with_micodir+set}" = set; then
    1371   withval="$with_micodir"
    1372   MICO_DIR=$enableval
     1801  withval=$with_micodir; MICO_DIR=$enableval
    13731802else
    13741803  MICO_DIR="default"
    1375 fi;
     1804fi
     1805
    13761806cat >>confdefs.h <<_ACEOF
    13771807#define MICO_DIR "$MICO_DIR"
     
    13801810
    13811811
    1382 # Check whether --enable-z3950 or --disable-z3950 was given.
     1812# Check whether --enable-z3950 was given.
    13831813if test "${enable_z3950+set}" = set; then
    1384   enableval="$enable_z3950"
    1385   USE_Z3950=1
     1814  enableval=$enable_z3950; USE_Z3950=1
    13861815else
    13871816  USE_Z3950=0
    1388 fi;
     1817fi
     1818
    13891819if test USE_Z3950 = 1; then
    13901820cat >>confdefs.h <<\_ACEOF
     
    13951825fi
    13961826
    1397 # Check whether --enable-yaz or --disable-yaz was given.
     1827# Check whether --enable-yaz was given.
    13981828if test "${enable_yaz+set}" = set; then
    1399   enableval="$enable_yaz"
    1400   USE_YAZ=0
     1829  enableval=$enable_yaz; USE_YAZ=0
    14011830else
    14021831  USE_YAZ=1
    1403 fi;
     1832fi
     1833
    14041834cat >>confdefs.h <<\_ACEOF
    14051835#define USE_YAZ $USE_YAZ
     
    14081838
    14091839
    1410 # Check whether --enable-accentfold or --disable-accentfold was given.
     1840# Check whether --enable-accentfold was given.
    14111841if test "${enable_accentfold+set}" = set; then
    1412   enableval="$enable_accentfold"
    1413   ENABLE_ACCENTFOLD=0
     1842  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
    14141843else
    14151844  ENABLE_ACCENTFOLD=1
    1416 fi;
     1845fi
     1846
    14171847cat >>confdefs.h <<\_ACEOF
    14181848#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    14211851
    14221852
    1423 # Check whether --enable-sqlite or --disable-sqlite was given.
     1853# Check whether --enable-sqlite was given.
    14241854if test "${enable_sqlite+set}" = set; then
    1425   enableval="$enable_sqlite"
    1426   USE_SQLITE=0
     1855  enableval=$enable_sqlite; USE_SQLITE=0
    14271856else
    14281857  USE_SQLITE=1
    1429 fi;
     1858fi
     1859
    14301860cat >>confdefs.h <<\_ACEOF
    14311861#define USE_SQLITE $USE_SQLITE
     
    14341864
    14351865
    1436 # Check whether --enable-apache-httpd or --disable-apache-httpd was given.
     1866# Check whether --enable-apache-httpd was given.
    14371867if test "${enable_apache_httpd+set}" = set; then
    1438   enableval="$enable_apache_httpd"
     1868  enableval=$enable_apache_httpd; USE_APACHE_HTTPD=0
     1869else
    14391870  USE_APACHE_HTTPD=1
    1440 else
    1441   USE_APACHE_HTTPD=0
    1442 fi;
     1871fi
     1872
    14431873cat >>confdefs.h <<\_ACEOF
    14441874#define USE_APACHE_HTTPD $USE_APACHE_HTTPD
     
    14641894  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    14651895set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1896{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1897echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    14681898if test "${ac_cv_prog_CC+set}" = set; then
    14691899  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    14781908  test -z "$as_dir" && as_dir=.
    14791909  for ac_exec_ext in '' $ac_executable_extensions; do
    1480   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1910  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14811911    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    14821912    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    14851915done
    14861916done
     1917IFS=$as_save_IFS
    14871918
    14881919fi
     
    14901921CC=$ac_cv_prog_CC
    14911922if test -n "$CC"; then
    1492   echo "$as_me:$LINENO: result: $CC" >&5
    1493 echo "${ECHO_T}$CC" >&6
    1494 else
    1495   echo "$as_me:$LINENO: result: no" >&5
    1496 echo "${ECHO_T}no" >&6
    1497 fi
     1923  { echo "$as_me:$LINENO: result: $CC" >&5
     1924echo "${ECHO_T}$CC" >&6; }
     1925else
     1926  { echo "$as_me:$LINENO: result: no" >&5
     1927echo "${ECHO_T}no" >&6; }
     1928fi
     1929
    14981930
    14991931fi
     
    15021934  # Extract the first word of "gcc", so it can be a program name with args.
    15031935set dummy gcc; ac_word=$2
    1504 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1936{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1937echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15061938if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    15071939  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15161948  test -z "$as_dir" && as_dir=.
    15171949  for ac_exec_ext in '' $ac_executable_extensions; do
    1518   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1950  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15191951    ac_cv_prog_ac_ct_CC="gcc"
    15201952    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15231955done
    15241956done
     1957IFS=$as_save_IFS
    15251958
    15261959fi
     
    15281961ac_ct_CC=$ac_cv_prog_ac_ct_CC
    15291962if test -n "$ac_ct_CC"; then
    1530   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1531 echo "${ECHO_T}$ac_ct_CC" >&6
    1532 else
    1533   echo "$as_me:$LINENO: result: no" >&5
    1534 echo "${ECHO_T}no" >&6
    1535 fi
    1536 
    1537   CC=$ac_ct_CC
     1963  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1964echo "${ECHO_T}$ac_ct_CC" >&6; }
     1965else
     1966  { echo "$as_me:$LINENO: result: no" >&5
     1967echo "${ECHO_T}no" >&6; }
     1968fi
     1969
     1970  if test "x$ac_ct_CC" = x; then
     1971    CC=""
     1972  else
     1973    case $cross_compiling:$ac_tool_warned in
     1974yes:)
     1975{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     1976whose name does not start with the host triplet.  If you think this
     1977configuration is useful to you, please write to [email protected]." >&5
     1978echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     1979whose name does not start with the host triplet.  If you think this
     1980configuration is useful to you, please write to [email protected]." >&2;}
     1981ac_tool_warned=yes ;;
     1982esac
     1983    CC=$ac_ct_CC
     1984  fi
    15381985else
    15391986  CC="$ac_cv_prog_CC"
     
    15411988
    15421989if test -z "$CC"; then
    1543   if test -n "$ac_tool_prefix"; then
    1544   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1990          if test -n "$ac_tool_prefix"; then
     1991    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    15451992set dummy ${ac_tool_prefix}cc; ac_word=$2
    1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1993{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1994echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15481995if test "${ac_cv_prog_CC+set}" = set; then
    15491996  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15582005  test -z "$as_dir" && as_dir=.
    15592006  for ac_exec_ext in '' $ac_executable_extensions; do
    1560   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2007  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15612008    ac_cv_prog_CC="${ac_tool_prefix}cc"
    15622009    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15652012done
    15662013done
     2014IFS=$as_save_IFS
    15672015
    15682016fi
     
    15702018CC=$ac_cv_prog_CC
    15712019if test -n "$CC"; then
    1572   echo "$as_me:$LINENO: result: $CC" >&5
    1573 echo "${ECHO_T}$CC" >&6
    1574 else
    1575   echo "$as_me:$LINENO: result: no" >&5
    1576 echo "${ECHO_T}no" >&6
    1577 fi
    1578 
    1579 fi
    1580 if test -z "$ac_cv_prog_CC"; then
    1581   ac_ct_CC=$CC
    1582   # Extract the first word of "cc", so it can be a program name with args.
    1583 set dummy cc; ac_word=$2
    1584 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1587   echo $ECHO_N "(cached) $ECHO_C" >&6
    1588 else
    1589   if test -n "$ac_ct_CC"; then
    1590   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1591 else
    1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1593 for as_dir in $PATH
    1594 do
    1595   IFS=$as_save_IFS
    1596   test -z "$as_dir" && as_dir=.
    1597   for ac_exec_ext in '' $ac_executable_extensions; do
    1598   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1599     ac_cv_prog_ac_ct_CC="cc"
    1600     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1601     break 2
     2020  { echo "$as_me:$LINENO: result: $CC" >&5
     2021echo "${ECHO_T}$CC" >&6; }
     2022else
     2023  { echo "$as_me:$LINENO: result: no" >&5
     2024echo "${ECHO_T}no" >&6; }
     2025fi
     2026
     2027
    16022028  fi
    1603 done
    1604 done
    1605 
    1606 fi
    1607 fi
    1608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1609 if test -n "$ac_ct_CC"; then
    1610   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1611 echo "${ECHO_T}$ac_ct_CC" >&6
    1612 else
    1613   echo "$as_me:$LINENO: result: no" >&5
    1614 echo "${ECHO_T}no" >&6
    1615 fi
    1616 
    1617   CC=$ac_ct_CC
    1618 else
    1619   CC="$ac_cv_prog_CC"
    1620 fi
    1621 
    16222029fi
    16232030if test -z "$CC"; then
    16242031  # Extract the first word of "cc", so it can be a program name with args.
    16252032set dummy cc; ac_word=$2
    1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2033{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2034echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16282035if test "${ac_cv_prog_CC+set}" = set; then
    16292036  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16392046  test -z "$as_dir" && as_dir=.
    16402047  for ac_exec_ext in '' $ac_executable_extensions; do
    1641   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2048  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16422049    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    16432050       ac_prog_rejected=yes
     
    16502057done
    16512058done
     2059IFS=$as_save_IFS
    16522060
    16532061if test $ac_prog_rejected = yes; then
     
    16672075CC=$ac_cv_prog_CC
    16682076if test -n "$CC"; then
    1669   echo "$as_me:$LINENO: result: $CC" >&5
    1670 echo "${ECHO_T}$CC" >&6
    1671 else
    1672   echo "$as_me:$LINENO: result: no" >&5
    1673 echo "${ECHO_T}no" >&6
    1674 fi
     2077  { echo "$as_me:$LINENO: result: $CC" >&5
     2078echo "${ECHO_T}$CC" >&6; }
     2079else
     2080  { echo "$as_me:$LINENO: result: no" >&5
     2081echo "${ECHO_T}no" >&6; }
     2082fi
     2083
    16752084
    16762085fi
    16772086if test -z "$CC"; then
    16782087  if test -n "$ac_tool_prefix"; then
    1679   for ac_prog in cl
     2088  for ac_prog in cl.exe
    16802089  do
    16812090    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    16822091set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1683 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2092{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2093echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16852094if test "${ac_cv_prog_CC+set}" = set; then
    16862095  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16952104  test -z "$as_dir" && as_dir=.
    16962105  for ac_exec_ext in '' $ac_executable_extensions; do
    1697   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2106  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16982107    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    16992108    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17022111done
    17032112done
     2113IFS=$as_save_IFS
    17042114
    17052115fi
     
    17072117CC=$ac_cv_prog_CC
    17082118if test -n "$CC"; then
    1709   echo "$as_me:$LINENO: result: $CC" >&5
    1710 echo "${ECHO_T}$CC" >&6
    1711 else
    1712   echo "$as_me:$LINENO: result: no" >&5
    1713 echo "${ECHO_T}no" >&6
    1714 fi
     2119  { echo "$as_me:$LINENO: result: $CC" >&5
     2120echo "${ECHO_T}$CC" >&6; }
     2121else
     2122  { echo "$as_me:$LINENO: result: no" >&5
     2123echo "${ECHO_T}no" >&6; }
     2124fi
     2125
    17152126
    17162127    test -n "$CC" && break
     
    17192130if test -z "$CC"; then
    17202131  ac_ct_CC=$CC
    1721   for ac_prog in cl
     2132  for ac_prog in cl.exe
    17222133do
    17232134  # Extract the first word of "$ac_prog", so it can be a program name with args.
    17242135set dummy $ac_prog; ac_word=$2
    1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2136{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2137echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17272138if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    17282139  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17372148  test -z "$as_dir" && as_dir=.
    17382149  for ac_exec_ext in '' $ac_executable_extensions; do
    1739   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2150  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17402151    ac_cv_prog_ac_ct_CC="$ac_prog"
    17412152    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17442155done
    17452156done
     2157IFS=$as_save_IFS
    17462158
    17472159fi
     
    17492161ac_ct_CC=$ac_cv_prog_ac_ct_CC
    17502162if test -n "$ac_ct_CC"; then
    1751   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1752 echo "${ECHO_T}$ac_ct_CC" >&6
    1753 else
    1754   echo "$as_me:$LINENO: result: no" >&5
    1755 echo "${ECHO_T}no" >&6
    1756 fi
     2163  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2164echo "${ECHO_T}$ac_ct_CC" >&6; }
     2165else
     2166  { echo "$as_me:$LINENO: result: no" >&5
     2167echo "${ECHO_T}no" >&6; }
     2168fi
     2169
    17572170
    17582171  test -n "$ac_ct_CC" && break
    17592172done
    17602173
    1761   CC=$ac_ct_CC
     2174  if test "x$ac_ct_CC" = x; then
     2175    CC=""
     2176  else
     2177    case $cross_compiling:$ac_tool_warned in
     2178yes:)
     2179{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2180whose name does not start with the host triplet.  If you think this
     2181configuration is useful to you, please write to [email protected]." >&5
     2182echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2183whose name does not start with the host triplet.  If you think this
     2184configuration is useful to you, please write to [email protected]." >&2;}
     2185ac_tool_warned=yes ;;
     2186esac
     2187    CC=$ac_ct_CC
     2188  fi
    17622189fi
    17632190
     
    17722199
    17732200# Provide some information about the compiler.
    1774 echo "$as_me:$LINENO:" \
    1775      "checking for C compiler version" >&5
     2201echo "$as_me:$LINENO: checking for C compiler version" >&5
    17762202ac_compiler=`set X $ac_compile; echo $2`
    1777 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1778   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2203{ (ac_try="$ac_compiler --version >&5"
     2204case "(($ac_try" in
     2205  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2206  *) ac_try_echo=$ac_try;;
     2207esac
     2208eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2209  (eval "$ac_compiler --version >&5") 2>&5
    17792210  ac_status=$?
    17802211  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17812212  (exit $ac_status); }
    1782 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1783   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2213{ (ac_try="$ac_compiler -v >&5"
     2214case "(($ac_try" in
     2215  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2216  *) ac_try_echo=$ac_try;;
     2217esac
     2218eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2219  (eval "$ac_compiler -v >&5") 2>&5
    17842220  ac_status=$?
    17852221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17862222  (exit $ac_status); }
    1787 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1788   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2223{ (ac_try="$ac_compiler -V >&5"
     2224case "(($ac_try" in
     2225  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2226  *) ac_try_echo=$ac_try;;
     2227esac
     2228eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2229  (eval "$ac_compiler -V >&5") 2>&5
    17892230  ac_status=$?
    17902231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    18112252# It will help us diagnose broken compilers, and finding out an intuition
    18122253# of exeext.
    1813 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1814 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2254{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2255echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    18152256ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1816 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1817   (eval $ac_link_default) 2>&5
     2257#
     2258# List of possible output files, starting from the most likely.
     2259# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
     2260# only as a last resort.  b.out is created by i960 compilers.
     2261ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
     2262#
     2263# The IRIX 6 linker writes into existing files which may not be
     2264# executable, retaining their permissions.  Remove them first so a
     2265# subsequent execution test works.
     2266ac_rmfiles=
     2267for ac_file in $ac_files
     2268do
     2269  case $ac_file in
     2270    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     2271    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2272  esac
     2273done
     2274rm -f $ac_rmfiles
     2275
     2276if { (ac_try="$ac_link_default"
     2277case "(($ac_try" in
     2278  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2279  *) ac_try_echo=$ac_try;;
     2280esac
     2281eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2282  (eval "$ac_link_default") 2>&5
    18182283  ac_status=$?
    18192284  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18202285  (exit $ac_status); }; then
    1821   # Find the output, starting from the most likely.  This scheme is
    1822 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1823 # resort.
    1824 
    1825 # Be careful to initialize this variable, since it used to be cached.
    1826 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1827 ac_cv_exeext=
    1828 # b.out is created by i960 compilers.
    1829 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2286  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2287# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2288# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2289# so that the user can short-circuit this test for compilers unknown to
     2290# Autoconf.
     2291for ac_file in $ac_files ''
    18302292do
    18312293  test -f "$ac_file" || continue
    18322294  case $ac_file in
    1833     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1834     ;;
    1835     conftest.$ac_ext )
    1836     # This is the source file.
     2295    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    18372296    ;;
    18382297    [ab].out )
     
    18412300    break;;
    18422301    *.* )
    1843     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1844     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1845     # but it would be cool to find out if it's true.  Does anybody
    1846     # maintain Libtool? --akim.
    1847     export ac_cv_exeext
     2302        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2303    then :; else
     2304       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2305    fi
     2306    # We set ac_cv_exeext here because the later test for it is not
     2307    # safe: cross compilers may not add the suffix if given an `-o'
     2308    # argument, so we may need to know it at that point already.
     2309    # Even if this section looks crufty: it has the advantage of
     2310    # actually working.
    18482311    break;;
    18492312    * )
     
    18512314  esac
    18522315done
    1853 else
     2316test "$ac_cv_exeext" = no && ac_cv_exeext=
     2317
     2318else
     2319  ac_file=''
     2320fi
     2321
     2322{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2323echo "${ECHO_T}$ac_file" >&6; }
     2324if test -z "$ac_file"; then
    18542325  echo "$as_me: failed program was:" >&5
    18552326sed 's/^/| /' conftest.$ac_ext >&5
     
    18632334
    18642335ac_exeext=$ac_cv_exeext
    1865 echo "$as_me:$LINENO: result: $ac_file" >&5
    1866 echo "${ECHO_T}$ac_file" >&6
    1867 
    1868 # Check the compiler produces executables we can run.  If not, either
     2336
     2337# Check that the compiler produces executables we can run.  If not, either
    18692338# the compiler is broken, or we cross compile.
    1870 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1871 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2339{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2340echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    18722341# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    18732342# If not cross compiling, check that we can run a simple program.
    18742343if test "$cross_compiling" != yes; then
    18752344  if { ac_try='./$ac_file'
    1876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1877   (eval $ac_try) 2>&5
     2345  { (case "(($ac_try" in
     2346  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2347  *) ac_try_echo=$ac_try;;
     2348esac
     2349eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2350  (eval "$ac_try") 2>&5
    18782351  ac_status=$?
    18792352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    18942367  fi
    18952368fi
    1896 echo "$as_me:$LINENO: result: yes" >&5
    1897 echo "${ECHO_T}yes" >&6
     2369{ echo "$as_me:$LINENO: result: yes" >&5
     2370echo "${ECHO_T}yes" >&6; }
    18982371
    18992372rm -f a.out a.exe conftest$ac_cv_exeext b.out
    19002373ac_clean_files=$ac_clean_files_save
    1901 # Check the compiler produces executables we can run.  If not, either
     2374# Check that the compiler produces executables we can run.  If not, either
    19022375# the compiler is broken, or we cross compile.
    1903 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1904 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1905 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1906 echo "${ECHO_T}$cross_compiling" >&6
    1907 
    1908 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1909 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1911   (eval $ac_link) 2>&5
     2376{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2377echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2378{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2379echo "${ECHO_T}$cross_compiling" >&6; }
     2380
     2381{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2382echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
     2383if { (ac_try="$ac_link"
     2384case "(($ac_try" in
     2385  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2386  *) ac_try_echo=$ac_try;;
     2387esac
     2388eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2389  (eval "$ac_link") 2>&5
    19122390  ac_status=$?
    19132391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    19202398  test -f "$ac_file" || continue
    19212399  case $ac_file in
    1922     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2400    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    19232401    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1924       export ac_cv_exeext
    19252402      break;;
    19262403    * ) break;;
     
    19362413
    19372414rm -f conftest$ac_cv_exeext
    1938 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1939 echo "${ECHO_T}$ac_cv_exeext" >&6
     2415{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2416echo "${ECHO_T}$ac_cv_exeext" >&6; }
    19402417
    19412418rm -f conftest.$ac_ext
    19422419EXEEXT=$ac_cv_exeext
    19432420ac_exeext=$EXEEXT
    1944 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1945 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2421{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2422echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    19462423if test "${ac_cv_objext+set}" = set; then
    19472424  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19632440_ACEOF
    19642441rm -f conftest.o conftest.obj
    1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1966   (eval $ac_compile) 2>&5
     2442if { (ac_try="$ac_compile"
     2443case "(($ac_try" in
     2444  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2445  *) ac_try_echo=$ac_try;;
     2446esac
     2447eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2448  (eval "$ac_compile") 2>&5
    19672449  ac_status=$?
    19682450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19692451  (exit $ac_status); }; then
    1970   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2452  for ac_file in conftest.o conftest.obj conftest.*; do
     2453  test -f "$ac_file" || continue;
    19712454  case $ac_file in
    1972     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2455    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    19732456    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    19742457       break;;
     
    19882471rm -f conftest.$ac_cv_objext conftest.$ac_ext
    19892472fi
    1990 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1991 echo "${ECHO_T}$ac_cv_objext" >&6
     2473{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2474echo "${ECHO_T}$ac_cv_objext" >&6; }
    19922475OBJEXT=$ac_cv_objext
    19932476ac_objext=$OBJEXT
    1994 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    1995 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2477{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2478echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    19962479if test "${ac_cv_c_compiler_gnu+set}" = set; then
    19972480  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20162499_ACEOF
    20172500rm -f conftest.$ac_objext
    2018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2019   (eval $ac_compile) 2>conftest.er1
     2501if { (ac_try="$ac_compile"
     2502case "(($ac_try" in
     2503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2504  *) ac_try_echo=$ac_try;;
     2505esac
     2506eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2507  (eval "$ac_compile") 2>conftest.er1
    20202508  ac_status=$?
    20212509  grep -v '^ *+' conftest.er1 >conftest.err
     
    20232511  cat conftest.err >&5
    20242512  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2025   (exit $ac_status); } &&
    2026      { ac_try='test -z "$ac_c_werror_flag"
    2027              || test ! -s conftest.err'
    2028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2029   (eval $ac_try) 2>&5
    2030   ac_status=$?
    2031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2032   (exit $ac_status); }; } &&
    2033      { ac_try='test -s conftest.$ac_objext'
    2034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2035   (eval $ac_try) 2>&5
    2036   ac_status=$?
    2037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2038   (exit $ac_status); }; }; then
     2513  (exit $ac_status); } && {
     2514     test -z "$ac_c_werror_flag" ||
     2515     test ! -s conftest.err
     2516       } && test -s conftest.$ac_objext; then
    20392517  ac_compiler_gnu=yes
    20402518else
     
    20422520sed 's/^/| /' conftest.$ac_ext >&5
    20432521
    2044 ac_compiler_gnu=no
    2045 fi
    2046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2522    ac_compiler_gnu=no
     2523fi
     2524
     2525rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    20472526ac_cv_c_compiler_gnu=$ac_compiler_gnu
    20482527
    20492528fi
    2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2529{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2530echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    20522531GCC=`test $ac_compiler_gnu = yes && echo yes`
    20532532ac_test_CFLAGS=${CFLAGS+set}
    20542533ac_save_CFLAGS=$CFLAGS
    2055 CFLAGS="-g"
    2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2534{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2535echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    20582536if test "${ac_cv_prog_cc_g+set}" = set; then
    20592537  echo $ECHO_N "(cached) $ECHO_C" >&6
    20602538else
    2061   cat >conftest.$ac_ext <<_ACEOF
     2539  ac_save_c_werror_flag=$ac_c_werror_flag
     2540   ac_c_werror_flag=yes
     2541   ac_cv_prog_cc_g=no
     2542   CFLAGS="-g"
     2543   cat >conftest.$ac_ext <<_ACEOF
    20622544/* confdefs.h.  */
    20632545_ACEOF
     
    20752557_ACEOF
    20762558rm -f conftest.$ac_objext
    2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2078   (eval $ac_compile) 2>conftest.er1
     2559if { (ac_try="$ac_compile"
     2560case "(($ac_try" in
     2561  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2562  *) ac_try_echo=$ac_try;;
     2563esac
     2564eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2565  (eval "$ac_compile") 2>conftest.er1
    20792566  ac_status=$?
    20802567  grep -v '^ *+' conftest.er1 >conftest.err
     
    20822569  cat conftest.err >&5
    20832570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2084   (exit $ac_status); } &&
    2085      { ac_try='test -z "$ac_c_werror_flag"
    2086              || test ! -s conftest.err'
    2087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2088   (eval $ac_try) 2>&5
    2089   ac_status=$?
    2090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2091   (exit $ac_status); }; } &&
    2092      { ac_try='test -s conftest.$ac_objext'
    2093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2094   (eval $ac_try) 2>&5
    2095   ac_status=$?
    2096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2097   (exit $ac_status); }; }; then
     2571  (exit $ac_status); } && {
     2572     test -z "$ac_c_werror_flag" ||
     2573     test ! -s conftest.err
     2574       } && test -s conftest.$ac_objext; then
    20982575  ac_cv_prog_cc_g=yes
    20992576else
     
    21012578sed 's/^/| /' conftest.$ac_ext >&5
    21022579
    2103 ac_cv_prog_cc_g=no
    2104 fi
    2105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2106 fi
    2107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2108 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2580    CFLAGS=""
     2581      cat >conftest.$ac_ext <<_ACEOF
     2582/* confdefs.h.  */
     2583_ACEOF
     2584cat confdefs.h >>conftest.$ac_ext
     2585cat >>conftest.$ac_ext <<_ACEOF
     2586/* end confdefs.h.  */
     2587
     2588int
     2589main ()
     2590{
     2591
     2592  ;
     2593  return 0;
     2594}
     2595_ACEOF
     2596rm -f conftest.$ac_objext
     2597if { (ac_try="$ac_compile"
     2598case "(($ac_try" in
     2599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2600  *) ac_try_echo=$ac_try;;
     2601esac
     2602eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2603  (eval "$ac_compile") 2>conftest.er1
     2604  ac_status=$?
     2605  grep -v '^ *+' conftest.er1 >conftest.err
     2606  rm -f conftest.er1
     2607  cat conftest.err >&5
     2608  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2609  (exit $ac_status); } && {
     2610     test -z "$ac_c_werror_flag" ||
     2611     test ! -s conftest.err
     2612       } && test -s conftest.$ac_objext; then
     2613  :
     2614else
     2615  echo "$as_me: failed program was:" >&5
     2616sed 's/^/| /' conftest.$ac_ext >&5
     2617
     2618    ac_c_werror_flag=$ac_save_c_werror_flag
     2619     CFLAGS="-g"
     2620     cat >conftest.$ac_ext <<_ACEOF
     2621/* confdefs.h.  */
     2622_ACEOF
     2623cat confdefs.h >>conftest.$ac_ext
     2624cat >>conftest.$ac_ext <<_ACEOF
     2625/* end confdefs.h.  */
     2626
     2627int
     2628main ()
     2629{
     2630
     2631  ;
     2632  return 0;
     2633}
     2634_ACEOF
     2635rm -f conftest.$ac_objext
     2636if { (ac_try="$ac_compile"
     2637case "(($ac_try" in
     2638  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2639  *) ac_try_echo=$ac_try;;
     2640esac
     2641eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2642  (eval "$ac_compile") 2>conftest.er1
     2643  ac_status=$?
     2644  grep -v '^ *+' conftest.er1 >conftest.err
     2645  rm -f conftest.er1
     2646  cat conftest.err >&5
     2647  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2648  (exit $ac_status); } && {
     2649     test -z "$ac_c_werror_flag" ||
     2650     test ! -s conftest.err
     2651       } && test -s conftest.$ac_objext; then
     2652  ac_cv_prog_cc_g=yes
     2653else
     2654  echo "$as_me: failed program was:" >&5
     2655sed 's/^/| /' conftest.$ac_ext >&5
     2656
     2657
     2658fi
     2659
     2660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2661fi
     2662
     2663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2664fi
     2665
     2666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2667   ac_c_werror_flag=$ac_save_c_werror_flag
     2668fi
     2669{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2670echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    21092671if test "$ac_test_CFLAGS" = set; then
    21102672  CFLAGS=$ac_save_CFLAGS
     
    21222684  fi
    21232685fi
    2124 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2125 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2126 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2686{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2687echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     2688if test "${ac_cv_prog_cc_c89+set}" = set; then
    21272689  echo $ECHO_N "(cached) $ECHO_C" >&6
    21282690else
    2129   ac_cv_prog_cc_stdc=no
     2691  ac_cv_prog_cc_c89=no
    21302692ac_save_CC=$CC
    21312693cat >conftest.$ac_ext <<_ACEOF
     
    21612723   function prototypes and stuff, but not '\xHH' hex character constants.
    21622724   These don't provoke an error unfortunately, instead are silently treated
    2163    as 'x'.  The following induces an error, until -std1 is added to get
     2725   as 'x'.  The following induces an error, until -std is added to get
    21642726   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    21652727   array size at least.  It's necessary to write '\x00'==0 to get something
    2166    that's true only with -std1.  */
     2728   that's true only with -std.  */
    21672729int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2730
     2731/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2732   inside strings and character constants.  */
     2733#define FOO(x) 'x'
     2734int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    21682735
    21692736int test (int i, double x);
     
    21812748}
    21822749_ACEOF
    2183 # Don't try gcc -ansi; that turns off useful extensions and
    2184 # breaks some systems' header files.
    2185 # AIX           -qlanglvl=ansi
    2186 # Ultrix and OSF/1  -std1
    2187 # HP-UX 10.20 and later -Ae
    2188 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2189 # SVR4          -Xc -D__EXTENSIONS__
    2190 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2750for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2751    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    21912752do
    21922753  CC="$ac_save_CC $ac_arg"
    21932754  rm -f conftest.$ac_objext
    2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2195   (eval $ac_compile) 2>conftest.er1
     2755if { (ac_try="$ac_compile"
     2756case "(($ac_try" in
     2757  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2758  *) ac_try_echo=$ac_try;;
     2759esac
     2760eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2761  (eval "$ac_compile") 2>conftest.er1
    21962762  ac_status=$?
    21972763  grep -v '^ *+' conftest.er1 >conftest.err
     
    21992765  cat conftest.err >&5
    22002766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2201   (exit $ac_status); } &&
    2202      { ac_try='test -z "$ac_c_werror_flag"
    2203              || test ! -s conftest.err'
    2204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2205   (eval $ac_try) 2>&5
    2206   ac_status=$?
    2207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2208   (exit $ac_status); }; } &&
    2209      { ac_try='test -s conftest.$ac_objext'
    2210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2211   (eval $ac_try) 2>&5
    2212   ac_status=$?
    2213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2214   (exit $ac_status); }; }; then
    2215   ac_cv_prog_cc_stdc=$ac_arg
    2216 break
     2767  (exit $ac_status); } && {
     2768     test -z "$ac_c_werror_flag" ||
     2769     test ! -s conftest.err
     2770       } && test -s conftest.$ac_objext; then
     2771  ac_cv_prog_cc_c89=$ac_arg
    22172772else
    22182773  echo "$as_me: failed program was:" >&5
    22192774sed 's/^/| /' conftest.$ac_ext >&5
    22202775
    2221 fi
    2222 rm -f conftest.err conftest.$ac_objext
     2776
     2777fi
     2778
     2779rm -f core conftest.err conftest.$ac_objext
     2780  test "x$ac_cv_prog_cc_c89" != "xno" && break
    22232781done
    2224 rm -f conftest.$ac_ext conftest.$ac_objext
     2782rm -f conftest.$ac_ext
    22252783CC=$ac_save_CC
    22262784
    22272785fi
    2228 
    2229 case "x$ac_cv_prog_cc_stdc" in
    2230   x|xno)
    2231     echo "$as_me:$LINENO: result: none needed" >&5
    2232 echo "${ECHO_T}none needed" >&6 ;;
     2786# AC_CACHE_VAL
     2787case "x$ac_cv_prog_cc_c89" in
     2788  x)
     2789    { echo "$as_me:$LINENO: result: none needed" >&5
     2790echo "${ECHO_T}none needed" >&6; } ;;
     2791  xno)
     2792    { echo "$as_me:$LINENO: result: unsupported" >&5
     2793echo "${ECHO_T}unsupported" >&6; } ;;
    22332794  *)
    2234     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2236     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2237 esac
    2238 
    2239 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2240 # in C++ we need to declare it.  In case someone uses the same compiler
    2241 # for both compiling C and C++ we need to have the C++ compiler decide
    2242 # the declaration of exit, since it's the most demanding environment.
    2243 cat >conftest.$ac_ext <<_ACEOF
    2244 #ifndef __cplusplus
    2245   choke me
    2246 #endif
    2247 _ACEOF
    2248 rm -f conftest.$ac_objext
    2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2250   (eval $ac_compile) 2>conftest.er1
    2251   ac_status=$?
    2252   grep -v '^ *+' conftest.er1 >conftest.err
    2253   rm -f conftest.er1
    2254   cat conftest.err >&5
    2255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2256   (exit $ac_status); } &&
    2257      { ac_try='test -z "$ac_c_werror_flag"
    2258              || test ! -s conftest.err'
    2259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2260   (eval $ac_try) 2>&5
    2261   ac_status=$?
    2262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2263   (exit $ac_status); }; } &&
    2264      { ac_try='test -s conftest.$ac_objext'
    2265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2266   (eval $ac_try) 2>&5
    2267   ac_status=$?
    2268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2269   (exit $ac_status); }; }; then
    2270   for ac_declaration in \
    2271    '' \
    2272    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2273    'extern "C" void std::exit (int); using std::exit;' \
    2274    'extern "C" void exit (int) throw ();' \
    2275    'extern "C" void exit (int);' \
    2276    'void exit (int);'
    2277 do
    2278   cat >conftest.$ac_ext <<_ACEOF
    2279 /* confdefs.h.  */
    2280 _ACEOF
    2281 cat confdefs.h >>conftest.$ac_ext
    2282 cat >>conftest.$ac_ext <<_ACEOF
    2283 /* end confdefs.h.  */
    2284 $ac_declaration
    2285 #include <stdlib.h>
    2286 int
    2287 main ()
    2288 {
    2289 exit (42);
    2290   ;
    2291   return 0;
    2292 }
    2293 _ACEOF
    2294 rm -f conftest.$ac_objext
    2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2296   (eval $ac_compile) 2>conftest.er1
    2297   ac_status=$?
    2298   grep -v '^ *+' conftest.er1 >conftest.err
    2299   rm -f conftest.er1
    2300   cat conftest.err >&5
    2301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2302   (exit $ac_status); } &&
    2303      { ac_try='test -z "$ac_c_werror_flag"
    2304              || test ! -s conftest.err'
    2305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2306   (eval $ac_try) 2>&5
    2307   ac_status=$?
    2308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2309   (exit $ac_status); }; } &&
    2310      { ac_try='test -s conftest.$ac_objext'
    2311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2312   (eval $ac_try) 2>&5
    2313   ac_status=$?
    2314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2315   (exit $ac_status); }; }; then
    2316   :
    2317 else
    2318   echo "$as_me: failed program was:" >&5
    2319 sed 's/^/| /' conftest.$ac_ext >&5
    2320 
    2321 continue
    2322 fi
    2323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2324   cat >conftest.$ac_ext <<_ACEOF
    2325 /* confdefs.h.  */
    2326 _ACEOF
    2327 cat confdefs.h >>conftest.$ac_ext
    2328 cat >>conftest.$ac_ext <<_ACEOF
    2329 /* end confdefs.h.  */
    2330 $ac_declaration
    2331 int
    2332 main ()
    2333 {
    2334 exit (42);
    2335   ;
    2336   return 0;
    2337 }
    2338 _ACEOF
    2339 rm -f conftest.$ac_objext
    2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2341   (eval $ac_compile) 2>conftest.er1
    2342   ac_status=$?
    2343   grep -v '^ *+' conftest.er1 >conftest.err
    2344   rm -f conftest.er1
    2345   cat conftest.err >&5
    2346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2347   (exit $ac_status); } &&
    2348      { ac_try='test -z "$ac_c_werror_flag"
    2349              || test ! -s conftest.err'
    2350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2351   (eval $ac_try) 2>&5
    2352   ac_status=$?
    2353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2354   (exit $ac_status); }; } &&
    2355      { ac_try='test -s conftest.$ac_objext'
    2356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2357   (eval $ac_try) 2>&5
    2358   ac_status=$?
    2359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2360   (exit $ac_status); }; }; then
    2361   break
    2362 else
    2363   echo "$as_me: failed program was:" >&5
    2364 sed 's/^/| /' conftest.$ac_ext >&5
    2365 
    2366 fi
    2367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2368 done
    2369 rm -f conftest*
    2370 if test -n "$ac_declaration"; then
    2371   echo '#ifdef __cplusplus' >>confdefs.h
    2372   echo $ac_declaration      >>confdefs.h
    2373   echo '#endif'             >>confdefs.h
    2374 fi
    2375 
    2376 else
    2377   echo "$as_me: failed program was:" >&5
    2378 sed 's/^/| /' conftest.$ac_ext >&5
    2379 
    2380 fi
    2381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2795    CC="$CC $ac_cv_prog_cc_c89"
     2796    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     2797echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2798esac
     2799
     2800
    23822801ac_ext=c
    23832802ac_cpp='$CPP $CPPFLAGS'
     
    23862805ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23872806
    2388 ac_ext=cc
     2807ac_ext=cpp
    23892808ac_cpp='$CXXCPP $CPPFLAGS'
    23902809ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23912810ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23922811ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2393 if test -n "$ac_tool_prefix"; then
    2394   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2812if test -z "$CXX"; then
     2813  if test -n "$CCC"; then
     2814    CXX=$CCC
     2815  else
     2816    if test -n "$ac_tool_prefix"; then
     2817  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    23952818  do
    23962819    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    23972820set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2398 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2821{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2822echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    24002823if test "${ac_cv_prog_CXX+set}" = set; then
    24012824  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24102833  test -z "$as_dir" && as_dir=.
    24112834  for ac_exec_ext in '' $ac_executable_extensions; do
    2412   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2835  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24132836    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    24142837    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24172840done
    24182841done
     2842IFS=$as_save_IFS
    24192843
    24202844fi
     
    24222846CXX=$ac_cv_prog_CXX
    24232847if test -n "$CXX"; then
    2424   echo "$as_me:$LINENO: result: $CXX" >&5
    2425 echo "${ECHO_T}$CXX" >&6
    2426 else
    2427   echo "$as_me:$LINENO: result: no" >&5
    2428 echo "${ECHO_T}no" >&6
    2429 fi
     2848  { echo "$as_me:$LINENO: result: $CXX" >&5
     2849echo "${ECHO_T}$CXX" >&6; }
     2850else
     2851  { echo "$as_me:$LINENO: result: no" >&5
     2852echo "${ECHO_T}no" >&6; }
     2853fi
     2854
    24302855
    24312856    test -n "$CXX" && break
     
    24342859if test -z "$CXX"; then
    24352860  ac_ct_CXX=$CXX
    2436   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2861  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    24372862do
    24382863  # Extract the first word of "$ac_prog", so it can be a program name with args.
    24392864set dummy $ac_prog; ac_word=$2
    2440 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2865{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2866echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    24422867if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    24432868  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24522877  test -z "$as_dir" && as_dir=.
    24532878  for ac_exec_ext in '' $ac_executable_extensions; do
    2454   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2879  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24552880    ac_cv_prog_ac_ct_CXX="$ac_prog"
    24562881    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24592884done
    24602885done
     2886IFS=$as_save_IFS
    24612887
    24622888fi
     
    24642890ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    24652891if test -n "$ac_ct_CXX"; then
    2466   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2467 echo "${ECHO_T}$ac_ct_CXX" >&6
    2468 else
    2469   echo "$as_me:$LINENO: result: no" >&5
    2470 echo "${ECHO_T}no" >&6
    2471 fi
     2892  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2893echo "${ECHO_T}$ac_ct_CXX" >&6; }
     2894else
     2895  { echo "$as_me:$LINENO: result: no" >&5
     2896echo "${ECHO_T}no" >&6; }
     2897fi
     2898
    24722899
    24732900  test -n "$ac_ct_CXX" && break
    24742901done
    2475 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2476 
    2477   CXX=$ac_ct_CXX
    2478 fi
    2479 
    2480 
     2902
     2903  if test "x$ac_ct_CXX" = x; then
     2904    CXX="g++"
     2905  else
     2906    case $cross_compiling:$ac_tool_warned in
     2907yes:)
     2908{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2909whose name does not start with the host triplet.  If you think this
     2910configuration is useful to you, please write to [email protected]." >&5
     2911echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2912whose name does not start with the host triplet.  If you think this
     2913configuration is useful to you, please write to [email protected]." >&2;}
     2914ac_tool_warned=yes ;;
     2915esac
     2916    CXX=$ac_ct_CXX
     2917  fi
     2918fi
     2919
     2920  fi
     2921fi
    24812922# Provide some information about the compiler.
    2482 echo "$as_me:$LINENO:" \
    2483      "checking for C++ compiler version" >&5
     2923echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    24842924ac_compiler=`set X $ac_compile; echo $2`
    2485 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2486   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2925{ (ac_try="$ac_compiler --version >&5"
     2926case "(($ac_try" in
     2927  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2928  *) ac_try_echo=$ac_try;;
     2929esac
     2930eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2931  (eval "$ac_compiler --version >&5") 2>&5
    24872932  ac_status=$?
    24882933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24892934  (exit $ac_status); }
    2490 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2491   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2935{ (ac_try="$ac_compiler -v >&5"
     2936case "(($ac_try" in
     2937  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2938  *) ac_try_echo=$ac_try;;
     2939esac
     2940eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2941  (eval "$ac_compiler -v >&5") 2>&5
    24922942  ac_status=$?
    24932943  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24942944  (exit $ac_status); }
    2495 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2496   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2945{ (ac_try="$ac_compiler -V >&5"
     2946case "(($ac_try" in
     2947  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2948  *) ac_try_echo=$ac_try;;
     2949esac
     2950eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2951  (eval "$ac_compiler -V >&5") 2>&5
    24972952  ac_status=$?
    24982953  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24992954  (exit $ac_status); }
    25002955
    2501 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2502 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2956{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2957echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    25032958if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    25042959  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    25232978_ACEOF
    25242979rm -f conftest.$ac_objext
    2525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2526   (eval $ac_compile) 2>conftest.er1
     2980if { (ac_try="$ac_compile"
     2981case "(($ac_try" in
     2982  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2983  *) ac_try_echo=$ac_try;;
     2984esac
     2985eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2986  (eval "$ac_compile") 2>conftest.er1
    25272987  ac_status=$?
    25282988  grep -v '^ *+' conftest.er1 >conftest.err
     
    25302990  cat conftest.err >&5
    25312991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2532   (exit $ac_status); } &&
    2533      { ac_try='test -z "$ac_cxx_werror_flag"
    2534              || test ! -s conftest.err'
    2535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2536   (eval $ac_try) 2>&5
    2537   ac_status=$?
    2538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2539   (exit $ac_status); }; } &&
    2540      { ac_try='test -s conftest.$ac_objext'
    2541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2542   (eval $ac_try) 2>&5
    2543   ac_status=$?
    2544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2545   (exit $ac_status); }; }; then
     2992  (exit $ac_status); } && {
     2993     test -z "$ac_cxx_werror_flag" ||
     2994     test ! -s conftest.err
     2995       } && test -s conftest.$ac_objext; then
    25462996  ac_compiler_gnu=yes
    25472997else
     
    25492999sed 's/^/| /' conftest.$ac_ext >&5
    25503000
    2551 ac_compiler_gnu=no
    2552 fi
    2553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3001    ac_compiler_gnu=no
     3002fi
     3003
     3004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25543005ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    25553006
    25563007fi
    2557 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2558 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     3008{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3009echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    25593010GXX=`test $ac_compiler_gnu = yes && echo yes`
    25603011ac_test_CXXFLAGS=${CXXFLAGS+set}
    25613012ac_save_CXXFLAGS=$CXXFLAGS
    2562 CXXFLAGS="-g"
    2563 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2564 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3013{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3014echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    25653015if test "${ac_cv_prog_cxx_g+set}" = set; then
    25663016  echo $ECHO_N "(cached) $ECHO_C" >&6
    25673017else
    2568   cat >conftest.$ac_ext <<_ACEOF
     3018  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3019   ac_cxx_werror_flag=yes
     3020   ac_cv_prog_cxx_g=no
     3021   CXXFLAGS="-g"
     3022   cat >conftest.$ac_ext <<_ACEOF
    25693023/* confdefs.h.  */
    25703024_ACEOF
     
    25823036_ACEOF
    25833037rm -f conftest.$ac_objext
    2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2585   (eval $ac_compile) 2>conftest.er1
     3038if { (ac_try="$ac_compile"
     3039case "(($ac_try" in
     3040  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3041  *) ac_try_echo=$ac_try;;
     3042esac
     3043eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3044  (eval "$ac_compile") 2>conftest.er1
    25863045  ac_status=$?
    25873046  grep -v '^ *+' conftest.er1 >conftest.err
     
    25893048  cat conftest.err >&5
    25903049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2591   (exit $ac_status); } &&
    2592      { ac_try='test -z "$ac_cxx_werror_flag"
    2593              || test ! -s conftest.err'
    2594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2595   (eval $ac_try) 2>&5
    2596   ac_status=$?
    2597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2598   (exit $ac_status); }; } &&
    2599      { ac_try='test -s conftest.$ac_objext'
    2600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2601   (eval $ac_try) 2>&5
    2602   ac_status=$?
    2603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2604   (exit $ac_status); }; }; then
     3050  (exit $ac_status); } && {
     3051     test -z "$ac_cxx_werror_flag" ||
     3052     test ! -s conftest.err
     3053       } && test -s conftest.$ac_objext; then
    26053054  ac_cv_prog_cxx_g=yes
    26063055else
     
    26083057sed 's/^/| /' conftest.$ac_ext >&5
    26093058
    2610 ac_cv_prog_cxx_g=no
    2611 fi
    2612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2613 fi
    2614 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2615 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3059    CXXFLAGS=""
     3060      cat >conftest.$ac_ext <<_ACEOF
     3061/* confdefs.h.  */
     3062_ACEOF
     3063cat confdefs.h >>conftest.$ac_ext
     3064cat >>conftest.$ac_ext <<_ACEOF
     3065/* end confdefs.h.  */
     3066
     3067int
     3068main ()
     3069{
     3070
     3071  ;
     3072  return 0;
     3073}
     3074_ACEOF
     3075rm -f conftest.$ac_objext
     3076if { (ac_try="$ac_compile"
     3077case "(($ac_try" in
     3078  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3079  *) ac_try_echo=$ac_try;;
     3080esac
     3081eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3082  (eval "$ac_compile") 2>conftest.er1
     3083  ac_status=$?
     3084  grep -v '^ *+' conftest.er1 >conftest.err
     3085  rm -f conftest.er1
     3086  cat conftest.err >&5
     3087  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3088  (exit $ac_status); } && {
     3089     test -z "$ac_cxx_werror_flag" ||
     3090     test ! -s conftest.err
     3091       } && test -s conftest.$ac_objext; then
     3092  :
     3093else
     3094  echo "$as_me: failed program was:" >&5
     3095sed 's/^/| /' conftest.$ac_ext >&5
     3096
     3097    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3098     CXXFLAGS="-g"
     3099     cat >conftest.$ac_ext <<_ACEOF
     3100/* confdefs.h.  */
     3101_ACEOF
     3102cat confdefs.h >>conftest.$ac_ext
     3103cat >>conftest.$ac_ext <<_ACEOF
     3104/* end confdefs.h.  */
     3105
     3106int
     3107main ()
     3108{
     3109
     3110  ;
     3111  return 0;
     3112}
     3113_ACEOF
     3114rm -f conftest.$ac_objext
     3115if { (ac_try="$ac_compile"
     3116case "(($ac_try" in
     3117  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3118  *) ac_try_echo=$ac_try;;
     3119esac
     3120eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3121  (eval "$ac_compile") 2>conftest.er1
     3122  ac_status=$?
     3123  grep -v '^ *+' conftest.er1 >conftest.err
     3124  rm -f conftest.er1
     3125  cat conftest.err >&5
     3126  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3127  (exit $ac_status); } && {
     3128     test -z "$ac_cxx_werror_flag" ||
     3129     test ! -s conftest.err
     3130       } && test -s conftest.$ac_objext; then
     3131  ac_cv_prog_cxx_g=yes
     3132else
     3133  echo "$as_me: failed program was:" >&5
     3134sed 's/^/| /' conftest.$ac_ext >&5
     3135
     3136
     3137fi
     3138
     3139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3140fi
     3141
     3142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3143fi
     3144
     3145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3146   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3147fi
     3148{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3149echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
    26163150if test "$ac_test_CXXFLAGS" = set; then
    26173151  CXXFLAGS=$ac_save_CXXFLAGS
     
    26293163  fi
    26303164fi
    2631 for ac_declaration in \
    2632    '' \
    2633    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2634    'extern "C" void std::exit (int); using std::exit;' \
    2635    'extern "C" void exit (int) throw ();' \
    2636    'extern "C" void exit (int);' \
    2637    'void exit (int);'
    2638 do
    2639   cat >conftest.$ac_ext <<_ACEOF
    2640 /* confdefs.h.  */
    2641 _ACEOF
    2642 cat confdefs.h >>conftest.$ac_ext
    2643 cat >>conftest.$ac_ext <<_ACEOF
    2644 /* end confdefs.h.  */
    2645 $ac_declaration
    2646 #include <stdlib.h>
    2647 int
    2648 main ()
    2649 {
    2650 exit (42);
    2651   ;
    2652   return 0;
    2653 }
    2654 _ACEOF
    2655 rm -f conftest.$ac_objext
    2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2657   (eval $ac_compile) 2>conftest.er1
    2658   ac_status=$?
    2659   grep -v '^ *+' conftest.er1 >conftest.err
    2660   rm -f conftest.er1
    2661   cat conftest.err >&5
    2662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2663   (exit $ac_status); } &&
    2664      { ac_try='test -z "$ac_cxx_werror_flag"
    2665              || test ! -s conftest.err'
    2666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2667   (eval $ac_try) 2>&5
    2668   ac_status=$?
    2669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2670   (exit $ac_status); }; } &&
    2671      { ac_try='test -s conftest.$ac_objext'
    2672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2673   (eval $ac_try) 2>&5
    2674   ac_status=$?
    2675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2676   (exit $ac_status); }; }; then
    2677   :
    2678 else
    2679   echo "$as_me: failed program was:" >&5
    2680 sed 's/^/| /' conftest.$ac_ext >&5
    2681 
    2682 continue
    2683 fi
    2684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2685   cat >conftest.$ac_ext <<_ACEOF
    2686 /* confdefs.h.  */
    2687 _ACEOF
    2688 cat confdefs.h >>conftest.$ac_ext
    2689 cat >>conftest.$ac_ext <<_ACEOF
    2690 /* end confdefs.h.  */
    2691 $ac_declaration
    2692 int
    2693 main ()
    2694 {
    2695 exit (42);
    2696   ;
    2697   return 0;
    2698 }
    2699 _ACEOF
    2700 rm -f conftest.$ac_objext
    2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2702   (eval $ac_compile) 2>conftest.er1
    2703   ac_status=$?
    2704   grep -v '^ *+' conftest.er1 >conftest.err
    2705   rm -f conftest.er1
    2706   cat conftest.err >&5
    2707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2708   (exit $ac_status); } &&
    2709      { ac_try='test -z "$ac_cxx_werror_flag"
    2710              || test ! -s conftest.err'
    2711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2712   (eval $ac_try) 2>&5
    2713   ac_status=$?
    2714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2715   (exit $ac_status); }; } &&
    2716      { ac_try='test -s conftest.$ac_objext'
    2717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2718   (eval $ac_try) 2>&5
    2719   ac_status=$?
    2720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2721   (exit $ac_status); }; }; then
    2722   break
    2723 else
    2724   echo "$as_me: failed program was:" >&5
    2725 sed 's/^/| /' conftest.$ac_ext >&5
    2726 
    2727 fi
    2728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2729 done
    2730 rm -f conftest*
    2731 if test -n "$ac_declaration"; then
    2732   echo '#ifdef __cplusplus' >>confdefs.h
    2733   echo $ac_declaration      >>confdefs.h
    2734   echo '#endif'             >>confdefs.h
    2735 fi
    2736 
    27373165ac_ext=c
    27383166ac_cpp='$CPP $CPPFLAGS'
     
    27453173  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27463174set dummy $ac_prog; ac_word=$2
    2747 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3175{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3176echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    27493177if test "${ac_cv_prog_AWK+set}" = set; then
    27503178  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27593187  test -z "$as_dir" && as_dir=.
    27603188  for ac_exec_ext in '' $ac_executable_extensions; do
    2761   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3189  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27623190    ac_cv_prog_AWK="$ac_prog"
    27633191    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27663194done
    27673195done
     3196IFS=$as_save_IFS
    27683197
    27693198fi
     
    27713200AWK=$ac_cv_prog_AWK
    27723201if test -n "$AWK"; then
    2773   echo "$as_me:$LINENO: result: $AWK" >&5
    2774 echo "${ECHO_T}$AWK" >&6
    2775 else
    2776   echo "$as_me:$LINENO: result: no" >&5
    2777 echo "${ECHO_T}no" >&6
    2778 fi
     3202  { echo "$as_me:$LINENO: result: $AWK" >&5
     3203echo "${ECHO_T}$AWK" >&6; }
     3204else
     3205  { echo "$as_me:$LINENO: result: no" >&5
     3206echo "${ECHO_T}no" >&6; }
     3207fi
     3208
    27793209
    27803210  test -n "$AWK" && break
     
    27853215  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27863216set dummy $ac_prog; ac_word=$2
    2787 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3217{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3218echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    27893219if test "${ac_cv_prog_YACC+set}" = set; then
    27903220  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27993229  test -z "$as_dir" && as_dir=.
    28003230  for ac_exec_ext in '' $ac_executable_extensions; do
    2801   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3231  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28023232    ac_cv_prog_YACC="$ac_prog"
    28033233    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28063236done
    28073237done
     3238IFS=$as_save_IFS
    28083239
    28093240fi
     
    28113242YACC=$ac_cv_prog_YACC
    28123243if test -n "$YACC"; then
    2813   echo "$as_me:$LINENO: result: $YACC" >&5
    2814 echo "${ECHO_T}$YACC" >&6
    2815 else
    2816   echo "$as_me:$LINENO: result: no" >&5
    2817 echo "${ECHO_T}no" >&6
    2818 fi
     3244  { echo "$as_me:$LINENO: result: $YACC" >&5
     3245echo "${ECHO_T}$YACC" >&6; }
     3246else
     3247  { echo "$as_me:$LINENO: result: no" >&5
     3248echo "${ECHO_T}no" >&6; }
     3249fi
     3250
    28193251
    28203252  test -n "$YACC" && break
     
    28233255
    28243256ac_aux_dir=
    2825 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    2826   if test -f $ac_dir/install-sh; then
     3257for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     3258  if test -f "$ac_dir/install-sh"; then
    28273259    ac_aux_dir=$ac_dir
    28283260    ac_install_sh="$ac_aux_dir/install-sh -c"
    28293261    break
    2830   elif test -f $ac_dir/install.sh; then
     3262  elif test -f "$ac_dir/install.sh"; then
    28313263    ac_aux_dir=$ac_dir
    28323264    ac_install_sh="$ac_aux_dir/install.sh -c"
    28333265    break
    2834   elif test -f $ac_dir/shtool; then
     3266  elif test -f "$ac_dir/shtool"; then
    28353267    ac_aux_dir=$ac_dir
    28363268    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    28393271done
    28403272if test -z "$ac_aux_dir"; then
    2841   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2842 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     3273  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     3274echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    28433275   { (exit 1); exit 1; }; }
    28443276fi
    2845 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2846 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2847 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     3277
     3278# These three variables are undocumented and unsupported,
     3279# and are intended to be withdrawn in a future Autoconf release.
     3280# They can cause serious problems if a builder's source tree is in a directory
     3281# whose full name contains unusual characters.
     3282ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     3283ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     3284ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     3285
    28483286
    28493287# Make sure we can run config.sub.
    2850 $ac_config_sub sun4 >/dev/null 2>&1 ||
    2851   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    2852 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     3288$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     3289  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     3290echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    28533291   { (exit 1); exit 1; }; }
    28543292
    2855 echo "$as_me:$LINENO: checking build system type" >&5
    2856 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     3293{ echo "$as_me:$LINENO: checking build system type" >&5
     3294echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
    28573295if test "${ac_cv_build+set}" = set; then
    28583296  echo $ECHO_N "(cached) $ECHO_C" >&6
    28593297else
    2860   ac_cv_build_alias=$build_alias
    2861 test -z "$ac_cv_build_alias" &&
    2862   ac_cv_build_alias=`$ac_config_guess`
    2863 test -z "$ac_cv_build_alias" &&
     3298  ac_build_alias=$build_alias
     3299test "x$ac_build_alias" = x &&
     3300  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     3301test "x$ac_build_alias" = x &&
    28643302  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    28653303echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    28663304   { (exit 1); exit 1; }; }
    2867 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    2868   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    2869 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     3305ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     3306  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     3307echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    28703308   { (exit 1); exit 1; }; }
    28713309
    28723310fi
    2873 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    2874 echo "${ECHO_T}$ac_cv_build" >&6
     3311{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     3312echo "${ECHO_T}$ac_cv_build" >&6; }
     3313case $ac_cv_build in
     3314*-*-*) ;;
     3315*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     3316echo "$as_me: error: invalid value of canonical build" >&2;}
     3317   { (exit 1); exit 1; }; };;
     3318esac
    28753319build=$ac_cv_build
    2876 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2877 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2878 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2879 
    2880 
    2881 echo "$as_me:$LINENO: checking host system type" >&5
    2882 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     3320ac_save_IFS=$IFS; IFS='-'
     3321set x $ac_cv_build
     3322shift
     3323build_cpu=$1
     3324build_vendor=$2
     3325shift; shift
     3326# Remember, the first character of IFS is used to create $*,
     3327# except with old shells:
     3328build_os=$*
     3329IFS=$ac_save_IFS
     3330case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     3331
     3332
     3333{ echo "$as_me:$LINENO: checking host system type" >&5
     3334echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
    28833335if test "${ac_cv_host+set}" = set; then
    28843336  echo $ECHO_N "(cached) $ECHO_C" >&6
    28853337else
    2886   ac_cv_host_alias=$host_alias
    2887 test -z "$ac_cv_host_alias" &&
    2888   ac_cv_host_alias=$ac_cv_build_alias
    2889 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    2890   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    2891 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     3338  if test "x$host_alias" = x; then
     3339  ac_cv_host=$ac_cv_build
     3340else
     3341  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     3342    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     3343echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    28923344   { (exit 1); exit 1; }; }
    2893 
    2894 fi
    2895 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    2896 echo "${ECHO_T}$ac_cv_host" >&6
     3345fi
     3346
     3347fi
     3348{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     3349echo "${ECHO_T}$ac_cv_host" >&6; }
     3350case $ac_cv_host in
     3351*-*-*) ;;
     3352*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     3353echo "$as_me: error: invalid value of canonical host" >&2;}
     3354   { (exit 1); exit 1; }; };;
     3355esac
    28973356host=$ac_cv_host
    2898 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2899 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2900 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2901 
    2902 
    2903 echo "$as_me:$LINENO: checking target system type" >&5
    2904 echo $ECHO_N "checking target system type... $ECHO_C" >&6
     3357ac_save_IFS=$IFS; IFS='-'
     3358set x $ac_cv_host
     3359shift
     3360host_cpu=$1
     3361host_vendor=$2
     3362shift; shift
     3363# Remember, the first character of IFS is used to create $*,
     3364# except with old shells:
     3365host_os=$*
     3366IFS=$ac_save_IFS
     3367case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     3368
     3369
     3370{ echo "$as_me:$LINENO: checking target system type" >&5
     3371echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
    29053372if test "${ac_cv_target+set}" = set; then
    29063373  echo $ECHO_N "(cached) $ECHO_C" >&6
    29073374else
    2908   ac_cv_target_alias=$target_alias
    2909 test "x$ac_cv_target_alias" = "x" &&
    2910   ac_cv_target_alias=$ac_cv_host_alias
    2911 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    2912   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    2913 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     3375  if test "x$target_alias" = x; then
     3376  ac_cv_target=$ac_cv_host
     3377else
     3378  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     3379    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     3380echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    29143381   { (exit 1); exit 1; }; }
    2915 
    2916 fi
    2917 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    2918 echo "${ECHO_T}$ac_cv_target" >&6
     3382fi
     3383
     3384fi
     3385{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     3386echo "${ECHO_T}$ac_cv_target" >&6; }
     3387case $ac_cv_target in
     3388*-*-*) ;;
     3389*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     3390echo "$as_me: error: invalid value of canonical target" >&2;}
     3391   { (exit 1); exit 1; }; };;
     3392esac
    29193393target=$ac_cv_target
    2920 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2921 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2922 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3394ac_save_IFS=$IFS; IFS='-'
     3395set x $ac_cv_target
     3396shift
     3397target_cpu=$1
     3398target_vendor=$2
     3399shift; shift
     3400# Remember, the first character of IFS is used to create $*,
     3401# except with old shells:
     3402target_os=$*
     3403IFS=$ac_save_IFS
     3404case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    29233405
    29243406
     
    29423424# OS/2's system install, which has a completely different semantic
    29433425# ./install, which can be erroneously created by make from ./install.sh.
    2944 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2945 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3426{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3427echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    29463428if test -z "$INSTALL"; then
    29473429if test "${ac_cv_path_install+set}" = set; then
     
    29653447    for ac_prog in ginstall scoinst install; do
    29663448      for ac_exec_ext in '' $ac_executable_extensions; do
    2967     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3449    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    29683450      if test $ac_prog = install &&
    29693451        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    29843466esac
    29853467done
     3468IFS=$as_save_IFS
    29863469
    29873470
     
    29903473    INSTALL=$ac_cv_path_install
    29913474  else
    2992     # As a last resort, use the slow shell script.  We don't cache a
    2993     # path for INSTALL within a source directory, because that will
     3475    # As a last resort, use the slow shell script.  Don't cache a
     3476    # value for INSTALL within a source directory, because that will
    29943477    # break other packages using the cache if that directory is
    2995     # removed, or if the path is relative.
     3478    # removed, or if the value is a relative name.
    29963479    INSTALL=$ac_install_sh
    29973480  fi
    29983481fi
    2999 echo "$as_me:$LINENO: result: $INSTALL" >&5
    3000 echo "${ECHO_T}$INSTALL" >&6
     3482{ echo "$as_me:$LINENO: result: $INSTALL" >&5
     3483echo "${ECHO_T}$INSTALL" >&6; }
    30013484
    30023485# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    30083491test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    30093492
    3010 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3011 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3493{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3494echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
    30123495LN_S=$as_ln_s
    30133496if test "$LN_S" = "ln -s"; then
    3014   echo "$as_me:$LINENO: result: yes" >&5
    3015 echo "${ECHO_T}yes" >&6
    3016 else
    3017   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3018 echo "${ECHO_T}no, using $LN_S" >&6
    3019 fi
    3020 
    3021 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3022 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3023 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3024 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3497  { echo "$as_me:$LINENO: result: yes" >&5
     3498echo "${ECHO_T}yes" >&6; }
     3499else
     3500  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3501echo "${ECHO_T}no, using $LN_S" >&6; }
     3502fi
     3503
     3504{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3505echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
     3506set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3507if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    30253508  echo $ECHO_N "(cached) $ECHO_C" >&6
    30263509else
    30273510  cat >conftest.make <<\_ACEOF
     3511SHELL = /bin/sh
    30283512all:
    3029     @echo 'ac_maketemp="$(MAKE)"'
     3513    @echo '@@@%%%=$(MAKE)=@@@%%%'
    30303514_ACEOF
    30313515# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3032 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    3033 if test -n "$ac_maketemp"; then
    3034   eval ac_cv_prog_make_${ac_make}_set=yes
    3035 else
    3036   eval ac_cv_prog_make_${ac_make}_set=no
    3037 fi
     3516case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3517  *@@@%%%=?*=@@@%%%*)
     3518    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3519  *)
     3520    eval ac_cv_prog_make_${ac_make}_set=no;;
     3521esac
    30383522rm -f conftest.make
    30393523fi
    3040 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3041   echo "$as_me:$LINENO: result: yes" >&5
    3042 echo "${ECHO_T}yes" >&6
     3524if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3525  { echo "$as_me:$LINENO: result: yes" >&5
     3526echo "${ECHO_T}yes" >&6; }
    30433527  SET_MAKE=
    30443528else
    3045   echo "$as_me:$LINENO: result: no" >&5
    3046 echo "${ECHO_T}no" >&6
     3529  { echo "$as_me:$LINENO: result: no" >&5
     3530echo "${ECHO_T}no" >&6; }
    30473531  SET_MAKE="MAKE=${MAKE-make}"
    30483532fi
     
    30513535  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    30523536set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3053 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3537{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3538echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30553539if test "${ac_cv_prog_RANLIB+set}" = set; then
    30563540  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30653549  test -z "$as_dir" && as_dir=.
    30663550  for ac_exec_ext in '' $ac_executable_extensions; do
    3067   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3551  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30683552    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    30693553    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30723556done
    30733557done
     3558IFS=$as_save_IFS
    30743559
    30753560fi
     
    30773562RANLIB=$ac_cv_prog_RANLIB
    30783563if test -n "$RANLIB"; then
    3079   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3080 echo "${ECHO_T}$RANLIB" >&6
    3081 else
    3082   echo "$as_me:$LINENO: result: no" >&5
    3083 echo "${ECHO_T}no" >&6
    3084 fi
     3564  { echo "$as_me:$LINENO: result: $RANLIB" >&5
     3565echo "${ECHO_T}$RANLIB" >&6; }
     3566else
     3567  { echo "$as_me:$LINENO: result: no" >&5
     3568echo "${ECHO_T}no" >&6; }
     3569fi
     3570
    30853571
    30863572fi
     
    30893575  # Extract the first word of "ranlib", so it can be a program name with args.
    30903576set dummy ranlib; ac_word=$2
    3091 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3577{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3578echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30933579if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    30943580  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    31033589  test -z "$as_dir" && as_dir=.
    31043590  for ac_exec_ext in '' $ac_executable_extensions; do
    3105   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3591  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31063592    ac_cv_prog_ac_ct_RANLIB="ranlib"
    31073593    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    31103596done
    31113597done
    3112 
    3113   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     3598IFS=$as_save_IFS
     3599
    31143600fi
    31153601fi
    31163602ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    31173603if test -n "$ac_ct_RANLIB"; then
    3118   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3119 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3120 else
    3121   echo "$as_me:$LINENO: result: no" >&5
    3122 echo "${ECHO_T}no" >&6
    3123 fi
    3124 
    3125   RANLIB=$ac_ct_RANLIB
     3604  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3605echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
     3606else
     3607  { echo "$as_me:$LINENO: result: no" >&5
     3608echo "${ECHO_T}no" >&6; }
     3609fi
     3610
     3611  if test "x$ac_ct_RANLIB" = x; then
     3612    RANLIB=":"
     3613  else
     3614    case $cross_compiling:$ac_tool_warned in
     3615yes:)
     3616{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3617whose name does not start with the host triplet.  If you think this
     3618configuration is useful to you, please write to [email protected]." >&5
     3619echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3620whose name does not start with the host triplet.  If you think this
     3621configuration is useful to you, please write to [email protected]." >&2;}
     3622ac_tool_warned=yes ;;
     3623esac
     3624    RANLIB=$ac_ct_RANLIB
     3625  fi
    31263626else
    31273627  RANLIB="$ac_cv_prog_RANLIB"
     
    31293629
    31303630
    3131 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3132 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     3631{ echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3632echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
    31333633arch_64bit=no
    31343634case "$host_cpu" in
     
    31373637
    31383638if test "$arch_64bit" = yes; then
    3139   echo "$as_me:$LINENO: result: yes" >&5
    3140 echo "${ECHO_T}yes" >&6
     3639  { echo "$as_me:$LINENO: result: yes" >&5
     3640echo "${ECHO_T}yes" >&6; }
    31413641  if test -z "$COMPAT32BITFLAGS" ; then
    31423642    COMPAT32BITFLAGS="-m32"
    31433643  fi
    31443644else
    3145   echo "$as_me:$LINENO: result: no" >&5
    3146 echo "${ECHO_T}no" >&6
     3645  { echo "$as_me:$LINENO: result: no" >&5
     3646echo "${ECHO_T}no" >&6; }
    31473647  if test -z "$COMPAT32BITFLAGS" ; then
    31483648    COMPAT32BITFLAGS=
     
    31913691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    31923692ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3193 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3194 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3693{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3694echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    31953695# On Suns, sometimes $CPP names a directory.
    31963696if test -n "$CPP" && test -d "$CPP"; then
     
    32263726             Syntax error
    32273727_ACEOF
    3228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3229   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3728if { (ac_try="$ac_cpp conftest.$ac_ext"
     3729case "(($ac_try" in
     3730  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3731  *) ac_try_echo=$ac_try;;
     3732esac
     3733eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3734  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32303735  ac_status=$?
    32313736  grep -v '^ *+' conftest.er1 >conftest.err
     
    32333738  cat conftest.err >&5
    32343739  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3235   (exit $ac_status); } >/dev/null; then
    3236   if test -s conftest.err; then
    3237     ac_cpp_err=$ac_c_preproc_warn_flag
    3238     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3239   else
    3240     ac_cpp_err=
    3241   fi
    3242 else
    3243   ac_cpp_err=yes
    3244 fi
    3245 if test -z "$ac_cpp_err"; then
     3740  (exit $ac_status); } >/dev/null && {
     3741     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3742     test ! -s conftest.err
     3743       }; then
    32463744  :
    32473745else
     
    32523750continue
    32533751fi
     3752
    32543753rm -f conftest.err conftest.$ac_ext
    32553754
    3256   # OK, works on sane cases.  Now check whether non-existent headers
     3755  # OK, works on sane cases.  Now check whether nonexistent headers
    32573756  # can be detected and how.
    32583757  cat >conftest.$ac_ext <<_ACEOF
     
    32643763#include <ac_nonexistent.h>
    32653764_ACEOF
    3266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3267   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3765if { (ac_try="$ac_cpp conftest.$ac_ext"
     3766case "(($ac_try" in
     3767  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3768  *) ac_try_echo=$ac_try;;
     3769esac
     3770eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3771  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32683772  ac_status=$?
    32693773  grep -v '^ *+' conftest.er1 >conftest.err
     
    32713775  cat conftest.err >&5
    32723776  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3273   (exit $ac_status); } >/dev/null; then
    3274   if test -s conftest.err; then
    3275     ac_cpp_err=$ac_c_preproc_warn_flag
    3276     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3277   else
    3278     ac_cpp_err=
    3279   fi
    3280 else
    3281   ac_cpp_err=yes
    3282 fi
    3283 if test -z "$ac_cpp_err"; then
     3777  (exit $ac_status); } >/dev/null && {
     3778     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3779     test ! -s conftest.err
     3780       }; then
    32843781  # Broken: success on invalid input.
    32853782continue
     
    32923789break
    32933790fi
     3791
    32943792rm -f conftest.err conftest.$ac_ext
    32953793
     
    33093807  ac_cv_prog_CPP=$CPP
    33103808fi
    3311 echo "$as_me:$LINENO: result: $CPP" >&5
    3312 echo "${ECHO_T}$CPP" >&6
     3809{ echo "$as_me:$LINENO: result: $CPP" >&5
     3810echo "${ECHO_T}$CPP" >&6; }
    33133811ac_preproc_ok=false
    33143812for ac_c_preproc_warn_flag in '' yes
     
    33333831             Syntax error
    33343832_ACEOF
    3335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3336   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3833if { (ac_try="$ac_cpp conftest.$ac_ext"
     3834case "(($ac_try" in
     3835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3836  *) ac_try_echo=$ac_try;;
     3837esac
     3838eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3839  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33373840  ac_status=$?
    33383841  grep -v '^ *+' conftest.er1 >conftest.err
     
    33403843  cat conftest.err >&5
    33413844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3342   (exit $ac_status); } >/dev/null; then
    3343   if test -s conftest.err; then
    3344     ac_cpp_err=$ac_c_preproc_warn_flag
    3345     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3346   else
    3347     ac_cpp_err=
    3348   fi
    3349 else
    3350   ac_cpp_err=yes
    3351 fi
    3352 if test -z "$ac_cpp_err"; then
     3845  (exit $ac_status); } >/dev/null && {
     3846     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3847     test ! -s conftest.err
     3848       }; then
    33533849  :
    33543850else
     
    33593855continue
    33603856fi
     3857
    33613858rm -f conftest.err conftest.$ac_ext
    33623859
    3363   # OK, works on sane cases.  Now check whether non-existent headers
     3860  # OK, works on sane cases.  Now check whether nonexistent headers
    33643861  # can be detected and how.
    33653862  cat >conftest.$ac_ext <<_ACEOF
     
    33713868#include <ac_nonexistent.h>
    33723869_ACEOF
    3373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3374   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3870if { (ac_try="$ac_cpp conftest.$ac_ext"
     3871case "(($ac_try" in
     3872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3873  *) ac_try_echo=$ac_try;;
     3874esac
     3875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3876  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33753877  ac_status=$?
    33763878  grep -v '^ *+' conftest.er1 >conftest.err
     
    33783880  cat conftest.err >&5
    33793881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3380   (exit $ac_status); } >/dev/null; then
    3381   if test -s conftest.err; then
    3382     ac_cpp_err=$ac_c_preproc_warn_flag
    3383     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3384   else
    3385     ac_cpp_err=
    3386   fi
    3387 else
    3388   ac_cpp_err=yes
    3389 fi
    3390 if test -z "$ac_cpp_err"; then
     3882  (exit $ac_status); } >/dev/null && {
     3883     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3884     test ! -s conftest.err
     3885       }; then
    33913886  # Broken: success on invalid input.
    33923887continue
     
    33993894break
    34003895fi
     3896
    34013897rm -f conftest.err conftest.$ac_ext
    34023898
     
    34213917
    34223918
    3423 echo "$as_me:$LINENO: checking for egrep" >&5
    3424 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3425 if test "${ac_cv_prog_egrep+set}" = set; then
     3919{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3920echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
     3921if test "${ac_cv_path_GREP+set}" = set; then
    34263922  echo $ECHO_N "(cached) $ECHO_C" >&6
    34273923else
    3428   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3429     then ac_cv_prog_egrep='grep -E'
    3430     else ac_cv_prog_egrep='egrep'
     3924  # Extract the first word of "grep ggrep" to use in msg output
     3925if test -z "$GREP"; then
     3926set dummy grep ggrep; ac_prog_name=$2
     3927if test "${ac_cv_path_GREP+set}" = set; then
     3928  echo $ECHO_N "(cached) $ECHO_C" >&6
     3929else
     3930  ac_path_GREP_found=false
     3931# Loop through the user's path and test for each of PROGNAME-LIST
     3932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3933for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3934do
     3935  IFS=$as_save_IFS
     3936  test -z "$as_dir" && as_dir=.
     3937  for ac_prog in grep ggrep; do
     3938  for ac_exec_ext in '' $ac_executable_extensions; do
     3939    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     3940    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3941    # Check for GNU ac_path_GREP and select it if it is found.
     3942  # Check for GNU $ac_path_GREP
     3943case `"$ac_path_GREP" --version 2>&1` in
     3944*GNU*)
     3945  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     3946*)
     3947  ac_count=0
     3948  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     3949  while :
     3950  do
     3951    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3952    mv "conftest.tmp" "conftest.in"
     3953    cp "conftest.in" "conftest.nl"
     3954    echo 'GREP' >> "conftest.nl"
     3955    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3956    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3957    ac_count=`expr $ac_count + 1`
     3958    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     3959      # Best one so far, save it but keep looking for a better one
     3960      ac_cv_path_GREP="$ac_path_GREP"
     3961      ac_path_GREP_max=$ac_count
    34313962    fi
    3432 fi
    3433 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3434 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3435  EGREP=$ac_cv_prog_egrep
    3436 
    3437 
    3438 
    3439 echo "$as_me:$LINENO: checking for AIX" >&5
    3440 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     3963    # 10*(2^10) chars as input seems more than enough
     3964    test $ac_count -gt 10 && break
     3965  done
     3966  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3967esac
     3968
     3969
     3970    $ac_path_GREP_found && break 3
     3971  done
     3972done
     3973
     3974done
     3975IFS=$as_save_IFS
     3976
     3977
     3978fi
     3979
     3980GREP="$ac_cv_path_GREP"
     3981if test -z "$GREP"; then
     3982  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3983echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3984   { (exit 1); exit 1; }; }
     3985fi
     3986
     3987else
     3988  ac_cv_path_GREP=$GREP
     3989fi
     3990
     3991
     3992fi
     3993{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3994echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     3995 GREP="$ac_cv_path_GREP"
     3996
     3997
     3998{ echo "$as_me:$LINENO: checking for egrep" >&5
     3999echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
     4000if test "${ac_cv_path_EGREP+set}" = set; then
     4001  echo $ECHO_N "(cached) $ECHO_C" >&6
     4002else
     4003  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4004   then ac_cv_path_EGREP="$GREP -E"
     4005   else
     4006     # Extract the first word of "egrep" to use in msg output
     4007if test -z "$EGREP"; then
     4008set dummy egrep; ac_prog_name=$2
     4009if test "${ac_cv_path_EGREP+set}" = set; then
     4010  echo $ECHO_N "(cached) $ECHO_C" >&6
     4011else
     4012  ac_path_EGREP_found=false
     4013# Loop through the user's path and test for each of PROGNAME-LIST
     4014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4015for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4016do
     4017  IFS=$as_save_IFS
     4018  test -z "$as_dir" && as_dir=.
     4019  for ac_prog in egrep; do
     4020  for ac_exec_ext in '' $ac_executable_extensions; do
     4021    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4022    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4023    # Check for GNU ac_path_EGREP and select it if it is found.
     4024  # Check for GNU $ac_path_EGREP
     4025case `"$ac_path_EGREP" --version 2>&1` in
     4026*GNU*)
     4027  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4028*)
     4029  ac_count=0
     4030  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4031  while :
     4032  do
     4033    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4034    mv "conftest.tmp" "conftest.in"
     4035    cp "conftest.in" "conftest.nl"
     4036    echo 'EGREP' >> "conftest.nl"
     4037    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4038    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4039    ac_count=`expr $ac_count + 1`
     4040    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4041      # Best one so far, save it but keep looking for a better one
     4042      ac_cv_path_EGREP="$ac_path_EGREP"
     4043      ac_path_EGREP_max=$ac_count
     4044    fi
     4045    # 10*(2^10) chars as input seems more than enough
     4046    test $ac_count -gt 10 && break
     4047  done
     4048  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4049esac
     4050
     4051
     4052    $ac_path_EGREP_found && break 3
     4053  done
     4054done
     4055
     4056done
     4057IFS=$as_save_IFS
     4058
     4059
     4060fi
     4061
     4062EGREP="$ac_cv_path_EGREP"
     4063if test -z "$EGREP"; then
     4064  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4065echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4066   { (exit 1); exit 1; }; }
     4067fi
     4068
     4069else
     4070  ac_cv_path_EGREP=$EGREP
     4071fi
     4072
     4073
     4074   fi
     4075fi
     4076{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4077echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     4078 EGREP="$ac_cv_path_EGREP"
     4079
     4080
     4081
     4082{ echo "$as_me:$LINENO: checking for AIX" >&5
     4083echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
    34414084cat >conftest.$ac_ext <<_ACEOF
    34424085/* confdefs.h.  */
     
    34524095if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    34534096  $EGREP "yes" >/dev/null 2>&1; then
    3454   echo "$as_me:$LINENO: result: yes" >&5
    3455 echo "${ECHO_T}yes" >&6
     4097  { echo "$as_me:$LINENO: result: yes" >&5
     4098echo "${ECHO_T}yes" >&6; }
    34564099cat >>confdefs.h <<\_ACEOF
    34574100#define _ALL_SOURCE 1
     
    34594102
    34604103else
    3461   echo "$as_me:$LINENO: result: no" >&5
    3462 echo "${ECHO_T}no" >&6
     4104  { echo "$as_me:$LINENO: result: no" >&5
     4105echo "${ECHO_T}no" >&6; }
    34634106fi
    34644107rm -f conftest*
    34654108
    34664109
    3467 echo "$as_me:$LINENO: checking for library containing strerror" >&5
    3468 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     4110{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
     4111echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
    34694112if test "${ac_cv_search_strerror+set}" = set; then
    34704113  echo $ECHO_N "(cached) $ECHO_C" >&6
    34714114else
    34724115  ac_func_search_save_LIBS=$LIBS
    3473 ac_cv_search_strerror=no
    34744116cat >conftest.$ac_ext <<_ACEOF
    34754117/* confdefs.h.  */
     
    34794121/* end confdefs.h.  */
    34804122
    3481 /* Override any gcc2 internal prototype to avoid an error.  */
     4123/* Override any GCC internal prototype to avoid an error.
     4124   Use char because int might match the return type of a GCC
     4125   builtin and then its argument prototype would still apply.  */
    34824126#ifdef __cplusplus
    34834127extern "C"
    34844128#endif
    3485 /* We use char because int might match the return type of a gcc2
    3486    builtin and then its argument prototype would still apply.  */
    34874129char strerror ();
    34884130int
    34894131main ()
    34904132{
    3491 strerror ();
     4133return strerror ();
    34924134  ;
    34934135  return 0;
    34944136}
    34954137_ACEOF
    3496 rm -f conftest.$ac_objext conftest$ac_exeext
    3497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3498   (eval $ac_link) 2>conftest.er1
     4138for ac_lib in '' cposix; do
     4139  if test -z "$ac_lib"; then
     4140    ac_res="none required"
     4141  else
     4142    ac_res=-l$ac_lib
     4143    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4144  fi
     4145  rm -f conftest.$ac_objext conftest$ac_exeext
     4146if { (ac_try="$ac_link"
     4147case "(($ac_try" in
     4148  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4149  *) ac_try_echo=$ac_try;;
     4150esac
     4151eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4152  (eval "$ac_link") 2>conftest.er1
    34994153  ac_status=$?
    35004154  grep -v '^ *+' conftest.er1 >conftest.err
     
    35024156  cat conftest.err >&5
    35034157  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3504   (exit $ac_status); } &&
    3505      { ac_try='test -z "$ac_c_werror_flag"
    3506              || test ! -s conftest.err'
    3507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3508   (eval $ac_try) 2>&5
    3509   ac_status=$?
    3510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3511   (exit $ac_status); }; } &&
    3512      { ac_try='test -s conftest$ac_exeext'
    3513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3514   (eval $ac_try) 2>&5
    3515   ac_status=$?
    3516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3517   (exit $ac_status); }; }; then
    3518   ac_cv_search_strerror="none required"
     4158  (exit $ac_status); } && {
     4159     test -z "$ac_c_werror_flag" ||
     4160     test ! -s conftest.err
     4161       } && test -s conftest$ac_exeext &&
     4162       $as_test_x conftest$ac_exeext; then
     4163  ac_cv_search_strerror=$ac_res
    35194164else
    35204165  echo "$as_me: failed program was:" >&5
    35214166sed 's/^/| /' conftest.$ac_ext >&5
    35224167
    3523 fi
    3524 rm -f conftest.err conftest.$ac_objext \
    3525       conftest$ac_exeext conftest.$ac_ext
    3526 if test "$ac_cv_search_strerror" = no; then
    3527   for ac_lib in cposix; do
    3528     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    3529     cat >conftest.$ac_ext <<_ACEOF
    3530 /* confdefs.h.  */
    3531 _ACEOF
    3532 cat confdefs.h >>conftest.$ac_ext
    3533 cat >>conftest.$ac_ext <<_ACEOF
    3534 /* end confdefs.h.  */
    3535 
    3536 /* Override any gcc2 internal prototype to avoid an error.  */
    3537 #ifdef __cplusplus
    3538 extern "C"
    3539 #endif
    3540 /* We use char because int might match the return type of a gcc2
    3541    builtin and then its argument prototype would still apply.  */
    3542 char strerror ();
    3543 int
    3544 main ()
    3545 {
    3546 strerror ();
    3547   ;
    3548   return 0;
    3549 }
    3550 _ACEOF
    3551 rm -f conftest.$ac_objext conftest$ac_exeext
    3552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3553   (eval $ac_link) 2>conftest.er1
    3554   ac_status=$?
    3555   grep -v '^ *+' conftest.er1 >conftest.err
    3556   rm -f conftest.er1
    3557   cat conftest.err >&5
    3558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3559   (exit $ac_status); } &&
    3560      { ac_try='test -z "$ac_c_werror_flag"
    3561              || test ! -s conftest.err'
    3562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3563   (eval $ac_try) 2>&5
    3564   ac_status=$?
    3565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3566   (exit $ac_status); }; } &&
    3567      { ac_try='test -s conftest$ac_exeext'
    3568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3569   (eval $ac_try) 2>&5
    3570   ac_status=$?
    3571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3572   (exit $ac_status); }; }; then
    3573   ac_cv_search_strerror="-l$ac_lib"
    3574 break
    3575 else
    3576   echo "$as_me: failed program was:" >&5
    3577 sed 's/^/| /' conftest.$ac_ext >&5
    3578 
    3579 fi
    3580 rm -f conftest.err conftest.$ac_objext \
    3581       conftest$ac_exeext conftest.$ac_ext
    3582   done
    3583 fi
     4168
     4169fi
     4170
     4171rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4172      conftest$ac_exeext
     4173  if test "${ac_cv_search_strerror+set}" = set; then
     4174  break
     4175fi
     4176done
     4177if test "${ac_cv_search_strerror+set}" = set; then
     4178  :
     4179else
     4180  ac_cv_search_strerror=no
     4181fi
     4182rm conftest.$ac_ext
    35844183LIBS=$ac_func_search_save_LIBS
    35854184fi
    3586 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    3587 echo "${ECHO_T}$ac_cv_search_strerror" >&6
    3588 if test "$ac_cv_search_strerror" != no; then
    3589   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
    3590 
    3591 fi
    3592 
    3593 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3594 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4185{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     4186echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
     4187ac_res=$ac_cv_search_strerror
     4188if test "$ac_res" != no; then
     4189  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     4190
     4191fi
     4192
     4193{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4194echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    35954195if test "${ac_cv_header_stdc+set}" = set; then
    35964196  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    36164216_ACEOF
    36174217rm -f conftest.$ac_objext
    3618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3619   (eval $ac_compile) 2>conftest.er1
     4218if { (ac_try="$ac_compile"
     4219case "(($ac_try" in
     4220  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4221  *) ac_try_echo=$ac_try;;
     4222esac
     4223eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4224  (eval "$ac_compile") 2>conftest.er1
    36204225  ac_status=$?
    36214226  grep -v '^ *+' conftest.er1 >conftest.err
     
    36234228  cat conftest.err >&5
    36244229  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3625   (exit $ac_status); } &&
    3626      { ac_try='test -z "$ac_c_werror_flag"
    3627              || test ! -s conftest.err'
    3628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3629   (eval $ac_try) 2>&5
    3630   ac_status=$?
    3631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3632   (exit $ac_status); }; } &&
    3633      { ac_try='test -s conftest.$ac_objext'
    3634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3635   (eval $ac_try) 2>&5
    3636   ac_status=$?
    3637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3638   (exit $ac_status); }; }; then
     4230  (exit $ac_status); } && {
     4231     test -z "$ac_c_werror_flag" ||
     4232     test ! -s conftest.err
     4233       } && test -s conftest.$ac_objext; then
    36394234  ac_cv_header_stdc=yes
    36404235else
     
    36424237sed 's/^/| /' conftest.$ac_ext >&5
    36434238
    3644 ac_cv_header_stdc=no
    3645 fi
    3646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4239    ac_cv_header_stdc=no
     4240fi
     4241
     4242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36474243
    36484244if test $ac_cv_header_stdc = yes; then
     
    37004296/* end confdefs.h.  */
    37014297#include <ctype.h>
     4298#include <stdlib.h>
    37024299#if ((' ' & 0x0FF) == 0x020)
    37034300# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    37194316    if (XOR (islower (i), ISLOWER (i))
    37204317    || toupper (i) != TOUPPER (i))
    3721       exit(2);
    3722   exit (0);
     4318      return 2;
     4319  return 0;
    37234320}
    37244321_ACEOF
    37254322rm -f conftest$ac_exeext
    3726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3727   (eval $ac_link) 2>&5
     4323if { (ac_try="$ac_link"
     4324case "(($ac_try" in
     4325  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4326  *) ac_try_echo=$ac_try;;
     4327esac
     4328eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4329  (eval "$ac_link") 2>&5
    37284330  ac_status=$?
    37294331  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37304332  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3732   (eval $ac_try) 2>&5
     4333  { (case "(($ac_try" in
     4334  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4335  *) ac_try_echo=$ac_try;;
     4336esac
     4337eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4338  (eval "$ac_try") 2>&5
    37334339  ac_status=$?
    37344340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    37434349ac_cv_header_stdc=no
    37444350fi
    3745 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3746 fi
    3747 fi
    3748 fi
    3749 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3750 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4351rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4352fi
     4353
     4354
     4355fi
     4356fi
     4357{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4358echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    37514359if test $ac_cv_header_stdc = yes; then
    37524360
     
    37714379do
    37724380as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3773 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4381{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4382echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4383if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    37764384  echo $ECHO_N "(cached) $ECHO_C" >&6
    37774385else
     
    37874395_ACEOF
    37884396rm -f conftest.$ac_objext
    3789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3790   (eval $ac_compile) 2>conftest.er1
     4397if { (ac_try="$ac_compile"
     4398case "(($ac_try" in
     4399  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4400  *) ac_try_echo=$ac_try;;
     4401esac
     4402eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4403  (eval "$ac_compile") 2>conftest.er1
    37914404  ac_status=$?
    37924405  grep -v '^ *+' conftest.er1 >conftest.err
     
    37944407  cat conftest.err >&5
    37954408  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3796   (exit $ac_status); } &&
    3797      { ac_try='test -z "$ac_c_werror_flag"
    3798              || test ! -s conftest.err'
    3799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3800   (eval $ac_try) 2>&5
    3801   ac_status=$?
    3802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3803   (exit $ac_status); }; } &&
    3804      { ac_try='test -s conftest.$ac_objext'
    3805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3806   (eval $ac_try) 2>&5
    3807   ac_status=$?
    3808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3809   (exit $ac_status); }; }; then
     4409  (exit $ac_status); } && {
     4410     test -z "$ac_c_werror_flag" ||
     4411     test ! -s conftest.err
     4412       } && test -s conftest.$ac_objext; then
    38104413  eval "$as_ac_Header=yes"
    38114414else
     
    38134416sed 's/^/| /' conftest.$ac_ext >&5
    38144417
    3815 eval "$as_ac_Header=no"
    3816 fi
    3817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3818 fi
    3819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4418    eval "$as_ac_Header=no"
     4419fi
     4420
     4421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4422fi
     4423ac_res=`eval echo '${'$as_ac_Header'}'`
     4424           { echo "$as_me:$LINENO: result: $ac_res" >&5
     4425echo "${ECHO_T}$ac_res" >&6; }
    38214426if test `eval echo '${'$as_ac_Header'}'` = yes; then
    38224427  cat >>confdefs.h <<_ACEOF
     
    38304435
    38314436if test "${ac_cv_header_minix_config_h+set}" = set; then
    3832   echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3833 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4437  { echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4438echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    38344439if test "${ac_cv_header_minix_config_h+set}" = set; then
    38354440  echo $ECHO_N "(cached) $ECHO_C" >&6
    38364441fi
    3837 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3838 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4442{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4443echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    38394444else
    38404445  # Is the header compilable?
    3841 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    3842 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     4446{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4447echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
    38434448cat >conftest.$ac_ext <<_ACEOF
    38444449/* confdefs.h.  */
     
    38514456_ACEOF
    38524457rm -f conftest.$ac_objext
    3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3854   (eval $ac_compile) 2>conftest.er1
     4458if { (ac_try="$ac_compile"
     4459case "(($ac_try" in
     4460  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4461  *) ac_try_echo=$ac_try;;
     4462esac
     4463eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4464  (eval "$ac_compile") 2>conftest.er1
    38554465  ac_status=$?
    38564466  grep -v '^ *+' conftest.er1 >conftest.err
     
    38584468  cat conftest.err >&5
    38594469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3860   (exit $ac_status); } &&
    3861      { ac_try='test -z "$ac_c_werror_flag"
    3862              || test ! -s conftest.err'
    3863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3864   (eval $ac_try) 2>&5
    3865   ac_status=$?
    3866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3867   (exit $ac_status); }; } &&
    3868      { ac_try='test -s conftest.$ac_objext'
    3869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3870   (eval $ac_try) 2>&5
    3871   ac_status=$?
    3872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3873   (exit $ac_status); }; }; then
     4470  (exit $ac_status); } && {
     4471     test -z "$ac_c_werror_flag" ||
     4472     test ! -s conftest.err
     4473       } && test -s conftest.$ac_objext; then
    38744474  ac_header_compiler=yes
    38754475else
     
    38774477sed 's/^/| /' conftest.$ac_ext >&5
    38784478
    3879 ac_header_compiler=no
    3880 fi
    3881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3883 echo "${ECHO_T}$ac_header_compiler" >&6
     4479    ac_header_compiler=no
     4480fi
     4481
     4482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4483{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4484echo "${ECHO_T}$ac_header_compiler" >&6; }
    38844485
    38854486# Is the header present?
    3886 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    3887 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     4487{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4488echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
    38884489cat >conftest.$ac_ext <<_ACEOF
    38894490/* confdefs.h.  */
     
    38944495#include <minix/config.h>
    38954496_ACEOF
    3896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3897   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4497if { (ac_try="$ac_cpp conftest.$ac_ext"
     4498case "(($ac_try" in
     4499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4500  *) ac_try_echo=$ac_try;;
     4501esac
     4502eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4503  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    38984504  ac_status=$?
    38994505  grep -v '^ *+' conftest.er1 >conftest.err
     
    39014507  cat conftest.err >&5
    39024508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3903   (exit $ac_status); } >/dev/null; then
    3904   if test -s conftest.err; then
    3905     ac_cpp_err=$ac_c_preproc_warn_flag
    3906     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3907   else
    3908     ac_cpp_err=
    3909   fi
    3910 else
    3911   ac_cpp_err=yes
    3912 fi
    3913 if test -z "$ac_cpp_err"; then
     4509  (exit $ac_status); } >/dev/null && {
     4510     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4511     test ! -s conftest.err
     4512       }; then
    39144513  ac_header_preproc=yes
    39154514else
     
    39194518  ac_header_preproc=no
    39204519fi
     4520
    39214521rm -f conftest.err conftest.$ac_ext
    3922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3923 echo "${ECHO_T}$ac_header_preproc" >&6
     4522{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4523echo "${ECHO_T}$ac_header_preproc" >&6; }
    39244524
    39254525# So?  What about this header?
     
    39454545    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    39464546echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    3947     (
    3948       cat <<\_ASBOX
    3949 ## ------------------------------------------ ##
    3950 ## Report this to the AC_PACKAGE_NAME lists.  ##
    3951 ## ------------------------------------------ ##
    3952 _ASBOX
    3953     ) |
    3954       sed "s/^/$as_me: WARNING:     /" >&2
     4547
    39554548    ;;
    39564549esac
    3957 echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3958 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4550{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4551echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    39594552if test "${ac_cv_header_minix_config_h+set}" = set; then
    39604553  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    39624555  ac_cv_header_minix_config_h=$ac_header_preproc
    39634556fi
    3964 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3965 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4557{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4558echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    39664559
    39674560fi
     
    39914584fi
    39924585
    3993 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    3994 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     4586{ echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     4587echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
    39954588if test "${ac_cv_prog_cc_stdc+set}" = set; then
    39964589  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    40284621_ACEOF
    40294622rm -f conftest.$ac_objext
    4030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4031   (eval $ac_compile) 2>conftest.er1
     4623if { (ac_try="$ac_compile"
     4624case "(($ac_try" in
     4625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4626  *) ac_try_echo=$ac_try;;
     4627esac
     4628eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4629  (eval "$ac_compile") 2>conftest.er1
    40324630  ac_status=$?
    40334631  grep -v '^ *+' conftest.er1 >conftest.err
     
    40354633  cat conftest.err >&5
    40364634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4037   (exit $ac_status); } &&
    4038      { ac_try='test -z "$ac_c_werror_flag"
    4039              || test ! -s conftest.err'
    4040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4041   (eval $ac_try) 2>&5
    4042   ac_status=$?
    4043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4044   (exit $ac_status); }; } &&
    4045      { ac_try='test -s conftest.$ac_objext'
    4046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4047   (eval $ac_try) 2>&5
    4048   ac_status=$?
    4049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4050   (exit $ac_status); }; }; then
     4635  (exit $ac_status); } && {
     4636     test -z "$ac_c_werror_flag" ||
     4637     test ! -s conftest.err
     4638       } && test -s conftest.$ac_objext; then
    40514639  ac_cv_prog_cc_stdc="$ac_arg"; break
    40524640else
     
    40544642sed 's/^/| /' conftest.$ac_ext >&5
    40554643
    4056 fi
    4057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4644
     4645fi
     4646
     4647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    40584648done
    40594649CFLAGS="$ac_save_CFLAGS"
     
    40614651fi
    40624652
    4063 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4064 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     4653{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4654echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
    40654655case "x$ac_cv_prog_cc_stdc" in
    40664656  x|xno) ;;
     
    40694659
    40704660
    4071 echo "$as_me:$LINENO: checking for function prototypes" >&5
    4072 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     4661{ echo "$as_me:$LINENO: checking for function prototypes" >&5
     4662echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
    40734663if test "$ac_cv_prog_cc_stdc" != no; then
    4074   echo "$as_me:$LINENO: result: yes" >&5
    4075 echo "${ECHO_T}yes" >&6
     4664  { echo "$as_me:$LINENO: result: yes" >&5
     4665echo "${ECHO_T}yes" >&6; }
    40764666  cat >>confdefs.h <<\_ACEOF
    40774667#define PROTOTYPES 1
     
    40804670  U= ANSI2KNR=
    40814671else
    4082   echo "$as_me:$LINENO: result: no" >&5
    4083 echo "${ECHO_T}no" >&6
     4672  { echo "$as_me:$LINENO: result: no" >&5
     4673echo "${ECHO_T}no" >&6; }
    40844674  U=_ ANSI2KNR=ansi2knr
    40854675fi
    40864676
    4087 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4088 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     4677{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4678echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
    40894679if test "${ac_cv_c_const+set}" = set; then
    40904680  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    41044694  /* Ultrix mips cc rejects this.  */
    41054695  typedef int charset[2];
    4106   const charset x;
     4696  const charset cs;
    41074697  /* SunOS 4.1.1 cc rejects this.  */
    4108   char const *const *ccp;
    4109   char **p;
     4698  char const *const *pcpcc;
     4699  char **ppc;
    41104700  /* NEC SVR4.0.2 mips cc rejects this.  */
    41114701  struct point {int x, y;};
     
    41164706     expression */
    41174707  const char *g = "string";
    4118   ccp = &g + (g ? g-g : 0);
     4708  pcpcc = &g + (g ? g-g : 0);
    41194709  /* HPUX 7.0 cc rejects these. */
    4120   ++ccp;
    4121   p = (char**) ccp;
    4122   ccp = (char const *const *) p;
     4710  ++pcpcc;
     4711  ppc = (char**) pcpcc;
     4712  pcpcc = (char const *const *) ppc;
    41234713  { /* SCO 3.2v4 cc rejects this.  */
    41244714    char *t;
     
    41264716
    41274717    *t++ = 0;
     4718    if (s) return 0;
    41284719  }
    41294720  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    41444735  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    41454736    const int foo = 10;
     4737    if (!foo) return 0;
    41464738  }
     4739  return !cs[0] && !zero.x;
    41474740#endif
    41484741
     
    41524745_ACEOF
    41534746rm -f conftest.$ac_objext
    4154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4155   (eval $ac_compile) 2>conftest.er1
     4747if { (ac_try="$ac_compile"
     4748case "(($ac_try" in
     4749  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4750  *) ac_try_echo=$ac_try;;
     4751esac
     4752eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4753  (eval "$ac_compile") 2>conftest.er1
    41564754  ac_status=$?
    41574755  grep -v '^ *+' conftest.er1 >conftest.err
     
    41594757  cat conftest.err >&5
    41604758  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4161   (exit $ac_status); } &&
    4162      { ac_try='test -z "$ac_c_werror_flag"
    4163              || test ! -s conftest.err'
    4164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4165   (eval $ac_try) 2>&5
    4166   ac_status=$?
    4167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4168   (exit $ac_status); }; } &&
    4169      { ac_try='test -s conftest.$ac_objext'
    4170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4171   (eval $ac_try) 2>&5
    4172   ac_status=$?
    4173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4174   (exit $ac_status); }; }; then
     4759  (exit $ac_status); } && {
     4760     test -z "$ac_c_werror_flag" ||
     4761     test ! -s conftest.err
     4762       } && test -s conftest.$ac_objext; then
    41754763  ac_cv_c_const=yes
    41764764else
     
    41784766sed 's/^/| /' conftest.$ac_ext >&5
    41794767
    4180 ac_cv_c_const=no
    4181 fi
    4182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4183 fi
    4184 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4185 echo "${ECHO_T}$ac_cv_c_const" >&6
     4768    ac_cv_c_const=no
     4769fi
     4770
     4771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4772fi
     4773{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4774echo "${ECHO_T}$ac_cv_c_const" >&6; }
    41864775if test $ac_cv_c_const = no; then
    41874776
     
    41924781fi
    41934782
    4194 echo "$as_me:$LINENO: checking for off_t" >&5
    4195 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     4783{ echo "$as_me:$LINENO: checking for off_t" >&5
     4784echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
    41964785if test "${ac_cv_type_off_t+set}" = set; then
    41974786  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42044793/* end confdefs.h.  */
    42054794$ac_includes_default
     4795typedef off_t ac__type_new_;
    42064796int
    42074797main ()
    42084798{
    4209 if ((off_t *) 0)
     4799if ((ac__type_new_ *) 0)
    42104800  return 0;
    4211 if (sizeof (off_t))
     4801if (sizeof (ac__type_new_))
    42124802  return 0;
    42134803  ;
     
    42164806_ACEOF
    42174807rm -f conftest.$ac_objext
    4218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4219   (eval $ac_compile) 2>conftest.er1
     4808if { (ac_try="$ac_compile"
     4809case "(($ac_try" in
     4810  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4811  *) ac_try_echo=$ac_try;;
     4812esac
     4813eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4814  (eval "$ac_compile") 2>conftest.er1
    42204815  ac_status=$?
    42214816  grep -v '^ *+' conftest.er1 >conftest.err
     
    42234818  cat conftest.err >&5
    42244819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4225   (exit $ac_status); } &&
    4226      { ac_try='test -z "$ac_c_werror_flag"
    4227              || test ! -s conftest.err'
    4228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4229   (eval $ac_try) 2>&5
    4230   ac_status=$?
    4231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4232   (exit $ac_status); }; } &&
    4233      { ac_try='test -s conftest.$ac_objext'
    4234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4235   (eval $ac_try) 2>&5
    4236   ac_status=$?
    4237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4238   (exit $ac_status); }; }; then
     4820  (exit $ac_status); } && {
     4821     test -z "$ac_c_werror_flag" ||
     4822     test ! -s conftest.err
     4823       } && test -s conftest.$ac_objext; then
    42394824  ac_cv_type_off_t=yes
    42404825else
     
    42424827sed 's/^/| /' conftest.$ac_ext >&5
    42434828
    4244 ac_cv_type_off_t=no
    4245 fi
    4246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4247 fi
    4248 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4249 echo "${ECHO_T}$ac_cv_type_off_t" >&6
     4829    ac_cv_type_off_t=no
     4830fi
     4831
     4832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4833fi
     4834{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4835echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
    42504836if test $ac_cv_type_off_t = yes; then
    42514837  :
     
    42534839
    42544840cat >>confdefs.h <<_ACEOF
    4255 #define off_t long
    4256 _ACEOF
    4257 
    4258 fi
    4259 
    4260 echo "$as_me:$LINENO: checking for size_t" >&5
    4261 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
     4841#define off_t long int
     4842_ACEOF
     4843
     4844fi
     4845
     4846{ echo "$as_me:$LINENO: checking for size_t" >&5
     4847echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
    42624848if test "${ac_cv_type_size_t+set}" = set; then
    42634849  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42704856/* end confdefs.h.  */
    42714857$ac_includes_default
     4858typedef size_t ac__type_new_;
    42724859int
    42734860main ()
    42744861{
    4275 if ((size_t *) 0)
     4862if ((ac__type_new_ *) 0)
    42764863  return 0;
    4277 if (sizeof (size_t))
     4864if (sizeof (ac__type_new_))
    42784865  return 0;
    42794866  ;
     
    42824869_ACEOF
    42834870rm -f conftest.$ac_objext
    4284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4285   (eval $ac_compile) 2>conftest.er1
     4871if { (ac_try="$ac_compile"
     4872case "(($ac_try" in
     4873  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4874  *) ac_try_echo=$ac_try;;
     4875esac
     4876eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4877  (eval "$ac_compile") 2>conftest.er1
    42864878  ac_status=$?
    42874879  grep -v '^ *+' conftest.er1 >conftest.err
     
    42894881  cat conftest.err >&5
    42904882  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4291   (exit $ac_status); } &&
    4292      { ac_try='test -z "$ac_c_werror_flag"
    4293              || test ! -s conftest.err'
    4294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4295   (eval $ac_try) 2>&5
    4296   ac_status=$?
    4297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4298   (exit $ac_status); }; } &&
    4299      { ac_try='test -s conftest.$ac_objext'
    4300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4301   (eval $ac_try) 2>&5
    4302   ac_status=$?
    4303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4304   (exit $ac_status); }; }; then
     4883  (exit $ac_status); } && {
     4884     test -z "$ac_c_werror_flag" ||
     4885     test ! -s conftest.err
     4886       } && test -s conftest.$ac_objext; then
    43054887  ac_cv_type_size_t=yes
    43064888else
     
    43084890sed 's/^/| /' conftest.$ac_ext >&5
    43094891
    4310 ac_cv_type_size_t=no
    4311 fi
    4312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4313 fi
    4314 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4315 echo "${ECHO_T}$ac_cv_type_size_t" >&6
     4892    ac_cv_type_size_t=no
     4893fi
     4894
     4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4896fi
     4897{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4898echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
    43164899if test $ac_cv_type_size_t = yes; then
    43174900  :
     
    43194902
    43204903cat >>confdefs.h <<_ACEOF
    4321 #define size_t unsigned
    4322 _ACEOF
    4323 
    4324 fi
    4325 
    4326 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4327 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     4904#define size_t unsigned int
     4905_ACEOF
     4906
     4907fi
     4908
     4909{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4910echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
    43284911if test "${ac_cv_header_time+set}" = set; then
    43294912  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    43494932_ACEOF
    43504933rm -f conftest.$ac_objext
    4351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4352   (eval $ac_compile) 2>conftest.er1
     4934if { (ac_try="$ac_compile"
     4935case "(($ac_try" in
     4936  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4937  *) ac_try_echo=$ac_try;;
     4938esac
     4939eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4940  (eval "$ac_compile") 2>conftest.er1
    43534941  ac_status=$?
    43544942  grep -v '^ *+' conftest.er1 >conftest.err
     
    43564944  cat conftest.err >&5
    43574945  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4358   (exit $ac_status); } &&
    4359      { ac_try='test -z "$ac_c_werror_flag"
    4360              || test ! -s conftest.err'
    4361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4362   (eval $ac_try) 2>&5
    4363   ac_status=$?
    4364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4365   (exit $ac_status); }; } &&
    4366      { ac_try='test -s conftest.$ac_objext'
    4367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4368   (eval $ac_try) 2>&5
    4369   ac_status=$?
    4370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4371   (exit $ac_status); }; }; then
     4946  (exit $ac_status); } && {
     4947     test -z "$ac_c_werror_flag" ||
     4948     test ! -s conftest.err
     4949       } && test -s conftest.$ac_objext; then
    43724950  ac_cv_header_time=yes
    43734951else
     
    43754953sed 's/^/| /' conftest.$ac_ext >&5
    43764954
    4377 ac_cv_header_time=no
    4378 fi
    4379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4380 fi
    4381 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4382 echo "${ECHO_T}$ac_cv_header_time" >&6
     4955    ac_cv_header_time=no
     4956fi
     4957
     4958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4959fi
     4960{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     4961echo "${ECHO_T}$ac_cv_header_time" >&6; }
    43834962if test $ac_cv_header_time = yes; then
    43844963
     
    43894968fi
    43904969
    4391 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4392 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     4970{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     4971echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
    43934972if test "${ac_cv_struct_tm+set}" = set; then
    43944973  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    44064985main ()
    44074986{
    4408 struct tm *tp; tp->tm_sec;
     4987struct tm tm;
     4988                     int *p = &tm.tm_sec;
     4989                     return !p;
    44094990  ;
    44104991  return 0;
     
    44124993_ACEOF
    44134994rm -f conftest.$ac_objext
    4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4415   (eval $ac_compile) 2>conftest.er1
     4995if { (ac_try="$ac_compile"
     4996case "(($ac_try" in
     4997  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4998  *) ac_try_echo=$ac_try;;
     4999esac
     5000eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5001  (eval "$ac_compile") 2>conftest.er1
    44165002  ac_status=$?
    44175003  grep -v '^ *+' conftest.er1 >conftest.err
     
    44195005  cat conftest.err >&5
    44205006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4421   (exit $ac_status); } &&
    4422      { ac_try='test -z "$ac_c_werror_flag"
    4423              || test ! -s conftest.err'
    4424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4425   (eval $ac_try) 2>&5
    4426   ac_status=$?
    4427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4428   (exit $ac_status); }; } &&
    4429      { ac_try='test -s conftest.$ac_objext'
    4430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4431   (eval $ac_try) 2>&5
    4432   ac_status=$?
    4433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4434   (exit $ac_status); }; }; then
     5007  (exit $ac_status); } && {
     5008     test -z "$ac_c_werror_flag" ||
     5009     test ! -s conftest.err
     5010       } && test -s conftest.$ac_objext; then
    44355011  ac_cv_struct_tm=time.h
    44365012else
     
    44385014sed 's/^/| /' conftest.$ac_ext >&5
    44395015
    4440 ac_cv_struct_tm=sys/time.h
    4441 fi
    4442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4443 fi
    4444 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    4445 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     5016    ac_cv_struct_tm=sys/time.h
     5017fi
     5018
     5019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5020fi
     5021{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     5022echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
    44465023if test $ac_cv_struct_tm = sys/time.h; then
    44475024
     
    44715048_ACEOF
    44725049rm -f conftest.$ac_objext
    4473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4474   (eval $ac_compile) 2>conftest.er1
     5050if { (ac_try="$ac_compile"
     5051case "(($ac_try" in
     5052  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5053  *) ac_try_echo=$ac_try;;
     5054esac
     5055eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5056  (eval "$ac_compile") 2>conftest.er1
    44755057  ac_status=$?
    44765058  grep -v '^ *+' conftest.er1 >conftest.err
     
    44785060  cat conftest.err >&5
    44795061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4480   (exit $ac_status); } &&
    4481      { ac_try='test -z "$ac_c_werror_flag"
    4482              || test ! -s conftest.err'
    4483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4484   (eval $ac_try) 2>&5
    4485   ac_status=$?
    4486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4487   (exit $ac_status); }; } &&
    4488      { ac_try='test -s conftest.$ac_objext'
    4489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4490   (eval $ac_try) 2>&5
    4491   ac_status=$?
    4492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4493   (exit $ac_status); }; }; then
     5062  (exit $ac_status); } && {
     5063     test -z "$ac_c_werror_flag" ||
     5064     test ! -s conftest.err
     5065       } && test -s conftest.$ac_objext; then
    44945066  :
    44955067else
     
    44975069sed 's/^/| /' conftest.$ac_ext >&5
    44985070
    4499 CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    4500 fi
    4501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4502 fi
    4503 
    4504 
    4505 
    4506 echo "$as_me:$LINENO: checking for main in -lg" >&5
    4507 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     5071    CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     5072fi
     5073
     5074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5075fi
     5076
     5077
     5078
     5079{ echo "$as_me:$LINENO: checking for main in -lg" >&5
     5080echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
    45085081if test "${ac_cv_lib_g_main+set}" = set; then
    45095082  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45225095main ()
    45235096{
    4524 main ();
     5097return main ();
    45255098  ;
    45265099  return 0;
     
    45285101_ACEOF
    45295102rm -f conftest.$ac_objext conftest$ac_exeext
    4530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4531   (eval $ac_link) 2>conftest.er1
     5103if { (ac_try="$ac_link"
     5104case "(($ac_try" in
     5105  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5106  *) ac_try_echo=$ac_try;;
     5107esac
     5108eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5109  (eval "$ac_link") 2>conftest.er1
    45325110  ac_status=$?
    45335111  grep -v '^ *+' conftest.er1 >conftest.err
     
    45355113  cat conftest.err >&5
    45365114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4537   (exit $ac_status); } &&
    4538      { ac_try='test -z "$ac_c_werror_flag"
    4539              || test ! -s conftest.err'
    4540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4541   (eval $ac_try) 2>&5
    4542   ac_status=$?
    4543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4544   (exit $ac_status); }; } &&
    4545      { ac_try='test -s conftest$ac_exeext'
    4546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4547   (eval $ac_try) 2>&5
    4548   ac_status=$?
    4549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4550   (exit $ac_status); }; }; then
     5115  (exit $ac_status); } && {
     5116     test -z "$ac_c_werror_flag" ||
     5117     test ! -s conftest.err
     5118       } && test -s conftest$ac_exeext &&
     5119       $as_test_x conftest$ac_exeext; then
    45515120  ac_cv_lib_g_main=yes
    45525121else
     
    45545123sed 's/^/| /' conftest.$ac_ext >&5
    45555124
    4556 ac_cv_lib_g_main=no
    4557 fi
    4558 rm -f conftest.err conftest.$ac_objext \
     5125    ac_cv_lib_g_main=no
     5126fi
     5127
     5128rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    45595129      conftest$ac_exeext conftest.$ac_ext
    45605130LIBS=$ac_check_lib_save_LIBS
    45615131fi
    4562 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    4563 echo "${ECHO_T}$ac_cv_lib_g_main" >&6
     5132{ echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     5133echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
    45645134if test $ac_cv_lib_g_main = yes; then
    45655135  cat >>confdefs.h <<_ACEOF
     
    45735143
    45745144
    4575 echo "$as_me:$LINENO: checking for main in -lm" >&5
    4576 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     5145{ echo "$as_me:$LINENO: checking for main in -lm" >&5
     5146echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
    45775147if test "${ac_cv_lib_m_main+set}" = set; then
    45785148  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45915161main ()
    45925162{
    4593 main ();
     5163return main ();
    45945164  ;
    45955165  return 0;
     
    45975167_ACEOF
    45985168rm -f conftest.$ac_objext conftest$ac_exeext
    4599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4600   (eval $ac_link) 2>conftest.er1
     5169if { (ac_try="$ac_link"
     5170case "(($ac_try" in
     5171  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5172  *) ac_try_echo=$ac_try;;
     5173esac
     5174eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5175  (eval "$ac_link") 2>conftest.er1
    46015176  ac_status=$?
    46025177  grep -v '^ *+' conftest.er1 >conftest.err
     
    46045179  cat conftest.err >&5
    46055180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4606   (exit $ac_status); } &&
    4607      { ac_try='test -z "$ac_c_werror_flag"
    4608              || test ! -s conftest.err'
    4609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4610   (eval $ac_try) 2>&5
    4611   ac_status=$?
    4612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4613   (exit $ac_status); }; } &&
    4614      { ac_try='test -s conftest$ac_exeext'
    4615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4616   (eval $ac_try) 2>&5
    4617   ac_status=$?
    4618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4619   (exit $ac_status); }; }; then
     5181  (exit $ac_status); } && {
     5182     test -z "$ac_c_werror_flag" ||
     5183     test ! -s conftest.err
     5184       } && test -s conftest$ac_exeext &&
     5185       $as_test_x conftest$ac_exeext; then
    46205186  ac_cv_lib_m_main=yes
    46215187else
     
    46235189sed 's/^/| /' conftest.$ac_ext >&5
    46245190
    4625 ac_cv_lib_m_main=no
    4626 fi
    4627 rm -f conftest.err conftest.$ac_objext \
     5191    ac_cv_lib_m_main=no
     5192fi
     5193
     5194rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46285195      conftest$ac_exeext conftest.$ac_ext
    46295196LIBS=$ac_check_lib_save_LIBS
    46305197fi
    4631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    4632 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     5198{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     5199echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
    46335200if test $ac_cv_lib_m_main = yes; then
    46345201  cat >>confdefs.h <<_ACEOF
     
    46425209
    46435210
    4644 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    4645 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     5211{ echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     5212echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
    46465213if test "${ac_cv_lib_crypt_main+set}" = set; then
    46475214  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46605227main ()
    46615228{
    4662 main ();
     5229return main ();
    46635230  ;
    46645231  return 0;
     
    46665233_ACEOF
    46675234rm -f conftest.$ac_objext conftest$ac_exeext
    4668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4669   (eval $ac_link) 2>conftest.er1
     5235if { (ac_try="$ac_link"
     5236case "(($ac_try" in
     5237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5238  *) ac_try_echo=$ac_try;;
     5239esac
     5240eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5241  (eval "$ac_link") 2>conftest.er1
    46705242  ac_status=$?
    46715243  grep -v '^ *+' conftest.er1 >conftest.err
     
    46735245  cat conftest.err >&5
    46745246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4675   (exit $ac_status); } &&
    4676      { ac_try='test -z "$ac_c_werror_flag"
    4677              || test ! -s conftest.err'
    4678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4679   (eval $ac_try) 2>&5
    4680   ac_status=$?
    4681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4682   (exit $ac_status); }; } &&
    4683      { ac_try='test -s conftest$ac_exeext'
    4684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4685   (eval $ac_try) 2>&5
    4686   ac_status=$?
    4687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4688   (exit $ac_status); }; }; then
     5247  (exit $ac_status); } && {
     5248     test -z "$ac_c_werror_flag" ||
     5249     test ! -s conftest.err
     5250       } && test -s conftest$ac_exeext &&
     5251       $as_test_x conftest$ac_exeext; then
    46895252  ac_cv_lib_crypt_main=yes
    46905253else
     
    46925255sed 's/^/| /' conftest.$ac_ext >&5
    46935256
    4694 ac_cv_lib_crypt_main=no
    4695 fi
    4696 rm -f conftest.err conftest.$ac_objext \
     5257    ac_cv_lib_crypt_main=no
     5258fi
     5259
     5260rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46975261      conftest$ac_exeext conftest.$ac_ext
    46985262LIBS=$ac_check_lib_save_LIBS
    46995263fi
    4700 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    4701 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
     5264{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     5265echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
    47025266if test $ac_cv_lib_crypt_main = yes; then
    47035267  cat >>confdefs.h <<_ACEOF
     
    47105274ac_cv_lib_crypt=ac_cv_lib_crypt_main
    47115275
    4712 if test $ENABLE_ACCENTFOLD = 1; then
    4713 
    4714 echo "$as_me:$LINENO: checking for main in -liconv" >&5
    4715 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6
    4716 if test "${ac_cv_lib_iconv_main+set}" = set; then
    4717   echo $ECHO_N "(cached) $ECHO_C" >&6
    4718 else
    4719   ac_check_lib_save_LIBS=$LIBS
    4720 LIBS="-liconv  $LIBS"
    4721 cat >conftest.$ac_ext <<_ACEOF
    4722 /* confdefs.h.  */
    4723 _ACEOF
    4724 cat confdefs.h >>conftest.$ac_ext
    4725 cat >>conftest.$ac_ext <<_ACEOF
    4726 /* end confdefs.h.  */
    4727 
    4728 
    4729 int
    4730 main ()
    4731 {
    4732 main ();
    4733   ;
    4734   return 0;
    4735 }
    4736 _ACEOF
    4737 rm -f conftest.$ac_objext conftest$ac_exeext
    4738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4739   (eval $ac_link) 2>conftest.er1
    4740   ac_status=$?
    4741   grep -v '^ *+' conftest.er1 >conftest.err
    4742   rm -f conftest.er1
    4743   cat conftest.err >&5
    4744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4745   (exit $ac_status); } &&
    4746      { ac_try='test -z "$ac_c_werror_flag"
    4747              || test ! -s conftest.err'
    4748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4749   (eval $ac_try) 2>&5
    4750   ac_status=$?
    4751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4752   (exit $ac_status); }; } &&
    4753      { ac_try='test -s conftest$ac_exeext'
    4754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4755   (eval $ac_try) 2>&5
    4756   ac_status=$?
    4757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4758   (exit $ac_status); }; }; then
    4759   ac_cv_lib_iconv_main=yes
    4760 else
    4761   echo "$as_me: failed program was:" >&5
    4762 sed 's/^/| /' conftest.$ac_ext >&5
    4763 
    4764 ac_cv_lib_iconv_main=no
    4765 fi
    4766 rm -f conftest.err conftest.$ac_objext \
    4767       conftest$ac_exeext conftest.$ac_ext
    4768 LIBS=$ac_check_lib_save_LIBS
    4769 fi
    4770 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
    4771 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6
    4772 if test $ac_cv_lib_iconv_main = yes; then
    4773   cat >>confdefs.h <<_ACEOF
    4774 #define HAVE_LIBICONV 1
    4775 _ACEOF
    4776 
    4777   LIBS="-liconv $LIBS"
    4778 
    4779 fi
    4780 ac_cv_lib_iconv=ac_cv_lib_iconv_main
    4781 
    4782 fi
     5276#if test $ENABLE_ACCENTFOLD = 1; then
     5277#AC_HAVE_LIBRARY(iconv)
     5278#fi
    47835279
    47845280
     
    47905286for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    47915287  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    4792 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    4793 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    4794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5288{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     5289echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
     5290if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    47955291  echo $ECHO_N "(cached) $ECHO_C" >&6
    47965292else
     
    48145310_ACEOF
    48155311rm -f conftest.$ac_objext
    4816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4817   (eval $ac_compile) 2>conftest.er1
     5312if { (ac_try="$ac_compile"
     5313case "(($ac_try" in
     5314  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5315  *) ac_try_echo=$ac_try;;
     5316esac
     5317eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5318  (eval "$ac_compile") 2>conftest.er1
    48185319  ac_status=$?
    48195320  grep -v '^ *+' conftest.er1 >conftest.err
     
    48215322  cat conftest.err >&5
    48225323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4823   (exit $ac_status); } &&
    4824      { ac_try='test -z "$ac_c_werror_flag"
    4825              || test ! -s conftest.err'
    4826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4827   (eval $ac_try) 2>&5
    4828   ac_status=$?
    4829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4830   (exit $ac_status); }; } &&
    4831      { ac_try='test -s conftest.$ac_objext'
    4832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4833   (eval $ac_try) 2>&5
    4834   ac_status=$?
    4835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4836   (exit $ac_status); }; }; then
     5324  (exit $ac_status); } && {
     5325     test -z "$ac_c_werror_flag" ||
     5326     test ! -s conftest.err
     5327       } && test -s conftest.$ac_objext; then
    48375328  eval "$as_ac_Header=yes"
    48385329else
     
    48405331sed 's/^/| /' conftest.$ac_ext >&5
    48415332
    4842 eval "$as_ac_Header=no"
    4843 fi
    4844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4845 fi
    4846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5333    eval "$as_ac_Header=no"
     5334fi
     5335
     5336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5337fi
     5338ac_res=`eval echo '${'$as_ac_Header'}'`
     5339           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5340echo "${ECHO_T}$ac_res" >&6; }
    48485341if test `eval echo '${'$as_ac_Header'}'` = yes; then
    48495342  cat >>confdefs.h <<_ACEOF
     
    48575350# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    48585351if test $ac_header_dirent = dirent.h; then
    4859   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4860 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     5352  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5353echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    48615354if test "${ac_cv_search_opendir+set}" = set; then
    48625355  echo $ECHO_N "(cached) $ECHO_C" >&6
    48635356else
    48645357  ac_func_search_save_LIBS=$LIBS
    4865 ac_cv_search_opendir=no
    48665358cat >conftest.$ac_ext <<_ACEOF
    48675359/* confdefs.h.  */
     
    48715363/* end confdefs.h.  */
    48725364
    4873 /* Override any gcc2 internal prototype to avoid an error.  */
     5365/* Override any GCC internal prototype to avoid an error.
     5366   Use char because int might match the return type of a GCC
     5367   builtin and then its argument prototype would still apply.  */
    48745368#ifdef __cplusplus
    48755369extern "C"
    48765370#endif
    4877 /* We use char because int might match the return type of a gcc2
    4878    builtin and then its argument prototype would still apply.  */
    48795371char opendir ();
    48805372int
    48815373main ()
    48825374{
    4883 opendir ();
     5375return opendir ();
    48845376  ;
    48855377  return 0;
    48865378}
    48875379_ACEOF
    4888 rm -f conftest.$ac_objext conftest$ac_exeext
    4889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4890   (eval $ac_link) 2>conftest.er1
     5380for ac_lib in '' dir; do
     5381  if test -z "$ac_lib"; then
     5382    ac_res="none required"
     5383  else
     5384    ac_res=-l$ac_lib
     5385    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5386  fi
     5387  rm -f conftest.$ac_objext conftest$ac_exeext
     5388if { (ac_try="$ac_link"
     5389case "(($ac_try" in
     5390  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5391  *) ac_try_echo=$ac_try;;
     5392esac
     5393eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5394  (eval "$ac_link") 2>conftest.er1
    48915395  ac_status=$?
    48925396  grep -v '^ *+' conftest.er1 >conftest.err
     
    48945398  cat conftest.err >&5
    48955399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4896   (exit $ac_status); } &&
    4897      { ac_try='test -z "$ac_c_werror_flag"
    4898              || test ! -s conftest.err'
    4899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4900   (eval $ac_try) 2>&5
    4901   ac_status=$?
    4902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4903   (exit $ac_status); }; } &&
    4904      { ac_try='test -s conftest$ac_exeext'
    4905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4906   (eval $ac_try) 2>&5
    4907   ac_status=$?
    4908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4909   (exit $ac_status); }; }; then
    4910   ac_cv_search_opendir="none required"
     5400  (exit $ac_status); } && {
     5401     test -z "$ac_c_werror_flag" ||
     5402     test ! -s conftest.err
     5403       } && test -s conftest$ac_exeext &&
     5404       $as_test_x conftest$ac_exeext; then
     5405  ac_cv_search_opendir=$ac_res
    49115406else
    49125407  echo "$as_me: failed program was:" >&5
    49135408sed 's/^/| /' conftest.$ac_ext >&5
    49145409
    4915 fi
    4916 rm -f conftest.err conftest.$ac_objext \
    4917       conftest$ac_exeext conftest.$ac_ext
    4918 if test "$ac_cv_search_opendir" = no; then
    4919   for ac_lib in dir; do
    4920     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4921     cat >conftest.$ac_ext <<_ACEOF
     5410
     5411fi
     5412
     5413rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5414      conftest$ac_exeext
     5415  if test "${ac_cv_search_opendir+set}" = set; then
     5416  break
     5417fi
     5418done
     5419if test "${ac_cv_search_opendir+set}" = set; then
     5420  :
     5421else
     5422  ac_cv_search_opendir=no
     5423fi
     5424rm conftest.$ac_ext
     5425LIBS=$ac_func_search_save_LIBS
     5426fi
     5427{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5428echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5429ac_res=$ac_cv_search_opendir
     5430if test "$ac_res" != no; then
     5431  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5432
     5433fi
     5434
     5435else
     5436  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5437echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
     5438if test "${ac_cv_search_opendir+set}" = set; then
     5439  echo $ECHO_N "(cached) $ECHO_C" >&6
     5440else
     5441  ac_func_search_save_LIBS=$LIBS
     5442cat >conftest.$ac_ext <<_ACEOF
    49225443/* confdefs.h.  */
    49235444_ACEOF
     
    49265447/* end confdefs.h.  */
    49275448
    4928 /* Override any gcc2 internal prototype to avoid an error.  */
     5449/* Override any GCC internal prototype to avoid an error.
     5450   Use char because int might match the return type of a GCC
     5451   builtin and then its argument prototype would still apply.  */
    49295452#ifdef __cplusplus
    49305453extern "C"
    49315454#endif
    4932 /* We use char because int might match the return type of a gcc2
    4933    builtin and then its argument prototype would still apply.  */
    49345455char opendir ();
    49355456int
    49365457main ()
    49375458{
    4938 opendir ();
     5459return opendir ();
    49395460  ;
    49405461  return 0;
    49415462}
    49425463_ACEOF
    4943 rm -f conftest.$ac_objext conftest$ac_exeext
    4944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4945   (eval $ac_link) 2>conftest.er1
     5464for ac_lib in '' x; do
     5465  if test -z "$ac_lib"; then
     5466    ac_res="none required"
     5467  else
     5468    ac_res=-l$ac_lib
     5469    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5470  fi
     5471  rm -f conftest.$ac_objext conftest$ac_exeext
     5472if { (ac_try="$ac_link"
     5473case "(($ac_try" in
     5474  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5475  *) ac_try_echo=$ac_try;;
     5476esac
     5477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5478  (eval "$ac_link") 2>conftest.er1
    49465479  ac_status=$?
    49475480  grep -v '^ *+' conftest.er1 >conftest.err
     
    49495482  cat conftest.err >&5
    49505483  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4951   (exit $ac_status); } &&
    4952      { ac_try='test -z "$ac_c_werror_flag"
    4953              || test ! -s conftest.err'
    4954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4955   (eval $ac_try) 2>&5
    4956   ac_status=$?
    4957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4958   (exit $ac_status); }; } &&
    4959      { ac_try='test -s conftest$ac_exeext'
    4960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4961   (eval $ac_try) 2>&5
    4962   ac_status=$?
    4963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4964   (exit $ac_status); }; }; then
    4965   ac_cv_search_opendir="-l$ac_lib"
    4966 break
     5484  (exit $ac_status); } && {
     5485     test -z "$ac_c_werror_flag" ||
     5486     test ! -s conftest.err
     5487       } && test -s conftest$ac_exeext &&
     5488       $as_test_x conftest$ac_exeext; then
     5489  ac_cv_search_opendir=$ac_res
    49675490else
    49685491  echo "$as_me: failed program was:" >&5
    49695492sed 's/^/| /' conftest.$ac_ext >&5
    49705493
    4971 fi
    4972 rm -f conftest.err conftest.$ac_objext \
    4973       conftest$ac_exeext conftest.$ac_ext
    4974   done
    4975 fi
     5494
     5495fi
     5496
     5497rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5498      conftest$ac_exeext
     5499  if test "${ac_cv_search_opendir+set}" = set; then
     5500  break
     5501fi
     5502done
     5503if test "${ac_cv_search_opendir+set}" = set; then
     5504  :
     5505else
     5506  ac_cv_search_opendir=no
     5507fi
     5508rm conftest.$ac_ext
    49765509LIBS=$ac_func_search_save_LIBS
    49775510fi
    4978 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    4979 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    4980 if test "$ac_cv_search_opendir" != no; then
    4981   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    4982 
    4983 fi
    4984 
    4985 else
    4986   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4987 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    4988 if test "${ac_cv_search_opendir+set}" = set; then
    4989   echo $ECHO_N "(cached) $ECHO_C" >&6
    4990 else
    4991   ac_func_search_save_LIBS=$LIBS
    4992 ac_cv_search_opendir=no
    4993 cat >conftest.$ac_ext <<_ACEOF
    4994 /* confdefs.h.  */
    4995 _ACEOF
    4996 cat confdefs.h >>conftest.$ac_ext
    4997 cat >>conftest.$ac_ext <<_ACEOF
    4998 /* end confdefs.h.  */
    4999 
    5000 /* Override any gcc2 internal prototype to avoid an error.  */
    5001 #ifdef __cplusplus
    5002 extern "C"
    5003 #endif
    5004 /* We use char because int might match the return type of a gcc2
    5005    builtin and then its argument prototype would still apply.  */
    5006 char opendir ();
    5007 int
    5008 main ()
    5009 {
    5010 opendir ();
    5011   ;
    5012   return 0;
    5013 }
    5014 _ACEOF
    5015 rm -f conftest.$ac_objext conftest$ac_exeext
    5016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5017   (eval $ac_link) 2>conftest.er1
    5018   ac_status=$?
    5019   grep -v '^ *+' conftest.er1 >conftest.err
    5020   rm -f conftest.er1
    5021   cat conftest.err >&5
    5022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5023   (exit $ac_status); } &&
    5024      { ac_try='test -z "$ac_c_werror_flag"
    5025              || test ! -s conftest.err'
    5026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5027   (eval $ac_try) 2>&5
    5028   ac_status=$?
    5029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5030   (exit $ac_status); }; } &&
    5031      { ac_try='test -s conftest$ac_exeext'
    5032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5033   (eval $ac_try) 2>&5
    5034   ac_status=$?
    5035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5036   (exit $ac_status); }; }; then
    5037   ac_cv_search_opendir="none required"
    5038 else
    5039   echo "$as_me: failed program was:" >&5
    5040 sed 's/^/| /' conftest.$ac_ext >&5
    5041 
    5042 fi
    5043 rm -f conftest.err conftest.$ac_objext \
    5044       conftest$ac_exeext conftest.$ac_ext
    5045 if test "$ac_cv_search_opendir" = no; then
    5046   for ac_lib in x; do
    5047     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5048     cat >conftest.$ac_ext <<_ACEOF
    5049 /* confdefs.h.  */
    5050 _ACEOF
    5051 cat confdefs.h >>conftest.$ac_ext
    5052 cat >>conftest.$ac_ext <<_ACEOF
    5053 /* end confdefs.h.  */
    5054 
    5055 /* Override any gcc2 internal prototype to avoid an error.  */
    5056 #ifdef __cplusplus
    5057 extern "C"
    5058 #endif
    5059 /* We use char because int might match the return type of a gcc2
    5060    builtin and then its argument prototype would still apply.  */
    5061 char opendir ();
    5062 int
    5063 main ()
    5064 {
    5065 opendir ();
    5066   ;
    5067   return 0;
    5068 }
    5069 _ACEOF
    5070 rm -f conftest.$ac_objext conftest$ac_exeext
    5071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5072   (eval $ac_link) 2>conftest.er1
    5073   ac_status=$?
    5074   grep -v '^ *+' conftest.er1 >conftest.err
    5075   rm -f conftest.er1
    5076   cat conftest.err >&5
    5077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5078   (exit $ac_status); } &&
    5079      { ac_try='test -z "$ac_c_werror_flag"
    5080              || test ! -s conftest.err'
    5081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5082   (eval $ac_try) 2>&5
    5083   ac_status=$?
    5084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5085   (exit $ac_status); }; } &&
    5086      { ac_try='test -s conftest$ac_exeext'
    5087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5088   (eval $ac_try) 2>&5
    5089   ac_status=$?
    5090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5091   (exit $ac_status); }; }; then
    5092   ac_cv_search_opendir="-l$ac_lib"
    5093 break
    5094 else
    5095   echo "$as_me: failed program was:" >&5
    5096 sed 's/^/| /' conftest.$ac_ext >&5
    5097 
    5098 fi
    5099 rm -f conftest.err conftest.$ac_objext \
    5100       conftest$ac_exeext conftest.$ac_ext
    5101   done
    5102 fi
    5103 LIBS=$ac_func_search_save_LIBS
    5104 fi
    5105 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5106 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5107 if test "$ac_cv_search_opendir" != no; then
    5108   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5109 
    5110 fi
    5111 
    5112 fi
    5113 
    5114 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5115 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     5511{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5512echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5513ac_res=$ac_cv_search_opendir
     5514if test "$ac_res" != no; then
     5515  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5516
     5517fi
     5518
     5519fi
     5520
     5521{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5522echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    51165523if test "${ac_cv_header_stdc+set}" = set; then
    51175524  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51375544_ACEOF
    51385545rm -f conftest.$ac_objext
    5139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5140   (eval $ac_compile) 2>conftest.er1
     5546if { (ac_try="$ac_compile"
     5547case "(($ac_try" in
     5548  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5549  *) ac_try_echo=$ac_try;;
     5550esac
     5551eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5552  (eval "$ac_compile") 2>conftest.er1
    51415553  ac_status=$?
    51425554  grep -v '^ *+' conftest.er1 >conftest.err
     
    51445556  cat conftest.err >&5
    51455557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5146   (exit $ac_status); } &&
    5147      { ac_try='test -z "$ac_c_werror_flag"
    5148              || test ! -s conftest.err'
    5149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5150   (eval $ac_try) 2>&5
    5151   ac_status=$?
    5152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5153   (exit $ac_status); }; } &&
    5154      { ac_try='test -s conftest.$ac_objext'
    5155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5156   (eval $ac_try) 2>&5
    5157   ac_status=$?
    5158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5159   (exit $ac_status); }; }; then
     5558  (exit $ac_status); } && {
     5559     test -z "$ac_c_werror_flag" ||
     5560     test ! -s conftest.err
     5561       } && test -s conftest.$ac_objext; then
    51605562  ac_cv_header_stdc=yes
    51615563else
     
    51635565sed 's/^/| /' conftest.$ac_ext >&5
    51645566
    5165 ac_cv_header_stdc=no
    5166 fi
    5167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5567    ac_cv_header_stdc=no
     5568fi
     5569
     5570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    51685571
    51695572if test $ac_cv_header_stdc = yes; then
     
    52215624/* end confdefs.h.  */
    52225625#include <ctype.h>
     5626#include <stdlib.h>
    52235627#if ((' ' & 0x0FF) == 0x020)
    52245628# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    52405644    if (XOR (islower (i), ISLOWER (i))
    52415645    || toupper (i) != TOUPPER (i))
    5242       exit(2);
    5243   exit (0);
     5646      return 2;
     5647  return 0;
    52445648}
    52455649_ACEOF
    52465650rm -f conftest$ac_exeext
    5247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5248   (eval $ac_link) 2>&5
     5651if { (ac_try="$ac_link"
     5652case "(($ac_try" in
     5653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5654  *) ac_try_echo=$ac_try;;
     5655esac
     5656eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5657  (eval "$ac_link") 2>&5
    52495658  ac_status=$?
    52505659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52515660  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5253   (eval $ac_try) 2>&5
     5661  { (case "(($ac_try" in
     5662  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5663  *) ac_try_echo=$ac_try;;
     5664esac
     5665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5666  (eval "$ac_try") 2>&5
    52545667  ac_status=$?
    52555668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    52645677ac_cv_header_stdc=no
    52655678fi
    5266 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5267 fi
    5268 fi
    5269 fi
    5270 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5271 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     5679rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5680fi
     5681
     5682
     5683fi
     5684fi
     5685{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5686echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    52725687if test $ac_cv_header_stdc = yes; then
    52735688
     
    52905705do
    52915706as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5293   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5707if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5708  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     5709echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5710if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    52965711  echo $ECHO_N "(cached) $ECHO_C" >&6
    52975712fi
    5298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5713ac_res=`eval echo '${'$as_ac_Header'}'`
     5714           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5715echo "${ECHO_T}$ac_res" >&6; }
    53005716else
    53015717  # Is the header compilable?
    5302 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5718{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5719echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    53045720cat >conftest.$ac_ext <<_ACEOF
    53055721/* confdefs.h.  */
     
    53125728_ACEOF
    53135729rm -f conftest.$ac_objext
    5314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5315   (eval $ac_compile) 2>conftest.er1
     5730if { (ac_try="$ac_compile"
     5731case "(($ac_try" in
     5732  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5733  *) ac_try_echo=$ac_try;;
     5734esac
     5735eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5736  (eval "$ac_compile") 2>conftest.er1
    53165737  ac_status=$?
    53175738  grep -v '^ *+' conftest.er1 >conftest.err
     
    53195740  cat conftest.err >&5
    53205741  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5321   (exit $ac_status); } &&
    5322      { ac_try='test -z "$ac_c_werror_flag"
    5323              || test ! -s conftest.err'
    5324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5325   (eval $ac_try) 2>&5
    5326   ac_status=$?
    5327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5328   (exit $ac_status); }; } &&
    5329      { ac_try='test -s conftest.$ac_objext'
    5330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5331   (eval $ac_try) 2>&5
    5332   ac_status=$?
    5333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5334   (exit $ac_status); }; }; then
     5742  (exit $ac_status); } && {
     5743     test -z "$ac_c_werror_flag" ||
     5744     test ! -s conftest.err
     5745       } && test -s conftest.$ac_objext; then
    53355746  ac_header_compiler=yes
    53365747else
     
    53385749sed 's/^/| /' conftest.$ac_ext >&5
    53395750
    5340 ac_header_compiler=no
    5341 fi
    5342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5344 echo "${ECHO_T}$ac_header_compiler" >&6
     5751    ac_header_compiler=no
     5752fi
     5753
     5754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5755{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5756echo "${ECHO_T}$ac_header_compiler" >&6; }
    53455757
    53465758# Is the header present?
    5347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5759{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5760echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    53495761cat >conftest.$ac_ext <<_ACEOF
    53505762/* confdefs.h.  */
     
    53555767#include <$ac_header>
    53565768_ACEOF
    5357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5358   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5769if { (ac_try="$ac_cpp conftest.$ac_ext"
     5770case "(($ac_try" in
     5771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5772  *) ac_try_echo=$ac_try;;
     5773esac
     5774eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5775  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    53595776  ac_status=$?
    53605777  grep -v '^ *+' conftest.er1 >conftest.err
     
    53625779  cat conftest.err >&5
    53635780  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5364   (exit $ac_status); } >/dev/null; then
    5365   if test -s conftest.err; then
    5366     ac_cpp_err=$ac_c_preproc_warn_flag
    5367     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5368   else
    5369     ac_cpp_err=
    5370   fi
    5371 else
    5372   ac_cpp_err=yes
    5373 fi
    5374 if test -z "$ac_cpp_err"; then
     5781  (exit $ac_status); } >/dev/null && {
     5782     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5783     test ! -s conftest.err
     5784       }; then
    53755785  ac_header_preproc=yes
    53765786else
     
    53805790  ac_header_preproc=no
    53815791fi
     5792
    53825793rm -f conftest.err conftest.$ac_ext
    5383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5384 echo "${ECHO_T}$ac_header_preproc" >&6
     5794{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5795echo "${ECHO_T}$ac_header_preproc" >&6; }
    53855796
    53865797# So?  What about this header?
     
    54065817    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    54075818echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5408     (
    5409       cat <<\_ASBOX
    5410 ## ------------------------------------------ ##
    5411 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5412 ## ------------------------------------------ ##
    5413 _ASBOX
    5414     ) |
    5415       sed "s/^/$as_me: WARNING:     /" >&2
     5819
    54165820    ;;
    54175821esac
    5418 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5822{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     5823echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5824if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    54215825  echo $ECHO_N "(cached) $ECHO_C" >&6
    54225826else
    54235827  eval "$as_ac_Header=\$ac_header_preproc"
    54245828fi
    5425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5829ac_res=`eval echo '${'$as_ac_Header'}'`
     5830           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5831echo "${ECHO_T}$ac_res" >&6; }
    54275832
    54285833fi
     
    54935898# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    54945899# for constant arguments.  Useless!
    5495 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5496 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     5900{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5901echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
    54975902if test "${ac_cv_working_alloca_h+set}" = set; then
    54985903  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55095914{
    55105915char *p = (char *) alloca (2 * sizeof (int));
     5916              if (p) return 0;
    55115917  ;
    55125918  return 0;
     
    55145920_ACEOF
    55155921rm -f conftest.$ac_objext conftest$ac_exeext
    5516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5517   (eval $ac_link) 2>conftest.er1
     5922if { (ac_try="$ac_link"
     5923case "(($ac_try" in
     5924  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5925  *) ac_try_echo=$ac_try;;
     5926esac
     5927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5928  (eval "$ac_link") 2>conftest.er1
    55185929  ac_status=$?
    55195930  grep -v '^ *+' conftest.er1 >conftest.err
     
    55215932  cat conftest.err >&5
    55225933  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5523   (exit $ac_status); } &&
    5524      { ac_try='test -z "$ac_c_werror_flag"
    5525              || test ! -s conftest.err'
    5526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5527   (eval $ac_try) 2>&5
    5528   ac_status=$?
    5529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5530   (exit $ac_status); }; } &&
    5531      { ac_try='test -s conftest$ac_exeext'
    5532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5533   (eval $ac_try) 2>&5
    5534   ac_status=$?
    5535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5536   (exit $ac_status); }; }; then
     5934  (exit $ac_status); } && {
     5935     test -z "$ac_c_werror_flag" ||
     5936     test ! -s conftest.err
     5937       } && test -s conftest$ac_exeext &&
     5938       $as_test_x conftest$ac_exeext; then
    55375939  ac_cv_working_alloca_h=yes
    55385940else
     
    55405942sed 's/^/| /' conftest.$ac_ext >&5
    55415943
    5542 ac_cv_working_alloca_h=no
    5543 fi
    5544 rm -f conftest.err conftest.$ac_objext \
     5944    ac_cv_working_alloca_h=no
     5945fi
     5946
     5947rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    55455948      conftest$ac_exeext conftest.$ac_ext
    55465949fi
    5547 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5548 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
     5950{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5951echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
    55495952if test $ac_cv_working_alloca_h = yes; then
    55505953
     
    55555958fi
    55565959
    5557 echo "$as_me:$LINENO: checking for alloca" >&5
    5558 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     5960{ echo "$as_me:$LINENO: checking for alloca" >&5
     5961echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
    55595962if test "${ac_cv_func_alloca_works+set}" = set; then
    55605963  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55735976#  define alloca _alloca
    55745977# else
    5575 #  if HAVE_ALLOCA_H
     5978#  ifdef HAVE_ALLOCA_H
    55765979#   include <alloca.h>
    55775980#  else
     
    55915994{
    55925995char *p = (char *) alloca (1);
     5996                    if (p) return 0;
    55935997  ;
    55945998  return 0;
     
    55966000_ACEOF
    55976001rm -f conftest.$ac_objext conftest$ac_exeext
    5598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5599   (eval $ac_link) 2>conftest.er1
     6002if { (ac_try="$ac_link"
     6003case "(($ac_try" in
     6004  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6005  *) ac_try_echo=$ac_try;;
     6006esac
     6007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6008  (eval "$ac_link") 2>conftest.er1
    56006009  ac_status=$?
    56016010  grep -v '^ *+' conftest.er1 >conftest.err
     
    56036012  cat conftest.err >&5
    56046013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5605   (exit $ac_status); } &&
    5606      { ac_try='test -z "$ac_c_werror_flag"
    5607              || test ! -s conftest.err'
    5608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5609   (eval $ac_try) 2>&5
    5610   ac_status=$?
    5611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5612   (exit $ac_status); }; } &&
    5613      { ac_try='test -s conftest$ac_exeext'
    5614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5615   (eval $ac_try) 2>&5
    5616   ac_status=$?
    5617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5618   (exit $ac_status); }; }; then
     6014  (exit $ac_status); } && {
     6015     test -z "$ac_c_werror_flag" ||
     6016     test ! -s conftest.err
     6017       } && test -s conftest$ac_exeext &&
     6018       $as_test_x conftest$ac_exeext; then
    56196019  ac_cv_func_alloca_works=yes
    56206020else
     
    56226022sed 's/^/| /' conftest.$ac_ext >&5
    56236023
    5624 ac_cv_func_alloca_works=no
    5625 fi
    5626 rm -f conftest.err conftest.$ac_objext \
     6024    ac_cv_func_alloca_works=no
     6025fi
     6026
     6027rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    56276028      conftest$ac_exeext conftest.$ac_ext
    56286029fi
    5629 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    5630 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
     6030{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     6031echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
    56316032
    56326033if test $ac_cv_func_alloca_works = yes; then
     
    56426043# use ar to extract alloca.o from them instead of compiling alloca.c.
    56436044
    5644 ALLOCA=alloca.$ac_objext
     6045ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    56456046
    56466047cat >>confdefs.h <<\_ACEOF
     
    56496050
    56506051
    5651 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    5652 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     6052{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     6053echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
    56536054if test "${ac_cv_os_cray+set}" = set; then
    56546055  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    56606061cat >>conftest.$ac_ext <<_ACEOF
    56616062/* end confdefs.h.  */
    5662 #if defined(CRAY) && ! defined(CRAY2)
     6063#if defined CRAY && ! defined CRAY2
    56636064webecray
    56646065#else
     
    56766077
    56776078fi
    5678 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    5679 echo "${ECHO_T}$ac_cv_os_cray" >&6
     6079{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     6080echo "${ECHO_T}$ac_cv_os_cray" >&6; }
    56806081if test $ac_cv_os_cray = yes; then
    56816082  for ac_func in _getb67 GETB67 getb67; do
    56826083    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5683 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5685 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6084{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6085echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6086if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    56866087  echo $ECHO_N "(cached) $ECHO_C" >&6
    56876088else
     
    57096110#undef $ac_func
    57106111
    5711 /* Override any gcc2 internal prototype to avoid an error.  */
     6112/* Override any GCC internal prototype to avoid an error.
     6113   Use char because int might match the return type of a GCC
     6114   builtin and then its argument prototype would still apply.  */
    57126115#ifdef __cplusplus
    57136116extern "C"
    5714 {
    57156117#endif
    5716 /* We use char because int might match the return type of a gcc2
    5717    builtin and then its argument prototype would still apply.  */
    57186118char $ac_func ();
    57196119/* The GNU C library defines this for functions which it implements
    57206120    to always fail with ENOSYS.  Some functions are actually named
    57216121    something starting with __ and the normal name is an alias.  */
    5722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6122#if defined __stub_$ac_func || defined __stub___$ac_func
    57236123choke me
    5724 #else
    5725 char (*f) () = $ac_func;
    5726 #endif
    5727 #ifdef __cplusplus
    5728 }
    57296124#endif
    57306125
     
    57326127main ()
    57336128{
    5734 return f != $ac_func;
     6129return $ac_func ();
    57356130  ;
    57366131  return 0;
     
    57386133_ACEOF
    57396134rm -f conftest.$ac_objext conftest$ac_exeext
    5740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5741   (eval $ac_link) 2>conftest.er1
     6135if { (ac_try="$ac_link"
     6136case "(($ac_try" in
     6137  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6138  *) ac_try_echo=$ac_try;;
     6139esac
     6140eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6141  (eval "$ac_link") 2>conftest.er1
    57426142  ac_status=$?
    57436143  grep -v '^ *+' conftest.er1 >conftest.err
     
    57456145  cat conftest.err >&5
    57466146  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5747   (exit $ac_status); } &&
    5748      { ac_try='test -z "$ac_c_werror_flag"
    5749              || test ! -s conftest.err'
    5750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5751   (eval $ac_try) 2>&5
    5752   ac_status=$?
    5753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5754   (exit $ac_status); }; } &&
    5755      { ac_try='test -s conftest$ac_exeext'
    5756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5757   (eval $ac_try) 2>&5
    5758   ac_status=$?
    5759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5760   (exit $ac_status); }; }; then
     6147  (exit $ac_status); } && {
     6148     test -z "$ac_c_werror_flag" ||
     6149     test ! -s conftest.err
     6150       } && test -s conftest$ac_exeext &&
     6151       $as_test_x conftest$ac_exeext; then
    57616152  eval "$as_ac_var=yes"
    57626153else
     
    57646155sed 's/^/| /' conftest.$ac_ext >&5
    57656156
    5766 eval "$as_ac_var=no"
    5767 fi
    5768 rm -f conftest.err conftest.$ac_objext \
     6157    eval "$as_ac_var=no"
     6158fi
     6159
     6160rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    57696161      conftest$ac_exeext conftest.$ac_ext
    57706162fi
    5771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    5772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6163ac_res=`eval echo '${'$as_ac_var'}'`
     6164           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6165echo "${ECHO_T}$ac_res" >&6; }
    57736166if test `eval echo '${'$as_ac_var'}'` = yes; then
    57746167
     
    57836176fi
    57846177
    5785 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    5786 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
     6178{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     6179echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
    57876180if test "${ac_cv_c_stack_direction+set}" = set; then
    57886181  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    57976190cat >>conftest.$ac_ext <<_ACEOF
    57986191/* end confdefs.h.  */
     6192$ac_includes_default
    57996193int
    58006194find_stack_direction ()
     
    58146208main ()
    58156209{
    5816   exit (find_stack_direction () < 0);
     6210  return find_stack_direction () < 0;
    58176211}
    58186212_ACEOF
    58196213rm -f conftest$ac_exeext
    5820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5821   (eval $ac_link) 2>&5
     6214if { (ac_try="$ac_link"
     6215case "(($ac_try" in
     6216  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6217  *) ac_try_echo=$ac_try;;
     6218esac
     6219eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6220  (eval "$ac_link") 2>&5
    58226221  ac_status=$?
    58236222  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58246223  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5826   (eval $ac_try) 2>&5
     6224  { (case "(($ac_try" in
     6225  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6226  *) ac_try_echo=$ac_try;;
     6227esac
     6228eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6229  (eval "$ac_try") 2>&5
    58276230  ac_status=$?
    58286231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    58376240ac_cv_c_stack_direction=-1
    58386241fi
    5839 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5840 fi
    5841 fi
    5842 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    5843 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
     6242rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6243fi
     6244
     6245
     6246fi
     6247{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     6248echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
    58446249
    58456250cat >>confdefs.h <<_ACEOF
     
    58516256
    58526257if test $ac_cv_c_compiler_gnu = yes; then
    5853     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    5854 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
     6258    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     6259echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
    58556260if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    58566261  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    58936298  fi
    58946299fi
    5895 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    5896 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
     6300{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     6301echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
    58976302  if test $ac_cv_prog_gcc_traditional = yes; then
    58986303    CC="$CC -traditional"
     
    59006305fi
    59016306
    5902 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    5903 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
     6307{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     6308echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
    59046309if test "${ac_cv_type_signal+set}" = set; then
    59056310  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    59136318#include <sys/types.h>
    59146319#include <signal.h>
    5915 #ifdef signal
    5916 # undef signal
    5917 #endif
    5918 #ifdef __cplusplus
    5919 extern "C" void (*signal (int, void (*)(int)))(int);
    5920 #else
    5921 void (*signal ()) ();
    5922 #endif
    59236320
    59246321int
    59256322main ()
    59266323{
    5927 int i;
     6324return *(signal (0, 0)) (0) == 1;
    59286325  ;
    59296326  return 0;
     
    59316328_ACEOF
    59326329rm -f conftest.$ac_objext
    5933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5934   (eval $ac_compile) 2>conftest.er1
     6330if { (ac_try="$ac_compile"
     6331case "(($ac_try" in
     6332  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6333  *) ac_try_echo=$ac_try;;
     6334esac
     6335eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6336  (eval "$ac_compile") 2>conftest.er1
    59356337  ac_status=$?
    59366338  grep -v '^ *+' conftest.er1 >conftest.err
     
    59386340  cat conftest.err >&5
    59396341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5940   (exit $ac_status); } &&
    5941      { ac_try='test -z "$ac_c_werror_flag"
    5942              || test ! -s conftest.err'
    5943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5944   (eval $ac_try) 2>&5
    5945   ac_status=$?
    5946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5947   (exit $ac_status); }; } &&
    5948      { ac_try='test -s conftest.$ac_objext'
    5949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5950   (eval $ac_try) 2>&5
    5951   ac_status=$?
    5952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5953   (exit $ac_status); }; }; then
    5954   ac_cv_type_signal=void
     6342  (exit $ac_status); } && {
     6343     test -z "$ac_c_werror_flag" ||
     6344     test ! -s conftest.err
     6345       } && test -s conftest.$ac_objext; then
     6346  ac_cv_type_signal=int
    59556347else
    59566348  echo "$as_me: failed program was:" >&5
    59576349sed 's/^/| /' conftest.$ac_ext >&5
    59586350
    5959 ac_cv_type_signal=int
    5960 fi
    5961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5962 fi
    5963 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    5964 echo "${ECHO_T}$ac_cv_type_signal" >&6
     6351    ac_cv_type_signal=void
     6352fi
     6353
     6354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6355fi
     6356{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     6357echo "${ECHO_T}$ac_cv_type_signal" >&6; }
    59656358
    59666359cat >>confdefs.h <<_ACEOF
     
    59736366do
    59746367as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5975 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5977 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6368{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6369echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6370if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    59786371  echo $ECHO_N "(cached) $ECHO_C" >&6
    59796372else
     
    60016394#undef $ac_func
    60026395
    6003 /* Override any gcc2 internal prototype to avoid an error.  */
     6396/* Override any GCC internal prototype to avoid an error.
     6397   Use char because int might match the return type of a GCC
     6398   builtin and then its argument prototype would still apply.  */
    60046399#ifdef __cplusplus
    60056400extern "C"
    6006 {
    60076401#endif
    6008 /* We use char because int might match the return type of a gcc2
    6009    builtin and then its argument prototype would still apply.  */
    60106402char $ac_func ();
    60116403/* The GNU C library defines this for functions which it implements
    60126404    to always fail with ENOSYS.  Some functions are actually named
    60136405    something starting with __ and the normal name is an alias.  */
    6014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6406#if defined __stub_$ac_func || defined __stub___$ac_func
    60156407choke me
    6016 #else
    6017 char (*f) () = $ac_func;
    6018 #endif
    6019 #ifdef __cplusplus
    6020 }
    60216408#endif
    60226409
     
    60246411main ()
    60256412{
    6026 return f != $ac_func;
     6413return $ac_func ();
    60276414  ;
    60286415  return 0;
     
    60306417_ACEOF
    60316418rm -f conftest.$ac_objext conftest$ac_exeext
    6032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6033   (eval $ac_link) 2>conftest.er1
     6419if { (ac_try="$ac_link"
     6420case "(($ac_try" in
     6421  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6422  *) ac_try_echo=$ac_try;;
     6423esac
     6424eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6425  (eval "$ac_link") 2>conftest.er1
    60346426  ac_status=$?
    60356427  grep -v '^ *+' conftest.er1 >conftest.err
     
    60376429  cat conftest.err >&5
    60386430  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6039   (exit $ac_status); } &&
    6040      { ac_try='test -z "$ac_c_werror_flag"
    6041              || test ! -s conftest.err'
    6042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6043   (eval $ac_try) 2>&5
    6044   ac_status=$?
    6045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6046   (exit $ac_status); }; } &&
    6047      { ac_try='test -s conftest$ac_exeext'
    6048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6049   (eval $ac_try) 2>&5
    6050   ac_status=$?
    6051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6052   (exit $ac_status); }; }; then
     6431  (exit $ac_status); } && {
     6432     test -z "$ac_c_werror_flag" ||
     6433     test ! -s conftest.err
     6434       } && test -s conftest$ac_exeext &&
     6435       $as_test_x conftest$ac_exeext; then
    60536436  eval "$as_ac_var=yes"
    60546437else
     
    60566439sed 's/^/| /' conftest.$ac_ext >&5
    60576440
    6058 eval "$as_ac_var=no"
    6059 fi
    6060 rm -f conftest.err conftest.$ac_objext \
     6441    eval "$as_ac_var=no"
     6442fi
     6443
     6444rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    60616445      conftest$ac_exeext conftest.$ac_ext
    60626446fi
    6063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6447ac_res=`eval echo '${'$as_ac_var'}'`
     6448           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6449echo "${ECHO_T}$ac_res" >&6; }
    60656450if test `eval echo '${'$as_ac_var'}'` = yes; then
    60666451  cat >>confdefs.h <<_ACEOF
     
    60686453_ACEOF
    60696454
    6070 echo "$as_me:$LINENO: checking for _doprnt" >&5
    6071 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
     6455{ echo "$as_me:$LINENO: checking for _doprnt" >&5
     6456echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
    60726457if test "${ac_cv_func__doprnt+set}" = set; then
    60736458  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    60966481#undef _doprnt
    60976482
    6098 /* Override any gcc2 internal prototype to avoid an error.  */
     6483/* Override any GCC internal prototype to avoid an error.
     6484   Use char because int might match the return type of a GCC
     6485   builtin and then its argument prototype would still apply.  */
    60996486#ifdef __cplusplus
    61006487extern "C"
    6101 {
    61026488#endif
    6103 /* We use char because int might match the return type of a gcc2
    6104    builtin and then its argument prototype would still apply.  */
    61056489char _doprnt ();
    61066490/* The GNU C library defines this for functions which it implements
    61076491    to always fail with ENOSYS.  Some functions are actually named
    61086492    something starting with __ and the normal name is an alias.  */
    6109 #if defined (__stub__doprnt) || defined (__stub____doprnt)
     6493#if defined __stub__doprnt || defined __stub____doprnt
    61106494choke me
    6111 #else
    6112 char (*f) () = _doprnt;
    6113 #endif
    6114 #ifdef __cplusplus
    6115 }
    61166495#endif
    61176496
     
    61196498main ()
    61206499{
    6121 return f != _doprnt;
     6500return _doprnt ();
    61226501  ;
    61236502  return 0;
     
    61256504_ACEOF
    61266505rm -f conftest.$ac_objext conftest$ac_exeext
    6127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6128   (eval $ac_link) 2>conftest.er1
     6506if { (ac_try="$ac_link"
     6507case "(($ac_try" in
     6508  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6509  *) ac_try_echo=$ac_try;;
     6510esac
     6511eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6512  (eval "$ac_link") 2>conftest.er1
    61296513  ac_status=$?
    61306514  grep -v '^ *+' conftest.er1 >conftest.err
     
    61326516  cat conftest.err >&5
    61336517  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6134   (exit $ac_status); } &&
    6135      { ac_try='test -z "$ac_c_werror_flag"
    6136              || test ! -s conftest.err'
    6137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6138   (eval $ac_try) 2>&5
    6139   ac_status=$?
    6140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6141   (exit $ac_status); }; } &&
    6142      { ac_try='test -s conftest$ac_exeext'
    6143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6144   (eval $ac_try) 2>&5
    6145   ac_status=$?
    6146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6147   (exit $ac_status); }; }; then
     6518  (exit $ac_status); } && {
     6519     test -z "$ac_c_werror_flag" ||
     6520     test ! -s conftest.err
     6521       } && test -s conftest$ac_exeext &&
     6522       $as_test_x conftest$ac_exeext; then
    61486523  ac_cv_func__doprnt=yes
    61496524else
     
    61516526sed 's/^/| /' conftest.$ac_ext >&5
    61526527
    6153 ac_cv_func__doprnt=no
    6154 fi
    6155 rm -f conftest.err conftest.$ac_objext \
     6528    ac_cv_func__doprnt=no
     6529fi
     6530
     6531rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    61566532      conftest$ac_exeext conftest.$ac_ext
    61576533fi
    6158 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6159 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
     6534{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     6535echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
    61606536if test $ac_cv_func__doprnt = yes; then
    61616537
     
    61836559do
    61846560as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6185 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6187 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6561{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6562echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6563if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    61886564  echo $ECHO_N "(cached) $ECHO_C" >&6
    61896565else
     
    62116587#undef $ac_func
    62126588
    6213 /* Override any gcc2 internal prototype to avoid an error.  */
     6589/* Override any GCC internal prototype to avoid an error.
     6590   Use char because int might match the return type of a GCC
     6591   builtin and then its argument prototype would still apply.  */
    62146592#ifdef __cplusplus
    62156593extern "C"
    6216 {
    62176594#endif
    6218 /* We use char because int might match the return type of a gcc2
    6219    builtin and then its argument prototype would still apply.  */
    62206595char $ac_func ();
    62216596/* The GNU C library defines this for functions which it implements
    62226597    to always fail with ENOSYS.  Some functions are actually named
    62236598    something starting with __ and the normal name is an alias.  */
    6224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6599#if defined __stub_$ac_func || defined __stub___$ac_func
    62256600choke me
    6226 #else
    6227 char (*f) () = $ac_func;
    6228 #endif
    6229 #ifdef __cplusplus
    6230 }
    62316601#endif
    62326602
     
    62346604main ()
    62356605{
    6236 return f != $ac_func;
     6606return $ac_func ();
    62376607  ;
    62386608  return 0;
     
    62406610_ACEOF
    62416611rm -f conftest.$ac_objext conftest$ac_exeext
    6242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6243   (eval $ac_link) 2>conftest.er1
     6612if { (ac_try="$ac_link"
     6613case "(($ac_try" in
     6614  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6615  *) ac_try_echo=$ac_try;;
     6616esac
     6617eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6618  (eval "$ac_link") 2>conftest.er1
    62446619  ac_status=$?
    62456620  grep -v '^ *+' conftest.er1 >conftest.err
     
    62476622  cat conftest.err >&5
    62486623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6249   (exit $ac_status); } &&
    6250      { ac_try='test -z "$ac_c_werror_flag"
    6251              || test ! -s conftest.err'
    6252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6253   (eval $ac_try) 2>&5
    6254   ac_status=$?
    6255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6256   (exit $ac_status); }; } &&
    6257      { ac_try='test -s conftest$ac_exeext'
    6258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6259   (eval $ac_try) 2>&5
    6260   ac_status=$?
    6261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6262   (exit $ac_status); }; }; then
     6624  (exit $ac_status); } && {
     6625     test -z "$ac_c_werror_flag" ||
     6626     test ! -s conftest.err
     6627       } && test -s conftest$ac_exeext &&
     6628       $as_test_x conftest$ac_exeext; then
    62636629  eval "$as_ac_var=yes"
    62646630else
     
    62666632sed 's/^/| /' conftest.$ac_ext >&5
    62676633
    6268 eval "$as_ac_var=no"
    6269 fi
    6270 rm -f conftest.err conftest.$ac_objext \
     6634    eval "$as_ac_var=no"
     6635fi
     6636
     6637rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    62716638      conftest$ac_exeext conftest.$ac_ext
    62726639fi
    6273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6640ac_res=`eval echo '${'$as_ac_var'}'`
     6641           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6642echo "${ECHO_T}$ac_res" >&6; }
    62756643if test `eval echo '${'$as_ac_var'}'` = yes; then
    62766644  cat >>confdefs.h <<_ACEOF
     
    62876655do
    62886656as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6289 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6291 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6657{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6658echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6659if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    62926660  echo $ECHO_N "(cached) $ECHO_C" >&6
    62936661else
     
    63156683#undef $ac_func
    63166684
    6317 /* Override any gcc2 internal prototype to avoid an error.  */
     6685/* Override any GCC internal prototype to avoid an error.
     6686   Use char because int might match the return type of a GCC
     6687   builtin and then its argument prototype would still apply.  */
    63186688#ifdef __cplusplus
    63196689extern "C"
    6320 {
    63216690#endif
    6322 /* We use char because int might match the return type of a gcc2
    6323    builtin and then its argument prototype would still apply.  */
    63246691char $ac_func ();
    63256692/* The GNU C library defines this for functions which it implements
    63266693    to always fail with ENOSYS.  Some functions are actually named
    63276694    something starting with __ and the normal name is an alias.  */
    6328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6695#if defined __stub_$ac_func || defined __stub___$ac_func
    63296696choke me
    6330 #else
    6331 char (*f) () = $ac_func;
    6332 #endif
    6333 #ifdef __cplusplus
    6334 }
    63356697#endif
    63366698
     
    63386700main ()
    63396701{
    6340 return f != $ac_func;
     6702return $ac_func ();
    63416703  ;
    63426704  return 0;
     
    63446706_ACEOF
    63456707rm -f conftest.$ac_objext conftest$ac_exeext
    6346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6347   (eval $ac_link) 2>conftest.er1
     6708if { (ac_try="$ac_link"
     6709case "(($ac_try" in
     6710  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6711  *) ac_try_echo=$ac_try;;
     6712esac
     6713eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6714  (eval "$ac_link") 2>conftest.er1
    63486715  ac_status=$?
    63496716  grep -v '^ *+' conftest.er1 >conftest.err
     
    63516718  cat conftest.err >&5
    63526719  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6353   (exit $ac_status); } &&
    6354      { ac_try='test -z "$ac_c_werror_flag"
    6355              || test ! -s conftest.err'
    6356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6357   (eval $ac_try) 2>&5
    6358   ac_status=$?
    6359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6360   (exit $ac_status); }; } &&
    6361      { ac_try='test -s conftest$ac_exeext'
    6362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6363   (eval $ac_try) 2>&5
    6364   ac_status=$?
    6365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6366   (exit $ac_status); }; }; then
     6720  (exit $ac_status); } && {
     6721     test -z "$ac_c_werror_flag" ||
     6722     test ! -s conftest.err
     6723       } && test -s conftest$ac_exeext &&
     6724       $as_test_x conftest$ac_exeext; then
    63676725  eval "$as_ac_var=yes"
    63686726else
     
    63706728sed 's/^/| /' conftest.$ac_ext >&5
    63716729
    6372 eval "$as_ac_var=no"
    6373 fi
    6374 rm -f conftest.err conftest.$ac_objext \
     6730    eval "$as_ac_var=no"
     6731fi
     6732
     6733rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    63756734      conftest$ac_exeext conftest.$ac_ext
    63766735fi
    6377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6736ac_res=`eval echo '${'$as_ac_var'}'`
     6737           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6738echo "${ECHO_T}$ac_res" >&6; }
    63796739if test `eval echo '${'$as_ac_var'}'` = yes; then
    63806740  cat >>confdefs.h <<_ACEOF
     
    63836743
    63846744else
    6385   case $LIBOBJS in
    6386     "$ac_func.$ac_objext"   | \
    6387   *" $ac_func.$ac_objext"   | \
    6388     "$ac_func.$ac_objext "* | \
     6745  case " $LIBOBJS " in
    63896746  *" $ac_func.$ac_objext "* ) ;;
    6390   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
     6747  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     6748 ;;
    63916749esac
    63926750
     
    63966754
    63976755
    6398 echo "$as_me:$LINENO: checking for textdomain" >&5
    6399 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
     6756{ echo "$as_me:$LINENO: checking for textdomain" >&5
     6757echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; }
    64006758if test "${ac_cv_func_textdomain+set}" = set; then
    64016759  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    64246782#undef textdomain
    64256783
    6426 /* Override any gcc2 internal prototype to avoid an error.  */
     6784/* Override any GCC internal prototype to avoid an error.
     6785   Use char because int might match the return type of a GCC
     6786   builtin and then its argument prototype would still apply.  */
    64276787#ifdef __cplusplus
    64286788extern "C"
    6429 {
    64306789#endif
    6431 /* We use char because int might match the return type of a gcc2
    6432    builtin and then its argument prototype would still apply.  */
    64336790char textdomain ();
    64346791/* The GNU C library defines this for functions which it implements
    64356792    to always fail with ENOSYS.  Some functions are actually named
    64366793    something starting with __ and the normal name is an alias.  */
    6437 #if defined (__stub_textdomain) || defined (__stub___textdomain)
     6794#if defined __stub_textdomain || defined __stub___textdomain
    64386795choke me
    6439 #else
    6440 char (*f) () = textdomain;
    6441 #endif
    6442 #ifdef __cplusplus
    6443 }
    64446796#endif
    64456797
     
    64476799main ()
    64486800{
    6449 return f != textdomain;
     6801return textdomain ();
    64506802  ;
    64516803  return 0;
     
    64536805_ACEOF
    64546806rm -f conftest.$ac_objext conftest$ac_exeext
    6455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6456   (eval $ac_link) 2>conftest.er1
     6807if { (ac_try="$ac_link"
     6808case "(($ac_try" in
     6809  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6810  *) ac_try_echo=$ac_try;;
     6811esac
     6812eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6813  (eval "$ac_link") 2>conftest.er1
    64576814  ac_status=$?
    64586815  grep -v '^ *+' conftest.er1 >conftest.err
     
    64606817  cat conftest.err >&5
    64616818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6462   (exit $ac_status); } &&
    6463      { ac_try='test -z "$ac_c_werror_flag"
    6464              || test ! -s conftest.err'
    6465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6466   (eval $ac_try) 2>&5
    6467   ac_status=$?
    6468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6469   (exit $ac_status); }; } &&
    6470      { ac_try='test -s conftest$ac_exeext'
    6471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6472   (eval $ac_try) 2>&5
    6473   ac_status=$?
    6474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6475   (exit $ac_status); }; }; then
     6819  (exit $ac_status); } && {
     6820     test -z "$ac_c_werror_flag" ||
     6821     test ! -s conftest.err
     6822       } && test -s conftest$ac_exeext &&
     6823       $as_test_x conftest$ac_exeext; then
    64766824  ac_cv_func_textdomain=yes
    64776825else
     
    64796827sed 's/^/| /' conftest.$ac_ext >&5
    64806828
    6481 ac_cv_func_textdomain=no
    6482 fi
    6483 rm -f conftest.err conftest.$ac_objext \
     6829    ac_cv_func_textdomain=no
     6830fi
     6831
     6832rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    64846833      conftest$ac_exeext conftest.$ac_ext
    64856834fi
    6486 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    6487 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
     6835{ echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     6836echo "${ECHO_T}$ac_cv_func_textdomain" >&6; }
    64886837if test $ac_cv_func_textdomain = yes; then
    64896838  cat >>confdefs.h <<\_ACEOF
     
    64966845# *** Custom checking (based on GNU tar configure.in) ***
    64976846# ---------------------------------------------------------------------------
    6498 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    6499 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
     6847{ echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     6848echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; }
    65006849if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    6501   echo "$as_me:$LINENO: result: yes" >&5
    6502 echo "${ECHO_T}yes" >&6
    6503   case $LIBOBJS in
    6504     "gmalloc.$ac_objext"   | \
    6505   *" gmalloc.$ac_objext"   | \
    6506     "gmalloc.$ac_objext "* | \
     6850  { echo "$as_me:$LINENO: result: yes" >&5
     6851echo "${ECHO_T}yes" >&6; }
     6852  case " $LIBOBJS " in
    65076853  *" gmalloc.$ac_objext "* ) ;;
    6508   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
     6854  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
     6855 ;;
    65096856esac
    65106857
     
    65146861
    65156862else
    6516   echo "$as_me:$LINENO: result: no" >&5
    6517 echo "${ECHO_T}no" >&6
     6863  { echo "$as_me:$LINENO: result: no" >&5
     6864echo "${ECHO_T}no" >&6; }
    65186865
    65196866for ac_func in valloc
    65206867do
    65216868as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6522 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6524 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6869{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6870echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6871if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    65256872  echo $ECHO_N "(cached) $ECHO_C" >&6
    65266873else
     
    65486895#undef $ac_func
    65496896
    6550 /* Override any gcc2 internal prototype to avoid an error.  */
     6897/* Override any GCC internal prototype to avoid an error.
     6898   Use char because int might match the return type of a GCC
     6899   builtin and then its argument prototype would still apply.  */
    65516900#ifdef __cplusplus
    65526901extern "C"
    6553 {
    65546902#endif
    6555 /* We use char because int might match the return type of a gcc2
    6556    builtin and then its argument prototype would still apply.  */
    65576903char $ac_func ();
    65586904/* The GNU C library defines this for functions which it implements
    65596905    to always fail with ENOSYS.  Some functions are actually named
    65606906    something starting with __ and the normal name is an alias.  */
    6561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6907#if defined __stub_$ac_func || defined __stub___$ac_func
    65626908choke me
    6563 #else
    6564 char (*f) () = $ac_func;
    6565 #endif
    6566 #ifdef __cplusplus
    6567 }
    65686909#endif
    65696910
     
    65716912main ()
    65726913{
    6573 return f != $ac_func;
     6914return $ac_func ();
    65746915  ;
    65756916  return 0;
     
    65776918_ACEOF
    65786919rm -f conftest.$ac_objext conftest$ac_exeext
    6579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6580   (eval $ac_link) 2>conftest.er1
     6920if { (ac_try="$ac_link"
     6921case "(($ac_try" in
     6922  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6923  *) ac_try_echo=$ac_try;;
     6924esac
     6925eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6926  (eval "$ac_link") 2>conftest.er1
    65816927  ac_status=$?
    65826928  grep -v '^ *+' conftest.er1 >conftest.err
     
    65846930  cat conftest.err >&5
    65856931  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6586   (exit $ac_status); } &&
    6587      { ac_try='test -z "$ac_c_werror_flag"
    6588              || test ! -s conftest.err'
    6589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6590   (eval $ac_try) 2>&5
    6591   ac_status=$?
    6592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6593   (exit $ac_status); }; } &&
    6594      { ac_try='test -s conftest$ac_exeext'
    6595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6596   (eval $ac_try) 2>&5
    6597   ac_status=$?
    6598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6599   (exit $ac_status); }; }; then
     6932  (exit $ac_status); } && {
     6933     test -z "$ac_c_werror_flag" ||
     6934     test ! -s conftest.err
     6935       } && test -s conftest$ac_exeext &&
     6936       $as_test_x conftest$ac_exeext; then
    66006937  eval "$as_ac_var=yes"
    66016938else
     
    66036940sed 's/^/| /' conftest.$ac_ext >&5
    66046941
    6605 eval "$as_ac_var=no"
    6606 fi
    6607 rm -f conftest.err conftest.$ac_objext \
     6942    eval "$as_ac_var=no"
     6943fi
     6944
     6945rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    66086946      conftest$ac_exeext conftest.$ac_ext
    66096947fi
    6610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6948ac_res=`eval echo '${'$as_ac_var'}'`
     6949           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6950echo "${ECHO_T}$ac_res" >&6; }
    66126951if test `eval echo '${'$as_ac_var'}'` = yes; then
    66136952  cat >>confdefs.h <<_ACEOF
     
    66216960
    66226961# we cannot generate static libraries under Darwin
    6623 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
    6624 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
     6962{ echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     6963echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6; }
    66256964if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    6626   echo "$as_me:$LINENO: result: yes" >&5
    6627 echo "${ECHO_T}yes" >&6
     6965  { echo "$as_me:$LINENO: result: yes" >&5
     6966echo "${ECHO_T}yes" >&6; }
    66286967  STATIC=""
    66296968else
    6630   echo "$as_me:$LINENO: result: no" >&5
    6631 echo "${ECHO_T}no" >&6
     6969  { echo "$as_me:$LINENO: result: no" >&5
     6970echo "${ECHO_T}no" >&6; }
    66326971  STATIC="-static "
    66336972fi
    66346973
    66356974
    6636 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    6637 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
    6638 
    6639 # Check whether --with-dmalloc or --without-dmalloc was given.
     6975{ echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     6976echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }
     6977
     6978# Check whether --with-dmalloc was given.
    66406979if test "${with_dmalloc+set}" = set; then
    6641   withval="$with_dmalloc"
    6642   if test "$withval" = yes; then
    6643   echo "$as_me:$LINENO: result: yes" >&5
    6644 echo "${ECHO_T}yes" >&6
     6980  withval=$with_dmalloc; if test "$withval" = yes; then
     6981  { echo "$as_me:$LINENO: result: yes" >&5
     6982echo "${ECHO_T}yes" >&6; }
    66456983  cat >>confdefs.h <<\_ACEOF
    66466984#define WITH_DMALLOC 1
     
    66506988  LDFLAGS="$LDFLAGS -g"
    66516989else
    6652   echo "$as_me:$LINENO: result: no" >&5
    6653 echo "${ECHO_T}no" >&6
    6654 fi
    6655 else
    6656   echo "$as_me:$LINENO: result: no" >&5
    6657 echo "${ECHO_T}no" >&6
    6658 fi;
    6659 
    6660 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    6661 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
    6662 
    6663 # Check whether --with-regex or --without-regex was given.
     6990  { echo "$as_me:$LINENO: result: no" >&5
     6991echo "${ECHO_T}no" >&6; }
     6992fi
     6993else
     6994  { echo "$as_me:$LINENO: result: no" >&5
     6995echo "${ECHO_T}no" >&6; }
     6996fi
     6997
     6998
     6999{ echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     7000echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; }
     7001
     7002# Check whether --with-regex was given.
    66647003if test "${with_regex+set}" = set; then
    6665   withval="$with_regex"
    6666   if test "$withval" = yes; then
     7004  withval=$with_regex; if test "$withval" = yes; then
    66677005  ac_with_regex=1
    6668   echo "$as_me:$LINENO: result: regex" >&5
    6669 echo "${ECHO_T}regex" >&6
     7006  { echo "$as_me:$LINENO: result: regex" >&5
     7007echo "${ECHO_T}regex" >&6; }
    66707008  cat >>confdefs.h <<\_ACEOF
    66717009#define WITH_REGEX 1
    66727010_ACEOF
    66737011
    6674   case $LIBOBJS in
    6675     "regex.$ac_objext"   | \
    6676   *" regex.$ac_objext"   | \
    6677     "regex.$ac_objext "* | \
     7012  case " $LIBOBJS " in
    66787013  *" regex.$ac_objext "* ) ;;
    6679   *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    6680 esac
    6681 
    6682 fi
    6683 fi;
     7014  *) LIBOBJS="$LIBOBJS regex.$ac_objext"
     7015 ;;
     7016esac
     7017
     7018fi
     7019fi
     7020
    66847021if test -z "$ac_with_regex"; then
    6685   echo "$as_me:$LINENO: result: rx" >&5
    6686 echo "${ECHO_T}rx" >&6
    6687   echo "$as_me:$LINENO: checking for re_rx_search" >&5
    6688 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
     7022  { echo "$as_me:$LINENO: result: rx" >&5
     7023echo "${ECHO_T}rx" >&6; }
     7024  { echo "$as_me:$LINENO: checking for re_rx_search" >&5
     7025echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; }
    66897026if test "${ac_cv_func_re_rx_search+set}" = set; then
    66907027  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    67137050#undef re_rx_search
    67147051
    6715 /* Override any gcc2 internal prototype to avoid an error.  */
     7052/* Override any GCC internal prototype to avoid an error.
     7053   Use char because int might match the return type of a GCC
     7054   builtin and then its argument prototype would still apply.  */
    67167055#ifdef __cplusplus
    67177056extern "C"
    6718 {
    67197057#endif
    6720 /* We use char because int might match the return type of a gcc2
    6721    builtin and then its argument prototype would still apply.  */
    67227058char re_rx_search ();
    67237059/* The GNU C library defines this for functions which it implements
    67247060    to always fail with ENOSYS.  Some functions are actually named
    67257061    something starting with __ and the normal name is an alias.  */
    6726 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
     7062#if defined __stub_re_rx_search || defined __stub___re_rx_search
    67277063choke me
    6728 #else
    6729 char (*f) () = re_rx_search;
    6730 #endif
    6731 #ifdef __cplusplus
    6732 }
    67337064#endif
    67347065
     
    67367067main ()
    67377068{
    6738 return f != re_rx_search;
     7069return re_rx_search ();
    67397070  ;
    67407071  return 0;
     
    67427073_ACEOF
    67437074rm -f conftest.$ac_objext conftest$ac_exeext
    6744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6745   (eval $ac_link) 2>conftest.er1
     7075if { (ac_try="$ac_link"
     7076case "(($ac_try" in
     7077  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7078  *) ac_try_echo=$ac_try;;
     7079esac
     7080eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7081  (eval "$ac_link") 2>conftest.er1
    67467082  ac_status=$?
    67477083  grep -v '^ *+' conftest.er1 >conftest.err
     
    67497085  cat conftest.err >&5
    67507086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6751   (exit $ac_status); } &&
    6752      { ac_try='test -z "$ac_c_werror_flag"
    6753              || test ! -s conftest.err'
    6754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6755   (eval $ac_try) 2>&5
    6756   ac_status=$?
    6757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6758   (exit $ac_status); }; } &&
    6759      { ac_try='test -s conftest$ac_exeext'
    6760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6761   (eval $ac_try) 2>&5
    6762   ac_status=$?
    6763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6764   (exit $ac_status); }; }; then
     7087  (exit $ac_status); } && {
     7088     test -z "$ac_c_werror_flag" ||
     7089     test ! -s conftest.err
     7090       } && test -s conftest$ac_exeext &&
     7091       $as_test_x conftest$ac_exeext; then
    67657092  ac_cv_func_re_rx_search=yes
    67667093else
     
    67687095sed 's/^/| /' conftest.$ac_ext >&5
    67697096
    6770 ac_cv_func_re_rx_search=no
    6771 fi
    6772 rm -f conftest.err conftest.$ac_objext \
     7097    ac_cv_func_re_rx_search=no
     7098fi
     7099
     7100rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    67737101      conftest$ac_exeext conftest.$ac_ext
    67747102fi
    6775 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    6776 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
     7103{ echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     7104echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; }
    67777105if test $ac_cv_func_re_rx_search = yes; then
    67787106  :
    67797107else
    6780   case $LIBOBJS in
    6781     "rx.$ac_objext"   | \
    6782   *" rx.$ac_objext"   | \
    6783     "rx.$ac_objext "* | \
     7108  case " $LIBOBJS " in
    67847109  *" rx.$ac_objext "* ) ;;
    6785   *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
     7110  *) LIBOBJS="$LIBOBJS rx.$ac_objext"
     7111 ;;
    67867112esac
    67877113
     
    67937119# ---------------------------------------------------------------------------
    67947120if test "$ac_cv_func_alloca" = 'no'; then
    6795   case $LIBOBJS in
    6796     "xmalloc.$ac_objext"   | \
    6797   *" xmalloc.$ac_objext"   | \
    6798     "xmalloc.$ac_objext "* | \
     7121  case " $LIBOBJS " in
    67997122  *" xmalloc.$ac_objext "* ) ;;
    6800   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    6801 esac
    6802 
    6803   case $LIBOBJS in
    6804     "error.$ac_objext"   | \
    6805   *" error.$ac_objext"   | \
    6806     "error.$ac_objext "* | \
     7123  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
     7124 ;;
     7125esac
     7126
     7127  case " $LIBOBJS " in
    68077128  *" error.$ac_objext "* ) ;;
    6808   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     7129  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     7130 ;;
    68097131esac
    68107132
     
    68147136# ---------------------------------------------------------------------------
    68157137
    6816 ac_ext=cc
     7138ac_ext=cpp
    68177139ac_cpp='$CXXCPP $CPPFLAGS'
    68187140ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    68217143
    68227144
    6823 echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
    6824 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6
     7145{ echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
     7146echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6; }
    68257147success="no"
    68267148pl_path="$PATH"
     
    68367158
    68377159success=no
    6838 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
    6839 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
     7160{ echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
     7161echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6; }
    68407162
    68417163
     
    68577179_ACEOF
    68587180rm -f conftest.$ac_objext
    6859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6860   (eval $ac_compile) 2>conftest.er1
     7181if { (ac_try="$ac_compile"
     7182case "(($ac_try" in
     7183  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7184  *) ac_try_echo=$ac_try;;
     7185esac
     7186eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7187  (eval "$ac_compile") 2>conftest.er1
    68617188  ac_status=$?
    68627189  grep -v '^ *+' conftest.er1 >conftest.err
     
    68647191  cat conftest.err >&5
    68657192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6866   (exit $ac_status); } &&
    6867      { ac_try='test -z "$ac_cxx_werror_flag"
    6868              || test ! -s conftest.err'
    6869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6870   (eval $ac_try) 2>&5
    6871   ac_status=$?
    6872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6873   (exit $ac_status); }; } &&
    6874      { ac_try='test -s conftest.$ac_objext'
    6875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6876   (eval $ac_try) 2>&5
    6877   ac_status=$?
    6878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6879   (exit $ac_status); }; }; then
     7193  (exit $ac_status); } && {
     7194     test -z "$ac_cxx_werror_flag" ||
     7195     test ! -s conftest.err
     7196       } && test -s conftest.$ac_objext; then
    68807197  success=yes
    68817198else
     
    68837200sed 's/^/| /' conftest.$ac_ext >&5
    68847201
    6885 fi
    6886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7202
     7203fi
     7204
     7205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    68877206
    68887207if test $success = "no"; then
     
    69047223_ACEOF
    69057224rm -f conftest.$ac_objext
    6906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6907   (eval $ac_compile) 2>conftest.er1
     7225if { (ac_try="$ac_compile"
     7226case "(($ac_try" in
     7227  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7228  *) ac_try_echo=$ac_try;;
     7229esac
     7230eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7231  (eval "$ac_compile") 2>conftest.er1
    69087232  ac_status=$?
    69097233  grep -v '^ *+' conftest.er1 >conftest.err
     
    69117235  cat conftest.err >&5
    69127236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6913   (exit $ac_status); } &&
    6914      { ac_try='test -z "$ac_cxx_werror_flag"
    6915              || test ! -s conftest.err'
    6916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6917   (eval $ac_try) 2>&5
    6918   ac_status=$?
    6919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6920   (exit $ac_status); }; } &&
    6921      { ac_try='test -s conftest.$ac_objext'
    6922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6923   (eval $ac_try) 2>&5
    6924   ac_status=$?
    6925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6926   (exit $ac_status); }; }; then
     7237  (exit $ac_status); } && {
     7238     test -z "$ac_cxx_werror_flag" ||
     7239     test ! -s conftest.err
     7240       } && test -s conftest.$ac_objext; then
    69277241  success="yes"
    69287242else
     
    69307244sed 's/^/| /' conftest.$ac_ext >&5
    69317245
    6932 fi
    6933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7246
     7247fi
     7248
     7249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    69347250fi
    69357251
     
    69527268_ACEOF
    69537269rm -f conftest.$ac_objext
    6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6955   (eval $ac_compile) 2>conftest.er1
     7270if { (ac_try="$ac_compile"
     7271case "(($ac_try" in
     7272  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7273  *) ac_try_echo=$ac_try;;
     7274esac
     7275eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7276  (eval "$ac_compile") 2>conftest.er1
    69567277  ac_status=$?
    69577278  grep -v '^ *+' conftest.er1 >conftest.err
     
    69597280  cat conftest.err >&5
    69607281  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6961   (exit $ac_status); } &&
    6962      { ac_try='test -z "$ac_cxx_werror_flag"
    6963              || test ! -s conftest.err'
    6964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6965   (eval $ac_try) 2>&5
    6966   ac_status=$?
    6967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6968   (exit $ac_status); }; } &&
    6969      { ac_try='test -s conftest.$ac_objext'
    6970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6971   (eval $ac_try) 2>&5
    6972   ac_status=$?
    6973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6974   (exit $ac_status); }; }; then
     7282  (exit $ac_status); } && {
     7283     test -z "$ac_cxx_werror_flag" ||
     7284     test ! -s conftest.err
     7285       } && test -s conftest.$ac_objext; then
    69757286  success="yes"
    69767287else
     
    69787289sed 's/^/| /' conftest.$ac_ext >&5
    69797290
    6980 fi
    6981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7291
     7292fi
     7293
     7294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    69827295fi
    69837296
    69847297if test $success = yes; then
    6985 echo "$as_me:$LINENO: result: \"no\"" >&5
    6986 echo "${ECHO_T}\"no\"" >&6
    6987 else
    6988 echo "$as_me:$LINENO: result: \"yes\"" >&5
    6989 echo "${ECHO_T}\"yes\"" >&6
     7298{ echo "$as_me:$LINENO: result: \"no\"" >&5
     7299echo "${ECHO_T}\"no\"" >&6; }
     7300else
     7301{ echo "$as_me:$LINENO: result: \"yes\"" >&5
     7302echo "${ECHO_T}\"yes\"" >&6; }
    69907303{ { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
    69917304echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
     
    70027315
    70037316# check for endianness
    7004 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    7005 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
     7317{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7318echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
    70067319if test "${ac_cv_c_bigendian+set}" = set; then
    70077320  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    70207333main ()
    70217334{
    7022 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
     7335#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
     7336    && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
    70237337 bogus endian macros
    70247338#endif
     
    70297343_ACEOF
    70307344rm -f conftest.$ac_objext
    7031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7032   (eval $ac_compile) 2>conftest.er1
     7345if { (ac_try="$ac_compile"
     7346case "(($ac_try" in
     7347  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7348  *) ac_try_echo=$ac_try;;
     7349esac
     7350eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7351  (eval "$ac_compile") 2>conftest.er1
    70337352  ac_status=$?
    70347353  grep -v '^ *+' conftest.er1 >conftest.err
     
    70367355  cat conftest.err >&5
    70377356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7038   (exit $ac_status); } &&
    7039      { ac_try='test -z "$ac_cxx_werror_flag"
    7040              || test ! -s conftest.err'
    7041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7042   (eval $ac_try) 2>&5
    7043   ac_status=$?
    7044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7045   (exit $ac_status); }; } &&
    7046      { ac_try='test -s conftest.$ac_objext'
    7047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7048   (eval $ac_try) 2>&5
    7049   ac_status=$?
    7050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7051   (exit $ac_status); }; }; then
     7357  (exit $ac_status); } && {
     7358     test -z "$ac_cxx_werror_flag" ||
     7359     test ! -s conftest.err
     7360       } && test -s conftest.$ac_objext; then
    70527361  # It does; now see whether it defined to BIG_ENDIAN or not.
    70537362cat >conftest.$ac_ext <<_ACEOF
     
    70727381_ACEOF
    70737382rm -f conftest.$ac_objext
    7074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7075   (eval $ac_compile) 2>conftest.er1
     7383if { (ac_try="$ac_compile"
     7384case "(($ac_try" in
     7385  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7386  *) ac_try_echo=$ac_try;;
     7387esac
     7388eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7389  (eval "$ac_compile") 2>conftest.er1
    70767390  ac_status=$?
    70777391  grep -v '^ *+' conftest.er1 >conftest.err
     
    70797393  cat conftest.err >&5
    70807394  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7081   (exit $ac_status); } &&
    7082      { ac_try='test -z "$ac_cxx_werror_flag"
    7083              || test ! -s conftest.err'
    7084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7085   (eval $ac_try) 2>&5
    7086   ac_status=$?
    7087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7088   (exit $ac_status); }; } &&
    7089      { ac_try='test -s conftest.$ac_objext'
    7090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7091   (eval $ac_try) 2>&5
    7092   ac_status=$?
    7093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7094   (exit $ac_status); }; }; then
     7395  (exit $ac_status); } && {
     7396     test -z "$ac_cxx_werror_flag" ||
     7397     test ! -s conftest.err
     7398       } && test -s conftest.$ac_objext; then
    70957399  ac_cv_c_bigendian=yes
    70967400else
     
    70987402sed 's/^/| /' conftest.$ac_ext >&5
    70997403
    7100 ac_cv_c_bigendian=no
    7101 fi
    7102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7404    ac_cv_c_bigendian=no
     7405fi
     7406
     7407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71037408else
    71047409  echo "$as_me: failed program was:" >&5
    71057410sed 's/^/| /' conftest.$ac_ext >&5
    71067411
    7107 # It does not; compile a test program.
     7412    # It does not; compile a test program.
    71087413if test "$cross_compiling" = yes; then
    71097414  # try to guess the endianness by grepping values into an object file
     
    71157420cat >>conftest.$ac_ext <<_ACEOF
    71167421/* end confdefs.h.  */
    7117 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    7118 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     7422short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     7423short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    71197424void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    7120 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    7121 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     7425short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     7426short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    71227427void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    71237428int
     
    71307435_ACEOF
    71317436rm -f conftest.$ac_objext
    7132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7133   (eval $ac_compile) 2>conftest.er1
     7437if { (ac_try="$ac_compile"
     7438case "(($ac_try" in
     7439  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7440  *) ac_try_echo=$ac_try;;
     7441esac
     7442eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7443  (eval "$ac_compile") 2>conftest.er1
    71347444  ac_status=$?
    71357445  grep -v '^ *+' conftest.er1 >conftest.err
     
    71377447  cat conftest.err >&5
    71387448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7139   (exit $ac_status); } &&
    7140      { ac_try='test -z "$ac_cxx_werror_flag"
    7141              || test ! -s conftest.err'
    7142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7143   (eval $ac_try) 2>&5
    7144   ac_status=$?
    7145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7146   (exit $ac_status); }; } &&
    7147      { ac_try='test -s conftest.$ac_objext'
    7148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7149   (eval $ac_try) 2>&5
    7150   ac_status=$?
    7151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7152   (exit $ac_status); }; }; then
     7449  (exit $ac_status); } && {
     7450     test -z "$ac_cxx_werror_flag" ||
     7451     test ! -s conftest.err
     7452       } && test -s conftest.$ac_objext; then
    71537453  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    71547454  ac_cv_c_bigendian=yes
     
    71667466sed 's/^/| /' conftest.$ac_ext >&5
    71677467
    7168 fi
    7169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7468
     7469fi
     7470
     7471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71707472else
    71717473  cat >conftest.$ac_ext <<_ACEOF
     
    71757477cat >>conftest.$ac_ext <<_ACEOF
    71767478/* end confdefs.h.  */
     7479$ac_includes_default
    71777480int
    71787481main ()
    71797482{
     7483
    71807484  /* Are we little or big endian?  From Harbison&Steele.  */
    71817485  union
    71827486  {
    7183     long l;
    7184     char c[sizeof (long)];
     7487    long int l;
     7488    char c[sizeof (long int)];
    71857489  } u;
    71867490  u.l = 1;
    7187   exit (u.c[sizeof (long) - 1] == 1);
     7491  return u.c[sizeof (long int) - 1] == 1;
     7492
     7493  ;
     7494  return 0;
    71887495}
    71897496_ACEOF
    71907497rm -f conftest$ac_exeext
    7191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7192   (eval $ac_link) 2>&5
     7498if { (ac_try="$ac_link"
     7499case "(($ac_try" in
     7500  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7501  *) ac_try_echo=$ac_try;;
     7502esac
     7503eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7504  (eval "$ac_link") 2>&5
    71937505  ac_status=$?
    71947506  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71957507  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7197   (eval $ac_try) 2>&5
     7508  { (case "(($ac_try" in
     7509  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7510  *) ac_try_echo=$ac_try;;
     7511esac
     7512eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7513  (eval "$ac_try") 2>&5
    71987514  ac_status=$?
    71997515  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    72087524ac_cv_c_bigendian=yes
    72097525fi
    7210 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7211 fi
    7212 fi
    7213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7214 fi
    7215 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    7216 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
     7526rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7527fi
     7528
     7529
     7530fi
     7531
     7532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7533fi
     7534{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7535echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
    72177536case $ac_cv_c_bigendian in
    72187537  yes)
     
    72347553# ---------------------------------------------------------------------------
    72357554if test "$ac_cv_func_alloca" = 'no'; then
    7236   case $LIBOBJS in
    7237     "xmalloc.o.$ac_objext"   | \
    7238   *" xmalloc.o.$ac_objext"   | \
    7239     "xmalloc.o.$ac_objext "* | \
     7555  case " $LIBOBJS " in
    72407556  *" xmalloc.o.$ac_objext "* ) ;;
    7241   *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
    7242 esac
    7243 
    7244   case $LIBOBJS in
    7245     "error.$ac_objext"   | \
    7246   *" error.$ac_objext"   | \
    7247     "error.$ac_objext "* | \
     7557  *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
     7558 ;;
     7559esac
     7560
     7561  case " $LIBOBJS " in
    72487562  *" error.$ac_objext "* ) ;;
    7249   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     7563  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     7564 ;;
    72507565esac
    72517566
     
    72727587
    72737588
    7274 
    7275 
    72767589subdirs="$subdirs packages"
    72777590
     
    72857598         src/z3950/Makefile"
    72867599
    7287                                         ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
     7600ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
     7601
    72887602cat >confcache <<\_ACEOF
    72897603# This file is a shell script that caches the results of configure
     
    73047618# The following way of writing the cache mishandles newlines in values,
    73057619# but we know of no workaround that is simple, portable, and efficient.
    7306 # So, don't put newlines in cache variables' values.
     7620# So, we kill variables containing newlines.
    73077621# Ultrix sh set writes to stderr and can't be redirected directly,
    73087622# and sets the high bit in the cache file unless we assign to the vars.
    7309 {
     7623(
     7624  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     7625    eval ac_val=\$$ac_var
     7626    case $ac_val in #(
     7627    *${as_nl}*)
     7628      case $ac_var in #(
     7629      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     7630echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     7631      esac
     7632      case $ac_var in #(
     7633      _ | IFS | as_nl) ;; #(
     7634      *) $as_unset $ac_var ;;
     7635      esac ;;
     7636    esac
     7637  done
     7638
    73107639  (set) 2>&1 |
    7311     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    7312     *ac_space=\ *)
     7640    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     7641    *${as_nl}ac_space=\ *)
    73137642      # `set' does not quote correctly, so add quotes (double-quote
    73147643      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    73167645    "s/'/'\\\\''/g;
    73177646      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    7318       ;;
     7647      ;; #(
    73197648    *)
    73207649      # `set' quotes correctly as required by POSIX, so do not add quotes.
    7321       sed -n \
    7322     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     7650      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    73237651      ;;
    7324     esac;
    7325 } |
     7652    esac |
     7653    sort
     7654) |
    73267655  sed '
     7656     /^ac_cv_env_/b end
    73277657     t clear
    7328      : clear
     7658     :clear
    73297659     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    73307660     t end
    7331      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    7332      : end' >>confcache
    7333 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    7334   if test -w $cache_file; then
    7335     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     7661     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     7662     :end' >>confcache
     7663if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     7664  if test -w "$cache_file"; then
     7665    test "x$cache_file" != "x/dev/null" &&
     7666      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
     7667echo "$as_me: updating cache $cache_file" >&6;}
    73367668    cat confcache >$cache_file
    73377669  else
    7338     echo "not updating unwritable cache $cache_file"
     7670    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     7671echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    73397672  fi
    73407673fi
     
    73447677# Let make expand exec_prefix.
    73457678test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    7346 
    7347 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    7348 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    7349 # trailing colons and then remove the whole line if VPATH becomes empty
    7350 # (actually we leave an empty line to preserve line numbers).
    7351 if test "x$srcdir" = x.; then
    7352   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    7353 s/:*\$(srcdir):*/:/;
    7354 s/:*\${srcdir}:*/:/;
    7355 s/:*@srcdir@:*/:/;
    7356 s/^\([^=]*=[     ]*\):*/\1/;
    7357 s/:*$//;
    7358 s/^[^=]*=[   ]*$//;
    7359 }'
    7360 fi
    73617679
    73627680DEFS=-DHAVE_CONFIG_H
     
    73667684for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    73677685  # 1. Remove the extension, and $U if already installed.
    7368   ac_i=`echo "$ac_i" |
    7369      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    7370   # 2. Add them.
    7371   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    7372   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     7686  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     7687  ac_i=`echo "$ac_i" | sed "$ac_script"`
     7688  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     7689  #    will be set to the directory where LIBOBJS objects are built.
     7690  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     7691  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    73737692done
    73747693LIBOBJS=$ac_libobjs
     
    74017720## --------------------- ##
    74027721
    7403 # Be Bourne compatible
     7722# Be more Bourne compatible
     7723DUALCASE=1; export DUALCASE # for MKS sh
    74047724if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    74057725  emulate sh
     
    74087728  # is contrary to our usage.  Disable this feature.
    74097729  alias -g '${1+"$@"}'='"$@"'
    7410 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    7411   set -o posix
    7412 fi
    7413 DUALCASE=1; export DUALCASE # for MKS sh
    7414 
    7415 # Support unset when possible.
    7416 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    7417   as_unset=unset
    7418 else
    7419   as_unset=false
    7420 fi
    7421 
    7422 
    7423 # Work around bugs in pre-3.0 UWIN ksh.
    7424 $as_unset ENV MAIL MAILPATH
    7425 PS1='$ '
    7426 PS2='> '
    7427 PS4='+ '
    7428 
    7429 # NLS nuisances.
    7430 for as_var in \
    7431   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    7432   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    7433   LC_TELEPHONE LC_TIME
    7434 do
    7435   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    7436     eval $as_var=C; export $as_var
    7437   else
    7438     $as_unset $as_var
    7439   fi
    7440 done
    7441 
    7442 # Required to use basename.
    7443 if expr a : '\(a\)' >/dev/null 2>&1; then
    7444   as_expr=expr
    7445 else
    7446   as_expr=false
    7447 fi
    7448 
    7449 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    7450   as_basename=basename
    7451 else
    7452   as_basename=false
    7453 fi
    7454 
    7455 
    7456 # Name of the executable.
    7457 as_me=`$as_basename "$0" ||
    7458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    7459      X"$0" : 'X\(//\)$' \| \
    7460      X"$0" : 'X\(/\)$' \| \
    7461      .     : '\(.\)' 2>/dev/null ||
    7462 echo X/"$0" |
    7463     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    7464       /^X\/\(\/\/\)$/{ s//\1/; q; }
    7465       /^X\/\(\/\).*/{ s//\1/; q; }
    7466       s/.*/./; q'`
    7467 
    7468 
    7469 # PATH needs CR, and LINENO needs CR and PATH.
     7730  setopt NO_GLOB_SUBST
     7731else
     7732  case `(set -o) 2>/dev/null` in
     7733  *posix*) set -o posix ;;
     7734esac
     7735
     7736fi
     7737
     7738
     7739
     7740
     7741# PATH needs CR
    74707742# Avoid depending upon Character Ranges.
    74717743as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    74887760fi
    74897761
    7490 
    7491   as_lineno_1=$LINENO
    7492   as_lineno_2=$LINENO
    7493   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    7494   test "x$as_lineno_1" != "x$as_lineno_2" &&
    7495   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    7496   # Find who we are.  Look in the path if we contain no path at all
    7497   # relative or not.
    7498   case $0 in
    7499     *[\\/]* ) as_myself=$0 ;;
    7500     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7762# Support unset when possible.
     7763if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     7764  as_unset=unset
     7765else
     7766  as_unset=false
     7767fi
     7768
     7769
     7770# IFS
     7771# We need space, tab and new line, in precisely that order.  Quoting is
     7772# there to prevent editors from complaining about space-tab.
     7773# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     7774# splitting by setting IFS to empty value.)
     7775as_nl='
     7776'
     7777IFS=" ""    $as_nl"
     7778
     7779# Find who we are.  Look in the path if we contain no directory separator.
     7780case $0 in
     7781  *[\\/]* ) as_myself=$0 ;;
     7782  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    75017783for as_dir in $PATH
    75027784do
     
    75057787  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    75067788done
    7507 
    7508        ;;
    7509   esac
    7510   # We did not find ourselves, most probably we were run as `sh COMMAND'
    7511   # in which case we are not to be found in the path.
    7512   if test "x$as_myself" = x; then
    7513     as_myself=$0
     7789IFS=$as_save_IFS
     7790
     7791     ;;
     7792esac
     7793# We did not find ourselves, most probably we were run as `sh COMMAND'
     7794# in which case we are not to be found in the path.
     7795if test "x$as_myself" = x; then
     7796  as_myself=$0
     7797fi
     7798if test ! -f "$as_myself"; then
     7799  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     7800  { (exit 1); exit 1; }
     7801fi
     7802
     7803# Work around bugs in pre-3.0 UWIN ksh.
     7804for as_var in ENV MAIL MAILPATH
     7805do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     7806done
     7807PS1='$ '
     7808PS2='> '
     7809PS4='+ '
     7810
     7811# NLS nuisances.
     7812for as_var in \
     7813  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     7814  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     7815  LC_TELEPHONE LC_TIME
     7816do
     7817  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     7818    eval $as_var=C; export $as_var
     7819  else
     7820    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    75147821  fi
    7515   if test ! -f "$as_myself"; then
    7516     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    7517 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    7518    { (exit 1); exit 1; }; }
    7519   fi
    7520   case $CONFIG_SHELL in
    7521   '')
    7522     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7523 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    7524 do
    7525   IFS=$as_save_IFS
    7526   test -z "$as_dir" && as_dir=.
    7527   for as_base in sh bash ksh sh5; do
    7528      case $as_dir in
    7529      /*)
    7530        if ("$as_dir/$as_base" -c '
     7822done
     7823
     7824# Required to use basename.
     7825if expr a : '\(a\)' >/dev/null 2>&1 &&
     7826   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     7827  as_expr=expr
     7828else
     7829  as_expr=false
     7830fi
     7831
     7832if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     7833  as_basename=basename
     7834else
     7835  as_basename=false
     7836fi
     7837
     7838
     7839# Name of the executable.
     7840as_me=`$as_basename -- "$0" ||
     7841$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     7842     X"$0" : 'X\(//\)$' \| \
     7843     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     7844echo X/"$0" |
     7845    sed '/^.*\/\([^/][^/]*\)\/*$/{
     7846        s//\1/
     7847        q
     7848      }
     7849      /^X\/\(\/\/\)$/{
     7850        s//\1/
     7851        q
     7852      }
     7853      /^X\/\(\/\).*/{
     7854        s//\1/
     7855        q
     7856      }
     7857      s/.*/./; q'`
     7858
     7859# CDPATH.
     7860$as_unset CDPATH
     7861
     7862
     7863
    75317864  as_lineno_1=$LINENO
    75327865  as_lineno_2=$LINENO
    7533   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    75347866  test "x$as_lineno_1" != "x$as_lineno_2" &&
    7535   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    7536          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    7537          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    7538          CONFIG_SHELL=$as_dir/$as_base
    7539          export CONFIG_SHELL
    7540          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    7541        fi;;
    7542      esac
    7543        done
    7544 done
    7545 ;;
    7546   esac
     7867  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    75477868
    75487869  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    75497870  # uniformly replaced by the line number.  The first 'sed' inserts a
    7550   # line-number line before each line; the second 'sed' does the real
    7551   # work.  The second script uses 'N' to pair each line-number line
    7552   # with the numbered line, and appends trailing '-' during
    7553   # substitution so that $LINENO is not a special case at line end.
     7871  # line-number line after each line using $LINENO; the second 'sed'
     7872  # does the real work.  The second script uses 'N' to pair each
     7873  # line-number line with the line containing $LINENO, and appends
     7874  # trailing '-' during substitution so that $LINENO is not a special
     7875  # case at line end.
    75547876  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    7555   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    7556   sed '=' <$as_myself |
     7877  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     7878  # E. McMahon (1931-1989) for sed's syntax.  :-)
     7879  sed -n '
     7880    p
     7881    /[$]LINENO/=
     7882  ' <$as_myself |
    75577883    sed '
     7884      s/[$]LINENO.*/&-/
     7885      t lineno
     7886      b
     7887      :lineno
    75587888      N
    7559       s,$,-,
    7560       : loop
    7561       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     7889      :loop
     7890      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    75627891      t loop
    7563       s,-$,,
    7564       s,^['$as_cr_digits']*\n,,
     7892      s/-\n.*//
    75657893    ' >$as_me.lineno &&
    7566   chmod +x $as_me.lineno ||
    7567     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    7568 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     7894  chmod +x "$as_me.lineno" ||
     7895    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    75697896   { (exit 1); exit 1; }; }
    75707897
    75717898  # Don't try to exec as it changes $[0], causing all sort of problems
    75727899  # (the dirname of $[0] is not the place where we might find the
    7573   # original and so on.  Autoconf is especially sensible to this).
    7574   . ./$as_me.lineno
     7900  # original and so on.  Autoconf is especially sensitive to this).
     7901  . "./$as_me.lineno"
    75757902  # Exit status is that of the last command.
    75767903  exit
     
    75787905
    75797906
    7580 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    7581   *c*,-n*) ECHO_N= ECHO_C='
    7582 ' ECHO_T='  ' ;;
    7583   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    7584   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    7585 esac
    7586 
    7587 if expr a : '\(a\)' >/dev/null 2>&1; then
     7907if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     7908  as_dirname=dirname
     7909else
     7910  as_dirname=false
     7911fi
     7912
     7913ECHO_C= ECHO_N= ECHO_T=
     7914case `echo -n x` in
     7915-n*)
     7916  case `echo 'x\c'` in
     7917  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     7918  *)   ECHO_C='\c';;
     7919  esac;;
     7920*)
     7921  ECHO_N='-n';;
     7922esac
     7923
     7924if expr a : '\(a\)' >/dev/null 2>&1 &&
     7925   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    75887926  as_expr=expr
    75897927else
     
    75927930
    75937931rm -f conf$$ conf$$.exe conf$$.file
     7932if test -d conf$$.dir; then
     7933  rm -f conf$$.dir/conf$$.file
     7934else
     7935  rm -f conf$$.dir
     7936  mkdir conf$$.dir
     7937fi
    75947938echo >conf$$.file
    75957939if ln -s conf$$.file conf$$ 2>/dev/null; then
    7596   # We could just check for DJGPP; but this test a) works b) is more generic
    7597   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    7598   if test -f conf$$.exe; then
    7599     # Don't use ln at all; we don't have any links
     7940  as_ln_s='ln -s'
     7941  # ... but there are two gotchas:
     7942  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     7943  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     7944  # In both cases, we have to default to `cp -p'.
     7945  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    76007946    as_ln_s='cp -p'
    7601   else
    7602     as_ln_s='ln -s'
    7603   fi
    76047947elif ln conf$$.file conf$$ 2>/dev/null; then
    76057948  as_ln_s=ln
     
    76077950  as_ln_s='cp -p'
    76087951fi
    7609 rm -f conf$$ conf$$.exe conf$$.file
     7952rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     7953rmdir conf$$.dir 2>/dev/null
    76107954
    76117955if mkdir -p . 2>/dev/null; then
     
    76167960fi
    76177961
    7618 as_executable_p="test -f"
     7962if test -x / >/dev/null 2>&1; then
     7963  as_test_x='test -x'
     7964else
     7965  if ls -dL / >/dev/null 2>&1; then
     7966    as_ls_L_option=L
     7967  else
     7968    as_ls_L_option=
     7969  fi
     7970  as_test_x='
     7971    eval sh -c '\''
     7972      if test -d "$1"; then
     7973        test -d "$1/.";
     7974      else
     7975    case $1 in
     7976        -*)set "./$1";;
     7977    esac;
     7978    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     7979    ???[sx]*):;;*)false;;esac;fi
     7980    '\'' sh
     7981  '
     7982fi
     7983as_executable_p=$as_test_x
    76197984
    76207985# Sed expression to map a string onto a valid CPP name.
     
    76257990
    76267991
    7627 # IFS
    7628 # We need space, tab and new line, in precisely that order.
    7629 as_nl='
    7630 '
    7631 IFS="   $as_nl"
    7632 
    7633 # CDPATH.
    7634 $as_unset CDPATH
    7635 
    76367992exec 6>&1
    76377993
    7638 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     7994# Save the log message, to keep $[0] and so on meaningful, and to
    76397995# report actual input values of CONFIG_FILES etc. instead of their
    7640 # values after options handling.  Logging --version etc. is OK.
    7641 exec 5>>config.log
    7642 {
    7643   echo
    7644   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    7645 ## Running $as_me. ##
    7646 _ASBOX
    7647 } >&5
    7648 cat >&5 <<_CSEOF
    7649 
     7996# values after options handling.
     7997ac_log="
    76507998This file was extended by $as_me, which was
    7651 generated by GNU Autoconf 2.59.  Invocation command line was
     7999generated by GNU Autoconf 2.61.  Invocation command line was
    76528000
    76538001  CONFIG_FILES    = $CONFIG_FILES
     
    76578005  $ $0 $@
    76588006
    7659 _CSEOF
    7660 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    7661 echo >&5
    7662 _ACEOF
    7663 
     8007on `(hostname || uname -n) 2>/dev/null | sed 1q`
     8008"
     8009
     8010_ACEOF
     8011
     8012cat >>$CONFIG_STATUS <<_ACEOF
    76648013# Files that config.status was made for.
    7665 if test -n "$ac_config_files"; then
    7666   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    7667 fi
    7668 
    7669 if test -n "$ac_config_headers"; then
    7670   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    7671 fi
    7672 
    7673 if test -n "$ac_config_links"; then
    7674   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    7675 fi
    7676 
    7677 if test -n "$ac_config_commands"; then
    7678   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    7679 fi
     8014config_files="$ac_config_files"
     8015config_headers="$ac_config_headers"
     8016
     8017_ACEOF
    76808018
    76818019cat >>$CONFIG_STATUS <<\_ACEOF
    7682 
    76838020ac_cs_usage="\
    76848021\`$as_me' instantiates files from templates according to the
     
    76888025
    76898026  -h, --help       print this help, then exit
    7690   -V, --version    print version number, then exit
     8027  -V, --version    print version number and configuration settings, then exit
    76918028  -q, --quiet      do not print progress messages
    76928029  -d, --debug      don't remove temporary files
     
    77048041
    77058042Report bugs to <[email protected]>."
    7706 _ACEOF
    7707 
     8043
     8044_ACEOF
    77088045cat >>$CONFIG_STATUS <<_ACEOF
    77098046ac_cs_version="\\
    77108047config.status
    7711 configured by $0, generated by GNU Autoconf 2.59,
    7712   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    7713 
    7714 Copyright (C) 2003 Free Software Foundation, Inc.
     8048configured by $0, generated by GNU Autoconf 2.61,
     8049  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     8050
     8051Copyright (C) 2006 Free Software Foundation, Inc.
    77158052This config.status script is free software; the Free Software Foundation
    77168053gives unlimited permission to copy, distribute and modify it."
    7717 srcdir=$srcdir
    7718 INSTALL="$INSTALL"
     8054
     8055ac_pwd='$ac_pwd'
     8056srcdir='$srcdir'
     8057INSTALL='$INSTALL'
    77198058_ACEOF
    77208059
     
    77278066  case $1 in
    77288067  --*=*)
    7729     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    7730     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     8068    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     8069    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    77318070    ac_shift=:
    77328071    ;;
    7733   -*)
     8072  *)
    77348073    ac_option=$1
    77358074    ac_optarg=$2
    77368075    ac_shift=shift
    77378076    ;;
    7738   *) # This is not an option, so the user has probably given explicit
    7739      # arguments.
    7740      ac_option=$1
    7741      ac_need_defaults=false;;
    77428077  esac
    77438078
    77448079  case $ac_option in
    77458080  # Handling of the options.
    7746 _ACEOF
    7747 cat >>$CONFIG_STATUS <<\_ACEOF
    77488081  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    77498082    ac_cs_recheck=: ;;
    7750   --version | --vers* | -V )
    7751     echo "$ac_cs_version"; exit 0 ;;
    7752   --he | --h)
    7753     # Conflict between --help and --header
    7754     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    7755 Try \`$0 --help' for more information." >&5
    7756 echo "$as_me: error: ambiguous option: $1
    7757 Try \`$0 --help' for more information." >&2;}
    7758    { (exit 1); exit 1; }; };;
    7759   --help | --hel | -h )
    7760     echo "$ac_cs_usage"; exit 0 ;;
    7761   --debug | --d* | -d )
     8083  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     8084    echo "$ac_cs_version"; exit ;;
     8085  --debug | --debu | --deb | --de | --d | -d )
    77628086    debug=: ;;
    77638087  --file | --fil | --fi | --f )
     
    77698093    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    77708094    ac_need_defaults=false;;
     8095  --he | --h)
     8096    # Conflict between --help and --header
     8097    { echo "$as_me: error: ambiguous option: $1
     8098Try \`$0 --help' for more information." >&2
     8099   { (exit 1); exit 1; }; };;
     8100  --help | --hel | -h )
     8101    echo "$ac_cs_usage"; exit ;;
    77718102  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    77728103  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    77748105
    77758106  # This is an error.
    7776   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    7777 Try \`$0 --help' for more information." >&5
    7778 echo "$as_me: error: unrecognized option: $1
    7779 Try \`$0 --help' for more information." >&2;}
     8107  -*) { echo "$as_me: error: unrecognized option: $1
     8108Try \`$0 --help' for more information." >&2
    77808109   { (exit 1); exit 1; }; } ;;
    77818110
    7782   *) ac_config_targets="$ac_config_targets $1" ;;
     8111  *) ac_config_targets="$ac_config_targets $1"
     8112     ac_need_defaults=false ;;
    77838113
    77848114  esac
     
    77968126cat >>$CONFIG_STATUS <<_ACEOF
    77978127if \$ac_cs_recheck; then
    7798   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    7799   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    7800 fi
    7801 
    7802 _ACEOF
    7803 
    7804 
    7805 
    7806 
    7807 
     8128  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     8129  CONFIG_SHELL=$SHELL
     8130  export CONFIG_SHELL
     8131  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     8132fi
     8133
     8134_ACEOF
    78088135cat >>$CONFIG_STATUS <<\_ACEOF
     8136exec 5>>config.log
     8137{
     8138  echo
     8139  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     8140## Running $as_me. ##
     8141_ASBOX
     8142  echo "$ac_log"
     8143} >&5
     8144
     8145_ACEOF
     8146cat >>$CONFIG_STATUS <<_ACEOF
     8147_ACEOF
     8148
     8149cat >>$CONFIG_STATUS <<\_ACEOF
     8150
     8151# Handling of arguments.
    78098152for ac_config_target in $ac_config_targets
    78108153do
    7811   case "$ac_config_target" in
    7812   # Handling of arguments.
    7813   "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
    7814   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    7815   "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    7816   "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    7817   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     8154  case $ac_config_target in
     8155    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     8156    "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
     8157    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     8158    "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     8159    "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     8160
    78188161  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    78198162echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     
    78218164  esac
    78228165done
     8166
    78238167
    78248168# If the user did not use the arguments to specify the items to instantiate,
     
    78328176
    78338177# Have a temporary directory for convenience.  Make it in the build tree
    7834 # simply because there is no reason to put it here, and in addition,
     8178# simply because there is no reason against having it here, and in addition,
    78358179# creating and moving files from /tmp can sometimes cause problems.
    7836 # Create a temporary directory, and hook for its removal unless debugging.
     8180# Hook for its removal unless debugging.
     8181# Note that there is a small window in which the directory will not be cleaned:
     8182# after its creation but before its name has been assigned to `$tmp'.
    78378183$debug ||
    78388184{
    7839   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     8185  tmp=
     8186  trap 'exit_status=$?
     8187  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     8188' 0
    78408189  trap '{ (exit 1); exit 1; }' 1 2 13 15
    78418190}
    7842 
    78438191# Create a (secure) tmp directory for tmp files.
    78448192
    78458193{
    7846   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     8194  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    78478195  test -n "$tmp" && test -d "$tmp"
    78488196}  ||
    78498197{
    7850   tmp=./confstat$$-$RANDOM
    7851   (umask 077 && mkdir $tmp)
     8198  tmp=./conf$$-$RANDOM
     8199  (umask 077 && mkdir "$tmp")
    78528200} ||
    78538201{
     
    78568204}
    78578205
    7858 _ACEOF
    7859 
    7860 cat >>$CONFIG_STATUS <<_ACEOF
    7861 
    78628206#
    7863 # CONFIG_FILES section.
     8207# Set up the sed scripts for CONFIG_FILES section.
    78648208#
    78658209
    78668210# No need to generate the scripts if there are no CONFIG_FILES.
    78678211# This happens for instance when ./config.status config.h
    7868 if test -n "\$CONFIG_FILES"; then
    7869   # Protect against being on the right side of a sed subst in config.status.
    7870   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    7871    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    7872 s,@SHELL@,$SHELL,;t t
    7873 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    7874 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    7875 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    7876 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    7877 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    7878 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    7879 s,@exec_prefix@,$exec_prefix,;t t
    7880 s,@prefix@,$prefix,;t t
    7881 s,@program_transform_name@,$program_transform_name,;t t
    7882 s,@bindir@,$bindir,;t t
    7883 s,@sbindir@,$sbindir,;t t
    7884 s,@libexecdir@,$libexecdir,;t t
    7885 s,@datadir@,$datadir,;t t
    7886 s,@sysconfdir@,$sysconfdir,;t t
    7887 s,@sharedstatedir@,$sharedstatedir,;t t
    7888 s,@localstatedir@,$localstatedir,;t t
    7889 s,@libdir@,$libdir,;t t
    7890 s,@includedir@,$includedir,;t t
    7891 s,@oldincludedir@,$oldincludedir,;t t
    7892 s,@infodir@,$infodir,;t t
    7893 s,@mandir@,$mandir,;t t
    7894 s,@build_alias@,$build_alias,;t t
    7895 s,@host_alias@,$host_alias,;t t
    7896 s,@target_alias@,$target_alias,;t t
    7897 s,@DEFS@,$DEFS,;t t
    7898 s,@ECHO_C@,$ECHO_C,;t t
    7899 s,@ECHO_N@,$ECHO_N,;t t
    7900 s,@ECHO_T@,$ECHO_T,;t t
    7901 s,@LIBS@,$LIBS,;t t
    7902 s,@PACKAGE@,$PACKAGE,;t t
    7903 s,@VERSION@,$VERSION,;t t
    7904 s,@USE_FASTCGI@,$USE_FASTCGI,;t t
    7905 s,@USE_LANGACTION@,$USE_LANGACTION,;t t
    7906 s,@USE_CORBA@,$USE_CORBA,;t t
    7907 s,@MICO_DIR@,$MICO_DIR,;t t
    7908 s,@USE_Z3950@,$USE_Z3950,;t t
    7909 s,@USE_YAZ@,$USE_YAZ,;t t
    7910 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    7911 s,@USE_SQLITE@,$USE_SQLITE,;t t
    7912 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t
    7913 s,@LDFLAGS@,$LDFLAGS,;t t
    7914 s,@CFLAGS@,$CFLAGS,;t t
    7915 s,@CC@,$CC,;t t
    7916 s,@CPPFLAGS@,$CPPFLAGS,;t t
    7917 s,@ac_ct_CC@,$ac_ct_CC,;t t
    7918 s,@EXEEXT@,$EXEEXT,;t t
    7919 s,@OBJEXT@,$OBJEXT,;t t
    7920 s,@CXX@,$CXX,;t t
    7921 s,@CXXFLAGS@,$CXXFLAGS,;t t
    7922 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    7923 s,@AWK@,$AWK,;t t
    7924 s,@YACC@,$YACC,;t t
    7925 s,@build@,$build,;t t
    7926 s,@build_cpu@,$build_cpu,;t t
    7927 s,@build_vendor@,$build_vendor,;t t
    7928 s,@build_os@,$build_os,;t t
    7929 s,@host@,$host,;t t
    7930 s,@host_cpu@,$host_cpu,;t t
    7931 s,@host_vendor@,$host_vendor,;t t
    7932 s,@host_os@,$host_os,;t t
    7933 s,@target@,$target,;t t
    7934 s,@target_cpu@,$target_cpu,;t t
    7935 s,@target_vendor@,$target_vendor,;t t
    7936 s,@target_os@,$target_os,;t t
    7937 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    7938 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    7939 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    7940 s,@LN_S@,$LN_S,;t t
    7941 s,@SET_MAKE@,$SET_MAKE,;t t
    7942 s,@RANLIB@,$RANLIB,;t t
    7943 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    7944 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
    7945 s,@MICO_VER@,$MICO_VER,;t t
    7946 s,@CPP@,$CPP,;t t
    7947 s,@EGREP@,$EGREP,;t t
    7948 s,@U@,$U,;t t
    7949 s,@ANSI2KNR@,$ANSI2KNR,;t t
    7950 s,@ALLOCA@,$ALLOCA,;t t
    7951 s,@LIBOBJS@,$LIBOBJS,;t t
    7952 s,@STATIC@,$STATIC,;t t
    7953 s,@gsdlos@,$gsdlos,;t t
    7954 s,@MODULEDIRS@,$MODULEDIRS,;t t
    7955 s,@subdirs@,$subdirs,;t t
    7956 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    7957 CEOF
    7958 
    7959 _ACEOF
    7960 
    7961   cat >>$CONFIG_STATUS <<\_ACEOF
    7962   # Split the substitutions into bite-sized pieces for seds with
    7963   # small command number limits, like on Digital OSF/1 and HP-UX.
    7964   ac_max_sed_lines=48
    7965   ac_sed_frag=1 # Number of current file.
    7966   ac_beg=1 # First line for current file.
    7967   ac_end=$ac_max_sed_lines # Line after last line for current file.
    7968   ac_more_lines=:
    7969   ac_sed_cmds=
    7970   while $ac_more_lines; do
    7971     if test $ac_beg -gt 1; then
    7972       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    7973     else
    7974       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     8212if test -n "$CONFIG_FILES"; then
     8213
     8214_ACEOF
     8215
     8216
     8217
     8218ac_delim='%!_!# '
     8219for ac_last_try in false false false false false :; do
     8220  cat >conf$$subs.sed <<_ACEOF
     8221SHELL!$SHELL$ac_delim
     8222PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
     8223PACKAGE_NAME!$PACKAGE_NAME$ac_delim
     8224PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
     8225PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
     8226PACKAGE_STRING!$PACKAGE_STRING$ac_delim
     8227PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
     8228exec_prefix!$exec_prefix$ac_delim
     8229prefix!$prefix$ac_delim
     8230program_transform_name!$program_transform_name$ac_delim
     8231bindir!$bindir$ac_delim
     8232sbindir!$sbindir$ac_delim
     8233libexecdir!$libexecdir$ac_delim
     8234datarootdir!$datarootdir$ac_delim
     8235datadir!$datadir$ac_delim
     8236sysconfdir!$sysconfdir$ac_delim
     8237sharedstatedir!$sharedstatedir$ac_delim
     8238localstatedir!$localstatedir$ac_delim
     8239includedir!$includedir$ac_delim
     8240oldincludedir!$oldincludedir$ac_delim
     8241docdir!$docdir$ac_delim
     8242infodir!$infodir$ac_delim
     8243htmldir!$htmldir$ac_delim
     8244dvidir!$dvidir$ac_delim
     8245pdfdir!$pdfdir$ac_delim
     8246psdir!$psdir$ac_delim
     8247libdir!$libdir$ac_delim
     8248localedir!$localedir$ac_delim
     8249mandir!$mandir$ac_delim
     8250DEFS!$DEFS$ac_delim
     8251ECHO_C!$ECHO_C$ac_delim
     8252ECHO_N!$ECHO_N$ac_delim
     8253ECHO_T!$ECHO_T$ac_delim
     8254LIBS!$LIBS$ac_delim
     8255build_alias!$build_alias$ac_delim
     8256host_alias!$host_alias$ac_delim
     8257target_alias!$target_alias$ac_delim
     8258PACKAGE!$PACKAGE$ac_delim
     8259VERSION!$VERSION$ac_delim
     8260USE_FASTCGI!$USE_FASTCGI$ac_delim
     8261USE_LANGACTION!$USE_LANGACTION$ac_delim
     8262USE_CORBA!$USE_CORBA$ac_delim
     8263MICO_DIR!$MICO_DIR$ac_delim
     8264USE_Z3950!$USE_Z3950$ac_delim
     8265USE_YAZ!$USE_YAZ$ac_delim
     8266ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim
     8267USE_SQLITE!$USE_SQLITE$ac_delim
     8268USE_APACHE_HTTPD!$USE_APACHE_HTTPD$ac_delim
     8269LDFLAGS!$LDFLAGS$ac_delim
     8270CFLAGS!$CFLAGS$ac_delim
     8271CC!$CC$ac_delim
     8272CPPFLAGS!$CPPFLAGS$ac_delim
     8273ac_ct_CC!$ac_ct_CC$ac_delim
     8274EXEEXT!$EXEEXT$ac_delim
     8275OBJEXT!$OBJEXT$ac_delim
     8276CXX!$CXX$ac_delim
     8277CXXFLAGS!$CXXFLAGS$ac_delim
     8278ac_ct_CXX!$ac_ct_CXX$ac_delim
     8279AWK!$AWK$ac_delim
     8280YACC!$YACC$ac_delim
     8281YFLAGS!$YFLAGS$ac_delim
     8282build!$build$ac_delim
     8283build_cpu!$build_cpu$ac_delim
     8284build_vendor!$build_vendor$ac_delim
     8285build_os!$build_os$ac_delim
     8286host!$host$ac_delim
     8287host_cpu!$host_cpu$ac_delim
     8288host_vendor!$host_vendor$ac_delim
     8289host_os!$host_os$ac_delim
     8290target!$target$ac_delim
     8291target_cpu!$target_cpu$ac_delim
     8292target_vendor!$target_vendor$ac_delim
     8293target_os!$target_os$ac_delim
     8294INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
     8295INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
     8296INSTALL_DATA!$INSTALL_DATA$ac_delim
     8297LN_S!$LN_S$ac_delim
     8298SET_MAKE!$SET_MAKE$ac_delim
     8299RANLIB!$RANLIB$ac_delim
     8300COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim
     8301MICO_VER!$MICO_VER$ac_delim
     8302CPP!$CPP$ac_delim
     8303GREP!$GREP$ac_delim
     8304EGREP!$EGREP$ac_delim
     8305U!$U$ac_delim
     8306ANSI2KNR!$ANSI2KNR$ac_delim
     8307ALLOCA!$ALLOCA$ac_delim
     8308LIBOBJS!$LIBOBJS$ac_delim
     8309STATIC!$STATIC$ac_delim
     8310gsdlos!$gsdlos$ac_delim
     8311MODULEDIRS!$MODULEDIRS$ac_delim
     8312subdirs!$subdirs$ac_delim
     8313LTLIBOBJS!$LTLIBOBJS$ac_delim
     8314_ACEOF
     8315
     8316  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then
     8317    break
     8318  elif $ac_last_try; then
     8319    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     8320echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     8321   { (exit 1); exit 1; }; }
     8322  else
     8323    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     8324  fi
     8325done
     8326
     8327ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
     8328if test -n "$ac_eof"; then
     8329  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
     8330  ac_eof=`expr $ac_eof + 1`
     8331fi
     8332
     8333cat >>$CONFIG_STATUS <<_ACEOF
     8334cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
     8335/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
     8336_ACEOF
     8337sed '
     8338s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
     8339s/^/s,@/; s/!/@,|#_!!_#|/
     8340:n
     8341t n
     8342s/'"$ac_delim"'$/,g/; t
     8343s/$/\\/; p
     8344N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
     8345' >>$CONFIG_STATUS <conf$$subs.sed
     8346rm -f conf$$subs.sed
     8347cat >>$CONFIG_STATUS <<_ACEOF
     8348:end
     8349s/|#_!!_#|//g
     8350CEOF$ac_eof
     8351_ACEOF
     8352
     8353
     8354# VPATH may cause trouble with some makes, so we remove $(srcdir),
     8355# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     8356# trailing colons and then remove the whole line if VPATH becomes empty
     8357# (actually we leave an empty line to preserve line numbers).
     8358if test "x$srcdir" = x.; then
     8359  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     8360s/:*\$(srcdir):*/:/
     8361s/:*\${srcdir}:*/:/
     8362s/:*@srcdir@:*/:/
     8363s/^\([^=]*=[     ]*\):*/\1/
     8364s/:*$//
     8365s/^[^=]*=[   ]*$//
     8366}'
     8367fi
     8368
     8369cat >>$CONFIG_STATUS <<\_ACEOF
     8370fi # test -n "$CONFIG_FILES"
     8371
     8372
     8373for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
     8374do
     8375  case $ac_tag in
     8376  :[FHLC]) ac_mode=$ac_tag; continue;;
     8377  esac
     8378  case $ac_mode$ac_tag in
     8379  :[FHL]*:*);;
     8380  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
     8381echo "$as_me: error: Invalid tag $ac_tag." >&2;}
     8382   { (exit 1); exit 1; }; };;
     8383  :[FH]-) ac_tag=-:-;;
     8384  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     8385  esac
     8386  ac_save_IFS=$IFS
     8387  IFS=:
     8388  set x $ac_tag
     8389  IFS=$ac_save_IFS
     8390  shift
     8391  ac_file=$1
     8392  shift
     8393
     8394  case $ac_mode in
     8395  :L) ac_source=$1;;
     8396  :[FH])
     8397    ac_file_inputs=
     8398    for ac_f
     8399    do
     8400      case $ac_f in
     8401      -) ac_f="$tmp/stdin";;
     8402      *) # Look for the file first in the build tree, then in the source tree
     8403     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     8404     # because $ac_f cannot contain `:'.
     8405     test -f "$ac_f" ||
     8406       case $ac_f in
     8407       [\\/$]*) false;;
     8408       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     8409       esac ||
     8410       { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     8411echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     8412   { (exit 1); exit 1; }; };;
     8413      esac
     8414      ac_file_inputs="$ac_file_inputs $ac_f"
     8415    done
     8416
     8417    # Let's still pretend it is `configure' which instantiates (i.e., don't
     8418    # use $as_me), people would be surprised to read:
     8419    #    /* config.h.  Generated by config.status.  */
     8420    configure_input="Generated from "`IFS=:
     8421      echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
     8422    if test x"$ac_file" != x-; then
     8423      configure_input="$ac_file.  $configure_input"
     8424      { echo "$as_me:$LINENO: creating $ac_file" >&5
     8425echo "$as_me: creating $ac_file" >&6;}
    79758426    fi
    7976     if test ! -s $tmp/subs.frag; then
    7977       ac_more_lines=false
    7978     else
    7979       # The purpose of the label and of the branching condition is to
    7980       # speed up the sed processing (if there are no `@' at all, there
    7981       # is no need to browse any of the substitutions).
    7982       # These are the two extra sed commands mentioned above.
    7983       (echo ':t
    7984   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    7985       if test -z "$ac_sed_cmds"; then
    7986     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    7987       else
    7988     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    7989       fi
    7990       ac_sed_frag=`expr $ac_sed_frag + 1`
    7991       ac_beg=$ac_end
    7992       ac_end=`expr $ac_end + $ac_max_sed_lines`
    7993     fi
    7994   done
    7995   if test -z "$ac_sed_cmds"; then
    7996     ac_sed_cmds=cat
    7997   fi
    7998 fi # test -n "$CONFIG_FILES"
    7999 
    8000 _ACEOF
    8001 cat >>$CONFIG_STATUS <<\_ACEOF
    8002 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    8003   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8004   case $ac_file in
    8005   - | *:- | *:-:* ) # input from stdin
    8006     cat >$tmp/stdin
    8007     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8008     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8009   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8010     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8011   * )   ac_file_in=$ac_file.in ;;
     8427
     8428    case $ac_tag in
     8429    *:-:* | *:-) cat >"$tmp/stdin";;
     8430    esac
     8431    ;;
    80128432  esac
    80138433
    8014   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    8015   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     8434  ac_dir=`$as_dirname -- "$ac_file" ||
    80168435$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    80178436     X"$ac_file" : 'X\(//\)[^/]' \| \
    80188437     X"$ac_file" : 'X\(//\)$' \| \
    8019      X"$ac_file" : 'X\(/\)' \| \
    8020      .     : '\(.\)' 2>/dev/null ||
     8438     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    80218439echo X"$ac_file" |
    8022     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8023       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8024       /^X\(\/\/\)$/{ s//\1/; q; }
    8025       /^X\(\/\).*/{ s//\1/; q; }
    8026       s/.*/./; q'`
    8027   { if $as_mkdir_p; then
    8028     mkdir -p "$ac_dir"
    8029   else
    8030     as_dir="$ac_dir"
     8440    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8441        s//\1/
     8442        q
     8443      }
     8444      /^X\(\/\/\)[^/].*/{
     8445        s//\1/
     8446        q
     8447      }
     8448      /^X\(\/\/\)$/{
     8449        s//\1/
     8450        q
     8451      }
     8452      /^X\(\/\).*/{
     8453        s//\1/
     8454        q
     8455      }
     8456      s/.*/./; q'`
     8457  { as_dir="$ac_dir"
     8458  case $as_dir in #(
     8459  -*) as_dir=./$as_dir;;
     8460  esac
     8461  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    80318462    as_dirs=
    8032     while test ! -d "$as_dir"; do
    8033       as_dirs="$as_dir $as_dirs"
    8034       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8463    while :; do
     8464      case $as_dir in #(
     8465      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
     8466      *) as_qdir=$as_dir;;
     8467      esac
     8468      as_dirs="'$as_qdir' $as_dirs"
     8469      as_dir=`$as_dirname -- "$as_dir" ||
    80358470$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    80368471     X"$as_dir" : 'X\(//\)[^/]' \| \
    80378472     X"$as_dir" : 'X\(//\)$' \| \
    8038      X"$as_dir" : 'X\(/\)' \| \
    8039      .     : '\(.\)' 2>/dev/null ||
     8473     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    80408474echo X"$as_dir" |
    8041     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8042       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8043       /^X\(\/\/\)$/{ s//\1/; q; }
    8044       /^X\(\/\).*/{ s//\1/; q; }
    8045       s/.*/./; q'`
     8475    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8476        s//\1/
     8477        q
     8478      }
     8479      /^X\(\/\/\)[^/].*/{
     8480        s//\1/
     8481        q
     8482      }
     8483      /^X\(\/\/\)$/{
     8484        s//\1/
     8485        q
     8486      }
     8487      /^X\(\/\).*/{
     8488        s//\1/
     8489        q
     8490      }
     8491      s/.*/./; q'`
     8492      test -d "$as_dir" && break
    80468493    done
    8047     test ! -n "$as_dirs" || mkdir $as_dirs
    8048   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8049 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8494    test -z "$as_dirs" || eval "mkdir $as_dirs"
     8495  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     8496echo "$as_me: error: cannot create directory $as_dir" >&2;}
    80508497   { (exit 1); exit 1; }; }; }
    8051 
    80528498  ac_builddir=.
    80538499
    8054 if test "$ac_dir" != .; then
     8500case "$ac_dir" in
     8501.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8502*)
    80558503  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8056   # A "../" for each directory in $ac_dir_suffix.
    8057   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8058 else
    8059   ac_dir_suffix= ac_top_builddir=
    8060 fi
     8504  # A ".." for each directory in $ac_dir_suffix.
     8505  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     8506  case $ac_top_builddir_sub in
     8507  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8508  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     8509  esac ;;
     8510esac
     8511ac_abs_top_builddir=$ac_pwd
     8512ac_abs_builddir=$ac_pwd$ac_dir_suffix
     8513# for backward compatibility:
     8514ac_top_builddir=$ac_top_build_prefix
    80618515
    80628516case $srcdir in
    8063   .)  # No --srcdir option.  We are building in place.
     8517  .)  # We are building in place.
    80648518    ac_srcdir=.
    8065     if test -z "$ac_top_builddir"; then
    8066        ac_top_srcdir=.
    8067     else
    8068        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8069     fi ;;
    8070   [\\/]* | ?:[\\/]* )  # Absolute path.
     8519    ac_top_srcdir=$ac_top_builddir_sub
     8520    ac_abs_top_srcdir=$ac_pwd ;;
     8521  [\\/]* | ?:[\\/]* )  # Absolute name.
    80718522    ac_srcdir=$srcdir$ac_dir_suffix;
    8072     ac_top_srcdir=$srcdir ;;
    8073   *) # Relative path.
    8074     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8075     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8076 esac
    8077 
    8078 # Do not use `cd foo && pwd` to compute absolute paths, because
    8079 # the directories may not exist.
    8080 case `pwd` in
    8081 .) ac_abs_builddir="$ac_dir";;
    8082 *)
    8083   case "$ac_dir" in
    8084   .) ac_abs_builddir=`pwd`;;
    8085   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8086   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8087   esac;;
    8088 esac
    8089 case $ac_abs_builddir in
    8090 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8091 *)
    8092   case ${ac_top_builddir}. in
    8093   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8094   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8095   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8096   esac;;
    8097 esac
    8098 case $ac_abs_builddir in
    8099 .) ac_abs_srcdir=$ac_srcdir;;
    8100 *)
    8101   case $ac_srcdir in
    8102   .) ac_abs_srcdir=$ac_abs_builddir;;
    8103   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8104   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8105   esac;;
    8106 esac
    8107 case $ac_abs_builddir in
    8108 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8109 *)
    8110   case $ac_top_srcdir in
    8111   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8112   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8113   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8114   esac;;
    8115 esac
    8116 
     8523    ac_top_srcdir=$srcdir
     8524    ac_abs_top_srcdir=$srcdir ;;
     8525  *) # Relative name.
     8526    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     8527    ac_top_srcdir=$ac_top_build_prefix$srcdir
     8528    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8529esac
     8530ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     8531
     8532
     8533  case $ac_mode in
     8534  :F)
     8535  #
     8536  # CONFIG_FILE
     8537  #
    81178538
    81188539  case $INSTALL in
    81198540  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    8120   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     8541  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    81218542  esac
    8122 
    8123   if test x"$ac_file" != x-; then
    8124     { echo "$as_me:$LINENO: creating $ac_file" >&5
    8125 echo "$as_me: creating $ac_file" >&6;}
    8126     rm -f "$ac_file"
    8127   fi
    8128   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8129   # use $as_me), people would be surprised to read:
    8130   #    /* config.h.  Generated by config.status.  */
    8131   if test x"$ac_file" = x-; then
    8132     configure_input=
    8133   else
    8134     configure_input="$ac_file.  "
    8135   fi
    8136   configure_input=$configure_input"Generated from `echo $ac_file_in |
    8137                      sed 's,.*/,,'` by configure."
    8138 
    8139   # First look for the input files in the build tree, otherwise in the
    8140   # src tree.
    8141   ac_file_inputs=`IFS=:
    8142     for f in $ac_file_in; do
    8143       case $f in
    8144       -) echo $tmp/stdin ;;
    8145       [\\/$]*)
    8146      # Absolute (can't be DOS-style, as IFS=:)
    8147      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8148 echo "$as_me: error: cannot find input file: $f" >&2;}
    8149    { (exit 1); exit 1; }; }
    8150      echo "$f";;
    8151       *) # Relative
    8152      if test -f "$f"; then
    8153        # Build tree
    8154        echo "$f"
    8155      elif test -f "$srcdir/$f"; then
    8156        # Source tree
    8157        echo "$srcdir/$f"
    8158      else
    8159        # /dev/null tree
    8160        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8161 echo "$as_me: error: cannot find input file: $f" >&2;}
    8162    { (exit 1); exit 1; }; }
    8163      fi;;
    8164       esac
    8165     done` || { (exit 1); exit 1; }
    8166 _ACEOF
     8543_ACEOF
     8544
     8545cat >>$CONFIG_STATUS <<\_ACEOF
     8546# If the template does not know about datarootdir, expand it.
     8547# FIXME: This hack should be removed a few years after 2.60.
     8548ac_datarootdir_hack=; ac_datarootdir_seen=
     8549
     8550case `sed -n '/datarootdir/ {
     8551  p
     8552  q
     8553}
     8554/@datadir@/p
     8555/@docdir@/p
     8556/@infodir@/p
     8557/@localedir@/p
     8558/@mandir@/p
     8559' $ac_file_inputs` in
     8560*datarootdir*) ac_datarootdir_seen=yes;;
     8561*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     8562  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     8563echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     8564_ACEOF
     8565cat >>$CONFIG_STATUS <<_ACEOF
     8566  ac_datarootdir_hack='
     8567  s&@datadir@&$datadir&g
     8568  s&@docdir@&$docdir&g
     8569  s&@infodir@&$infodir&g
     8570  s&@localedir@&$localedir&g
     8571  s&@mandir@&$mandir&g
     8572    s&\\\${datarootdir}&$datarootdir&g' ;;
     8573esac
     8574_ACEOF
     8575
     8576# Neutralize VPATH when `$srcdir' = `.'.
     8577# Shell code in configure.ac might set extrasub.
     8578# FIXME: do we really want to maintain this feature?
    81678579cat >>$CONFIG_STATUS <<_ACEOF
    81688580  sed "$ac_vpsub
     
    81728584:t
    81738585/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    8174 s,@configure_input@,$configure_input,;t t
    8175 s,@srcdir@,$ac_srcdir,;t t
    8176 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    8177 s,@top_srcdir@,$ac_top_srcdir,;t t
    8178 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    8179 s,@builddir@,$ac_builddir,;t t
    8180 s,@abs_builddir@,$ac_abs_builddir,;t t
    8181 s,@top_builddir@,$ac_top_builddir,;t t
    8182 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    8183 s,@INSTALL@,$ac_INSTALL,;t t
    8184 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    8185   rm -f $tmp/stdin
    8186   if test x"$ac_file" != x-; then
    8187     mv $tmp/out $ac_file
    8188   else
    8189     cat $tmp/out
    8190     rm -f $tmp/out
    8191   fi
    8192 
    8193 done
    8194 _ACEOF
    8195 cat >>$CONFIG_STATUS <<\_ACEOF
    8196 
    8197 #
    8198 # CONFIG_HEADER section.
    8199 #
    8200 
    8201 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    8202 # NAME is the cpp macro being defined and VALUE is the value it is being given.
    8203 #
    8204 # ac_d sets the value in "#define NAME VALUE" lines.
    8205 ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
    8206 ac_dB='[     ].*$,\1#\2'
     8586s&@configure_input@&$configure_input&;t t
     8587s&@top_builddir@&$ac_top_builddir_sub&;t t
     8588s&@srcdir@&$ac_srcdir&;t t
     8589s&@abs_srcdir@&$ac_abs_srcdir&;t t
     8590s&@top_srcdir@&$ac_top_srcdir&;t t
     8591s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     8592s&@builddir@&$ac_builddir&;t t
     8593s&@abs_builddir@&$ac_abs_builddir&;t t
     8594s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     8595s&@INSTALL@&$ac_INSTALL&;t t
     8596$ac_datarootdir_hack
     8597" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
     8598
     8599test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     8600  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     8601  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     8602  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     8603which seems to be undefined.  Please make sure it is defined." >&5
     8604echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     8605which seems to be undefined.  Please make sure it is defined." >&2;}
     8606
     8607  rm -f "$tmp/stdin"
     8608  case $ac_file in
     8609  -) cat "$tmp/out"; rm -f "$tmp/out";;
     8610  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
     8611  esac
     8612 ;;
     8613  :H)
     8614  #
     8615  # CONFIG_HEADER
     8616  #
     8617_ACEOF
     8618
     8619# Transform confdefs.h into a sed script `conftest.defines', that
     8620# substitutes the proper values into config.h.in to produce config.h.
     8621rm -f conftest.defines conftest.tail
     8622# First, append a space to every undef/define line, to ease matching.
     8623echo 's/$/ /' >conftest.defines
     8624# Then, protect against being on the right side of a sed subst, or in
     8625# an unquoted here document, in config.status.  If some macros were
     8626# called several times there might be several #defines for the same
     8627# symbol, which is useless.  But do not sort them, since the last
     8628# AC_DEFINE must be honored.
     8629ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     8630# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
     8631# NAME is the cpp macro being defined, VALUE is the value it is being given.
     8632# PARAMS is the parameter list in the macro definition--in most cases, it's
     8633# just an empty string.
     8634ac_dA='s,^\\([   #]*\\)[^    ]*\\([  ]*'
     8635ac_dB='\\)[  (].*,\\1define\\2'
    82078636ac_dC=' '
    8208 ac_dD=',;t'
    8209 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    8210 ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
    8211 ac_uB='$,\1#\2define\3'
    8212 ac_uC=' '
    8213 ac_uD=',;t'
    8214 
    8215 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    8216   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8217   case $ac_file in
    8218   - | *:- | *:-:* ) # input from stdin
    8219     cat >$tmp/stdin
    8220     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8221     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8222   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8223     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8224   * )   ac_file_in=$ac_file.in ;;
    8225   esac
    8226 
    8227   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    8228 echo "$as_me: creating $ac_file" >&6;}
    8229 
    8230   # First look for the input files in the build tree, otherwise in the
    8231   # src tree.
    8232   ac_file_inputs=`IFS=:
    8233     for f in $ac_file_in; do
    8234       case $f in
    8235       -) echo $tmp/stdin ;;
    8236       [\\/$]*)
    8237      # Absolute (can't be DOS-style, as IFS=:)
    8238      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8239 echo "$as_me: error: cannot find input file: $f" >&2;}
    8240    { (exit 1); exit 1; }; }
    8241      # Do quote $f, to prevent DOS paths from being IFS'd.
    8242      echo "$f";;
    8243       *) # Relative
    8244      if test -f "$f"; then
    8245        # Build tree
    8246        echo "$f"
    8247      elif test -f "$srcdir/$f"; then
    8248        # Source tree
    8249        echo "$srcdir/$f"
    8250      else
    8251        # /dev/null tree
    8252        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8253 echo "$as_me: error: cannot find input file: $f" >&2;}
    8254    { (exit 1); exit 1; }; }
    8255      fi;;
    8256       esac
    8257     done` || { (exit 1); exit 1; }
    8258   # Remove the trailing spaces.
    8259   sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
    8260 
    8261 _ACEOF
    8262 
    8263 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    8264 # `conftest.undefs', that substitutes the proper values into
    8265 # config.h.in to produce config.h.  The first handles `#define'
    8266 # templates, and the second `#undef' templates.
    8267 # And first: Protect against being on the right side of a sed subst in
    8268 # config.status.  Protect against being in an unquoted here document
    8269 # in config.status.
    8270 rm -f conftest.defines conftest.undefs
    8271 # Using a here document instead of a string reduces the quoting nightmare.
    8272 # Putting comments in sed scripts is not portable.
    8273 #
    8274 # `end' is used to avoid that the second main sed command (meant for
    8275 # 0-ary CPP macros) applies to n-ary macro definitions.
    8276 # See the Autoconf documentation for `clear'.
    8277 cat >confdef2sed.sed <<\_ACEOF
    8278 s/[\\&,]/\\&/g
    8279 s,[\\$`],\\&,g
    8280 t clear
    8281 : clear
    8282 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    8283 t end
    8284 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    8285 : end
    8286 _ACEOF
    8287 # If some macros were called several times there might be several times
    8288 # the same #defines, which is useless.  Nevertheless, we may not want to
    8289 # sort them, since we want the *last* AC-DEFINE to be honored.
    8290 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    8291 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    8292 rm -f confdef2sed.sed
    8293 
    8294 # This sed command replaces #undef with comments.  This is necessary, for
     8637ac_dD=' ,'
     8638
     8639uniq confdefs.h |
     8640  sed -n '
     8641    t rset
     8642    :rset
     8643    s/^[     ]*#[    ]*define[   ][  ]*//
     8644    t ok
     8645    d
     8646    :ok
     8647    s/[\\&,]/\\&/g
     8648    s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
     8649    s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
     8650  ' >>conftest.defines
     8651
     8652# Remove the space that was appended to ease matching.
     8653# Then replace #undef with comments.  This is necessary, for
    82958654# example, in the case of _POSIX_SOURCE, which is predefined and required
    82968655# on some systems where configure will not decide to define it.
    8297 cat >>conftest.undefs <<\_ACEOF
    8298 s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    8299 _ACEOF
    8300 
    8301 # Break up conftest.defines because some shells have a limit on the size
    8302 # of here documents, and old seds have small limits too (100 cmds).
    8303 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    8304 echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    8305 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    8306 echo '  :' >>$CONFIG_STATUS
    8307 rm -f conftest.tail
    8308 while grep . conftest.defines >/dev/null
     8656# (The regexp can be short, since the line contains either #define or #undef.)
     8657echo 's/ $//
     8658s,^[     #]*u.*,/* & */,' >>conftest.defines
     8659
     8660# Break up conftest.defines:
     8661ac_max_sed_lines=50
     8662
     8663# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
     8664# Second one is:     sed -f defines.sed "$tmp/out1" >"$tmp/out2"
     8665# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
     8666# et cetera.
     8667ac_in='$ac_file_inputs'
     8668ac_out='"$tmp/out1"'
     8669ac_nxt='"$tmp/out2"'
     8670
     8671while :
    83098672do
    8310   # Write a limited-size here document to $tmp/defines.sed.
    8311   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    8312   # Speed up: don't consider the non `#define' lines.
    8313   echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
    8314   # Work around the forget-to-reset-the-flag bug.
    8315   echo 't clr' >>$CONFIG_STATUS
    8316   echo ': clr' >>$CONFIG_STATUS
    8317   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
     8673  # Write a here document:
     8674    cat >>$CONFIG_STATUS <<_ACEOF
     8675    # First, check the format of the line:
     8676    cat >"\$tmp/defines.sed" <<\\CEOF
     8677/^[  ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
     8678/^[  ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
     8679b
     8680:def
     8681_ACEOF
     8682  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
    83188683  echo 'CEOF
    8319   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    8320   rm -f $tmp/in
    8321   mv $tmp/out $tmp/in
    8322 ' >>$CONFIG_STATUS
    8323   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
     8684    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
     8685  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
     8686  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
     8687  grep . conftest.tail >/dev/null || break
    83248688  rm -f conftest.defines
    83258689  mv conftest.tail conftest.defines
    83268690done
    8327 rm -f conftest.defines
    8328 echo '  fi # grep' >>$CONFIG_STATUS
    8329 echo >>$CONFIG_STATUS
    8330 
    8331 # Break up conftest.undefs because some shells have a limit on the size
    8332 # of here documents, and old seds have small limits too (100 cmds).
    8333 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    8334 rm -f conftest.tail
    8335 while grep . conftest.undefs >/dev/null
    8336 do
    8337   # Write a limited-size here document to $tmp/undefs.sed.
    8338   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    8339   # Speed up: don't consider the non `#undef'
    8340   echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    8341   # Work around the forget-to-reset-the-flag bug.
    8342   echo 't clr' >>$CONFIG_STATUS
    8343   echo ': clr' >>$CONFIG_STATUS
    8344   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    8345   echo 'CEOF
    8346   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    8347   rm -f $tmp/in
    8348   mv $tmp/out $tmp/in
    8349 ' >>$CONFIG_STATUS
    8350   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    8351   rm -f conftest.undefs
    8352   mv conftest.tail conftest.undefs
    8353 done
    8354 rm -f conftest.undefs
    8355 
     8691rm -f conftest.defines conftest.tail
     8692
     8693echo "ac_result=$ac_in" >>$CONFIG_STATUS
    83568694cat >>$CONFIG_STATUS <<\_ACEOF
    8357   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8358   # use $as_me), people would be surprised to read:
    8359   #    /* config.h.  Generated by config.status.  */
    8360   if test x"$ac_file" = x-; then
    8361     echo "/* Generated by configure.  */" >$tmp/config.h
    8362   else
    8363     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    8364   fi
    8365   cat $tmp/in >>$tmp/config.h
    8366   rm -f $tmp/in
    83678695  if test x"$ac_file" != x-; then
    8368     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
     8696    echo "/* $configure_input  */" >"$tmp/config.h"
     8697    cat "$ac_result" >>"$tmp/config.h"
     8698    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
    83698699      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    83708700echo "$as_me: $ac_file is unchanged" >&6;}
    83718701    else
    8372       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    8373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8374      X"$ac_file" : 'X\(//\)[^/]' \| \
    8375      X"$ac_file" : 'X\(//\)$' \| \
    8376      X"$ac_file" : 'X\(/\)' \| \
    8377      .     : '\(.\)' 2>/dev/null ||
    8378 echo X"$ac_file" |
    8379     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8380       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8381       /^X\(\/\/\)$/{ s//\1/; q; }
    8382       /^X\(\/\).*/{ s//\1/; q; }
    8383       s/.*/./; q'`
    8384       { if $as_mkdir_p; then
    8385     mkdir -p "$ac_dir"
    8386   else
    8387     as_dir="$ac_dir"
    8388     as_dirs=
    8389     while test ! -d "$as_dir"; do
    8390       as_dirs="$as_dir $as_dirs"
    8391       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8392 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8393      X"$as_dir" : 'X\(//\)[^/]' \| \
    8394      X"$as_dir" : 'X\(//\)$' \| \
    8395      X"$as_dir" : 'X\(/\)' \| \
    8396      .     : '\(.\)' 2>/dev/null ||
    8397 echo X"$as_dir" |
    8398     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8399       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8400       /^X\(\/\/\)$/{ s//\1/; q; }
    8401       /^X\(\/\).*/{ s//\1/; q; }
    8402       s/.*/./; q'`
    8403     done
    8404     test ! -n "$as_dirs" || mkdir $as_dirs
    8405   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8406 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    8407    { (exit 1); exit 1; }; }; }
    8408 
    84098702      rm -f $ac_file
    8410       mv $tmp/config.h $ac_file
     8703      mv "$tmp/config.h" $ac_file
    84118704    fi
    84128705  else
    8413     cat $tmp/config.h
    8414     rm -f $tmp/config.h
     8706    echo "/* $configure_input  */"
     8707    cat "$ac_result"
    84158708  fi
    8416 done
    8417 _ACEOF
    8418 
    8419 cat >>$CONFIG_STATUS <<\_ACEOF
     8709  rm -f "$tmp/out12"
     8710 ;;
     8711
     8712
     8713  esac
     8714
     8715done # for ac_tag
     8716
    84208717
    84218718{ (exit 0); exit 0; }
     
    84548751  ac_sub_configure_args=
    84558752  ac_prev=
    8456   for ac_arg in $ac_configure_args; do
     8753  eval "set x $ac_configure_args"
     8754  shift
     8755  for ac_arg
     8756  do
    84578757    if test -n "$ac_prev"; then
    84588758      ac_prev=
     
    84778777    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    84788778      ;;
    8479     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
     8779    *)
     8780      case $ac_arg in
     8781      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     8782      esac
     8783      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
    84808784    esac
    84818785  done
     
    84838787  # Always prepend --prefix to ensure using the same prefix
    84848788  # in subdir configurations.
    8485   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
     8789  ac_arg="--prefix=$prefix"
     8790  case $ac_arg in
     8791  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     8792  esac
     8793  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
     8794
     8795  # Pass --silent
     8796  if test "$silent" = yes; then
     8797    ac_sub_configure_args="--silent $ac_sub_configure_args"
     8798  fi
    84868799
    84878800  ac_popdir=`pwd`
     
    84908803    # Do not complain, so a configure script can configure whichever
    84918804    # parts of a large source tree are present.
    8492     test -d $srcdir/$ac_dir || continue
    8493 
    8494     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
    8495 echo "$as_me: configuring in $ac_dir" >&6;}
    8496     { if $as_mkdir_p; then
    8497     mkdir -p "$ac_dir"
    8498   else
    8499     as_dir="$ac_dir"
     8805    test -d "$srcdir/$ac_dir" || continue
     8806
     8807    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
     8808    echo "$as_me:$LINENO: $ac_msg" >&5
     8809    echo "$ac_msg" >&6
     8810    { as_dir="$ac_dir"
     8811  case $as_dir in #(
     8812  -*) as_dir=./$as_dir;;
     8813  esac
     8814  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    85008815    as_dirs=
    8501     while test ! -d "$as_dir"; do
    8502       as_dirs="$as_dir $as_dirs"
    8503       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8816    while :; do
     8817      case $as_dir in #(
     8818      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
     8819      *) as_qdir=$as_dir;;
     8820      esac
     8821      as_dirs="'$as_qdir' $as_dirs"
     8822      as_dir=`$as_dirname -- "$as_dir" ||
    85048823$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    85058824     X"$as_dir" : 'X\(//\)[^/]' \| \
    85068825     X"$as_dir" : 'X\(//\)$' \| \
    8507      X"$as_dir" : 'X\(/\)' \| \
    8508      .     : '\(.\)' 2>/dev/null ||
     8826     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    85098827echo X"$as_dir" |
    8510     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8511       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8512       /^X\(\/\/\)$/{ s//\1/; q; }
    8513       /^X\(\/\).*/{ s//\1/; q; }
    8514       s/.*/./; q'`
     8828    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8829        s//\1/
     8830        q
     8831      }
     8832      /^X\(\/\/\)[^/].*/{
     8833        s//\1/
     8834        q
     8835      }
     8836      /^X\(\/\/\)$/{
     8837        s//\1/
     8838        q
     8839      }
     8840      /^X\(\/\).*/{
     8841        s//\1/
     8842        q
     8843      }
     8844      s/.*/./; q'`
     8845      test -d "$as_dir" && break
    85158846    done
    8516     test ! -n "$as_dirs" || mkdir $as_dirs
    8517   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8518 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8847    test -z "$as_dirs" || eval "mkdir $as_dirs"
     8848  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     8849echo "$as_me: error: cannot create directory $as_dir" >&2;}
    85198850   { (exit 1); exit 1; }; }; }
    8520 
    85218851    ac_builddir=.
    85228852
    8523 if test "$ac_dir" != .; then
     8853case "$ac_dir" in
     8854.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8855*)
    85248856  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8525   # A "../" for each directory in $ac_dir_suffix.
    8526   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8527 else
    8528   ac_dir_suffix= ac_top_builddir=
    8529 fi
     8857  # A ".." for each directory in $ac_dir_suffix.
     8858  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     8859  case $ac_top_builddir_sub in
     8860  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8861  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     8862  esac ;;
     8863esac
     8864ac_abs_top_builddir=$ac_pwd
     8865ac_abs_builddir=$ac_pwd$ac_dir_suffix
     8866# for backward compatibility:
     8867ac_top_builddir=$ac_top_build_prefix
    85308868
    85318869case $srcdir in
    8532   .)  # No --srcdir option.  We are building in place.
     8870  .)  # We are building in place.
    85338871    ac_srcdir=.
    8534     if test -z "$ac_top_builddir"; then
    8535        ac_top_srcdir=.
    8536     else
    8537        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8538     fi ;;
    8539   [\\/]* | ?:[\\/]* )  # Absolute path.
     8872    ac_top_srcdir=$ac_top_builddir_sub
     8873    ac_abs_top_srcdir=$ac_pwd ;;
     8874  [\\/]* | ?:[\\/]* )  # Absolute name.
    85408875    ac_srcdir=$srcdir$ac_dir_suffix;
    8541     ac_top_srcdir=$srcdir ;;
    8542   *) # Relative path.
    8543     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8544     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8545 esac
    8546 
    8547 # Do not use `cd foo && pwd` to compute absolute paths, because
    8548 # the directories may not exist.
    8549 case `pwd` in
    8550 .) ac_abs_builddir="$ac_dir";;
    8551 *)
    8552   case "$ac_dir" in
    8553   .) ac_abs_builddir=`pwd`;;
    8554   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8555   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8556   esac;;
    8557 esac
    8558 case $ac_abs_builddir in
    8559 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8560 *)
    8561   case ${ac_top_builddir}. in
    8562   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8563   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8564   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8565   esac;;
    8566 esac
    8567 case $ac_abs_builddir in
    8568 .) ac_abs_srcdir=$ac_srcdir;;
    8569 *)
    8570   case $ac_srcdir in
    8571   .) ac_abs_srcdir=$ac_abs_builddir;;
    8572   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8573   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8574   esac;;
    8575 esac
    8576 case $ac_abs_builddir in
    8577 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8578 *)
    8579   case $ac_top_srcdir in
    8580   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8581   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8582   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8583   esac;;
    8584 esac
    8585 
    8586 
    8587     cd $ac_dir
     8876    ac_top_srcdir=$srcdir
     8877    ac_abs_top_srcdir=$srcdir ;;
     8878  *) # Relative name.
     8879    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     8880    ac_top_srcdir=$ac_top_build_prefix$srcdir
     8881    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8882esac
     8883ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     8884
     8885
     8886    cd "$ac_dir"
    85888887
    85898888    # Check for guested configure; otherwise get Cygnus style configure.
    8590     if test -f $ac_srcdir/configure.gnu; then
    8591       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
    8592     elif test -f $ac_srcdir/configure; then
    8593       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
    8594     elif test -f $ac_srcdir/configure.in; then
    8595       ac_sub_configure=$ac_configure
     8889    if test -f "$ac_srcdir/configure.gnu"; then
     8890      ac_sub_configure=$ac_srcdir/configure.gnu
     8891    elif test -f "$ac_srcdir/configure"; then
     8892      ac_sub_configure=$ac_srcdir/configure
     8893    elif test -f "$ac_srcdir/configure.in"; then
     8894      # This should be Cygnus configure.
     8895      ac_sub_configure=$ac_aux_dir/configure
    85968896    else
    85978897      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     
    86058905      case $cache_file in
    86068906      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    8607       *) # Relative path.
    8608     ac_sub_cache_file=$ac_top_builddir$cache_file ;;
     8907      *) # Relative name.
     8908    ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
    86098909      esac
    86108910
    8611       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    8612 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     8911      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     8912echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    86138913      # The eval makes quoting arguments work.
    8614       eval $ac_sub_configure $ac_sub_configure_args \
    8615        --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
     8914      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
     8915       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    86168916    { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    86178917echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     
    86198919    fi
    86208920
    8621     cd $ac_popdir
     8921    cd "$ac_popdir"
    86228922  done
    86238923fi
  • gsdl/trunk/runtime-src/configure.in

    r19825 r20848  
    190190dnl check for -lcrypt:
    191191AC_HAVE_LIBRARY(crypt)
    192 if test $ENABLE_ACCENTFOLD = 1; then
    193 AC_HAVE_LIBRARY(iconv)
    194 fi
     192#if test $ENABLE_ACCENTFOLD = 1; then
     193#AC_HAVE_LIBRARY(iconv)
     194#fi
    195195
    196196dnl Checks for header files.
  • gsdl/trunk/runtime-src/src/recpt/Makefile.in

    r20841 r20848  
    4141ENABLE_ACCENTFOLD = @ENABLE_ACCENTFOLD@
    4242ifeq ($(ENABLE_ACCENTFOLD), 1)
    43 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a
     43ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/packages/iconv/lib/libiconv.a
    4444else
    4545ACCENTFOLD_LIBS =
     
    110110LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a \
    111111    $(COMMON_PACKAGES_DIR)/expat/lib/libexpat.a \
    112     $(COMMON_PACKAGES_DIR)/iconv/lib/libiconv.a \
    113112    $(ACCENTFOLD_LIBS) $(FASTCGI_LIBS) $(SQLITE_LIBS) $(Z3950_LIBS)
    114113RANLIB = @RANLIB@
Note: See TracChangeset for help on using the changeset viewer.