Ignore:
Timestamp:
2012-02-28T14:18:52+13:00 (12 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 [email protected] 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\""
     5726$as_echo "$ac_try_echo") >&5
     5727  (eval "$ac_compile") 2>conftest.er1
    47015728  ac_status=$?
    47025729  grep -v '^ *+' conftest.er1 >conftest.err
    47035730  rm -f conftest.er1
    47045731  cat conftest.err >&5
    4705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4706   (exit $ac_status); } &&
    4707      { ac_try='test -z "$ac_c_werror_flag"
    4708              || test ! -s conftest.err'
    4709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4710   (eval $ac_try) 2>&5
    4711   ac_status=$?
    4712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4713   (exit $ac_status); }; } &&
    4714      { ac_try='test -s conftest.$ac_objext'
    4715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4716   (eval $ac_try) 2>&5
    4717   ac_status=$?
    4718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4719   (exit $ac_status); }; }; then
     5732  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5733  (exit $ac_status); } && {
     5734     test -z "$ac_c_werror_flag" ||
     5735     test ! -s conftest.err
     5736       } && test -s conftest.$ac_objext; then
    47205737  ac_cv_prog_cc_stdc="$ac_arg"; break
    47215738else
    4722   echo "$as_me: failed program was:" >&5
     5739  $as_echo "$as_me: failed program was:" >&5
    47235740sed 's/^/| /' conftest.$ac_ext >&5
    47245741
    4725 fi
    4726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5742
     5743fi
     5744
     5745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    47275746done
    47285747CFLAGS="$ac_save_CFLAGS"
     
    47305749fi
    47315750
    4732 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4733 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     5751{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     5752$as_echo "$ac_cv_prog_cc_stdc" >&6; }
    47345753case "x$ac_cv_prog_cc_stdc" in
    47355754  x|xno) ;;
     
    47385757
    47395758
    4740 echo "$as_me:$LINENO: checking for function prototypes" >&5
    4741 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     5759{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
     5760$as_echo_n "checking for function prototypes... " >&6; }
    47425761if test "$ac_cv_prog_cc_stdc" != no; then
    4743   echo "$as_me:$LINENO: result: yes" >&5
    4744 echo "${ECHO_T}yes" >&6
     5762  { $as_echo "$as_me:$LINENO: result: yes" >&5
     5763$as_echo "yes" >&6; }
    47455764  cat >>confdefs.h <<\_ACEOF
    47465765#define PROTOTYPES 1
     
    47495768  U= ANSI2KNR=
    47505769else
    4751   echo "$as_me:$LINENO: result: no" >&5
    4752 echo "${ECHO_T}no" >&6
     5770  { $as_echo "$as_me:$LINENO: result: no" >&5
     5771$as_echo "no" >&6; }
    47535772  U=_ ANSI2KNR=ansi2knr
    47545773fi
    47555774
    4756 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4757 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     5775{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     5776$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
    47585777if test "${ac_cv_c_const+set}" = set; then
    4759   echo $ECHO_N "(cached) $ECHO_C" >&6
     5778  $as_echo_n "(cached) " >&6
    47605779else
    47615780  cat >conftest.$ac_ext <<_ACEOF
     
    47735792  /* Ultrix mips cc rejects this.  */
    47745793  typedef int charset[2];
    4775   const charset x;
     5794  const charset cs;
    47765795  /* SunOS 4.1.1 cc rejects this.  */
    4777   char const *const *ccp;
    4778   char **p;
     5796  char const *const *pcpcc;
     5797  char **ppc;
    47795798  /* NEC SVR4.0.2 mips cc rejects this.  */
    47805799  struct point {int x, y;};
     
    47855804     expression */
    47865805  const char *g = "string";
    4787   ccp = &g + (g ? g-g : 0);
     5806  pcpcc = &g + (g ? g-g : 0);
    47885807  /* HPUX 7.0 cc rejects these. */
    4789   ++ccp;
    4790   p = (char**) ccp;
    4791   ccp = (char const *const *) p;
     5808  ++pcpcc;
     5809  ppc = (char**) pcpcc;
     5810  pcpcc = (char const *const *) ppc;
    47925811  { /* SCO 3.2v4 cc rejects this.  */
    47935812    char *t;
     
    47955814
    47965815    *t++ = 0;
     5816    if (s) return 0;
    47975817  }
    47985818  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    48135833  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    48145834    const int foo = 10;
     5835    if (!foo) return 0;
    48155836  }
     5837  return !cs[0] && !zero.x;
    48165838#endif
    48175839
     
    48215843_ACEOF
    48225844rm -f conftest.$ac_objext
    4823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4824   (eval $ac_compile) 2>conftest.er1
     5845if { (ac_try="$ac_compile"
     5846case "(($ac_try" in
     5847  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5848  *) ac_try_echo=$ac_try;;
     5849esac
     5850eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5851$as_echo "$ac_try_echo") >&5
     5852  (eval "$ac_compile") 2>conftest.er1
    48255853  ac_status=$?
    48265854  grep -v '^ *+' conftest.er1 >conftest.err
    48275855  rm -f conftest.er1
    48285856  cat conftest.err >&5
    4829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4830   (exit $ac_status); } &&
    4831      { ac_try='test -z "$ac_c_werror_flag"
    4832              || test ! -s conftest.err'
    4833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4834   (eval $ac_try) 2>&5
    4835   ac_status=$?
    4836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4837   (exit $ac_status); }; } &&
    4838      { ac_try='test -s conftest.$ac_objext'
    4839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4840   (eval $ac_try) 2>&5
    4841   ac_status=$?
    4842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4843   (exit $ac_status); }; }; then
     5857  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5858  (exit $ac_status); } && {
     5859     test -z "$ac_c_werror_flag" ||
     5860     test ! -s conftest.err
     5861       } && test -s conftest.$ac_objext; then
    48445862  ac_cv_c_const=yes
    48455863else
    4846   echo "$as_me: failed program was:" >&5
     5864  $as_echo "$as_me: failed program was:" >&5
    48475865sed 's/^/| /' conftest.$ac_ext >&5
    48485866
    4849 ac_cv_c_const=no
    4850 fi
    4851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4852 fi
    4853 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4854 echo "${ECHO_T}$ac_cv_c_const" >&6
     5867    ac_cv_c_const=no
     5868fi
     5869
     5870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5871fi
     5872{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     5873$as_echo "$ac_cv_c_const" >&6; }
    48555874if test $ac_cv_c_const = no; then
    48565875
    48575876cat >>confdefs.h <<\_ACEOF
    4858 #define const
    4859 _ACEOF
    4860 
    4861 fi
    4862 
    4863 echo "$as_me:$LINENO: checking for off_t" >&5
    4864 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     5877#define const /**/
     5878_ACEOF
     5879
     5880fi
     5881
     5882{ $as_echo "$as_me:$LINENO: checking for off_t" >&5
     5883$as_echo_n "checking for off_t... " >&6; }
    48655884if test "${ac_cv_type_off_t+set}" = set; then
    4866   echo $ECHO_N "(cached) $ECHO_C" >&6
    4867 else
    4868   cat >conftest.$ac_ext <<_ACEOF
     5885  $as_echo_n "(cached) " >&6
     5886else
     5887  ac_cv_type_off_t=no
     5888cat >conftest.$ac_ext <<_ACEOF
    48695889/* confdefs.h.  */
    48705890_ACEOF
     
    48765896main ()
    48775897{
    4878 if ((off_t *) 0)
    4879   return 0;
    48805898if (sizeof (off_t))
    4881   return 0;
     5899       return 0;
    48825900  ;
    48835901  return 0;
     
    48855903_ACEOF
    48865904rm -f conftest.$ac_objext
    4887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4888   (eval $ac_compile) 2>conftest.er1
     5905if { (ac_try="$ac_compile"
     5906case "(($ac_try" in
     5907  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5908  *) ac_try_echo=$ac_try;;
     5909esac
     5910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5911$as_echo "$ac_try_echo") >&5
     5912  (eval "$ac_compile") 2>conftest.er1
    48895913  ac_status=$?
    48905914  grep -v '^ *+' conftest.er1 >conftest.err
    48915915  rm -f conftest.er1
    48925916  cat conftest.err >&5
    4893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4894   (exit $ac_status); } &&
    4895      { ac_try='test -z "$ac_c_werror_flag"
    4896              || test ! -s conftest.err'
    4897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4898   (eval $ac_try) 2>&5
    4899   ac_status=$?
    4900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4901   (exit $ac_status); }; } &&
    4902      { ac_try='test -s conftest.$ac_objext'
    4903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4904   (eval $ac_try) 2>&5
    4905   ac_status=$?
    4906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4907   (exit $ac_status); }; }; then
    4908   ac_cv_type_off_t=yes
    4909 else
    4910   echo "$as_me: failed program was:" >&5
    4911 sed 's/^/| /' conftest.$ac_ext >&5
    4912 
    4913 ac_cv_type_off_t=no
    4914 fi
    4915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4916 fi
    4917 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4918 echo "${ECHO_T}$ac_cv_type_off_t" >&6
    4919 if test $ac_cv_type_off_t = yes; then
    4920   :
    4921 else
    4922 
    4923 cat >>confdefs.h <<_ACEOF
    4924 #define off_t long
    4925 _ACEOF
    4926 
    4927 fi
    4928 
    4929 echo "$as_me:$LINENO: checking for size_t" >&5
    4930 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    4931 if test "${ac_cv_type_size_t+set}" = set; then
    4932   echo $ECHO_N "(cached) $ECHO_C" >&6
    4933 else
     5917  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5918  (exit $ac_status); } && {
     5919     test -z "$ac_c_werror_flag" ||
     5920     test ! -s conftest.err
     5921       } && test -s conftest.$ac_objext; then
    49345922  cat >conftest.$ac_ext <<_ACEOF
    49355923/* confdefs.h.  */
     
    49425930main ()
    49435931{
    4944 if ((size_t *) 0)
    4945   return 0;
    4946 if (sizeof (size_t))
    4947   return 0;
     5932if (sizeof ((off_t)))
     5933      return 0;
    49485934  ;
    49495935  return 0;
     
    49515937_ACEOF
    49525938rm -f conftest.$ac_objext
    4953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4954   (eval $ac_compile) 2>conftest.er1
     5939if { (ac_try="$ac_compile"
     5940case "(($ac_try" in
     5941  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5942  *) ac_try_echo=$ac_try;;
     5943esac
     5944eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5945$as_echo "$ac_try_echo") >&5
     5946  (eval "$ac_compile") 2>conftest.er1
    49555947  ac_status=$?
    49565948  grep -v '^ *+' conftest.er1 >conftest.err
    49575949  rm -f conftest.er1
    49585950  cat conftest.err >&5
    4959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4960   (exit $ac_status); } &&
    4961      { ac_try='test -z "$ac_c_werror_flag"
    4962              || test ! -s conftest.err'
    4963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4964   (eval $ac_try) 2>&5
     5951  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5952  (exit $ac_status); } && {
     5953     test -z "$ac_c_werror_flag" ||
     5954     test ! -s conftest.err
     5955       } && test -s conftest.$ac_objext; then
     5956  :
     5957else
     5958  $as_echo "$as_me: failed program was:" >&5
     5959sed 's/^/| /' conftest.$ac_ext >&5
     5960
     5961    ac_cv_type_off_t=yes
     5962fi
     5963
     5964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5965else
     5966  $as_echo "$as_me: failed program was:" >&5
     5967sed 's/^/| /' conftest.$ac_ext >&5
     5968
     5969
     5970fi
     5971
     5972rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5973fi
     5974{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     5975$as_echo "$ac_cv_type_off_t" >&6; }
     5976if test "x$ac_cv_type_off_t" = x""yes; then
     5977  :
     5978else
     5979
     5980cat >>confdefs.h <<_ACEOF
     5981#define off_t long int
     5982_ACEOF
     5983
     5984fi
     5985
     5986{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
     5987$as_echo_n "checking for size_t... " >&6; }
     5988if test "${ac_cv_type_size_t+set}" = set; then
     5989  $as_echo_n "(cached) " >&6
     5990else
     5991  ac_cv_type_size_t=no
     5992cat >conftest.$ac_ext <<_ACEOF
     5993/* confdefs.h.  */
     5994_ACEOF
     5995cat confdefs.h >>conftest.$ac_ext
     5996cat >>conftest.$ac_ext <<_ACEOF
     5997/* end confdefs.h.  */
     5998$ac_includes_default
     5999int
     6000main ()
     6001{
     6002if (sizeof (size_t))
     6003       return 0;
     6004  ;
     6005  return 0;
     6006}
     6007_ACEOF
     6008rm -f conftest.$ac_objext
     6009if { (ac_try="$ac_compile"
     6010case "(($ac_try" in
     6011  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6012  *) ac_try_echo=$ac_try;;
     6013esac
     6014eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6015$as_echo "$ac_try_echo") >&5
     6016  (eval "$ac_compile") 2>conftest.er1
    49656017  ac_status=$?
    4966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4967   (exit $ac_status); }; } &&
    4968      { ac_try='test -s conftest.$ac_objext'
    4969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4970   (eval $ac_try) 2>&5
     6018  grep -v '^ *+' conftest.er1 >conftest.err
     6019  rm -f conftest.er1
     6020  cat conftest.err >&5
     6021  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6022  (exit $ac_status); } && {
     6023     test -z "$ac_c_werror_flag" ||
     6024     test ! -s conftest.err
     6025       } && test -s conftest.$ac_objext; then
     6026  cat >conftest.$ac_ext <<_ACEOF
     6027/* confdefs.h.  */
     6028_ACEOF
     6029cat confdefs.h >>conftest.$ac_ext
     6030cat >>conftest.$ac_ext <<_ACEOF
     6031/* end confdefs.h.  */
     6032$ac_includes_default
     6033int
     6034main ()
     6035{
     6036if (sizeof ((size_t)))
     6037      return 0;
     6038  ;
     6039  return 0;
     6040}
     6041_ACEOF
     6042rm -f conftest.$ac_objext
     6043if { (ac_try="$ac_compile"
     6044case "(($ac_try" in
     6045  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6046  *) ac_try_echo=$ac_try;;
     6047esac
     6048eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6049$as_echo "$ac_try_echo") >&5
     6050  (eval "$ac_compile") 2>conftest.er1
    49716051  ac_status=$?
    4972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4973   (exit $ac_status); }; }; then
    4974   ac_cv_type_size_t=yes
    4975 else
    4976   echo "$as_me: failed program was:" >&5
     6052  grep -v '^ *+' conftest.er1 >conftest.err
     6053  rm -f conftest.er1
     6054  cat conftest.err >&5
     6055  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6056  (exit $ac_status); } && {
     6057     test -z "$ac_c_werror_flag" ||
     6058     test ! -s conftest.err
     6059       } && test -s conftest.$ac_objext; then
     6060  :
     6061else
     6062  $as_echo "$as_me: failed program was:" >&5
    49776063sed 's/^/| /' conftest.$ac_ext >&5
    49786064
    4979 ac_cv_type_size_t=no
    4980 fi
    4981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4982 fi
    4983 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4984 echo "${ECHO_T}$ac_cv_type_size_t" >&6
    4985 if test $ac_cv_type_size_t = yes; then
     6065    ac_cv_type_size_t=yes
     6066fi
     6067
     6068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6069else
     6070  $as_echo "$as_me: failed program was:" >&5
     6071sed 's/^/| /' conftest.$ac_ext >&5
     6072
     6073
     6074fi
     6075
     6076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6077fi
     6078{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     6079$as_echo "$ac_cv_type_size_t" >&6; }
     6080if test "x$ac_cv_type_size_t" = x""yes; then
    49866081  :
    49876082else
    49886083
    49896084cat >>confdefs.h <<_ACEOF
    4990 #define size_t unsigned
    4991 _ACEOF
    4992 
    4993 fi
    4994 
    4995 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4996 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     6085#define size_t unsigned int
     6086_ACEOF
     6087
     6088fi
     6089
     6090{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     6091$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
    49976092if test "${ac_cv_header_time+set}" = set; then
    4998   echo $ECHO_N "(cached) $ECHO_C" >&6
     6093  $as_echo_n "(cached) " >&6
    49996094else
    50006095  cat >conftest.$ac_ext <<_ACEOF
     
    50186113_ACEOF
    50196114rm -f conftest.$ac_objext
    5020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5021   (eval $ac_compile) 2>conftest.er1
     6115if { (ac_try="$ac_compile"
     6116case "(($ac_try" in
     6117  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6118  *) ac_try_echo=$ac_try;;
     6119esac
     6120eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6121$as_echo "$ac_try_echo") >&5
     6122  (eval "$ac_compile") 2>conftest.er1
    50226123  ac_status=$?
    50236124  grep -v '^ *+' conftest.er1 >conftest.err
    50246125  rm -f conftest.er1
    50256126  cat conftest.err >&5
    5026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5027   (exit $ac_status); } &&
    5028      { ac_try='test -z "$ac_c_werror_flag"
    5029              || test ! -s conftest.err'
    5030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5031   (eval $ac_try) 2>&5
    5032   ac_status=$?
    5033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5034   (exit $ac_status); }; } &&
    5035      { ac_try='test -s conftest.$ac_objext'
    5036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5037   (eval $ac_try) 2>&5
    5038   ac_status=$?
    5039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5040   (exit $ac_status); }; }; then
     6127  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6128  (exit $ac_status); } && {
     6129     test -z "$ac_c_werror_flag" ||
     6130     test ! -s conftest.err
     6131       } && test -s conftest.$ac_objext; then
    50416132  ac_cv_header_time=yes
    50426133else
    5043   echo "$as_me: failed program was:" >&5
     6134  $as_echo "$as_me: failed program was:" >&5
    50446135sed 's/^/| /' conftest.$ac_ext >&5
    50456136
    5046 ac_cv_header_time=no
    5047 fi
    5048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5049 fi
    5050 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    5051 echo "${ECHO_T}$ac_cv_header_time" >&6
     6137    ac_cv_header_time=no
     6138fi
     6139
     6140rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6141fi
     6142{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     6143$as_echo "$ac_cv_header_time" >&6; }
    50526144if test $ac_cv_header_time = yes; then
    50536145
     
    50586150fi
    50596151
    5060 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    5061 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     6152{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     6153$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
    50626154if test "${ac_cv_struct_tm+set}" = set; then
    5063   echo $ECHO_N "(cached) $ECHO_C" >&6
     6155  $as_echo_n "(cached) " >&6
    50646156else
    50656157  cat >conftest.$ac_ext <<_ACEOF
     
    50756167main ()
    50766168{
    5077 struct tm *tp; tp->tm_sec;
     6169struct tm tm;
     6170                     int *p = &tm.tm_sec;
     6171                     return !p;
    50786172  ;
    50796173  return 0;
     
    50816175_ACEOF
    50826176rm -f conftest.$ac_objext
    5083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5084   (eval $ac_compile) 2>conftest.er1
     6177if { (ac_try="$ac_compile"
     6178case "(($ac_try" in
     6179  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6180  *) ac_try_echo=$ac_try;;
     6181esac
     6182eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6183$as_echo "$ac_try_echo") >&5
     6184  (eval "$ac_compile") 2>conftest.er1
    50856185  ac_status=$?
    50866186  grep -v '^ *+' conftest.er1 >conftest.err
    50876187  rm -f conftest.er1
    50886188  cat conftest.err >&5
    5089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5090   (exit $ac_status); } &&
    5091      { ac_try='test -z "$ac_c_werror_flag"
    5092              || test ! -s conftest.err'
    5093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5094   (eval $ac_try) 2>&5
    5095   ac_status=$?
    5096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5097   (exit $ac_status); }; } &&
    5098      { ac_try='test -s conftest.$ac_objext'
    5099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5100   (eval $ac_try) 2>&5
    5101   ac_status=$?
    5102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5103   (exit $ac_status); }; }; then
     6189  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6190  (exit $ac_status); } && {
     6191     test -z "$ac_c_werror_flag" ||
     6192     test ! -s conftest.err
     6193       } && test -s conftest.$ac_objext; then
    51046194  ac_cv_struct_tm=time.h
    51056195else
    5106   echo "$as_me: failed program was:" >&5
     6196  $as_echo "$as_me: failed program was:" >&5
    51076197sed 's/^/| /' conftest.$ac_ext >&5
    51086198
    5109 ac_cv_struct_tm=sys/time.h
    5110 fi
    5111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5112 fi
    5113 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    5114 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     6199    ac_cv_struct_tm=sys/time.h
     6200fi
     6201
     6202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6203fi
     6204{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     6205$as_echo "$ac_cv_struct_tm" >&6; }
    51156206if test $ac_cv_struct_tm = sys/time.h; then
    51166207
     
    51406231_ACEOF
    51416232rm -f conftest.$ac_objext
    5142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5143   (eval $ac_compile) 2>conftest.er1
     6233if { (ac_try="$ac_compile"
     6234case "(($ac_try" in
     6235  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6236  *) ac_try_echo=$ac_try;;
     6237esac
     6238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6239$as_echo "$ac_try_echo") >&5
     6240  (eval "$ac_compile") 2>conftest.er1
    51446241  ac_status=$?
    51456242  grep -v '^ *+' conftest.er1 >conftest.err
    51466243  rm -f conftest.er1
    51476244  cat conftest.err >&5
    5148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5149   (exit $ac_status); } &&
    5150      { ac_try='test -z "$ac_c_werror_flag"
    5151              || test ! -s conftest.err'
    5152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5153   (eval $ac_try) 2>&5
    5154   ac_status=$?
    5155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5156   (exit $ac_status); }; } &&
    5157      { ac_try='test -s conftest.$ac_objext'
    5158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5159   (eval $ac_try) 2>&5
    5160   ac_status=$?
    5161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5162   (exit $ac_status); }; }; then
     6245  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6246  (exit $ac_status); } && {
     6247     test -z "$ac_c_werror_flag" ||
     6248     test ! -s conftest.err
     6249       } && test -s conftest.$ac_objext; then
    51636250  :
    51646251else
    5165   echo "$as_me: failed program was:" >&5
     6252  $as_echo "$as_me: failed program was:" >&5
    51666253sed 's/^/| /' conftest.$ac_ext >&5
    51676254
    5168 CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    5169 fi
    5170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5171 fi
    5172 
    5173 
    5174 
    5175 echo "$as_me:$LINENO: checking for main in -lg" >&5
    5176 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     6255    CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     6256fi
     6257
     6258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6259fi
     6260
     6261
     6262
     6263{ $as_echo "$as_me:$LINENO: checking for main in -lg" >&5
     6264$as_echo_n "checking for main in -lg... " >&6; }
    51776265if test "${ac_cv_lib_g_main+set}" = set; then
    5178   echo $ECHO_N "(cached) $ECHO_C" >&6
     6266  $as_echo_n "(cached) " >&6
    51796267else
    51806268  ac_check_lib_save_LIBS=$LIBS
     
    51916279main ()
    51926280{
    5193 main ();
     6281return main ();
    51946282  ;
    51956283  return 0;
     
    51976285_ACEOF
    51986286rm -f conftest.$ac_objext conftest$ac_exeext
    5199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5200   (eval $ac_link) 2>conftest.er1
     6287if { (ac_try="$ac_link"
     6288case "(($ac_try" in
     6289  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6290  *) ac_try_echo=$ac_try;;
     6291esac
     6292eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6293$as_echo "$ac_try_echo") >&5
     6294  (eval "$ac_link") 2>conftest.er1
    52016295  ac_status=$?
    52026296  grep -v '^ *+' conftest.er1 >conftest.err
    52036297  rm -f conftest.er1
    52046298  cat conftest.err >&5
    5205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5206   (exit $ac_status); } &&
    5207      { ac_try='test -z "$ac_c_werror_flag"
    5208              || test ! -s conftest.err'
    5209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5210   (eval $ac_try) 2>&5
    5211   ac_status=$?
    5212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5213   (exit $ac_status); }; } &&
    5214      { ac_try='test -s conftest$ac_exeext'
    5215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5216   (eval $ac_try) 2>&5
    5217   ac_status=$?
    5218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5219   (exit $ac_status); }; }; then
     6299  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6300  (exit $ac_status); } && {
     6301     test -z "$ac_c_werror_flag" ||
     6302     test ! -s conftest.err
     6303       } && test -s conftest$ac_exeext && {
     6304     test "$cross_compiling" = yes ||
     6305     $as_test_x conftest$ac_exeext
     6306       }; then
    52206307  ac_cv_lib_g_main=yes
    52216308else
    5222   echo "$as_me: failed program was:" >&5
     6309  $as_echo "$as_me: failed program was:" >&5
    52236310sed 's/^/| /' conftest.$ac_ext >&5
    52246311
    5225 ac_cv_lib_g_main=no
    5226 fi
    5227 rm -f conftest.err conftest.$ac_objext \
     6312    ac_cv_lib_g_main=no
     6313fi
     6314
     6315rm -rf conftest.dSYM
     6316rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    52286317      conftest$ac_exeext conftest.$ac_ext
    52296318LIBS=$ac_check_lib_save_LIBS
    52306319fi
    5231 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    5232 echo "${ECHO_T}$ac_cv_lib_g_main" >&6
    5233 if test $ac_cv_lib_g_main = yes; then
     6320{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     6321$as_echo "$ac_cv_lib_g_main" >&6; }
     6322if test "x$ac_cv_lib_g_main" = x""yes; then
    52346323  cat >>confdefs.h <<_ACEOF
    52356324#define HAVE_LIBG 1
     
    52426331
    52436332
    5244 echo "$as_me:$LINENO: checking for main in -lm" >&5
    5245 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     6333{ $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
     6334$as_echo_n "checking for main in -lm... " >&6; }
    52466335if test "${ac_cv_lib_m_main+set}" = set; then
    5247   echo $ECHO_N "(cached) $ECHO_C" >&6
     6336  $as_echo_n "(cached) " >&6
    52486337else
    52496338  ac_check_lib_save_LIBS=$LIBS
     
    52606349main ()
    52616350{
    5262 main ();
     6351return main ();
    52636352  ;
    52646353  return 0;
     
    52666355_ACEOF
    52676356rm -f conftest.$ac_objext conftest$ac_exeext
    5268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5269   (eval $ac_link) 2>conftest.er1
     6357if { (ac_try="$ac_link"
     6358case "(($ac_try" in
     6359  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6360  *) ac_try_echo=$ac_try;;
     6361esac
     6362eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6363$as_echo "$ac_try_echo") >&5
     6364  (eval "$ac_link") 2>conftest.er1
    52706365  ac_status=$?
    52716366  grep -v '^ *+' conftest.er1 >conftest.err
    52726367  rm -f conftest.er1
    52736368  cat conftest.err >&5
    5274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5275   (exit $ac_status); } &&
    5276      { ac_try='test -z "$ac_c_werror_flag"
    5277              || test ! -s conftest.err'
    5278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5279   (eval $ac_try) 2>&5
    5280   ac_status=$?
    5281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5282   (exit $ac_status); }; } &&
    5283      { ac_try='test -s conftest$ac_exeext'
    5284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5285   (eval $ac_try) 2>&5
    5286   ac_status=$?
    5287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5288   (exit $ac_status); }; }; then
     6369  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6370  (exit $ac_status); } && {
     6371     test -z "$ac_c_werror_flag" ||
     6372     test ! -s conftest.err
     6373       } && test -s conftest$ac_exeext && {
     6374     test "$cross_compiling" = yes ||
     6375     $as_test_x conftest$ac_exeext
     6376       }; then
    52896377  ac_cv_lib_m_main=yes
    52906378else
    5291   echo "$as_me: failed program was:" >&5
     6379  $as_echo "$as_me: failed program was:" >&5
    52926380sed 's/^/| /' conftest.$ac_ext >&5
    52936381
    5294 ac_cv_lib_m_main=no
    5295 fi
    5296 rm -f conftest.err conftest.$ac_objext \
     6382    ac_cv_lib_m_main=no
     6383fi
     6384
     6385rm -rf conftest.dSYM
     6386rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    52976387      conftest$ac_exeext conftest.$ac_ext
    52986388LIBS=$ac_check_lib_save_LIBS
    52996389fi
    5300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5301 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    5302 if test $ac_cv_lib_m_main = yes; then
     6390{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     6391$as_echo "$ac_cv_lib_m_main" >&6; }
     6392if test "x$ac_cv_lib_m_main" = x""yes; then
    53036393  cat >>confdefs.h <<_ACEOF
    53046394#define HAVE_LIBM 1
     
    53116401
    53126402
    5313 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    5314 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     6403{ $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     6404$as_echo_n "checking for main in -lcrypt... " >&6; }
    53156405if test "${ac_cv_lib_crypt_main+set}" = set; then
    5316   echo $ECHO_N "(cached) $ECHO_C" >&6
     6406  $as_echo_n "(cached) " >&6
    53176407else
    53186408  ac_check_lib_save_LIBS=$LIBS
     
    53296419main ()
    53306420{
    5331 main ();
     6421return main ();
    53326422  ;
    53336423  return 0;
     
    53356425_ACEOF
    53366426rm -f conftest.$ac_objext conftest$ac_exeext
    5337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5338   (eval $ac_link) 2>conftest.er1
     6427if { (ac_try="$ac_link"
     6428case "(($ac_try" in
     6429  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6430  *) ac_try_echo=$ac_try;;
     6431esac
     6432eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6433$as_echo "$ac_try_echo") >&5
     6434  (eval "$ac_link") 2>conftest.er1
    53396435  ac_status=$?
    53406436  grep -v '^ *+' conftest.er1 >conftest.err
    53416437  rm -f conftest.er1
    53426438  cat conftest.err >&5
    5343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5344   (exit $ac_status); } &&
    5345      { ac_try='test -z "$ac_c_werror_flag"
    5346              || test ! -s conftest.err'
    5347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5348   (eval $ac_try) 2>&5
    5349   ac_status=$?
    5350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5351   (exit $ac_status); }; } &&
    5352      { ac_try='test -s conftest$ac_exeext'
    5353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5354   (eval $ac_try) 2>&5
    5355   ac_status=$?
    5356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5357   (exit $ac_status); }; }; then
     6439  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6440  (exit $ac_status); } && {
     6441     test -z "$ac_c_werror_flag" ||
     6442     test ! -s conftest.err
     6443       } && test -s conftest$ac_exeext && {
     6444     test "$cross_compiling" = yes ||
     6445     $as_test_x conftest$ac_exeext
     6446       }; then
    53586447  ac_cv_lib_crypt_main=yes
    53596448else
    5360   echo "$as_me: failed program was:" >&5
     6449  $as_echo "$as_me: failed program was:" >&5
    53616450sed 's/^/| /' conftest.$ac_ext >&5
    53626451
    5363 ac_cv_lib_crypt_main=no
    5364 fi
    5365 rm -f conftest.err conftest.$ac_objext \
     6452    ac_cv_lib_crypt_main=no
     6453fi
     6454
     6455rm -rf conftest.dSYM
     6456rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    53666457      conftest$ac_exeext conftest.$ac_ext
    53676458LIBS=$ac_check_lib_save_LIBS
    53686459fi
    5369 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    5370 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
    5371 if test $ac_cv_lib_crypt_main = yes; then
     6460{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     6461$as_echo "$ac_cv_lib_crypt_main" >&6; }
     6462if test "x$ac_cv_lib_crypt_main" = x""yes; then
    53726463  cat >>confdefs.h <<_ACEOF
    53736464#define HAVE_LIBCRYPT 1
     
    53906481ac_header_dirent=no
    53916482for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    5392   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    5393 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    5394 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    5395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5396   echo $ECHO_N "(cached) $ECHO_C" >&6
     6483  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
     6484{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     6485$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
     6486if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6487  $as_echo_n "(cached) " >&6
    53976488else
    53986489  cat >conftest.$ac_ext <<_ACEOF
     
    54156506_ACEOF
    54166507rm -f conftest.$ac_objext
    5417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5418   (eval $ac_compile) 2>conftest.er1
     6508if { (ac_try="$ac_compile"
     6509case "(($ac_try" in
     6510  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6511  *) ac_try_echo=$ac_try;;
     6512esac
     6513eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6514$as_echo "$ac_try_echo") >&5
     6515  (eval "$ac_compile") 2>conftest.er1
    54196516  ac_status=$?
    54206517  grep -v '^ *+' conftest.er1 >conftest.err
    54216518  rm -f conftest.er1
    54226519  cat conftest.err >&5
    5423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5424   (exit $ac_status); } &&
    5425      { ac_try='test -z "$ac_c_werror_flag"
    5426              || test ! -s conftest.err'
    5427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5428   (eval $ac_try) 2>&5
    5429   ac_status=$?
    5430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5431   (exit $ac_status); }; } &&
    5432      { ac_try='test -s conftest.$ac_objext'
    5433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5434   (eval $ac_try) 2>&5
    5435   ac_status=$?
    5436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5437   (exit $ac_status); }; }; then
     6520  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6521  (exit $ac_status); } && {
     6522     test -z "$ac_c_werror_flag" ||
     6523     test ! -s conftest.err
     6524       } && test -s conftest.$ac_objext; then
    54386525  eval "$as_ac_Header=yes"
    54396526else
    5440   echo "$as_me: failed program was:" >&5
     6527  $as_echo "$as_me: failed program was:" >&5
    54416528sed 's/^/| /' conftest.$ac_ext >&5
    54426529
    5443 eval "$as_ac_Header=no"
    5444 fi
    5445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5446 fi
    5447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     6530    eval "$as_ac_Header=no"
     6531fi
     6532
     6533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6534fi
     6535ac_res=`eval 'as_val=${'$as_ac_Header'}
     6536         $as_echo "$as_val"'`
     6537           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6538$as_echo "$ac_res" >&6; }
     6539as_val=`eval 'as_val=${'$as_ac_Header'}
     6540         $as_echo "$as_val"'`
     6541   if test "x$as_val" = x""yes; then
    54506542  cat >>confdefs.h <<_ACEOF
    5451 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
     6543#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
    54526544_ACEOF
    54536545
     
    54586550# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    54596551if test $ac_header_dirent = dirent.h; then
    5460   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5461 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     6552  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
     6553$as_echo_n "checking for library containing opendir... " >&6; }
    54626554if test "${ac_cv_search_opendir+set}" = set; then
    5463   echo $ECHO_N "(cached) $ECHO_C" >&6
     6555  $as_echo_n "(cached) " >&6
    54646556else
    54656557  ac_func_search_save_LIBS=$LIBS
    5466 ac_cv_search_opendir=no
    54676558cat >conftest.$ac_ext <<_ACEOF
    54686559/* confdefs.h.  */
     
    54726563/* end confdefs.h.  */
    54736564
    5474 /* Override any gcc2 internal prototype to avoid an error.  */
     6565/* Override any GCC internal prototype to avoid an error.
     6566   Use char because int might match the return type of a GCC
     6567   builtin and then its argument prototype would still apply.  */
    54756568#ifdef __cplusplus
    54766569extern "C"
    54776570#endif
    5478 /* We use char because int might match the return type of a gcc2
    5479    builtin and then its argument prototype would still apply.  */
    54806571char opendir ();
    54816572int
    54826573main ()
    54836574{
    5484 opendir ();
     6575return opendir ();
    54856576  ;
    54866577  return 0;
    54876578}
    54886579_ACEOF
    5489 rm -f conftest.$ac_objext conftest$ac_exeext
    5490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5491   (eval $ac_link) 2>conftest.er1
     6580for ac_lib in '' dir; do
     6581  if test -z "$ac_lib"; then
     6582    ac_res="none required"
     6583  else
     6584    ac_res=-l$ac_lib
     6585    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     6586  fi
     6587  rm -f conftest.$ac_objext conftest$ac_exeext
     6588if { (ac_try="$ac_link"
     6589case "(($ac_try" in
     6590  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6591  *) ac_try_echo=$ac_try;;
     6592esac
     6593eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6594$as_echo "$ac_try_echo") >&5
     6595  (eval "$ac_link") 2>conftest.er1
    54926596  ac_status=$?
    54936597  grep -v '^ *+' conftest.er1 >conftest.err
    54946598  rm -f conftest.er1
    54956599  cat conftest.err >&5
    5496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5497   (exit $ac_status); } &&
    5498      { ac_try='test -z "$ac_c_werror_flag"
    5499              || test ! -s conftest.err'
    5500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5501   (eval $ac_try) 2>&5
    5502   ac_status=$?
    5503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5504   (exit $ac_status); }; } &&
    5505      { ac_try='test -s conftest$ac_exeext'
    5506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5507   (eval $ac_try) 2>&5
    5508   ac_status=$?
    5509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5510   (exit $ac_status); }; }; then
    5511   ac_cv_search_opendir="none required"
    5512 else
    5513   echo "$as_me: failed program was:" >&5
     6600  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6601  (exit $ac_status); } && {
     6602     test -z "$ac_c_werror_flag" ||
     6603     test ! -s conftest.err
     6604       } && test -s conftest$ac_exeext && {
     6605     test "$cross_compiling" = yes ||
     6606     $as_test_x conftest$ac_exeext
     6607       }; then
     6608  ac_cv_search_opendir=$ac_res
     6609else
     6610  $as_echo "$as_me: failed program was:" >&5
    55146611sed 's/^/| /' conftest.$ac_ext >&5
    55156612
    5516 fi
    5517 rm -f conftest.err conftest.$ac_objext \
    5518       conftest$ac_exeext conftest.$ac_ext
    5519 if test "$ac_cv_search_opendir" = no; then
    5520   for ac_lib in dir; do
    5521     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5522     cat >conftest.$ac_ext <<_ACEOF
     6613
     6614fi
     6615
     6616rm -rf conftest.dSYM
     6617rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6618      conftest$ac_exeext
     6619  if test "${ac_cv_search_opendir+set}" = set; then
     6620  break
     6621fi
     6622done
     6623if test "${ac_cv_search_opendir+set}" = set; then
     6624  :
     6625else
     6626  ac_cv_search_opendir=no
     6627fi
     6628rm conftest.$ac_ext
     6629LIBS=$ac_func_search_save_LIBS
     6630fi
     6631{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     6632$as_echo "$ac_cv_search_opendir" >&6; }
     6633ac_res=$ac_cv_search_opendir
     6634if test "$ac_res" != no; then
     6635  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     6636
     6637fi
     6638
     6639else
     6640  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
     6641$as_echo_n "checking for library containing opendir... " >&6; }
     6642if test "${ac_cv_search_opendir+set}" = set; then
     6643  $as_echo_n "(cached) " >&6
     6644else
     6645  ac_func_search_save_LIBS=$LIBS
     6646cat >conftest.$ac_ext <<_ACEOF
    55236647/* confdefs.h.  */
    55246648_ACEOF
     
    55276651/* end confdefs.h.  */
    55286652
    5529 /* Override any gcc2 internal prototype to avoid an error.  */
     6653/* Override any GCC internal prototype to avoid an error.
     6654   Use char because int might match the return type of a GCC
     6655   builtin and then its argument prototype would still apply.  */
    55306656#ifdef __cplusplus
    55316657extern "C"
    55326658#endif
    5533 /* We use char because int might match the return type of a gcc2
    5534    builtin and then its argument prototype would still apply.  */
    55356659char opendir ();
    55366660int
    55376661main ()
    55386662{
    5539 opendir ();
     6663return opendir ();
    55406664  ;
    55416665  return 0;
    55426666}
    55436667_ACEOF
    5544 rm -f conftest.$ac_objext conftest$ac_exeext
    5545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5546   (eval $ac_link) 2>conftest.er1
     6668for ac_lib in '' x; do
     6669  if test -z "$ac_lib"; then
     6670    ac_res="none required"
     6671  else
     6672    ac_res=-l$ac_lib
     6673    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     6674  fi
     6675  rm -f conftest.$ac_objext conftest$ac_exeext
     6676if { (ac_try="$ac_link"
     6677case "(($ac_try" in
     6678  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6679  *) ac_try_echo=$ac_try;;
     6680esac
     6681eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6682$as_echo "$ac_try_echo") >&5
     6683  (eval "$ac_link") 2>conftest.er1
    55476684  ac_status=$?
    55486685  grep -v '^ *+' conftest.er1 >conftest.err
    55496686  rm -f conftest.er1
    55506687  cat conftest.err >&5
    5551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5552   (exit $ac_status); } &&
    5553      { ac_try='test -z "$ac_c_werror_flag"
    5554              || test ! -s conftest.err'
    5555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5556   (eval $ac_try) 2>&5
    5557   ac_status=$?
    5558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5559   (exit $ac_status); }; } &&
    5560      { ac_try='test -s conftest$ac_exeext'
    5561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5562   (eval $ac_try) 2>&5
    5563   ac_status=$?
    5564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5565   (exit $ac_status); }; }; then
    5566   ac_cv_search_opendir="-l$ac_lib"
    5567 break
    5568 else
    5569   echo "$as_me: failed program was:" >&5
     6688  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6689  (exit $ac_status); } && {
     6690     test -z "$ac_c_werror_flag" ||
     6691     test ! -s conftest.err
     6692       } && test -s conftest$ac_exeext && {
     6693     test "$cross_compiling" = yes ||
     6694     $as_test_x conftest$ac_exeext
     6695       }; then
     6696  ac_cv_search_opendir=$ac_res
     6697else
     6698  $as_echo "$as_me: failed program was:" >&5
    55706699sed 's/^/| /' conftest.$ac_ext >&5
    55716700
    5572 fi
    5573 rm -f conftest.err conftest.$ac_objext \
    5574       conftest$ac_exeext conftest.$ac_ext
    5575   done
    5576 fi
     6701
     6702fi
     6703
     6704rm -rf conftest.dSYM
     6705rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6706      conftest$ac_exeext
     6707  if test "${ac_cv_search_opendir+set}" = set; then
     6708  break
     6709fi
     6710done
     6711if test "${ac_cv_search_opendir+set}" = set; then
     6712  :
     6713else
     6714  ac_cv_search_opendir=no
     6715fi
     6716rm conftest.$ac_ext
    55776717LIBS=$ac_func_search_save_LIBS
    55786718fi
    5579 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5580 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5581 if test "$ac_cv_search_opendir" != no; then
    5582   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5583 
    5584 fi
    5585 
    5586 else
    5587   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5588 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    5589 if test "${ac_cv_search_opendir+set}" = set; then
    5590   echo $ECHO_N "(cached) $ECHO_C" >&6
    5591 else
    5592   ac_func_search_save_LIBS=$LIBS
    5593 ac_cv_search_opendir=no
    5594 cat >conftest.$ac_ext <<_ACEOF
    5595 /* confdefs.h.  */
    5596 _ACEOF
    5597 cat confdefs.h >>conftest.$ac_ext
    5598 cat >>conftest.$ac_ext <<_ACEOF
    5599 /* end confdefs.h.  */
    5600 
    5601 /* Override any gcc2 internal prototype to avoid an error.  */
    5602 #ifdef __cplusplus
    5603 extern "C"
    5604 #endif
    5605 /* We use char because int might match the return type of a gcc2
    5606    builtin and then its argument prototype would still apply.  */
    5607 char opendir ();
    5608 int
    5609 main ()
    5610 {
    5611 opendir ();
    5612   ;
    5613   return 0;
    5614 }
    5615 _ACEOF
    5616 rm -f conftest.$ac_objext conftest$ac_exeext
    5617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5618   (eval $ac_link) 2>conftest.er1
    5619   ac_status=$?
    5620   grep -v '^ *+' conftest.er1 >conftest.err
    5621   rm -f conftest.er1
    5622   cat conftest.err >&5
    5623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5624   (exit $ac_status); } &&
    5625      { ac_try='test -z "$ac_c_werror_flag"
    5626              || test ! -s conftest.err'
    5627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5628   (eval $ac_try) 2>&5
    5629   ac_status=$?
    5630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5631   (exit $ac_status); }; } &&
    5632      { ac_try='test -s conftest$ac_exeext'
    5633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5634   (eval $ac_try) 2>&5
    5635   ac_status=$?
    5636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5637   (exit $ac_status); }; }; then
    5638   ac_cv_search_opendir="none required"
    5639 else
    5640   echo "$as_me: failed program was:" >&5
    5641 sed 's/^/| /' conftest.$ac_ext >&5
    5642 
    5643 fi
    5644 rm -f conftest.err conftest.$ac_objext \
    5645       conftest$ac_exeext conftest.$ac_ext
    5646 if test "$ac_cv_search_opendir" = no; then
    5647   for ac_lib in x; do
    5648     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5649     cat >conftest.$ac_ext <<_ACEOF
    5650 /* confdefs.h.  */
    5651 _ACEOF
    5652 cat confdefs.h >>conftest.$ac_ext
    5653 cat >>conftest.$ac_ext <<_ACEOF
    5654 /* end confdefs.h.  */
    5655 
    5656 /* Override any gcc2 internal prototype to avoid an error.  */
    5657 #ifdef __cplusplus
    5658 extern "C"
    5659 #endif
    5660 /* We use char because int might match the return type of a gcc2
    5661    builtin and then its argument prototype would still apply.  */
    5662 char opendir ();
    5663 int
    5664 main ()
    5665 {
    5666 opendir ();
    5667   ;
    5668   return 0;
    5669 }
    5670 _ACEOF
    5671 rm -f conftest.$ac_objext conftest$ac_exeext
    5672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5673   (eval $ac_link) 2>conftest.er1
    5674   ac_status=$?
    5675   grep -v '^ *+' conftest.er1 >conftest.err
    5676   rm -f conftest.er1
    5677   cat conftest.err >&5
    5678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5679   (exit $ac_status); } &&
    5680      { ac_try='test -z "$ac_c_werror_flag"
    5681              || test ! -s conftest.err'
    5682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5683   (eval $ac_try) 2>&5
    5684   ac_status=$?
    5685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5686   (exit $ac_status); }; } &&
    5687      { ac_try='test -s conftest$ac_exeext'
    5688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5689   (eval $ac_try) 2>&5
    5690   ac_status=$?
    5691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5692   (exit $ac_status); }; }; then
    5693   ac_cv_search_opendir="-l$ac_lib"
    5694 break
    5695 else
    5696   echo "$as_me: failed program was:" >&5
    5697 sed 's/^/| /' conftest.$ac_ext >&5
    5698 
    5699 fi
    5700 rm -f conftest.err conftest.$ac_objext \
    5701       conftest$ac_exeext conftest.$ac_ext
    5702   done
    5703 fi
    5704 LIBS=$ac_func_search_save_LIBS
    5705 fi
    5706 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5707 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5708 if test "$ac_cv_search_opendir" != no; then
    5709   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5710 
    5711 fi
    5712 
    5713 fi
    5714 
    5715 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5716 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     6719{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     6720$as_echo "$ac_cv_search_opendir" >&6; }
     6721ac_res=$ac_cv_search_opendir
     6722if test "$ac_res" != no; then
     6723  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     6724
     6725fi
     6726
     6727fi
     6728
     6729{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     6730$as_echo_n "checking for ANSI C header files... " >&6; }
    57176731if test "${ac_cv_header_stdc+set}" = set; then
    5718   echo $ECHO_N "(cached) $ECHO_C" >&6
     6732  $as_echo_n "(cached) " >&6
    57196733else
    57206734  cat >conftest.$ac_ext <<_ACEOF
     
    57386752_ACEOF
    57396753rm -f conftest.$ac_objext
    5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5741   (eval $ac_compile) 2>conftest.er1
     6754if { (ac_try="$ac_compile"
     6755case "(($ac_try" in
     6756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6757  *) ac_try_echo=$ac_try;;
     6758esac
     6759eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6760$as_echo "$ac_try_echo") >&5
     6761  (eval "$ac_compile") 2>conftest.er1
    57426762  ac_status=$?
    57436763  grep -v '^ *+' conftest.er1 >conftest.err
    57446764  rm -f conftest.er1
    57456765  cat conftest.err >&5
    5746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5747   (exit $ac_status); } &&
    5748      { ac_try='test -z "$ac_c_werror_flag"
    5749              || test ! -s conftest.err'
    5750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5751   (eval $ac_try) 2>&5
    5752   ac_status=$?
    5753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5754   (exit $ac_status); }; } &&
    5755      { ac_try='test -s conftest.$ac_objext'
    5756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5757   (eval $ac_try) 2>&5
    5758   ac_status=$?
    5759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5760   (exit $ac_status); }; }; then
     6766  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6767  (exit $ac_status); } && {
     6768     test -z "$ac_c_werror_flag" ||
     6769     test ! -s conftest.err
     6770       } && test -s conftest.$ac_objext; then
    57616771  ac_cv_header_stdc=yes
    57626772else
    5763   echo "$as_me: failed program was:" >&5
     6773  $as_echo "$as_me: failed program was:" >&5
    57646774sed 's/^/| /' conftest.$ac_ext >&5
    57656775
    5766 ac_cv_header_stdc=no
    5767 fi
    5768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6776    ac_cv_header_stdc=no
     6777fi
     6778
     6779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    57696780
    57706781if test $ac_cv_header_stdc = yes; then
     
    58226833/* end confdefs.h.  */
    58236834#include <ctype.h>
     6835#include <stdlib.h>
    58246836#if ((' ' & 0x0FF) == 0x020)
    58256837# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    58416853    if (XOR (islower (i), ISLOWER (i))
    58426854    || toupper (i) != TOUPPER (i))
    5843       exit(2);
    5844   exit (0);
     6855      return 2;
     6856  return 0;
    58456857}
    58466858_ACEOF
    58476859rm -f conftest$ac_exeext
    5848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5849   (eval $ac_link) 2>&5
     6860if { (ac_try="$ac_link"
     6861case "(($ac_try" in
     6862  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6863  *) ac_try_echo=$ac_try;;
     6864esac
     6865eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6866$as_echo "$ac_try_echo") >&5
     6867  (eval "$ac_link") 2>&5
    58506868  ac_status=$?
    5851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6869  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58526870  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5854   (eval $ac_try) 2>&5
     6871  { (case "(($ac_try" in
     6872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6873  *) ac_try_echo=$ac_try;;
     6874esac
     6875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6876$as_echo "$ac_try_echo") >&5
     6877  (eval "$ac_try") 2>&5
    58556878  ac_status=$?
    5856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6879  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58576880  (exit $ac_status); }; }; then
    58586881  :
    58596882else
    5860   echo "$as_me: program exited with status $ac_status" >&5
    5861 echo "$as_me: failed program was:" >&5
     6883  $as_echo "$as_me: program exited with status $ac_status" >&5
     6884$as_echo "$as_me: failed program was:" >&5
    58626885sed 's/^/| /' conftest.$ac_ext >&5
    58636886
     
    58656888ac_cv_header_stdc=no
    58666889fi
    5867 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5868 fi
    5869 fi
    5870 fi
    5871 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5872 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     6890rm -rf conftest.dSYM
     6891rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6892fi
     6893
     6894
     6895fi
     6896fi
     6897{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     6898$as_echo "$ac_cv_header_stdc" >&6; }
    58736899if test $ac_cv_header_stdc = yes; then
    58746900
     
    58906916for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
    58916917do
    5892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5894   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5897   echo $ECHO_N "(cached) $ECHO_C" >&6
    5898 fi
    5899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6918as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6919if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6920  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6921$as_echo_n "checking for $ac_header... " >&6; }
     6922if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6923  $as_echo_n "(cached) " >&6
     6924fi
     6925ac_res=`eval 'as_val=${'$as_ac_Header'}
     6926         $as_echo "$as_val"'`
     6927           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6928$as_echo "$ac_res" >&6; }
    59016929else
    59026930  # Is the header compilable?
    5903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     6931{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6932$as_echo_n "checking $ac_header usability... " >&6; }
    59056933cat >conftest.$ac_ext <<_ACEOF
    59066934/* confdefs.h.  */
     
    59136941_ACEOF
    59146942rm -f conftest.$ac_objext
    5915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5916   (eval $ac_compile) 2>conftest.er1
     6943if { (ac_try="$ac_compile"
     6944case "(($ac_try" in
     6945  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6946  *) ac_try_echo=$ac_try;;
     6947esac
     6948eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6949$as_echo "$ac_try_echo") >&5
     6950  (eval "$ac_compile") 2>conftest.er1
    59176951  ac_status=$?
    59186952  grep -v '^ *+' conftest.er1 >conftest.err
    59196953  rm -f conftest.er1
    59206954  cat conftest.err >&5
    5921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5922   (exit $ac_status); } &&
    5923      { ac_try='test -z "$ac_c_werror_flag"
    5924              || test ! -s conftest.err'
    5925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5926   (eval $ac_try) 2>&5
    5927   ac_status=$?
    5928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5929   (exit $ac_status); }; } &&
    5930      { ac_try='test -s conftest.$ac_objext'
    5931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5932   (eval $ac_try) 2>&5
    5933   ac_status=$?
    5934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5935   (exit $ac_status); }; }; then
     6955  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6956  (exit $ac_status); } && {
     6957     test -z "$ac_c_werror_flag" ||
     6958     test ! -s conftest.err
     6959       } && test -s conftest.$ac_objext; then
    59366960  ac_header_compiler=yes
    59376961else
    5938   echo "$as_me: failed program was:" >&5
     6962  $as_echo "$as_me: failed program was:" >&5
    59396963sed 's/^/| /' conftest.$ac_ext >&5
    59406964
    5941 ac_header_compiler=no
    5942 fi
    5943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5945 echo "${ECHO_T}$ac_header_compiler" >&6
     6965    ac_header_compiler=no
     6966fi
     6967
     6968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6969{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6970$as_echo "$ac_header_compiler" >&6; }
    59466971
    59476972# Is the header present?
    5948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     6973{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6974$as_echo_n "checking $ac_header presence... " >&6; }
    59506975cat >conftest.$ac_ext <<_ACEOF
    59516976/* confdefs.h.  */
     
    59566981#include <$ac_header>
    59576982_ACEOF
    5958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5959   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     6983if { (ac_try="$ac_cpp conftest.$ac_ext"
     6984case "(($ac_try" in
     6985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6986  *) ac_try_echo=$ac_try;;
     6987esac
     6988eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6989$as_echo "$ac_try_echo") >&5
     6990  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    59606991  ac_status=$?
    59616992  grep -v '^ *+' conftest.er1 >conftest.err
    59626993  rm -f conftest.er1
    59636994  cat conftest.err >&5
    5964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5965   (exit $ac_status); } >/dev/null; then
    5966   if test -s conftest.err; then
    5967     ac_cpp_err=$ac_c_preproc_warn_flag
    5968     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5969   else
    5970     ac_cpp_err=
    5971   fi
    5972 else
    5973   ac_cpp_err=yes
    5974 fi
    5975 if test -z "$ac_cpp_err"; then
     6995  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6996  (exit $ac_status); } >/dev/null && {
     6997     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     6998     test ! -s conftest.err
     6999       }; then
    59767000  ac_header_preproc=yes
    59777001else
    5978   echo "$as_me: failed program was:" >&5
     7002  $as_echo "$as_me: failed program was:" >&5
    59797003sed 's/^/| /' conftest.$ac_ext >&5
    59807004
    59817005  ac_header_preproc=no
    59827006fi
     7007
    59837008rm -f conftest.err conftest.$ac_ext
    5984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5985 echo "${ECHO_T}$ac_header_preproc" >&6
     7009{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7010$as_echo "$ac_header_preproc" >&6; }
    59867011
    59877012# So?  What about this header?
    59887013case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    59897014  yes:no: )
    5990     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5992     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     7015    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     7016$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     7017    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     7018$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    59947019    ac_header_preproc=yes
    59957020    ;;
    59967021  no:yes:* )
    5997     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5999     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6000 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6001     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6003     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6004 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6005     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6007     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6009     (
    6010       cat <<\_ASBOX
    6011 ## ------------------------------------------ ##
    6012 ## Report this to the AC_PACKAGE_NAME lists.  ##
    6013 ## ------------------------------------------ ##
    6014 _ASBOX
    6015     ) |
    6016       sed "s/^/$as_me: WARNING:     /" >&2
     7022    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     7023$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     7024    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     7025$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7026    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7027$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     7028    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     7029$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     7030    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     7031$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     7032    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     7033$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     7034
    60177035    ;;
    60187036esac
    6019 echo "$as_me:$LINENO: checking for $ac_header" >&5
    6020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    6021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6022   echo $ECHO_N "(cached) $ECHO_C" >&6
     7037{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7038$as_echo_n "checking for $ac_header... " >&6; }
     7039if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7040  $as_echo_n "(cached) " >&6
    60237041else
    60247042  eval "$as_ac_Header=\$ac_header_preproc"
    60257043fi
    6026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    6027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    6028 
    6029 fi
    6030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     7044ac_res=`eval 'as_val=${'$as_ac_Header'}
     7045         $as_echo "$as_val"'`
     7046           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7047$as_echo "$ac_res" >&6; }
     7048
     7049fi
     7050as_val=`eval 'as_val=${'$as_ac_Header'}
     7051         $as_echo "$as_val"'`
     7052   if test "x$as_val" = x""yes; then
    60317053  cat >>confdefs.h <<_ACEOF
    6032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7054#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    60337055_ACEOF
    60347056
     
    60947116# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    60957117# for constant arguments.  Useless!
    6096 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    6097 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     7118{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
     7119$as_echo_n "checking for working alloca.h... " >&6; }
    60987120if test "${ac_cv_working_alloca_h+set}" = set; then
    6099   echo $ECHO_N "(cached) $ECHO_C" >&6
     7121  $as_echo_n "(cached) " >&6
    61007122else
    61017123  cat >conftest.$ac_ext <<_ACEOF
     
    61107132{
    61117133char *p = (char *) alloca (2 * sizeof (int));
     7134              if (p) return 0;
    61127135  ;
    61137136  return 0;
     
    61157138_ACEOF
    61167139rm -f conftest.$ac_objext conftest$ac_exeext
    6117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6118   (eval $ac_link) 2>conftest.er1
     7140if { (ac_try="$ac_link"
     7141case "(($ac_try" in
     7142  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7143  *) ac_try_echo=$ac_try;;
     7144esac
     7145eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7146$as_echo "$ac_try_echo") >&5
     7147  (eval "$ac_link") 2>conftest.er1
    61197148  ac_status=$?
    61207149  grep -v '^ *+' conftest.er1 >conftest.err
    61217150  rm -f conftest.er1
    61227151  cat conftest.err >&5
    6123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6124   (exit $ac_status); } &&
    6125      { ac_try='test -z "$ac_c_werror_flag"
    6126              || test ! -s conftest.err'
    6127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6128   (eval $ac_try) 2>&5
    6129   ac_status=$?
    6130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6131   (exit $ac_status); }; } &&
    6132      { ac_try='test -s conftest$ac_exeext'
    6133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6134   (eval $ac_try) 2>&5
    6135   ac_status=$?
    6136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6137   (exit $ac_status); }; }; then
     7152  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7153  (exit $ac_status); } && {
     7154     test -z "$ac_c_werror_flag" ||
     7155     test ! -s conftest.err
     7156       } && test -s conftest$ac_exeext && {
     7157     test "$cross_compiling" = yes ||
     7158     $as_test_x conftest$ac_exeext
     7159       }; then
    61387160  ac_cv_working_alloca_h=yes
    61397161else
    6140   echo "$as_me: failed program was:" >&5
     7162  $as_echo "$as_me: failed program was:" >&5
    61417163sed 's/^/| /' conftest.$ac_ext >&5
    61427164
    6143 ac_cv_working_alloca_h=no
    6144 fi
    6145 rm -f conftest.err conftest.$ac_objext \
     7165    ac_cv_working_alloca_h=no
     7166fi
     7167
     7168rm -rf conftest.dSYM
     7169rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    61467170      conftest$ac_exeext conftest.$ac_ext
    61477171fi
    6148 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    6149 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
     7172{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     7173$as_echo "$ac_cv_working_alloca_h" >&6; }
    61507174if test $ac_cv_working_alloca_h = yes; then
    61517175
     
    61567180fi
    61577181
    6158 echo "$as_me:$LINENO: checking for alloca" >&5
    6159 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     7182{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
     7183$as_echo_n "checking for alloca... " >&6; }
    61607184if test "${ac_cv_func_alloca_works+set}" = set; then
    6161   echo $ECHO_N "(cached) $ECHO_C" >&6
     7185  $as_echo_n "(cached) " >&6
    61627186else
    61637187  cat >conftest.$ac_ext <<_ACEOF
     
    61747198#  define alloca _alloca
    61757199# else
    6176 #  if HAVE_ALLOCA_H
     7200#  ifdef HAVE_ALLOCA_H
    61777201#   include <alloca.h>
    61787202#  else
     
    61927216{
    61937217char *p = (char *) alloca (1);
     7218                    if (p) return 0;
    61947219  ;
    61957220  return 0;
     
    61977222_ACEOF
    61987223rm -f conftest.$ac_objext conftest$ac_exeext
    6199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6200   (eval $ac_link) 2>conftest.er1
     7224if { (ac_try="$ac_link"
     7225case "(($ac_try" in
     7226  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7227  *) ac_try_echo=$ac_try;;
     7228esac
     7229eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7230$as_echo "$ac_try_echo") >&5
     7231  (eval "$ac_link") 2>conftest.er1
    62017232  ac_status=$?
    62027233  grep -v '^ *+' conftest.er1 >conftest.err
    62037234  rm -f conftest.er1
    62047235  cat conftest.err >&5
    6205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6206   (exit $ac_status); } &&
    6207      { ac_try='test -z "$ac_c_werror_flag"
    6208              || test ! -s conftest.err'
    6209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6210   (eval $ac_try) 2>&5
    6211   ac_status=$?
    6212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6213   (exit $ac_status); }; } &&
    6214      { ac_try='test -s conftest$ac_exeext'
    6215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6216   (eval $ac_try) 2>&5
    6217   ac_status=$?
    6218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6219   (exit $ac_status); }; }; then
     7236  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7237  (exit $ac_status); } && {
     7238     test -z "$ac_c_werror_flag" ||
     7239     test ! -s conftest.err
     7240       } && test -s conftest$ac_exeext && {
     7241     test "$cross_compiling" = yes ||
     7242     $as_test_x conftest$ac_exeext
     7243       }; then
    62207244  ac_cv_func_alloca_works=yes
    62217245else
    6222   echo "$as_me: failed program was:" >&5
     7246  $as_echo "$as_me: failed program was:" >&5
    62237247sed 's/^/| /' conftest.$ac_ext >&5
    62247248
    6225 ac_cv_func_alloca_works=no
    6226 fi
    6227 rm -f conftest.err conftest.$ac_objext \
     7249    ac_cv_func_alloca_works=no
     7250fi
     7251
     7252rm -rf conftest.dSYM
     7253rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    62287254      conftest$ac_exeext conftest.$ac_ext
    62297255fi
    6230 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    6231 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
     7256{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     7257$as_echo "$ac_cv_func_alloca_works" >&6; }
    62327258
    62337259if test $ac_cv_func_alloca_works = yes; then
     
    62437269# use ar to extract alloca.o from them instead of compiling alloca.c.
    62447270
    6245 ALLOCA=alloca.$ac_objext
     7271ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    62467272
    62477273cat >>confdefs.h <<\_ACEOF
     
    62507276
    62517277
    6252 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    6253 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     7278{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     7279$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
    62547280if test "${ac_cv_os_cray+set}" = set; then
    6255   echo $ECHO_N "(cached) $ECHO_C" >&6
     7281  $as_echo_n "(cached) " >&6
    62567282else
    62577283  cat >conftest.$ac_ext <<_ACEOF
     
    62617287cat >>conftest.$ac_ext <<_ACEOF
    62627288/* end confdefs.h.  */
    6263 #if defined(CRAY) && ! defined(CRAY2)
     7289#if defined CRAY && ! defined CRAY2
    62647290webecray
    62657291#else
     
    62777303
    62787304fi
    6279 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    6280 echo "${ECHO_T}$ac_cv_os_cray" >&6
     7305{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     7306$as_echo "$ac_cv_os_cray" >&6; }
    62817307if test $ac_cv_os_cray = yes; then
    62827308  for ac_func in _getb67 GETB67 getb67; do
    6283     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6284 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6286 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6287   echo $ECHO_N "(cached) $ECHO_C" >&6
     7309    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7310{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7311$as_echo_n "checking for $ac_func... " >&6; }
     7312if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7313  $as_echo_n "(cached) " >&6
    62887314else
    62897315  cat >conftest.$ac_ext <<_ACEOF
     
    63107336#undef $ac_func
    63117337
    6312 /* Override any gcc2 internal prototype to avoid an error.  */
     7338/* Override any GCC internal prototype to avoid an error.
     7339   Use char because int might match the return type of a GCC
     7340   builtin and then its argument prototype would still apply.  */
    63137341#ifdef __cplusplus
    63147342extern "C"
    6315 {
    63167343#endif
    6317 /* We use char because int might match the return type of a gcc2
    6318    builtin and then its argument prototype would still apply.  */
    63197344char $ac_func ();
    63207345/* The GNU C library defines this for functions which it implements
    63217346    to always fail with ENOSYS.  Some functions are actually named
    63227347    something starting with __ and the normal name is an alias.  */
    6323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7348#if defined __stub_$ac_func || defined __stub___$ac_func
    63247349choke me
    6325 #else
    6326 char (*f) () = $ac_func;
    6327 #endif
    6328 #ifdef __cplusplus
    6329 }
    63307350#endif
    63317351
     
    63337353main ()
    63347354{
    6335 return f != $ac_func;
     7355return $ac_func ();
    63367356  ;
    63377357  return 0;
     
    63397359_ACEOF
    63407360rm -f conftest.$ac_objext conftest$ac_exeext
    6341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6342   (eval $ac_link) 2>conftest.er1
     7361if { (ac_try="$ac_link"
     7362case "(($ac_try" in
     7363  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7364  *) ac_try_echo=$ac_try;;
     7365esac
     7366eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7367$as_echo "$ac_try_echo") >&5
     7368  (eval "$ac_link") 2>conftest.er1
    63437369  ac_status=$?
    63447370  grep -v '^ *+' conftest.er1 >conftest.err
    63457371  rm -f conftest.er1
    63467372  cat conftest.err >&5
    6347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6348   (exit $ac_status); } &&
    6349      { ac_try='test -z "$ac_c_werror_flag"
    6350              || test ! -s conftest.err'
    6351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6352   (eval $ac_try) 2>&5
    6353   ac_status=$?
    6354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6355   (exit $ac_status); }; } &&
    6356      { ac_try='test -s conftest$ac_exeext'
    6357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6358   (eval $ac_try) 2>&5
    6359   ac_status=$?
    6360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6361   (exit $ac_status); }; }; then
     7373  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7374  (exit $ac_status); } && {
     7375     test -z "$ac_c_werror_flag" ||
     7376     test ! -s conftest.err
     7377       } && test -s conftest$ac_exeext && {
     7378     test "$cross_compiling" = yes ||
     7379     $as_test_x conftest$ac_exeext
     7380       }; then
    63627381  eval "$as_ac_var=yes"
    63637382else
    6364   echo "$as_me: failed program was:" >&5
     7383  $as_echo "$as_me: failed program was:" >&5
    63657384sed 's/^/| /' conftest.$ac_ext >&5
    63667385
    6367 eval "$as_ac_var=no"
    6368 fi
    6369 rm -f conftest.err conftest.$ac_objext \
     7386    eval "$as_ac_var=no"
     7387fi
     7388
     7389rm -rf conftest.dSYM
     7390rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    63707391      conftest$ac_exeext conftest.$ac_ext
    63717392fi
    6372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6374 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7393ac_res=`eval 'as_val=${'$as_ac_var'}
     7394         $as_echo "$as_val"'`
     7395           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7396$as_echo "$ac_res" >&6; }
     7397as_val=`eval 'as_val=${'$as_ac_var'}
     7398         $as_echo "$as_val"'`
     7399   if test "x$as_val" = x""yes; then
    63757400
    63767401cat >>confdefs.h <<_ACEOF
     
    63847409fi
    63857410
    6386 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    6387 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
     7411{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     7412$as_echo_n "checking stack direction for C alloca... " >&6; }
    63887413if test "${ac_cv_c_stack_direction+set}" = set; then
    6389   echo $ECHO_N "(cached) $ECHO_C" >&6
     7414  $as_echo_n "(cached) " >&6
    63907415else
    63917416  if test "$cross_compiling" = yes; then
     
    63987423cat >>conftest.$ac_ext <<_ACEOF
    63997424/* end confdefs.h.  */
     7425$ac_includes_default
    64007426int
    64017427find_stack_direction ()
     
    64157441main ()
    64167442{
    6417   exit (find_stack_direction () < 0);
     7443  return find_stack_direction () < 0;
    64187444}
    64197445_ACEOF
    64207446rm -f conftest$ac_exeext
    6421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6422   (eval $ac_link) 2>&5
     7447if { (ac_try="$ac_link"
     7448case "(($ac_try" in
     7449  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7450  *) ac_try_echo=$ac_try;;
     7451esac
     7452eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7453$as_echo "$ac_try_echo") >&5
     7454  (eval "$ac_link") 2>&5
    64237455  ac_status=$?
    6424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7456  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    64257457  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6427   (eval $ac_try) 2>&5
     7458  { (case "(($ac_try" in
     7459  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7460  *) ac_try_echo=$ac_try;;
     7461esac
     7462eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7463$as_echo "$ac_try_echo") >&5
     7464  (eval "$ac_try") 2>&5
    64287465  ac_status=$?
    6429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7466  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    64307467  (exit $ac_status); }; }; then
    64317468  ac_cv_c_stack_direction=1
    64327469else
    6433   echo "$as_me: program exited with status $ac_status" >&5
    6434 echo "$as_me: failed program was:" >&5
     7470  $as_echo "$as_me: program exited with status $ac_status" >&5
     7471$as_echo "$as_me: failed program was:" >&5
    64357472sed 's/^/| /' conftest.$ac_ext >&5
    64367473
     
    64387475ac_cv_c_stack_direction=-1
    64397476fi
    6440 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6441 fi
    6442 fi
    6443 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    6444 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
     7477rm -rf conftest.dSYM
     7478rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7479fi
     7480
     7481
     7482fi
     7483{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     7484$as_echo "$ac_cv_c_stack_direction" >&6; }
    64457485
    64467486cat >>confdefs.h <<_ACEOF
     
    64527492
    64537493if test $ac_cv_c_compiler_gnu = yes; then
    6454     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    6455 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
     7494    { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     7495$as_echo_n "checking whether $CC needs -traditional... " >&6; }
    64567496if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    6457   echo $ECHO_N "(cached) $ECHO_C" >&6
     7497  $as_echo_n "(cached) " >&6
    64587498else
    64597499    ac_pattern="Autoconf.*'x'"
     
    64947534  fi
    64957535fi
    6496 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    6497 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
     7536{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     7537$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
    64987538  if test $ac_cv_prog_gcc_traditional = yes; then
    64997539    CC="$CC -traditional"
     
    65017541fi
    65027542
    6503 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    6504 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
     7543{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     7544$as_echo_n "checking return type of signal handlers... " >&6; }
    65057545if test "${ac_cv_type_signal+set}" = set; then
    6506   echo $ECHO_N "(cached) $ECHO_C" >&6
     7546  $as_echo_n "(cached) " >&6
    65077547else
    65087548  cat >conftest.$ac_ext <<_ACEOF
     
    65147554#include <sys/types.h>
    65157555#include <signal.h>
    6516 #ifdef signal
    6517 # undef signal
    6518 #endif
    6519 #ifdef __cplusplus
    6520 extern "C" void (*signal (int, void (*)(int)))(int);
    6521 #else
    6522 void (*signal ()) ();
    6523 #endif
    65247556
    65257557int
    65267558main ()
    65277559{
    6528 int i;
     7560return *(signal (0, 0)) (0) == 1;
    65297561  ;
    65307562  return 0;
     
    65327564_ACEOF
    65337565rm -f conftest.$ac_objext
    6534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6535   (eval $ac_compile) 2>conftest.er1
     7566if { (ac_try="$ac_compile"
     7567case "(($ac_try" in
     7568  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7569  *) ac_try_echo=$ac_try;;
     7570esac
     7571eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7572$as_echo "$ac_try_echo") >&5
     7573  (eval "$ac_compile") 2>conftest.er1
    65367574  ac_status=$?
    65377575  grep -v '^ *+' conftest.er1 >conftest.err
    65387576  rm -f conftest.er1
    65397577  cat conftest.err >&5
    6540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6541   (exit $ac_status); } &&
    6542      { ac_try='test -z "$ac_c_werror_flag"
    6543              || test ! -s conftest.err'
    6544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6545   (eval $ac_try) 2>&5
    6546   ac_status=$?
    6547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6548   (exit $ac_status); }; } &&
    6549      { ac_try='test -s conftest.$ac_objext'
    6550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6551   (eval $ac_try) 2>&5
    6552   ac_status=$?
    6553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6554   (exit $ac_status); }; }; then
    6555   ac_cv_type_signal=void
    6556 else
    6557   echo "$as_me: failed program was:" >&5
     7578  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7579  (exit $ac_status); } && {
     7580     test -z "$ac_c_werror_flag" ||
     7581     test ! -s conftest.err
     7582       } && test -s conftest.$ac_objext; then
     7583  ac_cv_type_signal=int
     7584else
     7585  $as_echo "$as_me: failed program was:" >&5
    65587586sed 's/^/| /' conftest.$ac_ext >&5
    65597587
    6560 ac_cv_type_signal=int
    6561 fi
    6562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6563 fi
    6564 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    6565 echo "${ECHO_T}$ac_cv_type_signal" >&6
     7588    ac_cv_type_signal=void
     7589fi
     7590
     7591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7592fi
     7593{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     7594$as_echo "$ac_cv_type_signal" >&6; }
    65667595
    65677596cat >>confdefs.h <<_ACEOF
     
    65737602for ac_func in vprintf
    65747603do
    6575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6576 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6578 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6579   echo $ECHO_N "(cached) $ECHO_C" >&6
     7604as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7605{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7606$as_echo_n "checking for $ac_func... " >&6; }
     7607if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7608  $as_echo_n "(cached) " >&6
    65807609else
    65817610  cat >conftest.$ac_ext <<_ACEOF
     
    66027631#undef $ac_func
    66037632
    6604 /* Override any gcc2 internal prototype to avoid an error.  */
     7633/* Override any GCC internal prototype to avoid an error.
     7634   Use char because int might match the return type of a GCC
     7635   builtin and then its argument prototype would still apply.  */
    66057636#ifdef __cplusplus
    66067637extern "C"
    6607 {
    66087638#endif
    6609 /* We use char because int might match the return type of a gcc2
    6610    builtin and then its argument prototype would still apply.  */
    66117639char $ac_func ();
    66127640/* The GNU C library defines this for functions which it implements
    66137641    to always fail with ENOSYS.  Some functions are actually named
    66147642    something starting with __ and the normal name is an alias.  */
    6615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7643#if defined __stub_$ac_func || defined __stub___$ac_func
    66167644choke me
    6617 #else
    6618 char (*f) () = $ac_func;
    6619 #endif
    6620 #ifdef __cplusplus
    6621 }
    66227645#endif
    66237646
     
    66257648main ()
    66267649{
    6627 return f != $ac_func;
     7650return $ac_func ();
    66287651  ;
    66297652  return 0;
     
    66317654_ACEOF
    66327655rm -f conftest.$ac_objext conftest$ac_exeext
    6633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6634   (eval $ac_link) 2>conftest.er1
     7656if { (ac_try="$ac_link"
     7657case "(($ac_try" in
     7658  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7659  *) ac_try_echo=$ac_try;;
     7660esac
     7661eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7662$as_echo "$ac_try_echo") >&5
     7663  (eval "$ac_link") 2>conftest.er1
    66357664  ac_status=$?
    66367665  grep -v '^ *+' conftest.er1 >conftest.err
    66377666  rm -f conftest.er1
    66387667  cat conftest.err >&5
    6639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6640   (exit $ac_status); } &&
    6641      { ac_try='test -z "$ac_c_werror_flag"
    6642              || test ! -s conftest.err'
    6643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6644   (eval $ac_try) 2>&5
    6645   ac_status=$?
    6646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6647   (exit $ac_status); }; } &&
    6648      { ac_try='test -s conftest$ac_exeext'
    6649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6650   (eval $ac_try) 2>&5
    6651   ac_status=$?
    6652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6653   (exit $ac_status); }; }; then
     7668  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7669  (exit $ac_status); } && {
     7670     test -z "$ac_c_werror_flag" ||
     7671     test ! -s conftest.err
     7672       } && test -s conftest$ac_exeext && {
     7673     test "$cross_compiling" = yes ||
     7674     $as_test_x conftest$ac_exeext
     7675       }; then
    66547676  eval "$as_ac_var=yes"
    66557677else
    6656   echo "$as_me: failed program was:" >&5
     7678  $as_echo "$as_me: failed program was:" >&5
    66577679sed 's/^/| /' conftest.$ac_ext >&5
    66587680
    6659 eval "$as_ac_var=no"
    6660 fi
    6661 rm -f conftest.err conftest.$ac_objext \
     7681    eval "$as_ac_var=no"
     7682fi
     7683
     7684rm -rf conftest.dSYM
     7685rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    66627686      conftest$ac_exeext conftest.$ac_ext
    66637687fi
    6664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6666 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7688ac_res=`eval 'as_val=${'$as_ac_var'}
     7689         $as_echo "$as_val"'`
     7690           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7691$as_echo "$ac_res" >&6; }
     7692as_val=`eval 'as_val=${'$as_ac_var'}
     7693         $as_echo "$as_val"'`
     7694   if test "x$as_val" = x""yes; then
    66677695  cat >>confdefs.h <<_ACEOF
    6668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    6669 _ACEOF
    6670 
    6671 echo "$as_me:$LINENO: checking for _doprnt" >&5
    6672 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
     7696#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7697_ACEOF
     7698
     7699{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
     7700$as_echo_n "checking for _doprnt... " >&6; }
    66737701if test "${ac_cv_func__doprnt+set}" = set; then
    6674   echo $ECHO_N "(cached) $ECHO_C" >&6
     7702  $as_echo_n "(cached) " >&6
    66757703else
    66767704  cat >conftest.$ac_ext <<_ACEOF
     
    66977725#undef _doprnt
    66987726
    6699 /* Override any gcc2 internal prototype to avoid an error.  */
     7727/* Override any GCC internal prototype to avoid an error.
     7728   Use char because int might match the return type of a GCC
     7729   builtin and then its argument prototype would still apply.  */
    67007730#ifdef __cplusplus
    67017731extern "C"
    6702 {
    67037732#endif
    6704 /* We use char because int might match the return type of a gcc2
    6705    builtin and then its argument prototype would still apply.  */
    67067733char _doprnt ();
    67077734/* The GNU C library defines this for functions which it implements
    67087735    to always fail with ENOSYS.  Some functions are actually named
    67097736    something starting with __ and the normal name is an alias.  */
    6710 #if defined (__stub__doprnt) || defined (__stub____doprnt)
     7737#if defined __stub__doprnt || defined __stub____doprnt
    67117738choke me
    6712 #else
    6713 char (*f) () = _doprnt;
    6714 #endif
    6715 #ifdef __cplusplus
    6716 }
    67177739#endif
    67187740
     
    67207742main ()
    67217743{
    6722 return f != _doprnt;
     7744return _doprnt ();
    67237745  ;
    67247746  return 0;
     
    67267748_ACEOF
    67277749rm -f conftest.$ac_objext conftest$ac_exeext
    6728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6729   (eval $ac_link) 2>conftest.er1
     7750if { (ac_try="$ac_link"
     7751case "(($ac_try" in
     7752  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7753  *) ac_try_echo=$ac_try;;
     7754esac
     7755eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7756$as_echo "$ac_try_echo") >&5
     7757  (eval "$ac_link") 2>conftest.er1
    67307758  ac_status=$?
    67317759  grep -v '^ *+' conftest.er1 >conftest.err
    67327760  rm -f conftest.er1
    67337761  cat conftest.err >&5
    6734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6735   (exit $ac_status); } &&
    6736      { ac_try='test -z "$ac_c_werror_flag"
    6737              || test ! -s conftest.err'
    6738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6739   (eval $ac_try) 2>&5
    6740   ac_status=$?
    6741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6742   (exit $ac_status); }; } &&
    6743      { ac_try='test -s conftest$ac_exeext'
    6744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6745   (eval $ac_try) 2>&5
    6746   ac_status=$?
    6747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6748   (exit $ac_status); }; }; then
     7762  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7763  (exit $ac_status); } && {
     7764     test -z "$ac_c_werror_flag" ||
     7765     test ! -s conftest.err
     7766       } && test -s conftest$ac_exeext && {
     7767     test "$cross_compiling" = yes ||
     7768     $as_test_x conftest$ac_exeext
     7769       }; then
    67497770  ac_cv_func__doprnt=yes
    67507771else
    6751   echo "$as_me: failed program was:" >&5
     7772  $as_echo "$as_me: failed program was:" >&5
    67527773sed 's/^/| /' conftest.$ac_ext >&5
    67537774
    6754 ac_cv_func__doprnt=no
    6755 fi
    6756 rm -f conftest.err conftest.$ac_objext \
     7775    ac_cv_func__doprnt=no
     7776fi
     7777
     7778rm -rf conftest.dSYM
     7779rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    67577780      conftest$ac_exeext conftest.$ac_ext
    67587781fi
    6759 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6760 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
    6761 if test $ac_cv_func__doprnt = yes; then
     7782{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     7783$as_echo "$ac_cv_func__doprnt" >&6; }
     7784if test "x$ac_cv_func__doprnt" = x""yes; then
    67627785
    67637786cat >>confdefs.h <<\_ACEOF
     
    67837806for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
    67847807do
    6785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6786 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6788 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6789   echo $ECHO_N "(cached) $ECHO_C" >&6
     7808as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7809{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7810$as_echo_n "checking for $ac_func... " >&6; }
     7811if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7812  $as_echo_n "(cached) " >&6
    67907813else
    67917814  cat >conftest.$ac_ext <<_ACEOF
     
    68127835#undef $ac_func
    68137836
    6814 /* Override any gcc2 internal prototype to avoid an error.  */
     7837/* Override any GCC internal prototype to avoid an error.
     7838   Use char because int might match the return type of a GCC
     7839   builtin and then its argument prototype would still apply.  */
    68157840#ifdef __cplusplus
    68167841extern "C"
    6817 {
    68187842#endif
    6819 /* We use char because int might match the return type of a gcc2
    6820    builtin and then its argument prototype would still apply.  */
    68217843char $ac_func ();
    68227844/* The GNU C library defines this for functions which it implements
    68237845    to always fail with ENOSYS.  Some functions are actually named
    68247846    something starting with __ and the normal name is an alias.  */
    6825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7847#if defined __stub_$ac_func || defined __stub___$ac_func
    68267848choke me
    6827 #else
    6828 char (*f) () = $ac_func;
    6829 #endif
    6830 #ifdef __cplusplus
    6831 }
    68327849#endif
    68337850
     
    68357852main ()
    68367853{
    6837 return f != $ac_func;
     7854return $ac_func ();
    68387855  ;
    68397856  return 0;
     
    68417858_ACEOF
    68427859rm -f conftest.$ac_objext conftest$ac_exeext
    6843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6844   (eval $ac_link) 2>conftest.er1
     7860if { (ac_try="$ac_link"
     7861case "(($ac_try" in
     7862  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7863  *) ac_try_echo=$ac_try;;
     7864esac
     7865eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7866$as_echo "$ac_try_echo") >&5
     7867  (eval "$ac_link") 2>conftest.er1
    68457868  ac_status=$?
    68467869  grep -v '^ *+' conftest.er1 >conftest.err
    68477870  rm -f conftest.er1
    68487871  cat conftest.err >&5
    6849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6850   (exit $ac_status); } &&
    6851      { ac_try='test -z "$ac_c_werror_flag"
    6852              || test ! -s conftest.err'
    6853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6854   (eval $ac_try) 2>&5
    6855   ac_status=$?
    6856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6857   (exit $ac_status); }; } &&
    6858      { ac_try='test -s conftest$ac_exeext'
    6859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6860   (eval $ac_try) 2>&5
    6861   ac_status=$?
    6862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6863   (exit $ac_status); }; }; then
     7872  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7873  (exit $ac_status); } && {
     7874     test -z "$ac_c_werror_flag" ||
     7875     test ! -s conftest.err
     7876       } && test -s conftest$ac_exeext && {
     7877     test "$cross_compiling" = yes ||
     7878     $as_test_x conftest$ac_exeext
     7879       }; then
    68647880  eval "$as_ac_var=yes"
    68657881else
    6866   echo "$as_me: failed program was:" >&5
     7882  $as_echo "$as_me: failed program was:" >&5
    68677883sed 's/^/| /' conftest.$ac_ext >&5
    68687884
    6869 eval "$as_ac_var=no"
    6870 fi
    6871 rm -f conftest.err conftest.$ac_objext \
     7885    eval "$as_ac_var=no"
     7886fi
     7887
     7888rm -rf conftest.dSYM
     7889rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    68727890      conftest$ac_exeext conftest.$ac_ext
    68737891fi
    6874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6876 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7892ac_res=`eval 'as_val=${'$as_ac_var'}
     7893         $as_echo "$as_val"'`
     7894           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7895$as_echo "$ac_res" >&6; }
     7896as_val=`eval 'as_val=${'$as_ac_var'}
     7897         $as_echo "$as_val"'`
     7898   if test "x$as_val" = x""yes; then
    68777899  cat >>confdefs.h <<_ACEOF
    6878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7900#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    68797901_ACEOF
    68807902
     
    68877909for ac_func in ftruncate strstr strcasecmp
    68887910do
    6889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6890 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6892 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6893   echo $ECHO_N "(cached) $ECHO_C" >&6
     7911as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7912{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7913$as_echo_n "checking for $ac_func... " >&6; }
     7914if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7915  $as_echo_n "(cached) " >&6
    68947916else
    68957917  cat >conftest.$ac_ext <<_ACEOF
     
    69167938#undef $ac_func
    69177939
    6918 /* Override any gcc2 internal prototype to avoid an error.  */
     7940/* Override any GCC internal prototype to avoid an error.
     7941   Use char because int might match the return type of a GCC
     7942   builtin and then its argument prototype would still apply.  */
    69197943#ifdef __cplusplus
    69207944extern "C"
    6921 {
    69227945#endif
    6923 /* We use char because int might match the return type of a gcc2
    6924    builtin and then its argument prototype would still apply.  */
    69257946char $ac_func ();
    69267947/* The GNU C library defines this for functions which it implements
    69277948    to always fail with ENOSYS.  Some functions are actually named
    69287949    something starting with __ and the normal name is an alias.  */
    6929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7950#if defined __stub_$ac_func || defined __stub___$ac_func
    69307951choke me
    6931 #else
    6932 char (*f) () = $ac_func;
    6933 #endif
    6934 #ifdef __cplusplus
    6935 }
    69367952#endif
    69377953
     
    69397955main ()
    69407956{
    6941 return f != $ac_func;
     7957return $ac_func ();
    69427958  ;
    69437959  return 0;
     
    69457961_ACEOF
    69467962rm -f conftest.$ac_objext conftest$ac_exeext
    6947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6948   (eval $ac_link) 2>conftest.er1
     7963if { (ac_try="$ac_link"
     7964case "(($ac_try" in
     7965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7966  *) ac_try_echo=$ac_try;;
     7967esac
     7968eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7969$as_echo "$ac_try_echo") >&5
     7970  (eval "$ac_link") 2>conftest.er1
    69497971  ac_status=$?
    69507972  grep -v '^ *+' conftest.er1 >conftest.err
    69517973  rm -f conftest.er1
    69527974  cat conftest.err >&5
    6953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6954   (exit $ac_status); } &&
    6955      { ac_try='test -z "$ac_c_werror_flag"
    6956              || test ! -s conftest.err'
    6957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6958   (eval $ac_try) 2>&5
    6959   ac_status=$?
    6960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6961   (exit $ac_status); }; } &&
    6962      { ac_try='test -s conftest$ac_exeext'
    6963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6964   (eval $ac_try) 2>&5
    6965   ac_status=$?
    6966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6967   (exit $ac_status); }; }; then
     7975  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7976  (exit $ac_status); } && {
     7977     test -z "$ac_c_werror_flag" ||
     7978     test ! -s conftest.err
     7979       } && test -s conftest$ac_exeext && {
     7980     test "$cross_compiling" = yes ||
     7981     $as_test_x conftest$ac_exeext
     7982       }; then
    69687983  eval "$as_ac_var=yes"
    69697984else
    6970   echo "$as_me: failed program was:" >&5
     7985  $as_echo "$as_me: failed program was:" >&5
    69717986sed 's/^/| /' conftest.$ac_ext >&5
    69727987
    6973 eval "$as_ac_var=no"
    6974 fi
    6975 rm -f conftest.err conftest.$ac_objext \
     7988    eval "$as_ac_var=no"
     7989fi
     7990
     7991rm -rf conftest.dSYM
     7992rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    69767993      conftest$ac_exeext conftest.$ac_ext
    69777994fi
    6978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6980 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7995ac_res=`eval 'as_val=${'$as_ac_var'}
     7996         $as_echo "$as_val"'`
     7997           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7998$as_echo "$ac_res" >&6; }
     7999as_val=`eval 'as_val=${'$as_ac_var'}
     8000         $as_echo "$as_val"'`
     8001   if test "x$as_val" = x""yes; then
    69818002  cat >>confdefs.h <<_ACEOF
    6982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    6983 _ACEOF
    6984 
    6985 else
    6986   case $LIBOBJS in
    6987     "$ac_func.$ac_objext"   | \
    6988   *" $ac_func.$ac_objext"   | \
    6989     "$ac_func.$ac_objext "* | \
     8003#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     8004_ACEOF
     8005
     8006else
     8007  case " $LIBOBJS " in
    69908008  *" $ac_func.$ac_objext "* ) ;;
    6991   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
     8009  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     8010 ;;
    69928011esac
    69938012
     
    69978016
    69988017
    6999 echo "$as_me:$LINENO: checking for textdomain" >&5
    7000 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
     8018{ $as_echo "$as_me:$LINENO: checking for textdomain" >&5
     8019$as_echo_n "checking for textdomain... " >&6; }
    70018020if test "${ac_cv_func_textdomain+set}" = set; then
    7002   echo $ECHO_N "(cached) $ECHO_C" >&6
     8021  $as_echo_n "(cached) " >&6
    70038022else
    70048023  cat >conftest.$ac_ext <<_ACEOF
     
    70258044#undef textdomain
    70268045
    7027 /* Override any gcc2 internal prototype to avoid an error.  */
     8046/* Override any GCC internal prototype to avoid an error.
     8047   Use char because int might match the return type of a GCC
     8048   builtin and then its argument prototype would still apply.  */
    70288049#ifdef __cplusplus
    70298050extern "C"
    7030 {
    70318051#endif
    7032 /* We use char because int might match the return type of a gcc2
    7033    builtin and then its argument prototype would still apply.  */
    70348052char textdomain ();
    70358053/* The GNU C library defines this for functions which it implements
    70368054    to always fail with ENOSYS.  Some functions are actually named
    70378055    something starting with __ and the normal name is an alias.  */
    7038 #if defined (__stub_textdomain) || defined (__stub___textdomain)
     8056#if defined __stub_textdomain || defined __stub___textdomain
    70398057choke me
    7040 #else
    7041 char (*f) () = textdomain;
    7042 #endif
    7043 #ifdef __cplusplus
    7044 }
    70458058#endif
    70468059
     
    70488061main ()
    70498062{
    7050 return f != textdomain;
     8063return textdomain ();
    70518064  ;
    70528065  return 0;
     
    70548067_ACEOF
    70558068rm -f conftest.$ac_objext conftest$ac_exeext
    7056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7057   (eval $ac_link) 2>conftest.er1
     8069if { (ac_try="$ac_link"
     8070case "(($ac_try" in
     8071  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8072  *) ac_try_echo=$ac_try;;
     8073esac
     8074eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8075$as_echo "$ac_try_echo") >&5
     8076  (eval "$ac_link") 2>conftest.er1
    70588077  ac_status=$?
    70598078  grep -v '^ *+' conftest.er1 >conftest.err
    70608079  rm -f conftest.er1
    70618080  cat conftest.err >&5
    7062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7063   (exit $ac_status); } &&
    7064      { ac_try='test -z "$ac_c_werror_flag"
    7065              || test ! -s conftest.err'
    7066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7067   (eval $ac_try) 2>&5
    7068   ac_status=$?
    7069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7070   (exit $ac_status); }; } &&
    7071      { ac_try='test -s conftest$ac_exeext'
    7072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7073   (eval $ac_try) 2>&5
    7074   ac_status=$?
    7075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7076   (exit $ac_status); }; }; then
     8081  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8082  (exit $ac_status); } && {
     8083     test -z "$ac_c_werror_flag" ||
     8084     test ! -s conftest.err
     8085       } && test -s conftest$ac_exeext && {
     8086     test "$cross_compiling" = yes ||
     8087     $as_test_x conftest$ac_exeext
     8088       }; then
    70778089  ac_cv_func_textdomain=yes
    70788090else
    7079   echo "$as_me: failed program was:" >&5
     8091  $as_echo "$as_me: failed program was:" >&5
    70808092sed 's/^/| /' conftest.$ac_ext >&5
    70818093
    7082 ac_cv_func_textdomain=no
    7083 fi
    7084 rm -f conftest.err conftest.$ac_objext \
     8094    ac_cv_func_textdomain=no
     8095fi
     8096
     8097rm -rf conftest.dSYM
     8098rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    70858099      conftest$ac_exeext conftest.$ac_ext
    70868100fi
    7087 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    7088 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
    7089 if test $ac_cv_func_textdomain = yes; then
     8101{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     8102$as_echo "$ac_cv_func_textdomain" >&6; }
     8103if test "x$ac_cv_func_textdomain" = x""yes; then
    70908104  cat >>confdefs.h <<\_ACEOF
    70918105#define ENABLE_NLS  1
     
    70978111# *** Custom checking (based on GNU tar configure.in) ***
    70988112# ---------------------------------------------------------------------------
    7099 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    7100 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
     8113{ $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     8114$as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
    71018115if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    7102   echo "$as_me:$LINENO: result: yes" >&5
    7103 echo "${ECHO_T}yes" >&6
    7104   case $LIBOBJS in
    7105     "gmalloc.$ac_objext"   | \
    7106   *" gmalloc.$ac_objext"   | \
    7107     "gmalloc.$ac_objext "* | \
     8116  { $as_echo "$as_me:$LINENO: result: yes" >&5
     8117$as_echo "yes" >&6; }
     8118  case " $LIBOBJS " in
    71088119  *" gmalloc.$ac_objext "* ) ;;
    7109   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
     8120  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
     8121 ;;
    71108122esac
    71118123
     
    71158127
    71168128else
    7117   echo "$as_me:$LINENO: result: no" >&5
    7118 echo "${ECHO_T}no" >&6
     8129  { $as_echo "$as_me:$LINENO: result: no" >&5
     8130$as_echo "no" >&6; }
    71198131
    71208132for ac_func in valloc
    71218133do
    7122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    7123 echo "$as_me:$LINENO: checking for $ac_func" >&5
    7124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    7125 if eval "test \"\${$as_ac_var+set}\" = set"; then
    7126   echo $ECHO_N "(cached) $ECHO_C" >&6
     8134as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     8135{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     8136$as_echo_n "checking for $ac_func... " >&6; }
     8137if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     8138  $as_echo_n "(cached) " >&6
    71278139else
    71288140  cat >conftest.$ac_ext <<_ACEOF
     
    71498161#undef $ac_func
    71508162
    7151 /* Override any gcc2 internal prototype to avoid an error.  */
     8163/* Override any GCC internal prototype to avoid an error.
     8164   Use char because int might match the return type of a GCC
     8165   builtin and then its argument prototype would still apply.  */
    71528166#ifdef __cplusplus
    71538167extern "C"
    7154 {
    71558168#endif
    7156 /* We use char because int might match the return type of a gcc2
    7157    builtin and then its argument prototype would still apply.  */
    71588169char $ac_func ();
    71598170/* The GNU C library defines this for functions which it implements
    71608171    to always fail with ENOSYS.  Some functions are actually named
    71618172    something starting with __ and the normal name is an alias.  */
    7162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     8173#if defined __stub_$ac_func || defined __stub___$ac_func
    71638174choke me
    7164 #else
    7165 char (*f) () = $ac_func;
    7166 #endif
    7167 #ifdef __cplusplus
    7168 }
    71698175#endif
    71708176
     
    71728178main ()
    71738179{
    7174 return f != $ac_func;
     8180return $ac_func ();
    71758181  ;
    71768182  return 0;
     
    71788184_ACEOF
    71798185rm -f conftest.$ac_objext conftest$ac_exeext
    7180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7181   (eval $ac_link) 2>conftest.er1
     8186if { (ac_try="$ac_link"
     8187case "(($ac_try" in
     8188  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8189  *) ac_try_echo=$ac_try;;
     8190esac
     8191eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8192$as_echo "$ac_try_echo") >&5
     8193  (eval "$ac_link") 2>conftest.er1
    71828194  ac_status=$?
    71838195  grep -v '^ *+' conftest.er1 >conftest.err
    71848196  rm -f conftest.er1
    71858197  cat conftest.err >&5
    7186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7187   (exit $ac_status); } &&
    7188      { ac_try='test -z "$ac_c_werror_flag"
    7189              || test ! -s conftest.err'
    7190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7191   (eval $ac_try) 2>&5
    7192   ac_status=$?
    7193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7194   (exit $ac_status); }; } &&
    7195      { ac_try='test -s conftest$ac_exeext'
    7196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7197   (eval $ac_try) 2>&5
    7198   ac_status=$?
    7199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7200   (exit $ac_status); }; }; then
     8198  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8199  (exit $ac_status); } && {
     8200     test -z "$ac_c_werror_flag" ||
     8201     test ! -s conftest.err
     8202       } && test -s conftest$ac_exeext && {
     8203     test "$cross_compiling" = yes ||
     8204     $as_test_x conftest$ac_exeext
     8205       }; then
    72018206  eval "$as_ac_var=yes"
    72028207else
    7203   echo "$as_me: failed program was:" >&5
     8208  $as_echo "$as_me: failed program was:" >&5
    72048209sed 's/^/| /' conftest.$ac_ext >&5
    72058210
    7206 eval "$as_ac_var=no"
    7207 fi
    7208 rm -f conftest.err conftest.$ac_objext \
     8211    eval "$as_ac_var=no"
     8212fi
     8213
     8214rm -rf conftest.dSYM
     8215rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    72098216      conftest$ac_exeext conftest.$ac_ext
    72108217fi
    7211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    7212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    7213 if test `eval echo '${'$as_ac_var'}'` = yes; then
     8218ac_res=`eval 'as_val=${'$as_ac_var'}
     8219         $as_echo "$as_val"'`
     8220           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8221$as_echo "$ac_res" >&6; }
     8222as_val=`eval 'as_val=${'$as_ac_var'}
     8223         $as_echo "$as_val"'`
     8224   if test "x$as_val" = x""yes; then
    72148225  cat >>confdefs.h <<_ACEOF
    7215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     8226#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    72168227_ACEOF
    72178228
     
    72228233
    72238234# we cannot generate static libraries under Darwin
    7224 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
    7225 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
     8235{ $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     8236$as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
    72268237if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    7227   echo "$as_me:$LINENO: result: yes" >&5
    7228 echo "${ECHO_T}yes" >&6
     8238  { $as_echo "$as_me:$LINENO: result: yes" >&5
     8239$as_echo "yes" >&6; }
    72298240  STATIC=""
    72308241else
    7231   echo "$as_me:$LINENO: result: no" >&5
    7232 echo "${ECHO_T}no" >&6
     8242  { $as_echo "$as_me:$LINENO: result: no" >&5
     8243$as_echo "no" >&6; }
    72338244  STATIC="-static "
    72348245fi
    72358246
    72368247
    7237 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    7238 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
    7239 
    7240 # Check whether --with-dmalloc or --without-dmalloc was given.
     8248{ $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     8249$as_echo_n "checking if malloc debugging is wanted... " >&6; }
     8250
     8251# Check whether --with-dmalloc was given.
    72418252if test "${with_dmalloc+set}" = set; then
    7242   withval="$with_dmalloc"
    7243   if test "$withval" = yes; then
    7244   echo "$as_me:$LINENO: result: yes" >&5
    7245 echo "${ECHO_T}yes" >&6
     8253  withval=$with_dmalloc; if test "$withval" = yes; then
     8254  { $as_echo "$as_me:$LINENO: result: yes" >&5
     8255$as_echo "yes" >&6; }
    72468256  cat >>confdefs.h <<\_ACEOF
    72478257#define WITH_DMALLOC 1
     
    72518261  LDFLAGS="$LDFLAGS -g"
    72528262else
    7253   echo "$as_me:$LINENO: result: no" >&5
    7254 echo "${ECHO_T}no" >&6
    7255 fi
    7256 else
    7257   echo "$as_me:$LINENO: result: no" >&5
    7258 echo "${ECHO_T}no" >&6
    7259 fi;
    7260 
    7261 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    7262 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
    7263 
    7264 # Check whether --with-regex or --without-regex was given.
     8263  { $as_echo "$as_me:$LINENO: result: no" >&5
     8264$as_echo "no" >&6; }
     8265fi
     8266else
     8267  { $as_echo "$as_me:$LINENO: result: no" >&5
     8268$as_echo "no" >&6; }
     8269fi
     8270
     8271
     8272{ $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     8273$as_echo_n "checking which of rx or regex is wanted... " >&6; }
     8274
     8275# Check whether --with-regex was given.
    72658276if test "${with_regex+set}" = set; then
    7266   withval="$with_regex"
    7267   if test "$withval" = yes; then
     8277  withval=$with_regex; if test "$withval" = yes; then
    72688278  ac_with_regex=1
    7269   echo "$as_me:$LINENO: result: regex" >&5
    7270 echo "${ECHO_T}regex" >&6
     8279  { $as_echo "$as_me:$LINENO: result: regex" >&5
     8280$as_echo "regex" >&6; }
    72718281  cat >>confdefs.h <<\_ACEOF
    72728282#define WITH_REGEX 1
    72738283_ACEOF
    72748284
    7275   case $LIBOBJS in
    7276     "regex.$ac_objext"   | \
    7277   *" regex.$ac_objext"   | \
    7278     "regex.$ac_objext "* | \
     8285  case " $LIBOBJS " in
    72798286  *" regex.$ac_objext "* ) ;;
    7280   *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    7281 esac
    7282 
    7283 fi
    7284 fi;
     8287  *) LIBOBJS="$LIBOBJS regex.$ac_objext"
     8288 ;;
     8289esac
     8290
     8291fi
     8292fi
     8293
    72858294if test -z "$ac_with_regex"; then
    7286   echo "$as_me:$LINENO: result: rx" >&5
    7287 echo "${ECHO_T}rx" >&6
    7288   echo "$as_me:$LINENO: checking for re_rx_search" >&5
    7289 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
     8295  { $as_echo "$as_me:$LINENO: result: rx" >&5
     8296$as_echo "rx" >&6; }
     8297  { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5
     8298$as_echo_n "checking for re_rx_search... " >&6; }
    72908299if test "${ac_cv_func_re_rx_search+set}" = set; then
    7291   echo $ECHO_N "(cached) $ECHO_C" >&6
     8300  $as_echo_n "(cached) " >&6
    72928301else
    72938302  cat >conftest.$ac_ext <<_ACEOF
     
    73148323#undef re_rx_search
    73158324
    7316 /* Override any gcc2 internal prototype to avoid an error.  */
     8325/* Override any GCC internal prototype to avoid an error.
     8326   Use char because int might match the return type of a GCC
     8327   builtin and then its argument prototype would still apply.  */
    73178328#ifdef __cplusplus
    73188329extern "C"
    7319 {
    73208330#endif
    7321 /* We use char because int might match the return type of a gcc2
    7322    builtin and then its argument prototype would still apply.  */
    73238331char re_rx_search ();
    73248332/* The GNU C library defines this for functions which it implements
    73258333    to always fail with ENOSYS.  Some functions are actually named
    73268334    something starting with __ and the normal name is an alias.  */
    7327 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
     8335#if defined __stub_re_rx_search || defined __stub___re_rx_search
    73288336choke me
    7329 #else
    7330 char (*f) () = re_rx_search;
    7331 #endif
    7332 #ifdef __cplusplus
    7333 }
    73348337#endif
    73358338
     
    73378340main ()
    73388341{
    7339 return f != re_rx_search;
     8342return re_rx_search ();
    73408343  ;
    73418344  return 0;
     
    73438346_ACEOF
    73448347rm -f conftest.$ac_objext conftest$ac_exeext
    7345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7346   (eval $ac_link) 2>conftest.er1
     8348if { (ac_try="$ac_link"
     8349case "(($ac_try" in
     8350  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8351  *) ac_try_echo=$ac_try;;
     8352esac
     8353eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8354$as_echo "$ac_try_echo") >&5
     8355  (eval "$ac_link") 2>conftest.er1
    73478356  ac_status=$?
    73488357  grep -v '^ *+' conftest.er1 >conftest.err
    73498358  rm -f conftest.er1
    73508359  cat conftest.err >&5
    7351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7352   (exit $ac_status); } &&
    7353      { ac_try='test -z "$ac_c_werror_flag"
    7354              || test ! -s conftest.err'
    7355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7356   (eval $ac_try) 2>&5
    7357   ac_status=$?
    7358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7359   (exit $ac_status); }; } &&
    7360      { ac_try='test -s conftest$ac_exeext'
    7361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7362   (eval $ac_try) 2>&5
    7363   ac_status=$?
    7364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7365   (exit $ac_status); }; }; then
     8360  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8361  (exit $ac_status); } && {
     8362     test -z "$ac_c_werror_flag" ||
     8363     test ! -s conftest.err
     8364       } && test -s conftest$ac_exeext && {
     8365     test "$cross_compiling" = yes ||
     8366     $as_test_x conftest$ac_exeext
     8367       }; then
    73668368  ac_cv_func_re_rx_search=yes
    73678369else
    7368   echo "$as_me: failed program was:" >&5
     8370  $as_echo "$as_me: failed program was:" >&5
    73698371sed 's/^/| /' conftest.$ac_ext >&5
    73708372
    7371 ac_cv_func_re_rx_search=no
    7372 fi
    7373 rm -f conftest.err conftest.$ac_objext \
     8373    ac_cv_func_re_rx_search=no
     8374fi
     8375
     8376rm -rf conftest.dSYM
     8377rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    73748378      conftest$ac_exeext conftest.$ac_ext
    73758379fi
    7376 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    7377 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
    7378 if test $ac_cv_func_re_rx_search = yes; then
     8380{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     8381$as_echo "$ac_cv_func_re_rx_search" >&6; }
     8382if test "x$ac_cv_func_re_rx_search" = x""yes; then
    73798383  :
    73808384else
    7381   case $LIBOBJS in
    7382     "rx.$ac_objext"   | \
    7383   *" rx.$ac_objext"   | \
    7384     "rx.$ac_objext "* | \
     8385  case " $LIBOBJS " in
    73858386  *" rx.$ac_objext "* ) ;;
    7386   *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
     8387  *) LIBOBJS="$LIBOBJS rx.$ac_objext"
     8388 ;;
    73878389esac
    73888390
     
    73948396# ---------------------------------------------------------------------------
    73958397if test "$ac_cv_func_alloca" = 'no'; then
    7396   case $LIBOBJS in
    7397     "xmalloc.$ac_objext"   | \
    7398   *" xmalloc.$ac_objext"   | \
    7399     "xmalloc.$ac_objext "* | \
     8398  case " $LIBOBJS " in
    74008399  *" xmalloc.$ac_objext "* ) ;;
    7401   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    7402 esac
    7403 
    7404   case $LIBOBJS in
    7405     "error.$ac_objext"   | \
    7406   *" error.$ac_objext"   | \
    7407     "error.$ac_objext "* | \
     8400  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
     8401 ;;
     8402esac
     8403
     8404  case " $LIBOBJS " in
    74088405  *" error.$ac_objext "* ) ;;
    7409   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     8406  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     8407 ;;
    74108408esac
    74118409
     
    74158413# ---------------------------------------------------------------------------
    74168414
    7417 ac_ext=cc
     8415ac_ext=cpp
    74188416ac_cpp='$CXXCPP $CPPFLAGS'
    74198417ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    74228420
    74238421
    7424 echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
    7425 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6
     8422{ $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
     8423$as_echo_n "checking that Perl 5 is available... " >&6; }
    74268424success="no"
    74278425pl_path="$PATH"
     
    74378435
    74388436success=no
    7439 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
    7440 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
     8437{ $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
     8438$as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
    74418439
    74428440
     
    74588456_ACEOF
    74598457rm -f conftest.$ac_objext
    7460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7461   (eval $ac_compile) 2>conftest.er1
     8458if { (ac_try="$ac_compile"
     8459case "(($ac_try" in
     8460  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8461  *) ac_try_echo=$ac_try;;
     8462esac
     8463eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8464$as_echo "$ac_try_echo") >&5
     8465  (eval "$ac_compile") 2>conftest.er1
    74628466  ac_status=$?
    74638467  grep -v '^ *+' conftest.er1 >conftest.err
    74648468  rm -f conftest.er1
    74658469  cat conftest.err >&5
    7466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7467   (exit $ac_status); } &&
    7468      { ac_try='test -z "$ac_cxx_werror_flag"
    7469              || test ! -s conftest.err'
    7470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7471   (eval $ac_try) 2>&5
    7472   ac_status=$?
    7473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7474   (exit $ac_status); }; } &&
    7475      { ac_try='test -s conftest.$ac_objext'
    7476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7477   (eval $ac_try) 2>&5
    7478   ac_status=$?
    7479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7480   (exit $ac_status); }; }; then
     8470  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8471  (exit $ac_status); } && {
     8472     test -z "$ac_cxx_werror_flag" ||
     8473     test ! -s conftest.err
     8474       } && test -s conftest.$ac_objext; then
    74818475  success=yes
    74828476else
    7483   echo "$as_me: failed program was:" >&5
     8477  $as_echo "$as_me: failed program was:" >&5
    74848478sed 's/^/| /' conftest.$ac_ext >&5
    74858479
    7486 fi
    7487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8480
     8481fi
     8482
     8483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    74888484
    74898485if test $success = "no"; then
     
    75058501_ACEOF
    75068502rm -f conftest.$ac_objext
    7507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7508   (eval $ac_compile) 2>conftest.er1
     8503if { (ac_try="$ac_compile"
     8504case "(($ac_try" in
     8505  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8506  *) ac_try_echo=$ac_try;;
     8507esac
     8508eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8509$as_echo "$ac_try_echo") >&5
     8510  (eval "$ac_compile") 2>conftest.er1
    75098511  ac_status=$?
    75108512  grep -v '^ *+' conftest.er1 >conftest.err
    75118513  rm -f conftest.er1
    75128514  cat conftest.err >&5
    7513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7514   (exit $ac_status); } &&
    7515      { ac_try='test -z "$ac_cxx_werror_flag"
    7516              || test ! -s conftest.err'
    7517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7518   (eval $ac_try) 2>&5
    7519   ac_status=$?
    7520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7521   (exit $ac_status); }; } &&
    7522      { ac_try='test -s conftest.$ac_objext'
    7523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7524   (eval $ac_try) 2>&5
    7525   ac_status=$?
    7526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7527   (exit $ac_status); }; }; then
     8515  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8516  (exit $ac_status); } && {
     8517     test -z "$ac_cxx_werror_flag" ||
     8518     test ! -s conftest.err
     8519       } && test -s conftest.$ac_objext; then
    75288520  success="yes"
    75298521else
    7530   echo "$as_me: failed program was:" >&5
     8522  $as_echo "$as_me: failed program was:" >&5
    75318523sed 's/^/| /' conftest.$ac_ext >&5
    75328524
    7533 fi
    7534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8525
     8526fi
     8527
     8528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75358529fi
    75368530
     
    75538547_ACEOF
    75548548rm -f conftest.$ac_objext
    7555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7556   (eval $ac_compile) 2>conftest.er1
     8549if { (ac_try="$ac_compile"
     8550case "(($ac_try" in
     8551  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8552  *) ac_try_echo=$ac_try;;
     8553esac
     8554eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8555$as_echo "$ac_try_echo") >&5
     8556  (eval "$ac_compile") 2>conftest.er1
    75578557  ac_status=$?
    75588558  grep -v '^ *+' conftest.er1 >conftest.err
    75598559  rm -f conftest.er1
    75608560  cat conftest.err >&5
    7561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7562   (exit $ac_status); } &&
    7563      { ac_try='test -z "$ac_cxx_werror_flag"
    7564              || test ! -s conftest.err'
    7565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7566   (eval $ac_try) 2>&5
    7567   ac_status=$?
    7568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7569   (exit $ac_status); }; } &&
    7570      { ac_try='test -s conftest.$ac_objext'
    7571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7572   (eval $ac_try) 2>&5
    7573   ac_status=$?
    7574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7575   (exit $ac_status); }; }; then
     8561  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8562  (exit $ac_status); } && {
     8563     test -z "$ac_cxx_werror_flag" ||
     8564     test ! -s conftest.err
     8565       } && test -s conftest.$ac_objext; then
    75768566  success="yes"
    75778567else
    7578   echo "$as_me: failed program was:" >&5
     8568  $as_echo "$as_me: failed program was:" >&5
    75798569sed 's/^/| /' conftest.$ac_ext >&5
    75808570
    7581 fi
    7582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8571
     8572fi
     8573
     8574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75838575fi
    75848576
    75858577if test $success = yes; then
    7586 echo "$as_me:$LINENO: result: \"no\"" >&5
    7587 echo "${ECHO_T}\"no\"" >&6
    7588 else
    7589 echo "$as_me:$LINENO: result: \"yes\"" >&5
    7590 echo "${ECHO_T}\"yes\"" >&6
    7591 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
    7592 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
     8578{ $as_echo "$as_me:$LINENO: result: \"no\"" >&5
     8579$as_echo "\"no\"" >&6; }
     8580else
     8581{ $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
     8582$as_echo "\"yes\"" >&6; }
     8583{ { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
     8584$as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
    75938585   { (exit 1); exit 1; }; }
    75948586fi
     
    76118603
    76128604# check for endianness
    7613 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    7614 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
     8605
     8606 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     8607$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    76158608if test "${ac_cv_c_bigendian+set}" = set; then
    7616   echo $ECHO_N "(cached) $ECHO_C" >&6
    7617 else
    7618   # See if sys/param.h defines the BYTE_ORDER macro.
    7619 cat >conftest.$ac_ext <<_ACEOF
     8609  $as_echo_n "(cached) " >&6
     8610else
     8611  ac_cv_c_bigendian=unknown
     8612    # See if we're dealing with a universal compiler.
     8613    cat >conftest.$ac_ext <<_ACEOF
     8614/* confdefs.h.  */
     8615_ACEOF
     8616cat confdefs.h >>conftest.$ac_ext
     8617cat >>conftest.$ac_ext <<_ACEOF
     8618/* end confdefs.h.  */
     8619#ifndef __APPLE_CC__
     8620           not a universal capable compiler
     8621         #endif
     8622         typedef int dummy;
     8623
     8624_ACEOF
     8625rm -f conftest.$ac_objext
     8626if { (ac_try="$ac_compile"
     8627case "(($ac_try" in
     8628  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8629  *) ac_try_echo=$ac_try;;
     8630esac
     8631eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8632$as_echo "$ac_try_echo") >&5
     8633  (eval "$ac_compile") 2>conftest.er1
     8634  ac_status=$?
     8635  grep -v '^ *+' conftest.er1 >conftest.err
     8636  rm -f conftest.er1
     8637  cat conftest.err >&5
     8638  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8639  (exit $ac_status); } && {
     8640     test -z "$ac_cxx_werror_flag" ||
     8641     test ! -s conftest.err
     8642       } && test -s conftest.$ac_objext; then
     8643
     8644    # Check for potential -arch flags.  It is not universal unless
     8645    # there are some -arch flags.  Note that *ppc* also matches
     8646    # ppc64.  This check is also rather less than ideal.
     8647    case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
     8648      *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
     8649    esac
     8650else
     8651  $as_echo "$as_me: failed program was:" >&5
     8652sed 's/^/| /' conftest.$ac_ext >&5
     8653
     8654
     8655fi
     8656
     8657rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8658    if test $ac_cv_c_bigendian = unknown; then
     8659      # See if sys/param.h defines the BYTE_ORDER macro.
     8660      cat >conftest.$ac_ext <<_ACEOF
    76208661/* confdefs.h.  */
    76218662_ACEOF
     
    76248665/* end confdefs.h.  */
    76258666#include <sys/types.h>
    7626 #include <sys/param.h>
     8667         #include <sys/param.h>
    76278668
    76288669int
    76298670main ()
    76308671{
    7631 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    7632  bogus endian macros
    7633 #endif
     8672#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     8673             && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     8674             && LITTLE_ENDIAN)
     8675          bogus endian macros
     8676         #endif
    76348677
    76358678  ;
     
    76388681_ACEOF
    76398682rm -f conftest.$ac_objext
    7640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7641   (eval $ac_compile) 2>conftest.er1
     8683if { (ac_try="$ac_compile"
     8684case "(($ac_try" in
     8685  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8686  *) ac_try_echo=$ac_try;;
     8687esac
     8688eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8689$as_echo "$ac_try_echo") >&5
     8690  (eval "$ac_compile") 2>conftest.er1
    76428691  ac_status=$?
    76438692  grep -v '^ *+' conftest.er1 >conftest.err
    76448693  rm -f conftest.er1
    76458694  cat conftest.err >&5
    7646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7647   (exit $ac_status); } &&
    7648      { ac_try='test -z "$ac_cxx_werror_flag"
    7649              || test ! -s conftest.err'
    7650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7651   (eval $ac_try) 2>&5
    7652   ac_status=$?
    7653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7654   (exit $ac_status); }; } &&
    7655      { ac_try='test -s conftest.$ac_objext'
    7656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7657   (eval $ac_try) 2>&5
    7658   ac_status=$?
    7659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7660   (exit $ac_status); }; }; then
     8695  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8696  (exit $ac_status); } && {
     8697     test -z "$ac_cxx_werror_flag" ||
     8698     test ! -s conftest.err
     8699       } && test -s conftest.$ac_objext; then
    76618700  # It does; now see whether it defined to BIG_ENDIAN or not.
    7662 cat >conftest.$ac_ext <<_ACEOF
     8701     cat >conftest.$ac_ext <<_ACEOF
    76638702/* confdefs.h.  */
    76648703_ACEOF
     
    76678706/* end confdefs.h.  */
    76688707#include <sys/types.h>
    7669 #include <sys/param.h>
     8708        #include <sys/param.h>
    76708709
    76718710int
     
    76738712{
    76748713#if BYTE_ORDER != BIG_ENDIAN
    7675  not big endian
    7676 #endif
     8714        not big endian
     8715        #endif
    76778716
    76788717  ;
     
    76818720_ACEOF
    76828721rm -f conftest.$ac_objext
    7683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7684   (eval $ac_compile) 2>conftest.er1
     8722if { (ac_try="$ac_compile"
     8723case "(($ac_try" in
     8724  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8725  *) ac_try_echo=$ac_try;;
     8726esac
     8727eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8728$as_echo "$ac_try_echo") >&5
     8729  (eval "$ac_compile") 2>conftest.er1
    76858730  ac_status=$?
    76868731  grep -v '^ *+' conftest.er1 >conftest.err
    76878732  rm -f conftest.er1
    76888733  cat conftest.err >&5
    7689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7690   (exit $ac_status); } &&
    7691      { ac_try='test -z "$ac_cxx_werror_flag"
    7692              || test ! -s conftest.err'
    7693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7694   (eval $ac_try) 2>&5
    7695   ac_status=$?
    7696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7697   (exit $ac_status); }; } &&
    7698      { ac_try='test -s conftest.$ac_objext'
    7699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7700   (eval $ac_try) 2>&5
    7701   ac_status=$?
    7702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7703   (exit $ac_status); }; }; then
     8734  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8735  (exit $ac_status); } && {
     8736     test -z "$ac_cxx_werror_flag" ||
     8737     test ! -s conftest.err
     8738       } && test -s conftest.$ac_objext; then
    77048739  ac_cv_c_bigendian=yes
    77058740else
    7706   echo "$as_me: failed program was:" >&5
     8741  $as_echo "$as_me: failed program was:" >&5
    77078742sed 's/^/| /' conftest.$ac_ext >&5
    77088743
    7709 ac_cv_c_bigendian=no
    7710 fi
    7711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7712 else
    7713   echo "$as_me: failed program was:" >&5
     8744    ac_cv_c_bigendian=no
     8745fi
     8746
     8747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8748else
     8749  $as_echo "$as_me: failed program was:" >&5
    77148750sed 's/^/| /' conftest.$ac_ext >&5
    77158751
    7716 # It does not; compile a test program.
    7717 if test "$cross_compiling" = yes; then
    7718   # try to guess the endianness by grepping values into an object file
    7719   ac_cv_c_bigendian=unknown
    7720   cat >conftest.$ac_ext <<_ACEOF
     8752
     8753fi
     8754
     8755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8756    fi
     8757    if test $ac_cv_c_bigendian = unknown; then
     8758      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     8759      cat >conftest.$ac_ext <<_ACEOF
    77218760/* confdefs.h.  */
    77228761_ACEOF
     
    77248763cat >>conftest.$ac_ext <<_ACEOF
    77258764/* end confdefs.h.  */
    7726 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    7727 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    7728 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    7729 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    7730 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    7731 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
     8765#include <limits.h>
     8766
    77328767int
    77338768main ()
    77348769{
    7735  _ascii (); _ebcdic ();
     8770#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     8771          bogus endian macros
     8772         #endif
     8773
    77368774  ;
    77378775  return 0;
     
    77398777_ACEOF
    77408778rm -f conftest.$ac_objext
    7741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7742   (eval $ac_compile) 2>conftest.er1
     8779if { (ac_try="$ac_compile"
     8780case "(($ac_try" in
     8781  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8782  *) ac_try_echo=$ac_try;;
     8783esac
     8784eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8785$as_echo "$ac_try_echo") >&5
     8786  (eval "$ac_compile") 2>conftest.er1
    77438787  ac_status=$?
    77448788  grep -v '^ *+' conftest.er1 >conftest.err
    77458789  rm -f conftest.er1
    77468790  cat conftest.err >&5
    7747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7748   (exit $ac_status); } &&
    7749      { ac_try='test -z "$ac_cxx_werror_flag"
    7750              || test ! -s conftest.err'
    7751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7752   (eval $ac_try) 2>&5
    7753   ac_status=$?
    7754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7755   (exit $ac_status); }; } &&
    7756      { ac_try='test -s conftest.$ac_objext'
    7757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7758   (eval $ac_try) 2>&5
    7759   ac_status=$?
    7760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7761   (exit $ac_status); }; }; then
    7762   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    7763   ac_cv_c_bigendian=yes
    7764 fi
    7765 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    7766   if test "$ac_cv_c_bigendian" = unknown; then
    7767     ac_cv_c_bigendian=no
    7768   else
    7769     # finding both strings is unlikely to happen, but who knows?
    7770     ac_cv_c_bigendian=unknown
    7771   fi
    7772 fi
    7773 else
    7774   echo "$as_me: failed program was:" >&5
    7775 sed 's/^/| /' conftest.$ac_ext >&5
    7776 
    7777 fi
    7778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7779 else
    7780   cat >conftest.$ac_ext <<_ACEOF
     8791  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8792  (exit $ac_status); } && {
     8793     test -z "$ac_cxx_werror_flag" ||
     8794     test ! -s conftest.err
     8795       } && test -s conftest.$ac_objext; then
     8796  # It does; now see whether it defined to _BIG_ENDIAN or not.
     8797     cat >conftest.$ac_ext <<_ACEOF
    77818798/* confdefs.h.  */
    77828799_ACEOF
     
    77848801cat >>conftest.$ac_ext <<_ACEOF
    77858802/* end confdefs.h.  */
     8803#include <limits.h>
     8804
    77868805int
    77878806main ()
    77888807{
    7789   /* Are we little or big endian?  From Harbison&Steele.  */
    7790   union
    7791   {
    7792     long l;
    7793     char c[sizeof (long)];
    7794   } u;
    7795   u.l = 1;
    7796   exit (u.c[sizeof (long) - 1] == 1);
     8808#ifndef _BIG_ENDIAN
     8809         not big endian
     8810        #endif
     8811
     8812  ;
     8813  return 0;
    77978814}
    77988815_ACEOF
     8816rm -f conftest.$ac_objext
     8817if { (ac_try="$ac_compile"
     8818case "(($ac_try" in
     8819  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8820  *) ac_try_echo=$ac_try;;
     8821esac
     8822eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8823$as_echo "$ac_try_echo") >&5
     8824  (eval "$ac_compile") 2>conftest.er1
     8825  ac_status=$?
     8826  grep -v '^ *+' conftest.er1 >conftest.err
     8827  rm -f conftest.er1
     8828  cat conftest.err >&5
     8829  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8830  (exit $ac_status); } && {
     8831     test -z "$ac_cxx_werror_flag" ||
     8832     test ! -s conftest.err
     8833       } && test -s conftest.$ac_objext; then
     8834  ac_cv_c_bigendian=yes
     8835else
     8836  $as_echo "$as_me: failed program was:" >&5
     8837sed 's/^/| /' conftest.$ac_ext >&5
     8838
     8839    ac_cv_c_bigendian=no
     8840fi
     8841
     8842rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8843else
     8844  $as_echo "$as_me: failed program was:" >&5
     8845sed 's/^/| /' conftest.$ac_ext >&5
     8846
     8847
     8848fi
     8849
     8850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8851    fi
     8852    if test $ac_cv_c_bigendian = unknown; then
     8853      # Compile a test program.
     8854      if test "$cross_compiling" = yes; then
     8855  # Try to guess by grepping values from an object file.
     8856     cat >conftest.$ac_ext <<_ACEOF
     8857/* confdefs.h.  */
     8858_ACEOF
     8859cat confdefs.h >>conftest.$ac_ext
     8860cat >>conftest.$ac_ext <<_ACEOF
     8861/* end confdefs.h.  */
     8862short int ascii_mm[] =
     8863          { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     8864        short int ascii_ii[] =
     8865          { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     8866        int use_ascii (int i) {
     8867          return ascii_mm[i] + ascii_ii[i];
     8868        }
     8869        short int ebcdic_ii[] =
     8870          { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     8871        short int ebcdic_mm[] =
     8872          { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     8873        int use_ebcdic (int i) {
     8874          return ebcdic_mm[i] + ebcdic_ii[i];
     8875        }
     8876        extern int foo;
     8877
     8878int
     8879main ()
     8880{
     8881return use_ascii (foo) == use_ebcdic (foo);
     8882  ;
     8883  return 0;
     8884}
     8885_ACEOF
     8886rm -f conftest.$ac_objext
     8887if { (ac_try="$ac_compile"
     8888case "(($ac_try" in
     8889  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8890  *) ac_try_echo=$ac_try;;
     8891esac
     8892eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8893$as_echo "$ac_try_echo") >&5
     8894  (eval "$ac_compile") 2>conftest.er1
     8895  ac_status=$?
     8896  grep -v '^ *+' conftest.er1 >conftest.err
     8897  rm -f conftest.er1
     8898  cat conftest.err >&5
     8899  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8900  (exit $ac_status); } && {
     8901     test -z "$ac_cxx_werror_flag" ||
     8902     test ! -s conftest.err
     8903       } && test -s conftest.$ac_objext; then
     8904  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     8905          ac_cv_c_bigendian=yes
     8906        fi
     8907        if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     8908          if test "$ac_cv_c_bigendian" = unknown; then
     8909        ac_cv_c_bigendian=no
     8910          else
     8911        # finding both strings is unlikely to happen, but who knows?
     8912        ac_cv_c_bigendian=unknown
     8913          fi
     8914        fi
     8915else
     8916  $as_echo "$as_me: failed program was:" >&5
     8917sed 's/^/| /' conftest.$ac_ext >&5
     8918
     8919
     8920fi
     8921
     8922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8923else
     8924  cat >conftest.$ac_ext <<_ACEOF
     8925/* confdefs.h.  */
     8926_ACEOF
     8927cat confdefs.h >>conftest.$ac_ext
     8928cat >>conftest.$ac_ext <<_ACEOF
     8929/* end confdefs.h.  */
     8930$ac_includes_default
     8931int
     8932main ()
     8933{
     8934
     8935         /* Are we little or big endian?  From Harbison&Steele.  */
     8936         union
     8937         {
     8938           long int l;
     8939           char c[sizeof (long int)];
     8940         } u;
     8941         u.l = 1;
     8942         return u.c[sizeof (long int) - 1] == 1;
     8943
     8944  ;
     8945  return 0;
     8946}
     8947_ACEOF
    77998948rm -f conftest$ac_exeext
    7800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7801   (eval $ac_link) 2>&5
     8949if { (ac_try="$ac_link"
     8950case "(($ac_try" in
     8951  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8952  *) ac_try_echo=$ac_try;;
     8953esac
     8954eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8955$as_echo "$ac_try_echo") >&5
     8956  (eval "$ac_link") 2>&5
    78028957  ac_status=$?
    7803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8958  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    78048959  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7806   (eval $ac_try) 2>&5
     8960  { (case "(($ac_try" in
     8961  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8962  *) ac_try_echo=$ac_try;;
     8963esac
     8964eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8965$as_echo "$ac_try_echo") >&5
     8966  (eval "$ac_try") 2>&5
    78078967  ac_status=$?
    7808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8968  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    78098969  (exit $ac_status); }; }; then
    78108970  ac_cv_c_bigendian=no
    78118971else
    7812   echo "$as_me: program exited with status $ac_status" >&5
    7813 echo "$as_me: failed program was:" >&5
     8972  $as_echo "$as_me: program exited with status $ac_status" >&5
     8973$as_echo "$as_me: failed program was:" >&5
    78148974sed 's/^/| /' conftest.$ac_ext >&5
    78158975
     
    78178977ac_cv_c_bigendian=yes
    78188978fi
    7819 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7820 fi
    7821 fi
    7822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7823 fi
    7824 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    7825 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
    7826 case $ac_cv_c_bigendian in
    7827   yes)
     8979rm -rf conftest.dSYM
     8980rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     8981fi
     8982
     8983
     8984    fi
     8985fi
     8986{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     8987$as_echo "$ac_cv_c_bigendian" >&6; }
     8988 case $ac_cv_c_bigendian in #(
     8989   yes)
     8990     cat >>confdefs.h <<\_ACEOF
     8991#define WORDS_BIGENDIAN 1
     8992_ACEOF
     8993;; #(
     8994   no)
     8995      ;; #(
     8996   universal)
    78288997
    78298998cat >>confdefs.h <<\_ACEOF
    7830 #define WORDS_BIGENDIAN 1
    7831 _ACEOF
    7832  ;;
    7833   no)
    7834      ;;
    7835   *)
    7836     { { echo "$as_me:$LINENO: error: unknown endianness
    7837 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    7838 echo "$as_me: error: unknown endianness
    7839 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     8999#define AC_APPLE_UNIVERSAL_BUILD 1
     9000_ACEOF
     9001
     9002     ;; #(
     9003   *)
     9004     { { $as_echo "$as_me:$LINENO: error: unknown endianness
     9005 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     9006$as_echo "$as_me: error: unknown endianness
     9007 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    78409008   { (exit 1); exit 1; }; } ;;
    7841 esac
     9009 esac
    78429010
    78439011# ---------------------------------------------------------------------------
    78449012if test "$ac_cv_func_alloca" = 'no'; then
    7845   case $LIBOBJS in
    7846     "xmalloc.o.$ac_objext"   | \
    7847   *" xmalloc.o.$ac_objext"   | \
    7848     "xmalloc.o.$ac_objext "* | \
     9013  case " $LIBOBJS " in
    78499014  *" xmalloc.o.$ac_objext "* ) ;;
    7850   *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
    7851 esac
    7852 
    7853   case $LIBOBJS in
    7854     "error.$ac_objext"   | \
    7855   *" error.$ac_objext"   | \
    7856     "error.$ac_objext "* | \
     9015  *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
     9016 ;;
     9017esac
     9018
     9019  case " $LIBOBJS " in
    78579020  *" error.$ac_objext "* ) ;;
    7858   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     9021  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     9022 ;;
    78599023esac
    78609024
     
    78969060         src/java/org/nzdl/gsdl/Phind/Makefile"
    78979061
    7898                                         ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
     9062ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
     9063
    78999064cat >confcache <<\_ACEOF
    79009065# This file is a shell script that caches the results of configure
     
    79159080# The following way of writing the cache mishandles newlines in values,
    79169081# but we know of no workaround that is simple, portable, and efficient.
    7917 # So, don't put newlines in cache variables' values.
     9082# So, we kill variables containing newlines.
    79189083# Ultrix sh set writes to stderr and can't be redirected directly,
    79199084# and sets the high bit in the cache file unless we assign to the vars.
    7920 {
     9085(
     9086  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     9087    eval ac_val=\$$ac_var
     9088    case $ac_val in #(
     9089    *${as_nl}*)
     9090      case $ac_var in #(
     9091      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     9092$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     9093      esac
     9094      case $ac_var in #(
     9095      _ | IFS | as_nl) ;; #(
     9096      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     9097      *) $as_unset $ac_var ;;
     9098      esac ;;
     9099    esac
     9100  done
     9101
    79219102  (set) 2>&1 |
    7922     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    7923     *ac_space=\ *)
     9103    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     9104    *${as_nl}ac_space=\ *)
    79249105      # `set' does not quote correctly, so add quotes (double-quote
    79259106      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    79279108    "s/'/'\\\\''/g;
    79289109      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    7929       ;;
     9110      ;; #(
    79309111    *)
    79319112      # `set' quotes correctly as required by POSIX, so do not add quotes.
    7932       sed -n \
    7933     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     9113      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    79349114      ;;
    7935     esac;
    7936 } |
     9115    esac |
     9116    sort
     9117) |
    79379118  sed '
     9119     /^ac_cv_env_/b end
    79389120     t clear
    7939      : clear
     9121     :clear
    79409122     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    79419123     t end
    7942      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    7943      : end' >>confcache
    7944 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    7945   if test -w $cache_file; then
    7946     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     9124     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     9125     :end' >>confcache
     9126if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     9127  if test -w "$cache_file"; then
     9128    test "x$cache_file" != "x/dev/null" &&
     9129      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     9130$as_echo "$as_me: updating cache $cache_file" >&6;}
    79479131    cat confcache >$cache_file
    79489132  else
    7949     echo "not updating unwritable cache $cache_file"
     9133    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     9134$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    79509135  fi
    79519136fi
     
    79559140# Let make expand exec_prefix.
    79569141test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    7957 
    7958 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    7959 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    7960 # trailing colons and then remove the whole line if VPATH becomes empty
    7961 # (actually we leave an empty line to preserve line numbers).
    7962 if test "x$srcdir" = x.; then
    7963   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    7964 s/:*\$(srcdir):*/:/;
    7965 s/:*\${srcdir}:*/:/;
    7966 s/:*@srcdir@:*/:/;
    7967 s/^\([^=]*=[     ]*\):*/\1/;
    7968 s/:*$//;
    7969 s/^[^=]*=[   ]*$//;
    7970 }'
    7971 fi
    79729142
    79739143DEFS=-DHAVE_CONFIG_H
     
    79779147for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    79789148  # 1. Remove the extension, and $U if already installed.
    7979   ac_i=`echo "$ac_i" |
    7980      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    7981   # 2. Add them.
    7982   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    7983   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     9149  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     9150  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
     9151  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     9152  #    will be set to the directory where LIBOBJS objects are built.
     9153  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     9154  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    79849155done
    79859156LIBOBJS=$ac_libobjs
     
    79899160
    79909161
     9162
    79919163: ${CONFIG_STATUS=./config.status}
     9164ac_write_fail=0
    79929165ac_clean_files_save=$ac_clean_files
    79939166ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    7994 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    7995 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    7996 cat >$CONFIG_STATUS <<_ACEOF
     9167{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     9168$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     9169cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    79979170#! $SHELL
    79989171# Generated by $as_me.
     
    80079180_ACEOF
    80089181
    8009 cat >>$CONFIG_STATUS <<\_ACEOF
     9182cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    80109183## --------------------- ##
    80119184## M4sh Initialization.  ##
    80129185## --------------------- ##
    80139186
    8014 # Be Bourne compatible
     9187# Be more Bourne compatible
     9188DUALCASE=1; export DUALCASE # for MKS sh
    80159189if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    80169190  emulate sh
    80179191  NULLCMD=:
    8018   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     9192  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    80199193  # is contrary to our usage.  Disable this feature.
    80209194  alias -g '${1+"$@"}'='"$@"'
    8021 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    8022   set -o posix
    8023 fi
    8024 DUALCASE=1; export DUALCASE # for MKS sh
    8025 
    8026 # Support unset when possible.
    8027 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    8028   as_unset=unset
    8029 else
    8030   as_unset=false
    8031 fi
    8032 
    8033 
    8034 # Work around bugs in pre-3.0 UWIN ksh.
    8035 $as_unset ENV MAIL MAILPATH
    8036 PS1='$ '
    8037 PS2='> '
    8038 PS4='+ '
    8039 
    8040 # NLS nuisances.
    8041 for as_var in \
    8042   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    8043   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    8044   LC_TELEPHONE LC_TIME
    8045 do
    8046   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    8047     eval $as_var=C; export $as_var
    8048   else
    8049     $as_unset $as_var
    8050   fi
    8051 done
    8052 
    8053 # Required to use basename.
    8054 if expr a : '\(a\)' >/dev/null 2>&1; then
    8055   as_expr=expr
    8056 else
    8057   as_expr=false
    8058 fi
    8059 
    8060 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    8061   as_basename=basename
    8062 else
    8063   as_basename=false
    8064 fi
    8065 
    8066 
    8067 # Name of the executable.
    8068 as_me=`$as_basename "$0" ||
    8069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    8070      X"$0" : 'X\(//\)$' \| \
    8071      X"$0" : 'X\(/\)$' \| \
    8072      .     : '\(.\)' 2>/dev/null ||
    8073 echo X/"$0" |
    8074     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    8075       /^X\/\(\/\/\)$/{ s//\1/; q; }
    8076       /^X\/\(\/\).*/{ s//\1/; q; }
    8077       s/.*/./; q'`
    8078 
    8079 
    8080 # PATH needs CR, and LINENO needs CR and PATH.
     9195  setopt NO_GLOB_SUBST
     9196else
     9197  case `(set -o) 2>/dev/null` in
     9198  *posix*) set -o posix ;;
     9199esac
     9200
     9201fi
     9202
     9203
     9204
     9205
     9206# PATH needs CR
    80819207# Avoid depending upon Character Ranges.
    80829208as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    80869212as_cr_alnum=$as_cr_Letters$as_cr_digits
    80879213
     9214as_nl='
     9215'
     9216export as_nl
     9217# Printing a long string crashes Solaris 7 /usr/bin/printf.
     9218as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     9219as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     9220as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     9221if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     9222  as_echo='printf %s\n'
     9223  as_echo_n='printf %s'
     9224else
     9225  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     9226    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     9227    as_echo_n='/usr/ucb/echo -n'
     9228  else
     9229    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     9230    as_echo_n_body='eval
     9231      arg=$1;
     9232      case $arg in
     9233      *"$as_nl"*)
     9234    expr "X$arg" : "X\\(.*\\)$as_nl";
     9235    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     9236      esac;
     9237      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     9238    '
     9239    export as_echo_n_body
     9240    as_echo_n='sh -c $as_echo_n_body as_echo'
     9241  fi
     9242  export as_echo_body
     9243  as_echo='sh -c $as_echo_body as_echo'
     9244fi
     9245
    80889246# The user is always right.
    80899247if test "${PATH_SEPARATOR+set}" != set; then
    8090   echo "#! /bin/sh" >conf$$.sh
    8091   echo  "exit 0"   >>conf$$.sh
    8092   chmod +x conf$$.sh
    8093   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    8094     PATH_SEPARATOR=';'
    8095   else
    8096     PATH_SEPARATOR=:
    8097   fi
    8098   rm -f conf$$.sh
    8099 fi
    8100 
    8101 
    8102   as_lineno_1=$LINENO
    8103   as_lineno_2=$LINENO
    8104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    8105   test "x$as_lineno_1" != "x$as_lineno_2" &&
    8106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    8107   # Find who we are.  Look in the path if we contain no path at all
    8108   # relative or not.
    8109   case $0 in
    8110     *[\\/]* ) as_myself=$0 ;;
    8111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9248  PATH_SEPARATOR=:
     9249  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     9250    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     9251      PATH_SEPARATOR=';'
     9252  }
     9253fi
     9254
     9255# Support unset when possible.
     9256if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     9257  as_unset=unset
     9258else
     9259  as_unset=false
     9260fi
     9261
     9262
     9263# IFS
     9264# We need space, tab and new line, in precisely that order.  Quoting is
     9265# there to prevent editors from complaining about space-tab.
     9266# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     9267# splitting by setting IFS to empty value.)
     9268IFS=" ""    $as_nl"
     9269
     9270# Find who we are.  Look in the path if we contain no directory separator.
     9271case $0 in
     9272  *[\\/]* ) as_myself=$0 ;;
     9273  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    81129274for as_dir in $PATH
    81139275do
     
    81169278  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    81179279done
    8118 
    8119        ;;
    8120   esac
    8121   # We did not find ourselves, most probably we were run as `sh COMMAND'
    8122   # in which case we are not to be found in the path.
    8123   if test "x$as_myself" = x; then
    8124     as_myself=$0
    8125   fi
    8126   if test ! -f "$as_myself"; then
    8127     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    8128 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    8129    { (exit 1); exit 1; }; }
    8130   fi
    8131   case $CONFIG_SHELL in
    8132   '')
    8133     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    8135 do
    8136   IFS=$as_save_IFS
    8137   test -z "$as_dir" && as_dir=.
    8138   for as_base in sh bash ksh sh5; do
    8139      case $as_dir in
    8140      /*)
    8141        if ("$as_dir/$as_base" -c '
     9280IFS=$as_save_IFS
     9281
     9282     ;;
     9283esac
     9284# We did not find ourselves, most probably we were run as `sh COMMAND'
     9285# in which case we are not to be found in the path.
     9286if test "x$as_myself" = x; then
     9287  as_myself=$0
     9288fi
     9289if test ! -f "$as_myself"; then
     9290  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     9291  { (exit 1); exit 1; }
     9292fi
     9293
     9294# Work around bugs in pre-3.0 UWIN ksh.
     9295for as_var in ENV MAIL MAILPATH
     9296do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     9297done
     9298PS1='$ '
     9299PS2='> '
     9300PS4='+ '
     9301
     9302# NLS nuisances.
     9303LC_ALL=C
     9304export LC_ALL
     9305LANGUAGE=C
     9306export LANGUAGE
     9307
     9308# Required to use basename.
     9309if expr a : '\(a\)' >/dev/null 2>&1 &&
     9310   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     9311  as_expr=expr
     9312else
     9313  as_expr=false
     9314fi
     9315
     9316if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     9317  as_basename=basename
     9318else
     9319  as_basename=false
     9320fi
     9321
     9322
     9323# Name of the executable.
     9324as_me=`$as_basename -- "$0" ||
     9325$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     9326     X"$0" : 'X\(//\)$' \| \
     9327     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     9328$as_echo X/"$0" |
     9329    sed '/^.*\/\([^/][^/]*\)\/*$/{
     9330        s//\1/
     9331        q
     9332      }
     9333      /^X\/\(\/\/\)$/{
     9334        s//\1/
     9335        q
     9336      }
     9337      /^X\/\(\/\).*/{
     9338        s//\1/
     9339        q
     9340      }
     9341      s/.*/./; q'`
     9342
     9343# CDPATH.
     9344$as_unset CDPATH
     9345
     9346
     9347
    81429348  as_lineno_1=$LINENO
    81439349  as_lineno_2=$LINENO
    8144   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    81459350  test "x$as_lineno_1" != "x$as_lineno_2" &&
    8146   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    8147          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    8148          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    8149          CONFIG_SHELL=$as_dir/$as_base
    8150          export CONFIG_SHELL
    8151          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    8152        fi;;
    8153      esac
    8154        done
    8155 done
    8156 ;;
    8157   esac
     9351  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    81589352
    81599353  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    81609354  # uniformly replaced by the line number.  The first 'sed' inserts a
    8161   # line-number line before each line; the second 'sed' does the real
    8162   # work.  The second script uses 'N' to pair each line-number line
    8163   # with the numbered line, and appends trailing '-' during
    8164   # substitution so that $LINENO is not a special case at line end.
     9355  # line-number line after each line using $LINENO; the second 'sed'
     9356  # does the real work.  The second script uses 'N' to pair each
     9357  # line-number line with the line containing $LINENO, and appends
     9358  # trailing '-' during substitution so that $LINENO is not a special
     9359  # case at line end.
    81659360  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    8166   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    8167   sed '=' <$as_myself |
     9361  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     9362  # E. McMahon (1931-1989) for sed's syntax.  :-)
     9363  sed -n '
     9364    p
     9365    /[$]LINENO/=
     9366  ' <$as_myself |
    81689367    sed '
     9368      s/[$]LINENO.*/&-/
     9369      t lineno
     9370      b
     9371      :lineno
    81699372      N
    8170       s,$,-,
    8171       : loop
    8172       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     9373      :loop
     9374      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    81739375      t loop
    8174       s,-$,,
    8175       s,^['$as_cr_digits']*\n,,
     9376      s/-\n.*//
    81769377    ' >$as_me.lineno &&
    8177   chmod +x $as_me.lineno ||
    8178     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    8179 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     9378  chmod +x "$as_me.lineno" ||
     9379    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    81809380   { (exit 1); exit 1; }; }
    81819381
    81829382  # Don't try to exec as it changes $[0], causing all sort of problems
    81839383  # (the dirname of $[0] is not the place where we might find the
    8184   # original and so on.  Autoconf is especially sensible to this).
    8185   . ./$as_me.lineno
     9384  # original and so on.  Autoconf is especially sensitive to this).
     9385  . "./$as_me.lineno"
    81869386  # Exit status is that of the last command.
    81879387  exit
     
    81899389
    81909390
    8191 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    8192   *c*,-n*) ECHO_N= ECHO_C='
    8193 ' ECHO_T='  ' ;;
    8194   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    8195   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    8196 esac
    8197 
    8198 if expr a : '\(a\)' >/dev/null 2>&1; then
     9391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     9392  as_dirname=dirname
     9393else
     9394  as_dirname=false
     9395fi
     9396
     9397ECHO_C= ECHO_N= ECHO_T=
     9398case `echo -n x` in
     9399-n*)
     9400  case `echo 'x\c'` in
     9401  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     9402  *)   ECHO_C='\c';;
     9403  esac;;
     9404*)
     9405  ECHO_N='-n';;
     9406esac
     9407if expr a : '\(a\)' >/dev/null 2>&1 &&
     9408   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    81999409  as_expr=expr
    82009410else
     
    82039413
    82049414rm -f conf$$ conf$$.exe conf$$.file
    8205 echo >conf$$.file
    8206 if ln -s conf$$.file conf$$ 2>/dev/null; then
    8207   # We could just check for DJGPP; but this test a) works b) is more generic
    8208   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    8209   if test -f conf$$.exe; then
    8210     # Don't use ln at all; we don't have any links
     9415if test -d conf$$.dir; then
     9416  rm -f conf$$.dir/conf$$.file
     9417else
     9418  rm -f conf$$.dir
     9419  mkdir conf$$.dir 2>/dev/null
     9420fi
     9421if (echo >conf$$.file) 2>/dev/null; then
     9422  if ln -s conf$$.file conf$$ 2>/dev/null; then
     9423    as_ln_s='ln -s'
     9424    # ... but there are two gotchas:
     9425    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     9426    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     9427    # In both cases, we have to default to `cp -p'.
     9428    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     9429      as_ln_s='cp -p'
     9430  elif ln conf$$.file conf$$ 2>/dev/null; then
     9431    as_ln_s=ln
     9432  else
    82119433    as_ln_s='cp -p'
    8212   else
    8213     as_ln_s='ln -s'
    82149434  fi
    8215 elif ln conf$$.file conf$$ 2>/dev/null; then
    8216   as_ln_s=ln
    82179435else
    82189436  as_ln_s='cp -p'
    82199437fi
    8220 rm -f conf$$ conf$$.exe conf$$.file
     9438rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     9439rmdir conf$$.dir 2>/dev/null
    82219440
    82229441if mkdir -p . 2>/dev/null; then
     
    82279446fi
    82289447
    8229 as_executable_p="test -f"
     9448if test -x / >/dev/null 2>&1; then
     9449  as_test_x='test -x'
     9450else
     9451  if ls -dL / >/dev/null 2>&1; then
     9452    as_ls_L_option=L
     9453  else
     9454    as_ls_L_option=
     9455  fi
     9456  as_test_x='
     9457    eval sh -c '\''
     9458      if test -d "$1"; then
     9459    test -d "$1/.";
     9460      else
     9461    case $1 in
     9462    -*)set "./$1";;
     9463    esac;
     9464    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     9465    ???[sx]*):;;*)false;;esac;fi
     9466    '\'' sh
     9467  '
     9468fi
     9469as_executable_p=$as_test_x
    82309470
    82319471# Sed expression to map a string onto a valid CPP name.
     
    82369476
    82379477
    8238 # IFS
    8239 # We need space, tab and new line, in precisely that order.
    8240 as_nl='
    8241 '
    8242 IFS="   $as_nl"
    8243 
    8244 # CDPATH.
    8245 $as_unset CDPATH
    8246 
    82479478exec 6>&1
    82489479
    8249 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     9480# Save the log message, to keep $[0] and so on meaningful, and to
    82509481# report actual input values of CONFIG_FILES etc. instead of their
    8251 # values after options handling.  Logging --version etc. is OK.
     9482# values after options handling.
     9483ac_log="
     9484This file was extended by $as_me, which was
     9485generated by GNU Autoconf 2.63.  Invocation command line was
     9486
     9487  CONFIG_FILES    = $CONFIG_FILES
     9488  CONFIG_HEADERS  = $CONFIG_HEADERS
     9489  CONFIG_LINKS    = $CONFIG_LINKS
     9490  CONFIG_COMMANDS = $CONFIG_COMMANDS
     9491  $ $0 $@
     9492
     9493on `(hostname || uname -n) 2>/dev/null | sed 1q`
     9494"
     9495
     9496_ACEOF
     9497
     9498case $ac_config_files in *"
     9499"*) set x $ac_config_files; shift; ac_config_files=$*;;
     9500esac
     9501
     9502case $ac_config_headers in *"
     9503"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     9504esac
     9505
     9506
     9507cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9508# Files that config.status was made for.
     9509config_files="$ac_config_files"
     9510config_headers="$ac_config_headers"
     9511
     9512_ACEOF
     9513
     9514cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9515ac_cs_usage="\
     9516\`$as_me' instantiates files from templates according to the
     9517current configuration.
     9518
     9519Usage: $0 [OPTION]... [FILE]...
     9520
     9521  -h, --help       print this help, then exit
     9522  -V, --version    print version number and configuration settings, then exit
     9523  -q, --quiet, --silent
     9524                   do not print progress messages
     9525  -d, --debug      don't remove temporary files
     9526      --recheck    update $as_me by reconfiguring in the same conditions
     9527      --file=FILE[:TEMPLATE]
     9528                   instantiate the configuration file FILE
     9529      --header=FILE[:TEMPLATE]
     9530                   instantiate the configuration header FILE
     9531
     9532Configuration files:
     9533$config_files
     9534
     9535Configuration headers:
     9536$config_headers
     9537
     9538Report bugs to <[email protected]>."
     9539
     9540_ACEOF
     9541cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9542ac_cs_version="\\
     9543config.status
     9544configured by $0, generated by GNU Autoconf 2.63,
     9545  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     9546
     9547Copyright (C) 2008 Free Software Foundation, Inc.
     9548This config.status script is free software; the Free Software Foundation
     9549gives unlimited permission to copy, distribute and modify it."
     9550
     9551ac_pwd='$ac_pwd'
     9552srcdir='$srcdir'
     9553INSTALL='$INSTALL'
     9554AWK='$AWK'
     9555test -n "\$AWK" || AWK=awk
     9556_ACEOF
     9557
     9558cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9559# The default lists apply if the user does not specify any file.
     9560ac_need_defaults=:
     9561while test $# != 0
     9562do
     9563  case $1 in
     9564  --*=*)
     9565    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     9566    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     9567    ac_shift=:
     9568    ;;
     9569  *)
     9570    ac_option=$1
     9571    ac_optarg=$2
     9572    ac_shift=shift
     9573    ;;
     9574  esac
     9575
     9576  case $ac_option in
     9577  # Handling of the options.
     9578  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     9579    ac_cs_recheck=: ;;
     9580  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     9581    $as_echo "$ac_cs_version"; exit ;;
     9582  --debug | --debu | --deb | --de | --d | -d )
     9583    debug=: ;;
     9584  --file | --fil | --fi | --f )
     9585    $ac_shift
     9586    case $ac_optarg in
     9587    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9588    esac
     9589    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     9590    ac_need_defaults=false;;
     9591  --header | --heade | --head | --hea )
     9592    $ac_shift
     9593    case $ac_optarg in
     9594    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9595    esac
     9596    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     9597    ac_need_defaults=false;;
     9598  --he | --h)
     9599    # Conflict between --help and --header
     9600    { $as_echo "$as_me: error: ambiguous option: $1
     9601Try \`$0 --help' for more information." >&2
     9602   { (exit 1); exit 1; }; };;
     9603  --help | --hel | -h )
     9604    $as_echo "$ac_cs_usage"; exit ;;
     9605  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     9606  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     9607    ac_cs_silent=: ;;
     9608
     9609  # This is an error.
     9610  -*) { $as_echo "$as_me: error: unrecognized option: $1
     9611Try \`$0 --help' for more information." >&2
     9612   { (exit 1); exit 1; }; } ;;
     9613
     9614  *) ac_config_targets="$ac_config_targets $1"
     9615     ac_need_defaults=false ;;
     9616
     9617  esac
     9618  shift
     9619done
     9620
     9621ac_configure_extra_args=
     9622
     9623if $ac_cs_silent; then
     9624  exec 6>/dev/null
     9625  ac_configure_extra_args="$ac_configure_extra_args --silent"
     9626fi
     9627
     9628_ACEOF
     9629cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9630if \$ac_cs_recheck; then
     9631  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     9632  shift
     9633  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     9634  CONFIG_SHELL='$SHELL'
     9635  export CONFIG_SHELL
     9636  exec "\$@"
     9637fi
     9638
     9639_ACEOF
     9640cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    82529641exec 5>>config.log
    82539642{
     
    82569645## Running $as_me. ##
    82579646_ASBOX
     9647  $as_echo "$ac_log"
    82589648} >&5
    8259 cat >&5 <<_CSEOF
    8260 
    8261 This file was extended by $as_me, which was
    8262 generated by GNU Autoconf 2.59.  Invocation command line was
    8263 
    8264   CONFIG_FILES    = $CONFIG_FILES
    8265   CONFIG_HEADERS  = $CONFIG_HEADERS
    8266   CONFIG_LINKS    = $CONFIG_LINKS
    8267   CONFIG_COMMANDS = $CONFIG_COMMANDS
    8268   $ $0 $@
    8269 
    8270 _CSEOF
    8271 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    8272 echo >&5
    8273 _ACEOF
    8274 
    8275 # Files that config.status was made for.
    8276 if test -n "$ac_config_files"; then
    8277   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    8278 fi
    8279 
    8280 if test -n "$ac_config_headers"; then
    8281   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    8282 fi
    8283 
    8284 if test -n "$ac_config_links"; then
    8285   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    8286 fi
    8287 
    8288 if test -n "$ac_config_commands"; then
    8289   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    8290 fi
    8291 
    8292 cat >>$CONFIG_STATUS <<\_ACEOF
    8293 
    8294 ac_cs_usage="\
    8295 \`$as_me' instantiates files from templates according to the
    8296 current configuration.
    8297 
    8298 Usage: $0 [OPTIONS] [FILE]...
    8299 
    8300   -h, --help       print this help, then exit
    8301   -V, --version    print version number, then exit
    8302   -q, --quiet      do not print progress messages
    8303   -d, --debug      don't remove temporary files
    8304       --recheck    update $as_me by reconfiguring in the same conditions
    8305   --file=FILE[:TEMPLATE]
    8306            instantiate the configuration file FILE
    8307   --header=FILE[:TEMPLATE]
    8308            instantiate the configuration header FILE
    8309 
    8310 Configuration files:
    8311 $config_files
    8312 
    8313 Configuration headers:
    8314 $config_headers
    8315 
    8316 Report bugs to <[email protected]>."
    8317 _ACEOF
    8318 
    8319 cat >>$CONFIG_STATUS <<_ACEOF
    8320 ac_cs_version="\\
    8321 config.status
    8322 configured by $0, generated by GNU Autoconf 2.59,
    8323   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    8324 
    8325 Copyright (C) 2003 Free Software Foundation, Inc.
    8326 This config.status script is free software; the Free Software Foundation
    8327 gives unlimited permission to copy, distribute and modify it."
    8328 srcdir=$srcdir
    8329 INSTALL="$INSTALL"
    8330 _ACEOF
    8331 
    8332 cat >>$CONFIG_STATUS <<\_ACEOF
    8333 # If no file are specified by the user, then we need to provide default
    8334 # value.  By we need to know if files were specified by the user.
    8335 ac_need_defaults=:
    8336 while test $# != 0
    8337 do
    8338   case $1 in
    8339   --*=*)
    8340     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    8341     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    8342     ac_shift=:
    8343     ;;
    8344   -*)
    8345     ac_option=$1
    8346     ac_optarg=$2
    8347     ac_shift=shift
    8348     ;;
    8349   *) # This is not an option, so the user has probably given explicit
    8350      # arguments.
    8351      ac_option=$1
    8352      ac_need_defaults=false;;
    8353   esac
    8354 
    8355   case $ac_option in
    8356   # Handling of the options.
    8357 _ACEOF
    8358 cat >>$CONFIG_STATUS <<\_ACEOF
    8359   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    8360     ac_cs_recheck=: ;;
    8361   --version | --vers* | -V )
    8362     echo "$ac_cs_version"; exit 0 ;;
    8363   --he | --h)
    8364     # Conflict between --help and --header
    8365     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    8366 Try \`$0 --help' for more information." >&5
    8367 echo "$as_me: error: ambiguous option: $1
    8368 Try \`$0 --help' for more information." >&2;}
    8369    { (exit 1); exit 1; }; };;
    8370   --help | --hel | -h )
    8371     echo "$ac_cs_usage"; exit 0 ;;
    8372   --debug | --d* | -d )
    8373     debug=: ;;
    8374   --file | --fil | --fi | --f )
    8375     $ac_shift
    8376     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    8377     ac_need_defaults=false;;
    8378   --header | --heade | --head | --hea )
    8379     $ac_shift
    8380     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    8381     ac_need_defaults=false;;
    8382   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    8383   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    8384     ac_cs_silent=: ;;
    8385 
    8386   # This is an error.
    8387   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    8388 Try \`$0 --help' for more information." >&5
    8389 echo "$as_me: error: unrecognized option: $1
    8390 Try \`$0 --help' for more information." >&2;}
    8391    { (exit 1); exit 1; }; } ;;
    8392 
    8393   *) ac_config_targets="$ac_config_targets $1" ;;
    8394 
    8395   esac
    8396   shift
    8397 done
    8398 
    8399 ac_configure_extra_args=
    8400 
    8401 if $ac_cs_silent; then
    8402   exec 6>/dev/null
    8403   ac_configure_extra_args="$ac_configure_extra_args --silent"
    8404 fi
    8405 
    8406 _ACEOF
    8407 cat >>$CONFIG_STATUS <<_ACEOF
    8408 if \$ac_cs_recheck; then
    8409   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    8410   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    8411 fi
    8412 
    8413 _ACEOF
    8414 
    8415 
    8416 
    8417 
    8418 
    8419 cat >>$CONFIG_STATUS <<\_ACEOF
     9649
     9650_ACEOF
     9651cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9652_ACEOF
     9653
     9654cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9655
     9656# Handling of arguments.
    84209657for ac_config_target in $ac_config_targets
    84219658do
    8422   case "$ac_config_target" in
    8423   # Handling of arguments.
    8424   "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
    8425   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    8426   "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    8427   "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    8428   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    8429   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    8430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     9659  case $ac_config_target in
     9660    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     9661    "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
     9662    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     9663    "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     9664    "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     9665
     9666  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     9667$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    84319668   { (exit 1); exit 1; }; };;
    84329669  esac
    84339670done
     9671
    84349672
    84359673# If the user did not use the arguments to specify the items to instantiate,
     
    84439681
    84449682# Have a temporary directory for convenience.  Make it in the build tree
    8445 # simply because there is no reason to put it here, and in addition,
     9683# simply because there is no reason against having it here, and in addition,
    84469684# creating and moving files from /tmp can sometimes cause problems.
    8447 # Create a temporary directory, and hook for its removal unless debugging.
     9685# Hook for its removal unless debugging.
     9686# Note that there is a small window in which the directory will not be cleaned:
     9687# after its creation but before its name has been assigned to `$tmp'.
    84489688$debug ||
    84499689{
    8450   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     9690  tmp=
     9691  trap 'exit_status=$?
     9692  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     9693' 0
    84519694  trap '{ (exit 1); exit 1; }' 1 2 13 15
    84529695}
    8453 
    84549696# Create a (secure) tmp directory for tmp files.
    84559697
    84569698{
    8457   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     9699  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    84589700  test -n "$tmp" && test -d "$tmp"
    84599701}  ||
    84609702{
    8461   tmp=./confstat$$-$RANDOM
    8462   (umask 077 && mkdir $tmp)
     9703  tmp=./conf$$-$RANDOM
     9704  (umask 077 && mkdir "$tmp")
    84639705} ||
    84649706{
    8465    echo "$me: cannot create a temporary directory in ." >&2
     9707   $as_echo "$as_me: cannot create a temporary directory in ." >&2
    84669708   { (exit 1); exit 1; }
    84679709}
    84689710
    8469 _ACEOF
    8470 
    8471 cat >>$CONFIG_STATUS <<_ACEOF
    8472 
    8473 #
    8474 # CONFIG_FILES section.
    8475 #
    8476 
    8477 # No need to generate the scripts if there are no CONFIG_FILES.
    8478 # This happens for instance when ./config.status config.h
    8479 if test -n "\$CONFIG_FILES"; then
    8480   # Protect against being on the right side of a sed subst in config.status.
    8481   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    8482    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    8483 s,@SHELL@,$SHELL,;t t
    8484 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    8485 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    8486 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    8487 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    8488 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    8489 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    8490 s,@exec_prefix@,$exec_prefix,;t t
    8491 s,@prefix@,$prefix,;t t
    8492 s,@program_transform_name@,$program_transform_name,;t t
    8493 s,@bindir@,$bindir,;t t
    8494 s,@sbindir@,$sbindir,;t t
    8495 s,@libexecdir@,$libexecdir,;t t
    8496 s,@datadir@,$datadir,;t t
    8497 s,@sysconfdir@,$sysconfdir,;t t
    8498 s,@sharedstatedir@,$sharedstatedir,;t t
    8499 s,@localstatedir@,$localstatedir,;t t
    8500 s,@libdir@,$libdir,;t t
    8501 s,@includedir@,$includedir,;t t
    8502 s,@oldincludedir@,$oldincludedir,;t t
    8503 s,@infodir@,$infodir,;t t
    8504 s,@mandir@,$mandir,;t t
    8505 s,@build_alias@,$build_alias,;t t
    8506 s,@host_alias@,$host_alias,;t t
    8507 s,@target_alias@,$target_alias,;t t
    8508 s,@DEFS@,$DEFS,;t t
    8509 s,@ECHO_C@,$ECHO_C,;t t
    8510 s,@ECHO_N@,$ECHO_N,;t t
    8511 s,@ECHO_T@,$ECHO_T,;t t
    8512 s,@LIBS@,$LIBS,;t t
    8513 s,@PACKAGE@,$PACKAGE,;t t
    8514 s,@VERSION@,$VERSION,;t t
    8515 s,@USE_FASTCGI@,$USE_FASTCGI,;t t
    8516 s,@USE_LANGACTION@,$USE_LANGACTION,;t t
    8517 s,@USE_CORBA@,$USE_CORBA,;t t
    8518 s,@MICO_DIR@,$MICO_DIR,;t t
    8519 s,@USE_Z3950@,$USE_Z3950,;t t
    8520 s,@USE_YAZ@,$USE_YAZ,;t t
    8521 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t
    8522 s,@USE_JDBM@,$USE_JDBM,;t t
    8523 s,@USE_GDBM@,$USE_GDBM,;t t
    8524 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    8525 s,@USE_SQLITE@,$USE_SQLITE,;t t
    8526 s,@USE_RSS@,$USE_RSS,;t t
    8527 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t
    8528 s,@ENABLE_MG@,$ENABLE_MG,;t t
    8529 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t
    8530 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t
    8531 s,@LDFLAGS@,$LDFLAGS,;t t
    8532 s,@CFLAGS@,$CFLAGS,;t t
    8533 s,@CC@,$CC,;t t
    8534 s,@CPPFLAGS@,$CPPFLAGS,;t t
    8535 s,@ac_ct_CC@,$ac_ct_CC,;t t
    8536 s,@EXEEXT@,$EXEEXT,;t t
    8537 s,@OBJEXT@,$OBJEXT,;t t
    8538 s,@CXX@,$CXX,;t t
    8539 s,@CXXFLAGS@,$CXXFLAGS,;t t
    8540 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    8541 s,@JAVAC@,$JAVAC,;t t
    8542 s,@JAVACFLAGS@,$JAVACFLAGS,;t t
    8543 s,@JAVA@,$JAVA,;t t
    8544 s,@uudecode@,$uudecode,;t t
    8545 s,@AWK@,$AWK,;t t
    8546 s,@YACC@,$YACC,;t t
    8547 s,@build@,$build,;t t
    8548 s,@build_cpu@,$build_cpu,;t t
    8549 s,@build_vendor@,$build_vendor,;t t
    8550 s,@build_os@,$build_os,;t t
    8551 s,@host@,$host,;t t
    8552 s,@host_cpu@,$host_cpu,;t t
    8553 s,@host_vendor@,$host_vendor,;t t
    8554 s,@host_os@,$host_os,;t t
    8555 s,@target@,$target,;t t
    8556 s,@target_cpu@,$target_cpu,;t t
    8557 s,@target_vendor@,$target_vendor,;t t
    8558 s,@target_os@,$target_os,;t t
    8559 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    8560 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    8561 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    8562 s,@LN_S@,$LN_S,;t t
    8563 s,@SET_MAKE@,$SET_MAKE,;t t
    8564 s,@RANLIB@,$RANLIB,;t t
    8565 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    8566 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
    8567 s,@MICO_VER@,$MICO_VER,;t t
    8568 s,@CPP@,$CPP,;t t
    8569 s,@EGREP@,$EGREP,;t t
    8570 s,@U@,$U,;t t
    8571 s,@ANSI2KNR@,$ANSI2KNR,;t t
    8572 s,@ALLOCA@,$ALLOCA,;t t
    8573 s,@LIBOBJS@,$LIBOBJS,;t t
    8574 s,@STATIC@,$STATIC,;t t
    8575 s,@gsdlos@,$gsdlos,;t t
    8576 s,@gsdlarch@,$gsdlarch,;t t
    8577 s,@MODULEDIRS@,$MODULEDIRS,;t t
    8578 s,@subdirs@,$subdirs,;t t
    8579 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    8580 CEOF
    8581 
    8582 _ACEOF
    8583 
    8584   cat >>$CONFIG_STATUS <<\_ACEOF
    8585   # Split the substitutions into bite-sized pieces for seds with
    8586   # small command number limits, like on Digital OSF/1 and HP-UX.
    8587   ac_max_sed_lines=48
    8588   ac_sed_frag=1 # Number of current file.
    8589   ac_beg=1 # First line for current file.
    8590   ac_end=$ac_max_sed_lines # Line after last line for current file.
    8591   ac_more_lines=:
    8592   ac_sed_cmds=
    8593   while $ac_more_lines; do
    8594     if test $ac_beg -gt 1; then
    8595       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    8596     else
    8597       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     9711# Set up the scripts for CONFIG_FILES section.
     9712# No need to generate them if there are no CONFIG_FILES.
     9713# This happens for instance with `./config.status config.h'.
     9714if test -n "$CONFIG_FILES"; then
     9715
     9716
     9717ac_cr='
     9718'
     9719ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     9720if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     9721  ac_cs_awk_cr='\\r'
     9722else
     9723  ac_cs_awk_cr=$ac_cr
     9724fi
     9725
     9726echo 'BEGIN {' >"$tmp/subs1.awk" &&
     9727_ACEOF
     9728
     9729
     9730{
     9731  echo "cat >conf$$subs.awk <<_ACEOF" &&
     9732  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     9733  echo "_ACEOF"
     9734} >conf$$subs.sh ||
     9735  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     9736$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     9737   { (exit 1); exit 1; }; }
     9738ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     9739ac_delim='%!_!# '
     9740for ac_last_try in false false false false false :; do
     9741  . ./conf$$subs.sh ||
     9742    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     9743$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     9744   { (exit 1); exit 1; }; }
     9745
     9746  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     9747  if test $ac_delim_n = $ac_delim_num; then
     9748    break
     9749  elif $ac_last_try; then
     9750    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     9751$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     9752   { (exit 1); exit 1; }; }
     9753  else
     9754    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     9755  fi
     9756done
     9757rm -f conf$$subs.sh
     9758
     9759cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9760cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     9761_ACEOF
     9762sed -n '
     9763h
     9764s/^/S["/; s/!.*/"]=/
     9765p
     9766g
     9767s/^[^!]*!//
     9768:repl
     9769t repl
     9770s/'"$ac_delim"'$//
     9771t delim
     9772:nl
     9773h
     9774s/\(.\{148\}\).*/\1/
     9775t more1
     9776s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     9777p
     9778n
     9779b repl
     9780:more1
     9781s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     9782p
     9783g
     9784s/.\{148\}//
     9785t nl
     9786:delim
     9787h
     9788s/\(.\{148\}\).*/\1/
     9789t more2
     9790s/["\\]/\\&/g; s/^/"/; s/$/"/
     9791p
     9792b
     9793:more2
     9794s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     9795p
     9796g
     9797s/.\{148\}//
     9798t delim
     9799' <conf$$subs.awk | sed '
     9800/^[^""]/{
     9801  N
     9802  s/\n//
     9803}
     9804' >>$CONFIG_STATUS || ac_write_fail=1
     9805rm -f conf$$subs.awk
     9806cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9807_ACAWK
     9808cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     9809  for (key in S) S_is_set[key] = 1
     9810  FS = ""
     9811
     9812}
     9813{
     9814  line = $ 0
     9815  nfields = split(line, field, "@")
     9816  substed = 0
     9817  len = length(field[1])
     9818  for (i = 2; i < nfields; i++) {
     9819    key = field[i]
     9820    keylen = length(key)
     9821    if (S_is_set[key]) {
     9822      value = S[key]
     9823      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     9824      len += length(value) + length(field[++i])
     9825      substed = 1
     9826    } else
     9827      len += 1 + keylen
     9828  }
     9829
     9830  print line
     9831}
     9832
     9833_ACAWK
     9834_ACEOF
     9835cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9836if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     9837  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     9838else
     9839  cat
     9840fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     9841  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
     9842$as_echo "$as_me: error: could not setup config files machinery" >&2;}
     9843   { (exit 1); exit 1; }; }
     9844_ACEOF
     9845
     9846# VPATH may cause trouble with some makes, so we remove $(srcdir),
     9847# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     9848# trailing colons and then remove the whole line if VPATH becomes empty
     9849# (actually we leave an empty line to preserve line numbers).
     9850if test "x$srcdir" = x.; then
     9851  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     9852s/:*\$(srcdir):*/:/
     9853s/:*\${srcdir}:*/:/
     9854s/:*@srcdir@:*/:/
     9855s/^\([^=]*=[     ]*\):*/\1/
     9856s/:*$//
     9857s/^[^=]*=[   ]*$//
     9858}'
     9859fi
     9860
     9861cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9862fi # test -n "$CONFIG_FILES"
     9863
     9864# Set up the scripts for CONFIG_HEADERS section.
     9865# No need to generate them if there are no CONFIG_HEADERS.
     9866# This happens for instance with `./config.status Makefile'.
     9867if test -n "$CONFIG_HEADERS"; then
     9868cat >"$tmp/defines.awk" <<\_ACAWK ||
     9869BEGIN {
     9870_ACEOF
     9871
     9872# Transform confdefs.h into an awk script `defines.awk', embedded as
     9873# here-document in config.status, that substitutes the proper values into
     9874# config.h.in to produce config.h.
     9875
     9876# Create a delimiter string that does not exist in confdefs.h, to ease
     9877# handling of long lines.
     9878ac_delim='%!_!# '
     9879for ac_last_try in false false :; do
     9880  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     9881  if test -z "$ac_t"; then
     9882    break
     9883  elif $ac_last_try; then
     9884    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
     9885$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
     9886   { (exit 1); exit 1; }; }
     9887  else
     9888    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     9889  fi
     9890done
     9891
     9892# For the awk script, D is an array of macro values keyed by name,
     9893# likewise P contains macro parameters if any.  Preserve backslash
     9894# newline sequences.
     9895
     9896ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     9897sed -n '
     9898s/.\{148\}/&'"$ac_delim"'/g
     9899t rset
     9900:rset
     9901s/^[     ]*#[    ]*define[   ][  ]*/ /
     9902t def
     9903d
     9904:def
     9905s/\\$//
     9906t bsnl
     9907s/["\\]/\\&/g
     9908s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     9909D["\1"]=" \3"/p
     9910s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
     9911d
     9912:bsnl
     9913s/["\\]/\\&/g
     9914s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     9915D["\1"]=" \3\\\\\\n"\\/p
     9916t cont
     9917s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     9918t cont
     9919d
     9920:cont
     9921n
     9922s/.\{148\}/&'"$ac_delim"'/g
     9923t clear
     9924:clear
     9925s/\\$//
     9926t bsnlc
     9927s/["\\]/\\&/g; s/^/"/; s/$/"/p
     9928d
     9929:bsnlc
     9930s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     9931b cont
     9932' <confdefs.h | sed '
     9933s/'"$ac_delim"'/"\\\
     9934"/g' >>$CONFIG_STATUS || ac_write_fail=1
     9935
     9936cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9937  for (key in D) D_is_set[key] = 1
     9938  FS = ""
     9939}
     9940/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     9941  line = \$ 0
     9942  split(line, arg, " ")
     9943  if (arg[1] == "#") {
     9944    defundef = arg[2]
     9945    mac1 = arg[3]
     9946  } else {
     9947    defundef = substr(arg[1], 2)
     9948    mac1 = arg[2]
     9949  }
     9950  split(mac1, mac2, "(") #)
     9951  macro = mac2[1]
     9952  prefix = substr(line, 1, index(line, defundef) - 1)
     9953  if (D_is_set[macro]) {
     9954    # Preserve the white space surrounding the "#".
     9955    print prefix "define", macro P[macro] D[macro]
     9956    next
     9957  } else {
     9958    # Replace #undef with comments.  This is necessary, for example,
     9959    # in the case of _POSIX_SOURCE, which is predefined and required
     9960    # on some systems where configure will not decide to define it.
     9961    if (defundef == "undef") {
     9962      print "/*", prefix defundef, macro, "*/"
     9963      next
     9964    }
     9965  }
     9966}
     9967{ print }
     9968_ACAWK
     9969_ACEOF
     9970cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9971  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
     9972$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
     9973   { (exit 1); exit 1; }; }
     9974fi # test -n "$CONFIG_HEADERS"
     9975
     9976
     9977eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
     9978shift
     9979for ac_tag
     9980do
     9981  case $ac_tag in
     9982  :[FHLC]) ac_mode=$ac_tag; continue;;
     9983  esac
     9984  case $ac_mode$ac_tag in
     9985  :[FHL]*:*);;
     9986  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
     9987$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
     9988   { (exit 1); exit 1; }; };;
     9989  :[FH]-) ac_tag=-:-;;
     9990  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     9991  esac
     9992  ac_save_IFS=$IFS
     9993  IFS=:
     9994  set x $ac_tag
     9995  IFS=$ac_save_IFS
     9996  shift
     9997  ac_file=$1
     9998  shift
     9999
     10000  case $ac_mode in
     10001  :L) ac_source=$1;;
     10002  :[FH])
     10003    ac_file_inputs=
     10004    for ac_f
     10005    do
     10006      case $ac_f in
     10007      -) ac_f="$tmp/stdin";;
     10008      *) # Look for the file first in the build tree, then in the source tree
     10009     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     10010     # because $ac_f cannot contain `:'.
     10011     test -f "$ac_f" ||
     10012       case $ac_f in
     10013       [\\/$]*) false;;
     10014       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     10015       esac ||
     10016       { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     10017$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     10018   { (exit 1); exit 1; }; };;
     10019      esac
     10020      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     10021      ac_file_inputs="$ac_file_inputs '$ac_f'"
     10022    done
     10023
     10024    # Let's still pretend it is `configure' which instantiates (i.e., don't
     10025    # use $as_me), people would be surprised to read:
     10026    #    /* config.h.  Generated by config.status.  */
     10027    configure_input='Generated from '`
     10028      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     10029    `' by configure.'
     10030    if test x"$ac_file" != x-; then
     10031      configure_input="$ac_file.  $configure_input"
     10032      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     10033$as_echo "$as_me: creating $ac_file" >&6;}
    859810034    fi
    8599     if test ! -s $tmp/subs.frag; then
    8600       ac_more_lines=false
    8601     else
    8602       # The purpose of the label and of the branching condition is to
    8603       # speed up the sed processing (if there are no `@' at all, there
    8604       # is no need to browse any of the substitutions).
    8605       # These are the two extra sed commands mentioned above.
    8606       (echo ':t
    8607   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    8608       if test -z "$ac_sed_cmds"; then
    8609     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    8610       else
    8611     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    8612       fi
    8613       ac_sed_frag=`expr $ac_sed_frag + 1`
    8614       ac_beg=$ac_end
    8615       ac_end=`expr $ac_end + $ac_max_sed_lines`
    8616     fi
    8617   done
    8618   if test -z "$ac_sed_cmds"; then
    8619     ac_sed_cmds=cat
    8620   fi
    8621 fi # test -n "$CONFIG_FILES"
    8622 
    8623 _ACEOF
    8624 cat >>$CONFIG_STATUS <<\_ACEOF
    8625 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    8626   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8627   case $ac_file in
    8628   - | *:- | *:-:* ) # input from stdin
    8629     cat >$tmp/stdin
    8630     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8631     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8632   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8633     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8634   * )   ac_file_in=$ac_file.in ;;
     10035    # Neutralize special characters interpreted by sed in replacement strings.
     10036    case $configure_input in #(
     10037    *\&* | *\|* | *\\* )
     10038       ac_sed_conf_input=`$as_echo "$configure_input" |
     10039       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     10040    *) ac_sed_conf_input=$configure_input;;
     10041    esac
     10042
     10043    case $ac_tag in
     10044    *:-:* | *:-) cat >"$tmp/stdin" \
     10045      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10046$as_echo "$as_me: error: could not create $ac_file" >&2;}
     10047   { (exit 1); exit 1; }; } ;;
     10048    esac
     10049    ;;
    863510050  esac
    863610051
    8637   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    8638   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     10052  ac_dir=`$as_dirname -- "$ac_file" ||
    863910053$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    864010054     X"$ac_file" : 'X\(//\)[^/]' \| \
    864110055     X"$ac_file" : 'X\(//\)$' \| \
    8642      X"$ac_file" : 'X\(/\)' \| \
    8643      .     : '\(.\)' 2>/dev/null ||
    8644 echo X"$ac_file" |
    8645     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8646       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8647       /^X\(\/\/\)$/{ s//\1/; q; }
    8648       /^X\(\/\).*/{ s//\1/; q; }
    8649       s/.*/./; q'`
    8650   { if $as_mkdir_p; then
    8651     mkdir -p "$ac_dir"
    8652   else
    8653     as_dir="$ac_dir"
     10056     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     10057$as_echo X"$ac_file" |
     10058    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     10059        s//\1/
     10060        q
     10061      }
     10062      /^X\(\/\/\)[^/].*/{
     10063        s//\1/
     10064        q
     10065      }
     10066      /^X\(\/\/\)$/{
     10067        s//\1/
     10068        q
     10069      }
     10070      /^X\(\/\).*/{
     10071        s//\1/
     10072        q
     10073      }
     10074      s/.*/./; q'`
     10075  { as_dir="$ac_dir"
     10076  case $as_dir in #(
     10077  -*) as_dir=./$as_dir;;
     10078  esac
     10079  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    865410080    as_dirs=
    8655     while test ! -d "$as_dir"; do
    8656       as_dirs="$as_dir $as_dirs"
    8657       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     10081    while :; do
     10082      case $as_dir in #(
     10083      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     10084      *) as_qdir=$as_dir;;
     10085      esac
     10086      as_dirs="'$as_qdir' $as_dirs"
     10087      as_dir=`$as_dirname -- "$as_dir" ||
    865810088$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    865910089     X"$as_dir" : 'X\(//\)[^/]' \| \
    866010090     X"$as_dir" : 'X\(//\)$' \| \
    8661      X"$as_dir" : 'X\(/\)' \| \
    8662      .     : '\(.\)' 2>/dev/null ||
    8663 echo X"$as_dir" |
    8664     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8665       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8666       /^X\(\/\/\)$/{ s//\1/; q; }
    8667       /^X\(\/\).*/{ s//\1/; q; }
    8668       s/.*/./; q'`
     10091     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     10092$as_echo X"$as_dir" |
     10093    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     10094        s//\1/
     10095        q
     10096      }
     10097      /^X\(\/\/\)[^/].*/{
     10098        s//\1/
     10099        q
     10100      }
     10101      /^X\(\/\/\)$/{
     10102        s//\1/
     10103        q
     10104      }
     10105      /^X\(\/\).*/{
     10106        s//\1/
     10107        q
     10108      }
     10109      s/.*/./; q'`
     10110      test -d "$as_dir" && break
    866910111    done
    8670     test ! -n "$as_dirs" || mkdir $as_dirs
    8671   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8672 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     10112    test -z "$as_dirs" || eval "mkdir $as_dirs"
     10113  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     10114$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    867310115   { (exit 1); exit 1; }; }; }
    8674 
    867510116  ac_builddir=.
    867610117
    8677 if test "$ac_dir" != .; then
    8678   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8679   # A "../" for each directory in $ac_dir_suffix.
    8680   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8681 else
    8682   ac_dir_suffix= ac_top_builddir=
    8683 fi
     10118case "$ac_dir" in
     10119.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     10120*)
     10121  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     10122  # A ".." for each directory in $ac_dir_suffix.
     10123  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     10124  case $ac_top_builddir_sub in
     10125  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     10126  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     10127  esac ;;
     10128esac
     10129ac_abs_top_builddir=$ac_pwd
     10130ac_abs_builddir=$ac_pwd$ac_dir_suffix
     10131# for backward compatibility:
     10132ac_top_builddir=$ac_top_build_prefix
    868410133
    868510134case $srcdir in
    8686   .)  # No --srcdir option.  We are building in place.
     10135  .)  # We are building in place.
    868710136    ac_srcdir=.
    8688     if test -z "$ac_top_builddir"; then
    8689        ac_top_srcdir=.
    8690     else
    8691        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8692     fi ;;
    8693   [\\/]* | ?:[\\/]* )  # Absolute path.
     10137    ac_top_srcdir=$ac_top_builddir_sub
     10138    ac_abs_top_srcdir=$ac_pwd ;;
     10139  [\\/]* | ?:[\\/]* )  # Absolute name.
    869410140    ac_srcdir=$srcdir$ac_dir_suffix;
    8695     ac_top_srcdir=$srcdir ;;
    8696   *) # Relative path.
    8697     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8698     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8699 esac
    8700 
    8701 # Do not use `cd foo && pwd` to compute absolute paths, because
    8702 # the directories may not exist.
    8703 case `pwd` in
    8704 .) ac_abs_builddir="$ac_dir";;
    8705 *)
    8706   case "$ac_dir" in
    8707   .) ac_abs_builddir=`pwd`;;
    8708   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8709   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8710   esac;;
    8711 esac
    8712 case $ac_abs_builddir in
    8713 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8714 *)
    8715   case ${ac_top_builddir}. in
    8716   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8717   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8718   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8719   esac;;
    8720 esac
    8721 case $ac_abs_builddir in
    8722 .) ac_abs_srcdir=$ac_srcdir;;
    8723 *)
    8724   case $ac_srcdir in
    8725   .) ac_abs_srcdir=$ac_abs_builddir;;
    8726   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8727   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8728   esac;;
    8729 esac
    8730 case $ac_abs_builddir in
    8731 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8732 *)
    8733   case $ac_top_srcdir in
    8734   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8735   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8736   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8737   esac;;
    8738 esac
    8739 
     10141    ac_top_srcdir=$srcdir
     10142    ac_abs_top_srcdir=$srcdir ;;
     10143  *) # Relative name.
     10144    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     10145    ac_top_srcdir=$ac_top_build_prefix$srcdir
     10146    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     10147esac
     10148ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     10149
     10150
     10151  case $ac_mode in
     10152  :F)
     10153  #
     10154  # CONFIG_FILE
     10155  #
    874010156
    874110157  case $INSTALL in
    874210158  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    8743   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     10159  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    874410160  esac
    8745 
    8746   if test x"$ac_file" != x-; then
    8747     { echo "$as_me:$LINENO: creating $ac_file" >&5
    8748 echo "$as_me: creating $ac_file" >&6;}
    8749     rm -f "$ac_file"
    8750   fi
    8751   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8752   # use $as_me), people would be surprised to read:
    8753   #    /* config.h.  Generated by config.status.  */
    8754   if test x"$ac_file" = x-; then
    8755     configure_input=
    8756   else
    8757     configure_input="$ac_file.  "
    8758   fi
    8759   configure_input=$configure_input"Generated from `echo $ac_file_in |
    8760                      sed 's,.*/,,'` by configure."
    8761 
    8762   # First look for the input files in the build tree, otherwise in the
    8763   # src tree.
    8764   ac_file_inputs=`IFS=:
    8765     for f in $ac_file_in; do
    8766       case $f in
    8767       -) echo $tmp/stdin ;;
    8768       [\\/$]*)
    8769      # Absolute (can't be DOS-style, as IFS=:)
    8770      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8771 echo "$as_me: error: cannot find input file: $f" >&2;}
    8772    { (exit 1); exit 1; }; }
    8773      echo "$f";;
    8774       *) # Relative
    8775      if test -f "$f"; then
    8776        # Build tree
    8777        echo "$f"
    8778      elif test -f "$srcdir/$f"; then
    8779        # Source tree
    8780        echo "$srcdir/$f"
    8781      else
    8782        # /dev/null tree
    8783        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8784 echo "$as_me: error: cannot find input file: $f" >&2;}
    8785    { (exit 1); exit 1; }; }
    8786      fi;;
    8787       esac
    8788     done` || { (exit 1); exit 1; }
    8789 _ACEOF
    8790 cat >>$CONFIG_STATUS <<_ACEOF
    8791   sed "$ac_vpsub
     10161_ACEOF
     10162
     10163cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10164# If the template does not know about datarootdir, expand it.
     10165# FIXME: This hack should be removed a few years after 2.60.
     10166ac_datarootdir_hack=; ac_datarootdir_seen=
     10167
     10168ac_sed_dataroot='
     10169/datarootdir/ {
     10170  p
     10171  q
     10172}
     10173/@datadir@/p
     10174/@docdir@/p
     10175/@infodir@/p
     10176/@localedir@/p
     10177/@mandir@/p
     10178'
     10179case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
     10180*datarootdir*) ac_datarootdir_seen=yes;;
     10181*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     10182  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     10183$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     10184_ACEOF
     10185cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10186  ac_datarootdir_hack='
     10187  s&@datadir@&$datadir&g
     10188  s&@docdir@&$docdir&g
     10189  s&@infodir@&$infodir&g
     10190  s&@localedir@&$localedir&g
     10191  s&@mandir@&$mandir&g
     10192    s&\\\${datarootdir}&$datarootdir&g' ;;
     10193esac
     10194_ACEOF
     10195
     10196# Neutralize VPATH when `$srcdir' = `.'.
     10197# Shell code in configure.ac might set extrasub.
     10198# FIXME: do we really want to maintain this feature?
     10199cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10200ac_sed_extra="$ac_vpsub
    879210201$extrasub
    879310202_ACEOF
    8794 cat >>$CONFIG_STATUS <<\_ACEOF
     10203cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    879510204:t
    879610205/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    8797 s,@configure_input@,$configure_input,;t t
    8798 s,@srcdir@,$ac_srcdir,;t t
    8799 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    8800 s,@top_srcdir@,$ac_top_srcdir,;t t
    8801 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    8802 s,@builddir@,$ac_builddir,;t t
    8803 s,@abs_builddir@,$ac_abs_builddir,;t t
    8804 s,@top_builddir@,$ac_top_builddir,;t t
    8805 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    8806 s,@INSTALL@,$ac_INSTALL,;t t
    8807 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    8808   rm -f $tmp/stdin
     10206s|@configure_input@|$ac_sed_conf_input|;t t
     10207s&@top_builddir@&$ac_top_builddir_sub&;t t
     10208s&@top_build_prefix@&$ac_top_build_prefix&;t t
     10209s&@srcdir@&$ac_srcdir&;t t
     10210s&@abs_srcdir@&$ac_abs_srcdir&;t t
     10211s&@top_srcdir@&$ac_top_srcdir&;t t
     10212s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     10213s&@builddir@&$ac_builddir&;t t
     10214s&@abs_builddir@&$ac_abs_builddir&;t t
     10215s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     10216s&@INSTALL@&$ac_INSTALL&;t t
     10217$ac_datarootdir_hack
     10218"
     10219eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     10220  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10221$as_echo "$as_me: error: could not create $ac_file" >&2;}
     10222   { (exit 1); exit 1; }; }
     10223
     10224test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     10225  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     10226  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     10227  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     10228which seems to be undefined.  Please make sure it is defined." >&5
     10229$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     10230which seems to be undefined.  Please make sure it is defined." >&2;}
     10231
     10232  rm -f "$tmp/stdin"
     10233  case $ac_file in
     10234  -) cat "$tmp/out" && rm -f "$tmp/out";;
     10235  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     10236  esac \
     10237  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10238$as_echo "$as_me: error: could not create $ac_file" >&2;}
     10239   { (exit 1); exit 1; }; }
     10240 ;;
     10241  :H)
     10242  #
     10243  # CONFIG_HEADER
     10244  #
    880910245  if test x"$ac_file" != x-; then
    8810     mv $tmp/out $ac_file
    8811   else
    8812     cat $tmp/out
    8813     rm -f $tmp/out
    8814   fi
    8815 
    8816 done
    8817 _ACEOF
    8818 cat >>$CONFIG_STATUS <<\_ACEOF
    8819 
    8820 #
    8821 # CONFIG_HEADER section.
    8822 #
    8823 
    8824 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    8825 # NAME is the cpp macro being defined and VALUE is the value it is being given.
    8826 #
    8827 # ac_d sets the value in "#define NAME VALUE" lines.
    8828 ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
    8829 ac_dB='[     ].*$,\1#\2'
    8830 ac_dC=' '
    8831 ac_dD=',;t'
    8832 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    8833 ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
    8834 ac_uB='$,\1#\2define\3'
    8835 ac_uC=' '
    8836 ac_uD=',;t'
    8837 
    8838 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    8839   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8840   case $ac_file in
    8841   - | *:- | *:-:* ) # input from stdin
    8842     cat >$tmp/stdin
    8843     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8844     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8845   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8846     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8847   * )   ac_file_in=$ac_file.in ;;
    8848   esac
    8849 
    8850   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    8851 echo "$as_me: creating $ac_file" >&6;}
    8852 
    8853   # First look for the input files in the build tree, otherwise in the
    8854   # src tree.
    8855   ac_file_inputs=`IFS=:
    8856     for f in $ac_file_in; do
    8857       case $f in
    8858       -) echo $tmp/stdin ;;
    8859       [\\/$]*)
    8860      # Absolute (can't be DOS-style, as IFS=:)
    8861      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8862 echo "$as_me: error: cannot find input file: $f" >&2;}
     10246    {
     10247      $as_echo "/* $configure_input  */" \
     10248      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     10249    } >"$tmp/config.h" \
     10250      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10251$as_echo "$as_me: error: could not create $ac_file" >&2;}
    886310252   { (exit 1); exit 1; }; }
    8864      # Do quote $f, to prevent DOS paths from being IFS'd.
    8865      echo "$f";;
    8866       *) # Relative
    8867      if test -f "$f"; then
    8868        # Build tree
    8869        echo "$f"
    8870      elif test -f "$srcdir/$f"; then
    8871        # Source tree
    8872        echo "$srcdir/$f"
    8873      else
    8874        # /dev/null tree
    8875        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8876 echo "$as_me: error: cannot find input file: $f" >&2;}
     10253    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     10254      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     10255$as_echo "$as_me: $ac_file is unchanged" >&6;}
     10256    else
     10257      rm -f "$ac_file"
     10258      mv "$tmp/config.h" "$ac_file" \
     10259    || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10260$as_echo "$as_me: error: could not create $ac_file" >&2;}
    887710261   { (exit 1); exit 1; }; }
    8878      fi;;
    8879       esac
    8880     done` || { (exit 1); exit 1; }
    8881   # Remove the trailing spaces.
    8882   sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
    8883 
    8884 _ACEOF
    8885 
    8886 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    8887 # `conftest.undefs', that substitutes the proper values into
    8888 # config.h.in to produce config.h.  The first handles `#define'
    8889 # templates, and the second `#undef' templates.
    8890 # And first: Protect against being on the right side of a sed subst in
    8891 # config.status.  Protect against being in an unquoted here document
    8892 # in config.status.
    8893 rm -f conftest.defines conftest.undefs
    8894 # Using a here document instead of a string reduces the quoting nightmare.
    8895 # Putting comments in sed scripts is not portable.
    8896 #
    8897 # `end' is used to avoid that the second main sed command (meant for
    8898 # 0-ary CPP macros) applies to n-ary macro definitions.
    8899 # See the Autoconf documentation for `clear'.
    8900 cat >confdef2sed.sed <<\_ACEOF
    8901 s/[\\&,]/\\&/g
    8902 s,[\\$`],\\&,g
    8903 t clear
    8904 : clear
    8905 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    8906 t end
    8907 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    8908 : end
    8909 _ACEOF
    8910 # If some macros were called several times there might be several times
    8911 # the same #defines, which is useless.  Nevertheless, we may not want to
    8912 # sort them, since we want the *last* AC-DEFINE to be honored.
    8913 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    8914 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    8915 rm -f confdef2sed.sed
    8916 
    8917 # This sed command replaces #undef with comments.  This is necessary, for
    8918 # example, in the case of _POSIX_SOURCE, which is predefined and required
    8919 # on some systems where configure will not decide to define it.
    8920 cat >>conftest.undefs <<\_ACEOF
    8921 s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    8922 _ACEOF
    8923 
    8924 # Break up conftest.defines because some shells have a limit on the size
    8925 # of here documents, and old seds have small limits too (100 cmds).
    8926 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    8927 echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    8928 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    8929 echo '  :' >>$CONFIG_STATUS
    8930 rm -f conftest.tail
    8931 while grep . conftest.defines >/dev/null
    8932 do
    8933   # Write a limited-size here document to $tmp/defines.sed.
    8934   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    8935   # Speed up: don't consider the non `#define' lines.
    8936   echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
    8937   # Work around the forget-to-reset-the-flag bug.
    8938   echo 't clr' >>$CONFIG_STATUS
    8939   echo ': clr' >>$CONFIG_STATUS
    8940   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
    8941   echo 'CEOF
    8942   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    8943   rm -f $tmp/in
    8944   mv $tmp/out $tmp/in
    8945 ' >>$CONFIG_STATUS
    8946   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    8947   rm -f conftest.defines
    8948   mv conftest.tail conftest.defines
    8949 done
    8950 rm -f conftest.defines
    8951 echo '  fi # grep' >>$CONFIG_STATUS
    8952 echo >>$CONFIG_STATUS
    8953 
    8954 # Break up conftest.undefs because some shells have a limit on the size
    8955 # of here documents, and old seds have small limits too (100 cmds).
    8956 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    8957 rm -f conftest.tail
    8958 while grep . conftest.undefs >/dev/null
    8959 do
    8960   # Write a limited-size here document to $tmp/undefs.sed.
    8961   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    8962   # Speed up: don't consider the non `#undef'
    8963   echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    8964   # Work around the forget-to-reset-the-flag bug.
    8965   echo 't clr' >>$CONFIG_STATUS
    8966   echo ': clr' >>$CONFIG_STATUS
    8967   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    8968   echo 'CEOF
    8969   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    8970   rm -f $tmp/in
    8971   mv $tmp/out $tmp/in
    8972 ' >>$CONFIG_STATUS
    8973   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    8974   rm -f conftest.undefs
    8975   mv conftest.tail conftest.undefs
    8976 done
    8977 rm -f conftest.undefs
    8978 
    8979 cat >>$CONFIG_STATUS <<\_ACEOF
    8980   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8981   # use $as_me), people would be surprised to read:
    8982   #    /* config.h.  Generated by config.status.  */
    8983   if test x"$ac_file" = x-; then
    8984     echo "/* Generated by configure.  */" >$tmp/config.h
    8985   else
    8986     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    8987   fi
    8988   cat $tmp/in >>$tmp/config.h
    8989   rm -f $tmp/in
    8990   if test x"$ac_file" != x-; then
    8991     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
    8992       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    8993 echo "$as_me: $ac_file is unchanged" >&6;}
    8994     else
    8995       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    8996 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8997      X"$ac_file" : 'X\(//\)[^/]' \| \
    8998      X"$ac_file" : 'X\(//\)$' \| \
    8999      X"$ac_file" : 'X\(/\)' \| \
    9000      .     : '\(.\)' 2>/dev/null ||
    9001 echo X"$ac_file" |
    9002     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    9003       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    9004       /^X\(\/\/\)$/{ s//\1/; q; }
    9005       /^X\(\/\).*/{ s//\1/; q; }
    9006       s/.*/./; q'`
    9007       { if $as_mkdir_p; then
    9008     mkdir -p "$ac_dir"
    9009   else
    9010     as_dir="$ac_dir"
    9011     as_dirs=
    9012     while test ! -d "$as_dir"; do
    9013       as_dirs="$as_dir $as_dirs"
    9014       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    9015 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9016      X"$as_dir" : 'X\(//\)[^/]' \| \
    9017      X"$as_dir" : 'X\(//\)$' \| \
    9018      X"$as_dir" : 'X\(/\)' \| \
    9019      .     : '\(.\)' 2>/dev/null ||
    9020 echo X"$as_dir" |
    9021     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    9022       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    9023       /^X\(\/\/\)$/{ s//\1/; q; }
    9024       /^X\(\/\).*/{ s//\1/; q; }
    9025       s/.*/./; q'`
    9026     done
    9027     test ! -n "$as_dirs" || mkdir $as_dirs
    9028   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    9029 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    9030    { (exit 1); exit 1; }; }; }
    9031 
    9032       rm -f $ac_file
    9033       mv $tmp/config.h $ac_file
    903410262    fi
    903510263  else
    9036     cat $tmp/config.h
    9037     rm -f $tmp/config.h
     10264    $as_echo "/* $configure_input  */" \
     10265      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     10266      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
     10267$as_echo "$as_me: error: could not create -" >&2;}
     10268   { (exit 1); exit 1; }; }
    903810269  fi
    9039 done
    9040 _ACEOF
    9041 
    9042 cat >>$CONFIG_STATUS <<\_ACEOF
     10270 ;;
     10271
     10272
     10273  esac
     10274
     10275done # for ac_tag
     10276
    904310277
    904410278{ (exit 0); exit 0; }
     
    904610280chmod +x $CONFIG_STATUS
    904710281ac_clean_files=$ac_clean_files_save
     10282
     10283test $ac_write_fail = 0 ||
     10284  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
     10285$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
     10286   { (exit 1); exit 1; }; }
    904810287
    904910288
     
    907410313if test "$no_recursion" != yes; then
    907510314
    9076   # Remove --cache-file and --srcdir arguments so they do not pile up.
     10315  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
     10316  # so they do not pile up.
    907710317  ac_sub_configure_args=
    907810318  ac_prev=
    9079   for ac_arg in $ac_configure_args; do
     10319  eval "set x $ac_configure_args"
     10320  shift
     10321  for ac_arg
     10322  do
    908010323    if test -n "$ac_prev"; then
    908110324      ac_prev=
     
    910010343    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    910110344      ;;
    9102     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
     10345    --disable-option-checking)
     10346      ;;
     10347    *)
     10348      case $ac_arg in
     10349      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     10350      esac
     10351      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
    910310352    esac
    910410353  done
     
    910610355  # Always prepend --prefix to ensure using the same prefix
    910710356  # in subdir configurations.
    9108   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
     10357  ac_arg="--prefix=$prefix"
     10358  case $ac_arg in
     10359  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     10360  esac
     10361  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
     10362
     10363  # Pass --silent
     10364  if test "$silent" = yes; then
     10365    ac_sub_configure_args="--silent $ac_sub_configure_args"
     10366  fi
     10367
     10368  # Always prepend --disable-option-checking to silence warnings, since
     10369  # different subdirs can have different --enable and --with options.
     10370  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
    910910371
    911010372  ac_popdir=`pwd`
     
    911310375    # Do not complain, so a configure script can configure whichever
    911410376    # parts of a large source tree are present.
    9115     test -d $srcdir/$ac_dir || continue
    9116 
    9117     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
    9118 echo "$as_me: configuring in $ac_dir" >&6;}
    9119     { if $as_mkdir_p; then
    9120     mkdir -p "$ac_dir"
    9121   else
    9122     as_dir="$ac_dir"
     10377    test -d "$srcdir/$ac_dir" || continue
     10378
     10379    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
     10380    $as_echo "$as_me:$LINENO: $ac_msg" >&5
     10381    $as_echo "$ac_msg" >&6
     10382    { as_dir="$ac_dir"
     10383  case $as_dir in #(
     10384  -*) as_dir=./$as_dir;;
     10385  esac
     10386  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    912310387    as_dirs=
    9124     while test ! -d "$as_dir"; do
    9125       as_dirs="$as_dir $as_dirs"
    9126       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     10388    while :; do
     10389      case $as_dir in #(
     10390      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     10391      *) as_qdir=$as_dir;;
     10392      esac
     10393      as_dirs="'$as_qdir' $as_dirs"
     10394      as_dir=`$as_dirname -- "$as_dir" ||
    912710395$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    912810396     X"$as_dir" : 'X\(//\)[^/]' \| \
    912910397     X"$as_dir" : 'X\(//\)$' \| \
    9130      X"$as_dir" : 'X\(/\)' \| \
    9131      .     : '\(.\)' 2>/dev/null ||
    9132 echo X"$as_dir" |
    9133     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    9134       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    9135       /^X\(\/\/\)$/{ s//\1/; q; }
    9136       /^X\(\/\).*/{ s//\1/; q; }
    9137       s/.*/./; q'`
     10398     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     10399$as_echo X"$as_dir" |
     10400    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     10401        s//\1/
     10402        q
     10403      }
     10404      /^X\(\/\/\)[^/].*/{
     10405        s//\1/
     10406        q
     10407      }
     10408      /^X\(\/\/\)$/{
     10409        s//\1/
     10410        q
     10411      }
     10412      /^X\(\/\).*/{
     10413        s//\1/
     10414        q
     10415      }
     10416      s/.*/./; q'`
     10417      test -d "$as_dir" && break
    913810418    done
    9139     test ! -n "$as_dirs" || mkdir $as_dirs
    9140   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    9141 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     10419    test -z "$as_dirs" || eval "mkdir $as_dirs"
     10420  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     10421$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    914210422   { (exit 1); exit 1; }; }; }
    9143 
    914410423    ac_builddir=.
    914510424
    9146 if test "$ac_dir" != .; then
    9147   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    9148   # A "../" for each directory in $ac_dir_suffix.
    9149   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    9150 else
    9151   ac_dir_suffix= ac_top_builddir=
    9152 fi
     10425case "$ac_dir" in
     10426.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     10427*)
     10428  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     10429  # A ".." for each directory in $ac_dir_suffix.
     10430  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     10431  case $ac_top_builddir_sub in
     10432  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     10433  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     10434  esac ;;
     10435esac
     10436ac_abs_top_builddir=$ac_pwd
     10437ac_abs_builddir=$ac_pwd$ac_dir_suffix
     10438# for backward compatibility:
     10439ac_top_builddir=$ac_top_build_prefix
    915310440
    915410441case $srcdir in
    9155   .)  # No --srcdir option.  We are building in place.
     10442  .)  # We are building in place.
    915610443    ac_srcdir=.
    9157     if test -z "$ac_top_builddir"; then
    9158        ac_top_srcdir=.
     10444    ac_top_srcdir=$ac_top_builddir_sub
     10445    ac_abs_top_srcdir=$ac_pwd ;;
     10446  [\\/]* | ?:[\\/]* )  # Absolute name.
     10447    ac_srcdir=$srcdir$ac_dir_suffix;
     10448    ac_top_srcdir=$srcdir
     10449    ac_abs_top_srcdir=$srcdir ;;
     10450  *) # Relative name.
     10451    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     10452    ac_top_srcdir=$ac_top_build_prefix$srcdir
     10453    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     10454esac
     10455ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     10456
     10457
     10458    cd "$ac_dir"
     10459
     10460    # Check for guested configure; otherwise get Cygnus style configure.
     10461    if test -f "$ac_srcdir/configure.gnu"; then
     10462      ac_sub_configure=$ac_srcdir/configure.gnu
     10463    elif test -f "$ac_srcdir/configure"; then
     10464      ac_sub_configure=$ac_srcdir/configure
     10465    elif test -f "$ac_srcdir/configure.in"; then
     10466      # This should be Cygnus configure.
     10467      ac_sub_configure=$ac_aux_dir/configure
    915910468    else
    9160        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    9161     fi ;;
    9162   [\\/]* | ?:[\\/]* )  # Absolute path.
    9163     ac_srcdir=$srcdir$ac_dir_suffix;
    9164     ac_top_srcdir=$srcdir ;;
    9165   *) # Relative path.
    9166     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    9167     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    9168 esac
    9169 
    9170 # Do not use `cd foo && pwd` to compute absolute paths, because
    9171 # the directories may not exist.
    9172 case `pwd` in
    9173 .) ac_abs_builddir="$ac_dir";;
    9174 *)
    9175   case "$ac_dir" in
    9176   .) ac_abs_builddir=`pwd`;;
    9177   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    9178   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    9179   esac;;
    9180 esac
    9181 case $ac_abs_builddir in
    9182 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    9183 *)
    9184   case ${ac_top_builddir}. in
    9185   .) ac_abs_top_builddir=$ac_abs_builddir;;
    9186   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    9187   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    9188   esac;;
    9189 esac
    9190 case $ac_abs_builddir in
    9191 .) ac_abs_srcdir=$ac_srcdir;;
    9192 *)
    9193   case $ac_srcdir in
    9194   .) ac_abs_srcdir=$ac_abs_builddir;;
    9195   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    9196   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    9197   esac;;
    9198 esac
    9199 case $ac_abs_builddir in
    9200 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    9201 *)
    9202   case $ac_top_srcdir in
    9203   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    9204   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    9205   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    9206   esac;;
    9207 esac
    9208 
    9209 
    9210     cd $ac_dir
    9211 
    9212     # Check for guested configure; otherwise get Cygnus style configure.
    9213     if test -f $ac_srcdir/configure.gnu; then
    9214       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
    9215     elif test -f $ac_srcdir/configure; then
    9216       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
    9217     elif test -f $ac_srcdir/configure.in; then
    9218       ac_sub_configure=$ac_configure
    9219     else
    9220       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
    9221 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
     10469      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     10470$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    922210471      ac_sub_configure=
    922310472    fi
     
    922810477      case $cache_file in
    922910478      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    9230       *) # Relative path.
    9231     ac_sub_cache_file=$ac_top_builddir$cache_file ;;
     10479      *) # Relative name.
     10480    ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
    923210481      esac
    923310482
    9234       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    9235 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     10483      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     10484$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    923610485      # The eval makes quoting arguments work.
    9237       eval $ac_sub_configure $ac_sub_configure_args \
    9238        --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
    9239     { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    9240 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     10486      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
     10487       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
     10488    { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
     10489$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    924110490   { (exit 1); exit 1; }; }
    924210491    fi
    924310492
    9244     cd $ac_popdir
     10493    cd "$ac_popdir"
    924510494  done
    924610495fi
    9247 
    9248 
    9249 
     10496if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     10497  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     10498$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     10499fi
     10500
     10501
     10502
Note: See TracChangeset for help on using the changeset viewer.