Ignore:
Timestamp:
02/28/12 14:18:52 (9 years ago)
Author:
kjdon
Message:

getting greenstone to work properly on 64 bit machines. COMPAT32BITFLAGS is no more. Don't need -m32 option. Instead, have ARCH_DEP_FLAGS, which gets -fPIC on 64 bit machines. Note that I have used version 2.63 of autoconf. SOme configure files had previously been generated with v 2.65. Have also got rid of lib64 for compiling expat and iconv - only need one version now, not 32 bit version for greenstone and 64 bit version for apache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/configure

    r24958 r25149  
    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.63.
    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, 2007, 2008 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
    1517  NULLCMD=:
    16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     18  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    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'
     
    8438as_cr_alnum=$as_cr_Letters$as_cr_digits
    8539
     40as_nl='
     41'
     42export as_nl
     43# Printing a long string crashes Solaris 7 /usr/bin/printf.
     44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     47if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48  as_echo='printf %s\n'
     49  as_echo_n='printf %s'
     50else
     51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53    as_echo_n='/usr/ucb/echo -n'
     54  else
     55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56    as_echo_n_body='eval
     57      arg=$1;
     58      case $arg in
     59      *"$as_nl"*)
     60    expr "X$arg" : "X\\(.*\\)$as_nl";
     61    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62      esac;
     63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64    '
     65    export as_echo_n_body
     66    as_echo_n='sh -c $as_echo_n_body as_echo'
     67  fi
     68  export as_echo_body
     69  as_echo='sh -c $as_echo_body as_echo'
     70fi
     71
    8672# The user is always right.
    8773if test "${PATH_SEPARATOR+set}" != set; then
    88   echo "#! /bin/sh" >conf$$.sh
    89   echo  "exit 0"   >>conf$$.sh
    90   chmod +x conf$$.sh
    91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    92     PATH_SEPARATOR=';'
    93   else
    94     PATH_SEPARATOR=:
    95   fi
    96   rm -f conf$$.sh
    97 fi
    98 
    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
     74  PATH_SEPARATOR=:
     75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77      PATH_SEPARATOR=';'
     78  }
     79fi
     80
     81# Support unset when possible.
     82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     83  as_unset=unset
     84else
     85  as_unset=false
     86fi
     87
     88
     89# IFS
     90# We need space, tab and new line, in precisely that order.  Quoting is
     91# there to prevent editors from complaining about space-tab.
     92# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     93# splitting by setting IFS to empty value.)
     94IFS=" ""    $as_nl"
     95
     96# Find who we are.  Look in the path if we contain no directory separator.
     97case $0 in
     98  *[\\/]* ) as_myself=$0 ;;
     99  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    110100for as_dir in $PATH
    111101do
     
    114104  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    115105done
    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
    123   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   '')
     106IFS=$as_save_IFS
     107
     108     ;;
     109esac
     110# We did not find ourselves, most probably we were run as `sh COMMAND'
     111# in which case we are not to be found in the path.
     112if test "x$as_myself" = x; then
     113  as_myself=$0
     114fi
     115if test ! -f "$as_myself"; then
     116  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     117  { (exit 1); exit 1; }
     118fi
     119
     120# Work around bugs in pre-3.0 UWIN ksh.
     121for as_var in ENV MAIL MAILPATH
     122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     123done
     124PS1='$ '
     125PS2='> '
     126PS4='+ '
     127
     128# NLS nuisances.
     129LC_ALL=C
     130export LC_ALL
     131LANGUAGE=C
     132export LANGUAGE
     133
     134# Required to use basename.
     135if expr a : '\(a\)' >/dev/null 2>&1 &&
     136   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     137  as_expr=expr
     138else
     139  as_expr=false
     140fi
     141
     142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     143  as_basename=basename
     144else
     145  as_basename=false
     146fi
     147
     148
     149# Name of the executable.
     150as_me=`$as_basename -- "$0" ||
     151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     152     X"$0" : 'X\(//\)$' \| \
     153     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     154$as_echo X/"$0" |
     155    sed '/^.*\/\([^/][^/]*\)\/*$/{
     156        s//\1/
     157        q
     158      }
     159      /^X\/\(\/\/\)$/{
     160        s//\1/
     161        q
     162      }
     163      /^X\/\(\/\).*/{
     164        s//\1/
     165        q
     166      }
     167      s/.*/./; q'`
     168
     169# CDPATH.
     170$as_unset CDPATH
     171
     172
     173if test "x$CONFIG_SHELL" = x; then
     174  if (eval ":") 2>/dev/null; then
     175  as_have_required=yes
     176else
     177  as_have_required=no
     178fi
     179
     180  if test $as_have_required = yes &&     (eval ":
     181(as_func_return () {
     182  (exit \$1)
     183}
     184as_func_success () {
     185  as_func_return 0
     186}
     187as_func_failure () {
     188  as_func_return 1
     189}
     190as_func_ret_success () {
     191  return 0
     192}
     193as_func_ret_failure () {
     194  return 1
     195}
     196
     197exitcode=0
     198if as_func_success; then
     199  :
     200else
     201  exitcode=1
     202  echo as_func_success failed.
     203fi
     204
     205if as_func_failure; then
     206  exitcode=1
     207  echo as_func_failure succeeded.
     208fi
     209
     210if as_func_ret_success; then
     211  :
     212else
     213  exitcode=1
     214  echo as_func_ret_success failed.
     215fi
     216
     217if as_func_ret_failure; then
     218  exitcode=1
     219  echo as_func_ret_failure succeeded.
     220fi
     221
     222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     223  :
     224else
     225  exitcode=1
     226  echo positional parameters were not saved.
     227fi
     228
     229test \$exitcode = 0) || { (exit 1); exit 1; }
     230
     231(
     232  as_lineno_1=\$LINENO
     233  as_lineno_2=\$LINENO
     234  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     235  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     236") 2> /dev/null; then
     237  :
     238else
     239  as_candidate_shells=
    130240    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    133243  IFS=$as_save_IFS
    134244  test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136      case $as_dir in
     245  case $as_dir in
    137246     /*)
    138        if ("$as_dir/$as_base" -c '
     247       for as_base in sh bash ksh sh5; do
     248         as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     249       done;;
     250       esac
     251done
     252IFS=$as_save_IFS
     253
     254
     255      for as_shell in $as_candidate_shells $SHELL; do
     256     # Try only shells that exist, to save several forks.
     257     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     258        { ("$as_shell") 2> /dev/null <<\_ASEOF
     259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     260  emulate sh
     261  NULLCMD=:
     262  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     263  # is contrary to our usage.  Disable this feature.
     264  alias -g '${1+"$@"}'='"$@"'
     265  setopt NO_GLOB_SUBST
     266else
     267  case `(set -o) 2>/dev/null` in
     268  *posix*) set -o posix ;;
     269esac
     270
     271fi
     272
     273
     274:
     275_ASEOF
     276}; then
     277  CONFIG_SHELL=$as_shell
     278           as_have_required=yes
     279           if { "$as_shell" 2> /dev/null <<\_ASEOF
     280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     281  emulate sh
     282  NULLCMD=:
     283  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     284  # is contrary to our usage.  Disable this feature.
     285  alias -g '${1+"$@"}'='"$@"'
     286  setopt NO_GLOB_SUBST
     287else
     288  case `(set -o) 2>/dev/null` in
     289  *posix*) set -o posix ;;
     290esac
     291
     292fi
     293
     294
     295:
     296(as_func_return () {
     297  (exit $1)
     298}
     299as_func_success () {
     300  as_func_return 0
     301}
     302as_func_failure () {
     303  as_func_return 1
     304}
     305as_func_ret_success () {
     306  return 0
     307}
     308as_func_ret_failure () {
     309  return 1
     310}
     311
     312exitcode=0
     313if as_func_success; then
     314  :
     315else
     316  exitcode=1
     317  echo as_func_success failed.
     318fi
     319
     320if as_func_failure; then
     321  exitcode=1
     322  echo as_func_failure succeeded.
     323fi
     324
     325if as_func_ret_success; then
     326  :
     327else
     328  exitcode=1
     329  echo as_func_ret_success failed.
     330fi
     331
     332if as_func_ret_failure; then
     333  exitcode=1
     334  echo as_func_ret_failure succeeded.
     335fi
     336
     337if ( set x; as_func_ret_success y && test x = "$1" ); then
     338  :
     339else
     340  exitcode=1
     341  echo positional parameters were not saved.
     342fi
     343
     344test $exitcode = 0) || { (exit 1); exit 1; }
     345
     346(
    139347  as_lineno_1=$LINENO
    140348  as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142349  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
     350  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     351
     352_ASEOF
     353}; then
     354  break
     355fi
     356
     357fi
     358
     359      done
     360
     361      if test "x$CONFIG_SHELL" != x; then
     362  for as_var in BASH_ENV ENV
     363    do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     364    done
     365    export CONFIG_SHELL
     366    exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     367fi
     368
     369
     370    if test $as_have_required = no; then
     371  echo This script requires a shell more modern than all the
     372      echo shells that I found on your system.  Please install a
     373      echo modern shell, or manually run the script under such a
     374      echo shell if you do have one.
     375      { (exit 1); exit 1; }
     376fi
     377
     378
     379fi
     380
     381fi
     382
     383
     384
     385(eval "as_func_return () {
     386  (exit \$1)
     387}
     388as_func_success () {
     389  as_func_return 0
     390}
     391as_func_failure () {
     392  as_func_return 1
     393}
     394as_func_ret_success () {
     395  return 0
     396}
     397as_func_ret_failure () {
     398  return 1
     399}
     400
     401exitcode=0
     402if as_func_success; then
     403  :
     404else
     405  exitcode=1
     406  echo as_func_success failed.
     407fi
     408
     409if as_func_failure; then
     410  exitcode=1
     411  echo as_func_failure succeeded.
     412fi
     413
     414if as_func_ret_success; then
     415  :
     416else
     417  exitcode=1
     418  echo as_func_ret_success failed.
     419fi
     420
     421if as_func_ret_failure; then
     422  exitcode=1
     423  echo as_func_ret_failure succeeded.
     424fi
     425
     426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     427  :
     428else
     429  exitcode=1
     430  echo positional parameters were not saved.
     431fi
     432
     433test \$exitcode = 0") || {
     434  echo No shell found that supports shell functions.
     435  echo Please tell bug-autoconf@gnu.org about your system,
     436  echo including any error possibly output before this message.
     437  echo This can help us improve future autoconf versions.
     438  echo Configuration will now proceed without shell functions.
     439}
     440
     441
     442
     443  as_lineno_1=$LINENO
     444  as_lineno_2=$LINENO
     445  test "x$as_lineno_1" != "x$as_lineno_2" &&
     446  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    155447
    156448  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157449  # 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.
     450  # line-number line after each line using $LINENO; the second 'sed'
     451  # does the real work.  The second script uses 'N' to pair each
     452  # line-number line with the line containing $LINENO, and appends
     453  # trailing '-' during substitution so that $LINENO is not a special
     454  # case at line end.
    162455  # (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 |
     456  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     457  # E. McMahon (1931-1989) for sed's syntax.  :-)
     458  sed -n '
     459    p
     460    /[$]LINENO/=
     461  ' <$as_myself |
    165462    sed '
     463      s/[$]LINENO.*/&-/
     464      t lineno
     465      b
     466      :lineno
    166467      N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     468      :loop
     469      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    170470      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     471      s/-\n.*//
    173472    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
    175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     473  chmod +x "$as_me.lineno" ||
     474    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176475   { (exit 1); exit 1; }; }
    177476
    178477  # Don't try to exec as it changes $[0], causing all sort of problems
    179478  # (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
     479  # original and so on.  Autoconf is especially sensitive to this).
     480  . "./$as_me.lineno"
    182481  # Exit status is that of the last command.
    183482  exit
     
    185484
    186485
    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
     486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     487  as_dirname=dirname
     488else
     489  as_dirname=false
     490fi
     491
     492ECHO_C= ECHO_N= ECHO_T=
     493case `echo -n x` in
     494-n*)
     495  case `echo 'x\c'` in
     496  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     497  *)   ECHO_C='\c';;
     498  esac;;
     499*)
     500  ECHO_N='-n';;
     501esac
     502if expr a : '\(a\)' >/dev/null 2>&1 &&
     503   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    195504  as_expr=expr
    196505else
     
    199508
    200509rm -f conf$$ conf$$.exe conf$$.file
    201 echo >conf$$.file
    202 if 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
     510if test -d conf$$.dir; then
     511  rm -f conf$$.dir/conf$$.file
     512else
     513  rm -f conf$$.dir
     514  mkdir conf$$.dir 2>/dev/null
     515fi
     516if (echo >conf$$.file) 2>/dev/null; then
     517  if ln -s conf$$.file conf$$ 2>/dev/null; then
     518    as_ln_s='ln -s'
     519    # ... but there are two gotchas:
     520    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     521    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     522    # In both cases, we have to default to `cp -p'.
     523    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     524      as_ln_s='cp -p'
     525  elif ln conf$$.file conf$$ 2>/dev/null; then
     526    as_ln_s=ln
     527  else
    207528    as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210529  fi
    211 elif ln conf$$.file conf$$ 2>/dev/null; then
    212   as_ln_s=ln
    213530else
    214531  as_ln_s='cp -p'
    215532fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     533rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     534rmdir conf$$.dir 2>/dev/null
    217535
    218536if mkdir -p . 2>/dev/null; then
     
    223541fi
    224542
    225 as_executable_p="test -f"
     543if test -x / >/dev/null 2>&1; then
     544  as_test_x='test -x'
     545else
     546  if ls -dL / >/dev/null 2>&1; then
     547    as_ls_L_option=L
     548  else
     549    as_ls_L_option=
     550  fi
     551  as_test_x='
     552    eval sh -c '\''
     553      if test -d "$1"; then
     554    test -d "$1/.";
     555      else
     556    case $1 in
     557    -*)set "./$1";;
     558    esac;
     559    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     560    ???[sx]*):;;*)false;;esac;fi
     561    '\'' sh
     562  '
     563fi
     564as_executable_p=$as_test_x
    226565
    227566# Sed expression to map a string onto a valid CPP name.
     
    232571
    233572
    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 
     573
     574exec 7<&0 </dev/null 6>&1
    243575
    244576# Name of the host.
     
    247579ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248580
    249 exec 6>&1
    250 
    251581#
    252582# Initializations.
    253583#
    254584ac_default_prefix=/usr/local
     585ac_clean_files=
    255586ac_config_libobj_dir=.
     587LIBOBJS=
    256588cross_compiling=no
    257589subdirs=
     
    259591MAKEFLAGS=
    260592SHELL=${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}
    266593
    267594# Identity of this package.
     
    275602ac_includes_default="\
    276603#include <stdio.h>
    277 #if HAVE_SYS_TYPES_H
     604#ifdef HAVE_SYS_TYPES_H
    278605# include <sys/types.h>
    279606#endif
    280 #if HAVE_SYS_STAT_H
     607#ifdef HAVE_SYS_STAT_H
    281608# include <sys/stat.h>
    282609#endif
    283 #if STDC_HEADERS
     610#ifdef STDC_HEADERS
    284611# include <stdlib.h>
    285612# include <stddef.h>
    286613#else
    287 # if HAVE_STDLIB_H
     614# ifdef HAVE_STDLIB_H
    288615#  include <stdlib.h>
    289616# endif
    290617#endif
    291 #if HAVE_STRING_H
    292 # if !STDC_HEADERS && HAVE_MEMORY_H
     618#ifdef HAVE_STRING_H
     619# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    293620#  include <memory.h>
    294621# endif
    295622# include <string.h>
    296623#endif
    297 #if HAVE_STRINGS_H
     624#ifdef HAVE_STRINGS_H
    298625# include <strings.h>
    299626#endif
    300 #if HAVE_INTTYPES_H
     627#ifdef HAVE_INTTYPES_H
    301628# include <inttypes.h>
    302 #else
    303 # if HAVE_STDINT_H
    304 #  include <stdint.h>
    305 # endif
    306629#endif
    307 #if HAVE_UNISTD_H
     630#ifdef HAVE_STDINT_H
     631# include <stdint.h>
     632#endif
     633#ifdef HAVE_UNISTD_H
    308634# include <unistd.h>
    309635#endif"
    310636
    311 ac_subdirs_all="$ac_subdirs_all packages"
    312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_RSS USE_APACHE_HTTPD ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVAC JAVACFLAGS JAVA uudecode 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 gsdlarch MODULEDIRS subdirs LTLIBOBJS'
     637enable_option_checking=no
     638ac_subst_vars='LTLIBOBJS
     639subdirs
     640MODULEDIRS
     641gsdlarch
     642gsdlos
     643STATIC
     644LIBOBJS
     645ALLOCA
     646ANSI2KNR
     647U
     648EGREP
     649GREP
     650CPP
     651MICO_VER
     652ARCH_DEP_FLAGS
     653RANLIB
     654SET_MAKE
     655LN_S
     656INSTALL_DATA
     657INSTALL_SCRIPT
     658INSTALL_PROGRAM
     659target_os
     660target_vendor
     661target_cpu
     662target
     663host_os
     664host_vendor
     665host_cpu
     666host
     667build_os
     668build_vendor
     669build_cpu
     670build
     671YFLAGS
     672YACC
     673AWK
     674uudecode
     675JAVA
     676JAVACFLAGS
     677JAVAC
     678ac_ct_CXX
     679CXXFLAGS
     680CXX
     681OBJEXT
     682EXEEXT
     683ac_ct_CC
     684CPPFLAGS
     685CC
     686CFLAGS
     687LDFLAGS
     688ENABLE_LUCENE
     689ENABLE_MGPP
     690ENABLE_MG
     691USE_APACHE_HTTPD
     692USE_RSS
     693USE_SQLITE
     694ENABLE_ACCENTFOLD
     695USE_GDBM
     696USE_JDBM
     697ENABLE_JAVA
     698USE_YAZ
     699USE_Z3950
     700MICO_DIR
     701USE_CORBA
     702USE_LANGACTION
     703USE_FASTCGI
     704VERSION
     705PACKAGE
     706target_alias
     707host_alias
     708build_alias
     709LIBS
     710ECHO_T
     711ECHO_N
     712ECHO_C
     713DEFS
     714mandir
     715localedir
     716libdir
     717psdir
     718pdfdir
     719dvidir
     720htmldir
     721infodir
     722docdir
     723oldincludedir
     724includedir
     725localstatedir
     726sharedstatedir
     727sysconfdir
     728datadir
     729datarootdir
     730libexecdir
     731sbindir
     732bindir
     733program_transform_name
     734prefix
     735exec_prefix
     736PACKAGE_BUGREPORT
     737PACKAGE_STRING
     738PACKAGE_VERSION
     739PACKAGE_TARNAME
     740PACKAGE_NAME
     741PATH_SEPARATOR
     742SHELL'
    313743ac_subst_files=''
     744ac_user_opts='
     745enable_option_checking
     746enable_corba
     747with_micodir
     748enable_z3950
     749enable_yaz
     750enable_java
     751enable_jdbm
     752enable_gdbm
     753enable_accentfold
     754enable_sqlite
     755enable_rss
     756enable_apache_httpd
     757enable_mg
     758enable_mgpp
     759enable_lucene
     760with_dmalloc
     761with_regex
     762'
     763      ac_precious_vars='build_alias
     764host_alias
     765target_alias
     766CC
     767CFLAGS
     768LDFLAGS
     769LIBS
     770CPPFLAGS
     771CXX
     772CXXFLAGS
     773CCC
     774YACC
     775YFLAGS
     776CPP'
     777ac_subdirs_all='packages'
    314778
    315779# Initialize some variables set by options.
    316780ac_init_help=
    317781ac_init_version=false
     782ac_unrecognized_opts=
     783ac_unrecognized_sep=
    318784# The variables have the same names as the options, with
    319785# dashes changed to underlines.
     
    338804# by default will actually change.
    339805# Use braces instead of parens because sh, perl, etc. also accept them.
     806# (The list follows the same order as the GNU Coding Standards.)
    340807bindir='${exec_prefix}/bin'
    341808sbindir='${exec_prefix}/sbin'
    342809libexecdir='${exec_prefix}/libexec'
    343 datadir='${prefix}/share'
     810datarootdir='${prefix}/share'
     811datadir='${datarootdir}'
    344812sysconfdir='${prefix}/etc'
    345813sharedstatedir='${prefix}/com'
    346814localstatedir='${prefix}/var'
    347 libdir='${exec_prefix}/lib'
    348815includedir='${prefix}/include'
    349816oldincludedir='/usr/include'
    350 infodir='${prefix}/info'
    351 mandir='${prefix}/man'
     817docdir='${datarootdir}/doc/${PACKAGE}'
     818infodir='${datarootdir}/info'
     819htmldir='${docdir}'
     820dvidir='${docdir}'
     821pdfdir='${docdir}'
     822psdir='${docdir}'
     823libdir='${exec_prefix}/lib'
     824localedir='${datarootdir}/locale'
     825mandir='${datarootdir}/man'
    352826
    353827ac_prev=
     828ac_dashdash=
    354829for ac_option
    355830do
    356831  # If the previous option needs an argument, assign it.
    357832  if test -n "$ac_prev"; then
    358     eval "$ac_prev=\$ac_option"
     833    eval $ac_prev=\$ac_option
    359834    ac_prev=
    360835    continue
    361836  fi
    362837
    363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     838  case $ac_option in
     839  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     840  *)    ac_optarg=yes ;;
     841  esac
    364842
    365843  # Accept the important Cygnus configure options, so we can diagnose typos.
    366844
    367   case $ac_option in
     845  case $ac_dashdash$ac_option in
     846  --)
     847    ac_dashdash=yes ;;
    368848
    369849  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    387867    cache_file=config.cache ;;
    388868
    389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     869  -datadir | --datadir | --datadi | --datad)
    390870    ac_prev=datadir ;;
    391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    392   | --da=*)
     871  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    393872    datadir=$ac_optarg ;;
    394873
     874  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     875  | --dataroo | --dataro | --datar)
     876    ac_prev=datarootdir ;;
     877  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     878  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     879    datarootdir=$ac_optarg ;;
     880
    395881  -disable-* | --disable-*)
    396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     882    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    397883    # Reject names that are not valid shell variable names.
    398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     884    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     885      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    400886   { (exit 1); exit 1; }; }
    401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    402     eval "enable_$ac_feature=no" ;;
     887    ac_useropt_orig=$ac_useropt
     888    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     889    case $ac_user_opts in
     890      *"
     891"enable_$ac_useropt"
     892"*) ;;
     893      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     894     ac_unrecognized_sep=', ';;
     895    esac
     896    eval enable_$ac_useropt=no ;;
     897
     898  -docdir | --docdir | --docdi | --doc | --do)
     899    ac_prev=docdir ;;
     900  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     901    docdir=$ac_optarg ;;
     902
     903  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     904    ac_prev=dvidir ;;
     905  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     906    dvidir=$ac_optarg ;;
    403907
    404908  -enable-* | --enable-*)
    405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     909    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    406910    # Reject names that are not valid shell variable names.
    407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     911    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     912      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    409913   { (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 ;;
     914    ac_useropt_orig=$ac_useropt
     915    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     916    case $ac_user_opts in
     917      *"
     918"enable_$ac_useropt"
     919"*) ;;
     920      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     921     ac_unrecognized_sep=', ';;
    414922    esac
    415     eval "enable_$ac_feature='$ac_optarg'" ;;
     923    eval enable_$ac_useropt=\$ac_optarg ;;
    416924
    417925  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    440948    host_alias=$ac_optarg ;;
    441949
     950  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     951    ac_prev=htmldir ;;
     952  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     953  | --ht=*)
     954    htmldir=$ac_optarg ;;
     955
    442956  -includedir | --includedir | --includedi | --included | --include \
    443957  | --includ | --inclu | --incl | --inc)
     
    464978    libexecdir=$ac_optarg ;;
    465979
     980  -localedir | --localedir | --localedi | --localed | --locale)
     981    ac_prev=localedir ;;
     982  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     983    localedir=$ac_optarg ;;
     984
    466985  -localstatedir | --localstatedir | --localstatedi | --localstated \
    467   | --localstate | --localstat | --localsta | --localst \
    468   | --locals | --local | --loca | --loc | --lo)
     986  | --localstate | --localstat | --localsta | --localst | --locals)
    469987    ac_prev=localstatedir ;;
    470988  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     989  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    473990    localstatedir=$ac_optarg ;;
    474991
     
    5351052    program_transform_name=$ac_optarg ;;
    5361053
     1054  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     1055    ac_prev=pdfdir ;;
     1056  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     1057    pdfdir=$ac_optarg ;;
     1058
     1059  -psdir | --psdir | --psdi | --psd | --ps)
     1060    ac_prev=psdir ;;
     1061  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     1062    psdir=$ac_optarg ;;
     1063
    5371064  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    5381065  | -silent | --silent | --silen | --sile | --sil)
     
    5851112
    5861113  -with-* | --with-*)
    587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1114    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5881115    # Reject names that are not valid shell variable names.
    589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    590       { echo "$as_me: error: invalid package name: $ac_package" >&2
     1116    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1117      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    5911118   { (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 ;;
     1119    ac_useropt_orig=$ac_useropt
     1120    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1121    case $ac_user_opts in
     1122      *"
     1123"with_$ac_useropt"
     1124"*) ;;
     1125      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1126     ac_unrecognized_sep=', ';;
    5961127    esac
    597     eval "with_$ac_package='$ac_optarg'" ;;
     1128    eval with_$ac_useropt=\$ac_optarg ;;
    5981129
    5991130  -without-* | --without-*)
    600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1131    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6011132    # Reject names that are not valid shell variable names.
    602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    603       { echo "$as_me: error: invalid package name: $ac_package" >&2
     1133    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1134      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    6041135   { (exit 1); exit 1; }; }
    605     ac_package=`echo $ac_package | sed 's/-/_/g'`
    606     eval "with_$ac_package=no" ;;
     1136    ac_useropt_orig=$ac_useropt
     1137    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1138    case $ac_user_opts in
     1139      *"
     1140"with_$ac_useropt"
     1141"*) ;;
     1142      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1143     ac_unrecognized_sep=', ';;
     1144    esac
     1145    eval with_$ac_useropt=no ;;
    6071146
    6081147  --x)
     
    6241163    x_libraries=$ac_optarg ;;
    6251164
    626   -*) { echo "$as_me: error: unrecognized option: $ac_option
     1165  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    6271166Try \`$0 --help' for more information." >&2
    6281167   { (exit 1); exit 1; }; }
     
    6331172    # Reject names that are not valid shell variable names.
    6341173    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     1174      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6361175   { (exit 1); exit 1; }; }
    637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    638     eval "$ac_envvar='$ac_optarg'"
     1176    eval $ac_envvar=\$ac_optarg
    6391177    export $ac_envvar ;;
    6401178
    6411179  *)
    6421180    # FIXME: should be removed in autoconf 3.0.
    643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1181    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    6441182    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1183      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    6461184    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    6471185    ;;
     
    6521190if test -n "$ac_prev"; then
    6531191  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    654   { echo "$as_me: error: missing argument to $ac_option" >&2
     1192  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    6551193   { (exit 1); exit 1; }; }
    6561194fi
    6571195
    658 # Be sure to have absolute paths.
    659 for ac_var in exec_prefix prefix
     1196if test -n "$ac_unrecognized_opts"; then
     1197  case $enable_option_checking in
     1198    no) ;;
     1199    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
     1200   { (exit 1); exit 1; }; } ;;
     1201    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1202  esac
     1203fi
     1204
     1205# Check all directory arguments for consistency.
     1206for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1207        datadir sysconfdir sharedstatedir localstatedir includedir \
     1208        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1209        libdir localedir mandir
    6601210do
    661   eval ac_val=$`echo $ac_var`
     1211  eval ac_val=\$$ac_var
     1212  # Remove trailing slashes.
    6621213  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; }; };;
     1214    */ )
     1215      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1216      eval $ac_var=\$ac_val;;
    6661217  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`
     1218  # Be sure to have absolute directory names.
    6741219  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; }; };;
     1220    [\\/$]* | ?:[\\/]* )  continue;;
     1221    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6781222  esac
     1223  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1224   { (exit 1); exit 1; }; }
    6791225done
    6801226
     
    6901236  if test "x$build_alias" = x; then
    6911237    cross_compiling=maybe
    692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1238    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    6931239    If a cross compiler is detected then cross compile mode will be used." >&2
    6941240  elif test "x$build_alias" != "x$host_alias"; then
     
    7031249
    7041250
     1251ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1252ac_ls_di=`ls -di .` &&
     1253ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1254  { $as_echo "$as_me: error: working directory cannot be determined" >&2
     1255   { (exit 1); exit 1; }; }
     1256test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1257  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
     1258   { (exit 1); exit 1; }; }
     1259
     1260
    7051261# Find the source files, if location was not specified.
    7061262if test -z "$srcdir"; then
    7071263  ac_srcdir_defaulted=yes
    708   # Try the directory containing this script, then its parent.
    709   ac_confdir=`(dirname "$0") 2>/dev/null ||
    710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    711      X"$0" : 'X\(//\)[^/]' \| \
    712      X"$0" : 'X\(//\)$' \| \
    713      X"$0" : 'X\(/\)' \| \
    714      .     : '\(.\)' 2>/dev/null ||
    715 echo 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'`
     1264  # Try the directory containing this script, then the parent directory.
     1265  ac_confdir=`$as_dirname -- "$as_myself" ||
     1266$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1267     X"$as_myself" : 'X\(//\)[^/]' \| \
     1268     X"$as_myself" : 'X\(//\)$' \| \
     1269     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1270$as_echo X"$as_myself" |
     1271    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1272        s//\1/
     1273        q
     1274      }
     1275      /^X\(\/\/\)[^/].*/{
     1276        s//\1/
     1277        q
     1278      }
     1279      /^X\(\/\/\)$/{
     1280        s//\1/
     1281        q
     1282      }
     1283      /^X\(\/\).*/{
     1284        s//\1/
     1285        q
     1286      }
     1287      s/.*/./; q'`
    7211288  srcdir=$ac_confdir
    722   if test ! -r $srcdir/$ac_unique_file; then
     1289  if test ! -r "$srcdir/$ac_unique_file"; then
    7231290    srcdir=..
    7241291  fi
     
    7261293  ac_srcdir_defaulted=no
    7271294fi
    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
     1295if test ! -r "$srcdir/$ac_unique_file"; then
     1296  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1297  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    7311298   { (exit 1); exit 1; }; }
    732   else
    733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1299fi
     1300ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1301ac_abs_confdir=`(
     1302    cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    7341303   { (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
     1304    pwd)`
     1305# When building in place, set srcdir=.
     1306if test "$ac_abs_confdir" = "$ac_pwd"; then
     1307  srcdir=.
     1308fi
     1309# Remove unnecessary trailing slashes from srcdir.
     1310# Double slashes in file names in object file debugging info
     1311# mess up M-x gdb in Emacs.
     1312case $srcdir in
     1313*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1314esac
     1315for ac_var in $ac_precious_vars; do
     1316  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1317  eval ac_env_${ac_var}_value=\$${ac_var}
     1318  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1319  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1320done
    7811321
    7821322#
     
    8071347      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8081348
    809 _ACEOF
    810 
    811   cat <<_ACEOF
    8121349Installation directories:
    8131350  --prefix=PREFIX         install architecture-independent files in PREFIX
    814               [$ac_default_prefix]
     1351                          [$ac_default_prefix]
    8151352  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    816               [PREFIX]
     1353                          [PREFIX]
    8171354
    8181355By default, \`make install' will install all the files in
     
    8241361
    8251362Fine tuning of the installation directories:
    826   --bindir=DIR           user executables [EPREFIX/bin]
    827   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    828   --libexecdir=DIR       program executables [EPREFIX/libexec]
    829   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    830   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    831   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    832   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    833   --libdir=DIR           object code libraries [EPREFIX/lib]
    834   --includedir=DIR       C header files [PREFIX/include]
    835   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    836   --infodir=DIR          info documentation [PREFIX/info]
    837   --mandir=DIR           man documentation [PREFIX/man]
     1363  --bindir=DIR            user executables [EPREFIX/bin]
     1364  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1365  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1366  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1367  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1368  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1369  --libdir=DIR            object code libraries [EPREFIX/lib]
     1370  --includedir=DIR        C header files [PREFIX/include]
     1371  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1372  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1373  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1374  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1375  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1376  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1377  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
     1378  --htmldir=DIR           html documentation [DOCDIR]
     1379  --dvidir=DIR            dvi documentation [DOCDIR]
     1380  --pdfdir=DIR            pdf documentation [DOCDIR]
     1381  --psdir=DIR             ps documentation [DOCDIR]
    8381382_ACEOF
    8391383
     
    8521396
    8531397Optional Features:
     1398  --disable-option-checking  ignore unrecognized --enable/--with options
    8541399  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    8551400  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    8811426  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8821427              nonstandard directory <lib dir>
    883   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    884               headers in a nonstandard directory <include dir>
     1428  LIBS        libraries to pass to the linker, e.g. -l<library>
     1429  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1430              you have headers in a nonstandard directory <include dir>
    8851431  CXX         C++ compiler command
    8861432  CXXFLAGS    C++ compiler flags
     1433  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
     1434              the first program found out of: `bison -y', `byacc', `yacc'.
     1435  YFLAGS      The list of arguments that will be passed by default to $YACC.
     1436              This script will default YFLAGS to the empty string to avoid a
     1437              default value of `-d' given by some make applications.
    8871438  CPP         C preprocessor
    8881439
     
    8911442
    8921443_ACEOF
     1444ac_status=$?
    8931445fi
    8941446
    8951447if test "$ac_init_help" = "recursive"; then
    8961448  # If there are subdirs, report their specific --help.
    897   ac_popdir=`pwd`
    8981449  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    899     test -d $ac_dir || continue
     1450    test -d "$ac_dir" ||
     1451      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1452      continue
    9001453    ac_builddir=.
    9011454
    902 if test "$ac_dir" != .; then
    903   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    904   # A "../" for each directory in $ac_dir_suffix.
    905   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    906 else
    907   ac_dir_suffix= ac_top_builddir=
    908 fi
     1455case "$ac_dir" in
     1456.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1457*)
     1458  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1459  # A ".." for each directory in $ac_dir_suffix.
     1460  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1461  case $ac_top_builddir_sub in
     1462  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1463  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1464  esac ;;
     1465esac
     1466ac_abs_top_builddir=$ac_pwd
     1467ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1468# for backward compatibility:
     1469ac_top_builddir=$ac_top_build_prefix
    9091470
    9101471case $srcdir in
    911   .)  # No --srcdir option.  We are building in place.
     1472  .)  # We are building in place.
    9121473    ac_srcdir=.
    913     if test -z "$ac_top_builddir"; then
    914        ac_top_srcdir=.
     1474    ac_top_srcdir=$ac_top_builddir_sub
     1475    ac_abs_top_srcdir=$ac_pwd ;;
     1476  [\\/]* | ?:[\\/]* )  # Absolute name.
     1477    ac_srcdir=$srcdir$ac_dir_suffix;
     1478    ac_top_srcdir=$srcdir
     1479    ac_abs_top_srcdir=$srcdir ;;
     1480  *) # Relative name.
     1481    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1482    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1483    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1484esac
     1485ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1486
     1487    cd "$ac_dir" || { ac_status=$?; continue; }
     1488    # Check for guested configure.
     1489    if test -f "$ac_srcdir/configure.gnu"; then
     1490      echo &&
     1491      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1492    elif test -f "$ac_srcdir/configure"; then
     1493      echo &&
     1494      $SHELL "$ac_srcdir/configure" --help=recursive
    9151495    else
    916        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    917     fi ;;
    918   [\\/]* | ?:[\\/]* )  # Absolute path.
    919     ac_srcdir=$srcdir$ac_dir_suffix;
    920     ac_top_srcdir=$srcdir ;;
    921   *) # Relative path.
    922     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    923     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    924 esac
    925 
    926 # Do not use `cd foo && pwd` to compute absolute paths, because
    927 # the directories may not exist.
    928 case `pwd` in
    929 .) ac_abs_builddir="$ac_dir";;
    930 *)
    931   case "$ac_dir" in
    932   .) ac_abs_builddir=`pwd`;;
    933   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    934   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    935   esac;;
    936 esac
    937 case $ac_abs_builddir in
    938 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    939 *)
    940   case ${ac_top_builddir}. in
    941   .) ac_abs_top_builddir=$ac_abs_builddir;;
    942   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    943   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    944   esac;;
    945 esac
    946 case $ac_abs_builddir in
    947 .) ac_abs_srcdir=$ac_srcdir;;
    948 *)
    949   case $ac_srcdir in
    950   .) ac_abs_srcdir=$ac_abs_builddir;;
    951   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    952   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    953   esac;;
    954 esac
    955 case $ac_abs_builddir in
    956 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    957 *)
    958   case $ac_top_srcdir in
    959   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    960   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    961   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    962   esac;;
    963 esac
    964 
    965     cd $ac_dir
    966     # Check for guested configure; otherwise get Cygnus style configure.
    967     if test -f $ac_srcdir/configure.gnu; then
    968       echo
    969       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    970     elif test -f $ac_srcdir/configure; then
    971       echo
    972       $SHELL $ac_srcdir/configure  --help=recursive
    973     elif test -f $ac_srcdir/configure.ac ||
    974        test -f $ac_srcdir/configure.in; then
    975       echo
    976       $ac_configure --help
    977     else
    978       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    979     fi
    980     cd $ac_popdir
     1496      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1497    fi || ac_status=$?
     1498    cd "$ac_pwd" || { ac_status=$?; break; }
    9811499  done
    9821500fi
    9831501
    984 test -n "$ac_init_help" && exit 0
     1502test -n "$ac_init_help" && exit $ac_status
    9851503if $ac_init_version; then
    9861504  cat <<\_ACEOF
    987 
    988 Copyright (C) 2003 Free Software Foundation, Inc.
     1505configure
     1506generated by GNU Autoconf 2.63
     1507
     1508Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     15092002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    9891510This configure script is free software; the Free Software Foundation
    9901511gives unlimited permission to copy, distribute and modify it.
    9911512_ACEOF
    992   exit 0
    993 fi
    994 exec 5>config.log
    995 cat >&5 <<_ACEOF
     1513  exit
     1514fi
     1515cat >config.log <<_ACEOF
    9961516This file contains any messages produced by compilers while
    9971517running configure, to aid debugging if configure makes a mistake.
    9981518
    9991519It was created by $as_me, which was
    1000 generated by GNU Autoconf 2.59.  Invocation command line was
     1520generated by GNU Autoconf 2.63.  Invocation command line was
    10011521
    10021522  $ $0 $@
    10031523
    10041524_ACEOF
     1525exec 5>>config.log
    10051526{
    10061527cat <<_ASUNAME
     
    10211542/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10221543/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1023 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1544/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10241545/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10251546/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10331554  IFS=$as_save_IFS
    10341555  test -z "$as_dir" && as_dir=.
    1035   echo "PATH: $as_dir"
     1556  $as_echo "PATH: $as_dir"
    10361557done
     1558IFS=$as_save_IFS
    10371559
    10381560} >&5
     
    10561578ac_configure_args0=
    10571579ac_configure_args1=
    1058 ac_sep=
    10591580ac_must_keep_next=false
    10601581for ac_pass in 1 2
     
    10671588    | -silent | --silent | --silen | --sile | --sil)
    10681589      continue ;;
    1069     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1070       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1590    *\'*)
     1591      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10711592    esac
    10721593    case $ac_pass in
     
    10891610    esac
    10901611      fi
    1091       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1092       # Get rid of the leading space.
    1093       ac_sep=" "
     1612      ac_configure_args="$ac_configure_args '$ac_arg'"
    10941613      ;;
    10951614    esac
     
    11021621# config.log.  We remove comments because anyway the quotes in there
    11031622# would cause problems or look ugly.
    1104 # WARNING: Be sure not to use single quotes in there, as some shells,
    1105 # such as our DU 5.0 friend, will then `close' the trap.
     1623# WARNING: Use '\'' to represent an apostrophe within the trap.
     1624# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    11061625trap 'exit_status=$?
    11071626  # Save into config.log some information that might help in debugging.
     
    11161635    echo
    11171636    # The following way of writing the cache mishandles newlines in values,
    1118 {
     1637(
     1638  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1639    eval ac_val=\$$ac_var
     1640    case $ac_val in #(
     1641    *${as_nl}*)
     1642      case $ac_var in #(
     1643      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     1644$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     1645      esac
     1646      case $ac_var in #(
     1647      _ | IFS | as_nl) ;; #(
     1648      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     1649      *) $as_unset $ac_var ;;
     1650      esac ;;
     1651    esac
     1652  done
    11191653  (set) 2>&1 |
    1120     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1121     *ac_space=\ *)
     1654    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1655    *${as_nl}ac_space=\ *)
    11221656      sed -n \
    1123     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1124       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1657    "s/'\''/'\''\\\\'\'''\''/g;
     1658      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1659      ;; #(
     1660    *)
     1661      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11251662      ;;
    1126     *)
    1127       sed -n \
    1128     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1129       ;;
    1130     esac;
    1131 }
     1663    esac |
     1664    sort
     1665)
    11321666    echo
    11331667
     
    11401674    for ac_var in $ac_subst_vars
    11411675    do
    1142       eval ac_val=$`echo $ac_var`
    1143       echo "$ac_var='"'"'$ac_val'"'"'"
     1676      eval ac_val=\$$ac_var
     1677      case $ac_val in
     1678      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1679      esac
     1680      $as_echo "$ac_var='\''$ac_val'\''"
    11441681    done | sort
    11451682    echo
     
    11471684    if test -n "$ac_subst_files"; then
    11481685      cat <<\_ASBOX
    1149 ## ------------- ##
    1150 ## Output files. ##
    1151 ## ------------- ##
     1686## ------------------- ##
     1687## File substitutions. ##
     1688## ------------------- ##
    11521689_ASBOX
    11531690      echo
    11541691      for ac_var in $ac_subst_files
    11551692      do
    1156     eval ac_val=$`echo $ac_var`
    1157     echo "$ac_var='"'"'$ac_val'"'"'"
     1693    eval ac_val=\$$ac_var
     1694    case $ac_val in
     1695    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1696    esac
     1697    $as_echo "$ac_var='\''$ac_val'\''"
    11581698      done | sort
    11591699      echo
     
    11671707_ASBOX
    11681708      echo
    1169       sed "/^$/d" confdefs.h | sort
     1709      cat confdefs.h
    11701710      echo
    11711711    fi
    11721712    test "$ac_signal" != 0 &&
    1173       echo "$as_me: caught signal $ac_signal"
    1174     echo "$as_me: exit $exit_status"
     1713      $as_echo "$as_me: caught signal $ac_signal"
     1714    $as_echo "$as_me: exit $exit_status"
    11751715  } >&5
    1176   rm -f core *.core &&
    1177   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1716  rm -f core *.core core.conftest.* &&
     1717    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11781718    exit $exit_status
    1179      ' 0
     1719' 0
    11801720for ac_signal in 1 2 13 15; do
    11811721  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11841724
    11851725# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1186 rm -rf conftest* confdefs.h
    1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1188 echo >confdefs.h
     1726rm -f -r conftest* confdefs.h
    11891727
    11901728# Predefined preprocessor variables.
     
    12161754
    12171755# Let the site file select an alternate cache file if it wants to.
    1218 # Prefer explicitly selected file to automatically selected ones.
    1219 if test -z "$CONFIG_SITE"; then
    1220   if test "x$prefix" != xNONE; then
    1221     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1222   else
    1223     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1224   fi
    1225 fi
    1226 for ac_site_file in $CONFIG_SITE; do
     1756# Prefer an explicitly selected file to automatically selected ones.
     1757ac_site_file1=NONE
     1758ac_site_file2=NONE
     1759if test -n "$CONFIG_SITE"; then
     1760  ac_site_file1=$CONFIG_SITE
     1761elif test "x$prefix" != xNONE; then
     1762  ac_site_file1=$prefix/share/config.site
     1763  ac_site_file2=$prefix/etc/config.site
     1764else
     1765  ac_site_file1=$ac_default_prefix/share/config.site
     1766  ac_site_file2=$ac_default_prefix/etc/config.site
     1767fi
     1768for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     1769do
     1770  test "x$ac_site_file" = xNONE && continue
    12271771  if test -r "$ac_site_file"; then
    1228     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1229 echo "$as_me: loading site script $ac_site_file" >&6;}
     1772    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1773$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    12301774    sed 's/^/| /' "$ac_site_file" >&5
    12311775    . "$ac_site_file"
     
    12371781  # files actually), so we avoid doing that.
    12381782  if test -f "$cache_file"; then
    1239     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1240 echo "$as_me: loading cache $cache_file" >&6;}
     1783    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1784$as_echo "$as_me: loading cache $cache_file" >&6;}
    12411785    case $cache_file in
    1242       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1243       *)                      . ./$cache_file;;
     1786      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1787      *)                      . "./$cache_file";;
    12441788    esac
    12451789  fi
    12461790else
    1247   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1248 echo "$as_me: creating cache $cache_file" >&6;}
     1791  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1792$as_echo "$as_me: creating cache $cache_file" >&6;}
    12491793  >$cache_file
    12501794fi
     
    12531797# value.
    12541798ac_cache_corrupted=false
    1255 for ac_var in `(set) 2>&1 |
    1256            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1799for ac_var in $ac_precious_vars; do
    12571800  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12581801  eval ac_new_set=\$ac_env_${ac_var}_set
    1259   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1260   eval ac_new_val="\$ac_env_${ac_var}_value"
     1802  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1803  eval ac_new_val=\$ac_env_${ac_var}_value
    12611804  case $ac_old_set,$ac_new_set in
    12621805    set,)
    1263       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1806      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1807$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    12651808      ac_cache_corrupted=: ;;
    12661809    ,set)
    1267       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1810      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1811$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    12691812      ac_cache_corrupted=: ;;
    12701813    ,);;
    12711814    *)
    12721815      if test "x$ac_old_val" != "x$ac_new_val"; then
    1273     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1275     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1276 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1277     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1278 echo "$as_me:   current value: $ac_new_val" >&2;}
    1279     ac_cache_corrupted=:
     1816    # differences in whitespace do not lead to failure.
     1817    ac_old_val_w=`echo x $ac_old_val`
     1818    ac_new_val_w=`echo x $ac_new_val`
     1819    if test "$ac_old_val_w" != "$ac_new_val_w"; then
     1820      { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1821$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1822      ac_cache_corrupted=:
     1823    else
     1824      { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1825$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     1826      eval $ac_var=\$ac_old_val
     1827    fi
     1828    { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     1829$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     1830    { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     1831$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    12801832      fi;;
    12811833  esac
     
    12831835  if test "$ac_new_set" = set; then
    12841836    case $ac_new_val in
    1285     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1286       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1837    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12871838    *) ac_arg=$ac_var=$ac_new_val ;;
    12881839    esac
     
    12941845done
    12951846if $ac_cache_corrupted; then
    1296   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1298   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1299 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1847  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     1848$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     1849  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1850$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1851  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1852$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    13001853   { (exit 1); exit 1; }; }
    13011854fi
     1855
     1856
     1857
     1858
     1859
     1860
     1861
     1862
     1863
     1864
     1865
     1866
     1867
     1868
     1869
     1870
    13021871
    13031872ac_ext=c
     
    13081877
    13091878
    1310 
    1311 
    1312 
    1313 
    1314 
    1315 
    1316 
    1317 
    1318 
    1319 
    1320 
    1321 
    1322 
    1323 
    1324 
    1325 
    1326 
    1327           ac_config_headers="$ac_config_headers config.h"
     1879ac_config_headers="$ac_config_headers config.h"
    13281880
    13291881
     
    13601912fi
    13611913
    1362 # Check whether --enable-corba or --disable-corba was given.
     1914# Check whether --enable-corba was given.
    13631915if test "${enable_corba+set}" = set; then
    1364   enableval="$enable_corba"
    1365   USE_CORBA=$enableval
     1916  enableval=$enable_corba; USE_CORBA=$enableval
    13661917else
    13671918  USE_CORBA=no
    1368 fi;
     1919fi
     1920
    13691921if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    13701922  USE_CORBA=1
    13711923  cat >>confdefs.h <<\_ACEOF
    1372 #define USE_CORBA
     1924#define USE_CORBA /**/
    13731925_ACEOF
    13741926
     
    13791931
    13801932
    1381 # Check whether --with-micodir or --without-micodir was given.
     1933# Check whether --with-micodir was given.
    13821934if test "${with_micodir+set}" = set; then
    1383   withval="$with_micodir"
    1384   MICO_DIR=$withval
     1935  withval=$with_micodir; MICO_DIR=$withval
    13851936else
    13861937  MICO_DIR="default"
    1387 fi;
     1938fi
     1939
    13881940cat >>confdefs.h <<_ACEOF
    13891941#define MICO_DIR "$MICO_DIR"
     
    13921944
    13931945
    1394 # Check whether --enable-z3950 or --disable-z3950 was given.
     1946# Check whether --enable-z3950 was given.
    13951947if test "${enable_z3950+set}" = set; then
    1396   enableval="$enable_z3950"
    1397   USE_Z3950=$enableval
     1948  enableval=$enable_z3950; USE_Z3950=$enableval
    13981949else
    13991950  USE_Z3950=no
    1400 fi;
     1951fi
     1952
    14011953if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    14021954  USE_Z3950=1
    14031955  cat >>confdefs.h <<\_ACEOF
    1404 #define USE_Z3950
     1956#define USE_Z3950 /**/
    14051957_ACEOF
    14061958
     
    14101962
    14111963
    1412 # Check whether --enable-yaz or --disable-yaz was given.
     1964# Check whether --enable-yaz was given.
    14131965if test "${enable_yaz+set}" = set; then
    1414   enableval="$enable_yaz"
    1415   USE_YAZ=$enableval
     1966  enableval=$enable_yaz; USE_YAZ=$enableval
    14161967else
    14171968  USE_YAZ=yes
    1418 fi;
     1969fi
     1970
    14191971if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
    14201972  USE_YAZ=1
    14211973  cat >>confdefs.h <<\_ACEOF
    1422 #define USE_YAZ
     1974#define USE_YAZ /**/
    14231975_ACEOF
    14241976
     
    14281980
    14291981
    1430 # Check whether --enable-java or --disable-java was given.
     1982# Check whether --enable-java was given.
    14311983if test "${enable_java+set}" = set; then
    1432   enableval="$enable_java"
    1433   ENABLE_JAVA=$enableval
     1984  enableval=$enable_java; ENABLE_JAVA=$enableval
    14341985else
    14351986  ENABLE_JAVA=yes
    1436 fi;
     1987fi
     1988
    14371989if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
    14381990  ENABLE_JAVA=1
     
    14482000
    14492001
    1450 # Check whether --enable-jdbm or --disable-jdbm was given.
     2002# Check whether --enable-jdbm was given.
    14512003if test "${enable_jdbm+set}" = set; then
    1452   enableval="$enable_jdbm"
    1453   USE_JDBM=$enableval
     2004  enableval=$enable_jdbm; USE_JDBM=$enableval
    14542005else
    14552006  USE_JDBM=yes
    1456 fi;
     2007fi
     2008
    14572009if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
    14582010  USE_JDBM=1
    14592011  cat >>confdefs.h <<\_ACEOF
    1460 #define USE_JDBM
     2012#define USE_JDBM /**/
    14612013_ACEOF
    14622014
     
    14662018
    14672019
    1468 # Check whether --enable-gdbm or --disable-gdbm was given.
     2020# Check whether --enable-gdbm was given.
    14692021if test "${enable_gdbm+set}" = set; then
    1470   enableval="$enable_gdbm"
    1471   USE_GDBM=$enableval
     2022  enableval=$enable_gdbm; USE_GDBM=$enableval
    14722023else
    14732024  USE_GDBM=yes
    1474 fi;
     2025fi
     2026
    14752027if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
    14762028  USE_GDBM=1
    14772029  cat >>confdefs.h <<\_ACEOF
    1478 #define USE_GDBM
     2030#define USE_GDBM /**/
    14792031_ACEOF
    14802032
     
    14842036
    14852037
    1486 # Check whether --enable-accentfold or --disable-accentfold was given.
     2038# Check whether --enable-accentfold was given.
    14872039if test "${enable_accentfold+set}" = set; then
    1488   enableval="$enable_accentfold"
    1489   ENABLE_ACCENTFOLD=$enableval
     2040  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
    14902041else
    14912042  ENABLE_ACCENTFOLD=yes
    1492 fi;
     2043fi
     2044
    14932045if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    14942046  ENABLE_ACCENTFOLD=1
    14952047  cat >>confdefs.h <<\_ACEOF
    1496 #define ENABLE_ACCENTFOLD
     2048#define ENABLE_ACCENTFOLD /**/
    14972049_ACEOF
    14982050
     
    15022054
    15032055
    1504 # Check whether --enable-sqlite or --disable-sqlite was given.
     2056# Check whether --enable-sqlite was given.
    15052057if test "${enable_sqlite+set}" = set; then
    1506   enableval="$enable_sqlite"
    1507   USE_SQLITE=$enableval
     2058  enableval=$enable_sqlite; USE_SQLITE=$enableval
    15082059else
    15092060  USE_SQLITE=yes
    1510 fi;
     2061fi
     2062
    15112063if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
    15122064  USE_SQLITE=1
    15132065  cat >>confdefs.h <<\_ACEOF
    1514 #define USE_SQLITE
     2066#define USE_SQLITE /**/
    15152067_ACEOF
    15162068
     
    15202072
    15212073
    1522 # Check whether --enable-rss or --disable-rss was given.
     2074# Check whether --enable-rss was given.
    15232075if test "${enable_rss+set}" = set; then
    1524   enableval="$enable_rss"
    1525   USE_RSS=$enableval
     2076  enableval=$enable_rss; USE_RSS=$enableval
    15262077else
    15272078  USE_RSS=yes
    1528 fi;
     2079fi
     2080
    15292081if test $USE_RSS = "yes" -o $USE_RSS = "1" ; then
    15302082  USE_RSS=1
    15312083  cat >>confdefs.h <<\_ACEOF
    1532 #define USE_RSS
     2084#define USE_RSS /**/
    15332085_ACEOF
    15342086
     
    15392091
    15402092
    1541 # Check whether --enable-apache-httpd or --disable-apache-httpd was given.
     2093# Check whether --enable-apache-httpd was given.
    15422094if test "${enable_apache_httpd+set}" = set; then
    1543   enableval="$enable_apache_httpd"
    1544   USE_APACHE_HTTPD=$enableval
     2095  enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval
    15452096else
    15462097  USE_APACHE_HTTPD=no
    1547 fi;
     2098fi
     2099
    15482100if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then
    15492101  USE_APACHE_HTTPD=1
    15502102  cat >>confdefs.h <<\_ACEOF
    1551 #define USE_APACHE_HTTPD
     2103#define USE_APACHE_HTTPD /**/
    15522104_ACEOF
    15532105
     
    15582110
    15592111
    1560 # Check whether --enable-mg or --disable-mg was given.
     2112# Check whether --enable-mg was given.
    15612113if test "${enable_mg+set}" = set; then
    1562   enableval="$enable_mg"
    1563   ENABLE_MG=$enableval
     2114  enableval=$enable_mg; ENABLE_MG=$enableval
    15642115else
    15652116  ENABLE_MG=yes
    1566 fi;
     2117fi
     2118
    15672119if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
    15682120  ENABLE_MG=1
    15692121  cat >>confdefs.h <<\_ACEOF
    1570 #define ENABLE_MG
     2122#define ENABLE_MG /**/
    15712123_ACEOF
    15722124
     
    15762128
    15772129
    1578 # Check whether --enable-mgpp or --disable-mgpp was given.
     2130# Check whether --enable-mgpp was given.
    15792131if test "${enable_mgpp+set}" = set; then
    1580   enableval="$enable_mgpp"
    1581   ENABLE_MGPP=$enableval
     2132  enableval=$enable_mgpp; ENABLE_MGPP=$enableval
    15822133else
    15832134  ENABLE_MGPP=yes
    1584 fi;
     2135fi
     2136
    15852137if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
    15862138  ENABLE_MGPP=1
    15872139  cat >>confdefs.h <<\_ACEOF
    1588 #define ENABLE_MGPP
     2140#define ENABLE_MGPP /**/
    15892141_ACEOF
    15902142
     
    15942146
    15952147
    1596 # Check whether --enable-lucene or --disable-lucene was given.
     2148# Check whether --enable-lucene was given.
    15972149if test "${enable_lucene+set}" = set; then
    1598   enableval="$enable_lucene"
    1599   ENABLE_LUCENE=$enableval
     2150  enableval=$enable_lucene; ENABLE_LUCENE=$enableval
    16002151else
    16012152  ENABLE_LUCENE=yes
    1602 fi;
     2153fi
     2154
    16032155if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
    16042156  ENABLE_LUCENE=1
    16052157  cat >>confdefs.h <<\_ACEOF
    1606 #define ENABLE_LUCENE
     2158#define ENABLE_LUCENE /**/
    16072159_ACEOF
    16082160
     
    16282180  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    16292181set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1630 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2182{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2183$as_echo_n "checking for $ac_word... " >&6; }
    16322184if test "${ac_cv_prog_CC+set}" = set; then
    1633   echo $ECHO_N "(cached) $ECHO_C" >&6
     2185  $as_echo_n "(cached) " >&6
    16342186else
    16352187  if test -n "$CC"; then
     
    16422194  test -z "$as_dir" && as_dir=.
    16432195  for ac_exec_ext in '' $ac_executable_extensions; do
    1644   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2196  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16452197    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1646     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2198    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    16472199    break 2
    16482200  fi
    16492201done
    16502202done
     2203IFS=$as_save_IFS
    16512204
    16522205fi
     
    16542207CC=$ac_cv_prog_CC
    16552208if test -n "$CC"; then
    1656   echo "$as_me:$LINENO: result: $CC" >&5
    1657 echo "${ECHO_T}$CC" >&6
    1658 else
    1659   echo "$as_me:$LINENO: result: no" >&5
    1660 echo "${ECHO_T}no" >&6
    1661 fi
     2209  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2210$as_echo "$CC" >&6; }
     2211else
     2212  { $as_echo "$as_me:$LINENO: result: no" >&5
     2213$as_echo "no" >&6; }
     2214fi
     2215
    16622216
    16632217fi
     
    16662220  # Extract the first word of "gcc", so it can be a program name with args.
    16672221set dummy gcc; ac_word=$2
    1668 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2222{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2223$as_echo_n "checking for $ac_word... " >&6; }
    16702224if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1671   echo $ECHO_N "(cached) $ECHO_C" >&6
     2225  $as_echo_n "(cached) " >&6
    16722226else
    16732227  if test -n "$ac_ct_CC"; then
     
    16802234  test -z "$as_dir" && as_dir=.
    16812235  for ac_exec_ext in '' $ac_executable_extensions; do
    1682   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2236  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16832237    ac_cv_prog_ac_ct_CC="gcc"
    1684     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2238    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    16852239    break 2
    16862240  fi
    16872241done
    16882242done
     2243IFS=$as_save_IFS
    16892244
    16902245fi
     
    16922247ac_ct_CC=$ac_cv_prog_ac_ct_CC
    16932248if test -n "$ac_ct_CC"; then
    1694   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1695 echo "${ECHO_T}$ac_ct_CC" >&6
    1696 else
    1697   echo "$as_me:$LINENO: result: no" >&5
    1698 echo "${ECHO_T}no" >&6
    1699 fi
    1700 
    1701   CC=$ac_ct_CC
     2249  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2250$as_echo "$ac_ct_CC" >&6; }
     2251else
     2252  { $as_echo "$as_me:$LINENO: result: no" >&5
     2253$as_echo "no" >&6; }
     2254fi
     2255
     2256  if test "x$ac_ct_CC" = x; then
     2257    CC=""
     2258  else
     2259    case $cross_compiling:$ac_tool_warned in
     2260yes:)
     2261{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2262$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2263ac_tool_warned=yes ;;
     2264esac
     2265    CC=$ac_ct_CC
     2266  fi
    17022267else
    17032268  CC="$ac_cv_prog_CC"
     
    17052270
    17062271if test -z "$CC"; then
    1707   if test -n "$ac_tool_prefix"; then
    1708   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2272          if test -n "$ac_tool_prefix"; then
     2273    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    17092274set dummy ${ac_tool_prefix}cc; ac_word=$2
    1710 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2275{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2276$as_echo_n "checking for $ac_word... " >&6; }
    17122277if test "${ac_cv_prog_CC+set}" = set; then
    1713   echo $ECHO_N "(cached) $ECHO_C" >&6
     2278  $as_echo_n "(cached) " >&6
    17142279else
    17152280  if test -n "$CC"; then
     
    17222287  test -z "$as_dir" && as_dir=.
    17232288  for ac_exec_ext in '' $ac_executable_extensions; do
    1724   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2289  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17252290    ac_cv_prog_CC="${ac_tool_prefix}cc"
    1726     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2291    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    17272292    break 2
    17282293  fi
    17292294done
    17302295done
     2296IFS=$as_save_IFS
    17312297
    17322298fi
     
    17342300CC=$ac_cv_prog_CC
    17352301if test -n "$CC"; then
    1736   echo "$as_me:$LINENO: result: $CC" >&5
    1737 echo "${ECHO_T}$CC" >&6
    1738 else
    1739   echo "$as_me:$LINENO: result: no" >&5
    1740 echo "${ECHO_T}no" >&6
    1741 fi
    1742 
    1743 fi
    1744 if test -z "$ac_cv_prog_CC"; then
    1745   ac_ct_CC=$CC
    1746   # Extract the first word of "cc", so it can be a program name with args.
    1747 set dummy cc; ac_word=$2
    1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1751   echo $ECHO_N "(cached) $ECHO_C" >&6
    1752 else
    1753   if test -n "$ac_ct_CC"; then
    1754   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1755 else
    1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1757 for as_dir in $PATH
    1758 do
    1759   IFS=$as_save_IFS
    1760   test -z "$as_dir" && as_dir=.
    1761   for ac_exec_ext in '' $ac_executable_extensions; do
    1762   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1763     ac_cv_prog_ac_ct_CC="cc"
    1764     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1765     break 2
     2302  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2303$as_echo "$CC" >&6; }
     2304else
     2305  { $as_echo "$as_me:$LINENO: result: no" >&5
     2306$as_echo "no" >&6; }
     2307fi
     2308
     2309
    17662310  fi
    1767 done
    1768 done
    1769 
    1770 fi
    1771 fi
    1772 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1773 if test -n "$ac_ct_CC"; then
    1774   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1775 echo "${ECHO_T}$ac_ct_CC" >&6
    1776 else
    1777   echo "$as_me:$LINENO: result: no" >&5
    1778 echo "${ECHO_T}no" >&6
    1779 fi
    1780 
    1781   CC=$ac_ct_CC
    1782 else
    1783   CC="$ac_cv_prog_CC"
    1784 fi
    1785 
    17862311fi
    17872312if test -z "$CC"; then
    17882313  # Extract the first word of "cc", so it can be a program name with args.
    17892314set dummy cc; ac_word=$2
    1790 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2315{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2316$as_echo_n "checking for $ac_word... " >&6; }
    17922317if test "${ac_cv_prog_CC+set}" = set; then
    1793   echo $ECHO_N "(cached) $ECHO_C" >&6
     2318  $as_echo_n "(cached) " >&6
    17942319else
    17952320  if test -n "$CC"; then
     
    18032328  test -z "$as_dir" && as_dir=.
    18042329  for ac_exec_ext in '' $ac_executable_extensions; do
    1805   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2330  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18062331    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    18072332       ac_prog_rejected=yes
     
    18092334     fi
    18102335    ac_cv_prog_CC="cc"
    1811     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2336    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18122337    break 2
    18132338  fi
    18142339done
    18152340done
     2341IFS=$as_save_IFS
    18162342
    18172343if test $ac_prog_rejected = yes; then
     
    18312357CC=$ac_cv_prog_CC
    18322358if test -n "$CC"; then
    1833   echo "$as_me:$LINENO: result: $CC" >&5
    1834 echo "${ECHO_T}$CC" >&6
    1835 else
    1836   echo "$as_me:$LINENO: result: no" >&5
    1837 echo "${ECHO_T}no" >&6
    1838 fi
     2359  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2360$as_echo "$CC" >&6; }
     2361else
     2362  { $as_echo "$as_me:$LINENO: result: no" >&5
     2363$as_echo "no" >&6; }
     2364fi
     2365
    18392366
    18402367fi
    18412368if test -z "$CC"; then
    18422369  if test -n "$ac_tool_prefix"; then
    1843   for ac_prog in cl
     2370  for ac_prog in cl.exe
    18442371  do
    18452372    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    18462373set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2374{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2375$as_echo_n "checking for $ac_word... " >&6; }
    18492376if test "${ac_cv_prog_CC+set}" = set; then
    1850   echo $ECHO_N "(cached) $ECHO_C" >&6
     2377  $as_echo_n "(cached) " >&6
    18512378else
    18522379  if test -n "$CC"; then
     
    18592386  test -z "$as_dir" && as_dir=.
    18602387  for ac_exec_ext in '' $ac_executable_extensions; do
    1861   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2388  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18622389    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2390    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18642391    break 2
    18652392  fi
    18662393done
    18672394done
     2395IFS=$as_save_IFS
    18682396
    18692397fi
     
    18712399CC=$ac_cv_prog_CC
    18722400if test -n "$CC"; then
    1873   echo "$as_me:$LINENO: result: $CC" >&5
    1874 echo "${ECHO_T}$CC" >&6
    1875 else
    1876   echo "$as_me:$LINENO: result: no" >&5
    1877 echo "${ECHO_T}no" >&6
    1878 fi
     2401  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2402$as_echo "$CC" >&6; }
     2403else
     2404  { $as_echo "$as_me:$LINENO: result: no" >&5
     2405$as_echo "no" >&6; }
     2406fi
     2407
    18792408
    18802409    test -n "$CC" && break
     
    18832412if test -z "$CC"; then
    18842413  ac_ct_CC=$CC
    1885   for ac_prog in cl
     2414  for ac_prog in cl.exe
    18862415do
    18872416  # Extract the first word of "$ac_prog", so it can be a program name with args.
    18882417set dummy $ac_prog; ac_word=$2
    1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2418{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2419$as_echo_n "checking for $ac_word... " >&6; }
    18912420if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1892   echo $ECHO_N "(cached) $ECHO_C" >&6
     2421  $as_echo_n "(cached) " >&6
    18932422else
    18942423  if test -n "$ac_ct_CC"; then
     
    19012430  test -z "$as_dir" && as_dir=.
    19022431  for ac_exec_ext in '' $ac_executable_extensions; do
    1903   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2432  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    19042433    ac_cv_prog_ac_ct_CC="$ac_prog"
    1905     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2434    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    19062435    break 2
    19072436  fi
    19082437done
    19092438done
     2439IFS=$as_save_IFS
    19102440
    19112441fi
     
    19132443ac_ct_CC=$ac_cv_prog_ac_ct_CC
    19142444if test -n "$ac_ct_CC"; then
    1915   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1916 echo "${ECHO_T}$ac_ct_CC" >&6
    1917 else
    1918   echo "$as_me:$LINENO: result: no" >&5
    1919 echo "${ECHO_T}no" >&6
    1920 fi
     2445  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2446$as_echo "$ac_ct_CC" >&6; }
     2447else
     2448  { $as_echo "$as_me:$LINENO: result: no" >&5
     2449$as_echo "no" >&6; }
     2450fi
     2451
    19212452
    19222453  test -n "$ac_ct_CC" && break
    19232454done
    19242455
    1925   CC=$ac_ct_CC
    1926 fi
    1927 
    1928 fi
    1929 
    1930 
    1931 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2456  if test "x$ac_ct_CC" = x; then
     2457    CC=""
     2458  else
     2459    case $cross_compiling:$ac_tool_warned in
     2460yes:)
     2461{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2462$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2463ac_tool_warned=yes ;;
     2464esac
     2465    CC=$ac_ct_CC
     2466  fi
     2467fi
     2468
     2469fi
     2470
     2471
     2472test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2473$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2474{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    19322475See \`config.log' for more details." >&5
    1933 echo "$as_me: error: no acceptable C compiler found in \$PATH
     2476$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    19342477See \`config.log' for more details." >&2;}
    1935    { (exit 1); exit 1; }; }
     2478   { (exit 1); exit 1; }; }; }
    19362479
    19372480# Provide some information about the compiler.
    1938 echo "$as_me:$LINENO:" \
    1939      "checking for C compiler version" >&5
    1940 ac_compiler=`set X $ac_compile; echo $2`
    1941 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1942   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2481$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     2482set X $ac_compile
     2483ac_compiler=$2
     2484{ (ac_try="$ac_compiler --version >&5"
     2485case "(($ac_try" in
     2486  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2487  *) ac_try_echo=$ac_try;;
     2488esac
     2489eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2490$as_echo "$ac_try_echo") >&5
     2491  (eval "$ac_compiler --version >&5") 2>&5
    19432492  ac_status=$?
    1944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2493  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19452494  (exit $ac_status); }
    1946 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1947   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2495{ (ac_try="$ac_compiler -v >&5"
     2496case "(($ac_try" in
     2497  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2498  *) ac_try_echo=$ac_try;;
     2499esac
     2500eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2501$as_echo "$ac_try_echo") >&5
     2502  (eval "$ac_compiler -v >&5") 2>&5
    19482503  ac_status=$?
    1949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2504  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19502505  (exit $ac_status); }
    1951 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1952   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2506{ (ac_try="$ac_compiler -V >&5"
     2507case "(($ac_try" in
     2508  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2509  *) ac_try_echo=$ac_try;;
     2510esac
     2511eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2512$as_echo "$ac_try_echo") >&5
     2513  (eval "$ac_compiler -V >&5") 2>&5
    19532514  ac_status=$?
    1954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2515  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19552516  (exit $ac_status); }
    19562517
     
    19712532_ACEOF
    19722533ac_clean_files_save=$ac_clean_files
    1973 ac_clean_files="$ac_clean_files a.out a.exe b.out"
     2534ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    19742535# Try to create an executable without -o first, disregard a.out.
    19752536# It will help us diagnose broken compilers, and finding out an intuition
    19762537# of exeext.
    1977 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1978 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    1979 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1980 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1981   (eval $ac_link_default) 2>&5
     2538{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2539$as_echo_n "checking for C compiler default output file name... " >&6; }
     2540ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2541
     2542# The possible output files:
     2543ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2544
     2545ac_rmfiles=
     2546for ac_file in $ac_files
     2547do
     2548  case $ac_file in
     2549    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2550    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2551  esac
     2552done
     2553rm -f $ac_rmfiles
     2554
     2555if { (ac_try="$ac_link_default"
     2556case "(($ac_try" in
     2557  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2558  *) ac_try_echo=$ac_try;;
     2559esac
     2560eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2561$as_echo "$ac_try_echo") >&5
     2562  (eval "$ac_link_default") 2>&5
    19822563  ac_status=$?
    1983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2564  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19842565  (exit $ac_status); }; then
    1985   # Find the output, starting from the most likely.  This scheme is
    1986 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1987 # resort.
    1988 
    1989 # Be careful to initialize this variable, since it used to be cached.
    1990 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1991 ac_cv_exeext=
    1992 # b.out is created by i960 compilers.
    1993 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2566  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2567# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2568# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2569# so that the user can short-circuit this test for compilers unknown to
     2570# Autoconf.
     2571for ac_file in $ac_files ''
    19942572do
    19952573  test -f "$ac_file" || continue
    19962574  case $ac_file in
    1997     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1998     ;;
    1999     conftest.$ac_ext )
    2000     # This is the source file.
     2575    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    20012576    ;;
    20022577    [ab].out )
     
    20052580    break;;
    20062581    *.* )
    2007     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2008     # FIXME: I believe we export ac_cv_exeext for Libtool,
    2009     # but it would be cool to find out if it's true.  Does anybody
    2010     # maintain Libtool? --akim.
    2011     export ac_cv_exeext
     2582        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2583    then :; else
     2584       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2585    fi
     2586    # We set ac_cv_exeext here because the later test for it is not
     2587    # safe: cross compilers may not add the suffix if given an `-o'
     2588    # argument, so we may need to know it at that point already.
     2589    # Even if this section looks crufty: it has the advantage of
     2590    # actually working.
    20122591    break;;
    20132592    * )
     
    20152594  esac
    20162595done
    2017 else
    2018   echo "$as_me: failed program was:" >&5
     2596test "$ac_cv_exeext" = no && ac_cv_exeext=
     2597
     2598else
     2599  ac_file=''
     2600fi
     2601
     2602{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2603$as_echo "$ac_file" >&6; }
     2604if test -z "$ac_file"; then
     2605  $as_echo "$as_me: failed program was:" >&5
    20192606sed 's/^/| /' conftest.$ac_ext >&5
    20202607
    2021 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
     2608{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2609$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2610{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    20222611See \`config.log' for more details." >&5
    2023 echo "$as_me: error: C compiler cannot create executables
     2612$as_echo "$as_me: error: C compiler cannot create executables
    20242613See \`config.log' for more details." >&2;}
    2025    { (exit 77); exit 77; }; }
     2614   { (exit 77); exit 77; }; }; }
    20262615fi
    20272616
    20282617ac_exeext=$ac_cv_exeext
    2029 echo "$as_me:$LINENO: result: $ac_file" >&5
    2030 echo "${ECHO_T}$ac_file" >&6
    2031 
    2032 # Check the compiler produces executables we can run.  If not, either
     2618
     2619# Check that the compiler produces executables we can run.  If not, either
    20332620# the compiler is broken, or we cross compile.
    2034 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2035 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2621{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2622$as_echo_n "checking whether the C compiler works... " >&6; }
    20362623# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    20372624# If not cross compiling, check that we can run a simple program.
    20382625if test "$cross_compiling" != yes; then
    20392626  if { ac_try='./$ac_file'
    2040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2041   (eval $ac_try) 2>&5
     2627  { (case "(($ac_try" in
     2628  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2629  *) ac_try_echo=$ac_try;;
     2630esac
     2631eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2632$as_echo "$ac_try_echo") >&5
     2633  (eval "$ac_try") 2>&5
    20422634  ac_status=$?
    2043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2635  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20442636  (exit $ac_status); }; }; then
    20452637    cross_compiling=no
     
    20482640    cross_compiling=yes
    20492641    else
    2050     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2642    { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2643$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2644{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    20512645If you meant to cross compile, use \`--host'.
    20522646See \`config.log' for more details." >&5
    2053 echo "$as_me: error: cannot run C compiled programs.
     2647$as_echo "$as_me: error: cannot run C compiled programs.
    20542648If you meant to cross compile, use \`--host'.
    20552649See \`config.log' for more details." >&2;}
    2056    { (exit 1); exit 1; }; }
     2650   { (exit 1); exit 1; }; }; }
    20572651    fi
    20582652  fi
    20592653fi
    2060 echo "$as_me:$LINENO: result: yes" >&5
    2061 echo "${ECHO_T}yes" >&6
    2062 
    2063 rm -f a.out a.exe conftest$ac_cv_exeext b.out
     2654{ $as_echo "$as_me:$LINENO: result: yes" >&5
     2655$as_echo "yes" >&6; }
     2656
     2657rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    20642658ac_clean_files=$ac_clean_files_save
    2065 # Check the compiler produces executables we can run.  If not, either
     2659# Check that the compiler produces executables we can run.  If not, either
    20662660# the compiler is broken, or we cross compile.
    2067 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2068 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    2069 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2070 echo "${ECHO_T}$cross_compiling" >&6
    2071 
    2072 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2073 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    2074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2075   (eval $ac_link) 2>&5
     2661{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2662$as_echo_n "checking whether we are cross compiling... " >&6; }
     2663{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2664$as_echo "$cross_compiling" >&6; }
     2665
     2666{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2667$as_echo_n "checking for suffix of executables... " >&6; }
     2668if { (ac_try="$ac_link"
     2669case "(($ac_try" in
     2670  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2671  *) ac_try_echo=$ac_try;;
     2672esac
     2673eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2674$as_echo "$ac_try_echo") >&5
     2675  (eval "$ac_link") 2>&5
    20762676  ac_status=$?
    2077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2677  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20782678  (exit $ac_status); }; then
    20792679  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     
    20842684  test -f "$ac_file" || continue
    20852685  case $ac_file in
    2086     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2686    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    20872687    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2088       export ac_cv_exeext
    20892688      break;;
    20902689    * ) break;;
     
    20922691done
    20932692else
    2094   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2693  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2695{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    20952696See \`config.log' for more details." >&5
    2096 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2697$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    20972698See \`config.log' for more details." >&2;}
    2098    { (exit 1); exit 1; }; }
     2699   { (exit 1); exit 1; }; }; }
    20992700fi
    21002701
    21012702rm -f conftest$ac_cv_exeext
    2102 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2103 echo "${ECHO_T}$ac_cv_exeext" >&6
     2703{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2704$as_echo "$ac_cv_exeext" >&6; }
    21042705
    21052706rm -f conftest.$ac_ext
    21062707EXEEXT=$ac_cv_exeext
    21072708ac_exeext=$EXEEXT
    2108 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2109 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2709{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2710$as_echo_n "checking for suffix of object files... " >&6; }
    21102711if test "${ac_cv_objext+set}" = set; then
    2111   echo $ECHO_N "(cached) $ECHO_C" >&6
     2712  $as_echo_n "(cached) " >&6
    21122713else
    21132714  cat >conftest.$ac_ext <<_ACEOF
     
    21272728_ACEOF
    21282729rm -f conftest.o conftest.obj
    2129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2130   (eval $ac_compile) 2>&5
     2730if { (ac_try="$ac_compile"
     2731case "(($ac_try" in
     2732  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2733  *) ac_try_echo=$ac_try;;
     2734esac
     2735eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2736$as_echo "$ac_try_echo") >&5
     2737  (eval "$ac_compile") 2>&5
    21312738  ac_status=$?
    2132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2739  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21332740  (exit $ac_status); }; then
    2134   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2741  for ac_file in conftest.o conftest.obj conftest.*; do
     2742  test -f "$ac_file" || continue;
    21352743  case $ac_file in
    2136     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2744    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    21372745    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    21382746       break;;
     
    21402748done
    21412749else
    2142   echo "$as_me: failed program was:" >&5
     2750  $as_echo "$as_me: failed program was:" >&5
    21432751sed 's/^/| /' conftest.$ac_ext >&5
    21442752
    2145 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2753{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2755{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    21462756See \`config.log' for more details." >&5
    2147 echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2757$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    21482758See \`config.log' for more details." >&2;}
    2149    { (exit 1); exit 1; }; }
     2759   { (exit 1); exit 1; }; }; }
    21502760fi
    21512761
    21522762rm -f conftest.$ac_cv_objext conftest.$ac_ext
    21532763fi
    2154 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2155 echo "${ECHO_T}$ac_cv_objext" >&6
     2764{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2765$as_echo "$ac_cv_objext" >&6; }
    21562766OBJEXT=$ac_cv_objext
    21572767ac_objext=$OBJEXT
    2158 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2159 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2768{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2769$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    21602770if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2161   echo $ECHO_N "(cached) $ECHO_C" >&6
     2771  $as_echo_n "(cached) " >&6
    21622772else
    21632773  cat >conftest.$ac_ext <<_ACEOF
     
    21802790_ACEOF
    21812791rm -f conftest.$ac_objext
    2182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2183   (eval $ac_compile) 2>conftest.er1
     2792if { (ac_try="$ac_compile"
     2793case "(($ac_try" in
     2794  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2795  *) ac_try_echo=$ac_try;;
     2796esac
     2797eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2798$as_echo "$ac_try_echo") >&5
     2799  (eval "$ac_compile") 2>conftest.er1
    21842800  ac_status=$?
    21852801  grep -v '^ *+' conftest.er1 >conftest.err
    21862802  rm -f conftest.er1
    21872803  cat conftest.err >&5
    2188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2189   (exit $ac_status); } &&
    2190      { ac_try='test -z "$ac_c_werror_flag"
    2191              || test ! -s conftest.err'
    2192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2193   (eval $ac_try) 2>&5
    2194   ac_status=$?
    2195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2196   (exit $ac_status); }; } &&
    2197      { ac_try='test -s conftest.$ac_objext'
    2198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2199   (eval $ac_try) 2>&5
    2200   ac_status=$?
    2201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2202   (exit $ac_status); }; }; then
     2804  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2805  (exit $ac_status); } && {
     2806     test -z "$ac_c_werror_flag" ||
     2807     test ! -s conftest.err
     2808       } && test -s conftest.$ac_objext; then
    22032809  ac_compiler_gnu=yes
    22042810else
    2205   echo "$as_me: failed program was:" >&5
     2811  $as_echo "$as_me: failed program was:" >&5
    22062812sed 's/^/| /' conftest.$ac_ext >&5
    22072813
    2208 ac_compiler_gnu=no
    2209 fi
    2210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2814    ac_compiler_gnu=no
     2815fi
     2816
     2817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    22112818ac_cv_c_compiler_gnu=$ac_compiler_gnu
    22122819
    22132820fi
    2214 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2215 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2216 GCC=`test $ac_compiler_gnu = yes && echo yes`
     2821{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2822$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     2823if test $ac_compiler_gnu = yes; then
     2824  GCC=yes
     2825else
     2826  GCC=
     2827fi
    22172828ac_test_CFLAGS=${CFLAGS+set}
    22182829ac_save_CFLAGS=$CFLAGS
    2219 CFLAGS="-g"
    2220 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2221 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2830{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2831$as_echo_n "checking whether $CC accepts -g... " >&6; }
    22222832if test "${ac_cv_prog_cc_g+set}" = set; then
    2223   echo $ECHO_N "(cached) $ECHO_C" >&6
    2224 else
    2225   cat >conftest.$ac_ext <<_ACEOF
     2833  $as_echo_n "(cached) " >&6
     2834else
     2835  ac_save_c_werror_flag=$ac_c_werror_flag
     2836   ac_c_werror_flag=yes
     2837   ac_cv_prog_cc_g=no
     2838   CFLAGS="-g"
     2839   cat >conftest.$ac_ext <<_ACEOF
    22262840/* confdefs.h.  */
    22272841_ACEOF
     
    22392853_ACEOF
    22402854rm -f conftest.$ac_objext
    2241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2242   (eval $ac_compile) 2>conftest.er1
     2855if { (ac_try="$ac_compile"
     2856case "(($ac_try" in
     2857  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2858  *) ac_try_echo=$ac_try;;
     2859esac
     2860eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2861$as_echo "$ac_try_echo") >&5
     2862  (eval "$ac_compile") 2>conftest.er1
    22432863  ac_status=$?
    22442864  grep -v '^ *+' conftest.er1 >conftest.err
    22452865  rm -f conftest.er1
    22462866  cat conftest.err >&5
    2247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2248   (exit $ac_status); } &&
    2249      { ac_try='test -z "$ac_c_werror_flag"
    2250              || test ! -s conftest.err'
    2251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2252   (eval $ac_try) 2>&5
     2867  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2868  (exit $ac_status); } && {
     2869     test -z "$ac_c_werror_flag" ||
     2870     test ! -s conftest.err
     2871       } && test -s conftest.$ac_objext; then
     2872  ac_cv_prog_cc_g=yes
     2873else
     2874  $as_echo "$as_me: failed program was:" >&5
     2875sed 's/^/| /' conftest.$ac_ext >&5
     2876
     2877    CFLAGS=""
     2878      cat >conftest.$ac_ext <<_ACEOF
     2879/* confdefs.h.  */
     2880_ACEOF
     2881cat confdefs.h >>conftest.$ac_ext
     2882cat >>conftest.$ac_ext <<_ACEOF
     2883/* end confdefs.h.  */
     2884
     2885int
     2886main ()
     2887{
     2888
     2889  ;
     2890  return 0;
     2891}
     2892_ACEOF
     2893rm -f conftest.$ac_objext
     2894if { (ac_try="$ac_compile"
     2895case "(($ac_try" in
     2896  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2897  *) ac_try_echo=$ac_try;;
     2898esac
     2899eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2900$as_echo "$ac_try_echo") >&5
     2901  (eval "$ac_compile") 2>conftest.er1
    22532902  ac_status=$?
    2254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2255   (exit $ac_status); }; } &&
    2256      { ac_try='test -s conftest.$ac_objext'
    2257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2258   (eval $ac_try) 2>&5
     2903  grep -v '^ *+' conftest.er1 >conftest.err
     2904  rm -f conftest.er1
     2905  cat conftest.err >&5
     2906  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2907  (exit $ac_status); } && {
     2908     test -z "$ac_c_werror_flag" ||
     2909     test ! -s conftest.err
     2910       } && test -s conftest.$ac_objext; then
     2911  :
     2912else
     2913  $as_echo "$as_me: failed program was:" >&5
     2914sed 's/^/| /' conftest.$ac_ext >&5
     2915
     2916    ac_c_werror_flag=$ac_save_c_werror_flag
     2917     CFLAGS="-g"
     2918     cat >conftest.$ac_ext <<_ACEOF
     2919/* confdefs.h.  */
     2920_ACEOF
     2921cat confdefs.h >>conftest.$ac_ext
     2922cat >>conftest.$ac_ext <<_ACEOF
     2923/* end confdefs.h.  */
     2924
     2925int
     2926main ()
     2927{
     2928
     2929  ;
     2930  return 0;
     2931}
     2932_ACEOF
     2933rm -f conftest.$ac_objext
     2934if { (ac_try="$ac_compile"
     2935case "(($ac_try" in
     2936  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2937  *) ac_try_echo=$ac_try;;
     2938esac
     2939eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2940$as_echo "$ac_try_echo") >&5
     2941  (eval "$ac_compile") 2>conftest.er1
    22592942  ac_status=$?
    2260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2261   (exit $ac_status); }; }; then
     2943  grep -v '^ *+' conftest.er1 >conftest.err
     2944  rm -f conftest.er1
     2945  cat conftest.err >&5
     2946  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2947  (exit $ac_status); } && {
     2948     test -z "$ac_c_werror_flag" ||
     2949     test ! -s conftest.err
     2950       } && test -s conftest.$ac_objext; then
    22622951  ac_cv_prog_cc_g=yes
    22632952else
    2264   echo "$as_me: failed program was:" >&5
     2953  $as_echo "$as_me: failed program was:" >&5
    22652954sed 's/^/| /' conftest.$ac_ext >&5
    22662955
    2267 ac_cv_prog_cc_g=no
    2268 fi
    2269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2270 fi
    2271 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2272 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2956
     2957fi
     2958
     2959rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2960fi
     2961
     2962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2963fi
     2964
     2965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2966   ac_c_werror_flag=$ac_save_c_werror_flag
     2967fi
     2968{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2969$as_echo "$ac_cv_prog_cc_g" >&6; }
    22732970if test "$ac_test_CFLAGS" = set; then
    22742971  CFLAGS=$ac_save_CFLAGS
     
    22862983  fi
    22872984fi
    2288 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2289 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2290 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2291   echo $ECHO_N "(cached) $ECHO_C" >&6
    2292 else
    2293   ac_cv_prog_cc_stdc=no
     2985{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2986$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     2987if test "${ac_cv_prog_cc_c89+set}" = set; then
     2988  $as_echo_n "(cached) " >&6
     2989else
     2990  ac_cv_prog_cc_c89=no
    22942991ac_save_CC=$CC
    22952992cat >conftest.$ac_ext <<_ACEOF
     
    23253022   function prototypes and stuff, but not '\xHH' hex character constants.
    23263023   These don't provoke an error unfortunately, instead are silently treated
    2327    as 'x'.  The following induces an error, until -std1 is added to get
     3024   as 'x'.  The following induces an error, until -std is added to get
    23283025   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    23293026   array size at least.  It's necessary to write '\x00'==0 to get something
    2330    that's true only with -std1.  */
     3027   that's true only with -std.  */
    23313028int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     3029
     3030/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     3031   inside strings and character constants.  */
     3032#define FOO(x) 'x'
     3033int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    23323034
    23333035int test (int i, double x);
     
    23453047}
    23463048_ACEOF
    2347 # Don't try gcc -ansi; that turns off useful extensions and
    2348 # breaks some systems' header files.
    2349 # AIX           -qlanglvl=ansi
    2350 # Ultrix and OSF/1  -std1
    2351 # HP-UX 10.20 and later -Ae
    2352 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2353 # SVR4          -Xc -D__EXTENSIONS__
    2354 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     3049for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     3050    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    23553051do
    23563052  CC="$ac_save_CC $ac_arg"
    23573053  rm -f conftest.$ac_objext
    2358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2359   (eval $ac_compile) 2>conftest.er1
     3054if { (ac_try="$ac_compile"
     3055case "(($ac_try" in
     3056  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3057  *) ac_try_echo=$ac_try;;
     3058esac
     3059eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3060$as_echo "$ac_try_echo") >&5
     3061  (eval "$ac_compile") 2>conftest.er1
    23603062  ac_status=$?
    23613063  grep -v '^ *+' conftest.er1 >conftest.err
    23623064  rm -f conftest.er1
    23633065  cat conftest.err >&5
    2364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2365   (exit $ac_status); } &&
    2366      { ac_try='test -z "$ac_c_werror_flag"
    2367              || test ! -s conftest.err'
    2368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2369   (eval $ac_try) 2>&5
    2370   ac_status=$?
    2371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2372   (exit $ac_status); }; } &&
    2373      { ac_try='test -s conftest.$ac_objext'
    2374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2375   (eval $ac_try) 2>&5
    2376   ac_status=$?
    2377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2378   (exit $ac_status); }; }; then
    2379   ac_cv_prog_cc_stdc=$ac_arg
    2380 break
    2381 else
    2382   echo "$as_me: failed program was:" >&5
     3066  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3067  (exit $ac_status); } && {
     3068     test -z "$ac_c_werror_flag" ||
     3069     test ! -s conftest.err
     3070       } && test -s conftest.$ac_objext; then
     3071  ac_cv_prog_cc_c89=$ac_arg
     3072else
     3073  $as_echo "$as_me: failed program was:" >&5
    23833074sed 's/^/| /' conftest.$ac_ext >&5
    23843075
    2385 fi
    2386 rm -f conftest.err conftest.$ac_objext
     3076
     3077fi
     3078
     3079rm -f core conftest.err conftest.$ac_objext
     3080  test "x$ac_cv_prog_cc_c89" != "xno" && break
    23873081done
    2388 rm -f conftest.$ac_ext conftest.$ac_objext
     3082rm -f conftest.$ac_ext
    23893083CC=$ac_save_CC
    23903084
    23913085fi
    2392 
    2393 case "x$ac_cv_prog_cc_stdc" in
    2394   x|xno)
    2395     echo "$as_me:$LINENO: result: none needed" >&5
    2396 echo "${ECHO_T}none needed" >&6 ;;
     3086# AC_CACHE_VAL
     3087case "x$ac_cv_prog_cc_c89" in
     3088  x)
     3089    { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3090$as_echo "none needed" >&6; } ;;
     3091  xno)
     3092    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3093$as_echo "unsupported" >&6; } ;;
    23973094  *)
    2398     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2399 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2400     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2401 esac
    2402 
    2403 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2404 # in C++ we need to declare it.  In case someone uses the same compiler
    2405 # for both compiling C and C++ we need to have the C++ compiler decide
    2406 # the declaration of exit, since it's the most demanding environment.
    2407 cat >conftest.$ac_ext <<_ACEOF
    2408 #ifndef __cplusplus
    2409   choke me
    2410 #endif
    2411 _ACEOF
    2412 rm -f conftest.$ac_objext
    2413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2414   (eval $ac_compile) 2>conftest.er1
    2415   ac_status=$?
    2416   grep -v '^ *+' conftest.er1 >conftest.err
    2417   rm -f conftest.er1
    2418   cat conftest.err >&5
    2419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2420   (exit $ac_status); } &&
    2421      { ac_try='test -z "$ac_c_werror_flag"
    2422              || test ! -s conftest.err'
    2423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2424   (eval $ac_try) 2>&5
    2425   ac_status=$?
    2426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2427   (exit $ac_status); }; } &&
    2428      { ac_try='test -s conftest.$ac_objext'
    2429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2430   (eval $ac_try) 2>&5
    2431   ac_status=$?
    2432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2433   (exit $ac_status); }; }; then
    2434   for ac_declaration in \
    2435    '' \
    2436    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2437    'extern "C" void std::exit (int); using std::exit;' \
    2438    'extern "C" void exit (int) throw ();' \
    2439    'extern "C" void exit (int);' \
    2440    'void exit (int);'
    2441 do
    2442   cat >conftest.$ac_ext <<_ACEOF
    2443 /* confdefs.h.  */
    2444 _ACEOF
    2445 cat confdefs.h >>conftest.$ac_ext
    2446 cat >>conftest.$ac_ext <<_ACEOF
    2447 /* end confdefs.h.  */
    2448 $ac_declaration
    2449 #include <stdlib.h>
    2450 int
    2451 main ()
    2452 {
    2453 exit (42);
    2454   ;
    2455   return 0;
    2456 }
    2457 _ACEOF
    2458 rm -f conftest.$ac_objext
    2459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2460   (eval $ac_compile) 2>conftest.er1
    2461   ac_status=$?
    2462   grep -v '^ *+' conftest.er1 >conftest.err
    2463   rm -f conftest.er1
    2464   cat conftest.err >&5
    2465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2466   (exit $ac_status); } &&
    2467      { ac_try='test -z "$ac_c_werror_flag"
    2468              || test ! -s conftest.err'
    2469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2470   (eval $ac_try) 2>&5
    2471   ac_status=$?
    2472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2473   (exit $ac_status); }; } &&
    2474      { ac_try='test -s conftest.$ac_objext'
    2475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2476   (eval $ac_try) 2>&5
    2477   ac_status=$?
    2478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2479   (exit $ac_status); }; }; then
    2480   :
    2481 else
    2482   echo "$as_me: failed program was:" >&5
    2483 sed 's/^/| /' conftest.$ac_ext >&5
    2484 
    2485 continue
    2486 fi
    2487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2488   cat >conftest.$ac_ext <<_ACEOF
    2489 /* confdefs.h.  */
    2490 _ACEOF
    2491 cat confdefs.h >>conftest.$ac_ext
    2492 cat >>conftest.$ac_ext <<_ACEOF
    2493 /* end confdefs.h.  */
    2494 $ac_declaration
    2495 int
    2496 main ()
    2497 {
    2498 exit (42);
    2499   ;
    2500   return 0;
    2501 }
    2502 _ACEOF
    2503 rm -f conftest.$ac_objext
    2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2505   (eval $ac_compile) 2>conftest.er1
    2506   ac_status=$?
    2507   grep -v '^ *+' conftest.er1 >conftest.err
    2508   rm -f conftest.er1
    2509   cat conftest.err >&5
    2510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2511   (exit $ac_status); } &&
    2512      { ac_try='test -z "$ac_c_werror_flag"
    2513              || test ! -s conftest.err'
    2514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2515   (eval $ac_try) 2>&5
    2516   ac_status=$?
    2517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2518   (exit $ac_status); }; } &&
    2519      { ac_try='test -s conftest.$ac_objext'
    2520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2521   (eval $ac_try) 2>&5
    2522   ac_status=$?
    2523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2524   (exit $ac_status); }; }; then
    2525   break
    2526 else
    2527   echo "$as_me: failed program was:" >&5
    2528 sed 's/^/| /' conftest.$ac_ext >&5
    2529 
    2530 fi
    2531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2532 done
    2533 rm -f conftest*
    2534 if test -n "$ac_declaration"; then
    2535   echo '#ifdef __cplusplus' >>confdefs.h
    2536   echo $ac_declaration      >>confdefs.h
    2537   echo '#endif'             >>confdefs.h
    2538 fi
    2539 
    2540 else
    2541   echo "$as_me: failed program was:" >&5
    2542 sed 's/^/| /' conftest.$ac_ext >&5
    2543 
    2544 fi
    2545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3095    CC="$CC $ac_cv_prog_cc_c89"
     3096    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3097$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     3098esac
     3099
     3100
    25463101ac_ext=c
    25473102ac_cpp='$CPP $CPPFLAGS'
     
    25503105ac_compiler_gnu=$ac_cv_c_compiler_gnu
    25513106
    2552 ac_ext=cc
     3107ac_ext=cpp
    25533108ac_cpp='$CXXCPP $CPPFLAGS'
    25543109ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    25553110ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25563111ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2557 if test -n "$ac_tool_prefix"; then
    2558   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3112if test -z "$CXX"; then
     3113  if test -n "$CCC"; then
     3114    CXX=$CCC
     3115  else
     3116    if test -n "$ac_tool_prefix"; then
     3117  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    25593118  do
    25603119    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    25613120set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2562 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3121{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3122$as_echo_n "checking for $ac_word... " >&6; }
    25643123if test "${ac_cv_prog_CXX+set}" = set; then
    2565   echo $ECHO_N "(cached) $ECHO_C" >&6
     3124  $as_echo_n "(cached) " >&6
    25663125else
    25673126  if test -n "$CXX"; then
     
    25743133  test -z "$as_dir" && as_dir=.
    25753134  for ac_exec_ext in '' $ac_executable_extensions; do
    2576   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3135  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    25773136    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    2578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3137    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    25793138    break 2
    25803139  fi
    25813140done
    25823141done
     3142IFS=$as_save_IFS
    25833143
    25843144fi
     
    25863146CXX=$ac_cv_prog_CXX
    25873147if test -n "$CXX"; then
    2588   echo "$as_me:$LINENO: result: $CXX" >&5
    2589 echo "${ECHO_T}$CXX" >&6
    2590 else
    2591   echo "$as_me:$LINENO: result: no" >&5
    2592 echo "${ECHO_T}no" >&6
    2593 fi
     3148  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3149$as_echo "$CXX" >&6; }
     3150else
     3151  { $as_echo "$as_me:$LINENO: result: no" >&5
     3152$as_echo "no" >&6; }
     3153fi
     3154
    25943155
    25953156    test -n "$CXX" && break
     
    25983159if test -z "$CXX"; then
    25993160  ac_ct_CXX=$CXX
    2600   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3161  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    26013162do
    26023163  # Extract the first word of "$ac_prog", so it can be a program name with args.
    26033164set dummy $ac_prog; ac_word=$2
    2604 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3165{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3166$as_echo_n "checking for $ac_word... " >&6; }
    26063167if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    2607   echo $ECHO_N "(cached) $ECHO_C" >&6
     3168  $as_echo_n "(cached) " >&6
    26083169else
    26093170  if test -n "$ac_ct_CXX"; then
     
    26163177  test -z "$as_dir" && as_dir=.
    26173178  for ac_exec_ext in '' $ac_executable_extensions; do
    2618   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3179  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    26193180    ac_cv_prog_ac_ct_CXX="$ac_prog"
    2620     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3181    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    26213182    break 2
    26223183  fi
    26233184done
    26243185done
     3186IFS=$as_save_IFS
    26253187
    26263188fi
     
    26283190ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    26293191if test -n "$ac_ct_CXX"; then
    2630   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2631 echo "${ECHO_T}$ac_ct_CXX" >&6
    2632 else
    2633   echo "$as_me:$LINENO: result: no" >&5
    2634 echo "${ECHO_T}no" >&6
    2635 fi
     3192  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3193$as_echo "$ac_ct_CXX" >&6; }
     3194else
     3195  { $as_echo "$as_me:$LINENO: result: no" >&5
     3196$as_echo "no" >&6; }
     3197fi
     3198
    26363199
    26373200  test -n "$ac_ct_CXX" && break
    26383201done
    2639 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2640 
    2641   CXX=$ac_ct_CXX
    2642 fi
    2643 
    2644 
     3202
     3203  if test "x$ac_ct_CXX" = x; then
     3204    CXX="g++"
     3205  else
     3206    case $cross_compiling:$ac_tool_warned in
     3207yes:)
     3208{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3209$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3210ac_tool_warned=yes ;;
     3211esac
     3212    CXX=$ac_ct_CXX
     3213  fi
     3214fi
     3215
     3216  fi
     3217fi
    26453218# Provide some information about the compiler.
    2646 echo "$as_me:$LINENO:" \
    2647      "checking for C++ compiler version" >&5
    2648 ac_compiler=`set X $ac_compile; echo $2`
    2649 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2650   (eval $ac_compiler --version </dev/null >&5) 2>&5
     3219$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     3220set X $ac_compile
     3221ac_compiler=$2
     3222{ (ac_try="$ac_compiler --version >&5"
     3223case "(($ac_try" in
     3224  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3225  *) ac_try_echo=$ac_try;;
     3226esac
     3227eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3228$as_echo "$ac_try_echo") >&5
     3229  (eval "$ac_compiler --version >&5") 2>&5
    26513230  ac_status=$?
    2652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3231  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26533232  (exit $ac_status); }
    2654 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2655   (eval $ac_compiler -v </dev/null >&5) 2>&5
     3233{ (ac_try="$ac_compiler -v >&5"
     3234case "(($ac_try" in
     3235  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3236  *) ac_try_echo=$ac_try;;
     3237esac
     3238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3239$as_echo "$ac_try_echo") >&5
     3240  (eval "$ac_compiler -v >&5") 2>&5
    26563241  ac_status=$?
    2657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3242  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26583243  (exit $ac_status); }
    2659 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2660   (eval $ac_compiler -V </dev/null >&5) 2>&5
     3244{ (ac_try="$ac_compiler -V >&5"
     3245case "(($ac_try" in
     3246  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3247  *) ac_try_echo=$ac_try;;
     3248esac
     3249eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3250$as_echo "$ac_try_echo") >&5
     3251  (eval "$ac_compiler -V >&5") 2>&5
    26613252  ac_status=$?
    2662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3253  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26633254  (exit $ac_status); }
    26643255
    2665 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2666 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     3256{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3257$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    26673258if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    2668   echo $ECHO_N "(cached) $ECHO_C" >&6
     3259  $as_echo_n "(cached) " >&6
    26693260else
    26703261  cat >conftest.$ac_ext <<_ACEOF
     
    26873278_ACEOF
    26883279rm -f conftest.$ac_objext
    2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2690   (eval $ac_compile) 2>conftest.er1
     3280if { (ac_try="$ac_compile"
     3281case "(($ac_try" in
     3282  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3283  *) ac_try_echo=$ac_try;;
     3284esac
     3285eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3286$as_echo "$ac_try_echo") >&5
     3287  (eval "$ac_compile") 2>conftest.er1
    26913288  ac_status=$?
    26923289  grep -v '^ *+' conftest.er1 >conftest.err
    26933290  rm -f conftest.er1
    26943291  cat conftest.err >&5
    2695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2696   (exit $ac_status); } &&
    2697      { ac_try='test -z "$ac_cxx_werror_flag"
    2698              || test ! -s conftest.err'
    2699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2700   (eval $ac_try) 2>&5
    2701   ac_status=$?
    2702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2703   (exit $ac_status); }; } &&
    2704      { ac_try='test -s conftest.$ac_objext'
    2705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2706   (eval $ac_try) 2>&5
    2707   ac_status=$?
    2708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2709   (exit $ac_status); }; }; then
     3292  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3293  (exit $ac_status); } && {
     3294     test -z "$ac_cxx_werror_flag" ||
     3295     test ! -s conftest.err
     3296       } && test -s conftest.$ac_objext; then
    27103297  ac_compiler_gnu=yes
    27113298else
    2712   echo "$as_me: failed program was:" >&5
     3299  $as_echo "$as_me: failed program was:" >&5
    27133300sed 's/^/| /' conftest.$ac_ext >&5
    27143301
    2715 ac_compiler_gnu=no
    2716 fi
    2717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3302    ac_compiler_gnu=no
     3303fi
     3304
     3305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27183306ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    27193307
    27203308fi
    2721 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2722 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    2723 GXX=`test $ac_compiler_gnu = yes && echo yes`
     3309{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3310$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3311if test $ac_compiler_gnu = yes; then
     3312  GXX=yes
     3313else
     3314  GXX=
     3315fi
    27243316ac_test_CXXFLAGS=${CXXFLAGS+set}
    27253317ac_save_CXXFLAGS=$CXXFLAGS
    2726 CXXFLAGS="-g"
    2727 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2728 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3318{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3319$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    27293320if test "${ac_cv_prog_cxx_g+set}" = set; then
    2730   echo $ECHO_N "(cached) $ECHO_C" >&6
    2731 else
    2732   cat >conftest.$ac_ext <<_ACEOF
     3321  $as_echo_n "(cached) " >&6
     3322else
     3323  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3324   ac_cxx_werror_flag=yes
     3325   ac_cv_prog_cxx_g=no
     3326   CXXFLAGS="-g"
     3327   cat >conftest.$ac_ext <<_ACEOF
    27333328/* confdefs.h.  */
    27343329_ACEOF
     
    27463341_ACEOF
    27473342rm -f conftest.$ac_objext
    2748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2749   (eval $ac_compile) 2>conftest.er1
     3343if { (ac_try="$ac_compile"
     3344case "(($ac_try" in
     3345  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3346  *) ac_try_echo=$ac_try;;
     3347esac
     3348eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3349$as_echo "$ac_try_echo") >&5
     3350  (eval "$ac_compile") 2>conftest.er1
    27503351  ac_status=$?
    27513352  grep -v '^ *+' conftest.er1 >conftest.err
    27523353  rm -f conftest.er1
    27533354  cat conftest.err >&5
    2754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2755   (exit $ac_status); } &&
    2756      { ac_try='test -z "$ac_cxx_werror_flag"
    2757              || test ! -s conftest.err'
    2758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2759   (eval $ac_try) 2>&5
     3355  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3356  (exit $ac_status); } && {
     3357     test -z "$ac_cxx_werror_flag" ||
     3358     test ! -s conftest.err
     3359       } && test -s conftest.$ac_objext; then
     3360  ac_cv_prog_cxx_g=yes
     3361else
     3362  $as_echo "$as_me: failed program was:" >&5
     3363sed 's/^/| /' conftest.$ac_ext >&5
     3364
     3365    CXXFLAGS=""
     3366      cat >conftest.$ac_ext <<_ACEOF
     3367/* confdefs.h.  */
     3368_ACEOF
     3369cat confdefs.h >>conftest.$ac_ext
     3370cat >>conftest.$ac_ext <<_ACEOF
     3371/* end confdefs.h.  */
     3372
     3373int
     3374main ()
     3375{
     3376
     3377  ;
     3378  return 0;
     3379}
     3380_ACEOF
     3381rm -f conftest.$ac_objext
     3382if { (ac_try="$ac_compile"
     3383case "(($ac_try" in
     3384  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3385  *) ac_try_echo=$ac_try;;
     3386esac
     3387eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3388$as_echo "$ac_try_echo") >&5
     3389  (eval "$ac_compile") 2>conftest.er1
    27603390  ac_status=$?
    2761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2762   (exit $ac_status); }; } &&
    2763      { ac_try='test -s conftest.$ac_objext'
    2764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2765   (eval $ac_try) 2>&5
     3391  grep -v '^ *+' conftest.er1 >conftest.err
     3392  rm -f conftest.er1
     3393  cat conftest.err >&5
     3394  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3395  (exit $ac_status); } && {
     3396     test -z "$ac_cxx_werror_flag" ||
     3397     test ! -s conftest.err
     3398       } && test -s conftest.$ac_objext; then
     3399  :
     3400else
     3401  $as_echo "$as_me: failed program was:" >&5
     3402sed 's/^/| /' conftest.$ac_ext >&5
     3403
     3404    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3405     CXXFLAGS="-g"
     3406     cat >conftest.$ac_ext <<_ACEOF
     3407/* confdefs.h.  */
     3408_ACEOF
     3409cat confdefs.h >>conftest.$ac_ext
     3410cat >>conftest.$ac_ext <<_ACEOF
     3411/* end confdefs.h.  */
     3412
     3413int
     3414main ()
     3415{
     3416
     3417  ;
     3418  return 0;
     3419}
     3420_ACEOF
     3421rm -f conftest.$ac_objext
     3422if { (ac_try="$ac_compile"
     3423case "(($ac_try" in
     3424  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3425  *) ac_try_echo=$ac_try;;
     3426esac
     3427eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3428$as_echo "$ac_try_echo") >&5
     3429  (eval "$ac_compile") 2>conftest.er1
    27663430  ac_status=$?
    2767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2768   (exit $ac_status); }; }; then
     3431  grep -v '^ *+' conftest.er1 >conftest.err
     3432  rm -f conftest.er1
     3433  cat conftest.err >&5
     3434  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3435  (exit $ac_status); } && {
     3436     test -z "$ac_cxx_werror_flag" ||
     3437     test ! -s conftest.err
     3438       } && test -s conftest.$ac_objext; then
    27693439  ac_cv_prog_cxx_g=yes
    27703440else
    2771   echo "$as_me: failed program was:" >&5
     3441  $as_echo "$as_me: failed program was:" >&5
    27723442sed 's/^/| /' conftest.$ac_ext >&5
    27733443
    2774 ac_cv_prog_cxx_g=no
    2775 fi
    2776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2777 fi
    2778 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2779 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3444
     3445fi
     3446
     3447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3448fi
     3449
     3450rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3451fi
     3452
     3453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3454   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3455fi
     3456{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3457$as_echo "$ac_cv_prog_cxx_g" >&6; }
    27803458if test "$ac_test_CXXFLAGS" = set; then
    27813459  CXXFLAGS=$ac_save_CXXFLAGS
     
    27933471  fi
    27943472fi
    2795 for ac_declaration in \
    2796    '' \
    2797    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2798    'extern "C" void std::exit (int); using std::exit;' \
    2799    'extern "C" void exit (int) throw ();' \
    2800    'extern "C" void exit (int);' \
    2801    'void exit (int);'
    2802 do
    2803   cat >conftest.$ac_ext <<_ACEOF
    2804 /* confdefs.h.  */
    2805 _ACEOF
    2806 cat confdefs.h >>conftest.$ac_ext
    2807 cat >>conftest.$ac_ext <<_ACEOF
    2808 /* end confdefs.h.  */
    2809 $ac_declaration
    2810 #include <stdlib.h>
    2811 int
    2812 main ()
    2813 {
    2814 exit (42);
    2815   ;
    2816   return 0;
    2817 }
    2818 _ACEOF
    2819 rm -f conftest.$ac_objext
    2820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2821   (eval $ac_compile) 2>conftest.er1
    2822   ac_status=$?
    2823   grep -v '^ *+' conftest.er1 >conftest.err
    2824   rm -f conftest.er1
    2825   cat conftest.err >&5
    2826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2827   (exit $ac_status); } &&
    2828      { ac_try='test -z "$ac_cxx_werror_flag"
    2829              || test ! -s conftest.err'
    2830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2831   (eval $ac_try) 2>&5
    2832   ac_status=$?
    2833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2834   (exit $ac_status); }; } &&
    2835      { ac_try='test -s conftest.$ac_objext'
    2836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2837   (eval $ac_try) 2>&5
    2838   ac_status=$?
    2839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2840   (exit $ac_status); }; }; then
    2841   :
    2842 else
    2843   echo "$as_me: failed program was:" >&5
    2844 sed 's/^/| /' conftest.$ac_ext >&5
    2845 
    2846 continue
    2847 fi
    2848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2849   cat >conftest.$ac_ext <<_ACEOF
    2850 /* confdefs.h.  */
    2851 _ACEOF
    2852 cat confdefs.h >>conftest.$ac_ext
    2853 cat >>conftest.$ac_ext <<_ACEOF
    2854 /* end confdefs.h.  */
    2855 $ac_declaration
    2856 int
    2857 main ()
    2858 {
    2859 exit (42);
    2860   ;
    2861   return 0;
    2862 }
    2863 _ACEOF
    2864 rm -f conftest.$ac_objext
    2865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2866   (eval $ac_compile) 2>conftest.er1
    2867   ac_status=$?
    2868   grep -v '^ *+' conftest.er1 >conftest.err
    2869   rm -f conftest.er1
    2870   cat conftest.err >&5
    2871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2872   (exit $ac_status); } &&
    2873      { ac_try='test -z "$ac_cxx_werror_flag"
    2874              || test ! -s conftest.err'
    2875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2876   (eval $ac_try) 2>&5
    2877   ac_status=$?
    2878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2879   (exit $ac_status); }; } &&
    2880      { ac_try='test -s conftest.$ac_objext'
    2881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2882   (eval $ac_try) 2>&5
    2883   ac_status=$?
    2884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2885   (exit $ac_status); }; }; then
    2886   break
    2887 else
    2888   echo "$as_me: failed program was:" >&5
    2889 sed 's/^/| /' conftest.$ac_ext >&5
    2890 
    2891 fi
    2892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2893 done
    2894 rm -f conftest*
    2895 if test -n "$ac_declaration"; then
    2896   echo '#ifdef __cplusplus' >>confdefs.h
    2897   echo $ac_declaration      >>confdefs.h
    2898   echo '#endif'             >>confdefs.h
    2899 fi
    2900 
    29013473ac_ext=c
    29023474ac_cpp='$CPP $CPPFLAGS'
     
    29143486  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29153487set dummy $ac_prog; ac_word=$2
    2916 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3488{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3489$as_echo_n "checking for $ac_word... " >&6; }
    29183490if test "${ac_cv_prog_JAVAC+set}" = set; then
    2919   echo $ECHO_N "(cached) $ECHO_C" >&6
     3491  $as_echo_n "(cached) " >&6
    29203492else
    29213493  if test -n "$JAVAC"; then
     
    29283500  test -z "$as_dir" && as_dir=.
    29293501  for ac_exec_ext in '' $ac_executable_extensions; do
    2930   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3502  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29313503    ac_cv_prog_JAVAC="$ac_prog"
    2932     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3504    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29333505    break 2
    29343506  fi
    29353507done
    29363508done
     3509IFS=$as_save_IFS
    29373510
    29383511fi
     
    29403513JAVAC=$ac_cv_prog_JAVAC
    29413514if test -n "$JAVAC"; then
    2942   echo "$as_me:$LINENO: result: $JAVAC" >&5
    2943 echo "${ECHO_T}$JAVAC" >&6
    2944 else
    2945   echo "$as_me:$LINENO: result: no" >&5
    2946 echo "${ECHO_T}no" >&6
    2947 fi
     3515  { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3516$as_echo "$JAVAC" >&6; }
     3517else
     3518  { $as_echo "$as_me:$LINENO: result: no" >&5
     3519$as_echo "no" >&6; }
     3520fi
     3521
    29483522
    29493523  test -n "$JAVAC" && break
     
    29553529  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29563530set dummy $ac_prog; ac_word=$2
    2957 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3531{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3532$as_echo_n "checking for $ac_word... " >&6; }
    29593533if test "${ac_cv_prog_JAVAC+set}" = set; then
    2960   echo $ECHO_N "(cached) $ECHO_C" >&6
     3534  $as_echo_n "(cached) " >&6
    29613535else
    29623536  if test -n "$JAVAC"; then
     
    29693543  test -z "$as_dir" && as_dir=.
    29703544  for ac_exec_ext in '' $ac_executable_extensions; do
    2971   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3545  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29723546    ac_cv_prog_JAVAC="$ac_prog"
    2973     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3547    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29743548    break 2
    29753549  fi
    29763550done
    29773551done
     3552IFS=$as_save_IFS
    29783553
    29793554fi
     
    29813556JAVAC=$ac_cv_prog_JAVAC
    29823557if test -n "$JAVAC"; then
    2983   echo "$as_me:$LINENO: result: $JAVAC" >&5
    2984 echo "${ECHO_T}$JAVAC" >&6
    2985 else
    2986   echo "$as_me:$LINENO: result: no" >&5
    2987 echo "${ECHO_T}no" >&6
    2988 fi
     3558  { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3559$as_echo "$JAVAC" >&6; }
     3560else
     3561  { $as_echo "$as_me:$LINENO: result: no" >&5
     3562$as_echo "no" >&6; }
     3563fi
     3564
    29893565
    29903566  test -n "$JAVAC" && break
     
    29933569
    29943570  fi
    2995   test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
    2996 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
     3571  test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
     3572$as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
    29973573   { (exit 1); exit 1; }; }
    29983574else
     
    30023578
    30033579
    3004 echo "$as_me:$LINENO: checking if $JAVAC works" >&5
    3005 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
     3580{ $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     3581$as_echo_n "checking if $JAVAC works... " >&6; }
    30063582if test "${ac_cv_prog_javac_works+set}" = set; then
    3007   echo $ECHO_N "(cached) $ECHO_C" >&6
     3583  $as_echo_n "(cached) " >&6
    30083584else
    30093585
     
    30113587CLASS_TEST=Test.class
    30123588cat << \EOF > $JAVA_TEST
    3013 /* #line 3013 "configure" */
     3589/* #line 3589 "configure" */
    30143590public class Test {
    30153591}
     
    30193595  (eval $ac_try) 2>&5
    30203596  ac_status=$?
    3021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3597  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30223598  (exit $ac_status); }; } >/dev/null 2>&1; then
    30233599  ac_cv_prog_javac_works=yes
    30243600else
    3025   { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3026 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3601  { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3602$as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    30273603   { (exit 1); exit 1; }; }
    30283604  echo "configure: failed program was:" >&5
     
    30323608
    30333609fi
    3034 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
    3035 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
     3610{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3611$as_echo "$ac_cv_prog_javac_works" >&6; }
    30363612if test "x$JAVACFLAGS" = x ; then
    30373613  JAVACFLAGS="-source 1.4 -target 1.4"
     
    30473623  # Extract the first word of "$ac_prog", so it can be a program name with args.
    30483624set dummy $ac_prog; ac_word=$2
    3049 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3625{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3626$as_echo_n "checking for $ac_word... " >&6; }
    30513627if test "${ac_cv_prog_JAVA+set}" = set; then
    3052   echo $ECHO_N "(cached) $ECHO_C" >&6
     3628  $as_echo_n "(cached) " >&6
    30533629else
    30543630  if test -n "$JAVA"; then
     
    30613637  test -z "$as_dir" && as_dir=.
    30623638  for ac_exec_ext in '' $ac_executable_extensions; do
    3063   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3639  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30643640    ac_cv_prog_JAVA="$ac_prog"
    3065     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3641    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    30663642    break 2
    30673643  fi
    30683644done
    30693645done
     3646IFS=$as_save_IFS
    30703647
    30713648fi
     
    30733650JAVA=$ac_cv_prog_JAVA
    30743651if test -n "$JAVA"; then
    3075   echo "$as_me:$LINENO: result: $JAVA" >&5
    3076 echo "${ECHO_T}$JAVA" >&6
    3077 else
    3078   echo "$as_me:$LINENO: result: no" >&5
    3079 echo "${ECHO_T}no" >&6
    3080 fi
     3652  { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     3653$as_echo "$JAVA" >&6; }
     3654else
     3655  { $as_echo "$as_me:$LINENO: result: no" >&5
     3656$as_echo "no" >&6; }
     3657fi
     3658
    30813659
    30823660  test -n "$JAVA" && break
     
    30883666  # Extract the first word of "$ac_prog", so it can be a program name with args.
    30893667set dummy $ac_prog; ac_word=$2
    3090 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3668{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3669$as_echo_n "checking for $ac_word... " >&6; }
    30923670if test "${ac_cv_prog_JAVA+set}" = set; then
    3093   echo $ECHO_N "(cached) $ECHO_C" >&6
     3671  $as_echo_n "(cached) " >&6
    30943672else
    30953673  if test -n "$JAVA"; then
     
    31023680  test -z "$as_dir" && as_dir=.
    31033681  for ac_exec_ext in '' $ac_executable_extensions; do
    3104   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3682  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31053683    ac_cv_prog_JAVA="$ac_prog"
    3106     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3684    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31073685    break 2
    31083686  fi
    31093687done
    31103688done
     3689IFS=$as_save_IFS
    31113690
    31123691fi
     
    31143693JAVA=$ac_cv_prog_JAVA
    31153694if test -n "$JAVA"; then
    3116   echo "$as_me:$LINENO: result: $JAVA" >&5
    3117 echo "${ECHO_T}$JAVA" >&6
    3118 else
    3119   echo "$as_me:$LINENO: result: no" >&5
    3120 echo "${ECHO_T}no" >&6
    3121 fi
     3695  { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     3696$as_echo "$JAVA" >&6; }
     3697else
     3698  { $as_echo "$as_me:$LINENO: result: no" >&5
     3699$as_echo "no" >&6; }
     3700fi
     3701
    31223702
    31233703  test -n "$JAVA" && break
     
    31263706
    31273707    fi
    3128     test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
    3129 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
     3708    test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
     3709$as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
    31303710   { (exit 1); exit 1; }; }
    31313711fi
     
    31343714# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
    31353715set dummy uudecode$EXEEXT; ac_word=$2
    3136 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3716{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3717$as_echo_n "checking for $ac_word... " >&6; }
    31383718if test "${ac_cv_prog_uudecode+set}" = set; then
    3139   echo $ECHO_N "(cached) $ECHO_C" >&6
     3719  $as_echo_n "(cached) " >&6
    31403720else
    31413721  if test -n "$uudecode"; then
     
    31483728  test -z "$as_dir" && as_dir=.
    31493729  for ac_exec_ext in '' $ac_executable_extensions; do
    3150   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3730  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31513731    ac_cv_prog_uudecode="yes"
    3152     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3732    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31533733    break 2
    31543734  fi
    31553735done
    31563736done
     3737IFS=$as_save_IFS
    31573738
    31583739fi
     
    31603741uudecode=$ac_cv_prog_uudecode
    31613742if test -n "$uudecode"; then
    3162   echo "$as_me:$LINENO: result: $uudecode" >&5
    3163 echo "${ECHO_T}$uudecode" >&6
    3164 else
    3165   echo "$as_me:$LINENO: result: no" >&5
    3166 echo "${ECHO_T}no" >&6
    3167 fi
     3743  { $as_echo "$as_me:$LINENO: result: $uudecode" >&5
     3744$as_echo "$uudecode" >&6; }
     3745else
     3746  { $as_echo "$as_me:$LINENO: result: no" >&5
     3747$as_echo "no" >&6; }
     3748fi
     3749
    31683750
    31693751if test x$uudecode = xyes; then
    3170 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
    3171 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6
     3752{ $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
     3753$as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
    31723754if test "${ac_cv_prog_uudecode_base64+set}" = set; then
    3173   echo $ECHO_N "(cached) $ECHO_C" >&6
     3755  $as_echo_n "(cached) " >&6
    31743756else
    31753757
     
    31883770        ac_cv_prog_uudecode_base64=yes
    31893771else
    3190         echo "configure: 3190: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     3772        echo "configure: 3772: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    31913773        echo "configure: failed file was:" >&5
    31923774        cat Test.uue >&5
     
    31953777rm -f Test.uue
    31963778fi
    3197 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
    3198 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6
     3779{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
     3780$as_echo "$ac_cv_prog_uudecode_base64" >&6; }
    31993781fi
    32003782if test x$ac_cv_prog_uudecode_base64 != xyes; then
    32013783        rm -f Test.class
    3202         { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
    3203 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
     3784        { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
     3785$as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
    32043786        if test x$ac_cv_prog_javac_works = xno; then
    3205                 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
    3206 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
     3787                { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
     3788$as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
    32073789   { (exit 1); exit 1; }; }
    32083790        fi
     
    32153797  # Extract the first word of "$ac_prog", so it can be a program name with args.
    32163798set dummy $ac_prog; ac_word=$2
    3217 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3799{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3800$as_echo_n "checking for $ac_word... " >&6; }
    32193801if test "${ac_cv_prog_JAVAC+set}" = set; then
    3220   echo $ECHO_N "(cached) $ECHO_C" >&6
     3802  $as_echo_n "(cached) " >&6
    32213803else
    32223804  if test -n "$JAVAC"; then
     
    32293811  test -z "$as_dir" && as_dir=.
    32303812  for ac_exec_ext in '' $ac_executable_extensions; do
    3231   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3813  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32323814    ac_cv_prog_JAVAC="$ac_prog"
    3233     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3815    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    32343816    break 2
    32353817  fi
    32363818done
    32373819done
     3820IFS=$as_save_IFS
    32383821
    32393822fi
     
    32413824JAVAC=$ac_cv_prog_JAVAC
    32423825if test -n "$JAVAC"; then
    3243   echo "$as_me:$LINENO: result: $JAVAC" >&5
    3244 echo "${ECHO_T}$JAVAC" >&6
    3245 else
    3246   echo "$as_me:$LINENO: result: no" >&5
    3247 echo "${ECHO_T}no" >&6
    3248 fi
     3826  { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3827$as_echo "$JAVAC" >&6; }
     3828else
     3829  { $as_echo "$as_me:$LINENO: result: no" >&5
     3830$as_echo "no" >&6; }
     3831fi
     3832
    32493833
    32503834  test -n "$JAVAC" && break
     
    32563840  # Extract the first word of "$ac_prog", so it can be a program name with args.
    32573841set dummy $ac_prog; ac_word=$2
    3258 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3842{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3843$as_echo_n "checking for $ac_word... " >&6; }
    32603844if test "${ac_cv_prog_JAVAC+set}" = set; then
    3261   echo $ECHO_N "(cached) $ECHO_C" >&6
     3845  $as_echo_n "(cached) " >&6
    32623846else
    32633847  if test -n "$JAVAC"; then
     
    32703854  test -z "$as_dir" && as_dir=.
    32713855  for ac_exec_ext in '' $ac_executable_extensions; do
    3272   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3856  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32733857    ac_cv_prog_JAVAC="$ac_prog"
    3274     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3858    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    32753859    break 2
    32763860  fi
    32773861done
    32783862done
     3863IFS=$as_save_IFS
    32793864
    32803865fi
     
    32823867JAVAC=$ac_cv_prog_JAVAC
    32833868if test -n "$JAVAC"; then
    3284   echo "$as_me:$LINENO: result: $JAVAC" >&5
    3285 echo "${ECHO_T}$JAVAC" >&6
    3286 else
    3287   echo "$as_me:$LINENO: result: no" >&5
    3288 echo "${ECHO_T}no" >&6
    3289 fi
     3869  { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3870$as_echo "$JAVAC" >&6; }
     3871else
     3872  { $as_echo "$as_me:$LINENO: result: no" >&5
     3873$as_echo "no" >&6; }
     3874fi
     3875
    32903876
    32913877  test -n "$JAVAC" && break
     
    32943880
    32953881  fi
    3296   test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
    3297 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
     3882  test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
     3883$as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
    32983884   { (exit 1); exit 1; }; }
    32993885else
     
    33033889
    33043890
    3305 echo "$as_me:$LINENO: checking if $JAVAC works" >&5
    3306 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
     3891{ $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     3892$as_echo_n "checking if $JAVAC works... " >&6; }
    33073893if test "${ac_cv_prog_javac_works+set}" = set; then
    3308   echo $ECHO_N "(cached) $ECHO_C" >&6
     3894  $as_echo_n "(cached) " >&6
    33093895else
    33103896
     
    33123898CLASS_TEST=Test.class
    33133899cat << \EOF > $JAVA_TEST
    3314 /* #line 3314 "configure" */
     3900/* #line 3900 "configure" */
    33153901public class Test {
    33163902}
     
    33203906  (eval $ac_try) 2>&5
    33213907  ac_status=$?
    3322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3908  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    33233909  (exit $ac_status); }; } >/dev/null 2>&1; then
    33243910  ac_cv_prog_javac_works=yes
    33253911else
    3326   { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3327 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3912  { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3913$as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    33283914   { (exit 1); exit 1; }; }
    33293915  echo "configure: failed program was:" >&5
     
    33333919
    33343920fi
    3335 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
    3336 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
     3921{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3922$as_echo "$ac_cv_prog_javac_works" >&6; }
    33373923if test "x$JAVACFLAGS" = x ; then
    33383924  JAVACFLAGS="-source 1.4 -target 1.4"
     
    33433929        fi
    33443930fi
    3345 echo "$as_me:$LINENO: checking if $JAVA works" >&5
    3346 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6
     3931{ $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5
     3932$as_echo_n "checking if $JAVA works... " >&6; }
    33473933if test "${ac_cv_prog_java_works+set}" = set; then
    3348   echo $ECHO_N "(cached) $ECHO_C" >&6
     3934  $as_echo_n "(cached) " >&6
    33493935else
    33503936
     
    33533939TEST=Test
    33543940cat << \EOF > $JAVA_TEST
    3355 /* [#]line 3355 "configure" */
     3941/* [#]line 3941 "configure" */
    33563942public class Test {
    33573943public static void main (String args[]) {
     
    33643950  (eval $ac_try) 2>&5
    33653951  ac_status=$?
    3366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3952  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    33673953  (exit $ac_status); }; } && test -s $CLASS_TEST; then
    33683954                :
     
    33703956          echo "configure: failed program was:" >&5
    33713957          cat $JAVA_TEST >&5
    3372           { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3373 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3958          { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3959$as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    33743960   { (exit 1); exit 1; }; }
    33753961        fi
     
    33793965  (eval $ac_try) 2>&5
    33803966  ac_status=$?
    3381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3967  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    33823968  (exit $ac_status); }; } >/dev/null 2>&1; then
    33833969  ac_cv_prog_java_works=yes
     
    33853971  echo "configure: failed program was:" >&5
    33863972  cat $JAVA_TEST >&5
    3387   { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
    3388 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
     3973  { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
     3974$as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
    33893975   { (exit 1); exit 1; }; }
    33903976fi
     
    33923978
    33933979fi
    3394 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
    3395 echo "${ECHO_T}$ac_cv_prog_java_works" >&6
     3980{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
     3981$as_echo "$ac_cv_prog_java_works" >&6; }
    33963982
    33973983
     
    34023988  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34033989set dummy $ac_prog; ac_word=$2
    3404 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3990{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3991$as_echo_n "checking for $ac_word... " >&6; }
    34063992if test "${ac_cv_prog_AWK+set}" = set; then
    3407   echo $ECHO_N "(cached) $ECHO_C" >&6
     3993  $as_echo_n "(cached) " >&6
    34083994else
    34093995  if test -n "$AWK"; then
     
    34164002  test -z "$as_dir" && as_dir=.
    34174003  for ac_exec_ext in '' $ac_executable_extensions; do
    3418   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4004  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    34194005    ac_cv_prog_AWK="$ac_prog"
    3420     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4006    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    34214007    break 2
    34224008  fi
    34234009done
    34244010done
     4011IFS=$as_save_IFS
    34254012
    34264013fi
     
    34284015AWK=$ac_cv_prog_AWK
    34294016if test -n "$AWK"; then
    3430   echo "$as_me:$LINENO: result: $AWK" >&5
    3431 echo "${ECHO_T}$AWK" >&6
    3432 else
    3433   echo "$as_me:$LINENO: result: no" >&5
    3434 echo "${ECHO_T}no" >&6
    3435 fi
     4017  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
     4018$as_echo "$AWK" >&6; }
     4019else
     4020  { $as_echo "$as_me:$LINENO: result: no" >&5
     4021$as_echo "no" >&6; }
     4022fi
     4023
    34364024
    34374025  test -n "$AWK" && break
     
    34424030  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34434031set dummy $ac_prog; ac_word=$2
    3444 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4032{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4033$as_echo_n "checking for $ac_word... " >&6; }
    34464034if test "${ac_cv_prog_YACC+set}" = set; then
    3447   echo $ECHO_N "(cached) $ECHO_C" >&6
     4035  $as_echo_n "(cached) " >&6
    34484036else
    34494037  if test -n "$YACC"; then
     
    34564044  test -z "$as_dir" && as_dir=.
    34574045  for ac_exec_ext in '' $ac_executable_extensions; do
    3458   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4046  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    34594047    ac_cv_prog_YACC="$ac_prog"
    3460     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4048    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    34614049    break 2
    34624050  fi
    34634051done
    34644052done
     4053IFS=$as_save_IFS
    34654054
    34664055fi
     
    34684057YACC=$ac_cv_prog_YACC
    34694058if test -n "$YACC"; then
    3470   echo "$as_me:$LINENO: result: $YACC" >&5
    3471 echo "${ECHO_T}$YACC" >&6
    3472 else
    3473   echo "$as_me:$LINENO: result: no" >&5
    3474 echo "${ECHO_T}no" >&6
    3475 fi
     4059  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
     4060$as_echo "$YACC" >&6; }
     4061else
     4062  { $as_echo "$as_me:$LINENO: result: no" >&5
     4063$as_echo "no" >&6; }
     4064fi
     4065
    34764066
    34774067  test -n "$YACC" && break
     
    34804070
    34814071ac_aux_dir=
    3482 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    3483   if test -f $ac_dir/install-sh; then
     4072for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     4073  if test -f "$ac_dir/install-sh"; then
    34844074    ac_aux_dir=$ac_dir
    34854075    ac_install_sh="$ac_aux_dir/install-sh -c"
    34864076    break
    3487   elif test -f $ac_dir/install.sh; then
     4077  elif test -f "$ac_dir/install.sh"; then
    34884078    ac_aux_dir=$ac_dir
    34894079    ac_install_sh="$ac_aux_dir/install.sh -c"
    34904080    break
    3491   elif test -f $ac_dir/shtool; then
     4081  elif test -f "$ac_dir/shtool"; then
    34924082    ac_aux_dir=$ac_dir
    34934083    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    34964086done
    34974087if test -z "$ac_aux_dir"; then
    3498   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    3499 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     4088  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     4089$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    35004090   { (exit 1); exit 1; }; }
    35014091fi
    3502 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    3503 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    3504 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     4092
     4093# These three variables are undocumented and unsupported,
     4094# and are intended to be withdrawn in a future Autoconf release.
     4095# They can cause serious problems if a builder's source tree is in a directory
     4096# whose full name contains unusual characters.
     4097ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     4098ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     4099ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     4100
    35054101
    35064102# Make sure we can run config.sub.
    3507 $ac_config_sub sun4 >/dev/null 2>&1 ||
    3508   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    3509 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     4103$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     4104  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     4105$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    35104106   { (exit 1); exit 1; }; }
    35114107
    3512 echo "$as_me:$LINENO: checking build system type" >&5
    3513 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     4108{ $as_echo "$as_me:$LINENO: checking build system type" >&5
     4109$as_echo_n "checking build system type... " >&6; }
    35144110if test "${ac_cv_build+set}" = set; then
    3515   echo $ECHO_N "(cached) $ECHO_C" >&6
    3516 else
    3517   ac_cv_build_alias=$build_alias
    3518 test -z "$ac_cv_build_alias" &&
    3519   ac_cv_build_alias=`$ac_config_guess`
    3520 test -z "$ac_cv_build_alias" &&
    3521   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    3522 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     4111  $as_echo_n "(cached) " >&6
     4112else
     4113  ac_build_alias=$build_alias
     4114test "x$ac_build_alias" = x &&
     4115  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     4116test "x$ac_build_alias" = x &&
     4117  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     4118$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    35234119   { (exit 1); exit 1; }; }
    3524 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    3525   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    3526 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     4120ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     4121  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     4122$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    35274123   { (exit 1); exit 1; }; }
    35284124
    35294125fi
    3530 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    3531 echo "${ECHO_T}$ac_cv_build" >&6
     4126{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     4127$as_echo "$ac_cv_build" >&6; }
     4128case $ac_cv_build in
     4129*-*-*) ;;
     4130*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     4131$as_echo "$as_me: error: invalid value of canonical build" >&2;}
     4132   { (exit 1); exit 1; }; };;
     4133esac
    35324134build=$ac_cv_build
    3533 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    3534 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    3535 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    3536 
    3537 
    3538 echo "$as_me:$LINENO: checking host system type" >&5
    3539 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     4135ac_save_IFS=$IFS; IFS='-'
     4136set x $ac_cv_build
     4137shift
     4138build_cpu=$1
     4139build_vendor=$2
     4140shift; shift
     4141# Remember, the first character of IFS is used to create $*,
     4142# except with old shells:
     4143build_os=$*
     4144IFS=$ac_save_IFS
     4145case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     4146
     4147
     4148{ $as_echo "$as_me:$LINENO: checking host system type" >&5
     4149$as_echo_n "checking host system type... " >&6; }
    35404150if test "${ac_cv_host+set}" = set; then
    3541   echo $ECHO_N "(cached) $ECHO_C" >&6
    3542 else
    3543   ac_cv_host_alias=$host_alias
    3544 test -z "$ac_cv_host_alias" &&
    3545   ac_cv_host_alias=$ac_cv_build_alias
    3546 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    3547   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    3548 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     4151  $as_echo_n "(cached) " >&6
     4152else
     4153  if test "x$host_alias" = x; then
     4154  ac_cv_host=$ac_cv_build
     4155else
     4156  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     4157    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     4158$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    35494159   { (exit 1); exit 1; }; }
    3550 
    3551 fi
    3552 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    3553 echo "${ECHO_T}$ac_cv_host" >&6
     4160fi
     4161
     4162fi
     4163{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     4164$as_echo "$ac_cv_host" >&6; }
     4165case $ac_cv_host in
     4166*-*-*) ;;
     4167*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     4168$as_echo "$as_me: error: invalid value of canonical host" >&2;}
     4169   { (exit 1); exit 1; }; };;
     4170esac
    35544171host=$ac_cv_host
    3555 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    3556 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    3557 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    3558 
    3559 
    3560 echo "$as_me:$LINENO: checking target system type" >&5
    3561 echo $ECHO_N "checking target system type... $ECHO_C" >&6
     4172ac_save_IFS=$IFS; IFS='-'
     4173set x $ac_cv_host
     4174shift
     4175host_cpu=$1
     4176host_vendor=$2
     4177shift; shift
     4178# Remember, the first character of IFS is used to create $*,
     4179# except with old shells:
     4180host_os=$*
     4181IFS=$ac_save_IFS
     4182case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     4183
     4184
     4185{ $as_echo "$as_me:$LINENO: checking target system type" >&5
     4186$as_echo_n "checking target system type... " >&6; }
    35624187if test "${ac_cv_target+set}" = set; then
    3563   echo $ECHO_N "(cached) $ECHO_C" >&6
    3564 else
    3565   ac_cv_target_alias=$target_alias
    3566 test "x$ac_cv_target_alias" = "x" &&
    3567   ac_cv_target_alias=$ac_cv_host_alias
    3568 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    3569   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    3570 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     4188  $as_echo_n "(cached) " >&6
     4189else
     4190  if test "x$target_alias" = x; then
     4191  ac_cv_target=$ac_cv_host
     4192else
     4193  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     4194    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     4195$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    35714196   { (exit 1); exit 1; }; }
    3572 
    3573 fi
    3574 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    3575 echo "${ECHO_T}$ac_cv_target" >&6
     4197fi
     4198
     4199fi
     4200{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     4201$as_echo "$ac_cv_target" >&6; }
     4202case $ac_cv_target in
     4203*-*-*) ;;
     4204*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     4205$as_echo "$as_me: error: invalid value of canonical target" >&2;}
     4206   { (exit 1); exit 1; }; };;
     4207esac
    35764208target=$ac_cv_target
    3577 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    3578 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    3579 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     4209ac_save_IFS=$IFS; IFS='-'
     4210set x $ac_cv_target
     4211shift
     4212target_cpu=$1
     4213target_vendor=$2
     4214shift; shift
     4215# Remember, the first character of IFS is used to create $*,
     4216# except with old shells:
     4217target_os=$*
     4218IFS=$ac_save_IFS
     4219case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    35804220
    35814221
     
    35994239# OS/2's system install, which has a completely different semantic
    36004240# ./install, which can be erroneously created by make from ./install.sh.
    3601 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3602 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     4241# Reject install programs that cannot install multiple files.
     4242{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     4243$as_echo_n "checking for a BSD-compatible install... " >&6; }
    36034244if test -z "$INSTALL"; then
    36044245if test "${ac_cv_path_install+set}" = set; then
    3605   echo $ECHO_N "(cached) $ECHO_C" >&6
     4246  $as_echo_n "(cached) " >&6
    36064247else
    36074248  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    36224263    for ac_prog in ginstall scoinst install; do
    36234264      for ac_exec_ext in '' $ac_executable_extensions; do
    3624     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     4265    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    36254266      if test $ac_prog = install &&
    36264267        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    36324273        :
    36334274      else
    3634         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3635         break 3
     4275        rm -rf conftest.one conftest.two conftest.dir
     4276        echo one > conftest.one
     4277        echo two > conftest.two
     4278        mkdir conftest.dir
     4279        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     4280          test -s conftest.one && test -s conftest.two &&
     4281          test -s conftest.dir/conftest.one &&
     4282          test -s conftest.dir/conftest.two
     4283        then
     4284          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     4285          break 3
     4286        fi
    36364287      fi
    36374288    fi
     
    36404291    ;;
    36414292esac
     4293
    36424294done
    3643 
     4295IFS=$as_save_IFS
     4296
     4297rm -rf conftest.one conftest.two conftest.dir
    36444298
    36454299fi
     
    36474301    INSTALL=$ac_cv_path_install
    36484302  else
    3649     # As a last resort, use the slow shell script.  We don't cache a
    3650     # path for INSTALL within a source directory, because that will
     4303    # As a last resort, use the slow shell script.  Don't cache a
     4304    # value for INSTALL within a source directory, because that will
    36514305    # break other packages using the cache if that directory is
    3652     # removed, or if the path is relative.
     4306    # removed, or if the value is a relative name.
    36534307    INSTALL=$ac_install_sh
    36544308  fi
    36554309fi
    3656 echo "$as_me:$LINENO: result: $INSTALL" >&5
    3657 echo "${ECHO_T}$INSTALL" >&6
     4310{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     4311$as_echo "$INSTALL" >&6; }
    36584312
    36594313# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    36654319test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    36664320
    3667 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3668 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     4321{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     4322$as_echo_n "checking whether ln -s works... " >&6; }
    36694323LN_S=$as_ln_s
    36704324if test "$LN_S" = "ln -s"; then
    3671   echo "$as_me:$LINENO: result: yes" >&5
    3672 echo "${ECHO_T}yes" >&6
    3673 else
    3674   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3675 echo "${ECHO_T}no, using $LN_S" >&6
    3676 fi
    3677 
    3678 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3679 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3680 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3681 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    3682   echo $ECHO_N "(cached) $ECHO_C" >&6
     4325  { $as_echo "$as_me:$LINENO: result: yes" >&5
     4326$as_echo "yes" >&6; }
     4327else
     4328  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     4329$as_echo "no, using $LN_S" >&6; }
     4330fi
     4331
     4332{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     4333$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     4334set x ${MAKE-make}
     4335ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     4336if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     4337  $as_echo_n "(cached) " >&6
    36834338else
    36844339  cat >conftest.make <<\_ACEOF
     4340SHELL = /bin/sh
    36854341all:
    3686     @echo 'ac_maketemp="$(MAKE)"'
     4342    @echo '@@@%%%=$(MAKE)=@@@%%%'
    36874343_ACEOF
    36884344# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3689 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    3690 if test -n "$ac_maketemp"; then
    3691   eval ac_cv_prog_make_${ac_make}_set=yes
    3692 else
    3693   eval ac_cv_prog_make_${ac_make}_set=no
    3694 fi
     4345case `${MAKE-make} -f conftest.make 2>/dev/null` in
     4346  *@@@%%%=?*=@@@%%%*)
     4347    eval ac_cv_prog_make_${ac_make}_set=yes;;
     4348  *)
     4349    eval ac_cv_prog_make_${ac_make}_set=no;;
     4350esac
    36954351rm -f conftest.make
    36964352fi
    3697 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3698   echo "$as_me:$LINENO: result: yes" >&5
    3699 echo "${ECHO_T}yes" >&6
     4353if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     4354  { $as_echo "$as_me:$LINENO: result: yes" >&5
     4355$as_echo "yes" >&6; }
    37004356  SET_MAKE=
    37014357else
    3702   echo "$as_me:$LINENO: result: no" >&5
    3703 echo "${ECHO_T}no" >&6
     4358  { $as_echo "$as_me:$LINENO: result: no" >&5
     4359$as_echo "no" >&6; }
    37044360  SET_MAKE="MAKE=${MAKE-make}"
    37054361fi
     
    37084364  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    37094365set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3710 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4366{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4367$as_echo_n "checking for $ac_word... " >&6; }
    37124368if test "${ac_cv_prog_RANLIB+set}" = set; then
    3713   echo $ECHO_N "(cached) $ECHO_C" >&6
     4369  $as_echo_n "(cached) " >&6
    37144370else
    37154371  if test -n "$RANLIB"; then
     
    37224378  test -z "$as_dir" && as_dir=.
    37234379  for ac_exec_ext in '' $ac_executable_extensions; do
    3724   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4380  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    37254381    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3726     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4382    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    37274383    break 2
    37284384  fi
    37294385done
    37304386done
     4387IFS=$as_save_IFS
    37314388
    37324389fi
     
    37344391RANLIB=$ac_cv_prog_RANLIB
    37354392if test -n "$RANLIB"; then
    3736   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3737 echo "${ECHO_T}$RANLIB" >&6
    3738 else
    3739   echo "$as_me:$LINENO: result: no" >&5
    3740 echo "${ECHO_T}no" >&6
    3741 fi
     4393  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     4394$as_echo "$RANLIB" >&6; }
     4395else
     4396  { $as_echo "$as_me:$LINENO: result: no" >&5
     4397$as_echo "no" >&6; }
     4398fi
     4399
    37424400
    37434401fi
     
    37464404  # Extract the first word of "ranlib", so it can be a program name with args.
    37474405set dummy ranlib; ac_word=$2
    3748 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4406{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4407$as_echo_n "checking for $ac_word... " >&6; }
    37504408if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    3751   echo $ECHO_N "(cached) $ECHO_C" >&6
     4409  $as_echo_n "(cached) " >&6
    37524410else
    37534411  if test -n "$ac_ct_RANLIB"; then
     
    37604418  test -z "$as_dir" && as_dir=.
    37614419  for ac_exec_ext in '' $ac_executable_extensions; do
    3762   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4420  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    37634421    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3764     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4422    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    37654423    break 2
    37664424  fi
    37674425done
    37684426done
    3769 
    3770   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     4427IFS=$as_save_IFS
     4428
    37714429fi
    37724430fi
    37734431ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    37744432if test -n "$ac_ct_RANLIB"; then
    3775   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3776 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3777 else
    3778   echo "$as_me:$LINENO: result: no" >&5
    3779 echo "${ECHO_T}no" >&6
    3780 fi
    3781 
    3782   RANLIB=$ac_ct_RANLIB
     4433  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     4434$as_echo "$ac_ct_RANLIB" >&6; }
     4435else
     4436  { $as_echo "$as_me:$LINENO: result: no" >&5
     4437$as_echo "no" >&6; }
     4438fi
     4439
     4440  if test "x$ac_ct_RANLIB" = x; then
     4441    RANLIB=":"
     4442  else
     4443    case $cross_compiling:$ac_tool_warned in
     4444yes:)
     4445{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4446$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4447ac_tool_warned=yes ;;
     4448esac
     4449    RANLIB=$ac_ct_RANLIB
     4450  fi
    37834451else
    37844452  RANLIB="$ac_cv_prog_RANLIB"
     
    37864454
    37874455
    3788 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3789 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     4456{ $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     4457$as_echo_n "checking to see if architecture is 64-bit... " >&6; }
    37904458arch_64bit=no
    37914459case "$host_cpu" in
     
    37944462
    37954463if test "$arch_64bit" = yes; then
    3796   echo "$as_me:$LINENO: result: yes" >&5
    3797 echo "${ECHO_T}yes" >&6
    3798   if test -z "$COMPAT32BITFLAGS" ; then
    3799     COMPAT32BITFLAGS="-m32"
     4464  { $as_echo "$as_me:$LINENO: result: yes" >&5
     4465$as_echo "yes" >&6; }
     4466  if test -z "$ARCH_DEP_FLAGS" ; then
     4467    ARCH_DEP_FLAGS="-fPIC"
    38004468    gsdlarch='64'
    38014469  fi
    38024470else
    3803   echo "$as_me:$LINENO: result: no" >&5
    3804 echo "${ECHO_T}no" >&6
    3805   if test -z "$COMPAT32BITFLAGS" ; then
    3806     COMPAT32BITFLAGS=
     4471  { $as_echo "$as_me:$LINENO: result: no" >&5
     4472$as_echo "no" >&6; }
     4473  if test -z "$ARCH_DEP_FLAGS" ; then
     4474    ARCH_DEP_FLAGS=
    38074475    gsdlarch='32'
    38084476  fi
    38094477fi
    38104478
    3811 # Only need compat32bitflag if using MG or MGPP
    3812 if test "$ENABLE_MG" = "0" ; then
    3813   COMPAT32BITFLAGS=
    3814 else
    3815   if test "$ENABLE_MGPP" = "0" ; then
    3816     COMPAT32BITFLAGS=
    3817   fi
    3818 fi
    3819 
    3820 export COMPAT32BITFLAGS
     4479export ARCH_DEP_FLAGS
    38214480
    38224481
     
    38604519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    38614520ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3862 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3863 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     4521{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     4522$as_echo_n "checking how to run the C preprocessor... " >&6; }
    38644523# On Suns, sometimes $CPP names a directory.
    38654524if test -n "$CPP" && test -d "$CPP"; then
     
    38684527if test -z "$CPP"; then
    38694528  if test "${ac_cv_prog_CPP+set}" = set; then
    3870   echo $ECHO_N "(cached) $ECHO_C" >&6
     4529  $as_echo_n "(cached) " >&6
    38714530else
    38724531      # Double quotes because CPP needs to be expanded
     
    38954554             Syntax error
    38964555_ACEOF
    3897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3898   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4556if { (ac_try="$ac_cpp conftest.$ac_ext"
     4557case "(($ac_try" in
     4558  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4559  *) ac_try_echo=$ac_try;;
     4560esac
     4561eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4562$as_echo "$ac_try_echo") >&5
     4563  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    38994564  ac_status=$?
    39004565  grep -v '^ *+' conftest.er1 >conftest.err
    39014566  rm -f conftest.er1
    39024567  cat conftest.err >&5
    3903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3904   (exit $ac_status); } >/dev/null; then
    3905   if test -s conftest.err; then
    3906     ac_cpp_err=$ac_c_preproc_warn_flag
    3907     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3908   else
    3909     ac_cpp_err=
    3910   fi
    3911 else
    3912   ac_cpp_err=yes
    3913 fi
    3914 if test -z "$ac_cpp_err"; then
     4568  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4569  (exit $ac_status); } >/dev/null && {
     4570     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4571     test ! -s conftest.err
     4572       }; then
    39154573  :
    39164574else
    3917   echo "$as_me: failed program was:" >&5
     4575  $as_echo "$as_me: failed program was:" >&5
    39184576sed 's/^/| /' conftest.$ac_ext >&5
    39194577
     
    39214579continue
    39224580fi
     4581
    39234582rm -f conftest.err conftest.$ac_ext
    39244583
    3925   # OK, works on sane cases.  Now check whether non-existent headers
     4584  # OK, works on sane cases.  Now check whether nonexistent headers
    39264585  # can be detected and how.
    39274586  cat >conftest.$ac_ext <<_ACEOF
     
    39334592#include <ac_nonexistent.h>
    39344593_ACEOF
    3935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3936   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4594if { (ac_try="$ac_cpp conftest.$ac_ext"
     4595case "(($ac_try" in
     4596  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4597  *) ac_try_echo=$ac_try;;
     4598esac
     4599eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4600$as_echo "$ac_try_echo") >&5
     4601  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    39374602  ac_status=$?
    39384603  grep -v '^ *+' conftest.er1 >conftest.err
    39394604  rm -f conftest.er1
    39404605  cat conftest.err >&5
    3941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3942   (exit $ac_status); } >/dev/null; then
    3943   if test -s conftest.err; then
    3944     ac_cpp_err=$ac_c_preproc_warn_flag
    3945     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3946   else
    3947     ac_cpp_err=
    3948   fi
    3949 else
    3950   ac_cpp_err=yes
    3951 fi
    3952 if test -z "$ac_cpp_err"; then
     4606  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4607  (exit $ac_status); } >/dev/null && {
     4608     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4609     test ! -s conftest.err
     4610       }; then
    39534611  # Broken: success on invalid input.
    39544612continue
    39554613else
    3956   echo "$as_me: failed program was:" >&5
     4614  $as_echo "$as_me: failed program was:" >&5
    39574615sed 's/^/| /' conftest.$ac_ext >&5
    39584616
     
    39614619break
    39624620fi
     4621
    39634622rm -f conftest.err conftest.$ac_ext
    39644623
     
    39784637  ac_cv_prog_CPP=$CPP
    39794638fi
    3980 echo "$as_me:$LINENO: result: $CPP" >&5
    3981 echo "${ECHO_T}$CPP" >&6
     4639{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
     4640$as_echo "$CPP" >&6; }
    39824641ac_preproc_ok=false
    39834642for ac_c_preproc_warn_flag in '' yes
     
    40024661             Syntax error
    40034662_ACEOF
    4004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4005   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4663if { (ac_try="$ac_cpp conftest.$ac_ext"
     4664case "(($ac_try" in
     4665  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4666  *) ac_try_echo=$ac_try;;
     4667esac
     4668eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4669$as_echo "$ac_try_echo") >&5
     4670  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    40064671  ac_status=$?
    40074672  grep -v '^ *+' conftest.er1 >conftest.err
    40084673  rm -f conftest.er1
    40094674  cat conftest.err >&5
    4010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4011   (exit $ac_status); } >/dev/null; then
    4012   if test -s conftest.err; then
    4013     ac_cpp_err=$ac_c_preproc_warn_flag
    4014     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4015   else
    4016     ac_cpp_err=
    4017   fi
    4018 else
    4019   ac_cpp_err=yes
    4020 fi
    4021 if test -z "$ac_cpp_err"; then
     4675  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4676  (exit $ac_status); } >/dev/null && {
     4677     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4678     test ! -s conftest.err
     4679       }; then
    40224680  :
    40234681else
    4024   echo "$as_me: failed program was:" >&5
     4682  $as_echo "$as_me: failed program was:" >&5
    40254683sed 's/^/| /' conftest.$ac_ext >&5
    40264684
     
    40284686continue
    40294687fi
     4688
    40304689rm -f conftest.err conftest.$ac_ext
    40314690
    4032   # OK, works on sane cases.  Now check whether non-existent headers
     4691  # OK, works on sane cases.  Now check whether nonexistent headers
    40334692  # can be detected and how.
    40344693  cat >conftest.$ac_ext <<_ACEOF
     
    40404699#include <ac_nonexistent.h>
    40414700_ACEOF
    4042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4043   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4701if { (ac_try="$ac_cpp conftest.$ac_ext"
     4702case "(($ac_try" in
     4703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4704  *) ac_try_echo=$ac_try;;
     4705esac
     4706eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4707$as_echo "$ac_try_echo") >&5
     4708  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    40444709  ac_status=$?
    40454710  grep -v '^ *+' conftest.er1 >conftest.err
    40464711  rm -f conftest.er1
    40474712  cat conftest.err >&5
    4048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4049   (exit $ac_status); } >/dev/null; then
    4050   if test -s conftest.err; then
    4051     ac_cpp_err=$ac_c_preproc_warn_flag
    4052     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4053   else
    4054     ac_cpp_err=
    4055   fi
    4056 else
    4057   ac_cpp_err=yes
    4058 fi
    4059 if test -z "$ac_cpp_err"; then
     4713  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4714  (exit $ac_status); } >/dev/null && {
     4715     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4716     test ! -s conftest.err
     4717       }; then
    40604718  # Broken: success on invalid input.
    40614719continue
    40624720else
    4063   echo "$as_me: failed program was:" >&5
     4721  $as_echo "$as_me: failed program was:" >&5
    40644722sed 's/^/| /' conftest.$ac_ext >&5
    40654723
     
    40684726break
    40694727fi
     4728
    40704729rm -f conftest.err conftest.$ac_ext
    40714730
     
    40764735  :
    40774736else
    4078   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     4737  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4738$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4739{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    40794740See \`config.log' for more details." >&5
    4080 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     4741$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    40814742See \`config.log' for more details." >&2;}
    4082    { (exit 1); exit 1; }; }
     4743   { (exit 1); exit 1; }; }; }
    40834744fi
    40844745
     
    40904751
    40914752
    4092 echo "$as_me:$LINENO: checking for egrep" >&5
    4093 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    4094 if test "${ac_cv_prog_egrep+set}" = set; then
    4095   echo $ECHO_N "(cached) $ECHO_C" >&6
    4096 else
    4097   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    4098     then ac_cv_prog_egrep='grep -E'
    4099     else ac_cv_prog_egrep='egrep'
     4753{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4754$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4755if test "${ac_cv_path_GREP+set}" = set; then
     4756  $as_echo_n "(cached) " >&6
     4757else
     4758  if test -z "$GREP"; then
     4759  ac_path_GREP_found=false
     4760  # Loop through the user's path and test for each of PROGNAME-LIST
     4761  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4762for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4763do
     4764  IFS=$as_save_IFS
     4765  test -z "$as_dir" && as_dir=.
     4766  for ac_prog in grep ggrep; do
     4767    for ac_exec_ext in '' $ac_executable_extensions; do
     4768      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4769      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4770# Check for GNU ac_path_GREP and select it if it is found.
     4771  # Check for GNU $ac_path_GREP
     4772case `"$ac_path_GREP" --version 2>&1` in
     4773*GNU*)
     4774  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4775*)
     4776  ac_count=0
     4777  $as_echo_n 0123456789 >"conftest.in"
     4778  while :
     4779  do
     4780    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4781    mv "conftest.tmp" "conftest.in"
     4782    cp "conftest.in" "conftest.nl"
     4783    $as_echo 'GREP' >> "conftest.nl"
     4784    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4785    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4786    ac_count=`expr $ac_count + 1`
     4787    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4788      # Best one so far, save it but keep looking for a better one
     4789      ac_cv_path_GREP="$ac_path_GREP"
     4790      ac_path_GREP_max=$ac_count
    41004791    fi
    4101 fi
    4102 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    4103 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    4104  EGREP=$ac_cv_prog_egrep
    4105 
    4106 
    4107 
    4108 echo "$as_me:$LINENO: checking for AIX" >&5
    4109 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    4110 cat >conftest.$ac_ext <<_ACEOF
    4111 /* confdefs.h.  */
    4112 _ACEOF
    4113 cat confdefs.h >>conftest.$ac_ext
    4114 cat >>conftest.$ac_ext <<_ACEOF
    4115 /* end confdefs.h.  */
    4116 #ifdef _AIX
    4117   yes
    4118 #endif
    4119 
    4120 _ACEOF
    4121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4122   $EGREP "yes" >/dev/null 2>&1; then
    4123   echo "$as_me:$LINENO: result: yes" >&5
    4124 echo "${ECHO_T}yes" >&6
    4125 cat >>confdefs.h <<\_ACEOF
    4126 #define _ALL_SOURCE 1
    4127 _ACEOF
    4128 
    4129 else
    4130   echo "$as_me:$LINENO: result: no" >&5
    4131 echo "${ECHO_T}no" >&6
    4132 fi
    4133 rm -f conftest*
    4134 
    4135 
    4136 echo "$as_me:$LINENO: checking for library containing strerror" >&5
    4137 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
    4138 if test "${ac_cv_search_strerror+set}" = set; then
    4139   echo $ECHO_N "(cached) $ECHO_C" >&6
    4140 else
    4141   ac_func_search_save_LIBS=$LIBS
    4142 ac_cv_search_strerror=no
    4143 cat >conftest.$ac_ext <<_ACEOF
    4144 /* confdefs.h.  */
    4145 _ACEOF
    4146 cat confdefs.h >>conftest.$ac_ext
    4147 cat >>conftest.$ac_ext <<_ACEOF
    4148 /* end confdefs.h.  */
    4149 
    4150 /* Override any gcc2 internal prototype to avoid an error.  */
    4151 #ifdef __cplusplus
    4152 extern "C"
    4153 #endif
    4154 /* We use char because int might match the return type of a gcc2
    4155    builtin and then its argument prototype would still apply.  */
    4156 char strerror ();
    4157 int
    4158 main ()
    4159 {
    4160 strerror ();
    4161   ;
    4162   return 0;
    4163 }
    4164 _ACEOF
    4165 rm -f conftest.$ac_objext conftest$ac_exeext
    4166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4167   (eval $ac_link) 2>conftest.er1
    4168   ac_status=$?
    4169   grep -v '^ *+' conftest.er1 >conftest.err
    4170   rm -f conftest.er1
    4171   cat conftest.err >&5
    4172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4173   (exit $ac_status); } &&
    4174      { ac_try='test -z "$ac_c_werror_flag"
    4175              || test ! -s conftest.err'
    4176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4177   (eval $ac_try) 2>&5
    4178   ac_status=$?
    4179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4180   (exit $ac_status); }; } &&
    4181      { ac_try='test -s conftest$ac_exeext'
    4182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4183   (eval $ac_try) 2>&5
    4184   ac_status=$?
    4185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4186   (exit $ac_status); }; }; then
    4187   ac_cv_search_strerror="none required"
    4188 else
    4189   echo "$as_me: failed program was:" >&5
    4190 sed 's/^/| /' conftest.$ac_ext >&5
    4191 
    4192 fi
    4193 rm -f conftest.err conftest.$ac_objext \
    4194       conftest$ac_exeext conftest.$ac_ext
    4195 if test "$ac_cv_search_strerror" = no; then
    4196   for ac_lib in cposix; do
    4197     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4198     cat >conftest.$ac_ext <<_ACEOF
    4199 /* confdefs.h.  */
    4200 _ACEOF
    4201 cat confdefs.h >>conftest.$ac_ext
    4202 cat >>conftest.$ac_ext <<_ACEOF
    4203 /* end confdefs.h.  */
    4204 
    4205 /* Override any gcc2 internal prototype to avoid an error.  */
    4206 #ifdef __cplusplus
    4207 extern "C"
    4208 #endif
    4209 /* We use char because int might match the return type of a gcc2
    4210    builtin and then its argument prototype would still apply.  */
    4211 char strerror ();
    4212 int
    4213 main ()
    4214 {
    4215 strerror ();
    4216   ;
    4217   return 0;
    4218 }
    4219 _ACEOF
    4220 rm -f conftest.$ac_objext conftest$ac_exeext
    4221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4222   (eval $ac_link) 2>conftest.er1
    4223   ac_status=$?
    4224   grep -v '^ *+' conftest.er1 >conftest.err
    4225   rm -f conftest.er1
    4226   cat conftest.err >&5
    4227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4228   (exit $ac_status); } &&
    4229      { ac_try='test -z "$ac_c_werror_flag"
    4230              || test ! -s conftest.err'
    4231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4232   (eval $ac_try) 2>&5
    4233   ac_status=$?
    4234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4235   (exit $ac_status); }; } &&
    4236      { ac_try='test -s conftest$ac_exeext'
    4237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4238   (eval $ac_try) 2>&5
    4239   ac_status=$?
    4240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4241   (exit $ac_status); }; }; then
    4242   ac_cv_search_strerror="-l$ac_lib"
    4243 break
    4244 else
    4245   echo "$as_me: failed program was:" >&5
    4246 sed 's/^/| /' conftest.$ac_ext >&5
    4247 
    4248 fi
    4249 rm -f conftest.err conftest.$ac_objext \
    4250       conftest$ac_exeext conftest.$ac_ext
     4792    # 10*(2^10) chars as input seems more than enough
     4793    test $ac_count -gt 10 && break
    42514794  done
    4252 fi
    4253 LIBS=$ac_func_search_save_LIBS
    4254 fi
    4255 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    4256 echo "${ECHO_T}$ac_cv_search_strerror" >&6
    4257 if test "$ac_cv_search_strerror" != no; then
    4258   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
    4259 
    4260 fi
    4261 
    4262 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4263 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4795  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4796esac
     4797
     4798      $ac_path_GREP_found && break 3
     4799    done
     4800  done
     4801done
     4802IFS=$as_save_IFS
     4803  if test -z "$ac_cv_path_GREP"; then
     4804    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4805$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4806   { (exit 1); exit 1; }; }
     4807  fi
     4808else
     4809  ac_cv_path_GREP=$GREP
     4810fi
     4811
     4812fi
     4813{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4814$as_echo "$ac_cv_path_GREP" >&6; }
     4815 GREP="$ac_cv_path_GREP"
     4816
     4817
     4818{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4819$as_echo_n "checking for egrep... " >&6; }
     4820if test "${ac_cv_path_EGREP+set}" = set; then
     4821  $as_echo_n "(cached) " >&6
     4822else
     4823  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4824   then ac_cv_path_EGREP="$GREP -E"
     4825   else
     4826     if test -z "$EGREP"; then
     4827  ac_path_EGREP_found=false
     4828  # Loop through the user's path and test for each of PROGNAME-LIST
     4829  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4830for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4831do
     4832  IFS=$as_save_IFS
     4833  test -z "$as_dir" && as_dir=.
     4834  for ac_prog in egrep; do
     4835    for ac_exec_ext in '' $ac_executable_extensions; do
     4836      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4837      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4838# Check for GNU ac_path_EGREP and select it if it is found.
     4839  # Check for GNU $ac_path_EGREP
     4840case `"$ac_path_EGREP" --version 2>&1` in
     4841*GNU*)
     4842  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4843*)
     4844  ac_count=0
     4845  $as_echo_n 0123456789 >"conftest.in"
     4846  while :
     4847  do
     4848    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4849    mv "conftest.tmp" "conftest.in"
     4850    cp "conftest.in" "conftest.nl"
     4851    $as_echo 'EGREP' >> "conftest.nl"
     4852    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4853    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4854    ac_count=`expr $ac_count + 1`
     4855    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4856      # Best one so far, save it but keep looking for a better one
     4857      ac_cv_path_EGREP="$ac_path_EGREP"
     4858      ac_path_EGREP_max=$ac_count
     4859    fi
     4860    # 10*(2^10) chars as input seems more than enough
     4861    test $ac_count -gt 10 && break
     4862  done
     4863  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4864esac
     4865
     4866      $ac_path_EGREP_found && break 3
     4867    done
     4868  done
     4869done
     4870IFS=$as_save_IFS
     4871  if test -z "$ac_cv_path_EGREP"; then
     4872    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4873$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4874   { (exit 1); exit 1; }; }
     4875  fi
     4876else
     4877  ac_cv_path_EGREP=$EGREP
     4878fi
     4879
     4880   fi
     4881fi
     4882{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4883$as_echo "$ac_cv_path_EGREP" >&6; }
     4884 EGREP="$ac_cv_path_EGREP"
     4885
     4886
     4887{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4888$as_echo_n "checking for ANSI C header files... " >&6; }
    42644889if test "${ac_cv_header_stdc+set}" = set; then
    4265   echo $ECHO_N "(cached) $ECHO_C" >&6
     4890  $as_echo_n "(cached) " >&6
    42664891else
    42674892  cat >conftest.$ac_ext <<_ACEOF
     
    42854910_ACEOF
    42864911rm -f conftest.$ac_objext
    4287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4288   (eval $ac_compile) 2>conftest.er1
     4912if { (ac_try="$ac_compile"
     4913case "(($ac_try" in
     4914  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4915  *) ac_try_echo=$ac_try;;
     4916esac
     4917eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4918$as_echo "$ac_try_echo") >&5
     4919  (eval "$ac_compile") 2>conftest.er1
    42894920  ac_status=$?
    42904921  grep -v '^ *+' conftest.er1 >conftest.err
    42914922  rm -f conftest.er1
    42924923  cat conftest.err >&5
    4293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4294   (exit $ac_status); } &&
    4295      { ac_try='test -z "$ac_c_werror_flag"
    4296              || test ! -s conftest.err'
    4297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4298   (eval $ac_try) 2>&5
    4299   ac_status=$?
    4300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4301   (exit $ac_status); }; } &&
    4302      { ac_try='test -s conftest.$ac_objext'
    4303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4304   (eval $ac_try) 2>&5
    4305   ac_status=$?
    4306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4307   (exit $ac_status); }; }; then
     4924  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4925  (exit $ac_status); } && {
     4926     test -z "$ac_c_werror_flag" ||
     4927     test ! -s conftest.err
     4928       } && test -s conftest.$ac_objext; then
    43084929  ac_cv_header_stdc=yes
    43094930else
    4310   echo "$as_me: failed program was:" >&5
     4931  $as_echo "$as_me: failed program was:" >&5
    43114932sed 's/^/| /' conftest.$ac_ext >&5
    43124933
    4313 ac_cv_header_stdc=no
    4314 fi
    4315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4934    ac_cv_header_stdc=no
     4935fi
     4936
     4937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    43164938
    43174939if test $ac_cv_header_stdc = yes; then
     
    43694991/* end confdefs.h.  */
    43704992#include <ctype.h>
     4993#include <stdlib.h>
    43714994#if ((' ' & 0x0FF) == 0x020)
    43724995# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    43885011    if (XOR (islower (i), ISLOWER (i))
    43895012    || toupper (i) != TOUPPER (i))
    4390       exit(2);
    4391   exit (0);
     5013      return 2;
     5014  return 0;
    43925015}
    43935016_ACEOF
    43945017rm -f conftest$ac_exeext
    4395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4396   (eval $ac_link) 2>&5
     5018if { (ac_try="$ac_link"
     5019case "(($ac_try" in
     5020  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5021  *) ac_try_echo=$ac_try;;
     5022esac
     5023eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5024$as_echo "$ac_try_echo") >&5
     5025  (eval "$ac_link") 2>&5
    43975026  ac_status=$?
    4398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5027  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43995028  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4401   (eval $ac_try) 2>&5
     5029  { (case "(($ac_try" in
     5030  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5031  *) ac_try_echo=$ac_try;;
     5032esac
     5033eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5034$as_echo "$ac_try_echo") >&5
     5035  (eval "$ac_try") 2>&5
    44025036  ac_status=$?
    4403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5037  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    44045038  (exit $ac_status); }; }; then
    44055039  :
    44065040else
    4407   echo "$as_me: program exited with status $ac_status" >&5
    4408 echo "$as_me: failed program was:" >&5
     5041  $as_echo "$as_me: program exited with status $ac_status" >&5
     5042$as_echo "$as_me: failed program was:" >&5
    44095043sed 's/^/| /' conftest.$ac_ext >&5
    44105044
     
    44125046ac_cv_header_stdc=no
    44135047fi
    4414 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4415 fi
    4416 fi
    4417 fi
    4418 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4419 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     5048rm -rf conftest.dSYM
     5049rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5050fi
     5051
     5052
     5053fi
     5054fi
     5055{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5056$as_echo "$ac_cv_header_stdc" >&6; }
    44205057if test $ac_cv_header_stdc = yes; then
    44215058
     
    44395076          inttypes.h stdint.h unistd.h
    44405077do
    4441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4442 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4445   echo $ECHO_N "(cached) $ECHO_C" >&6
     5078as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5079{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5080$as_echo_n "checking for $ac_header... " >&6; }
     5081if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5082  $as_echo_n "(cached) " >&6
    44465083else
    44475084  cat >conftest.$ac_ext <<_ACEOF
     
    44565093_ACEOF
    44575094rm -f conftest.$ac_objext
    4458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4459   (eval $ac_compile) 2>conftest.er1
     5095if { (ac_try="$ac_compile"
     5096case "(($ac_try" in
     5097  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5098  *) ac_try_echo=$ac_try;;
     5099esac
     5100eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5101$as_echo "$ac_try_echo") >&5
     5102  (eval "$ac_compile") 2>conftest.er1
    44605103  ac_status=$?
    44615104  grep -v '^ *+' conftest.er1 >conftest.err
    44625105  rm -f conftest.er1
    44635106  cat conftest.err >&5
    4464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4465   (exit $ac_status); } &&
    4466      { ac_try='test -z "$ac_c_werror_flag"
    4467              || test ! -s conftest.err'
    4468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4469   (eval $ac_try) 2>&5
    4470   ac_status=$?
    4471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4472   (exit $ac_status); }; } &&
    4473      { ac_try='test -s conftest.$ac_objext'
    4474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4475   (eval $ac_try) 2>&5
    4476   ac_status=$?
    4477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4478   (exit $ac_status); }; }; then
     5107  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5108  (exit $ac_status); } && {
     5109     test -z "$ac_c_werror_flag" ||
     5110     test ! -s conftest.err
     5111       } && test -s conftest.$ac_objext; then
    44795112  eval "$as_ac_Header=yes"
    44805113else
    4481   echo "$as_me: failed program was:" >&5
     5114  $as_echo "$as_me: failed program was:" >&5
    44825115sed 's/^/| /' conftest.$ac_ext >&5
    44835116
    4484 eval "$as_ac_Header=no"
    4485 fi
    4486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4487 fi
    4488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5117    eval "$as_ac_Header=no"
     5118fi
     5119
     5120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5121fi
     5122ac_res=`eval 'as_val=${'$as_ac_Header'}
     5123         $as_echo "$as_val"'`
     5124           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5125$as_echo "$ac_res" >&6; }
     5126as_val=`eval 'as_val=${'$as_ac_Header'}
     5127         $as_echo "$as_val"'`
     5128   if test "x$as_val" = x""yes; then
    44915129  cat >>confdefs.h <<_ACEOF
    4492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5130#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    44935131_ACEOF
    44945132
     
    44985136
    44995137
     5138
     5139  if test "${ac_cv_header_minix_config_h+set}" = set; then
     5140  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     5141$as_echo_n "checking for minix/config.h... " >&6; }
    45005142if test "${ac_cv_header_minix_config_h+set}" = set; then
    4501   echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4502 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    4503 if test "${ac_cv_header_minix_config_h+set}" = set; then
    4504   echo $ECHO_N "(cached) $ECHO_C" >&6
    4505 fi
    4506 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4507 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     5143  $as_echo_n "(cached) " >&6
     5144fi
     5145{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     5146$as_echo "$ac_cv_header_minix_config_h" >&6; }
    45085147else
    45095148  # Is the header compilable?
    4510 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    4511 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     5149{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     5150$as_echo_n "checking minix/config.h usability... " >&6; }
    45125151cat >conftest.$ac_ext <<_ACEOF
    45135152/* confdefs.h.  */
     
    45205159_ACEOF
    45215160rm -f conftest.$ac_objext
    4522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4523   (eval $ac_compile) 2>conftest.er1
     5161if { (ac_try="$ac_compile"
     5162case "(($ac_try" in
     5163  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5164  *) ac_try_echo=$ac_try;;
     5165esac
     5166eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5167$as_echo "$ac_try_echo") >&5
     5168  (eval "$ac_compile") 2>conftest.er1
    45245169  ac_status=$?
    45255170  grep -v '^ *+' conftest.er1 >conftest.err
    45265171  rm -f conftest.er1
    45275172  cat conftest.err >&5
    4528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4529   (exit $ac_status); } &&
    4530      { ac_try='test -z "$ac_c_werror_flag"
    4531              || test ! -s conftest.err'
    4532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4533   (eval $ac_try) 2>&5
    4534   ac_status=$?
    4535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4536   (exit $ac_status); }; } &&
    4537      { ac_try='test -s conftest.$ac_objext'
    4538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4539   (eval $ac_try) 2>&5
    4540   ac_status=$?
    4541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4542   (exit $ac_status); }; }; then
     5173  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5174  (exit $ac_status); } && {
     5175     test -z "$ac_c_werror_flag" ||
     5176     test ! -s conftest.err
     5177       } && test -s conftest.$ac_objext; then
    45435178  ac_header_compiler=yes
    45445179else
    4545   echo "$as_me: failed program was:" >&5
     5180  $as_echo "$as_me: failed program was:" >&5
    45465181sed 's/^/| /' conftest.$ac_ext >&5
    45475182
    4548 ac_header_compiler=no
    4549 fi
    4550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4552 echo "${ECHO_T}$ac_header_compiler" >&6
     5183    ac_header_compiler=no
     5184fi
     5185
     5186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5187{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5188$as_echo "$ac_header_compiler" >&6; }
    45535189
    45545190# Is the header present?
    4555 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    4556 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     5191{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     5192$as_echo_n "checking minix/config.h presence... " >&6; }
    45575193cat >conftest.$ac_ext <<_ACEOF
    45585194/* confdefs.h.  */
     
    45635199#include <minix/config.h>
    45645200_ACEOF
    4565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4566   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5201if { (ac_try="$ac_cpp conftest.$ac_ext"
     5202case "(($ac_try" in
     5203  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5204  *) ac_try_echo=$ac_try;;
     5205esac
     5206eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5207$as_echo "$ac_try_echo") >&5
     5208  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    45675209  ac_status=$?
    45685210  grep -v '^ *+' conftest.er1 >conftest.err
    45695211  rm -f conftest.er1
    45705212  cat conftest.err >&5
    4571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4572   (exit $ac_status); } >/dev/null; then
    4573   if test -s conftest.err; then
    4574     ac_cpp_err=$ac_c_preproc_warn_flag
    4575     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4576   else
    4577     ac_cpp_err=
    4578   fi
    4579 else
    4580   ac_cpp_err=yes
    4581 fi
    4582 if test -z "$ac_cpp_err"; then
     5213  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5214  (exit $ac_status); } >/dev/null && {
     5215     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5216     test ! -s conftest.err
     5217       }; then
    45835218  ac_header_preproc=yes
    45845219else
    4585   echo "$as_me: failed program was:" >&5
     5220  $as_echo "$as_me: failed program was:" >&5
    45865221sed 's/^/| /' conftest.$ac_ext >&5
    45875222
    45885223  ac_header_preproc=no
    45895224fi
     5225
    45905226rm -f conftest.err conftest.$ac_ext
    4591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4592 echo "${ECHO_T}$ac_header_preproc" >&6
     5227{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5228$as_echo "$ac_header_preproc" >&6; }
    45935229
    45945230# So?  What about this header?
    45955231case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    45965232  yes:no: )
    4597     { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4598 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4599     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
    4600 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
     5233    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5234$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5235    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
     5236$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
    46015237    ac_header_preproc=yes
    46025238    ;;
    46035239  no:yes:* )
    4604     { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
    4605 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
    4606     { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
    4607 echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
    4608     { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
    4609 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
    4610     { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
    4611 echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4612     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
    4613 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
    4614     { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    4615 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    4616     (
    4617       cat <<\_ASBOX
    4618 ## ------------------------------------------ ##
    4619 ## Report this to the AC_PACKAGE_NAME lists.  ##
    4620 ## ------------------------------------------ ##
    4621 _ASBOX
    4622     ) |
    4623       sed "s/^/$as_me: WARNING:     /" >&2
     5240    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
     5241$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
     5242    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
     5243$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
     5244    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
     5245$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
     5246    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
     5247$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5248    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
     5249$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
     5250    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
     5251$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
     5252
    46245253    ;;
    46255254esac
    4626 echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4627 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     5255{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     5256$as_echo_n "checking for minix/config.h... " >&6; }
    46285257if test "${ac_cv_header_minix_config_h+set}" = set; then
    4629   echo $ECHO_N "(cached) $ECHO_C" >&6
     5258  $as_echo_n "(cached) " >&6
    46305259else
    46315260  ac_cv_header_minix_config_h=$ac_header_preproc
    46325261fi
    4633 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4634 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    4635 
    4636 fi
    4637 if test $ac_cv_header_minix_config_h = yes; then
     5262{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     5263$as_echo "$ac_cv_header_minix_config_h" >&6; }
     5264
     5265fi
     5266if test "x$ac_cv_header_minix_config_h" = x""yes; then
    46385267  MINIX=yes
    46395268else
     
    46425271
    46435272
    4644 if test "$MINIX" = yes; then
     5273  if test "$MINIX" = yes; then
    46455274
    46465275cat >>confdefs.h <<\_ACEOF
     
    46585287_ACEOF
    46595288
    4660 fi
    4661 
    4662 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    4663 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     5289  fi
     5290
     5291
     5292
     5293  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
     5294$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
     5295if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
     5296  $as_echo_n "(cached) " >&6
     5297else
     5298  cat >conftest.$ac_ext <<_ACEOF
     5299/* confdefs.h.  */
     5300_ACEOF
     5301cat confdefs.h >>conftest.$ac_ext
     5302cat >>conftest.$ac_ext <<_ACEOF
     5303/* end confdefs.h.  */
     5304
     5305#     define __EXTENSIONS__ 1
     5306      $ac_includes_default
     5307int
     5308main ()
     5309{
     5310
     5311  ;
     5312  return 0;
     5313}
     5314_ACEOF
     5315rm -f conftest.$ac_objext
     5316if { (ac_try="$ac_compile"
     5317case "(($ac_try" in
     5318  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5319  *) ac_try_echo=$ac_try;;
     5320esac
     5321eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5322$as_echo "$ac_try_echo") >&5
     5323  (eval "$ac_compile") 2>conftest.er1
     5324  ac_status=$?
     5325  grep -v '^ *+' conftest.er1 >conftest.err
     5326  rm -f conftest.er1
     5327  cat conftest.err >&5
     5328  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5329  (exit $ac_status); } && {
     5330     test -z "$ac_c_werror_flag" ||
     5331     test ! -s conftest.err
     5332       } && test -s conftest.$ac_objext; then
     5333  ac_cv_safe_to_define___extensions__=yes
     5334else
     5335  $as_echo "$as_me: failed program was:" >&5
     5336sed 's/^/| /' conftest.$ac_ext >&5
     5337
     5338    ac_cv_safe_to_define___extensions__=no
     5339fi
     5340
     5341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5342fi
     5343{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
     5344$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
     5345  test $ac_cv_safe_to_define___extensions__ = yes &&
     5346    cat >>confdefs.h <<\_ACEOF
     5347#define __EXTENSIONS__ 1
     5348_ACEOF
     5349
     5350  cat >>confdefs.h <<\_ACEOF
     5351#define _ALL_SOURCE 1
     5352_ACEOF
     5353
     5354  cat >>confdefs.h <<\_ACEOF
     5355#define _GNU_SOURCE 1
     5356_ACEOF
     5357
     5358  cat >>confdefs.h <<\_ACEOF
     5359#define _POSIX_PTHREAD_SEMANTICS 1
     5360_ACEOF
     5361
     5362  cat >>confdefs.h <<\_ACEOF
     5363#define _TANDEM_SOURCE 1
     5364_ACEOF
     5365
     5366
     5367{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
     5368$as_echo_n "checking for library containing strerror... " >&6; }
     5369if test "${ac_cv_search_strerror+set}" = set; then
     5370  $as_echo_n "(cached) " >&6
     5371else
     5372  ac_func_search_save_LIBS=$LIBS
     5373cat >conftest.$ac_ext <<_ACEOF
     5374/* confdefs.h.  */
     5375_ACEOF
     5376cat confdefs.h >>conftest.$ac_ext
     5377cat >>conftest.$ac_ext <<_ACEOF
     5378/* end confdefs.h.  */
     5379
     5380/* Override any GCC internal prototype to avoid an error.
     5381   Use char because int might match the return type of a GCC
     5382   builtin and then its argument prototype would still apply.  */
     5383#ifdef __cplusplus
     5384extern "C"
     5385#endif
     5386char strerror ();
     5387int
     5388main ()
     5389{
     5390return strerror ();
     5391  ;
     5392  return 0;
     5393}
     5394_ACEOF
     5395for ac_lib in '' cposix; do
     5396  if test -z "$ac_lib"; then
     5397    ac_res="none required"
     5398  else
     5399    ac_res=-l$ac_lib
     5400    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5401  fi
     5402  rm -f conftest.$ac_objext conftest$ac_exeext
     5403if { (ac_try="$ac_link"
     5404case "(($ac_try" in
     5405  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5406  *) ac_try_echo=$ac_try;;
     5407esac
     5408eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5409$as_echo "$ac_try_echo") >&5
     5410  (eval "$ac_link") 2>conftest.er1
     5411  ac_status=$?
     5412  grep -v '^ *+' conftest.er1 >conftest.err
     5413  rm -f conftest.er1
     5414  cat conftest.err >&5
     5415  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5416  (exit $ac_status); } && {
     5417     test -z "$ac_c_werror_flag" ||
     5418     test ! -s conftest.err
     5419       } && test -s conftest$ac_exeext && {
     5420     test "$cross_compiling" = yes ||
     5421     $as_test_x conftest$ac_exeext
     5422       }; then
     5423  ac_cv_search_strerror=$ac_res
     5424else
     5425  $as_echo "$as_me: failed program was:" >&5
     5426sed 's/^/| /' conftest.$ac_ext >&5
     5427
     5428
     5429fi
     5430
     5431rm -rf conftest.dSYM
     5432rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5433      conftest$ac_exeext
     5434  if test "${ac_cv_search_strerror+set}" = set; then
     5435  break
     5436fi
     5437done
     5438if test "${ac_cv_search_strerror+set}" = set; then
     5439  :
     5440else
     5441  ac_cv_search_strerror=no
     5442fi
     5443rm conftest.$ac_ext
     5444LIBS=$ac_func_search_save_LIBS
     5445fi
     5446{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     5447$as_echo "$ac_cv_search_strerror" >&6; }
     5448ac_res=$ac_cv_search_strerror
     5449if test "$ac_res" != no; then
     5450  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5451
     5452fi
     5453
     5454
     5455  if test "${ac_cv_header_minix_config_h+set}" = set; then
     5456  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     5457$as_echo_n "checking for minix/config.h... " >&6; }
     5458if test "${ac_cv_header_minix_config_h+set}" = set; then
     5459  $as_echo_n "(cached) " >&6
     5460fi
     5461{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     5462$as_echo "$ac_cv_header_minix_config_h" >&6; }
     5463else
     5464  # Is the header compilable?
     5465{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     5466$as_echo_n "checking minix/config.h usability... " >&6; }
     5467cat >conftest.$ac_ext <<_ACEOF
     5468/* confdefs.h.  */
     5469_ACEOF
     5470cat confdefs.h >>conftest.$ac_ext
     5471cat >>conftest.$ac_ext <<_ACEOF
     5472/* end confdefs.h.  */
     5473$ac_includes_default
     5474#include <minix/config.h>
     5475_ACEOF
     5476rm -f conftest.$ac_objext
     5477if { (ac_try="$ac_compile"
     5478case "(($ac_try" in
     5479  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5480  *) ac_try_echo=$ac_try;;
     5481esac
     5482eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5483$as_echo "$ac_try_echo") >&5
     5484  (eval "$ac_compile") 2>conftest.er1
     5485  ac_status=$?
     5486  grep -v '^ *+' conftest.er1 >conftest.err
     5487  rm -f conftest.er1
     5488  cat conftest.err >&5
     5489  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5490  (exit $ac_status); } && {
     5491     test -z "$ac_c_werror_flag" ||
     5492     test ! -s conftest.err
     5493       } && test -s conftest.$ac_objext; then
     5494  ac_header_compiler=yes
     5495else
     5496  $as_echo "$as_me: failed program was:" >&5
     5497sed 's/^/| /' conftest.$ac_ext >&5
     5498
     5499    ac_header_compiler=no
     5500fi
     5501
     5502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5503{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5504$as_echo "$ac_header_compiler" >&6; }
     5505
     5506# Is the header present?
     5507{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     5508$as_echo_n "checking minix/config.h presence... " >&6; }
     5509cat >conftest.$ac_ext <<_ACEOF
     5510/* confdefs.h.  */
     5511_ACEOF
     5512cat confdefs.h >>conftest.$ac_ext
     5513cat >>conftest.$ac_ext <<_ACEOF
     5514/* end confdefs.h.  */
     5515#include <minix/config.h>
     5516_ACEOF
     5517if { (ac_try="$ac_cpp conftest.$ac_ext"
     5518case "(($ac_try" in
     5519  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5520  *) ac_try_echo=$ac_try;;
     5521esac
     5522eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5523$as_echo "$ac_try_echo") >&5
     5524  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5525  ac_status=$?
     5526  grep -v '^ *+' conftest.er1 >conftest.err
     5527  rm -f conftest.er1
     5528  cat conftest.err >&5
     5529  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5530  (exit $ac_status); } >/dev/null && {
     5531     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5532     test ! -s conftest.err
     5533       }; then
     5534  ac_header_preproc=yes
     5535else
     5536  $as_echo "$as_me: failed program was:" >&5
     5537sed 's/^/| /' conftest.$ac_ext >&5
     5538
     5539  ac_header_preproc=no
     5540fi
     5541
     5542rm -f conftest.err conftest.$ac_ext
     5543{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5544$as_echo "$ac_header_preproc" >&6; }
     5545
     5546# So?  What about this header?
     5547case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5548  yes:no: )
     5549    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5550$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5551    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
     5552$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
     5553    ac_header_preproc=yes
     5554    ;;
     5555  no:yes:* )
     5556    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
     5557$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
     5558    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
     5559$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
     5560    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
     5561$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
     5562    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
     5563$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5564    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
     5565$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
     5566    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
     5567$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
     5568
     5569    ;;
     5570esac
     5571{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     5572$as_echo_n "checking for minix/config.h... " >&6; }
     5573if test "${ac_cv_header_minix_config_h+set}" = set; then
     5574  $as_echo_n "(cached) " >&6
     5575else
     5576  ac_cv_header_minix_config_h=$ac_header_preproc
     5577fi
     5578{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     5579$as_echo "$ac_cv_header_minix_config_h" >&6; }
     5580
     5581fi
     5582if test "x$ac_cv_header_minix_config_h" = x""yes; then
     5583  MINIX=yes
     5584else
     5585  MINIX=
     5586fi
     5587
     5588
     5589  if test "$MINIX" = yes; then
     5590
     5591cat >>confdefs.h <<\_ACEOF
     5592#define _POSIX_SOURCE 1
     5593_ACEOF
     5594
     5595
     5596cat >>confdefs.h <<\_ACEOF
     5597#define _POSIX_1_SOURCE 2
     5598_ACEOF
     5599
     5600
     5601cat >>confdefs.h <<\_ACEOF
     5602#define _MINIX 1
     5603_ACEOF
     5604
     5605  fi
     5606
     5607
     5608
     5609  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
     5610$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
     5611if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
     5612  $as_echo_n "(cached) " >&6
     5613else
     5614  cat >conftest.$ac_ext <<_ACEOF
     5615/* confdefs.h.  */
     5616_ACEOF
     5617cat confdefs.h >>conftest.$ac_ext
     5618cat >>conftest.$ac_ext <<_ACEOF
     5619/* end confdefs.h.  */
     5620
     5621#     define __EXTENSIONS__ 1
     5622      $ac_includes_default
     5623int
     5624main ()
     5625{
     5626
     5627  ;
     5628  return 0;
     5629}
     5630_ACEOF
     5631rm -f conftest.$ac_objext
     5632if { (ac_try="$ac_compile"
     5633case "(($ac_try" in
     5634  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5635  *) ac_try_echo=$ac_try;;
     5636esac
     5637eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5638$as_echo "$ac_try_echo") >&5
     5639  (eval "$ac_compile") 2>conftest.er1
     5640  ac_status=$?
     5641  grep -v '^ *+' conftest.er1 >conftest.err
     5642  rm -f conftest.er1
     5643  cat conftest.err >&5
     5644  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5645  (exit $ac_status); } && {
     5646     test -z "$ac_c_werror_flag" ||
     5647     test ! -s conftest.err
     5648       } && test -s conftest.$ac_objext; then
     5649  ac_cv_safe_to_define___extensions__=yes
     5650else
     5651  $as_echo "$as_me: failed program was:" >&5
     5652sed 's/^/| /' conftest.$ac_ext >&5
     5653
     5654    ac_cv_safe_to_define___extensions__=no
     5655fi
     5656
     5657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5658fi
     5659{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
     5660$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
     5661  test $ac_cv_safe_to_define___extensions__ = yes &&
     5662    cat >>confdefs.h <<\_ACEOF
     5663#define __EXTENSIONS__ 1
     5664_ACEOF
     5665
     5666  cat >>confdefs.h <<\_ACEOF
     5667#define _ALL_SOURCE 1
     5668_ACEOF
     5669
     5670  cat >>confdefs.h <<\_ACEOF
     5671#define _GNU_SOURCE 1
     5672_ACEOF
     5673
     5674  cat >>confdefs.h <<\_ACEOF
     5675#define _POSIX_PTHREAD_SEMANTICS 1
     5676_ACEOF
     5677
     5678  cat >>confdefs.h <<\_ACEOF
     5679#define _TANDEM_SOURCE 1
     5680_ACEOF
     5681
     5682
     5683{ $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     5684$as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
    46645685if test "${ac_cv_prog_cc_stdc+set}" = set; then
    4665   echo $ECHO_N "(cached) $ECHO_C" >&6
     5686  $as_echo_n "(cached) " >&6
    46665687else
    46675688  ac_cv_prog_cc_stdc=no
     
    46975718_ACEOF
    46985719rm -f conftest.$ac_objext
    4699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4700   (eval $ac_compile) 2>conftest.er1
     5720if { (ac_try="$ac_compile"
     5721case "(($ac_try" in
     5722  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5723  *) ac_try_echo=$ac_try;;
     5724esac
     5725eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""