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/build-src/configure

    r23800 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_WVWARE USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE 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 MODULEDIRS subdirs LTLIBOBJS'
     637enable_option_checking=no
     638ac_subst_vars='LTLIBOBJS
     639subdirs
     640MODULEDIRS
     641gsdlos
     642STATIC
     643LIBOBJS
     644ALLOCA
     645ANSI2KNR
     646U
     647EGREP
     648GREP
     649CPP
     650MICO_VER
     651ARCH_DEP_FLAGS
     652RANLIB
     653SET_MAKE
     654LN_S
     655INSTALL_DATA
     656INSTALL_SCRIPT
     657INSTALL_PROGRAM
     658target_os
     659target_vendor
     660target_cpu
     661target
     662host_os
     663host_vendor
     664host_cpu
     665host
     666build_os
     667build_vendor
     668build_cpu
     669build
     670YFLAGS
     671YACC
     672AWK
     673uudecode
     674JAVA
     675JAVACFLAGS
     676JAVAC
     677ac_ct_CXX
     678CXXFLAGS
     679CXX
     680OBJEXT
     681EXEEXT
     682ac_ct_CC
     683CPPFLAGS
     684CC
     685CFLAGS
     686LDFLAGS
     687USE_SQLITE
     688ENABLE_ACCENTFOLD
     689USE_GDBM
     690USE_JDBM
     691USE_WVWARE
     692ENABLE_JAVA
     693USE_YAZ
     694USE_Z3950
     695MICO_DIR
     696USE_CORBA
     697USE_LANGACTION
     698USE_FASTCGI
     699VERSION
     700PACKAGE
     701target_alias
     702host_alias
     703build_alias
     704LIBS
     705ECHO_T
     706ECHO_N
     707ECHO_C
     708DEFS
     709mandir
     710localedir
     711libdir
     712psdir
     713pdfdir
     714dvidir
     715htmldir
     716infodir
     717docdir
     718oldincludedir
     719includedir
     720localstatedir
     721sharedstatedir
     722sysconfdir
     723datadir
     724datarootdir
     725libexecdir
     726sbindir
     727bindir
     728program_transform_name
     729prefix
     730exec_prefix
     731PACKAGE_BUGREPORT
     732PACKAGE_STRING
     733PACKAGE_VERSION
     734PACKAGE_TARNAME
     735PACKAGE_NAME
     736PATH_SEPARATOR
     737SHELL'
    313738ac_subst_files=''
     739ac_user_opts='
     740enable_option_checking
     741enable_corba
     742with_micodir
     743enable_z3950
     744enable_yaz
     745enable_java
     746enable_wvware
     747enable_jdbm
     748enable_gdbm
     749enable_accentfold
     750enable_sqlite
     751with_dmalloc
     752with_regex
     753'
     754      ac_precious_vars='build_alias
     755host_alias
     756target_alias
     757CC
     758CFLAGS
     759LDFLAGS
     760LIBS
     761CPPFLAGS
     762CXX
     763CXXFLAGS
     764CCC
     765YACC
     766YFLAGS
     767CPP'
     768ac_subdirs_all='packages'
    314769
    315770# Initialize some variables set by options.
    316771ac_init_help=
    317772ac_init_version=false
     773ac_unrecognized_opts=
     774ac_unrecognized_sep=
    318775# The variables have the same names as the options, with
    319776# dashes changed to underlines.
     
    338795# by default will actually change.
    339796# Use braces instead of parens because sh, perl, etc. also accept them.
     797# (The list follows the same order as the GNU Coding Standards.)
    340798bindir='${exec_prefix}/bin'
    341799sbindir='${exec_prefix}/sbin'
    342800libexecdir='${exec_prefix}/libexec'
    343 datadir='${prefix}/share'
     801datarootdir='${prefix}/share'
     802datadir='${datarootdir}'
    344803sysconfdir='${prefix}/etc'
    345804sharedstatedir='${prefix}/com'
    346805localstatedir='${prefix}/var'
    347 libdir='${exec_prefix}/lib'
    348806includedir='${prefix}/include'
    349807oldincludedir='/usr/include'
    350 infodir='${prefix}/info'
    351 mandir='${prefix}/man'
     808docdir='${datarootdir}/doc/${PACKAGE}'
     809infodir='${datarootdir}/info'
     810htmldir='${docdir}'
     811dvidir='${docdir}'
     812pdfdir='${docdir}'
     813psdir='${docdir}'
     814libdir='${exec_prefix}/lib'
     815localedir='${datarootdir}/locale'
     816mandir='${datarootdir}/man'
    352817
    353818ac_prev=
     819ac_dashdash=
    354820for ac_option
    355821do
    356822  # If the previous option needs an argument, assign it.
    357823  if test -n "$ac_prev"; then
    358     eval "$ac_prev=\$ac_option"
     824    eval $ac_prev=\$ac_option
    359825    ac_prev=
    360826    continue
    361827  fi
    362828
    363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     829  case $ac_option in
     830  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     831  *)    ac_optarg=yes ;;
     832  esac
    364833
    365834  # Accept the important Cygnus configure options, so we can diagnose typos.
    366835
    367   case $ac_option in
     836  case $ac_dashdash$ac_option in
     837  --)
     838    ac_dashdash=yes ;;
    368839
    369840  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    387858    cache_file=config.cache ;;
    388859
    389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     860  -datadir | --datadir | --datadi | --datad)
    390861    ac_prev=datadir ;;
    391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    392   | --da=*)
     862  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    393863    datadir=$ac_optarg ;;
    394864
     865  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     866  | --dataroo | --dataro | --datar)
     867    ac_prev=datarootdir ;;
     868  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     869  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     870    datarootdir=$ac_optarg ;;
     871
    395872  -disable-* | --disable-*)
    396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     873    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    397874    # 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
     875    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     876      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    400877   { (exit 1); exit 1; }; }
    401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    402     eval "enable_$ac_feature=no" ;;
     878    ac_useropt_orig=$ac_useropt
     879    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     880    case $ac_user_opts in
     881      *"
     882"enable_$ac_useropt"
     883"*) ;;
     884      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     885     ac_unrecognized_sep=', ';;
     886    esac
     887    eval enable_$ac_useropt=no ;;
     888
     889  -docdir | --docdir | --docdi | --doc | --do)
     890    ac_prev=docdir ;;
     891  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     892    docdir=$ac_optarg ;;
     893
     894  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     895    ac_prev=dvidir ;;
     896  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     897    dvidir=$ac_optarg ;;
    403898
    404899  -enable-* | --enable-*)
    405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     900    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    406901    # 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
     902    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     903      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    409904   { (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 ;;
     905    ac_useropt_orig=$ac_useropt
     906    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     907    case $ac_user_opts in
     908      *"
     909"enable_$ac_useropt"
     910"*) ;;
     911      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     912     ac_unrecognized_sep=', ';;
    414913    esac
    415     eval "enable_$ac_feature='$ac_optarg'" ;;
     914    eval enable_$ac_useropt=\$ac_optarg ;;
    416915
    417916  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    440939    host_alias=$ac_optarg ;;
    441940
     941  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     942    ac_prev=htmldir ;;
     943  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     944  | --ht=*)
     945    htmldir=$ac_optarg ;;
     946
    442947  -includedir | --includedir | --includedi | --included | --include \
    443948  | --includ | --inclu | --incl | --inc)
     
    464969    libexecdir=$ac_optarg ;;
    465970
     971  -localedir | --localedir | --localedi | --localed | --locale)
     972    ac_prev=localedir ;;
     973  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     974    localedir=$ac_optarg ;;
     975
    466976  -localstatedir | --localstatedir | --localstatedi | --localstated \
    467   | --localstate | --localstat | --localsta | --localst \
    468   | --locals | --local | --loca | --loc | --lo)
     977  | --localstate | --localstat | --localsta | --localst | --locals)
    469978    ac_prev=localstatedir ;;
    470979  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     980  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    473981    localstatedir=$ac_optarg ;;
    474982
     
    5351043    program_transform_name=$ac_optarg ;;
    5361044
     1045  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     1046    ac_prev=pdfdir ;;
     1047  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     1048    pdfdir=$ac_optarg ;;
     1049
     1050  -psdir | --psdir | --psdi | --psd | --ps)
     1051    ac_prev=psdir ;;
     1052  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     1053    psdir=$ac_optarg ;;
     1054
    5371055  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    5381056  | -silent | --silent | --silen | --sile | --sil)
     
    5851103
    5861104  -with-* | --with-*)
    587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1105    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5881106    # 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
     1107    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1108      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    5911109   { (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 ;;
     1110    ac_useropt_orig=$ac_useropt
     1111    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1112    case $ac_user_opts in
     1113      *"
     1114"with_$ac_useropt"
     1115"*) ;;
     1116      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1117     ac_unrecognized_sep=', ';;
    5961118    esac
    597     eval "with_$ac_package='$ac_optarg'" ;;
     1119    eval with_$ac_useropt=\$ac_optarg ;;
    5981120
    5991121  -without-* | --without-*)
    600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1122    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6011123    # 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
     1124    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1125      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    6041126   { (exit 1); exit 1; }; }
    605     ac_package=`echo $ac_package | sed 's/-/_/g'`
    606     eval "with_$ac_package=no" ;;
     1127    ac_useropt_orig=$ac_useropt
     1128    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1129    case $ac_user_opts in
     1130      *"
     1131"with_$ac_useropt"
     1132"*) ;;
     1133      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1134     ac_unrecognized_sep=', ';;
     1135    esac
     1136    eval with_$ac_useropt=no ;;
    6071137
    6081138  --x)
     
    6241154    x_libraries=$ac_optarg ;;
    6251155
    626   -*) { echo "$as_me: error: unrecognized option: $ac_option
     1156  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    6271157Try \`$0 --help' for more information." >&2
    6281158   { (exit 1); exit 1; }; }
     
    6331163    # Reject names that are not valid shell variable names.
    6341164    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     1165      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6361166   { (exit 1); exit 1; }; }
    637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    638     eval "$ac_envvar='$ac_optarg'"
     1167    eval $ac_envvar=\$ac_optarg
    6391168    export $ac_envvar ;;
    6401169
    6411170  *)
    6421171    # FIXME: should be removed in autoconf 3.0.
    643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1172    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    6441173    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1174      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    6461175    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    6471176    ;;
     
    6521181if test -n "$ac_prev"; then
    6531182  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    654   { echo "$as_me: error: missing argument to $ac_option" >&2
     1183  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    6551184   { (exit 1); exit 1; }; }
    6561185fi
    6571186
    658 # Be sure to have absolute paths.
    659 for ac_var in exec_prefix prefix
     1187if test -n "$ac_unrecognized_opts"; then
     1188  case $enable_option_checking in
     1189    no) ;;
     1190    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
     1191   { (exit 1); exit 1; }; } ;;
     1192    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1193  esac
     1194fi
     1195
     1196# Check all directory arguments for consistency.
     1197for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1198        datadir sysconfdir sharedstatedir localstatedir includedir \
     1199        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1200        libdir localedir mandir
    6601201do
    661   eval ac_val=$`echo $ac_var`
     1202  eval ac_val=\$$ac_var
     1203  # Remove trailing slashes.
    6621204  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; }; };;
     1205    */ )
     1206      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1207      eval $ac_var=\$ac_val;;
    6661208  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`
     1209  # Be sure to have absolute directory names.
    6741210  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; }; };;
     1211    [\\/$]* | ?:[\\/]* )  continue;;
     1212    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6781213  esac
     1214  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1215   { (exit 1); exit 1; }; }
    6791216done
    6801217
     
    6901227  if test "x$build_alias" = x; then
    6911228    cross_compiling=maybe
    692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1229    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    6931230    If a cross compiler is detected then cross compile mode will be used." >&2
    6941231  elif test "x$build_alias" != "x$host_alias"; then
     
    7031240
    7041241
     1242ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1243ac_ls_di=`ls -di .` &&
     1244ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1245  { $as_echo "$as_me: error: working directory cannot be determined" >&2
     1246   { (exit 1); exit 1; }; }
     1247test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1248  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
     1249   { (exit 1); exit 1; }; }
     1250
     1251
    7051252# Find the source files, if location was not specified.
    7061253if test -z "$srcdir"; then
    7071254  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'`
     1255  # Try the directory containing this script, then the parent directory.
     1256  ac_confdir=`$as_dirname -- "$as_myself" ||
     1257$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1258     X"$as_myself" : 'X\(//\)[^/]' \| \
     1259     X"$as_myself" : 'X\(//\)$' \| \
     1260     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1261$as_echo X"$as_myself" |
     1262    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1263        s//\1/
     1264        q
     1265      }
     1266      /^X\(\/\/\)[^/].*/{
     1267        s//\1/
     1268        q
     1269      }
     1270      /^X\(\/\/\)$/{
     1271        s//\1/
     1272        q
     1273      }
     1274      /^X\(\/\).*/{
     1275        s//\1/
     1276        q
     1277      }
     1278      s/.*/./; q'`
    7211279  srcdir=$ac_confdir
    722   if test ! -r $srcdir/$ac_unique_file; then
     1280  if test ! -r "$srcdir/$ac_unique_file"; then
    7231281    srcdir=..
    7241282  fi
     
    7261284  ac_srcdir_defaulted=no
    7271285fi
    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
     1286if test ! -r "$srcdir/$ac_unique_file"; then
     1287  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1288  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    7311289   { (exit 1); exit 1; }; }
    732   else
    733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1290fi
     1291ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1292ac_abs_confdir=`(
     1293    cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    7341294   { (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
     1295    pwd)`
     1296# When building in place, set srcdir=.
     1297if test "$ac_abs_confdir" = "$ac_pwd"; then
     1298  srcdir=.
     1299fi
     1300# Remove unnecessary trailing slashes from srcdir.
     1301# Double slashes in file names in object file debugging info
     1302# mess up M-x gdb in Emacs.
     1303case $srcdir in
     1304*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1305esac
     1306for ac_var in $ac_precious_vars; do
     1307  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1308  eval ac_env_${ac_var}_value=\$${ac_var}
     1309  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1310  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1311done
    7811312
    7821313#
     
    8071338      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8081339
    809 _ACEOF
    810 
    811   cat <<_ACEOF
    8121340Installation directories:
    8131341  --prefix=PREFIX         install architecture-independent files in PREFIX
    814               [$ac_default_prefix]
     1342                          [$ac_default_prefix]
    8151343  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    816               [PREFIX]
     1344                          [PREFIX]
    8171345
    8181346By default, \`make install' will install all the files in
     
    8241352
    8251353Fine 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]
     1354  --bindir=DIR            user executables [EPREFIX/bin]
     1355  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1356  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1357  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1358  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1359  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1360  --libdir=DIR            object code libraries [EPREFIX/lib]
     1361  --includedir=DIR        C header files [PREFIX/include]
     1362  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1363  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1364  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1365  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1366  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1367  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1368  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
     1369  --htmldir=DIR           html documentation [DOCDIR]
     1370  --dvidir=DIR            dvi documentation [DOCDIR]
     1371  --pdfdir=DIR            pdf documentation [DOCDIR]
     1372  --psdir=DIR             ps documentation [DOCDIR]
    8381373_ACEOF
    8391374
     
    8521387
    8531388Optional Features:
     1389  --disable-option-checking  ignore unrecognized --enable/--with options
    8541390  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    8551391  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    8771413  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8781414              nonstandard directory <lib dir>
    879   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    880               headers in a nonstandard directory <include dir>
     1415  LIBS        libraries to pass to the linker, e.g. -l<library>
     1416  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1417              you have headers in a nonstandard directory <include dir>
    8811418  CXX         C++ compiler command
    8821419  CXXFLAGS    C++ compiler flags
     1420  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
     1421              the first program found out of: `bison -y', `byacc', `yacc'.
     1422  YFLAGS      The list of arguments that will be passed by default to $YACC.
     1423              This script will default YFLAGS to the empty string to avoid a
     1424              default value of `-d' given by some make applications.
    8831425  CPP         C preprocessor
    8841426
     
    8871429
    8881430_ACEOF
     1431ac_status=$?
    8891432fi
    8901433
    8911434if test "$ac_init_help" = "recursive"; then
    8921435  # If there are subdirs, report their specific --help.
    893   ac_popdir=`pwd`
    8941436  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    895     test -d $ac_dir || continue
     1437    test -d "$ac_dir" ||
     1438      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1439      continue
    8961440    ac_builddir=.
    8971441
    898 if test "$ac_dir" != .; then
    899   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    900   # A "../" for each directory in $ac_dir_suffix.
    901   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    902 else
    903   ac_dir_suffix= ac_top_builddir=
    904 fi
     1442case "$ac_dir" in
     1443.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1444*)
     1445  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1446  # A ".." for each directory in $ac_dir_suffix.
     1447  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1448  case $ac_top_builddir_sub in
     1449  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1450  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1451  esac ;;
     1452esac
     1453ac_abs_top_builddir=$ac_pwd
     1454ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1455# for backward compatibility:
     1456ac_top_builddir=$ac_top_build_prefix
    9051457
    9061458case $srcdir in
    907   .)  # No --srcdir option.  We are building in place.
     1459  .)  # We are building in place.
    9081460    ac_srcdir=.
    909     if test -z "$ac_top_builddir"; then
    910        ac_top_srcdir=.
     1461    ac_top_srcdir=$ac_top_builddir_sub
     1462    ac_abs_top_srcdir=$ac_pwd ;;
     1463  [\\/]* | ?:[\\/]* )  # Absolute name.
     1464    ac_srcdir=$srcdir$ac_dir_suffix;
     1465    ac_top_srcdir=$srcdir
     1466    ac_abs_top_srcdir=$srcdir ;;
     1467  *) # Relative name.
     1468    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1469    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1470    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1471esac
     1472ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1473
     1474    cd "$ac_dir" || { ac_status=$?; continue; }
     1475    # Check for guested configure.
     1476    if test -f "$ac_srcdir/configure.gnu"; then
     1477      echo &&
     1478      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1479    elif test -f "$ac_srcdir/configure"; then
     1480      echo &&
     1481      $SHELL "$ac_srcdir/configure" --help=recursive
    9111482    else
    912        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    913     fi ;;
    914   [\\/]* | ?:[\\/]* )  # Absolute path.
    915     ac_srcdir=$srcdir$ac_dir_suffix;
    916     ac_top_srcdir=$srcdir ;;
    917   *) # Relative path.
    918     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    919     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    920 esac
    921 
    922 # Do not use `cd foo && pwd` to compute absolute paths, because
    923 # the directories may not exist.
    924 case `pwd` in
    925 .) ac_abs_builddir="$ac_dir";;
    926 *)
    927   case "$ac_dir" in
    928   .) ac_abs_builddir=`pwd`;;
    929   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    930   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    931   esac;;
    932 esac
    933 case $ac_abs_builddir in
    934 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    935 *)
    936   case ${ac_top_builddir}. in
    937   .) ac_abs_top_builddir=$ac_abs_builddir;;
    938   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    939   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    940   esac;;
    941 esac
    942 case $ac_abs_builddir in
    943 .) ac_abs_srcdir=$ac_srcdir;;
    944 *)
    945   case $ac_srcdir in
    946   .) ac_abs_srcdir=$ac_abs_builddir;;
    947   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    948   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    949   esac;;
    950 esac
    951 case $ac_abs_builddir in
    952 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    953 *)
    954   case $ac_top_srcdir in
    955   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    956   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    957   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    958   esac;;
    959 esac
    960 
    961     cd $ac_dir
    962     # Check for guested configure; otherwise get Cygnus style configure.
    963     if test -f $ac_srcdir/configure.gnu; then
    964       echo
    965       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    966     elif test -f $ac_srcdir/configure; then
    967       echo
    968       $SHELL $ac_srcdir/configure  --help=recursive
    969     elif test -f $ac_srcdir/configure.ac ||
    970        test -f $ac_srcdir/configure.in; then
    971       echo
    972       $ac_configure --help
    973     else
    974       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    975     fi
    976     cd $ac_popdir
     1483      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1484    fi || ac_status=$?
     1485    cd "$ac_pwd" || { ac_status=$?; break; }
    9771486  done
    9781487fi
    9791488
    980 test -n "$ac_init_help" && exit 0
     1489test -n "$ac_init_help" && exit $ac_status
    9811490if $ac_init_version; then
    9821491  cat <<\_ACEOF
    983 
    984 Copyright (C) 2003 Free Software Foundation, Inc.
     1492configure
     1493generated by GNU Autoconf 2.63
     1494
     1495Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     14962002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    9851497This configure script is free software; the Free Software Foundation
    9861498gives unlimited permission to copy, distribute and modify it.
    9871499_ACEOF
    988   exit 0
    989 fi
    990 exec 5>config.log
    991 cat >&5 <<_ACEOF
     1500  exit
     1501fi
     1502cat >config.log <<_ACEOF
    9921503This file contains any messages produced by compilers while
    9931504running configure, to aid debugging if configure makes a mistake.
    9941505
    9951506It was created by $as_me, which was
    996 generated by GNU Autoconf 2.59.  Invocation command line was
     1507generated by GNU Autoconf 2.63.  Invocation command line was
    9971508
    9981509  $ $0 $@
    9991510
    10001511_ACEOF
     1512exec 5>>config.log
    10011513{
    10021514cat <<_ASUNAME
     
    10171529/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10181530/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1019 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1531/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10201532/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10211533/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10291541  IFS=$as_save_IFS
    10301542  test -z "$as_dir" && as_dir=.
    1031   echo "PATH: $as_dir"
     1543  $as_echo "PATH: $as_dir"
    10321544done
     1545IFS=$as_save_IFS
    10331546
    10341547} >&5
     
    10521565ac_configure_args0=
    10531566ac_configure_args1=
    1054 ac_sep=
    10551567ac_must_keep_next=false
    10561568for ac_pass in 1 2
     
    10631575    | -silent | --silent | --silen | --sile | --sil)
    10641576      continue ;;
    1065     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1066       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1577    *\'*)
     1578      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10671579    esac
    10681580    case $ac_pass in
     
    10851597    esac
    10861598      fi
    1087       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1088       # Get rid of the leading space.
    1089       ac_sep=" "
     1599      ac_configure_args="$ac_configure_args '$ac_arg'"
    10901600      ;;
    10911601    esac
     
    10981608# config.log.  We remove comments because anyway the quotes in there
    10991609# would cause problems or look ugly.
    1100 # WARNING: Be sure not to use single quotes in there, as some shells,
    1101 # such as our DU 5.0 friend, will then `close' the trap.
     1610# WARNING: Use '\'' to represent an apostrophe within the trap.
     1611# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    11021612trap 'exit_status=$?
    11031613  # Save into config.log some information that might help in debugging.
     
    11121622    echo
    11131623    # The following way of writing the cache mishandles newlines in values,
    1114 {
     1624(
     1625  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1626    eval ac_val=\$$ac_var
     1627    case $ac_val in #(
     1628    *${as_nl}*)
     1629      case $ac_var in #(
     1630      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     1631$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     1632      esac
     1633      case $ac_var in #(
     1634      _ | IFS | as_nl) ;; #(
     1635      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     1636      *) $as_unset $ac_var ;;
     1637      esac ;;
     1638    esac
     1639  done
    11151640  (set) 2>&1 |
    1116     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1117     *ac_space=\ *)
     1641    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1642    *${as_nl}ac_space=\ *)
    11181643      sed -n \
    1119     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1120       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1644    "s/'\''/'\''\\\\'\'''\''/g;
     1645      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1646      ;; #(
     1647    *)
     1648      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11211649      ;;
    1122     *)
    1123       sed -n \
    1124     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1125       ;;
    1126     esac;
    1127 }
     1650    esac |
     1651    sort
     1652)
    11281653    echo
    11291654
     
    11361661    for ac_var in $ac_subst_vars
    11371662    do
    1138       eval ac_val=$`echo $ac_var`
    1139       echo "$ac_var='"'"'$ac_val'"'"'"
     1663      eval ac_val=\$$ac_var
     1664      case $ac_val in
     1665      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1666      esac
     1667      $as_echo "$ac_var='\''$ac_val'\''"
    11401668    done | sort
    11411669    echo
     
    11431671    if test -n "$ac_subst_files"; then
    11441672      cat <<\_ASBOX
    1145 ## ------------- ##
    1146 ## Output files. ##
    1147 ## ------------- ##
     1673## ------------------- ##
     1674## File substitutions. ##
     1675## ------------------- ##
    11481676_ASBOX
    11491677      echo
    11501678      for ac_var in $ac_subst_files
    11511679      do
    1152     eval ac_val=$`echo $ac_var`
    1153     echo "$ac_var='"'"'$ac_val'"'"'"
     1680    eval ac_val=\$$ac_var
     1681    case $ac_val in
     1682    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1683    esac
     1684    $as_echo "$ac_var='\''$ac_val'\''"
    11541685      done | sort
    11551686      echo
     
    11631694_ASBOX
    11641695      echo
    1165       sed "/^$/d" confdefs.h | sort
     1696      cat confdefs.h
    11661697      echo
    11671698    fi
    11681699    test "$ac_signal" != 0 &&
    1169       echo "$as_me: caught signal $ac_signal"
    1170     echo "$as_me: exit $exit_status"
     1700      $as_echo "$as_me: caught signal $ac_signal"
     1701    $as_echo "$as_me: exit $exit_status"
    11711702  } >&5
    1172   rm -f core *.core &&
    1173   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1703  rm -f core *.core core.conftest.* &&
     1704    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11741705    exit $exit_status
    1175      ' 0
     1706' 0
    11761707for ac_signal in 1 2 13 15; do
    11771708  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11801711
    11811712# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1182 rm -rf conftest* confdefs.h
    1183 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1184 echo >confdefs.h
     1713rm -f -r conftest* confdefs.h
    11851714
    11861715# Predefined preprocessor variables.
     
    12121741
    12131742# Let the site file select an alternate cache file if it wants to.
    1214 # Prefer explicitly selected file to automatically selected ones.
    1215 if test -z "$CONFIG_SITE"; then
    1216   if test "x$prefix" != xNONE; then
    1217     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1218   else
    1219     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1220   fi
    1221 fi
    1222 for ac_site_file in $CONFIG_SITE; do
     1743# Prefer an explicitly selected file to automatically selected ones.
     1744ac_site_file1=NONE
     1745ac_site_file2=NONE
     1746if test -n "$CONFIG_SITE"; then
     1747  ac_site_file1=$CONFIG_SITE
     1748elif test "x$prefix" != xNONE; then
     1749  ac_site_file1=$prefix/share/config.site
     1750  ac_site_file2=$prefix/etc/config.site
     1751else
     1752  ac_site_file1=$ac_default_prefix/share/config.site
     1753  ac_site_file2=$ac_default_prefix/etc/config.site
     1754fi
     1755for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     1756do
     1757  test "x$ac_site_file" = xNONE && continue
    12231758  if test -r "$ac_site_file"; then
    1224     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1225 echo "$as_me: loading site script $ac_site_file" >&6;}
     1759    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1760$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    12261761    sed 's/^/| /' "$ac_site_file" >&5
    12271762    . "$ac_site_file"
     
    12331768  # files actually), so we avoid doing that.
    12341769  if test -f "$cache_file"; then
    1235     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1236 echo "$as_me: loading cache $cache_file" >&6;}
     1770    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1771$as_echo "$as_me: loading cache $cache_file" >&6;}
    12371772    case $cache_file in
    1238       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1239       *)                      . ./$cache_file;;
     1773      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1774      *)                      . "./$cache_file";;
    12401775    esac
    12411776  fi
    12421777else
    1243   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1244 echo "$as_me: creating cache $cache_file" >&6;}
     1778  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1779$as_echo "$as_me: creating cache $cache_file" >&6;}
    12451780  >$cache_file
    12461781fi
     
    12491784# value.
    12501785ac_cache_corrupted=false
    1251 for ac_var in `(set) 2>&1 |
    1252            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1786for ac_var in $ac_precious_vars; do
    12531787  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12541788  eval ac_new_set=\$ac_env_${ac_var}_set
    1255   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1256   eval ac_new_val="\$ac_env_${ac_var}_value"
     1789  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1790  eval ac_new_val=\$ac_env_${ac_var}_value
    12571791  case $ac_old_set,$ac_new_set in
    12581792    set,)
    1259       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1260 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1793      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1794$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    12611795      ac_cache_corrupted=: ;;
    12621796    ,set)
    1263       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1264 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1797      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1798$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    12651799      ac_cache_corrupted=: ;;
    12661800    ,);;
    12671801    *)
    12681802      if test "x$ac_old_val" != "x$ac_new_val"; then
    1269     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1270 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1271     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1272 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1273     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1274 echo "$as_me:   current value: $ac_new_val" >&2;}
    1275     ac_cache_corrupted=:
     1803    # differences in whitespace do not lead to failure.
     1804    ac_old_val_w=`echo x $ac_old_val`
     1805    ac_new_val_w=`echo x $ac_new_val`
     1806    if test "$ac_old_val_w" != "$ac_new_val_w"; then
     1807      { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1808$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1809      ac_cache_corrupted=:
     1810    else
     1811      { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1812$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     1813      eval $ac_var=\$ac_old_val
     1814    fi
     1815    { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     1816$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     1817    { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     1818$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    12761819      fi;;
    12771820  esac
     
    12791822  if test "$ac_new_set" = set; then
    12801823    case $ac_new_val in
    1281     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1282       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1824    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12831825    *) ac_arg=$ac_var=$ac_new_val ;;
    12841826    esac
     
    12901832done
    12911833if $ac_cache_corrupted; then
    1292   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1294   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1295 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1834  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     1835$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     1836  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1837$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1838  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1839$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    12961840   { (exit 1); exit 1; }; }
    12971841fi
     1842
     1843
     1844
     1845
     1846
     1847
     1848
     1849
     1850
     1851
     1852
     1853
     1854
     1855
     1856
     1857
    12981858
    12991859ac_ext=c
     
    13041864
    13051865
    1306 
    1307 
    1308 
    1309 
    1310 
    1311 
    1312 
    1313 
    1314 
    1315 
    1316 
    1317 
    1318 
    1319 
    1320 
    1321 
    1322 
    1323           ac_config_headers="$ac_config_headers config.h"
     1866ac_config_headers="$ac_config_headers config.h"
    13241867
    13251868
     
    13551898fi
    13561899
    1357 # Check whether --enable-corba or --disable-corba was given.
     1900# Check whether --enable-corba was given.
    13581901if test "${enable_corba+set}" = set; then
    1359   enableval="$enable_corba"
    1360   USE_CORBA=$enableval
     1902  enableval=$enable_corba; USE_CORBA=$enableval
    13611903else
    13621904  USE_CORBA=no
    1363 fi;
     1905fi
     1906
    13641907if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    13651908  USE_CORBA=1
    13661909  cat >>confdefs.h <<\_ACEOF
    1367 #define USE_CORBA
     1910#define USE_CORBA /**/
    13681911_ACEOF
    13691912
     
    13741917
    13751918
    1376 # Check whether --with-micodir or --without-micodir was given.
     1919# Check whether --with-micodir was given.
    13771920if test "${with_micodir+set}" = set; then
    1378   withval="$with_micodir"
    1379   MICO_DIR=$withval
     1921  withval=$with_micodir; MICO_DIR=$withval
    13801922else
    13811923  MICO_DIR="default"
    1382 fi;
     1924fi
     1925
    13831926cat >>confdefs.h <<_ACEOF
    13841927#define MICO_DIR "$MICO_DIR"
     
    13871930
    13881931
    1389 # Check whether --enable-z3950 or --disable-z3950 was given.
     1932# Check whether --enable-z3950 was given.
    13901933if test "${enable_z3950+set}" = set; then
    1391   enableval="$enable_z3950"
    1392   USE_Z3950=$enableval
     1934  enableval=$enable_z3950; USE_Z3950=$enableval
    13931935else
    13941936  USE_Z3950=no
    1395 fi;
     1937fi
     1938
    13961939if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    13971940  USE_Z3950=1
    13981941  cat >>confdefs.h <<\_ACEOF
    1399 #define USE_Z3950
     1942#define USE_Z3950 /**/
    14001943_ACEOF
    14011944
     
    14051948
    14061949
    1407 # Check whether --enable-yaz or --disable-yaz was given.
     1950# Check whether --enable-yaz was given.
    14081951if test "${enable_yaz+set}" = set; then
    1409   enableval="$enable_yaz"
    1410   USE_YAZ=$enableval
     1952  enableval=$enable_yaz; USE_YAZ=$enableval
    14111953else
    14121954  USE_YAZ=yes
    1413 fi;
     1955fi
     1956
    14141957if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
    14151958  USE_YAZ=1
    14161959  cat >>confdefs.h <<\_ACEOF
    1417 #define USE_YAZ
     1960#define USE_YAZ /**/
    14181961_ACEOF
    14191962
     
    14231966
    14241967
    1425 # Check whether --enable-java or --disable-java was given.
     1968# Check whether --enable-java was given.
    14261969if test "${enable_java+set}" = set; then
    1427   enableval="$enable_java"
    1428   ENABLE_JAVA=$enableval
     1970  enableval=$enable_java; ENABLE_JAVA=$enableval
    14291971else
    14301972  ENABLE_JAVA=yes
    1431 fi;
     1973fi
     1974
    14321975if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
    14331976  ENABLE_JAVA=1
     
    14431986
    14441987
    1445 # Check whether --enable-wvware or --disable-wvware was given.
     1988# Check whether --enable-wvware was given.
    14461989if test "${enable_wvware+set}" = set; then
    1447   enableval="$enable_wvware"
    1448   USE_WVWARE=$enableval
     1990  enableval=$enable_wvware; USE_WVWARE=$enableval
    14491991else
    14501992  USE_WVWARE=yes
    1451 fi;
     1993fi
     1994
    14521995if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then
    14531996  USE_WVWARE=1
    14541997  cat >>confdefs.h <<\_ACEOF
    1455 #define USE_WVWARE
     1998#define USE_WVWARE /**/
    14561999_ACEOF
    14572000
     
    14612004
    14622005
    1463 # Check whether --enable-jdbm or --disable-jdbm was given.
     2006# Check whether --enable-jdbm was given.
    14642007if test "${enable_jdbm+set}" = set; then
    1465   enableval="$enable_jdbm"
    1466   USE_JDBM=$enableval
     2008  enableval=$enable_jdbm; USE_JDBM=$enableval
    14672009else
    14682010  USE_JDBM=yes
    1469 fi;
     2011fi
     2012
    14702013if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
    14712014  USE_JDBM=1
    14722015  cat >>confdefs.h <<\_ACEOF
    1473 #define USE_JDBM
     2016#define USE_JDBM /**/
    14742017_ACEOF
    14752018
     
    14792022
    14802023
    1481 # Check whether --enable-gdbm or --disable-gdbm was given.
     2024# Check whether --enable-gdbm was given.
    14822025if test "${enable_gdbm+set}" = set; then
    1483   enableval="$enable_gdbm"
    1484   USE_GDBM=$enableval
     2026  enableval=$enable_gdbm; USE_GDBM=$enableval
    14852027else
    14862028  USE_GDBM=yes
    1487 fi;
     2029fi
     2030
    14882031if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
    14892032  USE_GDBM=1
    14902033  cat >>confdefs.h <<\_ACEOF
    1491 #define USE_GDBM
     2034#define USE_GDBM /**/
    14922035_ACEOF
    14932036
     
    14972040
    14982041
    1499 # Check whether --enable-accentfold or --disable-accentfold was given.
     2042# Check whether --enable-accentfold was given.
    15002043if test "${enable_accentfold+set}" = set; then
    1501   enableval="$enable_accentfold"
    1502   ENABLE_ACCENTFOLD=$enableval
     2044  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
    15032045else
    15042046  ENABLE_ACCENTFOLD=yes
    1505 fi;
     2047fi
     2048
    15062049if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    15072050  ENABLE_ACCENTFOLD=1
    15082051  cat >>confdefs.h <<\_ACEOF
    1509 #define ENABLE_ACCENTFOLD
     2052#define ENABLE_ACCENTFOLD /**/
    15102053_ACEOF
    15112054
     
    15152058
    15162059
    1517 # Check whether --enable-sqlite or --disable-sqlite was given.
     2060# Check whether --enable-sqlite was given.
    15182061if test "${enable_sqlite+set}" = set; then
    1519   enableval="$enable_sqlite"
    1520   USE_SQLITE=$enableval
     2062  enableval=$enable_sqlite; USE_SQLITE=$enableval
    15212063else
    15222064  USE_SQLITE=yes
    1523 fi;
     2065fi
     2066
    15242067if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
    15252068  USE_SQLITE=1
    15262069  cat >>confdefs.h <<\_ACEOF
    1527 #define USE_SQLITE
     2070#define USE_SQLITE /**/
    15282071_ACEOF
    15292072
     
    15492092  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    15502093set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1551 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2094{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2095$as_echo_n "checking for $ac_word... " >&6; }
    15532096if test "${ac_cv_prog_CC+set}" = set; then
    1554   echo $ECHO_N "(cached) $ECHO_C" >&6
     2097  $as_echo_n "(cached) " >&6
    15552098else
    15562099  if test -n "$CC"; then
     
    15632106  test -z "$as_dir" && as_dir=.
    15642107  for ac_exec_ext in '' $ac_executable_extensions; do
    1565   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2108  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15662109    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1567     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2110    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    15682111    break 2
    15692112  fi
    15702113done
    15712114done
     2115IFS=$as_save_IFS
    15722116
    15732117fi
     
    15752119CC=$ac_cv_prog_CC
    15762120if test -n "$CC"; then
    1577   echo "$as_me:$LINENO: result: $CC" >&5
    1578 echo "${ECHO_T}$CC" >&6
    1579 else
    1580   echo "$as_me:$LINENO: result: no" >&5
    1581 echo "${ECHO_T}no" >&6
    1582 fi
     2121  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2122$as_echo "$CC" >&6; }
     2123else
     2124  { $as_echo "$as_me:$LINENO: result: no" >&5
     2125$as_echo "no" >&6; }
     2126fi
     2127
    15832128
    15842129fi
     
    15872132  # Extract the first word of "gcc", so it can be a program name with args.
    15882133set dummy gcc; ac_word=$2
    1589 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2134{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2135$as_echo_n "checking for $ac_word... " >&6; }
    15912136if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1592   echo $ECHO_N "(cached) $ECHO_C" >&6
     2137  $as_echo_n "(cached) " >&6
    15932138else
    15942139  if test -n "$ac_ct_CC"; then
     
    16012146  test -z "$as_dir" && as_dir=.
    16022147  for ac_exec_ext in '' $ac_executable_extensions; do
    1603   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2148  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16042149    ac_cv_prog_ac_ct_CC="gcc"
    1605     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2150    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    16062151    break 2
    16072152  fi
    16082153done
    16092154done
     2155IFS=$as_save_IFS
    16102156
    16112157fi
     
    16132159ac_ct_CC=$ac_cv_prog_ac_ct_CC
    16142160if test -n "$ac_ct_CC"; then
    1615   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1616 echo "${ECHO_T}$ac_ct_CC" >&6
    1617 else
    1618   echo "$as_me:$LINENO: result: no" >&5
    1619 echo "${ECHO_T}no" >&6
    1620 fi
    1621 
    1622   CC=$ac_ct_CC
     2161  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2162$as_echo "$ac_ct_CC" >&6; }
     2163else
     2164  { $as_echo "$as_me:$LINENO: result: no" >&5
     2165$as_echo "no" >&6; }
     2166fi
     2167
     2168  if test "x$ac_ct_CC" = x; then
     2169    CC=""
     2170  else
     2171    case $cross_compiling:$ac_tool_warned in
     2172yes:)
     2173{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2174$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2175ac_tool_warned=yes ;;
     2176esac
     2177    CC=$ac_ct_CC
     2178  fi
    16232179else
    16242180  CC="$ac_cv_prog_CC"
     
    16262182
    16272183if test -z "$CC"; then
    1628   if test -n "$ac_tool_prefix"; then
    1629   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2184          if test -n "$ac_tool_prefix"; then
     2185    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    16302186set dummy ${ac_tool_prefix}cc; ac_word=$2
    1631 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2187{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2188$as_echo_n "checking for $ac_word... " >&6; }
    16332189if test "${ac_cv_prog_CC+set}" = set; then
    1634   echo $ECHO_N "(cached) $ECHO_C" >&6
     2190  $as_echo_n "(cached) " >&6
    16352191else
    16362192  if test -n "$CC"; then
     
    16432199  test -z "$as_dir" && as_dir=.
    16442200  for ac_exec_ext in '' $ac_executable_extensions; do
    1645   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2201  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16462202    ac_cv_prog_CC="${ac_tool_prefix}cc"
    1647     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2203    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    16482204    break 2
    16492205  fi
    16502206done
    16512207done
     2208IFS=$as_save_IFS
    16522209
    16532210fi
     
    16552212CC=$ac_cv_prog_CC
    16562213if test -n "$CC"; then
    1657   echo "$as_me:$LINENO: result: $CC" >&5
    1658 echo "${ECHO_T}$CC" >&6
    1659 else
    1660   echo "$as_me:$LINENO: result: no" >&5
    1661 echo "${ECHO_T}no" >&6
    1662 fi
    1663 
    1664 fi
    1665 if test -z "$ac_cv_prog_CC"; then
    1666   ac_ct_CC=$CC
    1667   # Extract the first word of "cc", so it can be a program name with args.
    1668 set dummy cc; ac_word=$2
    1669 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1671 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1672   echo $ECHO_N "(cached) $ECHO_C" >&6
    1673 else
    1674   if test -n "$ac_ct_CC"; then
    1675   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1676 else
    1677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1678 for as_dir in $PATH
    1679 do
    1680   IFS=$as_save_IFS
    1681   test -z "$as_dir" && as_dir=.
    1682   for ac_exec_ext in '' $ac_executable_extensions; do
    1683   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1684     ac_cv_prog_ac_ct_CC="cc"
    1685     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1686     break 2
     2214  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2215$as_echo "$CC" >&6; }
     2216else
     2217  { $as_echo "$as_me:$LINENO: result: no" >&5
     2218$as_echo "no" >&6; }
     2219fi
     2220
     2221
    16872222  fi
    1688 done
    1689 done
    1690 
    1691 fi
    1692 fi
    1693 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1694 if test -n "$ac_ct_CC"; then
    1695   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1696 echo "${ECHO_T}$ac_ct_CC" >&6
    1697 else
    1698   echo "$as_me:$LINENO: result: no" >&5
    1699 echo "${ECHO_T}no" >&6
    1700 fi
    1701 
    1702   CC=$ac_ct_CC
    1703 else
    1704   CC="$ac_cv_prog_CC"
    1705 fi
    1706 
    17072223fi
    17082224if test -z "$CC"; then
    17092225  # Extract the first word of "cc", so it can be a program name with args.
    17102226set dummy cc; ac_word=$2
    1711 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2227{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2228$as_echo_n "checking for $ac_word... " >&6; }
    17132229if test "${ac_cv_prog_CC+set}" = set; then
    1714   echo $ECHO_N "(cached) $ECHO_C" >&6
     2230  $as_echo_n "(cached) " >&6
    17152231else
    17162232  if test -n "$CC"; then
     
    17242240  test -z "$as_dir" && as_dir=.
    17252241  for ac_exec_ext in '' $ac_executable_extensions; do
    1726   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2242  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17272243    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    17282244       ac_prog_rejected=yes
     
    17302246     fi
    17312247    ac_cv_prog_CC="cc"
    1732     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2248    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    17332249    break 2
    17342250  fi
    17352251done
    17362252done
     2253IFS=$as_save_IFS
    17372254
    17382255if test $ac_prog_rejected = yes; then
     
    17522269CC=$ac_cv_prog_CC
    17532270if test -n "$CC"; then
    1754   echo "$as_me:$LINENO: result: $CC" >&5
    1755 echo "${ECHO_T}$CC" >&6
    1756 else
    1757   echo "$as_me:$LINENO: result: no" >&5
    1758 echo "${ECHO_T}no" >&6
    1759 fi
     2271  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2272$as_echo "$CC" >&6; }
     2273else
     2274  { $as_echo "$as_me:$LINENO: result: no" >&5
     2275$as_echo "no" >&6; }
     2276fi
     2277
    17602278
    17612279fi
    17622280if test -z "$CC"; then
    17632281  if test -n "$ac_tool_prefix"; then
    1764   for ac_prog in cl
     2282  for ac_prog in cl.exe
    17652283  do
    17662284    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    17672285set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2286{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2287$as_echo_n "checking for $ac_word... " >&6; }
    17702288if test "${ac_cv_prog_CC+set}" = set; then
    1771   echo $ECHO_N "(cached) $ECHO_C" >&6
     2289  $as_echo_n "(cached) " >&6
    17722290else
    17732291  if test -n "$CC"; then
     
    17802298  test -z "$as_dir" && as_dir=.
    17812299  for ac_exec_ext in '' $ac_executable_extensions; do
    1782   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2300  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17832301    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1784     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2302    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    17852303    break 2
    17862304  fi
    17872305done
    17882306done
     2307IFS=$as_save_IFS
    17892308
    17902309fi
     
    17922311CC=$ac_cv_prog_CC
    17932312if test -n "$CC"; then
    1794   echo "$as_me:$LINENO: result: $CC" >&5
    1795 echo "${ECHO_T}$CC" >&6
    1796 else
    1797   echo "$as_me:$LINENO: result: no" >&5
    1798 echo "${ECHO_T}no" >&6
    1799 fi
     2313  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2314$as_echo "$CC" >&6; }
     2315else
     2316  { $as_echo "$as_me:$LINENO: result: no" >&5
     2317$as_echo "no" >&6; }
     2318fi
     2319
    18002320
    18012321    test -n "$CC" && break
     
    18042324if test -z "$CC"; then
    18052325  ac_ct_CC=$CC
    1806   for ac_prog in cl
     2326  for ac_prog in cl.exe
    18072327do
    18082328  # Extract the first word of "$ac_prog", so it can be a program name with args.
    18092329set dummy $ac_prog; ac_word=$2
    1810 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2330{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2331$as_echo_n "checking for $ac_word... " >&6; }
    18122332if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1813   echo $ECHO_N "(cached) $ECHO_C" >&6
     2333  $as_echo_n "(cached) " >&6
    18142334else
    18152335  if test -n "$ac_ct_CC"; then
     
    18222342  test -z "$as_dir" && as_dir=.
    18232343  for ac_exec_ext in '' $ac_executable_extensions; do
    1824   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2344  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18252345    ac_cv_prog_ac_ct_CC="$ac_prog"
    1826     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2346    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18272347    break 2
    18282348  fi
    18292349done
    18302350done
     2351IFS=$as_save_IFS
    18312352
    18322353fi
     
    18342355ac_ct_CC=$ac_cv_prog_ac_ct_CC
    18352356if test -n "$ac_ct_CC"; then
    1836   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1837 echo "${ECHO_T}$ac_ct_CC" >&6
    1838 else
    1839   echo "$as_me:$LINENO: result: no" >&5
    1840 echo "${ECHO_T}no" >&6
    1841 fi
     2357  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2358$as_echo "$ac_ct_CC" >&6; }
     2359else
     2360  { $as_echo "$as_me:$LINENO: result: no" >&5
     2361$as_echo "no" >&6; }
     2362fi
     2363
    18422364
    18432365  test -n "$ac_ct_CC" && break
    18442366done
    18452367
    1846   CC=$ac_ct_CC
    1847 fi
    1848 
    1849 fi
    1850 
    1851 
    1852 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2368  if test "x$ac_ct_CC" = x; then
     2369    CC=""
     2370  else
     2371    case $cross_compiling:$ac_tool_warned in
     2372yes:)
     2373{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2374$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2375ac_tool_warned=yes ;;
     2376esac
     2377    CC=$ac_ct_CC
     2378  fi
     2379fi
     2380
     2381fi
     2382
     2383
     2384test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2385$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2386{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    18532387See \`config.log' for more details." >&5
    1854 echo "$as_me: error: no acceptable C compiler found in \$PATH
     2388$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    18552389See \`config.log' for more details." >&2;}
    1856    { (exit 1); exit 1; }; }
     2390   { (exit 1); exit 1; }; }; }
    18572391
    18582392# Provide some information about the compiler.
    1859 echo "$as_me:$LINENO:" \
    1860      "checking for C compiler version" >&5
    1861 ac_compiler=`set X $ac_compile; echo $2`
    1862 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1863   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2393$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     2394set X $ac_compile
     2395ac_compiler=$2
     2396{ (ac_try="$ac_compiler --version >&5"
     2397case "(($ac_try" in
     2398  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2399  *) ac_try_echo=$ac_try;;
     2400esac
     2401eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2402$as_echo "$ac_try_echo") >&5
     2403  (eval "$ac_compiler --version >&5") 2>&5
    18642404  ac_status=$?
    1865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2405  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18662406  (exit $ac_status); }
    1867 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1868   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2407{ (ac_try="$ac_compiler -v >&5"
     2408case "(($ac_try" in
     2409  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2410  *) ac_try_echo=$ac_try;;
     2411esac
     2412eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2413$as_echo "$ac_try_echo") >&5
     2414  (eval "$ac_compiler -v >&5") 2>&5
    18692415  ac_status=$?
    1870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2416  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18712417  (exit $ac_status); }
    1872 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1873   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2418{ (ac_try="$ac_compiler -V >&5"
     2419case "(($ac_try" in
     2420  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2421  *) ac_try_echo=$ac_try;;
     2422esac
     2423eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2424$as_echo "$ac_try_echo") >&5
     2425  (eval "$ac_compiler -V >&5") 2>&5
    18742426  ac_status=$?
    1875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2427  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18762428  (exit $ac_status); }
    18772429
     
    18922444_ACEOF
    18932445ac_clean_files_save=$ac_clean_files
    1894 ac_clean_files="$ac_clean_files a.out a.exe b.out"
     2446ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    18952447# Try to create an executable without -o first, disregard a.out.
    18962448# It will help us diagnose broken compilers, and finding out an intuition
    18972449# of exeext.
    1898 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1899 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    1900 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1901 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1902   (eval $ac_link_default) 2>&5
     2450{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2451$as_echo_n "checking for C compiler default output file name... " >&6; }
     2452ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2453
     2454# The possible output files:
     2455ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2456
     2457ac_rmfiles=
     2458for ac_file in $ac_files
     2459do
     2460  case $ac_file in
     2461    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2462    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2463  esac
     2464done
     2465rm -f $ac_rmfiles
     2466
     2467if { (ac_try="$ac_link_default"
     2468case "(($ac_try" in
     2469  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2470  *) ac_try_echo=$ac_try;;
     2471esac
     2472eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2473$as_echo "$ac_try_echo") >&5
     2474  (eval "$ac_link_default") 2>&5
    19032475  ac_status=$?
    1904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2476  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19052477  (exit $ac_status); }; then
    1906   # Find the output, starting from the most likely.  This scheme is
    1907 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1908 # resort.
    1909 
    1910 # Be careful to initialize this variable, since it used to be cached.
    1911 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1912 ac_cv_exeext=
    1913 # b.out is created by i960 compilers.
    1914 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2478  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2479# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2480# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2481# so that the user can short-circuit this test for compilers unknown to
     2482# Autoconf.
     2483for ac_file in $ac_files ''
    19152484do
    19162485  test -f "$ac_file" || continue
    19172486  case $ac_file in
    1918     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1919     ;;
    1920     conftest.$ac_ext )
    1921     # This is the source file.
     2487    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    19222488    ;;
    19232489    [ab].out )
     
    19262492    break;;
    19272493    *.* )
    1928     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1929     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1930     # but it would be cool to find out if it's true.  Does anybody
    1931     # maintain Libtool? --akim.
    1932     export ac_cv_exeext
     2494        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2495    then :; else
     2496       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2497    fi
     2498    # We set ac_cv_exeext here because the later test for it is not
     2499    # safe: cross compilers may not add the suffix if given an `-o'
     2500    # argument, so we may need to know it at that point already.
     2501    # Even if this section looks crufty: it has the advantage of
     2502    # actually working.
    19332503    break;;
    19342504    * )
     
    19362506  esac
    19372507done
    1938 else
    1939   echo "$as_me: failed program was:" >&5
     2508test "$ac_cv_exeext" = no && ac_cv_exeext=
     2509
     2510else
     2511  ac_file=''
     2512fi
     2513
     2514{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2515$as_echo "$ac_file" >&6; }
     2516if test -z "$ac_file"; then
     2517  $as_echo "$as_me: failed program was:" >&5
    19402518sed 's/^/| /' conftest.$ac_ext >&5
    19412519
    1942 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
     2520{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2521$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2522{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    19432523See \`config.log' for more details." >&5
    1944 echo "$as_me: error: C compiler cannot create executables
     2524$as_echo "$as_me: error: C compiler cannot create executables
    19452525See \`config.log' for more details." >&2;}
    1946    { (exit 77); exit 77; }; }
     2526   { (exit 77); exit 77; }; }; }
    19472527fi
    19482528
    19492529ac_exeext=$ac_cv_exeext
    1950 echo "$as_me:$LINENO: result: $ac_file" >&5
    1951 echo "${ECHO_T}$ac_file" >&6
    1952 
    1953 # Check the compiler produces executables we can run.  If not, either
     2530
     2531# Check that the compiler produces executables we can run.  If not, either
    19542532# the compiler is broken, or we cross compile.
    1955 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1956 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2533{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2534$as_echo_n "checking whether the C compiler works... " >&6; }
    19572535# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    19582536# If not cross compiling, check that we can run a simple program.
    19592537if test "$cross_compiling" != yes; then
    19602538  if { ac_try='./$ac_file'
    1961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1962   (eval $ac_try) 2>&5
     2539  { (case "(($ac_try" in
     2540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2541  *) ac_try_echo=$ac_try;;
     2542esac
     2543eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2544$as_echo "$ac_try_echo") >&5
     2545  (eval "$ac_try") 2>&5
    19632546  ac_status=$?
    1964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2547  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19652548  (exit $ac_status); }; }; then
    19662549    cross_compiling=no
     
    19692552    cross_compiling=yes
    19702553    else
    1971     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2554    { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2555$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2556{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    19722557If you meant to cross compile, use \`--host'.
    19732558See \`config.log' for more details." >&5
    1974 echo "$as_me: error: cannot run C compiled programs.
     2559$as_echo "$as_me: error: cannot run C compiled programs.
    19752560If you meant to cross compile, use \`--host'.
    19762561See \`config.log' for more details." >&2;}
    1977    { (exit 1); exit 1; }; }
     2562   { (exit 1); exit 1; }; }; }
    19782563    fi
    19792564  fi
    19802565fi
    1981 echo "$as_me:$LINENO: result: yes" >&5
    1982 echo "${ECHO_T}yes" >&6
    1983 
    1984 rm -f a.out a.exe conftest$ac_cv_exeext b.out
     2566{ $as_echo "$as_me:$LINENO: result: yes" >&5
     2567$as_echo "yes" >&6; }
     2568
     2569rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    19852570ac_clean_files=$ac_clean_files_save
    1986 # Check the compiler produces executables we can run.  If not, either
     2571# Check that the compiler produces executables we can run.  If not, either
    19872572# the compiler is broken, or we cross compile.
    1988 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1989 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1990 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1991 echo "${ECHO_T}$cross_compiling" >&6
    1992 
    1993 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1994 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1996   (eval $ac_link) 2>&5
     2573{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2574$as_echo_n "checking whether we are cross compiling... " >&6; }
     2575{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2576$as_echo "$cross_compiling" >&6; }
     2577
     2578{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2579$as_echo_n "checking for suffix of executables... " >&6; }
     2580if { (ac_try="$ac_link"
     2581case "(($ac_try" in
     2582  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2583  *) ac_try_echo=$ac_try;;
     2584esac
     2585eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2586$as_echo "$ac_try_echo") >&5
     2587  (eval "$ac_link") 2>&5
    19972588  ac_status=$?
    1998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2589  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19992590  (exit $ac_status); }; then
    20002591  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     
    20052596  test -f "$ac_file" || continue
    20062597  case $ac_file in
    2007     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2598    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    20082599    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2009       export ac_cv_exeext
    20102600      break;;
    20112601    * ) break;;
     
    20132603done
    20142604else
    2015   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2605  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2606$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2607{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    20162608See \`config.log' for more details." >&5
    2017 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2609$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    20182610See \`config.log' for more details." >&2;}
    2019    { (exit 1); exit 1; }; }
     2611   { (exit 1); exit 1; }; }; }
    20202612fi
    20212613
    20222614rm -f conftest$ac_cv_exeext
    2023 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2024 echo "${ECHO_T}$ac_cv_exeext" >&6
     2615{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2616$as_echo "$ac_cv_exeext" >&6; }
    20252617
    20262618rm -f conftest.$ac_ext
    20272619EXEEXT=$ac_cv_exeext
    20282620ac_exeext=$EXEEXT
    2029 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2030 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2621{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2622$as_echo_n "checking for suffix of object files... " >&6; }
    20312623if test "${ac_cv_objext+set}" = set; then
    2032   echo $ECHO_N "(cached) $ECHO_C" >&6
     2624  $as_echo_n "(cached) " >&6
    20332625else
    20342626  cat >conftest.$ac_ext <<_ACEOF
     
    20482640_ACEOF
    20492641rm -f conftest.o conftest.obj
    2050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2051   (eval $ac_compile) 2>&5
     2642if { (ac_try="$ac_compile"
     2643case "(($ac_try" in
     2644  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2645  *) ac_try_echo=$ac_try;;
     2646esac
     2647eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2648$as_echo "$ac_try_echo") >&5
     2649  (eval "$ac_compile") 2>&5
    20522650  ac_status=$?
    2053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2651  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20542652  (exit $ac_status); }; then
    2055   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2653  for ac_file in conftest.o conftest.obj conftest.*; do
     2654  test -f "$ac_file" || continue;
    20562655  case $ac_file in
    2057     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2656    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    20582657    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    20592658       break;;
     
    20612660done
    20622661else
    2063   echo "$as_me: failed program was:" >&5
     2662  $as_echo "$as_me: failed program was:" >&5
    20642663sed 's/^/| /' conftest.$ac_ext >&5
    20652664
    2066 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2665{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2666$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2667{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    20672668See \`config.log' for more details." >&5
    2068 echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2669$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    20692670See \`config.log' for more details." >&2;}
    2070    { (exit 1); exit 1; }; }
     2671   { (exit 1); exit 1; }; }; }
    20712672fi
    20722673
    20732674rm -f conftest.$ac_cv_objext conftest.$ac_ext
    20742675fi
    2075 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2076 echo "${ECHO_T}$ac_cv_objext" >&6
     2676{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2677$as_echo "$ac_cv_objext" >&6; }
    20772678OBJEXT=$ac_cv_objext
    20782679ac_objext=$OBJEXT
    2079 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2080 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2680{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2681$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    20812682if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2082   echo $ECHO_N "(cached) $ECHO_C" >&6
     2683  $as_echo_n "(cached) " >&6
    20832684else
    20842685  cat >conftest.$ac_ext <<_ACEOF
     
    21012702_ACEOF
    21022703rm -f conftest.$ac_objext
    2103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2104   (eval $ac_compile) 2>conftest.er1
     2704if { (ac_try="$ac_compile"
     2705case "(($ac_try" in
     2706  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2707  *) ac_try_echo=$ac_try;;
     2708esac
     2709eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2710$as_echo "$ac_try_echo") >&5
     2711  (eval "$ac_compile") 2>conftest.er1
    21052712  ac_status=$?
    21062713  grep -v '^ *+' conftest.er1 >conftest.err
    21072714  rm -f conftest.er1
    21082715  cat conftest.err >&5
    2109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2110   (exit $ac_status); } &&
    2111      { ac_try='test -z "$ac_c_werror_flag"
    2112              || test ! -s conftest.err'
    2113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2114   (eval $ac_try) 2>&5
    2115   ac_status=$?
    2116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2117   (exit $ac_status); }; } &&
    2118      { ac_try='test -s conftest.$ac_objext'
    2119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2120   (eval $ac_try) 2>&5
    2121   ac_status=$?
    2122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2123   (exit $ac_status); }; }; then
     2716  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2717  (exit $ac_status); } && {
     2718     test -z "$ac_c_werror_flag" ||
     2719     test ! -s conftest.err
     2720       } && test -s conftest.$ac_objext; then
    21242721  ac_compiler_gnu=yes
    21252722else
    2126   echo "$as_me: failed program was:" >&5
     2723  $as_echo "$as_me: failed program was:" >&5
    21272724sed 's/^/| /' conftest.$ac_ext >&5
    21282725
    2129 ac_compiler_gnu=no
    2130 fi
    2131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2726    ac_compiler_gnu=no
     2727fi
     2728
     2729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    21322730ac_cv_c_compiler_gnu=$ac_compiler_gnu
    21332731
    21342732fi
    2135 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2136 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2137 GCC=`test $ac_compiler_gnu = yes && echo yes`
     2733{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2734$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     2735if test $ac_compiler_gnu = yes; then
     2736  GCC=yes
     2737else
     2738  GCC=
     2739fi
    21382740ac_test_CFLAGS=${CFLAGS+set}
    21392741ac_save_CFLAGS=$CFLAGS
    2140 CFLAGS="-g"
    2141 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2142 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2742{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2743$as_echo_n "checking whether $CC accepts -g... " >&6; }
    21432744if test "${ac_cv_prog_cc_g+set}" = set; then
    2144   echo $ECHO_N "(cached) $ECHO_C" >&6
    2145 else
    2146   cat >conftest.$ac_ext <<_ACEOF
     2745  $as_echo_n "(cached) " >&6
     2746else
     2747  ac_save_c_werror_flag=$ac_c_werror_flag
     2748   ac_c_werror_flag=yes
     2749   ac_cv_prog_cc_g=no
     2750   CFLAGS="-g"
     2751   cat >conftest.$ac_ext <<_ACEOF
    21472752/* confdefs.h.  */
    21482753_ACEOF
     
    21602765_ACEOF
    21612766rm -f conftest.$ac_objext
    2162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2163   (eval $ac_compile) 2>conftest.er1
     2767if { (ac_try="$ac_compile"
     2768case "(($ac_try" in
     2769  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2770  *) ac_try_echo=$ac_try;;
     2771esac
     2772eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2773$as_echo "$ac_try_echo") >&5
     2774  (eval "$ac_compile") 2>conftest.er1
    21642775  ac_status=$?
    21652776  grep -v '^ *+' conftest.er1 >conftest.err
    21662777  rm -f conftest.er1
    21672778  cat conftest.err >&5
    2168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2169   (exit $ac_status); } &&
    2170      { ac_try='test -z "$ac_c_werror_flag"
    2171              || test ! -s conftest.err'
    2172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2173   (eval $ac_try) 2>&5
     2779  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2780  (exit $ac_status); } && {
     2781     test -z "$ac_c_werror_flag" ||
     2782     test ! -s conftest.err
     2783       } && test -s conftest.$ac_objext; then
     2784  ac_cv_prog_cc_g=yes
     2785else
     2786  $as_echo "$as_me: failed program was:" >&5
     2787sed 's/^/| /' conftest.$ac_ext >&5
     2788
     2789    CFLAGS=""
     2790      cat >conftest.$ac_ext <<_ACEOF
     2791/* confdefs.h.  */
     2792_ACEOF
     2793cat confdefs.h >>conftest.$ac_ext
     2794cat >>conftest.$ac_ext <<_ACEOF
     2795/* end confdefs.h.  */
     2796
     2797int
     2798main ()
     2799{
     2800
     2801  ;
     2802  return 0;
     2803}
     2804_ACEOF
     2805rm -f conftest.$ac_objext
     2806if { (ac_try="$ac_compile"
     2807case "(($ac_try" in
     2808  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2809  *) ac_try_echo=$ac_try;;
     2810esac
     2811eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2812$as_echo "$ac_try_echo") >&5
     2813  (eval "$ac_compile") 2>conftest.er1
    21742814  ac_status=$?
    2175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2176   (exit $ac_status); }; } &&
    2177      { ac_try='test -s conftest.$ac_objext'
    2178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2179   (eval $ac_try) 2>&5
     2815  grep -v '^ *+' conftest.er1 >conftest.err
     2816  rm -f conftest.er1
     2817  cat conftest.err >&5
     2818  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2819  (exit $ac_status); } && {
     2820     test -z "$ac_c_werror_flag" ||
     2821     test ! -s conftest.err
     2822       } && test -s conftest.$ac_objext; then
     2823  :
     2824else
     2825  $as_echo "$as_me: failed program was:" >&5
     2826sed 's/^/| /' conftest.$ac_ext >&5
     2827
     2828    ac_c_werror_flag=$ac_save_c_werror_flag
     2829     CFLAGS="-g"
     2830     cat >conftest.$ac_ext <<_ACEOF
     2831/* confdefs.h.  */
     2832_ACEOF
     2833cat confdefs.h >>conftest.$ac_ext
     2834cat >>conftest.$ac_ext <<_ACEOF
     2835/* end confdefs.h.  */
     2836
     2837int
     2838main ()
     2839{
     2840
     2841  ;
     2842  return 0;
     2843}
     2844_ACEOF
     2845rm -f conftest.$ac_objext
     2846if { (ac_try="$ac_compile"
     2847case "(($ac_try" in
     2848  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2849  *) ac_try_echo=$ac_try;;
     2850esac
     2851eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2852$as_echo "$ac_try_echo") >&5
     2853  (eval "$ac_compile") 2>conftest.er1
    21802854  ac_status=$?
    2181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2182   (exit $ac_status); }; }; then
     2855  grep -v '^ *+' conftest.er1 >conftest.err
     2856  rm -f conftest.er1
     2857  cat conftest.err >&5
     2858  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2859  (exit $ac_status); } && {
     2860     test -z "$ac_c_werror_flag" ||
     2861     test ! -s conftest.err
     2862       } && test -s conftest.$ac_objext; then
    21832863  ac_cv_prog_cc_g=yes
    21842864else
    2185   echo "$as_me: failed program was:" >&5
     2865  $as_echo "$as_me: failed program was:" >&5
    21862866sed 's/^/| /' conftest.$ac_ext >&5
    21872867
    2188 ac_cv_prog_cc_g=no
    2189 fi
    2190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2191 fi
    2192 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2193 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2868
     2869fi
     2870
     2871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2872fi
     2873
     2874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2875fi
     2876
     2877rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2878   ac_c_werror_flag=$ac_save_c_werror_flag
     2879fi
     2880{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2881$as_echo "$ac_cv_prog_cc_g" >&6; }
    21942882if test "$ac_test_CFLAGS" = set; then
    21952883  CFLAGS=$ac_save_CFLAGS
     
    22072895  fi
    22082896fi
    2209 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2210 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2211 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2212   echo $ECHO_N "(cached) $ECHO_C" >&6
    2213 else
    2214   ac_cv_prog_cc_stdc=no
     2897{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2898$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     2899if test "${ac_cv_prog_cc_c89+set}" = set; then
     2900  $as_echo_n "(cached) " >&6
     2901else
     2902  ac_cv_prog_cc_c89=no
    22152903ac_save_CC=$CC
    22162904cat >conftest.$ac_ext <<_ACEOF
     
    22462934   function prototypes and stuff, but not '\xHH' hex character constants.
    22472935   These don't provoke an error unfortunately, instead are silently treated
    2248    as 'x'.  The following induces an error, until -std1 is added to get
     2936   as 'x'.  The following induces an error, until -std is added to get
    22492937   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    22502938   array size at least.  It's necessary to write '\x00'==0 to get something
    2251    that's true only with -std1.  */
     2939   that's true only with -std.  */
    22522940int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2941
     2942/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2943   inside strings and character constants.  */
     2944#define FOO(x) 'x'
     2945int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    22532946
    22542947int test (int i, double x);
     
    22662959}
    22672960_ACEOF
    2268 # Don't try gcc -ansi; that turns off useful extensions and
    2269 # breaks some systems' header files.
    2270 # AIX           -qlanglvl=ansi
    2271 # Ultrix and OSF/1  -std1
    2272 # HP-UX 10.20 and later -Ae
    2273 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2274 # SVR4          -Xc -D__EXTENSIONS__
    2275 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2961for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2962    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    22762963do
    22772964  CC="$ac_save_CC $ac_arg"
    22782965  rm -f conftest.$ac_objext
    2279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2280   (eval $ac_compile) 2>conftest.er1
     2966if { (ac_try="$ac_compile"
     2967case "(($ac_try" in
     2968  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2969  *) ac_try_echo=$ac_try;;
     2970esac
     2971eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2972$as_echo "$ac_try_echo") >&5
     2973  (eval "$ac_compile") 2>conftest.er1
    22812974  ac_status=$?
    22822975  grep -v '^ *+' conftest.er1 >conftest.err
    22832976  rm -f conftest.er1
    22842977  cat conftest.err >&5
    2285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2286   (exit $ac_status); } &&
    2287      { ac_try='test -z "$ac_c_werror_flag"
    2288              || test ! -s conftest.err'
    2289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2290   (eval $ac_try) 2>&5
    2291   ac_status=$?
    2292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2293   (exit $ac_status); }; } &&
    2294      { ac_try='test -s conftest.$ac_objext'
    2295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2296   (eval $ac_try) 2>&5
    2297   ac_status=$?
    2298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2299   (exit $ac_status); }; }; then
    2300   ac_cv_prog_cc_stdc=$ac_arg
    2301 break
    2302 else
    2303   echo "$as_me: failed program was:" >&5
     2978  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2979  (exit $ac_status); } && {
     2980     test -z "$ac_c_werror_flag" ||
     2981     test ! -s conftest.err
     2982       } && test -s conftest.$ac_objext; then
     2983  ac_cv_prog_cc_c89=$ac_arg
     2984else
     2985  $as_echo "$as_me: failed program was:" >&5
    23042986sed 's/^/| /' conftest.$ac_ext >&5
    23052987
    2306 fi
    2307 rm -f conftest.err conftest.$ac_objext
     2988
     2989fi
     2990
     2991rm -f core conftest.err conftest.$ac_objext
     2992  test "x$ac_cv_prog_cc_c89" != "xno" && break
    23082993done
    2309 rm -f conftest.$ac_ext conftest.$ac_objext
     2994rm -f conftest.$ac_ext
    23102995CC=$ac_save_CC
    23112996
    23122997fi
    2313 
    2314 case "x$ac_cv_prog_cc_stdc" in
    2315   x|xno)
    2316     echo "$as_me:$LINENO: result: none needed" >&5
    2317 echo "${ECHO_T}none needed" >&6 ;;
     2998# AC_CACHE_VAL
     2999case "x$ac_cv_prog_cc_c89" in
     3000  x)
     3001    { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3002$as_echo "none needed" >&6; } ;;
     3003  xno)
     3004    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3005$as_echo "unsupported" >&6; } ;;
    23183006  *)
    2319     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2320 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2321     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2322 esac
    2323 
    2324 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2325 # in C++ we need to declare it.  In case someone uses the same compiler
    2326 # for both compiling C and C++ we need to have the C++ compiler decide
    2327 # the declaration of exit, since it's the most demanding environment.
    2328 cat >conftest.$ac_ext <<_ACEOF
    2329 #ifndef __cplusplus
    2330   choke me
    2331 #endif
    2332 _ACEOF
    2333 rm -f conftest.$ac_objext
    2334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2335   (eval $ac_compile) 2>conftest.er1
    2336   ac_status=$?
    2337   grep -v '^ *+' conftest.er1 >conftest.err
    2338   rm -f conftest.er1
    2339   cat conftest.err >&5
    2340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2341   (exit $ac_status); } &&
    2342      { ac_try='test -z "$ac_c_werror_flag"
    2343              || test ! -s conftest.err'
    2344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2345   (eval $ac_try) 2>&5
    2346   ac_status=$?
    2347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2348   (exit $ac_status); }; } &&
    2349      { ac_try='test -s conftest.$ac_objext'
    2350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2351   (eval $ac_try) 2>&5
    2352   ac_status=$?
    2353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2354   (exit $ac_status); }; }; then
    2355   for ac_declaration in \
    2356    '' \
    2357    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2358    'extern "C" void std::exit (int); using std::exit;' \
    2359    'extern "C" void exit (int) throw ();' \
    2360    'extern "C" void exit (int);' \
    2361    'void exit (int);'
    2362 do
    2363   cat >conftest.$ac_ext <<_ACEOF
    2364 /* confdefs.h.  */
    2365 _ACEOF
    2366 cat confdefs.h >>conftest.$ac_ext
    2367 cat >>conftest.$ac_ext <<_ACEOF
    2368 /* end confdefs.h.  */
    2369 $ac_declaration
    2370 #include <stdlib.h>
    2371 int
    2372 main ()
    2373 {
    2374 exit (42);
    2375   ;
    2376   return 0;
    2377 }
    2378 _ACEOF
    2379 rm -f conftest.$ac_objext
    2380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2381   (eval $ac_compile) 2>conftest.er1
    2382   ac_status=$?
    2383   grep -v '^ *+' conftest.er1 >conftest.err
    2384   rm -f conftest.er1
    2385   cat conftest.err >&5
    2386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2387   (exit $ac_status); } &&
    2388      { ac_try='test -z "$ac_c_werror_flag"
    2389              || test ! -s conftest.err'
    2390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2391   (eval $ac_try) 2>&5
    2392   ac_status=$?
    2393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2394   (exit $ac_status); }; } &&
    2395      { ac_try='test -s conftest.$ac_objext'
    2396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2397   (eval $ac_try) 2>&5
    2398   ac_status=$?
    2399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2400   (exit $ac_status); }; }; then
    2401   :
    2402 else
    2403   echo "$as_me: failed program was:" >&5
    2404 sed 's/^/| /' conftest.$ac_ext >&5
    2405 
    2406 continue
    2407 fi
    2408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2409   cat >conftest.$ac_ext <<_ACEOF
    2410 /* confdefs.h.  */
    2411 _ACEOF
    2412 cat confdefs.h >>conftest.$ac_ext
    2413 cat >>conftest.$ac_ext <<_ACEOF
    2414 /* end confdefs.h.  */
    2415 $ac_declaration
    2416 int
    2417 main ()
    2418 {
    2419 exit (42);
    2420   ;
    2421   return 0;
    2422 }
    2423 _ACEOF
    2424 rm -f conftest.$ac_objext
    2425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2426   (eval $ac_compile) 2>conftest.er1
    2427   ac_status=$?
    2428   grep -v '^ *+' conftest.er1 >conftest.err
    2429   rm -f conftest.er1
    2430   cat conftest.err >&5
    2431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2432   (exit $ac_status); } &&
    2433      { ac_try='test -z "$ac_c_werror_flag"
    2434              || test ! -s conftest.err'
    2435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2436   (eval $ac_try) 2>&5
    2437   ac_status=$?
    2438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2439   (exit $ac_status); }; } &&
    2440      { ac_try='test -s conftest.$ac_objext'
    2441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2442   (eval $ac_try) 2>&5
    2443   ac_status=$?
    2444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2445   (exit $ac_status); }; }; then
    2446   break
    2447 else
    2448   echo "$as_me: failed program was:" >&5
    2449 sed 's/^/| /' conftest.$ac_ext >&5
    2450 
    2451 fi
    2452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2453 done
    2454 rm -f conftest*
    2455 if test -n "$ac_declaration"; then
    2456   echo '#ifdef __cplusplus' >>confdefs.h
    2457   echo $ac_declaration      >>confdefs.h
    2458   echo '#endif'             >>confdefs.h
    2459 fi
    2460 
    2461 else
    2462   echo "$as_me: failed program was:" >&5
    2463 sed 's/^/| /' conftest.$ac_ext >&5
    2464 
    2465 fi
    2466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3007    CC="$CC $ac_cv_prog_cc_c89"
     3008    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3009$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     3010esac
     3011
     3012
    24673013ac_ext=c
    24683014ac_cpp='$CPP $CPPFLAGS'
     
    24713017ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24723018
    2473 ac_ext=cc
     3019ac_ext=cpp
    24743020ac_cpp='$CXXCPP $CPPFLAGS'
    24753021ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24763022ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24773023ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2478 if test -n "$ac_tool_prefix"; then
    2479   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3024if test -z "$CXX"; then
     3025  if test -n "$CCC"; then
     3026    CXX=$CCC
     3027  else
     3028    if test -n "$ac_tool_prefix"; then
     3029  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    24803030  do
    24813031    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    24823032set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2483 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3033{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3034$as_echo_n "checking for $ac_word... " >&6; }
    24853035if test "${ac_cv_prog_CXX+set}" = set; then
    2486   echo $ECHO_N "(cached) $ECHO_C" >&6
     3036  $as_echo_n "(cached) " >&6
    24873037else
    24883038  if test -n "$CXX"; then
     
    24953045  test -z "$as_dir" && as_dir=.
    24963046  for ac_exec_ext in '' $ac_executable_extensions; do
    2497   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3047  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24983048    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    2499     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3049    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    25003050    break 2
    25013051  fi
    25023052done
    25033053done
     3054IFS=$as_save_IFS
    25043055
    25053056fi
     
    25073058CXX=$ac_cv_prog_CXX
    25083059if test -n "$CXX"; then
    2509   echo "$as_me:$LINENO: result: $CXX" >&5
    2510 echo "${ECHO_T}$CXX" >&6
    2511 else
    2512   echo "$as_me:$LINENO: result: no" >&5
    2513 echo "${ECHO_T}no" >&6
    2514 fi
     3060  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3061$as_echo "$CXX" >&6; }
     3062else
     3063  { $as_echo "$as_me:$LINENO: result: no" >&5
     3064$as_echo "no" >&6; }
     3065fi
     3066
    25153067
    25163068    test -n "$CXX" && break
     
    25193071if test -z "$CXX"; then
    25203072  ac_ct_CXX=$CXX
    2521   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3073  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    25223074do
    25233075  # Extract the first word of "$ac_prog", so it can be a program name with args.
    25243076set dummy $ac_prog; ac_word=$2
    2525 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3077{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3078$as_echo_n "checking for $ac_word... " >&6; }
    25273079if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    2528   echo $ECHO_N "(cached) $ECHO_C" >&6
     3080  $as_echo_n "(cached) " >&6
    25293081else
    25303082  if test -n "$ac_ct_CXX"; then
     
    25373089  test -z "$as_dir" && as_dir=.
    25383090  for ac_exec_ext in '' $ac_executable_extensions; do
    2539   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3091  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    25403092    ac_cv_prog_ac_ct_CXX="$ac_prog"
    2541     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3093    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    25423094    break 2
    25433095  fi
    25443096done
    25453097done
     3098IFS=$as_save_IFS
    25463099
    25473100fi
     
    25493102ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    25503103if test -n "$ac_ct_CXX"; then
    2551   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2552 echo "${ECHO_T}$ac_ct_CXX" >&6
    2553 else
    2554   echo "$as_me:$LINENO: result: no" >&5
    2555 echo "${ECHO_T}no" >&6
    2556 fi
     3104  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3105$as_echo "$ac_ct_CXX" >&6; }
     3106else
     3107  { $as_echo "$as_me:$LINENO: result: no" >&5
     3108$as_echo "no" >&6; }
     3109fi
     3110
    25573111
    25583112  test -n "$ac_ct_CXX" && break
    25593113done
    2560 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2561 
    2562   CXX=$ac_ct_CXX
    2563 fi
    2564 
    2565 
     3114
     3115  if test "x$ac_ct_CXX" = x; then
     3116    CXX="g++"
     3117  else
     3118    case $cross_compiling:$ac_tool_warned in
     3119yes:)
     3120{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3121$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3122ac_tool_warned=yes ;;
     3123esac
     3124    CXX=$ac_ct_CXX
     3125  fi
     3126fi
     3127
     3128  fi
     3129fi
    25663130# Provide some information about the compiler.
    2567 echo "$as_me:$LINENO:" \
    2568      "checking for C++ compiler version" >&5
    2569 ac_compiler=`set X $ac_compile; echo $2`
    2570 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2571   (eval $ac_compiler --version </dev/null >&5) 2>&5
     3131$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     3132set X $ac_compile
     3133ac_compiler=$2
     3134{ (ac_try="$ac_compiler --version >&5"
     3135case "(($ac_try" in
     3136  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3137  *) ac_try_echo=$ac_try;;
     3138esac
     3139eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3140$as_echo "$ac_try_echo") >&5
     3141  (eval "$ac_compiler --version >&5") 2>&5
    25723142  ac_status=$?
    2573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3143  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25743144  (exit $ac_status); }
    2575 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2576   (eval $ac_compiler -v </dev/null >&5) 2>&5
     3145{ (ac_try="$ac_compiler -v >&5"
     3146case "(($ac_try" in
     3147  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3148  *) ac_try_echo=$ac_try;;
     3149esac
     3150eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3151$as_echo "$ac_try_echo") >&5
     3152  (eval "$ac_compiler -v >&5") 2>&5
    25773153  ac_status=$?
    2578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3154  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25793155  (exit $ac_status); }
    2580 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2581   (eval $ac_compiler -V </dev/null >&5) 2>&5
     3156{ (ac_try="$ac_compiler -V >&5"
     3157case "(($ac_try" in
     3158  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3159  *) ac_try_echo=$ac_try;;
     3160esac
     3161eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3162$as_echo "$ac_try_echo") >&5
     3163  (eval "$ac_compiler -V >&5") 2>&5
    25823164  ac_status=$?
    2583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3165  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25843166  (exit $ac_status); }
    25853167
    2586 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2587 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     3168{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3169$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    25883170if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    2589   echo $ECHO_N "(cached) $ECHO_C" >&6
     3171  $as_echo_n "(cached) " >&6
    25903172else
    25913173  cat >conftest.$ac_ext <<_ACEOF
     
    26083190_ACEOF
    26093191rm -f conftest.$ac_objext
    2610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2611   (eval $ac_compile) 2>conftest.er1
     3192if { (ac_try="$ac_compile"
     3193case "(($ac_try" in
     3194  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3195  *) ac_try_echo=$ac_try;;
     3196esac
     3197eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3198$as_echo "$ac_try_echo") >&5
     3199  (eval "$ac_compile") 2>conftest.er1
    26123200  ac_status=$?
    26133201  grep -v '^ *+' conftest.er1 >conftest.err
    26143202  rm -f conftest.er1
    26153203  cat conftest.err >&5
    2616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2617   (exit $ac_status); } &&
    2618      { ac_try='test -z "$ac_cxx_werror_flag"
    2619              || test ! -s conftest.err'
    2620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2621   (eval $ac_try) 2>&5
    2622   ac_status=$?
    2623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2624   (exit $ac_status); }; } &&
    2625      { ac_try='test -s conftest.$ac_objext'
    2626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2627   (eval $ac_try) 2>&5
    2628   ac_status=$?
    2629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2630   (exit $ac_status); }; }; then
     3204  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3205  (exit $ac_status); } && {
     3206     test -z "$ac_cxx_werror_flag" ||
     3207     test ! -s conftest.err
     3208       } && test -s conftest.$ac_objext; then
    26313209  ac_compiler_gnu=yes
    26323210else
    2633   echo "$as_me: failed program was:" >&5
     3211  $as_echo "$as_me: failed program was:" >&5
    26343212sed 's/^/| /' conftest.$ac_ext >&5
    26353213
    2636 ac_compiler_gnu=no
    2637 fi
    2638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3214    ac_compiler_gnu=no
     3215fi
     3216
     3217rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26393218ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    26403219
    26413220fi
    2642 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2643 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    2644 GXX=`test $ac_compiler_gnu = yes && echo yes`
     3221{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3222$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3223if test $ac_compiler_gnu = yes; then
     3224  GXX=yes
     3225else
     3226  GXX=
     3227fi
    26453228ac_test_CXXFLAGS=${CXXFLAGS+set}
    26463229ac_save_CXXFLAGS=$CXXFLAGS
    2647 CXXFLAGS="-g"
    2648 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2649 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3230{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3231$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    26503232if test "${ac_cv_prog_cxx_g+set}" = set; then
    2651   echo $ECHO_N "(cached) $ECHO_C" >&6
    2652 else
    2653   cat >conftest.$ac_ext <<_ACEOF
     3233  $as_echo_n "(cached) " >&6
     3234else
     3235  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3236   ac_cxx_werror_flag=yes
     3237   ac_cv_prog_cxx_g=no
     3238   CXXFLAGS="-g"
     3239   cat >conftest.$ac_ext <<_ACEOF
    26543240/* confdefs.h.  */
    26553241_ACEOF
     
    26673253_ACEOF
    26683254rm -f conftest.$ac_objext
    2669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2670   (eval $ac_compile) 2>conftest.er1
     3255if { (ac_try="$ac_compile"
     3256case "(($ac_try" in
     3257  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3258  *) ac_try_echo=$ac_try;;
     3259esac
     3260eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3261$as_echo "$ac_try_echo") >&5
     3262  (eval "$ac_compile") 2>conftest.er1
    26713263  ac_status=$?
    26723264  grep -v '^ *+' conftest.er1 >conftest.err
    26733265  rm -f conftest.er1
    26743266  cat conftest.err >&5
    2675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2676   (exit $ac_status); } &&
    2677      { ac_try='test -z "$ac_cxx_werror_flag"
    2678              || test ! -s conftest.err'
    2679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2680   (eval $ac_try) 2>&5
     3267  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3268  (exit $ac_status); } && {
     3269     test -z "$ac_cxx_werror_flag" ||
     3270     test ! -s conftest.err
     3271       } && test -s conftest.$ac_objext; then
     3272  ac_cv_prog_cxx_g=yes
     3273else
     3274  $as_echo "$as_me: failed program was:" >&5
     3275sed 's/^/| /' conftest.$ac_ext >&5
     3276
     3277    CXXFLAGS=""
     3278      cat >conftest.$ac_ext <<_ACEOF
     3279/* confdefs.h.  */
     3280_ACEOF
     3281cat confdefs.h >>conftest.$ac_ext
     3282cat >>conftest.$ac_ext <<_ACEOF
     3283/* end confdefs.h.  */
     3284
     3285int
     3286main ()
     3287{
     3288
     3289  ;
     3290  return 0;
     3291}
     3292_ACEOF
     3293rm -f conftest.$ac_objext
     3294if { (ac_try="$ac_compile"
     3295case "(($ac_try" in
     3296  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3297  *) ac_try_echo=$ac_try;;
     3298esac
     3299eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3300$as_echo "$ac_try_echo") >&5
     3301  (eval "$ac_compile") 2>conftest.er1
    26813302  ac_status=$?
    2682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2683   (exit $ac_status); }; } &&
    2684      { ac_try='test -s conftest.$ac_objext'
    2685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2686   (eval $ac_try) 2>&5
     3303  grep -v '^ *+' conftest.er1 >conftest.err
     3304  rm -f conftest.er1
     3305  cat conftest.err >&5
     3306  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3307  (exit $ac_status); } && {
     3308     test -z "$ac_cxx_werror_flag" ||
     3309     test ! -s conftest.err
     3310       } && test -s conftest.$ac_objext; then
     3311  :
     3312else
     3313  $as_echo "$as_me: failed program was:" >&5
     3314sed 's/^/| /' conftest.$ac_ext >&5
     3315
     3316    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3317     CXXFLAGS="-g"
     3318     cat >conftest.$ac_ext <<_ACEOF
     3319/* confdefs.h.  */
     3320_ACEOF
     3321cat confdefs.h >>conftest.$ac_ext
     3322cat >>conftest.$ac_ext <<_ACEOF
     3323/* end confdefs.h.  */
     3324
     3325int
     3326main ()
     3327{
     3328
     3329  ;
     3330  return 0;
     3331}
     3332_ACEOF
     3333rm -f conftest.$ac_objext
     3334if { (ac_try="$ac_compile"
     3335case "(($ac_try" in
     3336  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3337  *) ac_try_echo=$ac_try;;
     3338esac
     3339eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3340$as_echo "$ac_try_echo") >&5
     3341  (eval "$ac_compile") 2>conftest.er1
    26873342  ac_status=$?
    2688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2689   (exit $ac_status); }; }; then
     3343  grep -v '^ *+' conftest.er1 >conftest.err
     3344  rm -f conftest.er1
     3345  cat conftest.err >&5
     3346  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3347  (exit $ac_status); } && {
     3348     test -z "$ac_cxx_werror_flag" ||
     3349     test ! -s conftest.err
     3350       } && test -s conftest.$ac_objext; then
    26903351  ac_cv_prog_cxx_g=yes
    26913352else
    2692   echo "$as_me: failed program was:" >&5
     3353  $as_echo "$as_me: failed program was:" >&5
    26933354sed 's/^/| /' conftest.$ac_ext >&5
    26943355
    2695 ac_cv_prog_cxx_g=no
    2696 fi
    2697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2698 fi
    2699 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2700 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3356
     3357fi
     3358
     3359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3360fi
     3361
     3362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3363fi
     3364
     3365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3366   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3367fi
     3368{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3369$as_echo "$ac_cv_prog_cxx_g" >&6; }
    27013370if test "$ac_test_CXXFLAGS" = set; then
    27023371  CXXFLAGS=$ac_save_CXXFLAGS
     
    27143383  fi
    27153384fi
    2716 for ac_declaration in \
    2717    '' \
    2718    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2719    'extern "C" void std::exit (int); using std::exit;' \
    2720    'extern "C" void exit (int) throw ();' \
    2721    'extern "C" void exit (int);' \
    2722    'void exit (int);'
    2723 do
    2724   cat >conftest.$ac_ext <<_ACEOF
    2725 /* confdefs.h.  */
    2726 _ACEOF
    2727 cat confdefs.h >>conftest.$ac_ext
    2728 cat >>conftest.$ac_ext <<_ACEOF
    2729 /* end confdefs.h.  */
    2730 $ac_declaration
    2731 #include <stdlib.h>
    2732 int
    2733 main ()
    2734 {
    2735 exit (42);
    2736   ;
    2737   return 0;
    2738 }
    2739 _ACEOF
    2740 rm -f conftest.$ac_objext
    2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2742   (eval $ac_compile) 2>conftest.er1
    2743   ac_status=$?
    2744   grep -v '^ *+' conftest.er1 >conftest.err
    2745   rm -f conftest.er1
    2746   cat conftest.err >&5
    2747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2748   (exit $ac_status); } &&
    2749      { ac_try='test -z "$ac_cxx_werror_flag"
    2750              || test ! -s conftest.err'
    2751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2752   (eval $ac_try) 2>&5
    2753   ac_status=$?
    2754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2755   (exit $ac_status); }; } &&
    2756      { ac_try='test -s conftest.$ac_objext'
    2757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2758   (eval $ac_try) 2>&5
    2759   ac_status=$?
    2760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2761   (exit $ac_status); }; }; then
    2762   :
    2763 else
    2764   echo "$as_me: failed program was:" >&5
    2765 sed 's/^/| /' conftest.$ac_ext >&5
    2766 
    2767 continue
    2768 fi
    2769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2770   cat >conftest.$ac_ext <<_ACEOF
    2771 /* confdefs.h.  */
    2772 _ACEOF
    2773 cat confdefs.h >>conftest.$ac_ext
    2774 cat >>conftest.$ac_ext <<_ACEOF
    2775 /* end confdefs.h.  */
    2776 $ac_declaration
    2777 int
    2778 main ()
    2779 {
    2780 exit (42);
    2781   ;
    2782   return 0;
    2783 }
    2784 _ACEOF
    2785 rm -f conftest.$ac_objext
    2786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2787   (eval $ac_compile) 2>conftest.er1
    2788   ac_status=$?
    2789   grep -v '^ *+' conftest.er1 >conftest.err
    2790   rm -f conftest.er1
    2791   cat conftest.err >&5
    2792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2793   (exit $ac_status); } &&
    2794      { ac_try='test -z "$ac_cxx_werror_flag"
    2795              || test ! -s conftest.err'
    2796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2797   (eval $ac_try) 2>&5
    2798   ac_status=$?
    2799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2800   (exit $ac_status); }; } &&
    2801      { ac_try='test -s conftest.$ac_objext'
    2802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2803   (eval $ac_try) 2>&5
    2804   ac_status=$?
    2805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2806   (exit $ac_status); }; }; then
    2807   break
    2808 else
    2809   echo "$as_me: failed program was:" >&5
    2810 sed 's/^/| /' conftest.$ac_ext >&5
    2811 
    2812 fi
    2813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2814 done
    2815 rm -f conftest*
    2816 if test -n "$ac_declaration"; then
    2817   echo '#ifdef __cplusplus' >>confdefs.h
    2818   echo $ac_declaration      >>confdefs.h
    2819   echo '#endif'             >>confdefs.h
    2820 fi
    2821 
    28223385ac_ext=c
    28233386ac_cpp='$CPP $CPPFLAGS'
     
    28353398  # Extract the first word of "$ac_prog", so it can be a program name with args.
    28363399set dummy $ac_prog; ac_word=$2
    2837 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3400{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3401$as_echo_n "checking for $ac_word... " >&6; }
    28393402if test "${ac_cv_prog_JAVAC+set}" = set; then
    2840   echo $ECHO_N "(cached) $ECHO_C" >&6
     3403  $as_echo_n "(cached) " >&6
    28413404else
    28423405  if test -n "$JAVAC"; then
     
    28493412  test -z "$as_dir" && as_dir=.
    28503413  for ac_exec_ext in '' $ac_executable_extensions; do
    2851   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3414  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28523415    ac_cv_prog_JAVAC="$ac_prog"
    2853     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3416    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28543417    break 2
    28553418  fi
    28563419done
    28573420done
     3421IFS=$as_save_IFS
    28583422
    28593423fi
     
    28613425JAVAC=$ac_cv_prog_JAVAC
    28623426if test -n "$JAVAC"; then
    2863   echo "$as_me:$LINENO: result: $JAVAC" >&5
    2864 echo "${ECHO_T}$JAVAC" >&6
    2865 else
    2866   echo "$as_me:$LINENO: result: no" >&5
    2867 echo "${ECHO_T}no" >&6
    2868 fi
     3427  { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3428$as_echo "$JAVAC" >&6; }
     3429else
     3430  { $as_echo "$as_me:$LINENO: result: no" >&5
     3431$as_echo "no" >&6; }
     3432fi
     3433
    28693434
    28703435  test -n "$JAVAC" && break
     
    28763441  # Extract the first word of "$ac_prog", so it can be a program name with args.
    28773442set dummy $ac_prog; ac_word=$2
    2878 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3443{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3444$as_echo_n "checking for $ac_word... " >&6; }
    28803445if test "${ac_cv_prog_JAVAC+set}" = set; then
    2881   echo $ECHO_N "(cached) $ECHO_C" >&6
     3446  $as_echo_n "(cached) " >&6
    28823447else
    28833448  if test -n "$JAVAC"; then
     
    28903455  test -z "$as_dir" && as_dir=.
    28913456  for ac_exec_ext in '' $ac_executable_extensions; do
    2892   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3457  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28933458    ac_cv_prog_JAVAC="$ac_prog"
    2894     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3459    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28953460    break 2
    28963461  fi
    28973462done
    28983463done
     3464IFS=$as_save_IFS
    28993465
    29003466fi
     
    29023468JAVAC=$ac_cv_prog_JAVAC
    29033469if test -n "$JAVAC"; then
    2904   echo "$as_me:$LINENO: result: $JAVAC" >&5
    2905 echo "${ECHO_T}$JAVAC" >&6
    2906 else
    2907   echo "$as_me:$LINENO: result: no" >&5
    2908 echo "${ECHO_T}no" >&6
    2909 fi
     3470  { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3471$as_echo "$JAVAC" >&6; }
     3472else
     3473  { $as_echo "$as_me:$LINENO: result: no" >&5
     3474$as_echo "no" >&6; }
     3475fi
     3476
    29103477
    29113478  test -n "$JAVAC" && break
     
    29143481
    29153482  fi
    2916   test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
    2917 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
     3483  test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
     3484$as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
    29183485   { (exit 1); exit 1; }; }
    29193486else
     
    29233490
    29243491
    2925 echo "$as_me:$LINENO: checking if $JAVAC works" >&5
    2926 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
     3492{ $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     3493$as_echo_n "checking if $JAVAC works... " >&6; }
    29273494if test "${ac_cv_prog_javac_works+set}" = set; then
    2928   echo $ECHO_N "(cached) $ECHO_C" >&6
     3495  $as_echo_n "(cached) " >&6
    29293496else
    29303497
     
    29323499CLASS_TEST=Test.class
    29333500cat << \EOF > $JAVA_TEST
    2934 /* #line 2934 "configure" */
     3501/* #line 3501 "configure" */
    29353502public class Test {
    29363503}
     
    29403507  (eval $ac_try) 2>&5
    29413508  ac_status=$?
    2942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3509  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29433510  (exit $ac_status); }; } >/dev/null 2>&1; then
    29443511  ac_cv_prog_javac_works=yes
    29453512else
    2946   { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    2947 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3513  { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3514$as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    29483515   { (exit 1); exit 1; }; }
    29493516  echo "configure: failed program was:" >&5
     
    29533520
    29543521fi
    2955 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
    2956 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
     3522{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3523$as_echo "$ac_cv_prog_javac_works" >&6; }
    29573524if test "x$JAVACFLAGS" = x ; then
    29583525  JAVACFLAGS="-source 1.4 -target 1.4"
     
    29683535  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29693536set dummy $ac_prog; ac_word=$2
    2970 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3537{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3538$as_echo_n "checking for $ac_word... " >&6; }
    29723539if test "${ac_cv_prog_JAVA+set}" = set; then
    2973   echo $ECHO_N "(cached) $ECHO_C" >&6
     3540  $as_echo_n "(cached) " >&6
    29743541else
    29753542  if test -n "$JAVA"; then
     
    29823549  test -z "$as_dir" && as_dir=.
    29833550  for ac_exec_ext in '' $ac_executable_extensions; do
    2984   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3551  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29853552    ac_cv_prog_JAVA="$ac_prog"
    2986     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3553    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29873554    break 2
    29883555  fi
    29893556done
    29903557done
     3558IFS=$as_save_IFS
    29913559
    29923560fi
     
    29943562JAVA=$ac_cv_prog_JAVA
    29953563if test -n "$JAVA"; then
    2996   echo "$as_me:$LINENO: result: $JAVA" >&5
    2997 echo "${ECHO_T}$JAVA" >&6
    2998 else
    2999   echo "$as_me:$LINENO: result: no" >&5
    3000 echo "${ECHO_T}no" >&6
    3001 fi
     3564  { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     3565$as_echo "$JAVA" >&6; }
     3566else
     3567  { $as_echo "$as_me:$LINENO: result: no" >&5
     3568$as_echo "no" >&6; }
     3569fi
     3570
    30023571
    30033572  test -n "$JAVA" && break
     
    30093578  # Extract the first word of "$ac_prog", so it can be a program name with args.
    30103579set dummy $ac_prog; ac_word=$2
    3011 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3580{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3581$as_echo_n "checking for $ac_word... " >&6; }
    30133582if test "${ac_cv_prog_JAVA+set}" = set; then
    3014   echo $ECHO_N "(cached) $ECHO_C" >&6
     3583  $as_echo_n "(cached) " >&6
    30153584else
    30163585  if test -n "$JAVA"; then
     
    30233592  test -z "$as_dir" && as_dir=.
    30243593  for ac_exec_ext in '' $ac_executable_extensions; do
    3025   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3594  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30263595    ac_cv_prog_JAVA="$ac_prog"
    3027     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3596    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    30283597    break 2
    30293598  fi
    30303599done
    30313600done
     3601IFS=$as_save_IFS
    30323602
    30333603fi
     
    30353605JAVA=$ac_cv_prog_JAVA
    30363606if test -n "$JAVA"; then
    3037   echo "$as_me:$LINENO: result: $JAVA" >&5
    3038 echo "${ECHO_T}$JAVA" >&6
    3039 else
    3040   echo "$as_me:$LINENO: result: no" >&5
    3041 echo "${ECHO_T}no" >&6
    3042 fi
     3607  { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     3608$as_echo "$JAVA" >&6; }
     3609else
     3610  { $as_echo "$as_me:$LINENO: result: no" >&5
     3611$as_echo "no" >&6; }
     3612fi
     3613
    30433614
    30443615  test -n "$JAVA" && break
     
    30473618
    30483619    fi
    3049     test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
    3050 echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
     3620    test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
     3621$as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
    30513622   { (exit 1); exit 1; }; }
    30523623fi
     
    30553626# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
    30563627set dummy uudecode$EXEEXT; ac_word=$2
    3057 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3628{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3629$as_echo_n "checking for $ac_word... " >&6; }
    30593630if test "${ac_cv_prog_uudecode+set}" = set; then
    3060   echo $ECHO_N "(cached) $ECHO_C" >&6
     3631  $as_echo_n "(cached) " >&6
    30613632else
    30623633  if test -n "$uudecode"; then
     
    30693640  test -z "$as_dir" && as_dir=.
    30703641  for ac_exec_ext in '' $ac_executable_extensions; do
    3071   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3642  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30723643    ac_cv_prog_uudecode="yes"
    3073     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3644    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    30743645    break 2
    30753646  fi
    30763647done
    30773648done
     3649IFS=$as_save_IFS
    30783650
    30793651fi
     
    30813653uudecode=$ac_cv_prog_uudecode
    30823654if test -n "$uudecode"; then
    3083   echo "$as_me:$LINENO: result: $uudecode" >&5
    3084 echo "${ECHO_T}$uudecode" >&6
    3085 else
    3086   echo "$as_me:$LINENO: result: no" >&5
    3087 echo "${ECHO_T}no" >&6
    3088 fi
     3655  { $as_echo "$as_me:$LINENO: result: $uudecode" >&5
     3656$as_echo "$uudecode" >&6; }
     3657else
     3658  { $as_echo "$as_me:$LINENO: result: no" >&5
     3659$as_echo "no" >&6; }
     3660fi
     3661
    30893662
    30903663if test x$uudecode = xyes; then
    3091 echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
    3092 echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6
     3664{ $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
     3665$as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
    30933666if test "${ac_cv_prog_uudecode_base64+set}" = set; then
    3094   echo $ECHO_N "(cached) $ECHO_C" >&6
     3667  $as_echo_n "(cached) " >&6
    30953668else
    30963669
     
    31093682        ac_cv_prog_uudecode_base64=yes
    31103683else
    3111         echo "configure: 3111: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     3684        echo "configure: 3684: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    31123685        echo "configure: failed file was:" >&5
    31133686        cat Test.uue >&5
     
    31163689rm -f Test.uue
    31173690fi
    3118 echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
    3119 echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6
     3691{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
     3692$as_echo "$ac_cv_prog_uudecode_base64" >&6; }
    31203693fi
    31213694if test x$ac_cv_prog_uudecode_base64 != xyes; then
    31223695        rm -f Test.class
    3123         { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
    3124 echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
     3696        { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
     3697$as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
    31253698        if test x$ac_cv_prog_javac_works = xno; then
    3126                 { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
    3127 echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
     3699                { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
     3700$as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
    31283701   { (exit 1); exit 1; }; }
    31293702        fi
     
    31363709  # Extract the first word of "$ac_prog", so it can be a program name with args.
    31373710set dummy $ac_prog; ac_word=$2
    3138 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3711{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3712$as_echo_n "checking for $ac_word... " >&6; }
    31403713if test "${ac_cv_prog_JAVAC+set}" = set; then
    3141   echo $ECHO_N "(cached) $ECHO_C" >&6
     3714  $as_echo_n "(cached) " >&6
    31423715else
    31433716  if test -n "$JAVAC"; then
     
    31503723  test -z "$as_dir" && as_dir=.
    31513724  for ac_exec_ext in '' $ac_executable_extensions; do
    3152   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3725  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31533726    ac_cv_prog_JAVAC="$ac_prog"
    3154     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3727    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31553728    break 2
    31563729  fi
    31573730done
    31583731done
     3732IFS=$as_save_IFS
    31593733
    31603734fi
     
    31623736JAVAC=$ac_cv_prog_JAVAC
    31633737if test -n "$JAVAC"; then
    3164   echo "$as_me:$LINENO: result: $JAVAC" >&5
    3165 echo "${ECHO_T}$JAVAC" >&6
    3166 else
    3167   echo "$as_me:$LINENO: result: no" >&5
    3168 echo "${ECHO_T}no" >&6
    3169 fi
     3738  { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3739$as_echo "$JAVAC" >&6; }
     3740else
     3741  { $as_echo "$as_me:$LINENO: result: no" >&5
     3742$as_echo "no" >&6; }
     3743fi
     3744
    31703745
    31713746  test -n "$JAVAC" && break
     
    31773752  # Extract the first word of "$ac_prog", so it can be a program name with args.
    31783753set dummy $ac_prog; ac_word=$2
    3179 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3754{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3755$as_echo_n "checking for $ac_word... " >&6; }
    31813756if test "${ac_cv_prog_JAVAC+set}" = set; then
    3182   echo $ECHO_N "(cached) $ECHO_C" >&6
     3757  $as_echo_n "(cached) " >&6
    31833758else
    31843759  if test -n "$JAVAC"; then
     
    31913766  test -z "$as_dir" && as_dir=.
    31923767  for ac_exec_ext in '' $ac_executable_extensions; do
    3193   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3768  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31943769    ac_cv_prog_JAVAC="$ac_prog"
    3195     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3770    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31963771    break 2
    31973772  fi
    31983773done
    31993774done
     3775IFS=$as_save_IFS
    32003776
    32013777fi
     
    32033779JAVAC=$ac_cv_prog_JAVAC
    32043780if test -n "$JAVAC"; then
    3205   echo "$as_me:$LINENO: result: $JAVAC" >&5
    3206 echo "${ECHO_T}$JAVAC" >&6
    3207 else
    3208   echo "$as_me:$LINENO: result: no" >&5
    3209 echo "${ECHO_T}no" >&6
    3210 fi
     3781  { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3782$as_echo "$JAVAC" >&6; }
     3783else
     3784  { $as_echo "$as_me:$LINENO: result: no" >&5
     3785$as_echo "no" >&6; }
     3786fi
     3787
    32113788
    32123789  test -n "$JAVAC" && break
     
    32153792
    32163793  fi
    3217   test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
    3218 echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
     3794  test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
     3795$as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
    32193796   { (exit 1); exit 1; }; }
    32203797else
     
    32243801
    32253802
    3226 echo "$as_me:$LINENO: checking if $JAVAC works" >&5
    3227 echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
     3803{ $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     3804$as_echo_n "checking if $JAVAC works... " >&6; }
    32283805if test "${ac_cv_prog_javac_works+set}" = set; then
    3229   echo $ECHO_N "(cached) $ECHO_C" >&6
     3806  $as_echo_n "(cached) " >&6
    32303807else
    32313808
     
    32333810CLASS_TEST=Test.class
    32343811cat << \EOF > $JAVA_TEST
    3235 /* #line 3235 "configure" */
     3812/* #line 3812 "configure" */
    32363813public class Test {
    32373814}
     
    32413818  (eval $ac_try) 2>&5
    32423819  ac_status=$?
    3243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3820  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32443821  (exit $ac_status); }; } >/dev/null 2>&1; then
    32453822  ac_cv_prog_javac_works=yes
    32463823else
    3247   { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3248 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3824  { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3825$as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    32493826   { (exit 1); exit 1; }; }
    32503827  echo "configure: failed program was:" >&5
     
    32543831
    32553832fi
    3256 echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
    3257 echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
     3833{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3834$as_echo "$ac_cv_prog_javac_works" >&6; }
    32583835if test "x$JAVACFLAGS" = x ; then
    32593836  JAVACFLAGS="-source 1.4 -target 1.4"
     
    32643841        fi
    32653842fi
    3266 echo "$as_me:$LINENO: checking if $JAVA works" >&5
    3267 echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6
     3843{ $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5
     3844$as_echo_n "checking if $JAVA works... " >&6; }
    32683845if test "${ac_cv_prog_java_works+set}" = set; then
    3269   echo $ECHO_N "(cached) $ECHO_C" >&6
     3846  $as_echo_n "(cached) " >&6
    32703847else
    32713848
     
    32743851TEST=Test
    32753852cat << \EOF > $JAVA_TEST
    3276 /* [#]line 3276 "configure" */
     3853/* [#]line 3853 "configure" */
    32773854public class Test {
    32783855public static void main (String args[]) {
     
    32853862  (eval $ac_try) 2>&5
    32863863  ac_status=$?
    3287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3864  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    32883865  (exit $ac_status); }; } && test -s $CLASS_TEST; then
    32893866                :
     
    32913868          echo "configure: failed program was:" >&5
    32923869          cat $JAVA_TEST >&5
    3293           { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3294 echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3870          { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3871$as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    32953872   { (exit 1); exit 1; }; }
    32963873        fi
     
    33003877  (eval $ac_try) 2>&5
    33013878  ac_status=$?
    3302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3879  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    33033880  (exit $ac_status); }; } >/dev/null 2>&1; then
    33043881  ac_cv_prog_java_works=yes
     
    33063883  echo "configure: failed program was:" >&5
    33073884  cat $JAVA_TEST >&5
    3308   { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
    3309 echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
     3885  { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
     3886$as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
    33103887   { (exit 1); exit 1; }; }
    33113888fi
     
    33133890
    33143891fi
    3315 echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
    3316 echo "${ECHO_T}$ac_cv_prog_java_works" >&6
     3892{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
     3893$as_echo "$ac_cv_prog_java_works" >&6; }
    33173894
    33183895
     
    33233900  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33243901set dummy $ac_prog; ac_word=$2
    3325 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3902{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3903$as_echo_n "checking for $ac_word... " >&6; }
    33273904if test "${ac_cv_prog_AWK+set}" = set; then
    3328   echo $ECHO_N "(cached) $ECHO_C" >&6
     3905  $as_echo_n "(cached) " >&6
    33293906else
    33303907  if test -n "$AWK"; then
     
    33373914  test -z "$as_dir" && as_dir=.
    33383915  for ac_exec_ext in '' $ac_executable_extensions; do
    3339   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3916  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    33403917    ac_cv_prog_AWK="$ac_prog"
    3341     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3918    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    33423919    break 2
    33433920  fi
    33443921done
    33453922done
     3923IFS=$as_save_IFS
    33463924
    33473925fi
     
    33493927AWK=$ac_cv_prog_AWK
    33503928if test -n "$AWK"; then
    3351   echo "$as_me:$LINENO: result: $AWK" >&5
    3352 echo "${ECHO_T}$AWK" >&6
    3353 else
    3354   echo "$as_me:$LINENO: result: no" >&5
    3355 echo "${ECHO_T}no" >&6
    3356 fi
     3929  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
     3930$as_echo "$AWK" >&6; }
     3931else
     3932  { $as_echo "$as_me:$LINENO: result: no" >&5
     3933$as_echo "no" >&6; }
     3934fi
     3935
    33573936
    33583937  test -n "$AWK" && break
     
    33633942  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33643943set dummy $ac_prog; ac_word=$2
    3365 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3944{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3945$as_echo_n "checking for $ac_word... " >&6; }
    33673946if test "${ac_cv_prog_YACC+set}" = set; then
    3368   echo $ECHO_N "(cached) $ECHO_C" >&6
     3947  $as_echo_n "(cached) " >&6
    33693948else
    33703949  if test -n "$YACC"; then
     
    33773956  test -z "$as_dir" && as_dir=.
    33783957  for ac_exec_ext in '' $ac_executable_extensions; do
    3379   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3958  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    33803959    ac_cv_prog_YACC="$ac_prog"
    3381     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3960    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    33823961    break 2
    33833962  fi
    33843963done
    33853964done
     3965IFS=$as_save_IFS
    33863966
    33873967fi
     
    33893969YACC=$ac_cv_prog_YACC
    33903970if test -n "$YACC"; then
    3391   echo "$as_me:$LINENO: result: $YACC" >&5
    3392 echo "${ECHO_T}$YACC" >&6
    3393 else
    3394   echo "$as_me:$LINENO: result: no" >&5
    3395 echo "${ECHO_T}no" >&6
    3396 fi
     3971  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
     3972$as_echo "$YACC" >&6; }
     3973else
     3974  { $as_echo "$as_me:$LINENO: result: no" >&5
     3975$as_echo "no" >&6; }
     3976fi
     3977
    33973978
    33983979  test -n "$YACC" && break
     
    34013982
    34023983ac_aux_dir=
    3403 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    3404   if test -f $ac_dir/install-sh; then
     3984for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     3985  if test -f "$ac_dir/install-sh"; then
    34053986    ac_aux_dir=$ac_dir
    34063987    ac_install_sh="$ac_aux_dir/install-sh -c"
    34073988    break
    3408   elif test -f $ac_dir/install.sh; then
     3989  elif test -f "$ac_dir/install.sh"; then
    34093990    ac_aux_dir=$ac_dir
    34103991    ac_install_sh="$ac_aux_dir/install.sh -c"
    34113992    break
    3412   elif test -f $ac_dir/shtool; then
     3993  elif test -f "$ac_dir/shtool"; then
    34133994    ac_aux_dir=$ac_dir
    34143995    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    34173998done
    34183999if test -z "$ac_aux_dir"; then
    3419   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    3420 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     4000  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     4001$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    34214002   { (exit 1); exit 1; }; }
    34224003fi
    3423 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    3424 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    3425 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     4004
     4005# These three variables are undocumented and unsupported,
     4006# and are intended to be withdrawn in a future Autoconf release.
     4007# They can cause serious problems if a builder's source tree is in a directory
     4008# whose full name contains unusual characters.
     4009ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     4010ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     4011ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     4012
    34264013
    34274014# Make sure we can run config.sub.
    3428 $ac_config_sub sun4 >/dev/null 2>&1 ||
    3429   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    3430 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     4015$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     4016  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     4017$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    34314018   { (exit 1); exit 1; }; }
    34324019
    3433 echo "$as_me:$LINENO: checking build system type" >&5
    3434 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     4020{ $as_echo "$as_me:$LINENO: checking build system type" >&5
     4021$as_echo_n "checking build system type... " >&6; }
    34354022if test "${ac_cv_build+set}" = set; then
    3436   echo $ECHO_N "(cached) $ECHO_C" >&6
    3437 else
    3438   ac_cv_build_alias=$build_alias
    3439 test -z "$ac_cv_build_alias" &&
    3440   ac_cv_build_alias=`$ac_config_guess`
    3441 test -z "$ac_cv_build_alias" &&
    3442   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    3443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     4023  $as_echo_n "(cached) " >&6
     4024else
     4025  ac_build_alias=$build_alias
     4026test "x$ac_build_alias" = x &&
     4027  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     4028test "x$ac_build_alias" = x &&
     4029  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     4030$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    34444031   { (exit 1); exit 1; }; }
    3445 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    3446   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    3447 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     4032ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     4033  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     4034$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    34484035   { (exit 1); exit 1; }; }
    34494036
    34504037fi
    3451 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    3452 echo "${ECHO_T}$ac_cv_build" >&6
     4038{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     4039$as_echo "$ac_cv_build" >&6; }
     4040case $ac_cv_build in
     4041*-*-*) ;;
     4042*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     4043$as_echo "$as_me: error: invalid value of canonical build" >&2;}
     4044   { (exit 1); exit 1; }; };;
     4045esac
    34534046build=$ac_cv_build
    3454 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    3455 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    3456 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    3457 
    3458 
    3459 echo "$as_me:$LINENO: checking host system type" >&5
    3460 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     4047ac_save_IFS=$IFS; IFS='-'
     4048set x $ac_cv_build
     4049shift
     4050build_cpu=$1
     4051build_vendor=$2
     4052shift; shift
     4053# Remember, the first character of IFS is used to create $*,
     4054# except with old shells:
     4055build_os=$*
     4056IFS=$ac_save_IFS
     4057case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     4058
     4059
     4060{ $as_echo "$as_me:$LINENO: checking host system type" >&5
     4061$as_echo_n "checking host system type... " >&6; }
    34614062if test "${ac_cv_host+set}" = set; then
    3462   echo $ECHO_N "(cached) $ECHO_C" >&6
    3463 else
    3464   ac_cv_host_alias=$host_alias
    3465 test -z "$ac_cv_host_alias" &&
    3466   ac_cv_host_alias=$ac_cv_build_alias
    3467 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    3468   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    3469 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     4063  $as_echo_n "(cached) " >&6
     4064else
     4065  if test "x$host_alias" = x; then
     4066  ac_cv_host=$ac_cv_build
     4067else
     4068  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     4069    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     4070$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    34704071   { (exit 1); exit 1; }; }
    3471 
    3472 fi
    3473 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    3474 echo "${ECHO_T}$ac_cv_host" >&6
     4072fi
     4073
     4074fi
     4075{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     4076$as_echo "$ac_cv_host" >&6; }
     4077case $ac_cv_host in
     4078*-*-*) ;;
     4079*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     4080$as_echo "$as_me: error: invalid value of canonical host" >&2;}
     4081   { (exit 1); exit 1; }; };;
     4082esac
    34754083host=$ac_cv_host
    3476 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    3477 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    3478 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    3479 
    3480 
    3481 echo "$as_me:$LINENO: checking target system type" >&5
    3482 echo $ECHO_N "checking target system type... $ECHO_C" >&6
     4084ac_save_IFS=$IFS; IFS='-'
     4085set x $ac_cv_host
     4086shift
     4087host_cpu=$1
     4088host_vendor=$2
     4089shift; shift
     4090# Remember, the first character of IFS is used to create $*,
     4091# except with old shells:
     4092host_os=$*
     4093IFS=$ac_save_IFS
     4094case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     4095
     4096
     4097{ $as_echo "$as_me:$LINENO: checking target system type" >&5
     4098$as_echo_n "checking target system type... " >&6; }
    34834099if test "${ac_cv_target+set}" = set; then
    3484   echo $ECHO_N "(cached) $ECHO_C" >&6
    3485 else
    3486   ac_cv_target_alias=$target_alias
    3487 test "x$ac_cv_target_alias" = "x" &&
    3488   ac_cv_target_alias=$ac_cv_host_alias
    3489 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    3490   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    3491 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     4100  $as_echo_n "(cached) " >&6
     4101else
     4102  if test "x$target_alias" = x; then
     4103  ac_cv_target=$ac_cv_host
     4104else
     4105  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     4106    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     4107$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    34924108   { (exit 1); exit 1; }; }
    3493 
    3494 fi
    3495 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    3496 echo "${ECHO_T}$ac_cv_target" >&6
     4109fi
     4110
     4111fi
     4112{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     4113$as_echo "$ac_cv_target" >&6; }
     4114case $ac_cv_target in
     4115*-*-*) ;;
     4116*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     4117$as_echo "$as_me: error: invalid value of canonical target" >&2;}
     4118   { (exit 1); exit 1; }; };;
     4119esac
    34974120target=$ac_cv_target
    3498 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    3499 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    3500 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     4121ac_save_IFS=$IFS; IFS='-'
     4122set x $ac_cv_target
     4123shift
     4124target_cpu=$1
     4125target_vendor=$2
     4126shift; shift
     4127# Remember, the first character of IFS is used to create $*,
     4128# except with old shells:
     4129target_os=$*
     4130IFS=$ac_save_IFS
     4131case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    35014132
    35024133
     
    35204151# OS/2's system install, which has a completely different semantic
    35214152# ./install, which can be erroneously created by make from ./install.sh.
    3522 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3523 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     4153# Reject install programs that cannot install multiple files.
     4154{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     4155$as_echo_n "checking for a BSD-compatible install... " >&6; }
    35244156if test -z "$INSTALL"; then
    35254157if test "${ac_cv_path_install+set}" = set; then
    3526   echo $ECHO_N "(cached) $ECHO_C" >&6
     4158  $as_echo_n "(cached) " >&6
    35274159else
    35284160  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    35434175    for ac_prog in ginstall scoinst install; do
    35444176      for ac_exec_ext in '' $ac_executable_extensions; do
    3545     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     4177    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    35464178      if test $ac_prog = install &&
    35474179        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    35534185        :
    35544186      else
    3555         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3556         break 3
     4187        rm -rf conftest.one conftest.two conftest.dir
     4188        echo one > conftest.one
     4189        echo two > conftest.two
     4190        mkdir conftest.dir
     4191        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     4192          test -s conftest.one && test -s conftest.two &&
     4193          test -s conftest.dir/conftest.one &&
     4194          test -s conftest.dir/conftest.two
     4195        then
     4196          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     4197          break 3
     4198        fi
    35574199      fi
    35584200    fi
     
    35614203    ;;
    35624204esac
     4205
    35634206done
    3564 
     4207IFS=$as_save_IFS
     4208
     4209rm -rf conftest.one conftest.two conftest.dir
    35654210
    35664211fi
     
    35684213    INSTALL=$ac_cv_path_install
    35694214  else
    3570     # As a last resort, use the slow shell script.  We don't cache a
    3571     # path for INSTALL within a source directory, because that will
     4215    # As a last resort, use the slow shell script.  Don't cache a
     4216    # value for INSTALL within a source directory, because that will
    35724217    # break other packages using the cache if that directory is
    3573     # removed, or if the path is relative.
     4218    # removed, or if the value is a relative name.
    35744219    INSTALL=$ac_install_sh
    35754220  fi
    35764221fi
    3577 echo "$as_me:$LINENO: result: $INSTALL" >&5
    3578 echo "${ECHO_T}$INSTALL" >&6
     4222{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     4223$as_echo "$INSTALL" >&6; }
    35794224
    35804225# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    35864231test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    35874232
    3588 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3589 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     4233{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     4234$as_echo_n "checking whether ln -s works... " >&6; }
    35904235LN_S=$as_ln_s
    35914236if test "$LN_S" = "ln -s"; then
    3592   echo "$as_me:$LINENO: result: yes" >&5
    3593 echo "${ECHO_T}yes" >&6
    3594 else
    3595   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3596 echo "${ECHO_T}no, using $LN_S" >&6
    3597 fi
    3598 
    3599 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3600 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3601 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3602 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    3603   echo $ECHO_N "(cached) $ECHO_C" >&6
     4237  { $as_echo "$as_me:$LINENO: result: yes" >&5
     4238$as_echo "yes" >&6; }
     4239else
     4240  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     4241$as_echo "no, using $LN_S" >&6; }
     4242fi
     4243
     4244{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     4245$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     4246set x ${MAKE-make}
     4247ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     4248if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     4249  $as_echo_n "(cached) " >&6
    36044250else
    36054251  cat >conftest.make <<\_ACEOF
     4252SHELL = /bin/sh
    36064253all:
    3607     @echo 'ac_maketemp="$(MAKE)"'
     4254    @echo '@@@%%%=$(MAKE)=@@@%%%'
    36084255_ACEOF
    36094256# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3610 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    3611 if test -n "$ac_maketemp"; then
    3612   eval ac_cv_prog_make_${ac_make}_set=yes
    3613 else
    3614   eval ac_cv_prog_make_${ac_make}_set=no
    3615 fi
     4257case `${MAKE-make} -f conftest.make 2>/dev/null` in
     4258  *@@@%%%=?*=@@@%%%*)
     4259    eval ac_cv_prog_make_${ac_make}_set=yes;;
     4260  *)
     4261    eval ac_cv_prog_make_${ac_make}_set=no;;
     4262esac
    36164263rm -f conftest.make
    36174264fi
    3618 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3619   echo "$as_me:$LINENO: result: yes" >&5
    3620 echo "${ECHO_T}yes" >&6
     4265if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     4266  { $as_echo "$as_me:$LINENO: result: yes" >&5
     4267$as_echo "yes" >&6; }
    36214268  SET_MAKE=
    36224269else
    3623   echo "$as_me:$LINENO: result: no" >&5
    3624 echo "${ECHO_T}no" >&6
     4270  { $as_echo "$as_me:$LINENO: result: no" >&5
     4271$as_echo "no" >&6; }
    36254272  SET_MAKE="MAKE=${MAKE-make}"
    36264273fi
     
    36294276  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    36304277set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3631 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4278{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4279$as_echo_n "checking for $ac_word... " >&6; }
    36334280if test "${ac_cv_prog_RANLIB+set}" = set; then
    3634   echo $ECHO_N "(cached) $ECHO_C" >&6
     4281  $as_echo_n "(cached) " >&6
    36354282else
    36364283  if test -n "$RANLIB"; then
     
    36434290  test -z "$as_dir" && as_dir=.
    36444291  for ac_exec_ext in '' $ac_executable_extensions; do
    3645   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4292  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    36464293    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3647     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4294    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    36484295    break 2
    36494296  fi
    36504297done
    36514298done
     4299IFS=$as_save_IFS
    36524300
    36534301fi
     
    36554303RANLIB=$ac_cv_prog_RANLIB
    36564304if test -n "$RANLIB"; then
    3657   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3658 echo "${ECHO_T}$RANLIB" >&6
    3659 else
    3660   echo "$as_me:$LINENO: result: no" >&5
    3661 echo "${ECHO_T}no" >&6
    3662 fi
     4305  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     4306$as_echo "$RANLIB" >&6; }
     4307else
     4308  { $as_echo "$as_me:$LINENO: result: no" >&5
     4309$as_echo "no" >&6; }
     4310fi
     4311
    36634312
    36644313fi
     
    36674316  # Extract the first word of "ranlib", so it can be a program name with args.
    36684317set dummy ranlib; ac_word=$2
    3669 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4318{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4319$as_echo_n "checking for $ac_word... " >&6; }
    36714320if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    3672   echo $ECHO_N "(cached) $ECHO_C" >&6
     4321  $as_echo_n "(cached) " >&6
    36734322else
    36744323  if test -n "$ac_ct_RANLIB"; then
     
    36814330  test -z "$as_dir" && as_dir=.
    36824331  for ac_exec_ext in '' $ac_executable_extensions; do
    3683   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4332  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    36844333    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3685     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4334    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    36864335    break 2
    36874336  fi
    36884337done
    36894338done
    3690 
    3691   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     4339IFS=$as_save_IFS
     4340
    36924341fi
    36934342fi
    36944343ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    36954344if test -n "$ac_ct_RANLIB"; then
    3696   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3697 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3698 else
    3699   echo "$as_me:$LINENO: result: no" >&5
    3700 echo "${ECHO_T}no" >&6
    3701 fi
    3702 
    3703   RANLIB=$ac_ct_RANLIB
     4345  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     4346$as_echo "$ac_ct_RANLIB" >&6; }
     4347else
     4348  { $as_echo "$as_me:$LINENO: result: no" >&5
     4349$as_echo "no" >&6; }
     4350fi
     4351
     4352  if test "x$ac_ct_RANLIB" = x; then
     4353    RANLIB=":"
     4354  else
     4355    case $cross_compiling:$ac_tool_warned in
     4356yes:)
     4357{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4358$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4359ac_tool_warned=yes ;;
     4360esac
     4361    RANLIB=$ac_ct_RANLIB
     4362  fi
    37044363else
    37054364  RANLIB="$ac_cv_prog_RANLIB"
     
    37074366
    37084367
    3709 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3710 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     4368{ $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     4369$as_echo_n "checking to see if architecture is 64-bit... " >&6; }
    37114370arch_64bit=no
    37124371case "$host_cpu" in
     
    37154374
    37164375if test "$arch_64bit" = yes; then
    3717   echo "$as_me:$LINENO: result: yes" >&5
    3718 echo "${ECHO_T}yes" >&6
    3719   if test -z "$COMPAT32BITFLAGS" ; then
    3720     COMPAT32BITFLAGS="-m32"
     4376  { $as_echo "$as_me:$LINENO: result: yes" >&5
     4377$as_echo "yes" >&6; }
     4378  if test -z "$ARCH_DEP_FLAGS" ; then
     4379    ARCH_DEP_FLAGS="-fPIC"
    37214380  fi
    37224381else
    3723   echo "$as_me:$LINENO: result: no" >&5
    3724 echo "${ECHO_T}no" >&6
    3725   if test -z "$COMPAT32BITFLAGS" ; then
    3726     COMPAT32BITFLAGS=
     4382  { $as_echo "$as_me:$LINENO: result: no" >&5
     4383$as_echo "no" >&6; }
     4384  if test -z "$ARCH_DEP_FLAGS" ; then
     4385    ARCH_DEP_FLAGS=
    37274386  fi
    37284387fi
    37294388
    3730 # Only need compat32bitflag if using MG or MGPP
    3731 if test "$ENABLE_MG" = "0" -a "$ENABLE_MGPP" = "0" ; then
    3732   COMPAT32BITFLAGS=
    3733 fi
    3734 
    3735 export COMPAT32BITFLAGS
     4389export ARCH_DEP_FLAGS
    37364390
    37374391
     
    37754429ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    37764430ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3777 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3778 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     4431{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     4432$as_echo_n "checking how to run the C preprocessor... " >&6; }
    37794433# On Suns, sometimes $CPP names a directory.
    37804434if test -n "$CPP" && test -d "$CPP"; then
     
    37834437if test -z "$CPP"; then
    37844438  if test "${ac_cv_prog_CPP+set}" = set; then
    3785   echo $ECHO_N "(cached) $ECHO_C" >&6
     4439  $as_echo_n "(cached) " >&6
    37864440else
    37874441      # Double quotes because CPP needs to be expanded
     
    38104464             Syntax error
    38114465_ACEOF
    3812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3813   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4466if { (ac_try="$ac_cpp conftest.$ac_ext"
     4467case "(($ac_try" in
     4468  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4469  *) ac_try_echo=$ac_try;;
     4470esac
     4471eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4472$as_echo "$ac_try_echo") >&5
     4473  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    38144474  ac_status=$?
    38154475  grep -v '^ *+' conftest.er1 >conftest.err
    38164476  rm -f conftest.er1
    38174477  cat conftest.err >&5
    3818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3819   (exit $ac_status); } >/dev/null; then
    3820   if test -s conftest.err; then
    3821     ac_cpp_err=$ac_c_preproc_warn_flag
    3822     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3823   else
    3824     ac_cpp_err=
    3825   fi
    3826 else
    3827   ac_cpp_err=yes
    3828 fi
    3829 if test -z "$ac_cpp_err"; then
     4478  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4479  (exit $ac_status); } >/dev/null && {
     4480     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4481     test ! -s conftest.err
     4482       }; then
    38304483  :
    38314484else
    3832   echo "$as_me: failed program was:" >&5
     4485  $as_echo "$as_me: failed program was:" >&5
    38334486sed 's/^/| /' conftest.$ac_ext >&5
    38344487
     
    38364489continue
    38374490fi
     4491
    38384492rm -f conftest.err conftest.$ac_ext
    38394493
    3840   # OK, works on sane cases.  Now check whether non-existent headers
     4494  # OK, works on sane cases.  Now check whether nonexistent headers
    38414495  # can be detected and how.
    38424496  cat >conftest.$ac_ext <<_ACEOF
     
    38484502#include <ac_nonexistent.h>
    38494503_ACEOF
    3850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3851   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4504if { (ac_try="$ac_cpp conftest.$ac_ext"
     4505case "(($ac_try" in
     4506  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4507  *) ac_try_echo=$ac_try;;
     4508esac
     4509eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4510$as_echo "$ac_try_echo") >&5
     4511  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    38524512  ac_status=$?
    38534513  grep -v '^ *+' conftest.er1 >conftest.err
    38544514  rm -f conftest.er1
    38554515  cat conftest.err >&5
    3856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3857   (exit $ac_status); } >/dev/null; then
    3858   if test -s conftest.err; then
    3859     ac_cpp_err=$ac_c_preproc_warn_flag
    3860     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3861   else
    3862     ac_cpp_err=
    3863   fi
    3864 else
    3865   ac_cpp_err=yes
    3866 fi
    3867 if test -z "$ac_cpp_err"; then
     4516  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4517  (exit $ac_status); } >/dev/null && {
     4518     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4519     test ! -s conftest.err
     4520       }; then
    38684521  # Broken: success on invalid input.
    38694522continue
    38704523else
    3871   echo "$as_me: failed program was:" >&5
     4524  $as_echo "$as_me: failed program was:" >&5
    38724525sed 's/^/| /' conftest.$ac_ext >&5
    38734526
     
    38764529break
    38774530fi
     4531
    38784532rm -f conftest.err conftest.$ac_ext
    38794533
     
    38934547  ac_cv_prog_CPP=$CPP
    38944548fi
    3895 echo "$as_me:$LINENO: result: $CPP" >&5
    3896 echo "${ECHO_T}$CPP" >&6
     4549{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
     4550$as_echo "$CPP" >&6; }
    38974551ac_preproc_ok=false
    38984552for ac_c_preproc_warn_flag in '' yes
     
    39174571             Syntax error
    39184572_ACEOF
    3919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3920   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4573if { (ac_try="$ac_cpp conftest.$ac_ext"
     4574case "(($ac_try" in
     4575  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4576  *) ac_try_echo=$ac_try;;
     4577esac
     4578eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4579$as_echo "$ac_try_echo") >&5
     4580  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    39214581  ac_status=$?
    39224582  grep -v '^ *+' conftest.er1 >conftest.err
    39234583  rm -f conftest.er1
    39244584  cat conftest.err >&5
    3925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3926   (exit $ac_status); } >/dev/null; then
    3927   if test -s conftest.err; then
    3928     ac_cpp_err=$ac_c_preproc_warn_flag
    3929     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3930   else
    3931     ac_cpp_err=
    3932   fi
    3933 else
    3934   ac_cpp_err=yes
    3935 fi
    3936 if test -z "$ac_cpp_err"; then
     4585  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4586  (exit $ac_status); } >/dev/null && {
     4587     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4588     test ! -s conftest.err
     4589       }; then
    39374590  :
    39384591else
    3939   echo "$as_me: failed program was:" >&5
     4592  $as_echo "$as_me: failed program was:" >&5
    39404593sed 's/^/| /' conftest.$ac_ext >&5
    39414594
     
    39434596continue
    39444597fi
     4598
    39454599rm -f conftest.err conftest.$ac_ext
    39464600
    3947   # OK, works on sane cases.  Now check whether non-existent headers
     4601  # OK, works on sane cases.  Now check whether nonexistent headers
    39484602  # can be detected and how.
    39494603  cat >conftest.$ac_ext <<_ACEOF
     
    39554609#include <ac_nonexistent.h>
    39564610_ACEOF
    3957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3958   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4611if { (ac_try="$ac_cpp conftest.$ac_ext"
     4612case "(($ac_try" in
     4613  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4614  *) ac_try_echo=$ac_try;;
     4615esac
     4616eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4617$as_echo "$ac_try_echo") >&5
     4618  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    39594619  ac_status=$?
    39604620  grep -v '^ *+' conftest.er1 >conftest.err
    39614621  rm -f conftest.er1
    39624622  cat conftest.err >&5
    3963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3964   (exit $ac_status); } >/dev/null; then
    3965   if test -s conftest.err; then
    3966     ac_cpp_err=$ac_c_preproc_warn_flag
    3967     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3968   else
    3969     ac_cpp_err=
    3970   fi
    3971 else
    3972   ac_cpp_err=yes
    3973 fi
    3974 if test -z "$ac_cpp_err"; then
     4623  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4624  (exit $ac_status); } >/dev/null && {
     4625     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4626     test ! -s conftest.err
     4627       }; then
    39754628  # Broken: success on invalid input.
    39764629continue
    39774630else
    3978   echo "$as_me: failed program was:" >&5
     4631  $as_echo "$as_me: failed program was:" >&5
    39794632sed 's/^/| /' conftest.$ac_ext >&5
    39804633
     
    39834636break
    39844637fi
     4638
    39854639rm -f conftest.err conftest.$ac_ext
    39864640
     
    39914645  :
    39924646else
    3993   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     4647  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4648$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4649{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    39944650See \`config.log' for more details." >&5
    3995 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     4651$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    39964652See \`config.log' for more details." >&2;}
    3997    { (exit 1); exit 1; }; }
     4653   { (exit 1); exit 1; }; }; }
    39984654fi
    39994655
     
    40054661
    40064662
    4007 echo "$as_me:$LINENO: checking for egrep" >&5
    4008 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    4009 if test "${ac_cv_prog_egrep+set}" = set; then
    4010   echo $ECHO_N "(cached) $ECHO_C" >&6
    4011 else
    4012   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    4013     then ac_cv_prog_egrep='grep -E'
    4014     else ac_cv_prog_egrep='egrep'
     4663{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4664$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4665if test "${ac_cv_path_GREP+set}" = set; then
     4666  $as_echo_n "(cached) " >&6
     4667else
     4668  if test -z "$GREP"; then
     4669  ac_path_GREP_found=false
     4670  # Loop through the user's path and test for each of PROGNAME-LIST
     4671  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4672for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4673do
     4674  IFS=$as_save_IFS
     4675  test -z "$as_dir" && as_dir=.
     4676  for ac_prog in grep ggrep; do
     4677    for ac_exec_ext in '' $ac_executable_extensions; do
     4678      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4679      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4680# Check for GNU ac_path_GREP and select it if it is found.
     4681  # Check for GNU $ac_path_GREP
     4682case `"$ac_path_GREP" --version 2>&1` in
     4683*GNU*)
     4684  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4685*)
     4686  ac_count=0
     4687  $as_echo_n 0123456789 >"conftest.in"
     4688  while :
     4689  do
     4690    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4691    mv "conftest.tmp" "conftest.in"
     4692    cp "conftest.in" "conftest.nl"
     4693    $as_echo 'GREP' >> "conftest.nl"
     4694    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4695    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4696    ac_count=`expr $ac_count + 1`
     4697    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4698      # Best one so far, save it but keep looking for a better one
     4699      ac_cv_path_GREP="$ac_path_GREP"
     4700      ac_path_GREP_max=$ac_count
    40154701    fi
    4016 fi
    4017 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    4018 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    4019  EGREP=$ac_cv_prog_egrep
    4020 
    4021 
    4022 
    4023 echo "$as_me:$LINENO: checking for AIX" >&5
    4024 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    4025 cat >conftest.$ac_ext <<_ACEOF
    4026 /* confdefs.h.  */
    4027 _ACEOF
    4028 cat confdefs.h >>conftest.$ac_ext
    4029 cat >>conftest.$ac_ext <<_ACEOF
    4030 /* end confdefs.h.  */
    4031 #ifdef _AIX
    4032   yes
    4033 #endif
    4034 
    4035 _ACEOF
    4036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4037   $EGREP "yes" >/dev/null 2>&1; then
    4038   echo "$as_me:$LINENO: result: yes" >&5
    4039 echo "${ECHO_T}yes" >&6
    4040 cat >>confdefs.h <<\_ACEOF
    4041 #define _ALL_SOURCE 1
    4042 _ACEOF
    4043 
    4044 else
    4045   echo "$as_me:$LINENO: result: no" >&5
    4046 echo "${ECHO_T}no" >&6
    4047 fi
    4048 rm -f conftest*
    4049 
    4050 
    4051 echo "$as_me:$LINENO: checking for library containing strerror" >&5
    4052 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
    4053 if test "${ac_cv_search_strerror+set}" = set; then
    4054   echo $ECHO_N "(cached) $ECHO_C" >&6
    4055 else
    4056   ac_func_search_save_LIBS=$LIBS
    4057 ac_cv_search_strerror=no
    4058 cat >conftest.$ac_ext <<_ACEOF
    4059 /* confdefs.h.  */
    4060 _ACEOF
    4061 cat confdefs.h >>conftest.$ac_ext
    4062 cat >>conftest.$ac_ext <<_ACEOF
    4063 /* end confdefs.h.  */
    4064 
    4065 /* Override any gcc2 internal prototype to avoid an error.  */
    4066 #ifdef __cplusplus
    4067 extern "C"
    4068 #endif
    4069 /* We use char because int might match the return type of a gcc2
    4070    builtin and then its argument prototype would still apply.  */
    4071 char strerror ();
    4072 int
    4073 main ()
    4074 {
    4075 strerror ();
    4076   ;
    4077   return 0;
    4078 }
    4079 _ACEOF
    4080 rm -f conftest.$ac_objext conftest$ac_exeext
    4081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4082   (eval $ac_link) 2>conftest.er1
    4083   ac_status=$?
    4084   grep -v '^ *+' conftest.er1 >conftest.err
    4085   rm -f conftest.er1
    4086   cat conftest.err >&5
    4087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4088   (exit $ac_status); } &&
    4089      { ac_try='test -z "$ac_c_werror_flag"
    4090              || test ! -s conftest.err'
    4091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4092   (eval $ac_try) 2>&5
    4093   ac_status=$?
    4094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4095   (exit $ac_status); }; } &&
    4096      { ac_try='test -s conftest$ac_exeext'
    4097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4098   (eval $ac_try) 2>&5
    4099   ac_status=$?
    4100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4101   (exit $ac_status); }; }; then
    4102   ac_cv_search_strerror="none required"
    4103 else
    4104   echo "$as_me: failed program was:" >&5
    4105 sed 's/^/| /' conftest.$ac_ext >&5
    4106 
    4107 fi
    4108 rm -f conftest.err conftest.$ac_objext \
    4109       conftest$ac_exeext conftest.$ac_ext
    4110 if test "$ac_cv_search_strerror" = no; then
    4111   for ac_lib in cposix; do
    4112     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4113     cat >conftest.$ac_ext <<_ACEOF
    4114 /* confdefs.h.  */
    4115 _ACEOF
    4116 cat confdefs.h >>conftest.$ac_ext
    4117 cat >>conftest.$ac_ext <<_ACEOF
    4118 /* end confdefs.h.  */
    4119 
    4120 /* Override any gcc2 internal prototype to avoid an error.  */
    4121 #ifdef __cplusplus
    4122 extern "C"
    4123 #endif
    4124 /* We use char because int might match the return type of a gcc2
    4125    builtin and then its argument prototype would still apply.  */
    4126 char strerror ();
    4127 int
    4128 main ()
    4129 {
    4130 strerror ();
    4131   ;
    4132   return 0;
    4133 }
    4134 _ACEOF
    4135 rm -f conftest.$ac_objext conftest$ac_exeext
    4136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4137   (eval $ac_link) 2>conftest.er1
    4138   ac_status=$?
    4139   grep -v '^ *+' conftest.er1 >conftest.err
    4140   rm -f conftest.er1
    4141   cat conftest.err >&5
    4142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4143   (exit $ac_status); } &&
    4144      { ac_try='test -z "$ac_c_werror_flag"
    4145              || test ! -s conftest.err'
    4146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4147   (eval $ac_try) 2>&5
    4148   ac_status=$?
    4149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4150   (exit $ac_status); }; } &&
    4151      { ac_try='test -s conftest$ac_exeext'
    4152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4153   (eval $ac_try) 2>&5
    4154   ac_status=$?
    4155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4156   (exit $ac_status); }; }; then
    4157   ac_cv_search_strerror="-l$ac_lib"
    4158 break
    4159 else
    4160   echo "$as_me: failed program was:" >&5
    4161 sed 's/^/| /' conftest.$ac_ext >&5
    4162 
    4163 fi
    4164 rm -f conftest.err conftest.$ac_objext \
    4165       conftest$ac_exeext conftest.$ac_ext
     4702    # 10*(2^10) chars as input seems more than enough
     4703    test $ac_count -gt 10 && break
    41664704  done
    4167 fi
    4168 LIBS=$ac_func_search_save_LIBS
    4169 fi
    4170 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    4171 echo "${ECHO_T}$ac_cv_search_strerror" >&6
    4172 if test "$ac_cv_search_strerror" != no; then
    4173   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
    4174 
    4175 fi
    4176 
    4177 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4178 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4705  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4706esac
     4707
     4708      $ac_path_GREP_found && break 3
     4709    done
     4710  done
     4711done
     4712IFS=$as_save_IFS
     4713  if test -z "$ac_cv_path_GREP"; then
     4714    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4715$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4716   { (exit 1); exit 1; }; }
     4717  fi
     4718else
     4719  ac_cv_path_GREP=$GREP
     4720fi
     4721
     4722fi
     4723{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4724$as_echo "$ac_cv_path_GREP" >&6; }
     4725 GREP="$ac_cv_path_GREP"
     4726
     4727
     4728{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4729$as_echo_n "checking for egrep... " >&6; }
     4730if test "${ac_cv_path_EGREP+set}" = set; then
     4731  $as_echo_n "(cached) " >&6
     4732else
     4733  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4734   then ac_cv_path_EGREP="$GREP -E"
     4735   else
     4736     if test -z "$EGREP"; then
     4737  ac_path_EGREP_found=false
     4738  # Loop through the user's path and test for each of PROGNAME-LIST
     4739  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4740for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4741do
     4742  IFS=$as_save_IFS
     4743  test -z "$as_dir" && as_dir=.
     4744  for ac_prog in egrep; do
     4745    for ac_exec_ext in '' $ac_executable_extensions; do
     4746      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4747      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4748# Check for GNU ac_path_EGREP and select it if it is found.
     4749  # Check for GNU $ac_path_EGREP
     4750case `"$ac_path_EGREP" --version 2>&1` in
     4751*GNU*)
     4752  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4753*)
     4754  ac_count=0
     4755  $as_echo_n 0123456789 >"conftest.in"
     4756  while :
     4757  do
     4758    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4759    mv "conftest.tmp" "conftest.in"
     4760    cp "conftest.in" "conftest.nl"
     4761    $as_echo 'EGREP' >> "conftest.nl"
     4762    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4763    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4764    ac_count=`expr $ac_count + 1`
     4765    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4766      # Best one so far, save it but keep looking for a better one
     4767      ac_cv_path_EGREP="$ac_path_EGREP"
     4768      ac_path_EGREP_max=$ac_count
     4769    fi
     4770    # 10*(2^10) chars as input seems more than enough
     4771    test $ac_count -gt 10 && break
     4772  done
     4773  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4774esac
     4775
     4776      $ac_path_EGREP_found && break 3
     4777    done
     4778  done
     4779done
     4780IFS=$as_save_IFS
     4781  if test -z "$ac_cv_path_EGREP"; then
     4782    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4783$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4784   { (exit 1); exit 1; }; }
     4785  fi
     4786else
     4787  ac_cv_path_EGREP=$EGREP
     4788fi
     4789
     4790   fi
     4791fi
     4792{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4793$as_echo "$ac_cv_path_EGREP" >&6; }
     4794 EGREP="$ac_cv_path_EGREP"
     4795
     4796
     4797{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4798$as_echo_n "checking for ANSI C header files... " >&6; }
    41794799if test "${ac_cv_header_stdc+set}" = set; then
    4180   echo $ECHO_N "(cached) $ECHO_C" >&6
     4800  $as_echo_n "(cached) " >&6
    41814801else
    41824802  cat >conftest.$ac_ext <<_ACEOF
     
    42004820_ACEOF
    42014821rm -f conftest.$ac_objext
    4202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4203   (eval $ac_compile) 2>conftest.er1
     4822if { (ac_try="$ac_compile"
     4823case "(($ac_try" in
     4824  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4825  *) ac_try_echo=$ac_try;;
     4826esac
     4827eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4828$as_echo "$ac_try_echo") >&5
     4829  (eval "$ac_compile") 2>conftest.er1
    42044830  ac_status=$?
    42054831  grep -v '^ *+' conftest.er1 >conftest.err
    42064832  rm -f conftest.er1
    42074833  cat conftest.err >&5
    4208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4209   (exit $ac_status); } &&
    4210      { ac_try='test -z "$ac_c_werror_flag"
    4211              || test ! -s conftest.err'
    4212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4213   (eval $ac_try) 2>&5
    4214   ac_status=$?
    4215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4216   (exit $ac_status); }; } &&
    4217      { ac_try='test -s conftest.$ac_objext'
    4218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4219   (eval $ac_try) 2>&5
    4220   ac_status=$?
    4221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4222   (exit $ac_status); }; }; then
     4834  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4835  (exit $ac_status); } && {
     4836     test -z "$ac_c_werror_flag" ||
     4837     test ! -s conftest.err
     4838       } && test -s conftest.$ac_objext; then
    42234839  ac_cv_header_stdc=yes
    42244840else
    4225   echo "$as_me: failed program was:" >&5
     4841  $as_echo "$as_me: failed program was:" >&5
    42264842sed 's/^/| /' conftest.$ac_ext >&5
    42274843
    4228 ac_cv_header_stdc=no
    4229 fi
    4230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4844    ac_cv_header_stdc=no
     4845fi
     4846
     4847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    42314848
    42324849if test $ac_cv_header_stdc = yes; then
     
    42844901/* end confdefs.h.  */
    42854902#include <ctype.h>
     4903#include <stdlib.h>
    42864904#if ((' ' & 0x0FF) == 0x020)
    42874905# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    43034921    if (XOR (islower (i), ISLOWER (i))
    43044922    || toupper (i) != TOUPPER (i))
    4305       exit(2);
    4306   exit (0);
     4923      return 2;
     4924  return 0;
    43074925}
    43084926_ACEOF
    43094927rm -f conftest$ac_exeext
    4310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4311   (eval $ac_link) 2>&5
     4928if { (ac_try="$ac_link"
     4929case "(($ac_try" in
     4930  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4931  *) ac_try_echo=$ac_try;;
     4932esac
     4933eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4934$as_echo "$ac_try_echo") >&5
     4935  (eval "$ac_link") 2>&5
    43124936  ac_status=$?
    4313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4937  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43144938  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4316   (eval $ac_try) 2>&5
     4939  { (case "(($ac_try" in
     4940  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4941  *) ac_try_echo=$ac_try;;
     4942esac
     4943eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4944$as_echo "$ac_try_echo") >&5
     4945  (eval "$ac_try") 2>&5
    43174946  ac_status=$?
    4318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4947  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43194948  (exit $ac_status); }; }; then
    43204949  :
    43214950else
    4322   echo "$as_me: program exited with status $ac_status" >&5
    4323 echo "$as_me: failed program was:" >&5
     4951  $as_echo "$as_me: program exited with status $ac_status" >&5
     4952$as_echo "$as_me: failed program was:" >&5
    43244953sed 's/^/| /' conftest.$ac_ext >&5
    43254954
     
    43274956ac_cv_header_stdc=no
    43284957fi
    4329 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4330 fi
    4331 fi
    4332 fi
    4333 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4334 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4958rm -rf conftest.dSYM
     4959rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4960fi
     4961
     4962
     4963fi
     4964fi
     4965{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4966$as_echo "$ac_cv_header_stdc" >&6; }
    43354967if test $ac_cv_header_stdc = yes; then
    43364968
     
    43544986          inttypes.h stdint.h unistd.h
    43554987do
    4356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4357 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4360   echo $ECHO_N "(cached) $ECHO_C" >&6
     4988as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4989{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     4990$as_echo_n "checking for $ac_header... " >&6; }
     4991if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4992  $as_echo_n "(cached) " >&6
    43614993else
    43624994  cat >conftest.$ac_ext <<_ACEOF
     
    43715003_ACEOF
    43725004rm -f conftest.$ac_objext
    4373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4374   (eval $ac_compile) 2>conftest.er1
     5005if { (ac_try="$ac_compile"
     5006case "(($ac_try" in
     5007  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5008  *) ac_try_echo=$ac_try;;
     5009esac
     5010eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5011$as_echo "$ac_try_echo") >&5
     5012  (eval "$ac_compile") 2>conftest.er1
    43755013  ac_status=$?
    43765014  grep -v '^ *+' conftest.er1 >conftest.err
    43775015  rm -f conftest.er1
    43785016  cat conftest.err >&5
    4379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4380   (exit $ac_status); } &&
    4381      { ac_try='test -z "$ac_c_werror_flag"
    4382              || test ! -s conftest.err'
    4383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4384   (eval $ac_try) 2>&5
    4385   ac_status=$?
    4386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4387   (exit $ac_status); }; } &&
    4388      { ac_try='test -s conftest.$ac_objext'
    4389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4390   (eval $ac_try) 2>&5
    4391   ac_status=$?
    4392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4393   (exit $ac_status); }; }; then
     5017  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5018  (exit $ac_status); } && {
     5019     test -z "$ac_c_werror_flag" ||
     5020     test ! -s conftest.err
     5021       } && test -s conftest.$ac_objext; then
    43945022  eval "$as_ac_Header=yes"
    43955023else
    4396   echo "$as_me: failed program was:" >&5
     5024  $as_echo "$as_me: failed program was:" >&5
    43975025sed 's/^/| /' conftest.$ac_ext >&5
    43985026
    4399 eval "$as_ac_Header=no"
    4400 fi
    4401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4402 fi
    4403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5027    eval "$as_ac_Header=no"
     5028fi
     5029
     5030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5031fi
     5032ac_res=`eval 'as_val=${'$as_ac_Header'}
     5033         $as_echo "$as_val"'`
     5034           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5035$as_echo "$ac_res" >&6; }
     5036as_val=`eval 'as_val=${'$as_ac_Header'}
     5037         $as_echo "$as_val"'`
     5038   if test "x$as_val" = x""yes; then
    44065039  cat >>confdefs.h <<_ACEOF
    4407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5040#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    44085041_ACEOF
    44095042
     
    44135046
    44145047
     5048
     5049  if test "${ac_cv_header_minix_config_h+set}" = set; then
     5050  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     5051$as_echo_n "checking for minix/config.h... " >&6; }
    44155052if test "${ac_cv_header_minix_config_h+set}" = set; then
    4416   echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4417 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    4418 if test "${ac_cv_header_minix_config_h+set}" = set; then
    4419   echo $ECHO_N "(cached) $ECHO_C" >&6
    4420 fi
    4421 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4422 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     5053  $as_echo_n "(cached) " >&6
     5054fi
     5055{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     5056$as_echo "$ac_cv_header_minix_config_h" >&6; }
    44235057else
    44245058  # Is the header compilable?
    4425 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    4426 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     5059{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     5060$as_echo_n "checking minix/config.h usability... " >&6; }
    44275061cat >conftest.$ac_ext <<_ACEOF
    44285062/* confdefs.h.  */
     
    44355069_ACEOF
    44365070rm -f conftest.$ac_objext
    4437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4438   (eval $ac_compile) 2>conftest.er1
     5071if { (ac_try="$ac_compile"
     5072case "(($ac_try" in
     5073  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5074  *) ac_try_echo=$ac_try;;
     5075esac
     5076eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5077$as_echo "$ac_try_echo") >&5
     5078  (eval "$ac_compile") 2>conftest.er1
    44395079  ac_status=$?
    44405080  grep -v '^ *+' conftest.er1 >conftest.err
    44415081  rm -f conftest.er1
    44425082  cat conftest.err >&5
    4443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4444   (exit $ac_status); } &&
    4445      { ac_try='test -z "$ac_c_werror_flag"
    4446              || test ! -s conftest.err'
    4447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4448   (eval $ac_try) 2>&5
    4449   ac_status=$?
    4450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4451   (exit $ac_status); }; } &&
    4452      { ac_try='test -s conftest.$ac_objext'
    4453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4454   (eval $ac_try) 2>&5
    4455   ac_status=$?
    4456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4457   (exit $ac_status); }; }; then
     5083  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5084  (exit $ac_status); } && {
     5085     test -z "$ac_c_werror_flag" ||
     5086     test ! -s conftest.err
     5087       } && test -s conftest.$ac_objext; then
    44585088  ac_header_compiler=yes
    44595089else
    4460   echo "$as_me: failed program was:" >&5
     5090  $as_echo "$as_me: failed program was:" >&5
    44615091sed 's/^/| /' conftest.$ac_ext >&5
    44625092
    4463 ac_header_compiler=no
    4464 fi
    4465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4467 echo "${ECHO_T}$ac_header_compiler" >&6
     5093    ac_header_compiler=no
     5094fi
     5095
     5096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5097{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5098$as_echo "$ac_header_compiler" >&6; }
    44685099
    44695100# Is the header present?
    4470 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    4471 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     5101{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     5102$as_echo_n "checking minix/config.h presence... " >&6; }
    44725103cat >conftest.$ac_ext <<_ACEOF
    44735104/* confdefs.h.  */
     
    44785109#include <minix/config.h>
    44795110_ACEOF
    4480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4481   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5111if { (ac_try="$ac_cpp conftest.$ac_ext"
     5112case "(($ac_try" in
     5113  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5114  *) ac_try_echo=$ac_try;;
     5115esac
     5116eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5117$as_echo "$ac_try_echo") >&5
     5118  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    44825119  ac_status=$?
    44835120  grep -v '^ *+' conftest.er1 >conftest.err
    44845121  rm -f conftest.er1
    44855122  cat conftest.err >&5
    4486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4487   (exit $ac_status); } >/dev/null; then
    4488   if test -s conftest.err; then
    4489     ac_cpp_err=$ac_c_preproc_warn_flag
    4490     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4491   else
    4492     ac_cpp_err=
    4493   fi
    4494 else
    4495   ac_cpp_err=yes
    4496 fi
    4497 if test -z "$ac_cpp_err"; then
     5123  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5124  (exit $ac_status); } >/dev/null && {
     5125     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5126     test ! -s conftest.err
     5127       }; then
    44985128  ac_header_preproc=yes
    44995129else
    4500   echo "$as_me: failed program was:" >&5
     5130  $as_echo "$as_me: failed program was:" >&5
    45015131sed 's/^/| /' conftest.$ac_ext >&5
    45025132
    45035133  ac_header_preproc=no
    45045134fi
     5135
    45055136rm -f conftest.err conftest.$ac_ext
    4506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4507 echo "${ECHO_T}$ac_header_preproc" >&6
     5137{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5138$as_echo "$ac_header_preproc" >&6; }
    45085139
    45095140# So?  What about this header?
    45105141case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    45115142  yes:no: )
    4512     { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4513 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4514     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
    4515 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
     5143    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5144$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5145    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
     5146$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
    45165147    ac_header_preproc=yes
    45175148    ;;
    45185149  no:yes:* )
    4519     { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
    4520 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
    4521     { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
    4522 echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
    4523     { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
    4524 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
    4525     { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
    4526 echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4527     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
    4528 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
    4529     { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    4530 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    4531     (
    4532       cat <<\_ASBOX
    4533 ## ------------------------------------------ ##
    4534 ## Report this to the AC_PACKAGE_NAME lists.  ##
    4535 ## ------------------------------------------ ##
    4536 _ASBOX
    4537     ) |
    4538       sed "s/^/$as_me: WARNING:     /" >&2
     5150    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
     5151$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
     5152    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
     5153$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
     5154    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
     5155$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
     5156    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
     5157$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5158    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
     5159$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
     5160    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
     5161$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
     5162
    45395163    ;;
    45405164esac
    4541 echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4542 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     5165{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     5166$as_echo_n "checking for minix/config.h... " >&6; }
    45435167if test "${ac_cv_header_minix_config_h+set}" = set; then
    4544   echo $ECHO_N "(cached) $ECHO_C" >&6
     5168  $as_echo_n "(cached) " >&6
    45455169else
    45465170  ac_cv_header_minix_config_h=$ac_header_preproc
    45475171fi
    4548 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4549 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    4550 
    4551 fi
    4552 if test $ac_cv_header_minix_config_h = yes; then
     5172{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     5173$as_echo "$ac_cv_header_minix_config_h" >&6; }
     5174
     5175fi
     5176if test "x$ac_cv_header_minix_config_h" = x""yes; then
    45535177  MINIX=yes
    45545178else
     
    45575181
    45585182
    4559 if test "$MINIX" = yes; then
     5183  if test "$MINIX" = yes; then
    45605184
    45615185cat >>confdefs.h <<\_ACEOF
     
    45735197_ACEOF
    45745198
    4575 fi
    4576 
    4577 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    4578 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     5199  fi
     5200
     5201
     5202
     5203  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
     5204$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
     5205if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
     5206  $as_echo_n "(cached) " >&6
     5207else
     5208  cat >conftest.$ac_ext <<_ACEOF
     5209/* confdefs.h.  */
     5210_ACEOF
     5211cat confdefs.h >>conftest.$ac_ext
     5212cat >>conftest.$ac_ext <<_ACEOF
     5213/* end confdefs.h.  */
     5214
     5215#     define __EXTENSIONS__ 1
     5216      $ac_includes_default
     5217int
     5218main ()
     5219{
     5220
     5221  ;
     5222  return 0;
     5223}
     5224_ACEOF
     5225rm -f conftest.$ac_objext
     5226if { (ac_try="$ac_compile"
     5227case "(($ac_try" in
     5228  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5229  *) ac_try_echo=$ac_try;;
     5230esac
     5231eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5232$as_echo "$ac_try_echo") >&5
     5233  (eval "$ac_compile") 2>conftest.er1
     5234  ac_status=$?
     5235  grep -v '^ *+' conftest.er1 >conftest.err
     5236  rm -f conftest.er1
     5237  cat conftest.err >&5
     5238  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5239  (exit $ac_status); } && {
     5240     test -z "$ac_c_werror_flag" ||
     5241     test ! -s conftest.err
     5242       } && test -s conftest.$ac_objext; then
     5243  ac_cv_safe_to_define___extensions__=yes
     5244else
     5245  $as_echo "$as_me: failed program was:" >&5
     5246sed 's/^/| /' conftest.$ac_ext >&5
     5247
     5248    ac_cv_safe_to_define___extensions__=no
     5249fi
     5250
     5251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5252fi
     5253{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
     5254$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
     5255  test $ac_cv_safe_to_define___extensions__ = yes &&
     5256    cat >>confdefs.h <<\_ACEOF
     5257#define __EXTENSIONS__ 1
     5258_ACEOF
     5259
     5260  cat >>confdefs.h <<\_ACEOF
     5261#define _ALL_SOURCE 1
     5262_ACEOF
     5263
     5264  cat >>confdefs.h <<\_ACEOF
     5265#define _GNU_SOURCE 1
     5266_ACEOF
     5267
     5268  cat >>confdefs.h <<\_ACEOF
     5269#define _POSIX_PTHREAD_SEMANTICS 1
     5270_ACEOF
     5271
     5272  cat >>confdefs.h <<\_ACEOF
     5273#define _TANDEM_SOURCE 1
     5274_ACEOF
     5275
     5276
     5277{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
     5278$as_echo_n "checking for library containing strerror... " >&6; }
     5279if test "${ac_cv_search_strerror+set}" = set; then
     5280  $as_echo_n "(cached) " >&6
     5281else
     5282  ac_func_search_save_LIBS=$LIBS
     5283cat >conftest.$ac_ext <<_ACEOF
     5284/* confdefs.h.  */
     5285_ACEOF
     5286cat confdefs.h >>conftest.$ac_ext
     5287cat >>conftest.$ac_ext <<_ACEOF
     5288/* end confdefs.h.  */
     5289
     5290/* Override any GCC internal prototype to avoid an error.
     5291   Use char because int might match the return type of a GCC
     5292   builtin and then its argument prototype would still apply.  */
     5293#ifdef __cplusplus
     5294extern "C"
     5295#endif
     5296char strerror ();
     5297int
     5298main ()
     5299{
     5300return strerror ();
     5301  ;
     5302  return 0;
     5303}
     5304_ACEOF
     5305for ac_lib in '' cposix; do
     5306  if test -z "$ac_lib"; then
     5307    ac_res="none required"
     5308  else
     5309    ac_res=-l$ac_lib
     5310    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5311  fi
     5312  rm -f conftest.$ac_objext conftest$ac_exeext
     5313if { (ac_try="$ac_link"
     5314case "(($ac_try" in
     5315  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5316  *) ac_try_echo=$ac_try;;
     5317esac
     5318eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5319$as_echo "$ac_try_echo") >&5
     5320  (eval "$ac_link") 2>conftest.er1
     5321  ac_status=$?
     5322  grep -v '^ *+' conftest.er1 >conftest.err
     5323  rm -f conftest.er1
     5324  cat conftest.err >&5
     5325  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5326  (exit $ac_status); } && {
     5327     test -z "$ac_c_werror_flag" ||
     5328     test ! -s conftest.err
     5329       } && test -s conftest$ac_exeext && {
     5330     test "$cross_compiling" = yes ||
     5331     $as_test_x conftest$ac_exeext
     5332       }; then
     5333  ac_cv_search_strerror=$ac_res
     5334else
     5335  $as_echo "$as_me: failed program was:" >&5
     5336sed 's/^/| /' conftest.$ac_ext >&5
     5337
     5338
     5339fi
     5340
     5341rm -rf conftest.dSYM
     5342rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5343      conftest$ac_exeext
     5344  if test "${ac_cv_search_strerror+set}" = set; then
     5345  break
     5346fi
     5347done
     5348if test "${ac_cv_search_strerror+set}" = set; then
     5349  :
     5350else
     5351  ac_cv_search_strerror=no
     5352fi
     5353rm conftest.$ac_ext
     5354LIBS=$ac_func_search_save_LIBS
     5355fi
     5356{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     5357$as_echo "$ac_cv_search_strerror" >&6; }
     5358ac_res=$ac_cv_search_strerror
     5359if test "$ac_res" != no; then
     5360  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5361
     5362fi
     5363
     5364
     5365  if test "${ac_cv_header_minix_config_h+set}" = set; then
     5366  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     5367$as_echo_n "checking for minix/config.h... " >&6; }
     5368if test "${ac_cv_header_minix_config_h+set}" = set; then
     5369  $as_echo_n "(cached) " >&6
     5370fi
     5371{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     5372$as_echo "$ac_cv_header_minix_config_h" >&6; }
     5373else
     5374  # Is the header compilable?
     5375{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     5376$as_echo_n "checking minix/config.h usability... " >&6; }
     5377cat >conftest.$ac_ext <<_ACEOF
     5378/* confdefs.h.  */
     5379_ACEOF
     5380cat confdefs.h >>conftest.$ac_ext
     5381cat >>conftest.$ac_ext <<_ACEOF
     5382/* end confdefs.h.  */
     5383$ac_includes_default
     5384#include <minix/config.h>
     5385_ACEOF
     5386rm -f conftest.$ac_objext
     5387if { (ac_try="$ac_compile"
     5388case "(($ac_try" in
     5389  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5390  *) ac_try_echo=$ac_try;;
     5391esac
     5392eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5393$as_echo "$ac_try_echo") >&5
     5394  (eval "$ac_compile") 2>conftest.er1
     5395  ac_status=$?
     5396  grep -v '^ *+' conftest.er1 >conftest.err
     5397  rm -f conftest.er1
     5398  cat conftest.err >&5
     5399  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5400  (exit $ac_status); } && {
     5401     test -z "$ac_c_werror_flag" ||
     5402     test ! -s conftest.err
     5403       } && test -s conftest.$ac_objext; then
     5404  ac_header_compiler=yes
     5405else
     5406  $as_echo "$as_me: failed program was:" >&5
     5407sed 's/^/| /' conftest.$ac_ext >&5
     5408
     5409    ac_header_compiler=no
     5410fi
     5411
     5412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5413{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5414$as_echo "$ac_header_compiler" >&6; }
     5415
     5416# Is the header present?
     5417{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     5418$as_echo_n "checking minix/config.h presence... " >&6; }
     5419cat >conftest.$ac_ext <<_ACEOF
     5420/* confdefs.h.  */
     5421_ACEOF
     5422cat confdefs.h >>conftest.$ac_ext
     5423cat >>conftest.$ac_ext <<_ACEOF
     5424/* end confdefs.h.  */
     5425#include <minix/config.h>
     5426_ACEOF
     5427if { (ac_try="$ac_cpp conftest.$ac_ext"
     5428case "(($ac_try" in
     5429  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5430  *) ac_try_echo=$ac_try;;
     5431esac
     5432eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5433$as_echo "$ac_try_echo") >&5
     5434  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5435  ac_status=$?
     5436  grep -v '^ *+' conftest.er1 >conftest.err
     5437  rm -f conftest.er1
     5438  cat conftest.err >&5
     5439  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5440  (exit $ac_status); } >/dev/null && {
     5441     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5442     test ! -s conftest.err
     5443       }; then
     5444  ac_header_preproc=yes
     5445else
     5446  $as_echo "$as_me: failed program was:" >&5
     5447sed 's/^/| /' conftest.$ac_ext >&5
     5448
     5449  ac_header_preproc=no
     5450fi
     5451
     5452rm -f conftest.err conftest.$ac_ext
     5453{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5454$as_echo "$ac_header_preproc" >&6; }
     5455
     5456# So?  What about this header?
     5457case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5458  yes:no: )
     5459    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5460$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5461    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
     5462$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
     5463    ac_header_preproc=yes
     5464    ;;
     5465  no:yes:* )
     5466    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
     5467$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
     5468    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
     5469$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
     5470    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
     5471$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
     5472    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
     5473$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5474    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
     5475$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
     5476    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
     5477$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
     5478
     5479    ;;
     5480esac
     5481{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     5482$as_echo_n "checking for minix/config.h... " >&6; }
     5483if test "${ac_cv_header_minix_config_h+set}" = set; then
     5484  $as_echo_n "(cached) " >&6
     5485else
     5486  ac_cv_header_minix_config_h=$ac_header_preproc
     5487fi
     5488{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     5489$as_echo "$ac_cv_header_minix_config_h" >&6; }
     5490
     5491fi
     5492if test "x$ac_cv_header_minix_config_h" = x""yes; then
     5493  MINIX=yes
     5494else
     5495  MINIX=
     5496fi
     5497
     5498
     5499  if test "$MINIX" = yes; then
     5500
     5501cat >>confdefs.h <<\_ACEOF
     5502#define _POSIX_SOURCE 1
     5503_ACEOF
     5504
     5505
     5506cat >>confdefs.h <<\_ACEOF
     5507#define _POSIX_1_SOURCE 2
     5508_ACEOF
     5509
     5510
     5511cat >>confdefs.h <<\_ACEOF
     5512#define _MINIX 1
     5513_ACEOF
     5514
     5515  fi
     5516
     5517
     5518
     5519  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
     5520$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
     5521if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
     5522  $as_echo_n "(cached) " >&6
     5523else
     5524  cat >conftest.$ac_ext <<_ACEOF
     5525/* confdefs.h.  */
     5526_ACEOF
     5527cat confdefs.h >>conftest.$ac_ext
     5528cat >>conftest.$ac_ext <<_ACEOF
     5529/* end confdefs.h.  */
     5530
     5531#     define __EXTENSIONS__ 1
     5532      $ac_includes_default
     5533int
     5534main ()
     5535{
     5536
     5537  ;
     5538  return 0;
     5539}
     5540_ACEOF
     5541rm -f conftest.$ac_objext
     5542if { (ac_try="$ac_compile"
     5543case "(($ac_try" in
     5544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5545  *) ac_try_echo=$ac_try;;
     5546esac
     5547eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5548$as_echo "$ac_try_echo") >&5
     5549  (eval "$ac_compile") 2>conftest.er1
     5550  ac_status=$?
     5551  grep -v '^ *+' conftest.er1 >conftest.err
     5552  rm -f conftest.er1
     5553  cat conftest.err >&5
     5554  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5555  (exit $ac_status); } && {
     5556     test -z "$ac_c_werror_flag" ||
     5557     test ! -s conftest.err
     5558       } && test -s conftest.$ac_objext; then
     5559  ac_cv_safe_to_define___extensions__=yes
     5560else
     5561  $as_echo "$as_me: failed program was:" >&5
     5562sed 's/^/| /' conftest.$ac_ext >&5
     5563
     5564    ac_cv_safe_to_define___extensions__=no
     5565fi
     5566
     5567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5568fi
     5569{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
     5570$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
     5571  test $ac_cv_safe_to_define___extensions__ = yes &&
     5572    cat >>confdefs.h <<\_ACEOF
     5573#define __EXTENSIONS__ 1
     5574_ACEOF
     5575
     5576  cat >>confdefs.h <<\_ACEOF
     5577#define _ALL_SOURCE 1
     5578_ACEOF
     5579
     5580  cat >>confdefs.h <<\_ACEOF
     5581#define _GNU_SOURCE 1
     5582_ACEOF
     5583
     5584  cat >>confdefs.h <<\_ACEOF
     5585#define _POSIX_PTHREAD_SEMANTICS 1
     5586_ACEOF
     5587
     5588  cat >>confdefs.h <<\_ACEOF
     5589#define _TANDEM_SOURCE 1
     5590_ACEOF
     5591
     5592
     5593{ $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     5594$as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
    45795595if test "${ac_cv_prog_cc_stdc+set}" = set; then
    4580   echo $ECHO_N "(cached) $ECHO_C" >&6
     5596  $as_echo_n "(cached) " >&6
    45815597else
    45825598  ac_cv_prog_cc_stdc=no
     
    46125628_ACEOF
    46135629rm -f conftest.$ac_objext
    4614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4615   (eval $ac_compile) 2>conftest.er1
     5630if { (ac_try="$ac_compile"
     5631case "(($ac_try" in
     5632  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5633  *) ac_try_echo=$ac_try;;
     5634esac
     5635eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5636$as_echo "$ac_try_echo") >&5
     5637  (eval "$ac_compile") 2>conftest.er1
    46165638  ac_status=$?
    46175639  grep -v '^ *+' conftest.er1 >conftest.err
    46185640  rm -f conftest.er1
    46195641  cat conftest.err >&5
    4620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4621   (exit $ac_status); } &&
    4622      { ac_try='test -z "$ac_c_werror_flag"
    4623              || test ! -s conftest.err'
    4624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4625   (eval $ac_try) 2>&5
    4626   ac_status=$?
    4627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4628   (exit $ac_status); }; } &&
    4629      { ac_try='test -s conftest.$ac_objext'
    4630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4631   (eval $ac_try) 2>&5
    4632   ac_status=$?
    4633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4634   (exit $ac_status); }; }; then
     5642  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5643  (exit $ac_status); } && {
     5644     test -z "$ac_c_werror_flag" ||
     5645     test ! -s conftest.err
     5646       } && test -s conftest.$ac_objext; then
    46355647  ac_cv_prog_cc_stdc="$ac_arg"; break
    46365648else
    4637   echo "$as_me: failed program was:" >&5
     5649  $as_echo "$as_me: failed program was:" >&5
    46385650sed 's/^/| /' conftest.$ac_ext >&5
    46395651
    4640 fi
    4641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5652
     5653fi
     5654
     5655rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    46425656done
    46435657CFLAGS="$ac_save_CFLAGS"
     
    46455659fi
    46465660
    4647 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4648 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     5661{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     5662$as_echo "$ac_cv_prog_cc_stdc" >&6; }
    46495663case "x$ac_cv_prog_cc_stdc" in
    46505664  x|xno) ;;
     
    46535667
    46545668
    4655 echo "$as_me:$LINENO: checking for function prototypes" >&5
    4656 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     5669{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
     5670$as_echo_n "checking for function prototypes... " >&6; }
    46575671if test "$ac_cv_prog_cc_stdc" != no; then
    4658   echo "$as_me:$LINENO: result: yes" >&5
    4659 echo "${ECHO_T}yes" >&6
     5672  { $as_echo "$as_me:$LINENO: result: yes" >&5
     5673$as_echo "yes" >&6; }
    46605674  cat >>confdefs.h <<\_ACEOF
    46615675#define PROTOTYPES 1
     
    46645678  U= ANSI2KNR=
    46655679else
    4666   echo "$as_me:$LINENO: result: no" >&5
    4667 echo "${ECHO_T}no" >&6
     5680  { $as_echo "$as_me:$LINENO: result: no" >&5
     5681$as_echo "no" >&6; }
    46685682  U=_ ANSI2KNR=ansi2knr
    46695683fi
    46705684
    4671 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4672 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     5685{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     5686$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
    46735687if test "${ac_cv_c_const+set}" = set; then
    4674   echo $ECHO_N "(cached) $ECHO_C" >&6
     5688  $as_echo_n "(cached) " >&6
    46755689else
    46765690  cat >conftest.$ac_ext <<_ACEOF
     
    46885702  /* Ultrix mips cc rejects this.  */
    46895703  typedef int charset[2];
    4690   const charset x;
     5704  const charset cs;
    46915705  /* SunOS 4.1.1 cc rejects this.  */
    4692   char const *const *ccp;
    4693   char **p;
     5706  char const *const *pcpcc;
     5707  char **ppc;
    46945708  /* NEC SVR4.0.2 mips cc rejects this.  */
    46955709  struct point {int x, y;};
     
    47005714     expression */
    47015715  const char *g = "string";
    4702   ccp = &g + (g ? g-g : 0);
     5716  pcpcc = &g + (g ? g-g : 0);
    47035717  /* HPUX 7.0 cc rejects these. */
    4704   ++ccp;
    4705   p = (char**) ccp;
    4706   ccp = (char const *const *) p;
     5718  ++pcpcc;
     5719  ppc = (char**) pcpcc;
     5720  pcpcc = (char const *const *) ppc;
    47075721  { /* SCO 3.2v4 cc rejects this.  */
    47085722    char *t;
     
    47105724
    47115725    *t++ = 0;
     5726    if (s) return 0;
    47125727  }
    47135728  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    47285743  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    47295744    const int foo = 10;
     5745    if (!foo) return 0;
    47305746  }
     5747  return !cs[0] && !zero.x;
    47315748#endif
    47325749
     
    47365753_ACEOF
    47375754rm -f conftest.$ac_objext
    4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4739   (eval $ac_compile) 2>conftest.er1
     5755if { (ac_try="$ac_compile"
     5756case "(($ac_try" in
     5757  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5758  *) ac_try_echo=$ac_try;;
     5759esac
     5760eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5761$as_echo "$ac_try_echo") >&5
     5762  (eval "$ac_compile") 2>conftest.er1
    47405763  ac_status=$?
    47415764  grep -v '^ *+' conftest.er1 >conftest.err
    47425765  rm -f conftest.er1
    47435766  cat conftest.err >&5
    4744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4745   (exit $ac_status); } &&
    4746      { ac_try='test -z "$ac_c_werror_flag"
    4747              || test ! -s conftest.err'
    4748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4749   (eval $ac_try) 2>&5
    4750   ac_status=$?
    4751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4752   (exit $ac_status); }; } &&
    4753      { ac_try='test -s conftest.$ac_objext'
    4754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4755   (eval $ac_try) 2>&5
    4756   ac_status=$?
    4757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4758   (exit $ac_status); }; }; then
     5767  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5768  (exit $ac_status); } && {
     5769     test -z "$ac_c_werror_flag" ||
     5770     test ! -s conftest.err
     5771       } && test -s conftest.$ac_objext; then
    47595772  ac_cv_c_const=yes
    47605773else
    4761   echo "$as_me: failed program was:" >&5
     5774  $as_echo "$as_me: failed program was:" >&5
    47625775sed 's/^/| /' conftest.$ac_ext >&5
    47635776
    4764 ac_cv_c_const=no
    4765 fi
    4766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4767 fi
    4768 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4769 echo "${ECHO_T}$ac_cv_c_const" >&6
     5777    ac_cv_c_const=no
     5778fi
     5779
     5780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5781fi
     5782{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     5783$as_echo "$ac_cv_c_const" >&6; }
    47705784if test $ac_cv_c_const = no; then
    47715785
    47725786cat >>confdefs.h <<\_ACEOF
    4773 #define const
    4774 _ACEOF
    4775 
    4776 fi
    4777 
    4778 echo "$as_me:$LINENO: checking for off_t" >&5
    4779 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     5787#define const /**/
     5788_ACEOF
     5789
     5790fi
     5791
     5792{ $as_echo "$as_me:$LINENO: checking for off_t" >&5
     5793$as_echo_n "checking for off_t... " >&6; }
    47805794if test "${ac_cv_type_off_t+set}" = set; then
    4781   echo $ECHO_N "(cached) $ECHO_C" >&6
    4782 else
    4783   cat >conftest.$ac_ext <<_ACEOF
     5795  $as_echo_n "(cached) " >&6
     5796else
     5797  ac_cv_type_off_t=no
     5798cat >conftest.$ac_ext <<_ACEOF
    47845799/* confdefs.h.  */
    47855800_ACEOF
     
    47915806main ()
    47925807{
    4793 if ((off_t *) 0)
    4794   return 0;
    47955808if (sizeof (off_t))
    4796   return 0;
     5809       return 0;
    47975810  ;
    47985811  return 0;
     
    48005813_ACEOF
    48015814rm -f conftest.$ac_objext
    4802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4803   (eval $ac_compile) 2>conftest.er1
     5815if { (ac_try="$ac_compile"
     5816case "(($ac_try" in
     5817  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5818  *) ac_try_echo=$ac_try;;
     5819esac
     5820eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5821$as_echo "$ac_try_echo") >&5
     5822  (eval "$ac_compile") 2>conftest.er1
    48045823  ac_status=$?
    48055824  grep -v '^ *+' conftest.er1 >conftest.err
    48065825  rm -f conftest.er1
    48075826  cat conftest.err >&5
    4808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4809   (exit $ac_status); } &&
    4810      { ac_try='test -z "$ac_c_werror_flag"
    4811              || test ! -s conftest.err'
    4812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4813   (eval $ac_try) 2>&5
    4814   ac_status=$?
    4815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4816   (exit $ac_status); }; } &&
    4817      { ac_try='test -s conftest.$ac_objext'
    4818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4819   (eval $ac_try) 2>&5
    4820   ac_status=$?
    4821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4822   (exit $ac_status); }; }; then
    4823   ac_cv_type_off_t=yes
    4824 else
    4825   echo "$as_me: failed program was:" >&5
    4826 sed 's/^/| /' conftest.$ac_ext >&5
    4827 
    4828 ac_cv_type_off_t=no
    4829 fi
    4830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4831 fi
    4832 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4833 echo "${ECHO_T}$ac_cv_type_off_t" >&6
    4834 if test $ac_cv_type_off_t = yes; then
    4835   :
    4836 else
    4837 
    4838 cat >>confdefs.h <<_ACEOF
    4839 #define off_t long
    4840 _ACEOF
    4841 
    4842 fi
    4843 
    4844 echo "$as_me:$LINENO: checking for size_t" >&5
    4845 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    4846 if test "${ac_cv_type_size_t+set}" = set; then
    4847   echo $ECHO_N "(cached) $ECHO_C" >&6
    4848 else
     5827  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5828  (exit $ac_status); } && {
     5829     test -z "$ac_c_werror_flag" ||
     5830     test ! -s conftest.err
     5831       } && test -s conftest.$ac_objext; then
    48495832  cat >conftest.$ac_ext <<_ACEOF
    48505833/* confdefs.h.  */
     
    48575840main ()
    48585841{
    4859 if ((size_t *) 0)
    4860   return 0;
    4861 if (sizeof (size_t))
    4862   return 0;
     5842if (sizeof ((off_t)))
     5843      return 0;
    48635844  ;
    48645845  return 0;
     
    48665847_ACEOF
    48675848rm -f conftest.$ac_objext
    4868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4869   (eval $ac_compile) 2>conftest.er1
     5849if { (ac_try="$ac_compile"
     5850case "(($ac_try" in
     5851  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5852  *) ac_try_echo=$ac_try;;
     5853esac
     5854eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5855$as_echo "$ac_try_echo") >&5
     5856  (eval "$ac_compile") 2>conftest.er1
    48705857  ac_status=$?
    48715858  grep -v '^ *+' conftest.er1 >conftest.err
    48725859  rm -f conftest.er1
    48735860  cat conftest.err >&5
    4874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4875   (exit $ac_status); } &&
    4876      { ac_try='test -z "$ac_c_werror_flag"
    4877              || test ! -s conftest.err'
    4878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4879   (eval $ac_try) 2>&5
     5861  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5862  (exit $ac_status); } && {
     5863     test -z "$ac_c_werror_flag" ||
     5864     test ! -s conftest.err
     5865       } && test -s conftest.$ac_objext; then
     5866  :
     5867else
     5868  $as_echo "$as_me: failed program was:" >&5
     5869sed 's/^/| /' conftest.$ac_ext >&5
     5870
     5871    ac_cv_type_off_t=yes
     5872fi
     5873
     5874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5875else
     5876  $as_echo "$as_me: failed program was:" >&5
     5877sed 's/^/| /' conftest.$ac_ext >&5
     5878
     5879
     5880fi
     5881
     5882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5883fi
     5884{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     5885$as_echo "$ac_cv_type_off_t" >&6; }
     5886if test "x$ac_cv_type_off_t" = x""yes; then
     5887  :
     5888else
     5889
     5890cat >>confdefs.h <<_ACEOF
     5891#define off_t long int
     5892_ACEOF
     5893
     5894fi
     5895
     5896{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
     5897$as_echo_n "checking for size_t... " >&6; }
     5898if test "${ac_cv_type_size_t+set}" = set; then
     5899  $as_echo_n "(cached) " >&6
     5900else
     5901  ac_cv_type_size_t=no
     5902cat >conftest.$ac_ext <<_ACEOF
     5903/* confdefs.h.  */
     5904_ACEOF
     5905cat confdefs.h >>conftest.$ac_ext
     5906cat >>conftest.$ac_ext <<_ACEOF
     5907/* end confdefs.h.  */
     5908$ac_includes_default
     5909int
     5910main ()
     5911{
     5912if (sizeof (size_t))
     5913       return 0;
     5914  ;
     5915  return 0;
     5916}
     5917_ACEOF
     5918rm -f conftest.$ac_objext
     5919if { (ac_try="$ac_compile"
     5920case "(($ac_try" in
     5921  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5922  *) ac_try_echo=$ac_try;;
     5923esac
     5924eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5925$as_echo "$ac_try_echo") >&5
     5926  (eval "$ac_compile") 2>conftest.er1
    48805927  ac_status=$?
    4881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4882   (exit $ac_status); }; } &&
    4883      { ac_try='test -s conftest.$ac_objext'
    4884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4885   (eval $ac_try) 2>&5
     5928  grep -v '^ *+' conftest.er1 >conftest.err
     5929  rm -f conftest.er1
     5930  cat conftest.err >&5
     5931  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5932  (exit $ac_status); } && {
     5933     test -z "$ac_c_werror_flag" ||
     5934     test ! -s conftest.err
     5935       } && test -s conftest.$ac_objext; then
     5936  cat >conftest.$ac_ext <<_ACEOF
     5937/* confdefs.h.  */
     5938_ACEOF
     5939cat confdefs.h >>conftest.$ac_ext
     5940cat >>conftest.$ac_ext <<_ACEOF
     5941/* end confdefs.h.  */
     5942$ac_includes_default
     5943int
     5944main ()
     5945{
     5946if (sizeof ((size_t)))
     5947      return 0;
     5948  ;
     5949  return 0;
     5950}
     5951_ACEOF
     5952rm -f conftest.$ac_objext
     5953if { (ac_try="$ac_compile"
     5954case "(($ac_try" in
     5955  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5956  *) ac_try_echo=$ac_try;;
     5957esac
     5958eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5959$as_echo "$ac_try_echo") >&5
     5960  (eval "$ac_compile") 2>conftest.er1
    48865961  ac_status=$?
    4887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4888   (exit $ac_status); }; }; then
    4889   ac_cv_type_size_t=yes
    4890 else
    4891   echo "$as_me: failed program was:" >&5
     5962  grep -v '^ *+' conftest.er1 >conftest.err
     5963  rm -f conftest.er1
     5964  cat conftest.err >&5
     5965  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5966  (exit $ac_status); } && {
     5967     test -z "$ac_c_werror_flag" ||
     5968     test ! -s conftest.err
     5969       } && test -s conftest.$ac_objext; then
     5970  :
     5971else
     5972  $as_echo "$as_me: failed program was:" >&5
    48925973sed 's/^/| /' conftest.$ac_ext >&5
    48935974
    4894 ac_cv_type_size_t=no
    4895 fi
    4896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4897 fi
    4898 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4899 echo "${ECHO_T}$ac_cv_type_size_t" >&6
    4900 if test $ac_cv_type_size_t = yes; then
     5975    ac_cv_type_size_t=yes
     5976fi
     5977
     5978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5979else
     5980  $as_echo "$as_me: failed program was:" >&5
     5981sed 's/^/| /' conftest.$ac_ext >&5
     5982
     5983
     5984fi
     5985
     5986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5987fi
     5988{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     5989$as_echo "$ac_cv_type_size_t" >&6; }
     5990if test "x$ac_cv_type_size_t" = x""yes; then
    49015991  :
    49025992else
    49035993
    49045994cat >>confdefs.h <<_ACEOF
    4905 #define size_t unsigned
    4906 _ACEOF
    4907 
    4908 fi
    4909 
    4910 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4911 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     5995#define size_t unsigned int
     5996_ACEOF
     5997
     5998fi
     5999
     6000{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     6001$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
    49126002if test "${ac_cv_header_time+set}" = set; then
    4913   echo $ECHO_N "(cached) $ECHO_C" >&6
     6003  $as_echo_n "(cached) " >&6
    49146004else
    49156005  cat >conftest.$ac_ext <<_ACEOF
     
    49336023_ACEOF
    49346024rm -f conftest.$ac_objext
    4935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4936   (eval $ac_compile) 2>conftest.er1
     6025if { (ac_try="$ac_compile"
     6026case "(($ac_try" in
     6027  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6028  *) ac_try_echo=$ac_try;;
     6029esac
     6030eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6031$as_echo "$ac_try_echo") >&5
     6032  (eval "$ac_compile") 2>conftest.er1
    49376033  ac_status=$?
    49386034  grep -v '^ *+' conftest.er1 >conftest.err
    49396035  rm -f conftest.er1
    49406036  cat conftest.err >&5
    4941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4942   (exit $ac_status); } &&
    4943      { ac_try='test -z "$ac_c_werror_flag"
    4944              || test ! -s conftest.err'
    4945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4946   (eval $ac_try) 2>&5
    4947   ac_status=$?
    4948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4949   (exit $ac_status); }; } &&
    4950      { ac_try='test -s conftest.$ac_objext'
    4951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4952   (eval $ac_try) 2>&5
    4953   ac_status=$?
    4954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4955   (exit $ac_status); }; }; then
     6037  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6038  (exit $ac_status); } && {
     6039     test -z "$ac_c_werror_flag" ||
     6040     test ! -s conftest.err
     6041       } && test -s conftest.$ac_objext; then
    49566042  ac_cv_header_time=yes
    49576043else
    4958   echo "$as_me: failed program was:" >&5
     6044  $as_echo "$as_me: failed program was:" >&5
    49596045sed 's/^/| /' conftest.$ac_ext >&5
    49606046
    4961 ac_cv_header_time=no
    4962 fi
    4963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4964 fi
    4965 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4966 echo "${ECHO_T}$ac_cv_header_time" >&6
     6047    ac_cv_header_time=no
     6048fi
     6049
     6050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6051fi
     6052{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     6053$as_echo "$ac_cv_header_time" >&6; }
    49676054if test $ac_cv_header_time = yes; then
    49686055
     
    49736060fi
    49746061
    4975 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4976 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     6062{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     6063$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
    49776064if test "${ac_cv_struct_tm+set}" = set; then
    4978   echo $ECHO_N "(cached) $ECHO_C" >&6
     6065  $as_echo_n "(cached) " >&6
    49796066else
    49806067  cat >conftest.$ac_ext <<_ACEOF
     
    49906077main ()
    49916078{
    4992 struct tm *tp; tp->tm_sec;
     6079struct tm tm;
     6080                     int *p = &tm.tm_sec;
     6081                     return !p;
    49936082  ;
    49946083  return 0;
     
    49966085_ACEOF
    49976086rm -f conftest.$ac_objext
    4998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4999   (eval $ac_compile) 2>conftest.er1
     6087if { (ac_try="$ac_compile"
     6088case "(($ac_try" in
     6089  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6090  *) ac_try_echo=$ac_try;;
     6091esac
     6092eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6093$as_echo "$ac_try_echo") >&5
     6094  (eval "$ac_compile") 2>conftest.er1
    50006095  ac_status=$?
    50016096  grep -v '^ *+' conftest.er1 >conftest.err
    50026097  rm -f conftest.er1
    50036098  cat conftest.err >&5
    5004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5005   (exit $ac_status); } &&
    5006      { ac_try='test -z "$ac_c_werror_flag"
    5007              || test ! -s conftest.err'
    5008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5009   (eval $ac_try) 2>&5
    5010   ac_status=$?
    5011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5012   (exit $ac_status); }; } &&
    5013      { ac_try='test -s conftest.$ac_objext'
    5014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5015   (eval $ac_try) 2>&5
    5016   ac_status=$?
    5017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5018   (exit $ac_status); }; }; then
     6099  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6100  (exit $ac_status); } && {
     6101     test -z "$ac_c_werror_flag" ||
     6102     test ! -s conftest.err
     6103       } && test -s conftest.$ac_objext; then
    50196104  ac_cv_struct_tm=time.h
    50206105else
    5021   echo "$as_me: failed program was:" >&5
     6106  $as_echo "$as_me: failed program was:" >&5
    50226107sed 's/^/| /' conftest.$ac_ext >&5
    50236108
    5024 ac_cv_struct_tm=sys/time.h
    5025 fi
    5026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5027 fi
    5028 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    5029 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     6109    ac_cv_struct_tm=sys/time.h
     6110fi
     6111
     6112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6113fi
     6114{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     6115$as_echo "$ac_cv_struct_tm" >&6; }
    50306116if test $ac_cv_struct_tm = sys/time.h; then
    50316117
     
    50556141_ACEOF
    50566142rm -f conftest.$ac_objext
    5057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5058   (eval $ac_compile) 2>conftest.er1
     6143if { (ac_try="$ac_compile"
     6144case "(($ac_try" in
     6145  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6146  *) ac_try_echo=$ac_try;;
     6147esac
     6148eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6149$as_echo "$ac_try_echo") >&5
     6150  (eval "$ac_compile") 2>conftest.er1
    50596151  ac_status=$?
    50606152  grep -v '^ *+' conftest.er1 >conftest.err
    50616153  rm -f conftest.er1
    50626154  cat conftest.err >&5
    5063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5064   (exit $ac_status); } &&
    5065      { ac_try='test -z "$ac_c_werror_flag"
    5066              || test ! -s conftest.err'
    5067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5068   (eval $ac_try) 2>&5
    5069   ac_status=$?
    5070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5071   (exit $ac_status); }; } &&
    5072      { ac_try='test -s conftest.$ac_objext'
    5073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5074   (eval $ac_try) 2>&5
    5075   ac_status=$?
    5076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5077   (exit $ac_status); }; }; then
     6155  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6156  (exit $ac_status); } && {
     6157     test -z "$ac_c_werror_flag" ||
     6158     test ! -s conftest.err
     6159       } && test -s conftest.$ac_objext; then
    50786160  :
    50796161else
    5080   echo "$as_me: failed program was:" >&5
     6162  $as_echo "$as_me: failed program was:" >&5
    50816163sed 's/^/| /' conftest.$ac_ext >&5
    50826164
    5083 CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    5084 fi
    5085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5086 fi
    5087 
    5088 
    5089 
    5090 echo "$as_me:$LINENO: checking for main in -lg" >&5
    5091 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     6165    CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     6166fi
     6167
     6168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6169fi
     6170
     6171
     6172
     6173{ $as_echo "$as_me:$LINENO: checking for main in -lg" >&5
     6174$as_echo_n "checking for main in -lg... " >&6; }
    50926175if test "${ac_cv_lib_g_main+set}" = set; then
    5093   echo $ECHO_N "(cached) $ECHO_C" >&6
     6176  $as_echo_n "(cached) " >&6
    50946177else
    50956178  ac_check_lib_save_LIBS=$LIBS
     
    51066189main ()
    51076190{
    5108 main ();
     6191return main ();
    51096192  ;
    51106193  return 0;
     
    51126195_ACEOF
    51136196rm -f conftest.$ac_objext conftest$ac_exeext
    5114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5115   (eval $ac_link) 2>conftest.er1
     6197if { (ac_try="$ac_link"
     6198case "(($ac_try" in
     6199  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6200  *) ac_try_echo=$ac_try;;
     6201esac
     6202eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6203$as_echo "$ac_try_echo") >&5
     6204  (eval "$ac_link") 2>conftest.er1
    51166205  ac_status=$?
    51176206  grep -v '^ *+' conftest.er1 >conftest.err
    51186207  rm -f conftest.er1
    51196208  cat conftest.err >&5
    5120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5121   (exit $ac_status); } &&
    5122      { ac_try='test -z "$ac_c_werror_flag"
    5123              || test ! -s conftest.err'
    5124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5125   (eval $ac_try) 2>&5
    5126   ac_status=$?
    5127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5128   (exit $ac_status); }; } &&
    5129      { ac_try='test -s conftest$ac_exeext'
    5130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5131   (eval $ac_try) 2>&5
    5132   ac_status=$?
    5133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5134   (exit $ac_status); }; }; then
     6209  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6210  (exit $ac_status); } && {
     6211     test -z "$ac_c_werror_flag" ||
     6212     test ! -s conftest.err
     6213       } && test -s conftest$ac_exeext && {
     6214     test "$cross_compiling" = yes ||
     6215     $as_test_x conftest$ac_exeext
     6216       }; then
    51356217  ac_cv_lib_g_main=yes
    51366218else
    5137   echo "$as_me: failed program was:" >&5
     6219  $as_echo "$as_me: failed program was:" >&5
    51386220sed 's/^/| /' conftest.$ac_ext >&5
    51396221
    5140 ac_cv_lib_g_main=no
    5141 fi
    5142 rm -f conftest.err conftest.$ac_objext \
     6222    ac_cv_lib_g_main=no
     6223fi
     6224
     6225rm -rf conftest.dSYM
     6226rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    51436227      conftest$ac_exeext conftest.$ac_ext
    51446228LIBS=$ac_check_lib_save_LIBS
    51456229fi
    5146 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    5147 echo "${ECHO_T}$ac_cv_lib_g_main" >&6
    5148 if test $ac_cv_lib_g_main = yes; then
     6230{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     6231$as_echo "$ac_cv_lib_g_main" >&6; }
     6232if test "x$ac_cv_lib_g_main" = x""yes; then
    51496233  cat >>confdefs.h <<_ACEOF
    51506234#define HAVE_LIBG 1
     
    51576241
    51586242
    5159 echo "$as_me:$LINENO: checking for main in -lm" >&5
    5160 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     6243{ $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
     6244$as_echo_n "checking for main in -lm... " >&6; }
    51616245if test "${ac_cv_lib_m_main+set}" = set; then
    5162   echo $ECHO_N "(cached) $ECHO_C" >&6
     6246  $as_echo_n "(cached) " >&6
    51636247else
    51646248  ac_check_lib_save_LIBS=$LIBS
     
    51756259main ()
    51766260{
    5177 main ();
     6261return main ();
    51786262  ;
    51796263  return 0;
     
    51816265_ACEOF
    51826266rm -f conftest.$ac_objext conftest$ac_exeext
    5183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5184   (eval $ac_link) 2>conftest.er1
     6267if { (ac_try="$ac_link"
     6268case "(($ac_try" in
     6269  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6270  *) ac_try_echo=$ac_try;;
     6271esac
     6272eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6273$as_echo "$ac_try_echo") >&5
     6274  (eval "$ac_link") 2>conftest.er1
    51856275  ac_status=$?
    51866276  grep -v '^ *+' conftest.er1 >conftest.err
    51876277  rm -f conftest.er1
    51886278  cat conftest.err >&5
    5189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5190   (exit $ac_status); } &&
    5191      { ac_try='test -z "$ac_c_werror_flag"
    5192              || test ! -s conftest.err'
    5193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5194   (eval $ac_try) 2>&5
    5195   ac_status=$?
    5196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5197   (exit $ac_status); }; } &&
    5198      { ac_try='test -s conftest$ac_exeext'
    5199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5200   (eval $ac_try) 2>&5
    5201   ac_status=$?
    5202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5203   (exit $ac_status); }; }; then
     6279  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6280  (exit $ac_status); } && {
     6281     test -z "$ac_c_werror_flag" ||
     6282     test ! -s conftest.err
     6283       } && test -s conftest$ac_exeext && {
     6284     test "$cross_compiling" = yes ||
     6285     $as_test_x conftest$ac_exeext
     6286       }; then
    52046287  ac_cv_lib_m_main=yes
    52056288else
    5206   echo "$as_me: failed program was:" >&5
     6289  $as_echo "$as_me: failed program was:" >&5
    52076290sed 's/^/| /' conftest.$ac_ext >&5
    52086291
    5209 ac_cv_lib_m_main=no
    5210 fi
    5211 rm -f conftest.err conftest.$ac_objext \
     6292    ac_cv_lib_m_main=no
     6293fi
     6294
     6295rm -rf conftest.dSYM
     6296rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    52126297      conftest$ac_exeext conftest.$ac_ext
    52136298LIBS=$ac_check_lib_save_LIBS
    52146299fi
    5215 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5216 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    5217 if test $ac_cv_lib_m_main = yes; then
     6300{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     6301$as_echo "$ac_cv_lib_m_main" >&6; }
     6302if test "x$ac_cv_lib_m_main" = x""yes; then
    52186303  cat >>confdefs.h <<_ACEOF
    52196304#define HAVE_LIBM 1
     
    52266311
    52276312
    5228 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    5229 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     6313{ $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     6314$as_echo_n "checking for main in -lcrypt... " >&6; }
    52306315if test "${ac_cv_lib_crypt_main+set}" = set; then
    5231   echo $ECHO_N "(cached) $ECHO_C" >&6
     6316  $as_echo_n "(cached) " >&6
    52326317else
    52336318  ac_check_lib_save_LIBS=$LIBS
     
    52446329main ()
    52456330{
    5246 main ();
     6331return main ();
    52476332  ;
    52486333  return 0;
     
    52506335_ACEOF
    52516336rm -f conftest.$ac_objext conftest$ac_exeext
    5252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5253   (eval $ac_link) 2>conftest.er1
     6337if { (ac_try="$ac_link"
     6338case "(($ac_try" in
     6339  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6340  *) ac_try_echo=$ac_try;;
     6341esac
     6342eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6343$as_echo "$ac_try_echo") >&5
     6344  (eval "$ac_link") 2>conftest.er1
    52546345  ac_status=$?
    52556346  grep -v '^ *+' conftest.er1 >conftest.err
    52566347  rm -f conftest.er1
    52576348  cat conftest.err >&5
    5258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5259   (exit $ac_status); } &&
    5260      { ac_try='test -z "$ac_c_werror_flag"
    5261              || test ! -s conftest.err'
    5262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5263   (eval $ac_try) 2>&5
    5264   ac_status=$?
    5265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5266   (exit $ac_status); }; } &&
    5267      { ac_try='test -s conftest$ac_exeext'
    5268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5269   (eval $ac_try) 2>&5
    5270   ac_status=$?
    5271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5272   (exit $ac_status); }; }; then
     6349  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6350  (exit $ac_status); } && {
     6351     test -z "$ac_c_werror_flag" ||
     6352     test ! -s conftest.err
     6353       } && test -s conftest$ac_exeext && {
     6354     test "$cross_compiling" = yes ||
     6355     $as_test_x conftest$ac_exeext
     6356       }; then
    52736357  ac_cv_lib_crypt_main=yes
    52746358else
    5275   echo "$as_me: failed program was:" >&5
     6359  $as_echo "$as_me: failed program was:" >&5
    52766360sed 's/^/| /' conftest.$ac_ext >&5
    52776361
    5278 ac_cv_lib_crypt_main=no
    5279 fi
    5280 rm -f conftest.err conftest.$ac_objext \
     6362    ac_cv_lib_crypt_main=no
     6363fi
     6364
     6365rm -rf conftest.dSYM
     6366rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    52816367      conftest$ac_exeext conftest.$ac_ext
    52826368LIBS=$ac_check_lib_save_LIBS
    52836369fi
    5284 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    5285 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
    5286 if test $ac_cv_lib_crypt_main = yes; then
     6370{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     6371$as_echo "$ac_cv_lib_crypt_main" >&6; }
     6372if test "x$ac_cv_lib_crypt_main" = x""yes; then
    52876373  cat >>confdefs.h <<_ACEOF
    52886374#define HAVE_LIBCRYPT 1
     
    52966382if test $ENABLE_ACCENTFOLD = 1; then
    52976383
    5298 echo "$as_me:$LINENO: checking for main in -liconv" >&5
    5299 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6
     6384{ $as_echo "$as_me:$LINENO: checking for main in -liconv" >&5
     6385$as_echo_n "checking for main in -liconv... " >&6; }
    53006386if test "${ac_cv_lib_iconv_main+set}" = set; then
    5301   echo $ECHO_N "(cached) $ECHO_C" >&6
     6387  $as_echo_n "(cached) " >&6
    53026388else
    53036389  ac_check_lib_save_LIBS=$LIBS
     
    53146400main ()
    53156401{
    5316 main ();
     6402return main ();
    53176403  ;
    53186404  return 0;
     
    53206406_ACEOF
    53216407rm -f conftest.$ac_objext conftest$ac_exeext
    5322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5323   (eval $ac_link) 2>conftest.er1
     6408if { (ac_try="$ac_link"
     6409case "(($ac_try" in
     6410  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6411  *) ac_try_echo=$ac_try;;
     6412esac
     6413eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6414$as_echo "$ac_try_echo") >&5
     6415  (eval "$ac_link") 2>conftest.er1
    53246416  ac_status=$?
    53256417  grep -v '^ *+' conftest.er1 >conftest.err
    53266418  rm -f conftest.er1
    53276419  cat conftest.err >&5
    5328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5329   (exit $ac_status); } &&
    5330      { ac_try='test -z "$ac_c_werror_flag"
    5331              || test ! -s conftest.err'
    5332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5333   (eval $ac_try) 2>&5
    5334   ac_status=$?
    5335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5336   (exit $ac_status); }; } &&
    5337      { ac_try='test -s conftest$ac_exeext'
    5338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5339   (eval $ac_try) 2>&5
    5340   ac_status=$?
    5341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5342   (exit $ac_status); }; }; then
     6420  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6421  (exit $ac_status); } && {
     6422     test -z "$ac_c_werror_flag" ||
     6423     test ! -s conftest.err
     6424       } && test -s conftest$ac_exeext && {
     6425     test "$cross_compiling" = yes ||
     6426     $as_test_x conftest$ac_exeext
     6427       }; then
    53436428  ac_cv_lib_iconv_main=yes
    53446429else
    5345   echo "$as_me: failed program was:" >&5
     6430  $as_echo "$as_me: failed program was:" >&5
    53466431sed 's/^/| /' conftest.$ac_ext >&5
    53476432
    5348 ac_cv_lib_iconv_main=no
    5349 fi
    5350 rm -f conftest.err conftest.$ac_objext \
     6433    ac_cv_lib_iconv_main=no
     6434fi
     6435
     6436rm -rf conftest.dSYM
     6437rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    53516438      conftest$ac_exeext conftest.$ac_ext
    53526439LIBS=$ac_check_lib_save_LIBS
    53536440fi
    5354 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
    5355 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6
    5356 if test $ac_cv_lib_iconv_main = yes; then
     6441{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
     6442$as_echo "$ac_cv_lib_iconv_main" >&6; }
     6443if test "x$ac_cv_lib_iconv_main" = x""yes; then
    53576444  cat >>confdefs.h <<_ACEOF
    53586445#define HAVE_LIBICONV 1
     
    53736460ac_header_dirent=no
    53746461for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    5375   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    5376 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    5377 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    5378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5379   echo $ECHO_N "(cached) $ECHO_C" >&6
     6462  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
     6463{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     6464$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
     6465if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6466  $as_echo_n "(cached) " >&6
    53806467else
    53816468  cat >conftest.$ac_ext <<_ACEOF
     
    53986485_ACEOF
    53996486rm -f conftest.$ac_objext
    5400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5401   (eval $ac_compile) 2>conftest.er1
     6487if { (ac_try="$ac_compile"
     6488case "(($ac_try" in
     6489  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6490  *) ac_try_echo=$ac_try;;
     6491esac
     6492eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6493$as_echo "$ac_try_echo") >&5
     6494  (eval "$ac_compile") 2>conftest.er1
    54026495  ac_status=$?
    54036496  grep -v '^ *+' conftest.er1 >conftest.err
    54046497  rm -f conftest.er1
    54056498  cat conftest.err >&5
    5406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5407   (exit $ac_status); } &&
    5408      { ac_try='test -z "$ac_c_werror_flag"
    5409              || test ! -s conftest.err'
    5410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5411   (eval $ac_try) 2>&5
    5412   ac_status=$?
    5413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5414   (exit $ac_status); }; } &&
    5415      { ac_try='test -s conftest.$ac_objext'
    5416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5417   (eval $ac_try) 2>&5
    5418   ac_status=$?
    5419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5420   (exit $ac_status); }; }; then
     6499  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6500  (exit $ac_status); } && {
     6501     test -z "$ac_c_werror_flag" ||
     6502     test ! -s conftest.err
     6503       } && test -s conftest.$ac_objext; then
    54216504  eval "$as_ac_Header=yes"
    54226505else
    5423   echo "$as_me: failed program was:" >&5
     6506  $as_echo "$as_me: failed program was:" >&5
    54246507sed 's/^/| /' conftest.$ac_ext >&5
    54256508
    5426 eval "$as_ac_Header=no"
    5427 fi
    5428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5429 fi
    5430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     6509    eval "$as_ac_Header=no"
     6510fi
     6511
     6512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6513fi
     6514ac_res=`eval 'as_val=${'$as_ac_Header'}
     6515         $as_echo "$as_val"'`
     6516           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6517$as_echo "$ac_res" >&6; }
     6518as_val=`eval 'as_val=${'$as_ac_Header'}
     6519         $as_echo "$as_val"'`
     6520   if test "x$as_val" = x""yes; then
    54336521  cat >>confdefs.h <<_ACEOF
    5434 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
     6522#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
    54356523_ACEOF
    54366524
     
    54416529# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    54426530if test $ac_header_dirent = dirent.h; then
    5443   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5444 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     6531  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
     6532$as_echo_n "checking for library containing opendir... " >&6; }
    54456533if test "${ac_cv_search_opendir+set}" = set; then
    5446   echo $ECHO_N "(cached) $ECHO_C" >&6
     6534  $as_echo_n "(cached) " >&6
    54476535else
    54486536  ac_func_search_save_LIBS=$LIBS
    5449 ac_cv_search_opendir=no
    54506537cat >conftest.$ac_ext <<_ACEOF
    54516538/* confdefs.h.  */
     
    54556542/* end confdefs.h.  */
    54566543
    5457 /* Override any gcc2 internal prototype to avoid an error.  */
     6544/* Override any GCC internal prototype to avoid an error.
     6545   Use char because int might match the return type of a GCC
     6546   builtin and then its argument prototype would still apply.  */
    54586547#ifdef __cplusplus
    54596548extern "C"
    54606549#endif
    5461 /* We use char because int might match the return type of a gcc2
    5462    builtin and then its argument prototype would still apply.  */
    54636550char opendir ();
    54646551int
    54656552main ()
    54666553{
    5467 opendir ();
     6554return opendir ();
    54686555  ;
    54696556  return 0;
    54706557}
    54716558_ACEOF
    5472 rm -f conftest.$ac_objext conftest$ac_exeext
    5473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5474   (eval $ac_link) 2>conftest.er1
     6559for ac_lib in '' dir; do
     6560  if test -z "$ac_lib"; then
     6561    ac_res="none required"
     6562  else
     6563    ac_res=-l$ac_lib
     6564    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     6565  fi
     6566  rm -f conftest.$ac_objext conftest$ac_exeext
     6567if { (ac_try="$ac_link"
     6568case "(($ac_try" in
     6569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6570  *) ac_try_echo=$ac_try;;
     6571esac
     6572eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6573$as_echo "$ac_try_echo") >&5
     6574  (eval "$ac_link") 2>conftest.er1
    54756575  ac_status=$?
    54766576  grep -v '^ *+' conftest.er1 >conftest.err
    54776577  rm -f conftest.er1
    54786578  cat conftest.err >&5
    5479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5480   (exit $ac_status); } &&
    5481      { ac_try='test -z "$ac_c_werror_flag"
    5482              || test ! -s conftest.err'
    5483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5484   (eval $ac_try) 2>&5
    5485   ac_status=$?
    5486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5487   (exit $ac_status); }; } &&
    5488      { ac_try='test -s conftest$ac_exeext'
    5489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5490   (eval $ac_try) 2>&5
    5491   ac_status=$?
    5492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5493   (exit $ac_status); }; }; then
    5494   ac_cv_search_opendir="none required"
    5495 else
    5496   echo "$as_me: failed program was:" >&5
     6579  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6580  (exit $ac_status); } && {
     6581     test -z "$ac_c_werror_flag" ||
     6582     test ! -s conftest.err
     6583       } && test -s conftest$ac_exeext && {
     6584     test "$cross_compiling" = yes ||
     6585     $as_test_x conftest$ac_exeext
     6586       }; then
     6587  ac_cv_search_opendir=$ac_res
     6588else
     6589  $as_echo "$as_me: failed program was:" >&5
    54976590sed 's/^/| /' conftest.$ac_ext >&5
    54986591
    5499 fi
    5500 rm -f conftest.err conftest.$ac_objext \
    5501       conftest$ac_exeext conftest.$ac_ext
    5502 if test "$ac_cv_search_opendir" = no; then
    5503   for ac_lib in dir; do
    5504     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5505     cat >conftest.$ac_ext <<_ACEOF
     6592
     6593fi
     6594
     6595rm -rf conftest.dSYM
     6596rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6597      conftest$ac_exeext
     6598  if test "${ac_cv_search_opendir+set}" = set; then
     6599  break
     6600fi
     6601done
     6602if test "${ac_cv_search_opendir+set}" = set; then
     6603  :
     6604else
     6605  ac_cv_search_opendir=no
     6606fi
     6607rm conftest.$ac_ext
     6608LIBS=$ac_func_search_save_LIBS
     6609fi
     6610{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     6611$as_echo "$ac_cv_search_opendir" >&6; }
     6612ac_res=$ac_cv_search_opendir
     6613if test "$ac_res" != no; then
     6614  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     6615
     6616fi
     6617
     6618else
     6619  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
     6620$as_echo_n "checking for library containing opendir... " >&6; }
     6621if test "${ac_cv_search_opendir+set}" = set; then
     6622  $as_echo_n "(cached) " >&6
     6623else
     6624  ac_func_search_save_LIBS=$LIBS
     6625cat >conftest.$ac_ext <<_ACEOF
    55066626/* confdefs.h.  */
    55076627_ACEOF
     
    55106630/* end confdefs.h.  */
    55116631
    5512 /* Override any gcc2 internal prototype to avoid an error.  */
     6632/* Override any GCC internal prototype to avoid an error.
     6633   Use char because int might match the return type of a GCC
     6634   builtin and then its argument prototype would still apply.  */
    55136635#ifdef __cplusplus
    55146636extern "C"
    55156637#endif
    5516 /* We use char because int might match the return type of a gcc2
    5517    builtin and then its argument prototype would still apply.  */
    55186638char opendir ();
    55196639int
    55206640main ()
    55216641{
    5522 opendir ();
     6642return opendir ();
    55236643  ;
    55246644  return 0;
    55256645}
    55266646_ACEOF
    5527 rm -f conftest.$ac_objext conftest$ac_exeext
    5528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5529   (eval $ac_link) 2>conftest.er1
     6647for ac_lib in '' x; do
     6648  if test -z "$ac_lib"; then
     6649    ac_res="none required"
     6650  else
     6651    ac_res=-l$ac_lib
     6652    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     6653  fi
     6654  rm -f conftest.$ac_objext conftest$ac_exeext
     6655if { (ac_try="$ac_link"
     6656case "(($ac_try" in
     6657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6658  *) ac_try_echo=$ac_try;;
     6659esac
     6660eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6661$as_echo "$ac_try_echo") >&5
     6662  (eval "$ac_link") 2>conftest.er1
    55306663  ac_status=$?
    55316664  grep -v '^ *+' conftest.er1 >conftest.err
    55326665  rm -f conftest.er1
    55336666  cat conftest.err >&5
    5534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5535   (exit $ac_status); } &&
    5536      { ac_try='test -z "$ac_c_werror_flag"
    5537              || test ! -s conftest.err'
    5538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5539   (eval $ac_try) 2>&5
    5540   ac_status=$?
    5541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5542   (exit $ac_status); }; } &&
    5543      { ac_try='test -s conftest$ac_exeext'
    5544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5545   (eval $ac_try) 2>&5
    5546   ac_status=$?
    5547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5548   (exit $ac_status); }; }; then
    5549   ac_cv_search_opendir="-l$ac_lib"
    5550 break
    5551 else
    5552   echo "$as_me: failed program was:" >&5
     6667  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6668  (exit $ac_status); } && {
     6669     test -z "$ac_c_werror_flag" ||
     6670     test ! -s conftest.err
     6671       } && test -s conftest$ac_exeext && {
     6672     test "$cross_compiling" = yes ||
     6673     $as_test_x conftest$ac_exeext
     6674       }; then
     6675  ac_cv_search_opendir=$ac_res
     6676else
     6677  $as_echo "$as_me: failed program was:" >&5
    55536678sed 's/^/| /' conftest.$ac_ext >&5
    55546679
    5555 fi
    5556 rm -f conftest.err conftest.$ac_objext \
    5557       conftest$ac_exeext conftest.$ac_ext
    5558   done
    5559 fi
     6680
     6681fi
     6682
     6683rm -rf conftest.dSYM
     6684rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6685      conftest$ac_exeext
     6686  if test "${ac_cv_search_opendir+set}" = set; then
     6687  break
     6688fi
     6689done
     6690if test "${ac_cv_search_opendir+set}" = set; then
     6691  :
     6692else
     6693  ac_cv_search_opendir=no
     6694fi
     6695rm conftest.$ac_ext
    55606696LIBS=$ac_func_search_save_LIBS
    55616697fi
    5562 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5563 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5564 if test "$ac_cv_search_opendir" != no; then
    5565   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5566 
    5567 fi
    5568 
    5569 else
    5570   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5571 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    5572 if test "${ac_cv_search_opendir+set}" = set; then
    5573   echo $ECHO_N "(cached) $ECHO_C" >&6
    5574 else
    5575   ac_func_search_save_LIBS=$LIBS
    5576 ac_cv_search_opendir=no
    5577 cat >conftest.$ac_ext <<_ACEOF
    5578 /* confdefs.h.  */
    5579 _ACEOF
    5580 cat confdefs.h >>conftest.$ac_ext
    5581 cat >>conftest.$ac_ext <<_ACEOF
    5582 /* end confdefs.h.  */
    5583 
    5584 /* Override any gcc2 internal prototype to avoid an error.  */
    5585 #ifdef __cplusplus
    5586 extern "C"
    5587 #endif
    5588 /* We use char because int might match the return type of a gcc2
    5589    builtin and then its argument prototype would still apply.  */
    5590 char opendir ();
    5591 int
    5592 main ()
    5593 {
    5594 opendir ();
    5595   ;
    5596   return 0;
    5597 }
    5598 _ACEOF
    5599 rm -f conftest.$ac_objext conftest$ac_exeext
    5600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5601   (eval $ac_link) 2>conftest.er1
    5602   ac_status=$?
    5603   grep -v '^ *+' conftest.er1 >conftest.err
    5604   rm -f conftest.er1
    5605   cat conftest.err >&5
    5606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5607   (exit $ac_status); } &&
    5608      { ac_try='test -z "$ac_c_werror_flag"
    5609              || test ! -s conftest.err'
    5610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5611   (eval $ac_try) 2>&5
    5612   ac_status=$?
    5613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5614   (exit $ac_status); }; } &&
    5615      { ac_try='test -s conftest$ac_exeext'
    5616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5617   (eval $ac_try) 2>&5
    5618   ac_status=$?
    5619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5620   (exit $ac_status); }; }; then
    5621   ac_cv_search_opendir="none required"
    5622 else
    5623   echo "$as_me: failed program was:" >&5
    5624 sed 's/^/| /' conftest.$ac_ext >&5
    5625 
    5626 fi
    5627 rm -f conftest.err conftest.$ac_objext \
    5628       conftest$ac_exeext conftest.$ac_ext
    5629 if test "$ac_cv_search_opendir" = no; then
    5630   for ac_lib in x; do
    5631     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5632     cat >conftest.$ac_ext <<_ACEOF
    5633 /* confdefs.h.  */
    5634 _ACEOF
    5635 cat confdefs.h >>conftest.$ac_ext
    5636 cat >>conftest.$ac_ext <<_ACEOF
    5637 /* end confdefs.h.  */
    5638 
    5639 /* Override any gcc2 internal prototype to avoid an error.  */
    5640 #ifdef __cplusplus
    5641 extern "C"
    5642 #endif
    5643 /* We use char because int might match the return type of a gcc2
    5644    builtin and then its argument prototype would still apply.  */
    5645 char opendir ();
    5646 int
    5647 main ()
    5648 {
    5649 opendir ();
    5650   ;
    5651   return 0;
    5652 }
    5653 _ACEOF
    5654 rm -f conftest.$ac_objext conftest$ac_exeext
    5655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5656   (eval $ac_link) 2>conftest.er1
    5657   ac_status=$?
    5658   grep -v '^ *+' conftest.er1 >conftest.err
    5659   rm -f conftest.er1
    5660   cat conftest.err >&5
    5661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5662   (exit $ac_status); } &&
    5663      { ac_try='test -z "$ac_c_werror_flag"
    5664              || test ! -s conftest.err'
    5665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5666   (eval $ac_try) 2>&5
    5667   ac_status=$?
    5668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5669   (exit $ac_status); }; } &&
    5670      { ac_try='test -s conftest$ac_exeext'
    5671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5672   (eval $ac_try) 2>&5
    5673   ac_status=$?
    5674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5675   (exit $ac_status); }; }; then
    5676   ac_cv_search_opendir="-l$ac_lib"
    5677 break
    5678 else
    5679   echo "$as_me: failed program was:" >&5
    5680 sed 's/^/| /' conftest.$ac_ext >&5
    5681 
    5682 fi
    5683 rm -f conftest.err conftest.$ac_objext \
    5684       conftest$ac_exeext conftest.$ac_ext
    5685   done
    5686 fi
    5687 LIBS=$ac_func_search_save_LIBS
    5688 fi
    5689 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5690 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5691 if test "$ac_cv_search_opendir" != no; then
    5692   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5693 
    5694 fi
    5695 
    5696 fi
    5697 
    5698 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5699 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     6698{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     6699$as_echo "$ac_cv_search_opendir" >&6; }
     6700ac_res=$ac_cv_search_opendir
     6701if test "$ac_res" != no; then
     6702  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     6703
     6704fi
     6705
     6706fi
     6707
     6708{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     6709$as_echo_n "checking for ANSI C header files... " >&6; }
    57006710if test "${ac_cv_header_stdc+set}" = set; then
    5701   echo $ECHO_N "(cached) $ECHO_C" >&6
     6711  $as_echo_n "(cached) " >&6
    57026712else
    57036713  cat >conftest.$ac_ext <<_ACEOF
     
    57216731_ACEOF
    57226732rm -f conftest.$ac_objext
    5723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5724   (eval $ac_compile) 2>conftest.er1
     6733if { (ac_try="$ac_compile"
     6734case "(($ac_try" in
     6735  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6736  *) ac_try_echo=$ac_try;;
     6737esac
     6738eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6739$as_echo "$ac_try_echo") >&5
     6740  (eval "$ac_compile") 2>conftest.er1
    57256741  ac_status=$?
    57266742  grep -v '^ *+' conftest.er1 >conftest.err
    57276743  rm -f conftest.er1
    57286744  cat conftest.err >&5
    5729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5730   (exit $ac_status); } &&
    5731      { ac_try='test -z "$ac_c_werror_flag"
    5732              || test ! -s conftest.err'
    5733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5734   (eval $ac_try) 2>&5
    5735   ac_status=$?
    5736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5737   (exit $ac_status); }; } &&
    5738      { ac_try='test -s conftest.$ac_objext'
    5739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5740   (eval $ac_try) 2>&5
    5741   ac_status=$?
    5742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5743   (exit $ac_status); }; }; then
     6745  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6746  (exit $ac_status); } && {
     6747     test -z "$ac_c_werror_flag" ||
     6748     test ! -s conftest.err
     6749       } && test -s conftest.$ac_objext; then
    57446750  ac_cv_header_stdc=yes
    57456751else
    5746   echo "$as_me: failed program was:" >&5
     6752  $as_echo "$as_me: failed program was:" >&5
    57476753sed 's/^/| /' conftest.$ac_ext >&5
    57486754
    5749 ac_cv_header_stdc=no
    5750 fi
    5751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6755    ac_cv_header_stdc=no
     6756fi
     6757
     6758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    57526759
    57536760if test $ac_cv_header_stdc = yes; then
     
    58056812/* end confdefs.h.  */
    58066813#include <ctype.h>
     6814#include <stdlib.h>
    58076815#if ((' ' & 0x0FF) == 0x020)
    58086816# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    58246832    if (XOR (islower (i), ISLOWER (i))
    58256833    || toupper (i) != TOUPPER (i))
    5826       exit(2);
    5827   exit (0);
     6834      return 2;
     6835  return 0;
    58286836}
    58296837_ACEOF
    58306838rm -f conftest$ac_exeext
    5831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5832   (eval $ac_link) 2>&5
     6839if { (ac_try="$ac_link"
     6840case "(($ac_try" in
     6841  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6842  *) ac_try_echo=$ac_try;;
     6843esac
     6844eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6845$as_echo "$ac_try_echo") >&5
     6846  (eval "$ac_link") 2>&5
    58336847  ac_status=$?
    5834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6848  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58356849  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5837   (eval $ac_try) 2>&5
     6850  { (case "(($ac_try" in
     6851  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6852  *) ac_try_echo=$ac_try;;
     6853esac
     6854eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6855$as_echo "$ac_try_echo") >&5
     6856  (eval "$ac_try") 2>&5
    58386857  ac_status=$?
    5839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6858  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58406859  (exit $ac_status); }; }; then
    58416860  :
    58426861else
    5843   echo "$as_me: program exited with status $ac_status" >&5
    5844 echo "$as_me: failed program was:" >&5
     6862  $as_echo "$as_me: program exited with status $ac_status" >&5
     6863$as_echo "$as_me: failed program was:" >&5
    58456864sed 's/^/| /' conftest.$ac_ext >&5
    58466865
     
    58486867ac_cv_header_stdc=no
    58496868fi
    5850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5851 fi
    5852 fi
    5853 fi
    5854 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5855 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     6869rm -rf conftest.dSYM
     6870rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6871fi
     6872
     6873
     6874fi
     6875fi
     6876{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     6877$as_echo "$ac_cv_header_stdc" >&6; }
    58566878if test $ac_cv_header_stdc = yes; then
    58576879
     
    58736895for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
    58746896do
    5875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5877   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5880   echo $ECHO_N "(cached) $ECHO_C" >&6
    5881 fi
    5882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6897as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6898if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6899  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6900$as_echo_n "checking for $ac_header... " >&6; }
     6901if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6902  $as_echo_n "(cached) " >&6
     6903fi
     6904ac_res=`eval 'as_val=${'$as_ac_Header'}
     6905         $as_echo "$as_val"'`
     6906           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6907$as_echo "$ac_res" >&6; }
    58846908else
    58856909  # Is the header compilable?
    5886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     6910{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6911$as_echo_n "checking $ac_header usability... " >&6; }
    58886912cat >conftest.$ac_ext <<_ACEOF
    58896913/* confdefs.h.  */
     
    58966920_ACEOF
    58976921rm -f conftest.$ac_objext
    5898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5899   (eval $ac_compile) 2>conftest.er1
     6922if { (ac_try="$ac_compile"
     6923case "(($ac_try" in
     6924  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6925  *) ac_try_echo=$ac_try;;
     6926esac
     6927eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6928$as_echo "$ac_try_echo") >&5
     6929  (eval "$ac_compile") 2>conftest.er1
    59006930  ac_status=$?
    59016931  grep -v '^ *+' conftest.er1 >conftest.err
    59026932  rm -f conftest.er1
    59036933  cat conftest.err >&5
    5904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5905   (exit $ac_status); } &&
    5906      { ac_try='test -z "$ac_c_werror_flag"
    5907              || test ! -s conftest.err'
    5908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5909   (eval $ac_try) 2>&5
    5910   ac_status=$?
    5911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5912   (exit $ac_status); }; } &&
    5913      { ac_try='test -s conftest.$ac_objext'
    5914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5915   (eval $ac_try) 2>&5
    5916   ac_status=$?
    5917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5918   (exit $ac_status); }; }; then
     6934  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6935  (exit $ac_status); } && {
     6936     test -z "$ac_c_werror_flag" ||
     6937     test ! -s conftest.err
     6938       } && test -s conftest.$ac_objext; then
    59196939  ac_header_compiler=yes
    59206940else
    5921   echo "$as_me: failed program was:" >&5
     6941  $as_echo "$as_me: failed program was:" >&5
    59226942sed 's/^/| /' conftest.$ac_ext >&5
    59236943
    5924 ac_header_compiler=no
    5925 fi
    5926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5928 echo "${ECHO_T}$ac_header_compiler" >&6
     6944    ac_header_compiler=no
     6945fi
     6946
     6947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6948{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6949$as_echo "$ac_header_compiler" >&6; }
    59296950
    59306951# Is the header present?
    5931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     6952{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6953$as_echo_n "checking $ac_header presence... " >&6; }
    59336954cat >conftest.$ac_ext <<_ACEOF
    59346955/* confdefs.h.  */
     
    59396960#include <$ac_header>
    59406961_ACEOF
    5941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5942   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     6962if { (ac_try="$ac_cpp conftest.$ac_ext"
     6963case "(($ac_try" in
     6964  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6965  *) ac_try_echo=$ac_try;;
     6966esac
     6967eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6968$as_echo "$ac_try_echo") >&5
     6969  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    59436970  ac_status=$?
    59446971  grep -v '^ *+' conftest.er1 >conftest.err
    59456972  rm -f conftest.er1
    59466973  cat conftest.err >&5
    5947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5948   (exit $ac_status); } >/dev/null; then
    5949   if test -s conftest.err; then
    5950     ac_cpp_err=$ac_c_preproc_warn_flag
    5951     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5952   else
    5953     ac_cpp_err=
    5954   fi
    5955 else
    5956   ac_cpp_err=yes
    5957 fi
    5958 if test -z "$ac_cpp_err"; then
     6974  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6975  (exit $ac_status); } >/dev/null && {
     6976     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     6977     test ! -s conftest.err
     6978       }; then
    59596979  ac_header_preproc=yes
    59606980else
    5961   echo "$as_me: failed program was:" >&5
     6981  $as_echo "$as_me: failed program was:" >&5
    59626982sed 's/^/| /' conftest.$ac_ext >&5
    59636983
    59646984  ac_header_preproc=no
    59656985fi
     6986
    59666987rm -f conftest.err conftest.$ac_ext
    5967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5968 echo "${ECHO_T}$ac_header_preproc" >&6
     6988{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6989$as_echo "$ac_header_preproc" >&6; }
    59696990
    59706991# So?  What about this header?
    59716992case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    59726993  yes:no: )
    5973     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5975     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6994    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6995$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6996    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6997$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    59776998    ac_header_preproc=yes
    59786999    ;;
    59797000  no:yes:* )
    5980     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5982     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5983 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5984     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5986     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5987 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5988     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5990     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5992     (
    5993       cat <<\_ASBOX
    5994 ## ------------------------------------------ ##
    5995 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5996 ## ------------------------------------------ ##
    5997 _ASBOX
    5998     ) |
    5999       sed "s/^/$as_me: WARNING:     /" >&2
     7001    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     7002$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     7003    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     7004$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7005    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7006$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     7007    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     7008$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     7009    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     7010$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     7011    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     7012$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     7013
    60007014    ;;
    60017015esac
    6002 echo "$as_me:$LINENO: checking for $ac_header" >&5
    6003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    6004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    6005   echo $ECHO_N "(cached) $ECHO_C" >&6
     7016{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7017$as_echo_n "checking for $ac_header... " >&6; }
     7018if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7019  $as_echo_n "(cached) " >&6
    60067020else
    60077021  eval "$as_ac_Header=\$ac_header_preproc"
    60087022fi
    6009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    6010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    6011 
    6012 fi
    6013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     7023ac_res=`eval 'as_val=${'$as_ac_Header'}
     7024         $as_echo "$as_val"'`
     7025           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7026$as_echo "$ac_res" >&6; }
     7027
     7028fi
     7029as_val=`eval 'as_val=${'$as_ac_Header'}
     7030         $as_echo "$as_val"'`
     7031   if test "x$as_val" = x""yes; then
    60147032  cat >>confdefs.h <<_ACEOF
    6015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7033#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    60167034_ACEOF
    60177035
     
    60777095# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    60787096# for constant arguments.  Useless!
    6079 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    6080 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     7097{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
     7098$as_echo_n "checking for working alloca.h... " >&6; }
    60817099if test "${ac_cv_working_alloca_h+set}" = set; then
    6082   echo $ECHO_N "(cached) $ECHO_C" >&6
     7100  $as_echo_n "(cached) " >&6
    60837101else
    60847102  cat >conftest.$ac_ext <<_ACEOF
     
    60937111{
    60947112char *p = (char *) alloca (2 * sizeof (int));
     7113              if (p) return 0;
    60957114  ;
    60967115  return 0;
     
    60987117_ACEOF
    60997118rm -f conftest.$ac_objext conftest$ac_exeext
    6100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6101   (eval $ac_link) 2>conftest.er1
     7119if { (ac_try="$ac_link"
     7120case "(($ac_try" in
     7121  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7122  *) ac_try_echo=$ac_try;;
     7123esac
     7124eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7125$as_echo "$ac_try_echo") >&5
     7126  (eval "$ac_link") 2>conftest.er1
    61027127  ac_status=$?
    61037128  grep -v '^ *+' conftest.er1 >conftest.err
    61047129  rm -f conftest.er1
    61057130  cat conftest.err >&5
    6106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6107   (exit $ac_status); } &&
    6108      { ac_try='test -z "$ac_c_werror_flag"
    6109              || test ! -s conftest.err'
    6110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6111   (eval $ac_try) 2>&5
    6112   ac_status=$?
    6113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6114   (exit $ac_status); }; } &&
    6115      { ac_try='test -s conftest$ac_exeext'
    6116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6117   (eval $ac_try) 2>&5
    6118   ac_status=$?
    6119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6120   (exit $ac_status); }; }; then
     7131  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7132  (exit $ac_status); } && {
     7133     test -z "$ac_c_werror_flag" ||
     7134     test ! -s conftest.err
     7135       } && test -s conftest$ac_exeext && {
     7136     test "$cross_compiling" = yes ||
     7137     $as_test_x conftest$ac_exeext
     7138       }; then
    61217139  ac_cv_working_alloca_h=yes
    61227140else
    6123   echo "$as_me: failed program was:" >&5
     7141  $as_echo "$as_me: failed program was:" >&5
    61247142sed 's/^/| /' conftest.$ac_ext >&5
    61257143
    6126 ac_cv_working_alloca_h=no
    6127 fi
    6128 rm -f conftest.err conftest.$ac_objext \
     7144    ac_cv_working_alloca_h=no
     7145fi
     7146
     7147rm -rf conftest.dSYM
     7148rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    61297149      conftest$ac_exeext conftest.$ac_ext
    61307150fi
    6131 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    6132 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
     7151{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     7152$as_echo "$ac_cv_working_alloca_h" >&6; }
    61337153if test $ac_cv_working_alloca_h = yes; then
    61347154
     
    61397159fi
    61407160
    6141 echo "$as_me:$LINENO: checking for alloca" >&5
    6142 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     7161{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
     7162$as_echo_n "checking for alloca... " >&6; }
    61437163if test "${ac_cv_func_alloca_works+set}" = set; then
    6144   echo $ECHO_N "(cached) $ECHO_C" >&6
     7164  $as_echo_n "(cached) " >&6
    61457165else
    61467166  cat >conftest.$ac_ext <<_ACEOF
     
    61577177#  define alloca _alloca
    61587178# else
    6159 #  if HAVE_ALLOCA_H
     7179#  ifdef HAVE_ALLOCA_H
    61607180#   include <alloca.h>
    61617181#  else
     
    61757195{
    61767196char *p = (char *) alloca (1);
     7197                    if (p) return 0;
    61777198  ;
    61787199  return 0;
     
    61807201_ACEOF
    61817202rm -f conftest.$ac_objext conftest$ac_exeext
    6182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6183   (eval $ac_link) 2>conftest.er1
     7203if { (ac_try="$ac_link"
     7204case "(($ac_try" in
     7205  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7206  *) ac_try_echo=$ac_try;;
     7207esac
     7208eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7209$as_echo "$ac_try_echo") >&5
     7210  (eval "$ac_link") 2>conftest.er1
    61847211  ac_status=$?
    61857212  grep -v '^ *+' conftest.er1 >conftest.err
    61867213  rm -f conftest.er1
    61877214  cat conftest.err >&5
    6188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6189   (exit $ac_status); } &&
    6190      { ac_try='test -z "$ac_c_werror_flag"
    6191              || test ! -s conftest.err'
    6192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6193   (eval $ac_try) 2>&5
    6194   ac_status=$?
    6195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6196   (exit $ac_status); }; } &&
    6197      { ac_try='test -s conftest$ac_exeext'
    6198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6199   (eval $ac_try) 2>&5
    6200   ac_status=$?
    6201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6202   (exit $ac_status); }; }; then
     7215  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7216  (exit $ac_status); } && {
     7217     test -z "$ac_c_werror_flag" ||
     7218     test ! -s conftest.err
     7219       } && test -s conftest$ac_exeext && {
     7220     test "$cross_compiling" = yes ||
     7221     $as_test_x conftest$ac_exeext
     7222       }; then
    62037223  ac_cv_func_alloca_works=yes
    62047224else
    6205   echo "$as_me: failed program was:" >&5
     7225  $as_echo "$as_me: failed program was:" >&5
    62067226sed 's/^/| /' conftest.$ac_ext >&5
    62077227
    6208 ac_cv_func_alloca_works=no
    6209 fi
    6210 rm -f conftest.err conftest.$ac_objext \
     7228    ac_cv_func_alloca_works=no
     7229fi
     7230
     7231rm -rf conftest.dSYM
     7232rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    62117233      conftest$ac_exeext conftest.$ac_ext
    62127234fi
    6213 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    6214 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
     7235{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     7236$as_echo "$ac_cv_func_alloca_works" >&6; }
    62157237
    62167238if test $ac_cv_func_alloca_works = yes; then
     
    62267248# use ar to extract alloca.o from them instead of compiling alloca.c.
    62277249
    6228 ALLOCA=alloca.$ac_objext
     7250ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    62297251
    62307252cat >>confdefs.h <<\_ACEOF
     
    62337255
    62347256
    6235 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    6236 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     7257{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     7258$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
    62377259if test "${ac_cv_os_cray+set}" = set; then
    6238   echo $ECHO_N "(cached) $ECHO_C" >&6
     7260  $as_echo_n "(cached) " >&6
    62397261else
    62407262  cat >conftest.$ac_ext <<_ACEOF
     
    62447266cat >>conftest.$ac_ext <<_ACEOF
    62457267/* end confdefs.h.  */
    6246 #if defined(CRAY) && ! defined(CRAY2)
     7268#if defined CRAY && ! defined CRAY2
    62477269webecray
    62487270#else
     
    62607282
    62617283fi
    6262 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    6263 echo "${ECHO_T}$ac_cv_os_cray" >&6
     7284{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     7285$as_echo "$ac_cv_os_cray" >&6; }
    62647286if test $ac_cv_os_cray = yes; then
    62657287  for ac_func in _getb67 GETB67 getb67; do
    6266     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6267 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6269 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6270   echo $ECHO_N "(cached) $ECHO_C" >&6
     7288    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7289{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7290$as_echo_n "checking for $ac_func... " >&6; }
     7291if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7292  $as_echo_n "(cached) " >&6
    62717293else
    62727294  cat >conftest.$ac_ext <<_ACEOF
     
    62937315#undef $ac_func
    62947316
    6295 /* Override any gcc2 internal prototype to avoid an error.  */
     7317/* Override any GCC internal prototype to avoid an error.
     7318   Use char because int might match the return type of a GCC
     7319   builtin and then its argument prototype would still apply.  */
    62967320#ifdef __cplusplus
    62977321extern "C"
    6298 {
    62997322#endif
    6300 /* We use char because int might match the return type of a gcc2
    6301    builtin and then its argument prototype would still apply.  */
    63027323char $ac_func ();
    63037324/* The GNU C library defines this for functions which it implements
    63047325    to always fail with ENOSYS.  Some functions are actually named
    63057326    something starting with __ and the normal name is an alias.  */
    6306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7327#if defined __stub_$ac_func || defined __stub___$ac_func
    63077328choke me
    6308 #else
    6309 char (*f) () = $ac_func;
    6310 #endif
    6311 #ifdef __cplusplus
    6312 }
    63137329#endif
    63147330
     
    63167332main ()
    63177333{
    6318 return f != $ac_func;
     7334return $ac_func ();
    63197335  ;
    63207336  return 0;
     
    63227338_ACEOF
    63237339rm -f conftest.$ac_objext conftest$ac_exeext
    6324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6325   (eval $ac_link) 2>conftest.er1
     7340if { (ac_try="$ac_link"
     7341case "(($ac_try" in
     7342  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7343  *) ac_try_echo=$ac_try;;
     7344esac
     7345eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7346$as_echo "$ac_try_echo") >&5
     7347  (eval "$ac_link") 2>conftest.er1
    63267348  ac_status=$?
    63277349  grep -v '^ *+' conftest.er1 >conftest.err
    63287350  rm -f conftest.er1
    63297351  cat conftest.err >&5
    6330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6331   (exit $ac_status); } &&
    6332      { ac_try='test -z "$ac_c_werror_flag"
    6333              || test ! -s conftest.err'
    6334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6335   (eval $ac_try) 2>&5
    6336   ac_status=$?
    6337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6338   (exit $ac_status); }; } &&
    6339      { ac_try='test -s conftest$ac_exeext'
    6340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6341   (eval $ac_try) 2>&5
    6342   ac_status=$?
    6343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6344   (exit $ac_status); }; }; then
     7352  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7353  (exit $ac_status); } && {
     7354     test -z "$ac_c_werror_flag" ||
     7355     test ! -s conftest.err
     7356       } && test -s conftest$ac_exeext && {
     7357     test "$cross_compiling" = yes ||
     7358     $as_test_x conftest$ac_exeext
     7359       }; then
    63457360  eval "$as_ac_var=yes"
    63467361else
    6347   echo "$as_me: failed program was:" >&5
     7362  $as_echo "$as_me: failed program was:" >&5
    63487363sed 's/^/| /' conftest.$ac_ext >&5
    63497364
    6350 eval "$as_ac_var=no"
    6351 fi
    6352 rm -f conftest.err conftest.$ac_objext \
     7365    eval "$as_ac_var=no"
     7366fi
     7367
     7368rm -rf conftest.dSYM
     7369rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    63537370      conftest$ac_exeext conftest.$ac_ext
    63547371fi
    6355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6357 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7372ac_res=`eval 'as_val=${'$as_ac_var'}
     7373         $as_echo "$as_val"'`
     7374           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7375$as_echo "$ac_res" >&6; }
     7376as_val=`eval 'as_val=${'$as_ac_var'}
     7377         $as_echo "$as_val"'`
     7378   if test "x$as_val" = x""yes; then
    63587379
    63597380cat >>confdefs.h <<_ACEOF
     
    63677388fi
    63687389
    6369 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    6370 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
     7390{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     7391$as_echo_n "checking stack direction for C alloca... " >&6; }
    63717392if test "${ac_cv_c_stack_direction+set}" = set; then
    6372   echo $ECHO_N "(cached) $ECHO_C" >&6
     7393  $as_echo_n "(cached) " >&6
    63737394else
    63747395  if test "$cross_compiling" = yes; then
     
    63817402cat >>conftest.$ac_ext <<_ACEOF
    63827403/* end confdefs.h.  */
     7404$ac_includes_default
    63837405int
    63847406find_stack_direction ()
     
    63987420main ()
    63997421{
    6400   exit (find_stack_direction () < 0);
     7422  return find_stack_direction () < 0;
    64017423}
    64027424_ACEOF
    64037425rm -f conftest$ac_exeext
    6404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6405   (eval $ac_link) 2>&5
     7426if { (ac_try="$ac_link"
     7427case "(($ac_try" in
     7428  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7429  *) ac_try_echo=$ac_try;;
     7430esac
     7431eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7432$as_echo "$ac_try_echo") >&5
     7433  (eval "$ac_link") 2>&5
    64067434  ac_status=$?
    6407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7435  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    64087436  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6410   (eval $ac_try) 2>&5
     7437  { (case "(($ac_try" in
     7438  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7439  *) ac_try_echo=$ac_try;;
     7440esac
     7441eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7442$as_echo "$ac_try_echo") >&5
     7443  (eval "$ac_try") 2>&5
    64117444  ac_status=$?
    6412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7445  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    64137446  (exit $ac_status); }; }; then
    64147447  ac_cv_c_stack_direction=1
    64157448else
    6416   echo "$as_me: program exited with status $ac_status" >&5
    6417 echo "$as_me: failed program was:" >&5
     7449  $as_echo "$as_me: program exited with status $ac_status" >&5
     7450$as_echo "$as_me: failed program was:" >&5
    64187451sed 's/^/| /' conftest.$ac_ext >&5
    64197452
     
    64217454ac_cv_c_stack_direction=-1
    64227455fi
    6423 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6424 fi
    6425 fi
    6426 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    6427 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
     7456rm -rf conftest.dSYM
     7457rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7458fi
     7459
     7460
     7461fi
     7462{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     7463$as_echo "$ac_cv_c_stack_direction" >&6; }
    64287464
    64297465cat >>confdefs.h <<_ACEOF
     
    64357471
    64367472if test $ac_cv_c_compiler_gnu = yes; then
    6437     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    6438 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
     7473    { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     7474$as_echo_n "checking whether $CC needs -traditional... " >&6; }
    64397475if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    6440   echo $ECHO_N "(cached) $ECHO_C" >&6
     7476  $as_echo_n "(cached) " >&6
    64417477else
    64427478    ac_pattern="Autoconf.*'x'"
     
    64777513  fi
    64787514fi
    6479 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    6480 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
     7515{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     7516$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
    64817517  if test $ac_cv_prog_gcc_traditional = yes; then
    64827518    CC="$CC -traditional"
     
    64847520fi
    64857521
    6486 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    6487 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
     7522{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     7523$as_echo_n "checking return type of signal handlers... " >&6; }
    64887524if test "${ac_cv_type_signal+set}" = set; then
    6489   echo $ECHO_N "(cached) $ECHO_C" >&6
     7525  $as_echo_n "(cached) " >&6
    64907526else
    64917527  cat >conftest.$ac_ext <<_ACEOF
     
    64977533#include <sys/types.h>
    64987534#include <signal.h>
    6499 #ifdef signal
    6500 # undef signal
    6501 #endif
    6502 #ifdef __cplusplus
    6503 extern "C" void (*signal (int, void (*)(int)))(int);
    6504 #else
    6505 void (*signal ()) ();
    6506 #endif
    65077535
    65087536int
    65097537main ()
    65107538{
    6511 int i;
     7539return *(signal (0, 0)) (0) == 1;
    65127540  ;
    65137541  return 0;
     
    65157543_ACEOF
    65167544rm -f conftest.$ac_objext
    6517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6518   (eval $ac_compile) 2>conftest.er1
     7545if { (ac_try="$ac_compile"
     7546case "(($ac_try" in
     7547  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7548  *) ac_try_echo=$ac_try;;
     7549esac
     7550eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7551$as_echo "$ac_try_echo") >&5
     7552  (eval "$ac_compile") 2>conftest.er1
    65197553  ac_status=$?
    65207554  grep -v '^ *+' conftest.er1 >conftest.err
    65217555  rm -f conftest.er1
    65227556  cat conftest.err >&5
    6523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6524   (exit $ac_status); } &&
    6525      { ac_try='test -z "$ac_c_werror_flag"
    6526              || test ! -s conftest.err'
    6527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6528   (eval $ac_try) 2>&5
    6529   ac_status=$?
    6530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6531   (exit $ac_status); }; } &&
    6532      { ac_try='test -s conftest.$ac_objext'
    6533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6534   (eval $ac_try) 2>&5
    6535   ac_status=$?
    6536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6537   (exit $ac_status); }; }; then
    6538   ac_cv_type_signal=void
    6539 else
    6540   echo "$as_me: failed program was:" >&5
     7557  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7558  (exit $ac_status); } && {
     7559     test -z "$ac_c_werror_flag" ||
     7560     test ! -s conftest.err
     7561       } && test -s conftest.$ac_objext; then
     7562  ac_cv_type_signal=int
     7563else
     7564  $as_echo "$as_me: failed program was:" >&5
    65417565sed 's/^/| /' conftest.$ac_ext >&5
    65427566
    6543 ac_cv_type_signal=int
    6544 fi
    6545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6546 fi
    6547 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    6548 echo "${ECHO_T}$ac_cv_type_signal" >&6
     7567    ac_cv_type_signal=void
     7568fi
     7569
     7570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7571fi
     7572{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     7573$as_echo "$ac_cv_type_signal" >&6; }
    65497574
    65507575cat >>confdefs.h <<_ACEOF
     
    65567581for ac_func in vprintf
    65577582do
    6558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6559 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6561 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6562   echo $ECHO_N "(cached) $ECHO_C" >&6
     7583as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7584{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7585$as_echo_n "checking for $ac_func... " >&6; }
     7586if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7587  $as_echo_n "(cached) " >&6
    65637588else
    65647589  cat >conftest.$ac_ext <<_ACEOF
     
    65857610#undef $ac_func
    65867611
    6587 /* Override any gcc2 internal prototype to avoid an error.  */
     7612/* Override any GCC internal prototype to avoid an error.
     7613   Use char because int might match the return type of a GCC
     7614   builtin and then its argument prototype would still apply.  */
    65887615#ifdef __cplusplus
    65897616extern "C"
    6590 {
    65917617#endif
    6592 /* We use char because int might match the return type of a gcc2
    6593    builtin and then its argument prototype would still apply.  */
    65947618char $ac_func ();
    65957619/* The GNU C library defines this for functions which it implements
    65967620    to always fail with ENOSYS.  Some functions are actually named
    65977621    something starting with __ and the normal name is an alias.  */
    6598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7622#if defined __stub_$ac_func || defined __stub___$ac_func
    65997623choke me
    6600 #else
    6601 char (*f) () = $ac_func;
    6602 #endif
    6603 #ifdef __cplusplus
    6604 }
    66057624#endif
    66067625
     
    66087627main ()
    66097628{
    6610 return f != $ac_func;
     7629return $ac_func ();
    66117630  ;
    66127631  return 0;
     
    66147633_ACEOF
    66157634rm -f conftest.$ac_objext conftest$ac_exeext
    6616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6617   (eval $ac_link) 2>conftest.er1
     7635if { (ac_try="$ac_link"
     7636case "(($ac_try" in
     7637  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7638  *) ac_try_echo=$ac_try;;
     7639esac
     7640eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7641$as_echo "$ac_try_echo") >&5
     7642  (eval "$ac_link") 2>conftest.er1
    66187643  ac_status=$?
    66197644  grep -v '^ *+' conftest.er1 >conftest.err
    66207645  rm -f conftest.er1
    66217646  cat conftest.err >&5
    6622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6623   (exit $ac_status); } &&
    6624      { ac_try='test -z "$ac_c_werror_flag"
    6625              || test ! -s conftest.err'
    6626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6627   (eval $ac_try) 2>&5
    6628   ac_status=$?
    6629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6630   (exit $ac_status); }; } &&
    6631      { ac_try='test -s conftest$ac_exeext'
    6632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6633   (eval $ac_try) 2>&5
    6634   ac_status=$?
    6635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6636   (exit $ac_status); }; }; then
     7647  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7648  (exit $ac_status); } && {
     7649     test -z "$ac_c_werror_flag" ||
     7650     test ! -s conftest.err
     7651       } && test -s conftest$ac_exeext && {
     7652     test "$cross_compiling" = yes ||
     7653     $as_test_x conftest$ac_exeext
     7654       }; then
    66377655  eval "$as_ac_var=yes"
    66387656else
    6639   echo "$as_me: failed program was:" >&5
     7657  $as_echo "$as_me: failed program was:" >&5
    66407658sed 's/^/| /' conftest.$ac_ext >&5
    66417659
    6642 eval "$as_ac_var=no"
    6643 fi
    6644 rm -f conftest.err conftest.$ac_objext \
     7660    eval "$as_ac_var=no"
     7661fi
     7662
     7663rm -rf conftest.dSYM
     7664rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    66457665      conftest$ac_exeext conftest.$ac_ext
    66467666fi
    6647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6649 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7667ac_res=`eval 'as_val=${'$as_ac_var'}
     7668         $as_echo "$as_val"'`
     7669           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7670$as_echo "$ac_res" >&6; }
     7671as_val=`eval 'as_val=${'$as_ac_var'}
     7672         $as_echo "$as_val"'`
     7673   if test "x$as_val" = x""yes; then
    66507674  cat >>confdefs.h <<_ACEOF
    6651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    6652 _ACEOF
    6653 
    6654 echo "$as_me:$LINENO: checking for _doprnt" >&5
    6655 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
     7675#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7676_ACEOF
     7677
     7678{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
     7679$as_echo_n "checking for _doprnt... " >&6; }
    66567680if test "${ac_cv_func__doprnt+set}" = set; then
    6657   echo $ECHO_N "(cached) $ECHO_C" >&6
     7681  $as_echo_n "(cached) " >&6
    66587682else
    66597683  cat >conftest.$ac_ext <<_ACEOF
     
    66807704#undef _doprnt
    66817705
    6682 /* Override any gcc2 internal prototype to avoid an error.  */
     7706/* Override any GCC internal prototype to avoid an error.
     7707   Use char because int might match the return type of a GCC
     7708   builtin and then its argument prototype would still apply.  */
    66837709#ifdef __cplusplus
    66847710extern "C"
    6685 {
    66867711#endif
    6687 /* We use char because int might match the return type of a gcc2
    6688    builtin and then its argument prototype would still apply.  */
    66897712char _doprnt ();
    66907713/* The GNU C library defines this for functions which it implements
    66917714    to always fail with ENOSYS.  Some functions are actually named
    66927715    something starting with __ and the normal name is an alias.  */
    6693 #if defined (__stub__doprnt) || defined (__stub____doprnt)
     7716#if defined __stub__doprnt || defined __stub____doprnt
    66947717choke me
    6695 #else
    6696 char (*f) () = _doprnt;
    6697 #endif
    6698 #ifdef __cplusplus
    6699 }
    67007718#endif
    67017719
     
    67037721main ()
    67047722{
    6705 return f != _doprnt;
     7723return _doprnt ();
    67067724  ;
    67077725  return 0;
     
    67097727_ACEOF
    67107728rm -f conftest.$ac_objext conftest$ac_exeext
    6711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6712   (eval $ac_link) 2>conftest.er1
     7729if { (ac_try="$ac_link"
     7730case "(($ac_try" in
     7731  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7732  *) ac_try_echo=$ac_try;;
     7733esac
     7734eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7735$as_echo "$ac_try_echo") >&5
     7736  (eval "$ac_link") 2>conftest.er1
    67137737  ac_status=$?
    67147738  grep -v '^ *+' conftest.er1 >conftest.err
    67157739  rm -f conftest.er1
    67167740  cat conftest.err >&5
    6717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6718   (exit $ac_status); } &&
    6719      { ac_try='test -z "$ac_c_werror_flag"
    6720              || test ! -s conftest.err'
    6721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6722   (eval $ac_try) 2>&5
    6723   ac_status=$?
    6724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6725   (exit $ac_status); }; } &&
    6726      { ac_try='test -s conftest$ac_exeext'
    6727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6728   (eval $ac_try) 2>&5
    6729   ac_status=$?
    6730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6731   (exit $ac_status); }; }; then
     7741  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7742  (exit $ac_status); } && {
     7743     test -z "$ac_c_werror_flag" ||
     7744     test ! -s conftest.err
     7745       } && test -s conftest$ac_exeext && {
     7746     test "$cross_compiling" = yes ||
     7747     $as_test_x conftest$ac_exeext
     7748       }; then
    67327749  ac_cv_func__doprnt=yes
    67337750else
    6734   echo "$as_me: failed program was:" >&5
     7751  $as_echo "$as_me: failed program was:" >&5
    67357752sed 's/^/| /' conftest.$ac_ext >&5
    67367753
    6737 ac_cv_func__doprnt=no
    6738 fi
    6739 rm -f conftest.err conftest.$ac_objext \
     7754    ac_cv_func__doprnt=no
     7755fi
     7756
     7757rm -rf conftest.dSYM
     7758rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    67407759      conftest$ac_exeext conftest.$ac_ext
    67417760fi
    6742 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6743 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
    6744 if test $ac_cv_func__doprnt = yes; then
     7761{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     7762$as_echo "$ac_cv_func__doprnt" >&6; }
     7763if test "x$ac_cv_func__doprnt" = x""yes; then
    67457764
    67467765cat >>confdefs.h <<\_ACEOF
     
    67667785for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
    67677786do
    6768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6769 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6771 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6772   echo $ECHO_N "(cached) $ECHO_C" >&6
     7787as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7788{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7789$as_echo_n "checking for $ac_func... " >&6; }
     7790if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7791  $as_echo_n "(cached) " >&6
    67737792else
    67747793  cat >conftest.$ac_ext <<_ACEOF
     
    67957814#undef $ac_func
    67967815
    6797 /* Override any gcc2 internal prototype to avoid an error.  */
     7816/* Override any GCC internal prototype to avoid an error.
     7817   Use char because int might match the return type of a GCC
     7818   builtin and then its argument prototype would still apply.  */
    67987819#ifdef __cplusplus
    67997820extern "C"
    6800 {
    68017821#endif
    6802 /* We use char because int might match the return type of a gcc2
    6803    builtin and then its argument prototype would still apply.  */
    68047822char $ac_func ();
    68057823/* The GNU C library defines this for functions which it implements
    68067824    to always fail with ENOSYS.  Some functions are actually named
    68077825    something starting with __ and the normal name is an alias.  */
    6808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7826#if defined __stub_$ac_func || defined __stub___$ac_func
    68097827choke me
    6810 #else
    6811 char (*f) () = $ac_func;
    6812 #endif
    6813 #ifdef __cplusplus
    6814 }
    68157828#endif
    68167829
     
    68187831main ()
    68197832{
    6820 return f != $ac_func;
     7833return $ac_func ();
    68217834  ;
    68227835  return 0;
     
    68247837_ACEOF
    68257838rm -f conftest.$ac_objext conftest$ac_exeext
    6826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6827   (eval $ac_link) 2>conftest.er1
     7839if { (ac_try="$ac_link"
     7840case "(($ac_try" in
     7841  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7842  *) ac_try_echo=$ac_try;;
     7843esac
     7844eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7845$as_echo "$ac_try_echo") >&5
     7846  (eval "$ac_link") 2>conftest.er1
    68287847  ac_status=$?
    68297848  grep -v '^ *+' conftest.er1 >conftest.err
    68307849  rm -f conftest.er1
    68317850  cat conftest.err >&5
    6832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6833   (exit $ac_status); } &&
    6834      { ac_try='test -z "$ac_c_werror_flag"
    6835              || test ! -s conftest.err'
    6836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6837   (eval $ac_try) 2>&5
    6838   ac_status=$?
    6839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6840   (exit $ac_status); }; } &&
    6841      { ac_try='test -s conftest$ac_exeext'
    6842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6843   (eval $ac_try) 2>&5
    6844   ac_status=$?
    6845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6846   (exit $ac_status); }; }; then
     7851  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7852  (exit $ac_status); } && {
     7853     test -z "$ac_c_werror_flag" ||
     7854     test ! -s conftest.err
     7855       } && test -s conftest$ac_exeext && {
     7856     test "$cross_compiling" = yes ||
     7857     $as_test_x conftest$ac_exeext
     7858       }; then
    68477859  eval "$as_ac_var=yes"
    68487860else
    6849   echo "$as_me: failed program was:" >&5
     7861  $as_echo "$as_me: failed program was:" >&5
    68507862sed 's/^/| /' conftest.$ac_ext >&5
    68517863
    6852 eval "$as_ac_var=no"
    6853 fi
    6854 rm -f conftest.err conftest.$ac_objext \
     7864    eval "$as_ac_var=no"
     7865fi
     7866
     7867rm -rf conftest.dSYM
     7868rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    68557869      conftest$ac_exeext conftest.$ac_ext
    68567870fi
    6857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6859 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7871ac_res=`eval 'as_val=${'$as_ac_var'}
     7872         $as_echo "$as_val"'`
     7873           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7874$as_echo "$ac_res" >&6; }
     7875as_val=`eval 'as_val=${'$as_ac_var'}
     7876         $as_echo "$as_val"'`
     7877   if test "x$as_val" = x""yes; then
    68607878  cat >>confdefs.h <<_ACEOF
    6861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7879#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    68627880_ACEOF
    68637881
     
    68707888for ac_func in ftruncate strstr strcasecmp
    68717889do
    6872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6873 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6875 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6876   echo $ECHO_N "(cached) $ECHO_C" >&6
     7890as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7891{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7892$as_echo_n "checking for $ac_func... " >&6; }
     7893if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7894  $as_echo_n "(cached) " >&6
    68777895else
    68787896  cat >conftest.$ac_ext <<_ACEOF
     
    68997917#undef $ac_func
    69007918
    6901 /* Override any gcc2 internal prototype to avoid an error.  */
     7919/* Override any GCC internal prototype to avoid an error.
     7920   Use char because int might match the return type of a GCC
     7921   builtin and then its argument prototype would still apply.  */
    69027922#ifdef __cplusplus
    69037923extern "C"
    6904 {
    69057924#endif
    6906 /* We use char because int might match the return type of a gcc2
    6907    builtin and then its argument prototype would still apply.  */
    69087925char $ac_func ();
    69097926/* The GNU C library defines this for functions which it implements
    69107927    to always fail with ENOSYS.  Some functions are actually named
    69117928    something starting with __ and the normal name is an alias.  */
    6912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7929#if defined __stub_$ac_func || defined __stub___$ac_func
    69137930choke me
    6914 #else
    6915 char (*f) () = $ac_func;
    6916 #endif
    6917 #ifdef __cplusplus
    6918 }
    69197931#endif
    69207932
     
    69227934main ()
    69237935{
    6924 return f != $ac_func;
     7936return $ac_func ();
    69257937  ;
    69267938  return 0;
     
    69287940_ACEOF
    69297941rm -f conftest.$ac_objext conftest$ac_exeext
    6930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6931   (eval $ac_link) 2>conftest.er1
     7942if { (ac_try="$ac_link"
     7943case "(($ac_try" in
     7944  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7945  *) ac_try_echo=$ac_try;;
     7946esac
     7947eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7948$as_echo "$ac_try_echo") >&5
     7949  (eval "$ac_link") 2>conftest.er1
    69327950  ac_status=$?
    69337951  grep -v '^ *+' conftest.er1 >conftest.err
    69347952  rm -f conftest.er1
    69357953  cat conftest.err >&5
    6936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6937   (exit $ac_status); } &&
    6938      { ac_try='test -z "$ac_c_werror_flag"
    6939              || test ! -s conftest.err'
    6940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6941   (eval $ac_try) 2>&5
    6942   ac_status=$?
    6943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6944   (exit $ac_status); }; } &&
    6945      { ac_try='test -s conftest$ac_exeext'
    6946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6947   (eval $ac_try) 2>&5
    6948   ac_status=$?
    6949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6950   (exit $ac_status); }; }; then
     7954  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7955  (exit $ac_status); } && {
     7956     test -z "$ac_c_werror_flag" ||
     7957     test ! -s conftest.err
     7958       } && test -s conftest$ac_exeext && {
     7959     test "$cross_compiling" = yes ||
     7960     $as_test_x conftest$ac_exeext
     7961       }; then
    69517962  eval "$as_ac_var=yes"
    69527963else
    6953   echo "$as_me: failed program was:" >&5
     7964  $as_echo "$as_me: failed program was:" >&5
    69547965sed 's/^/| /' conftest.$ac_ext >&5
    69557966
    6956 eval "$as_ac_var=no"
    6957 fi
    6958 rm -f conftest.err conftest.$ac_objext \
     7967    eval "$as_ac_var=no"
     7968fi
     7969
     7970rm -rf conftest.dSYM
     7971rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    69597972      conftest$ac_exeext conftest.$ac_ext
    69607973fi
    6961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6963 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7974ac_res=`eval 'as_val=${'$as_ac_var'}
     7975         $as_echo "$as_val"'`
     7976           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7977$as_echo "$ac_res" >&6; }
     7978as_val=`eval 'as_val=${'$as_ac_var'}
     7979         $as_echo "$as_val"'`
     7980   if test "x$as_val" = x""yes; then
    69647981  cat >>confdefs.h <<_ACEOF
    6965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    6966 _ACEOF
    6967 
    6968 else
    6969   case $LIBOBJS in
    6970     "$ac_func.$ac_objext"   | \
    6971   *" $ac_func.$ac_objext"   | \
    6972     "$ac_func.$ac_objext "* | \
     7982#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7983_ACEOF
     7984
     7985else
     7986  case " $LIBOBJS " in
    69737987  *" $ac_func.$ac_objext "* ) ;;
    6974   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
     7988  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     7989 ;;
    69757990esac
    69767991
     
    69807995
    69817996
    6982 echo "$as_me:$LINENO: checking for textdomain" >&5
    6983 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
     7997{ $as_echo "$as_me:$LINENO: checking for textdomain" >&5
     7998$as_echo_n "checking for textdomain... " >&6; }
    69847999if test "${ac_cv_func_textdomain+set}" = set; then
    6985   echo $ECHO_N "(cached) $ECHO_C" >&6
     8000  $as_echo_n "(cached) " >&6
    69868001else
    69878002  cat >conftest.$ac_ext <<_ACEOF
     
    70088023#undef textdomain
    70098024
    7010 /* Override any gcc2 internal prototype to avoid an error.  */
     8025/* Override any GCC internal prototype to avoid an error.
     8026   Use char because int might match the return type of a GCC
     8027   builtin and then its argument prototype would still apply.  */
    70118028#ifdef __cplusplus
    70128029extern "C"
    7013 {
    70148030#endif
    7015 /* We use char because int might match the return type of a gcc2
    7016    builtin and then its argument prototype would still apply.  */
    70178031char textdomain ();
    70188032/* The GNU C library defines this for functions which it implements
    70198033    to always fail with ENOSYS.  Some functions are actually named
    70208034    something starting with __ and the normal name is an alias.  */
    7021 #if defined (__stub_textdomain) || defined (__stub___textdomain)
     8035#if defined __stub_textdomain || defined __stub___textdomain
    70228036choke me
    7023 #else
    7024 char (*f) () = textdomain;
    7025 #endif
    7026 #ifdef __cplusplus
    7027 }
    70288037#endif
    70298038
     
    70318040main ()
    70328041{
    7033 return f != textdomain;
     8042return textdomain ();
    70348043  ;
    70358044  return 0;
     
    70378046_ACEOF
    70388047rm -f conftest.$ac_objext conftest$ac_exeext
    7039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7040   (eval $ac_link) 2>conftest.er1
     8048if { (ac_try="$ac_link"
     8049case "(($ac_try" in
     8050  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8051  *) ac_try_echo=$ac_try;;
     8052esac
     8053eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8054$as_echo "$ac_try_echo") >&5
     8055  (eval "$ac_link") 2>conftest.er1
    70418056  ac_status=$?
    70428057  grep -v '^ *+' conftest.er1 >conftest.err
    70438058  rm -f conftest.er1
    70448059  cat conftest.err >&5
    7045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7046   (exit $ac_status); } &&
    7047      { ac_try='test -z "$ac_c_werror_flag"
    7048              || test ! -s conftest.err'
    7049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7050   (eval $ac_try) 2>&5
    7051   ac_status=$?
    7052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7053   (exit $ac_status); }; } &&
    7054      { ac_try='test -s conftest$ac_exeext'
    7055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7056   (eval $ac_try) 2>&5
    7057   ac_status=$?
    7058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7059   (exit $ac_status); }; }; then
     8060  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8061  (exit $ac_status); } && {
     8062     test -z "$ac_c_werror_flag" ||
     8063     test ! -s conftest.err
     8064       } && test -s conftest$ac_exeext && {
     8065     test "$cross_compiling" = yes ||
     8066     $as_test_x conftest$ac_exeext
     8067       }; then
    70608068  ac_cv_func_textdomain=yes
    70618069else
    7062   echo "$as_me: failed program was:" >&5
     8070  $as_echo "$as_me: failed program was:" >&5
    70638071sed 's/^/| /' conftest.$ac_ext >&5
    70648072
    7065 ac_cv_func_textdomain=no
    7066 fi
    7067 rm -f conftest.err conftest.$ac_objext \
     8073    ac_cv_func_textdomain=no
     8074fi
     8075
     8076rm -rf conftest.dSYM
     8077rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    70688078      conftest$ac_exeext conftest.$ac_ext
    70698079fi
    7070 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    7071 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
    7072 if test $ac_cv_func_textdomain = yes; then
     8080{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     8081$as_echo "$ac_cv_func_textdomain" >&6; }
     8082if test "x$ac_cv_func_textdomain" = x""yes; then
    70738083  cat >>confdefs.h <<\_ACEOF
    70748084#define ENABLE_NLS  1
     
    70808090# *** Custom checking (based on GNU tar configure.in) ***
    70818091# ---------------------------------------------------------------------------
    7082 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    7083 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
     8092{ $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     8093$as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
    70848094if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    7085   echo "$as_me:$LINENO: result: yes" >&5
    7086 echo "${ECHO_T}yes" >&6
    7087   case $LIBOBJS in
    7088     "gmalloc.$ac_objext"   | \
    7089   *" gmalloc.$ac_objext"   | \
    7090     "gmalloc.$ac_objext "* | \
     8095  { $as_echo "$as_me:$LINENO: result: yes" >&5
     8096$as_echo "yes" >&6; }
     8097  case " $LIBOBJS " in
    70918098  *" gmalloc.$ac_objext "* ) ;;
    7092   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
     8099  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
     8100 ;;
    70938101esac
    70948102
     
    70988106
    70998107else
    7100   echo "$as_me:$LINENO: result: no" >&5
    7101 echo "${ECHO_T}no" >&6
     8108  { $as_echo "$as_me:$LINENO: result: no" >&5
     8109$as_echo "no" >&6; }
    71028110
    71038111for ac_func in valloc
    71048112do
    7105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    7106 echo "$as_me:$LINENO: checking for $ac_func" >&5
    7107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    7108 if eval "test \"\${$as_ac_var+set}\" = set"; then
    7109   echo $ECHO_N "(cached) $ECHO_C" >&6
     8113as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     8114{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     8115$as_echo_n "checking for $ac_func... " >&6; }
     8116if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     8117  $as_echo_n "(cached) " >&6
    71108118else
    71118119  cat >conftest.$ac_ext <<_ACEOF
     
    71328140#undef $ac_func
    71338141
    7134 /* Override any gcc2 internal prototype to avoid an error.  */
     8142/* Override any GCC internal prototype to avoid an error.
     8143   Use char because int might match the return type of a GCC
     8144   builtin and then its argument prototype would still apply.  */
    71358145#ifdef __cplusplus
    71368146extern "C"
    7137 {
    71388147#endif
    7139 /* We use char because int might match the return type of a gcc2
    7140    builtin and then its argument prototype would still apply.  */
    71418148char $ac_func ();
    71428149/* The GNU C library defines this for functions which it implements
    71438150    to always fail with ENOSYS.  Some functions are actually named
    71448151    something starting with __ and the normal name is an alias.  */
    7145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     8152#if defined __stub_$ac_func || defined __stub___$ac_func
    71468153choke me
    7147 #else
    7148 char (*f) () = $ac_func;
    7149 #endif
    7150 #ifdef __cplusplus
    7151 }
    71528154#endif
    71538155
     
    71558157main ()
    71568158{
    7157 return f != $ac_func;
     8159return $ac_func ();
    71588160  ;
    71598161  return 0;
     
    71618163_ACEOF
    71628164rm -f conftest.$ac_objext conftest$ac_exeext
    7163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7164   (eval $ac_link) 2>conftest.er1
     8165if { (ac_try="$ac_link"
     8166case "(($ac_try" in
     8167  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8168  *) ac_try_echo=$ac_try;;
     8169esac
     8170eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8171$as_echo "$ac_try_echo") >&5
     8172  (eval "$ac_link") 2>conftest.er1
    71658173  ac_status=$?
    71668174  grep -v '^ *+' conftest.er1 >conftest.err
    71678175  rm -f conftest.er1
    71688176  cat conftest.err >&5
    7169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7170   (exit $ac_status); } &&
    7171      { ac_try='test -z "$ac_c_werror_flag"
    7172              || test ! -s conftest.err'
    7173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7174   (eval $ac_try) 2>&5
    7175   ac_status=$?
    7176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7177   (exit $ac_status); }; } &&
    7178      { ac_try='test -s conftest$ac_exeext'
    7179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7180   (eval $ac_try) 2>&5
    7181   ac_status=$?
    7182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7183   (exit $ac_status); }; }; then
     8177  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8178  (exit $ac_status); } && {
     8179     test -z "$ac_c_werror_flag" ||
     8180     test ! -s conftest.err
     8181       } && test -s conftest$ac_exeext && {
     8182     test "$cross_compiling" = yes ||
     8183     $as_test_x conftest$ac_exeext
     8184       }; then
    71848185  eval "$as_ac_var=yes"
    71858186else
    7186   echo "$as_me: failed program was:" >&5
     8187  $as_echo "$as_me: failed program was:" >&5
    71878188sed 's/^/| /' conftest.$ac_ext >&5
    71888189
    7189 eval "$as_ac_var=no"
    7190 fi
    7191 rm -f conftest.err conftest.$ac_objext \
     8190    eval "$as_ac_var=no"
     8191fi
     8192
     8193rm -rf conftest.dSYM
     8194rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    71928195      conftest$ac_exeext conftest.$ac_ext
    71938196fi
    7194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    7195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    7196 if test `eval echo '${'$as_ac_var'}'` = yes; then
     8197ac_res=`eval 'as_val=${'$as_ac_var'}
     8198         $as_echo "$as_val"'`
     8199           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8200$as_echo "$ac_res" >&6; }
     8201as_val=`eval 'as_val=${'$as_ac_var'}
     8202         $as_echo "$as_val"'`
     8203   if test "x$as_val" = x""yes; then
    71978204  cat >>confdefs.h <<_ACEOF
    7198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     8205#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    71998206_ACEOF
    72008207
     
    72058212
    72068213# we cannot generate static libraries under Darwin
    7207 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
    7208 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
     8214{ $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     8215$as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
    72098216if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    7210   echo "$as_me:$LINENO: result: yes" >&5
    7211 echo "${ECHO_T}yes" >&6
     8217  { $as_echo "$as_me:$LINENO: result: yes" >&5
     8218$as_echo "yes" >&6; }
    72128219  STATIC=""
    72138220else
    7214   echo "$as_me:$LINENO: result: no" >&5
    7215 echo "${ECHO_T}no" >&6
     8221  { $as_echo "$as_me:$LINENO: result: no" >&5
     8222$as_echo "no" >&6; }
    72168223  STATIC="-static "
    72178224fi
    72188225
    72198226
    7220 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    7221 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
    7222 
    7223 # Check whether --with-dmalloc or --without-dmalloc was given.
     8227{ $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     8228$as_echo_n "checking if malloc debugging is wanted... " >&6; }
     8229
     8230# Check whether --with-dmalloc was given.
    72248231if test "${with_dmalloc+set}" = set; then
    7225   withval="$with_dmalloc"
    7226   if test "$withval" = yes; then
    7227   echo "$as_me:$LINENO: result: yes" >&5
    7228 echo "${ECHO_T}yes" >&6
     8232  withval=$with_dmalloc; if test "$withval" = yes; then
     8233  { $as_echo "$as_me:$LINENO: result: yes" >&5
     8234$as_echo "yes" >&6; }
    72298235  cat >>confdefs.h <<\_ACEOF
    72308236#define WITH_DMALLOC 1
     
    72348240  LDFLAGS="$LDFLAGS -g"
    72358241else
    7236   echo "$as_me:$LINENO: result: no" >&5
    7237 echo "${ECHO_T}no" >&6
    7238 fi
    7239 else
    7240   echo "$as_me:$LINENO: result: no" >&5
    7241 echo "${ECHO_T}no" >&6
    7242 fi;
    7243 
    7244 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    7245 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
    7246 
    7247 # Check whether --with-regex or --without-regex was given.
     8242  { $as_echo "$as_me:$LINENO: result: no" >&5
     8243$as_echo "no" >&6; }
     8244fi
     8245else
     8246  { $as_echo "$as_me:$LINENO: result: no" >&5
     8247$as_echo "no" >&6; }
     8248fi
     8249
     8250
     8251{ $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     8252$as_echo_n "checking which of rx or regex is wanted... " >&6; }
     8253
     8254# Check whether --with-regex was given.
    72488255if test "${with_regex+set}" = set; then
    7249   withval="$with_regex"
    7250   if test "$withval" = yes; then
     8256  withval=$with_regex; if test "$withval" = yes; then
    72518257  ac_with_regex=1
    7252   echo "$as_me:$LINENO: result: regex" >&5
    7253 echo "${ECHO_T}regex" >&6
     8258  { $as_echo "$as_me:$LINENO: result: regex" >&5
     8259$as_echo "regex" >&6; }
    72548260  cat >>confdefs.h <<\_ACEOF
    72558261#define WITH_REGEX 1
    72568262_ACEOF
    72578263
    7258   case $LIBOBJS in
    7259     "regex.$ac_objext"   | \
    7260   *" regex.$ac_objext"   | \
    7261     "regex.$ac_objext "* | \
     8264  case " $LIBOBJS " in
    72628265  *" regex.$ac_objext "* ) ;;
    7263   *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    7264 esac
    7265 
    7266 fi
    7267 fi;
     8266  *) LIBOBJS="$LIBOBJS regex.$ac_objext"
     8267 ;;
     8268esac
     8269
     8270fi
     8271fi
     8272
    72688273if test -z "$ac_with_regex"; then
    7269   echo "$as_me:$LINENO: result: rx" >&5
    7270 echo "${ECHO_T}rx" >&6
    7271   echo "$as_me:$LINENO: checking for re_rx_search" >&5
    7272 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
     8274  { $as_echo "$as_me:$LINENO: result: rx" >&5
     8275$as_echo "rx" >&6; }
     8276  { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5
     8277$as_echo_n "checking for re_rx_search... " >&6; }
    72738278if test "${ac_cv_func_re_rx_search+set}" = set; then
    7274   echo $ECHO_N "(cached) $ECHO_C" >&6
     8279  $as_echo_n "(cached) " >&6
    72758280else
    72768281  cat >conftest.$ac_ext <<_ACEOF
     
    72978302#undef re_rx_search
    72988303
    7299 /* Override any gcc2 internal prototype to avoid an error.  */
     8304/* Override any GCC internal prototype to avoid an error.
     8305   Use char because int might match the return type of a GCC
     8306   builtin and then its argument prototype would still apply.  */
    73008307#ifdef __cplusplus
    73018308extern "C"
    7302 {
    73038309#endif
    7304 /* We use char because int might match the return type of a gcc2
    7305    builtin and then its argument prototype would still apply.  */
    73068310char re_rx_search ();
    73078311/* The GNU C library defines this for functions which it implements
    73088312    to always fail with ENOSYS.  Some functions are actually named
    73098313    something starting with __ and the normal name is an alias.  */
    7310 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
     8314#if defined __stub_re_rx_search || defined __stub___re_rx_search
    73118315choke me
    7312 #else
    7313 char (*f) () = re_rx_search;
    7314 #endif
    7315 #ifdef __cplusplus
    7316 }
    73178316#endif
    73188317
     
    73208319main ()
    73218320{
    7322 return f != re_rx_search;
     8321return re_rx_search ();
    73238322  ;
    73248323  return 0;
     
    73268325_ACEOF
    73278326rm -f conftest.$ac_objext conftest$ac_exeext
    7328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7329   (eval $ac_link) 2>conftest.er1
     8327if { (ac_try="$ac_link"
     8328case "(($ac_try" in
     8329  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8330  *) ac_try_echo=$ac_try;;
     8331esac
     8332eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8333$as_echo "$ac_try_echo") >&5
     8334  (eval "$ac_link") 2>conftest.er1
    73308335  ac_status=$?
    73318336  grep -v '^ *+' conftest.er1 >conftest.err
    73328337  rm -f conftest.er1
    73338338  cat conftest.err >&5
    7334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7335   (exit $ac_status); } &&
    7336      { ac_try='test -z "$ac_c_werror_flag"
    7337              || test ! -s conftest.err'
    7338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7339   (eval $ac_try) 2>&5
    7340   ac_status=$?
    7341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7342   (exit $ac_status); }; } &&
    7343      { ac_try='test -s conftest$ac_exeext'
    7344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7345   (eval $ac_try) 2>&5
    7346   ac_status=$?
    7347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7348   (exit $ac_status); }; }; then
     8339  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8340  (exit $ac_status); } && {
     8341     test -z "$ac_c_werror_flag" ||
     8342     test ! -s conftest.err
     8343       } && test -s conftest$ac_exeext && {
     8344     test "$cross_compiling" = yes ||
     8345     $as_test_x conftest$ac_exeext
     8346       }; then
    73498347  ac_cv_func_re_rx_search=yes
    73508348else
    7351   echo "$as_me: failed program was:" >&5
     8349  $as_echo "$as_me: failed program was:" >&5
    73528350sed 's/^/| /' conftest.$ac_ext >&5
    73538351
    7354 ac_cv_func_re_rx_search=no
    7355 fi
    7356 rm -f conftest.err conftest.$ac_objext \
     8352    ac_cv_func_re_rx_search=no
     8353fi
     8354
     8355rm -rf conftest.dSYM
     8356rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    73578357      conftest$ac_exeext conftest.$ac_ext
    73588358fi
    7359 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    7360 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
    7361 if test $ac_cv_func_re_rx_search = yes; then
     8359{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     8360$as_echo "$ac_cv_func_re_rx_search" >&6; }
     8361if test "x$ac_cv_func_re_rx_search" = x""yes; then
    73628362  :
    73638363else
    7364   case $LIBOBJS in
    7365     "rx.$ac_objext"   | \
    7366   *" rx.$ac_objext"   | \
    7367     "rx.$ac_objext "* | \
     8364  case " $LIBOBJS " in
    73688365  *" rx.$ac_objext "* ) ;;
    7369   *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
     8366  *) LIBOBJS="$LIBOBJS rx.$ac_objext"
     8367 ;;
    73708368esac
    73718369
     
    73778375# ---------------------------------------------------------------------------
    73788376if test "$ac_cv_func_alloca" = 'no'; then
    7379   case $LIBOBJS in
    7380     "xmalloc.$ac_objext"   | \
    7381   *" xmalloc.$ac_objext"   | \
    7382     "xmalloc.$ac_objext "* | \
     8377  case " $LIBOBJS " in
    73838378  *" xmalloc.$ac_objext "* ) ;;
    7384   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    7385 esac
    7386 
    7387   case $LIBOBJS in
    7388     "error.$ac_objext"   | \
    7389   *" error.$ac_objext"   | \
    7390     "error.$ac_objext "* | \
     8379  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
     8380 ;;
     8381esac
     8382
     8383  case " $LIBOBJS " in
    73918384  *" error.$ac_objext "* ) ;;
    7392   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     8385  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     8386 ;;
    73938387esac
    73948388
     
    73988392# ---------------------------------------------------------------------------
    73998393
    7400 ac_ext=cc
     8394ac_ext=cpp
    74018395ac_cpp='$CXXCPP $CPPFLAGS'
    74028396ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    74058399
    74068400
    7407 echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
    7408 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6
     8401{ $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
     8402$as_echo_n "checking that Perl 5 is available... " >&6; }
    74098403success="no"
    74108404pl_path="$PATH"
     
    74238417try=`expr $try \> 5.000`
    74248418if test $try = "1"; then
    7425 echo "$as_me:$LINENO: result: \"yes\"" >&5
    7426 echo "${ECHO_T}\"yes\"" >&6
     8419{ $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
     8420$as_echo "\"yes\"" >&6; }
    74278421else
    74288422success="no"
     
    74318425
    74328426if test $success = "no"; then
    7433 echo "$as_me:$LINENO: result: \"no\"" >&5
    7434 echo "${ECHO_T}\"no\"" >&6
    7435 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
    7436 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
     8427{ $as_echo "$as_me:$LINENO: result: \"no\"" >&5
     8428$as_echo "\"no\"" >&6; }
     8429{ { $as_echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
     8430$as_echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
    74378431   { (exit 1); exit 1; }; }
    74388432fi
    74398433
    74408434success=no
    7441 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
    7442 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
     8435{ $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
     8436$as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
    74438437
    74448438
     
    74608454_ACEOF
    74618455rm -f conftest.$ac_objext
    7462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7463   (eval $ac_compile) 2>conftest.er1
     8456if { (ac_try="$ac_compile"
     8457case "(($ac_try" in
     8458  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8459  *) ac_try_echo=$ac_try;;
     8460esac
     8461eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8462$as_echo "$ac_try_echo") >&5
     8463  (eval "$ac_compile") 2>conftest.er1
    74648464  ac_status=$?
    74658465  grep -v '^ *+' conftest.er1 >conftest.err
    74668466  rm -f conftest.er1
    74678467  cat conftest.err >&5
    7468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7469   (exit $ac_status); } &&
    7470      { ac_try='test -z "$ac_cxx_werror_flag"
    7471              || test ! -s conftest.err'
    7472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7473   (eval $ac_try) 2>&5
    7474   ac_status=$?
    7475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7476   (exit $ac_status); }; } &&
    7477      { ac_try='test -s conftest.$ac_objext'
    7478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7479   (eval $ac_try) 2>&5
    7480   ac_status=$?
    7481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7482   (exit $ac_status); }; }; then
     8468  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8469  (exit $ac_status); } && {
     8470     test -z "$ac_cxx_werror_flag" ||
     8471     test ! -s conftest.err
     8472       } && test -s conftest.$ac_objext; then
    74838473  success=yes
    74848474else
    7485   echo "$as_me: failed program was:" >&5
     8475  $as_echo "$as_me: failed program was:" >&5
    74868476sed 's/^/| /' conftest.$ac_ext >&5
    74878477
    7488 fi
    7489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8478
     8479fi
     8480
     8481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    74908482
    74918483if test $success = "no"; then
     
    75078499_ACEOF
    75088500rm -f conftest.$ac_objext
    7509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7510   (eval $ac_compile) 2>conftest.er1
     8501if { (ac_try="$ac_compile"
     8502case "(($ac_try" in
     8503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8504  *) ac_try_echo=$ac_try;;
     8505esac
     8506eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8507$as_echo "$ac_try_echo") >&5
     8508  (eval "$ac_compile") 2>conftest.er1
    75118509  ac_status=$?
    75128510  grep -v '^ *+' conftest.er1 >conftest.err
    75138511  rm -f conftest.er1
    75148512  cat conftest.err >&5
    7515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7516   (exit $ac_status); } &&
    7517      { ac_try='test -z "$ac_cxx_werror_flag"
    7518              || test ! -s conftest.err'
    7519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7520   (eval $ac_try) 2>&5
    7521   ac_status=$?
    7522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7523   (exit $ac_status); }; } &&
    7524      { ac_try='test -s conftest.$ac_objext'
    7525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7526   (eval $ac_try) 2>&5
    7527   ac_status=$?
    7528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7529   (exit $ac_status); }; }; then
     8513  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8514  (exit $ac_status); } && {
     8515     test -z "$ac_cxx_werror_flag" ||
     8516     test ! -s conftest.err
     8517       } && test -s conftest.$ac_objext; then
    75308518  success="yes"
    75318519else
    7532   echo "$as_me: failed program was:" >&5
     8520  $as_echo "$as_me: failed program was:" >&5
    75338521sed 's/^/| /' conftest.$ac_ext >&5
    75348522
    7535 fi
    7536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8523
     8524fi
     8525
     8526rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75378527fi
    75388528
     
    75558545_ACEOF
    75568546rm -f conftest.$ac_objext
    7557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7558   (eval $ac_compile) 2>conftest.er1
     8547if { (ac_try="$ac_compile"
     8548case "(($ac_try" in
     8549  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8550  *) ac_try_echo=$ac_try;;
     8551esac
     8552eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8553$as_echo "$ac_try_echo") >&5
     8554  (eval "$ac_compile") 2>conftest.er1
    75598555  ac_status=$?
    75608556  grep -v '^ *+' conftest.er1 >conftest.err
    75618557  rm -f conftest.er1
    75628558  cat conftest.err >&5
    7563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7564   (exit $ac_status); } &&
    7565      { ac_try='test -z "$ac_cxx_werror_flag"
    7566              || test ! -s conftest.err'
    7567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7568   (eval $ac_try) 2>&5
    7569   ac_status=$?
    7570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7571   (exit $ac_status); }; } &&
    7572      { ac_try='test -s conftest.$ac_objext'
    7573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7574   (eval $ac_try) 2>&5
    7575   ac_status=$?
    7576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7577   (exit $ac_status); }; }; then
     8559  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8560  (exit $ac_status); } && {
     8561     test -z "$ac_cxx_werror_flag" ||
     8562     test ! -s conftest.err
     8563       } && test -s conftest.$ac_objext; then
    75788564  success="yes"
    75798565else
    7580   echo "$as_me: failed program was:" >&5
     8566  $as_echo "$as_me: failed program was:" >&5
    75818567sed 's/^/| /' conftest.$ac_ext >&5
    75828568
    7583 fi
    7584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     8569
     8570fi
     8571
     8572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75858573fi
    75868574
    75878575if test $success = yes; then
    7588 echo "$as_me:$LINENO: result: \"no\"" >&5
    7589 echo "${ECHO_T}\"no\"" >&6
    7590 else
    7591 echo "$as_me:$LINENO: result: \"yes\"" >&5
    7592 echo "${ECHO_T}\"yes\"" >&6
    7593 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
    7594 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
     8576{ $as_echo "$as_me:$LINENO: result: \"no\"" >&5
     8577$as_echo "\"no\"" >&6; }
     8578else
     8579{ $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
     8580$as_echo "\"yes\"" >&6; }
     8581{ { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
     8582$as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
    75958583   { (exit 1); exit 1; }; }
    75968584fi
     
    76058593
    76068594# check for endianness
    7607 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    7608 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
     8595
     8596 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     8597$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    76098598if test "${ac_cv_c_bigendian+set}" = set; then
    7610   echo $ECHO_N "(cached) $ECHO_C" >&6
    7611 else
    7612   # See if sys/param.h defines the BYTE_ORDER macro.
    7613 cat >conftest.$ac_ext <<_ACEOF
     8599  $as_echo_n "(cached) " >&6
     8600else
     8601  ac_cv_c_bigendian=unknown
     8602    # See if we're dealing with a universal compiler.
     8603    cat >conftest.$ac_ext <<_ACEOF
     8604/* confdefs.h.  */
     8605_ACEOF
     8606cat confdefs.h >>conftest.$ac_ext
     8607cat >>conftest.$ac_ext <<_ACEOF
     8608/* end confdefs.h.  */
     8609#ifndef __APPLE_CC__
     8610           not a universal capable compiler
     8611         #endif
     8612         typedef int dummy;
     8613
     8614_ACEOF
     8615rm -f conftest.$ac_objext
     8616if { (ac_try="$ac_compile"
     8617case "(($ac_try" in
     8618  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8619  *) ac_try_echo=$ac_try;;
     8620esac
     8621eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8622$as_echo "$ac_try_echo") >&5
     8623  (eval "$ac_compile") 2>conftest.er1
     8624  ac_status=$?
     8625  grep -v '^ *+' conftest.er1 >conftest.err
     8626  rm -f conftest.er1
     8627  cat conftest.err >&5
     8628  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8629  (exit $ac_status); } && {
     8630     test -z "$ac_cxx_werror_flag" ||
     8631     test ! -s conftest.err
     8632       } && test -s conftest.$ac_objext; then
     8633
     8634    # Check for potential -arch flags.  It is not universal unless
     8635    # there are some -arch flags.  Note that *ppc* also matches
     8636    # ppc64.  This check is also rather less than ideal.
     8637    case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
     8638      *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
     8639    esac
     8640else
     8641  $as_echo "$as_me: failed program was:" >&5
     8642sed 's/^/| /' conftest.$ac_ext >&5
     8643
     8644
     8645fi
     8646
     8647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8648    if test $ac_cv_c_bigendian = unknown; then
     8649      # See if sys/param.h defines the BYTE_ORDER macro.
     8650      cat >conftest.$ac_ext <<_ACEOF
    76148651/* confdefs.h.  */
    76158652_ACEOF
     
    76188655/* end confdefs.h.  */
    76198656#include <sys/types.h>
    7620 #include <sys/param.h>
     8657         #include <sys/param.h>
    76218658
    76228659int
    76238660main ()
    76248661{
    7625 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    7626  bogus endian macros
    7627 #endif
     8662#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     8663             && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     8664             && LITTLE_ENDIAN)
     8665          bogus endian macros
     8666         #endif
    76288667
    76298668  ;
     
    76328671_ACEOF
    76338672rm -f conftest.$ac_objext
    7634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7635   (eval $ac_compile) 2>conftest.er1
     8673if { (ac_try="$ac_compile"
     8674case "(($ac_try" in
     8675  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8676  *) ac_try_echo=$ac_try;;
     8677esac
     8678eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8679$as_echo "$ac_try_echo") >&5
     8680  (eval "$ac_compile") 2>conftest.er1
    76368681  ac_status=$?
    76378682  grep -v '^ *+' conftest.er1 >conftest.err
    76388683  rm -f conftest.er1
    76398684  cat conftest.err >&5
    7640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7641   (exit $ac_status); } &&
    7642      { ac_try='test -z "$ac_cxx_werror_flag"
    7643              || test ! -s conftest.err'
    7644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7645   (eval $ac_try) 2>&5
    7646   ac_status=$?
    7647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7648   (exit $ac_status); }; } &&
    7649      { ac_try='test -s conftest.$ac_objext'
    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); }; }; then
     8685  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8686  (exit $ac_status); } && {
     8687     test -z "$ac_cxx_werror_flag" ||
     8688     test ! -s conftest.err
     8689       } && test -s conftest.$ac_objext; then
    76558690  # It does; now see whether it defined to BIG_ENDIAN or not.
    7656 cat >conftest.$ac_ext <<_ACEOF
     8691     cat >conftest.$ac_ext <<_ACEOF
    76578692/* confdefs.h.  */
    76588693_ACEOF
     
    76618696/* end confdefs.h.  */
    76628697#include <sys/types.h>
    7663 #include <sys/param.h>
     8698        #include <sys/param.h>
    76648699
    76658700int
     
    76678702{
    76688703#if BYTE_ORDER != BIG_ENDIAN
    7669  not big endian
    7670 #endif
     8704        not big endian
     8705        #endif
    76718706
    76728707  ;
     
    76758710_ACEOF
    76768711rm -f conftest.$ac_objext
    7677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7678   (eval $ac_compile) 2>conftest.er1
     8712if { (ac_try="$ac_compile"
     8713case "(($ac_try" in
     8714  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8715  *) ac_try_echo=$ac_try;;
     8716esac
     8717eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8718$as_echo "$ac_try_echo") >&5
     8719  (eval "$ac_compile") 2>conftest.er1
    76798720  ac_status=$?
    76808721  grep -v '^ *+' conftest.er1 >conftest.err
    76818722  rm -f conftest.er1
    76828723  cat conftest.err >&5
    7683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7684   (exit $ac_status); } &&
    7685      { ac_try='test -z "$ac_cxx_werror_flag"
    7686              || test ! -s conftest.err'
    7687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7688   (eval $ac_try) 2>&5
    7689   ac_status=$?
    7690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7691   (exit $ac_status); }; } &&
    7692      { ac_try='test -s conftest.$ac_objext'
    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); }; }; then
     8724  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8725  (exit $ac_status); } && {
     8726     test -z "$ac_cxx_werror_flag" ||
     8727     test ! -s conftest.err
     8728       } && test -s conftest.$ac_objext; then
    76988729  ac_cv_c_bigendian=yes
    76998730else
    7700   echo "$as_me: failed program was:" >&5
     8731  $as_echo "$as_me: failed program was:" >&5
    77018732sed 's/^/| /' conftest.$ac_ext >&5
    77028733
    7703 ac_cv_c_bigendian=no
    7704 fi
    7705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7706 else
    7707   echo "$as_me: failed program was:" >&5
     8734    ac_cv_c_bigendian=no
     8735fi
     8736
     8737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8738else
     8739  $as_echo "$as_me: failed program was:" >&5
    77088740sed 's/^/| /' conftest.$ac_ext >&5
    77098741
    7710 # It does not; compile a test program.
    7711 if test "$cross_compiling" = yes; then
    7712   # try to guess the endianness by grepping values into an object file
    7713   ac_cv_c_bigendian=unknown
    7714   cat >conftest.$ac_ext <<_ACEOF
     8742
     8743fi
     8744
     8745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8746    fi
     8747    if test $ac_cv_c_bigendian = unknown; then
     8748      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     8749      cat >conftest.$ac_ext <<_ACEOF
    77158750/* confdefs.h.  */
    77168751_ACEOF
     
    77188753cat >>conftest.$ac_ext <<_ACEOF
    77198754/* end confdefs.h.  */
    7720 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    7721 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    7722 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    7723 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    7724 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    7725 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
     8755#include <limits.h>
     8756
    77268757int
    77278758main ()
    77288759{
    7729  _ascii (); _ebcdic ();
     8760#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     8761          bogus endian macros
     8762         #endif
     8763
    77308764  ;
    77318765  return 0;
     
    77338767_ACEOF
    77348768rm -f conftest.$ac_objext
    7735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7736   (eval $ac_compile) 2>conftest.er1
     8769if { (ac_try="$ac_compile"
     8770case "(($ac_try" in
     8771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8772  *) ac_try_echo=$ac_try;;
     8773esac
     8774eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8775$as_echo "$ac_try_echo") >&5
     8776  (eval "$ac_compile") 2>conftest.er1
    77378777  ac_status=$?
    77388778  grep -v '^ *+' conftest.er1 >conftest.err
    77398779  rm -f conftest.er1
    77408780  cat conftest.err >&5
    7741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7742   (exit $ac_status); } &&
    7743      { ac_try='test -z "$ac_cxx_werror_flag"
    7744              || test ! -s conftest.err'
    7745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7746   (eval $ac_try) 2>&5
    7747   ac_status=$?
    7748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7749   (exit $ac_status); }; } &&
    7750      { ac_try='test -s conftest.$ac_objext'
    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); }; }; then
    7756   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    7757   ac_cv_c_bigendian=yes
    7758 fi
    7759 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    7760   if test "$ac_cv_c_bigendian" = unknown; then
    7761     ac_cv_c_bigendian=no
    7762   else
    7763     # finding both strings is unlikely to happen, but who knows?
    7764     ac_cv_c_bigendian=unknown
    7765   fi
    7766 fi
    7767 else
    7768   echo "$as_me: failed program was:" >&5
    7769 sed 's/^/| /' conftest.$ac_ext >&5
    7770 
    7771 fi
    7772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7773 else
    7774   cat >conftest.$ac_ext <<_ACEOF
     8781  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8782  (exit $ac_status); } && {
     8783     test -z "$ac_cxx_werror_flag" ||
     8784     test ! -s conftest.err
     8785       } && test -s conftest.$ac_objext; then
     8786  # It does; now see whether it defined to _BIG_ENDIAN or not.
     8787     cat >conftest.$ac_ext <<_ACEOF
    77758788/* confdefs.h.  */
    77768789_ACEOF
     
    77788791cat >>conftest.$ac_ext <<_ACEOF
    77798792/* end confdefs.h.  */
     8793#include <limits.h>
     8794
    77808795int
    77818796main ()
    77828797{
    7783   /* Are we little or big endian?  From Harbison&Steele.  */
    7784   union
    7785   {
    7786     long l;
    7787     char c[sizeof (long)];
    7788   } u;
    7789   u.l = 1;
    7790   exit (u.c[sizeof (long) - 1] == 1);
     8798#ifndef _BIG_ENDIAN
     8799         not big endian
     8800        #endif
     8801
     8802  ;
     8803  return 0;
    77918804}
    77928805_ACEOF
     8806rm -f conftest.$ac_objext
     8807if { (ac_try="$ac_compile"
     8808case "(($ac_try" in
     8809  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8810  *) ac_try_echo=$ac_try;;
     8811esac
     8812eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8813$as_echo "$ac_try_echo") >&5
     8814  (eval "$ac_compile") 2>conftest.er1
     8815  ac_status=$?
     8816  grep -v '^ *+' conftest.er1 >conftest.err
     8817  rm -f conftest.er1
     8818  cat conftest.err >&5
     8819  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8820  (exit $ac_status); } && {
     8821     test -z "$ac_cxx_werror_flag" ||
     8822     test ! -s conftest.err
     8823       } && test -s conftest.$ac_objext; then
     8824  ac_cv_c_bigendian=yes
     8825else
     8826  $as_echo "$as_me: failed program was:" >&5
     8827sed 's/^/| /' conftest.$ac_ext >&5
     8828
     8829    ac_cv_c_bigendian=no
     8830fi
     8831
     8832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8833else
     8834  $as_echo "$as_me: failed program was:" >&5
     8835sed 's/^/| /' conftest.$ac_ext >&5
     8836
     8837
     8838fi
     8839
     8840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8841    fi
     8842    if test $ac_cv_c_bigendian = unknown; then
     8843      # Compile a test program.
     8844      if test "$cross_compiling" = yes; then
     8845  # Try to guess by grepping values from an object file.
     8846     cat >conftest.$ac_ext <<_ACEOF
     8847/* confdefs.h.  */
     8848_ACEOF
     8849cat confdefs.h >>conftest.$ac_ext
     8850cat >>conftest.$ac_ext <<_ACEOF
     8851/* end confdefs.h.  */
     8852short int ascii_mm[] =
     8853          { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     8854        short int ascii_ii[] =
     8855          { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     8856        int use_ascii (int i) {
     8857          return ascii_mm[i] + ascii_ii[i];
     8858        }
     8859        short int ebcdic_ii[] =
     8860          { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     8861        short int ebcdic_mm[] =
     8862          { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     8863        int use_ebcdic (int i) {
     8864          return ebcdic_mm[i] + ebcdic_ii[i];
     8865        }
     8866        extern int foo;
     8867
     8868int
     8869main ()
     8870{
     8871return use_ascii (foo) == use_ebcdic (foo);
     8872  ;
     8873  return 0;
     8874}
     8875_ACEOF
     8876rm -f conftest.$ac_objext
     8877if { (ac_try="$ac_compile"
     8878case "(($ac_try" in
     8879  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8880  *) ac_try_echo=$ac_try;;
     8881esac
     8882eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8883$as_echo "$ac_try_echo") >&5
     8884  (eval "$ac_compile") 2>conftest.er1
     8885  ac_status=$?
     8886  grep -v '^ *+' conftest.er1 >conftest.err
     8887  rm -f conftest.er1
     8888  cat conftest.err >&5
     8889  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8890  (exit $ac_status); } && {
     8891     test -z "$ac_cxx_werror_flag" ||
     8892     test ! -s conftest.err
     8893       } && test -s conftest.$ac_objext; then
     8894  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     8895          ac_cv_c_bigendian=yes
     8896        fi
     8897        if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     8898          if test "$ac_cv_c_bigendian" = unknown; then
     8899        ac_cv_c_bigendian=no
     8900          else
     8901        # finding both strings is unlikely to happen, but who knows?
     8902        ac_cv_c_bigendian=unknown
     8903          fi
     8904        fi
     8905else
     8906  $as_echo "$as_me: failed program was:" >&5
     8907sed 's/^/| /' conftest.$ac_ext >&5
     8908
     8909
     8910fi
     8911
     8912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8913else
     8914  cat >conftest.$ac_ext <<_ACEOF
     8915/* confdefs.h.  */
     8916_ACEOF
     8917cat confdefs.h >>conftest.$ac_ext
     8918cat >>conftest.$ac_ext <<_ACEOF
     8919/* end confdefs.h.  */
     8920$ac_includes_default
     8921int
     8922main ()
     8923{
     8924
     8925         /* Are we little or big endian?  From Harbison&Steele.  */
     8926         union
     8927         {
     8928           long int l;
     8929           char c[sizeof (long int)];
     8930         } u;
     8931         u.l = 1;
     8932         return u.c[sizeof (long int) - 1] == 1;
     8933
     8934  ;
     8935  return 0;
     8936}
     8937_ACEOF
    77938938rm -f conftest$ac_exeext
    7794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7795   (eval $ac_link) 2>&5
     8939if { (ac_try="$ac_link"
     8940case "(($ac_try" in
     8941  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8942  *) ac_try_echo=$ac_try;;
     8943esac
     8944eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8945$as_echo "$ac_try_echo") >&5
     8946  (eval "$ac_link") 2>&5
    77968947  ac_status=$?
    7797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8948  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    77988949  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7800   (eval $ac_try) 2>&5
     8950  { (case "(($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_try") 2>&5
    78018957  ac_status=$?
    7802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8958  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    78038959  (exit $ac_status); }; }; then
    78048960  ac_cv_c_bigendian=no
    78058961else
    7806   echo "$as_me: program exited with status $ac_status" >&5
    7807 echo "$as_me: failed program was:" >&5
     8962  $as_echo "$as_me: program exited with status $ac_status" >&5
     8963$as_echo "$as_me: failed program was:" >&5
    78088964sed 's/^/| /' conftest.$ac_ext >&5
    78098965
     
    78118967ac_cv_c_bigendian=yes
    78128968fi
    7813 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7814 fi
    7815 fi
    7816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7817 fi
    7818 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    7819 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
    7820 case $ac_cv_c_bigendian in
    7821   yes)
     8969rm -rf conftest.dSYM
     8970rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     8971fi
     8972
     8973
     8974    fi
     8975fi
     8976{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     8977$as_echo "$ac_cv_c_bigendian" >&6; }
     8978 case $ac_cv_c_bigendian in #(
     8979   yes)
     8980     cat >>confdefs.h <<\_ACEOF
     8981#define WORDS_BIGENDIAN 1
     8982_ACEOF
     8983;; #(
     8984   no)
     8985      ;; #(
     8986   universal)
    78228987
    78238988cat >>confdefs.h <<\_ACEOF
    7824 #define WORDS_BIGENDIAN 1
    7825 _ACEOF
    7826  ;;
    7827   no)
    7828      ;;
    7829   *)
    7830     { { echo "$as_me:$LINENO: error: unknown endianness
    7831 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    7832 echo "$as_me: error: unknown endianness
    7833 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     8989#define AC_APPLE_UNIVERSAL_BUILD 1
     8990_ACEOF
     8991
     8992     ;; #(
     8993   *)
     8994     { { $as_echo "$as_me:$LINENO: error: unknown endianness
     8995 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     8996$as_echo "$as_me: error: unknown endianness
     8997 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    78348998   { (exit 1); exit 1; }; } ;;
    7835 esac
     8999 esac
    78369000
    78379001# ---------------------------------------------------------------------------
    78389002if test "$ac_cv_func_alloca" = 'no'; then
    7839   case $LIBOBJS in
    7840     "xmalloc.o.$ac_objext"   | \
    7841   *" xmalloc.o.$ac_objext"   | \
    7842     "xmalloc.o.$ac_objext "* | \
     9003  case " $LIBOBJS " in
    78439004  *" xmalloc.o.$ac_objext "* ) ;;
    7844   *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
    7845 esac
    7846 
    7847   case $LIBOBJS in
    7848     "error.$ac_objext"   | \
    7849   *" error.$ac_objext"   | \
    7850     "error.$ac_objext "* | \
     9005  *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
     9006 ;;
     9007esac
     9008
     9009  case " $LIBOBJS " in
    78519010  *" error.$ac_objext "* ) ;;
    7852   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     9011  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     9012 ;;
    78539013esac
    78549014
     
    78859045         src/java/org/nzdl/gsdl/Makefile"
    78869046
    7887                                         ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
     9047ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
     9048
    78889049cat >confcache <<\_ACEOF
    78899050# This file is a shell script that caches the results of configure
     
    79049065# The following way of writing the cache mishandles newlines in values,
    79059066# but we know of no workaround that is simple, portable, and efficient.
    7906 # So, don't put newlines in cache variables' values.
     9067# So, we kill variables containing newlines.
    79079068# Ultrix sh set writes to stderr and can't be redirected directly,
    79089069# and sets the high bit in the cache file unless we assign to the vars.
    7909 {
     9070(
     9071  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     9072    eval ac_val=\$$ac_var
     9073    case $ac_val in #(
     9074    *${as_nl}*)
     9075      case $ac_var in #(
     9076      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     9077$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     9078      esac
     9079      case $ac_var in #(
     9080      _ | IFS | as_nl) ;; #(
     9081      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     9082      *) $as_unset $ac_var ;;
     9083      esac ;;
     9084    esac
     9085  done
     9086
    79109087  (set) 2>&1 |
    7911     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    7912     *ac_space=\ *)
     9088    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     9089    *${as_nl}ac_space=\ *)
    79139090      # `set' does not quote correctly, so add quotes (double-quote
    79149091      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    79169093    "s/'/'\\\\''/g;
    79179094      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    7918       ;;
     9095      ;; #(
    79199096    *)
    79209097      # `set' quotes correctly as required by POSIX, so do not add quotes.
    7921       sed -n \
    7922     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     9098      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    79239099      ;;
    7924     esac;
    7925 } |
     9100    esac |
     9101    sort
     9102) |
    79269103  sed '
     9104     /^ac_cv_env_/b end
    79279105     t clear
    7928      : clear
     9106     :clear
    79299107     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    79309108     t end
    7931      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    7932      : end' >>confcache
    7933 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    7934   if test -w $cache_file; then
    7935     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     9109     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     9110     :end' >>confcache
     9111if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     9112  if test -w "$cache_file"; then
     9113    test "x$cache_file" != "x/dev/null" &&
     9114      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     9115$as_echo "$as_me: updating cache $cache_file" >&6;}
    79369116    cat confcache >$cache_file
    79379117  else
    7938     echo "not updating unwritable cache $cache_file"
     9118    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     9119$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    79399120  fi
    79409121fi
     
    79449125# Let make expand exec_prefix.
    79459126test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    7946 
    7947 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    7948 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    7949 # trailing colons and then remove the whole line if VPATH becomes empty
    7950 # (actually we leave an empty line to preserve line numbers).
    7951 if test "x$srcdir" = x.; then
    7952   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    7953 s/:*\$(srcdir):*/:/;
    7954 s/:*\${srcdir}:*/:/;
    7955 s/:*@srcdir@:*/:/;
    7956 s/^\([^=]*=[     ]*\):*/\1/;
    7957 s/:*$//;
    7958 s/^[^=]*=[   ]*$//;
    7959 }'
    7960 fi
    79619127
    79629128DEFS=-DHAVE_CONFIG_H
     
    79669132for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    79679133  # 1. Remove the extension, and $U if already installed.
    7968   ac_i=`echo "$ac_i" |
    7969      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    7970   # 2. Add them.
    7971   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    7972   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     9134  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     9135  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
     9136  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     9137  #    will be set to the directory where LIBOBJS objects are built.
     9138  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     9139  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    79739140done
    79749141LIBOBJS=$ac_libobjs
     
    79789145
    79799146
     9147
    79809148: ${CONFIG_STATUS=./config.status}
     9149ac_write_fail=0
    79819150ac_clean_files_save=$ac_clean_files
    79829151ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    7983 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    7984 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    7985 cat >$CONFIG_STATUS <<_ACEOF
     9152{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     9153$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     9154cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    79869155#! $SHELL
    79879156# Generated by $as_me.
     
    79969165_ACEOF
    79979166
    7998 cat >>$CONFIG_STATUS <<\_ACEOF
     9167cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    79999168## --------------------- ##
    80009169## M4sh Initialization.  ##
    80019170## --------------------- ##
    80029171
    8003 # Be Bourne compatible
     9172# Be more Bourne compatible
     9173DUALCASE=1; export DUALCASE # for MKS sh
    80049174if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    80059175  emulate sh
    80069176  NULLCMD=:
    8007   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     9177  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    80089178  # is contrary to our usage.  Disable this feature.
    80099179  alias -g '${1+"$@"}'='"$@"'
    8010 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    8011   set -o posix
    8012 fi
    8013 DUALCASE=1; export DUALCASE # for MKS sh
    8014 
    8015 # Support unset when possible.
    8016 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    8017   as_unset=unset
    8018 else
    8019   as_unset=false
    8020 fi
    8021 
    8022 
    8023 # Work around bugs in pre-3.0 UWIN ksh.
    8024 $as_unset ENV MAIL MAILPATH
    8025 PS1='$ '
    8026 PS2='> '
    8027 PS4='+ '
    8028 
    8029 # NLS nuisances.
    8030 for as_var in \
    8031   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    8032   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    8033   LC_TELEPHONE LC_TIME
    8034 do
    8035   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    8036     eval $as_var=C; export $as_var
    8037   else
    8038     $as_unset $as_var
    8039   fi
    8040 done
    8041 
    8042 # Required to use basename.
    8043 if expr a : '\(a\)' >/dev/null 2>&1; then
    8044   as_expr=expr
    8045 else
    8046   as_expr=false
    8047 fi
    8048 
    8049 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    8050   as_basename=basename
    8051 else
    8052   as_basename=false
    8053 fi
    8054 
    8055 
    8056 # Name of the executable.
    8057 as_me=`$as_basename "$0" ||
    8058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    8059      X"$0" : 'X\(//\)$' \| \
    8060      X"$0" : 'X\(/\)$' \| \
    8061      .     : '\(.\)' 2>/dev/null ||
    8062 echo X/"$0" |
    8063     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    8064       /^X\/\(\/\/\)$/{ s//\1/; q; }
    8065       /^X\/\(\/\).*/{ s//\1/; q; }
    8066       s/.*/./; q'`
    8067 
    8068 
    8069 # PATH needs CR, and LINENO needs CR and PATH.
     9180  setopt NO_GLOB_SUBST
     9181else
     9182  case `(set -o) 2>/dev/null` in
     9183  *posix*) set -o posix ;;
     9184esac
     9185
     9186fi
     9187
     9188
     9189
     9190
     9191# PATH needs CR
    80709192# Avoid depending upon Character Ranges.
    80719193as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    80759197as_cr_alnum=$as_cr_Letters$as_cr_digits
    80769198
     9199as_nl='
     9200'
     9201export as_nl
     9202# Printing a long string crashes Solaris 7 /usr/bin/printf.
     9203as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     9204as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     9205as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     9206if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     9207  as_echo='printf %s\n'
     9208  as_echo_n='printf %s'
     9209else
     9210  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     9211    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     9212    as_echo_n='/usr/ucb/echo -n'
     9213  else
     9214    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     9215    as_echo_n_body='eval
     9216      arg=$1;
     9217      case $arg in
     9218      *"$as_nl"*)
     9219    expr "X$arg" : "X\\(.*\\)$as_nl";
     9220    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     9221      esac;
     9222      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     9223    '
     9224    export as_echo_n_body
     9225    as_echo_n='sh -c $as_echo_n_body as_echo'
     9226  fi
     9227  export as_echo_body
     9228  as_echo='sh -c $as_echo_body as_echo'
     9229fi
     9230
    80779231# The user is always right.
    80789232if test "${PATH_SEPARATOR+set}" != set; then
    8079   echo "#! /bin/sh" >conf$$.sh
    8080   echo  "exit 0"   >>conf$$.sh
    8081   chmod +x conf$$.sh
    8082   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    8083     PATH_SEPARATOR=';'
    8084   else
    8085     PATH_SEPARATOR=:
    8086   fi
    8087   rm -f conf$$.sh
    8088 fi
    8089 
    8090 
    8091   as_lineno_1=$LINENO
    8092   as_lineno_2=$LINENO
    8093   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    8094   test "x$as_lineno_1" != "x$as_lineno_2" &&
    8095   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    8096   # Find who we are.  Look in the path if we contain no path at all
    8097   # relative or not.
    8098   case $0 in
    8099     *[\\/]* ) as_myself=$0 ;;
    8100     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9233  PATH_SEPARATOR=:
     9234  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     9235    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     9236      PATH_SEPARATOR=';'
     9237  }
     9238fi
     9239
     9240# Support unset when possible.
     9241if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     9242  as_unset=unset
     9243else
     9244  as_unset=false
     9245fi
     9246
     9247
     9248# IFS
     9249# We need space, tab and new line, in precisely that order.  Quoting is
     9250# there to prevent editors from complaining about space-tab.
     9251# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     9252# splitting by setting IFS to empty value.)
     9253IFS=" ""    $as_nl"
     9254
     9255# Find who we are.  Look in the path if we contain no directory separator.
     9256case $0 in
     9257  *[\\/]* ) as_myself=$0 ;;
     9258  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    81019259for as_dir in $PATH
    81029260do
     
    81059263  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    81069264done
    8107 
    8108        ;;
    8109   esac
    8110   # We did not find ourselves, most probably we were run as `sh COMMAND'
    8111   # in which case we are not to be found in the path.
    8112   if test "x$as_myself" = x; then
    8113     as_myself=$0
    8114   fi
    8115   if test ! -f "$as_myself"; then
    8116     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    8117 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    8118    { (exit 1); exit 1; }; }
    8119   fi
    8120   case $CONFIG_SHELL in
    8121   '')
    8122     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8123 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    8124 do
    8125   IFS=$as_save_IFS
    8126   test -z "$as_dir" && as_dir=.
    8127   for as_base in sh bash ksh sh5; do
    8128      case $as_dir in
    8129      /*)
    8130        if ("$as_dir/$as_base" -c '
     9265IFS=$as_save_IFS
     9266
     9267     ;;
     9268esac
     9269# We did not find ourselves, most probably we were run as `sh COMMAND'
     9270# in which case we are not to be found in the path.
     9271if test "x$as_myself" = x; then
     9272  as_myself=$0
     9273fi
     9274if test ! -f "$as_myself"; then
     9275  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     9276  { (exit 1); exit 1; }
     9277fi
     9278
     9279# Work around bugs in pre-3.0 UWIN ksh.
     9280for as_var in ENV MAIL MAILPATH
     9281do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     9282done
     9283PS1='$ '
     9284PS2='> '
     9285PS4='+ '
     9286
     9287# NLS nuisances.
     9288LC_ALL=C
     9289export LC_ALL
     9290LANGUAGE=C
     9291export LANGUAGE
     9292
     9293# Required to use basename.
     9294if expr a : '\(a\)' >/dev/null 2>&1 &&
     9295   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     9296  as_expr=expr
     9297else
     9298  as_expr=false
     9299fi
     9300
     9301if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     9302  as_basename=basename
     9303else
     9304  as_basename=false
     9305fi
     9306
     9307
     9308# Name of the executable.
     9309as_me=`$as_basename -- "$0" ||
     9310$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     9311     X"$0" : 'X\(//\)$' \| \
     9312     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     9313$as_echo X/"$0" |
     9314    sed '/^.*\/\([^/][^/]*\)\/*$/{
     9315        s//\1/
     9316        q
     9317      }
     9318      /^X\/\(\/\/\)$/{
     9319        s//\1/
     9320        q
     9321      }
     9322      /^X\/\(\/\).*/{
     9323        s//\1/
     9324        q
     9325      }
     9326      s/.*/./; q'`
     9327
     9328# CDPATH.
     9329$as_unset CDPATH
     9330
     9331
     9332
    81319333  as_lineno_1=$LINENO
    81329334  as_lineno_2=$LINENO
    8133   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    81349335  test "x$as_lineno_1" != "x$as_lineno_2" &&
    8135   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    8136          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    8137          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    8138          CONFIG_SHELL=$as_dir/$as_base
    8139          export CONFIG_SHELL
    8140          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    8141        fi;;
    8142      esac
    8143        done
    8144 done
    8145 ;;
    8146   esac
     9336  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    81479337
    81489338  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    81499339  # uniformly replaced by the line number.  The first 'sed' inserts a
    8150   # line-number line before each line; the second 'sed' does the real
    8151   # work.  The second script uses 'N' to pair each line-number line
    8152   # with the numbered line, and appends trailing '-' during
    8153   # substitution so that $LINENO is not a special case at line end.
     9340  # line-number line after each line using $LINENO; the second 'sed'
     9341  # does the real work.  The second script uses 'N' to pair each
     9342  # line-number line with the line containing $LINENO, and appends
     9343  # trailing '-' during substitution so that $LINENO is not a special
     9344  # case at line end.
    81549345  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    8155   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    8156   sed '=' <$as_myself |
     9346  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     9347  # E. McMahon (1931-1989) for sed's syntax.  :-)
     9348  sed -n '
     9349    p
     9350    /[$]LINENO/=
     9351  ' <$as_myself |
    81579352    sed '
     9353      s/[$]LINENO.*/&-/
     9354      t lineno
     9355      b
     9356      :lineno
    81589357      N
    8159       s,$,-,
    8160       : loop
    8161       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     9358      :loop
     9359      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    81629360      t loop
    8163       s,-$,,
    8164       s,^['$as_cr_digits']*\n,,
     9361      s/-\n.*//
    81659362    ' >$as_me.lineno &&
    8166   chmod +x $as_me.lineno ||
    8167     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    8168 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     9363  chmod +x "$as_me.lineno" ||
     9364    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    81699365   { (exit 1); exit 1; }; }
    81709366
    81719367  # Don't try to exec as it changes $[0], causing all sort of problems
    81729368  # (the dirname of $[0] is not the place where we might find the
    8173   # original and so on.  Autoconf is especially sensible to this).
    8174   . ./$as_me.lineno
     9369  # original and so on.  Autoconf is especially sensitive to this).
     9370  . "./$as_me.lineno"
    81759371  # Exit status is that of the last command.
    81769372  exit
     
    81789374
    81799375
    8180 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    8181   *c*,-n*) ECHO_N= ECHO_C='
    8182 ' ECHO_T='  ' ;;
    8183   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    8184   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    8185 esac
    8186 
    8187 if expr a : '\(a\)' >/dev/null 2>&1; then
     9376if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     9377  as_dirname=dirname
     9378else
     9379  as_dirname=false
     9380fi
     9381
     9382ECHO_C= ECHO_N= ECHO_T=
     9383case `echo -n x` in
     9384-n*)
     9385  case `echo 'x\c'` in
     9386  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     9387  *)   ECHO_C='\c';;
     9388  esac;;
     9389*)
     9390  ECHO_N='-n';;
     9391esac
     9392if expr a : '\(a\)' >/dev/null 2>&1 &&
     9393   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    81889394  as_expr=expr
    81899395else
     
    81929398
    81939399rm -f conf$$ conf$$.exe conf$$.file
    8194 echo >conf$$.file
    8195 if ln -s conf$$.file conf$$ 2>/dev/null; then
    8196   # We could just check for DJGPP; but this test a) works b) is more generic
    8197   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    8198   if test -f conf$$.exe; then
    8199     # Don't use ln at all; we don't have any links
     9400if test -d conf$$.dir; then
     9401  rm -f conf$$.dir/conf$$.file
     9402else
     9403  rm -f conf$$.dir
     9404  mkdir conf$$.dir 2>/dev/null
     9405fi
     9406if (echo >conf$$.file) 2>/dev/null; then
     9407  if ln -s conf$$.file conf$$ 2>/dev/null; then
     9408    as_ln_s='ln -s'
     9409    # ... but there are two gotchas:
     9410    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     9411    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     9412    # In both cases, we have to default to `cp -p'.
     9413    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     9414      as_ln_s='cp -p'
     9415  elif ln conf$$.file conf$$ 2>/dev/null; then
     9416    as_ln_s=ln
     9417  else
    82009418    as_ln_s='cp -p'
    8201   else
    8202     as_ln_s='ln -s'
    82039419  fi
    8204 elif ln conf$$.file conf$$ 2>/dev/null; then
    8205   as_ln_s=ln
    82069420else
    82079421  as_ln_s='cp -p'
    82089422fi
    8209 rm -f conf$$ conf$$.exe conf$$.file
     9423rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     9424rmdir conf$$.dir 2>/dev/null
    82109425
    82119426if mkdir -p . 2>/dev/null; then
     
    82169431fi
    82179432
    8218 as_executable_p="test -f"
     9433if test -x / >/dev/null 2>&1; then
     9434  as_test_x='test -x'
     9435else
     9436  if ls -dL / >/dev/null 2>&1; then
     9437    as_ls_L_option=L
     9438  else
     9439    as_ls_L_option=
     9440  fi
     9441  as_test_x='
     9442    eval sh -c '\''
     9443      if test -d "$1"; then
     9444    test -d "$1/.";
     9445      else
     9446    case $1 in
     9447    -*)set "./$1";;
     9448    esac;
     9449    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     9450    ???[sx]*):;;*)false;;esac;fi
     9451    '\'' sh
     9452  '
     9453fi
     9454as_executable_p=$as_test_x
    82199455
    82209456# Sed expression to map a string onto a valid CPP name.
     
    82259461
    82269462
    8227 # IFS
    8228 # We need space, tab and new line, in precisely that order.
    8229 as_nl='
    8230 '
    8231 IFS="   $as_nl"
    8232 
    8233 # CDPATH.
    8234 $as_unset CDPATH
    8235 
    82369463exec 6>&1
    82379464
    8238 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     9465# Save the log message, to keep $[0] and so on meaningful, and to
    82399466# report actual input values of CONFIG_FILES etc. instead of their
    8240 # values after options handling.  Logging --version etc. is OK.
     9467# values after options handling.
     9468ac_log="
     9469This file was extended by $as_me, which was
     9470generated by GNU Autoconf 2.63.  Invocation command line was
     9471
     9472  CONFIG_FILES    = $CONFIG_FILES
     9473  CONFIG_HEADERS  = $CONFIG_HEADERS
     9474  CONFIG_LINKS    = $CONFIG_LINKS
     9475  CONFIG_COMMANDS = $CONFIG_COMMANDS
     9476  $ $0 $@
     9477
     9478on `(hostname || uname -n) 2>/dev/null | sed 1q`
     9479"
     9480
     9481_ACEOF
     9482
     9483case $ac_config_files in *"
     9484"*) set x $ac_config_files; shift; ac_config_files=$*;;
     9485esac
     9486
     9487case $ac_config_headers in *"
     9488"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     9489esac
     9490
     9491
     9492cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9493# Files that config.status was made for.
     9494config_files="$ac_config_files"
     9495config_headers="$ac_config_headers"
     9496
     9497_ACEOF
     9498
     9499cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9500ac_cs_usage="\
     9501\`$as_me' instantiates files from templates according to the
     9502current configuration.
     9503
     9504Usage: $0 [OPTION]... [FILE]...
     9505
     9506  -h, --help       print this help, then exit
     9507  -V, --version    print version number and configuration settings, then exit
     9508  -q, --quiet, --silent
     9509                   do not print progress messages
     9510  -d, --debug      don't remove temporary files
     9511      --recheck    update $as_me by reconfiguring in the same conditions
     9512      --file=FILE[:TEMPLATE]
     9513                   instantiate the configuration file FILE
     9514      --header=FILE[:TEMPLATE]
     9515                   instantiate the configuration header FILE
     9516
     9517Configuration files:
     9518$config_files
     9519
     9520Configuration headers:
     9521$config_headers
     9522
     9523Report bugs to <[email protected]>."
     9524
     9525_ACEOF
     9526cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9527ac_cs_version="\\
     9528config.status
     9529configured by $0, generated by GNU Autoconf 2.63,
     9530  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     9531
     9532Copyright (C) 2008 Free Software Foundation, Inc.
     9533This config.status script is free software; the Free Software Foundation
     9534gives unlimited permission to copy, distribute and modify it."
     9535
     9536ac_pwd='$ac_pwd'
     9537srcdir='$srcdir'
     9538INSTALL='$INSTALL'
     9539AWK='$AWK'
     9540test -n "\$AWK" || AWK=awk
     9541_ACEOF
     9542
     9543cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9544# The default lists apply if the user does not specify any file.
     9545ac_need_defaults=:
     9546while test $# != 0
     9547do
     9548  case $1 in
     9549  --*=*)
     9550    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     9551    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     9552    ac_shift=:
     9553    ;;
     9554  *)
     9555    ac_option=$1
     9556    ac_optarg=$2
     9557    ac_shift=shift
     9558    ;;
     9559  esac
     9560
     9561  case $ac_option in
     9562  # Handling of the options.
     9563  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     9564    ac_cs_recheck=: ;;
     9565  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     9566    $as_echo "$ac_cs_version"; exit ;;
     9567  --debug | --debu | --deb | --de | --d | -d )
     9568    debug=: ;;
     9569  --file | --fil | --fi | --f )
     9570    $ac_shift
     9571    case $ac_optarg in
     9572    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9573    esac
     9574    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     9575    ac_need_defaults=false;;
     9576  --header | --heade | --head | --hea )
     9577    $ac_shift
     9578    case $ac_optarg in
     9579    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9580    esac
     9581    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     9582    ac_need_defaults=false;;
     9583  --he | --h)
     9584    # Conflict between --help and --header
     9585    { $as_echo "$as_me: error: ambiguous option: $1
     9586Try \`$0 --help' for more information." >&2
     9587   { (exit 1); exit 1; }; };;
     9588  --help | --hel | -h )
     9589    $as_echo "$ac_cs_usage"; exit ;;
     9590  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     9591  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     9592    ac_cs_silent=: ;;
     9593
     9594  # This is an error.
     9595  -*) { $as_echo "$as_me: error: unrecognized option: $1
     9596Try \`$0 --help' for more information." >&2
     9597   { (exit 1); exit 1; }; } ;;
     9598
     9599  *) ac_config_targets="$ac_config_targets $1"
     9600     ac_need_defaults=false ;;
     9601
     9602  esac
     9603  shift
     9604done
     9605
     9606ac_configure_extra_args=
     9607
     9608if $ac_cs_silent; then
     9609  exec 6>/dev/null
     9610  ac_configure_extra_args="$ac_configure_extra_args --silent"
     9611fi
     9612
     9613_ACEOF
     9614cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9615if \$ac_cs_recheck; then
     9616  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     9617  shift
     9618  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     9619  CONFIG_SHELL='$SHELL'
     9620  export CONFIG_SHELL
     9621  exec "\$@"
     9622fi
     9623
     9624_ACEOF
     9625cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    82419626exec 5>>config.log
    82429627{
     
    82459630## Running $as_me. ##
    82469631_ASBOX
     9632  $as_echo "$ac_log"
    82479633} >&5
    8248 cat >&5 <<_CSEOF
    8249 
    8250 This file was extended by $as_me, which was
    8251 generated by GNU Autoconf 2.59.  Invocation command line was
    8252 
    8253   CONFIG_FILES    = $CONFIG_FILES
    8254   CONFIG_HEADERS  = $CONFIG_HEADERS
    8255   CONFIG_LINKS    = $CONFIG_LINKS
    8256   CONFIG_COMMANDS = $CONFIG_COMMANDS
    8257   $ $0 $@
    8258 
    8259 _CSEOF
    8260 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    8261 echo >&5
    8262 _ACEOF
    8263 
    8264 # Files that config.status was made for.
    8265 if test -n "$ac_config_files"; then
    8266   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    8267 fi
    8268 
    8269 if test -n "$ac_config_headers"; then
    8270   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    8271 fi
    8272 
    8273 if test -n "$ac_config_links"; then
    8274   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    8275 fi
    8276 
    8277 if test -n "$ac_config_commands"; then
    8278   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    8279 fi
    8280 
    8281 cat >>$CONFIG_STATUS <<\_ACEOF
    8282 
    8283 ac_cs_usage="\
    8284 \`$as_me' instantiates files from templates according to the
    8285 current configuration.
    8286 
    8287 Usage: $0 [OPTIONS] [FILE]...
    8288 
    8289   -h, --help       print this help, then exit
    8290   -V, --version    print version number, then exit
    8291   -q, --quiet      do not print progress messages
    8292   -d, --debug      don't remove temporary files
    8293       --recheck    update $as_me by reconfiguring in the same conditions
    8294   --file=FILE[:TEMPLATE]
    8295            instantiate the configuration file FILE
    8296   --header=FILE[:TEMPLATE]
    8297            instantiate the configuration header FILE
    8298 
    8299 Configuration files:
    8300 $config_files
    8301 
    8302 Configuration headers:
    8303 $config_headers
    8304 
    8305 Report bugs to <[email protected]>."
    8306 _ACEOF
    8307 
    8308 cat >>$CONFIG_STATUS <<_ACEOF
    8309 ac_cs_version="\\
    8310 config.status
    8311 configured by $0, generated by GNU Autoconf 2.59,
    8312   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    8313 
    8314 Copyright (C) 2003 Free Software Foundation, Inc.
    8315 This config.status script is free software; the Free Software Foundation
    8316 gives unlimited permission to copy, distribute and modify it."
    8317 srcdir=$srcdir
    8318 INSTALL="$INSTALL"
    8319 _ACEOF
    8320 
    8321 cat >>$CONFIG_STATUS <<\_ACEOF
    8322 # If no file are specified by the user, then we need to provide default
    8323 # value.  By we need to know if files were specified by the user.
    8324 ac_need_defaults=:
    8325 while test $# != 0
    8326 do
    8327   case $1 in
    8328   --*=*)
    8329     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    8330     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    8331     ac_shift=:
    8332     ;;
    8333   -*)
    8334     ac_option=$1
    8335     ac_optarg=$2
    8336     ac_shift=shift
    8337     ;;
    8338   *) # This is not an option, so the user has probably given explicit
    8339      # arguments.
    8340      ac_option=$1
    8341      ac_need_defaults=false;;
    8342   esac
    8343 
    8344   case $ac_option in
    8345   # Handling of the options.
    8346 _ACEOF
    8347 cat >>$CONFIG_STATUS <<\_ACEOF
    8348   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    8349     ac_cs_recheck=: ;;
    8350   --version | --vers* | -V )
    8351     echo "$ac_cs_version"; exit 0 ;;
    8352   --he | --h)
    8353     # Conflict between --help and --header
    8354     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    8355 Try \`$0 --help' for more information." >&5
    8356 echo "$as_me: error: ambiguous option: $1
    8357 Try \`$0 --help' for more information." >&2;}
    8358    { (exit 1); exit 1; }; };;
    8359   --help | --hel | -h )
    8360     echo "$ac_cs_usage"; exit 0 ;;
    8361   --debug | --d* | -d )
    8362     debug=: ;;
    8363   --file | --fil | --fi | --f )
    8364     $ac_shift
    8365     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    8366     ac_need_defaults=false;;
    8367   --header | --heade | --head | --hea )
    8368     $ac_shift
    8369     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    8370     ac_need_defaults=false;;
    8371   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    8372   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    8373     ac_cs_silent=: ;;
    8374 
    8375   # This is an error.
    8376   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    8377 Try \`$0 --help' for more information." >&5
    8378 echo "$as_me: error: unrecognized option: $1
    8379 Try \`$0 --help' for more information." >&2;}
    8380    { (exit 1); exit 1; }; } ;;
    8381 
    8382   *) ac_config_targets="$ac_config_targets $1" ;;
    8383 
    8384   esac
    8385   shift
    8386 done
    8387 
    8388 ac_configure_extra_args=
    8389 
    8390 if $ac_cs_silent; then
    8391   exec 6>/dev/null
    8392   ac_configure_extra_args="$ac_configure_extra_args --silent"
    8393 fi
    8394 
    8395 _ACEOF
    8396 cat >>$CONFIG_STATUS <<_ACEOF
    8397 if \$ac_cs_recheck; then
    8398   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    8399   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    8400 fi
    8401 
    8402 _ACEOF
    8403 
    8404 
    8405 
    8406 
    8407 
    8408 cat >>$CONFIG_STATUS <<\_ACEOF
     9634
     9635_ACEOF
     9636cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9637_ACEOF
     9638
     9639cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9640
     9641# Handling of arguments.
    84099642for ac_config_target in $ac_config_targets
    84109643do
    8411   case "$ac_config_target" in
    8412   # Handling of arguments.
    8413   "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
    8414   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    8415   "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    8416   "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    8417   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    8418   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    8419 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     9644  case $ac_config_target in
     9645    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     9646    "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
     9647    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     9648    "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     9649    "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     9650
     9651  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     9652$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    84209653   { (exit 1); exit 1; }; };;
    84219654  esac
    84229655done
     9656
    84239657
    84249658# If the user did not use the arguments to specify the items to instantiate,
     
    84329666
    84339667# Have a temporary directory for convenience.  Make it in the build tree
    8434 # simply because there is no reason to put it here, and in addition,
     9668# simply because there is no reason against having it here, and in addition,
    84359669# creating and moving files from /tmp can sometimes cause problems.
    8436 # Create a temporary directory, and hook for its removal unless debugging.
     9670# Hook for its removal unless debugging.
     9671# Note that there is a small window in which the directory will not be cleaned:
     9672# after its creation but before its name has been assigned to `$tmp'.
    84379673$debug ||
    84389674{
    8439   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     9675  tmp=
     9676  trap 'exit_status=$?
     9677  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     9678' 0
    84409679  trap '{ (exit 1); exit 1; }' 1 2 13 15
    84419680}
    8442 
    84439681# Create a (secure) tmp directory for tmp files.
    84449682
    84459683{
    8446   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     9684  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    84479685  test -n "$tmp" && test -d "$tmp"
    84489686}  ||
    84499687{
    8450   tmp=./confstat$$-$RANDOM
    8451   (umask 077 && mkdir $tmp)
     9688  tmp=./conf$$-$RANDOM
     9689  (umask 077 && mkdir "$tmp")
    84529690} ||
    84539691{
    8454    echo "$me: cannot create a temporary directory in ." >&2
     9692   $as_echo "$as_me: cannot create a temporary directory in ." >&2
    84559693   { (exit 1); exit 1; }
    84569694}
    84579695
    8458 _ACEOF
    8459 
    8460 cat >>$CONFIG_STATUS <<_ACEOF
    8461 
    8462 #
    8463 # CONFIG_FILES section.
    8464 #
    8465 
    8466 # No need to generate the scripts if there are no CONFIG_FILES.
    8467 # This happens for instance when ./config.status config.h
    8468 if test -n "\$CONFIG_FILES"; then
    8469   # Protect against being on the right side of a sed subst in config.status.
    8470   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    8471    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    8472 s,@SHELL@,$SHELL,;t t
    8473 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    8474 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    8475 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    8476 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    8477 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    8478 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    8479 s,@exec_prefix@,$exec_prefix,;t t
    8480 s,@prefix@,$prefix,;t t
    8481 s,@program_transform_name@,$program_transform_name,;t t
    8482 s,@bindir@,$bindir,;t t
    8483 s,@sbindir@,$sbindir,;t t
    8484 s,@libexecdir@,$libexecdir,;t t
    8485 s,@datadir@,$datadir,;t t
    8486 s,@sysconfdir@,$sysconfdir,;t t
    8487 s,@sharedstatedir@,$sharedstatedir,;t t
    8488 s,@localstatedir@,$localstatedir,;t t
    8489 s,@libdir@,$libdir,;t t
    8490 s,@includedir@,$includedir,;t t
    8491 s,@oldincludedir@,$oldincludedir,;t t
    8492 s,@infodir@,$infodir,;t t
    8493 s,@mandir@,$mandir,;t t
    8494 s,@build_alias@,$build_alias,;t t
    8495 s,@host_alias@,$host_alias,;t t
    8496 s,@target_alias@,$target_alias,;t t
    8497 s,@DEFS@,$DEFS,;t t
    8498 s,@ECHO_C@,$ECHO_C,;t t
    8499 s,@ECHO_N@,$ECHO_N,;t t
    8500 s,@ECHO_T@,$ECHO_T,;t t
    8501 s,@LIBS@,$LIBS,;t t
    8502 s,@PACKAGE@,$PACKAGE,;t t
    8503 s,@VERSION@,$VERSION,;t t
    8504 s,@USE_FASTCGI@,$USE_FASTCGI,;t t
    8505 s,@USE_LANGACTION@,$USE_LANGACTION,;t t
    8506 s,@USE_CORBA@,$USE_CORBA,;t t
    8507 s,@MICO_DIR@,$MICO_DIR,;t t
    8508 s,@USE_Z3950@,$USE_Z3950,;t t
    8509 s,@USE_YAZ@,$USE_YAZ,;t t
    8510 s,@ENABLE_JAVA@,$ENABLE_JAVA,;t t
    8511 s,@USE_WVWARE@,$USE_WVWARE,;t t
    8512 s,@USE_JDBM@,$USE_JDBM,;t t
    8513 s,@USE_GDBM@,$USE_GDBM,;t t
    8514 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    8515 s,@USE_SQLITE@,$USE_SQLITE,;t t
    8516 s,@LDFLAGS@,$LDFLAGS,;t t
    8517 s,@CFLAGS@,$CFLAGS,;t t
    8518 s,@CC@,$CC,;t t
    8519 s,@CPPFLAGS@,$CPPFLAGS,;t t
    8520 s,@ac_ct_CC@,$ac_ct_CC,;t t
    8521 s,@EXEEXT@,$EXEEXT,;t t
    8522 s,@OBJEXT@,$OBJEXT,;t t
    8523 s,@CXX@,$CXX,;t t
    8524 s,@CXXFLAGS@,$CXXFLAGS,;t t
    8525 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    8526 s,@JAVAC@,$JAVAC,;t t
    8527 s,@JAVACFLAGS@,$JAVACFLAGS,;t t
    8528 s,@JAVA@,$JAVA,;t t
    8529 s,@uudecode@,$uudecode,;t t
    8530 s,@AWK@,$AWK,;t t
    8531 s,@YACC@,$YACC,;t t
    8532 s,@build@,$build,;t t
    8533 s,@build_cpu@,$build_cpu,;t t
    8534 s,@build_vendor@,$build_vendor,;t t
    8535 s,@build_os@,$build_os,;t t
    8536 s,@host@,$host,;t t
    8537 s,@host_cpu@,$host_cpu,;t t
    8538 s,@host_vendor@,$host_vendor,;t t
    8539 s,@host_os@,$host_os,;t t
    8540 s,@target@,$target,;t t
    8541 s,@target_cpu@,$target_cpu,;t t
    8542 s,@target_vendor@,$target_vendor,;t t
    8543 s,@target_os@,$target_os,;t t
    8544 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    8545 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    8546 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    8547 s,@LN_S@,$LN_S,;t t
    8548 s,@SET_MAKE@,$SET_MAKE,;t t
    8549 s,@RANLIB@,$RANLIB,;t t
    8550 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    8551 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
    8552 s,@MICO_VER@,$MICO_VER,;t t
    8553 s,@CPP@,$CPP,;t t
    8554 s,@EGREP@,$EGREP,;t t
    8555 s,@U@,$U,;t t
    8556 s,@ANSI2KNR@,$ANSI2KNR,;t t
    8557 s,@ALLOCA@,$ALLOCA,;t t
    8558 s,@LIBOBJS@,$LIBOBJS,;t t
    8559 s,@STATIC@,$STATIC,;t t
    8560 s,@gsdlos@,$gsdlos,;t t
    8561 s,@MODULEDIRS@,$MODULEDIRS,;t t
    8562 s,@subdirs@,$subdirs,;t t
    8563 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    8564 CEOF
    8565 
    8566 _ACEOF
    8567 
    8568   cat >>$CONFIG_STATUS <<\_ACEOF
    8569   # Split the substitutions into bite-sized pieces for seds with
    8570   # small command number limits, like on Digital OSF/1 and HP-UX.
    8571   ac_max_sed_lines=48
    8572   ac_sed_frag=1 # Number of current file.
    8573   ac_beg=1 # First line for current file.
    8574   ac_end=$ac_max_sed_lines # Line after last line for current file.
    8575   ac_more_lines=:
    8576   ac_sed_cmds=
    8577   while $ac_more_lines; do
    8578     if test $ac_beg -gt 1; then
    8579       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    8580     else
    8581       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     9696# Set up the scripts for CONFIG_FILES section.
     9697# No need to generate them if there are no CONFIG_FILES.
     9698# This happens for instance with `./config.status config.h'.
     9699if test -n "$CONFIG_FILES"; then
     9700
     9701
     9702ac_cr='
     9703'
     9704ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     9705if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     9706  ac_cs_awk_cr='\\r'
     9707else
     9708  ac_cs_awk_cr=$ac_cr
     9709fi
     9710
     9711echo 'BEGIN {' >"$tmp/subs1.awk" &&
     9712_ACEOF
     9713
     9714
     9715{
     9716  echo "cat >conf$$subs.awk <<_ACEOF" &&
     9717  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     9718  echo "_ACEOF"
     9719} >conf$$subs.sh ||
     9720  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     9721$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     9722   { (exit 1); exit 1; }; }
     9723ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     9724ac_delim='%!_!# '
     9725for ac_last_try in false false false false false :; do
     9726  . ./conf$$subs.sh ||
     9727    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     9728$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     9729   { (exit 1); exit 1; }; }
     9730
     9731  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     9732  if test $ac_delim_n = $ac_delim_num; then
     9733    break
     9734  elif $ac_last_try; then
     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; }; }
     9738  else
     9739    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     9740  fi
     9741done
     9742rm -f conf$$subs.sh
     9743
     9744cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9745cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     9746_ACEOF
     9747sed -n '
     9748h
     9749s/^/S["/; s/!.*/"]=/
     9750p
     9751g
     9752s/^[^!]*!//
     9753:repl
     9754t repl
     9755s/'"$ac_delim"'$//
     9756t delim
     9757:nl
     9758h
     9759s/\(.\{148\}\).*/\1/
     9760t more1
     9761s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     9762p
     9763n
     9764b repl
     9765:more1
     9766s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     9767p
     9768g
     9769s/.\{148\}//
     9770t nl
     9771:delim
     9772h
     9773s/\(.\{148\}\).*/\1/
     9774t more2
     9775s/["\\]/\\&/g; s/^/"/; s/$/"/
     9776p
     9777b
     9778:more2
     9779s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     9780p
     9781g
     9782s/.\{148\}//
     9783t delim
     9784' <conf$$subs.awk | sed '
     9785/^[^""]/{
     9786  N
     9787  s/\n//
     9788}
     9789' >>$CONFIG_STATUS || ac_write_fail=1
     9790rm -f conf$$subs.awk
     9791cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9792_ACAWK
     9793cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     9794  for (key in S) S_is_set[key] = 1
     9795  FS = ""
     9796
     9797}
     9798{
     9799  line = $ 0
     9800  nfields = split(line, field, "@")
     9801  substed = 0
     9802  len = length(field[1])
     9803  for (i = 2; i < nfields; i++) {
     9804    key = field[i]
     9805    keylen = length(key)
     9806    if (S_is_set[key]) {
     9807      value = S[key]
     9808      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     9809      len += length(value) + length(field[++i])
     9810      substed = 1
     9811    } else
     9812      len += 1 + keylen
     9813  }
     9814
     9815  print line
     9816}
     9817
     9818_ACAWK
     9819_ACEOF
     9820cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9821if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     9822  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     9823else
     9824  cat
     9825fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     9826  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
     9827$as_echo "$as_me: error: could not setup config files machinery" >&2;}
     9828   { (exit 1); exit 1; }; }
     9829_ACEOF
     9830
     9831# VPATH may cause trouble with some makes, so we remove $(srcdir),
     9832# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     9833# trailing colons and then remove the whole line if VPATH becomes empty
     9834# (actually we leave an empty line to preserve line numbers).
     9835if test "x$srcdir" = x.; then
     9836  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     9837s/:*\$(srcdir):*/:/
     9838s/:*\${srcdir}:*/:/
     9839s/:*@srcdir@:*/:/
     9840s/^\([^=]*=[     ]*\):*/\1/
     9841s/:*$//
     9842s/^[^=]*=[   ]*$//
     9843}'
     9844fi
     9845
     9846cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9847fi # test -n "$CONFIG_FILES"
     9848
     9849# Set up the scripts for CONFIG_HEADERS section.
     9850# No need to generate them if there are no CONFIG_HEADERS.
     9851# This happens for instance with `./config.status Makefile'.
     9852if test -n "$CONFIG_HEADERS"; then
     9853cat >"$tmp/defines.awk" <<\_ACAWK ||
     9854BEGIN {
     9855_ACEOF
     9856
     9857# Transform confdefs.h into an awk script `defines.awk', embedded as
     9858# here-document in config.status, that substitutes the proper values into
     9859# config.h.in to produce config.h.
     9860
     9861# Create a delimiter string that does not exist in confdefs.h, to ease
     9862# handling of long lines.
     9863ac_delim='%!_!# '
     9864for ac_last_try in false false :; do
     9865  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     9866  if test -z "$ac_t"; then
     9867    break
     9868  elif $ac_last_try; then
     9869    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
     9870$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
     9871   { (exit 1); exit 1; }; }
     9872  else
     9873    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     9874  fi
     9875done
     9876
     9877# For the awk script, D is an array of macro values keyed by name,
     9878# likewise P contains macro parameters if any.  Preserve backslash
     9879# newline sequences.
     9880
     9881ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     9882sed -n '
     9883s/.\{148\}/&'"$ac_delim"'/g
     9884t rset
     9885:rset
     9886s/^[     ]*#[    ]*define[   ][  ]*/ /
     9887t def
     9888d
     9889:def
     9890s/\\$//
     9891t bsnl
     9892s/["\\]/\\&/g
     9893s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     9894D["\1"]=" \3"/p
     9895s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
     9896d
     9897:bsnl
     9898s/["\\]/\\&/g
     9899s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     9900D["\1"]=" \3\\\\\\n"\\/p
     9901t cont
     9902s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     9903t cont
     9904d
     9905:cont
     9906n
     9907s/.\{148\}/&'"$ac_delim"'/g
     9908t clear
     9909:clear
     9910s/\\$//
     9911t bsnlc
     9912s/["\\]/\\&/g; s/^/"/; s/$/"/p
     9913d
     9914:bsnlc
     9915s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     9916b cont
     9917' <confdefs.h | sed '
     9918s/'"$ac_delim"'/"\\\
     9919"/g' >>$CONFIG_STATUS || ac_write_fail=1
     9920
     9921cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9922  for (key in D) D_is_set[key] = 1
     9923  FS = ""
     9924}
     9925/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     9926  line = \$ 0
     9927  split(line, arg, " ")
     9928  if (arg[1] == "#") {
     9929    defundef = arg[2]
     9930    mac1 = arg[3]
     9931  } else {
     9932    defundef = substr(arg[1], 2)
     9933    mac1 = arg[2]
     9934  }
     9935  split(mac1, mac2, "(") #)
     9936  macro = mac2[1]
     9937  prefix = substr(line, 1, index(line, defundef) - 1)
     9938  if (D_is_set[macro]) {
     9939    # Preserve the white space surrounding the "#".
     9940    print prefix "define", macro P[macro] D[macro]
     9941    next
     9942  } else {
     9943    # Replace #undef with comments.  This is necessary, for example,
     9944    # in the case of _POSIX_SOURCE, which is predefined and required
     9945    # on some systems where configure will not decide to define it.
     9946    if (defundef == "undef") {
     9947      print "/*", prefix defundef, macro, "*/"
     9948      next
     9949    }
     9950  }
     9951}
     9952{ print }
     9953_ACAWK
     9954_ACEOF
     9955cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9956  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
     9957$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
     9958   { (exit 1); exit 1; }; }
     9959fi # test -n "$CONFIG_HEADERS"
     9960
     9961
     9962eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
     9963shift
     9964for ac_tag
     9965do
     9966  case $ac_tag in
     9967  :[FHLC]) ac_mode=$ac_tag; continue;;
     9968  esac
     9969  case $ac_mode$ac_tag in
     9970  :[FHL]*:*);;
     9971  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
     9972$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
     9973   { (exit 1); exit 1; }; };;
     9974  :[FH]-) ac_tag=-:-;;
     9975  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     9976  esac
     9977  ac_save_IFS=$IFS
     9978  IFS=:
     9979  set x $ac_tag
     9980  IFS=$ac_save_IFS
     9981  shift
     9982  ac_file=$1
     9983  shift
     9984
     9985  case $ac_mode in
     9986  :L) ac_source=$1;;
     9987  :[FH])
     9988    ac_file_inputs=
     9989    for ac_f
     9990    do
     9991      case $ac_f in
     9992      -) ac_f="$tmp/stdin";;
     9993      *) # Look for the file first in the build tree, then in the source tree
     9994     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     9995     # because $ac_f cannot contain `:'.
     9996     test -f "$ac_f" ||
     9997       case $ac_f in
     9998       [\\/$]*) false;;
     9999       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     10000       esac ||
     10001       { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     10002$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     10003   { (exit 1); exit 1; }; };;
     10004      esac
     10005      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     10006      ac_file_inputs="$ac_file_inputs '$ac_f'"
     10007    done
     10008
     10009    # Let's still pretend it is `configure' which instantiates (i.e., don't
     10010    # use $as_me), people would be surprised to read:
     10011    #    /* config.h.  Generated by config.status.  */
     10012    configure_input='Generated from '`
     10013      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     10014    `' by configure.'
     10015    if test x"$ac_file" != x-; then
     10016      configure_input="$ac_file.  $configure_input"
     10017      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     10018$as_echo "$as_me: creating $ac_file" >&6;}
    858210019    fi
    8583     if test ! -s $tmp/subs.frag; then
    8584       ac_more_lines=false
    8585     else
    8586       # The purpose of the label and of the branching condition is to
    8587       # speed up the sed processing (if there are no `@' at all, there
    8588       # is no need to browse any of the substitutions).
    8589       # These are the two extra sed commands mentioned above.
    8590       (echo ':t
    8591   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    8592       if test -z "$ac_sed_cmds"; then
    8593     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    8594       else
    8595     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    8596       fi
    8597       ac_sed_frag=`expr $ac_sed_frag + 1`
    8598       ac_beg=$ac_end
    8599       ac_end=`expr $ac_end + $ac_max_sed_lines`
    8600     fi
    8601   done
    8602   if test -z "$ac_sed_cmds"; then
    8603     ac_sed_cmds=cat
    8604   fi
    8605 fi # test -n "$CONFIG_FILES"
    8606 
    8607 _ACEOF
    8608 cat >>$CONFIG_STATUS <<\_ACEOF
    8609 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    8610   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8611   case $ac_file in
    8612   - | *:- | *:-:* ) # input from stdin
    8613     cat >$tmp/stdin
    8614     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8615     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8616   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8617     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8618   * )   ac_file_in=$ac_file.in ;;
     10020    # Neutralize special characters interpreted by sed in replacement strings.
     10021    case $configure_input in #(
     10022    *\&* | *\|* | *\\* )
     10023       ac_sed_conf_input=`$as_echo "$configure_input" |
     10024       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     10025    *) ac_sed_conf_input=$configure_input;;
     10026    esac
     10027
     10028    case $ac_tag in
     10029    *:-:* | *:-) cat >"$tmp/stdin" \
     10030      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10031$as_echo "$as_me: error: could not create $ac_file" >&2;}
     10032   { (exit 1); exit 1; }; } ;;
     10033    esac
     10034    ;;
    861910035  esac
    862010036
    8621   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    8622   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     10037  ac_dir=`$as_dirname -- "$ac_file" ||
    862310038$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    862410039     X"$ac_file" : 'X\(//\)[^/]' \| \
    862510040     X"$ac_file" : 'X\(//\)$' \| \
    8626      X"$ac_file" : 'X\(/\)' \| \
    8627      .     : '\(.\)' 2>/dev/null ||
    8628 echo X"$ac_file" |
    8629     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8630       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8631       /^X\(\/\/\)$/{ s//\1/; q; }
    8632       /^X\(\/\).*/{ s//\1/; q; }
    8633       s/.*/./; q'`
    8634   { if $as_mkdir_p; then
    8635     mkdir -p "$ac_dir"
    8636   else
    8637     as_dir="$ac_dir"
     10041     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     10042$as_echo X"$ac_file" |
     10043    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     10044        s//\1/
     10045        q
     10046      }
     10047      /^X\(\/\/\)[^/].*/{
     10048        s//\1/
     10049        q
     10050      }
     10051      /^X\(\/\/\)$/{
     10052        s//\1/
     10053        q
     10054      }
     10055      /^X\(\/\).*/{
     10056        s//\1/
     10057        q
     10058      }
     10059      s/.*/./; q'`
     10060  { as_dir="$ac_dir"
     10061  case $as_dir in #(
     10062  -*) as_dir=./$as_dir;;
     10063  esac
     10064  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    863810065    as_dirs=
    8639     while test ! -d "$as_dir"; do
    8640       as_dirs="$as_dir $as_dirs"
    8641       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     10066    while :; do
     10067      case $as_dir in #(
     10068      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     10069      *) as_qdir=$as_dir;;
     10070      esac
     10071      as_dirs="'$as_qdir' $as_dirs"
     10072      as_dir=`$as_dirname -- "$as_dir" ||
    864210073$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    864310074     X"$as_dir" : 'X\(//\)[^/]' \| \
    864410075     X"$as_dir" : 'X\(//\)$' \| \
    8645      X"$as_dir" : 'X\(/\)' \| \
    8646      .     : '\(.\)' 2>/dev/null ||
    8647 echo X"$as_dir" |
    8648     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8649       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8650       /^X\(\/\/\)$/{ s//\1/; q; }
    8651       /^X\(\/\).*/{ s//\1/; q; }
    8652       s/.*/./; q'`
     10076     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     10077$as_echo X"$as_dir" |
     10078    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     10079        s//\1/
     10080        q
     10081      }
     10082      /^X\(\/\/\)[^/].*/{
     10083        s//\1/
     10084        q
     10085      }
     10086      /^X\(\/\/\)$/{
     10087        s//\1/
     10088        q
     10089      }
     10090      /^X\(\/\).*/{
     10091        s//\1/
     10092        q
     10093      }
     10094      s/.*/./; q'`
     10095      test -d "$as_dir" && break
    865310096    done
    8654     test ! -n "$as_dirs" || mkdir $as_dirs
    8655   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8656 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     10097    test -z "$as_dirs" || eval "mkdir $as_dirs"
     10098  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     10099$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    865710100   { (exit 1); exit 1; }; }; }
    8658 
    865910101  ac_builddir=.
    866010102
    8661 if test "$ac_dir" != .; then
    8662   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8663   # A "../" for each directory in $ac_dir_suffix.
    8664   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8665 else
    8666   ac_dir_suffix= ac_top_builddir=
    8667 fi
     10103case "$ac_dir" in
     10104.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     10105*)
     10106  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     10107  # A ".." for each directory in $ac_dir_suffix.
     10108  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     10109  case $ac_top_builddir_sub in
     10110  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     10111  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     10112  esac ;;
     10113esac
     10114ac_abs_top_builddir=$ac_pwd
     10115ac_abs_builddir=$ac_pwd$ac_dir_suffix
     10116# for backward compatibility:
     10117ac_top_builddir=$ac_top_build_prefix
    866810118
    866910119case $srcdir in
    8670   .)  # No --srcdir option.  We are building in place.
     10120  .)  # We are building in place.
    867110121    ac_srcdir=.
    8672     if test -z "$ac_top_builddir"; then
    8673        ac_top_srcdir=.
    8674     else
    8675        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8676     fi ;;
    8677   [\\/]* | ?:[\\/]* )  # Absolute path.
     10122    ac_top_srcdir=$ac_top_builddir_sub
     10123    ac_abs_top_srcdir=$ac_pwd ;;
     10124  [\\/]* | ?:[\\/]* )  # Absolute name.
    867810125    ac_srcdir=$srcdir$ac_dir_suffix;
    8679     ac_top_srcdir=$srcdir ;;
    8680   *) # Relative path.
    8681     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8682     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8683 esac
    8684 
    8685 # Do not use `cd foo && pwd` to compute absolute paths, because
    8686 # the directories may not exist.
    8687 case `pwd` in
    8688 .) ac_abs_builddir="$ac_dir";;
    8689 *)
    8690   case "$ac_dir" in
    8691   .) ac_abs_builddir=`pwd`;;
    8692   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8693   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8694   esac;;
    8695 esac
    8696 case $ac_abs_builddir in
    8697 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8698 *)
    8699   case ${ac_top_builddir}. in
    8700   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8701   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8702   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8703   esac;;
    8704 esac
    8705 case $ac_abs_builddir in
    8706 .) ac_abs_srcdir=$ac_srcdir;;
    8707 *)
    8708   case $ac_srcdir in
    8709   .) ac_abs_srcdir=$ac_abs_builddir;;
    8710   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8711   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8712   esac;;
    8713 esac
    8714 case $ac_abs_builddir in
    8715 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8716 *)
    8717   case $ac_top_srcdir in
    8718   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8719   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8720   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8721   esac;;
    8722 esac
    8723 
     10126    ac_top_srcdir=$srcdir
     10127    ac_abs_top_srcdir=$srcdir ;;
     10128  *) # Relative name.
     10129    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     10130    ac_top_srcdir=$ac_top_build_prefix$srcdir
     10131    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     10132esac
     10133ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     10134
     10135
     10136  case $ac_mode in
     10137  :F)
     10138  #
     10139  # CONFIG_FILE
     10140  #
    872410141
    872510142  case $INSTALL in
    872610143  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    8727   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     10144  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    872810145  esac
    8729 
    8730   if test x"$ac_file" != x-; then
    8731     { echo "$as_me:$LINENO: creating $ac_file" >&5
    8732 echo "$as_me: creating $ac_file" >&6;}
    8733     rm -f "$ac_file"
    8734   fi
    8735   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8736   # use $as_me), people would be surprised to read:
    8737   #    /* config.h.  Generated by config.status.  */
    8738   if test x"$ac_file" = x-; then
    8739     configure_input=
    8740   else
    8741     configure_input="$ac_file.  "
    8742   fi
    8743   configure_input=$configure_input"Generated from `echo $ac_file_in |
    8744                      sed 's,.*/,,'` by configure."
    8745 
    8746   # First look for the input files in the build tree, otherwise in the
    8747   # src tree.
    8748   ac_file_inputs=`IFS=:
    8749     for f in $ac_file_in; do
    8750       case $f in
    8751       -) echo $tmp/stdin ;;
    8752       [\\/$]*)
    8753      # Absolute (can't be DOS-style, as IFS=:)
    8754      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8755 echo "$as_me: error: cannot find input file: $f" >&2;}
    8756    { (exit 1); exit 1; }; }
    8757      echo "$f";;
    8758       *) # Relative
    8759      if test -f "$f"; then
    8760        # Build tree
    8761        echo "$f"
    8762      elif test -f "$srcdir/$f"; then
    8763        # Source tree
    8764        echo "$srcdir/$f"
    8765      else
    8766        # /dev/null tree
    8767        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8768 echo "$as_me: error: cannot find input file: $f" >&2;}
    8769    { (exit 1); exit 1; }; }
    8770      fi;;
    8771       esac
    8772     done` || { (exit 1); exit 1; }
    8773 _ACEOF
    8774 cat >>$CONFIG_STATUS <<_ACEOF
    8775   sed "$ac_vpsub
     10146_ACEOF
     10147
     10148cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10149# If the template does not know about datarootdir, expand it.
     10150# FIXME: This hack should be removed a few years after 2.60.
     10151ac_datarootdir_hack=; ac_datarootdir_seen=
     10152
     10153ac_sed_dataroot='
     10154/datarootdir/ {
     10155  p
     10156  q
     10157}
     10158/@datadir@/p
     10159/@docdir@/p
     10160/@infodir@/p
     10161/@localedir@/p
     10162/@mandir@/p
     10163'
     10164case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
     10165*datarootdir*) ac_datarootdir_seen=yes;;
     10166*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     10167  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     10168$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     10169_ACEOF
     10170cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10171  ac_datarootdir_hack='
     10172  s&@datadir@&$datadir&g
     10173  s&@docdir@&$docdir&g
     10174  s&@infodir@&$infodir&g
     10175  s&@localedir@&$localedir&g
     10176  s&@mandir@&$mandir&g
     10177    s&\\\${datarootdir}&$datarootdir&g' ;;
     10178esac
     10179_ACEOF
     10180
     10181# Neutralize VPATH when `$srcdir' = `.'.
     10182# Shell code in configure.ac might set extrasub.
     10183# FIXME: do we really want to maintain this feature?
     10184cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10185ac_sed_extra="$ac_vpsub
    877610186$extrasub
    877710187_ACEOF
    8778 cat >>$CONFIG_STATUS <<\_ACEOF
     10188cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    877910189:t
    878010190/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    8781 s,@configure_input@,$configure_input,;t t
    8782 s,@srcdir@,$ac_srcdir,;t t
    8783 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    8784 s,@top_srcdir@,$ac_top_srcdir,;t t
    8785 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    8786 s,@builddir@,$ac_builddir,;t t
    8787 s,@abs_builddir@,$ac_abs_builddir,;t t
    8788 s,@top_builddir@,$ac_top_builddir,;t t
    8789 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    8790 s,@INSTALL@,$ac_INSTALL,;t t
    8791 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    8792   rm -f $tmp/stdin
     10191s|@configure_input@|$ac_sed_conf_input|;t t
     10192s&@top_builddir@&$ac_top_builddir_sub&;t t
     10193s&@top_build_prefix@&$ac_top_build_prefix&;t t
     10194s&@srcdir@&$ac_srcdir&;t t
     10195s&@abs_srcdir@&$ac_abs_srcdir&;t t
     10196s&@top_srcdir@&$ac_top_srcdir&;t t
     10197s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     10198s&@builddir@&$ac_builddir&;t t
     10199s&@abs_builddir@&$ac_abs_builddir&;t t
     10200s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     10201s&@INSTALL@&$ac_INSTALL&;t t
     10202$ac_datarootdir_hack
     10203"
     10204eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     10205  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10206$as_echo "$as_me: error: could not create $ac_file" >&2;}
     10207   { (exit 1); exit 1; }; }
     10208
     10209test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     10210  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     10211  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     10212  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     10213which seems to be undefined.  Please make sure it is defined." >&5
     10214$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     10215which seems to be undefined.  Please make sure it is defined." >&2;}
     10216
     10217  rm -f "$tmp/stdin"
     10218  case $ac_file in
     10219  -) cat "$tmp/out" && rm -f "$tmp/out";;
     10220  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     10221  esac \
     10222  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10223$as_echo "$as_me: error: could not create $ac_file" >&2;}
     10224   { (exit 1); exit 1; }; }
     10225 ;;
     10226  :H)
     10227  #
     10228  # CONFIG_HEADER
     10229  #
    879310230  if test x"$ac_file" != x-; then
    8794     mv $tmp/out $ac_file
    8795   else
    8796     cat $tmp/out
    8797     rm -f $tmp/out
    8798   fi
    8799 
    8800 done
    8801 _ACEOF
    8802 cat >>$CONFIG_STATUS <<\_ACEOF
    8803 
    8804 #
    8805 # CONFIG_HEADER section.
    8806 #
    8807 
    8808 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    8809 # NAME is the cpp macro being defined and VALUE is the value it is being given.
    8810 #
    8811 # ac_d sets the value in "#define NAME VALUE" lines.
    8812 ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
    8813 ac_dB='[     ].*$,\1#\2'
    8814 ac_dC=' '
    8815 ac_dD=',;t'
    8816 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    8817 ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
    8818 ac_uB='$,\1#\2define\3'
    8819 ac_uC=' '
    8820 ac_uD=',;t'
    8821 
    8822 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    8823   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8824   case $ac_file in
    8825   - | *:- | *:-:* ) # input from stdin
    8826     cat >$tmp/stdin
    8827     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8828     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8829   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8830     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8831   * )   ac_file_in=$ac_file.in ;;
    8832   esac
    8833 
    8834   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    8835 echo "$as_me: creating $ac_file" >&6;}
    8836 
    8837   # First look for the input files in the build tree, otherwise in the
    8838   # src tree.
    8839   ac_file_inputs=`IFS=:
    8840     for f in $ac_file_in; do
    8841       case $f in
    8842       -) echo $tmp/stdin ;;
    8843       [\\/$]*)
    8844      # Absolute (can't be DOS-style, as IFS=:)
    8845      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8846 echo "$as_me: error: cannot find input file: $f" >&2;}
     10231    {
     10232      $as_echo "/* $configure_input  */" \
     10233      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     10234    } >"$tmp/config.h" \
     10235      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10236$as_echo "$as_me: error: could not create $ac_file" >&2;}
    884710237   { (exit 1); exit 1; }; }
    8848      # Do quote $f, to prevent DOS paths from being IFS'd.
    8849      echo "$f";;
    8850       *) # Relative
    8851      if test -f "$f"; then
    8852        # Build tree
    8853        echo "$f"
    8854      elif test -f "$srcdir/$f"; then
    8855        # Source tree
    8856        echo "$srcdir/$f"
    8857      else
    8858        # /dev/null tree
    8859        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8860 echo "$as_me: error: cannot find input file: $f" >&2;}
     10238    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     10239      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     10240$as_echo "$as_me: $ac_file is unchanged" >&6;}
     10241    else
     10242      rm -f "$ac_file"
     10243      mv "$tmp/config.h" "$ac_file" \
     10244    || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10245$as_echo "$as_me: error: could not create $ac_file" >&2;}
    886110246   { (exit 1); exit 1; }; }
    8862      fi;;
    8863       esac
    8864     done` || { (exit 1); exit 1; }
    8865   # Remove the trailing spaces.
    8866   sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
    8867 
    8868 _ACEOF
    8869 
    8870 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    8871 # `conftest.undefs', that substitutes the proper values into
    8872 # config.h.in to produce config.h.  The first handles `#define'
    8873 # templates, and the second `#undef' templates.
    8874 # And first: Protect against being on the right side of a sed subst in
    8875 # config.status.  Protect against being in an unquoted here document
    8876 # in config.status.
    8877 rm -f conftest.defines conftest.undefs
    8878 # Using a here document instead of a string reduces the quoting nightmare.
    8879 # Putting comments in sed scripts is not portable.
    8880 #
    8881 # `end' is used to avoid that the second main sed command (meant for
    8882 # 0-ary CPP macros) applies to n-ary macro definitions.
    8883 # See the Autoconf documentation for `clear'.
    8884 cat >confdef2sed.sed <<\_ACEOF
    8885 s/[\\&,]/\\&/g
    8886 s,[\\$`],\\&,g
    8887 t clear
    8888 : clear
    8889 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    8890 t end
    8891 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    8892 : end
    8893 _ACEOF
    8894 # If some macros were called several times there might be several times
    8895 # the same #defines, which is useless.  Nevertheless, we may not want to
    8896 # sort them, since we want the *last* AC-DEFINE to be honored.
    8897 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    8898 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    8899 rm -f confdef2sed.sed
    8900 
    8901 # This sed command replaces #undef with comments.  This is necessary, for
    8902 # example, in the case of _POSIX_SOURCE, which is predefined and required
    8903 # on some systems where configure will not decide to define it.
    8904 cat >>conftest.undefs <<\_ACEOF
    8905 s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    8906 _ACEOF
    8907 
    8908 # Break up conftest.defines because some shells have a limit on the size
    8909 # of here documents, and old seds have small limits too (100 cmds).
    8910 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    8911 echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    8912 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    8913 echo '  :' >>$CONFIG_STATUS
    8914 rm -f conftest.tail
    8915 while grep . conftest.defines >/dev/null
    8916 do
    8917   # Write a limited-size here document to $tmp/defines.sed.
    8918   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    8919   # Speed up: don't consider the non `#define' lines.
    8920   echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
    8921   # Work around the forget-to-reset-the-flag bug.
    8922   echo 't clr' >>$CONFIG_STATUS
    8923   echo ': clr' >>$CONFIG_STATUS
    8924   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
    8925   echo 'CEOF
    8926   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    8927   rm -f $tmp/in
    8928   mv $tmp/out $tmp/in
    8929 ' >>$CONFIG_STATUS
    8930   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    8931   rm -f conftest.defines
    8932   mv conftest.tail conftest.defines
    8933 done
    8934 rm -f conftest.defines
    8935 echo '  fi # grep' >>$CONFIG_STATUS
    8936 echo >>$CONFIG_STATUS
    8937 
    8938 # Break up conftest.undefs because some shells have a limit on the size
    8939 # of here documents, and old seds have small limits too (100 cmds).
    8940 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    8941 rm -f conftest.tail
    8942 while grep . conftest.undefs >/dev/null
    8943 do
    8944   # Write a limited-size here document to $tmp/undefs.sed.
    8945   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    8946   # Speed up: don't consider the non `#undef'
    8947   echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    8948   # Work around the forget-to-reset-the-flag bug.
    8949   echo 't clr' >>$CONFIG_STATUS
    8950   echo ': clr' >>$CONFIG_STATUS
    8951   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    8952   echo 'CEOF
    8953   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    8954   rm -f $tmp/in
    8955   mv $tmp/out $tmp/in
    8956 ' >>$CONFIG_STATUS
    8957   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    8958   rm -f conftest.undefs
    8959   mv conftest.tail conftest.undefs
    8960 done
    8961 rm -f conftest.undefs
    8962 
    8963 cat >>$CONFIG_STATUS <<\_ACEOF
    8964   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8965   # use $as_me), people would be surprised to read:
    8966   #    /* config.h.  Generated by config.status.  */
    8967   if test x"$ac_file" = x-; then
    8968     echo "/* Generated by configure.  */" >$tmp/config.h
    8969   else
    8970     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    8971   fi
    8972   cat $tmp/in >>$tmp/config.h
    8973   rm -f $tmp/in
    8974   if test x"$ac_file" != x-; then
    8975     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
    8976       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    8977 echo "$as_me: $ac_file is unchanged" >&6;}
    8978     else
    8979       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    8980 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8981      X"$ac_file" : 'X\(//\)[^/]' \| \
    8982      X"$ac_file" : 'X\(//\)$' \| \
    8983      X"$ac_file" : 'X\(/\)' \| \
    8984      .     : '\(.\)' 2>/dev/null ||
    8985 echo X"$ac_file" |
    8986     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8987       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8988       /^X\(\/\/\)$/{ s//\1/; q; }
    8989       /^X\(\/\).*/{ s//\1/; q; }
    8990       s/.*/./; q'`
    8991       { if $as_mkdir_p; then
    8992     mkdir -p "$ac_dir"
    8993   else
    8994     as_dir="$ac_dir"
    8995     as_dirs=
    8996     while test ! -d "$as_dir"; do
    8997       as_dirs="$as_dir $as_dirs"
    8998       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9000      X"$as_dir" : 'X\(//\)[^/]' \| \
    9001      X"$as_dir" : 'X\(//\)$' \| \
    9002      X"$as_dir" : 'X\(/\)' \| \
    9003      .     : '\(.\)' 2>/dev/null ||
    9004 echo X"$as_dir" |
    9005     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    9006       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    9007       /^X\(\/\/\)$/{ s//\1/; q; }
    9008       /^X\(\/\).*/{ s//\1/; q; }
    9009       s/.*/./; q'`
    9010     done
    9011     test ! -n "$as_dirs" || mkdir $as_dirs
    9012   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    9013 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    9014    { (exit 1); exit 1; }; }; }
    9015 
    9016       rm -f $ac_file
    9017       mv $tmp/config.h $ac_file
    901810247    fi
    901910248  else
    9020     cat $tmp/config.h
    9021     rm -f $tmp/config.h
     10249    $as_echo "/* $configure_input  */" \
     10250      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     10251      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
     10252$as_echo "$as_me: error: could not create -" >&2;}
     10253   { (exit 1); exit 1; }; }
    902210254  fi
    9023 done
    9024 _ACEOF
    9025 
    9026 cat >>$CONFIG_STATUS <<\_ACEOF
     10255 ;;
     10256
     10257
     10258  esac
     10259
     10260done # for ac_tag
     10261
    902710262
    902810263{ (exit 0); exit 0; }
     
    903010265chmod +x $CONFIG_STATUS
    903110266ac_clean_files=$ac_clean_files_save
     10267
     10268test $ac_write_fail = 0 ||
     10269  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
     10270$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
     10271   { (exit 1); exit 1; }; }
    903210272
    903310273
     
    905810298if test "$no_recursion" != yes; then
    905910299
    9060   # Remove --cache-file and --srcdir arguments so they do not pile up.
     10300  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
     10301  # so they do not pile up.
    906110302  ac_sub_configure_args=
    906210303  ac_prev=
    9063   for ac_arg in $ac_configure_args; do
     10304  eval "set x $ac_configure_args"
     10305  shift
     10306  for ac_arg
     10307  do
    906410308    if test -n "$ac_prev"; then
    906510309      ac_prev=
     
    908410328    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    908510329      ;;
    9086     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
     10330    --disable-option-checking)
     10331      ;;
     10332    *)
     10333      case $ac_arg in
     10334      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     10335      esac
     10336      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
    908710337    esac
    908810338  done
     
    909010340  # Always prepend --prefix to ensure using the same prefix
    909110341  # in subdir configurations.
    9092   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
     10342  ac_arg="--prefix=$prefix"
     10343  case $ac_arg in
     10344  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     10345  esac
     10346  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
     10347
     10348  # Pass --silent
     10349  if test "$silent" = yes; then
     10350    ac_sub_configure_args="--silent $ac_sub_configure_args"
     10351  fi
     10352
     10353  # Always prepend --disable-option-checking to silence warnings, since
     10354  # different subdirs can have different --enable and --with options.
     10355  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
    909310356
    909410357  ac_popdir=`pwd`
     
    909710360    # Do not complain, so a configure script can configure whichever
    909810361    # parts of a large source tree are present.
    9099     test -d $srcdir/$ac_dir || continue
    9100 
    9101     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
    9102 echo "$as_me: configuring in $ac_dir" >&6;}
    9103     { if $as_mkdir_p; then
    9104     mkdir -p "$ac_dir"
    9105   else
    9106     as_dir="$ac_dir"
     10362    test -d "$srcdir/$ac_dir" || continue
     10363
     10364    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
     10365    $as_echo "$as_me:$LINENO: $ac_msg" >&5
     10366    $as_echo "$ac_msg" >&6
     10367    { as_dir="$ac_dir"
     10368  case $as_dir in #(
     10369  -*) as_dir=./$as_dir;;
     10370  esac
     10371  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    910710372    as_dirs=
    9108     while test ! -d "$as_dir"; do
    9109       as_dirs="$as_dir $as_dirs"
    9110       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     10373    while :; do
     10374      case $as_dir in #(
     10375      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     10376      *) as_qdir=$as_dir;;
     10377      esac
     10378      as_dirs="'$as_qdir' $as_dirs"
     10379      as_dir=`$as_dirname -- "$as_dir" ||
    911110380$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    911210381     X"$as_dir" : 'X\(//\)[^/]' \| \
    911310382     X"$as_dir" : 'X\(//\)$' \| \
    9114      X"$as_dir" : 'X\(/\)' \| \
    9115      .     : '\(.\)' 2>/dev/null ||
    9116 echo X"$as_dir" |
    9117     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    9118       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    9119       /^X\(\/\/\)$/{ s//\1/; q; }
    9120       /^X\(\/\).*/{ s//\1/; q; }
    9121       s/.*/./; q'`
     10383     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     10384$as_echo X"$as_dir" |
     10385    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     10386        s//\1/
     10387        q
     10388      }
     10389      /^X\(\/\/\)[^/].*/{
     10390        s//\1/
     10391        q
     10392      }
     10393      /^X\(\/\/\)$/{
     10394        s//\1/
     10395        q
     10396      }
     10397      /^X\(\/\).*/{
     10398        s//\1/
     10399        q
     10400      }
     10401      s/.*/./; q'`
     10402      test -d "$as_dir" && break
    912210403    done
    9123     test ! -n "$as_dirs" || mkdir $as_dirs
    9124   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    9125 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     10404    test -z "$as_dirs" || eval "mkdir $as_dirs"
     10405  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     10406$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    912610407   { (exit 1); exit 1; }; }; }
    9127 
    912810408    ac_builddir=.
    912910409
    9130 if test "$ac_dir" != .; then
    9131   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    9132   # A "../" for each directory in $ac_dir_suffix.
    9133   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    9134 else
    9135   ac_dir_suffix= ac_top_builddir=
    9136 fi
     10410case "$ac_dir" in
     10411.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     10412*)
     10413  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     10414  # A ".." for each directory in $ac_dir_suffix.
     10415  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     10416  case $ac_top_builddir_sub in
     10417  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     10418  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     10419  esac ;;
     10420esac
     10421ac_abs_top_builddir=$ac_pwd
     10422ac_abs_builddir=$ac_pwd$ac_dir_suffix
     10423# for backward compatibility:
     10424ac_top_builddir=$ac_top_build_prefix
    913710425
    913810426case $srcdir in
    9139   .)  # No --srcdir option.  We are building in place.
     10427  .)  # We are building in place.
    914010428    ac_srcdir=.
    9141     if test -z "$ac_top_builddir"; then
    9142        ac_top_srcdir=.
     10429    ac_top_srcdir=$ac_top_builddir_sub
     10430    ac_abs_top_srcdir=$ac_pwd ;;
     10431  [\\/]* | ?:[\\/]* )  # Absolute name.
     10432    ac_srcdir=$srcdir$ac_dir_suffix;
     10433    ac_top_srcdir=$srcdir
     10434    ac_abs_top_srcdir=$srcdir ;;
     10435  *) # Relative name.
     10436    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     10437    ac_top_srcdir=$ac_top_build_prefix$srcdir
     10438    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     10439esac
     10440ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     10441
     10442
     10443    cd "$ac_dir"
     10444
     10445    # Check for guested configure; otherwise get Cygnus style configure.
     10446    if test -f "$ac_srcdir/configure.gnu"; then
     10447      ac_sub_configure=$ac_srcdir/configure.gnu
     10448    elif test -f "$ac_srcdir/configure"; then
     10449      ac_sub_configure=$ac_srcdir/configure
     10450    elif test -f "$ac_srcdir/configure.in"; then
     10451      # This should be Cygnus configure.
     10452      ac_sub_configure=$ac_aux_dir/configure
    914310453    else
    9144        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    9145     fi ;;
    9146   [\\/]* | ?:[\\/]* )  # Absolute path.
    9147     ac_srcdir=$srcdir$ac_dir_suffix;
    9148     ac_top_srcdir=$srcdir ;;
    9149   *) # Relative path.
    9150     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    9151     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    9152 esac
    9153 
    9154 # Do not use `cd foo && pwd` to compute absolute paths, because
    9155 # the directories may not exist.
    9156 case `pwd` in
    9157 .) ac_abs_builddir="$ac_dir";;
    9158 *)
    9159   case "$ac_dir" in
    9160   .) ac_abs_builddir=`pwd`;;
    9161   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    9162   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    9163   esac;;
    9164 esac
    9165 case $ac_abs_builddir in
    9166 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    9167 *)
    9168   case ${ac_top_builddir}. in
    9169   .) ac_abs_top_builddir=$ac_abs_builddir;;
    9170   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    9171   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    9172   esac;;
    9173 esac
    9174 case $ac_abs_builddir in
    9175 .) ac_abs_srcdir=$ac_srcdir;;
    9176 *)
    9177   case $ac_srcdir in
    9178   .) ac_abs_srcdir=$ac_abs_builddir;;
    9179   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    9180   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    9181   esac;;
    9182 esac
    9183 case $ac_abs_builddir in
    9184 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    9185 *)
    9186   case $ac_top_srcdir in
    9187   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    9188   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    9189   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    9190   esac;;
    9191 esac
    9192 
    9193 
    9194     cd $ac_dir
    9195 
    9196     # Check for guested configure; otherwise get Cygnus style configure.
    9197     if test -f $ac_srcdir/configure.gnu; then
    9198       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
    9199     elif test -f $ac_srcdir/configure; then
    9200       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
    9201     elif test -f $ac_srcdir/configure.in; then
    9202       ac_sub_configure=$ac_configure
    9203     else
    9204       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
    9205 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
     10454      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     10455$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    920610456      ac_sub_configure=
    920710457    fi
     
    921210462      case $cache_file in
    921310463      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    9214       *) # Relative path.
    9215     ac_sub_cache_file=$ac_top_builddir$cache_file ;;
     10464      *) # Relative name.
     10465    ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
    921610466      esac
    921710467
    9218       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    9219 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     10468      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     10469$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    922010470      # The eval makes quoting arguments work.
    9221       eval $ac_sub_configure $ac_sub_configure_args \
    9222        --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
    9223     { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    9224 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     10471      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
     10472       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
     10473    { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
     10474$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    922510475   { (exit 1); exit 1; }; }
    922610476    fi
    922710477
    9228     cd $ac_popdir
     10478    cd "$ac_popdir"
    922910479  done
    923010480fi
    9231 
    9232 
    9233 
     10481if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     10482  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     10483$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     10484fi
     10485
     10486
     10487
Note: See TracChangeset for help on using the changeset viewer.