Changeset 20842 for gsdl/trunk


Ignore:
Timestamp:
2009-10-22T19:47:46+13:00 (15 years ago)
Author:
oranfry
Message:

took out the dependency check for iconv as it is bundled, and the 'check' it is causing problems

Location:
gsdl/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/configure

    r19264 r20842  
    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 common-src build-src runtime-src"
    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='common-src build-src runtime-src'
    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
     
    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
     
    13521782fi
    13531783
    1354 # Check whether --enable-corba or --disable-corba was given.
     1784# Check whether --enable-corba was given.
    13551785if test "${enable_corba+set}" = set; then
    1356   enableval="$enable_corba"
    1357   USE_CORBA=1
     1786  enableval=$enable_corba; USE_CORBA=1
    13581787else
    13591788  USE_CORBA=0
    1360 fi;
     1789fi
     1790
    13611791cat >>confdefs.h <<_ACEOF
    13621792#define USE_CORBA $USE_CORBA
     
    13661796
    13671797
    1368 # Check whether --with-micodir or --without-micodir was given.
     1798# Check whether --with-micodir was given.
    13691799if test "${with_micodir+set}" = set; then
    1370   withval="$with_micodir"
    1371   MICO_DIR=$enableval
     1800  withval=$with_micodir; MICO_DIR=$enableval
    13721801else
    13731802  MICO_DIR="default"
    1374 fi;
     1803fi
     1804
    13751805cat >>confdefs.h <<_ACEOF
    13761806#define MICO_DIR "$MICO_DIR"
     
    13791809
    13801810
    1381 # Check whether --enable-z3950 or --disable-z3950 was given.
     1811# Check whether --enable-z3950 was given.
    13821812if test "${enable_z3950+set}" = set; then
    1383   enableval="$enable_z3950"
    1384   USE_Z3950=1
     1813  enableval=$enable_z3950; USE_Z3950=1
    13851814else
    13861815  USE_Z3950=0
    1387 fi;
     1816fi
     1817
    13881818if test USE_Z3950 = 1; then
    13891819cat >>confdefs.h <<\_ACEOF
     
    13941824fi
    13951825
    1396 # Check whether --enable-yaz or --disable-yaz was given.
     1826# Check whether --enable-yaz was given.
    13971827if test "${enable_yaz+set}" = set; then
    1398   enableval="$enable_yaz"
    1399   USE_YAZ=0
     1828  enableval=$enable_yaz; USE_YAZ=0
    14001829else
    14011830  USE_YAZ=1
    1402 fi;
     1831fi
     1832
    14031833cat >>confdefs.h <<\_ACEOF
    14041834#define USE_YAZ $USE_YAZ
     
    14071837
    14081838
    1409 # Check whether --enable-accentfold or --disable-accentfold was given.
     1839# Check whether --enable-accentfold was given.
    14101840if test "${enable_accentfold+set}" = set; then
    1411   enableval="$enable_accentfold"
    1412   ENABLE_ACCENTFOLD=0
     1841  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
    14131842else
    14141843  ENABLE_ACCENTFOLD=1
    1415 fi;
     1844fi
     1845
    14161846cat >>confdefs.h <<\_ACEOF
    14171847#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    14201850
    14211851
    1422 # Check whether --enable-sqlite or --disable-sqlite was given.
     1852# Check whether --enable-sqlite was given.
    14231853if test "${enable_sqlite+set}" = set; then
    1424   enableval="$enable_sqlite"
    1425   USE_SQLITE=0
     1854  enableval=$enable_sqlite; USE_SQLITE=0
    14261855else
    14271856  USE_SQLITE=1
    1428 fi;
     1857fi
     1858
    14291859cat >>confdefs.h <<\_ACEOF
    14301860#define USE_SQLITE $USE_SQLITE
     
    14331863
    14341864
    1435 # Check whether --enable-apache-httpd or --disable-apache-httpd was given.
     1865# Check whether --enable-apache-httpd was given.
    14361866if test "${enable_apache_httpd+set}" = set; then
    1437   enableval="$enable_apache_httpd"
    1438   USE_APACHE_HTTPD=0
     1867  enableval=$enable_apache_httpd; USE_APACHE_HTTPD=0
    14391868else
    14401869  USE_APACHE_HTTPD=1
    1441 fi;
     1870fi
     1871
    14421872cat >>confdefs.h <<\_ACEOF
    14431873#define USE_APACHE_HTTPD $USE_APACHE_HTTPD
     
    14631893  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    14641894set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1465 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1895{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1896echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    14671897if test "${ac_cv_prog_CC+set}" = set; then
    14681898  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    14771907  test -z "$as_dir" && as_dir=.
    14781908  for ac_exec_ext in '' $ac_executable_extensions; do
    1479   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1909  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14801910    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    14811911    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    14841914done
    14851915done
     1916IFS=$as_save_IFS
    14861917
    14871918fi
     
    14891920CC=$ac_cv_prog_CC
    14901921if test -n "$CC"; then
    1491   echo "$as_me:$LINENO: result: $CC" >&5
    1492 echo "${ECHO_T}$CC" >&6
    1493 else
    1494   echo "$as_me:$LINENO: result: no" >&5
    1495 echo "${ECHO_T}no" >&6
    1496 fi
     1922  { echo "$as_me:$LINENO: result: $CC" >&5
     1923echo "${ECHO_T}$CC" >&6; }
     1924else
     1925  { echo "$as_me:$LINENO: result: no" >&5
     1926echo "${ECHO_T}no" >&6; }
     1927fi
     1928
    14971929
    14981930fi
     
    15011933  # Extract the first word of "gcc", so it can be a program name with args.
    15021934set dummy gcc; ac_word=$2
    1503 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1935{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1936echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15051937if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    15061938  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15151947  test -z "$as_dir" && as_dir=.
    15161948  for ac_exec_ext in '' $ac_executable_extensions; do
    1517   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1949  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15181950    ac_cv_prog_ac_ct_CC="gcc"
    15191951    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15221954done
    15231955done
     1956IFS=$as_save_IFS
    15241957
    15251958fi
     
    15271960ac_ct_CC=$ac_cv_prog_ac_ct_CC
    15281961if test -n "$ac_ct_CC"; then
    1529   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1530 echo "${ECHO_T}$ac_ct_CC" >&6
    1531 else
    1532   echo "$as_me:$LINENO: result: no" >&5
    1533 echo "${ECHO_T}no" >&6
    1534 fi
    1535 
    1536   CC=$ac_ct_CC
     1962  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1963echo "${ECHO_T}$ac_ct_CC" >&6; }
     1964else
     1965  { echo "$as_me:$LINENO: result: no" >&5
     1966echo "${ECHO_T}no" >&6; }
     1967fi
     1968
     1969  if test "x$ac_ct_CC" = x; then
     1970    CC=""
     1971  else
     1972    case $cross_compiling:$ac_tool_warned in
     1973yes:)
     1974{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     1975whose name does not start with the host triplet.  If you think this
     1976configuration is useful to you, please write to [email protected]." >&5
     1977echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     1978whose name does not start with the host triplet.  If you think this
     1979configuration is useful to you, please write to [email protected]." >&2;}
     1980ac_tool_warned=yes ;;
     1981esac
     1982    CC=$ac_ct_CC
     1983  fi
    15371984else
    15381985  CC="$ac_cv_prog_CC"
     
    15401987
    15411988if test -z "$CC"; then
    1542   if test -n "$ac_tool_prefix"; then
    1543   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1989          if test -n "$ac_tool_prefix"; then
     1990    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    15441991set dummy ${ac_tool_prefix}cc; ac_word=$2
    1545 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1992{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1993echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15471994if test "${ac_cv_prog_CC+set}" = set; then
    15481995  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15572004  test -z "$as_dir" && as_dir=.
    15582005  for ac_exec_ext in '' $ac_executable_extensions; do
    1559   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2006  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15602007    ac_cv_prog_CC="${ac_tool_prefix}cc"
    15612008    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15642011done
    15652012done
     2013IFS=$as_save_IFS
    15662014
    15672015fi
     
    15692017CC=$ac_cv_prog_CC
    15702018if test -n "$CC"; then
    1571   echo "$as_me:$LINENO: result: $CC" >&5
    1572 echo "${ECHO_T}$CC" >&6
    1573 else
    1574   echo "$as_me:$LINENO: result: no" >&5
    1575 echo "${ECHO_T}no" >&6
    1576 fi
    1577 
    1578 fi
    1579 if test -z "$ac_cv_prog_CC"; then
    1580   ac_ct_CC=$CC
    1581   # Extract the first word of "cc", so it can be a program name with args.
    1582 set dummy cc; ac_word=$2
    1583 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1586   echo $ECHO_N "(cached) $ECHO_C" >&6
    1587 else
    1588   if test -n "$ac_ct_CC"; then
    1589   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1590 else
    1591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1592 for as_dir in $PATH
    1593 do
    1594   IFS=$as_save_IFS
    1595   test -z "$as_dir" && as_dir=.
    1596   for ac_exec_ext in '' $ac_executable_extensions; do
    1597   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1598     ac_cv_prog_ac_ct_CC="cc"
    1599     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1600     break 2
     2019  { echo "$as_me:$LINENO: result: $CC" >&5
     2020echo "${ECHO_T}$CC" >&6; }
     2021else
     2022  { echo "$as_me:$LINENO: result: no" >&5
     2023echo "${ECHO_T}no" >&6; }
     2024fi
     2025
     2026
    16012027  fi
    1602 done
    1603 done
    1604 
    1605 fi
    1606 fi
    1607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1608 if test -n "$ac_ct_CC"; then
    1609   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1610 echo "${ECHO_T}$ac_ct_CC" >&6
    1611 else
    1612   echo "$as_me:$LINENO: result: no" >&5
    1613 echo "${ECHO_T}no" >&6
    1614 fi
    1615 
    1616   CC=$ac_ct_CC
    1617 else
    1618   CC="$ac_cv_prog_CC"
    1619 fi
    1620 
    16212028fi
    16222029if test -z "$CC"; then
    16232030  # Extract the first word of "cc", so it can be a program name with args.
    16242031set dummy cc; ac_word=$2
    1625 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2032{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2033echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16272034if test "${ac_cv_prog_CC+set}" = set; then
    16282035  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16382045  test -z "$as_dir" && as_dir=.
    16392046  for ac_exec_ext in '' $ac_executable_extensions; do
    1640   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2047  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16412048    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    16422049       ac_prog_rejected=yes
     
    16492056done
    16502057done
     2058IFS=$as_save_IFS
    16512059
    16522060if test $ac_prog_rejected = yes; then
     
    16662074CC=$ac_cv_prog_CC
    16672075if test -n "$CC"; then
    1668   echo "$as_me:$LINENO: result: $CC" >&5
    1669 echo "${ECHO_T}$CC" >&6
    1670 else
    1671   echo "$as_me:$LINENO: result: no" >&5
    1672 echo "${ECHO_T}no" >&6
    1673 fi
     2076  { echo "$as_me:$LINENO: result: $CC" >&5
     2077echo "${ECHO_T}$CC" >&6; }
     2078else
     2079  { echo "$as_me:$LINENO: result: no" >&5
     2080echo "${ECHO_T}no" >&6; }
     2081fi
     2082
    16742083
    16752084fi
    16762085if test -z "$CC"; then
    16772086  if test -n "$ac_tool_prefix"; then
    1678   for ac_prog in cl
     2087  for ac_prog in cl.exe
    16792088  do
    16802089    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    16812090set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1682 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2091{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2092echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16842093if test "${ac_cv_prog_CC+set}" = set; then
    16852094  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16942103  test -z "$as_dir" && as_dir=.
    16952104  for ac_exec_ext in '' $ac_executable_extensions; do
    1696   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2105  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16972106    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    16982107    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17012110done
    17022111done
     2112IFS=$as_save_IFS
    17032113
    17042114fi
     
    17062116CC=$ac_cv_prog_CC
    17072117if test -n "$CC"; then
    1708   echo "$as_me:$LINENO: result: $CC" >&5
    1709 echo "${ECHO_T}$CC" >&6
    1710 else
    1711   echo "$as_me:$LINENO: result: no" >&5
    1712 echo "${ECHO_T}no" >&6
    1713 fi
     2118  { echo "$as_me:$LINENO: result: $CC" >&5
     2119echo "${ECHO_T}$CC" >&6; }
     2120else
     2121  { echo "$as_me:$LINENO: result: no" >&5
     2122echo "${ECHO_T}no" >&6; }
     2123fi
     2124
    17142125
    17152126    test -n "$CC" && break
     
    17182129if test -z "$CC"; then
    17192130  ac_ct_CC=$CC
    1720   for ac_prog in cl
     2131  for ac_prog in cl.exe
    17212132do
    17222133  # Extract the first word of "$ac_prog", so it can be a program name with args.
    17232134set dummy $ac_prog; ac_word=$2
    1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2135{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2136echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17262137if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    17272138  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17362147  test -z "$as_dir" && as_dir=.
    17372148  for ac_exec_ext in '' $ac_executable_extensions; do
    1738   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2149  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17392150    ac_cv_prog_ac_ct_CC="$ac_prog"
    17402151    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17432154done
    17442155done
     2156IFS=$as_save_IFS
    17452157
    17462158fi
     
    17482160ac_ct_CC=$ac_cv_prog_ac_ct_CC
    17492161if test -n "$ac_ct_CC"; then
    1750   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1751 echo "${ECHO_T}$ac_ct_CC" >&6
    1752 else
    1753   echo "$as_me:$LINENO: result: no" >&5
    1754 echo "${ECHO_T}no" >&6
    1755 fi
     2162  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2163echo "${ECHO_T}$ac_ct_CC" >&6; }
     2164else
     2165  { echo "$as_me:$LINENO: result: no" >&5
     2166echo "${ECHO_T}no" >&6; }
     2167fi
     2168
    17562169
    17572170  test -n "$ac_ct_CC" && break
    17582171done
    17592172
    1760   CC=$ac_ct_CC
     2173  if test "x$ac_ct_CC" = x; then
     2174    CC=""
     2175  else
     2176    case $cross_compiling:$ac_tool_warned in
     2177yes:)
     2178{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2179whose name does not start with the host triplet.  If you think this
     2180configuration is useful to you, please write to [email protected]." >&5
     2181echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2182whose name does not start with the host triplet.  If you think this
     2183configuration is useful to you, please write to [email protected]." >&2;}
     2184ac_tool_warned=yes ;;
     2185esac
     2186    CC=$ac_ct_CC
     2187  fi
    17612188fi
    17622189
     
    17712198
    17722199# Provide some information about the compiler.
    1773 echo "$as_me:$LINENO:" \
    1774      "checking for C compiler version" >&5
     2200echo "$as_me:$LINENO: checking for C compiler version" >&5
    17752201ac_compiler=`set X $ac_compile; echo $2`
    1776 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1777   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2202{ (ac_try="$ac_compiler --version >&5"
     2203case "(($ac_try" in
     2204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2205  *) ac_try_echo=$ac_try;;
     2206esac
     2207eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2208  (eval "$ac_compiler --version >&5") 2>&5
    17782209  ac_status=$?
    17792210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17802211  (exit $ac_status); }
    1781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1782   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2212{ (ac_try="$ac_compiler -v >&5"
     2213case "(($ac_try" in
     2214  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2215  *) ac_try_echo=$ac_try;;
     2216esac
     2217eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2218  (eval "$ac_compiler -v >&5") 2>&5
    17832219  ac_status=$?
    17842220  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17852221  (exit $ac_status); }
    1786 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1787   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2222{ (ac_try="$ac_compiler -V >&5"
     2223case "(($ac_try" in
     2224  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2225  *) ac_try_echo=$ac_try;;
     2226esac
     2227eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2228  (eval "$ac_compiler -V >&5") 2>&5
    17882229  ac_status=$?
    17892230  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    18102251# It will help us diagnose broken compilers, and finding out an intuition
    18112252# of exeext.
    1812 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1813 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2253{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2254echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    18142255ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1815 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1816   (eval $ac_link_default) 2>&5
     2256#
     2257# List of possible output files, starting from the most likely.
     2258# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
     2259# only as a last resort.  b.out is created by i960 compilers.
     2260ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
     2261#
     2262# The IRIX 6 linker writes into existing files which may not be
     2263# executable, retaining their permissions.  Remove them first so a
     2264# subsequent execution test works.
     2265ac_rmfiles=
     2266for ac_file in $ac_files
     2267do
     2268  case $ac_file in
     2269    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     2270    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2271  esac
     2272done
     2273rm -f $ac_rmfiles
     2274
     2275if { (ac_try="$ac_link_default"
     2276case "(($ac_try" in
     2277  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2278  *) ac_try_echo=$ac_try;;
     2279esac
     2280eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2281  (eval "$ac_link_default") 2>&5
    18172282  ac_status=$?
    18182283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18192284  (exit $ac_status); }; then
    1820   # Find the output, starting from the most likely.  This scheme is
    1821 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1822 # resort.
    1823 
    1824 # Be careful to initialize this variable, since it used to be cached.
    1825 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1826 ac_cv_exeext=
    1827 # b.out is created by i960 compilers.
    1828 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2285  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2286# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2287# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2288# so that the user can short-circuit this test for compilers unknown to
     2289# Autoconf.
     2290for ac_file in $ac_files ''
    18292291do
    18302292  test -f "$ac_file" || continue
    18312293  case $ac_file in
    1832     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1833     ;;
    1834     conftest.$ac_ext )
    1835     # This is the source file.
     2294    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    18362295    ;;
    18372296    [ab].out )
     
    18402299    break;;
    18412300    *.* )
    1842     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1843     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1844     # but it would be cool to find out if it's true.  Does anybody
    1845     # maintain Libtool? --akim.
    1846     export ac_cv_exeext
     2301        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2302    then :; else
     2303       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2304    fi
     2305    # We set ac_cv_exeext here because the later test for it is not
     2306    # safe: cross compilers may not add the suffix if given an `-o'
     2307    # argument, so we may need to know it at that point already.
     2308    # Even if this section looks crufty: it has the advantage of
     2309    # actually working.
    18472310    break;;
    18482311    * )
     
    18502313  esac
    18512314done
    1852 else
     2315test "$ac_cv_exeext" = no && ac_cv_exeext=
     2316
     2317else
     2318  ac_file=''
     2319fi
     2320
     2321{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2322echo "${ECHO_T}$ac_file" >&6; }
     2323if test -z "$ac_file"; then
    18532324  echo "$as_me: failed program was:" >&5
    18542325sed 's/^/| /' conftest.$ac_ext >&5
     
    18622333
    18632334ac_exeext=$ac_cv_exeext
    1864 echo "$as_me:$LINENO: result: $ac_file" >&5
    1865 echo "${ECHO_T}$ac_file" >&6
    1866 
    1867 # Check the compiler produces executables we can run.  If not, either
     2335
     2336# Check that the compiler produces executables we can run.  If not, either
    18682337# the compiler is broken, or we cross compile.
    1869 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1870 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2338{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2339echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    18712340# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    18722341# If not cross compiling, check that we can run a simple program.
    18732342if test "$cross_compiling" != yes; then
    18742343  if { ac_try='./$ac_file'
    1875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1876   (eval $ac_try) 2>&5
     2344  { (case "(($ac_try" in
     2345  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2346  *) ac_try_echo=$ac_try;;
     2347esac
     2348eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2349  (eval "$ac_try") 2>&5
    18772350  ac_status=$?
    18782351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    18932366  fi
    18942367fi
    1895 echo "$as_me:$LINENO: result: yes" >&5
    1896 echo "${ECHO_T}yes" >&6
     2368{ echo "$as_me:$LINENO: result: yes" >&5
     2369echo "${ECHO_T}yes" >&6; }
    18972370
    18982371rm -f a.out a.exe conftest$ac_cv_exeext b.out
    18992372ac_clean_files=$ac_clean_files_save
    1900 # Check the compiler produces executables we can run.  If not, either
     2373# Check that the compiler produces executables we can run.  If not, either
    19012374# the compiler is broken, or we cross compile.
    1902 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1903 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1904 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1905 echo "${ECHO_T}$cross_compiling" >&6
    1906 
    1907 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1908 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1910   (eval $ac_link) 2>&5
     2375{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2376echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2377{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2378echo "${ECHO_T}$cross_compiling" >&6; }
     2379
     2380{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2381echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
     2382if { (ac_try="$ac_link"
     2383case "(($ac_try" in
     2384  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2385  *) ac_try_echo=$ac_try;;
     2386esac
     2387eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2388  (eval "$ac_link") 2>&5
    19112389  ac_status=$?
    19122390  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    19192397  test -f "$ac_file" || continue
    19202398  case $ac_file in
    1921     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2399    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    19222400    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1923       export ac_cv_exeext
    19242401      break;;
    19252402    * ) break;;
     
    19352412
    19362413rm -f conftest$ac_cv_exeext
    1937 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1938 echo "${ECHO_T}$ac_cv_exeext" >&6
     2414{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2415echo "${ECHO_T}$ac_cv_exeext" >&6; }
    19392416
    19402417rm -f conftest.$ac_ext
    19412418EXEEXT=$ac_cv_exeext
    19422419ac_exeext=$EXEEXT
    1943 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1944 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2420{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2421echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    19452422if test "${ac_cv_objext+set}" = set; then
    19462423  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19622439_ACEOF
    19632440rm -f conftest.o conftest.obj
    1964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1965   (eval $ac_compile) 2>&5
     2441if { (ac_try="$ac_compile"
     2442case "(($ac_try" in
     2443  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2444  *) ac_try_echo=$ac_try;;
     2445esac
     2446eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2447  (eval "$ac_compile") 2>&5
    19662448  ac_status=$?
    19672449  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19682450  (exit $ac_status); }; then
    1969   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2451  for ac_file in conftest.o conftest.obj conftest.*; do
     2452  test -f "$ac_file" || continue;
    19702453  case $ac_file in
    1971     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2454    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    19722455    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    19732456       break;;
     
    19872470rm -f conftest.$ac_cv_objext conftest.$ac_ext
    19882471fi
    1989 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1990 echo "${ECHO_T}$ac_cv_objext" >&6
     2472{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2473echo "${ECHO_T}$ac_cv_objext" >&6; }
    19912474OBJEXT=$ac_cv_objext
    19922475ac_objext=$OBJEXT
    1993 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    1994 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2476{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2477echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    19952478if test "${ac_cv_c_compiler_gnu+set}" = set; then
    19962479  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20152498_ACEOF
    20162499rm -f conftest.$ac_objext
    2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2018   (eval $ac_compile) 2>conftest.er1
     2500if { (ac_try="$ac_compile"
     2501case "(($ac_try" in
     2502  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2503  *) ac_try_echo=$ac_try;;
     2504esac
     2505eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2506  (eval "$ac_compile") 2>conftest.er1
    20192507  ac_status=$?
    20202508  grep -v '^ *+' conftest.er1 >conftest.err
     
    20222510  cat conftest.err >&5
    20232511  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2024   (exit $ac_status); } &&
    2025      { ac_try='test -z "$ac_c_werror_flag"
    2026              || test ! -s conftest.err'
    2027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2028   (eval $ac_try) 2>&5
    2029   ac_status=$?
    2030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2031   (exit $ac_status); }; } &&
    2032      { ac_try='test -s conftest.$ac_objext'
    2033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2034   (eval $ac_try) 2>&5
    2035   ac_status=$?
    2036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2037   (exit $ac_status); }; }; then
     2512  (exit $ac_status); } && {
     2513     test -z "$ac_c_werror_flag" ||
     2514     test ! -s conftest.err
     2515       } && test -s conftest.$ac_objext; then
    20382516  ac_compiler_gnu=yes
    20392517else
     
    20412519sed 's/^/| /' conftest.$ac_ext >&5
    20422520
    2043 ac_compiler_gnu=no
    2044 fi
    2045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2521    ac_compiler_gnu=no
     2522fi
     2523
     2524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    20462525ac_cv_c_compiler_gnu=$ac_compiler_gnu
    20472526
    20482527fi
    2049 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2050 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2528{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2529echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    20512530GCC=`test $ac_compiler_gnu = yes && echo yes`
    20522531ac_test_CFLAGS=${CFLAGS+set}
    20532532ac_save_CFLAGS=$CFLAGS
    2054 CFLAGS="-g"
    2055 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2056 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2533{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2534echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    20572535if test "${ac_cv_prog_cc_g+set}" = set; then
    20582536  echo $ECHO_N "(cached) $ECHO_C" >&6
    20592537else
    2060   cat >conftest.$ac_ext <<_ACEOF
     2538  ac_save_c_werror_flag=$ac_c_werror_flag
     2539   ac_c_werror_flag=yes
     2540   ac_cv_prog_cc_g=no
     2541   CFLAGS="-g"
     2542   cat >conftest.$ac_ext <<_ACEOF
    20612543/* confdefs.h.  */
    20622544_ACEOF
     
    20742556_ACEOF
    20752557rm -f conftest.$ac_objext
    2076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2077   (eval $ac_compile) 2>conftest.er1
     2558if { (ac_try="$ac_compile"
     2559case "(($ac_try" in
     2560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2561  *) ac_try_echo=$ac_try;;
     2562esac
     2563eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2564  (eval "$ac_compile") 2>conftest.er1
    20782565  ac_status=$?
    20792566  grep -v '^ *+' conftest.er1 >conftest.err
     
    20812568  cat conftest.err >&5
    20822569  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2083   (exit $ac_status); } &&
    2084      { ac_try='test -z "$ac_c_werror_flag"
    2085              || test ! -s conftest.err'
    2086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2087   (eval $ac_try) 2>&5
    2088   ac_status=$?
    2089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2090   (exit $ac_status); }; } &&
    2091      { ac_try='test -s conftest.$ac_objext'
    2092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2093   (eval $ac_try) 2>&5
    2094   ac_status=$?
    2095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2096   (exit $ac_status); }; }; then
     2570  (exit $ac_status); } && {
     2571     test -z "$ac_c_werror_flag" ||
     2572     test ! -s conftest.err
     2573       } && test -s conftest.$ac_objext; then
    20972574  ac_cv_prog_cc_g=yes
    20982575else
     
    21002577sed 's/^/| /' conftest.$ac_ext >&5
    21012578
    2102 ac_cv_prog_cc_g=no
    2103 fi
    2104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2105 fi
    2106 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2107 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2579    CFLAGS=""
     2580      cat >conftest.$ac_ext <<_ACEOF
     2581/* confdefs.h.  */
     2582_ACEOF
     2583cat confdefs.h >>conftest.$ac_ext
     2584cat >>conftest.$ac_ext <<_ACEOF
     2585/* end confdefs.h.  */
     2586
     2587int
     2588main ()
     2589{
     2590
     2591  ;
     2592  return 0;
     2593}
     2594_ACEOF
     2595rm -f conftest.$ac_objext
     2596if { (ac_try="$ac_compile"
     2597case "(($ac_try" in
     2598  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2599  *) ac_try_echo=$ac_try;;
     2600esac
     2601eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2602  (eval "$ac_compile") 2>conftest.er1
     2603  ac_status=$?
     2604  grep -v '^ *+' conftest.er1 >conftest.err
     2605  rm -f conftest.er1
     2606  cat conftest.err >&5
     2607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2608  (exit $ac_status); } && {
     2609     test -z "$ac_c_werror_flag" ||
     2610     test ! -s conftest.err
     2611       } && test -s conftest.$ac_objext; then
     2612  :
     2613else
     2614  echo "$as_me: failed program was:" >&5
     2615sed 's/^/| /' conftest.$ac_ext >&5
     2616
     2617    ac_c_werror_flag=$ac_save_c_werror_flag
     2618     CFLAGS="-g"
     2619     cat >conftest.$ac_ext <<_ACEOF
     2620/* confdefs.h.  */
     2621_ACEOF
     2622cat confdefs.h >>conftest.$ac_ext
     2623cat >>conftest.$ac_ext <<_ACEOF
     2624/* end confdefs.h.  */
     2625
     2626int
     2627main ()
     2628{
     2629
     2630  ;
     2631  return 0;
     2632}
     2633_ACEOF
     2634rm -f conftest.$ac_objext
     2635if { (ac_try="$ac_compile"
     2636case "(($ac_try" in
     2637  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2638  *) ac_try_echo=$ac_try;;
     2639esac
     2640eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2641  (eval "$ac_compile") 2>conftest.er1
     2642  ac_status=$?
     2643  grep -v '^ *+' conftest.er1 >conftest.err
     2644  rm -f conftest.er1
     2645  cat conftest.err >&5
     2646  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2647  (exit $ac_status); } && {
     2648     test -z "$ac_c_werror_flag" ||
     2649     test ! -s conftest.err
     2650       } && test -s conftest.$ac_objext; then
     2651  ac_cv_prog_cc_g=yes
     2652else
     2653  echo "$as_me: failed program was:" >&5
     2654sed 's/^/| /' conftest.$ac_ext >&5
     2655
     2656
     2657fi
     2658
     2659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2660fi
     2661
     2662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2663fi
     2664
     2665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2666   ac_c_werror_flag=$ac_save_c_werror_flag
     2667fi
     2668{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2669echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    21082670if test "$ac_test_CFLAGS" = set; then
    21092671  CFLAGS=$ac_save_CFLAGS
     
    21212683  fi
    21222684fi
    2123 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2124 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2125 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2685{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2686echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     2687if test "${ac_cv_prog_cc_c89+set}" = set; then
    21262688  echo $ECHO_N "(cached) $ECHO_C" >&6
    21272689else
    2128   ac_cv_prog_cc_stdc=no
     2690  ac_cv_prog_cc_c89=no
    21292691ac_save_CC=$CC
    21302692cat >conftest.$ac_ext <<_ACEOF
     
    21602722   function prototypes and stuff, but not '\xHH' hex character constants.
    21612723   These don't provoke an error unfortunately, instead are silently treated
    2162    as 'x'.  The following induces an error, until -std1 is added to get
     2724   as 'x'.  The following induces an error, until -std is added to get
    21632725   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    21642726   array size at least.  It's necessary to write '\x00'==0 to get something
    2165    that's true only with -std1.  */
     2727   that's true only with -std.  */
    21662728int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2729
     2730/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2731   inside strings and character constants.  */
     2732#define FOO(x) 'x'
     2733int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    21672734
    21682735int test (int i, double x);
     
    21802747}
    21812748_ACEOF
    2182 # Don't try gcc -ansi; that turns off useful extensions and
    2183 # breaks some systems' header files.
    2184 # AIX           -qlanglvl=ansi
    2185 # Ultrix and OSF/1  -std1
    2186 # HP-UX 10.20 and later -Ae
    2187 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2188 # SVR4          -Xc -D__EXTENSIONS__
    2189 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2749for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2750    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    21902751do
    21912752  CC="$ac_save_CC $ac_arg"
    21922753  rm -f conftest.$ac_objext
    2193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2194   (eval $ac_compile) 2>conftest.er1
     2754if { (ac_try="$ac_compile"
     2755case "(($ac_try" in
     2756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2757  *) ac_try_echo=$ac_try;;
     2758esac
     2759eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2760  (eval "$ac_compile") 2>conftest.er1
    21952761  ac_status=$?
    21962762  grep -v '^ *+' conftest.er1 >conftest.err
     
    21982764  cat conftest.err >&5
    21992765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2200   (exit $ac_status); } &&
    2201      { ac_try='test -z "$ac_c_werror_flag"
    2202              || test ! -s conftest.err'
    2203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2204   (eval $ac_try) 2>&5
    2205   ac_status=$?
    2206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2207   (exit $ac_status); }; } &&
    2208      { ac_try='test -s conftest.$ac_objext'
    2209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2210   (eval $ac_try) 2>&5
    2211   ac_status=$?
    2212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2213   (exit $ac_status); }; }; then
    2214   ac_cv_prog_cc_stdc=$ac_arg
    2215 break
     2766  (exit $ac_status); } && {
     2767     test -z "$ac_c_werror_flag" ||
     2768     test ! -s conftest.err
     2769       } && test -s conftest.$ac_objext; then
     2770  ac_cv_prog_cc_c89=$ac_arg
    22162771else
    22172772  echo "$as_me: failed program was:" >&5
    22182773sed 's/^/| /' conftest.$ac_ext >&5
    22192774
    2220 fi
    2221 rm -f conftest.err conftest.$ac_objext
     2775
     2776fi
     2777
     2778rm -f core conftest.err conftest.$ac_objext
     2779  test "x$ac_cv_prog_cc_c89" != "xno" && break
    22222780done
    2223 rm -f conftest.$ac_ext conftest.$ac_objext
     2781rm -f conftest.$ac_ext
    22242782CC=$ac_save_CC
    22252783
    22262784fi
    2227 
    2228 case "x$ac_cv_prog_cc_stdc" in
    2229   x|xno)
    2230     echo "$as_me:$LINENO: result: none needed" >&5
    2231 echo "${ECHO_T}none needed" >&6 ;;
     2785# AC_CACHE_VAL
     2786case "x$ac_cv_prog_cc_c89" in
     2787  x)
     2788    { echo "$as_me:$LINENO: result: none needed" >&5
     2789echo "${ECHO_T}none needed" >&6; } ;;
     2790  xno)
     2791    { echo "$as_me:$LINENO: result: unsupported" >&5
     2792echo "${ECHO_T}unsupported" >&6; } ;;
    22322793  *)
    2233     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2234 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2235     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2236 esac
    2237 
    2238 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2239 # in C++ we need to declare it.  In case someone uses the same compiler
    2240 # for both compiling C and C++ we need to have the C++ compiler decide
    2241 # the declaration of exit, since it's the most demanding environment.
    2242 cat >conftest.$ac_ext <<_ACEOF
    2243 #ifndef __cplusplus
    2244   choke me
    2245 #endif
    2246 _ACEOF
    2247 rm -f conftest.$ac_objext
    2248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2249   (eval $ac_compile) 2>conftest.er1
    2250   ac_status=$?
    2251   grep -v '^ *+' conftest.er1 >conftest.err
    2252   rm -f conftest.er1
    2253   cat conftest.err >&5
    2254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2255   (exit $ac_status); } &&
    2256      { ac_try='test -z "$ac_c_werror_flag"
    2257              || test ! -s conftest.err'
    2258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2259   (eval $ac_try) 2>&5
    2260   ac_status=$?
    2261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2262   (exit $ac_status); }; } &&
    2263      { ac_try='test -s conftest.$ac_objext'
    2264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2265   (eval $ac_try) 2>&5
    2266   ac_status=$?
    2267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2268   (exit $ac_status); }; }; then
    2269   for ac_declaration in \
    2270    '' \
    2271    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2272    'extern "C" void std::exit (int); using std::exit;' \
    2273    'extern "C" void exit (int) throw ();' \
    2274    'extern "C" void exit (int);' \
    2275    'void exit (int);'
    2276 do
    2277   cat >conftest.$ac_ext <<_ACEOF
    2278 /* confdefs.h.  */
    2279 _ACEOF
    2280 cat confdefs.h >>conftest.$ac_ext
    2281 cat >>conftest.$ac_ext <<_ACEOF
    2282 /* end confdefs.h.  */
    2283 $ac_declaration
    2284 #include <stdlib.h>
    2285 int
    2286 main ()
    2287 {
    2288 exit (42);
    2289   ;
    2290   return 0;
    2291 }
    2292 _ACEOF
    2293 rm -f conftest.$ac_objext
    2294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2295   (eval $ac_compile) 2>conftest.er1
    2296   ac_status=$?
    2297   grep -v '^ *+' conftest.er1 >conftest.err
    2298   rm -f conftest.er1
    2299   cat conftest.err >&5
    2300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2301   (exit $ac_status); } &&
    2302      { ac_try='test -z "$ac_c_werror_flag"
    2303              || test ! -s conftest.err'
    2304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2305   (eval $ac_try) 2>&5
    2306   ac_status=$?
    2307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2308   (exit $ac_status); }; } &&
    2309      { ac_try='test -s conftest.$ac_objext'
    2310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2311   (eval $ac_try) 2>&5
    2312   ac_status=$?
    2313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2314   (exit $ac_status); }; }; then
    2315   :
    2316 else
    2317   echo "$as_me: failed program was:" >&5
    2318 sed 's/^/| /' conftest.$ac_ext >&5
    2319 
    2320 continue
    2321 fi
    2322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2323   cat >conftest.$ac_ext <<_ACEOF
    2324 /* confdefs.h.  */
    2325 _ACEOF
    2326 cat confdefs.h >>conftest.$ac_ext
    2327 cat >>conftest.$ac_ext <<_ACEOF
    2328 /* end confdefs.h.  */
    2329 $ac_declaration
    2330 int
    2331 main ()
    2332 {
    2333 exit (42);
    2334   ;
    2335   return 0;
    2336 }
    2337 _ACEOF
    2338 rm -f conftest.$ac_objext
    2339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2340   (eval $ac_compile) 2>conftest.er1
    2341   ac_status=$?
    2342   grep -v '^ *+' conftest.er1 >conftest.err
    2343   rm -f conftest.er1
    2344   cat conftest.err >&5
    2345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2346   (exit $ac_status); } &&
    2347      { ac_try='test -z "$ac_c_werror_flag"
    2348              || test ! -s conftest.err'
    2349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2350   (eval $ac_try) 2>&5
    2351   ac_status=$?
    2352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2353   (exit $ac_status); }; } &&
    2354      { ac_try='test -s conftest.$ac_objext'
    2355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2356   (eval $ac_try) 2>&5
    2357   ac_status=$?
    2358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2359   (exit $ac_status); }; }; then
    2360   break
    2361 else
    2362   echo "$as_me: failed program was:" >&5
    2363 sed 's/^/| /' conftest.$ac_ext >&5
    2364 
    2365 fi
    2366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2367 done
    2368 rm -f conftest*
    2369 if test -n "$ac_declaration"; then
    2370   echo '#ifdef __cplusplus' >>confdefs.h
    2371   echo $ac_declaration      >>confdefs.h
    2372   echo '#endif'             >>confdefs.h
    2373 fi
    2374 
    2375 else
    2376   echo "$as_me: failed program was:" >&5
    2377 sed 's/^/| /' conftest.$ac_ext >&5
    2378 
    2379 fi
    2380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2794    CC="$CC $ac_cv_prog_cc_c89"
     2795    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     2796echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2797esac
     2798
     2799
    23812800ac_ext=c
    23822801ac_cpp='$CPP $CPPFLAGS'
     
    23852804ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23862805
    2387 ac_ext=cc
     2806ac_ext=cpp
    23882807ac_cpp='$CXXCPP $CPPFLAGS'
    23892808ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23902809ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23912810ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2392 if test -n "$ac_tool_prefix"; then
    2393   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2811if test -z "$CXX"; then
     2812  if test -n "$CCC"; then
     2813    CXX=$CCC
     2814  else
     2815    if test -n "$ac_tool_prefix"; then
     2816  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    23942817  do
    23952818    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    23962819set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2397 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2820{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2821echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    23992822if test "${ac_cv_prog_CXX+set}" = set; then
    24002823  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24092832  test -z "$as_dir" && as_dir=.
    24102833  for ac_exec_ext in '' $ac_executable_extensions; do
    2411   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2834  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24122835    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    24132836    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24162839done
    24172840done
     2841IFS=$as_save_IFS
    24182842
    24192843fi
     
    24212845CXX=$ac_cv_prog_CXX
    24222846if test -n "$CXX"; then
    2423   echo "$as_me:$LINENO: result: $CXX" >&5
    2424 echo "${ECHO_T}$CXX" >&6
    2425 else
    2426   echo "$as_me:$LINENO: result: no" >&5
    2427 echo "${ECHO_T}no" >&6
    2428 fi
     2847  { echo "$as_me:$LINENO: result: $CXX" >&5
     2848echo "${ECHO_T}$CXX" >&6; }
     2849else
     2850  { echo "$as_me:$LINENO: result: no" >&5
     2851echo "${ECHO_T}no" >&6; }
     2852fi
     2853
    24292854
    24302855    test -n "$CXX" && break
     
    24332858if test -z "$CXX"; then
    24342859  ac_ct_CXX=$CXX
    2435   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2860  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    24362861do
    24372862  # Extract the first word of "$ac_prog", so it can be a program name with args.
    24382863set dummy $ac_prog; ac_word=$2
    2439 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2864{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2865echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    24412866if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    24422867  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24512876  test -z "$as_dir" && as_dir=.
    24522877  for ac_exec_ext in '' $ac_executable_extensions; do
    2453   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2878  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24542879    ac_cv_prog_ac_ct_CXX="$ac_prog"
    24552880    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    24582883done
    24592884done
     2885IFS=$as_save_IFS
    24602886
    24612887fi
     
    24632889ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    24642890if test -n "$ac_ct_CXX"; then
    2465   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2466 echo "${ECHO_T}$ac_ct_CXX" >&6
    2467 else
    2468   echo "$as_me:$LINENO: result: no" >&5
    2469 echo "${ECHO_T}no" >&6
    2470 fi
     2891  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2892echo "${ECHO_T}$ac_ct_CXX" >&6; }
     2893else
     2894  { echo "$as_me:$LINENO: result: no" >&5
     2895echo "${ECHO_T}no" >&6; }
     2896fi
     2897
    24712898
    24722899  test -n "$ac_ct_CXX" && break
    24732900done
    2474 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2475 
    2476   CXX=$ac_ct_CXX
    2477 fi
    2478 
    2479 
     2901
     2902  if test "x$ac_ct_CXX" = x; then
     2903    CXX="g++"
     2904  else
     2905    case $cross_compiling:$ac_tool_warned in
     2906yes:)
     2907{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2908whose name does not start with the host triplet.  If you think this
     2909configuration is useful to you, please write to [email protected]." >&5
     2910echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2911whose name does not start with the host triplet.  If you think this
     2912configuration is useful to you, please write to [email protected]." >&2;}
     2913ac_tool_warned=yes ;;
     2914esac
     2915    CXX=$ac_ct_CXX
     2916  fi
     2917fi
     2918
     2919  fi
     2920fi
    24802921# Provide some information about the compiler.
    2481 echo "$as_me:$LINENO:" \
    2482      "checking for C++ compiler version" >&5
     2922echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    24832923ac_compiler=`set X $ac_compile; echo $2`
    2484 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2485   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2924{ (ac_try="$ac_compiler --version >&5"
     2925case "(($ac_try" in
     2926  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2927  *) ac_try_echo=$ac_try;;
     2928esac
     2929eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2930  (eval "$ac_compiler --version >&5") 2>&5
    24862931  ac_status=$?
    24872932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24882933  (exit $ac_status); }
    2489 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2490   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2934{ (ac_try="$ac_compiler -v >&5"
     2935case "(($ac_try" in
     2936  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2937  *) ac_try_echo=$ac_try;;
     2938esac
     2939eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2940  (eval "$ac_compiler -v >&5") 2>&5
    24912941  ac_status=$?
    24922942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24932943  (exit $ac_status); }
    2494 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2495   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2944{ (ac_try="$ac_compiler -V >&5"
     2945case "(($ac_try" in
     2946  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2947  *) ac_try_echo=$ac_try;;
     2948esac
     2949eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2950  (eval "$ac_compiler -V >&5") 2>&5
    24962951  ac_status=$?
    24972952  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24982953  (exit $ac_status); }
    24992954
    2500 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2501 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2955{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2956echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    25022957if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    25032958  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    25222977_ACEOF
    25232978rm -f conftest.$ac_objext
    2524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2525   (eval $ac_compile) 2>conftest.er1
     2979if { (ac_try="$ac_compile"
     2980case "(($ac_try" in
     2981  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2982  *) ac_try_echo=$ac_try;;
     2983esac
     2984eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2985  (eval "$ac_compile") 2>conftest.er1
    25262986  ac_status=$?
    25272987  grep -v '^ *+' conftest.er1 >conftest.err
     
    25292989  cat conftest.err >&5
    25302990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2531   (exit $ac_status); } &&
    2532      { ac_try='test -z "$ac_cxx_werror_flag"
    2533              || test ! -s conftest.err'
    2534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2535   (eval $ac_try) 2>&5
    2536   ac_status=$?
    2537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2538   (exit $ac_status); }; } &&
    2539      { ac_try='test -s conftest.$ac_objext'
    2540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2541   (eval $ac_try) 2>&5
    2542   ac_status=$?
    2543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2544   (exit $ac_status); }; }; then
     2991  (exit $ac_status); } && {
     2992     test -z "$ac_cxx_werror_flag" ||
     2993     test ! -s conftest.err
     2994       } && test -s conftest.$ac_objext; then
    25452995  ac_compiler_gnu=yes
    25462996else
     
    25482998sed 's/^/| /' conftest.$ac_ext >&5
    25492999
    2550 ac_compiler_gnu=no
    2551 fi
    2552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3000    ac_compiler_gnu=no
     3001fi
     3002
     3003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25533004ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    25543005
    25553006fi
    2556 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2557 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     3007{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3008echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    25583009GXX=`test $ac_compiler_gnu = yes && echo yes`
    25593010ac_test_CXXFLAGS=${CXXFLAGS+set}
    25603011ac_save_CXXFLAGS=$CXXFLAGS
    2561 CXXFLAGS="-g"
    2562 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2563 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3012{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3013echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    25643014if test "${ac_cv_prog_cxx_g+set}" = set; then
    25653015  echo $ECHO_N "(cached) $ECHO_C" >&6
    25663016else
    2567   cat >conftest.$ac_ext <<_ACEOF
     3017  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3018   ac_cxx_werror_flag=yes
     3019   ac_cv_prog_cxx_g=no
     3020   CXXFLAGS="-g"
     3021   cat >conftest.$ac_ext <<_ACEOF
    25683022/* confdefs.h.  */
    25693023_ACEOF
     
    25813035_ACEOF
    25823036rm -f conftest.$ac_objext
    2583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2584   (eval $ac_compile) 2>conftest.er1
     3037if { (ac_try="$ac_compile"
     3038case "(($ac_try" in
     3039  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3040  *) ac_try_echo=$ac_try;;
     3041esac
     3042eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3043  (eval "$ac_compile") 2>conftest.er1
    25853044  ac_status=$?
    25863045  grep -v '^ *+' conftest.er1 >conftest.err
     
    25883047  cat conftest.err >&5
    25893048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2590   (exit $ac_status); } &&
    2591      { ac_try='test -z "$ac_cxx_werror_flag"
    2592              || test ! -s conftest.err'
    2593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2594   (eval $ac_try) 2>&5
    2595   ac_status=$?
    2596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2597   (exit $ac_status); }; } &&
    2598      { ac_try='test -s conftest.$ac_objext'
    2599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2600   (eval $ac_try) 2>&5
    2601   ac_status=$?
    2602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2603   (exit $ac_status); }; }; then
     3049  (exit $ac_status); } && {
     3050     test -z "$ac_cxx_werror_flag" ||
     3051     test ! -s conftest.err
     3052       } && test -s conftest.$ac_objext; then
    26043053  ac_cv_prog_cxx_g=yes
    26053054else
     
    26073056sed 's/^/| /' conftest.$ac_ext >&5
    26083057
    2609 ac_cv_prog_cxx_g=no
    2610 fi
    2611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2612 fi
    2613 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2614 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3058    CXXFLAGS=""
     3059      cat >conftest.$ac_ext <<_ACEOF
     3060/* confdefs.h.  */
     3061_ACEOF
     3062cat confdefs.h >>conftest.$ac_ext
     3063cat >>conftest.$ac_ext <<_ACEOF
     3064/* end confdefs.h.  */
     3065
     3066int
     3067main ()
     3068{
     3069
     3070  ;
     3071  return 0;
     3072}
     3073_ACEOF
     3074rm -f conftest.$ac_objext
     3075if { (ac_try="$ac_compile"
     3076case "(($ac_try" in
     3077  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3078  *) ac_try_echo=$ac_try;;
     3079esac
     3080eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3081  (eval "$ac_compile") 2>conftest.er1
     3082  ac_status=$?
     3083  grep -v '^ *+' conftest.er1 >conftest.err
     3084  rm -f conftest.er1
     3085  cat conftest.err >&5
     3086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3087  (exit $ac_status); } && {
     3088     test -z "$ac_cxx_werror_flag" ||
     3089     test ! -s conftest.err
     3090       } && test -s conftest.$ac_objext; then
     3091  :
     3092else
     3093  echo "$as_me: failed program was:" >&5
     3094sed 's/^/| /' conftest.$ac_ext >&5
     3095
     3096    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3097     CXXFLAGS="-g"
     3098     cat >conftest.$ac_ext <<_ACEOF
     3099/* confdefs.h.  */
     3100_ACEOF
     3101cat confdefs.h >>conftest.$ac_ext
     3102cat >>conftest.$ac_ext <<_ACEOF
     3103/* end confdefs.h.  */
     3104
     3105int
     3106main ()
     3107{
     3108
     3109  ;
     3110  return 0;
     3111}
     3112_ACEOF
     3113rm -f conftest.$ac_objext
     3114if { (ac_try="$ac_compile"
     3115case "(($ac_try" in
     3116  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3117  *) ac_try_echo=$ac_try;;
     3118esac
     3119eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3120  (eval "$ac_compile") 2>conftest.er1
     3121  ac_status=$?
     3122  grep -v '^ *+' conftest.er1 >conftest.err
     3123  rm -f conftest.er1
     3124  cat conftest.err >&5
     3125  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3126  (exit $ac_status); } && {
     3127     test -z "$ac_cxx_werror_flag" ||
     3128     test ! -s conftest.err
     3129       } && test -s conftest.$ac_objext; then
     3130  ac_cv_prog_cxx_g=yes
     3131else
     3132  echo "$as_me: failed program was:" >&5
     3133sed 's/^/| /' conftest.$ac_ext >&5
     3134
     3135
     3136fi
     3137
     3138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3139fi
     3140
     3141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3142fi
     3143
     3144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3145   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3146fi
     3147{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3148echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
    26153149if test "$ac_test_CXXFLAGS" = set; then
    26163150  CXXFLAGS=$ac_save_CXXFLAGS
     
    26283162  fi
    26293163fi
    2630 for ac_declaration in \
    2631    '' \
    2632    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2633    'extern "C" void std::exit (int); using std::exit;' \
    2634    'extern "C" void exit (int) throw ();' \
    2635    'extern "C" void exit (int);' \
    2636    'void exit (int);'
    2637 do
    2638   cat >conftest.$ac_ext <<_ACEOF
    2639 /* confdefs.h.  */
    2640 _ACEOF
    2641 cat confdefs.h >>conftest.$ac_ext
    2642 cat >>conftest.$ac_ext <<_ACEOF
    2643 /* end confdefs.h.  */
    2644 $ac_declaration
    2645 #include <stdlib.h>
    2646 int
    2647 main ()
    2648 {
    2649 exit (42);
    2650   ;
    2651   return 0;
    2652 }
    2653 _ACEOF
    2654 rm -f conftest.$ac_objext
    2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2656   (eval $ac_compile) 2>conftest.er1
    2657   ac_status=$?
    2658   grep -v '^ *+' conftest.er1 >conftest.err
    2659   rm -f conftest.er1
    2660   cat conftest.err >&5
    2661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2662   (exit $ac_status); } &&
    2663      { ac_try='test -z "$ac_cxx_werror_flag"
    2664              || test ! -s conftest.err'
    2665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2666   (eval $ac_try) 2>&5
    2667   ac_status=$?
    2668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2669   (exit $ac_status); }; } &&
    2670      { ac_try='test -s conftest.$ac_objext'
    2671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2672   (eval $ac_try) 2>&5
    2673   ac_status=$?
    2674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2675   (exit $ac_status); }; }; then
    2676   :
    2677 else
    2678   echo "$as_me: failed program was:" >&5
    2679 sed 's/^/| /' conftest.$ac_ext >&5
    2680 
    2681 continue
    2682 fi
    2683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2684   cat >conftest.$ac_ext <<_ACEOF
    2685 /* confdefs.h.  */
    2686 _ACEOF
    2687 cat confdefs.h >>conftest.$ac_ext
    2688 cat >>conftest.$ac_ext <<_ACEOF
    2689 /* end confdefs.h.  */
    2690 $ac_declaration
    2691 int
    2692 main ()
    2693 {
    2694 exit (42);
    2695   ;
    2696   return 0;
    2697 }
    2698 _ACEOF
    2699 rm -f conftest.$ac_objext
    2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2701   (eval $ac_compile) 2>conftest.er1
    2702   ac_status=$?
    2703   grep -v '^ *+' conftest.er1 >conftest.err
    2704   rm -f conftest.er1
    2705   cat conftest.err >&5
    2706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2707   (exit $ac_status); } &&
    2708      { ac_try='test -z "$ac_cxx_werror_flag"
    2709              || test ! -s conftest.err'
    2710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2711   (eval $ac_try) 2>&5
    2712   ac_status=$?
    2713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2714   (exit $ac_status); }; } &&
    2715      { ac_try='test -s conftest.$ac_objext'
    2716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2717   (eval $ac_try) 2>&5
    2718   ac_status=$?
    2719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2720   (exit $ac_status); }; }; then
    2721   break
    2722 else
    2723   echo "$as_me: failed program was:" >&5
    2724 sed 's/^/| /' conftest.$ac_ext >&5
    2725 
    2726 fi
    2727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2728 done
    2729 rm -f conftest*
    2730 if test -n "$ac_declaration"; then
    2731   echo '#ifdef __cplusplus' >>confdefs.h
    2732   echo $ac_declaration      >>confdefs.h
    2733   echo '#endif'             >>confdefs.h
    2734 fi
    2735 
    27363164ac_ext=c
    27373165ac_cpp='$CPP $CPPFLAGS'
     
    27443172  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27453173set dummy $ac_prog; ac_word=$2
    2746 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3174{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3175echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    27483176if test "${ac_cv_prog_AWK+set}" = set; then
    27493177  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27583186  test -z "$as_dir" && as_dir=.
    27593187  for ac_exec_ext in '' $ac_executable_extensions; do
    2760   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3188  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27613189    ac_cv_prog_AWK="$ac_prog"
    27623190    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    27653193done
    27663194done
     3195IFS=$as_save_IFS
    27673196
    27683197fi
     
    27703199AWK=$ac_cv_prog_AWK
    27713200if test -n "$AWK"; then
    2772   echo "$as_me:$LINENO: result: $AWK" >&5
    2773 echo "${ECHO_T}$AWK" >&6
    2774 else
    2775   echo "$as_me:$LINENO: result: no" >&5
    2776 echo "${ECHO_T}no" >&6
    2777 fi
     3201  { echo "$as_me:$LINENO: result: $AWK" >&5
     3202echo "${ECHO_T}$AWK" >&6; }
     3203else
     3204  { echo "$as_me:$LINENO: result: no" >&5
     3205echo "${ECHO_T}no" >&6; }
     3206fi
     3207
    27783208
    27793209  test -n "$AWK" && break
     
    27843214  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27853215set dummy $ac_prog; ac_word=$2
    2786 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3216{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3217echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    27883218if test "${ac_cv_prog_YACC+set}" = set; then
    27893219  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27983228  test -z "$as_dir" && as_dir=.
    27993229  for ac_exec_ext in '' $ac_executable_extensions; do
    2800   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3230  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28013231    ac_cv_prog_YACC="$ac_prog"
    28023232    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28053235done
    28063236done
     3237IFS=$as_save_IFS
    28073238
    28083239fi
     
    28103241YACC=$ac_cv_prog_YACC
    28113242if test -n "$YACC"; then
    2812   echo "$as_me:$LINENO: result: $YACC" >&5
    2813 echo "${ECHO_T}$YACC" >&6
    2814 else
    2815   echo "$as_me:$LINENO: result: no" >&5
    2816 echo "${ECHO_T}no" >&6
    2817 fi
     3243  { echo "$as_me:$LINENO: result: $YACC" >&5
     3244echo "${ECHO_T}$YACC" >&6; }
     3245else
     3246  { echo "$as_me:$LINENO: result: no" >&5
     3247echo "${ECHO_T}no" >&6; }
     3248fi
     3249
    28183250
    28193251  test -n "$YACC" && break
     
    28223254
    28233255ac_aux_dir=
    2824 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    2825   if test -f $ac_dir/install-sh; then
     3256for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     3257  if test -f "$ac_dir/install-sh"; then
    28263258    ac_aux_dir=$ac_dir
    28273259    ac_install_sh="$ac_aux_dir/install-sh -c"
    28283260    break
    2829   elif test -f $ac_dir/install.sh; then
     3261  elif test -f "$ac_dir/install.sh"; then
    28303262    ac_aux_dir=$ac_dir
    28313263    ac_install_sh="$ac_aux_dir/install.sh -c"
    28323264    break
    2833   elif test -f $ac_dir/shtool; then
     3265  elif test -f "$ac_dir/shtool"; then
    28343266    ac_aux_dir=$ac_dir
    28353267    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    28383270done
    28393271if test -z "$ac_aux_dir"; then
    2840   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2841 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     3272  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     3273echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    28423274   { (exit 1); exit 1; }; }
    28433275fi
    2844 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2845 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2846 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     3276
     3277# These three variables are undocumented and unsupported,
     3278# and are intended to be withdrawn in a future Autoconf release.
     3279# They can cause serious problems if a builder's source tree is in a directory
     3280# whose full name contains unusual characters.
     3281ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     3282ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     3283ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     3284
    28473285
    28483286# Make sure we can run config.sub.
    2849 $ac_config_sub sun4 >/dev/null 2>&1 ||
    2850   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    2851 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     3287$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     3288  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     3289echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    28523290   { (exit 1); exit 1; }; }
    28533291
    2854 echo "$as_me:$LINENO: checking build system type" >&5
    2855 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     3292{ echo "$as_me:$LINENO: checking build system type" >&5
     3293echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
    28563294if test "${ac_cv_build+set}" = set; then
    28573295  echo $ECHO_N "(cached) $ECHO_C" >&6
    28583296else
    2859   ac_cv_build_alias=$build_alias
    2860 test -z "$ac_cv_build_alias" &&
    2861   ac_cv_build_alias=`$ac_config_guess`
    2862 test -z "$ac_cv_build_alias" &&
     3297  ac_build_alias=$build_alias
     3298test "x$ac_build_alias" = x &&
     3299  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     3300test "x$ac_build_alias" = x &&
    28633301  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    28643302echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    28653303   { (exit 1); exit 1; }; }
    2866 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    2867   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    2868 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     3304ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     3305  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     3306echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    28693307   { (exit 1); exit 1; }; }
    28703308
    28713309fi
    2872 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    2873 echo "${ECHO_T}$ac_cv_build" >&6
     3310{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     3311echo "${ECHO_T}$ac_cv_build" >&6; }
     3312case $ac_cv_build in
     3313*-*-*) ;;
     3314*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     3315echo "$as_me: error: invalid value of canonical build" >&2;}
     3316   { (exit 1); exit 1; }; };;
     3317esac
    28743318build=$ac_cv_build
    2875 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2876 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2877 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2878 
    2879 
    2880 echo "$as_me:$LINENO: checking host system type" >&5
    2881 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     3319ac_save_IFS=$IFS; IFS='-'
     3320set x $ac_cv_build
     3321shift
     3322build_cpu=$1
     3323build_vendor=$2
     3324shift; shift
     3325# Remember, the first character of IFS is used to create $*,
     3326# except with old shells:
     3327build_os=$*
     3328IFS=$ac_save_IFS
     3329case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     3330
     3331
     3332{ echo "$as_me:$LINENO: checking host system type" >&5
     3333echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
    28823334if test "${ac_cv_host+set}" = set; then
    28833335  echo $ECHO_N "(cached) $ECHO_C" >&6
    28843336else
    2885   ac_cv_host_alias=$host_alias
    2886 test -z "$ac_cv_host_alias" &&
    2887   ac_cv_host_alias=$ac_cv_build_alias
    2888 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    2889   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    2890 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     3337  if test "x$host_alias" = x; then
     3338  ac_cv_host=$ac_cv_build
     3339else
     3340  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     3341    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     3342echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    28913343   { (exit 1); exit 1; }; }
    2892 
    2893 fi
    2894 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    2895 echo "${ECHO_T}$ac_cv_host" >&6
     3344fi
     3345
     3346fi
     3347{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     3348echo "${ECHO_T}$ac_cv_host" >&6; }
     3349case $ac_cv_host in
     3350*-*-*) ;;
     3351*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     3352echo "$as_me: error: invalid value of canonical host" >&2;}
     3353   { (exit 1); exit 1; }; };;
     3354esac
    28963355host=$ac_cv_host
    2897 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2898 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2899 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2900 
    2901 
    2902 echo "$as_me:$LINENO: checking target system type" >&5
    2903 echo $ECHO_N "checking target system type... $ECHO_C" >&6
     3356ac_save_IFS=$IFS; IFS='-'
     3357set x $ac_cv_host
     3358shift
     3359host_cpu=$1
     3360host_vendor=$2
     3361shift; shift
     3362# Remember, the first character of IFS is used to create $*,
     3363# except with old shells:
     3364host_os=$*
     3365IFS=$ac_save_IFS
     3366case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     3367
     3368
     3369{ echo "$as_me:$LINENO: checking target system type" >&5
     3370echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
    29043371if test "${ac_cv_target+set}" = set; then
    29053372  echo $ECHO_N "(cached) $ECHO_C" >&6
    29063373else
    2907   ac_cv_target_alias=$target_alias
    2908 test "x$ac_cv_target_alias" = "x" &&
    2909   ac_cv_target_alias=$ac_cv_host_alias
    2910 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    2911   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    2912 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     3374  if test "x$target_alias" = x; then
     3375  ac_cv_target=$ac_cv_host
     3376else
     3377  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     3378    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     3379echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    29133380   { (exit 1); exit 1; }; }
    2914 
    2915 fi
    2916 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    2917 echo "${ECHO_T}$ac_cv_target" >&6
     3381fi
     3382
     3383fi
     3384{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     3385echo "${ECHO_T}$ac_cv_target" >&6; }
     3386case $ac_cv_target in
     3387*-*-*) ;;
     3388*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     3389echo "$as_me: error: invalid value of canonical target" >&2;}
     3390   { (exit 1); exit 1; }; };;
     3391esac
    29183392target=$ac_cv_target
    2919 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2920 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2921 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3393ac_save_IFS=$IFS; IFS='-'
     3394set x $ac_cv_target
     3395shift
     3396target_cpu=$1
     3397target_vendor=$2
     3398shift; shift
     3399# Remember, the first character of IFS is used to create $*,
     3400# except with old shells:
     3401target_os=$*
     3402IFS=$ac_save_IFS
     3403case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    29223404
    29233405
     
    29413423# OS/2's system install, which has a completely different semantic
    29423424# ./install, which can be erroneously created by make from ./install.sh.
    2943 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2944 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3425{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3426echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    29453427if test -z "$INSTALL"; then
    29463428if test "${ac_cv_path_install+set}" = set; then
     
    29643446    for ac_prog in ginstall scoinst install; do
    29653447      for ac_exec_ext in '' $ac_executable_extensions; do
    2966     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3448    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    29673449      if test $ac_prog = install &&
    29683450        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    29833465esac
    29843466done
     3467IFS=$as_save_IFS
    29853468
    29863469
     
    29893472    INSTALL=$ac_cv_path_install
    29903473  else
    2991     # As a last resort, use the slow shell script.  We don't cache a
    2992     # path for INSTALL within a source directory, because that will
     3474    # As a last resort, use the slow shell script.  Don't cache a
     3475    # value for INSTALL within a source directory, because that will
    29933476    # break other packages using the cache if that directory is
    2994     # removed, or if the path is relative.
     3477    # removed, or if the value is a relative name.
    29953478    INSTALL=$ac_install_sh
    29963479  fi
    29973480fi
    2998 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2999 echo "${ECHO_T}$INSTALL" >&6
     3481{ echo "$as_me:$LINENO: result: $INSTALL" >&5
     3482echo "${ECHO_T}$INSTALL" >&6; }
    30003483
    30013484# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    30073490test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    30083491
    3009 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3010 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3492{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3493echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
    30113494LN_S=$as_ln_s
    30123495if test "$LN_S" = "ln -s"; then
    3013   echo "$as_me:$LINENO: result: yes" >&5
    3014 echo "${ECHO_T}yes" >&6
    3015 else
    3016   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3017 echo "${ECHO_T}no, using $LN_S" >&6
    3018 fi
    3019 
    3020 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3021 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3022 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3023 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3496  { echo "$as_me:$LINENO: result: yes" >&5
     3497echo "${ECHO_T}yes" >&6; }
     3498else
     3499  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3500echo "${ECHO_T}no, using $LN_S" >&6; }
     3501fi
     3502
     3503{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3504echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
     3505set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3506if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    30243507  echo $ECHO_N "(cached) $ECHO_C" >&6
    30253508else
    30263509  cat >conftest.make <<\_ACEOF
     3510SHELL = /bin/sh
    30273511all:
    3028     @echo 'ac_maketemp="$(MAKE)"'
     3512    @echo '@@@%%%=$(MAKE)=@@@%%%'
    30293513_ACEOF
    30303514# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3031 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    3032 if test -n "$ac_maketemp"; then
    3033   eval ac_cv_prog_make_${ac_make}_set=yes
    3034 else
    3035   eval ac_cv_prog_make_${ac_make}_set=no
    3036 fi
     3515case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3516  *@@@%%%=?*=@@@%%%*)
     3517    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3518  *)
     3519    eval ac_cv_prog_make_${ac_make}_set=no;;
     3520esac
    30373521rm -f conftest.make
    30383522fi
    3039 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3040   echo "$as_me:$LINENO: result: yes" >&5
    3041 echo "${ECHO_T}yes" >&6
     3523if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3524  { echo "$as_me:$LINENO: result: yes" >&5
     3525echo "${ECHO_T}yes" >&6; }
    30423526  SET_MAKE=
    30433527else
    3044   echo "$as_me:$LINENO: result: no" >&5
    3045 echo "${ECHO_T}no" >&6
     3528  { echo "$as_me:$LINENO: result: no" >&5
     3529echo "${ECHO_T}no" >&6; }
    30463530  SET_MAKE="MAKE=${MAKE-make}"
    30473531fi
     
    30503534  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    30513535set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3052 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3536{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3537echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30543538if test "${ac_cv_prog_RANLIB+set}" = set; then
    30553539  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30643548  test -z "$as_dir" && as_dir=.
    30653549  for ac_exec_ext in '' $ac_executable_extensions; do
    3066   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3550  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30673551    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    30683552    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30713555done
    30723556done
     3557IFS=$as_save_IFS
    30733558
    30743559fi
     
    30763561RANLIB=$ac_cv_prog_RANLIB
    30773562if test -n "$RANLIB"; then
    3078   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3079 echo "${ECHO_T}$RANLIB" >&6
    3080 else
    3081   echo "$as_me:$LINENO: result: no" >&5
    3082 echo "${ECHO_T}no" >&6
    3083 fi
     3563  { echo "$as_me:$LINENO: result: $RANLIB" >&5
     3564echo "${ECHO_T}$RANLIB" >&6; }
     3565else
     3566  { echo "$as_me:$LINENO: result: no" >&5
     3567echo "${ECHO_T}no" >&6; }
     3568fi
     3569
    30843570
    30853571fi
     
    30883574  # Extract the first word of "ranlib", so it can be a program name with args.
    30893575set dummy ranlib; ac_word=$2
    3090 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3576{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3577echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    30923578if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    30933579  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    31023588  test -z "$as_dir" && as_dir=.
    31033589  for ac_exec_ext in '' $ac_executable_extensions; do
    3104   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3590  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31053591    ac_cv_prog_ac_ct_RANLIB="ranlib"
    31063592    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    31093595done
    31103596done
    3111 
    3112   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     3597IFS=$as_save_IFS
     3598
    31133599fi
    31143600fi
    31153601ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    31163602if test -n "$ac_ct_RANLIB"; then
    3117   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3118 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3119 else
    3120   echo "$as_me:$LINENO: result: no" >&5
    3121 echo "${ECHO_T}no" >&6
    3122 fi
    3123 
    3124   RANLIB=$ac_ct_RANLIB
     3603  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3604echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
     3605else
     3606  { echo "$as_me:$LINENO: result: no" >&5
     3607echo "${ECHO_T}no" >&6; }
     3608fi
     3609
     3610  if test "x$ac_ct_RANLIB" = x; then
     3611    RANLIB=":"
     3612  else
     3613    case $cross_compiling:$ac_tool_warned in
     3614yes:)
     3615{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3616whose name does not start with the host triplet.  If you think this
     3617configuration is useful to you, please write to [email protected]." >&5
     3618echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3619whose name does not start with the host triplet.  If you think this
     3620configuration is useful to you, please write to [email protected]." >&2;}
     3621ac_tool_warned=yes ;;
     3622esac
     3623    RANLIB=$ac_ct_RANLIB
     3624  fi
    31253625else
    31263626  RANLIB="$ac_cv_prog_RANLIB"
     
    31283628
    31293629
    3130 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3131 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     3630{ echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3631echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
    31323632arch_64bit=no
    31333633case "$host_cpu" in
     
    31363636
    31373637if test "$arch_64bit" = yes; then
    3138   echo "$as_me:$LINENO: result: yes" >&5
    3139 echo "${ECHO_T}yes" >&6
     3638  { echo "$as_me:$LINENO: result: yes" >&5
     3639echo "${ECHO_T}yes" >&6; }
    31403640  if test -z "$COMPAT32BITFLAGS" ; then
    31413641    COMPAT32BITFLAGS="-m32"
    31423642  fi
    31433643else
    3144   echo "$as_me:$LINENO: result: no" >&5
    3145 echo "${ECHO_T}no" >&6
     3644  { echo "$as_me:$LINENO: result: no" >&5
     3645echo "${ECHO_T}no" >&6; }
    31463646  if test -z "$COMPAT32BITFLAGS" ; then
    31473647    COMPAT32BITFLAGS=
     
    31903690ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    31913691ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3192 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3193 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3692{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3693echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    31943694# On Suns, sometimes $CPP names a directory.
    31953695if test -n "$CPP" && test -d "$CPP"; then
     
    32253725             Syntax error
    32263726_ACEOF
    3227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3228   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3727if { (ac_try="$ac_cpp conftest.$ac_ext"
     3728case "(($ac_try" in
     3729  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3730  *) ac_try_echo=$ac_try;;
     3731esac
     3732eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3733  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32293734  ac_status=$?
    32303735  grep -v '^ *+' conftest.er1 >conftest.err
     
    32323737  cat conftest.err >&5
    32333738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3234   (exit $ac_status); } >/dev/null; then
    3235   if test -s conftest.err; then
    3236     ac_cpp_err=$ac_c_preproc_warn_flag
    3237     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3238   else
    3239     ac_cpp_err=
    3240   fi
    3241 else
    3242   ac_cpp_err=yes
    3243 fi
    3244 if test -z "$ac_cpp_err"; then
     3739  (exit $ac_status); } >/dev/null && {
     3740     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3741     test ! -s conftest.err
     3742       }; then
    32453743  :
    32463744else
     
    32513749continue
    32523750fi
     3751
    32533752rm -f conftest.err conftest.$ac_ext
    32543753
    3255   # OK, works on sane cases.  Now check whether non-existent headers
     3754  # OK, works on sane cases.  Now check whether nonexistent headers
    32563755  # can be detected and how.
    32573756  cat >conftest.$ac_ext <<_ACEOF
     
    32633762#include <ac_nonexistent.h>
    32643763_ACEOF
    3265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3266   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3764if { (ac_try="$ac_cpp conftest.$ac_ext"
     3765case "(($ac_try" in
     3766  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3767  *) ac_try_echo=$ac_try;;
     3768esac
     3769eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3770  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    32673771  ac_status=$?
    32683772  grep -v '^ *+' conftest.er1 >conftest.err
     
    32703774  cat conftest.err >&5
    32713775  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3272   (exit $ac_status); } >/dev/null; then
    3273   if test -s conftest.err; then
    3274     ac_cpp_err=$ac_c_preproc_warn_flag
    3275     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3276   else
    3277     ac_cpp_err=
    3278   fi
    3279 else
    3280   ac_cpp_err=yes
    3281 fi
    3282 if test -z "$ac_cpp_err"; then
     3776  (exit $ac_status); } >/dev/null && {
     3777     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3778     test ! -s conftest.err
     3779       }; then
    32833780  # Broken: success on invalid input.
    32843781continue
     
    32913788break
    32923789fi
     3790
    32933791rm -f conftest.err conftest.$ac_ext
    32943792
     
    33083806  ac_cv_prog_CPP=$CPP
    33093807fi
    3310 echo "$as_me:$LINENO: result: $CPP" >&5
    3311 echo "${ECHO_T}$CPP" >&6
     3808{ echo "$as_me:$LINENO: result: $CPP" >&5
     3809echo "${ECHO_T}$CPP" >&6; }
    33123810ac_preproc_ok=false
    33133811for ac_c_preproc_warn_flag in '' yes
     
    33323830             Syntax error
    33333831_ACEOF
    3334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3335   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3832if { (ac_try="$ac_cpp conftest.$ac_ext"
     3833case "(($ac_try" in
     3834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3835  *) ac_try_echo=$ac_try;;
     3836esac
     3837eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3838  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33363839  ac_status=$?
    33373840  grep -v '^ *+' conftest.er1 >conftest.err
     
    33393842  cat conftest.err >&5
    33403843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3341   (exit $ac_status); } >/dev/null; then
    3342   if test -s conftest.err; then
    3343     ac_cpp_err=$ac_c_preproc_warn_flag
    3344     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3345   else
    3346     ac_cpp_err=
    3347   fi
    3348 else
    3349   ac_cpp_err=yes
    3350 fi
    3351 if test -z "$ac_cpp_err"; then
     3844  (exit $ac_status); } >/dev/null && {
     3845     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3846     test ! -s conftest.err
     3847       }; then
    33523848  :
    33533849else
     
    33583854continue
    33593855fi
     3856
    33603857rm -f conftest.err conftest.$ac_ext
    33613858
    3362   # OK, works on sane cases.  Now check whether non-existent headers
     3859  # OK, works on sane cases.  Now check whether nonexistent headers
    33633860  # can be detected and how.
    33643861  cat >conftest.$ac_ext <<_ACEOF
     
    33703867#include <ac_nonexistent.h>
    33713868_ACEOF
    3372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3373   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3869if { (ac_try="$ac_cpp conftest.$ac_ext"
     3870case "(($ac_try" in
     3871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3872  *) ac_try_echo=$ac_try;;
     3873esac
     3874eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3875  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33743876  ac_status=$?
    33753877  grep -v '^ *+' conftest.er1 >conftest.err
     
    33773879  cat conftest.err >&5
    33783880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3379   (exit $ac_status); } >/dev/null; then
    3380   if test -s conftest.err; then
    3381     ac_cpp_err=$ac_c_preproc_warn_flag
    3382     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3383   else
    3384     ac_cpp_err=
    3385   fi
    3386 else
    3387   ac_cpp_err=yes
    3388 fi
    3389 if test -z "$ac_cpp_err"; then
     3881  (exit $ac_status); } >/dev/null && {
     3882     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3883     test ! -s conftest.err
     3884       }; then
    33903885  # Broken: success on invalid input.
    33913886continue
     
    33983893break
    33993894fi
     3895
    34003896rm -f conftest.err conftest.$ac_ext
    34013897
     
    34203916
    34213917
    3422 echo "$as_me:$LINENO: checking for egrep" >&5
    3423 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3424 if test "${ac_cv_prog_egrep+set}" = set; then
     3918{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3919echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
     3920if test "${ac_cv_path_GREP+set}" = set; then
    34253921  echo $ECHO_N "(cached) $ECHO_C" >&6
    34263922else
    3427   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3428     then ac_cv_prog_egrep='grep -E'
    3429     else ac_cv_prog_egrep='egrep'
     3923  # Extract the first word of "grep ggrep" to use in msg output
     3924if test -z "$GREP"; then
     3925set dummy grep ggrep; ac_prog_name=$2
     3926if test "${ac_cv_path_GREP+set}" = set; then
     3927  echo $ECHO_N "(cached) $ECHO_C" >&6
     3928else
     3929  ac_path_GREP_found=false
     3930# Loop through the user's path and test for each of PROGNAME-LIST
     3931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3932for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3933do
     3934  IFS=$as_save_IFS
     3935  test -z "$as_dir" && as_dir=.
     3936  for ac_prog in grep ggrep; do
     3937  for ac_exec_ext in '' $ac_executable_extensions; do
     3938    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     3939    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3940    # Check for GNU ac_path_GREP and select it if it is found.
     3941  # Check for GNU $ac_path_GREP
     3942case `"$ac_path_GREP" --version 2>&1` in
     3943*GNU*)
     3944  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     3945*)
     3946  ac_count=0
     3947  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     3948  while :
     3949  do
     3950    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3951    mv "conftest.tmp" "conftest.in"
     3952    cp "conftest.in" "conftest.nl"
     3953    echo 'GREP' >> "conftest.nl"
     3954    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3955    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3956    ac_count=`expr $ac_count + 1`
     3957    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     3958      # Best one so far, save it but keep looking for a better one
     3959      ac_cv_path_GREP="$ac_path_GREP"
     3960      ac_path_GREP_max=$ac_count
    34303961    fi
    3431 fi
    3432 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3433 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3434  EGREP=$ac_cv_prog_egrep
    3435 
    3436 
    3437 
    3438 echo "$as_me:$LINENO: checking for AIX" >&5
    3439 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     3962    # 10*(2^10) chars as input seems more than enough
     3963    test $ac_count -gt 10 && break
     3964  done
     3965  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3966esac
     3967
     3968
     3969    $ac_path_GREP_found && break 3
     3970  done
     3971done
     3972
     3973done
     3974IFS=$as_save_IFS
     3975
     3976
     3977fi
     3978
     3979GREP="$ac_cv_path_GREP"
     3980if test -z "$GREP"; then
     3981  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3982echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3983   { (exit 1); exit 1; }; }
     3984fi
     3985
     3986else
     3987  ac_cv_path_GREP=$GREP
     3988fi
     3989
     3990
     3991fi
     3992{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3993echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     3994 GREP="$ac_cv_path_GREP"
     3995
     3996
     3997{ echo "$as_me:$LINENO: checking for egrep" >&5
     3998echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
     3999if test "${ac_cv_path_EGREP+set}" = set; then
     4000  echo $ECHO_N "(cached) $ECHO_C" >&6
     4001else
     4002  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4003   then ac_cv_path_EGREP="$GREP -E"
     4004   else
     4005     # Extract the first word of "egrep" to use in msg output
     4006if test -z "$EGREP"; then
     4007set dummy egrep; ac_prog_name=$2
     4008if test "${ac_cv_path_EGREP+set}" = set; then
     4009  echo $ECHO_N "(cached) $ECHO_C" >&6
     4010else
     4011  ac_path_EGREP_found=false
     4012# Loop through the user's path and test for each of PROGNAME-LIST
     4013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4014for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4015do
     4016  IFS=$as_save_IFS
     4017  test -z "$as_dir" && as_dir=.
     4018  for ac_prog in egrep; do
     4019  for ac_exec_ext in '' $ac_executable_extensions; do
     4020    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4021    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4022    # Check for GNU ac_path_EGREP and select it if it is found.
     4023  # Check for GNU $ac_path_EGREP
     4024case `"$ac_path_EGREP" --version 2>&1` in
     4025*GNU*)
     4026  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4027*)
     4028  ac_count=0
     4029  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4030  while :
     4031  do
     4032    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4033    mv "conftest.tmp" "conftest.in"
     4034    cp "conftest.in" "conftest.nl"
     4035    echo 'EGREP' >> "conftest.nl"
     4036    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4037    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4038    ac_count=`expr $ac_count + 1`
     4039    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4040      # Best one so far, save it but keep looking for a better one
     4041      ac_cv_path_EGREP="$ac_path_EGREP"
     4042      ac_path_EGREP_max=$ac_count
     4043    fi
     4044    # 10*(2^10) chars as input seems more than enough
     4045    test $ac_count -gt 10 && break
     4046  done
     4047  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4048esac
     4049
     4050
     4051    $ac_path_EGREP_found && break 3
     4052  done
     4053done
     4054
     4055done
     4056IFS=$as_save_IFS
     4057
     4058
     4059fi
     4060
     4061EGREP="$ac_cv_path_EGREP"
     4062if test -z "$EGREP"; then
     4063  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4064echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4065   { (exit 1); exit 1; }; }
     4066fi
     4067
     4068else
     4069  ac_cv_path_EGREP=$EGREP
     4070fi
     4071
     4072
     4073   fi
     4074fi
     4075{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4076echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     4077 EGREP="$ac_cv_path_EGREP"
     4078
     4079
     4080
     4081{ echo "$as_me:$LINENO: checking for AIX" >&5
     4082echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
    34404083cat >conftest.$ac_ext <<_ACEOF
    34414084/* confdefs.h.  */
     
    34514094if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    34524095  $EGREP "yes" >/dev/null 2>&1; then
    3453   echo "$as_me:$LINENO: result: yes" >&5
    3454 echo "${ECHO_T}yes" >&6
     4096  { echo "$as_me:$LINENO: result: yes" >&5
     4097echo "${ECHO_T}yes" >&6; }
    34554098cat >>confdefs.h <<\_ACEOF
    34564099#define _ALL_SOURCE 1
     
    34584101
    34594102else
    3460   echo "$as_me:$LINENO: result: no" >&5
    3461 echo "${ECHO_T}no" >&6
     4103  { echo "$as_me:$LINENO: result: no" >&5
     4104echo "${ECHO_T}no" >&6; }
    34624105fi
    34634106rm -f conftest*
    34644107
    34654108
    3466 echo "$as_me:$LINENO: checking for library containing strerror" >&5
    3467 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     4109{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
     4110echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
    34684111if test "${ac_cv_search_strerror+set}" = set; then
    34694112  echo $ECHO_N "(cached) $ECHO_C" >&6
    34704113else
    34714114  ac_func_search_save_LIBS=$LIBS
    3472 ac_cv_search_strerror=no
    34734115cat >conftest.$ac_ext <<_ACEOF
    34744116/* confdefs.h.  */
     
    34784120/* end confdefs.h.  */
    34794121
    3480 /* Override any gcc2 internal prototype to avoid an error.  */
     4122/* Override any GCC internal prototype to avoid an error.
     4123   Use char because int might match the return type of a GCC
     4124   builtin and then its argument prototype would still apply.  */
    34814125#ifdef __cplusplus
    34824126extern "C"
    34834127#endif
    3484 /* We use char because int might match the return type of a gcc2
    3485    builtin and then its argument prototype would still apply.  */
    34864128char strerror ();
    34874129int
    34884130main ()
    34894131{
    3490 strerror ();
     4132return strerror ();
    34914133  ;
    34924134  return 0;
    34934135}
    34944136_ACEOF
    3495 rm -f conftest.$ac_objext conftest$ac_exeext
    3496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3497   (eval $ac_link) 2>conftest.er1
     4137for ac_lib in '' cposix; do
     4138  if test -z "$ac_lib"; then
     4139    ac_res="none required"
     4140  else
     4141    ac_res=-l$ac_lib
     4142    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4143  fi
     4144  rm -f conftest.$ac_objext conftest$ac_exeext
     4145if { (ac_try="$ac_link"
     4146case "(($ac_try" in
     4147  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4148  *) ac_try_echo=$ac_try;;
     4149esac
     4150eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4151  (eval "$ac_link") 2>conftest.er1
    34984152  ac_status=$?
    34994153  grep -v '^ *+' conftest.er1 >conftest.err
     
    35014155  cat conftest.err >&5
    35024156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3503   (exit $ac_status); } &&
    3504      { ac_try='test -z "$ac_c_werror_flag"
    3505              || test ! -s conftest.err'
    3506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3507   (eval $ac_try) 2>&5
    3508   ac_status=$?
    3509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3510   (exit $ac_status); }; } &&
    3511      { ac_try='test -s conftest$ac_exeext'
    3512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3513   (eval $ac_try) 2>&5
    3514   ac_status=$?
    3515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3516   (exit $ac_status); }; }; then
    3517   ac_cv_search_strerror="none required"
     4157  (exit $ac_status); } && {
     4158     test -z "$ac_c_werror_flag" ||
     4159     test ! -s conftest.err
     4160       } && test -s conftest$ac_exeext &&
     4161       $as_test_x conftest$ac_exeext; then
     4162  ac_cv_search_strerror=$ac_res
    35184163else
    35194164  echo "$as_me: failed program was:" >&5
    35204165sed 's/^/| /' conftest.$ac_ext >&5
    35214166
    3522 fi
    3523 rm -f conftest.err conftest.$ac_objext \
    3524       conftest$ac_exeext conftest.$ac_ext
    3525 if test "$ac_cv_search_strerror" = no; then
    3526   for ac_lib in cposix; do
    3527     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    3528     cat >conftest.$ac_ext <<_ACEOF
    3529 /* confdefs.h.  */
    3530 _ACEOF
    3531 cat confdefs.h >>conftest.$ac_ext
    3532 cat >>conftest.$ac_ext <<_ACEOF
    3533 /* end confdefs.h.  */
    3534 
    3535 /* Override any gcc2 internal prototype to avoid an error.  */
    3536 #ifdef __cplusplus
    3537 extern "C"
    3538 #endif
    3539 /* We use char because int might match the return type of a gcc2
    3540    builtin and then its argument prototype would still apply.  */
    3541 char strerror ();
    3542 int
    3543 main ()
    3544 {
    3545 strerror ();
    3546   ;
    3547   return 0;
    3548 }
    3549 _ACEOF
    3550 rm -f conftest.$ac_objext conftest$ac_exeext
    3551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3552   (eval $ac_link) 2>conftest.er1
    3553   ac_status=$?
    3554   grep -v '^ *+' conftest.er1 >conftest.err
    3555   rm -f conftest.er1
    3556   cat conftest.err >&5
    3557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3558   (exit $ac_status); } &&
    3559      { ac_try='test -z "$ac_c_werror_flag"
    3560              || test ! -s conftest.err'
    3561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3562   (eval $ac_try) 2>&5
    3563   ac_status=$?
    3564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3565   (exit $ac_status); }; } &&
    3566      { ac_try='test -s conftest$ac_exeext'
    3567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3568   (eval $ac_try) 2>&5
    3569   ac_status=$?
    3570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3571   (exit $ac_status); }; }; then
    3572   ac_cv_search_strerror="-l$ac_lib"
    3573 break
    3574 else
    3575   echo "$as_me: failed program was:" >&5
    3576 sed 's/^/| /' conftest.$ac_ext >&5
    3577 
    3578 fi
    3579 rm -f conftest.err conftest.$ac_objext \
    3580       conftest$ac_exeext conftest.$ac_ext
    3581   done
    3582 fi
     4167
     4168fi
     4169
     4170rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4171      conftest$ac_exeext
     4172  if test "${ac_cv_search_strerror+set}" = set; then
     4173  break
     4174fi
     4175done
     4176if test "${ac_cv_search_strerror+set}" = set; then
     4177  :
     4178else
     4179  ac_cv_search_strerror=no
     4180fi
     4181rm conftest.$ac_ext
    35834182LIBS=$ac_func_search_save_LIBS
    35844183fi
    3585 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    3586 echo "${ECHO_T}$ac_cv_search_strerror" >&6
    3587 if test "$ac_cv_search_strerror" != no; then
    3588   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
    3589 
    3590 fi
    3591 
    3592 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3593 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4184{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     4185echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
     4186ac_res=$ac_cv_search_strerror
     4187if test "$ac_res" != no; then
     4188  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     4189
     4190fi
     4191
     4192{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4193echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    35944194if test "${ac_cv_header_stdc+set}" = set; then
    35954195  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    36154215_ACEOF
    36164216rm -f conftest.$ac_objext
    3617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3618   (eval $ac_compile) 2>conftest.er1
     4217if { (ac_try="$ac_compile"
     4218case "(($ac_try" in
     4219  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4220  *) ac_try_echo=$ac_try;;
     4221esac
     4222eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4223  (eval "$ac_compile") 2>conftest.er1
    36194224  ac_status=$?
    36204225  grep -v '^ *+' conftest.er1 >conftest.err
     
    36224227  cat conftest.err >&5
    36234228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3624   (exit $ac_status); } &&
    3625      { ac_try='test -z "$ac_c_werror_flag"
    3626              || test ! -s conftest.err'
    3627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3628   (eval $ac_try) 2>&5
    3629   ac_status=$?
    3630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3631   (exit $ac_status); }; } &&
    3632      { ac_try='test -s conftest.$ac_objext'
    3633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3634   (eval $ac_try) 2>&5
    3635   ac_status=$?
    3636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3637   (exit $ac_status); }; }; then
     4229  (exit $ac_status); } && {
     4230     test -z "$ac_c_werror_flag" ||
     4231     test ! -s conftest.err
     4232       } && test -s conftest.$ac_objext; then
    36384233  ac_cv_header_stdc=yes
    36394234else
     
    36414236sed 's/^/| /' conftest.$ac_ext >&5
    36424237
    3643 ac_cv_header_stdc=no
    3644 fi
    3645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4238    ac_cv_header_stdc=no
     4239fi
     4240
     4241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36464242
    36474243if test $ac_cv_header_stdc = yes; then
     
    36994295/* end confdefs.h.  */
    37004296#include <ctype.h>
     4297#include <stdlib.h>
    37014298#if ((' ' & 0x0FF) == 0x020)
    37024299# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    37184315    if (XOR (islower (i), ISLOWER (i))
    37194316    || toupper (i) != TOUPPER (i))
    3720       exit(2);
    3721   exit (0);
     4317      return 2;
     4318  return 0;
    37224319}
    37234320_ACEOF
    37244321rm -f conftest$ac_exeext
    3725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3726   (eval $ac_link) 2>&5
     4322if { (ac_try="$ac_link"
     4323case "(($ac_try" in
     4324  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4325  *) ac_try_echo=$ac_try;;
     4326esac
     4327eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4328  (eval "$ac_link") 2>&5
    37274329  ac_status=$?
    37284330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    37294331  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3731   (eval $ac_try) 2>&5
     4332  { (case "(($ac_try" in
     4333  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4334  *) ac_try_echo=$ac_try;;
     4335esac
     4336eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4337  (eval "$ac_try") 2>&5
    37324338  ac_status=$?
    37334339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    37424348ac_cv_header_stdc=no
    37434349fi
    3744 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3745 fi
    3746 fi
    3747 fi
    3748 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3749 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4350rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4351fi
     4352
     4353
     4354fi
     4355fi
     4356{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4357echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    37504358if test $ac_cv_header_stdc = yes; then
    37514359
     
    37704378do
    37714379as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3772 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4380{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4381echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4382if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    37754383  echo $ECHO_N "(cached) $ECHO_C" >&6
    37764384else
     
    37864394_ACEOF
    37874395rm -f conftest.$ac_objext
    3788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3789   (eval $ac_compile) 2>conftest.er1
     4396if { (ac_try="$ac_compile"
     4397case "(($ac_try" in
     4398  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4399  *) ac_try_echo=$ac_try;;
     4400esac
     4401eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4402  (eval "$ac_compile") 2>conftest.er1
    37904403  ac_status=$?
    37914404  grep -v '^ *+' conftest.er1 >conftest.err
     
    37934406  cat conftest.err >&5
    37944407  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3795   (exit $ac_status); } &&
    3796      { ac_try='test -z "$ac_c_werror_flag"
    3797              || test ! -s conftest.err'
    3798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3799   (eval $ac_try) 2>&5
    3800   ac_status=$?
    3801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3802   (exit $ac_status); }; } &&
    3803      { ac_try='test -s conftest.$ac_objext'
    3804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3805   (eval $ac_try) 2>&5
    3806   ac_status=$?
    3807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3808   (exit $ac_status); }; }; then
     4408  (exit $ac_status); } && {
     4409     test -z "$ac_c_werror_flag" ||
     4410     test ! -s conftest.err
     4411       } && test -s conftest.$ac_objext; then
    38094412  eval "$as_ac_Header=yes"
    38104413else
     
    38124415sed 's/^/| /' conftest.$ac_ext >&5
    38134416
    3814 eval "$as_ac_Header=no"
    3815 fi
    3816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3817 fi
    3818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4417    eval "$as_ac_Header=no"
     4418fi
     4419
     4420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4421fi
     4422ac_res=`eval echo '${'$as_ac_Header'}'`
     4423           { echo "$as_me:$LINENO: result: $ac_res" >&5
     4424echo "${ECHO_T}$ac_res" >&6; }
    38204425if test `eval echo '${'$as_ac_Header'}'` = yes; then
    38214426  cat >>confdefs.h <<_ACEOF
     
    38294434
    38304435if test "${ac_cv_header_minix_config_h+set}" = set; then
    3831   echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3832 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4436  { echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4437echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    38334438if test "${ac_cv_header_minix_config_h+set}" = set; then
    38344439  echo $ECHO_N "(cached) $ECHO_C" >&6
    38354440fi
    3836 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3837 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4441{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4442echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    38384443else
    38394444  # Is the header compilable?
    3840 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    3841 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     4445{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4446echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
    38424447cat >conftest.$ac_ext <<_ACEOF
    38434448/* confdefs.h.  */
     
    38504455_ACEOF
    38514456rm -f conftest.$ac_objext
    3852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3853   (eval $ac_compile) 2>conftest.er1
     4457if { (ac_try="$ac_compile"
     4458case "(($ac_try" in
     4459  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4460  *) ac_try_echo=$ac_try;;
     4461esac
     4462eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4463  (eval "$ac_compile") 2>conftest.er1
    38544464  ac_status=$?
    38554465  grep -v '^ *+' conftest.er1 >conftest.err
     
    38574467  cat conftest.err >&5
    38584468  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3859   (exit $ac_status); } &&
    3860      { ac_try='test -z "$ac_c_werror_flag"
    3861              || test ! -s conftest.err'
    3862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3863   (eval $ac_try) 2>&5
    3864   ac_status=$?
    3865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3866   (exit $ac_status); }; } &&
    3867      { ac_try='test -s conftest.$ac_objext'
    3868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3869   (eval $ac_try) 2>&5
    3870   ac_status=$?
    3871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3872   (exit $ac_status); }; }; then
     4469  (exit $ac_status); } && {
     4470     test -z "$ac_c_werror_flag" ||
     4471     test ! -s conftest.err
     4472       } && test -s conftest.$ac_objext; then
    38734473  ac_header_compiler=yes
    38744474else
     
    38764476sed 's/^/| /' conftest.$ac_ext >&5
    38774477
    3878 ac_header_compiler=no
    3879 fi
    3880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3882 echo "${ECHO_T}$ac_header_compiler" >&6
     4478    ac_header_compiler=no
     4479fi
     4480
     4481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4482{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4483echo "${ECHO_T}$ac_header_compiler" >&6; }
    38834484
    38844485# Is the header present?
    3885 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    3886 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     4486{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4487echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
    38874488cat >conftest.$ac_ext <<_ACEOF
    38884489/* confdefs.h.  */
     
    38934494#include <minix/config.h>
    38944495_ACEOF
    3895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3896   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4496if { (ac_try="$ac_cpp conftest.$ac_ext"
     4497case "(($ac_try" in
     4498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4499  *) ac_try_echo=$ac_try;;
     4500esac
     4501eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4502  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    38974503  ac_status=$?
    38984504  grep -v '^ *+' conftest.er1 >conftest.err
     
    39004506  cat conftest.err >&5
    39014507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3902   (exit $ac_status); } >/dev/null; then
    3903   if test -s conftest.err; then
    3904     ac_cpp_err=$ac_c_preproc_warn_flag
    3905     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3906   else
    3907     ac_cpp_err=
    3908   fi
    3909 else
    3910   ac_cpp_err=yes
    3911 fi
    3912 if test -z "$ac_cpp_err"; then
     4508  (exit $ac_status); } >/dev/null && {
     4509     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4510     test ! -s conftest.err
     4511       }; then
    39134512  ac_header_preproc=yes
    39144513else
     
    39184517  ac_header_preproc=no
    39194518fi
     4519
    39204520rm -f conftest.err conftest.$ac_ext
    3921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3922 echo "${ECHO_T}$ac_header_preproc" >&6
     4521{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4522echo "${ECHO_T}$ac_header_preproc" >&6; }
    39234523
    39244524# So?  What about this header?
     
    39444544    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    39454545echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    3946     (
    3947       cat <<\_ASBOX
    3948 ## ------------------------------------------ ##
    3949 ## Report this to the AC_PACKAGE_NAME lists.  ##
    3950 ## ------------------------------------------ ##
    3951 _ASBOX
    3952     ) |
    3953       sed "s/^/$as_me: WARNING:     /" >&2
     4546
    39544547    ;;
    39554548esac
    3956 echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3957 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4549{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4550echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
    39584551if test "${ac_cv_header_minix_config_h+set}" = set; then
    39594552  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    39614554  ac_cv_header_minix_config_h=$ac_header_preproc
    39624555fi
    3963 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3964 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4556{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4557echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
    39654558
    39664559fi
     
    39904583fi
    39914584
    3992 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    3993 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     4585{ echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     4586echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
    39944587if test "${ac_cv_prog_cc_stdc+set}" = set; then
    39954588  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    40274620_ACEOF
    40284621rm -f conftest.$ac_objext
    4029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4030   (eval $ac_compile) 2>conftest.er1
     4622if { (ac_try="$ac_compile"
     4623case "(($ac_try" in
     4624  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4625  *) ac_try_echo=$ac_try;;
     4626esac
     4627eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4628  (eval "$ac_compile") 2>conftest.er1
    40314629  ac_status=$?
    40324630  grep -v '^ *+' conftest.er1 >conftest.err
     
    40344632  cat conftest.err >&5
    40354633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4036   (exit $ac_status); } &&
    4037      { ac_try='test -z "$ac_c_werror_flag"
    4038              || test ! -s conftest.err'
    4039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4040   (eval $ac_try) 2>&5
    4041   ac_status=$?
    4042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4043   (exit $ac_status); }; } &&
    4044      { ac_try='test -s conftest.$ac_objext'
    4045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4046   (eval $ac_try) 2>&5
    4047   ac_status=$?
    4048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4049   (exit $ac_status); }; }; then
     4634  (exit $ac_status); } && {
     4635     test -z "$ac_c_werror_flag" ||
     4636     test ! -s conftest.err
     4637       } && test -s conftest.$ac_objext; then
    40504638  ac_cv_prog_cc_stdc="$ac_arg"; break
    40514639else
     
    40534641sed 's/^/| /' conftest.$ac_ext >&5
    40544642
    4055 fi
    4056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4643
     4644fi
     4645
     4646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    40574647done
    40584648CFLAGS="$ac_save_CFLAGS"
     
    40604650fi
    40614651
    4062 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4063 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     4652{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4653echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
    40644654case "x$ac_cv_prog_cc_stdc" in
    40654655  x|xno) ;;
     
    40684658
    40694659
    4070 echo "$as_me:$LINENO: checking for function prototypes" >&5
    4071 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     4660{ echo "$as_me:$LINENO: checking for function prototypes" >&5
     4661echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
    40724662if test "$ac_cv_prog_cc_stdc" != no; then
    4073   echo "$as_me:$LINENO: result: yes" >&5
    4074 echo "${ECHO_T}yes" >&6
     4663  { echo "$as_me:$LINENO: result: yes" >&5
     4664echo "${ECHO_T}yes" >&6; }
    40754665  cat >>confdefs.h <<\_ACEOF
    40764666#define PROTOTYPES 1
     
    40794669  U= ANSI2KNR=
    40804670else
    4081   echo "$as_me:$LINENO: result: no" >&5
    4082 echo "${ECHO_T}no" >&6
     4671  { echo "$as_me:$LINENO: result: no" >&5
     4672echo "${ECHO_T}no" >&6; }
    40834673  U=_ ANSI2KNR=ansi2knr
    40844674fi
    40854675
    4086 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4087 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     4676{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4677echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
    40884678if test "${ac_cv_c_const+set}" = set; then
    40894679  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    41034693  /* Ultrix mips cc rejects this.  */
    41044694  typedef int charset[2];
    4105   const charset x;
     4695  const charset cs;
    41064696  /* SunOS 4.1.1 cc rejects this.  */
    4107   char const *const *ccp;
    4108   char **p;
     4697  char const *const *pcpcc;
     4698  char **ppc;
    41094699  /* NEC SVR4.0.2 mips cc rejects this.  */
    41104700  struct point {int x, y;};
     
    41154705     expression */
    41164706  const char *g = "string";
    4117   ccp = &g + (g ? g-g : 0);
     4707  pcpcc = &g + (g ? g-g : 0);
    41184708  /* HPUX 7.0 cc rejects these. */
    4119   ++ccp;
    4120   p = (char**) ccp;
    4121   ccp = (char const *const *) p;
     4709  ++pcpcc;
     4710  ppc = (char**) pcpcc;
     4711  pcpcc = (char const *const *) ppc;
    41224712  { /* SCO 3.2v4 cc rejects this.  */
    41234713    char *t;
     
    41254715
    41264716    *t++ = 0;
     4717    if (s) return 0;
    41274718  }
    41284719  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    41434734  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    41444735    const int foo = 10;
     4736    if (!foo) return 0;
    41454737  }
     4738  return !cs[0] && !zero.x;
    41464739#endif
    41474740
     
    41514744_ACEOF
    41524745rm -f conftest.$ac_objext
    4153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4154   (eval $ac_compile) 2>conftest.er1
     4746if { (ac_try="$ac_compile"
     4747case "(($ac_try" in
     4748  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4749  *) ac_try_echo=$ac_try;;
     4750esac
     4751eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4752  (eval "$ac_compile") 2>conftest.er1
    41554753  ac_status=$?
    41564754  grep -v '^ *+' conftest.er1 >conftest.err
     
    41584756  cat conftest.err >&5
    41594757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4160   (exit $ac_status); } &&
    4161      { ac_try='test -z "$ac_c_werror_flag"
    4162              || test ! -s conftest.err'
    4163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4164   (eval $ac_try) 2>&5
    4165   ac_status=$?
    4166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4167   (exit $ac_status); }; } &&
    4168      { ac_try='test -s conftest.$ac_objext'
    4169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4170   (eval $ac_try) 2>&5
    4171   ac_status=$?
    4172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4173   (exit $ac_status); }; }; then
     4758  (exit $ac_status); } && {
     4759     test -z "$ac_c_werror_flag" ||
     4760     test ! -s conftest.err
     4761       } && test -s conftest.$ac_objext; then
    41744762  ac_cv_c_const=yes
    41754763else
     
    41774765sed 's/^/| /' conftest.$ac_ext >&5
    41784766
    4179 ac_cv_c_const=no
    4180 fi
    4181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4182 fi
    4183 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4184 echo "${ECHO_T}$ac_cv_c_const" >&6
     4767    ac_cv_c_const=no
     4768fi
     4769
     4770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4771fi
     4772{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4773echo "${ECHO_T}$ac_cv_c_const" >&6; }
    41854774if test $ac_cv_c_const = no; then
    41864775
     
    41914780fi
    41924781
    4193 echo "$as_me:$LINENO: checking for off_t" >&5
    4194 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     4782{ echo "$as_me:$LINENO: checking for off_t" >&5
     4783echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
    41954784if test "${ac_cv_type_off_t+set}" = set; then
    41964785  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42034792/* end confdefs.h.  */
    42044793$ac_includes_default
     4794typedef off_t ac__type_new_;
    42054795int
    42064796main ()
    42074797{
    4208 if ((off_t *) 0)
     4798if ((ac__type_new_ *) 0)
    42094799  return 0;
    4210 if (sizeof (off_t))
     4800if (sizeof (ac__type_new_))
    42114801  return 0;
    42124802  ;
     
    42154805_ACEOF
    42164806rm -f conftest.$ac_objext
    4217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4218   (eval $ac_compile) 2>conftest.er1
     4807if { (ac_try="$ac_compile"
     4808case "(($ac_try" in
     4809  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4810  *) ac_try_echo=$ac_try;;
     4811esac
     4812eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4813  (eval "$ac_compile") 2>conftest.er1
    42194814  ac_status=$?
    42204815  grep -v '^ *+' conftest.er1 >conftest.err
     
    42224817  cat conftest.err >&5
    42234818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4224   (exit $ac_status); } &&
    4225      { ac_try='test -z "$ac_c_werror_flag"
    4226              || test ! -s conftest.err'
    4227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4228   (eval $ac_try) 2>&5
    4229   ac_status=$?
    4230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4231   (exit $ac_status); }; } &&
    4232      { ac_try='test -s conftest.$ac_objext'
    4233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4234   (eval $ac_try) 2>&5
    4235   ac_status=$?
    4236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4237   (exit $ac_status); }; }; then
     4819  (exit $ac_status); } && {
     4820     test -z "$ac_c_werror_flag" ||
     4821     test ! -s conftest.err
     4822       } && test -s conftest.$ac_objext; then
    42384823  ac_cv_type_off_t=yes
    42394824else
     
    42414826sed 's/^/| /' conftest.$ac_ext >&5
    42424827
    4243 ac_cv_type_off_t=no
    4244 fi
    4245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4246 fi
    4247 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4248 echo "${ECHO_T}$ac_cv_type_off_t" >&6
     4828    ac_cv_type_off_t=no
     4829fi
     4830
     4831rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4832fi
     4833{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4834echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
    42494835if test $ac_cv_type_off_t = yes; then
    42504836  :
     
    42524838
    42534839cat >>confdefs.h <<_ACEOF
    4254 #define off_t long
    4255 _ACEOF
    4256 
    4257 fi
    4258 
    4259 echo "$as_me:$LINENO: checking for size_t" >&5
    4260 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
     4840#define off_t long int
     4841_ACEOF
     4842
     4843fi
     4844
     4845{ echo "$as_me:$LINENO: checking for size_t" >&5
     4846echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
    42614847if test "${ac_cv_type_size_t+set}" = set; then
    42624848  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42694855/* end confdefs.h.  */
    42704856$ac_includes_default
     4857typedef size_t ac__type_new_;
    42714858int
    42724859main ()
    42734860{
    4274 if ((size_t *) 0)
     4861if ((ac__type_new_ *) 0)
    42754862  return 0;
    4276 if (sizeof (size_t))
     4863if (sizeof (ac__type_new_))
    42774864  return 0;
    42784865  ;
     
    42814868_ACEOF
    42824869rm -f conftest.$ac_objext
    4283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4284   (eval $ac_compile) 2>conftest.er1
     4870if { (ac_try="$ac_compile"
     4871case "(($ac_try" in
     4872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4873  *) ac_try_echo=$ac_try;;
     4874esac
     4875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4876  (eval "$ac_compile") 2>conftest.er1
    42854877  ac_status=$?
    42864878  grep -v '^ *+' conftest.er1 >conftest.err
     
    42884880  cat conftest.err >&5
    42894881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4290   (exit $ac_status); } &&
    4291      { ac_try='test -z "$ac_c_werror_flag"
    4292              || test ! -s conftest.err'
    4293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4294   (eval $ac_try) 2>&5
    4295   ac_status=$?
    4296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4297   (exit $ac_status); }; } &&
    4298      { ac_try='test -s conftest.$ac_objext'
    4299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4300   (eval $ac_try) 2>&5
    4301   ac_status=$?
    4302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4303   (exit $ac_status); }; }; then
     4882  (exit $ac_status); } && {
     4883     test -z "$ac_c_werror_flag" ||
     4884     test ! -s conftest.err
     4885       } && test -s conftest.$ac_objext; then
    43044886  ac_cv_type_size_t=yes
    43054887else
     
    43074889sed 's/^/| /' conftest.$ac_ext >&5
    43084890
    4309 ac_cv_type_size_t=no
    4310 fi
    4311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4312 fi
    4313 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4314 echo "${ECHO_T}$ac_cv_type_size_t" >&6
     4891    ac_cv_type_size_t=no
     4892fi
     4893
     4894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4895fi
     4896{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4897echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
    43154898if test $ac_cv_type_size_t = yes; then
    43164899  :
     
    43184901
    43194902cat >>confdefs.h <<_ACEOF
    4320 #define size_t unsigned
    4321 _ACEOF
    4322 
    4323 fi
    4324 
    4325 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4326 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     4903#define size_t unsigned int
     4904_ACEOF
     4905
     4906fi
     4907
     4908{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4909echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
    43274910if test "${ac_cv_header_time+set}" = set; then
    43284911  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    43484931_ACEOF
    43494932rm -f conftest.$ac_objext
    4350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4351   (eval $ac_compile) 2>conftest.er1
     4933if { (ac_try="$ac_compile"
     4934case "(($ac_try" in
     4935  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4936  *) ac_try_echo=$ac_try;;
     4937esac
     4938eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4939  (eval "$ac_compile") 2>conftest.er1
    43524940  ac_status=$?
    43534941  grep -v '^ *+' conftest.er1 >conftest.err
     
    43554943  cat conftest.err >&5
    43564944  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4357   (exit $ac_status); } &&
    4358      { ac_try='test -z "$ac_c_werror_flag"
    4359              || test ! -s conftest.err'
    4360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4361   (eval $ac_try) 2>&5
    4362   ac_status=$?
    4363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4364   (exit $ac_status); }; } &&
    4365      { ac_try='test -s conftest.$ac_objext'
    4366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4367   (eval $ac_try) 2>&5
    4368   ac_status=$?
    4369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4370   (exit $ac_status); }; }; then
     4945  (exit $ac_status); } && {
     4946     test -z "$ac_c_werror_flag" ||
     4947     test ! -s conftest.err
     4948       } && test -s conftest.$ac_objext; then
    43714949  ac_cv_header_time=yes
    43724950else
     
    43744952sed 's/^/| /' conftest.$ac_ext >&5
    43754953
    4376 ac_cv_header_time=no
    4377 fi
    4378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4379 fi
    4380 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4381 echo "${ECHO_T}$ac_cv_header_time" >&6
     4954    ac_cv_header_time=no
     4955fi
     4956
     4957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4958fi
     4959{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     4960echo "${ECHO_T}$ac_cv_header_time" >&6; }
    43824961if test $ac_cv_header_time = yes; then
    43834962
     
    43884967fi
    43894968
    4390 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4391 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     4969{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     4970echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
    43924971if test "${ac_cv_struct_tm+set}" = set; then
    43934972  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    44054984main ()
    44064985{
    4407 struct tm *tp; tp->tm_sec;
     4986struct tm tm;
     4987                     int *p = &tm.tm_sec;
     4988                     return !p;
    44084989  ;
    44094990  return 0;
     
    44114992_ACEOF
    44124993rm -f conftest.$ac_objext
    4413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4414   (eval $ac_compile) 2>conftest.er1
     4994if { (ac_try="$ac_compile"
     4995case "(($ac_try" in
     4996  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4997  *) ac_try_echo=$ac_try;;
     4998esac
     4999eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5000  (eval "$ac_compile") 2>conftest.er1
    44155001  ac_status=$?
    44165002  grep -v '^ *+' conftest.er1 >conftest.err
     
    44185004  cat conftest.err >&5
    44195005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4420   (exit $ac_status); } &&
    4421      { ac_try='test -z "$ac_c_werror_flag"
    4422              || test ! -s conftest.err'
    4423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4424   (eval $ac_try) 2>&5
    4425   ac_status=$?
    4426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4427   (exit $ac_status); }; } &&
    4428      { ac_try='test -s conftest.$ac_objext'
    4429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4430   (eval $ac_try) 2>&5
    4431   ac_status=$?
    4432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4433   (exit $ac_status); }; }; then
     5006  (exit $ac_status); } && {
     5007     test -z "$ac_c_werror_flag" ||
     5008     test ! -s conftest.err
     5009       } && test -s conftest.$ac_objext; then
    44345010  ac_cv_struct_tm=time.h
    44355011else
     
    44375013sed 's/^/| /' conftest.$ac_ext >&5
    44385014
    4439 ac_cv_struct_tm=sys/time.h
    4440 fi
    4441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4442 fi
    4443 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    4444 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     5015    ac_cv_struct_tm=sys/time.h
     5016fi
     5017
     5018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5019fi
     5020{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     5021echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
    44455022if test $ac_cv_struct_tm = sys/time.h; then
    44465023
     
    44705047_ACEOF
    44715048rm -f conftest.$ac_objext
    4472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4473   (eval $ac_compile) 2>conftest.er1
     5049if { (ac_try="$ac_compile"
     5050case "(($ac_try" in
     5051  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5052  *) ac_try_echo=$ac_try;;
     5053esac
     5054eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5055  (eval "$ac_compile") 2>conftest.er1
    44745056  ac_status=$?
    44755057  grep -v '^ *+' conftest.er1 >conftest.err
     
    44775059  cat conftest.err >&5
    44785060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4479   (exit $ac_status); } &&
    4480      { ac_try='test -z "$ac_c_werror_flag"
    4481              || test ! -s conftest.err'
    4482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4483   (eval $ac_try) 2>&5
    4484   ac_status=$?
    4485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4486   (exit $ac_status); }; } &&
    4487      { ac_try='test -s conftest.$ac_objext'
    4488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4489   (eval $ac_try) 2>&5
    4490   ac_status=$?
    4491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4492   (exit $ac_status); }; }; then
     5061  (exit $ac_status); } && {
     5062     test -z "$ac_c_werror_flag" ||
     5063     test ! -s conftest.err
     5064       } && test -s conftest.$ac_objext; then
    44935065  :
    44945066else
     
    44965068sed 's/^/| /' conftest.$ac_ext >&5
    44975069
    4498 CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    4499 fi
    4500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4501 fi
    4502 
    4503 
    4504 
    4505 echo "$as_me:$LINENO: checking for main in -lg" >&5
    4506 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     5070    CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     5071fi
     5072
     5073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5074fi
     5075
     5076
     5077
     5078{ echo "$as_me:$LINENO: checking for main in -lg" >&5
     5079echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
    45075080if test "${ac_cv_lib_g_main+set}" = set; then
    45085081  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45215094main ()
    45225095{
    4523 main ();
     5096return main ();
    45245097  ;
    45255098  return 0;
     
    45275100_ACEOF
    45285101rm -f conftest.$ac_objext conftest$ac_exeext
    4529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4530   (eval $ac_link) 2>conftest.er1
     5102if { (ac_try="$ac_link"
     5103case "(($ac_try" in
     5104  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5105  *) ac_try_echo=$ac_try;;
     5106esac
     5107eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5108  (eval "$ac_link") 2>conftest.er1
    45315109  ac_status=$?
    45325110  grep -v '^ *+' conftest.er1 >conftest.err
     
    45345112  cat conftest.err >&5
    45355113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4536   (exit $ac_status); } &&
    4537      { ac_try='test -z "$ac_c_werror_flag"
    4538              || test ! -s conftest.err'
    4539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4540   (eval $ac_try) 2>&5
    4541   ac_status=$?
    4542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4543   (exit $ac_status); }; } &&
    4544      { ac_try='test -s conftest$ac_exeext'
    4545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4546   (eval $ac_try) 2>&5
    4547   ac_status=$?
    4548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4549   (exit $ac_status); }; }; then
     5114  (exit $ac_status); } && {
     5115     test -z "$ac_c_werror_flag" ||
     5116     test ! -s conftest.err
     5117       } && test -s conftest$ac_exeext &&
     5118       $as_test_x conftest$ac_exeext; then
    45505119  ac_cv_lib_g_main=yes
    45515120else
     
    45535122sed 's/^/| /' conftest.$ac_ext >&5
    45545123
    4555 ac_cv_lib_g_main=no
    4556 fi
    4557 rm -f conftest.err conftest.$ac_objext \
     5124    ac_cv_lib_g_main=no
     5125fi
     5126
     5127rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    45585128      conftest$ac_exeext conftest.$ac_ext
    45595129LIBS=$ac_check_lib_save_LIBS
    45605130fi
    4561 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    4562 echo "${ECHO_T}$ac_cv_lib_g_main" >&6
     5131{ echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     5132echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
    45635133if test $ac_cv_lib_g_main = yes; then
    45645134  cat >>confdefs.h <<_ACEOF
     
    45725142
    45735143
    4574 echo "$as_me:$LINENO: checking for main in -lm" >&5
    4575 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     5144{ echo "$as_me:$LINENO: checking for main in -lm" >&5
     5145echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
    45765146if test "${ac_cv_lib_m_main+set}" = set; then
    45775147  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45905160main ()
    45915161{
    4592 main ();
     5162return main ();
    45935163  ;
    45945164  return 0;
     
    45965166_ACEOF
    45975167rm -f conftest.$ac_objext conftest$ac_exeext
    4598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4599   (eval $ac_link) 2>conftest.er1
     5168if { (ac_try="$ac_link"
     5169case "(($ac_try" in
     5170  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5171  *) ac_try_echo=$ac_try;;
     5172esac
     5173eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5174  (eval "$ac_link") 2>conftest.er1
    46005175  ac_status=$?
    46015176  grep -v '^ *+' conftest.er1 >conftest.err
     
    46035178  cat conftest.err >&5
    46045179  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4605   (exit $ac_status); } &&
    4606      { ac_try='test -z "$ac_c_werror_flag"
    4607              || test ! -s conftest.err'
    4608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4609   (eval $ac_try) 2>&5
    4610   ac_status=$?
    4611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4612   (exit $ac_status); }; } &&
    4613      { ac_try='test -s conftest$ac_exeext'
    4614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4615   (eval $ac_try) 2>&5
    4616   ac_status=$?
    4617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4618   (exit $ac_status); }; }; then
     5180  (exit $ac_status); } && {
     5181     test -z "$ac_c_werror_flag" ||
     5182     test ! -s conftest.err
     5183       } && test -s conftest$ac_exeext &&
     5184       $as_test_x conftest$ac_exeext; then
    46195185  ac_cv_lib_m_main=yes
    46205186else
     
    46225188sed 's/^/| /' conftest.$ac_ext >&5
    46235189
    4624 ac_cv_lib_m_main=no
    4625 fi
    4626 rm -f conftest.err conftest.$ac_objext \
     5190    ac_cv_lib_m_main=no
     5191fi
     5192
     5193rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46275194      conftest$ac_exeext conftest.$ac_ext
    46285195LIBS=$ac_check_lib_save_LIBS
    46295196fi
    4630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    4631 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
     5197{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     5198echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
    46325199if test $ac_cv_lib_m_main = yes; then
    46335200  cat >>confdefs.h <<_ACEOF
     
    46415208
    46425209
    4643 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    4644 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     5210{ echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     5211echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
    46455212if test "${ac_cv_lib_crypt_main+set}" = set; then
    46465213  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46595226main ()
    46605227{
    4661 main ();
     5228return main ();
    46625229  ;
    46635230  return 0;
     
    46655232_ACEOF
    46665233rm -f conftest.$ac_objext conftest$ac_exeext
    4667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4668   (eval $ac_link) 2>conftest.er1
     5234if { (ac_try="$ac_link"
     5235case "(($ac_try" in
     5236  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5237  *) ac_try_echo=$ac_try;;
     5238esac
     5239eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5240  (eval "$ac_link") 2>conftest.er1
    46695241  ac_status=$?
    46705242  grep -v '^ *+' conftest.er1 >conftest.err
     
    46725244  cat conftest.err >&5
    46735245  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4674   (exit $ac_status); } &&
    4675      { ac_try='test -z "$ac_c_werror_flag"
    4676              || test ! -s conftest.err'
    4677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4678   (eval $ac_try) 2>&5
    4679   ac_status=$?
    4680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4681   (exit $ac_status); }; } &&
    4682      { ac_try='test -s conftest$ac_exeext'
    4683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4684   (eval $ac_try) 2>&5
    4685   ac_status=$?
    4686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4687   (exit $ac_status); }; }; then
     5246  (exit $ac_status); } && {
     5247     test -z "$ac_c_werror_flag" ||
     5248     test ! -s conftest.err
     5249       } && test -s conftest$ac_exeext &&
     5250       $as_test_x conftest$ac_exeext; then
    46885251  ac_cv_lib_crypt_main=yes
    46895252else
     
    46915254sed 's/^/| /' conftest.$ac_ext >&5
    46925255
    4693 ac_cv_lib_crypt_main=no
    4694 fi
    4695 rm -f conftest.err conftest.$ac_objext \
     5256    ac_cv_lib_crypt_main=no
     5257fi
     5258
     5259rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46965260      conftest$ac_exeext conftest.$ac_ext
    46975261LIBS=$ac_check_lib_save_LIBS
    46985262fi
    4699 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    4700 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
     5263{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     5264echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
    47015265if test $ac_cv_lib_crypt_main = yes; then
    47025266  cat >>confdefs.h <<_ACEOF
     
    47095273ac_cv_lib_crypt=ac_cv_lib_crypt_main
    47105274
    4711 if test $ENABLE_ACCENTFOLD = 1; then
    4712 
    4713 echo "$as_me:$LINENO: checking for main in -liconv" >&5
    4714 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6
    4715 if test "${ac_cv_lib_iconv_main+set}" = set; then
    4716   echo $ECHO_N "(cached) $ECHO_C" >&6
    4717 else
    4718   ac_check_lib_save_LIBS=$LIBS
    4719 LIBS="-liconv  $LIBS"
    4720 cat >conftest.$ac_ext <<_ACEOF
    4721 /* confdefs.h.  */
    4722 _ACEOF
    4723 cat confdefs.h >>conftest.$ac_ext
    4724 cat >>conftest.$ac_ext <<_ACEOF
    4725 /* end confdefs.h.  */
    4726 
    4727 
    4728 int
    4729 main ()
    4730 {
    4731 main ();
    4732   ;
    4733   return 0;
    4734 }
    4735 _ACEOF
    4736 rm -f conftest.$ac_objext conftest$ac_exeext
    4737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4738   (eval $ac_link) 2>conftest.er1
    4739   ac_status=$?
    4740   grep -v '^ *+' conftest.er1 >conftest.err
    4741   rm -f conftest.er1
    4742   cat conftest.err >&5
    4743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4744   (exit $ac_status); } &&
    4745      { ac_try='test -z "$ac_c_werror_flag"
    4746              || test ! -s conftest.err'
    4747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4748   (eval $ac_try) 2>&5
    4749   ac_status=$?
    4750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4751   (exit $ac_status); }; } &&
    4752      { ac_try='test -s conftest$ac_exeext'
    4753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4754   (eval $ac_try) 2>&5
    4755   ac_status=$?
    4756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4757   (exit $ac_status); }; }; then
    4758   ac_cv_lib_iconv_main=yes
    4759 else
    4760   echo "$as_me: failed program was:" >&5
    4761 sed 's/^/| /' conftest.$ac_ext >&5
    4762 
    4763 ac_cv_lib_iconv_main=no
    4764 fi
    4765 rm -f conftest.err conftest.$ac_objext \
    4766       conftest$ac_exeext conftest.$ac_ext
    4767 LIBS=$ac_check_lib_save_LIBS
    4768 fi
    4769 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
    4770 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6
    4771 if test $ac_cv_lib_iconv_main = yes; then
    4772   cat >>confdefs.h <<_ACEOF
    4773 #define HAVE_LIBICONV 1
    4774 _ACEOF
    4775 
    4776   LIBS="-liconv $LIBS"
    4777 
    4778 fi
    4779 ac_cv_lib_iconv=ac_cv_lib_iconv_main
    4780 
    4781 fi
     5275#if test $ENABLE_ACCENTFOLD = 1; then
     5276#AC_HAVE_LIBRARY(iconv)
     5277#fi
    47825278
    47835279
     
    47895285for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    47905286  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    4791 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    4792 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    4793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5287{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     5288echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
     5289if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    47945290  echo $ECHO_N "(cached) $ECHO_C" >&6
    47955291else
     
    48135309_ACEOF
    48145310rm -f conftest.$ac_objext
    4815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4816   (eval $ac_compile) 2>conftest.er1
     5311if { (ac_try="$ac_compile"
     5312case "(($ac_try" in
     5313  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5314  *) ac_try_echo=$ac_try;;
     5315esac
     5316eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5317  (eval "$ac_compile") 2>conftest.er1
    48175318  ac_status=$?
    48185319  grep -v '^ *+' conftest.er1 >conftest.err
     
    48205321  cat conftest.err >&5
    48215322  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4822   (exit $ac_status); } &&
    4823      { ac_try='test -z "$ac_c_werror_flag"
    4824              || test ! -s conftest.err'
    4825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4826   (eval $ac_try) 2>&5
    4827   ac_status=$?
    4828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4829   (exit $ac_status); }; } &&
    4830      { ac_try='test -s conftest.$ac_objext'
    4831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4832   (eval $ac_try) 2>&5
    4833   ac_status=$?
    4834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4835   (exit $ac_status); }; }; then
     5323  (exit $ac_status); } && {
     5324     test -z "$ac_c_werror_flag" ||
     5325     test ! -s conftest.err
     5326       } && test -s conftest.$ac_objext; then
    48365327  eval "$as_ac_Header=yes"
    48375328else
     
    48395330sed 's/^/| /' conftest.$ac_ext >&5
    48405331
    4841 eval "$as_ac_Header=no"
    4842 fi
    4843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4844 fi
    4845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5332    eval "$as_ac_Header=no"
     5333fi
     5334
     5335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5336fi
     5337ac_res=`eval echo '${'$as_ac_Header'}'`
     5338           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5339echo "${ECHO_T}$ac_res" >&6; }
    48475340if test `eval echo '${'$as_ac_Header'}'` = yes; then
    48485341  cat >>confdefs.h <<_ACEOF
     
    48565349# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    48575350if test $ac_header_dirent = dirent.h; then
    4858   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4859 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     5351  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5352echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    48605353if test "${ac_cv_search_opendir+set}" = set; then
    48615354  echo $ECHO_N "(cached) $ECHO_C" >&6
    48625355else
    48635356  ac_func_search_save_LIBS=$LIBS
    4864 ac_cv_search_opendir=no
    48655357cat >conftest.$ac_ext <<_ACEOF
    48665358/* confdefs.h.  */
     
    48705362/* end confdefs.h.  */
    48715363
    4872 /* Override any gcc2 internal prototype to avoid an error.  */
     5364/* Override any GCC internal prototype to avoid an error.
     5365   Use char because int might match the return type of a GCC
     5366   builtin and then its argument prototype would still apply.  */
    48735367#ifdef __cplusplus
    48745368extern "C"
    48755369#endif
    4876 /* We use char because int might match the return type of a gcc2
    4877    builtin and then its argument prototype would still apply.  */
    48785370char opendir ();
    48795371int
    48805372main ()
    48815373{
    4882 opendir ();
     5374return opendir ();
    48835375  ;
    48845376  return 0;
    48855377}
    48865378_ACEOF
    4887 rm -f conftest.$ac_objext conftest$ac_exeext
    4888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4889   (eval $ac_link) 2>conftest.er1
     5379for ac_lib in '' dir; do
     5380  if test -z "$ac_lib"; then
     5381    ac_res="none required"
     5382  else
     5383    ac_res=-l$ac_lib
     5384    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5385  fi
     5386  rm -f conftest.$ac_objext conftest$ac_exeext
     5387if { (ac_try="$ac_link"
     5388case "(($ac_try" in
     5389  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5390  *) ac_try_echo=$ac_try;;
     5391esac
     5392eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5393  (eval "$ac_link") 2>conftest.er1
    48905394  ac_status=$?
    48915395  grep -v '^ *+' conftest.er1 >conftest.err
     
    48935397  cat conftest.err >&5
    48945398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4895   (exit $ac_status); } &&
    4896      { ac_try='test -z "$ac_c_werror_flag"
    4897              || test ! -s conftest.err'
    4898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4899   (eval $ac_try) 2>&5
    4900   ac_status=$?
    4901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4902   (exit $ac_status); }; } &&
    4903      { ac_try='test -s conftest$ac_exeext'
    4904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4905   (eval $ac_try) 2>&5
    4906   ac_status=$?
    4907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4908   (exit $ac_status); }; }; then
    4909   ac_cv_search_opendir="none required"
     5399  (exit $ac_status); } && {
     5400     test -z "$ac_c_werror_flag" ||
     5401     test ! -s conftest.err
     5402       } && test -s conftest$ac_exeext &&
     5403       $as_test_x conftest$ac_exeext; then
     5404  ac_cv_search_opendir=$ac_res
    49105405else
    49115406  echo "$as_me: failed program was:" >&5
    49125407sed 's/^/| /' conftest.$ac_ext >&5
    49135408
    4914 fi
    4915 rm -f conftest.err conftest.$ac_objext \
    4916       conftest$ac_exeext conftest.$ac_ext
    4917 if test "$ac_cv_search_opendir" = no; then
    4918   for ac_lib in dir; do
    4919     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4920     cat >conftest.$ac_ext <<_ACEOF
     5409
     5410fi
     5411
     5412rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5413      conftest$ac_exeext
     5414  if test "${ac_cv_search_opendir+set}" = set; then
     5415  break
     5416fi
     5417done
     5418if test "${ac_cv_search_opendir+set}" = set; then
     5419  :
     5420else
     5421  ac_cv_search_opendir=no
     5422fi
     5423rm conftest.$ac_ext
     5424LIBS=$ac_func_search_save_LIBS
     5425fi
     5426{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5427echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5428ac_res=$ac_cv_search_opendir
     5429if test "$ac_res" != no; then
     5430  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5431
     5432fi
     5433
     5434else
     5435  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5436echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
     5437if test "${ac_cv_search_opendir+set}" = set; then
     5438  echo $ECHO_N "(cached) $ECHO_C" >&6
     5439else
     5440  ac_func_search_save_LIBS=$LIBS
     5441cat >conftest.$ac_ext <<_ACEOF
    49215442/* confdefs.h.  */
    49225443_ACEOF
     
    49255446/* end confdefs.h.  */
    49265447
    4927 /* Override any gcc2 internal prototype to avoid an error.  */
     5448/* Override any GCC internal prototype to avoid an error.
     5449   Use char because int might match the return type of a GCC
     5450   builtin and then its argument prototype would still apply.  */
    49285451#ifdef __cplusplus
    49295452extern "C"
    49305453#endif
    4931 /* We use char because int might match the return type of a gcc2
    4932    builtin and then its argument prototype would still apply.  */
    49335454char opendir ();
    49345455int
    49355456main ()
    49365457{
    4937 opendir ();
     5458return opendir ();
    49385459  ;
    49395460  return 0;
    49405461}
    49415462_ACEOF
    4942 rm -f conftest.$ac_objext conftest$ac_exeext
    4943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4944   (eval $ac_link) 2>conftest.er1
     5463for ac_lib in '' x; do
     5464  if test -z "$ac_lib"; then
     5465    ac_res="none required"
     5466  else
     5467    ac_res=-l$ac_lib
     5468    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5469  fi
     5470  rm -f conftest.$ac_objext conftest$ac_exeext
     5471if { (ac_try="$ac_link"
     5472case "(($ac_try" in
     5473  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5474  *) ac_try_echo=$ac_try;;
     5475esac
     5476eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5477  (eval "$ac_link") 2>conftest.er1
    49455478  ac_status=$?
    49465479  grep -v '^ *+' conftest.er1 >conftest.err
     
    49485481  cat conftest.err >&5
    49495482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4950   (exit $ac_status); } &&
    4951      { ac_try='test -z "$ac_c_werror_flag"
    4952              || test ! -s conftest.err'
    4953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4954   (eval $ac_try) 2>&5
    4955   ac_status=$?
    4956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4957   (exit $ac_status); }; } &&
    4958      { ac_try='test -s conftest$ac_exeext'
    4959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4960   (eval $ac_try) 2>&5
    4961   ac_status=$?
    4962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4963   (exit $ac_status); }; }; then
    4964   ac_cv_search_opendir="-l$ac_lib"
    4965 break
     5483  (exit $ac_status); } && {
     5484     test -z "$ac_c_werror_flag" ||
     5485     test ! -s conftest.err
     5486       } && test -s conftest$ac_exeext &&
     5487       $as_test_x conftest$ac_exeext; then
     5488  ac_cv_search_opendir=$ac_res
    49665489else
    49675490  echo "$as_me: failed program was:" >&5
    49685491sed 's/^/| /' conftest.$ac_ext >&5
    49695492
    4970 fi
    4971 rm -f conftest.err conftest.$ac_objext \
    4972       conftest$ac_exeext conftest.$ac_ext
    4973   done
    4974 fi
     5493
     5494fi
     5495
     5496rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5497      conftest$ac_exeext
     5498  if test "${ac_cv_search_opendir+set}" = set; then
     5499  break
     5500fi
     5501done
     5502if test "${ac_cv_search_opendir+set}" = set; then
     5503  :
     5504else
     5505  ac_cv_search_opendir=no
     5506fi
     5507rm conftest.$ac_ext
    49755508LIBS=$ac_func_search_save_LIBS
    49765509fi
    4977 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    4978 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    4979 if test "$ac_cv_search_opendir" != no; then
    4980   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    4981 
    4982 fi
    4983 
    4984 else
    4985   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4986 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    4987 if test "${ac_cv_search_opendir+set}" = set; then
    4988   echo $ECHO_N "(cached) $ECHO_C" >&6
    4989 else
    4990   ac_func_search_save_LIBS=$LIBS
    4991 ac_cv_search_opendir=no
    4992 cat >conftest.$ac_ext <<_ACEOF
    4993 /* confdefs.h.  */
    4994 _ACEOF
    4995 cat confdefs.h >>conftest.$ac_ext
    4996 cat >>conftest.$ac_ext <<_ACEOF
    4997 /* end confdefs.h.  */
    4998 
    4999 /* Override any gcc2 internal prototype to avoid an error.  */
    5000 #ifdef __cplusplus
    5001 extern "C"
    5002 #endif
    5003 /* We use char because int might match the return type of a gcc2
    5004    builtin and then its argument prototype would still apply.  */
    5005 char opendir ();
    5006 int
    5007 main ()
    5008 {
    5009 opendir ();
    5010   ;
    5011   return 0;
    5012 }
    5013 _ACEOF
    5014 rm -f conftest.$ac_objext conftest$ac_exeext
    5015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5016   (eval $ac_link) 2>conftest.er1
    5017   ac_status=$?
    5018   grep -v '^ *+' conftest.er1 >conftest.err
    5019   rm -f conftest.er1
    5020   cat conftest.err >&5
    5021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5022   (exit $ac_status); } &&
    5023      { ac_try='test -z "$ac_c_werror_flag"
    5024              || test ! -s conftest.err'
    5025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5026   (eval $ac_try) 2>&5
    5027   ac_status=$?
    5028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5029   (exit $ac_status); }; } &&
    5030      { ac_try='test -s conftest$ac_exeext'
    5031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5032   (eval $ac_try) 2>&5
    5033   ac_status=$?
    5034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5035   (exit $ac_status); }; }; then
    5036   ac_cv_search_opendir="none required"
    5037 else
    5038   echo "$as_me: failed program was:" >&5
    5039 sed 's/^/| /' conftest.$ac_ext >&5
    5040 
    5041 fi
    5042 rm -f conftest.err conftest.$ac_objext \
    5043       conftest$ac_exeext conftest.$ac_ext
    5044 if test "$ac_cv_search_opendir" = no; then
    5045   for ac_lib in x; do
    5046     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5047     cat >conftest.$ac_ext <<_ACEOF
    5048 /* confdefs.h.  */
    5049 _ACEOF
    5050 cat confdefs.h >>conftest.$ac_ext
    5051 cat >>conftest.$ac_ext <<_ACEOF
    5052 /* end confdefs.h.  */
    5053 
    5054 /* Override any gcc2 internal prototype to avoid an error.  */
    5055 #ifdef __cplusplus
    5056 extern "C"
    5057 #endif
    5058 /* We use char because int might match the return type of a gcc2
    5059    builtin and then its argument prototype would still apply.  */
    5060 char opendir ();
    5061 int
    5062 main ()
    5063 {
    5064 opendir ();
    5065   ;
    5066   return 0;
    5067 }
    5068 _ACEOF
    5069 rm -f conftest.$ac_objext conftest$ac_exeext
    5070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5071   (eval $ac_link) 2>conftest.er1
    5072   ac_status=$?
    5073   grep -v '^ *+' conftest.er1 >conftest.err
    5074   rm -f conftest.er1
    5075   cat conftest.err >&5
    5076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5077   (exit $ac_status); } &&
    5078      { ac_try='test -z "$ac_c_werror_flag"
    5079              || test ! -s conftest.err'
    5080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5081   (eval $ac_try) 2>&5
    5082   ac_status=$?
    5083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5084   (exit $ac_status); }; } &&
    5085      { ac_try='test -s conftest$ac_exeext'
    5086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5087   (eval $ac_try) 2>&5
    5088   ac_status=$?
    5089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5090   (exit $ac_status); }; }; then
    5091   ac_cv_search_opendir="-l$ac_lib"
    5092 break
    5093 else
    5094   echo "$as_me: failed program was:" >&5
    5095 sed 's/^/| /' conftest.$ac_ext >&5
    5096 
    5097 fi
    5098 rm -f conftest.err conftest.$ac_objext \
    5099       conftest$ac_exeext conftest.$ac_ext
    5100   done
    5101 fi
    5102 LIBS=$ac_func_search_save_LIBS
    5103 fi
    5104 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5105 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5106 if test "$ac_cv_search_opendir" != no; then
    5107   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5108 
    5109 fi
    5110 
    5111 fi
    5112 
    5113 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5114 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     5510{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5511echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
     5512ac_res=$ac_cv_search_opendir
     5513if test "$ac_res" != no; then
     5514  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5515
     5516fi
     5517
     5518fi
     5519
     5520{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5521echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    51155522if test "${ac_cv_header_stdc+set}" = set; then
    51165523  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51365543_ACEOF
    51375544rm -f conftest.$ac_objext
    5138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5139   (eval $ac_compile) 2>conftest.er1
     5545if { (ac_try="$ac_compile"
     5546case "(($ac_try" in
     5547  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5548  *) ac_try_echo=$ac_try;;
     5549esac
     5550eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5551  (eval "$ac_compile") 2>conftest.er1
    51405552  ac_status=$?
    51415553  grep -v '^ *+' conftest.er1 >conftest.err
     
    51435555  cat conftest.err >&5
    51445556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5145   (exit $ac_status); } &&
    5146      { ac_try='test -z "$ac_c_werror_flag"
    5147              || test ! -s conftest.err'
    5148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5149   (eval $ac_try) 2>&5
    5150   ac_status=$?
    5151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5152   (exit $ac_status); }; } &&
    5153      { ac_try='test -s conftest.$ac_objext'
    5154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5155   (eval $ac_try) 2>&5
    5156   ac_status=$?
    5157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5158   (exit $ac_status); }; }; then
     5557  (exit $ac_status); } && {
     5558     test -z "$ac_c_werror_flag" ||
     5559     test ! -s conftest.err
     5560       } && test -s conftest.$ac_objext; then
    51595561  ac_cv_header_stdc=yes
    51605562else
     
    51625564sed 's/^/| /' conftest.$ac_ext >&5
    51635565
    5164 ac_cv_header_stdc=no
    5165 fi
    5166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5566    ac_cv_header_stdc=no
     5567fi
     5568
     5569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    51675570
    51685571if test $ac_cv_header_stdc = yes; then
     
    52205623/* end confdefs.h.  */
    52215624#include <ctype.h>
     5625#include <stdlib.h>
    52225626#if ((' ' & 0x0FF) == 0x020)
    52235627# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    52395643    if (XOR (islower (i), ISLOWER (i))
    52405644    || toupper (i) != TOUPPER (i))
    5241       exit(2);
    5242   exit (0);
     5645      return 2;
     5646  return 0;
    52435647}
    52445648_ACEOF
    52455649rm -f conftest$ac_exeext
    5246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5247   (eval $ac_link) 2>&5
     5650if { (ac_try="$ac_link"
     5651case "(($ac_try" in
     5652  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5653  *) ac_try_echo=$ac_try;;
     5654esac
     5655eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5656  (eval "$ac_link") 2>&5
    52485657  ac_status=$?
    52495658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52505659  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5252   (eval $ac_try) 2>&5
     5660  { (case "(($ac_try" in
     5661  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5662  *) ac_try_echo=$ac_try;;
     5663esac
     5664eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5665  (eval "$ac_try") 2>&5
    52535666  ac_status=$?
    52545667  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    52635676ac_cv_header_stdc=no
    52645677fi
    5265 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5266 fi
    5267 fi
    5268 fi
    5269 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5270 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     5678rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5679fi
     5680
     5681
     5682fi
     5683fi
     5684{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5685echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    52715686if test $ac_cv_header_stdc = yes; then
    52725687
     
    52895704do
    52905705as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5292   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5706if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5707  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     5708echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5709if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    52955710  echo $ECHO_N "(cached) $ECHO_C" >&6
    52965711fi
    5297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5712ac_res=`eval echo '${'$as_ac_Header'}'`
     5713           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5714echo "${ECHO_T}$ac_res" >&6; }
    52995715else
    53005716  # Is the header compilable?
    5301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5717{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5718echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    53035719cat >conftest.$ac_ext <<_ACEOF
    53045720/* confdefs.h.  */
     
    53115727_ACEOF
    53125728rm -f conftest.$ac_objext
    5313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5314   (eval $ac_compile) 2>conftest.er1
     5729if { (ac_try="$ac_compile"
     5730case "(($ac_try" in
     5731  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5732  *) ac_try_echo=$ac_try;;
     5733esac
     5734eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5735  (eval "$ac_compile") 2>conftest.er1
    53155736  ac_status=$?
    53165737  grep -v '^ *+' conftest.er1 >conftest.err
     
    53185739  cat conftest.err >&5
    53195740  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5320   (exit $ac_status); } &&
    5321      { ac_try='test -z "$ac_c_werror_flag"
    5322              || test ! -s conftest.err'
    5323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5324   (eval $ac_try) 2>&5
    5325   ac_status=$?
    5326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5327   (exit $ac_status); }; } &&
    5328      { ac_try='test -s conftest.$ac_objext'
    5329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5330   (eval $ac_try) 2>&5
    5331   ac_status=$?
    5332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5333   (exit $ac_status); }; }; then
     5741  (exit $ac_status); } && {
     5742     test -z "$ac_c_werror_flag" ||
     5743     test ! -s conftest.err
     5744       } && test -s conftest.$ac_objext; then
    53345745  ac_header_compiler=yes
    53355746else
     
    53375748sed 's/^/| /' conftest.$ac_ext >&5
    53385749
    5339 ac_header_compiler=no
    5340 fi
    5341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5343 echo "${ECHO_T}$ac_header_compiler" >&6
     5750    ac_header_compiler=no
     5751fi
     5752
     5753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5754{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5755echo "${ECHO_T}$ac_header_compiler" >&6; }
    53445756
    53455757# Is the header present?
    5346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5758{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5759echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    53485760cat >conftest.$ac_ext <<_ACEOF
    53495761/* confdefs.h.  */
     
    53545766#include <$ac_header>
    53555767_ACEOF
    5356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5357   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5768if { (ac_try="$ac_cpp conftest.$ac_ext"
     5769case "(($ac_try" in
     5770  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5771  *) ac_try_echo=$ac_try;;
     5772esac
     5773eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5774  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    53585775  ac_status=$?
    53595776  grep -v '^ *+' conftest.er1 >conftest.err
     
    53615778  cat conftest.err >&5
    53625779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5363   (exit $ac_status); } >/dev/null; then
    5364   if test -s conftest.err; then
    5365     ac_cpp_err=$ac_c_preproc_warn_flag
    5366     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5367   else
    5368     ac_cpp_err=
    5369   fi
    5370 else
    5371   ac_cpp_err=yes
    5372 fi
    5373 if test -z "$ac_cpp_err"; then
     5780  (exit $ac_status); } >/dev/null && {
     5781     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5782     test ! -s conftest.err
     5783       }; then
    53745784  ac_header_preproc=yes
    53755785else
     
    53795789  ac_header_preproc=no
    53805790fi
     5791
    53815792rm -f conftest.err conftest.$ac_ext
    5382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5383 echo "${ECHO_T}$ac_header_preproc" >&6
     5793{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5794echo "${ECHO_T}$ac_header_preproc" >&6; }
    53845795
    53855796# So?  What about this header?
     
    54055816    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    54065817echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5407     (
    5408       cat <<\_ASBOX
    5409 ## ------------------------------------------ ##
    5410 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5411 ## ------------------------------------------ ##
    5412 _ASBOX
    5413     ) |
    5414       sed "s/^/$as_me: WARNING:     /" >&2
     5818
    54155819    ;;
    54165820esac
    5417 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5821{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     5822echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5823if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    54205824  echo $ECHO_N "(cached) $ECHO_C" >&6
    54215825else
    54225826  eval "$as_ac_Header=\$ac_header_preproc"
    54235827fi
    5424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5828ac_res=`eval echo '${'$as_ac_Header'}'`
     5829           { echo "$as_me:$LINENO: result: $ac_res" >&5
     5830echo "${ECHO_T}$ac_res" >&6; }
    54265831
    54275832fi
     
    54925897# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    54935898# for constant arguments.  Useless!
    5494 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5495 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     5899{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5900echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
    54965901if test "${ac_cv_working_alloca_h+set}" = set; then
    54975902  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55085913{
    55095914char *p = (char *) alloca (2 * sizeof (int));
     5915              if (p) return 0;
    55105916  ;
    55115917  return 0;
     
    55135919_ACEOF
    55145920rm -f conftest.$ac_objext conftest$ac_exeext
    5515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5516   (eval $ac_link) 2>conftest.er1
     5921if { (ac_try="$ac_link"
     5922case "(($ac_try" in
     5923  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5924  *) ac_try_echo=$ac_try;;
     5925esac
     5926eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5927  (eval "$ac_link") 2>conftest.er1
    55175928  ac_status=$?
    55185929  grep -v '^ *+' conftest.er1 >conftest.err
     
    55205931  cat conftest.err >&5
    55215932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5522   (exit $ac_status); } &&
    5523      { ac_try='test -z "$ac_c_werror_flag"
    5524              || test ! -s conftest.err'
    5525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5526   (eval $ac_try) 2>&5
    5527   ac_status=$?
    5528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5529   (exit $ac_status); }; } &&
    5530      { ac_try='test -s conftest$ac_exeext'
    5531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5532   (eval $ac_try) 2>&5
    5533   ac_status=$?
    5534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5535   (exit $ac_status); }; }; then
     5933  (exit $ac_status); } && {
     5934     test -z "$ac_c_werror_flag" ||
     5935     test ! -s conftest.err
     5936       } && test -s conftest$ac_exeext &&
     5937       $as_test_x conftest$ac_exeext; then
    55365938  ac_cv_working_alloca_h=yes
    55375939else
     
    55395941sed 's/^/| /' conftest.$ac_ext >&5
    55405942
    5541 ac_cv_working_alloca_h=no
    5542 fi
    5543 rm -f conftest.err conftest.$ac_objext \
     5943    ac_cv_working_alloca_h=no
     5944fi
     5945
     5946rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    55445947      conftest$ac_exeext conftest.$ac_ext
    55455948fi
    5546 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5547 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
     5949{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5950echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
    55485951if test $ac_cv_working_alloca_h = yes; then
    55495952
     
    55545957fi
    55555958
    5556 echo "$as_me:$LINENO: checking for alloca" >&5
    5557 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     5959{ echo "$as_me:$LINENO: checking for alloca" >&5
     5960echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
    55585961if test "${ac_cv_func_alloca_works+set}" = set; then
    55595962  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55725975#  define alloca _alloca
    55735976# else
    5574 #  if HAVE_ALLOCA_H
     5977#  ifdef HAVE_ALLOCA_H
    55755978#   include <alloca.h>
    55765979#  else
     
    55905993{
    55915994char *p = (char *) alloca (1);
     5995                    if (p) return 0;
    55925996  ;
    55935997  return 0;
     
    55955999_ACEOF
    55966000rm -f conftest.$ac_objext conftest$ac_exeext
    5597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5598   (eval $ac_link) 2>conftest.er1
     6001if { (ac_try="$ac_link"
     6002case "(($ac_try" in
     6003  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6004  *) ac_try_echo=$ac_try;;
     6005esac
     6006eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6007  (eval "$ac_link") 2>conftest.er1
    55996008  ac_status=$?
    56006009  grep -v '^ *+' conftest.er1 >conftest.err
     
    56026011  cat conftest.err >&5
    56036012  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5604   (exit $ac_status); } &&
    5605      { ac_try='test -z "$ac_c_werror_flag"
    5606              || test ! -s conftest.err'
    5607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5608   (eval $ac_try) 2>&5
    5609   ac_status=$?
    5610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5611   (exit $ac_status); }; } &&
    5612      { ac_try='test -s conftest$ac_exeext'
    5613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5614   (eval $ac_try) 2>&5
    5615   ac_status=$?
    5616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5617   (exit $ac_status); }; }; then
     6013  (exit $ac_status); } && {
     6014     test -z "$ac_c_werror_flag" ||
     6015     test ! -s conftest.err
     6016       } && test -s conftest$ac_exeext &&
     6017       $as_test_x conftest$ac_exeext; then
    56186018  ac_cv_func_alloca_works=yes
    56196019else
     
    56216021sed 's/^/| /' conftest.$ac_ext >&5
    56226022
    5623 ac_cv_func_alloca_works=no
    5624 fi
    5625 rm -f conftest.err conftest.$ac_objext \
     6023    ac_cv_func_alloca_works=no
     6024fi
     6025
     6026rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    56266027      conftest$ac_exeext conftest.$ac_ext
    56276028fi
    5628 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    5629 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
     6029{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     6030echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
    56306031
    56316032if test $ac_cv_func_alloca_works = yes; then
     
    56416042# use ar to extract alloca.o from them instead of compiling alloca.c.
    56426043
    5643 ALLOCA=alloca.$ac_objext
     6044ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    56446045
    56456046cat >>confdefs.h <<\_ACEOF
     
    56486049
    56496050
    5650 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    5651 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     6051{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     6052echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
    56526053if test "${ac_cv_os_cray+set}" = set; then
    56536054  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    56596060cat >>conftest.$ac_ext <<_ACEOF
    56606061/* end confdefs.h.  */
    5661 #if defined(CRAY) && ! defined(CRAY2)
     6062#if defined CRAY && ! defined CRAY2
    56626063webecray
    56636064#else
     
    56756076
    56766077fi
    5677 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    5678 echo "${ECHO_T}$ac_cv_os_cray" >&6
     6078{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     6079echo "${ECHO_T}$ac_cv_os_cray" >&6; }
    56796080if test $ac_cv_os_cray = yes; then
    56806081  for ac_func in _getb67 GETB67 getb67; do
    56816082    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5682 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5684 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6083{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6084echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6085if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    56856086  echo $ECHO_N "(cached) $ECHO_C" >&6
    56866087else
     
    57086109#undef $ac_func
    57096110
    5710 /* Override any gcc2 internal prototype to avoid an error.  */
     6111/* Override any GCC internal prototype to avoid an error.
     6112   Use char because int might match the return type of a GCC
     6113   builtin and then its argument prototype would still apply.  */
    57116114#ifdef __cplusplus
    57126115extern "C"
    5713 {
    57146116#endif
    5715 /* We use char because int might match the return type of a gcc2
    5716    builtin and then its argument prototype would still apply.  */
    57176117char $ac_func ();
    57186118/* The GNU C library defines this for functions which it implements
    57196119    to always fail with ENOSYS.  Some functions are actually named
    57206120    something starting with __ and the normal name is an alias.  */
    5721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6121#if defined __stub_$ac_func || defined __stub___$ac_func
    57226122choke me
    5723 #else
    5724 char (*f) () = $ac_func;
    5725 #endif
    5726 #ifdef __cplusplus
    5727 }
    57286123#endif
    57296124
     
    57316126main ()
    57326127{
    5733 return f != $ac_func;
     6128return $ac_func ();
    57346129  ;
    57356130  return 0;
     
    57376132_ACEOF
    57386133rm -f conftest.$ac_objext conftest$ac_exeext
    5739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5740   (eval $ac_link) 2>conftest.er1
     6134if { (ac_try="$ac_link"
     6135case "(($ac_try" in
     6136  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6137  *) ac_try_echo=$ac_try;;
     6138esac
     6139eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6140  (eval "$ac_link") 2>conftest.er1
    57416141  ac_status=$?
    57426142  grep -v '^ *+' conftest.er1 >conftest.err
     
    57446144  cat conftest.err >&5
    57456145  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5746   (exit $ac_status); } &&
    5747      { ac_try='test -z "$ac_c_werror_flag"
    5748              || test ! -s conftest.err'
    5749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5750   (eval $ac_try) 2>&5
    5751   ac_status=$?
    5752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5753   (exit $ac_status); }; } &&
    5754      { ac_try='test -s conftest$ac_exeext'
    5755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5756   (eval $ac_try) 2>&5
    5757   ac_status=$?
    5758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5759   (exit $ac_status); }; }; then
     6146  (exit $ac_status); } && {
     6147     test -z "$ac_c_werror_flag" ||
     6148     test ! -s conftest.err
     6149       } && test -s conftest$ac_exeext &&
     6150       $as_test_x conftest$ac_exeext; then
    57606151  eval "$as_ac_var=yes"
    57616152else
     
    57636154sed 's/^/| /' conftest.$ac_ext >&5
    57646155
    5765 eval "$as_ac_var=no"
    5766 fi
    5767 rm -f conftest.err conftest.$ac_objext \
     6156    eval "$as_ac_var=no"
     6157fi
     6158
     6159rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    57686160      conftest$ac_exeext conftest.$ac_ext
    57696161fi
    5770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    5771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6162ac_res=`eval echo '${'$as_ac_var'}'`
     6163           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6164echo "${ECHO_T}$ac_res" >&6; }
    57726165if test `eval echo '${'$as_ac_var'}'` = yes; then
    57736166
     
    57826175fi
    57836176
    5784 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    5785 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
     6177{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     6178echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
    57866179if test "${ac_cv_c_stack_direction+set}" = set; then
    57876180  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    57966189cat >>conftest.$ac_ext <<_ACEOF
    57976190/* end confdefs.h.  */
     6191$ac_includes_default
    57986192int
    57996193find_stack_direction ()
     
    58136207main ()
    58146208{
    5815   exit (find_stack_direction () < 0);
     6209  return find_stack_direction () < 0;
    58166210}
    58176211_ACEOF
    58186212rm -f conftest$ac_exeext
    5819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5820   (eval $ac_link) 2>&5
     6213if { (ac_try="$ac_link"
     6214case "(($ac_try" in
     6215  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6216  *) ac_try_echo=$ac_try;;
     6217esac
     6218eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6219  (eval "$ac_link") 2>&5
    58216220  ac_status=$?
    58226221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58236222  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5825   (eval $ac_try) 2>&5
     6223  { (case "(($ac_try" in
     6224  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6225  *) ac_try_echo=$ac_try;;
     6226esac
     6227eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6228  (eval "$ac_try") 2>&5
    58266229  ac_status=$?
    58276230  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    58366239ac_cv_c_stack_direction=-1
    58376240fi
    5838 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5839 fi
    5840 fi
    5841 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    5842 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
     6241rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6242fi
     6243
     6244
     6245fi
     6246{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     6247echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
    58436248
    58446249cat >>confdefs.h <<_ACEOF
     
    58506255
    58516256if test $ac_cv_c_compiler_gnu = yes; then
    5852     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    5853 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
     6257    { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     6258echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
    58546259if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    58556260  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    58926297  fi
    58936298fi
    5894 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    5895 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
     6299{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     6300echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
    58966301  if test $ac_cv_prog_gcc_traditional = yes; then
    58976302    CC="$CC -traditional"
     
    58996304fi
    59006305
    5901 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    5902 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
     6306{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     6307echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
    59036308if test "${ac_cv_type_signal+set}" = set; then
    59046309  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    59126317#include <sys/types.h>
    59136318#include <signal.h>
    5914 #ifdef signal
    5915 # undef signal
    5916 #endif
    5917 #ifdef __cplusplus
    5918 extern "C" void (*signal (int, void (*)(int)))(int);
    5919 #else
    5920 void (*signal ()) ();
    5921 #endif
    59226319
    59236320int
    59246321main ()
    59256322{
    5926 int i;
     6323return *(signal (0, 0)) (0) == 1;
    59276324  ;
    59286325  return 0;
     
    59306327_ACEOF
    59316328rm -f conftest.$ac_objext
    5932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5933   (eval $ac_compile) 2>conftest.er1
     6329if { (ac_try="$ac_compile"
     6330case "(($ac_try" in
     6331  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6332  *) ac_try_echo=$ac_try;;
     6333esac
     6334eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6335  (eval "$ac_compile") 2>conftest.er1
    59346336  ac_status=$?
    59356337  grep -v '^ *+' conftest.er1 >conftest.err
     
    59376339  cat conftest.err >&5
    59386340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5939   (exit $ac_status); } &&
    5940      { ac_try='test -z "$ac_c_werror_flag"
    5941              || test ! -s conftest.err'
    5942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5943   (eval $ac_try) 2>&5
    5944   ac_status=$?
    5945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5946   (exit $ac_status); }; } &&
    5947      { ac_try='test -s conftest.$ac_objext'
    5948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5949   (eval $ac_try) 2>&5
    5950   ac_status=$?
    5951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5952   (exit $ac_status); }; }; then
    5953   ac_cv_type_signal=void
     6341  (exit $ac_status); } && {
     6342     test -z "$ac_c_werror_flag" ||
     6343     test ! -s conftest.err
     6344       } && test -s conftest.$ac_objext; then
     6345  ac_cv_type_signal=int
    59546346else
    59556347  echo "$as_me: failed program was:" >&5
    59566348sed 's/^/| /' conftest.$ac_ext >&5
    59576349
    5958 ac_cv_type_signal=int
    5959 fi
    5960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5961 fi
    5962 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    5963 echo "${ECHO_T}$ac_cv_type_signal" >&6
     6350    ac_cv_type_signal=void
     6351fi
     6352
     6353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6354fi
     6355{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     6356echo "${ECHO_T}$ac_cv_type_signal" >&6; }
    59646357
    59656358cat >>confdefs.h <<_ACEOF
     
    59726365do
    59736366as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5974 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5976 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6367{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6368echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6369if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    59776370  echo $ECHO_N "(cached) $ECHO_C" >&6
    59786371else
     
    60006393#undef $ac_func
    60016394
    6002 /* Override any gcc2 internal prototype to avoid an error.  */
     6395/* Override any GCC internal prototype to avoid an error.
     6396   Use char because int might match the return type of a GCC
     6397   builtin and then its argument prototype would still apply.  */
    60036398#ifdef __cplusplus
    60046399extern "C"
    6005 {
    60066400#endif
    6007 /* We use char because int might match the return type of a gcc2
    6008    builtin and then its argument prototype would still apply.  */
    60096401char $ac_func ();
    60106402/* The GNU C library defines this for functions which it implements
    60116403    to always fail with ENOSYS.  Some functions are actually named
    60126404    something starting with __ and the normal name is an alias.  */
    6013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6405#if defined __stub_$ac_func || defined __stub___$ac_func
    60146406choke me
    6015 #else
    6016 char (*f) () = $ac_func;
    6017 #endif
    6018 #ifdef __cplusplus
    6019 }
    60206407#endif
    60216408
     
    60236410main ()
    60246411{
    6025 return f != $ac_func;
     6412return $ac_func ();
    60266413  ;
    60276414  return 0;
     
    60296416_ACEOF
    60306417rm -f conftest.$ac_objext conftest$ac_exeext
    6031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6032   (eval $ac_link) 2>conftest.er1
     6418if { (ac_try="$ac_link"
     6419case "(($ac_try" in
     6420  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6421  *) ac_try_echo=$ac_try;;
     6422esac
     6423eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6424  (eval "$ac_link") 2>conftest.er1
    60336425  ac_status=$?
    60346426  grep -v '^ *+' conftest.er1 >conftest.err
     
    60366428  cat conftest.err >&5
    60376429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6038   (exit $ac_status); } &&
    6039      { ac_try='test -z "$ac_c_werror_flag"
    6040              || test ! -s conftest.err'
    6041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6042   (eval $ac_try) 2>&5
    6043   ac_status=$?
    6044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6045   (exit $ac_status); }; } &&
    6046      { ac_try='test -s conftest$ac_exeext'
    6047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6048   (eval $ac_try) 2>&5
    6049   ac_status=$?
    6050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6051   (exit $ac_status); }; }; then
     6430  (exit $ac_status); } && {
     6431     test -z "$ac_c_werror_flag" ||
     6432     test ! -s conftest.err
     6433       } && test -s conftest$ac_exeext &&
     6434       $as_test_x conftest$ac_exeext; then
    60526435  eval "$as_ac_var=yes"
    60536436else
     
    60556438sed 's/^/| /' conftest.$ac_ext >&5
    60566439
    6057 eval "$as_ac_var=no"
    6058 fi
    6059 rm -f conftest.err conftest.$ac_objext \
     6440    eval "$as_ac_var=no"
     6441fi
     6442
     6443rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    60606444      conftest$ac_exeext conftest.$ac_ext
    60616445fi
    6062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6446ac_res=`eval echo '${'$as_ac_var'}'`
     6447           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6448echo "${ECHO_T}$ac_res" >&6; }
    60646449if test `eval echo '${'$as_ac_var'}'` = yes; then
    60656450  cat >>confdefs.h <<_ACEOF
     
    60676452_ACEOF
    60686453
    6069 echo "$as_me:$LINENO: checking for _doprnt" >&5
    6070 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
     6454{ echo "$as_me:$LINENO: checking for _doprnt" >&5
     6455echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
    60716456if test "${ac_cv_func__doprnt+set}" = set; then
    60726457  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    60956480#undef _doprnt
    60966481
    6097 /* Override any gcc2 internal prototype to avoid an error.  */
     6482/* Override any GCC internal prototype to avoid an error.
     6483   Use char because int might match the return type of a GCC
     6484   builtin and then its argument prototype would still apply.  */
    60986485#ifdef __cplusplus
    60996486extern "C"
    6100 {
    61016487#endif
    6102 /* We use char because int might match the return type of a gcc2
    6103    builtin and then its argument prototype would still apply.  */
    61046488char _doprnt ();
    61056489/* The GNU C library defines this for functions which it implements
    61066490    to always fail with ENOSYS.  Some functions are actually named
    61076491    something starting with __ and the normal name is an alias.  */
    6108 #if defined (__stub__doprnt) || defined (__stub____doprnt)
     6492#if defined __stub__doprnt || defined __stub____doprnt
    61096493choke me
    6110 #else
    6111 char (*f) () = _doprnt;
    6112 #endif
    6113 #ifdef __cplusplus
    6114 }
    61156494#endif
    61166495
     
    61186497main ()
    61196498{
    6120 return f != _doprnt;
     6499return _doprnt ();
    61216500  ;
    61226501  return 0;
     
    61246503_ACEOF
    61256504rm -f conftest.$ac_objext conftest$ac_exeext
    6126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6127   (eval $ac_link) 2>conftest.er1
     6505if { (ac_try="$ac_link"
     6506case "(($ac_try" in
     6507  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6508  *) ac_try_echo=$ac_try;;
     6509esac
     6510eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6511  (eval "$ac_link") 2>conftest.er1
    61286512  ac_status=$?
    61296513  grep -v '^ *+' conftest.er1 >conftest.err
     
    61316515  cat conftest.err >&5
    61326516  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6133   (exit $ac_status); } &&
    6134      { ac_try='test -z "$ac_c_werror_flag"
    6135              || test ! -s conftest.err'
    6136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6137   (eval $ac_try) 2>&5
    6138   ac_status=$?
    6139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6140   (exit $ac_status); }; } &&
    6141      { ac_try='test -s conftest$ac_exeext'
    6142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6143   (eval $ac_try) 2>&5
    6144   ac_status=$?
    6145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6146   (exit $ac_status); }; }; then
     6517  (exit $ac_status); } && {
     6518     test -z "$ac_c_werror_flag" ||
     6519     test ! -s conftest.err
     6520       } && test -s conftest$ac_exeext &&
     6521       $as_test_x conftest$ac_exeext; then
    61476522  ac_cv_func__doprnt=yes
    61486523else
     
    61506525sed 's/^/| /' conftest.$ac_ext >&5
    61516526
    6152 ac_cv_func__doprnt=no
    6153 fi
    6154 rm -f conftest.err conftest.$ac_objext \
     6527    ac_cv_func__doprnt=no
     6528fi
     6529
     6530rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    61556531      conftest$ac_exeext conftest.$ac_ext
    61566532fi
    6157 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6158 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
     6533{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     6534echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
    61596535if test $ac_cv_func__doprnt = yes; then
    61606536
     
    61826558do
    61836559as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6184 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6186 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6560{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6561echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6562if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    61876563  echo $ECHO_N "(cached) $ECHO_C" >&6
    61886564else
     
    62106586#undef $ac_func
    62116587
    6212 /* Override any gcc2 internal prototype to avoid an error.  */
     6588/* Override any GCC internal prototype to avoid an error.
     6589   Use char because int might match the return type of a GCC
     6590   builtin and then its argument prototype would still apply.  */
    62136591#ifdef __cplusplus
    62146592extern "C"
    6215 {
    62166593#endif
    6217 /* We use char because int might match the return type of a gcc2
    6218    builtin and then its argument prototype would still apply.  */
    62196594char $ac_func ();
    62206595/* The GNU C library defines this for functions which it implements
    62216596    to always fail with ENOSYS.  Some functions are actually named
    62226597    something starting with __ and the normal name is an alias.  */
    6223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6598#if defined __stub_$ac_func || defined __stub___$ac_func
    62246599choke me
    6225 #else
    6226 char (*f) () = $ac_func;
    6227 #endif
    6228 #ifdef __cplusplus
    6229 }
    62306600#endif
    62316601
     
    62336603main ()
    62346604{
    6235 return f != $ac_func;
     6605return $ac_func ();
    62366606  ;
    62376607  return 0;
     
    62396609_ACEOF
    62406610rm -f conftest.$ac_objext conftest$ac_exeext
    6241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6242   (eval $ac_link) 2>conftest.er1
     6611if { (ac_try="$ac_link"
     6612case "(($ac_try" in
     6613  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6614  *) ac_try_echo=$ac_try;;
     6615esac
     6616eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6617  (eval "$ac_link") 2>conftest.er1
    62436618  ac_status=$?
    62446619  grep -v '^ *+' conftest.er1 >conftest.err
     
    62466621  cat conftest.err >&5
    62476622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6248   (exit $ac_status); } &&
    6249      { ac_try='test -z "$ac_c_werror_flag"
    6250              || test ! -s conftest.err'
    6251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6252   (eval $ac_try) 2>&5
    6253   ac_status=$?
    6254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6255   (exit $ac_status); }; } &&
    6256      { ac_try='test -s conftest$ac_exeext'
    6257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6258   (eval $ac_try) 2>&5
    6259   ac_status=$?
    6260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6261   (exit $ac_status); }; }; then
     6623  (exit $ac_status); } && {
     6624     test -z "$ac_c_werror_flag" ||
     6625     test ! -s conftest.err
     6626       } && test -s conftest$ac_exeext &&
     6627       $as_test_x conftest$ac_exeext; then
    62626628  eval "$as_ac_var=yes"
    62636629else
     
    62656631sed 's/^/| /' conftest.$ac_ext >&5
    62666632
    6267 eval "$as_ac_var=no"
    6268 fi
    6269 rm -f conftest.err conftest.$ac_objext \
     6633    eval "$as_ac_var=no"
     6634fi
     6635
     6636rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    62706637      conftest$ac_exeext conftest.$ac_ext
    62716638fi
    6272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6639ac_res=`eval echo '${'$as_ac_var'}'`
     6640           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6641echo "${ECHO_T}$ac_res" >&6; }
    62746642if test `eval echo '${'$as_ac_var'}'` = yes; then
    62756643  cat >>confdefs.h <<_ACEOF
     
    62866654do
    62876655as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6288 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6290 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6656{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6657echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6658if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    62916659  echo $ECHO_N "(cached) $ECHO_C" >&6
    62926660else
     
    63146682#undef $ac_func
    63156683
    6316 /* Override any gcc2 internal prototype to avoid an error.  */
     6684/* Override any GCC internal prototype to avoid an error.
     6685   Use char because int might match the return type of a GCC
     6686   builtin and then its argument prototype would still apply.  */
    63176687#ifdef __cplusplus
    63186688extern "C"
    6319 {
    63206689#endif
    6321 /* We use char because int might match the return type of a gcc2
    6322    builtin and then its argument prototype would still apply.  */
    63236690char $ac_func ();
    63246691/* The GNU C library defines this for functions which it implements
    63256692    to always fail with ENOSYS.  Some functions are actually named
    63266693    something starting with __ and the normal name is an alias.  */
    6327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6694#if defined __stub_$ac_func || defined __stub___$ac_func
    63286695choke me
    6329 #else
    6330 char (*f) () = $ac_func;
    6331 #endif
    6332 #ifdef __cplusplus
    6333 }
    63346696#endif
    63356697
     
    63376699main ()
    63386700{
    6339 return f != $ac_func;
     6701return $ac_func ();
    63406702  ;
    63416703  return 0;
     
    63436705_ACEOF
    63446706rm -f conftest.$ac_objext conftest$ac_exeext
    6345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6346   (eval $ac_link) 2>conftest.er1
     6707if { (ac_try="$ac_link"
     6708case "(($ac_try" in
     6709  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6710  *) ac_try_echo=$ac_try;;
     6711esac
     6712eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6713  (eval "$ac_link") 2>conftest.er1
    63476714  ac_status=$?
    63486715  grep -v '^ *+' conftest.er1 >conftest.err
     
    63506717  cat conftest.err >&5
    63516718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6352   (exit $ac_status); } &&
    6353      { ac_try='test -z "$ac_c_werror_flag"
    6354              || test ! -s conftest.err'
    6355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6356   (eval $ac_try) 2>&5
    6357   ac_status=$?
    6358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6359   (exit $ac_status); }; } &&
    6360      { ac_try='test -s conftest$ac_exeext'
    6361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6362   (eval $ac_try) 2>&5
    6363   ac_status=$?
    6364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6365   (exit $ac_status); }; }; then
     6719  (exit $ac_status); } && {
     6720     test -z "$ac_c_werror_flag" ||
     6721     test ! -s conftest.err
     6722       } && test -s conftest$ac_exeext &&
     6723       $as_test_x conftest$ac_exeext; then
    63666724  eval "$as_ac_var=yes"
    63676725else
     
    63696727sed 's/^/| /' conftest.$ac_ext >&5
    63706728
    6371 eval "$as_ac_var=no"
    6372 fi
    6373 rm -f conftest.err conftest.$ac_objext \
     6729    eval "$as_ac_var=no"
     6730fi
     6731
     6732rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    63746733      conftest$ac_exeext conftest.$ac_ext
    63756734fi
    6376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6735ac_res=`eval echo '${'$as_ac_var'}'`
     6736           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6737echo "${ECHO_T}$ac_res" >&6; }
    63786738if test `eval echo '${'$as_ac_var'}'` = yes; then
    63796739  cat >>confdefs.h <<_ACEOF
     
    63826742
    63836743else
    6384   case $LIBOBJS in
    6385     "$ac_func.$ac_objext"   | \
    6386   *" $ac_func.$ac_objext"   | \
    6387     "$ac_func.$ac_objext "* | \
     6744  case " $LIBOBJS " in
    63886745  *" $ac_func.$ac_objext "* ) ;;
    6389   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
     6746  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     6747 ;;
    63906748esac
    63916749
     
    63956753
    63966754
    6397 echo "$as_me:$LINENO: checking for textdomain" >&5
    6398 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
     6755{ echo "$as_me:$LINENO: checking for textdomain" >&5
     6756echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; }
    63996757if test "${ac_cv_func_textdomain+set}" = set; then
    64006758  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    64236781#undef textdomain
    64246782
    6425 /* Override any gcc2 internal prototype to avoid an error.  */
     6783/* Override any GCC internal prototype to avoid an error.
     6784   Use char because int might match the return type of a GCC
     6785   builtin and then its argument prototype would still apply.  */
    64266786#ifdef __cplusplus
    64276787extern "C"
    6428 {
    64296788#endif
    6430 /* We use char because int might match the return type of a gcc2
    6431    builtin and then its argument prototype would still apply.  */
    64326789char textdomain ();
    64336790/* The GNU C library defines this for functions which it implements
    64346791    to always fail with ENOSYS.  Some functions are actually named
    64356792    something starting with __ and the normal name is an alias.  */
    6436 #if defined (__stub_textdomain) || defined (__stub___textdomain)
     6793#if defined __stub_textdomain || defined __stub___textdomain
    64376794choke me
    6438 #else
    6439 char (*f) () = textdomain;
    6440 #endif
    6441 #ifdef __cplusplus
    6442 }
    64436795#endif
    64446796
     
    64466798main ()
    64476799{
    6448 return f != textdomain;
     6800return textdomain ();
    64496801  ;
    64506802  return 0;
     
    64526804_ACEOF
    64536805rm -f conftest.$ac_objext conftest$ac_exeext
    6454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6455   (eval $ac_link) 2>conftest.er1
     6806if { (ac_try="$ac_link"
     6807case "(($ac_try" in
     6808  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6809  *) ac_try_echo=$ac_try;;
     6810esac
     6811eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6812  (eval "$ac_link") 2>conftest.er1
    64566813  ac_status=$?
    64576814  grep -v '^ *+' conftest.er1 >conftest.err
     
    64596816  cat conftest.err >&5
    64606817  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6461   (exit $ac_status); } &&
    6462      { ac_try='test -z "$ac_c_werror_flag"
    6463              || test ! -s conftest.err'
    6464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6465   (eval $ac_try) 2>&5
    6466   ac_status=$?
    6467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6468   (exit $ac_status); }; } &&
    6469      { ac_try='test -s conftest$ac_exeext'
    6470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6471   (eval $ac_try) 2>&5
    6472   ac_status=$?
    6473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6474   (exit $ac_status); }; }; then
     6818  (exit $ac_status); } && {
     6819     test -z "$ac_c_werror_flag" ||
     6820     test ! -s conftest.err
     6821       } && test -s conftest$ac_exeext &&
     6822       $as_test_x conftest$ac_exeext; then
    64756823  ac_cv_func_textdomain=yes
    64766824else
     
    64786826sed 's/^/| /' conftest.$ac_ext >&5
    64796827
    6480 ac_cv_func_textdomain=no
    6481 fi
    6482 rm -f conftest.err conftest.$ac_objext \
     6828    ac_cv_func_textdomain=no
     6829fi
     6830
     6831rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    64836832      conftest$ac_exeext conftest.$ac_ext
    64846833fi
    6485 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    6486 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
     6834{ echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     6835echo "${ECHO_T}$ac_cv_func_textdomain" >&6; }
    64876836if test $ac_cv_func_textdomain = yes; then
    64886837  cat >>confdefs.h <<\_ACEOF
     
    64956844# *** Custom checking (based on GNU tar configure.in) ***
    64966845# ---------------------------------------------------------------------------
    6497 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    6498 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
     6846{ echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     6847echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; }
    64996848if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    6500   echo "$as_me:$LINENO: result: yes" >&5
    6501 echo "${ECHO_T}yes" >&6
    6502   case $LIBOBJS in
    6503     "gmalloc.$ac_objext"   | \
    6504   *" gmalloc.$ac_objext"   | \
    6505     "gmalloc.$ac_objext "* | \
     6849  { echo "$as_me:$LINENO: result: yes" >&5
     6850echo "${ECHO_T}yes" >&6; }
     6851  case " $LIBOBJS " in
    65066852  *" gmalloc.$ac_objext "* ) ;;
    6507   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
     6853  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
     6854 ;;
    65086855esac
    65096856
     
    65136860
    65146861else
    6515   echo "$as_me:$LINENO: result: no" >&5
    6516 echo "${ECHO_T}no" >&6
     6862  { echo "$as_me:$LINENO: result: no" >&5
     6863echo "${ECHO_T}no" >&6; }
    65176864
    65186865for ac_func in valloc
    65196866do
    65206867as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6521 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6523 if eval "test \"\${$as_ac_var+set}\" = set"; then
     6868{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     6869echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     6870if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    65246871  echo $ECHO_N "(cached) $ECHO_C" >&6
    65256872else
     
    65476894#undef $ac_func
    65486895
    6549 /* Override any gcc2 internal prototype to avoid an error.  */
     6896/* Override any GCC internal prototype to avoid an error.
     6897   Use char because int might match the return type of a GCC
     6898   builtin and then its argument prototype would still apply.  */
    65506899#ifdef __cplusplus
    65516900extern "C"
    6552 {
    65536901#endif
    6554 /* We use char because int might match the return type of a gcc2
    6555    builtin and then its argument prototype would still apply.  */
    65566902char $ac_func ();
    65576903/* The GNU C library defines this for functions which it implements
    65586904    to always fail with ENOSYS.  Some functions are actually named
    65596905    something starting with __ and the normal name is an alias.  */
    6560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6906#if defined __stub_$ac_func || defined __stub___$ac_func
    65616907choke me
    6562 #else
    6563 char (*f) () = $ac_func;
    6564 #endif
    6565 #ifdef __cplusplus
    6566 }
    65676908#endif
    65686909
     
    65706911main ()
    65716912{
    6572 return f != $ac_func;
     6913return $ac_func ();
    65736914  ;
    65746915  return 0;
     
    65766917_ACEOF
    65776918rm -f conftest.$ac_objext conftest$ac_exeext
    6578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6579   (eval $ac_link) 2>conftest.er1
     6919if { (ac_try="$ac_link"
     6920case "(($ac_try" in
     6921  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6922  *) ac_try_echo=$ac_try;;
     6923esac
     6924eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6925  (eval "$ac_link") 2>conftest.er1
    65806926  ac_status=$?
    65816927  grep -v '^ *+' conftest.er1 >conftest.err
     
    65836929  cat conftest.err >&5
    65846930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6585   (exit $ac_status); } &&
    6586      { ac_try='test -z "$ac_c_werror_flag"
    6587              || test ! -s conftest.err'
    6588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6589   (eval $ac_try) 2>&5
    6590   ac_status=$?
    6591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6592   (exit $ac_status); }; } &&
    6593      { ac_try='test -s conftest$ac_exeext'
    6594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6595   (eval $ac_try) 2>&5
    6596   ac_status=$?
    6597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6598   (exit $ac_status); }; }; then
     6931  (exit $ac_status); } && {
     6932     test -z "$ac_c_werror_flag" ||
     6933     test ! -s conftest.err
     6934       } && test -s conftest$ac_exeext &&
     6935       $as_test_x conftest$ac_exeext; then
    65996936  eval "$as_ac_var=yes"
    66006937else
     
    66026939sed 's/^/| /' conftest.$ac_ext >&5
    66036940
    6604 eval "$as_ac_var=no"
    6605 fi
    6606 rm -f conftest.err conftest.$ac_objext \
     6941    eval "$as_ac_var=no"
     6942fi
     6943
     6944rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    66076945      conftest$ac_exeext conftest.$ac_ext
    66086946fi
    6609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     6947ac_res=`eval echo '${'$as_ac_var'}'`
     6948           { echo "$as_me:$LINENO: result: $ac_res" >&5
     6949echo "${ECHO_T}$ac_res" >&6; }
    66116950if test `eval echo '${'$as_ac_var'}'` = yes; then
    66126951  cat >>confdefs.h <<_ACEOF
     
    66206959
    66216960# we cannot generate static libraries under Darwin
    6622 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
    6623 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
     6961{ echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     6962echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6; }
    66246963if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    6625   echo "$as_me:$LINENO: result: yes" >&5
    6626 echo "${ECHO_T}yes" >&6
     6964  { echo "$as_me:$LINENO: result: yes" >&5
     6965echo "${ECHO_T}yes" >&6; }
    66276966  STATIC=""
    66286967else
    6629   echo "$as_me:$LINENO: result: no" >&5
    6630 echo "${ECHO_T}no" >&6
     6968  { echo "$as_me:$LINENO: result: no" >&5
     6969echo "${ECHO_T}no" >&6; }
    66316970  STATIC="-static "
    66326971fi
    66336972
    66346973
    6635 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    6636 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
    6637 
    6638 # Check whether --with-dmalloc or --without-dmalloc was given.
     6974{ echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     6975echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }
     6976
     6977# Check whether --with-dmalloc was given.
    66396978if test "${with_dmalloc+set}" = set; then
    6640   withval="$with_dmalloc"
    6641   if test "$withval" = yes; then
    6642   echo "$as_me:$LINENO: result: yes" >&5
    6643 echo "${ECHO_T}yes" >&6
     6979  withval=$with_dmalloc; if test "$withval" = yes; then
     6980  { echo "$as_me:$LINENO: result: yes" >&5
     6981echo "${ECHO_T}yes" >&6; }
    66446982  cat >>confdefs.h <<\_ACEOF
    66456983#define WITH_DMALLOC 1
     
    66496987  LDFLAGS="$LDFLAGS -g"
    66506988else
    6651   echo "$as_me:$LINENO: result: no" >&5
    6652 echo "${ECHO_T}no" >&6
    6653 fi
    6654 else
    6655   echo "$as_me:$LINENO: result: no" >&5
    6656 echo "${ECHO_T}no" >&6
    6657 fi;
    6658 
    6659 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    6660 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
    6661 
    6662 # Check whether --with-regex or --without-regex was given.
     6989  { echo "$as_me:$LINENO: result: no" >&5
     6990echo "${ECHO_T}no" >&6; }
     6991fi
     6992else
     6993  { echo "$as_me:$LINENO: result: no" >&5
     6994echo "${ECHO_T}no" >&6; }
     6995fi
     6996
     6997
     6998{ echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     6999echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; }
     7000
     7001# Check whether --with-regex was given.
    66637002if test "${with_regex+set}" = set; then
    6664   withval="$with_regex"
    6665   if test "$withval" = yes; then
     7003  withval=$with_regex; if test "$withval" = yes; then
    66667004  ac_with_regex=1
    6667   echo "$as_me:$LINENO: result: regex" >&5
    6668 echo "${ECHO_T}regex" >&6
     7005  { echo "$as_me:$LINENO: result: regex" >&5
     7006echo "${ECHO_T}regex" >&6; }
    66697007  cat >>confdefs.h <<\_ACEOF
    66707008#define WITH_REGEX 1
    66717009_ACEOF
    66727010
    6673   case $LIBOBJS in
    6674     "regex.$ac_objext"   | \
    6675   *" regex.$ac_objext"   | \
    6676     "regex.$ac_objext "* | \
     7011  case " $LIBOBJS " in
    66777012  *" regex.$ac_objext "* ) ;;
    6678   *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    6679 esac
    6680 
    6681 fi
    6682 fi;
     7013  *) LIBOBJS="$LIBOBJS regex.$ac_objext"
     7014 ;;
     7015esac
     7016
     7017fi
     7018fi
     7019
    66837020if test -z "$ac_with_regex"; then
    6684   echo "$as_me:$LINENO: result: rx" >&5
    6685 echo "${ECHO_T}rx" >&6
    6686   echo "$as_me:$LINENO: checking for re_rx_search" >&5
    6687 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
     7021  { echo "$as_me:$LINENO: result: rx" >&5
     7022echo "${ECHO_T}rx" >&6; }
     7023  { echo "$as_me:$LINENO: checking for re_rx_search" >&5
     7024echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; }
    66887025if test "${ac_cv_func_re_rx_search+set}" = set; then
    66897026  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    67127049#undef re_rx_search
    67137050
    6714 /* Override any gcc2 internal prototype to avoid an error.  */
     7051/* Override any GCC internal prototype to avoid an error.
     7052   Use char because int might match the return type of a GCC
     7053   builtin and then its argument prototype would still apply.  */
    67157054#ifdef __cplusplus
    67167055extern "C"
    6717 {
    67187056#endif
    6719 /* We use char because int might match the return type of a gcc2
    6720    builtin and then its argument prototype would still apply.  */
    67217057char re_rx_search ();
    67227058/* The GNU C library defines this for functions which it implements
    67237059    to always fail with ENOSYS.  Some functions are actually named
    67247060    something starting with __ and the normal name is an alias.  */
    6725 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
     7061#if defined __stub_re_rx_search || defined __stub___re_rx_search
    67267062choke me
    6727 #else
    6728 char (*f) () = re_rx_search;
    6729 #endif
    6730 #ifdef __cplusplus
    6731 }
    67327063#endif
    67337064
     
    67357066main ()
    67367067{
    6737 return f != re_rx_search;
     7068return re_rx_search ();
    67387069  ;
    67397070  return 0;
     
    67417072_ACEOF
    67427073rm -f conftest.$ac_objext conftest$ac_exeext
    6743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6744   (eval $ac_link) 2>conftest.er1
     7074if { (ac_try="$ac_link"
     7075case "(($ac_try" in
     7076  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7077  *) ac_try_echo=$ac_try;;
     7078esac
     7079eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7080  (eval "$ac_link") 2>conftest.er1
    67457081  ac_status=$?
    67467082  grep -v '^ *+' conftest.er1 >conftest.err
     
    67487084  cat conftest.err >&5
    67497085  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6750   (exit $ac_status); } &&
    6751      { ac_try='test -z "$ac_c_werror_flag"
    6752              || test ! -s conftest.err'
    6753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6754   (eval $ac_try) 2>&5
    6755   ac_status=$?
    6756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6757   (exit $ac_status); }; } &&
    6758      { ac_try='test -s conftest$ac_exeext'
    6759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6760   (eval $ac_try) 2>&5
    6761   ac_status=$?
    6762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6763   (exit $ac_status); }; }; then
     7086  (exit $ac_status); } && {
     7087     test -z "$ac_c_werror_flag" ||
     7088     test ! -s conftest.err
     7089       } && test -s conftest$ac_exeext &&
     7090       $as_test_x conftest$ac_exeext; then
    67647091  ac_cv_func_re_rx_search=yes
    67657092else
     
    67677094sed 's/^/| /' conftest.$ac_ext >&5
    67687095
    6769 ac_cv_func_re_rx_search=no
    6770 fi
    6771 rm -f conftest.err conftest.$ac_objext \
     7096    ac_cv_func_re_rx_search=no
     7097fi
     7098
     7099rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    67727100      conftest$ac_exeext conftest.$ac_ext
    67737101fi
    6774 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    6775 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
     7102{ echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     7103echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; }
    67767104if test $ac_cv_func_re_rx_search = yes; then
    67777105  :
    67787106else
    6779   case $LIBOBJS in
    6780     "rx.$ac_objext"   | \
    6781   *" rx.$ac_objext"   | \
    6782     "rx.$ac_objext "* | \
     7107  case " $LIBOBJS " in
    67837108  *" rx.$ac_objext "* ) ;;
    6784   *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
     7109  *) LIBOBJS="$LIBOBJS rx.$ac_objext"
     7110 ;;
    67857111esac
    67867112
     
    67927118# ---------------------------------------------------------------------------
    67937119if test "$ac_cv_func_alloca" = 'no'; then
    6794   case $LIBOBJS in
    6795     "xmalloc.$ac_objext"   | \
    6796   *" xmalloc.$ac_objext"   | \
    6797     "xmalloc.$ac_objext "* | \
     7120  case " $LIBOBJS " in
    67987121  *" xmalloc.$ac_objext "* ) ;;
    6799   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    6800 esac
    6801 
    6802   case $LIBOBJS in
    6803     "error.$ac_objext"   | \
    6804   *" error.$ac_objext"   | \
    6805     "error.$ac_objext "* | \
     7122  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
     7123 ;;
     7124esac
     7125
     7126  case " $LIBOBJS " in
    68067127  *" error.$ac_objext "* ) ;;
    6807   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     7128  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     7129 ;;
    68087130esac
    68097131
     
    68137135# ---------------------------------------------------------------------------
    68147136
    6815 ac_ext=cc
     7137ac_ext=cpp
    68167138ac_cpp='$CXXCPP $CPPFLAGS'
    68177139ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    68207142
    68217143
    6822 echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
    6823 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6
     7144{ echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
     7145echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6; }
    68247146success="no"
    68257147pl_path="$PATH"
     
    68387160try=`expr $try \> 5.000`
    68397161if test $try = "1"; then
    6840 echo "$as_me:$LINENO: result: \"yes\"" >&5
    6841 echo "${ECHO_T}\"yes\"" >&6
     7162{ echo "$as_me:$LINENO: result: \"yes\"" >&5
     7163echo "${ECHO_T}\"yes\"" >&6; }
    68427164else
    68437165success="no"
     
    68467168
    68477169if test $success = "no"; then
    6848 echo "$as_me:$LINENO: result: \"no\"" >&5
    6849 echo "${ECHO_T}\"no\"" >&6
     7170{ echo "$as_me:$LINENO: result: \"no\"" >&5
     7171echo "${ECHO_T}\"no\"" >&6; }
    68507172{ { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
    68517173echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
     
    68547176
    68557177success=no
    6856 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
    6857 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
     7178{ echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
     7179echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6; }
    68587180
    68597181
     
    68757197_ACEOF
    68767198rm -f conftest.$ac_objext
    6877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6878   (eval $ac_compile) 2>conftest.er1
     7199if { (ac_try="$ac_compile"
     7200case "(($ac_try" in
     7201  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7202  *) ac_try_echo=$ac_try;;
     7203esac
     7204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7205  (eval "$ac_compile") 2>conftest.er1
    68797206  ac_status=$?
    68807207  grep -v '^ *+' conftest.er1 >conftest.err
     
    68827209  cat conftest.err >&5
    68837210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6884   (exit $ac_status); } &&
    6885      { ac_try='test -z "$ac_cxx_werror_flag"
    6886              || test ! -s conftest.err'
    6887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6888   (eval $ac_try) 2>&5
    6889   ac_status=$?
    6890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6891   (exit $ac_status); }; } &&
    6892      { ac_try='test -s conftest.$ac_objext'
    6893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6894   (eval $ac_try) 2>&5
    6895   ac_status=$?
    6896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6897   (exit $ac_status); }; }; then
     7211  (exit $ac_status); } && {
     7212     test -z "$ac_cxx_werror_flag" ||
     7213     test ! -s conftest.err
     7214       } && test -s conftest.$ac_objext; then
    68987215  success=yes
    68997216else
     
    69017218sed 's/^/| /' conftest.$ac_ext >&5
    69027219
    6903 fi
    6904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7220
     7221fi
     7222
     7223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    69057224
    69067225if test $success = "no"; then
     
    69227241_ACEOF
    69237242rm -f conftest.$ac_objext
    6924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6925   (eval $ac_compile) 2>conftest.er1
     7243if { (ac_try="$ac_compile"
     7244case "(($ac_try" in
     7245  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7246  *) ac_try_echo=$ac_try;;
     7247esac
     7248eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7249  (eval "$ac_compile") 2>conftest.er1
    69267250  ac_status=$?
    69277251  grep -v '^ *+' conftest.er1 >conftest.err
     
    69297253  cat conftest.err >&5
    69307254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6931   (exit $ac_status); } &&
    6932      { ac_try='test -z "$ac_cxx_werror_flag"
    6933              || test ! -s conftest.err'
    6934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6935   (eval $ac_try) 2>&5
    6936   ac_status=$?
    6937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6938   (exit $ac_status); }; } &&
    6939      { ac_try='test -s conftest.$ac_objext'
    6940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6941   (eval $ac_try) 2>&5
    6942   ac_status=$?
    6943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6944   (exit $ac_status); }; }; then
     7255  (exit $ac_status); } && {
     7256     test -z "$ac_cxx_werror_flag" ||
     7257     test ! -s conftest.err
     7258       } && test -s conftest.$ac_objext; then
    69457259  success="yes"
    69467260else
     
    69487262sed 's/^/| /' conftest.$ac_ext >&5
    69497263
    6950 fi
    6951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7264
     7265fi
     7266
     7267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    69527268fi
    69537269
     
    69707286_ACEOF
    69717287rm -f conftest.$ac_objext
    6972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6973   (eval $ac_compile) 2>conftest.er1
     7288if { (ac_try="$ac_compile"
     7289case "(($ac_try" in
     7290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7291  *) ac_try_echo=$ac_try;;
     7292esac
     7293eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7294  (eval "$ac_compile") 2>conftest.er1
    69747295  ac_status=$?
    69757296  grep -v '^ *+' conftest.er1 >conftest.err
     
    69777298  cat conftest.err >&5
    69787299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6979   (exit $ac_status); } &&
    6980      { ac_try='test -z "$ac_cxx_werror_flag"
    6981              || test ! -s conftest.err'
    6982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6983   (eval $ac_try) 2>&5
    6984   ac_status=$?
    6985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6986   (exit $ac_status); }; } &&
    6987      { ac_try='test -s conftest.$ac_objext'
    6988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6989   (eval $ac_try) 2>&5
    6990   ac_status=$?
    6991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6992   (exit $ac_status); }; }; then
     7300  (exit $ac_status); } && {
     7301     test -z "$ac_cxx_werror_flag" ||
     7302     test ! -s conftest.err
     7303       } && test -s conftest.$ac_objext; then
    69937304  success="yes"
    69947305else
     
    69967307sed 's/^/| /' conftest.$ac_ext >&5
    69977308
    6998 fi
    6999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7309
     7310fi
     7311
     7312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70007313fi
    70017314
    70027315if test $success = yes; then
    7003 echo "$as_me:$LINENO: result: \"no\"" >&5
    7004 echo "${ECHO_T}\"no\"" >&6
    7005 else
    7006 echo "$as_me:$LINENO: result: \"yes\"" >&5
    7007 echo "${ECHO_T}\"yes\"" >&6
     7316{ echo "$as_me:$LINENO: result: \"no\"" >&5
     7317echo "${ECHO_T}\"no\"" >&6; }
     7318else
     7319{ echo "$as_me:$LINENO: result: \"yes\"" >&5
     7320echo "${ECHO_T}\"yes\"" >&6; }
    70087321{ { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
    70097322echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
     
    70207333
    70217334# check for endianness
    7022 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    7023 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
     7335{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7336echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
    70247337if test "${ac_cv_c_bigendian+set}" = set; then
    70257338  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    70387351main ()
    70397352{
    7040 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
     7353#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
     7354    && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
    70417355 bogus endian macros
    70427356#endif
     
    70477361_ACEOF
    70487362rm -f conftest.$ac_objext
    7049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7050   (eval $ac_compile) 2>conftest.er1
     7363if { (ac_try="$ac_compile"
     7364case "(($ac_try" in
     7365  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7366  *) ac_try_echo=$ac_try;;
     7367esac
     7368eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7369  (eval "$ac_compile") 2>conftest.er1
    70517370  ac_status=$?
    70527371  grep -v '^ *+' conftest.er1 >conftest.err
     
    70547373  cat conftest.err >&5
    70557374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7056   (exit $ac_status); } &&
    7057      { ac_try='test -z "$ac_cxx_werror_flag"
    7058              || test ! -s conftest.err'
    7059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7060   (eval $ac_try) 2>&5
    7061   ac_status=$?
    7062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7063   (exit $ac_status); }; } &&
    7064      { ac_try='test -s conftest.$ac_objext'
    7065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7066   (eval $ac_try) 2>&5
    7067   ac_status=$?
    7068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7069   (exit $ac_status); }; }; then
     7375  (exit $ac_status); } && {
     7376     test -z "$ac_cxx_werror_flag" ||
     7377     test ! -s conftest.err
     7378       } && test -s conftest.$ac_objext; then
    70707379  # It does; now see whether it defined to BIG_ENDIAN or not.
    70717380cat >conftest.$ac_ext <<_ACEOF
     
    70907399_ACEOF
    70917400rm -f conftest.$ac_objext
    7092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7093   (eval $ac_compile) 2>conftest.er1
     7401if { (ac_try="$ac_compile"
     7402case "(($ac_try" in
     7403  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7404  *) ac_try_echo=$ac_try;;
     7405esac
     7406eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7407  (eval "$ac_compile") 2>conftest.er1
    70947408  ac_status=$?
    70957409  grep -v '^ *+' conftest.er1 >conftest.err
     
    70977411  cat conftest.err >&5
    70987412  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7099   (exit $ac_status); } &&
    7100      { ac_try='test -z "$ac_cxx_werror_flag"
    7101              || test ! -s conftest.err'
    7102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7103   (eval $ac_try) 2>&5
    7104   ac_status=$?
    7105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7106   (exit $ac_status); }; } &&
    7107      { ac_try='test -s conftest.$ac_objext'
    7108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7109   (eval $ac_try) 2>&5
    7110   ac_status=$?
    7111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7112   (exit $ac_status); }; }; then
     7413  (exit $ac_status); } && {
     7414     test -z "$ac_cxx_werror_flag" ||
     7415     test ! -s conftest.err
     7416       } && test -s conftest.$ac_objext; then
    71137417  ac_cv_c_bigendian=yes
    71147418else
     
    71167420sed 's/^/| /' conftest.$ac_ext >&5
    71177421
    7118 ac_cv_c_bigendian=no
    7119 fi
    7120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7422    ac_cv_c_bigendian=no
     7423fi
     7424
     7425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71217426else
    71227427  echo "$as_me: failed program was:" >&5
    71237428sed 's/^/| /' conftest.$ac_ext >&5
    71247429
    7125 # It does not; compile a test program.
     7430    # It does not; compile a test program.
    71267431if test "$cross_compiling" = yes; then
    71277432  # try to guess the endianness by grepping values into an object file
     
    71337438cat >>conftest.$ac_ext <<_ACEOF
    71347439/* end confdefs.h.  */
    7135 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    7136 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     7440short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     7441short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    71377442void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    7138 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    7139 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     7443short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     7444short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    71407445void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    71417446int
     
    71487453_ACEOF
    71497454rm -f conftest.$ac_objext
    7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7151   (eval $ac_compile) 2>conftest.er1
     7455if { (ac_try="$ac_compile"
     7456case "(($ac_try" in
     7457  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7458  *) ac_try_echo=$ac_try;;
     7459esac
     7460eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7461  (eval "$ac_compile") 2>conftest.er1
    71527462  ac_status=$?
    71537463  grep -v '^ *+' conftest.er1 >conftest.err
     
    71557465  cat conftest.err >&5
    71567466  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7157   (exit $ac_status); } &&
    7158      { ac_try='test -z "$ac_cxx_werror_flag"
    7159              || test ! -s conftest.err'
    7160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7161   (eval $ac_try) 2>&5
    7162   ac_status=$?
    7163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7164   (exit $ac_status); }; } &&
    7165      { ac_try='test -s conftest.$ac_objext'
    7166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7167   (eval $ac_try) 2>&5
    7168   ac_status=$?
    7169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7170   (exit $ac_status); }; }; then
     7467  (exit $ac_status); } && {
     7468     test -z "$ac_cxx_werror_flag" ||
     7469     test ! -s conftest.err
     7470       } && test -s conftest.$ac_objext; then
    71717471  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    71727472  ac_cv_c_bigendian=yes
     
    71847484sed 's/^/| /' conftest.$ac_ext >&5
    71857485
    7186 fi
    7187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7486
     7487fi
     7488
     7489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71887490else
    71897491  cat >conftest.$ac_ext <<_ACEOF
     
    71937495cat >>conftest.$ac_ext <<_ACEOF
    71947496/* end confdefs.h.  */
     7497$ac_includes_default
    71957498int
    71967499main ()
    71977500{
     7501
    71987502  /* Are we little or big endian?  From Harbison&Steele.  */
    71997503  union
    72007504  {
    7201     long l;
    7202     char c[sizeof (long)];
     7505    long int l;
     7506    char c[sizeof (long int)];
    72037507  } u;
    72047508  u.l = 1;
    7205   exit (u.c[sizeof (long) - 1] == 1);
     7509  return u.c[sizeof (long int) - 1] == 1;
     7510
     7511  ;
     7512  return 0;
    72067513}
    72077514_ACEOF
    72087515rm -f conftest$ac_exeext
    7209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7210   (eval $ac_link) 2>&5
     7516if { (ac_try="$ac_link"
     7517case "(($ac_try" in
     7518  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7519  *) ac_try_echo=$ac_try;;
     7520esac
     7521eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7522  (eval "$ac_link") 2>&5
    72117523  ac_status=$?
    72127524  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    72137525  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7215   (eval $ac_try) 2>&5
     7526  { (case "(($ac_try" in
     7527  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7528  *) ac_try_echo=$ac_try;;
     7529esac
     7530eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     7531  (eval "$ac_try") 2>&5
    72167532  ac_status=$?
    72177533  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    72267542ac_cv_c_bigendian=yes
    72277543fi
    7228 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7229 fi
    7230 fi
    7231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7232 fi
    7233 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    7234 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
     7544rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7545fi
     7546
     7547
     7548fi
     7549
     7550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7551fi
     7552{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7553echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
    72357554case $ac_cv_c_bigendian in
    72367555  yes)
     
    72527571# ---------------------------------------------------------------------------
    72537572if test "$ac_cv_func_alloca" = 'no'; then
    7254   case $LIBOBJS in
    7255     "xmalloc.o.$ac_objext"   | \
    7256   *" xmalloc.o.$ac_objext"   | \
    7257     "xmalloc.o.$ac_objext "* | \
     7573  case " $LIBOBJS " in
    72587574  *" xmalloc.o.$ac_objext "* ) ;;
    7259   *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
    7260 esac
    7261 
    7262   case $LIBOBJS in
    7263     "error.$ac_objext"   | \
    7264   *" error.$ac_objext"   | \
    7265     "error.$ac_objext "* | \
     7575  *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
     7576 ;;
     7577esac
     7578
     7579  case " $LIBOBJS " in
    72667580  *" error.$ac_objext "* ) ;;
    7267   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     7581  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     7582 ;;
    72687583esac
    72697584
     
    72947609gsdlprefix=`pwd`
    72957610ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos --libdir=$gsdlprefix/lib/$gsdlos"
    7296 
    7297 
    72987611subdirs="$subdirs common-src build-src runtime-src"
    72997612
     
    73047617         runtime-src/Makefile"
    73057618
    7306                               ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
     7619ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
     7620
    73077621cat >confcache <<\_ACEOF
    73087622# This file is a shell script that caches the results of configure
     
    73237637# The following way of writing the cache mishandles newlines in values,
    73247638# but we know of no workaround that is simple, portable, and efficient.
    7325 # So, don't put newlines in cache variables' values.
     7639# So, we kill variables containing newlines.
    73267640# Ultrix sh set writes to stderr and can't be redirected directly,
    73277641# and sets the high bit in the cache file unless we assign to the vars.
    7328 {
     7642(
     7643  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     7644    eval ac_val=\$$ac_var
     7645    case $ac_val in #(
     7646    *${as_nl}*)
     7647      case $ac_var in #(
     7648      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     7649echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     7650      esac
     7651      case $ac_var in #(
     7652      _ | IFS | as_nl) ;; #(
     7653      *) $as_unset $ac_var ;;
     7654      esac ;;
     7655    esac
     7656  done
     7657
    73297658  (set) 2>&1 |
    7330     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    7331     *ac_space=\ *)
     7659    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     7660    *${as_nl}ac_space=\ *)
    73327661      # `set' does not quote correctly, so add quotes (double-quote
    73337662      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    73357664    "s/'/'\\\\''/g;
    73367665      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    7337       ;;
     7666      ;; #(
    73387667    *)
    73397668      # `set' quotes correctly as required by POSIX, so do not add quotes.
    7340       sed -n \
    7341     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     7669      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    73427670      ;;
    7343     esac;
    7344 } |
     7671    esac |
     7672    sort
     7673) |
    73457674  sed '
     7675     /^ac_cv_env_/b end
    73467676     t clear
    7347      : clear
     7677     :clear
    73487678     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    73497679     t end
    7350      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    7351      : end' >>confcache
    7352 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    7353   if test -w $cache_file; then
    7354     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     7680     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     7681     :end' >>confcache
     7682if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     7683  if test -w "$cache_file"; then
     7684    test "x$cache_file" != "x/dev/null" &&
     7685      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
     7686echo "$as_me: updating cache $cache_file" >&6;}
    73557687    cat confcache >$cache_file
    73567688  else
    7357     echo "not updating unwritable cache $cache_file"
     7689    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     7690echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    73587691  fi
    73597692fi
     
    73637696# Let make expand exec_prefix.
    73647697test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    7365 
    7366 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    7367 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    7368 # trailing colons and then remove the whole line if VPATH becomes empty
    7369 # (actually we leave an empty line to preserve line numbers).
    7370 if test "x$srcdir" = x.; then
    7371   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    7372 s/:*\$(srcdir):*/:/;
    7373 s/:*\${srcdir}:*/:/;
    7374 s/:*@srcdir@:*/:/;
    7375 s/^\([^=]*=[     ]*\):*/\1/;
    7376 s/:*$//;
    7377 s/^[^=]*=[   ]*$//;
    7378 }'
    7379 fi
    73807698
    73817699DEFS=-DHAVE_CONFIG_H
     
    73857703for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    73867704  # 1. Remove the extension, and $U if already installed.
    7387   ac_i=`echo "$ac_i" |
    7388      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    7389   # 2. Add them.
    7390   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    7391   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     7705  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     7706  ac_i=`echo "$ac_i" | sed "$ac_script"`
     7707  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     7708  #    will be set to the directory where LIBOBJS objects are built.
     7709  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     7710  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    73927711done
    73937712LIBOBJS=$ac_libobjs
     
    74207739## --------------------- ##
    74217740
    7422 # Be Bourne compatible
     7741# Be more Bourne compatible
     7742DUALCASE=1; export DUALCASE # for MKS sh
    74237743if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    74247744  emulate sh
     
    74277747  # is contrary to our usage.  Disable this feature.
    74287748  alias -g '${1+"$@"}'='"$@"'
    7429 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    7430   set -o posix
    7431 fi
    7432 DUALCASE=1; export DUALCASE # for MKS sh
    7433 
    7434 # Support unset when possible.
    7435 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    7436   as_unset=unset
    7437 else
    7438   as_unset=false
    7439 fi
    7440 
    7441 
    7442 # Work around bugs in pre-3.0 UWIN ksh.
    7443 $as_unset ENV MAIL MAILPATH
    7444 PS1='$ '
    7445 PS2='> '
    7446 PS4='+ '
    7447 
    7448 # NLS nuisances.
    7449 for as_var in \
    7450   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    7451   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    7452   LC_TELEPHONE LC_TIME
    7453 do
    7454   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    7455     eval $as_var=C; export $as_var
    7456   else
    7457     $as_unset $as_var
    7458   fi
    7459 done
    7460 
    7461 # Required to use basename.
    7462 if expr a : '\(a\)' >/dev/null 2>&1; then
    7463   as_expr=expr
    7464 else
    7465   as_expr=false
    7466 fi
    7467 
    7468 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    7469   as_basename=basename
    7470 else
    7471   as_basename=false
    7472 fi
    7473 
    7474 
    7475 # Name of the executable.
    7476 as_me=`$as_basename "$0" ||
    7477 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    7478      X"$0" : 'X\(//\)$' \| \
    7479      X"$0" : 'X\(/\)$' \| \
    7480      .     : '\(.\)' 2>/dev/null ||
    7481 echo X/"$0" |
    7482     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    7483       /^X\/\(\/\/\)$/{ s//\1/; q; }
    7484       /^X\/\(\/\).*/{ s//\1/; q; }
    7485       s/.*/./; q'`
    7486 
    7487 
    7488 # PATH needs CR, and LINENO needs CR and PATH.
     7749  setopt NO_GLOB_SUBST
     7750else
     7751  case `(set -o) 2>/dev/null` in
     7752  *posix*) set -o posix ;;
     7753esac
     7754
     7755fi
     7756
     7757
     7758
     7759
     7760# PATH needs CR
    74897761# Avoid depending upon Character Ranges.
    74907762as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    75077779fi
    75087780
    7509 
    7510   as_lineno_1=$LINENO
    7511   as_lineno_2=$LINENO
    7512   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    7513   test "x$as_lineno_1" != "x$as_lineno_2" &&
    7514   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    7515   # Find who we are.  Look in the path if we contain no path at all
    7516   # relative or not.
    7517   case $0 in
    7518     *[\\/]* ) as_myself=$0 ;;
    7519     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7781# Support unset when possible.
     7782if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     7783  as_unset=unset
     7784else
     7785  as_unset=false
     7786fi
     7787
     7788
     7789# IFS
     7790# We need space, tab and new line, in precisely that order.  Quoting is
     7791# there to prevent editors from complaining about space-tab.
     7792# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     7793# splitting by setting IFS to empty value.)
     7794as_nl='
     7795'
     7796IFS=" ""    $as_nl"
     7797
     7798# Find who we are.  Look in the path if we contain no directory separator.
     7799case $0 in
     7800  *[\\/]* ) as_myself=$0 ;;
     7801  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    75207802for as_dir in $PATH
    75217803do
     
    75247806  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    75257807done
    7526 
    7527        ;;
    7528   esac
    7529   # We did not find ourselves, most probably we were run as `sh COMMAND'
    7530   # in which case we are not to be found in the path.
    7531   if test "x$as_myself" = x; then
    7532     as_myself=$0
     7808IFS=$as_save_IFS
     7809
     7810     ;;
     7811esac
     7812# We did not find ourselves, most probably we were run as `sh COMMAND'
     7813# in which case we are not to be found in the path.
     7814if test "x$as_myself" = x; then
     7815  as_myself=$0
     7816fi
     7817if test ! -f "$as_myself"; then
     7818  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     7819  { (exit 1); exit 1; }
     7820fi
     7821
     7822# Work around bugs in pre-3.0 UWIN ksh.
     7823for as_var in ENV MAIL MAILPATH
     7824do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     7825done
     7826PS1='$ '
     7827PS2='> '
     7828PS4='+ '
     7829
     7830# NLS nuisances.
     7831for as_var in \
     7832  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     7833  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     7834  LC_TELEPHONE LC_TIME
     7835do
     7836  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     7837    eval $as_var=C; export $as_var
     7838  else
     7839    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    75337840  fi
    7534   if test ! -f "$as_myself"; then
    7535     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    7536 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    7537    { (exit 1); exit 1; }; }
    7538   fi
    7539   case $CONFIG_SHELL in
    7540   '')
    7541     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7542 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    7543 do
    7544   IFS=$as_save_IFS
    7545   test -z "$as_dir" && as_dir=.
    7546   for as_base in sh bash ksh sh5; do
    7547      case $as_dir in
    7548      /*)
    7549        if ("$as_dir/$as_base" -c '
     7841done
     7842
     7843# Required to use basename.
     7844if expr a : '\(a\)' >/dev/null 2>&1 &&
     7845   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     7846  as_expr=expr
     7847else
     7848  as_expr=false
     7849fi
     7850
     7851if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     7852  as_basename=basename
     7853else
     7854  as_basename=false
     7855fi
     7856
     7857
     7858# Name of the executable.
     7859as_me=`$as_basename -- "$0" ||
     7860$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     7861     X"$0" : 'X\(//\)$' \| \
     7862     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     7863echo X/"$0" |
     7864    sed '/^.*\/\([^/][^/]*\)\/*$/{
     7865        s//\1/
     7866        q
     7867      }
     7868      /^X\/\(\/\/\)$/{
     7869        s//\1/
     7870        q
     7871      }
     7872      /^X\/\(\/\).*/{
     7873        s//\1/
     7874        q
     7875      }
     7876      s/.*/./; q'`
     7877
     7878# CDPATH.
     7879$as_unset CDPATH
     7880
     7881
     7882
    75507883  as_lineno_1=$LINENO
    75517884  as_lineno_2=$LINENO
    7552   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    75537885  test "x$as_lineno_1" != "x$as_lineno_2" &&
    7554   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    7555          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    7556          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    7557          CONFIG_SHELL=$as_dir/$as_base
    7558          export CONFIG_SHELL
    7559          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    7560        fi;;
    7561      esac
    7562        done
    7563 done
    7564 ;;
    7565   esac
     7886  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    75667887
    75677888  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    75687889  # uniformly replaced by the line number.  The first 'sed' inserts a
    7569   # line-number line before each line; the second 'sed' does the real
    7570   # work.  The second script uses 'N' to pair each line-number line
    7571   # with the numbered line, and appends trailing '-' during
    7572   # substitution so that $LINENO is not a special case at line end.
     7890  # line-number line after each line using $LINENO; the second 'sed'
     7891  # does the real work.  The second script uses 'N' to pair each
     7892  # line-number line with the line containing $LINENO, and appends
     7893  # trailing '-' during substitution so that $LINENO is not a special
     7894  # case at line end.
    75737895  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    7574   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    7575   sed '=' <$as_myself |
     7896  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     7897  # E. McMahon (1931-1989) for sed's syntax.  :-)
     7898  sed -n '
     7899    p
     7900    /[$]LINENO/=
     7901  ' <$as_myself |
    75767902    sed '
     7903      s/[$]LINENO.*/&-/
     7904      t lineno
     7905      b
     7906      :lineno
    75777907      N
    7578       s,$,-,
    7579       : loop
    7580       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     7908      :loop
     7909      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    75817910      t loop
    7582       s,-$,,
    7583       s,^['$as_cr_digits']*\n,,
     7911      s/-\n.*//
    75847912    ' >$as_me.lineno &&
    7585   chmod +x $as_me.lineno ||
    7586     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    7587 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     7913  chmod +x "$as_me.lineno" ||
     7914    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    75887915   { (exit 1); exit 1; }; }
    75897916
    75907917  # Don't try to exec as it changes $[0], causing all sort of problems
    75917918  # (the dirname of $[0] is not the place where we might find the
    7592   # original and so on.  Autoconf is especially sensible to this).
    7593   . ./$as_me.lineno
     7919  # original and so on.  Autoconf is especially sensitive to this).
     7920  . "./$as_me.lineno"
    75947921  # Exit status is that of the last command.
    75957922  exit
     
    75977924
    75987925
    7599 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    7600   *c*,-n*) ECHO_N= ECHO_C='
    7601 ' ECHO_T='  ' ;;
    7602   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    7603   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    7604 esac
    7605 
    7606 if expr a : '\(a\)' >/dev/null 2>&1; then
     7926if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     7927  as_dirname=dirname
     7928else
     7929  as_dirname=false
     7930fi
     7931
     7932ECHO_C= ECHO_N= ECHO_T=
     7933case `echo -n x` in
     7934-n*)
     7935  case `echo 'x\c'` in
     7936  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     7937  *)   ECHO_C='\c';;
     7938  esac;;
     7939*)
     7940  ECHO_N='-n';;
     7941esac
     7942
     7943if expr a : '\(a\)' >/dev/null 2>&1 &&
     7944   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    76077945  as_expr=expr
    76087946else
     
    76117949
    76127950rm -f conf$$ conf$$.exe conf$$.file
     7951if test -d conf$$.dir; then
     7952  rm -f conf$$.dir/conf$$.file
     7953else
     7954  rm -f conf$$.dir
     7955  mkdir conf$$.dir
     7956fi
    76137957echo >conf$$.file
    76147958if ln -s conf$$.file conf$$ 2>/dev/null; then
    7615   # We could just check for DJGPP; but this test a) works b) is more generic
    7616   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    7617   if test -f conf$$.exe; then
    7618     # Don't use ln at all; we don't have any links
     7959  as_ln_s='ln -s'
     7960  # ... but there are two gotchas:
     7961  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     7962  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     7963  # In both cases, we have to default to `cp -p'.
     7964  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    76197965    as_ln_s='cp -p'
    7620   else
    7621     as_ln_s='ln -s'
    7622   fi
    76237966elif ln conf$$.file conf$$ 2>/dev/null; then
    76247967  as_ln_s=ln
     
    76267969  as_ln_s='cp -p'
    76277970fi
    7628 rm -f conf$$ conf$$.exe conf$$.file
     7971rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     7972rmdir conf$$.dir 2>/dev/null
    76297973
    76307974if mkdir -p . 2>/dev/null; then
     
    76357979fi
    76367980
    7637 as_executable_p="test -f"
     7981if test -x / >/dev/null 2>&1; then
     7982  as_test_x='test -x'
     7983else
     7984  if ls -dL / >/dev/null 2>&1; then
     7985    as_ls_L_option=L
     7986  else
     7987    as_ls_L_option=
     7988  fi
     7989  as_test_x='
     7990    eval sh -c '\''
     7991      if test -d "$1"; then
     7992        test -d "$1/.";
     7993      else
     7994    case $1 in
     7995        -*)set "./$1";;
     7996    esac;
     7997    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     7998    ???[sx]*):;;*)false;;esac;fi
     7999    '\'' sh
     8000  '
     8001fi
     8002as_executable_p=$as_test_x
    76388003
    76398004# Sed expression to map a string onto a valid CPP name.
     
    76448009
    76458010
    7646 # IFS
    7647 # We need space, tab and new line, in precisely that order.
    7648 as_nl='
    7649 '
    7650 IFS="   $as_nl"
    7651 
    7652 # CDPATH.
    7653 $as_unset CDPATH
    7654 
    76558011exec 6>&1
    76568012
    7657 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     8013# Save the log message, to keep $[0] and so on meaningful, and to
    76588014# report actual input values of CONFIG_FILES etc. instead of their
    7659 # values after options handling.  Logging --version etc. is OK.
    7660 exec 5>>config.log
    7661 {
    7662   echo
    7663   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    7664 ## Running $as_me. ##
    7665 _ASBOX
    7666 } >&5
    7667 cat >&5 <<_CSEOF
    7668 
     8015# values after options handling.
     8016ac_log="
    76698017This file was extended by $as_me, which was
    7670 generated by GNU Autoconf 2.59.  Invocation command line was
     8018generated by GNU Autoconf 2.61.  Invocation command line was
    76718019
    76728020  CONFIG_FILES    = $CONFIG_FILES
     
    76768024  $ $0 $@
    76778025
    7678 _CSEOF
    7679 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    7680 echo >&5
    7681 _ACEOF
    7682 
     8026on `(hostname || uname -n) 2>/dev/null | sed 1q`
     8027"
     8028
     8029_ACEOF
     8030
     8031cat >>$CONFIG_STATUS <<_ACEOF
    76838032# Files that config.status was made for.
    7684 if test -n "$ac_config_files"; then
    7685   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    7686 fi
    7687 
    7688 if test -n "$ac_config_headers"; then
    7689   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    7690 fi
    7691 
    7692 if test -n "$ac_config_links"; then
    7693   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    7694 fi
    7695 
    7696 if test -n "$ac_config_commands"; then
    7697   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    7698 fi
     8033config_files="$ac_config_files"
     8034config_headers="$ac_config_headers"
     8035
     8036_ACEOF
    76998037
    77008038cat >>$CONFIG_STATUS <<\_ACEOF
    7701 
    77028039ac_cs_usage="\
    77038040\`$as_me' instantiates files from templates according to the
     
    77078044
    77088045  -h, --help       print this help, then exit
    7709   -V, --version    print version number, then exit
     8046  -V, --version    print version number and configuration settings, then exit
    77108047  -q, --quiet      do not print progress messages
    77118048  -d, --debug      don't remove temporary files
     
    77238060
    77248061Report bugs to <[email protected]>."
    7725 _ACEOF
    7726 
     8062
     8063_ACEOF
    77278064cat >>$CONFIG_STATUS <<_ACEOF
    77288065ac_cs_version="\\
    77298066config.status
    7730 configured by $0, generated by GNU Autoconf 2.59,
    7731   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    7732 
    7733 Copyright (C) 2003 Free Software Foundation, Inc.
     8067configured by $0, generated by GNU Autoconf 2.61,
     8068  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     8069
     8070Copyright (C) 2006 Free Software Foundation, Inc.
    77348071This config.status script is free software; the Free Software Foundation
    77358072gives unlimited permission to copy, distribute and modify it."
    7736 srcdir=$srcdir
    7737 INSTALL="$INSTALL"
     8073
     8074ac_pwd='$ac_pwd'
     8075srcdir='$srcdir'
     8076INSTALL='$INSTALL'
    77388077_ACEOF
    77398078
     
    77468085  case $1 in
    77478086  --*=*)
    7748     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    7749     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     8087    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     8088    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    77508089    ac_shift=:
    77518090    ;;
    7752   -*)
     8091  *)
    77538092    ac_option=$1
    77548093    ac_optarg=$2
    77558094    ac_shift=shift
    77568095    ;;
    7757   *) # This is not an option, so the user has probably given explicit
    7758      # arguments.
    7759      ac_option=$1
    7760      ac_need_defaults=false;;
    77618096  esac
    77628097
    77638098  case $ac_option in
    77648099  # Handling of the options.
    7765 _ACEOF
    7766 cat >>$CONFIG_STATUS <<\_ACEOF
    77678100  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    77688101    ac_cs_recheck=: ;;
    7769   --version | --vers* | -V )
    7770     echo "$ac_cs_version"; exit 0 ;;
    7771   --he | --h)
    7772     # Conflict between --help and --header
    7773     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    7774 Try \`$0 --help' for more information." >&5
    7775 echo "$as_me: error: ambiguous option: $1
    7776 Try \`$0 --help' for more information." >&2;}
    7777    { (exit 1); exit 1; }; };;
    7778   --help | --hel | -h )
    7779     echo "$ac_cs_usage"; exit 0 ;;
    7780   --debug | --d* | -d )
     8102  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     8103    echo "$ac_cs_version"; exit ;;
     8104  --debug | --debu | --deb | --de | --d | -d )
    77818105    debug=: ;;
    77828106  --file | --fil | --fi | --f )
     
    77888112    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    77898113    ac_need_defaults=false;;
     8114  --he | --h)
     8115    # Conflict between --help and --header
     8116    { echo "$as_me: error: ambiguous option: $1
     8117Try \`$0 --help' for more information." >&2
     8118   { (exit 1); exit 1; }; };;
     8119  --help | --hel | -h )
     8120    echo "$ac_cs_usage"; exit ;;
    77908121  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    77918122  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    77938124
    77948125  # This is an error.
    7795   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    7796 Try \`$0 --help' for more information." >&5
    7797 echo "$as_me: error: unrecognized option: $1
    7798 Try \`$0 --help' for more information." >&2;}
     8126  -*) { echo "$as_me: error: unrecognized option: $1
     8127Try \`$0 --help' for more information." >&2
    77998128   { (exit 1); exit 1; }; } ;;
    78008129
    7801   *) ac_config_targets="$ac_config_targets $1" ;;
     8130  *) ac_config_targets="$ac_config_targets $1"
     8131     ac_need_defaults=false ;;
    78028132
    78038133  esac
     
    78158145cat >>$CONFIG_STATUS <<_ACEOF
    78168146if \$ac_cs_recheck; then
    7817   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    7818   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    7819 fi
    7820 
    7821 _ACEOF
    7822 
    7823 
    7824 
    7825 
    7826 
     8147  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     8148  CONFIG_SHELL=$SHELL
     8149  export CONFIG_SHELL
     8150  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     8151fi
     8152
     8153_ACEOF
    78278154cat >>$CONFIG_STATUS <<\_ACEOF
     8155exec 5>>config.log
     8156{
     8157  echo
     8158  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     8159## Running $as_me. ##
     8160_ASBOX
     8161  echo "$ac_log"
     8162} >&5
     8163
     8164_ACEOF
     8165cat >>$CONFIG_STATUS <<_ACEOF
     8166_ACEOF
     8167
     8168cat >>$CONFIG_STATUS <<\_ACEOF
     8169
     8170# Handling of arguments.
    78288171for ac_config_target in $ac_config_targets
    78298172do
    7830   case "$ac_config_target" in
    7831   # Handling of arguments.
    7832   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    7833   "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    7834   "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    7835   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     8173  case $ac_config_target in
     8174    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     8175    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     8176    "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     8177    "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     8178
    78368179  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    78378180echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     
    78398182  esac
    78408183done
     8184
    78418185
    78428186# If the user did not use the arguments to specify the items to instantiate,
     
    78508194
    78518195# Have a temporary directory for convenience.  Make it in the build tree
    7852 # simply because there is no reason to put it here, and in addition,
     8196# simply because there is no reason against having it here, and in addition,
    78538197# creating and moving files from /tmp can sometimes cause problems.
    7854 # Create a temporary directory, and hook for its removal unless debugging.
     8198# Hook for its removal unless debugging.
     8199# Note that there is a small window in which the directory will not be cleaned:
     8200# after its creation but before its name has been assigned to `$tmp'.
    78558201$debug ||
    78568202{
    7857   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     8203  tmp=
     8204  trap 'exit_status=$?
     8205  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     8206' 0
    78588207  trap '{ (exit 1); exit 1; }' 1 2 13 15
    78598208}
    7860 
    78618209# Create a (secure) tmp directory for tmp files.
    78628210
    78638211{
    7864   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     8212  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    78658213  test -n "$tmp" && test -d "$tmp"
    78668214}  ||
    78678215{
    7868   tmp=./confstat$$-$RANDOM
    7869   (umask 077 && mkdir $tmp)
     8216  tmp=./conf$$-$RANDOM
     8217  (umask 077 && mkdir "$tmp")
    78708218} ||
    78718219{
     
    78748222}
    78758223
    7876 _ACEOF
    7877 
    7878 cat >>$CONFIG_STATUS <<_ACEOF
    7879 
    78808224#
    7881 # CONFIG_FILES section.
     8225# Set up the sed scripts for CONFIG_FILES section.
    78828226#
    78838227
    78848228# No need to generate the scripts if there are no CONFIG_FILES.
    78858229# This happens for instance when ./config.status config.h
    7886 if test -n "\$CONFIG_FILES"; then
    7887   # Protect against being on the right side of a sed subst in config.status.
    7888   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    7889    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    7890 s,@SHELL@,$SHELL,;t t
    7891 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    7892 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    7893 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    7894 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    7895 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    7896 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    7897 s,@exec_prefix@,$exec_prefix,;t t
    7898 s,@prefix@,$prefix,;t t
    7899 s,@program_transform_name@,$program_transform_name,;t t
    7900 s,@bindir@,$bindir,;t t
    7901 s,@sbindir@,$sbindir,;t t
    7902 s,@libexecdir@,$libexecdir,;t t
    7903 s,@datadir@,$datadir,;t t
    7904 s,@sysconfdir@,$sysconfdir,;t t
    7905 s,@sharedstatedir@,$sharedstatedir,;t t
    7906 s,@localstatedir@,$localstatedir,;t t
    7907 s,@libdir@,$libdir,;t t
    7908 s,@includedir@,$includedir,;t t
    7909 s,@oldincludedir@,$oldincludedir,;t t
    7910 s,@infodir@,$infodir,;t t
    7911 s,@mandir@,$mandir,;t t
    7912 s,@build_alias@,$build_alias,;t t
    7913 s,@host_alias@,$host_alias,;t t
    7914 s,@target_alias@,$target_alias,;t t
    7915 s,@DEFS@,$DEFS,;t t
    7916 s,@ECHO_C@,$ECHO_C,;t t
    7917 s,@ECHO_N@,$ECHO_N,;t t
    7918 s,@ECHO_T@,$ECHO_T,;t t
    7919 s,@LIBS@,$LIBS,;t t
    7920 s,@PACKAGE@,$PACKAGE,;t t
    7921 s,@VERSION@,$VERSION,;t t
    7922 s,@USE_FASTCGI@,$USE_FASTCGI,;t t
    7923 s,@USE_LANGACTION@,$USE_LANGACTION,;t t
    7924 s,@USE_CORBA@,$USE_CORBA,;t t
    7925 s,@MICO_DIR@,$MICO_DIR,;t t
    7926 s,@USE_Z3950@,$USE_Z3950,;t t
    7927 s,@USE_YAZ@,$USE_YAZ,;t t
    7928 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    7929 s,@USE_SQLITE@,$USE_SQLITE,;t t
    7930 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t
    7931 s,@LDFLAGS@,$LDFLAGS,;t t
    7932 s,@CFLAGS@,$CFLAGS,;t t
    7933 s,@CC@,$CC,;t t
    7934 s,@CPPFLAGS@,$CPPFLAGS,;t t
    7935 s,@ac_ct_CC@,$ac_ct_CC,;t t
    7936 s,@EXEEXT@,$EXEEXT,;t t
    7937 s,@OBJEXT@,$OBJEXT,;t t
    7938 s,@CXX@,$CXX,;t t
    7939 s,@CXXFLAGS@,$CXXFLAGS,;t t
    7940 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    7941 s,@AWK@,$AWK,;t t
    7942 s,@YACC@,$YACC,;t t
    7943 s,@build@,$build,;t t
    7944 s,@build_cpu@,$build_cpu,;t t
    7945 s,@build_vendor@,$build_vendor,;t t
    7946 s,@build_os@,$build_os,;t t
    7947 s,@host@,$host,;t t
    7948 s,@host_cpu@,$host_cpu,;t t
    7949 s,@host_vendor@,$host_vendor,;t t
    7950 s,@host_os@,$host_os,;t t
    7951 s,@target@,$target,;t t
    7952 s,@target_cpu@,$target_cpu,;t t
    7953 s,@target_vendor@,$target_vendor,;t t
    7954 s,@target_os@,$target_os,;t t
    7955 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    7956 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    7957 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    7958 s,@LN_S@,$LN_S,;t t
    7959 s,@SET_MAKE@,$SET_MAKE,;t t
    7960 s,@RANLIB@,$RANLIB,;t t
    7961 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    7962 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
    7963 s,@MICO_VER@,$MICO_VER,;t t
    7964 s,@CPP@,$CPP,;t t
    7965 s,@EGREP@,$EGREP,;t t
    7966 s,@U@,$U,;t t
    7967 s,@ANSI2KNR@,$ANSI2KNR,;t t
    7968 s,@ALLOCA@,$ALLOCA,;t t
    7969 s,@LIBOBJS@,$LIBOBJS,;t t
    7970 s,@STATIC@,$STATIC,;t t
    7971 s,@gsdlos@,$gsdlos,;t t
    7972 s,@MODULEDIRS@,$MODULEDIRS,;t t
    7973 s,@subdirs@,$subdirs,;t t
    7974 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    7975 CEOF
    7976 
    7977 _ACEOF
    7978 
    7979   cat >>$CONFIG_STATUS <<\_ACEOF
    7980   # Split the substitutions into bite-sized pieces for seds with
    7981   # small command number limits, like on Digital OSF/1 and HP-UX.
    7982   ac_max_sed_lines=48
    7983   ac_sed_frag=1 # Number of current file.
    7984   ac_beg=1 # First line for current file.
    7985   ac_end=$ac_max_sed_lines # Line after last line for current file.
    7986   ac_more_lines=:
    7987   ac_sed_cmds=
    7988   while $ac_more_lines; do
    7989     if test $ac_beg -gt 1; then
    7990       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    7991     else
    7992       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     8230if test -n "$CONFIG_FILES"; then
     8231
     8232_ACEOF
     8233
     8234
     8235
     8236ac_delim='%!_!# '
     8237for ac_last_try in false false false false false :; do
     8238  cat >conf$$subs.sed <<_ACEOF
     8239SHELL!$SHELL$ac_delim
     8240PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
     8241PACKAGE_NAME!$PACKAGE_NAME$ac_delim
     8242PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
     8243PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
     8244PACKAGE_STRING!$PACKAGE_STRING$ac_delim
     8245PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
     8246exec_prefix!$exec_prefix$ac_delim
     8247prefix!$prefix$ac_delim
     8248program_transform_name!$program_transform_name$ac_delim
     8249bindir!$bindir$ac_delim
     8250sbindir!$sbindir$ac_delim
     8251libexecdir!$libexecdir$ac_delim
     8252datarootdir!$datarootdir$ac_delim
     8253datadir!$datadir$ac_delim
     8254sysconfdir!$sysconfdir$ac_delim
     8255sharedstatedir!$sharedstatedir$ac_delim
     8256localstatedir!$localstatedir$ac_delim
     8257includedir!$includedir$ac_delim
     8258oldincludedir!$oldincludedir$ac_delim
     8259docdir!$docdir$ac_delim
     8260infodir!$infodir$ac_delim
     8261htmldir!$htmldir$ac_delim
     8262dvidir!$dvidir$ac_delim
     8263pdfdir!$pdfdir$ac_delim
     8264psdir!$psdir$ac_delim
     8265libdir!$libdir$ac_delim
     8266localedir!$localedir$ac_delim
     8267mandir!$mandir$ac_delim
     8268DEFS!$DEFS$ac_delim
     8269ECHO_C!$ECHO_C$ac_delim
     8270ECHO_N!$ECHO_N$ac_delim
     8271ECHO_T!$ECHO_T$ac_delim
     8272LIBS!$LIBS$ac_delim
     8273build_alias!$build_alias$ac_delim
     8274host_alias!$host_alias$ac_delim
     8275target_alias!$target_alias$ac_delim
     8276PACKAGE!$PACKAGE$ac_delim
     8277VERSION!$VERSION$ac_delim
     8278USE_FASTCGI!$USE_FASTCGI$ac_delim
     8279USE_LANGACTION!$USE_LANGACTION$ac_delim
     8280USE_CORBA!$USE_CORBA$ac_delim
     8281MICO_DIR!$MICO_DIR$ac_delim
     8282USE_Z3950!$USE_Z3950$ac_delim
     8283USE_YAZ!$USE_YAZ$ac_delim
     8284ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim
     8285USE_SQLITE!$USE_SQLITE$ac_delim
     8286USE_APACHE_HTTPD!$USE_APACHE_HTTPD$ac_delim
     8287LDFLAGS!$LDFLAGS$ac_delim
     8288CFLAGS!$CFLAGS$ac_delim
     8289CC!$CC$ac_delim
     8290CPPFLAGS!$CPPFLAGS$ac_delim
     8291ac_ct_CC!$ac_ct_CC$ac_delim
     8292EXEEXT!$EXEEXT$ac_delim
     8293OBJEXT!$OBJEXT$ac_delim
     8294CXX!$CXX$ac_delim
     8295CXXFLAGS!$CXXFLAGS$ac_delim
     8296ac_ct_CXX!$ac_ct_CXX$ac_delim
     8297AWK!$AWK$ac_delim
     8298YACC!$YACC$ac_delim
     8299YFLAGS!$YFLAGS$ac_delim
     8300build!$build$ac_delim
     8301build_cpu!$build_cpu$ac_delim
     8302build_vendor!$build_vendor$ac_delim
     8303build_os!$build_os$ac_delim
     8304host!$host$ac_delim
     8305host_cpu!$host_cpu$ac_delim
     8306host_vendor!$host_vendor$ac_delim
     8307host_os!$host_os$ac_delim
     8308target!$target$ac_delim
     8309target_cpu!$target_cpu$ac_delim
     8310target_vendor!$target_vendor$ac_delim
     8311target_os!$target_os$ac_delim
     8312INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
     8313INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
     8314INSTALL_DATA!$INSTALL_DATA$ac_delim
     8315LN_S!$LN_S$ac_delim
     8316SET_MAKE!$SET_MAKE$ac_delim
     8317RANLIB!$RANLIB$ac_delim
     8318COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim
     8319MICO_VER!$MICO_VER$ac_delim
     8320CPP!$CPP$ac_delim
     8321GREP!$GREP$ac_delim
     8322EGREP!$EGREP$ac_delim
     8323U!$U$ac_delim
     8324ANSI2KNR!$ANSI2KNR$ac_delim
     8325ALLOCA!$ALLOCA$ac_delim
     8326LIBOBJS!$LIBOBJS$ac_delim
     8327STATIC!$STATIC$ac_delim
     8328gsdlos!$gsdlos$ac_delim
     8329MODULEDIRS!$MODULEDIRS$ac_delim
     8330subdirs!$subdirs$ac_delim
     8331LTLIBOBJS!$LTLIBOBJS$ac_delim
     8332_ACEOF
     8333
     8334  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then
     8335    break
     8336  elif $ac_last_try; then
     8337    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     8338echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     8339   { (exit 1); exit 1; }; }
     8340  else
     8341    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     8342  fi
     8343done
     8344
     8345ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
     8346if test -n "$ac_eof"; then
     8347  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
     8348  ac_eof=`expr $ac_eof + 1`
     8349fi
     8350
     8351cat >>$CONFIG_STATUS <<_ACEOF
     8352cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
     8353/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
     8354_ACEOF
     8355sed '
     8356s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
     8357s/^/s,@/; s/!/@,|#_!!_#|/
     8358:n
     8359t n
     8360s/'"$ac_delim"'$/,g/; t
     8361s/$/\\/; p
     8362N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
     8363' >>$CONFIG_STATUS <conf$$subs.sed
     8364rm -f conf$$subs.sed
     8365cat >>$CONFIG_STATUS <<_ACEOF
     8366:end
     8367s/|#_!!_#|//g
     8368CEOF$ac_eof
     8369_ACEOF
     8370
     8371
     8372# VPATH may cause trouble with some makes, so we remove $(srcdir),
     8373# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     8374# trailing colons and then remove the whole line if VPATH becomes empty
     8375# (actually we leave an empty line to preserve line numbers).
     8376if test "x$srcdir" = x.; then
     8377  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     8378s/:*\$(srcdir):*/:/
     8379s/:*\${srcdir}:*/:/
     8380s/:*@srcdir@:*/:/
     8381s/^\([^=]*=[     ]*\):*/\1/
     8382s/:*$//
     8383s/^[^=]*=[   ]*$//
     8384}'
     8385fi
     8386
     8387cat >>$CONFIG_STATUS <<\_ACEOF
     8388fi # test -n "$CONFIG_FILES"
     8389
     8390
     8391for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
     8392do
     8393  case $ac_tag in
     8394  :[FHLC]) ac_mode=$ac_tag; continue;;
     8395  esac
     8396  case $ac_mode$ac_tag in
     8397  :[FHL]*:*);;
     8398  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
     8399echo "$as_me: error: Invalid tag $ac_tag." >&2;}
     8400   { (exit 1); exit 1; }; };;
     8401  :[FH]-) ac_tag=-:-;;
     8402  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     8403  esac
     8404  ac_save_IFS=$IFS
     8405  IFS=:
     8406  set x $ac_tag
     8407  IFS=$ac_save_IFS
     8408  shift
     8409  ac_file=$1
     8410  shift
     8411
     8412  case $ac_mode in
     8413  :L) ac_source=$1;;
     8414  :[FH])
     8415    ac_file_inputs=
     8416    for ac_f
     8417    do
     8418      case $ac_f in
     8419      -) ac_f="$tmp/stdin";;
     8420      *) # Look for the file first in the build tree, then in the source tree
     8421     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     8422     # because $ac_f cannot contain `:'.
     8423     test -f "$ac_f" ||
     8424       case $ac_f in
     8425       [\\/$]*) false;;
     8426       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     8427       esac ||
     8428       { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     8429echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     8430   { (exit 1); exit 1; }; };;
     8431      esac
     8432      ac_file_inputs="$ac_file_inputs $ac_f"
     8433    done
     8434
     8435    # Let's still pretend it is `configure' which instantiates (i.e., don't
     8436    # use $as_me), people would be surprised to read:
     8437    #    /* config.h.  Generated by config.status.  */
     8438    configure_input="Generated from "`IFS=:
     8439      echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
     8440    if test x"$ac_file" != x-; then
     8441      configure_input="$ac_file.  $configure_input"
     8442      { echo "$as_me:$LINENO: creating $ac_file" >&5
     8443echo "$as_me: creating $ac_file" >&6;}
    79938444    fi
    7994     if test ! -s $tmp/subs.frag; then
    7995       ac_more_lines=false
    7996     else
    7997       # The purpose of the label and of the branching condition is to
    7998       # speed up the sed processing (if there are no `@' at all, there
    7999       # is no need to browse any of the substitutions).
    8000       # These are the two extra sed commands mentioned above.
    8001       (echo ':t
    8002   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    8003       if test -z "$ac_sed_cmds"; then
    8004     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    8005       else
    8006     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    8007       fi
    8008       ac_sed_frag=`expr $ac_sed_frag + 1`
    8009       ac_beg=$ac_end
    8010       ac_end=`expr $ac_end + $ac_max_sed_lines`
    8011     fi
    8012   done
    8013   if test -z "$ac_sed_cmds"; then
    8014     ac_sed_cmds=cat
    8015   fi
    8016 fi # test -n "$CONFIG_FILES"
    8017 
    8018 _ACEOF
    8019 cat >>$CONFIG_STATUS <<\_ACEOF
    8020 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    8021   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8022   case $ac_file in
    8023   - | *:- | *:-:* ) # input from stdin
    8024     cat >$tmp/stdin
    8025     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8026     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8027   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8028     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8029   * )   ac_file_in=$ac_file.in ;;
     8445
     8446    case $ac_tag in
     8447    *:-:* | *:-) cat >"$tmp/stdin";;
     8448    esac
     8449    ;;
    80308450  esac
    80318451
    8032   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    8033   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     8452  ac_dir=`$as_dirname -- "$ac_file" ||
    80348453$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    80358454     X"$ac_file" : 'X\(//\)[^/]' \| \
    80368455     X"$ac_file" : 'X\(//\)$' \| \
    8037      X"$ac_file" : 'X\(/\)' \| \
    8038      .     : '\(.\)' 2>/dev/null ||
     8456     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    80398457echo X"$ac_file" |
    8040     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8041       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8042       /^X\(\/\/\)$/{ s//\1/; q; }
    8043       /^X\(\/\).*/{ s//\1/; q; }
    8044       s/.*/./; q'`
    8045   { if $as_mkdir_p; then
    8046     mkdir -p "$ac_dir"
    8047   else
    8048     as_dir="$ac_dir"
     8458    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8459        s//\1/
     8460        q
     8461      }
     8462      /^X\(\/\/\)[^/].*/{
     8463        s//\1/
     8464        q
     8465      }
     8466      /^X\(\/\/\)$/{
     8467        s//\1/
     8468        q
     8469      }
     8470      /^X\(\/\).*/{
     8471        s//\1/
     8472        q
     8473      }
     8474      s/.*/./; q'`
     8475  { as_dir="$ac_dir"
     8476  case $as_dir in #(
     8477  -*) as_dir=./$as_dir;;
     8478  esac
     8479  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    80498480    as_dirs=
    8050     while test ! -d "$as_dir"; do
    8051       as_dirs="$as_dir $as_dirs"
    8052       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8481    while :; do
     8482      case $as_dir in #(
     8483      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
     8484      *) as_qdir=$as_dir;;
     8485      esac
     8486      as_dirs="'$as_qdir' $as_dirs"
     8487      as_dir=`$as_dirname -- "$as_dir" ||
    80538488$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    80548489     X"$as_dir" : 'X\(//\)[^/]' \| \
    80558490     X"$as_dir" : 'X\(//\)$' \| \
    8056      X"$as_dir" : 'X\(/\)' \| \
    8057      .     : '\(.\)' 2>/dev/null ||
     8491     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    80588492echo X"$as_dir" |
    8059     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8060       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8061       /^X\(\/\/\)$/{ s//\1/; q; }
    8062       /^X\(\/\).*/{ s//\1/; q; }
    8063       s/.*/./; q'`
     8493    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8494        s//\1/
     8495        q
     8496      }
     8497      /^X\(\/\/\)[^/].*/{
     8498        s//\1/
     8499        q
     8500      }
     8501      /^X\(\/\/\)$/{
     8502        s//\1/
     8503        q
     8504      }
     8505      /^X\(\/\).*/{
     8506        s//\1/
     8507        q
     8508      }
     8509      s/.*/./; q'`
     8510      test -d "$as_dir" && break
    80648511    done
    8065     test ! -n "$as_dirs" || mkdir $as_dirs
    8066   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8067 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8512    test -z "$as_dirs" || eval "mkdir $as_dirs"
     8513  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     8514echo "$as_me: error: cannot create directory $as_dir" >&2;}
    80688515   { (exit 1); exit 1; }; }; }
    8069 
    80708516  ac_builddir=.
    80718517
    8072 if test "$ac_dir" != .; then
     8518case "$ac_dir" in
     8519.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8520*)
    80738521  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8074   # A "../" for each directory in $ac_dir_suffix.
    8075   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8076 else
    8077   ac_dir_suffix= ac_top_builddir=
    8078 fi
     8522  # A ".." for each directory in $ac_dir_suffix.
     8523  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     8524  case $ac_top_builddir_sub in
     8525  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8526  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     8527  esac ;;
     8528esac
     8529ac_abs_top_builddir=$ac_pwd
     8530ac_abs_builddir=$ac_pwd$ac_dir_suffix
     8531# for backward compatibility:
     8532ac_top_builddir=$ac_top_build_prefix
    80798533
    80808534case $srcdir in
    8081   .)  # No --srcdir option.  We are building in place.
     8535  .)  # We are building in place.
    80828536    ac_srcdir=.
    8083     if test -z "$ac_top_builddir"; then
    8084        ac_top_srcdir=.
    8085     else
    8086        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8087     fi ;;
    8088   [\\/]* | ?:[\\/]* )  # Absolute path.
     8537    ac_top_srcdir=$ac_top_builddir_sub
     8538    ac_abs_top_srcdir=$ac_pwd ;;
     8539  [\\/]* | ?:[\\/]* )  # Absolute name.
    80898540    ac_srcdir=$srcdir$ac_dir_suffix;
    8090     ac_top_srcdir=$srcdir ;;
    8091   *) # Relative path.
    8092     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8093     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8094 esac
    8095 
    8096 # Do not use `cd foo && pwd` to compute absolute paths, because
    8097 # the directories may not exist.
    8098 case `pwd` in
    8099 .) ac_abs_builddir="$ac_dir";;
    8100 *)
    8101   case "$ac_dir" in
    8102   .) ac_abs_builddir=`pwd`;;
    8103   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8104   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8105   esac;;
    8106 esac
    8107 case $ac_abs_builddir in
    8108 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8109 *)
    8110   case ${ac_top_builddir}. in
    8111   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8112   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8113   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8114   esac;;
    8115 esac
    8116 case $ac_abs_builddir in
    8117 .) ac_abs_srcdir=$ac_srcdir;;
    8118 *)
    8119   case $ac_srcdir in
    8120   .) ac_abs_srcdir=$ac_abs_builddir;;
    8121   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8122   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8123   esac;;
    8124 esac
    8125 case $ac_abs_builddir in
    8126 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8127 *)
    8128   case $ac_top_srcdir in
    8129   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8130   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8131   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8132   esac;;
    8133 esac
    8134 
     8541    ac_top_srcdir=$srcdir
     8542    ac_abs_top_srcdir=$srcdir ;;
     8543  *) # Relative name.
     8544    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     8545    ac_top_srcdir=$ac_top_build_prefix$srcdir
     8546    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8547esac
     8548ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     8549
     8550
     8551  case $ac_mode in
     8552  :F)
     8553  #
     8554  # CONFIG_FILE
     8555  #
    81358556
    81368557  case $INSTALL in
    81378558  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    8138   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     8559  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    81398560  esac
    8140 
    8141   if test x"$ac_file" != x-; then
    8142     { echo "$as_me:$LINENO: creating $ac_file" >&5
    8143 echo "$as_me: creating $ac_file" >&6;}
    8144     rm -f "$ac_file"
    8145   fi
    8146   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8147   # use $as_me), people would be surprised to read:
    8148   #    /* config.h.  Generated by config.status.  */
    8149   if test x"$ac_file" = x-; then
    8150     configure_input=
    8151   else
    8152     configure_input="$ac_file.  "
    8153   fi
    8154   configure_input=$configure_input"Generated from `echo $ac_file_in |
    8155                      sed 's,.*/,,'` by configure."
    8156 
    8157   # First look for the input files in the build tree, otherwise in the
    8158   # src tree.
    8159   ac_file_inputs=`IFS=:
    8160     for f in $ac_file_in; do
    8161       case $f in
    8162       -) echo $tmp/stdin ;;
    8163       [\\/$]*)
    8164      # Absolute (can't be DOS-style, as IFS=:)
    8165      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8166 echo "$as_me: error: cannot find input file: $f" >&2;}
    8167    { (exit 1); exit 1; }; }
    8168      echo "$f";;
    8169       *) # Relative
    8170      if test -f "$f"; then
    8171        # Build tree
    8172        echo "$f"
    8173      elif test -f "$srcdir/$f"; then
    8174        # Source tree
    8175        echo "$srcdir/$f"
    8176      else
    8177        # /dev/null tree
    8178        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8179 echo "$as_me: error: cannot find input file: $f" >&2;}
    8180    { (exit 1); exit 1; }; }
    8181      fi;;
    8182       esac
    8183     done` || { (exit 1); exit 1; }
    8184 _ACEOF
     8561_ACEOF
     8562
     8563cat >>$CONFIG_STATUS <<\_ACEOF
     8564# If the template does not know about datarootdir, expand it.
     8565# FIXME: This hack should be removed a few years after 2.60.
     8566ac_datarootdir_hack=; ac_datarootdir_seen=
     8567
     8568case `sed -n '/datarootdir/ {
     8569  p
     8570  q
     8571}
     8572/@datadir@/p
     8573/@docdir@/p
     8574/@infodir@/p
     8575/@localedir@/p
     8576/@mandir@/p
     8577' $ac_file_inputs` in
     8578*datarootdir*) ac_datarootdir_seen=yes;;
     8579*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     8580  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     8581echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     8582_ACEOF
     8583cat >>$CONFIG_STATUS <<_ACEOF
     8584  ac_datarootdir_hack='
     8585  s&@datadir@&$datadir&g
     8586  s&@docdir@&$docdir&g
     8587  s&@infodir@&$infodir&g
     8588  s&@localedir@&$localedir&g
     8589  s&@mandir@&$mandir&g
     8590    s&\\\${datarootdir}&$datarootdir&g' ;;
     8591esac
     8592_ACEOF
     8593
     8594# Neutralize VPATH when `$srcdir' = `.'.
     8595# Shell code in configure.ac might set extrasub.
     8596# FIXME: do we really want to maintain this feature?
    81858597cat >>$CONFIG_STATUS <<_ACEOF
    81868598  sed "$ac_vpsub
     
    81908602:t
    81918603/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    8192 s,@configure_input@,$configure_input,;t t
    8193 s,@srcdir@,$ac_srcdir,;t t
    8194 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    8195 s,@top_srcdir@,$ac_top_srcdir,;t t
    8196 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    8197 s,@builddir@,$ac_builddir,;t t
    8198 s,@abs_builddir@,$ac_abs_builddir,;t t
    8199 s,@top_builddir@,$ac_top_builddir,;t t
    8200 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    8201 s,@INSTALL@,$ac_INSTALL,;t t
    8202 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    8203   rm -f $tmp/stdin
    8204   if test x"$ac_file" != x-; then
    8205     mv $tmp/out $ac_file
    8206   else
    8207     cat $tmp/out
    8208     rm -f $tmp/out
    8209   fi
    8210 
    8211 done
    8212 _ACEOF
    8213 cat >>$CONFIG_STATUS <<\_ACEOF
    8214 
    8215 #
    8216 # CONFIG_HEADER section.
    8217 #
    8218 
    8219 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    8220 # NAME is the cpp macro being defined and VALUE is the value it is being given.
    8221 #
    8222 # ac_d sets the value in "#define NAME VALUE" lines.
    8223 ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
    8224 ac_dB='[     ].*$,\1#\2'
     8604s&@configure_input@&$configure_input&;t t
     8605s&@top_builddir@&$ac_top_builddir_sub&;t t
     8606s&@srcdir@&$ac_srcdir&;t t
     8607s&@abs_srcdir@&$ac_abs_srcdir&;t t
     8608s&@top_srcdir@&$ac_top_srcdir&;t t
     8609s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     8610s&@builddir@&$ac_builddir&;t t
     8611s&@abs_builddir@&$ac_abs_builddir&;t t
     8612s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     8613s&@INSTALL@&$ac_INSTALL&;t t
     8614$ac_datarootdir_hack
     8615" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
     8616
     8617test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     8618  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     8619  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     8620  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     8621which seems to be undefined.  Please make sure it is defined." >&5
     8622echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     8623which seems to be undefined.  Please make sure it is defined." >&2;}
     8624
     8625  rm -f "$tmp/stdin"
     8626  case $ac_file in
     8627  -) cat "$tmp/out"; rm -f "$tmp/out";;
     8628  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
     8629  esac
     8630 ;;
     8631  :H)
     8632  #
     8633  # CONFIG_HEADER
     8634  #
     8635_ACEOF
     8636
     8637# Transform confdefs.h into a sed script `conftest.defines', that
     8638# substitutes the proper values into config.h.in to produce config.h.
     8639rm -f conftest.defines conftest.tail
     8640# First, append a space to every undef/define line, to ease matching.
     8641echo 's/$/ /' >conftest.defines
     8642# Then, protect against being on the right side of a sed subst, or in
     8643# an unquoted here document, in config.status.  If some macros were
     8644# called several times there might be several #defines for the same
     8645# symbol, which is useless.  But do not sort them, since the last
     8646# AC_DEFINE must be honored.
     8647ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     8648# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
     8649# NAME is the cpp macro being defined, VALUE is the value it is being given.
     8650# PARAMS is the parameter list in the macro definition--in most cases, it's
     8651# just an empty string.
     8652ac_dA='s,^\\([   #]*\\)[^    ]*\\([  ]*'
     8653ac_dB='\\)[  (].*,\\1define\\2'
    82258654ac_dC=' '
    8226 ac_dD=',;t'
    8227 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    8228 ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
    8229 ac_uB='$,\1#\2define\3'
    8230 ac_uC=' '
    8231 ac_uD=',;t'
    8232 
    8233 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    8234   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8235   case $ac_file in
    8236   - | *:- | *:-:* ) # input from stdin
    8237     cat >$tmp/stdin
    8238     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8239     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8240   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8241     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8242   * )   ac_file_in=$ac_file.in ;;
    8243   esac
    8244 
    8245   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    8246 echo "$as_me: creating $ac_file" >&6;}
    8247 
    8248   # First look for the input files in the build tree, otherwise in the
    8249   # src tree.
    8250   ac_file_inputs=`IFS=:
    8251     for f in $ac_file_in; do
    8252       case $f in
    8253       -) echo $tmp/stdin ;;
    8254       [\\/$]*)
    8255      # Absolute (can't be DOS-style, as IFS=:)
    8256      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8257 echo "$as_me: error: cannot find input file: $f" >&2;}
    8258    { (exit 1); exit 1; }; }
    8259      # Do quote $f, to prevent DOS paths from being IFS'd.
    8260      echo "$f";;
    8261       *) # Relative
    8262      if test -f "$f"; then
    8263        # Build tree
    8264        echo "$f"
    8265      elif test -f "$srcdir/$f"; then
    8266        # Source tree
    8267        echo "$srcdir/$f"
    8268      else
    8269        # /dev/null tree
    8270        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8271 echo "$as_me: error: cannot find input file: $f" >&2;}
    8272    { (exit 1); exit 1; }; }
    8273      fi;;
    8274       esac
    8275     done` || { (exit 1); exit 1; }
    8276   # Remove the trailing spaces.
    8277   sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
    8278 
    8279 _ACEOF
    8280 
    8281 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    8282 # `conftest.undefs', that substitutes the proper values into
    8283 # config.h.in to produce config.h.  The first handles `#define'
    8284 # templates, and the second `#undef' templates.
    8285 # And first: Protect against being on the right side of a sed subst in
    8286 # config.status.  Protect against being in an unquoted here document
    8287 # in config.status.
    8288 rm -f conftest.defines conftest.undefs
    8289 # Using a here document instead of a string reduces the quoting nightmare.
    8290 # Putting comments in sed scripts is not portable.
    8291 #
    8292 # `end' is used to avoid that the second main sed command (meant for
    8293 # 0-ary CPP macros) applies to n-ary macro definitions.
    8294 # See the Autoconf documentation for `clear'.
    8295 cat >confdef2sed.sed <<\_ACEOF
    8296 s/[\\&,]/\\&/g
    8297 s,[\\$`],\\&,g
    8298 t clear
    8299 : clear
    8300 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    8301 t end
    8302 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    8303 : end
    8304 _ACEOF
    8305 # If some macros were called several times there might be several times
    8306 # the same #defines, which is useless.  Nevertheless, we may not want to
    8307 # sort them, since we want the *last* AC-DEFINE to be honored.
    8308 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    8309 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    8310 rm -f confdef2sed.sed
    8311 
    8312 # This sed command replaces #undef with comments.  This is necessary, for
     8655ac_dD=' ,'
     8656
     8657uniq confdefs.h |
     8658  sed -n '
     8659    t rset
     8660    :rset
     8661    s/^[     ]*#[    ]*define[   ][  ]*//
     8662    t ok
     8663    d
     8664    :ok
     8665    s/[\\&,]/\\&/g
     8666    s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
     8667    s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
     8668  ' >>conftest.defines
     8669
     8670# Remove the space that was appended to ease matching.
     8671# Then replace #undef with comments.  This is necessary, for
    83138672# example, in the case of _POSIX_SOURCE, which is predefined and required
    83148673# on some systems where configure will not decide to define it.
    8315 cat >>conftest.undefs <<\_ACEOF
    8316 s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    8317 _ACEOF
    8318 
    8319 # Break up conftest.defines because some shells have a limit on the size
    8320 # of here documents, and old seds have small limits too (100 cmds).
    8321 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    8322 echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    8323 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    8324 echo '  :' >>$CONFIG_STATUS
    8325 rm -f conftest.tail
    8326 while grep . conftest.defines >/dev/null
     8674# (The regexp can be short, since the line contains either #define or #undef.)
     8675echo 's/ $//
     8676s,^[     #]*u.*,/* & */,' >>conftest.defines
     8677
     8678# Break up conftest.defines:
     8679ac_max_sed_lines=50
     8680
     8681# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
     8682# Second one is:     sed -f defines.sed "$tmp/out1" >"$tmp/out2"
     8683# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
     8684# et cetera.
     8685ac_in='$ac_file_inputs'
     8686ac_out='"$tmp/out1"'
     8687ac_nxt='"$tmp/out2"'
     8688
     8689while :
    83278690do
    8328   # Write a limited-size here document to $tmp/defines.sed.
    8329   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    8330   # Speed up: don't consider the non `#define' lines.
    8331   echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
    8332   # Work around the forget-to-reset-the-flag bug.
    8333   echo 't clr' >>$CONFIG_STATUS
    8334   echo ': clr' >>$CONFIG_STATUS
    8335   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
     8691  # Write a here document:
     8692    cat >>$CONFIG_STATUS <<_ACEOF
     8693    # First, check the format of the line:
     8694    cat >"\$tmp/defines.sed" <<\\CEOF
     8695/^[  ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
     8696/^[  ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
     8697b
     8698:def
     8699_ACEOF
     8700  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
    83368701  echo 'CEOF
    8337   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    8338   rm -f $tmp/in
    8339   mv $tmp/out $tmp/in
    8340 ' >>$CONFIG_STATUS
    8341   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
     8702    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
     8703  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
     8704  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
     8705  grep . conftest.tail >/dev/null || break
    83428706  rm -f conftest.defines
    83438707  mv conftest.tail conftest.defines
    83448708done
    8345 rm -f conftest.defines
    8346 echo '  fi # grep' >>$CONFIG_STATUS
    8347 echo >>$CONFIG_STATUS
    8348 
    8349 # Break up conftest.undefs because some shells have a limit on the size
    8350 # of here documents, and old seds have small limits too (100 cmds).
    8351 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    8352 rm -f conftest.tail
    8353 while grep . conftest.undefs >/dev/null
    8354 do
    8355   # Write a limited-size here document to $tmp/undefs.sed.
    8356   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    8357   # Speed up: don't consider the non `#undef'
    8358   echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    8359   # Work around the forget-to-reset-the-flag bug.
    8360   echo 't clr' >>$CONFIG_STATUS
    8361   echo ': clr' >>$CONFIG_STATUS
    8362   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    8363   echo 'CEOF
    8364   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    8365   rm -f $tmp/in
    8366   mv $tmp/out $tmp/in
    8367 ' >>$CONFIG_STATUS
    8368   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    8369   rm -f conftest.undefs
    8370   mv conftest.tail conftest.undefs
    8371 done
    8372 rm -f conftest.undefs
    8373 
     8709rm -f conftest.defines conftest.tail
     8710
     8711echo "ac_result=$ac_in" >>$CONFIG_STATUS
    83748712cat >>$CONFIG_STATUS <<\_ACEOF
    8375   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8376   # use $as_me), people would be surprised to read:
    8377   #    /* config.h.  Generated by config.status.  */
    8378   if test x"$ac_file" = x-; then
    8379     echo "/* Generated by configure.  */" >$tmp/config.h
    8380   else
    8381     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    8382   fi
    8383   cat $tmp/in >>$tmp/config.h
    8384   rm -f $tmp/in
    83858713  if test x"$ac_file" != x-; then
    8386     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
     8714    echo "/* $configure_input  */" >"$tmp/config.h"
     8715    cat "$ac_result" >>"$tmp/config.h"
     8716    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
    83878717      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    83888718echo "$as_me: $ac_file is unchanged" >&6;}
    83898719    else
    8390       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    8391 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8392      X"$ac_file" : 'X\(//\)[^/]' \| \
    8393      X"$ac_file" : 'X\(//\)$' \| \
    8394      X"$ac_file" : 'X\(/\)' \| \
    8395      .     : '\(.\)' 2>/dev/null ||
    8396 echo X"$ac_file" |
    8397     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8398       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8399       /^X\(\/\/\)$/{ s//\1/; q; }
    8400       /^X\(\/\).*/{ s//\1/; q; }
    8401       s/.*/./; q'`
    8402       { if $as_mkdir_p; then
    8403     mkdir -p "$ac_dir"
    8404   else
    8405     as_dir="$ac_dir"
    8406     as_dirs=
    8407     while test ! -d "$as_dir"; do
    8408       as_dirs="$as_dir $as_dirs"
    8409       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8411      X"$as_dir" : 'X\(//\)[^/]' \| \
    8412      X"$as_dir" : 'X\(//\)$' \| \
    8413      X"$as_dir" : 'X\(/\)' \| \
    8414      .     : '\(.\)' 2>/dev/null ||
    8415 echo X"$as_dir" |
    8416     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8417       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8418       /^X\(\/\/\)$/{ s//\1/; q; }
    8419       /^X\(\/\).*/{ s//\1/; q; }
    8420       s/.*/./; q'`
    8421     done
    8422     test ! -n "$as_dirs" || mkdir $as_dirs
    8423   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8424 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    8425    { (exit 1); exit 1; }; }; }
    8426 
    84278720      rm -f $ac_file
    8428       mv $tmp/config.h $ac_file
     8721      mv "$tmp/config.h" $ac_file
    84298722    fi
    84308723  else
    8431     cat $tmp/config.h
    8432     rm -f $tmp/config.h
     8724    echo "/* $configure_input  */"
     8725    cat "$ac_result"
    84338726  fi
    8434 done
    8435 _ACEOF
    8436 
    8437 cat >>$CONFIG_STATUS <<\_ACEOF
     8727  rm -f "$tmp/out12"
     8728 ;;
     8729
     8730
     8731  esac
     8732
     8733done # for ac_tag
     8734
    84388735
    84398736{ (exit 0); exit 0; }
     
    84728769  ac_sub_configure_args=
    84738770  ac_prev=
    8474   for ac_arg in $ac_configure_args; do
     8771  eval "set x $ac_configure_args"
     8772  shift
     8773  for ac_arg
     8774  do
    84758775    if test -n "$ac_prev"; then
    84768776      ac_prev=
     
    84958795    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    84968796      ;;
    8497     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
     8797    *)
     8798      case $ac_arg in
     8799      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     8800      esac
     8801      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
    84988802    esac
    84998803  done
     
    85018805  # Always prepend --prefix to ensure using the same prefix
    85028806  # in subdir configurations.
    8503   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
     8807  ac_arg="--prefix=$prefix"
     8808  case $ac_arg in
     8809  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     8810  esac
     8811  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
     8812
     8813  # Pass --silent
     8814  if test "$silent" = yes; then
     8815    ac_sub_configure_args="--silent $ac_sub_configure_args"
     8816  fi
    85048817
    85058818  ac_popdir=`pwd`
     
    85088821    # Do not complain, so a configure script can configure whichever
    85098822    # parts of a large source tree are present.
    8510     test -d $srcdir/$ac_dir || continue
    8511 
    8512     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
    8513 echo "$as_me: configuring in $ac_dir" >&6;}
    8514     { if $as_mkdir_p; then
    8515     mkdir -p "$ac_dir"
    8516   else
    8517     as_dir="$ac_dir"
     8823    test -d "$srcdir/$ac_dir" || continue
     8824
     8825    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
     8826    echo "$as_me:$LINENO: $ac_msg" >&5
     8827    echo "$ac_msg" >&6
     8828    { as_dir="$ac_dir"
     8829  case $as_dir in #(
     8830  -*) as_dir=./$as_dir;;
     8831  esac
     8832  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    85188833    as_dirs=
    8519     while test ! -d "$as_dir"; do
    8520       as_dirs="$as_dir $as_dirs"
    8521       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8834    while :; do
     8835      case $as_dir in #(
     8836      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
     8837      *) as_qdir=$as_dir;;
     8838      esac
     8839      as_dirs="'$as_qdir' $as_dirs"
     8840      as_dir=`$as_dirname -- "$as_dir" ||
    85228841$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    85238842     X"$as_dir" : 'X\(//\)[^/]' \| \
    85248843     X"$as_dir" : 'X\(//\)$' \| \
    8525      X"$as_dir" : 'X\(/\)' \| \
    8526      .     : '\(.\)' 2>/dev/null ||
     8844     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    85278845echo X"$as_dir" |
    8528     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8529       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8530       /^X\(\/\/\)$/{ s//\1/; q; }
    8531       /^X\(\/\).*/{ s//\1/; q; }
    8532       s/.*/./; q'`
     8846    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8847        s//\1/
     8848        q
     8849      }
     8850      /^X\(\/\/\)[^/].*/{
     8851        s//\1/
     8852        q
     8853      }
     8854      /^X\(\/\/\)$/{
     8855        s//\1/
     8856        q
     8857      }
     8858      /^X\(\/\).*/{
     8859        s//\1/
     8860        q
     8861      }
     8862      s/.*/./; q'`
     8863      test -d "$as_dir" && break
    85338864    done
    8534     test ! -n "$as_dirs" || mkdir $as_dirs
    8535   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8536 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8865    test -z "$as_dirs" || eval "mkdir $as_dirs"
     8866  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     8867echo "$as_me: error: cannot create directory $as_dir" >&2;}
    85378868   { (exit 1); exit 1; }; }; }
    8538 
    85398869    ac_builddir=.
    85408870
    8541 if test "$ac_dir" != .; then
     8871case "$ac_dir" in
     8872.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8873*)
    85428874  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8543   # A "../" for each directory in $ac_dir_suffix.
    8544   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8545 else
    8546   ac_dir_suffix= ac_top_builddir=
    8547 fi
     8875  # A ".." for each directory in $ac_dir_suffix.
     8876  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     8877  case $ac_top_builddir_sub in
     8878  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8879  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     8880  esac ;;
     8881esac
     8882ac_abs_top_builddir=$ac_pwd
     8883ac_abs_builddir=$ac_pwd$ac_dir_suffix
     8884# for backward compatibility:
     8885ac_top_builddir=$ac_top_build_prefix
    85488886
    85498887case $srcdir in
    8550   .)  # No --srcdir option.  We are building in place.
     8888  .)  # We are building in place.
    85518889    ac_srcdir=.
    8552     if test -z "$ac_top_builddir"; then
    8553        ac_top_srcdir=.
    8554     else
    8555        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8556     fi ;;
    8557   [\\/]* | ?:[\\/]* )  # Absolute path.
     8890    ac_top_srcdir=$ac_top_builddir_sub
     8891    ac_abs_top_srcdir=$ac_pwd ;;
     8892  [\\/]* | ?:[\\/]* )  # Absolute name.
    85588893    ac_srcdir=$srcdir$ac_dir_suffix;
    8559     ac_top_srcdir=$srcdir ;;
    8560   *) # Relative path.
    8561     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8562     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8563 esac
    8564 
    8565 # Do not use `cd foo && pwd` to compute absolute paths, because
    8566 # the directories may not exist.
    8567 case `pwd` in
    8568 .) ac_abs_builddir="$ac_dir";;
    8569 *)
    8570   case "$ac_dir" in
    8571   .) ac_abs_builddir=`pwd`;;
    8572   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8573   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8574   esac;;
    8575 esac
    8576 case $ac_abs_builddir in
    8577 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8578 *)
    8579   case ${ac_top_builddir}. in
    8580   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8581   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8582   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8583   esac;;
    8584 esac
    8585 case $ac_abs_builddir in
    8586 .) ac_abs_srcdir=$ac_srcdir;;
    8587 *)
    8588   case $ac_srcdir in
    8589   .) ac_abs_srcdir=$ac_abs_builddir;;
    8590   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8591   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8592   esac;;
    8593 esac
    8594 case $ac_abs_builddir in
    8595 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8596 *)
    8597   case $ac_top_srcdir in
    8598   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8599   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8600   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8601   esac;;
    8602 esac
    8603 
    8604 
    8605     cd $ac_dir
     8894    ac_top_srcdir=$srcdir
     8895    ac_abs_top_srcdir=$srcdir ;;
     8896  *) # Relative name.
     8897    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     8898    ac_top_srcdir=$ac_top_build_prefix$srcdir
     8899    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8900esac
     8901ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     8902
     8903
     8904    cd "$ac_dir"
    86068905
    86078906    # Check for guested configure; otherwise get Cygnus style configure.
    8608     if test -f $ac_srcdir/configure.gnu; then
    8609       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
    8610     elif test -f $ac_srcdir/configure; then
    8611       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
    8612     elif test -f $ac_srcdir/configure.in; then
    8613       ac_sub_configure=$ac_configure
     8907    if test -f "$ac_srcdir/configure.gnu"; then
     8908      ac_sub_configure=$ac_srcdir/configure.gnu
     8909    elif test -f "$ac_srcdir/configure"; then
     8910      ac_sub_configure=$ac_srcdir/configure
     8911    elif test -f "$ac_srcdir/configure.in"; then
     8912      # This should be Cygnus configure.
     8913      ac_sub_configure=$ac_aux_dir/configure
    86148914    else
    86158915      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     
    86238923      case $cache_file in
    86248924      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    8625       *) # Relative path.
    8626     ac_sub_cache_file=$ac_top_builddir$cache_file ;;
     8925      *) # Relative name.
     8926    ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
    86278927      esac
    86288928
    8629       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    8630 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     8929      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     8930echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    86318931      # The eval makes quoting arguments work.
    8632       eval $ac_sub_configure $ac_sub_configure_args \
    8633        --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
     8932      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
     8933       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    86348934    { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    86358935echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     
    86378937    fi
    86388938
    8639     cd $ac_popdir
     8939    cd "$ac_popdir"
    86408940  done
    86418941fi
  • gsdl/trunk/configure.in

    r19264 r20842  
    189189dnl check for -lcrypt:
    190190AC_HAVE_LIBRARY(crypt)
    191 if test $ENABLE_ACCENTFOLD = 1; then
    192 AC_HAVE_LIBRARY(iconv)
    193 fi
     191#if test $ENABLE_ACCENTFOLD = 1; then
     192#AC_HAVE_LIBRARY(iconv)
     193#fi
    194194
    195195dnl Checks for header files.
Note: See TracChangeset for help on using the changeset viewer.