Changeset 25215 for main


Ignore:
Timestamp:
2012-03-13T13:56:43+13:00 (12 years ago)
Author:
kjdon
Message:

changed COMPAT32BITFLAGS to ARCH_DEP_FLAGS in line with greenstone2's configure.in

Location:
main/trunk/gs2build
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gs2build/configure

    r21434 r25215  
    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 common-src"
    312 ac_subdirs_all="$ac_subdirs_all build-src"
    313 ac_subdirs_all="$ac_subdirs_all runtime-src"
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
     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
     673ac_ct_CXX
     674CXXFLAGS
     675CXX
     676OBJEXT
     677EXEEXT
     678ac_ct_CC
     679CPPFLAGS
     680CC
     681CFLAGS
     682LDFLAGS
     683ENABLE_LUCENE
     684ENABLE_MGPP
     685ENABLE_MG
     686ENABLE_JNI
     687USE_APACHE_HTTPD
     688USE_SQLITE
     689ENABLE_ACCENTFOLD
     690USE_YAZ
     691USE_Z3950
     692MICO_DIR
     693USE_CORBA
     694USE_LANGACTION
     695USE_FASTCGI
     696VERSION
     697PACKAGE
     698target_alias
     699host_alias
     700build_alias
     701LIBS
     702ECHO_T
     703ECHO_N
     704ECHO_C
     705DEFS
     706mandir
     707localedir
     708libdir
     709psdir
     710pdfdir
     711dvidir
     712htmldir
     713infodir
     714docdir
     715oldincludedir
     716includedir
     717localstatedir
     718sharedstatedir
     719sysconfdir
     720datadir
     721datarootdir
     722libexecdir
     723sbindir
     724bindir
     725program_transform_name
     726prefix
     727exec_prefix
     728PACKAGE_BUGREPORT
     729PACKAGE_STRING
     730PACKAGE_VERSION
     731PACKAGE_TARNAME
     732PACKAGE_NAME
     733PATH_SEPARATOR
     734SHELL'
    315735ac_subst_files=''
     736ac_user_opts='
     737enable_option_checking
     738enable_corba
     739with_micodir
     740enable_z3950
     741enable_yaz
     742enable_accentfold
     743enable_sqlite
     744enable_apache_httpd
     745enable_jni
     746enable_mg
     747enable_mgpp
     748enable_lucene
     749with_dmalloc
     750with_regex
     751'
     752      ac_precious_vars='build_alias
     753host_alias
     754target_alias
     755CC
     756CFLAGS
     757LDFLAGS
     758LIBS
     759CPPFLAGS
     760CXX
     761CXXFLAGS
     762CCC
     763YACC
     764YFLAGS
     765CPP'
     766ac_subdirs_all='common-src
     767build-src
     768runtime-src'
    316769
    317770# Initialize some variables set by options.
    318771ac_init_help=
    319772ac_init_version=false
     773ac_unrecognized_opts=
     774ac_unrecognized_sep=
    320775# The variables have the same names as the options, with
    321776# dashes changed to underlines.
     
    340795# by default will actually change.
    341796# Use braces instead of parens because sh, perl, etc. also accept them.
     797# (The list follows the same order as the GNU Coding Standards.)
    342798bindir='${exec_prefix}/bin'
    343799sbindir='${exec_prefix}/sbin'
    344800libexecdir='${exec_prefix}/libexec'
    345 datadir='${prefix}/share'
     801datarootdir='${prefix}/share'
     802datadir='${datarootdir}'
    346803sysconfdir='${prefix}/etc'
    347804sharedstatedir='${prefix}/com'
    348805localstatedir='${prefix}/var'
    349 libdir='${exec_prefix}/lib'
    350806includedir='${prefix}/include'
    351807oldincludedir='/usr/include'
    352 infodir='${prefix}/info'
    353 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'
    354817
    355818ac_prev=
     819ac_dashdash=
    356820for ac_option
    357821do
    358822  # If the previous option needs an argument, assign it.
    359823  if test -n "$ac_prev"; then
    360     eval "$ac_prev=\$ac_option"
     824    eval $ac_prev=\$ac_option
    361825    ac_prev=
    362826    continue
    363827  fi
    364828
    365   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
    366833
    367834  # Accept the important Cygnus configure options, so we can diagnose typos.
    368835
    369   case $ac_option in
     836  case $ac_dashdash$ac_option in
     837  --)
     838    ac_dashdash=yes ;;
    370839
    371840  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    389858    cache_file=config.cache ;;
    390859
    391   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     860  -datadir | --datadir | --datadi | --datad)
    392861    ac_prev=datadir ;;
    393   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    394   | --da=*)
     862  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    395863    datadir=$ac_optarg ;;
    396864
     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
    397872  -disable-* | --disable-*)
    398     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     873    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    399874    # Reject names that are not valid shell variable names.
    400     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    401       { 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
    402877   { (exit 1); exit 1; }; }
    403     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    404     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 ;;
    405898
    406899  -enable-* | --enable-*)
    407     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     900    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    408901    # Reject names that are not valid shell variable names.
    409     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    410       { 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
    411904   { (exit 1); exit 1; }; }
    412     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    413     case $ac_option in
    414       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    415       *) 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=', ';;
    416913    esac
    417     eval "enable_$ac_feature='$ac_optarg'" ;;
     914    eval enable_$ac_useropt=\$ac_optarg ;;
    418915
    419916  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    442939    host_alias=$ac_optarg ;;
    443940
     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
    444947  -includedir | --includedir | --includedi | --included | --include \
    445948  | --includ | --inclu | --incl | --inc)
     
    466969    libexecdir=$ac_optarg ;;
    467970
     971  -localedir | --localedir | --localedi | --localed | --locale)
     972    ac_prev=localedir ;;
     973  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     974    localedir=$ac_optarg ;;
     975
    468976  -localstatedir | --localstatedir | --localstatedi | --localstated \
    469   | --localstate | --localstat | --localsta | --localst \
    470   | --locals | --local | --loca | --loc | --lo)
     977  | --localstate | --localstat | --localsta | --localst | --locals)
    471978    ac_prev=localstatedir ;;
    472979  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    473   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    474   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     980  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    475981    localstatedir=$ac_optarg ;;
    476982
     
    5371043    program_transform_name=$ac_optarg ;;
    5381044
     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
    5391055  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    5401056  | -silent | --silent | --silen | --sile | --sil)
     
    5871103
    5881104  -with-* | --with-*)
    589     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1105    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5901106    # Reject names that are not valid shell variable names.
    591     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    592       { 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
    5931109   { (exit 1); exit 1; }; }
    594     ac_package=`echo $ac_package| sed 's/-/_/g'`
    595     case $ac_option in
    596       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    597       *) 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=', ';;
    5981118    esac
    599     eval "with_$ac_package='$ac_optarg'" ;;
     1119    eval with_$ac_useropt=\$ac_optarg ;;
    6001120
    6011121  -without-* | --without-*)
    602     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1122    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6031123    # Reject names that are not valid shell variable names.
    604     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    605       { 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
    6061126   { (exit 1); exit 1; }; }
    607     ac_package=`echo $ac_package | sed 's/-/_/g'`
    608     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 ;;
    6091137
    6101138  --x)
     
    6261154    x_libraries=$ac_optarg ;;
    6271155
    628   -*) { echo "$as_me: error: unrecognized option: $ac_option
     1156  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    6291157Try \`$0 --help' for more information." >&2
    6301158   { (exit 1); exit 1; }; }
     
    6351163    # Reject names that are not valid shell variable names.
    6361164    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    637       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     1165      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6381166   { (exit 1); exit 1; }; }
    639     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    640     eval "$ac_envvar='$ac_optarg'"
     1167    eval $ac_envvar=\$ac_optarg
    6411168    export $ac_envvar ;;
    6421169
    6431170  *)
    6441171    # FIXME: should be removed in autoconf 3.0.
    645     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1172    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    6461173    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    647       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1174      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    6481175    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    6491176    ;;
     
    6541181if test -n "$ac_prev"; then
    6551182  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    656   { echo "$as_me: error: missing argument to $ac_option" >&2
     1183  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    6571184   { (exit 1); exit 1; }; }
    6581185fi
    6591186
    660 # Be sure to have absolute paths.
    661 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
    6621201do
    663   eval ac_val=$`echo $ac_var`
     1202  eval ac_val=\$$ac_var
     1203  # Remove trailing slashes.
    6641204  case $ac_val in
    665     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    666     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    667    { (exit 1); exit 1; }; };;
     1205    */ )
     1206      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1207      eval $ac_var=\$ac_val;;
    6681208  esac
    669 done
    670 
    671 # Be sure to have absolute paths.
    672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    673           localstatedir libdir includedir oldincludedir infodir mandir
    674 do
    675   eval ac_val=$`echo $ac_var`
     1209  # Be sure to have absolute directory names.
    6761210  case $ac_val in
    677     [\\/$]* | ?:[\\/]* ) ;;
    678     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    679    { (exit 1); exit 1; }; };;
     1211    [\\/$]* | ?:[\\/]* )  continue;;
     1212    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6801213  esac
     1214  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1215   { (exit 1); exit 1; }; }
    6811216done
    6821217
     
    6921227  if test "x$build_alias" = x; then
    6931228    cross_compiling=maybe
    694     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.
    6951230    If a cross compiler is detected then cross compile mode will be used." >&2
    6961231  elif test "x$build_alias" != "x$host_alias"; then
     
    7051240
    7061241
     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
    7071252# Find the source files, if location was not specified.
    7081253if test -z "$srcdir"; then
    7091254  ac_srcdir_defaulted=yes
    710   # Try the directory containing this script, then its parent.
    711   ac_confdir=`(dirname "$0") 2>/dev/null ||
    712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    713      X"$0" : 'X\(//\)[^/]' \| \
    714      X"$0" : 'X\(//\)$' \| \
    715      X"$0" : 'X\(/\)' \| \
    716      .     : '\(.\)' 2>/dev/null ||
    717 echo X"$0" |
    718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    719       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    720       /^X\(\/\/\)$/{ s//\1/; q; }
    721       /^X\(\/\).*/{ s//\1/; q; }
    722       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'`
    7231279  srcdir=$ac_confdir
    724   if test ! -r $srcdir/$ac_unique_file; then
     1280  if test ! -r "$srcdir/$ac_unique_file"; then
    7251281    srcdir=..
    7261282  fi
     
    7281284  ac_srcdir_defaulted=no
    7291285fi
    730 if test ! -r $srcdir/$ac_unique_file; then
    731   if test "$ac_srcdir_defaulted" = yes; then
    732     { 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
    7331289   { (exit 1); exit 1; }; }
    734   else
    735     { 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
    7361294   { (exit 1); exit 1; }; }
    737   fi
    738 fi
    739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    740   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    741    { (exit 1); exit 1; }; }
    742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    743 ac_env_build_alias_set=${build_alias+set}
    744 ac_env_build_alias_value=$build_alias
    745 ac_cv_env_build_alias_set=${build_alias+set}
    746 ac_cv_env_build_alias_value=$build_alias
    747 ac_env_host_alias_set=${host_alias+set}
    748 ac_env_host_alias_value=$host_alias
    749 ac_cv_env_host_alias_set=${host_alias+set}
    750 ac_cv_env_host_alias_value=$host_alias
    751 ac_env_target_alias_set=${target_alias+set}
    752 ac_env_target_alias_value=$target_alias
    753 ac_cv_env_target_alias_set=${target_alias+set}
    754 ac_cv_env_target_alias_value=$target_alias
    755 ac_env_CC_set=${CC+set}
    756 ac_env_CC_value=$CC
    757 ac_cv_env_CC_set=${CC+set}
    758 ac_cv_env_CC_value=$CC
    759 ac_env_CFLAGS_set=${CFLAGS+set}
    760 ac_env_CFLAGS_value=$CFLAGS
    761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    762 ac_cv_env_CFLAGS_value=$CFLAGS
    763 ac_env_LDFLAGS_set=${LDFLAGS+set}
    764 ac_env_LDFLAGS_value=$LDFLAGS
    765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    766 ac_cv_env_LDFLAGS_value=$LDFLAGS
    767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    768 ac_env_CPPFLAGS_value=$CPPFLAGS
    769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    771 ac_env_CXX_set=${CXX+set}
    772 ac_env_CXX_value=$CXX
    773 ac_cv_env_CXX_set=${CXX+set}
    774 ac_cv_env_CXX_value=$CXX
    775 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    776 ac_env_CXXFLAGS_value=$CXXFLAGS
    777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    779 ac_env_CPP_set=${CPP+set}
    780 ac_env_CPP_value=$CPP
    781 ac_cv_env_CPP_set=${CPP+set}
    782 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
    7831312
    7841313#
     
    8091338      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8101339
    811 _ACEOF
    812 
    813   cat <<_ACEOF
    8141340Installation directories:
    8151341  --prefix=PREFIX         install architecture-independent files in PREFIX
    816               [$ac_default_prefix]
     1342                          [$ac_default_prefix]
    8171343  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    818               [PREFIX]
     1344                          [PREFIX]
    8191345
    8201346By default, \`make install' will install all the files in
     
    8261352
    8271353Fine tuning of the installation directories:
    828   --bindir=DIR           user executables [EPREFIX/bin]
    829   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    830   --libexecdir=DIR       program executables [EPREFIX/libexec]
    831   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    832   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    833   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    834   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    835   --libdir=DIR           object code libraries [EPREFIX/lib]
    836   --includedir=DIR       C header files [PREFIX/include]
    837   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    838   --infodir=DIR          info documentation [PREFIX/info]
    839   --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]
    8401373_ACEOF
    8411374
     
    8541387
    8551388Optional Features:
     1389  --disable-option-checking  ignore unrecognized --enable/--with options
    8561390  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    8571391  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    8801414  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8811415              nonstandard directory <lib dir>
    882   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    883               headers in a nonstandard directory <include dir>
     1416  LIBS        libraries to pass to the linker, e.g. -l<library>
     1417  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1418              you have headers in a nonstandard directory <include dir>
    8841419  CXX         C++ compiler command
    8851420  CXXFLAGS    C++ compiler flags
     1421  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
     1422              the first program found out of: `bison -y', `byacc', `yacc'.
     1423  YFLAGS      The list of arguments that will be passed by default to $YACC.
     1424              This script will default YFLAGS to the empty string to avoid a
     1425              default value of `-d' given by some make applications.
    8861426  CPP         C preprocessor
    8871427
     
    8901430
    8911431_ACEOF
     1432ac_status=$?
    8921433fi
    8931434
    8941435if test "$ac_init_help" = "recursive"; then
    8951436  # If there are subdirs, report their specific --help.
    896   ac_popdir=`pwd`
    8971437  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    898     test -d $ac_dir || continue
     1438    test -d "$ac_dir" ||
     1439      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1440      continue
    8991441    ac_builddir=.
    9001442
    901 if test "$ac_dir" != .; then
    902   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    903   # A "../" for each directory in $ac_dir_suffix.
    904   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    905 else
    906   ac_dir_suffix= ac_top_builddir=
    907 fi
     1443case "$ac_dir" in
     1444.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1445*)
     1446  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1447  # A ".." for each directory in $ac_dir_suffix.
     1448  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1449  case $ac_top_builddir_sub in
     1450  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1451  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1452  esac ;;
     1453esac
     1454ac_abs_top_builddir=$ac_pwd
     1455ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1456# for backward compatibility:
     1457ac_top_builddir=$ac_top_build_prefix
    9081458
    9091459case $srcdir in
    910   .)  # No --srcdir option.  We are building in place.
     1460  .)  # We are building in place.
    9111461    ac_srcdir=.
    912     if test -z "$ac_top_builddir"; then
    913        ac_top_srcdir=.
     1462    ac_top_srcdir=$ac_top_builddir_sub
     1463    ac_abs_top_srcdir=$ac_pwd ;;
     1464  [\\/]* | ?:[\\/]* )  # Absolute name.
     1465    ac_srcdir=$srcdir$ac_dir_suffix;
     1466    ac_top_srcdir=$srcdir
     1467    ac_abs_top_srcdir=$srcdir ;;
     1468  *) # Relative name.
     1469    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1470    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1471    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1472esac
     1473ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1474
     1475    cd "$ac_dir" || { ac_status=$?; continue; }
     1476    # Check for guested configure.
     1477    if test -f "$ac_srcdir/configure.gnu"; then
     1478      echo &&
     1479      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1480    elif test -f "$ac_srcdir/configure"; then
     1481      echo &&
     1482      $SHELL "$ac_srcdir/configure" --help=recursive
    9141483    else
    915        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    916     fi ;;
    917   [\\/]* | ?:[\\/]* )  # Absolute path.
    918     ac_srcdir=$srcdir$ac_dir_suffix;
    919     ac_top_srcdir=$srcdir ;;
    920   *) # Relative path.
    921     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    922     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    923 esac
    924 
    925 # Do not use `cd foo && pwd` to compute absolute paths, because
    926 # the directories may not exist.
    927 case `pwd` in
    928 .) ac_abs_builddir="$ac_dir";;
    929 *)
    930   case "$ac_dir" in
    931   .) ac_abs_builddir=`pwd`;;
    932   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    933   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    934   esac;;
    935 esac
    936 case $ac_abs_builddir in
    937 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    938 *)
    939   case ${ac_top_builddir}. in
    940   .) ac_abs_top_builddir=$ac_abs_builddir;;
    941   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    942   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    943   esac;;
    944 esac
    945 case $ac_abs_builddir in
    946 .) ac_abs_srcdir=$ac_srcdir;;
    947 *)
    948   case $ac_srcdir in
    949   .) ac_abs_srcdir=$ac_abs_builddir;;
    950   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    951   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    952   esac;;
    953 esac
    954 case $ac_abs_builddir in
    955 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    956 *)
    957   case $ac_top_srcdir in
    958   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    959   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    960   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    961   esac;;
    962 esac
    963 
    964     cd $ac_dir
    965     # Check for guested configure; otherwise get Cygnus style configure.
    966     if test -f $ac_srcdir/configure.gnu; then
    967       echo
    968       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    969     elif test -f $ac_srcdir/configure; then
    970       echo
    971       $SHELL $ac_srcdir/configure  --help=recursive
    972     elif test -f $ac_srcdir/configure.ac ||
    973        test -f $ac_srcdir/configure.in; then
    974       echo
    975       $ac_configure --help
    976     else
    977       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    978     fi
    979     cd $ac_popdir
     1484      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1485    fi || ac_status=$?
     1486    cd "$ac_pwd" || { ac_status=$?; break; }
    9801487  done
    9811488fi
    9821489
    983 test -n "$ac_init_help" && exit 0
     1490test -n "$ac_init_help" && exit $ac_status
    9841491if $ac_init_version; then
    9851492  cat <<\_ACEOF
    986 
    987 Copyright (C) 2003 Free Software Foundation, Inc.
     1493configure
     1494generated by GNU Autoconf 2.63
     1495
     1496Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     14972002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    9881498This configure script is free software; the Free Software Foundation
    9891499gives unlimited permission to copy, distribute and modify it.
    9901500_ACEOF
    991   exit 0
    992 fi
    993 exec 5>config.log
    994 cat >&5 <<_ACEOF
     1501  exit
     1502fi
     1503cat >config.log <<_ACEOF
    9951504This file contains any messages produced by compilers while
    9961505running configure, to aid debugging if configure makes a mistake.
    9971506
    9981507It was created by $as_me, which was
    999 generated by GNU Autoconf 2.59.  Invocation command line was
     1508generated by GNU Autoconf 2.63.  Invocation command line was
    10001509
    10011510  $ $0 $@
    10021511
    10031512_ACEOF
     1513exec 5>>config.log
    10041514{
    10051515cat <<_ASUNAME
     
    10201530/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10211531/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1022 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1532/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10231533/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10241534/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10321542  IFS=$as_save_IFS
    10331543  test -z "$as_dir" && as_dir=.
    1034   echo "PATH: $as_dir"
     1544  $as_echo "PATH: $as_dir"
    10351545done
     1546IFS=$as_save_IFS
    10361547
    10371548} >&5
     
    10551566ac_configure_args0=
    10561567ac_configure_args1=
    1057 ac_sep=
    10581568ac_must_keep_next=false
    10591569for ac_pass in 1 2
     
    10661576    | -silent | --silent | --silen | --sile | --sil)
    10671577      continue ;;
    1068     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1069       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1578    *\'*)
     1579      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10701580    esac
    10711581    case $ac_pass in
     
    10881598    esac
    10891599      fi
    1090       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1091       # Get rid of the leading space.
    1092       ac_sep=" "
     1600      ac_configure_args="$ac_configure_args '$ac_arg'"
    10931601      ;;
    10941602    esac
     
    11011609# config.log.  We remove comments because anyway the quotes in there
    11021610# would cause problems or look ugly.
    1103 # WARNING: Be sure not to use single quotes in there, as some shells,
    1104 # such as our DU 5.0 friend, will then `close' the trap.
     1611# WARNING: Use '\'' to represent an apostrophe within the trap.
     1612# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    11051613trap 'exit_status=$?
    11061614  # Save into config.log some information that might help in debugging.
     
    11151623    echo
    11161624    # The following way of writing the cache mishandles newlines in values,
    1117 {
     1625(
     1626  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1627    eval ac_val=\$$ac_var
     1628    case $ac_val in #(
     1629    *${as_nl}*)
     1630      case $ac_var in #(
     1631      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     1632$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     1633      esac
     1634      case $ac_var in #(
     1635      _ | IFS | as_nl) ;; #(
     1636      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     1637      *) $as_unset $ac_var ;;
     1638      esac ;;
     1639    esac
     1640  done
    11181641  (set) 2>&1 |
    1119     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1120     *ac_space=\ *)
     1642    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1643    *${as_nl}ac_space=\ *)
    11211644      sed -n \
    1122     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1123       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1645    "s/'\''/'\''\\\\'\'''\''/g;
     1646      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1647      ;; #(
     1648    *)
     1649      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11241650      ;;
    1125     *)
    1126       sed -n \
    1127     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1128       ;;
    1129     esac;
    1130 }
     1651    esac |
     1652    sort
     1653)
    11311654    echo
    11321655
     
    11391662    for ac_var in $ac_subst_vars
    11401663    do
    1141       eval ac_val=$`echo $ac_var`
    1142       echo "$ac_var='"'"'$ac_val'"'"'"
     1664      eval ac_val=\$$ac_var
     1665      case $ac_val in
     1666      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1667      esac
     1668      $as_echo "$ac_var='\''$ac_val'\''"
    11431669    done | sort
    11441670    echo
     
    11461672    if test -n "$ac_subst_files"; then
    11471673      cat <<\_ASBOX
    1148 ## ------------- ##
    1149 ## Output files. ##
    1150 ## ------------- ##
     1674## ------------------- ##
     1675## File substitutions. ##
     1676## ------------------- ##
    11511677_ASBOX
    11521678      echo
    11531679      for ac_var in $ac_subst_files
    11541680      do
    1155     eval ac_val=$`echo $ac_var`
    1156     echo "$ac_var='"'"'$ac_val'"'"'"
     1681    eval ac_val=\$$ac_var
     1682    case $ac_val in
     1683    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1684    esac
     1685    $as_echo "$ac_var='\''$ac_val'\''"
    11571686      done | sort
    11581687      echo
     
    11661695_ASBOX
    11671696      echo
    1168       sed "/^$/d" confdefs.h | sort
     1697      cat confdefs.h
    11691698      echo
    11701699    fi
    11711700    test "$ac_signal" != 0 &&
    1172       echo "$as_me: caught signal $ac_signal"
    1173     echo "$as_me: exit $exit_status"
     1701      $as_echo "$as_me: caught signal $ac_signal"
     1702    $as_echo "$as_me: exit $exit_status"
    11741703  } >&5
    1175   rm -f core *.core &&
    1176   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1704  rm -f core *.core core.conftest.* &&
     1705    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11771706    exit $exit_status
    1178      ' 0
     1707' 0
    11791708for ac_signal in 1 2 13 15; do
    11801709  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11831712
    11841713# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1185 rm -rf conftest* confdefs.h
    1186 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1187 echo >confdefs.h
     1714rm -f -r conftest* confdefs.h
    11881715
    11891716# Predefined preprocessor variables.
     
    12151742
    12161743# Let the site file select an alternate cache file if it wants to.
    1217 # Prefer explicitly selected file to automatically selected ones.
    1218 if test -z "$CONFIG_SITE"; then
    1219   if test "x$prefix" != xNONE; then
    1220     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1221   else
    1222     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1223   fi
    1224 fi
    1225 for ac_site_file in $CONFIG_SITE; do
     1744# Prefer an explicitly selected file to automatically selected ones.
     1745ac_site_file1=NONE
     1746ac_site_file2=NONE
     1747if test -n "$CONFIG_SITE"; then
     1748  ac_site_file1=$CONFIG_SITE
     1749elif test "x$prefix" != xNONE; then
     1750  ac_site_file1=$prefix/share/config.site
     1751  ac_site_file2=$prefix/etc/config.site
     1752else
     1753  ac_site_file1=$ac_default_prefix/share/config.site
     1754  ac_site_file2=$ac_default_prefix/etc/config.site
     1755fi
     1756for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     1757do
     1758  test "x$ac_site_file" = xNONE && continue
    12261759  if test -r "$ac_site_file"; then
    1227     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1228 echo "$as_me: loading site script $ac_site_file" >&6;}
     1760    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1761$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    12291762    sed 's/^/| /' "$ac_site_file" >&5
    12301763    . "$ac_site_file"
     
    12361769  # files actually), so we avoid doing that.
    12371770  if test -f "$cache_file"; then
    1238     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1239 echo "$as_me: loading cache $cache_file" >&6;}
     1771    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1772$as_echo "$as_me: loading cache $cache_file" >&6;}
    12401773    case $cache_file in
    1241       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1242       *)                      . ./$cache_file;;
     1774      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1775      *)                      . "./$cache_file";;
    12431776    esac
    12441777  fi
    12451778else
    1246   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1247 echo "$as_me: creating cache $cache_file" >&6;}
     1779  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1780$as_echo "$as_me: creating cache $cache_file" >&6;}
    12481781  >$cache_file
    12491782fi
     
    12521785# value.
    12531786ac_cache_corrupted=false
    1254 for ac_var in `(set) 2>&1 |
    1255            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1787for ac_var in $ac_precious_vars; do
    12561788  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12571789  eval ac_new_set=\$ac_env_${ac_var}_set
    1258   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1259   eval ac_new_val="\$ac_env_${ac_var}_value"
     1790  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1791  eval ac_new_val=\$ac_env_${ac_var}_value
    12601792  case $ac_old_set,$ac_new_set in
    12611793    set,)
    1262       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1263 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1794      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1795$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    12641796      ac_cache_corrupted=: ;;
    12651797    ,set)
    1266       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1267 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1798      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1799$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    12681800      ac_cache_corrupted=: ;;
    12691801    ,);;
    12701802    *)
    12711803      if test "x$ac_old_val" != "x$ac_new_val"; then
    1272     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1273 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1274     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1275 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1276     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1277 echo "$as_me:   current value: $ac_new_val" >&2;}
    1278     ac_cache_corrupted=:
     1804    # differences in whitespace do not lead to failure.
     1805    ac_old_val_w=`echo x $ac_old_val`
     1806    ac_new_val_w=`echo x $ac_new_val`
     1807    if test "$ac_old_val_w" != "$ac_new_val_w"; then
     1808      { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1809$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1810      ac_cache_corrupted=:
     1811    else
     1812      { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1813$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     1814      eval $ac_var=\$ac_old_val
     1815    fi
     1816    { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     1817$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     1818    { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     1819$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    12791820      fi;;
    12801821  esac
     
    12821823  if test "$ac_new_set" = set; then
    12831824    case $ac_new_val in
    1284     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1285       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1825    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12861826    *) ac_arg=$ac_var=$ac_new_val ;;
    12871827    esac
     
    12931833done
    12941834if $ac_cache_corrupted; then
    1295   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1296 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1297   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1298 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1835  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     1836$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     1837  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1838$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1839  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1840$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    12991841   { (exit 1); exit 1; }; }
    13001842fi
     1843
     1844
     1845
     1846
     1847
     1848
     1849
     1850
     1851
     1852
     1853
     1854
     1855
     1856
     1857
     1858
    13011859
    13021860ac_ext=c
     
    13071865
    13081866
    1309 
    1310 
    1311 
    1312 
    1313 
    1314 
    1315 
    1316 
    1317 
    1318 
    1319 
    1320 
    1321 
    1322 
    1323 
    1324 
    1325 
    1326           ac_config_headers="$ac_config_headers config.h"
     1867ac_config_headers="$ac_config_headers config.h"
    13271868
    13281869
     
    13571898fi
    13581899
    1359 # Check whether --enable-corba or --disable-corba was given.
     1900# Check whether --enable-corba was given.
    13601901if test "${enable_corba+set}" = set; then
    1361   enableval="$enable_corba"
    1362   USE_CORBA=1
     1902  enableval=$enable_corba; USE_CORBA=1
    13631903else
    13641904  USE_CORBA=0
    1365 fi;
     1905fi
     1906
    13661907cat >>confdefs.h <<_ACEOF
    13671908#define USE_CORBA $USE_CORBA
     
    13711912
    13721913
    1373 # Check whether --with-micodir or --without-micodir was given.
     1914# Check whether --with-micodir was given.
    13741915if test "${with_micodir+set}" = set; then
    1375   withval="$with_micodir"
    1376   MICO_DIR=$withval
     1916  withval=$with_micodir; MICO_DIR=$withval
    13771917else
    13781918  MICO_DIR="default"
    1379 fi;
     1919fi
     1920
    13801921cat >>confdefs.h <<_ACEOF
    13811922#define MICO_DIR "$MICO_DIR"
     
    13841925
    13851926
    1386 # Check whether --enable-z3950 or --disable-z3950 was given.
     1927# Check whether --enable-z3950 was given.
    13871928if test "${enable_z3950+set}" = set; then
    1388   enableval="$enable_z3950"
    1389   USE_Z3950=1
     1929  enableval=$enable_z3950; USE_Z3950=1
    13901930else
    13911931  USE_Z3950=0
    1392 fi;
     1932fi
     1933
    13931934if test USE_Z3950 = 1; then
    13941935cat >>confdefs.h <<\_ACEOF
     
    13991940fi
    14001941
    1401 # Check whether --enable-yaz or --disable-yaz was given.
     1942# Check whether --enable-yaz was given.
    14021943if test "${enable_yaz+set}" = set; then
    1403   enableval="$enable_yaz"
    1404   USE_YAZ=0
     1944  enableval=$enable_yaz; USE_YAZ=0
    14051945else
    14061946  USE_YAZ=1
    1407 fi;
     1947fi
     1948
    14081949cat >>confdefs.h <<\_ACEOF
    14091950#define USE_YAZ $USE_YAZ
     
    14121953
    14131954
    1414 # Check whether --enable-accentfold or --disable-accentfold was given.
     1955# Check whether --enable-accentfold was given.
    14151956if test "${enable_accentfold+set}" = set; then
    1416   enableval="$enable_accentfold"
    1417   ENABLE_ACCENTFOLD=0
     1957  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
    14181958else
    14191959  ENABLE_ACCENTFOLD=1
    1420 fi;
     1960fi
     1961
    14211962cat >>confdefs.h <<\_ACEOF
    14221963#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    14251966
    14261967
    1427 # Check whether --enable-sqlite or --disable-sqlite was given.
     1968# Check whether --enable-sqlite was given.
    14281969if test "${enable_sqlite+set}" = set; then
    1429   enableval="$enable_sqlite"
    1430   USE_SQLITE=0
     1970  enableval=$enable_sqlite; USE_SQLITE=0
    14311971else
    14321972  USE_SQLITE=1
    1433 fi;
     1973fi
     1974
    14341975cat >>confdefs.h <<\_ACEOF
    14351976#define USE_SQLITE $USE_SQLITE
     
    14391980
    14401981if test -d runtime-src; then
    1441    # Check whether --enable-apache-httpd or --disable-apache-httpd was given.
     1982   # Check whether --enable-apache-httpd was given.
    14421983if test "${enable_apache_httpd+set}" = set; then
    1443   enableval="$enable_apache_httpd"
    1444   USE_APACHE_HTTPD=1
     1984  enableval=$enable_apache_httpd; USE_APACHE_HTTPD=1
    14451985else
    14461986  USE_APACHE_HTTPD=0
    1447 fi;
     1987fi
     1988
    14481989   cat >>confdefs.h <<\_ACEOF
    14491990#define USE_APACHE_HTTPD $USE_APACHE_HTTPD
     
    14531994fi
    14541995
    1455 # Check whether --enable-jni or --disable-jni was given.
     1996# Check whether --enable-jni was given.
    14561997if test "${enable_jni+set}" = set; then
    1457   enableval="$enable_jni"
    1458   ENABLE_JNI=$enableval
     1998  enableval=$enable_jni; ENABLE_JNI=$enableval
    14591999else
    14602000  ENABLE_JNI=no
    1461 fi;
     2001fi
     2002
    14622003if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
    14632004  ENABLE_JNI=1
    14642005  cat >>confdefs.h <<\_ACEOF
    1465 #define ENABLE_JNI
     2006#define ENABLE_JNI /**/
    14662007_ACEOF
    14672008
     
    14712012
    14722013
    1473 # Check whether --enable-mg or --disable-mg was given.
     2014# Check whether --enable-mg was given.
    14742015if test "${enable_mg+set}" = set; then
    1475   enableval="$enable_mg"
    1476   ENABLE_MG=$enableval
     2016  enableval=$enable_mg; ENABLE_MG=$enableval
    14772017else
    14782018  ENABLE_MG=yes
    1479 fi;
     2019fi
     2020
    14802021if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
    14812022  ENABLE_MG=1
    14822023  cat >>confdefs.h <<\_ACEOF
    1483 #define ENABLE_MG
     2024#define ENABLE_MG /**/
    14842025_ACEOF
    14852026
     
    14902031
    14912032
    1492 # Check whether --enable-mgpp or --disable-mgpp was given.
     2033# Check whether --enable-mgpp was given.
    14932034if test "${enable_mgpp+set}" = set; then
    1494   enableval="$enable_mgpp"
    1495   ENABLE_MGPP=$enableval
     2035  enableval=$enable_mgpp; ENABLE_MGPP=$enableval
    14962036else
    14972037  ENABLE_MGPP=yes
    1498 fi;
     2038fi
     2039
    14992040if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
    15002041  ENABLE_MGPP=1
    15012042  cat >>confdefs.h <<\_ACEOF
    1502 #define ENABLE_MGPP
     2043#define ENABLE_MGPP /**/
    15032044_ACEOF
    15042045
     
    15082049
    15092050
    1510 # Check whether --enable-lucene or --disable-lucene was given.
     2051# Check whether --enable-lucene was given.
    15112052if test "${enable_lucene+set}" = set; then
    1512   enableval="$enable_lucene"
    1513   ENABLE_LUCENE=$enableval
     2053  enableval=$enable_lucene; ENABLE_LUCENE=$enableval
    15142054else
    15152055  ENABLE_LUCENE=yes
    1516 fi;
     2056fi
     2057
    15172058if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
    15182059  ENABLE_LUCENE=1
    15192060  cat >>confdefs.h <<\_ACEOF
    1520 #define ENABLE_LUCENE
     2061#define ENABLE_LUCENE /**/
    15212062_ACEOF
    15222063
     
    15422083  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    15432084set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1544 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2085{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2086$as_echo_n "checking for $ac_word... " >&6; }
    15462087if test "${ac_cv_prog_CC+set}" = set; then
    1547   echo $ECHO_N "(cached) $ECHO_C" >&6
     2088  $as_echo_n "(cached) " >&6
    15482089else
    15492090  if test -n "$CC"; then
     
    15562097  test -z "$as_dir" && as_dir=.
    15572098  for ac_exec_ext in '' $ac_executable_extensions; do
    1558   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2099  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15592100    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1560     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2101    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    15612102    break 2
    15622103  fi
    15632104done
    15642105done
     2106IFS=$as_save_IFS
    15652107
    15662108fi
     
    15682110CC=$ac_cv_prog_CC
    15692111if test -n "$CC"; then
    1570   echo "$as_me:$LINENO: result: $CC" >&5
    1571 echo "${ECHO_T}$CC" >&6
    1572 else
    1573   echo "$as_me:$LINENO: result: no" >&5
    1574 echo "${ECHO_T}no" >&6
    1575 fi
     2112  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2113$as_echo "$CC" >&6; }
     2114else
     2115  { $as_echo "$as_me:$LINENO: result: no" >&5
     2116$as_echo "no" >&6; }
     2117fi
     2118
    15762119
    15772120fi
     
    15802123  # Extract the first word of "gcc", so it can be a program name with args.
    15812124set dummy gcc; ac_word=$2
    1582 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2125{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2126$as_echo_n "checking for $ac_word... " >&6; }
    15842127if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1585   echo $ECHO_N "(cached) $ECHO_C" >&6
     2128  $as_echo_n "(cached) " >&6
    15862129else
    15872130  if test -n "$ac_ct_CC"; then
     
    15942137  test -z "$as_dir" && as_dir=.
    15952138  for ac_exec_ext in '' $ac_executable_extensions; do
    1596   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2139  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15972140    ac_cv_prog_ac_ct_CC="gcc"
    1598     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2141    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    15992142    break 2
    16002143  fi
    16012144done
    16022145done
     2146IFS=$as_save_IFS
    16032147
    16042148fi
     
    16062150ac_ct_CC=$ac_cv_prog_ac_ct_CC
    16072151if test -n "$ac_ct_CC"; then
    1608   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1609 echo "${ECHO_T}$ac_ct_CC" >&6
    1610 else
    1611   echo "$as_me:$LINENO: result: no" >&5
    1612 echo "${ECHO_T}no" >&6
    1613 fi
    1614 
    1615   CC=$ac_ct_CC
     2152  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2153$as_echo "$ac_ct_CC" >&6; }
     2154else
     2155  { $as_echo "$as_me:$LINENO: result: no" >&5
     2156$as_echo "no" >&6; }
     2157fi
     2158
     2159  if test "x$ac_ct_CC" = x; then
     2160    CC=""
     2161  else
     2162    case $cross_compiling:$ac_tool_warned in
     2163yes:)
     2164{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2165$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2166ac_tool_warned=yes ;;
     2167esac
     2168    CC=$ac_ct_CC
     2169  fi
    16162170else
    16172171  CC="$ac_cv_prog_CC"
     
    16192173
    16202174if test -z "$CC"; then
    1621   if test -n "$ac_tool_prefix"; then
    1622   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2175          if test -n "$ac_tool_prefix"; then
     2176    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    16232177set dummy ${ac_tool_prefix}cc; ac_word=$2
    1624 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2178{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2179$as_echo_n "checking for $ac_word... " >&6; }
    16262180if test "${ac_cv_prog_CC+set}" = set; then
    1627   echo $ECHO_N "(cached) $ECHO_C" >&6
     2181  $as_echo_n "(cached) " >&6
    16282182else
    16292183  if test -n "$CC"; then
     
    16362190  test -z "$as_dir" && as_dir=.
    16372191  for ac_exec_ext in '' $ac_executable_extensions; do
    1638   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2192  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16392193    ac_cv_prog_CC="${ac_tool_prefix}cc"
    1640     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2194    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    16412195    break 2
    16422196  fi
    16432197done
    16442198done
     2199IFS=$as_save_IFS
    16452200
    16462201fi
     
    16482203CC=$ac_cv_prog_CC
    16492204if test -n "$CC"; then
    1650   echo "$as_me:$LINENO: result: $CC" >&5
    1651 echo "${ECHO_T}$CC" >&6
    1652 else
    1653   echo "$as_me:$LINENO: result: no" >&5
    1654 echo "${ECHO_T}no" >&6
    1655 fi
    1656 
    1657 fi
    1658 if test -z "$ac_cv_prog_CC"; then
    1659   ac_ct_CC=$CC
    1660   # Extract the first word of "cc", so it can be a program name with args.
    1661 set dummy cc; ac_word=$2
    1662 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1664 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1665   echo $ECHO_N "(cached) $ECHO_C" >&6
    1666 else
    1667   if test -n "$ac_ct_CC"; then
    1668   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1669 else
    1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1671 for as_dir in $PATH
    1672 do
    1673   IFS=$as_save_IFS
    1674   test -z "$as_dir" && as_dir=.
    1675   for ac_exec_ext in '' $ac_executable_extensions; do
    1676   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1677     ac_cv_prog_ac_ct_CC="cc"
    1678     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1679     break 2
     2205  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2206$as_echo "$CC" >&6; }
     2207else
     2208  { $as_echo "$as_me:$LINENO: result: no" >&5
     2209$as_echo "no" >&6; }
     2210fi
     2211
     2212
    16802213  fi
    1681 done
    1682 done
    1683 
    1684 fi
    1685 fi
    1686 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1687 if test -n "$ac_ct_CC"; then
    1688   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1689 echo "${ECHO_T}$ac_ct_CC" >&6
    1690 else
    1691   echo "$as_me:$LINENO: result: no" >&5
    1692 echo "${ECHO_T}no" >&6
    1693 fi
    1694 
    1695   CC=$ac_ct_CC
    1696 else
    1697   CC="$ac_cv_prog_CC"
    1698 fi
    1699 
    17002214fi
    17012215if test -z "$CC"; then
    17022216  # Extract the first word of "cc", so it can be a program name with args.
    17032217set dummy cc; ac_word=$2
    1704 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2218{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2219$as_echo_n "checking for $ac_word... " >&6; }
    17062220if test "${ac_cv_prog_CC+set}" = set; then
    1707   echo $ECHO_N "(cached) $ECHO_C" >&6
     2221  $as_echo_n "(cached) " >&6
    17082222else
    17092223  if test -n "$CC"; then
     
    17172231  test -z "$as_dir" && as_dir=.
    17182232  for ac_exec_ext in '' $ac_executable_extensions; do
    1719   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2233  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17202234    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    17212235       ac_prog_rejected=yes
     
    17232237     fi
    17242238    ac_cv_prog_CC="cc"
    1725     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2239    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    17262240    break 2
    17272241  fi
    17282242done
    17292243done
     2244IFS=$as_save_IFS
    17302245
    17312246if test $ac_prog_rejected = yes; then
     
    17452260CC=$ac_cv_prog_CC
    17462261if test -n "$CC"; then
    1747   echo "$as_me:$LINENO: result: $CC" >&5
    1748 echo "${ECHO_T}$CC" >&6
    1749 else
    1750   echo "$as_me:$LINENO: result: no" >&5
    1751 echo "${ECHO_T}no" >&6
    1752 fi
     2262  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2263$as_echo "$CC" >&6; }
     2264else
     2265  { $as_echo "$as_me:$LINENO: result: no" >&5
     2266$as_echo "no" >&6; }
     2267fi
     2268
    17532269
    17542270fi
    17552271if test -z "$CC"; then
    17562272  if test -n "$ac_tool_prefix"; then
    1757   for ac_prog in cl
     2273  for ac_prog in cl.exe
    17582274  do
    17592275    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    17602276set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1761 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2277{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2278$as_echo_n "checking for $ac_word... " >&6; }
    17632279if test "${ac_cv_prog_CC+set}" = set; then
    1764   echo $ECHO_N "(cached) $ECHO_C" >&6
     2280  $as_echo_n "(cached) " >&6
    17652281else
    17662282  if test -n "$CC"; then
     
    17732289  test -z "$as_dir" && as_dir=.
    17742290  for ac_exec_ext in '' $ac_executable_extensions; do
    1775   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2291  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17762292    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1777     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2293    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    17782294    break 2
    17792295  fi
    17802296done
    17812297done
     2298IFS=$as_save_IFS
    17822299
    17832300fi
     
    17852302CC=$ac_cv_prog_CC
    17862303if test -n "$CC"; then
    1787   echo "$as_me:$LINENO: result: $CC" >&5
    1788 echo "${ECHO_T}$CC" >&6
    1789 else
    1790   echo "$as_me:$LINENO: result: no" >&5
    1791 echo "${ECHO_T}no" >&6
    1792 fi
     2304  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2305$as_echo "$CC" >&6; }
     2306else
     2307  { $as_echo "$as_me:$LINENO: result: no" >&5
     2308$as_echo "no" >&6; }
     2309fi
     2310
    17932311
    17942312    test -n "$CC" && break
     
    17972315if test -z "$CC"; then
    17982316  ac_ct_CC=$CC
    1799   for ac_prog in cl
     2317  for ac_prog in cl.exe
    18002318do
    18012319  # Extract the first word of "$ac_prog", so it can be a program name with args.
    18022320set dummy $ac_prog; ac_word=$2
    1803 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2321{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2322$as_echo_n "checking for $ac_word... " >&6; }
    18052323if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1806   echo $ECHO_N "(cached) $ECHO_C" >&6
     2324  $as_echo_n "(cached) " >&6
    18072325else
    18082326  if test -n "$ac_ct_CC"; then
     
    18152333  test -z "$as_dir" && as_dir=.
    18162334  for ac_exec_ext in '' $ac_executable_extensions; do
    1817   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2335  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18182336    ac_cv_prog_ac_ct_CC="$ac_prog"
    1819     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2337    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18202338    break 2
    18212339  fi
    18222340done
    18232341done
     2342IFS=$as_save_IFS
    18242343
    18252344fi
     
    18272346ac_ct_CC=$ac_cv_prog_ac_ct_CC
    18282347if test -n "$ac_ct_CC"; then
    1829   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1830 echo "${ECHO_T}$ac_ct_CC" >&6
    1831 else
    1832   echo "$as_me:$LINENO: result: no" >&5
    1833 echo "${ECHO_T}no" >&6
    1834 fi
     2348  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2349$as_echo "$ac_ct_CC" >&6; }
     2350else
     2351  { $as_echo "$as_me:$LINENO: result: no" >&5
     2352$as_echo "no" >&6; }
     2353fi
     2354
    18352355
    18362356  test -n "$ac_ct_CC" && break
    18372357done
    18382358
    1839   CC=$ac_ct_CC
    1840 fi
    1841 
    1842 fi
    1843 
    1844 
    1845 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2359  if test "x$ac_ct_CC" = x; then
     2360    CC=""
     2361  else
     2362    case $cross_compiling:$ac_tool_warned in
     2363yes:)
     2364{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2365$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2366ac_tool_warned=yes ;;
     2367esac
     2368    CC=$ac_ct_CC
     2369  fi
     2370fi
     2371
     2372fi
     2373
     2374
     2375test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2376$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2377{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    18462378See \`config.log' for more details." >&5
    1847 echo "$as_me: error: no acceptable C compiler found in \$PATH
     2379$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    18482380See \`config.log' for more details." >&2;}
    1849    { (exit 1); exit 1; }; }
     2381   { (exit 1); exit 1; }; }; }
    18502382
    18512383# Provide some information about the compiler.
    1852 echo "$as_me:$LINENO:" \
    1853      "checking for C compiler version" >&5
    1854 ac_compiler=`set X $ac_compile; echo $2`
    1855 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1856   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2384$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     2385set X $ac_compile
     2386ac_compiler=$2
     2387{ (ac_try="$ac_compiler --version >&5"
     2388case "(($ac_try" in
     2389  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2390  *) ac_try_echo=$ac_try;;
     2391esac
     2392eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2393$as_echo "$ac_try_echo") >&5
     2394  (eval "$ac_compiler --version >&5") 2>&5
    18572395  ac_status=$?
    1858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2396  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18592397  (exit $ac_status); }
    1860 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1861   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2398{ (ac_try="$ac_compiler -v >&5"
     2399case "(($ac_try" in
     2400  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2401  *) ac_try_echo=$ac_try;;
     2402esac
     2403eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2404$as_echo "$ac_try_echo") >&5
     2405  (eval "$ac_compiler -v >&5") 2>&5
    18622406  ac_status=$?
    1863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2407  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18642408  (exit $ac_status); }
    1865 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1866   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2409{ (ac_try="$ac_compiler -V >&5"
     2410case "(($ac_try" in
     2411  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2412  *) ac_try_echo=$ac_try;;
     2413esac
     2414eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2415$as_echo "$ac_try_echo") >&5
     2416  (eval "$ac_compiler -V >&5") 2>&5
    18672417  ac_status=$?
    1868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2418  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18692419  (exit $ac_status); }
    18702420
     
    18852435_ACEOF
    18862436ac_clean_files_save=$ac_clean_files
    1887 ac_clean_files="$ac_clean_files a.out a.exe b.out"
     2437ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    18882438# Try to create an executable without -o first, disregard a.out.
    18892439# It will help us diagnose broken compilers, and finding out an intuition
    18902440# of exeext.
    1891 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1892 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    1893 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1894 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1895   (eval $ac_link_default) 2>&5
     2441{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2442$as_echo_n "checking for C compiler default output file name... " >&6; }
     2443ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2444
     2445# The possible output files:
     2446ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2447
     2448ac_rmfiles=
     2449for ac_file in $ac_files
     2450do
     2451  case $ac_file in
     2452    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2453    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2454  esac
     2455done
     2456rm -f $ac_rmfiles
     2457
     2458if { (ac_try="$ac_link_default"
     2459case "(($ac_try" in
     2460  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2461  *) ac_try_echo=$ac_try;;
     2462esac
     2463eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2464$as_echo "$ac_try_echo") >&5
     2465  (eval "$ac_link_default") 2>&5
    18962466  ac_status=$?
    1897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2467  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18982468  (exit $ac_status); }; then
    1899   # Find the output, starting from the most likely.  This scheme is
    1900 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1901 # resort.
    1902 
    1903 # Be careful to initialize this variable, since it used to be cached.
    1904 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1905 ac_cv_exeext=
    1906 # b.out is created by i960 compilers.
    1907 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2469  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2470# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2471# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2472# so that the user can short-circuit this test for compilers unknown to
     2473# Autoconf.
     2474for ac_file in $ac_files ''
    19082475do
    19092476  test -f "$ac_file" || continue
    19102477  case $ac_file in
    1911     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1912     ;;
    1913     conftest.$ac_ext )
    1914     # This is the source file.
     2478    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    19152479    ;;
    19162480    [ab].out )
     
    19192483    break;;
    19202484    *.* )
    1921     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1922     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1923     # but it would be cool to find out if it's true.  Does anybody
    1924     # maintain Libtool? --akim.
    1925     export ac_cv_exeext
     2485        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2486    then :; else
     2487       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2488    fi
     2489    # We set ac_cv_exeext here because the later test for it is not
     2490    # safe: cross compilers may not add the suffix if given an `-o'
     2491    # argument, so we may need to know it at that point already.
     2492    # Even if this section looks crufty: it has the advantage of
     2493    # actually working.
    19262494    break;;
    19272495    * )
     
    19292497  esac
    19302498done
    1931 else
    1932   echo "$as_me: failed program was:" >&5
     2499test "$ac_cv_exeext" = no && ac_cv_exeext=
     2500
     2501else
     2502  ac_file=''
     2503fi
     2504
     2505{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2506$as_echo "$ac_file" >&6; }
     2507if test -z "$ac_file"; then
     2508  $as_echo "$as_me: failed program was:" >&5
    19332509sed 's/^/| /' conftest.$ac_ext >&5
    19342510
    1935 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
     2511{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2512$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2513{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    19362514See \`config.log' for more details." >&5
    1937 echo "$as_me: error: C compiler cannot create executables
     2515$as_echo "$as_me: error: C compiler cannot create executables
    19382516See \`config.log' for more details." >&2;}
    1939    { (exit 77); exit 77; }; }
     2517   { (exit 77); exit 77; }; }; }
    19402518fi
    19412519
    19422520ac_exeext=$ac_cv_exeext
    1943 echo "$as_me:$LINENO: result: $ac_file" >&5
    1944 echo "${ECHO_T}$ac_file" >&6
    1945 
    1946 # Check the compiler produces executables we can run.  If not, either
     2521
     2522# Check that the compiler produces executables we can run.  If not, either
    19472523# the compiler is broken, or we cross compile.
    1948 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1949 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2524{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2525$as_echo_n "checking whether the C compiler works... " >&6; }
    19502526# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    19512527# If not cross compiling, check that we can run a simple program.
    19522528if test "$cross_compiling" != yes; then
    19532529  if { ac_try='./$ac_file'
    1954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1955   (eval $ac_try) 2>&5
     2530  { (case "(($ac_try" in
     2531  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2532  *) ac_try_echo=$ac_try;;
     2533esac
     2534eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2535$as_echo "$ac_try_echo") >&5
     2536  (eval "$ac_try") 2>&5
    19562537  ac_status=$?
    1957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2538  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19582539  (exit $ac_status); }; }; then
    19592540    cross_compiling=no
     
    19622543    cross_compiling=yes
    19632544    else
    1964     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2545    { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2546$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2547{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    19652548If you meant to cross compile, use \`--host'.
    19662549See \`config.log' for more details." >&5
    1967 echo "$as_me: error: cannot run C compiled programs.
     2550$as_echo "$as_me: error: cannot run C compiled programs.
    19682551If you meant to cross compile, use \`--host'.
    19692552See \`config.log' for more details." >&2;}
    1970    { (exit 1); exit 1; }; }
     2553   { (exit 1); exit 1; }; }; }
    19712554    fi
    19722555  fi
    19732556fi
    1974 echo "$as_me:$LINENO: result: yes" >&5
    1975 echo "${ECHO_T}yes" >&6
    1976 
    1977 rm -f a.out a.exe conftest$ac_cv_exeext b.out
     2557{ $as_echo "$as_me:$LINENO: result: yes" >&5
     2558$as_echo "yes" >&6; }
     2559
     2560rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    19782561ac_clean_files=$ac_clean_files_save
    1979 # Check the compiler produces executables we can run.  If not, either
     2562# Check that the compiler produces executables we can run.  If not, either
    19802563# the compiler is broken, or we cross compile.
    1981 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1982 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1983 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1984 echo "${ECHO_T}$cross_compiling" >&6
    1985 
    1986 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1987 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1989   (eval $ac_link) 2>&5
     2564{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2565$as_echo_n "checking whether we are cross compiling... " >&6; }
     2566{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2567$as_echo "$cross_compiling" >&6; }
     2568
     2569{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2570$as_echo_n "checking for suffix of executables... " >&6; }
     2571if { (ac_try="$ac_link"
     2572case "(($ac_try" in
     2573  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2574  *) ac_try_echo=$ac_try;;
     2575esac
     2576eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2577$as_echo "$ac_try_echo") >&5
     2578  (eval "$ac_link") 2>&5
    19902579  ac_status=$?
    1991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2580  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19922581  (exit $ac_status); }; then
    19932582  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     
    19982587  test -f "$ac_file" || continue
    19992588  case $ac_file in
    2000     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2589    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    20012590    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2002       export ac_cv_exeext
    20032591      break;;
    20042592    * ) break;;
     
    20062594done
    20072595else
    2008   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2596  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2597$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2598{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    20092599See \`config.log' for more details." >&5
    2010 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2600$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    20112601See \`config.log' for more details." >&2;}
    2012    { (exit 1); exit 1; }; }
     2602   { (exit 1); exit 1; }; }; }
    20132603fi
    20142604
    20152605rm -f conftest$ac_cv_exeext
    2016 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2017 echo "${ECHO_T}$ac_cv_exeext" >&6
     2606{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2607$as_echo "$ac_cv_exeext" >&6; }
    20182608
    20192609rm -f conftest.$ac_ext
    20202610EXEEXT=$ac_cv_exeext
    20212611ac_exeext=$EXEEXT
    2022 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2023 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2612{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2613$as_echo_n "checking for suffix of object files... " >&6; }
    20242614if test "${ac_cv_objext+set}" = set; then
    2025   echo $ECHO_N "(cached) $ECHO_C" >&6
     2615  $as_echo_n "(cached) " >&6
    20262616else
    20272617  cat >conftest.$ac_ext <<_ACEOF
     
    20412631_ACEOF
    20422632rm -f conftest.o conftest.obj
    2043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2044   (eval $ac_compile) 2>&5
     2633if { (ac_try="$ac_compile"
     2634case "(($ac_try" in
     2635  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2636  *) ac_try_echo=$ac_try;;
     2637esac
     2638eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2639$as_echo "$ac_try_echo") >&5
     2640  (eval "$ac_compile") 2>&5
    20452641  ac_status=$?
    2046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2642  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20472643  (exit $ac_status); }; then
    2048   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2644  for ac_file in conftest.o conftest.obj conftest.*; do
     2645  test -f "$ac_file" || continue;
    20492646  case $ac_file in
    2050     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2647    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    20512648    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    20522649       break;;
     
    20542651done
    20552652else
    2056   echo "$as_me: failed program was:" >&5
     2653  $as_echo "$as_me: failed program was:" >&5
    20572654sed 's/^/| /' conftest.$ac_ext >&5
    20582655
    2059 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2656{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2657$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2658{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    20602659See \`config.log' for more details." >&5
    2061 echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2660$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    20622661See \`config.log' for more details." >&2;}
    2063    { (exit 1); exit 1; }; }
     2662   { (exit 1); exit 1; }; }; }
    20642663fi
    20652664
    20662665rm -f conftest.$ac_cv_objext conftest.$ac_ext
    20672666fi
    2068 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2069 echo "${ECHO_T}$ac_cv_objext" >&6
     2667{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2668$as_echo "$ac_cv_objext" >&6; }
    20702669OBJEXT=$ac_cv_objext
    20712670ac_objext=$OBJEXT
    2072 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2073 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2671{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2672$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    20742673if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2075   echo $ECHO_N "(cached) $ECHO_C" >&6
     2674  $as_echo_n "(cached) " >&6
    20762675else
    20772676  cat >conftest.$ac_ext <<_ACEOF
     
    20942693_ACEOF
    20952694rm -f conftest.$ac_objext
    2096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2097   (eval $ac_compile) 2>conftest.er1
     2695if { (ac_try="$ac_compile"
     2696case "(($ac_try" in
     2697  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2698  *) ac_try_echo=$ac_try;;
     2699esac
     2700eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2701$as_echo "$ac_try_echo") >&5
     2702  (eval "$ac_compile") 2>conftest.er1
    20982703  ac_status=$?
    20992704  grep -v '^ *+' conftest.er1 >conftest.err
    21002705  rm -f conftest.er1
    21012706  cat conftest.err >&5
    2102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2103   (exit $ac_status); } &&
    2104      { ac_try='test -z "$ac_c_werror_flag"
    2105              || test ! -s conftest.err'
    2106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2107   (eval $ac_try) 2>&5
    2108   ac_status=$?
    2109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2110   (exit $ac_status); }; } &&
    2111      { ac_try='test -s conftest.$ac_objext'
    2112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2113   (eval $ac_try) 2>&5
    2114   ac_status=$?
    2115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2116   (exit $ac_status); }; }; then
     2707  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2708  (exit $ac_status); } && {
     2709     test -z "$ac_c_werror_flag" ||
     2710     test ! -s conftest.err
     2711       } && test -s conftest.$ac_objext; then
    21172712  ac_compiler_gnu=yes
    21182713else
    2119   echo "$as_me: failed program was:" >&5
     2714  $as_echo "$as_me: failed program was:" >&5
    21202715sed 's/^/| /' conftest.$ac_ext >&5
    21212716
    2122 ac_compiler_gnu=no
    2123 fi
    2124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2717    ac_compiler_gnu=no
     2718fi
     2719
     2720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    21252721ac_cv_c_compiler_gnu=$ac_compiler_gnu
    21262722
    21272723fi
    2128 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2129 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2130 GCC=`test $ac_compiler_gnu = yes && echo yes`
     2724{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2725$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     2726if test $ac_compiler_gnu = yes; then
     2727  GCC=yes
     2728else
     2729  GCC=
     2730fi
    21312731ac_test_CFLAGS=${CFLAGS+set}
    21322732ac_save_CFLAGS=$CFLAGS
    2133 CFLAGS="-g"
    2134 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2135 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2733{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2734$as_echo_n "checking whether $CC accepts -g... " >&6; }
    21362735if test "${ac_cv_prog_cc_g+set}" = set; then
    2137   echo $ECHO_N "(cached) $ECHO_C" >&6
    2138 else
    2139   cat >conftest.$ac_ext <<_ACEOF
     2736  $as_echo_n "(cached) " >&6
     2737else
     2738  ac_save_c_werror_flag=$ac_c_werror_flag
     2739   ac_c_werror_flag=yes
     2740   ac_cv_prog_cc_g=no
     2741   CFLAGS="-g"
     2742   cat >conftest.$ac_ext <<_ACEOF
    21402743/* confdefs.h.  */
    21412744_ACEOF
     
    21532756_ACEOF
    21542757rm -f conftest.$ac_objext
    2155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2156   (eval $ac_compile) 2>conftest.er1
     2758if { (ac_try="$ac_compile"
     2759case "(($ac_try" in
     2760  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2761  *) ac_try_echo=$ac_try;;
     2762esac
     2763eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2764$as_echo "$ac_try_echo") >&5
     2765  (eval "$ac_compile") 2>conftest.er1
    21572766  ac_status=$?
    21582767  grep -v '^ *+' conftest.er1 >conftest.err
    21592768  rm -f conftest.er1
    21602769  cat conftest.err >&5
    2161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2162   (exit $ac_status); } &&
    2163      { ac_try='test -z "$ac_c_werror_flag"
    2164              || test ! -s conftest.err'
    2165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2166   (eval $ac_try) 2>&5
     2770  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2771  (exit $ac_status); } && {
     2772     test -z "$ac_c_werror_flag" ||
     2773     test ! -s conftest.err
     2774       } && test -s conftest.$ac_objext; then
     2775  ac_cv_prog_cc_g=yes
     2776else
     2777  $as_echo "$as_me: failed program was:" >&5
     2778sed 's/^/| /' conftest.$ac_ext >&5
     2779
     2780    CFLAGS=""
     2781      cat >conftest.$ac_ext <<_ACEOF
     2782/* confdefs.h.  */
     2783_ACEOF
     2784cat confdefs.h >>conftest.$ac_ext
     2785cat >>conftest.$ac_ext <<_ACEOF
     2786/* end confdefs.h.  */
     2787
     2788int
     2789main ()
     2790{
     2791
     2792  ;
     2793  return 0;
     2794}
     2795_ACEOF
     2796rm -f conftest.$ac_objext
     2797if { (ac_try="$ac_compile"
     2798case "(($ac_try" in
     2799  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2800  *) ac_try_echo=$ac_try;;
     2801esac
     2802eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2803$as_echo "$ac_try_echo") >&5
     2804  (eval "$ac_compile") 2>conftest.er1
    21672805  ac_status=$?
    2168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2169   (exit $ac_status); }; } &&
    2170      { ac_try='test -s conftest.$ac_objext'
    2171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2172   (eval $ac_try) 2>&5
     2806  grep -v '^ *+' conftest.er1 >conftest.err
     2807  rm -f conftest.er1
     2808  cat conftest.err >&5
     2809  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2810  (exit $ac_status); } && {
     2811     test -z "$ac_c_werror_flag" ||
     2812     test ! -s conftest.err
     2813       } && test -s conftest.$ac_objext; then
     2814  :
     2815else
     2816  $as_echo "$as_me: failed program was:" >&5
     2817sed 's/^/| /' conftest.$ac_ext >&5
     2818
     2819    ac_c_werror_flag=$ac_save_c_werror_flag
     2820     CFLAGS="-g"
     2821     cat >conftest.$ac_ext <<_ACEOF
     2822/* confdefs.h.  */
     2823_ACEOF
     2824cat confdefs.h >>conftest.$ac_ext
     2825cat >>conftest.$ac_ext <<_ACEOF
     2826/* end confdefs.h.  */
     2827
     2828int
     2829main ()
     2830{
     2831
     2832  ;
     2833  return 0;
     2834}
     2835_ACEOF
     2836rm -f conftest.$ac_objext
     2837if { (ac_try="$ac_compile"
     2838case "(($ac_try" in
     2839  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2840  *) ac_try_echo=$ac_try;;
     2841esac
     2842eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2843$as_echo "$ac_try_echo") >&5
     2844  (eval "$ac_compile") 2>conftest.er1
    21732845  ac_status=$?
    2174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2175   (exit $ac_status); }; }; then
     2846  grep -v '^ *+' conftest.er1 >conftest.err
     2847  rm -f conftest.er1
     2848  cat conftest.err >&5
     2849  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2850  (exit $ac_status); } && {
     2851     test -z "$ac_c_werror_flag" ||
     2852     test ! -s conftest.err
     2853       } && test -s conftest.$ac_objext; then
    21762854  ac_cv_prog_cc_g=yes
    21772855else
    2178   echo "$as_me: failed program was:" >&5
     2856  $as_echo "$as_me: failed program was:" >&5
    21792857sed 's/^/| /' conftest.$ac_ext >&5
    21802858
    2181 ac_cv_prog_cc_g=no
    2182 fi
    2183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2184 fi
    2185 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2186 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2859
     2860fi
     2861
     2862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2863fi
     2864
     2865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2866fi
     2867
     2868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2869   ac_c_werror_flag=$ac_save_c_werror_flag
     2870fi
     2871{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2872$as_echo "$ac_cv_prog_cc_g" >&6; }
    21872873if test "$ac_test_CFLAGS" = set; then
    21882874  CFLAGS=$ac_save_CFLAGS
     
    22002886  fi
    22012887fi
    2202 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2203 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2204 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2205   echo $ECHO_N "(cached) $ECHO_C" >&6
    2206 else
    2207   ac_cv_prog_cc_stdc=no
     2888{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2889$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     2890if test "${ac_cv_prog_cc_c89+set}" = set; then
     2891  $as_echo_n "(cached) " >&6
     2892else
     2893  ac_cv_prog_cc_c89=no
    22082894ac_save_CC=$CC
    22092895cat >conftest.$ac_ext <<_ACEOF
     
    22392925   function prototypes and stuff, but not '\xHH' hex character constants.
    22402926   These don't provoke an error unfortunately, instead are silently treated
    2241    as 'x'.  The following induces an error, until -std1 is added to get
     2927   as 'x'.  The following induces an error, until -std is added to get
    22422928   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    22432929   array size at least.  It's necessary to write '\x00'==0 to get something
    2244    that's true only with -std1.  */
     2930   that's true only with -std.  */
    22452931int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2932
     2933/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2934   inside strings and character constants.  */
     2935#define FOO(x) 'x'
     2936int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    22462937
    22472938int test (int i, double x);
     
    22592950}
    22602951_ACEOF
    2261 # Don't try gcc -ansi; that turns off useful extensions and
    2262 # breaks some systems' header files.
    2263 # AIX           -qlanglvl=ansi
    2264 # Ultrix and OSF/1  -std1
    2265 # HP-UX 10.20 and later -Ae
    2266 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2267 # SVR4          -Xc -D__EXTENSIONS__
    2268 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2952for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2953    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    22692954do
    22702955  CC="$ac_save_CC $ac_arg"
    22712956  rm -f conftest.$ac_objext
    2272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2273   (eval $ac_compile) 2>conftest.er1
     2957if { (ac_try="$ac_compile"
     2958case "(($ac_try" in
     2959  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2960  *) ac_try_echo=$ac_try;;
     2961esac
     2962eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2963$as_echo "$ac_try_echo") >&5
     2964  (eval "$ac_compile") 2>conftest.er1
    22742965  ac_status=$?
    22752966  grep -v '^ *+' conftest.er1 >conftest.err
    22762967  rm -f conftest.er1
    22772968  cat conftest.err >&5
    2278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2279   (exit $ac_status); } &&
    2280      { ac_try='test -z "$ac_c_werror_flag"
    2281              || test ! -s conftest.err'
    2282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2283   (eval $ac_try) 2>&5
    2284   ac_status=$?
    2285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2286   (exit $ac_status); }; } &&
    2287      { ac_try='test -s conftest.$ac_objext'
    2288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2289   (eval $ac_try) 2>&5
    2290   ac_status=$?
    2291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2292   (exit $ac_status); }; }; then
    2293   ac_cv_prog_cc_stdc=$ac_arg
    2294 break
    2295 else
    2296   echo "$as_me: failed program was:" >&5
     2969  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2970  (exit $ac_status); } && {
     2971     test -z "$ac_c_werror_flag" ||
     2972     test ! -s conftest.err
     2973       } && test -s conftest.$ac_objext; then
     2974  ac_cv_prog_cc_c89=$ac_arg
     2975else
     2976  $as_echo "$as_me: failed program was:" >&5
    22972977sed 's/^/| /' conftest.$ac_ext >&5
    22982978
    2299 fi
    2300 rm -f conftest.err conftest.$ac_objext
     2979
     2980fi
     2981
     2982rm -f core conftest.err conftest.$ac_objext
     2983  test "x$ac_cv_prog_cc_c89" != "xno" && break
    23012984done
    2302 rm -f conftest.$ac_ext conftest.$ac_objext
     2985rm -f conftest.$ac_ext
    23032986CC=$ac_save_CC
    23042987
    23052988fi
    2306 
    2307 case "x$ac_cv_prog_cc_stdc" in
    2308   x|xno)
    2309     echo "$as_me:$LINENO: result: none needed" >&5
    2310 echo "${ECHO_T}none needed" >&6 ;;
     2989# AC_CACHE_VAL
     2990case "x$ac_cv_prog_cc_c89" in
     2991  x)
     2992    { $as_echo "$as_me:$LINENO: result: none needed" >&5
     2993$as_echo "none needed" >&6; } ;;
     2994  xno)
     2995    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     2996$as_echo "unsupported" >&6; } ;;
    23112997  *)
    2312     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2313 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2314     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2315 esac
    2316 
    2317 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2318 # in C++ we need to declare it.  In case someone uses the same compiler
    2319 # for both compiling C and C++ we need to have the C++ compiler decide
    2320 # the declaration of exit, since it's the most demanding environment.
    2321 cat >conftest.$ac_ext <<_ACEOF
    2322 #ifndef __cplusplus
    2323   choke me
    2324 #endif
    2325 _ACEOF
    2326 rm -f conftest.$ac_objext
    2327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2328   (eval $ac_compile) 2>conftest.er1
    2329   ac_status=$?
    2330   grep -v '^ *+' conftest.er1 >conftest.err
    2331   rm -f conftest.er1
    2332   cat conftest.err >&5
    2333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2334   (exit $ac_status); } &&
    2335      { ac_try='test -z "$ac_c_werror_flag"
    2336              || test ! -s conftest.err'
    2337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2338   (eval $ac_try) 2>&5
    2339   ac_status=$?
    2340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2341   (exit $ac_status); }; } &&
    2342      { ac_try='test -s conftest.$ac_objext'
    2343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2344   (eval $ac_try) 2>&5
    2345   ac_status=$?
    2346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2347   (exit $ac_status); }; }; then
    2348   for ac_declaration in \
    2349    '' \
    2350    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2351    'extern "C" void std::exit (int); using std::exit;' \
    2352    'extern "C" void exit (int) throw ();' \
    2353    'extern "C" void exit (int);' \
    2354    'void exit (int);'
    2355 do
    2356   cat >conftest.$ac_ext <<_ACEOF
    2357 /* confdefs.h.  */
    2358 _ACEOF
    2359 cat confdefs.h >>conftest.$ac_ext
    2360 cat >>conftest.$ac_ext <<_ACEOF
    2361 /* end confdefs.h.  */
    2362 $ac_declaration
    2363 #include <stdlib.h>
    2364 int
    2365 main ()
    2366 {
    2367 exit (42);
    2368   ;
    2369   return 0;
    2370 }
    2371 _ACEOF
    2372 rm -f conftest.$ac_objext
    2373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2374   (eval $ac_compile) 2>conftest.er1
    2375   ac_status=$?
    2376   grep -v '^ *+' conftest.er1 >conftest.err
    2377   rm -f conftest.er1
    2378   cat conftest.err >&5
    2379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2380   (exit $ac_status); } &&
    2381      { ac_try='test -z "$ac_c_werror_flag"
    2382              || test ! -s conftest.err'
    2383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2384   (eval $ac_try) 2>&5
    2385   ac_status=$?
    2386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2387   (exit $ac_status); }; } &&
    2388      { ac_try='test -s conftest.$ac_objext'
    2389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2390   (eval $ac_try) 2>&5
    2391   ac_status=$?
    2392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2393   (exit $ac_status); }; }; then
    2394   :
    2395 else
    2396   echo "$as_me: failed program was:" >&5
    2397 sed 's/^/| /' conftest.$ac_ext >&5
    2398 
    2399 continue
    2400 fi
    2401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2402   cat >conftest.$ac_ext <<_ACEOF
    2403 /* confdefs.h.  */
    2404 _ACEOF
    2405 cat confdefs.h >>conftest.$ac_ext
    2406 cat >>conftest.$ac_ext <<_ACEOF
    2407 /* end confdefs.h.  */
    2408 $ac_declaration
    2409 int
    2410 main ()
    2411 {
    2412 exit (42);
    2413   ;
    2414   return 0;
    2415 }
    2416 _ACEOF
    2417 rm -f conftest.$ac_objext
    2418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2419   (eval $ac_compile) 2>conftest.er1
    2420   ac_status=$?
    2421   grep -v '^ *+' conftest.er1 >conftest.err
    2422   rm -f conftest.er1
    2423   cat conftest.err >&5
    2424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2425   (exit $ac_status); } &&
    2426      { ac_try='test -z "$ac_c_werror_flag"
    2427              || test ! -s conftest.err'
    2428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2429   (eval $ac_try) 2>&5
    2430   ac_status=$?
    2431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2432   (exit $ac_status); }; } &&
    2433      { ac_try='test -s conftest.$ac_objext'
    2434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2435   (eval $ac_try) 2>&5
    2436   ac_status=$?
    2437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2438   (exit $ac_status); }; }; then
    2439   break
    2440 else
    2441   echo "$as_me: failed program was:" >&5
    2442 sed 's/^/| /' conftest.$ac_ext >&5
    2443 
    2444 fi
    2445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2446 done
    2447 rm -f conftest*
    2448 if test -n "$ac_declaration"; then
    2449   echo '#ifdef __cplusplus' >>confdefs.h
    2450   echo $ac_declaration      >>confdefs.h
    2451   echo '#endif'             >>confdefs.h
    2452 fi
    2453 
    2454 else
    2455   echo "$as_me: failed program was:" >&5
    2456 sed 's/^/| /' conftest.$ac_ext >&5
    2457 
    2458 fi
    2459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2998    CC="$CC $ac_cv_prog_cc_c89"
     2999    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3000$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     3001esac
     3002
     3003
    24603004ac_ext=c
    24613005ac_cpp='$CPP $CPPFLAGS'
     
    24643008ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24653009
    2466 ac_ext=cc
     3010ac_ext=cpp
    24673011ac_cpp='$CXXCPP $CPPFLAGS'
    24683012ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24693013ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24703014ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2471 if test -n "$ac_tool_prefix"; then
    2472   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3015if test -z "$CXX"; then
     3016  if test -n "$CCC"; then
     3017    CXX=$CCC
     3018  else
     3019    if test -n "$ac_tool_prefix"; then
     3020  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    24733021  do
    24743022    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    24753023set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2476 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3024{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3025$as_echo_n "checking for $ac_word... " >&6; }
    24783026if test "${ac_cv_prog_CXX+set}" = set; then
    2479   echo $ECHO_N "(cached) $ECHO_C" >&6
     3027  $as_echo_n "(cached) " >&6
    24803028else
    24813029  if test -n "$CXX"; then
     
    24883036  test -z "$as_dir" && as_dir=.
    24893037  for ac_exec_ext in '' $ac_executable_extensions; do
    2490   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3038  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24913039    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    2492     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3040    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    24933041    break 2
    24943042  fi
    24953043done
    24963044done
     3045IFS=$as_save_IFS
    24973046
    24983047fi
     
    25003049CXX=$ac_cv_prog_CXX
    25013050if test -n "$CXX"; then
    2502   echo "$as_me:$LINENO: result: $CXX" >&5
    2503 echo "${ECHO_T}$CXX" >&6
    2504 else
    2505   echo "$as_me:$LINENO: result: no" >&5
    2506 echo "${ECHO_T}no" >&6
    2507 fi
     3051  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3052$as_echo "$CXX" >&6; }
     3053else
     3054  { $as_echo "$as_me:$LINENO: result: no" >&5
     3055$as_echo "no" >&6; }
     3056fi
     3057
    25083058
    25093059    test -n "$CXX" && break
     
    25123062if test -z "$CXX"; then
    25133063  ac_ct_CXX=$CXX
    2514   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3064  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    25153065do
    25163066  # Extract the first word of "$ac_prog", so it can be a program name with args.
    25173067set dummy $ac_prog; ac_word=$2
    2518 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3068{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3069$as_echo_n "checking for $ac_word... " >&6; }
    25203070if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    2521   echo $ECHO_N "(cached) $ECHO_C" >&6
     3071  $as_echo_n "(cached) " >&6
    25223072else
    25233073  if test -n "$ac_ct_CXX"; then
     
    25303080  test -z "$as_dir" && as_dir=.
    25313081  for ac_exec_ext in '' $ac_executable_extensions; do
    2532   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3082  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    25333083    ac_cv_prog_ac_ct_CXX="$ac_prog"
    2534     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3084    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    25353085    break 2
    25363086  fi
    25373087done
    25383088done
     3089IFS=$as_save_IFS
    25393090
    25403091fi
     
    25423093ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    25433094if test -n "$ac_ct_CXX"; then
    2544   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2545 echo "${ECHO_T}$ac_ct_CXX" >&6
    2546 else
    2547   echo "$as_me:$LINENO: result: no" >&5
    2548 echo "${ECHO_T}no" >&6
    2549 fi
     3095  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3096$as_echo "$ac_ct_CXX" >&6; }
     3097else
     3098  { $as_echo "$as_me:$LINENO: result: no" >&5
     3099$as_echo "no" >&6; }
     3100fi
     3101
    25503102
    25513103  test -n "$ac_ct_CXX" && break
    25523104done
    2553 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2554 
    2555   CXX=$ac_ct_CXX
    2556 fi
    2557 
    2558 
     3105
     3106  if test "x$ac_ct_CXX" = x; then
     3107    CXX="g++"
     3108  else
     3109    case $cross_compiling:$ac_tool_warned in
     3110yes:)
     3111{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3112$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3113ac_tool_warned=yes ;;
     3114esac
     3115    CXX=$ac_ct_CXX
     3116  fi
     3117fi
     3118
     3119  fi
     3120fi
    25593121# Provide some information about the compiler.
    2560 echo "$as_me:$LINENO:" \
    2561      "checking for C++ compiler version" >&5
    2562 ac_compiler=`set X $ac_compile; echo $2`
    2563 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2564   (eval $ac_compiler --version </dev/null >&5) 2>&5
     3122$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     3123set X $ac_compile
     3124ac_compiler=$2
     3125{ (ac_try="$ac_compiler --version >&5"
     3126case "(($ac_try" in
     3127  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3128  *) ac_try_echo=$ac_try;;
     3129esac
     3130eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3131$as_echo "$ac_try_echo") >&5
     3132  (eval "$ac_compiler --version >&5") 2>&5
    25653133  ac_status=$?
    2566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3134  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25673135  (exit $ac_status); }
    2568 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2569   (eval $ac_compiler -v </dev/null >&5) 2>&5
     3136{ (ac_try="$ac_compiler -v >&5"
     3137case "(($ac_try" in
     3138  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3139  *) ac_try_echo=$ac_try;;
     3140esac
     3141eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3142$as_echo "$ac_try_echo") >&5
     3143  (eval "$ac_compiler -v >&5") 2>&5
    25703144  ac_status=$?
    2571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3145  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25723146  (exit $ac_status); }
    2573 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2574   (eval $ac_compiler -V </dev/null >&5) 2>&5
     3147{ (ac_try="$ac_compiler -V >&5"
     3148case "(($ac_try" in
     3149  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3150  *) ac_try_echo=$ac_try;;
     3151esac
     3152eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3153$as_echo "$ac_try_echo") >&5
     3154  (eval "$ac_compiler -V >&5") 2>&5
    25753155  ac_status=$?
    2576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3156  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25773157  (exit $ac_status); }
    25783158
    2579 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2580 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     3159{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3160$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    25813161if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    2582   echo $ECHO_N "(cached) $ECHO_C" >&6
     3162  $as_echo_n "(cached) " >&6
    25833163else
    25843164  cat >conftest.$ac_ext <<_ACEOF
     
    26013181_ACEOF
    26023182rm -f conftest.$ac_objext
    2603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2604   (eval $ac_compile) 2>conftest.er1
     3183if { (ac_try="$ac_compile"
     3184case "(($ac_try" in
     3185  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3186  *) ac_try_echo=$ac_try;;
     3187esac
     3188eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3189$as_echo "$ac_try_echo") >&5
     3190  (eval "$ac_compile") 2>conftest.er1
    26053191  ac_status=$?
    26063192  grep -v '^ *+' conftest.er1 >conftest.err
    26073193  rm -f conftest.er1
    26083194  cat conftest.err >&5
    2609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2610   (exit $ac_status); } &&
    2611      { ac_try='test -z "$ac_cxx_werror_flag"
    2612              || test ! -s conftest.err'
    2613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2614   (eval $ac_try) 2>&5
    2615   ac_status=$?
    2616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2617   (exit $ac_status); }; } &&
    2618      { ac_try='test -s conftest.$ac_objext'
    2619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2620   (eval $ac_try) 2>&5
    2621   ac_status=$?
    2622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2623   (exit $ac_status); }; }; then
     3195  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3196  (exit $ac_status); } && {
     3197     test -z "$ac_cxx_werror_flag" ||
     3198     test ! -s conftest.err
     3199       } && test -s conftest.$ac_objext; then
    26243200  ac_compiler_gnu=yes
    26253201else
    2626   echo "$as_me: failed program was:" >&5
     3202  $as_echo "$as_me: failed program was:" >&5
    26273203sed 's/^/| /' conftest.$ac_ext >&5
    26283204
    2629 ac_compiler_gnu=no
    2630 fi
    2631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3205    ac_compiler_gnu=no
     3206fi
     3207
     3208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26323209ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    26333210
    26343211fi
    2635 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2636 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    2637 GXX=`test $ac_compiler_gnu = yes && echo yes`
     3212{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3213$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3214if test $ac_compiler_gnu = yes; then
     3215  GXX=yes
     3216else
     3217  GXX=
     3218fi
    26383219ac_test_CXXFLAGS=${CXXFLAGS+set}
    26393220ac_save_CXXFLAGS=$CXXFLAGS
    2640 CXXFLAGS="-g"
    2641 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2642 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3221{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3222$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    26433223if test "${ac_cv_prog_cxx_g+set}" = set; then
    2644   echo $ECHO_N "(cached) $ECHO_C" >&6
    2645 else
    2646   cat >conftest.$ac_ext <<_ACEOF
     3224  $as_echo_n "(cached) " >&6
     3225else
     3226  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3227   ac_cxx_werror_flag=yes
     3228   ac_cv_prog_cxx_g=no
     3229   CXXFLAGS="-g"
     3230   cat >conftest.$ac_ext <<_ACEOF
    26473231/* confdefs.h.  */
    26483232_ACEOF
     
    26603244_ACEOF
    26613245rm -f conftest.$ac_objext
    2662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2663   (eval $ac_compile) 2>conftest.er1
     3246if { (ac_try="$ac_compile"
     3247case "(($ac_try" in
     3248  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3249  *) ac_try_echo=$ac_try;;
     3250esac
     3251eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3252$as_echo "$ac_try_echo") >&5
     3253  (eval "$ac_compile") 2>conftest.er1
    26643254  ac_status=$?
    26653255  grep -v '^ *+' conftest.er1 >conftest.err
    26663256  rm -f conftest.er1
    26673257  cat conftest.err >&5
    2668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2669   (exit $ac_status); } &&
    2670      { ac_try='test -z "$ac_cxx_werror_flag"
    2671              || test ! -s conftest.err'
    2672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2673   (eval $ac_try) 2>&5
     3258  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3259  (exit $ac_status); } && {
     3260     test -z "$ac_cxx_werror_flag" ||
     3261     test ! -s conftest.err
     3262       } && test -s conftest.$ac_objext; then
     3263  ac_cv_prog_cxx_g=yes
     3264else
     3265  $as_echo "$as_me: failed program was:" >&5
     3266sed 's/^/| /' conftest.$ac_ext >&5
     3267
     3268    CXXFLAGS=""
     3269      cat >conftest.$ac_ext <<_ACEOF
     3270/* confdefs.h.  */
     3271_ACEOF
     3272cat confdefs.h >>conftest.$ac_ext
     3273cat >>conftest.$ac_ext <<_ACEOF
     3274/* end confdefs.h.  */
     3275
     3276int
     3277main ()
     3278{
     3279
     3280  ;
     3281  return 0;
     3282}
     3283_ACEOF
     3284rm -f conftest.$ac_objext
     3285if { (ac_try="$ac_compile"
     3286case "(($ac_try" in
     3287  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3288  *) ac_try_echo=$ac_try;;
     3289esac
     3290eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3291$as_echo "$ac_try_echo") >&5
     3292  (eval "$ac_compile") 2>conftest.er1
    26743293  ac_status=$?
    2675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2676   (exit $ac_status); }; } &&
    2677      { ac_try='test -s conftest.$ac_objext'
    2678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2679   (eval $ac_try) 2>&5
     3294  grep -v '^ *+' conftest.er1 >conftest.err
     3295  rm -f conftest.er1
     3296  cat conftest.err >&5
     3297  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3298  (exit $ac_status); } && {
     3299     test -z "$ac_cxx_werror_flag" ||
     3300     test ! -s conftest.err
     3301       } && test -s conftest.$ac_objext; then
     3302  :
     3303else
     3304  $as_echo "$as_me: failed program was:" >&5
     3305sed 's/^/| /' conftest.$ac_ext >&5
     3306
     3307    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3308     CXXFLAGS="-g"
     3309     cat >conftest.$ac_ext <<_ACEOF
     3310/* confdefs.h.  */
     3311_ACEOF
     3312cat confdefs.h >>conftest.$ac_ext
     3313cat >>conftest.$ac_ext <<_ACEOF
     3314/* end confdefs.h.  */
     3315
     3316int
     3317main ()
     3318{
     3319
     3320  ;
     3321  return 0;
     3322}
     3323_ACEOF
     3324rm -f conftest.$ac_objext
     3325if { (ac_try="$ac_compile"
     3326case "(($ac_try" in
     3327  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3328  *) ac_try_echo=$ac_try;;
     3329esac
     3330eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3331$as_echo "$ac_try_echo") >&5
     3332  (eval "$ac_compile") 2>conftest.er1
    26803333  ac_status=$?
    2681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2682   (exit $ac_status); }; }; then
     3334  grep -v '^ *+' conftest.er1 >conftest.err
     3335  rm -f conftest.er1
     3336  cat conftest.err >&5
     3337  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3338  (exit $ac_status); } && {
     3339     test -z "$ac_cxx_werror_flag" ||
     3340     test ! -s conftest.err
     3341       } && test -s conftest.$ac_objext; then
    26833342  ac_cv_prog_cxx_g=yes
    26843343else
    2685   echo "$as_me: failed program was:" >&5
     3344  $as_echo "$as_me: failed program was:" >&5
    26863345sed 's/^/| /' conftest.$ac_ext >&5
    26873346
    2688 ac_cv_prog_cxx_g=no
    2689 fi
    2690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2691 fi
    2692 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2693 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3347
     3348fi
     3349
     3350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3351fi
     3352
     3353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3354fi
     3355
     3356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3357   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3358fi
     3359{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3360$as_echo "$ac_cv_prog_cxx_g" >&6; }
    26943361if test "$ac_test_CXXFLAGS" = set; then
    26953362  CXXFLAGS=$ac_save_CXXFLAGS
     
    27073374  fi
    27083375fi
    2709 for ac_declaration in \
    2710    '' \
    2711    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2712    'extern "C" void std::exit (int); using std::exit;' \
    2713    'extern "C" void exit (int) throw ();' \
    2714    'extern "C" void exit (int);' \
    2715    'void exit (int);'
    2716 do
    2717   cat >conftest.$ac_ext <<_ACEOF
    2718 /* confdefs.h.  */
    2719 _ACEOF
    2720 cat confdefs.h >>conftest.$ac_ext
    2721 cat >>conftest.$ac_ext <<_ACEOF
    2722 /* end confdefs.h.  */
    2723 $ac_declaration
    2724 #include <stdlib.h>
    2725 int
    2726 main ()
    2727 {
    2728 exit (42);
    2729   ;
    2730   return 0;
    2731 }
    2732 _ACEOF
    2733 rm -f conftest.$ac_objext
    2734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2735   (eval $ac_compile) 2>conftest.er1
    2736   ac_status=$?
    2737   grep -v '^ *+' conftest.er1 >conftest.err
    2738   rm -f conftest.er1
    2739   cat conftest.err >&5
    2740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2741   (exit $ac_status); } &&
    2742      { ac_try='test -z "$ac_cxx_werror_flag"
    2743              || test ! -s conftest.err'
    2744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2745   (eval $ac_try) 2>&5
    2746   ac_status=$?
    2747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2748   (exit $ac_status); }; } &&
    2749      { ac_try='test -s conftest.$ac_objext'
    2750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2751   (eval $ac_try) 2>&5
    2752   ac_status=$?
    2753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2754   (exit $ac_status); }; }; then
    2755   :
    2756 else
    2757   echo "$as_me: failed program was:" >&5
    2758 sed 's/^/| /' conftest.$ac_ext >&5
    2759 
    2760 continue
    2761 fi
    2762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2763   cat >conftest.$ac_ext <<_ACEOF
    2764 /* confdefs.h.  */
    2765 _ACEOF
    2766 cat confdefs.h >>conftest.$ac_ext
    2767 cat >>conftest.$ac_ext <<_ACEOF
    2768 /* end confdefs.h.  */
    2769 $ac_declaration
    2770 int
    2771 main ()
    2772 {
    2773 exit (42);
    2774   ;
    2775   return 0;
    2776 }
    2777 _ACEOF
    2778 rm -f conftest.$ac_objext
    2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2780   (eval $ac_compile) 2>conftest.er1
    2781   ac_status=$?
    2782   grep -v '^ *+' conftest.er1 >conftest.err
    2783   rm -f conftest.er1
    2784   cat conftest.err >&5
    2785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2786   (exit $ac_status); } &&
    2787      { ac_try='test -z "$ac_cxx_werror_flag"
    2788              || test ! -s conftest.err'
    2789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2790   (eval $ac_try) 2>&5
    2791   ac_status=$?
    2792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2793   (exit $ac_status); }; } &&
    2794      { ac_try='test -s conftest.$ac_objext'
    2795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2796   (eval $ac_try) 2>&5
    2797   ac_status=$?
    2798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2799   (exit $ac_status); }; }; then
    2800   break
    2801 else
    2802   echo "$as_me: failed program was:" >&5
    2803 sed 's/^/| /' conftest.$ac_ext >&5
    2804 
    2805 fi
    2806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2807 done
    2808 rm -f conftest*
    2809 if test -n "$ac_declaration"; then
    2810   echo '#ifdef __cplusplus' >>confdefs.h
    2811   echo $ac_declaration      >>confdefs.h
    2812   echo '#endif'             >>confdefs.h
    2813 fi
    2814 
    28153376ac_ext=c
    28163377ac_cpp='$CPP $CPPFLAGS'
     
    28233384  # Extract the first word of "$ac_prog", so it can be a program name with args.
    28243385set dummy $ac_prog; ac_word=$2
    2825 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3386{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3387$as_echo_n "checking for $ac_word... " >&6; }
    28273388if test "${ac_cv_prog_AWK+set}" = set; then
    2828   echo $ECHO_N "(cached) $ECHO_C" >&6
     3389  $as_echo_n "(cached) " >&6
    28293390else
    28303391  if test -n "$AWK"; then
     
    28373398  test -z "$as_dir" && as_dir=.
    28383399  for ac_exec_ext in '' $ac_executable_extensions; do
    2839   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3400  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28403401    ac_cv_prog_AWK="$ac_prog"
    2841     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3402    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28423403    break 2
    28433404  fi
    28443405done
    28453406done
     3407IFS=$as_save_IFS
    28463408
    28473409fi
     
    28493411AWK=$ac_cv_prog_AWK
    28503412if test -n "$AWK"; then
    2851   echo "$as_me:$LINENO: result: $AWK" >&5
    2852 echo "${ECHO_T}$AWK" >&6
    2853 else
    2854   echo "$as_me:$LINENO: result: no" >&5
    2855 echo "${ECHO_T}no" >&6
    2856 fi
     3413  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
     3414$as_echo "$AWK" >&6; }
     3415else
     3416  { $as_echo "$as_me:$LINENO: result: no" >&5
     3417$as_echo "no" >&6; }
     3418fi
     3419
    28573420
    28583421  test -n "$AWK" && break
     
    28633426  # Extract the first word of "$ac_prog", so it can be a program name with args.
    28643427set dummy $ac_prog; ac_word=$2
    2865 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3428{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3429$as_echo_n "checking for $ac_word... " >&6; }
    28673430if test "${ac_cv_prog_YACC+set}" = set; then
    2868   echo $ECHO_N "(cached) $ECHO_C" >&6
     3431  $as_echo_n "(cached) " >&6
    28693432else
    28703433  if test -n "$YACC"; then
     
    28773440  test -z "$as_dir" && as_dir=.
    28783441  for ac_exec_ext in '' $ac_executable_extensions; do
    2879   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3442  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28803443    ac_cv_prog_YACC="$ac_prog"
    2881     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3444    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28823445    break 2
    28833446  fi
    28843447done
    28853448done
     3449IFS=$as_save_IFS
    28863450
    28873451fi
     
    28893453YACC=$ac_cv_prog_YACC
    28903454if test -n "$YACC"; then
    2891   echo "$as_me:$LINENO: result: $YACC" >&5
    2892 echo "${ECHO_T}$YACC" >&6
    2893 else
    2894   echo "$as_me:$LINENO: result: no" >&5
    2895 echo "${ECHO_T}no" >&6
    2896 fi
     3455  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
     3456$as_echo "$YACC" >&6; }
     3457else
     3458  { $as_echo "$as_me:$LINENO: result: no" >&5
     3459$as_echo "no" >&6; }
     3460fi
     3461
    28973462
    28983463  test -n "$YACC" && break
     
    29013466
    29023467ac_aux_dir=
    2903 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    2904   if test -f $ac_dir/install-sh; then
     3468for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     3469  if test -f "$ac_dir/install-sh"; then
    29053470    ac_aux_dir=$ac_dir
    29063471    ac_install_sh="$ac_aux_dir/install-sh -c"
    29073472    break
    2908   elif test -f $ac_dir/install.sh; then
     3473  elif test -f "$ac_dir/install.sh"; then
    29093474    ac_aux_dir=$ac_dir
    29103475    ac_install_sh="$ac_aux_dir/install.sh -c"
    29113476    break
    2912   elif test -f $ac_dir/shtool; then
     3477  elif test -f "$ac_dir/shtool"; then
    29133478    ac_aux_dir=$ac_dir
    29143479    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    29173482done
    29183483if test -z "$ac_aux_dir"; then
    2919   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2920 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     3484  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     3485$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    29213486   { (exit 1); exit 1; }; }
    29223487fi
    2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2925 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     3488
     3489# These three variables are undocumented and unsupported,
     3490# and are intended to be withdrawn in a future Autoconf release.
     3491# They can cause serious problems if a builder's source tree is in a directory
     3492# whose full name contains unusual characters.
     3493ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     3494ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     3495ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     3496
    29263497
    29273498# Make sure we can run config.sub.
    2928 $ac_config_sub sun4 >/dev/null 2>&1 ||
    2929   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    2930 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     3499$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     3500  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     3501$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    29313502   { (exit 1); exit 1; }; }
    29323503
    2933 echo "$as_me:$LINENO: checking build system type" >&5
    2934 echo $ECHO_N "checking build system type... $ECHO_C" >&6
     3504{ $as_echo "$as_me:$LINENO: checking build system type" >&5
     3505$as_echo_n "checking build system type... " >&6; }
    29353506if test "${ac_cv_build+set}" = set; then
    2936   echo $ECHO_N "(cached) $ECHO_C" >&6
    2937 else
    2938   ac_cv_build_alias=$build_alias
    2939 test -z "$ac_cv_build_alias" &&
    2940   ac_cv_build_alias=`$ac_config_guess`
    2941 test -z "$ac_cv_build_alias" &&
    2942   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    2943 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     3507  $as_echo_n "(cached) " >&6
     3508else
     3509  ac_build_alias=$build_alias
     3510test "x$ac_build_alias" = x &&
     3511  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     3512test "x$ac_build_alias" = x &&
     3513  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     3514$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    29443515   { (exit 1); exit 1; }; }
    2945 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    2946   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    2947 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     3516ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     3517  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     3518$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    29483519   { (exit 1); exit 1; }; }
    29493520
    29503521fi
    2951 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    2952 echo "${ECHO_T}$ac_cv_build" >&6
     3522{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     3523$as_echo "$ac_cv_build" >&6; }
     3524case $ac_cv_build in
     3525*-*-*) ;;
     3526*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     3527$as_echo "$as_me: error: invalid value of canonical build" >&2;}
     3528   { (exit 1); exit 1; }; };;
     3529esac
    29533530build=$ac_cv_build
    2954 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2955 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2956 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2957 
    2958 
    2959 echo "$as_me:$LINENO: checking host system type" >&5
    2960 echo $ECHO_N "checking host system type... $ECHO_C" >&6
     3531ac_save_IFS=$IFS; IFS='-'
     3532set x $ac_cv_build
     3533shift
     3534build_cpu=$1
     3535build_vendor=$2
     3536shift; shift
     3537# Remember, the first character of IFS is used to create $*,
     3538# except with old shells:
     3539build_os=$*
     3540IFS=$ac_save_IFS
     3541case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     3542
     3543
     3544{ $as_echo "$as_me:$LINENO: checking host system type" >&5
     3545$as_echo_n "checking host system type... " >&6; }
    29613546if test "${ac_cv_host+set}" = set; then
    2962   echo $ECHO_N "(cached) $ECHO_C" >&6
    2963 else
    2964   ac_cv_host_alias=$host_alias
    2965 test -z "$ac_cv_host_alias" &&
    2966   ac_cv_host_alias=$ac_cv_build_alias
    2967 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    2968   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    2969 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     3547  $as_echo_n "(cached) " >&6
     3548else
     3549  if test "x$host_alias" = x; then
     3550  ac_cv_host=$ac_cv_build
     3551else
     3552  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     3553    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     3554$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    29703555   { (exit 1); exit 1; }; }
    2971 
    2972 fi
    2973 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    2974 echo "${ECHO_T}$ac_cv_host" >&6
     3556fi
     3557
     3558fi
     3559{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     3560$as_echo "$ac_cv_host" >&6; }
     3561case $ac_cv_host in
     3562*-*-*) ;;
     3563*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     3564$as_echo "$as_me: error: invalid value of canonical host" >&2;}
     3565   { (exit 1); exit 1; }; };;
     3566esac
    29753567host=$ac_cv_host
    2976 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2977 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    2978 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    2979 
    2980 
    2981 echo "$as_me:$LINENO: checking target system type" >&5
    2982 echo $ECHO_N "checking target system type... $ECHO_C" >&6
     3568ac_save_IFS=$IFS; IFS='-'
     3569set x $ac_cv_host
     3570shift
     3571host_cpu=$1
     3572host_vendor=$2
     3573shift; shift
     3574# Remember, the first character of IFS is used to create $*,
     3575# except with old shells:
     3576host_os=$*
     3577IFS=$ac_save_IFS
     3578case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     3579
     3580
     3581{ $as_echo "$as_me:$LINENO: checking target system type" >&5
     3582$as_echo_n "checking target system type... " >&6; }
    29833583if test "${ac_cv_target+set}" = set; then
    2984   echo $ECHO_N "(cached) $ECHO_C" >&6
    2985 else
    2986   ac_cv_target_alias=$target_alias
    2987 test "x$ac_cv_target_alias" = "x" &&
    2988   ac_cv_target_alias=$ac_cv_host_alias
    2989 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    2990   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    2991 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     3584  $as_echo_n "(cached) " >&6
     3585else
     3586  if test "x$target_alias" = x; then
     3587  ac_cv_target=$ac_cv_host
     3588else
     3589  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     3590    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     3591$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    29923592   { (exit 1); exit 1; }; }
    2993 
    2994 fi
    2995 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    2996 echo "${ECHO_T}$ac_cv_target" >&6
     3593fi
     3594
     3595fi
     3596{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     3597$as_echo "$ac_cv_target" >&6; }
     3598case $ac_cv_target in
     3599*-*-*) ;;
     3600*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     3601$as_echo "$as_me: error: invalid value of canonical target" >&2;}
     3602   { (exit 1); exit 1; }; };;
     3603esac
    29973604target=$ac_cv_target
    2998 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    2999 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    3000 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3605ac_save_IFS=$IFS; IFS='-'
     3606set x $ac_cv_target
     3607shift
     3608target_cpu=$1
     3609target_vendor=$2
     3610shift; shift
     3611# Remember, the first character of IFS is used to create $*,
     3612# except with old shells:
     3613target_os=$*
     3614IFS=$ac_save_IFS
     3615case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    30013616
    30023617
     
    30203635# OS/2's system install, which has a completely different semantic
    30213636# ./install, which can be erroneously created by make from ./install.sh.
    3022 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3023 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3637# Reject install programs that cannot install multiple files.
     3638{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3639$as_echo_n "checking for a BSD-compatible install... " >&6; }
    30243640if test -z "$INSTALL"; then
    30253641if test "${ac_cv_path_install+set}" = set; then
    3026   echo $ECHO_N "(cached) $ECHO_C" >&6
     3642  $as_echo_n "(cached) " >&6
    30273643else
    30283644  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    30433659    for ac_prog in ginstall scoinst install; do
    30443660      for ac_exec_ext in '' $ac_executable_extensions; do
    3045     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3661    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    30463662      if test $ac_prog = install &&
    30473663        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    30533669        :
    30543670      else
    3055         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3056         break 3
     3671        rm -rf conftest.one conftest.two conftest.dir
     3672        echo one > conftest.one
     3673        echo two > conftest.two
     3674        mkdir conftest.dir
     3675        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     3676          test -s conftest.one && test -s conftest.two &&
     3677          test -s conftest.dir/conftest.one &&
     3678          test -s conftest.dir/conftest.two
     3679        then
     3680          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3681          break 3
     3682        fi
    30573683      fi
    30583684    fi
     
    30613687    ;;
    30623688esac
     3689
    30633690done
    3064 
     3691IFS=$as_save_IFS
     3692
     3693rm -rf conftest.one conftest.two conftest.dir
    30653694
    30663695fi
     
    30683697    INSTALL=$ac_cv_path_install
    30693698  else
    3070     # As a last resort, use the slow shell script.  We don't cache a
    3071     # path for INSTALL within a source directory, because that will
     3699    # As a last resort, use the slow shell script.  Don't cache a
     3700    # value for INSTALL within a source directory, because that will
    30723701    # break other packages using the cache if that directory is
    3073     # removed, or if the path is relative.
     3702    # removed, or if the value is a relative name.
    30743703    INSTALL=$ac_install_sh
    30753704  fi
    30763705fi
    3077 echo "$as_me:$LINENO: result: $INSTALL" >&5
    3078 echo "${ECHO_T}$INSTALL" >&6
     3706{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     3707$as_echo "$INSTALL" >&6; }
    30793708
    30803709# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    30863715test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    30873716
    3088 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3089 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3717{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3718$as_echo_n "checking whether ln -s works... " >&6; }
    30903719LN_S=$as_ln_s
    30913720if test "$LN_S" = "ln -s"; then
    3092   echo "$as_me:$LINENO: result: yes" >&5
    3093 echo "${ECHO_T}yes" >&6
    3094 else
    3095   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3096 echo "${ECHO_T}no, using $LN_S" >&6
    3097 fi
    3098 
    3099 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3100 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3101 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3102 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    3103   echo $ECHO_N "(cached) $ECHO_C" >&6
     3721  { $as_echo "$as_me:$LINENO: result: yes" >&5
     3722$as_echo "yes" >&6; }
     3723else
     3724  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3725$as_echo "no, using $LN_S" >&6; }
     3726fi
     3727
     3728{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3729$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     3730set x ${MAKE-make}
     3731ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3732if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     3733  $as_echo_n "(cached) " >&6
    31043734else
    31053735  cat >conftest.make <<\_ACEOF
     3736SHELL = /bin/sh
    31063737all:
    3107     @echo 'ac_maketemp="$(MAKE)"'
     3738    @echo '@@@%%%=$(MAKE)=@@@%%%'
    31083739_ACEOF
    31093740# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3110 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    3111 if test -n "$ac_maketemp"; then
    3112   eval ac_cv_prog_make_${ac_make}_set=yes
    3113 else
    3114   eval ac_cv_prog_make_${ac_make}_set=no
    3115 fi
     3741case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3742  *@@@%%%=?*=@@@%%%*)
     3743    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3744  *)
     3745    eval ac_cv_prog_make_${ac_make}_set=no;;
     3746esac
    31163747rm -f conftest.make
    31173748fi
    3118 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3119   echo "$as_me:$LINENO: result: yes" >&5
    3120 echo "${ECHO_T}yes" >&6
     3749if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3750  { $as_echo "$as_me:$LINENO: result: yes" >&5
     3751$as_echo "yes" >&6; }
    31213752  SET_MAKE=
    31223753else
    3123   echo "$as_me:$LINENO: result: no" >&5
    3124 echo "${ECHO_T}no" >&6
     3754  { $as_echo "$as_me:$LINENO: result: no" >&5
     3755$as_echo "no" >&6; }
    31253756  SET_MAKE="MAKE=${MAKE-make}"
    31263757fi
     
    31293760  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    31303761set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3131 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3762{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3763$as_echo_n "checking for $ac_word... " >&6; }
    31333764if test "${ac_cv_prog_RANLIB+set}" = set; then
    3134   echo $ECHO_N "(cached) $ECHO_C" >&6
     3765  $as_echo_n "(cached) " >&6
    31353766else
    31363767  if test -n "$RANLIB"; then
     
    31433774  test -z "$as_dir" && as_dir=.
    31443775  for ac_exec_ext in '' $ac_executable_extensions; do
    3145   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3776  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31463777    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3147     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3778    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31483779    break 2
    31493780  fi
    31503781done
    31513782done
     3783IFS=$as_save_IFS
    31523784
    31533785fi
     
    31553787RANLIB=$ac_cv_prog_RANLIB
    31563788if test -n "$RANLIB"; then
    3157   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3158 echo "${ECHO_T}$RANLIB" >&6
    3159 else
    3160   echo "$as_me:$LINENO: result: no" >&5
    3161 echo "${ECHO_T}no" >&6
    3162 fi
     3789  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     3790$as_echo "$RANLIB" >&6; }
     3791else
     3792  { $as_echo "$as_me:$LINENO: result: no" >&5
     3793$as_echo "no" >&6; }
     3794fi
     3795
    31633796
    31643797fi
     
    31673800  # Extract the first word of "ranlib", so it can be a program name with args.
    31683801set dummy ranlib; ac_word=$2
    3169 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3802{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3803$as_echo_n "checking for $ac_word... " >&6; }
    31713804if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    3172   echo $ECHO_N "(cached) $ECHO_C" >&6
     3805  $as_echo_n "(cached) " >&6
    31733806else
    31743807  if test -n "$ac_ct_RANLIB"; then
     
    31813814  test -z "$as_dir" && as_dir=.
    31823815  for ac_exec_ext in '' $ac_executable_extensions; do
    3183   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3816  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31843817    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3185     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3818    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31863819    break 2
    31873820  fi
    31883821done
    31893822done
    3190 
    3191   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     3823IFS=$as_save_IFS
     3824
    31923825fi
    31933826fi
    31943827ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    31953828if test -n "$ac_ct_RANLIB"; then
    3196   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3197 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3198 else
    3199   echo "$as_me:$LINENO: result: no" >&5
    3200 echo "${ECHO_T}no" >&6
    3201 fi
    3202 
    3203   RANLIB=$ac_ct_RANLIB
     3829  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3830$as_echo "$ac_ct_RANLIB" >&6; }
     3831else
     3832  { $as_echo "$as_me:$LINENO: result: no" >&5
     3833$as_echo "no" >&6; }
     3834fi
     3835
     3836  if test "x$ac_ct_RANLIB" = x; then
     3837    RANLIB=":"
     3838  else
     3839    case $cross_compiling:$ac_tool_warned in
     3840yes:)
     3841{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3842$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3843ac_tool_warned=yes ;;
     3844esac
     3845    RANLIB=$ac_ct_RANLIB
     3846  fi
    32043847else
    32053848  RANLIB="$ac_cv_prog_RANLIB"
     
    32073850
    32083851
    3209 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3210 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     3852{ $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3853$as_echo_n "checking to see if architecture is 64-bit... " >&6; }
    32113854arch_64bit=no
    32123855case "$host_cpu" in
     
    32153858
    32163859if test "$arch_64bit" = yes; then
    3217   echo "$as_me:$LINENO: result: yes" >&5
    3218 echo "${ECHO_T}yes" >&6
    3219   if test -z "$COMPAT32BITFLAGS" ; then
    3220     COMPAT32BITFLAGS="-m32"
     3860  { $as_echo "$as_me:$LINENO: result: yes" >&5
     3861$as_echo "yes" >&6; }
     3862  if test -z "$ARCH_DEP_FLAGS" ; then
     3863    ARCH_DEP_FLAGS=-fPIC
    32213864  fi
    32223865else
    3223   echo "$as_me:$LINENO: result: no" >&5
    3224 echo "${ECHO_T}no" >&6
    3225   if test -z "$COMPAT32BITFLAGS" ; then
    3226     COMPAT32BITFLAGS=
     3866  { $as_echo "$as_me:$LINENO: result: no" >&5
     3867$as_echo "no" >&6; }
     3868  if test -z "$ARCH_DEP_FLAGS" ; then
     3869    ARCH_DEP_FLAGS=
    32273870  fi
    32283871fi
    32293872
    3230 # Only need compat32bitflag if using MG or MGPP
    3231 if test "$ENABLE_MG" = "0" ; then
    3232   COMPAT32BITFLAGS=
    3233 else
    3234   if test "$ENABLE_MGPP" = "0" ; then
    3235     COMPAT32BITFLAGS=
    3236   fi
    3237 fi
    3238 
    3239 export COMPAT32BITFLAGS
    3240 
     3873export ARCH_DEP_FLAGS
    32413874
    32423875
     
    32793912ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    32803913ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3281 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3282 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3914{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3915$as_echo_n "checking how to run the C preprocessor... " >&6; }
    32833916# On Suns, sometimes $CPP names a directory.
    32843917if test -n "$CPP" && test -d "$CPP"; then
     
    32873920if test -z "$CPP"; then
    32883921  if test "${ac_cv_prog_CPP+set}" = set; then
    3289   echo $ECHO_N "(cached) $ECHO_C" >&6
     3922  $as_echo_n "(cached) " >&6
    32903923else
    32913924      # Double quotes because CPP needs to be expanded
     
    33143947             Syntax error
    33153948_ACEOF
    3316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3317   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3949if { (ac_try="$ac_cpp conftest.$ac_ext"
     3950case "(($ac_try" in
     3951  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3952  *) ac_try_echo=$ac_try;;
     3953esac
     3954eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3955$as_echo "$ac_try_echo") >&5
     3956  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33183957  ac_status=$?
    33193958  grep -v '^ *+' conftest.er1 >conftest.err
    33203959  rm -f conftest.er1
    33213960  cat conftest.err >&5
    3322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3323   (exit $ac_status); } >/dev/null; then
    3324   if test -s conftest.err; then
    3325     ac_cpp_err=$ac_c_preproc_warn_flag
    3326     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3327   else
    3328     ac_cpp_err=
    3329   fi
    3330 else
    3331   ac_cpp_err=yes
    3332 fi
    3333 if test -z "$ac_cpp_err"; then
     3961  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3962  (exit $ac_status); } >/dev/null && {
     3963     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3964     test ! -s conftest.err
     3965       }; then
    33343966  :
    33353967else
    3336   echo "$as_me: failed program was:" >&5
     3968  $as_echo "$as_me: failed program was:" >&5
    33373969sed 's/^/| /' conftest.$ac_ext >&5
    33383970
     
    33403972continue
    33413973fi
     3974
    33423975rm -f conftest.err conftest.$ac_ext
    33433976
    3344   # OK, works on sane cases.  Now check whether non-existent headers
     3977  # OK, works on sane cases.  Now check whether nonexistent headers
    33453978  # can be detected and how.
    33463979  cat >conftest.$ac_ext <<_ACEOF
     
    33523985#include <ac_nonexistent.h>
    33533986_ACEOF
    3354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3355   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3987if { (ac_try="$ac_cpp conftest.$ac_ext"
     3988case "(($ac_try" in
     3989  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3990  *) ac_try_echo=$ac_try;;
     3991esac
     3992eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3993$as_echo "$ac_try_echo") >&5
     3994  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    33563995  ac_status=$?
    33573996  grep -v '^ *+' conftest.er1 >conftest.err
    33583997  rm -f conftest.er1
    33593998  cat conftest.err >&5
    3360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3361   (exit $ac_status); } >/dev/null; then
    3362   if test -s conftest.err; then
    3363     ac_cpp_err=$ac_c_preproc_warn_flag
    3364     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3365   else
    3366     ac_cpp_err=
    3367   fi
    3368 else
    3369   ac_cpp_err=yes
    3370 fi
    3371 if test -z "$ac_cpp_err"; then
     3999  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4000  (exit $ac_status); } >/dev/null && {
     4001     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4002     test ! -s conftest.err
     4003       }; then
    33724004  # Broken: success on invalid input.
    33734005continue
    33744006else
    3375   echo "$as_me: failed program was:" >&5
     4007  $as_echo "$as_me: failed program was:" >&5
    33764008sed 's/^/| /' conftest.$ac_ext >&5
    33774009
     
    33804012break
    33814013fi
     4014
    33824015rm -f conftest.err conftest.$ac_ext
    33834016
     
    33974030  ac_cv_prog_CPP=$CPP
    33984031fi
    3399 echo "$as_me:$LINENO: result: $CPP" >&5
    3400 echo "${ECHO_T}$CPP" >&6
     4032{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
     4033$as_echo "$CPP" >&6; }
    34014034ac_preproc_ok=false
    34024035for ac_c_preproc_warn_flag in '' yes
     
    34214054             Syntax error
    34224055_ACEOF
    3423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3424   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4056if { (ac_try="$ac_cpp conftest.$ac_ext"
     4057case "(($ac_try" in
     4058  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4059  *) ac_try_echo=$ac_try;;
     4060esac
     4061eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4062$as_echo "$ac_try_echo") >&5
     4063  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    34254064  ac_status=$?
    34264065  grep -v '^ *+' conftest.er1 >conftest.err
    34274066  rm -f conftest.er1
    34284067  cat conftest.err >&5
    3429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3430   (exit $ac_status); } >/dev/null; then
    3431   if test -s conftest.err; then
    3432     ac_cpp_err=$ac_c_preproc_warn_flag
    3433     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3434   else
    3435     ac_cpp_err=
    3436   fi
    3437 else
    3438   ac_cpp_err=yes
    3439 fi
    3440 if test -z "$ac_cpp_err"; then
     4068  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4069  (exit $ac_status); } >/dev/null && {
     4070     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4071     test ! -s conftest.err
     4072       }; then
    34414073  :
    34424074else
    3443   echo "$as_me: failed program was:" >&5
     4075  $as_echo "$as_me: failed program was:" >&5
    34444076sed 's/^/| /' conftest.$ac_ext >&5
    34454077
     
    34474079continue
    34484080fi
     4081
    34494082rm -f conftest.err conftest.$ac_ext
    34504083
    3451   # OK, works on sane cases.  Now check whether non-existent headers
     4084  # OK, works on sane cases.  Now check whether nonexistent headers
    34524085  # can be detected and how.
    34534086  cat >conftest.$ac_ext <<_ACEOF
     
    34594092#include <ac_nonexistent.h>
    34604093_ACEOF
    3461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3462   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4094if { (ac_try="$ac_cpp conftest.$ac_ext"
     4095case "(($ac_try" in
     4096  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4097  *) ac_try_echo=$ac_try;;
     4098esac
     4099eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4100$as_echo "$ac_try_echo") >&5
     4101  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    34634102  ac_status=$?
    34644103  grep -v '^ *+' conftest.er1 >conftest.err
    34654104  rm -f conftest.er1
    34664105  cat conftest.err >&5
    3467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3468   (exit $ac_status); } >/dev/null; then
    3469   if test -s conftest.err; then
    3470     ac_cpp_err=$ac_c_preproc_warn_flag
    3471     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3472   else
    3473     ac_cpp_err=
    3474   fi
    3475 else
    3476   ac_cpp_err=yes
    3477 fi
    3478 if test -z "$ac_cpp_err"; then
     4106  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4107  (exit $ac_status); } >/dev/null && {
     4108     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4109     test ! -s conftest.err
     4110       }; then
    34794111  # Broken: success on invalid input.
    34804112continue
    34814113else
    3482   echo "$as_me: failed program was:" >&5
     4114  $as_echo "$as_me: failed program was:" >&5
    34834115sed 's/^/| /' conftest.$ac_ext >&5
    34844116
     
    34874119break
    34884120fi
     4121
    34894122rm -f conftest.err conftest.$ac_ext
    34904123
     
    34954128  :
    34964129else
    3497   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     4130  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4131$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4132{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    34984133See \`config.log' for more details." >&5
    3499 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     4134$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    35004135See \`config.log' for more details." >&2;}
    3501    { (exit 1); exit 1; }; }
     4136   { (exit 1); exit 1; }; }; }
    35024137fi
    35034138
     
    35094144
    35104145
    3511 echo "$as_me:$LINENO: checking for egrep" >&5
    3512 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3513 if test "${ac_cv_prog_egrep+set}" = set; then
    3514   echo $ECHO_N "(cached) $ECHO_C" >&6
    3515 else
    3516   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3517     then ac_cv_prog_egrep='grep -E'
    3518     else ac_cv_prog_egrep='egrep'
     4146{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4147$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4148if test "${ac_cv_path_GREP+set}" = set; then
     4149  $as_echo_n "(cached) " >&6
     4150else
     4151  if test -z "$GREP"; then
     4152  ac_path_GREP_found=false
     4153  # Loop through the user's path and test for each of PROGNAME-LIST
     4154  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4155for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4156do
     4157  IFS=$as_save_IFS
     4158  test -z "$as_dir" && as_dir=.
     4159  for ac_prog in grep ggrep; do
     4160    for ac_exec_ext in '' $ac_executable_extensions; do
     4161      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4162      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4163# Check for GNU ac_path_GREP and select it if it is found.
     4164  # Check for GNU $ac_path_GREP
     4165case `"$ac_path_GREP" --version 2>&1` in
     4166*GNU*)
     4167  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4168*)
     4169  ac_count=0
     4170  $as_echo_n 0123456789 >"conftest.in"
     4171  while :
     4172  do
     4173    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4174    mv "conftest.tmp" "conftest.in"
     4175    cp "conftest.in" "conftest.nl"
     4176    $as_echo 'GREP' >> "conftest.nl"
     4177    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4178    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4179    ac_count=`expr $ac_count + 1`
     4180    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4181      # Best one so far, save it but keep looking for a better one
     4182      ac_cv_path_GREP="$ac_path_GREP"
     4183      ac_path_GREP_max=$ac_count
    35194184    fi
    3520 fi
    3521 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3522 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3523  EGREP=$ac_cv_prog_egrep
    3524 
    3525 
    3526 
    3527 echo "$as_me:$LINENO: checking for AIX" >&5
    3528 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    3529 cat >conftest.$ac_ext <<_ACEOF
    3530 /* confdefs.h.  */
    3531 _ACEOF
    3532 cat confdefs.h >>conftest.$ac_ext
    3533 cat >>conftest.$ac_ext <<_ACEOF
    3534 /* end confdefs.h.  */
    3535 #ifdef _AIX
    3536   yes
    3537 #endif
    3538 
    3539 _ACEOF
    3540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3541   $EGREP "yes" >/dev/null 2>&1; then
    3542   echo "$as_me:$LINENO: result: yes" >&5
    3543 echo "${ECHO_T}yes" >&6
    3544 cat >>confdefs.h <<\_ACEOF
    3545 #define _ALL_SOURCE 1
    3546 _ACEOF
    3547 
    3548 else
    3549   echo "$as_me:$LINENO: result: no" >&5
    3550 echo "${ECHO_T}no" >&6
    3551 fi
    3552 rm -f conftest*
    3553 
    3554 
    3555 echo "$as_me:$LINENO: checking for library containing strerror" >&5
    3556 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
    3557 if test "${ac_cv_search_strerror+set}" = set; then
    3558   echo $ECHO_N "(cached) $ECHO_C" >&6
    3559 else
    3560   ac_func_search_save_LIBS=$LIBS
    3561 ac_cv_search_strerror=no
    3562 cat >conftest.$ac_ext <<_ACEOF
    3563 /* confdefs.h.  */
    3564 _ACEOF
    3565 cat confdefs.h >>conftest.$ac_ext
    3566 cat >>conftest.$ac_ext <<_ACEOF
    3567 /* end confdefs.h.  */
    3568 
    3569 /* Override any gcc2 internal prototype to avoid an error.  */
    3570 #ifdef __cplusplus
    3571 extern "C"
    3572 #endif
    3573 /* We use char because int might match the return type of a gcc2
    3574    builtin and then its argument prototype would still apply.  */
    3575 char strerror ();
    3576 int
    3577 main ()
    3578 {
    3579 strerror ();
    3580   ;
    3581   return 0;
    3582 }
    3583 _ACEOF
    3584 rm -f conftest.$ac_objext conftest$ac_exeext
    3585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3586   (eval $ac_link) 2>conftest.er1
    3587   ac_status=$?
    3588   grep -v '^ *+' conftest.er1 >conftest.err
    3589   rm -f conftest.er1
    3590   cat conftest.err >&5
    3591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3592   (exit $ac_status); } &&
    3593      { ac_try='test -z "$ac_c_werror_flag"
    3594              || test ! -s conftest.err'
    3595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3596   (eval $ac_try) 2>&5
    3597   ac_status=$?
    3598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3599   (exit $ac_status); }; } &&
    3600      { ac_try='test -s conftest$ac_exeext'
    3601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3602   (eval $ac_try) 2>&5
    3603   ac_status=$?
    3604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3605   (exit $ac_status); }; }; then
    3606   ac_cv_search_strerror="none required"
    3607 else
    3608   echo "$as_me: failed program was:" >&5
    3609 sed 's/^/| /' conftest.$ac_ext >&5
    3610 
    3611 fi
    3612 rm -f conftest.err conftest.$ac_objext \
    3613       conftest$ac_exeext conftest.$ac_ext
    3614 if test "$ac_cv_search_strerror" = no; then
    3615   for ac_lib in cposix; do
    3616     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    3617     cat >conftest.$ac_ext <<_ACEOF
    3618 /* confdefs.h.  */
    3619 _ACEOF
    3620 cat confdefs.h >>conftest.$ac_ext
    3621 cat >>conftest.$ac_ext <<_ACEOF
    3622 /* end confdefs.h.  */
    3623 
    3624 /* Override any gcc2 internal prototype to avoid an error.  */
    3625 #ifdef __cplusplus
    3626 extern "C"
    3627 #endif
    3628 /* We use char because int might match the return type of a gcc2
    3629    builtin and then its argument prototype would still apply.  */
    3630 char strerror ();
    3631 int
    3632 main ()
    3633 {
    3634 strerror ();
    3635   ;
    3636   return 0;
    3637 }
    3638 _ACEOF
    3639 rm -f conftest.$ac_objext conftest$ac_exeext
    3640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3641   (eval $ac_link) 2>conftest.er1
    3642   ac_status=$?
    3643   grep -v '^ *+' conftest.er1 >conftest.err
    3644   rm -f conftest.er1
    3645   cat conftest.err >&5
    3646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3647   (exit $ac_status); } &&
    3648      { ac_try='test -z "$ac_c_werror_flag"
    3649              || test ! -s conftest.err'
    3650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3651   (eval $ac_try) 2>&5
    3652   ac_status=$?
    3653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3654   (exit $ac_status); }; } &&
    3655      { ac_try='test -s conftest$ac_exeext'
    3656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3657   (eval $ac_try) 2>&5
    3658   ac_status=$?
    3659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3660   (exit $ac_status); }; }; then
    3661   ac_cv_search_strerror="-l$ac_lib"
    3662 break
    3663 else
    3664   echo "$as_me: failed program was:" >&5
    3665 sed 's/^/| /' conftest.$ac_ext >&5
    3666 
    3667 fi
    3668 rm -f conftest.err conftest.$ac_objext \
    3669       conftest$ac_exeext conftest.$ac_ext
     4185    # 10*(2^10) chars as input seems more than enough
     4186    test $ac_count -gt 10 && break
    36704187  done
    3671 fi
    3672 LIBS=$ac_func_search_save_LIBS
    3673 fi
    3674 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    3675 echo "${ECHO_T}$ac_cv_search_strerror" >&6
    3676 if test "$ac_cv_search_strerror" != no; then
    3677   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
    3678 
    3679 fi
    3680 
    3681 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3682 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4188  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4189esac
     4190
     4191      $ac_path_GREP_found && break 3
     4192    done
     4193  done
     4194done
     4195IFS=$as_save_IFS
     4196  if test -z "$ac_cv_path_GREP"; then
     4197    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4198$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4199   { (exit 1); exit 1; }; }
     4200  fi
     4201else
     4202  ac_cv_path_GREP=$GREP
     4203fi
     4204
     4205fi
     4206{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4207$as_echo "$ac_cv_path_GREP" >&6; }
     4208 GREP="$ac_cv_path_GREP"
     4209
     4210
     4211{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4212$as_echo_n "checking for egrep... " >&6; }
     4213if test "${ac_cv_path_EGREP+set}" = set; then
     4214  $as_echo_n "(cached) " >&6
     4215else
     4216  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4217   then ac_cv_path_EGREP="$GREP -E"
     4218   else
     4219     if test -z "$EGREP"; then
     4220  ac_path_EGREP_found=false
     4221  # Loop through the user's path and test for each of PROGNAME-LIST
     4222  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4223for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4224do
     4225  IFS=$as_save_IFS
     4226  test -z "$as_dir" && as_dir=.
     4227  for ac_prog in egrep; do
     4228    for ac_exec_ext in '' $ac_executable_extensions; do
     4229      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4230      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4231# Check for GNU ac_path_EGREP and select it if it is found.
     4232  # Check for GNU $ac_path_EGREP
     4233case `"$ac_path_EGREP" --version 2>&1` in
     4234*GNU*)
     4235  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4236*)
     4237  ac_count=0
     4238  $as_echo_n 0123456789 >"conftest.in"
     4239  while :
     4240  do
     4241    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4242    mv "conftest.tmp" "conftest.in"
     4243    cp "conftest.in" "conftest.nl"
     4244    $as_echo 'EGREP' >> "conftest.nl"
     4245    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4246    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4247    ac_count=`expr $ac_count + 1`
     4248    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4249      # Best one so far, save it but keep looking for a better one
     4250      ac_cv_path_EGREP="$ac_path_EGREP"
     4251      ac_path_EGREP_max=$ac_count
     4252    fi
     4253    # 10*(2^10) chars as input seems more than enough
     4254    test $ac_count -gt 10 && break
     4255  done
     4256  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4257esac
     4258
     4259      $ac_path_EGREP_found && break 3
     4260    done
     4261  done
     4262done
     4263IFS=$as_save_IFS
     4264  if test -z "$ac_cv_path_EGREP"; then
     4265    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4266$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4267   { (exit 1); exit 1; }; }
     4268  fi
     4269else
     4270  ac_cv_path_EGREP=$EGREP
     4271fi
     4272
     4273   fi
     4274fi
     4275{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4276$as_echo "$ac_cv_path_EGREP" >&6; }
     4277 EGREP="$ac_cv_path_EGREP"
     4278
     4279
     4280{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4281$as_echo_n "checking for ANSI C header files... " >&6; }
    36834282if test "${ac_cv_header_stdc+set}" = set; then
    3684   echo $ECHO_N "(cached) $ECHO_C" >&6
     4283  $as_echo_n "(cached) " >&6
    36854284else
    36864285  cat >conftest.$ac_ext <<_ACEOF
     
    37044303_ACEOF
    37054304rm -f conftest.$ac_objext
    3706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3707   (eval $ac_compile) 2>conftest.er1
     4305if { (ac_try="$ac_compile"
     4306case "(($ac_try" in
     4307  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4308  *) ac_try_echo=$ac_try;;
     4309esac
     4310eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4311$as_echo "$ac_try_echo") >&5
     4312  (eval "$ac_compile") 2>conftest.er1
    37084313  ac_status=$?
    37094314  grep -v '^ *+' conftest.er1 >conftest.err
    37104315  rm -f conftest.er1
    37114316  cat conftest.err >&5
    3712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3713   (exit $ac_status); } &&
    3714      { ac_try='test -z "$ac_c_werror_flag"
    3715              || test ! -s conftest.err'
    3716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3717   (eval $ac_try) 2>&5
    3718   ac_status=$?
    3719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3720   (exit $ac_status); }; } &&
    3721      { ac_try='test -s conftest.$ac_objext'
    3722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3723   (eval $ac_try) 2>&5
    3724   ac_status=$?
    3725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3726   (exit $ac_status); }; }; then
     4317  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4318  (exit $ac_status); } && {
     4319     test -z "$ac_c_werror_flag" ||
     4320     test ! -s conftest.err
     4321       } && test -s conftest.$ac_objext; then
    37274322  ac_cv_header_stdc=yes
    37284323else
    3729   echo "$as_me: failed program was:" >&5
     4324  $as_echo "$as_me: failed program was:" >&5
    37304325sed 's/^/| /' conftest.$ac_ext >&5
    37314326
    3732 ac_cv_header_stdc=no
    3733 fi
    3734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4327    ac_cv_header_stdc=no
     4328fi
     4329
     4330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37354331
    37364332if test $ac_cv_header_stdc = yes; then
     
    37884384/* end confdefs.h.  */
    37894385#include <ctype.h>
     4386#include <stdlib.h>
    37904387#if ((' ' & 0x0FF) == 0x020)
    37914388# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    38074404    if (XOR (islower (i), ISLOWER (i))
    38084405    || toupper (i) != TOUPPER (i))
    3809       exit(2);
    3810   exit (0);
     4406      return 2;
     4407  return 0;
    38114408}
    38124409_ACEOF
    38134410rm -f conftest$ac_exeext
    3814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3815   (eval $ac_link) 2>&5
     4411if { (ac_try="$ac_link"
     4412case "(($ac_try" in
     4413  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4414  *) ac_try_echo=$ac_try;;
     4415esac
     4416eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4417$as_echo "$ac_try_echo") >&5
     4418  (eval "$ac_link") 2>&5
    38164419  ac_status=$?
    3817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4420  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38184421  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3820   (eval $ac_try) 2>&5
     4422  { (case "(($ac_try" in
     4423  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4424  *) ac_try_echo=$ac_try;;
     4425esac
     4426eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4427$as_echo "$ac_try_echo") >&5
     4428  (eval "$ac_try") 2>&5
    38214429  ac_status=$?
    3822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4430  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38234431  (exit $ac_status); }; }; then
    38244432  :
    38254433else
    3826   echo "$as_me: program exited with status $ac_status" >&5
    3827 echo "$as_me: failed program was:" >&5
     4434  $as_echo "$as_me: program exited with status $ac_status" >&5
     4435$as_echo "$as_me: failed program was:" >&5
    38284436sed 's/^/| /' conftest.$ac_ext >&5
    38294437
     
    38314439ac_cv_header_stdc=no
    38324440fi
    3833 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3834 fi
    3835 fi
    3836 fi
    3837 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3838 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4441rm -rf conftest.dSYM
     4442rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4443fi
     4444
     4445
     4446fi
     4447fi
     4448{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4449$as_echo "$ac_cv_header_stdc" >&6; }
    38394450if test $ac_cv_header_stdc = yes; then
    38404451
     
    38584469          inttypes.h stdint.h unistd.h
    38594470do
    3860 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3861 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3864   echo $ECHO_N "(cached) $ECHO_C" >&6
     4471as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4472{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     4473$as_echo_n "checking for $ac_header... " >&6; }
     4474if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4475  $as_echo_n "(cached) " >&6
    38654476else
    38664477  cat >conftest.$ac_ext <<_ACEOF
     
    38754486_ACEOF
    38764487rm -f conftest.$ac_objext
    3877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3878   (eval $ac_compile) 2>conftest.er1
     4488if { (ac_try="$ac_compile"
     4489case "(($ac_try" in
     4490  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4491  *) ac_try_echo=$ac_try;;
     4492esac
     4493eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4494$as_echo "$ac_try_echo") >&5
     4495  (eval "$ac_compile") 2>conftest.er1
    38794496  ac_status=$?
    38804497  grep -v '^ *+' conftest.er1 >conftest.err
    38814498  rm -f conftest.er1
    38824499  cat conftest.err >&5
    3883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3884   (exit $ac_status); } &&
    3885      { ac_try='test -z "$ac_c_werror_flag"
    3886              || test ! -s conftest.err'
    3887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3888   (eval $ac_try) 2>&5
    3889   ac_status=$?
    3890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3891   (exit $ac_status); }; } &&
    3892      { ac_try='test -s conftest.$ac_objext'
    3893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3894   (eval $ac_try) 2>&5
    3895   ac_status=$?
    3896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3897   (exit $ac_status); }; }; then
     4500  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4501  (exit $ac_status); } && {
     4502     test -z "$ac_c_werror_flag" ||
     4503     test ! -s conftest.err
     4504       } && test -s conftest.$ac_objext; then
    38984505  eval "$as_ac_Header=yes"
    38994506else
    3900   echo "$as_me: failed program was:" >&5
     4507  $as_echo "$as_me: failed program was:" >&5
    39014508sed 's/^/| /' conftest.$ac_ext >&5
    39024509
    3903 eval "$as_ac_Header=no"
    3904 fi
    3905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3906 fi
    3907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    3909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4510    eval "$as_ac_Header=no"
     4511fi
     4512
     4513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4514fi
     4515ac_res=`eval 'as_val=${'$as_ac_Header'}
     4516         $as_echo "$as_val"'`
     4517           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     4518$as_echo "$ac_res" >&6; }
     4519as_val=`eval 'as_val=${'$as_ac_Header'}
     4520         $as_echo "$as_val"'`
     4521   if test "x$as_val" = x""yes; then
    39104522  cat >>confdefs.h <<_ACEOF
    3911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4523#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    39124524_ACEOF
    39134525
     
    39174529
    39184530
     4531
     4532  if test "${ac_cv_header_minix_config_h+set}" = set; then
     4533  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4534$as_echo_n "checking for minix/config.h... " >&6; }
    39194535if test "${ac_cv_header_minix_config_h+set}" = set; then
    3920   echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3921 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    3922 if test "${ac_cv_header_minix_config_h+set}" = set; then
    3923   echo $ECHO_N "(cached) $ECHO_C" >&6
    3924 fi
    3925 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3926 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4536  $as_echo_n "(cached) " >&6
     4537fi
     4538{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4539$as_echo "$ac_cv_header_minix_config_h" >&6; }
    39274540else
    39284541  # Is the header compilable?
    3929 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    3930 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     4542{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4543$as_echo_n "checking minix/config.h usability... " >&6; }
    39314544cat >conftest.$ac_ext <<_ACEOF
    39324545/* confdefs.h.  */
     
    39394552_ACEOF
    39404553rm -f conftest.$ac_objext
    3941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3942   (eval $ac_compile) 2>conftest.er1
     4554if { (ac_try="$ac_compile"
     4555case "(($ac_try" in
     4556  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4557  *) ac_try_echo=$ac_try;;
     4558esac
     4559eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4560$as_echo "$ac_try_echo") >&5
     4561  (eval "$ac_compile") 2>conftest.er1
    39434562  ac_status=$?
    39444563  grep -v '^ *+' conftest.er1 >conftest.err
    39454564  rm -f conftest.er1
    39464565  cat conftest.err >&5
    3947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3948   (exit $ac_status); } &&
    3949      { ac_try='test -z "$ac_c_werror_flag"
    3950              || test ! -s conftest.err'
    3951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3952   (eval $ac_try) 2>&5
    3953   ac_status=$?
    3954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3955   (exit $ac_status); }; } &&
    3956      { ac_try='test -s conftest.$ac_objext'
    3957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3958   (eval $ac_try) 2>&5
    3959   ac_status=$?
    3960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3961   (exit $ac_status); }; }; then
     4566  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4567  (exit $ac_status); } && {
     4568     test -z "$ac_c_werror_flag" ||
     4569     test ! -s conftest.err
     4570       } && test -s conftest.$ac_objext; then
    39624571  ac_header_compiler=yes
    39634572else
    3964   echo "$as_me: failed program was:" >&5
     4573  $as_echo "$as_me: failed program was:" >&5
    39654574sed 's/^/| /' conftest.$ac_ext >&5
    39664575
    3967 ac_header_compiler=no
    3968 fi
    3969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3971 echo "${ECHO_T}$ac_header_compiler" >&6
     4576    ac_header_compiler=no
     4577fi
     4578
     4579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4580{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4581$as_echo "$ac_header_compiler" >&6; }
    39724582
    39734583# Is the header present?
    3974 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    3975 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     4584{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4585$as_echo_n "checking minix/config.h presence... " >&6; }
    39764586cat >conftest.$ac_ext <<_ACEOF
    39774587/* confdefs.h.  */
     
    39824592#include <minix/config.h>
    39834593_ACEOF
    3984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3985   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4594if { (ac_try="$ac_cpp conftest.$ac_ext"
     4595case "(($ac_try" in
     4596  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4597  *) ac_try_echo=$ac_try;;
     4598esac
     4599eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4600$as_echo "$ac_try_echo") >&5
     4601  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    39864602  ac_status=$?
    39874603  grep -v '^ *+' conftest.er1 >conftest.err
    39884604  rm -f conftest.er1
    39894605  cat conftest.err >&5
    3990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3991   (exit $ac_status); } >/dev/null; then
    3992   if test -s conftest.err; then
    3993     ac_cpp_err=$ac_c_preproc_warn_flag
    3994     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3995   else
    3996     ac_cpp_err=
    3997   fi
    3998 else
    3999   ac_cpp_err=yes
    4000 fi
    4001 if test -z "$ac_cpp_err"; then
     4606  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4607  (exit $ac_status); } >/dev/null && {
     4608     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4609     test ! -s conftest.err
     4610       }; then
    40024611  ac_header_preproc=yes
    40034612else
    4004   echo "$as_me: failed program was:" >&5
     4613  $as_echo "$as_me: failed program was:" >&5
    40054614sed 's/^/| /' conftest.$ac_ext >&5
    40064615
    40074616  ac_header_preproc=no
    40084617fi
     4618
    40094619rm -f conftest.err conftest.$ac_ext
    4010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4011 echo "${ECHO_T}$ac_header_preproc" >&6
     4620{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4621$as_echo "$ac_header_preproc" >&6; }
    40124622
    40134623# So?  What about this header?
    40144624case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    40154625  yes:no: )
    4016     { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4017 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4018     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
    4019 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
     4626    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4627$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4628    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
     4629$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
    40204630    ac_header_preproc=yes
    40214631    ;;
    40224632  no:yes:* )
    4023     { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
    4024 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
    4025     { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
    4026 echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
    4027     { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
    4028 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
    4029     { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
    4030 echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4031     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
    4032 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
    4033     { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    4034 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    4035     (
    4036       cat <<\_ASBOX
    4037 ## ------------------------------------------ ##
    4038 ## Report this to the AC_PACKAGE_NAME lists.  ##
    4039 ## ------------------------------------------ ##
    4040 _ASBOX
    4041     ) |
    4042       sed "s/^/$as_me: WARNING:     /" >&2
     4633    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
     4634$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
     4635    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
     4636$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
     4637    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
     4638$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
     4639    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
     4640$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4641    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
     4642$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
     4643    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
     4644$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
     4645
    40434646    ;;
    40444647esac
    4045 echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4046 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4648{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4649$as_echo_n "checking for minix/config.h... " >&6; }
    40474650if test "${ac_cv_header_minix_config_h+set}" = set; then
    4048   echo $ECHO_N "(cached) $ECHO_C" >&6
     4651  $as_echo_n "(cached) " >&6
    40494652else
    40504653  ac_cv_header_minix_config_h=$ac_header_preproc
    40514654fi
    4052 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4053 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    4054 
    4055 fi
    4056 if test $ac_cv_header_minix_config_h = yes; then
     4655{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4656$as_echo "$ac_cv_header_minix_config_h" >&6; }
     4657
     4658fi
     4659if test "x$ac_cv_header_minix_config_h" = x""yes; then
    40574660  MINIX=yes
    40584661else
     
    40614664
    40624665
    4063 if test "$MINIX" = yes; then
     4666  if test "$MINIX" = yes; then
    40644667
    40654668cat >>confdefs.h <<\_ACEOF
     
    40774680_ACEOF
    40784681
    4079 fi
    4080 
    4081 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    4082 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     4682  fi
     4683
     4684
     4685
     4686  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
     4687$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
     4688if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
     4689  $as_echo_n "(cached) " >&6
     4690else
     4691  cat >conftest.$ac_ext <<_ACEOF
     4692/* confdefs.h.  */
     4693_ACEOF
     4694cat confdefs.h >>conftest.$ac_ext
     4695cat >>conftest.$ac_ext <<_ACEOF
     4696/* end confdefs.h.  */
     4697
     4698#     define __EXTENSIONS__ 1
     4699      $ac_includes_default
     4700int
     4701main ()
     4702{
     4703
     4704  ;
     4705  return 0;
     4706}
     4707_ACEOF
     4708rm -f conftest.$ac_objext
     4709if { (ac_try="$ac_compile"
     4710case "(($ac_try" in
     4711  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4712  *) ac_try_echo=$ac_try;;
     4713esac
     4714eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4715$as_echo "$ac_try_echo") >&5
     4716  (eval "$ac_compile") 2>conftest.er1
     4717  ac_status=$?
     4718  grep -v '^ *+' conftest.er1 >conftest.err
     4719  rm -f conftest.er1
     4720  cat conftest.err >&5
     4721  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4722  (exit $ac_status); } && {
     4723     test -z "$ac_c_werror_flag" ||
     4724     test ! -s conftest.err
     4725       } && test -s conftest.$ac_objext; then
     4726  ac_cv_safe_to_define___extensions__=yes
     4727else
     4728  $as_echo "$as_me: failed program was:" >&5
     4729sed 's/^/| /' conftest.$ac_ext >&5
     4730
     4731    ac_cv_safe_to_define___extensions__=no
     4732fi
     4733
     4734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4735fi
     4736{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
     4737$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
     4738  test $ac_cv_safe_to_define___extensions__ = yes &&
     4739    cat >>confdefs.h <<\_ACEOF
     4740#define __EXTENSIONS__ 1
     4741_ACEOF
     4742
     4743  cat >>confdefs.h <<\_ACEOF
     4744#define _ALL_SOURCE 1
     4745_ACEOF
     4746
     4747  cat >>confdefs.h <<\_ACEOF
     4748#define _GNU_SOURCE 1
     4749_ACEOF
     4750
     4751  cat >>confdefs.h <<\_ACEOF
     4752#define _POSIX_PTHREAD_SEMANTICS 1
     4753_ACEOF
     4754
     4755  cat >>confdefs.h <<\_ACEOF
     4756#define _TANDEM_SOURCE 1
     4757_ACEOF
     4758
     4759
     4760{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
     4761$as_echo_n "checking for library containing strerror... " >&6; }
     4762if test "${ac_cv_search_strerror+set}" = set; then
     4763  $as_echo_n "(cached) " >&6
     4764else
     4765  ac_func_search_save_LIBS=$LIBS
     4766cat >conftest.$ac_ext <<_ACEOF
     4767/* confdefs.h.  */
     4768_ACEOF
     4769cat confdefs.h >>conftest.$ac_ext
     4770cat >>conftest.$ac_ext <<_ACEOF
     4771/* end confdefs.h.  */
     4772
     4773/* Override any GCC internal prototype to avoid an error.
     4774   Use char because int might match the return type of a GCC
     4775   builtin and then its argument prototype would still apply.  */
     4776#ifdef __cplusplus
     4777extern "C"
     4778#endif
     4779char strerror ();
     4780int
     4781main ()
     4782{
     4783return strerror ();
     4784  ;
     4785  return 0;
     4786}
     4787_ACEOF
     4788for ac_lib in '' cposix; do
     4789  if test -z "$ac_lib"; then
     4790    ac_res="none required"
     4791  else
     4792    ac_res=-l$ac_lib
     4793    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4794  fi
     4795  rm -f conftest.$ac_objext conftest$ac_exeext
     4796if { (ac_try="$ac_link"
     4797case "(($ac_try" in
     4798  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4799  *) ac_try_echo=$ac_try;;
     4800esac
     4801eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4802$as_echo "$ac_try_echo") >&5
     4803  (eval "$ac_link") 2>conftest.er1
     4804  ac_status=$?
     4805  grep -v '^ *+' conftest.er1 >conftest.err
     4806  rm -f conftest.er1
     4807  cat conftest.err >&5
     4808  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4809  (exit $ac_status); } && {
     4810     test -z "$ac_c_werror_flag" ||
     4811     test ! -s conftest.err
     4812       } && test -s conftest$ac_exeext && {
     4813     test "$cross_compiling" = yes ||
     4814     $as_test_x conftest$ac_exeext
     4815       }; then
     4816  ac_cv_search_strerror=$ac_res
     4817else
     4818  $as_echo "$as_me: failed program was:" >&5
     4819sed 's/^/| /' conftest.$ac_ext >&5
     4820
     4821
     4822fi
     4823
     4824rm -rf conftest.dSYM
     4825rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4826      conftest$ac_exeext
     4827  if test "${ac_cv_search_strerror+set}" = set; then
     4828  break
     4829fi
     4830done
     4831if test "${ac_cv_search_strerror+set}" = set; then
     4832  :
     4833else
     4834  ac_cv_search_strerror=no
     4835fi
     4836rm conftest.$ac_ext
     4837LIBS=$ac_func_search_save_LIBS
     4838fi
     4839{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     4840$as_echo "$ac_cv_search_strerror" >&6; }
     4841ac_res=$ac_cv_search_strerror
     4842if test "$ac_res" != no; then
     4843  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     4844
     4845fi
     4846
     4847
     4848  if test "${ac_cv_header_minix_config_h+set}" = set; then
     4849  { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4850$as_echo_n "checking for minix/config.h... " >&6; }
     4851if test "${ac_cv_header_minix_config_h+set}" = set; then
     4852  $as_echo_n "(cached) " >&6
     4853fi
     4854{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4855$as_echo "$ac_cv_header_minix_config_h" >&6; }
     4856else
     4857  # Is the header compilable?
     4858{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4859$as_echo_n "checking minix/config.h usability... " >&6; }
     4860cat >conftest.$ac_ext <<_ACEOF
     4861/* confdefs.h.  */
     4862_ACEOF
     4863cat confdefs.h >>conftest.$ac_ext
     4864cat >>conftest.$ac_ext <<_ACEOF
     4865/* end confdefs.h.  */
     4866$ac_includes_default
     4867#include <minix/config.h>
     4868_ACEOF
     4869rm -f conftest.$ac_objext
     4870if { (ac_try="$ac_compile"
     4871case "(($ac_try" in
     4872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4873  *) ac_try_echo=$ac_try;;
     4874esac
     4875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4876$as_echo "$ac_try_echo") >&5
     4877  (eval "$ac_compile") 2>conftest.er1
     4878  ac_status=$?
     4879  grep -v '^ *+' conftest.er1 >conftest.err
     4880  rm -f conftest.er1
     4881  cat conftest.err >&5
     4882  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4883  (exit $ac_status); } && {
     4884     test -z "$ac_c_werror_flag" ||
     4885     test ! -s conftest.err
     4886       } && test -s conftest.$ac_objext; then
     4887  ac_header_compiler=yes
     4888else
     4889  $as_echo "$as_me: failed program was:" >&5
     4890sed 's/^/| /' conftest.$ac_ext >&5
     4891
     4892    ac_header_compiler=no
     4893fi
     4894
     4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4896{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4897$as_echo "$ac_header_compiler" >&6; }
     4898
     4899# Is the header present?
     4900{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4901$as_echo_n "checking minix/config.h presence... " >&6; }
     4902cat >conftest.$ac_ext <<_ACEOF
     4903/* confdefs.h.  */
     4904_ACEOF
     4905cat confdefs.h >>conftest.$ac_ext
     4906cat >>conftest.$ac_ext <<_ACEOF
     4907/* end confdefs.h.  */
     4908#include <minix/config.h>
     4909_ACEOF
     4910if { (ac_try="$ac_cpp conftest.$ac_ext"
     4911case "(($ac_try" in
     4912  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4913  *) ac_try_echo=$ac_try;;
     4914esac
     4915eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4916$as_echo "$ac_try_echo") >&5
     4917  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4918  ac_status=$?
     4919  grep -v '^ *+' conftest.er1 >conftest.err
     4920  rm -f conftest.er1
     4921  cat conftest.err >&5
     4922  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4923  (exit $ac_status); } >/dev/null && {
     4924     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4925     test ! -s conftest.err
     4926       }; then
     4927  ac_header_preproc=yes
     4928else
     4929  $as_echo "$as_me: failed program was:" >&5
     4930sed 's/^/| /' conftest.$ac_ext >&5
     4931
     4932  ac_header_preproc=no
     4933fi
     4934
     4935rm -f conftest.err conftest.$ac_ext
     4936{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4937$as_echo "$ac_header_preproc" >&6; }
     4938
     4939# So?  What about this header?
     4940case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4941  yes:no: )
     4942    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4943$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4944    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
     4945$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
     4946    ac_header_preproc=yes
     4947    ;;
     4948  no:yes:* )
     4949    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
     4950$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
     4951    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
     4952$as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
     4953    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
     4954$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
     4955    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
     4956$as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4957    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
     4958$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
     4959    { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
     4960$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
     4961
     4962    ;;
     4963esac
     4964{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4965$as_echo_n "checking for minix/config.h... " >&6; }
     4966if test "${ac_cv_header_minix_config_h+set}" = set; then
     4967  $as_echo_n "(cached) " >&6
     4968else
     4969  ac_cv_header_minix_config_h=$ac_header_preproc
     4970fi
     4971{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4972$as_echo "$ac_cv_header_minix_config_h" >&6; }
     4973
     4974fi
     4975if test "x$ac_cv_header_minix_config_h" = x""yes; then
     4976  MINIX=yes
     4977else
     4978  MINIX=
     4979fi
     4980
     4981
     4982  if test "$MINIX" = yes; then
     4983
     4984cat >>confdefs.h <<\_ACEOF
     4985#define _POSIX_SOURCE 1
     4986_ACEOF
     4987
     4988
     4989cat >>confdefs.h <<\_ACEOF
     4990#define _POSIX_1_SOURCE 2
     4991_ACEOF
     4992
     4993
     4994cat >>confdefs.h <<\_ACEOF
     4995#define _MINIX 1
     4996_ACEOF
     4997
     4998  fi
     4999
     5000
     5001
     5002  { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
     5003$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
     5004if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
     5005  $as_echo_n "(cached) " >&6
     5006else
     5007  cat >conftest.$ac_ext <<_ACEOF
     5008/* confdefs.h.  */
     5009_ACEOF
     5010cat confdefs.h >>conftest.$ac_ext
     5011cat >>conftest.$ac_ext <<_ACEOF
     5012/* end confdefs.h.  */
     5013
     5014#     define __EXTENSIONS__ 1
     5015      $ac_includes_default
     5016int
     5017main ()
     5018{
     5019
     5020  ;
     5021  return 0;
     5022}
     5023_ACEOF
     5024rm -f conftest.$ac_objext
     5025if { (ac_try="$ac_compile"
     5026case "(($ac_try" in
     5027  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5028  *) ac_try_echo=$ac_try;;
     5029esac
     5030eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5031$as_echo "$ac_try_echo") >&5
     5032  (eval "$ac_compile") 2>conftest.er1
     5033  ac_status=$?
     5034  grep -v '^ *+' conftest.er1 >conftest.err
     5035  rm -f conftest.er1
     5036  cat conftest.err >&5
     5037  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5038  (exit $ac_status); } && {
     5039     test -z "$ac_c_werror_flag" ||
     5040     test ! -s conftest.err
     5041       } && test -s conftest.$ac_objext; then
     5042  ac_cv_safe_to_define___extensions__=yes
     5043else
     5044  $as_echo "$as_me: failed program was:" >&5
     5045sed 's/^/| /' conftest.$ac_ext >&5
     5046
     5047    ac_cv_safe_to_define___extensions__=no
     5048fi
     5049
     5050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5051fi
     5052{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
     5053$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
     5054  test $ac_cv_safe_to_define___extensions__ = yes &&
     5055    cat >>confdefs.h <<\_ACEOF
     5056#define __EXTENSIONS__ 1
     5057_ACEOF
     5058
     5059  cat >>confdefs.h <<\_ACEOF
     5060#define _ALL_SOURCE 1
     5061_ACEOF
     5062
     5063  cat >>confdefs.h <<\_ACEOF
     5064#define _GNU_SOURCE 1
     5065_ACEOF
     5066
     5067  cat >>confdefs.h <<\_ACEOF
     5068#define _POSIX_PTHREAD_SEMANTICS 1
     5069_ACEOF
     5070
     5071  cat >>confdefs.h <<\_ACEOF
     5072#define _TANDEM_SOURCE 1
     5073_ACEOF
     5074
     5075
     5076{ $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     5077$as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
    40835078if test "${ac_cv_prog_cc_stdc+set}" = set; then
    4084   echo $ECHO_N "(cached) $ECHO_C" >&6
     5079  $as_echo_n "(cached) " >&6
    40855080else
    40865081  ac_cv_prog_cc_stdc=no
     
    41165111_ACEOF
    41175112rm -f conftest.$ac_objext
    4118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4119   (eval $ac_compile) 2>conftest.er1
     5113if { (ac_try="$ac_compile"
     5114case "(($ac_try" in
     5115  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5116  *) ac_try_echo=$ac_try;;
     5117esac
     5118eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5119$as_echo "$ac_try_echo") >&5
     5120  (eval "$ac_compile") 2>conftest.er1
    41205121  ac_status=$?
    41215122  grep -v '^ *+' conftest.er1 >conftest.err
    41225123  rm -f conftest.er1
    41235124  cat conftest.err >&5
    4124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4125   (exit $ac_status); } &&
    4126      { ac_try='test -z "$ac_c_werror_flag"
    4127              || test ! -s conftest.err'
    4128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4129   (eval $ac_try) 2>&5
    4130   ac_status=$?
    4131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4132   (exit $ac_status); }; } &&
    4133      { ac_try='test -s conftest.$ac_objext'
    4134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4135   (eval $ac_try) 2>&5
    4136   ac_status=$?
    4137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4138   (exit $ac_status); }; }; then
     5125  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5126  (exit $ac_status); } && {
     5127     test -z "$ac_c_werror_flag" ||
     5128     test ! -s conftest.err
     5129       } && test -s conftest.$ac_objext; then
    41395130  ac_cv_prog_cc_stdc="$ac_arg"; break
    41405131else
    4141   echo "$as_me: failed program was:" >&5
     5132  $as_echo "$as_me: failed program was:" >&5
    41425133sed 's/^/| /' conftest.$ac_ext >&5
    41435134
    4144 fi
    4145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5135
     5136fi
     5137
     5138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    41465139done
    41475140CFLAGS="$ac_save_CFLAGS"
     
    41495142fi
    41505143
    4151 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4152 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     5144{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     5145$as_echo "$ac_cv_prog_cc_stdc" >&6; }
    41535146case "x$ac_cv_prog_cc_stdc" in
    41545147  x|xno) ;;
     
    41575150
    41585151
    4159 echo "$as_me:$LINENO: checking for function prototypes" >&5
    4160 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     5152{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
     5153$as_echo_n "checking for function prototypes... " >&6; }
    41615154if test "$ac_cv_prog_cc_stdc" != no; then
    4162   echo "$as_me:$LINENO: result: yes" >&5
    4163 echo "${ECHO_T}yes" >&6
     5155  { $as_echo "$as_me:$LINENO: result: yes" >&5
     5156$as_echo "yes" >&6; }
    41645157  cat >>confdefs.h <<\_ACEOF
    41655158#define PROTOTYPES 1
     
    41685161  U= ANSI2KNR=
    41695162else
    4170   echo "$as_me:$LINENO: result: no" >&5
    4171 echo "${ECHO_T}no" >&6
     5163  { $as_echo "$as_me:$LINENO: result: no" >&5
     5164$as_echo "no" >&6; }
    41725165  U=_ ANSI2KNR=ansi2knr
    41735166fi
    41745167
    4175 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4176 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     5168{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     5169$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
    41775170if test "${ac_cv_c_const+set}" = set; then
    4178   echo $ECHO_N "(cached) $ECHO_C" >&6
     5171  $as_echo_n "(cached) " >&6
    41795172else
    41805173  cat >conftest.$ac_ext <<_ACEOF
     
    41925185  /* Ultrix mips cc rejects this.  */
    41935186  typedef int charset[2];
    4194   const charset x;
     5187  const charset cs;
    41955188  /* SunOS 4.1.1 cc rejects this.  */
    4196   char const *const *ccp;
    4197   char **p;
     5189  char const *const *pcpcc;
     5190  char **ppc;
    41985191  /* NEC SVR4.0.2 mips cc rejects this.  */
    41995192  struct point {int x, y;};
     
    42045197     expression */
    42055198  const char *g = "string";
    4206   ccp = &g + (g ? g-g : 0);
     5199  pcpcc = &g + (g ? g-g : 0);
    42075200  /* HPUX 7.0 cc rejects these. */
    4208   ++ccp;
    4209   p = (char**) ccp;
    4210   ccp = (char const *const *) p;
     5201  ++pcpcc;
     5202  ppc = (char**) pcpcc;
     5203  pcpcc = (char const *const *) ppc;
    42115204  { /* SCO 3.2v4 cc rejects this.  */
    42125205    char *t;
     
    42145207
    42155208    *t++ = 0;
     5209    if (s) return 0;
    42165210  }
    42175211  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    42325226  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    42335227    const int foo = 10;
     5228    if (!foo) return 0;
    42345229  }
     5230  return !cs[0] && !zero.x;
    42355231#endif
    42365232
     
    42405236_ACEOF
    42415237rm -f conftest.$ac_objext
    4242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4243   (eval $ac_compile) 2>conftest.er1
     5238if { (ac_try="$ac_compile"
     5239case "(($ac_try" in
     5240  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5241  *) ac_try_echo=$ac_try;;
     5242esac
     5243eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5244$as_echo "$ac_try_echo") >&5
     5245  (eval "$ac_compile") 2>conftest.er1
    42445246  ac_status=$?
    42455247  grep -v '^ *+' conftest.er1 >conftest.err
    42465248  rm -f conftest.er1
    42475249  cat conftest.err >&5
    4248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4249   (exit $ac_status); } &&
    4250      { ac_try='test -z "$ac_c_werror_flag"
    4251              || test ! -s conftest.err'
    4252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4253   (eval $ac_try) 2>&5
    4254   ac_status=$?
    4255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4256   (exit $ac_status); }; } &&
    4257      { ac_try='test -s conftest.$ac_objext'
    4258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4259   (eval $ac_try) 2>&5
    4260   ac_status=$?
    4261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4262   (exit $ac_status); }; }; then
     5250  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5251  (exit $ac_status); } && {
     5252     test -z "$ac_c_werror_flag" ||
     5253     test ! -s conftest.err
     5254       } && test -s conftest.$ac_objext; then
    42635255  ac_cv_c_const=yes
    42645256else
    4265   echo "$as_me: failed program was:" >&5
     5257  $as_echo "$as_me: failed program was:" >&5
    42665258sed 's/^/| /' conftest.$ac_ext >&5
    42675259
    4268 ac_cv_c_const=no
    4269 fi
    4270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4271 fi
    4272 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4273 echo "${ECHO_T}$ac_cv_c_const" >&6
     5260    ac_cv_c_const=no
     5261fi
     5262
     5263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5264fi
     5265{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     5266$as_echo "$ac_cv_c_const" >&6; }
    42745267if test $ac_cv_c_const = no; then
    42755268
    42765269cat >>confdefs.h <<\_ACEOF
    4277 #define const
    4278 _ACEOF
    4279 
    4280 fi
    4281 
    4282 echo "$as_me:$LINENO: checking for off_t" >&5
    4283 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
     5270#define const /**/
     5271_ACEOF
     5272
     5273fi
     5274
     5275{ $as_echo "$as_me:$LINENO: checking for off_t" >&5
     5276$as_echo_n "checking for off_t... " >&6; }
    42845277if test "${ac_cv_type_off_t+set}" = set; then
    4285   echo $ECHO_N "(cached) $ECHO_C" >&6
    4286 else
    4287   cat >conftest.$ac_ext <<_ACEOF
     5278  $as_echo_n "(cached) " >&6
     5279else
     5280  ac_cv_type_off_t=no
     5281cat >conftest.$ac_ext <<_ACEOF
    42885282/* confdefs.h.  */
    42895283_ACEOF
     
    42955289main ()
    42965290{
    4297 if ((off_t *) 0)
    4298   return 0;
    42995291if (sizeof (off_t))
    4300   return 0;
     5292       return 0;
    43015293  ;
    43025294  return 0;
     
    43045296_ACEOF
    43055297rm -f conftest.$ac_objext
    4306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4307   (eval $ac_compile) 2>conftest.er1
     5298if { (ac_try="$ac_compile"
     5299case "(($ac_try" in
     5300  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5301  *) ac_try_echo=$ac_try;;
     5302esac
     5303eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5304$as_echo "$ac_try_echo") >&5
     5305  (eval "$ac_compile") 2>conftest.er1
    43085306  ac_status=$?
    43095307  grep -v '^ *+' conftest.er1 >conftest.err
    43105308  rm -f conftest.er1
    43115309  cat conftest.err >&5
    4312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4313   (exit $ac_status); } &&
    4314      { ac_try='test -z "$ac_c_werror_flag"
    4315              || test ! -s conftest.err'
    4316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4317   (eval $ac_try) 2>&5
    4318   ac_status=$?
    4319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4320   (exit $ac_status); }; } &&
    4321      { ac_try='test -s conftest.$ac_objext'
    4322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4323   (eval $ac_try) 2>&5
    4324   ac_status=$?
    4325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4326   (exit $ac_status); }; }; then
    4327   ac_cv_type_off_t=yes
    4328 else
    4329   echo "$as_me: failed program was:" >&5
    4330 sed 's/^/| /' conftest.$ac_ext >&5
    4331 
    4332 ac_cv_type_off_t=no
    4333 fi
    4334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4335 fi
    4336 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4337 echo "${ECHO_T}$ac_cv_type_off_t" >&6
    4338 if test $ac_cv_type_off_t = yes; then
    4339   :
    4340 else
    4341 
    4342 cat >>confdefs.h <<_ACEOF
    4343 #define off_t long
    4344 _ACEOF
    4345 
    4346 fi
    4347 
    4348 echo "$as_me:$LINENO: checking for size_t" >&5
    4349 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    4350 if test "${ac_cv_type_size_t+set}" = set; then
    4351   echo $ECHO_N "(cached) $ECHO_C" >&6
    4352 else
     5310  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5311  (exit $ac_status); } && {
     5312     test -z "$ac_c_werror_flag" ||
     5313     test ! -s conftest.err
     5314       } && test -s conftest.$ac_objext; then
    43535315  cat >conftest.$ac_ext <<_ACEOF
    43545316/* confdefs.h.  */
     
    43615323main ()
    43625324{
    4363 if ((size_t *) 0)
    4364   return 0;
    4365 if (sizeof (size_t))
    4366   return 0;
     5325if (sizeof ((off_t)))
     5326      return 0;
    43675327  ;
    43685328  return 0;
     
    43705330_ACEOF
    43715331rm -f conftest.$ac_objext
    4372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4373   (eval $ac_compile) 2>conftest.er1
     5332if { (ac_try="$ac_compile"
     5333case "(($ac_try" in
     5334  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5335  *) ac_try_echo=$ac_try;;
     5336esac
     5337eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5338$as_echo "$ac_try_echo") >&5
     5339  (eval "$ac_compile") 2>conftest.er1
    43745340  ac_status=$?
    43755341  grep -v '^ *+' conftest.er1 >conftest.err
    43765342  rm -f conftest.er1
    43775343  cat conftest.err >&5
    4378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4379   (exit $ac_status); } &&
    4380      { ac_try='test -z "$ac_c_werror_flag"
    4381              || test ! -s conftest.err'
    4382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4383   (eval $ac_try) 2>&5
     5344  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5345  (exit $ac_status); } && {
     5346     test -z "$ac_c_werror_flag" ||
     5347     test ! -s conftest.err
     5348       } && test -s conftest.$ac_objext; then
     5349  :
     5350else
     5351  $as_echo "$as_me: failed program was:" >&5
     5352sed 's/^/| /' conftest.$ac_ext >&5
     5353
     5354    ac_cv_type_off_t=yes
     5355fi
     5356
     5357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5358else
     5359  $as_echo "$as_me: failed program was:" >&5
     5360sed 's/^/| /' conftest.$ac_ext >&5
     5361
     5362
     5363fi
     5364
     5365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5366fi
     5367{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     5368$as_echo "$ac_cv_type_off_t" >&6; }
     5369if test "x$ac_cv_type_off_t" = x""yes; then
     5370  :
     5371else
     5372
     5373cat >>confdefs.h <<_ACEOF
     5374#define off_t long int
     5375_ACEOF
     5376
     5377fi
     5378
     5379{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
     5380$as_echo_n "checking for size_t... " >&6; }
     5381if test "${ac_cv_type_size_t+set}" = set; then
     5382  $as_echo_n "(cached) " >&6
     5383else
     5384  ac_cv_type_size_t=no
     5385cat >conftest.$ac_ext <<_ACEOF
     5386/* confdefs.h.  */
     5387_ACEOF
     5388cat confdefs.h >>conftest.$ac_ext
     5389cat >>conftest.$ac_ext <<_ACEOF
     5390/* end confdefs.h.  */
     5391$ac_includes_default
     5392int
     5393main ()
     5394{
     5395if (sizeof (size_t))
     5396       return 0;
     5397  ;
     5398  return 0;
     5399}
     5400_ACEOF
     5401rm -f conftest.$ac_objext
     5402if { (ac_try="$ac_compile"
     5403case "(($ac_try" in
     5404  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5405  *) ac_try_echo=$ac_try;;
     5406esac
     5407eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5408$as_echo "$ac_try_echo") >&5
     5409  (eval "$ac_compile") 2>conftest.er1
    43845410  ac_status=$?
    4385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4386   (exit $ac_status); }; } &&
    4387      { ac_try='test -s conftest.$ac_objext'
    4388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4389   (eval $ac_try) 2>&5
     5411  grep -v '^ *+' conftest.er1 >conftest.err
     5412  rm -f conftest.er1
     5413  cat conftest.err >&5
     5414  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5415  (exit $ac_status); } && {
     5416     test -z "$ac_c_werror_flag" ||
     5417     test ! -s conftest.err
     5418       } && test -s conftest.$ac_objext; then
     5419  cat >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$ac_includes_default
     5426int
     5427main ()
     5428{
     5429if (sizeof ((size_t)))
     5430      return 0;
     5431  ;
     5432  return 0;
     5433}
     5434_ACEOF
     5435rm -f conftest.$ac_objext
     5436if { (ac_try="$ac_compile"
     5437case "(($ac_try" in
     5438  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5439  *) ac_try_echo=$ac_try;;
     5440esac
     5441eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5442$as_echo "$ac_try_echo") >&5
     5443  (eval "$ac_compile") 2>conftest.er1
    43905444  ac_status=$?
    4391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4392   (exit $ac_status); }; }; then
    4393   ac_cv_type_size_t=yes
    4394 else
    4395   echo "$as_me: failed program was:" >&5
     5445  grep -v '^ *+' conftest.er1 >conftest.err
     5446  rm -f conftest.er1
     5447  cat conftest.err >&5
     5448  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5449  (exit $ac_status); } && {
     5450     test -z "$ac_c_werror_flag" ||
     5451     test ! -s conftest.err
     5452       } && test -s conftest.$ac_objext; then
     5453  :
     5454else
     5455  $as_echo "$as_me: failed program was:" >&5
    43965456sed 's/^/| /' conftest.$ac_ext >&5
    43975457
    4398 ac_cv_type_size_t=no
    4399 fi
    4400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4401 fi
    4402 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4403 echo "${ECHO_T}$ac_cv_type_size_t" >&6
    4404 if test $ac_cv_type_size_t = yes; then
     5458    ac_cv_type_size_t=yes
     5459fi
     5460
     5461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5462else
     5463  $as_echo "$as_me: failed program was:" >&5
     5464sed 's/^/| /' conftest.$ac_ext >&5
     5465
     5466
     5467fi
     5468
     5469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5470fi
     5471{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     5472$as_echo "$ac_cv_type_size_t" >&6; }
     5473if test "x$ac_cv_type_size_t" = x""yes; then
    44055474  :
    44065475else
    44075476
    44085477cat >>confdefs.h <<_ACEOF
    4409 #define size_t unsigned
    4410 _ACEOF
    4411 
    4412 fi
    4413 
    4414 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4415 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     5478#define size_t unsigned int
     5479_ACEOF
     5480
     5481fi
     5482
     5483{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     5484$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
    44165485if test "${ac_cv_header_time+set}" = set; then
    4417   echo $ECHO_N "(cached) $ECHO_C" >&6
     5486  $as_echo_n "(cached) " >&6
    44185487else
    44195488  cat >conftest.$ac_ext <<_ACEOF
     
    44375506_ACEOF
    44385507rm -f conftest.$ac_objext
    4439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4440   (eval $ac_compile) 2>conftest.er1
     5508if { (ac_try="$ac_compile"
     5509case "(($ac_try" in
     5510  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5511  *) ac_try_echo=$ac_try;;
     5512esac
     5513eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5514$as_echo "$ac_try_echo") >&5
     5515  (eval "$ac_compile") 2>conftest.er1
    44415516  ac_status=$?
    44425517  grep -v '^ *+' conftest.er1 >conftest.err
    44435518  rm -f conftest.er1
    44445519  cat conftest.err >&5
    4445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4446   (exit $ac_status); } &&
    4447      { ac_try='test -z "$ac_c_werror_flag"
    4448              || test ! -s conftest.err'
    4449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4450   (eval $ac_try) 2>&5
    4451   ac_status=$?
    4452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4453   (exit $ac_status); }; } &&
    4454      { ac_try='test -s conftest.$ac_objext'
    4455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4456   (eval $ac_try) 2>&5
    4457   ac_status=$?
    4458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4459   (exit $ac_status); }; }; then
     5520  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5521  (exit $ac_status); } && {
     5522     test -z "$ac_c_werror_flag" ||
     5523     test ! -s conftest.err
     5524       } && test -s conftest.$ac_objext; then
    44605525  ac_cv_header_time=yes
    44615526else
    4462   echo "$as_me: failed program was:" >&5
     5527  $as_echo "$as_me: failed program was:" >&5
    44635528sed 's/^/| /' conftest.$ac_ext >&5
    44645529
    4465 ac_cv_header_time=no
    4466 fi
    4467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4468 fi
    4469 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4470 echo "${ECHO_T}$ac_cv_header_time" >&6
     5530    ac_cv_header_time=no
     5531fi
     5532
     5533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5534fi
     5535{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     5536$as_echo "$ac_cv_header_time" >&6; }
    44715537if test $ac_cv_header_time = yes; then
    44725538
     
    44775543fi
    44785544
    4479 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4480 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
     5545{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     5546$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
    44815547if test "${ac_cv_struct_tm+set}" = set; then
    4482   echo $ECHO_N "(cached) $ECHO_C" >&6
     5548  $as_echo_n "(cached) " >&6
    44835549else
    44845550  cat >conftest.$ac_ext <<_ACEOF
     
    44945560main ()
    44955561{
    4496 struct tm *tp; tp->tm_sec;
     5562struct tm tm;
     5563                     int *p = &tm.tm_sec;
     5564                     return !p;
    44975565  ;
    44985566  return 0;
     
    45005568_ACEOF
    45015569rm -f conftest.$ac_objext
    4502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4503   (eval $ac_compile) 2>conftest.er1
     5570if { (ac_try="$ac_compile"
     5571case "(($ac_try" in
     5572  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5573  *) ac_try_echo=$ac_try;;
     5574esac
     5575eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5576$as_echo "$ac_try_echo") >&5
     5577  (eval "$ac_compile") 2>conftest.er1
    45045578  ac_status=$?
    45055579  grep -v '^ *+' conftest.er1 >conftest.err
    45065580  rm -f conftest.er1
    45075581  cat conftest.err >&5
    4508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4509   (exit $ac_status); } &&
    4510      { ac_try='test -z "$ac_c_werror_flag"
    4511              || test ! -s conftest.err'
    4512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4513   (eval $ac_try) 2>&5
    4514   ac_status=$?
    4515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4516   (exit $ac_status); }; } &&
    4517      { ac_try='test -s conftest.$ac_objext'
    4518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4519   (eval $ac_try) 2>&5
    4520   ac_status=$?
    4521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4522   (exit $ac_status); }; }; then
     5582  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5583  (exit $ac_status); } && {
     5584     test -z "$ac_c_werror_flag" ||
     5585     test ! -s conftest.err
     5586       } && test -s conftest.$ac_objext; then
    45235587  ac_cv_struct_tm=time.h
    45245588else
    4525   echo "$as_me: failed program was:" >&5
     5589  $as_echo "$as_me: failed program was:" >&5
    45265590sed 's/^/| /' conftest.$ac_ext >&5
    45275591
    4528 ac_cv_struct_tm=sys/time.h
    4529 fi
    4530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4531 fi
    4532 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    4533 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     5592    ac_cv_struct_tm=sys/time.h
     5593fi
     5594
     5595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5596fi
     5597{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     5598$as_echo "$ac_cv_struct_tm" >&6; }
    45345599if test $ac_cv_struct_tm = sys/time.h; then
    45355600
     
    45595624_ACEOF
    45605625rm -f conftest.$ac_objext
    4561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4562   (eval $ac_compile) 2>conftest.er1
     5626if { (ac_try="$ac_compile"
     5627case "(($ac_try" in
     5628  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5629  *) ac_try_echo=$ac_try;;
     5630esac
     5631eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5632$as_echo "$ac_try_echo") >&5
     5633  (eval "$ac_compile") 2>conftest.er1
    45635634  ac_status=$?
    45645635  grep -v '^ *+' conftest.er1 >conftest.err
    45655636  rm -f conftest.er1
    45665637  cat conftest.err >&5
    4567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4568   (exit $ac_status); } &&
    4569      { ac_try='test -z "$ac_c_werror_flag"
    4570              || test ! -s conftest.err'
    4571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4572   (eval $ac_try) 2>&5
    4573   ac_status=$?
    4574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4575   (exit $ac_status); }; } &&
    4576      { ac_try='test -s conftest.$ac_objext'
    4577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4578   (eval $ac_try) 2>&5
    4579   ac_status=$?
    4580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4581   (exit $ac_status); }; }; then
     5638  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5639  (exit $ac_status); } && {
     5640     test -z "$ac_c_werror_flag" ||
     5641     test ! -s conftest.err
     5642       } && test -s conftest.$ac_objext; then
    45825643  :
    45835644else
    4584   echo "$as_me: failed program was:" >&5
     5645  $as_echo "$as_me: failed program was:" >&5
    45855646sed 's/^/| /' conftest.$ac_ext >&5
    45865647
    4587 CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    4588 fi
    4589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4590 fi
    4591 
    4592 
    4593 
    4594 echo "$as_me:$LINENO: checking for main in -lg" >&5
    4595 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
     5648    CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     5649fi
     5650
     5651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5652fi
     5653
     5654
     5655
     5656{ $as_echo "$as_me:$LINENO: checking for main in -lg" >&5
     5657$as_echo_n "checking for main in -lg... " >&6; }
    45965658if test "${ac_cv_lib_g_main+set}" = set; then
    4597   echo $ECHO_N "(cached) $ECHO_C" >&6
     5659  $as_echo_n "(cached) " >&6
    45985660else
    45995661  ac_check_lib_save_LIBS=$LIBS
     
    46105672main ()
    46115673{
    4612 main ();
     5674return main ();
    46135675  ;
    46145676  return 0;
     
    46165678_ACEOF
    46175679rm -f conftest.$ac_objext conftest$ac_exeext
    4618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4619   (eval $ac_link) 2>conftest.er1
     5680if { (ac_try="$ac_link"
     5681case "(($ac_try" in
     5682  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5683  *) ac_try_echo=$ac_try;;
     5684esac
     5685eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5686$as_echo "$ac_try_echo") >&5
     5687  (eval "$ac_link") 2>conftest.er1
    46205688  ac_status=$?
    46215689  grep -v '^ *+' conftest.er1 >conftest.err
    46225690  rm -f conftest.er1
    46235691  cat conftest.err >&5
    4624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4625   (exit $ac_status); } &&
    4626      { ac_try='test -z "$ac_c_werror_flag"
    4627              || test ! -s conftest.err'
    4628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4629   (eval $ac_try) 2>&5
    4630   ac_status=$?
    4631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4632   (exit $ac_status); }; } &&
    4633      { ac_try='test -s conftest$ac_exeext'
    4634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4635   (eval $ac_try) 2>&5
    4636   ac_status=$?
    4637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4638   (exit $ac_status); }; }; then
     5692  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5693  (exit $ac_status); } && {
     5694     test -z "$ac_c_werror_flag" ||
     5695     test ! -s conftest.err
     5696       } && test -s conftest$ac_exeext && {
     5697     test "$cross_compiling" = yes ||
     5698     $as_test_x conftest$ac_exeext
     5699       }; then
    46395700  ac_cv_lib_g_main=yes
    46405701else
    4641   echo "$as_me: failed program was:" >&5
     5702  $as_echo "$as_me: failed program was:" >&5
    46425703sed 's/^/| /' conftest.$ac_ext >&5
    46435704
    4644 ac_cv_lib_g_main=no
    4645 fi
    4646 rm -f conftest.err conftest.$ac_objext \
     5705    ac_cv_lib_g_main=no
     5706fi
     5707
     5708rm -rf conftest.dSYM
     5709rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    46475710      conftest$ac_exeext conftest.$ac_ext
    46485711LIBS=$ac_check_lib_save_LIBS
    46495712fi
    4650 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    4651 echo "${ECHO_T}$ac_cv_lib_g_main" >&6
    4652 if test $ac_cv_lib_g_main = yes; then
     5713{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     5714$as_echo "$ac_cv_lib_g_main" >&6; }
     5715if test "x$ac_cv_lib_g_main" = x""yes; then
    46535716  cat >>confdefs.h <<_ACEOF
    46545717#define HAVE_LIBG 1
     
    46615724
    46625725
    4663 echo "$as_me:$LINENO: checking for main in -lm" >&5
    4664 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
     5726{ $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
     5727$as_echo_n "checking for main in -lm... " >&6; }
    46655728if test "${ac_cv_lib_m_main+set}" = set; then
    4666   echo $ECHO_N "(cached) $ECHO_C" >&6
     5729  $as_echo_n "(cached) " >&6
    46675730else
    46685731  ac_check_lib_save_LIBS=$LIBS
     
    46795742main ()
    46805743{
    4681 main ();
     5744return main ();
    46825745  ;
    46835746  return 0;
     
    46855748_ACEOF
    46865749rm -f conftest.$ac_objext conftest$ac_exeext
    4687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4688   (eval $ac_link) 2>conftest.er1
     5750if { (ac_try="$ac_link"
     5751case "(($ac_try" in
     5752  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5753  *) ac_try_echo=$ac_try;;
     5754esac
     5755eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5756$as_echo "$ac_try_echo") >&5
     5757  (eval "$ac_link") 2>conftest.er1
    46895758  ac_status=$?
    46905759  grep -v '^ *+' conftest.er1 >conftest.err
    46915760  rm -f conftest.er1
    46925761  cat conftest.err >&5
    4693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4694   (exit $ac_status); } &&
    4695      { ac_try='test -z "$ac_c_werror_flag"
    4696              || test ! -s conftest.err'
    4697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4698   (eval $ac_try) 2>&5
    4699   ac_status=$?
    4700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4701   (exit $ac_status); }; } &&
    4702      { ac_try='test -s conftest$ac_exeext'
    4703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4704   (eval $ac_try) 2>&5
    4705   ac_status=$?
    4706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4707   (exit $ac_status); }; }; then
     5762  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5763  (exit $ac_status); } && {
     5764     test -z "$ac_c_werror_flag" ||
     5765     test ! -s conftest.err
     5766       } && test -s conftest$ac_exeext && {
     5767     test "$cross_compiling" = yes ||
     5768     $as_test_x conftest$ac_exeext
     5769       }; then
    47085770  ac_cv_lib_m_main=yes
    47095771else
    4710   echo "$as_me: failed program was:" >&5
     5772  $as_echo "$as_me: failed program was:" >&5
    47115773sed 's/^/| /' conftest.$ac_ext >&5
    47125774
    4713 ac_cv_lib_m_main=no
    4714 fi
    4715 rm -f conftest.err conftest.$ac_objext \
     5775    ac_cv_lib_m_main=no
     5776fi
     5777
     5778rm -rf conftest.dSYM
     5779rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    47165780      conftest$ac_exeext conftest.$ac_ext
    47175781LIBS=$ac_check_lib_save_LIBS
    47185782fi
    4719 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    4720 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    4721 if test $ac_cv_lib_m_main = yes; then
     5783{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     5784$as_echo "$ac_cv_lib_m_main" >&6; }
     5785if test "x$ac_cv_lib_m_main" = x""yes; then
    47225786  cat >>confdefs.h <<_ACEOF
    47235787#define HAVE_LIBM 1
     
    47305794
    47315795
    4732 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    4733 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
     5796{ $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     5797$as_echo_n "checking for main in -lcrypt... " >&6; }
    47345798if test "${ac_cv_lib_crypt_main+set}" = set; then
    4735   echo $ECHO_N "(cached) $ECHO_C" >&6
     5799  $as_echo_n "(cached) " >&6
    47365800else
    47375801  ac_check_lib_save_LIBS=$LIBS
     
    47485812main ()
    47495813{
    4750 main ();
     5814return main ();
    47515815  ;
    47525816  return 0;
     
    47545818_ACEOF
    47555819rm -f conftest.$ac_objext conftest$ac_exeext
    4756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4757   (eval $ac_link) 2>conftest.er1
     5820if { (ac_try="$ac_link"
     5821case "(($ac_try" in
     5822  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5823  *) ac_try_echo=$ac_try;;
     5824esac
     5825eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5826$as_echo "$ac_try_echo") >&5
     5827  (eval "$ac_link") 2>conftest.er1
    47585828  ac_status=$?
    47595829  grep -v '^ *+' conftest.er1 >conftest.err
    47605830  rm -f conftest.er1
    47615831  cat conftest.err >&5
    4762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4763   (exit $ac_status); } &&
    4764      { ac_try='test -z "$ac_c_werror_flag"
    4765              || test ! -s conftest.err'
    4766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4767   (eval $ac_try) 2>&5
    4768   ac_status=$?
    4769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4770   (exit $ac_status); }; } &&
    4771      { ac_try='test -s conftest$ac_exeext'
    4772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4773   (eval $ac_try) 2>&5
    4774   ac_status=$?
    4775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4776   (exit $ac_status); }; }; then
     5832  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5833  (exit $ac_status); } && {
     5834     test -z "$ac_c_werror_flag" ||
     5835     test ! -s conftest.err
     5836       } && test -s conftest$ac_exeext && {
     5837     test "$cross_compiling" = yes ||
     5838     $as_test_x conftest$ac_exeext
     5839       }; then
    47775840  ac_cv_lib_crypt_main=yes
    47785841else
    4779   echo "$as_me: failed program was:" >&5
     5842  $as_echo "$as_me: failed program was:" >&5
    47805843sed 's/^/| /' conftest.$ac_ext >&5
    47815844
    4782 ac_cv_lib_crypt_main=no
    4783 fi
    4784 rm -f conftest.err conftest.$ac_objext \
     5845    ac_cv_lib_crypt_main=no
     5846fi
     5847
     5848rm -rf conftest.dSYM
     5849rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    47855850      conftest$ac_exeext conftest.$ac_ext
    47865851LIBS=$ac_check_lib_save_LIBS
    47875852fi
    4788 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    4789 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
    4790 if test $ac_cv_lib_crypt_main = yes; then
     5853{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     5854$as_echo "$ac_cv_lib_crypt_main" >&6; }
     5855if test "x$ac_cv_lib_crypt_main" = x""yes; then
    47915856  cat >>confdefs.h <<_ACEOF
    47925857#define HAVE_LIBCRYPT 1
     
    48095874ac_header_dirent=no
    48105875for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    4811   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    4812 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    4813 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    4814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4815   echo $ECHO_N "(cached) $ECHO_C" >&6
     5876  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
     5877{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     5878$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
     5879if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5880  $as_echo_n "(cached) " >&6
    48165881else
    48175882  cat >conftest.$ac_ext <<_ACEOF
     
    48345899_ACEOF
    48355900rm -f conftest.$ac_objext
    4836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4837   (eval $ac_compile) 2>conftest.er1
     5901if { (ac_try="$ac_compile"
     5902case "(($ac_try" in
     5903  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5904  *) ac_try_echo=$ac_try;;
     5905esac
     5906eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5907$as_echo "$ac_try_echo") >&5
     5908  (eval "$ac_compile") 2>conftest.er1
    48385909  ac_status=$?
    48395910  grep -v '^ *+' conftest.er1 >conftest.err
    48405911  rm -f conftest.er1
    48415912  cat conftest.err >&5
    4842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4843   (exit $ac_status); } &&
    4844      { ac_try='test -z "$ac_c_werror_flag"
    4845              || test ! -s conftest.err'
    4846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4847   (eval $ac_try) 2>&5
    4848   ac_status=$?
    4849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4850   (exit $ac_status); }; } &&
    4851      { ac_try='test -s conftest.$ac_objext'
    4852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4853   (eval $ac_try) 2>&5
    4854   ac_status=$?
    4855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4856   (exit $ac_status); }; }; then
     5913  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5914  (exit $ac_status); } && {
     5915     test -z "$ac_c_werror_flag" ||
     5916     test ! -s conftest.err
     5917       } && test -s conftest.$ac_objext; then
    48575918  eval "$as_ac_Header=yes"
    48585919else
    4859   echo "$as_me: failed program was:" >&5
     5920  $as_echo "$as_me: failed program was:" >&5
    48605921sed 's/^/| /' conftest.$ac_ext >&5
    48615922
    4862 eval "$as_ac_Header=no"
    4863 fi
    4864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4865 fi
    4866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5923    eval "$as_ac_Header=no"
     5924fi
     5925
     5926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5927fi
     5928ac_res=`eval 'as_val=${'$as_ac_Header'}
     5929         $as_echo "$as_val"'`
     5930           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5931$as_echo "$ac_res" >&6; }
     5932as_val=`eval 'as_val=${'$as_ac_Header'}
     5933         $as_echo "$as_val"'`
     5934   if test "x$as_val" = x""yes; then
    48695935  cat >>confdefs.h <<_ACEOF
    4870 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
     5936#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
    48715937_ACEOF
    48725938
     
    48775943# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    48785944if test $ac_header_dirent = dirent.h; then
    4879   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4880 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
     5945  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5946$as_echo_n "checking for library containing opendir... " >&6; }
    48815947if test "${ac_cv_search_opendir+set}" = set; then
    4882   echo $ECHO_N "(cached) $ECHO_C" >&6
     5948  $as_echo_n "(cached) " >&6
    48835949else
    48845950  ac_func_search_save_LIBS=$LIBS
    4885 ac_cv_search_opendir=no
    48865951cat >conftest.$ac_ext <<_ACEOF
    48875952/* confdefs.h.  */
     
    48915956/* end confdefs.h.  */
    48925957
    4893 /* Override any gcc2 internal prototype to avoid an error.  */
     5958/* Override any GCC internal prototype to avoid an error.
     5959   Use char because int might match the return type of a GCC
     5960   builtin and then its argument prototype would still apply.  */
    48945961#ifdef __cplusplus
    48955962extern "C"
    48965963#endif
    4897 /* We use char because int might match the return type of a gcc2
    4898    builtin and then its argument prototype would still apply.  */
    48995964char opendir ();
    49005965int
    49015966main ()
    49025967{
    4903 opendir ();
     5968return opendir ();
    49045969  ;
    49055970  return 0;
    49065971}
    49075972_ACEOF
    4908 rm -f conftest.$ac_objext conftest$ac_exeext
    4909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4910   (eval $ac_link) 2>conftest.er1
     5973for ac_lib in '' dir; do
     5974  if test -z "$ac_lib"; then
     5975    ac_res="none required"
     5976  else
     5977    ac_res=-l$ac_lib
     5978    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5979  fi
     5980  rm -f conftest.$ac_objext conftest$ac_exeext
     5981if { (ac_try="$ac_link"
     5982case "(($ac_try" in
     5983  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5984  *) ac_try_echo=$ac_try;;
     5985esac
     5986eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5987$as_echo "$ac_try_echo") >&5
     5988  (eval "$ac_link") 2>conftest.er1
    49115989  ac_status=$?
    49125990  grep -v '^ *+' conftest.er1 >conftest.err
    49135991  rm -f conftest.er1
    49145992  cat conftest.err >&5
    4915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4916   (exit $ac_status); } &&
    4917      { ac_try='test -z "$ac_c_werror_flag"
    4918              || test ! -s conftest.err'
    4919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4920   (eval $ac_try) 2>&5
    4921   ac_status=$?
    4922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4923   (exit $ac_status); }; } &&
    4924      { ac_try='test -s conftest$ac_exeext'
    4925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4926   (eval $ac_try) 2>&5
    4927   ac_status=$?
    4928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4929   (exit $ac_status); }; }; then
    4930   ac_cv_search_opendir="none required"
    4931 else
    4932   echo "$as_me: failed program was:" >&5
     5993  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5994  (exit $ac_status); } && {
     5995     test -z "$ac_c_werror_flag" ||
     5996     test ! -s conftest.err
     5997       } && test -s conftest$ac_exeext && {
     5998     test "$cross_compiling" = yes ||
     5999     $as_test_x conftest$ac_exeext
     6000       }; then
     6001  ac_cv_search_opendir=$ac_res
     6002else
     6003  $as_echo "$as_me: failed program was:" >&5
    49336004sed 's/^/| /' conftest.$ac_ext >&5
    49346005
    4935 fi
    4936 rm -f conftest.err conftest.$ac_objext \
    4937       conftest$ac_exeext conftest.$ac_ext
    4938 if test "$ac_cv_search_opendir" = no; then
    4939   for ac_lib in dir; do
    4940     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4941     cat >conftest.$ac_ext <<_ACEOF
     6006
     6007fi
     6008
     6009rm -rf conftest.dSYM
     6010rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6011      conftest$ac_exeext
     6012  if test "${ac_cv_search_opendir+set}" = set; then
     6013  break
     6014fi
     6015done
     6016if test "${ac_cv_search_opendir+set}" = set; then
     6017  :
     6018else
     6019  ac_cv_search_opendir=no
     6020fi
     6021rm conftest.$ac_ext
     6022LIBS=$ac_func_search_save_LIBS
     6023fi
     6024{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     6025$as_echo "$ac_cv_search_opendir" >&6; }
     6026ac_res=$ac_cv_search_opendir
     6027if test "$ac_res" != no; then
     6028  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     6029
     6030fi
     6031
     6032else
     6033  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
     6034$as_echo_n "checking for library containing opendir... " >&6; }
     6035if test "${ac_cv_search_opendir+set}" = set; then
     6036  $as_echo_n "(cached) " >&6
     6037else
     6038  ac_func_search_save_LIBS=$LIBS
     6039cat >conftest.$ac_ext <<_ACEOF
    49426040/* confdefs.h.  */
    49436041_ACEOF
     
    49466044/* end confdefs.h.  */
    49476045
    4948 /* Override any gcc2 internal prototype to avoid an error.  */
     6046/* Override any GCC internal prototype to avoid an error.
     6047   Use char because int might match the return type of a GCC
     6048   builtin and then its argument prototype would still apply.  */
    49496049#ifdef __cplusplus
    49506050extern "C"
    49516051#endif
    4952 /* We use char because int might match the return type of a gcc2
    4953    builtin and then its argument prototype would still apply.  */
    49546052char opendir ();
    49556053int
    49566054main ()
    49576055{
    4958 opendir ();
     6056return opendir ();
    49596057  ;
    49606058  return 0;
    49616059}
    49626060_ACEOF
    4963 rm -f conftest.$ac_objext conftest$ac_exeext
    4964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4965   (eval $ac_link) 2>conftest.er1
     6061for ac_lib in '' x; do
     6062  if test -z "$ac_lib"; then
     6063    ac_res="none required"
     6064  else
     6065    ac_res=-l$ac_lib
     6066    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     6067  fi
     6068  rm -f conftest.$ac_objext conftest$ac_exeext
     6069if { (ac_try="$ac_link"
     6070case "(($ac_try" in
     6071  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6072  *) ac_try_echo=$ac_try;;
     6073esac
     6074eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6075$as_echo "$ac_try_echo") >&5
     6076  (eval "$ac_link") 2>conftest.er1
    49666077  ac_status=$?
    49676078  grep -v '^ *+' conftest.er1 >conftest.err
    49686079  rm -f conftest.er1
    49696080  cat conftest.err >&5
    4970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4971   (exit $ac_status); } &&
    4972      { ac_try='test -z "$ac_c_werror_flag"
    4973              || test ! -s conftest.err'
    4974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4975   (eval $ac_try) 2>&5
    4976   ac_status=$?
    4977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4978   (exit $ac_status); }; } &&
    4979      { ac_try='test -s conftest$ac_exeext'
    4980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4981   (eval $ac_try) 2>&5
    4982   ac_status=$?
    4983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4984   (exit $ac_status); }; }; then
    4985   ac_cv_search_opendir="-l$ac_lib"
    4986 break
    4987 else
    4988   echo "$as_me: failed program was:" >&5
     6081  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6082  (exit $ac_status); } && {
     6083     test -z "$ac_c_werror_flag" ||
     6084     test ! -s conftest.err
     6085       } && test -s conftest$ac_exeext && {
     6086     test "$cross_compiling" = yes ||
     6087     $as_test_x conftest$ac_exeext
     6088       }; then
     6089  ac_cv_search_opendir=$ac_res
     6090else
     6091  $as_echo "$as_me: failed program was:" >&5
    49896092sed 's/^/| /' conftest.$ac_ext >&5
    49906093
    4991 fi
    4992 rm -f conftest.err conftest.$ac_objext \
    4993       conftest$ac_exeext conftest.$ac_ext
    4994   done
    4995 fi
     6094
     6095fi
     6096
     6097rm -rf conftest.dSYM
     6098rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6099      conftest$ac_exeext
     6100  if test "${ac_cv_search_opendir+set}" = set; then
     6101  break
     6102fi
     6103done
     6104if test "${ac_cv_search_opendir+set}" = set; then
     6105  :
     6106else
     6107  ac_cv_search_opendir=no
     6108fi
     6109rm conftest.$ac_ext
    49966110LIBS=$ac_func_search_save_LIBS
    49976111fi
    4998 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    4999 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5000 if test "$ac_cv_search_opendir" != no; then
    5001   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5002 
    5003 fi
    5004 
    5005 else
    5006   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5007 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    5008 if test "${ac_cv_search_opendir+set}" = set; then
    5009   echo $ECHO_N "(cached) $ECHO_C" >&6
    5010 else
    5011   ac_func_search_save_LIBS=$LIBS
    5012 ac_cv_search_opendir=no
    5013 cat >conftest.$ac_ext <<_ACEOF
    5014 /* confdefs.h.  */
    5015 _ACEOF
    5016 cat confdefs.h >>conftest.$ac_ext
    5017 cat >>conftest.$ac_ext <<_ACEOF
    5018 /* end confdefs.h.  */
    5019 
    5020 /* Override any gcc2 internal prototype to avoid an error.  */
    5021 #ifdef __cplusplus
    5022 extern "C"
    5023 #endif
    5024 /* We use char because int might match the return type of a gcc2
    5025    builtin and then its argument prototype would still apply.  */
    5026 char opendir ();
    5027 int
    5028 main ()
    5029 {
    5030 opendir ();
    5031   ;
    5032   return 0;
    5033 }
    5034 _ACEOF
    5035 rm -f conftest.$ac_objext conftest$ac_exeext
    5036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5037   (eval $ac_link) 2>conftest.er1
    5038   ac_status=$?
    5039   grep -v '^ *+' conftest.er1 >conftest.err
    5040   rm -f conftest.er1
    5041   cat conftest.err >&5
    5042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5043   (exit $ac_status); } &&
    5044      { ac_try='test -z "$ac_c_werror_flag"
    5045              || test ! -s conftest.err'
    5046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5047   (eval $ac_try) 2>&5
    5048   ac_status=$?
    5049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5050   (exit $ac_status); }; } &&
    5051      { ac_try='test -s conftest$ac_exeext'
    5052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5053   (eval $ac_try) 2>&5
    5054   ac_status=$?
    5055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5056   (exit $ac_status); }; }; then
    5057   ac_cv_search_opendir="none required"
    5058 else
    5059   echo "$as_me: failed program was:" >&5
    5060 sed 's/^/| /' conftest.$ac_ext >&5
    5061 
    5062 fi
    5063 rm -f conftest.err conftest.$ac_objext \
    5064       conftest$ac_exeext conftest.$ac_ext
    5065 if test "$ac_cv_search_opendir" = no; then
    5066   for ac_lib in x; do
    5067     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5068     cat >conftest.$ac_ext <<_ACEOF
    5069 /* confdefs.h.  */
    5070 _ACEOF
    5071 cat confdefs.h >>conftest.$ac_ext
    5072 cat >>conftest.$ac_ext <<_ACEOF
    5073 /* end confdefs.h.  */
    5074 
    5075 /* Override any gcc2 internal prototype to avoid an error.  */
    5076 #ifdef __cplusplus
    5077 extern "C"
    5078 #endif
    5079 /* We use char because int might match the return type of a gcc2
    5080    builtin and then its argument prototype would still apply.  */
    5081 char opendir ();
    5082 int
    5083 main ()
    5084 {
    5085 opendir ();
    5086   ;
    5087   return 0;
    5088 }
    5089 _ACEOF
    5090 rm -f conftest.$ac_objext conftest$ac_exeext
    5091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5092   (eval $ac_link) 2>conftest.er1
    5093   ac_status=$?
    5094   grep -v '^ *+' conftest.er1 >conftest.err
    5095   rm -f conftest.er1
    5096   cat conftest.err >&5
    5097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5098   (exit $ac_status); } &&
    5099      { ac_try='test -z "$ac_c_werror_flag"
    5100              || test ! -s conftest.err'
    5101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5102   (eval $ac_try) 2>&5
    5103   ac_status=$?
    5104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5105   (exit $ac_status); }; } &&
    5106      { ac_try='test -s conftest$ac_exeext'
    5107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5108   (eval $ac_try) 2>&5
    5109   ac_status=$?
    5110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5111   (exit $ac_status); }; }; then
    5112   ac_cv_search_opendir="-l$ac_lib"
    5113 break
    5114 else
    5115   echo "$as_me: failed program was:" >&5
    5116 sed 's/^/| /' conftest.$ac_ext >&5
    5117 
    5118 fi
    5119 rm -f conftest.err conftest.$ac_objext \
    5120       conftest$ac_exeext conftest.$ac_ext
    5121   done
    5122 fi
    5123 LIBS=$ac_func_search_save_LIBS
    5124 fi
    5125 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5126 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5127 if test "$ac_cv_search_opendir" != no; then
    5128   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5129 
    5130 fi
    5131 
    5132 fi
    5133 
    5134 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5135 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     6112{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     6113$as_echo "$ac_cv_search_opendir" >&6; }
     6114ac_res=$ac_cv_search_opendir
     6115if test "$ac_res" != no; then
     6116  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     6117
     6118fi
     6119
     6120fi
     6121
     6122{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     6123$as_echo_n "checking for ANSI C header files... " >&6; }
    51366124if test "${ac_cv_header_stdc+set}" = set; then
    5137   echo $ECHO_N "(cached) $ECHO_C" >&6
     6125  $as_echo_n "(cached) " >&6
    51386126else
    51396127  cat >conftest.$ac_ext <<_ACEOF
     
    51576145_ACEOF
    51586146rm -f conftest.$ac_objext
    5159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5160   (eval $ac_compile) 2>conftest.er1
     6147if { (ac_try="$ac_compile"
     6148case "(($ac_try" in
     6149  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6150  *) ac_try_echo=$ac_try;;
     6151esac
     6152eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6153$as_echo "$ac_try_echo") >&5
     6154  (eval "$ac_compile") 2>conftest.er1
    51616155  ac_status=$?
    51626156  grep -v '^ *+' conftest.er1 >conftest.err
    51636157  rm -f conftest.er1
    51646158  cat conftest.err >&5
    5165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5166   (exit $ac_status); } &&
    5167      { ac_try='test -z "$ac_c_werror_flag"
    5168              || test ! -s conftest.err'
    5169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5170   (eval $ac_try) 2>&5
    5171   ac_status=$?
    5172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5173   (exit $ac_status); }; } &&
    5174      { ac_try='test -s conftest.$ac_objext'
    5175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5176   (eval $ac_try) 2>&5
    5177   ac_status=$?
    5178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5179   (exit $ac_status); }; }; then
     6159  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6160  (exit $ac_status); } && {
     6161     test -z "$ac_c_werror_flag" ||
     6162     test ! -s conftest.err
     6163       } && test -s conftest.$ac_objext; then
    51806164  ac_cv_header_stdc=yes
    51816165else
    5182   echo "$as_me: failed program was:" >&5
     6166  $as_echo "$as_me: failed program was:" >&5
    51836167sed 's/^/| /' conftest.$ac_ext >&5
    51846168
    5185 ac_cv_header_stdc=no
    5186 fi
    5187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     6169    ac_cv_header_stdc=no
     6170fi
     6171
     6172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    51886173
    51896174if test $ac_cv_header_stdc = yes; then
     
    52416226/* end confdefs.h.  */
    52426227#include <ctype.h>
     6228#include <stdlib.h>
    52436229#if ((' ' & 0x0FF) == 0x020)
    52446230# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    52606246    if (XOR (islower (i), ISLOWER (i))
    52616247    || toupper (i) != TOUPPER (i))
    5262       exit(2);
    5263   exit (0);
     6248      return 2;
     6249  return 0;
    52646250}
    52656251_ACEOF
    52666252rm -f conftest$ac_exeext
    5267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5268   (eval $ac_link) 2>&5
     6253if { (ac_try="$ac_link"
     6254case "(($ac_try" in
     6255  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6256  *) ac_try_echo=$ac_try;;
     6257esac
     6258eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6259$as_echo "$ac_try_echo") >&5
     6260  (eval "$ac_link") 2>&5
    52696261  ac_status=$?
    5270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6262  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52716263  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5273   (eval $ac_try) 2>&5
     6264  { (case "(($ac_try" in
     6265  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6266  *) ac_try_echo=$ac_try;;
     6267esac
     6268eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6269$as_echo "$ac_try_echo") >&5
     6270  (eval "$ac_try") 2>&5
    52746271  ac_status=$?
    5275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6272  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52766273  (exit $ac_status); }; }; then
    52776274  :
    52786275else
    5279   echo "$as_me: program exited with status $ac_status" >&5
    5280 echo "$as_me: failed program was:" >&5
     6276  $as_echo "$as_me: program exited with status $ac_status" >&5
     6277$as_echo "$as_me: failed program was:" >&5
    52816278sed 's/^/| /' conftest.$ac_ext >&5
    52826279
     
    52846281ac_cv_header_stdc=no
    52856282fi
    5286 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5287 fi
    5288 fi
    5289 fi
    5290 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5291 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     6283rm -rf conftest.dSYM
     6284rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6285fi
     6286
     6287
     6288fi
     6289fi
     6290{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     6291$as_echo "$ac_cv_header_stdc" >&6; }
    52926292if test $ac_cv_header_stdc = yes; then
    52936293
     
    53096309for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
    53106310do
    5311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5313   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5316   echo $ECHO_N "(cached) $ECHO_C" >&6
    5317 fi
    5318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     6311as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6312if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6313  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6314$as_echo_n "checking for $ac_header... " >&6; }
     6315if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6316  $as_echo_n "(cached) " >&6
     6317fi
     6318ac_res=`eval 'as_val=${'$as_ac_Header'}
     6319         $as_echo "$as_val"'`
     6320           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6321$as_echo "$ac_res" >&6; }
    53206322else
    53216323  # Is the header compilable?
    5322 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     6324{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6325$as_echo_n "checking $ac_header usability... " >&6; }
    53246326cat >conftest.$ac_ext <<_ACEOF
    53256327/* confdefs.h.  */
     
    53326334_ACEOF
    53336335rm -f conftest.$ac_objext
    5334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5335   (eval $ac_compile) 2>conftest.er1
     6336if { (ac_try="$ac_compile"
     6337case "(($ac_try" in
     6338  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6339  *) ac_try_echo=$ac_try;;
     6340esac
     6341eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6342$as_echo "$ac_try_echo") >&5
     6343  (eval "$ac_compile") 2>conftest.er1
    53366344  ac_status=$?
    53376345  grep -v '^ *+' conftest.er1 >conftest.err
    53386346  rm -f conftest.er1
    53396347  cat conftest.err >&5
    5340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5341   (exit $ac_status); } &&
    5342      { ac_try='test -z "$ac_c_werror_flag"
    5343              || test ! -s conftest.err'
    5344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5345   (eval $ac_try) 2>&5
    5346   ac_status=$?
    5347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5348   (exit $ac_status); }; } &&
    5349      { ac_try='test -s conftest.$ac_objext'
    5350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5351   (eval $ac_try) 2>&5
    5352   ac_status=$?
    5353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5354   (exit $ac_status); }; }; then
     6348  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6349  (exit $ac_status); } && {
     6350     test -z "$ac_c_werror_flag" ||
     6351     test ! -s conftest.err
     6352       } && test -s conftest.$ac_objext; then
    53556353  ac_header_compiler=yes
    53566354else
    5357   echo "$as_me: failed program was:" >&5
     6355  $as_echo "$as_me: failed program was:" >&5
    53586356sed 's/^/| /' conftest.$ac_ext >&5
    53596357
    5360 ac_header_compiler=no
    5361 fi
    5362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5364 echo "${ECHO_T}$ac_header_compiler" >&6
     6358    ac_header_compiler=no
     6359fi
     6360
     6361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6362{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6363$as_echo "$ac_header_compiler" >&6; }
    53656364
    53666365# Is the header present?
    5367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     6366{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6367$as_echo_n "checking $ac_header presence... " >&6; }
    53696368cat >conftest.$ac_ext <<_ACEOF
    53706369/* confdefs.h.  */
     
    53756374#include <$ac_header>
    53766375_ACEOF
    5377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5378   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     6376if { (ac_try="$ac_cpp conftest.$ac_ext"
     6377case "(($ac_try" in
     6378  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6379  *) ac_try_echo=$ac_try;;
     6380esac
     6381eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6382$as_echo "$ac_try_echo") >&5
     6383  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    53796384  ac_status=$?
    53806385  grep -v '^ *+' conftest.er1 >conftest.err
    53816386  rm -f conftest.er1
    53826387  cat conftest.err >&5
    5383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5384   (exit $ac_status); } >/dev/null; then
    5385   if test -s conftest.err; then
    5386     ac_cpp_err=$ac_c_preproc_warn_flag
    5387     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5388   else
    5389     ac_cpp_err=
    5390   fi
    5391 else
    5392   ac_cpp_err=yes
    5393 fi
    5394 if test -z "$ac_cpp_err"; then
     6388  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6389  (exit $ac_status); } >/dev/null && {
     6390     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     6391     test ! -s conftest.err
     6392       }; then
    53956393  ac_header_preproc=yes
    53966394else
    5397   echo "$as_me: failed program was:" >&5
     6395  $as_echo "$as_me: failed program was:" >&5
    53986396sed 's/^/| /' conftest.$ac_ext >&5
    53996397
    54006398  ac_header_preproc=no
    54016399fi
     6400
    54026401rm -f conftest.err conftest.$ac_ext
    5403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5404 echo "${ECHO_T}$ac_header_preproc" >&6
     6402{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6403$as_echo "$ac_header_preproc" >&6; }
    54056404
    54066405# So?  What about this header?
    54076406case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    54086407  yes:no: )
    5409     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5411     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6408    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6409$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6410    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6411$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    54136412    ac_header_preproc=yes
    54146413    ;;
    54156414  no:yes:* )
    5416     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5418     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5419 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5420     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5422     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5423 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5424     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5426     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5428     (
    5429       cat <<\_ASBOX
    5430 ## ------------------------------------------ ##
    5431 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5432 ## ------------------------------------------ ##
    5433 _ASBOX
    5434     ) |
    5435       sed "s/^/$as_me: WARNING:     /" >&2
     6415    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6416$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6417    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6418$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6419    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6420$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6421    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6422$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6423    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6424$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6425    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6426$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6427
    54366428    ;;
    54376429esac
    5438 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5441   echo $ECHO_N "(cached) $ECHO_C" >&6
     6430{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6431$as_echo_n "checking for $ac_header... " >&6; }
     6432if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6433  $as_echo_n "(cached) " >&6
    54426434else
    54436435  eval "$as_ac_Header=\$ac_header_preproc"
    54446436fi
    5445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5447 
    5448 fi
    5449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     6437ac_res=`eval 'as_val=${'$as_ac_Header'}
     6438         $as_echo "$as_val"'`
     6439           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6440$as_echo "$ac_res" >&6; }
     6441
     6442fi
     6443as_val=`eval 'as_val=${'$as_ac_Header'}
     6444         $as_echo "$as_val"'`
     6445   if test "x$as_val" = x""yes; then
    54506446  cat >>confdefs.h <<_ACEOF
    5451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6447#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    54526448_ACEOF
    54536449
     
    55136509# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    55146510# for constant arguments.  Useless!
    5515 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5516 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
     6511{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
     6512$as_echo_n "checking for working alloca.h... " >&6; }
    55176513if test "${ac_cv_working_alloca_h+set}" = set; then
    5518   echo $ECHO_N "(cached) $ECHO_C" >&6
     6514  $as_echo_n "(cached) " >&6
    55196515else
    55206516  cat >conftest.$ac_ext <<_ACEOF
     
    55296525{
    55306526char *p = (char *) alloca (2 * sizeof (int));
     6527              if (p) return 0;
    55316528  ;
    55326529  return 0;
     
    55346531_ACEOF
    55356532rm -f conftest.$ac_objext conftest$ac_exeext
    5536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5537   (eval $ac_link) 2>conftest.er1
     6533if { (ac_try="$ac_link"
     6534case "(($ac_try" in
     6535  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6536  *) ac_try_echo=$ac_try;;
     6537esac
     6538eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6539$as_echo "$ac_try_echo") >&5
     6540  (eval "$ac_link") 2>conftest.er1
    55386541  ac_status=$?
    55396542  grep -v '^ *+' conftest.er1 >conftest.err
    55406543  rm -f conftest.er1
    55416544  cat conftest.err >&5
    5542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5543   (exit $ac_status); } &&
    5544      { ac_try='test -z "$ac_c_werror_flag"
    5545              || test ! -s conftest.err'
    5546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5547   (eval $ac_try) 2>&5
    5548   ac_status=$?
    5549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5550   (exit $ac_status); }; } &&
    5551      { ac_try='test -s conftest$ac_exeext'
    5552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5553   (eval $ac_try) 2>&5
    5554   ac_status=$?
    5555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5556   (exit $ac_status); }; }; then
     6545  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6546  (exit $ac_status); } && {
     6547     test -z "$ac_c_werror_flag" ||
     6548     test ! -s conftest.err
     6549       } && test -s conftest$ac_exeext && {
     6550     test "$cross_compiling" = yes ||
     6551     $as_test_x conftest$ac_exeext
     6552       }; then
    55576553  ac_cv_working_alloca_h=yes
    55586554else
    5559   echo "$as_me: failed program was:" >&5
     6555  $as_echo "$as_me: failed program was:" >&5
    55606556sed 's/^/| /' conftest.$ac_ext >&5
    55616557
    5562 ac_cv_working_alloca_h=no
    5563 fi
    5564 rm -f conftest.err conftest.$ac_objext \
     6558    ac_cv_working_alloca_h=no
     6559fi
     6560
     6561rm -rf conftest.dSYM
     6562rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    55656563      conftest$ac_exeext conftest.$ac_ext
    55666564fi
    5567 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5568 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
     6565{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     6566$as_echo "$ac_cv_working_alloca_h" >&6; }
    55696567if test $ac_cv_working_alloca_h = yes; then
    55706568
     
    55756573fi
    55766574
    5577 echo "$as_me:$LINENO: checking for alloca" >&5
    5578 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
     6575{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
     6576$as_echo_n "checking for alloca... " >&6; }
    55796577if test "${ac_cv_func_alloca_works+set}" = set; then
    5580   echo $ECHO_N "(cached) $ECHO_C" >&6
     6578  $as_echo_n "(cached) " >&6
    55816579else
    55826580  cat >conftest.$ac_ext <<_ACEOF
     
    55936591#  define alloca _alloca
    55946592# else
    5595 #  if HAVE_ALLOCA_H
     6593#  ifdef HAVE_ALLOCA_H
    55966594#   include <alloca.h>
    55976595#  else
     
    56116609{
    56126610char *p = (char *) alloca (1);
     6611                    if (p) return 0;
    56136612  ;
    56146613  return 0;
     
    56166615_ACEOF
    56176616rm -f conftest.$ac_objext conftest$ac_exeext
    5618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5619   (eval $ac_link) 2>conftest.er1
     6617if { (ac_try="$ac_link"
     6618case "(($ac_try" in
     6619  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6620  *) ac_try_echo=$ac_try;;
     6621esac
     6622eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6623$as_echo "$ac_try_echo") >&5
     6624  (eval "$ac_link") 2>conftest.er1
    56206625  ac_status=$?
    56216626  grep -v '^ *+' conftest.er1 >conftest.err
    56226627  rm -f conftest.er1
    56236628  cat conftest.err >&5
    5624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5625   (exit $ac_status); } &&
    5626      { ac_try='test -z "$ac_c_werror_flag"
    5627              || test ! -s conftest.err'
    5628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5629   (eval $ac_try) 2>&5
    5630   ac_status=$?
    5631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5632   (exit $ac_status); }; } &&
    5633      { ac_try='test -s conftest$ac_exeext'
    5634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5635   (eval $ac_try) 2>&5
    5636   ac_status=$?
    5637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5638   (exit $ac_status); }; }; then
     6629  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6630  (exit $ac_status); } && {
     6631     test -z "$ac_c_werror_flag" ||
     6632     test ! -s conftest.err
     6633       } && test -s conftest$ac_exeext && {
     6634     test "$cross_compiling" = yes ||
     6635     $as_test_x conftest$ac_exeext
     6636       }; then
    56396637  ac_cv_func_alloca_works=yes
    56406638else
    5641   echo "$as_me: failed program was:" >&5
     6639  $as_echo "$as_me: failed program was:" >&5
    56426640sed 's/^/| /' conftest.$ac_ext >&5
    56436641
    5644 ac_cv_func_alloca_works=no
    5645 fi
    5646 rm -f conftest.err conftest.$ac_objext \
     6642    ac_cv_func_alloca_works=no
     6643fi
     6644
     6645rm -rf conftest.dSYM
     6646rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    56476647      conftest$ac_exeext conftest.$ac_ext
    56486648fi
    5649 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    5650 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
     6649{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     6650$as_echo "$ac_cv_func_alloca_works" >&6; }
    56516651
    56526652if test $ac_cv_func_alloca_works = yes; then
     
    56626662# use ar to extract alloca.o from them instead of compiling alloca.c.
    56636663
    5664 ALLOCA=alloca.$ac_objext
     6664ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    56656665
    56666666cat >>confdefs.h <<\_ACEOF
     
    56696669
    56706670
    5671 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    5672 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
     6671{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     6672$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
    56736673if test "${ac_cv_os_cray+set}" = set; then
    5674   echo $ECHO_N "(cached) $ECHO_C" >&6
     6674  $as_echo_n "(cached) " >&6
    56756675else
    56766676  cat >conftest.$ac_ext <<_ACEOF
     
    56806680cat >>conftest.$ac_ext <<_ACEOF
    56816681/* end confdefs.h.  */
    5682 #if defined(CRAY) && ! defined(CRAY2)
     6682#if defined CRAY && ! defined CRAY2
    56836683webecray
    56846684#else
     
    56966696
    56976697fi
    5698 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    5699 echo "${ECHO_T}$ac_cv_os_cray" >&6
     6698{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     6699$as_echo "$ac_cv_os_cray" >&6; }
    57006700if test $ac_cv_os_cray = yes; then
    57016701  for ac_func in _getb67 GETB67 getb67; do
    5702     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5703 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5705 if eval "test \"\${$as_ac_var+set}\" = set"; then
    5706   echo $ECHO_N "(cached) $ECHO_C" >&6
     6702    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6703{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     6704$as_echo_n "checking for $ac_func... " >&6; }
     6705if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     6706  $as_echo_n "(cached) " >&6
    57076707else
    57086708  cat >conftest.$ac_ext <<_ACEOF
     
    57296729#undef $ac_func
    57306730
    5731 /* Override any gcc2 internal prototype to avoid an error.  */
     6731/* Override any GCC internal prototype to avoid an error.
     6732   Use char because int might match the return type of a GCC
     6733   builtin and then its argument prototype would still apply.  */
    57326734#ifdef __cplusplus
    57336735extern "C"
    5734 {
    57356736#endif
    5736 /* We use char because int might match the return type of a gcc2
    5737    builtin and then its argument prototype would still apply.  */
    57386737char $ac_func ();
    57396738/* The GNU C library defines this for functions which it implements
    57406739    to always fail with ENOSYS.  Some functions are actually named
    57416740    something starting with __ and the normal name is an alias.  */
    5742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     6741#if defined __stub_$ac_func || defined __stub___$ac_func
    57436742choke me
    5744 #else
    5745 char (*f) () = $ac_func;
    5746 #endif
    5747 #ifdef __cplusplus
    5748 }
    57496743#endif
    57506744
     
    57526746main ()
    57536747{
    5754 return f != $ac_func;
     6748return $ac_func ();
    57556749  ;
    57566750  return 0;
     
    57586752_ACEOF
    57596753rm -f conftest.$ac_objext conftest$ac_exeext
    5760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5761   (eval $ac_link) 2>conftest.er1
     6754if { (ac_try="$ac_link"
     6755case "(($ac_try" in
     6756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6757  *) ac_try_echo=$ac_try;;
     6758esac
     6759eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6760$as_echo "$ac_try_echo") >&5
     6761  (eval "$ac_link") 2>conftest.er1
    57626762  ac_status=$?
    57636763  grep -v '^ *+' conftest.er1 >conftest.err
    57646764  rm -f conftest.er1
    57656765  cat conftest.err >&5
    5766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5767   (exit $ac_status); } &&
    5768      { ac_try='test -z "$ac_c_werror_flag"
    5769              || test ! -s conftest.err'
    5770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5771   (eval $ac_try) 2>&5
    5772   ac_status=$?
    5773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5774   (exit $ac_status); }; } &&
    5775      { ac_try='test -s conftest$ac_exeext'
    5776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5777   (eval $ac_try) 2>&5
    5778   ac_status=$?
    5779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5780   (exit $ac_status); }; }; then
     6766  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6767  (exit $ac_status); } && {
     6768     test -z "$ac_c_werror_flag" ||
     6769     test ! -s conftest.err
     6770       } && test -s conftest$ac_exeext && {
     6771     test "$cross_compiling" = yes ||
     6772     $as_test_x conftest$ac_exeext
     6773       }; then
    57816774  eval "$as_ac_var=yes"
    57826775else
    5783   echo "$as_me: failed program was:" >&5
     6776  $as_echo "$as_me: failed program was:" >&5
    57846777sed 's/^/| /' conftest.$ac_ext >&5
    57856778
    5786 eval "$as_ac_var=no"
    5787 fi
    5788 rm -f conftest.err conftest.$ac_objext \
     6779    eval "$as_ac_var=no"
     6780fi
     6781
     6782rm -rf conftest.dSYM
     6783rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    57896784      conftest$ac_exeext conftest.$ac_ext
    57906785fi
    5791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    5792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    5793 if test `eval echo '${'$as_ac_var'}'` = yes; then
     6786ac_res=`eval 'as_val=${'$as_ac_var'}
     6787         $as_echo "$as_val"'`
     6788           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6789$as_echo "$ac_res" >&6; }
     6790as_val=`eval 'as_val=${'$as_ac_var'}
     6791         $as_echo "$as_val"'`
     6792   if test "x$as_val" = x""yes; then
    57946793
    57956794cat >>confdefs.h <<_ACEOF
     
    58036802fi
    58046803
    5805 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    5806 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
     6804{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     6805$as_echo_n "checking stack direction for C alloca... " >&6; }
    58076806if test "${ac_cv_c_stack_direction+set}" = set; then
    5808   echo $ECHO_N "(cached) $ECHO_C" >&6
     6807  $as_echo_n "(cached) " >&6
    58096808else
    58106809  if test "$cross_compiling" = yes; then
     
    58176816cat >>conftest.$ac_ext <<_ACEOF
    58186817/* end confdefs.h.  */
     6818$ac_includes_default
    58196819int
    58206820find_stack_direction ()
     
    58346834main ()
    58356835{
    5836   exit (find_stack_direction () < 0);
     6836  return find_stack_direction () < 0;
    58376837}
    58386838_ACEOF
    58396839rm -f conftest$ac_exeext
    5840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5841   (eval $ac_link) 2>&5
     6840if { (ac_try="$ac_link"
     6841case "(($ac_try" in
     6842  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6843  *) ac_try_echo=$ac_try;;
     6844esac
     6845eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6846$as_echo "$ac_try_echo") >&5
     6847  (eval "$ac_link") 2>&5
    58426848  ac_status=$?
    5843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6849  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58446850  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5846   (eval $ac_try) 2>&5
     6851  { (case "(($ac_try" in
     6852  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6853  *) ac_try_echo=$ac_try;;
     6854esac
     6855eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6856$as_echo "$ac_try_echo") >&5
     6857  (eval "$ac_try") 2>&5
    58476858  ac_status=$?
    5848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6859  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58496860  (exit $ac_status); }; }; then
    58506861  ac_cv_c_stack_direction=1
    58516862else
    5852   echo "$as_me: program exited with status $ac_status" >&5
    5853 echo "$as_me: failed program was:" >&5
     6863  $as_echo "$as_me: program exited with status $ac_status" >&5
     6864$as_echo "$as_me: failed program was:" >&5
    58546865sed 's/^/| /' conftest.$ac_ext >&5
    58556866
     
    58576868ac_cv_c_stack_direction=-1
    58586869fi
    5859 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5860 fi
    5861 fi
    5862 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    5863 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
     6870rm -rf conftest.dSYM
     6871rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     6872fi
     6873
     6874
     6875fi
     6876{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     6877$as_echo "$ac_cv_c_stack_direction" >&6; }
    58646878
    58656879cat >>confdefs.h <<_ACEOF
     
    58716885
    58726886if test $ac_cv_c_compiler_gnu = yes; then
    5873     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    5874 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
     6887    { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     6888$as_echo_n "checking whether $CC needs -traditional... " >&6; }
    58756889if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    5876   echo $ECHO_N "(cached) $ECHO_C" >&6
     6890  $as_echo_n "(cached) " >&6
    58776891else
    58786892    ac_pattern="Autoconf.*'x'"
     
    59136927  fi
    59146928fi
    5915 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    5916 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
     6929{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     6930$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
    59176931  if test $ac_cv_prog_gcc_traditional = yes; then
    59186932    CC="$CC -traditional"
     
    59206934fi
    59216935
    5922 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    5923 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
     6936{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     6937$as_echo_n "checking return type of signal handlers... " >&6; }
    59246938if test "${ac_cv_type_signal+set}" = set; then
    5925   echo $ECHO_N "(cached) $ECHO_C" >&6
     6939  $as_echo_n "(cached) " >&6
    59266940else
    59276941  cat >conftest.$ac_ext <<_ACEOF
     
    59336947#include <sys/types.h>
    59346948#include <signal.h>
    5935 #ifdef signal
    5936 # undef signal
    5937 #endif
    5938 #ifdef __cplusplus
    5939 extern "C" void (*signal (int, void (*)(int)))(int);
    5940 #else
    5941 void (*signal ()) ();
    5942 #endif
    59436949
    59446950int
    59456951main ()
    59466952{
    5947 int i;
     6953return *(signal (0, 0)) (0) == 1;
    59486954  ;
    59496955  return 0;
     
    59516957_ACEOF
    59526958rm -f conftest.$ac_objext
    5953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5954   (eval $ac_compile) 2>conftest.er1
     6959if { (ac_try="$ac_compile"
     6960case "(($ac_try" in
     6961  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6962  *) ac_try_echo=$ac_try;;
     6963esac
     6964eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6965$as_echo "$ac_try_echo") >&5
     6966  (eval "$ac_compile") 2>conftest.er1
    59556967  ac_status=$?
    59566968  grep -v '^ *+' conftest.er1 >conftest.err
    59576969  rm -f conftest.er1
    59586970  cat conftest.err >&5
    5959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5960   (exit $ac_status); } &&
    5961      { ac_try='test -z "$ac_c_werror_flag"
    5962              || test ! -s conftest.err'
    5963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5964   (eval $ac_try) 2>&5
    5965   ac_status=$?
    5966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5967   (exit $ac_status); }; } &&
    5968      { ac_try='test -s conftest.$ac_objext'
    5969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5970   (eval $ac_try) 2>&5
    5971   ac_status=$?
    5972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5973   (exit $ac_status); }; }; then
    5974   ac_cv_type_signal=void
    5975 else
    5976   echo "$as_me: failed program was:" >&5
     6971  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6972  (exit $ac_status); } && {
     6973     test -z "$ac_c_werror_flag" ||
     6974     test ! -s conftest.err
     6975       } && test -s conftest.$ac_objext; then
     6976  ac_cv_type_signal=int
     6977else
     6978  $as_echo "$as_me: failed program was:" >&5
    59776979sed 's/^/| /' conftest.$ac_ext >&5
    59786980
    5979 ac_cv_type_signal=int
    5980 fi
    5981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5982 fi
    5983 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    5984 echo "${ECHO_T}$ac_cv_type_signal" >&6
     6981    ac_cv_type_signal=void
     6982fi
     6983
     6984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6985fi
     6986{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     6987$as_echo "$ac_cv_type_signal" >&6; }
    59856988
    59866989cat >>confdefs.h <<_ACEOF
     
    59926995for ac_func in vprintf
    59936996do
    5994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5995 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5997 if eval "test \"\${$as_ac_var+set}\" = set"; then
    5998   echo $ECHO_N "(cached) $ECHO_C" >&6
     6997as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6998{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     6999$as_echo_n "checking for $ac_func... " >&6; }
     7000if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7001  $as_echo_n "(cached) " >&6
    59997002else
    60007003  cat >conftest.$ac_ext <<_ACEOF
     
    60217024#undef $ac_func
    60227025
    6023 /* Override any gcc2 internal prototype to avoid an error.  */
     7026/* Override any GCC internal prototype to avoid an error.
     7027   Use char because int might match the return type of a GCC
     7028   builtin and then its argument prototype would still apply.  */
    60247029#ifdef __cplusplus
    60257030extern "C"
    6026 {
    60277031#endif
    6028 /* We use char because int might match the return type of a gcc2
    6029    builtin and then its argument prototype would still apply.  */
    60307032char $ac_func ();
    60317033/* The GNU C library defines this for functions which it implements
    60327034    to always fail with ENOSYS.  Some functions are actually named
    60337035    something starting with __ and the normal name is an alias.  */
    6034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7036#if defined __stub_$ac_func || defined __stub___$ac_func
    60357037choke me
    6036 #else
    6037 char (*f) () = $ac_func;
    6038 #endif
    6039 #ifdef __cplusplus
    6040 }
    60417038#endif
    60427039
     
    60447041main ()
    60457042{
    6046 return f != $ac_func;
     7043return $ac_func ();
    60477044  ;
    60487045  return 0;
     
    60507047_ACEOF
    60517048rm -f conftest.$ac_objext conftest$ac_exeext
    6052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6053   (eval $ac_link) 2>conftest.er1
     7049if { (ac_try="$ac_link"
     7050case "(($ac_try" in
     7051  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7052  *) ac_try_echo=$ac_try;;
     7053esac
     7054eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7055$as_echo "$ac_try_echo") >&5
     7056  (eval "$ac_link") 2>conftest.er1
    60547057  ac_status=$?
    60557058  grep -v '^ *+' conftest.er1 >conftest.err
    60567059  rm -f conftest.er1
    60577060  cat conftest.err >&5
    6058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6059   (exit $ac_status); } &&
    6060      { ac_try='test -z "$ac_c_werror_flag"
    6061              || test ! -s conftest.err'
    6062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6063   (eval $ac_try) 2>&5
    6064   ac_status=$?
    6065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6066   (exit $ac_status); }; } &&
    6067      { ac_try='test -s conftest$ac_exeext'
    6068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6069   (eval $ac_try) 2>&5
    6070   ac_status=$?
    6071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6072   (exit $ac_status); }; }; then
     7061  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7062  (exit $ac_status); } && {
     7063     test -z "$ac_c_werror_flag" ||
     7064     test ! -s conftest.err
     7065       } && test -s conftest$ac_exeext && {
     7066     test "$cross_compiling" = yes ||
     7067     $as_test_x conftest$ac_exeext
     7068       }; then
    60737069  eval "$as_ac_var=yes"
    60747070else
    6075   echo "$as_me: failed program was:" >&5
     7071  $as_echo "$as_me: failed program was:" >&5
    60767072sed 's/^/| /' conftest.$ac_ext >&5
    60777073
    6078 eval "$as_ac_var=no"
    6079 fi
    6080 rm -f conftest.err conftest.$ac_objext \
     7074    eval "$as_ac_var=no"
     7075fi
     7076
     7077rm -rf conftest.dSYM
     7078rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    60817079      conftest$ac_exeext conftest.$ac_ext
    60827080fi
    6083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6085 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7081ac_res=`eval 'as_val=${'$as_ac_var'}
     7082         $as_echo "$as_val"'`
     7083           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7084$as_echo "$ac_res" >&6; }
     7085as_val=`eval 'as_val=${'$as_ac_var'}
     7086         $as_echo "$as_val"'`
     7087   if test "x$as_val" = x""yes; then
    60867088  cat >>confdefs.h <<_ACEOF
    6087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    6088 _ACEOF
    6089 
    6090 echo "$as_me:$LINENO: checking for _doprnt" >&5
    6091 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
     7089#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7090_ACEOF
     7091
     7092{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
     7093$as_echo_n "checking for _doprnt... " >&6; }
    60927094if test "${ac_cv_func__doprnt+set}" = set; then
    6093   echo $ECHO_N "(cached) $ECHO_C" >&6
     7095  $as_echo_n "(cached) " >&6
    60947096else
    60957097  cat >conftest.$ac_ext <<_ACEOF
     
    61167118#undef _doprnt
    61177119
    6118 /* Override any gcc2 internal prototype to avoid an error.  */
     7120/* Override any GCC internal prototype to avoid an error.
     7121   Use char because int might match the return type of a GCC
     7122   builtin and then its argument prototype would still apply.  */
    61197123#ifdef __cplusplus
    61207124extern "C"
    6121 {
    61227125#endif
    6123 /* We use char because int might match the return type of a gcc2
    6124    builtin and then its argument prototype would still apply.  */
    61257126char _doprnt ();
    61267127/* The GNU C library defines this for functions which it implements
    61277128    to always fail with ENOSYS.  Some functions are actually named
    61287129    something starting with __ and the normal name is an alias.  */
    6129 #if defined (__stub__doprnt) || defined (__stub____doprnt)
     7130#if defined __stub__doprnt || defined __stub____doprnt
    61307131choke me
    6131 #else
    6132 char (*f) () = _doprnt;
    6133 #endif
    6134 #ifdef __cplusplus
    6135 }
    61367132#endif
    61377133
     
    61397135main ()
    61407136{
    6141 return f != _doprnt;
     7137return _doprnt ();
    61427138  ;
    61437139  return 0;
     
    61457141_ACEOF
    61467142rm -f conftest.$ac_objext conftest$ac_exeext
    6147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6148   (eval $ac_link) 2>conftest.er1
     7143if { (ac_try="$ac_link"
     7144case "(($ac_try" in
     7145  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7146  *) ac_try_echo=$ac_try;;
     7147esac
     7148eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7149$as_echo "$ac_try_echo") >&5
     7150  (eval "$ac_link") 2>conftest.er1
    61497151  ac_status=$?
    61507152  grep -v '^ *+' conftest.er1 >conftest.err
    61517153  rm -f conftest.er1
    61527154  cat conftest.err >&5
    6153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6154   (exit $ac_status); } &&
    6155      { ac_try='test -z "$ac_c_werror_flag"
    6156              || test ! -s conftest.err'
    6157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6158   (eval $ac_try) 2>&5
    6159   ac_status=$?
    6160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6161   (exit $ac_status); }; } &&
    6162      { ac_try='test -s conftest$ac_exeext'
    6163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6164   (eval $ac_try) 2>&5
    6165   ac_status=$?
    6166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6167   (exit $ac_status); }; }; then
     7155  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7156  (exit $ac_status); } && {
     7157     test -z "$ac_c_werror_flag" ||
     7158     test ! -s conftest.err
     7159       } && test -s conftest$ac_exeext && {
     7160     test "$cross_compiling" = yes ||
     7161     $as_test_x conftest$ac_exeext
     7162       }; then
    61687163  ac_cv_func__doprnt=yes
    61697164else
    6170   echo "$as_me: failed program was:" >&5
     7165  $as_echo "$as_me: failed program was:" >&5
    61717166sed 's/^/| /' conftest.$ac_ext >&5
    61727167
    6173 ac_cv_func__doprnt=no
    6174 fi
    6175 rm -f conftest.err conftest.$ac_objext \
     7168    ac_cv_func__doprnt=no
     7169fi
     7170
     7171rm -rf conftest.dSYM
     7172rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    61767173      conftest$ac_exeext conftest.$ac_ext
    61777174fi
    6178 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6179 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
    6180 if test $ac_cv_func__doprnt = yes; then
     7175{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     7176$as_echo "$ac_cv_func__doprnt" >&6; }
     7177if test "x$ac_cv_func__doprnt" = x""yes; then
    61817178
    61827179cat >>confdefs.h <<\_ACEOF
     
    62027199for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
    62037200do
    6204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6205 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6207 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6208   echo $ECHO_N "(cached) $ECHO_C" >&6
     7201as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7202{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7203$as_echo_n "checking for $ac_func... " >&6; }
     7204if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7205  $as_echo_n "(cached) " >&6
    62097206else
    62107207  cat >conftest.$ac_ext <<_ACEOF
     
    62317228#undef $ac_func
    62327229
    6233 /* Override any gcc2 internal prototype to avoid an error.  */
     7230/* Override any GCC internal prototype to avoid an error.
     7231   Use char because int might match the return type of a GCC
     7232   builtin and then its argument prototype would still apply.  */
    62347233#ifdef __cplusplus
    62357234extern "C"
    6236 {
    62377235#endif
    6238 /* We use char because int might match the return type of a gcc2
    6239    builtin and then its argument prototype would still apply.  */
    62407236char $ac_func ();
    62417237/* The GNU C library defines this for functions which it implements
    62427238    to always fail with ENOSYS.  Some functions are actually named
    62437239    something starting with __ and the normal name is an alias.  */
    6244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7240#if defined __stub_$ac_func || defined __stub___$ac_func
    62457241choke me
    6246 #else
    6247 char (*f) () = $ac_func;
    6248 #endif
    6249 #ifdef __cplusplus
    6250 }
    62517242#endif
    62527243
     
    62547245main ()
    62557246{
    6256 return f != $ac_func;
     7247return $ac_func ();
    62577248  ;
    62587249  return 0;
     
    62607251_ACEOF
    62617252rm -f conftest.$ac_objext conftest$ac_exeext
    6262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6263   (eval $ac_link) 2>conftest.er1
     7253if { (ac_try="$ac_link"
     7254case "(($ac_try" in
     7255  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7256  *) ac_try_echo=$ac_try;;
     7257esac
     7258eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7259$as_echo "$ac_try_echo") >&5
     7260  (eval "$ac_link") 2>conftest.er1
    62647261  ac_status=$?
    62657262  grep -v '^ *+' conftest.er1 >conftest.err
    62667263  rm -f conftest.er1
    62677264  cat conftest.err >&5
    6268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6269   (exit $ac_status); } &&
    6270      { ac_try='test -z "$ac_c_werror_flag"
    6271              || test ! -s conftest.err'
    6272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6273   (eval $ac_try) 2>&5
    6274   ac_status=$?
    6275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6276   (exit $ac_status); }; } &&
    6277      { ac_try='test -s conftest$ac_exeext'
    6278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6279   (eval $ac_try) 2>&5
    6280   ac_status=$?
    6281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6282   (exit $ac_status); }; }; then
     7265  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7266  (exit $ac_status); } && {
     7267     test -z "$ac_c_werror_flag" ||
     7268     test ! -s conftest.err
     7269       } && test -s conftest$ac_exeext && {
     7270     test "$cross_compiling" = yes ||
     7271     $as_test_x conftest$ac_exeext
     7272       }; then
    62837273  eval "$as_ac_var=yes"
    62847274else
    6285   echo "$as_me: failed program was:" >&5
     7275  $as_echo "$as_me: failed program was:" >&5
    62867276sed 's/^/| /' conftest.$ac_ext >&5
    62877277
    6288 eval "$as_ac_var=no"
    6289 fi
    6290 rm -f conftest.err conftest.$ac_objext \
     7278    eval "$as_ac_var=no"
     7279fi
     7280
     7281rm -rf conftest.dSYM
     7282rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    62917283      conftest$ac_exeext conftest.$ac_ext
    62927284fi
    6293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6295 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7285ac_res=`eval 'as_val=${'$as_ac_var'}
     7286         $as_echo "$as_val"'`
     7287           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7288$as_echo "$ac_res" >&6; }
     7289as_val=`eval 'as_val=${'$as_ac_var'}
     7290         $as_echo "$as_val"'`
     7291   if test "x$as_val" = x""yes; then
    62967292  cat >>confdefs.h <<_ACEOF
    6297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7293#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    62987294_ACEOF
    62997295
     
    63067302for ac_func in ftruncate strstr strcasecmp
    63077303do
    6308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6309 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6311 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6312   echo $ECHO_N "(cached) $ECHO_C" >&6
     7304as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7305{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7306$as_echo_n "checking for $ac_func... " >&6; }
     7307if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7308  $as_echo_n "(cached) " >&6
    63137309else
    63147310  cat >conftest.$ac_ext <<_ACEOF
     
    63357331#undef $ac_func
    63367332
    6337 /* Override any gcc2 internal prototype to avoid an error.  */
     7333/* Override any GCC internal prototype to avoid an error.
     7334   Use char because int might match the return type of a GCC
     7335   builtin and then its argument prototype would still apply.  */
    63387336#ifdef __cplusplus
    63397337extern "C"
    6340 {
    63417338#endif
    6342 /* We use char because int might match the return type of a gcc2
    6343    builtin and then its argument prototype would still apply.  */
    63447339char $ac_func ();
    63457340/* The GNU C library defines this for functions which it implements
    63467341    to always fail with ENOSYS.  Some functions are actually named
    63477342    something starting with __ and the normal name is an alias.  */
    6348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7343#if defined __stub_$ac_func || defined __stub___$ac_func
    63497344choke me
    6350 #else
    6351 char (*f) () = $ac_func;
    6352 #endif
    6353 #ifdef __cplusplus
    6354 }
    63557345#endif
    63567346
     
    63587348main ()
    63597349{
    6360 return f != $ac_func;
     7350return $ac_func ();
    63617351  ;
    63627352  return 0;
     
    63647354_ACEOF
    63657355rm -f conftest.$ac_objext conftest$ac_exeext
    6366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6367   (eval $ac_link) 2>conftest.er1
     7356if { (ac_try="$ac_link"
     7357case "(($ac_try" in
     7358  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7359  *) ac_try_echo=$ac_try;;
     7360esac
     7361eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7362$as_echo "$ac_try_echo") >&5
     7363  (eval "$ac_link") 2>conftest.er1
    63687364  ac_status=$?
    63697365  grep -v '^ *+' conftest.er1 >conftest.err
    63707366  rm -f conftest.er1
    63717367  cat conftest.err >&5
    6372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6373   (exit $ac_status); } &&
    6374      { ac_try='test -z "$ac_c_werror_flag"
    6375              || test ! -s conftest.err'
    6376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6377   (eval $ac_try) 2>&5
    6378   ac_status=$?
    6379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6380   (exit $ac_status); }; } &&
    6381      { ac_try='test -s conftest$ac_exeext'
    6382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6383   (eval $ac_try) 2>&5
    6384   ac_status=$?
    6385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6386   (exit $ac_status); }; }; then
     7368  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7369  (exit $ac_status); } && {
     7370     test -z "$ac_c_werror_flag" ||
     7371     test ! -s conftest.err
     7372       } && test -s conftest$ac_exeext && {
     7373     test "$cross_compiling" = yes ||
     7374     $as_test_x conftest$ac_exeext
     7375       }; then
    63877376  eval "$as_ac_var=yes"
    63887377else
    6389   echo "$as_me: failed program was:" >&5
     7378  $as_echo "$as_me: failed program was:" >&5
    63907379sed 's/^/| /' conftest.$ac_ext >&5
    63917380
    6392 eval "$as_ac_var=no"
    6393 fi
    6394 rm -f conftest.err conftest.$ac_objext \
     7381    eval "$as_ac_var=no"
     7382fi
     7383
     7384rm -rf conftest.dSYM
     7385rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    63957386      conftest$ac_exeext conftest.$ac_ext
    63967387fi
    6397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6399 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7388ac_res=`eval 'as_val=${'$as_ac_var'}
     7389         $as_echo "$as_val"'`
     7390           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7391$as_echo "$ac_res" >&6; }
     7392as_val=`eval 'as_val=${'$as_ac_var'}
     7393         $as_echo "$as_val"'`
     7394   if test "x$as_val" = x""yes; then
    64007395  cat >>confdefs.h <<_ACEOF
    6401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    6402 _ACEOF
    6403 
    6404 else
    6405   case $LIBOBJS in
    6406     "$ac_func.$ac_objext"   | \
    6407   *" $ac_func.$ac_objext"   | \
    6408     "$ac_func.$ac_objext "* | \
     7396#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7397_ACEOF
     7398
     7399else
     7400  case " $LIBOBJS " in
    64097401  *" $ac_func.$ac_objext "* ) ;;
    6410   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
     7402  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     7403 ;;
    64117404esac
    64127405
     
    64167409
    64177410
    6418 echo "$as_me:$LINENO: checking for textdomain" >&5
    6419 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
     7411{ $as_echo "$as_me:$LINENO: checking for textdomain" >&5
     7412$as_echo_n "checking for textdomain... " >&6; }
    64207413if test "${ac_cv_func_textdomain+set}" = set; then
    6421   echo $ECHO_N "(cached) $ECHO_C" >&6
     7414  $as_echo_n "(cached) " >&6
    64227415else
    64237416  cat >conftest.$ac_ext <<_ACEOF
     
    64447437#undef textdomain
    64457438
    6446 /* Override any gcc2 internal prototype to avoid an error.  */
     7439/* Override any GCC internal prototype to avoid an error.
     7440   Use char because int might match the return type of a GCC
     7441   builtin and then its argument prototype would still apply.  */
    64477442#ifdef __cplusplus
    64487443extern "C"
    6449 {
    64507444#endif
    6451 /* We use char because int might match the return type of a gcc2
    6452    builtin and then its argument prototype would still apply.  */
    64537445char textdomain ();
    64547446/* The GNU C library defines this for functions which it implements
    64557447    to always fail with ENOSYS.  Some functions are actually named
    64567448    something starting with __ and the normal name is an alias.  */
    6457 #if defined (__stub_textdomain) || defined (__stub___textdomain)
     7449#if defined __stub_textdomain || defined __stub___textdomain
    64587450choke me
    6459 #else
    6460 char (*f) () = textdomain;
    6461 #endif
    6462 #ifdef __cplusplus
    6463 }
    64647451#endif
    64657452
     
    64677454main ()
    64687455{
    6469 return f != textdomain;
     7456return textdomain ();
    64707457  ;
    64717458  return 0;
     
    64737460_ACEOF
    64747461rm -f conftest.$ac_objext conftest$ac_exeext
    6475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6476   (eval $ac_link) 2>conftest.er1
     7462if { (ac_try="$ac_link"
     7463case "(($ac_try" in
     7464  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7465  *) ac_try_echo=$ac_try;;
     7466esac
     7467eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7468$as_echo "$ac_try_echo") >&5
     7469  (eval "$ac_link") 2>conftest.er1
    64777470  ac_status=$?
    64787471  grep -v '^ *+' conftest.er1 >conftest.err
    64797472  rm -f conftest.er1
    64807473  cat conftest.err >&5
    6481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6482   (exit $ac_status); } &&
    6483      { ac_try='test -z "$ac_c_werror_flag"
    6484              || test ! -s conftest.err'
    6485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6486   (eval $ac_try) 2>&5
    6487   ac_status=$?
    6488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6489   (exit $ac_status); }; } &&
    6490      { ac_try='test -s conftest$ac_exeext'
    6491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6492   (eval $ac_try) 2>&5
    6493   ac_status=$?
    6494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6495   (exit $ac_status); }; }; then
     7474  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7475  (exit $ac_status); } && {
     7476     test -z "$ac_c_werror_flag" ||
     7477     test ! -s conftest.err
     7478       } && test -s conftest$ac_exeext && {
     7479     test "$cross_compiling" = yes ||
     7480     $as_test_x conftest$ac_exeext
     7481       }; then
    64967482  ac_cv_func_textdomain=yes
    64977483else
    6498   echo "$as_me: failed program was:" >&5
     7484  $as_echo "$as_me: failed program was:" >&5
    64997485sed 's/^/| /' conftest.$ac_ext >&5
    65007486
    6501 ac_cv_func_textdomain=no
    6502 fi
    6503 rm -f conftest.err conftest.$ac_objext \
     7487    ac_cv_func_textdomain=no
     7488fi
     7489
     7490rm -rf conftest.dSYM
     7491rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    65047492      conftest$ac_exeext conftest.$ac_ext
    65057493fi
    6506 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    6507 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
    6508 if test $ac_cv_func_textdomain = yes; then
     7494{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     7495$as_echo "$ac_cv_func_textdomain" >&6; }
     7496if test "x$ac_cv_func_textdomain" = x""yes; then
    65097497  cat >>confdefs.h <<\_ACEOF
    65107498#define ENABLE_NLS  1
     
    65167504# *** Custom checking (based on GNU tar configure.in) ***
    65177505# ---------------------------------------------------------------------------
    6518 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    6519 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
     7506{ $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     7507$as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
    65207508if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    6521   echo "$as_me:$LINENO: result: yes" >&5
    6522 echo "${ECHO_T}yes" >&6
    6523   case $LIBOBJS in
    6524     "gmalloc.$ac_objext"   | \
    6525   *" gmalloc.$ac_objext"   | \
    6526     "gmalloc.$ac_objext "* | \
     7509  { $as_echo "$as_me:$LINENO: result: yes" >&5
     7510$as_echo "yes" >&6; }
     7511  case " $LIBOBJS " in
    65277512  *" gmalloc.$ac_objext "* ) ;;
    6528   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
     7513  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
     7514 ;;
    65297515esac
    65307516
     
    65347520
    65357521else
    6536   echo "$as_me:$LINENO: result: no" >&5
    6537 echo "${ECHO_T}no" >&6
     7522  { $as_echo "$as_me:$LINENO: result: no" >&5
     7523$as_echo "no" >&6; }
    65387524
    65397525for ac_func in valloc
    65407526do
    6541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6542 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6544 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6545   echo $ECHO_N "(cached) $ECHO_C" >&6
     7527as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     7528{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     7529$as_echo_n "checking for $ac_func... " >&6; }
     7530if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     7531  $as_echo_n "(cached) " >&6
    65467532else
    65477533  cat >conftest.$ac_ext <<_ACEOF
     
    65687554#undef $ac_func
    65697555
    6570 /* Override any gcc2 internal prototype to avoid an error.  */
     7556/* Override any GCC internal prototype to avoid an error.
     7557   Use char because int might match the return type of a GCC
     7558   builtin and then its argument prototype would still apply.  */
    65717559#ifdef __cplusplus
    65727560extern "C"
    6573 {
    65747561#endif
    6575 /* We use char because int might match the return type of a gcc2
    6576    builtin and then its argument prototype would still apply.  */
    65777562char $ac_func ();
    65787563/* The GNU C library defines this for functions which it implements
    65797564    to always fail with ENOSYS.  Some functions are actually named
    65807565    something starting with __ and the normal name is an alias.  */
    6581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
     7566#if defined __stub_$ac_func || defined __stub___$ac_func
    65827567choke me
    6583 #else
    6584 char (*f) () = $ac_func;
    6585 #endif
    6586 #ifdef __cplusplus
    6587 }
    65887568#endif
    65897569
     
    65917571main ()
    65927572{
    6593 return f != $ac_func;
     7573return $ac_func ();
    65947574  ;
    65957575  return 0;
     
    65977577_ACEOF
    65987578rm -f conftest.$ac_objext conftest$ac_exeext
    6599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6600   (eval $ac_link) 2>conftest.er1
     7579if { (ac_try="$ac_link"
     7580case "(($ac_try" in
     7581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7582  *) ac_try_echo=$ac_try;;
     7583esac
     7584eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7585$as_echo "$ac_try_echo") >&5
     7586  (eval "$ac_link") 2>conftest.er1
    66017587  ac_status=$?
    66027588  grep -v '^ *+' conftest.er1 >conftest.err
    66037589  rm -f conftest.er1
    66047590  cat conftest.err >&5
    6605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6606   (exit $ac_status); } &&
    6607      { ac_try='test -z "$ac_c_werror_flag"
    6608              || test ! -s conftest.err'
    6609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6610   (eval $ac_try) 2>&5
    6611   ac_status=$?
    6612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6613   (exit $ac_status); }; } &&
    6614      { ac_try='test -s conftest$ac_exeext'
    6615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6616   (eval $ac_try) 2>&5
    6617   ac_status=$?
    6618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6619   (exit $ac_status); }; }; then
     7591  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7592  (exit $ac_status); } && {
     7593     test -z "$ac_c_werror_flag" ||
     7594     test ! -s conftest.err
     7595       } && test -s conftest$ac_exeext && {
     7596     test "$cross_compiling" = yes ||
     7597     $as_test_x conftest$ac_exeext
     7598       }; then
    66207599  eval "$as_ac_var=yes"
    66217600else
    6622   echo "$as_me: failed program was:" >&5
     7601  $as_echo "$as_me: failed program was:" >&5
    66237602sed 's/^/| /' conftest.$ac_ext >&5
    66247603
    6625 eval "$as_ac_var=no"
    6626 fi
    6627 rm -f conftest.err conftest.$ac_objext \
     7604    eval "$as_ac_var=no"
     7605fi
     7606
     7607rm -rf conftest.dSYM
     7608rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    66287609      conftest$ac_exeext conftest.$ac_ext
    66297610fi
    6630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6632 if test `eval echo '${'$as_ac_var'}'` = yes; then
     7611ac_res=`eval 'as_val=${'$as_ac_var'}
     7612         $as_echo "$as_val"'`
     7613           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7614$as_echo "$ac_res" >&6; }
     7615as_val=`eval 'as_val=${'$as_ac_var'}
     7616         $as_echo "$as_val"'`
     7617   if test "x$as_val" = x""yes; then
    66337618  cat >>confdefs.h <<_ACEOF
    6634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7619#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    66357620_ACEOF
    66367621
     
    66417626
    66427627# we cannot generate static libraries under Darwin
    6643 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
    6644 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
     7628{ $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     7629$as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
    66457630if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    6646   echo "$as_me:$LINENO: result: yes" >&5
    6647 echo "${ECHO_T}yes" >&6
     7631  { $as_echo "$as_me:$LINENO: result: yes" >&5
     7632$as_echo "yes" >&6; }
    66487633  STATIC=""
    66497634else
    6650   echo "$as_me:$LINENO: result: no" >&5
    6651 echo "${ECHO_T}no" >&6
     7635  { $as_echo "$as_me:$LINENO: result: no" >&5
     7636$as_echo "no" >&6; }
    66527637  STATIC="-static "
    66537638fi
    66547639
    66557640
    6656 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    6657 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
    6658 
    6659 # Check whether --with-dmalloc or --without-dmalloc was given.
     7641{ $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     7642$as_echo_n "checking if malloc debugging is wanted... " >&6; }
     7643
     7644# Check whether --with-dmalloc was given.
    66607645if test "${with_dmalloc+set}" = set; then
    6661   withval="$with_dmalloc"
    6662   if test "$withval" = yes; then
    6663   echo "$as_me:$LINENO: result: yes" >&5
    6664 echo "${ECHO_T}yes" >&6
     7646  withval=$with_dmalloc; if test "$withval" = yes; then
     7647  { $as_echo "$as_me:$LINENO: result: yes" >&5
     7648$as_echo "yes" >&6; }
    66657649  cat >>confdefs.h <<\_ACEOF
    66667650#define WITH_DMALLOC 1
     
    66707654  LDFLAGS="$LDFLAGS -g"
    66717655else
    6672   echo "$as_me:$LINENO: result: no" >&5
    6673 echo "${ECHO_T}no" >&6
    6674 fi
    6675 else
    6676   echo "$as_me:$LINENO: result: no" >&5
    6677 echo "${ECHO_T}no" >&6
    6678 fi;
    6679 
    6680 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    6681 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
    6682 
    6683 # Check whether --with-regex or --without-regex was given.
     7656  { $as_echo "$as_me:$LINENO: result: no" >&5
     7657$as_echo "no" >&6; }
     7658fi
     7659else
     7660  { $as_echo "$as_me:$LINENO: result: no" >&5
     7661$as_echo "no" >&6; }
     7662fi
     7663
     7664
     7665{ $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     7666$as_echo_n "checking which of rx or regex is wanted... " >&6; }
     7667
     7668# Check whether --with-regex was given.
    66847669if test "${with_regex+set}" = set; then
    6685   withval="$with_regex"
    6686   if test "$withval" = yes; then
     7670  withval=$with_regex; if test "$withval" = yes; then
    66877671  ac_with_regex=1
    6688   echo "$as_me:$LINENO: result: regex" >&5
    6689 echo "${ECHO_T}regex" >&6
     7672  { $as_echo "$as_me:$LINENO: result: regex" >&5
     7673$as_echo "regex" >&6; }
    66907674  cat >>confdefs.h <<\_ACEOF
    66917675#define WITH_REGEX 1
    66927676_ACEOF
    66937677
    6694   case $LIBOBJS in
    6695     "regex.$ac_objext"   | \
    6696   *" regex.$ac_objext"   | \
    6697     "regex.$ac_objext "* | \
     7678  case " $LIBOBJS " in
    66987679  *" regex.$ac_objext "* ) ;;
    6699   *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    6700 esac
    6701 
    6702 fi
    6703 fi;
     7680  *) LIBOBJS="$LIBOBJS regex.$ac_objext"
     7681 ;;
     7682esac
     7683
     7684fi
     7685fi
     7686
    67047687if test -z "$ac_with_regex"; then
    6705   echo "$as_me:$LINENO: result: rx" >&5
    6706 echo "${ECHO_T}rx" >&6
    6707   echo "$as_me:$LINENO: checking for re_rx_search" >&5
    6708 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
     7688  { $as_echo "$as_me:$LINENO: result: rx" >&5
     7689$as_echo "rx" >&6; }
     7690  { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5
     7691$as_echo_n "checking for re_rx_search... " >&6; }
    67097692if test "${ac_cv_func_re_rx_search+set}" = set; then
    6710   echo $ECHO_N "(cached) $ECHO_C" >&6
     7693  $as_echo_n "(cached) " >&6
    67117694else
    67127695  cat >conftest.$ac_ext <<_ACEOF
     
    67337716#undef re_rx_search
    67347717
    6735 /* Override any gcc2 internal prototype to avoid an error.  */
     7718/* Override any GCC internal prototype to avoid an error.
     7719   Use char because int might match the return type of a GCC
     7720   builtin and then its argument prototype would still apply.  */
    67367721#ifdef __cplusplus
    67377722extern "C"
    6738 {
    67397723#endif
    6740 /* We use char because int might match the return type of a gcc2
    6741    builtin and then its argument prototype would still apply.  */
    67427724char re_rx_search ();
    67437725/* The GNU C library defines this for functions which it implements
    67447726    to always fail with ENOSYS.  Some functions are actually named
    67457727    something starting with __ and the normal name is an alias.  */
    6746 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
     7728#if defined __stub_re_rx_search || defined __stub___re_rx_search
    67477729choke me
    6748 #else
    6749 char (*f) () = re_rx_search;
    6750 #endif
    6751 #ifdef __cplusplus
    6752 }
    67537730#endif
    67547731
     
    67567733main ()
    67577734{
    6758 return f != re_rx_search;
     7735return re_rx_search ();
    67597736  ;
    67607737  return 0;
     
    67627739_ACEOF
    67637740rm -f conftest.$ac_objext conftest$ac_exeext
    6764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6765   (eval $ac_link) 2>conftest.er1
     7741if { (ac_try="$ac_link"
     7742case "(($ac_try" in
     7743  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7744  *) ac_try_echo=$ac_try;;
     7745esac
     7746eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7747$as_echo "$ac_try_echo") >&5
     7748  (eval "$ac_link") 2>conftest.er1
    67667749  ac_status=$?
    67677750  grep -v '^ *+' conftest.er1 >conftest.err
    67687751  rm -f conftest.er1
    67697752  cat conftest.err >&5
    6770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6771   (exit $ac_status); } &&
    6772      { ac_try='test -z "$ac_c_werror_flag"
    6773              || test ! -s conftest.err'
    6774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6775   (eval $ac_try) 2>&5
    6776   ac_status=$?
    6777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6778   (exit $ac_status); }; } &&
    6779      { ac_try='test -s conftest$ac_exeext'
    6780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6781   (eval $ac_try) 2>&5
    6782   ac_status=$?
    6783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6784   (exit $ac_status); }; }; then
     7753  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7754  (exit $ac_status); } && {
     7755     test -z "$ac_c_werror_flag" ||
     7756     test ! -s conftest.err
     7757       } && test -s conftest$ac_exeext && {
     7758     test "$cross_compiling" = yes ||
     7759     $as_test_x conftest$ac_exeext
     7760       }; then
    67857761  ac_cv_func_re_rx_search=yes
    67867762else
    6787   echo "$as_me: failed program was:" >&5
     7763  $as_echo "$as_me: failed program was:" >&5
    67887764sed 's/^/| /' conftest.$ac_ext >&5
    67897765
    6790 ac_cv_func_re_rx_search=no
    6791 fi
    6792 rm -f conftest.err conftest.$ac_objext \
     7766    ac_cv_func_re_rx_search=no
     7767fi
     7768
     7769rm -rf conftest.dSYM
     7770rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    67937771      conftest$ac_exeext conftest.$ac_ext
    67947772fi
    6795 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    6796 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
    6797 if test $ac_cv_func_re_rx_search = yes; then
     7773{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     7774$as_echo "$ac_cv_func_re_rx_search" >&6; }
     7775if test "x$ac_cv_func_re_rx_search" = x""yes; then
    67987776  :
    67997777else
    6800   case $LIBOBJS in
    6801     "rx.$ac_objext"   | \
    6802   *" rx.$ac_objext"   | \
    6803     "rx.$ac_objext "* | \
     7778  case " $LIBOBJS " in
    68047779  *" rx.$ac_objext "* ) ;;
    6805   *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
     7780  *) LIBOBJS="$LIBOBJS rx.$ac_objext"
     7781 ;;
    68067782esac
    68077783
     
    68137789# ---------------------------------------------------------------------------
    68147790if test "$ac_cv_func_alloca" = 'no'; then
    6815   case $LIBOBJS in
    6816     "xmalloc.$ac_objext"   | \
    6817   *" xmalloc.$ac_objext"   | \
    6818     "xmalloc.$ac_objext "* | \
     7791  case " $LIBOBJS " in
    68197792  *" xmalloc.$ac_objext "* ) ;;
    6820   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    6821 esac
    6822 
    6823   case $LIBOBJS in
    6824     "error.$ac_objext"   | \
    6825   *" error.$ac_objext"   | \
    6826     "error.$ac_objext "* | \
     7793  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
     7794 ;;
     7795esac
     7796
     7797  case " $LIBOBJS " in
    68277798  *" error.$ac_objext "* ) ;;
    6828   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     7799  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     7800 ;;
    68297801esac
    68307802
     
    68347806# ---------------------------------------------------------------------------
    68357807
    6836 ac_ext=cc
     7808ac_ext=cpp
    68377809ac_cpp='$CXXCPP $CPPFLAGS'
    68387810ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    68417813
    68427814
    6843 echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
    6844 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6
     7815{ $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
     7816$as_echo_n "checking that Perl 5 is available... " >&6; }
    68457817success="no"
    68467818pl_path="$PATH"
     
    68597831try=`expr $try \> 5.000`
    68607832if test $try = "1"; then
    6861 echo "$as_me:$LINENO: result: \"yes\"" >&5
    6862 echo "${ECHO_T}\"yes\"" >&6
     7833{ $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
     7834$as_echo "\"yes\"" >&6; }
    68637835else
    68647836success="no"
     
    68677839
    68687840if test $success = "no"; then
    6869 echo "$as_me:$LINENO: result: \"no\"" >&5
    6870 echo "${ECHO_T}\"no\"" >&6
    6871 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
    6872 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
     7841{ $as_echo "$as_me:$LINENO: result: \"no\"" >&5
     7842$as_echo "\"no\"" >&6; }
     7843{ { $as_echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
     7844$as_echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
    68737845   { (exit 1); exit 1; }; }
    68747846fi
    68757847
    68767848success=no
    6877 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
    6878 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
     7849{ $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
     7850$as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
    68797851
    68807852
     
    68967868_ACEOF
    68977869rm -f conftest.$ac_objext
    6898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6899   (eval $ac_compile) 2>conftest.er1
     7870if { (ac_try="$ac_compile"
     7871case "(($ac_try" in
     7872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7873  *) ac_try_echo=$ac_try;;
     7874esac
     7875eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7876$as_echo "$ac_try_echo") >&5
     7877  (eval "$ac_compile") 2>conftest.er1
    69007878  ac_status=$?
    69017879  grep -v '^ *+' conftest.er1 >conftest.err
    69027880  rm -f conftest.er1
    69037881  cat conftest.err >&5
    6904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6905   (exit $ac_status); } &&
    6906      { ac_try='test -z "$ac_cxx_werror_flag"
    6907              || test ! -s conftest.err'
    6908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6909   (eval $ac_try) 2>&5
    6910   ac_status=$?
    6911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6912   (exit $ac_status); }; } &&
    6913      { ac_try='test -s conftest.$ac_objext'
    6914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6915   (eval $ac_try) 2>&5
    6916   ac_status=$?
    6917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6918   (exit $ac_status); }; }; then
     7882  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7883  (exit $ac_status); } && {
     7884     test -z "$ac_cxx_werror_flag" ||
     7885     test ! -s conftest.err
     7886       } && test -s conftest.$ac_objext; then
    69197887  success=yes
    69207888else
    6921   echo "$as_me: failed program was:" >&5
     7889  $as_echo "$as_me: failed program was:" >&5
    69227890sed 's/^/| /' conftest.$ac_ext >&5
    69237891
    6924 fi
    6925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7892
     7893fi
     7894
     7895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    69267896
    69277897if test $success = "no"; then
     
    69437913_ACEOF
    69447914rm -f conftest.$ac_objext
    6945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6946   (eval $ac_compile) 2>conftest.er1
     7915if { (ac_try="$ac_compile"
     7916case "(($ac_try" in
     7917  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7918  *) ac_try_echo=$ac_try;;
     7919esac
     7920eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7921$as_echo "$ac_try_echo") >&5
     7922  (eval "$ac_compile") 2>conftest.er1
    69477923  ac_status=$?
    69487924  grep -v '^ *+' conftest.er1 >conftest.err
    69497925  rm -f conftest.er1
    69507926  cat conftest.err >&5
    6951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6952   (exit $ac_status); } &&
    6953      { ac_try='test -z "$ac_cxx_werror_flag"
    6954              || test ! -s conftest.err'
    6955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6956   (eval $ac_try) 2>&5
    6957   ac_status=$?
    6958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6959   (exit $ac_status); }; } &&
    6960      { ac_try='test -s conftest.$ac_objext'
    6961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6962   (eval $ac_try) 2>&5
    6963   ac_status=$?
    6964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6965   (exit $ac_status); }; }; then
     7927  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7928  (exit $ac_status); } && {
     7929     test -z "$ac_cxx_werror_flag" ||
     7930     test ! -s conftest.err
     7931       } && test -s conftest.$ac_objext; then
    69667932  success="yes"
    69677933else
    6968   echo "$as_me: failed program was:" >&5
     7934  $as_echo "$as_me: failed program was:" >&5
    69697935sed 's/^/| /' conftest.$ac_ext >&5
    69707936
    6971 fi
    6972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7937
     7938fi
     7939
     7940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    69737941fi
    69747942
     
    69917959_ACEOF
    69927960rm -f conftest.$ac_objext
    6993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6994   (eval $ac_compile) 2>conftest.er1
     7961if { (ac_try="$ac_compile"
     7962case "(($ac_try" in
     7963  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7964  *) ac_try_echo=$ac_try;;
     7965esac
     7966eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7967$as_echo "$ac_try_echo") >&5
     7968  (eval "$ac_compile") 2>conftest.er1
    69957969  ac_status=$?
    69967970  grep -v '^ *+' conftest.er1 >conftest.err
    69977971  rm -f conftest.er1
    69987972  cat conftest.err >&5
    6999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7000   (exit $ac_status); } &&
    7001      { ac_try='test -z "$ac_cxx_werror_flag"
    7002              || test ! -s conftest.err'
    7003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7004   (eval $ac_try) 2>&5
    7005   ac_status=$?
    7006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7007   (exit $ac_status); }; } &&
    7008      { ac_try='test -s conftest.$ac_objext'
    7009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7010   (eval $ac_try) 2>&5
    7011   ac_status=$?
    7012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7013   (exit $ac_status); }; }; then
     7973  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7974  (exit $ac_status); } && {
     7975     test -z "$ac_cxx_werror_flag" ||
     7976     test ! -s conftest.err
     7977       } && test -s conftest.$ac_objext; then
    70147978  success="yes"
    70157979else
    7016   echo "$as_me: failed program was:" >&5
     7980  $as_echo "$as_me: failed program was:" >&5
    70177981sed 's/^/| /' conftest.$ac_ext >&5
    70187982
    7019 fi
    7020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7983
     7984fi
     7985
     7986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70217987fi
    70227988
    70237989if test $success = yes; then
    7024 echo "$as_me:$LINENO: result: \"no\"" >&5
    7025 echo "${ECHO_T}\"no\"" >&6
    7026 else
    7027 echo "$as_me:$LINENO: result: \"yes\"" >&5
    7028 echo "${ECHO_T}\"yes\"" >&6
    7029 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
    7030 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
     7990{ $as_echo "$as_me:$LINENO: result: \"no\"" >&5
     7991$as_echo "\"no\"" >&6; }
     7992else
     7993{ $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
     7994$as_echo "\"yes\"" >&6; }
     7995{ { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
     7996$as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
    70317997   { (exit 1); exit 1; }; }
    70327998fi
     
    70418007
    70428008# check for endianness
    7043 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    7044 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
     8009
     8010 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     8011$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    70458012if test "${ac_cv_c_bigendian+set}" = set; then
    7046   echo $ECHO_N "(cached) $ECHO_C" >&6
    7047 else
    7048   # See if sys/param.h defines the BYTE_ORDER macro.
    7049 cat >conftest.$ac_ext <<_ACEOF
     8013  $as_echo_n "(cached) " >&6
     8014else
     8015  ac_cv_c_bigendian=unknown
     8016    # See if we're dealing with a universal compiler.
     8017    cat >conftest.$ac_ext <<_ACEOF
     8018/* confdefs.h.  */
     8019_ACEOF
     8020cat confdefs.h >>conftest.$ac_ext
     8021cat >>conftest.$ac_ext <<_ACEOF
     8022/* end confdefs.h.  */
     8023#ifndef __APPLE_CC__
     8024           not a universal capable compiler
     8025         #endif
     8026         typedef int dummy;
     8027
     8028_ACEOF
     8029rm -f conftest.$ac_objext
     8030if { (ac_try="$ac_compile"
     8031case "(($ac_try" in
     8032  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8033  *) ac_try_echo=$ac_try;;
     8034esac
     8035eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8036$as_echo "$ac_try_echo") >&5
     8037  (eval "$ac_compile") 2>conftest.er1
     8038  ac_status=$?
     8039  grep -v '^ *+' conftest.er1 >conftest.err
     8040  rm -f conftest.er1
     8041  cat conftest.err >&5
     8042  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8043  (exit $ac_status); } && {
     8044     test -z "$ac_cxx_werror_flag" ||
     8045     test ! -s conftest.err
     8046       } && test -s conftest.$ac_objext; then
     8047
     8048    # Check for potential -arch flags.  It is not universal unless
     8049    # there are some -arch flags.  Note that *ppc* also matches
     8050    # ppc64.  This check is also rather less than ideal.
     8051    case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
     8052      *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
     8053    esac
     8054else
     8055  $as_echo "$as_me: failed program was:" >&5
     8056sed 's/^/| /' conftest.$ac_ext >&5
     8057
     8058
     8059fi
     8060
     8061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8062    if test $ac_cv_c_bigendian = unknown; then
     8063      # See if sys/param.h defines the BYTE_ORDER macro.
     8064      cat >conftest.$ac_ext <<_ACEOF
    70508065/* confdefs.h.  */
    70518066_ACEOF
     
    70548069/* end confdefs.h.  */
    70558070#include <sys/types.h>
    7056 #include <sys/param.h>
     8071         #include <sys/param.h>
    70578072
    70588073int
    70598074main ()
    70608075{
    7061 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    7062  bogus endian macros
    7063 #endif
     8076#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     8077             && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     8078             && LITTLE_ENDIAN)
     8079          bogus endian macros
     8080         #endif
    70648081
    70658082  ;
     
    70688085_ACEOF
    70698086rm -f conftest.$ac_objext
    7070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7071   (eval $ac_compile) 2>conftest.er1
     8087if { (ac_try="$ac_compile"
     8088case "(($ac_try" in
     8089  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8090  *) ac_try_echo=$ac_try;;
     8091esac
     8092eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8093$as_echo "$ac_try_echo") >&5
     8094  (eval "$ac_compile") 2>conftest.er1
    70728095  ac_status=$?
    70738096  grep -v '^ *+' conftest.er1 >conftest.err
    70748097  rm -f conftest.er1
    70758098  cat conftest.err >&5
    7076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7077   (exit $ac_status); } &&
    7078      { ac_try='test -z "$ac_cxx_werror_flag"
    7079              || test ! -s conftest.err'
    7080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7081   (eval $ac_try) 2>&5
    7082   ac_status=$?
    7083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7084   (exit $ac_status); }; } &&
    7085      { ac_try='test -s conftest.$ac_objext'
    7086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7087   (eval $ac_try) 2>&5
    7088   ac_status=$?
    7089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7090   (exit $ac_status); }; }; then
     8099  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8100  (exit $ac_status); } && {
     8101     test -z "$ac_cxx_werror_flag" ||
     8102     test ! -s conftest.err
     8103       } && test -s conftest.$ac_objext; then
    70918104  # It does; now see whether it defined to BIG_ENDIAN or not.
    7092 cat >conftest.$ac_ext <<_ACEOF
     8105     cat >conftest.$ac_ext <<_ACEOF
    70938106/* confdefs.h.  */
    70948107_ACEOF
     
    70978110/* end confdefs.h.  */
    70988111#include <sys/types.h>
    7099 #include <sys/param.h>
     8112        #include <sys/param.h>
    71008113
    71018114int
     
    71038116{
    71048117#if BYTE_ORDER != BIG_ENDIAN
    7105  not big endian
    7106 #endif
     8118        not big endian
     8119        #endif
    71078120
    71088121  ;
     
    71118124_ACEOF
    71128125rm -f conftest.$ac_objext
    7113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7114   (eval $ac_compile) 2>conftest.er1
     8126if { (ac_try="$ac_compile"
     8127case "(($ac_try" in
     8128  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8129  *) ac_try_echo=$ac_try;;
     8130esac
     8131eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8132$as_echo "$ac_try_echo") >&5
     8133  (eval "$ac_compile") 2>conftest.er1
    71158134  ac_status=$?
    71168135  grep -v '^ *+' conftest.er1 >conftest.err
    71178136  rm -f conftest.er1
    71188137  cat conftest.err >&5
    7119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7120   (exit $ac_status); } &&
    7121      { ac_try='test -z "$ac_cxx_werror_flag"
    7122              || test ! -s conftest.err'
    7123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7124   (eval $ac_try) 2>&5
    7125   ac_status=$?
    7126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7127   (exit $ac_status); }; } &&
    7128      { ac_try='test -s conftest.$ac_objext'
    7129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7130   (eval $ac_try) 2>&5
    7131   ac_status=$?
    7132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7133   (exit $ac_status); }; }; then
     8138  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8139  (exit $ac_status); } && {
     8140     test -z "$ac_cxx_werror_flag" ||
     8141     test ! -s conftest.err
     8142       } && test -s conftest.$ac_objext; then
    71348143  ac_cv_c_bigendian=yes
    71358144else
    7136   echo "$as_me: failed program was:" >&5
     8145  $as_echo "$as_me: failed program was:" >&5
    71378146sed 's/^/| /' conftest.$ac_ext >&5
    71388147
    7139 ac_cv_c_bigendian=no
    7140 fi
    7141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7142 else
    7143   echo "$as_me: failed program was:" >&5
     8148    ac_cv_c_bigendian=no
     8149fi
     8150
     8151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8152else
     8153  $as_echo "$as_me: failed program was:" >&5
    71448154sed 's/^/| /' conftest.$ac_ext >&5
    71458155
    7146 # It does not; compile a test program.
    7147 if test "$cross_compiling" = yes; then
    7148   # try to guess the endianness by grepping values into an object file
    7149   ac_cv_c_bigendian=unknown
    7150   cat >conftest.$ac_ext <<_ACEOF
     8156
     8157fi
     8158
     8159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8160    fi
     8161    if test $ac_cv_c_bigendian = unknown; then
     8162      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     8163      cat >conftest.$ac_ext <<_ACEOF
    71518164/* confdefs.h.  */
    71528165_ACEOF
     
    71548167cat >>conftest.$ac_ext <<_ACEOF
    71558168/* end confdefs.h.  */
    7156 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    7157 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    7158 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    7159 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    7160 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    7161 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
     8169#include <limits.h>
     8170
    71628171int
    71638172main ()
    71648173{
    7165  _ascii (); _ebcdic ();
     8174#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     8175          bogus endian macros
     8176         #endif
     8177
    71668178  ;
    71678179  return 0;
     
    71698181_ACEOF
    71708182rm -f conftest.$ac_objext
    7171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7172   (eval $ac_compile) 2>conftest.er1
     8183if { (ac_try="$ac_compile"
     8184case "(($ac_try" in
     8185  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8186  *) ac_try_echo=$ac_try;;
     8187esac
     8188eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8189$as_echo "$ac_try_echo") >&5
     8190  (eval "$ac_compile") 2>conftest.er1
    71738191  ac_status=$?
    71748192  grep -v '^ *+' conftest.er1 >conftest.err
    71758193  rm -f conftest.er1
    71768194  cat conftest.err >&5
    7177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7178   (exit $ac_status); } &&
    7179      { ac_try='test -z "$ac_cxx_werror_flag"
    7180              || test ! -s conftest.err'
    7181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7182   (eval $ac_try) 2>&5
    7183   ac_status=$?
    7184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7185   (exit $ac_status); }; } &&
    7186      { ac_try='test -s conftest.$ac_objext'
    7187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7188   (eval $ac_try) 2>&5
    7189   ac_status=$?
    7190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7191   (exit $ac_status); }; }; then
    7192   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    7193   ac_cv_c_bigendian=yes
    7194 fi
    7195 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    7196   if test "$ac_cv_c_bigendian" = unknown; then
    7197     ac_cv_c_bigendian=no
    7198   else
    7199     # finding both strings is unlikely to happen, but who knows?
    7200     ac_cv_c_bigendian=unknown
    7201   fi
    7202 fi
    7203 else
    7204   echo "$as_me: failed program was:" >&5
    7205 sed 's/^/| /' conftest.$ac_ext >&5
    7206 
    7207 fi
    7208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7209 else
    7210   cat >conftest.$ac_ext <<_ACEOF
     8195  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8196  (exit $ac_status); } && {
     8197     test -z "$ac_cxx_werror_flag" ||
     8198     test ! -s conftest.err
     8199       } && test -s conftest.$ac_objext; then
     8200  # It does; now see whether it defined to _BIG_ENDIAN or not.
     8201     cat >conftest.$ac_ext <<_ACEOF
    72118202/* confdefs.h.  */
    72128203_ACEOF
     
    72148205cat >>conftest.$ac_ext <<_ACEOF
    72158206/* end confdefs.h.  */
     8207#include <limits.h>
     8208
    72168209int
    72178210main ()
    72188211{
    7219   /* Are we little or big endian?  From Harbison&Steele.  */
    7220   union
    7221   {
    7222     long l;
    7223     char c[sizeof (long)];
    7224   } u;
    7225   u.l = 1;
    7226   exit (u.c[sizeof (long) - 1] == 1);
     8212#ifndef _BIG_ENDIAN
     8213         not big endian
     8214        #endif
     8215
     8216  ;
     8217  return 0;
    72278218}
    72288219_ACEOF
     8220rm -f conftest.$ac_objext
     8221if { (ac_try="$ac_compile"
     8222case "(($ac_try" in
     8223  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8224  *) ac_try_echo=$ac_try;;
     8225esac
     8226eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8227$as_echo "$ac_try_echo") >&5
     8228  (eval "$ac_compile") 2>conftest.er1
     8229  ac_status=$?
     8230  grep -v '^ *+' conftest.er1 >conftest.err
     8231  rm -f conftest.er1
     8232  cat conftest.err >&5
     8233  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8234  (exit $ac_status); } && {
     8235     test -z "$ac_cxx_werror_flag" ||
     8236     test ! -s conftest.err
     8237       } && test -s conftest.$ac_objext; then
     8238  ac_cv_c_bigendian=yes
     8239else
     8240  $as_echo "$as_me: failed program was:" >&5
     8241sed 's/^/| /' conftest.$ac_ext >&5
     8242
     8243    ac_cv_c_bigendian=no
     8244fi
     8245
     8246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8247else
     8248  $as_echo "$as_me: failed program was:" >&5
     8249sed 's/^/| /' conftest.$ac_ext >&5
     8250
     8251
     8252fi
     8253
     8254rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8255    fi
     8256    if test $ac_cv_c_bigendian = unknown; then
     8257      # Compile a test program.
     8258      if test "$cross_compiling" = yes; then
     8259  # Try to guess by grepping values from an object file.
     8260     cat >conftest.$ac_ext <<_ACEOF
     8261/* confdefs.h.  */
     8262_ACEOF
     8263cat confdefs.h >>conftest.$ac_ext
     8264cat >>conftest.$ac_ext <<_ACEOF
     8265/* end confdefs.h.  */
     8266short int ascii_mm[] =
     8267          { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     8268        short int ascii_ii[] =
     8269          { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     8270        int use_ascii (int i) {
     8271          return ascii_mm[i] + ascii_ii[i];
     8272        }
     8273        short int ebcdic_ii[] =
     8274          { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     8275        short int ebcdic_mm[] =
     8276          { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     8277        int use_ebcdic (int i) {
     8278          return ebcdic_mm[i] + ebcdic_ii[i];
     8279        }
     8280        extern int foo;
     8281
     8282int
     8283main ()
     8284{
     8285return use_ascii (foo) == use_ebcdic (foo);
     8286  ;
     8287  return 0;
     8288}
     8289_ACEOF
     8290rm -f conftest.$ac_objext
     8291if { (ac_try="$ac_compile"
     8292case "(($ac_try" in
     8293  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8294  *) ac_try_echo=$ac_try;;
     8295esac
     8296eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8297$as_echo "$ac_try_echo") >&5
     8298  (eval "$ac_compile") 2>conftest.er1
     8299  ac_status=$?
     8300  grep -v '^ *+' conftest.er1 >conftest.err
     8301  rm -f conftest.er1
     8302  cat conftest.err >&5
     8303  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8304  (exit $ac_status); } && {
     8305     test -z "$ac_cxx_werror_flag" ||
     8306     test ! -s conftest.err
     8307       } && test -s conftest.$ac_objext; then
     8308  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     8309          ac_cv_c_bigendian=yes
     8310        fi
     8311        if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     8312          if test "$ac_cv_c_bigendian" = unknown; then
     8313        ac_cv_c_bigendian=no
     8314          else
     8315        # finding both strings is unlikely to happen, but who knows?
     8316        ac_cv_c_bigendian=unknown
     8317          fi
     8318        fi
     8319else
     8320  $as_echo "$as_me: failed program was:" >&5
     8321sed 's/^/| /' conftest.$ac_ext >&5
     8322
     8323
     8324fi
     8325
     8326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8327else
     8328  cat >conftest.$ac_ext <<_ACEOF
     8329/* confdefs.h.  */
     8330_ACEOF
     8331cat confdefs.h >>conftest.$ac_ext
     8332cat >>conftest.$ac_ext <<_ACEOF
     8333/* end confdefs.h.  */
     8334$ac_includes_default
     8335int
     8336main ()
     8337{
     8338
     8339         /* Are we little or big endian?  From Harbison&Steele.  */
     8340         union
     8341         {
     8342           long int l;
     8343           char c[sizeof (long int)];
     8344         } u;
     8345         u.l = 1;
     8346         return u.c[sizeof (long int) - 1] == 1;
     8347
     8348  ;
     8349  return 0;
     8350}
     8351_ACEOF
    72298352rm -f conftest$ac_exeext
    7230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7231   (eval $ac_link) 2>&5
     8353if { (ac_try="$ac_link"
     8354case "(($ac_try" in
     8355  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8356  *) ac_try_echo=$ac_try;;
     8357esac
     8358eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8359$as_echo "$ac_try_echo") >&5
     8360  (eval "$ac_link") 2>&5
    72328361  ac_status=$?
    7233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8362  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    72348363  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7236   (eval $ac_try) 2>&5
     8364  { (case "(($ac_try" in
     8365  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8366  *) ac_try_echo=$ac_try;;
     8367esac
     8368eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8369$as_echo "$ac_try_echo") >&5
     8370  (eval "$ac_try") 2>&5
    72378371  ac_status=$?
    7238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8372  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    72398373  (exit $ac_status); }; }; then
    72408374  ac_cv_c_bigendian=no
    72418375else
    7242   echo "$as_me: program exited with status $ac_status" >&5
    7243 echo "$as_me: failed program was:" >&5
     8376  $as_echo "$as_me: program exited with status $ac_status" >&5
     8377$as_echo "$as_me: failed program was:" >&5
    72448378sed 's/^/| /' conftest.$ac_ext >&5
    72458379
     
    72478381ac_cv_c_bigendian=yes
    72488382fi
    7249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7250 fi
    7251 fi
    7252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7253 fi
    7254 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    7255 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
    7256 case $ac_cv_c_bigendian in
    7257   yes)
     8383rm -rf conftest.dSYM
     8384rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     8385fi
     8386
     8387
     8388    fi
     8389fi
     8390{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     8391$as_echo "$ac_cv_c_bigendian" >&6; }
     8392 case $ac_cv_c_bigendian in #(
     8393   yes)
     8394     cat >>confdefs.h <<\_ACEOF
     8395#define WORDS_BIGENDIAN 1
     8396_ACEOF
     8397;; #(
     8398   no)
     8399      ;; #(
     8400   universal)
    72588401
    72598402cat >>confdefs.h <<\_ACEOF
    7260 #define WORDS_BIGENDIAN 1
    7261 _ACEOF
    7262  ;;
    7263   no)
    7264      ;;
    7265   *)
    7266     { { echo "$as_me:$LINENO: error: unknown endianness
    7267 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    7268 echo "$as_me: error: unknown endianness
    7269 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     8403#define AC_APPLE_UNIVERSAL_BUILD 1
     8404_ACEOF
     8405
     8406     ;; #(
     8407   *)
     8408     { { $as_echo "$as_me:$LINENO: error: unknown endianness
     8409 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     8410$as_echo "$as_me: error: unknown endianness
     8411 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    72708412   { (exit 1); exit 1; }; } ;;
    7271 esac
     8413 esac
    72728414
    72738415# ---------------------------------------------------------------------------
    72748416if test "$ac_cv_func_alloca" = 'no'; then
    7275   case $LIBOBJS in
    7276     "xmalloc.o.$ac_objext"   | \
    7277   *" xmalloc.o.$ac_objext"   | \
    7278     "xmalloc.o.$ac_objext "* | \
     8417  case " $LIBOBJS " in
    72798418  *" xmalloc.o.$ac_objext "* ) ;;
    7280   *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
    7281 esac
    7282 
    7283   case $LIBOBJS in
    7284     "error.$ac_objext"   | \
    7285   *" error.$ac_objext"   | \
    7286     "error.$ac_objext "* | \
     8419  *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
     8420 ;;
     8421esac
     8422
     8423  case " $LIBOBJS " in
    72878424  *" error.$ac_objext "* ) ;;
    7288   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     8425  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     8426 ;;
    72898427esac
    72908428
     
    73198457subdirs="$subdirs common-src"
    73208458
    7321 
    7322 
    73238459subdirs="$subdirs build-src"
    73248460
     
    73298465
    73308466if test -d runtime-src; then
    7331 
    7332 
    7333 subdirs="$subdirs runtime-src"
     8467   subdirs="$subdirs runtime-src"
    73348468
    73358469   srclist="$srclist \
     
    73378471fi
    73388472
    7339                               ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
     8473ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
     8474
    73408475cat >confcache <<\_ACEOF
    73418476# This file is a shell script that caches the results of configure
     
    73568491# The following way of writing the cache mishandles newlines in values,
    73578492# but we know of no workaround that is simple, portable, and efficient.
    7358 # So, don't put newlines in cache variables' values.
     8493# So, we kill variables containing newlines.
    73598494# Ultrix sh set writes to stderr and can't be redirected directly,
    73608495# and sets the high bit in the cache file unless we assign to the vars.
    7361 {
     8496(
     8497  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     8498    eval ac_val=\$$ac_var
     8499    case $ac_val in #(
     8500    *${as_nl}*)
     8501      case $ac_var in #(
     8502      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     8503$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     8504      esac
     8505      case $ac_var in #(
     8506      _ | IFS | as_nl) ;; #(
     8507      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     8508      *) $as_unset $ac_var ;;
     8509      esac ;;
     8510    esac
     8511  done
     8512
    73628513  (set) 2>&1 |
    7363     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    7364     *ac_space=\ *)
     8514    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     8515    *${as_nl}ac_space=\ *)
    73658516      # `set' does not quote correctly, so add quotes (double-quote
    73668517      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    73688519    "s/'/'\\\\''/g;
    73698520      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    7370       ;;
     8521      ;; #(
    73718522    *)
    73728523      # `set' quotes correctly as required by POSIX, so do not add quotes.
    7373       sed -n \
    7374     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     8524      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    73758525      ;;
    7376     esac;
    7377 } |
     8526    esac |
     8527    sort
     8528) |
    73788529  sed '
     8530     /^ac_cv_env_/b end
    73798531     t clear
    7380      : clear
     8532     :clear
    73818533     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    73828534     t end
    7383      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    7384      : end' >>confcache
    7385 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    7386   if test -w $cache_file; then
    7387     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     8535     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     8536     :end' >>confcache
     8537if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     8538  if test -w "$cache_file"; then
     8539    test "x$cache_file" != "x/dev/null" &&
     8540      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     8541$as_echo "$as_me: updating cache $cache_file" >&6;}
    73888542    cat confcache >$cache_file
    73898543  else
    7390     echo "not updating unwritable cache $cache_file"
     8544    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     8545$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    73918546  fi
    73928547fi
     
    73968551# Let make expand exec_prefix.
    73978552test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    7398 
    7399 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    7400 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    7401 # trailing colons and then remove the whole line if VPATH becomes empty
    7402 # (actually we leave an empty line to preserve line numbers).
    7403 if test "x$srcdir" = x.; then
    7404   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    7405 s/:*\$(srcdir):*/:/;
    7406 s/:*\${srcdir}:*/:/;
    7407 s/:*@srcdir@:*/:/;
    7408 s/^\([^=]*=[     ]*\):*/\1/;
    7409 s/:*$//;
    7410 s/^[^=]*=[   ]*$//;
    7411 }'
    7412 fi
    74138553
    74148554DEFS=-DHAVE_CONFIG_H
     
    74188558for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    74198559  # 1. Remove the extension, and $U if already installed.
    7420   ac_i=`echo "$ac_i" |
    7421      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    7422   # 2. Add them.
    7423   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    7424   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     8560  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     8561  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
     8562  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     8563  #    will be set to the directory where LIBOBJS objects are built.
     8564  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     8565  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    74258566done
    74268567LIBOBJS=$ac_libobjs
     
    74308571
    74318572
     8573
    74328574: ${CONFIG_STATUS=./config.status}
     8575ac_write_fail=0
    74338576ac_clean_files_save=$ac_clean_files
    74348577ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    7435 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    7436 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    7437 cat >$CONFIG_STATUS <<_ACEOF
     8578{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     8579$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     8580cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    74388581#! $SHELL
    74398582# Generated by $as_me.
     
    74488591_ACEOF
    74498592
    7450 cat >>$CONFIG_STATUS <<\_ACEOF
     8593cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    74518594## --------------------- ##
    74528595## M4sh Initialization.  ##
    74538596## --------------------- ##
    74548597
    7455 # Be Bourne compatible
     8598# Be more Bourne compatible
     8599DUALCASE=1; export DUALCASE # for MKS sh
    74568600if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    74578601  emulate sh
    74588602  NULLCMD=:
    7459   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     8603  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    74608604  # is contrary to our usage.  Disable this feature.
    74618605  alias -g '${1+"$@"}'='"$@"'
    7462 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    7463   set -o posix
    7464 fi
    7465 DUALCASE=1; export DUALCASE # for MKS sh
    7466 
    7467 # Support unset when possible.
    7468 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    7469   as_unset=unset
    7470 else
    7471   as_unset=false
    7472 fi
    7473 
    7474 
    7475 # Work around bugs in pre-3.0 UWIN ksh.
    7476 $as_unset ENV MAIL MAILPATH
    7477 PS1='$ '
    7478 PS2='> '
    7479 PS4='+ '
    7480 
    7481 # NLS nuisances.
    7482 for as_var in \
    7483   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    7484   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    7485   LC_TELEPHONE LC_TIME
    7486 do
    7487   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    7488     eval $as_var=C; export $as_var
    7489   else
    7490     $as_unset $as_var
    7491   fi
    7492 done
    7493 
    7494 # Required to use basename.
    7495 if expr a : '\(a\)' >/dev/null 2>&1; then
    7496   as_expr=expr
    7497 else
    7498   as_expr=false
    7499 fi
    7500 
    7501 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    7502   as_basename=basename
    7503 else
    7504   as_basename=false
    7505 fi
    7506 
    7507 
    7508 # Name of the executable.
    7509 as_me=`$as_basename "$0" ||
    7510 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    7511      X"$0" : 'X\(//\)$' \| \
    7512      X"$0" : 'X\(/\)$' \| \
    7513      .     : '\(.\)' 2>/dev/null ||
    7514 echo X/"$0" |
    7515     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    7516       /^X\/\(\/\/\)$/{ s//\1/; q; }
    7517       /^X\/\(\/\).*/{ s//\1/; q; }
    7518       s/.*/./; q'`
    7519 
    7520 
    7521 # PATH needs CR, and LINENO needs CR and PATH.
     8606  setopt NO_GLOB_SUBST
     8607else
     8608  case `(set -o) 2>/dev/null` in
     8609  *posix*) set -o posix ;;
     8610esac
     8611
     8612fi
     8613
     8614
     8615
     8616
     8617# PATH needs CR
    75228618# Avoid depending upon Character Ranges.
    75238619as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    75278623as_cr_alnum=$as_cr_Letters$as_cr_digits
    75288624
     8625as_nl='
     8626'
     8627export as_nl
     8628# Printing a long string crashes Solaris 7 /usr/bin/printf.
     8629as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     8630as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     8631as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     8632if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     8633  as_echo='printf %s\n'
     8634  as_echo_n='printf %s'
     8635else
     8636  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     8637    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     8638    as_echo_n='/usr/ucb/echo -n'
     8639  else
     8640    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     8641    as_echo_n_body='eval
     8642      arg=$1;
     8643      case $arg in
     8644      *"$as_nl"*)
     8645    expr "X$arg" : "X\\(.*\\)$as_nl";
     8646    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     8647      esac;
     8648      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     8649    '
     8650    export as_echo_n_body
     8651    as_echo_n='sh -c $as_echo_n_body as_echo'
     8652  fi
     8653  export as_echo_body
     8654  as_echo='sh -c $as_echo_body as_echo'
     8655fi
     8656
    75298657# The user is always right.
    75308658if test "${PATH_SEPARATOR+set}" != set; then
    7531   echo "#! /bin/sh" >conf$$.sh
    7532   echo  "exit 0"   >>conf$$.sh
    7533   chmod +x conf$$.sh
    7534   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    7535     PATH_SEPARATOR=';'
    7536   else
    7537     PATH_SEPARATOR=:
    7538   fi
    7539   rm -f conf$$.sh
    7540 fi
    7541 
    7542 
    7543   as_lineno_1=$LINENO
    7544   as_lineno_2=$LINENO
    7545   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    7546   test "x$as_lineno_1" != "x$as_lineno_2" &&
    7547   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    7548   # Find who we are.  Look in the path if we contain no path at all
    7549   # relative or not.
    7550   case $0 in
    7551     *[\\/]* ) as_myself=$0 ;;
    7552     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8659  PATH_SEPARATOR=:
     8660  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     8661    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     8662      PATH_SEPARATOR=';'
     8663  }
     8664fi
     8665
     8666# Support unset when possible.
     8667if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     8668  as_unset=unset
     8669else
     8670  as_unset=false
     8671fi
     8672
     8673
     8674# IFS
     8675# We need space, tab and new line, in precisely that order.  Quoting is
     8676# there to prevent editors from complaining about space-tab.
     8677# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     8678# splitting by setting IFS to empty value.)
     8679IFS=" ""    $as_nl"
     8680
     8681# Find who we are.  Look in the path if we contain no directory separator.
     8682case $0 in
     8683  *[\\/]* ) as_myself=$0 ;;
     8684  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    75538685for as_dir in $PATH
    75548686do
     
    75578689  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    75588690done
    7559 
    7560        ;;
    7561   esac
    7562   # We did not find ourselves, most probably we were run as `sh COMMAND'
    7563   # in which case we are not to be found in the path.
    7564   if test "x$as_myself" = x; then
    7565     as_myself=$0
    7566   fi
    7567   if test ! -f "$as_myself"; then
    7568     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    7569 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    7570    { (exit 1); exit 1; }; }
    7571   fi
    7572   case $CONFIG_SHELL in
    7573   '')
    7574     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7575 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    7576 do
    7577   IFS=$as_save_IFS
    7578   test -z "$as_dir" && as_dir=.
    7579   for as_base in sh bash ksh sh5; do
    7580      case $as_dir in
    7581      /*)
    7582        if ("$as_dir/$as_base" -c '
     8691IFS=$as_save_IFS
     8692
     8693     ;;
     8694esac
     8695# We did not find ourselves, most probably we were run as `sh COMMAND'
     8696# in which case we are not to be found in the path.
     8697if test "x$as_myself" = x; then
     8698  as_myself=$0
     8699fi
     8700if test ! -f "$as_myself"; then
     8701  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     8702  { (exit 1); exit 1; }
     8703fi
     8704
     8705# Work around bugs in pre-3.0 UWIN ksh.
     8706for as_var in ENV MAIL MAILPATH
     8707do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     8708done
     8709PS1='$ '
     8710PS2='> '
     8711PS4='+ '
     8712
     8713# NLS nuisances.
     8714LC_ALL=C
     8715export LC_ALL
     8716LANGUAGE=C
     8717export LANGUAGE
     8718
     8719# Required to use basename.
     8720if expr a : '\(a\)' >/dev/null 2>&1 &&
     8721   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     8722  as_expr=expr
     8723else
     8724  as_expr=false
     8725fi
     8726
     8727if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     8728  as_basename=basename
     8729else
     8730  as_basename=false
     8731fi
     8732
     8733
     8734# Name of the executable.
     8735as_me=`$as_basename -- "$0" ||
     8736$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     8737     X"$0" : 'X\(//\)$' \| \
     8738     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     8739$as_echo X/"$0" |
     8740    sed '/^.*\/\([^/][^/]*\)\/*$/{
     8741        s//\1/
     8742        q
     8743      }
     8744      /^X\/\(\/\/\)$/{
     8745        s//\1/
     8746        q
     8747      }
     8748      /^X\/\(\/\).*/{
     8749        s//\1/
     8750        q
     8751      }
     8752      s/.*/./; q'`
     8753
     8754# CDPATH.
     8755$as_unset CDPATH
     8756
     8757
     8758
    75838759  as_lineno_1=$LINENO
    75848760  as_lineno_2=$LINENO
    7585   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    75868761  test "x$as_lineno_1" != "x$as_lineno_2" &&
    7587   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    7588          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    7589          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    7590          CONFIG_SHELL=$as_dir/$as_base
    7591          export CONFIG_SHELL
    7592          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    7593        fi;;
    7594      esac
    7595        done
    7596 done
    7597 ;;
    7598   esac
     8762  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    75998763
    76008764  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    76018765  # uniformly replaced by the line number.  The first 'sed' inserts a
    7602   # line-number line before each line; the second 'sed' does the real
    7603   # work.  The second script uses 'N' to pair each line-number line
    7604   # with the numbered line, and appends trailing '-' during
    7605   # substitution so that $LINENO is not a special case at line end.
     8766  # line-number line after each line using $LINENO; the second 'sed'
     8767  # does the real work.  The second script uses 'N' to pair each
     8768  # line-number line with the line containing $LINENO, and appends
     8769  # trailing '-' during substitution so that $LINENO is not a special
     8770  # case at line end.
    76068771  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    7607   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    7608   sed '=' <$as_myself |
     8772  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     8773  # E. McMahon (1931-1989) for sed's syntax.  :-)
     8774  sed -n '
     8775    p
     8776    /[$]LINENO/=
     8777  ' <$as_myself |
    76098778    sed '
     8779      s/[$]LINENO.*/&-/
     8780      t lineno
     8781      b
     8782      :lineno
    76108783      N
    7611       s,$,-,
    7612       : loop
    7613       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     8784      :loop
     8785      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    76148786      t loop
    7615       s,-$,,
    7616       s,^['$as_cr_digits']*\n,,
     8787      s/-\n.*//
    76178788    ' >$as_me.lineno &&
    7618   chmod +x $as_me.lineno ||
    7619     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    7620 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     8789  chmod +x "$as_me.lineno" ||
     8790    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    76218791   { (exit 1); exit 1; }; }
    76228792
    76238793  # Don't try to exec as it changes $[0], causing all sort of problems
    76248794  # (the dirname of $[0] is not the place where we might find the
    7625   # original and so on.  Autoconf is especially sensible to this).
    7626   . ./$as_me.lineno
     8795  # original and so on.  Autoconf is especially sensitive to this).
     8796  . "./$as_me.lineno"
    76278797  # Exit status is that of the last command.
    76288798  exit
     
    76308800
    76318801
    7632 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    7633   *c*,-n*) ECHO_N= ECHO_C='
    7634 ' ECHO_T='  ' ;;
    7635   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    7636   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    7637 esac
    7638 
    7639 if expr a : '\(a\)' >/dev/null 2>&1; then
     8802if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     8803  as_dirname=dirname
     8804else
     8805  as_dirname=false
     8806fi
     8807
     8808ECHO_C= ECHO_N= ECHO_T=
     8809case `echo -n x` in
     8810-n*)
     8811  case `echo 'x\c'` in
     8812  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     8813  *)   ECHO_C='\c';;
     8814  esac;;
     8815*)
     8816  ECHO_N='-n';;
     8817esac
     8818if expr a : '\(a\)' >/dev/null 2>&1 &&
     8819   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    76408820  as_expr=expr
    76418821else
     
    76448824
    76458825rm -f conf$$ conf$$.exe conf$$.file
    7646 echo >conf$$.file
    7647 if ln -s conf$$.file conf$$ 2>/dev/null; then
    7648   # We could just check for DJGPP; but this test a) works b) is more generic
    7649   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    7650   if test -f conf$$.exe; then
    7651     # Don't use ln at all; we don't have any links
     8826if test -d conf$$.dir; then
     8827  rm -f conf$$.dir/conf$$.file
     8828else
     8829  rm -f conf$$.dir
     8830  mkdir conf$$.dir 2>/dev/null
     8831fi
     8832if (echo >conf$$.file) 2>/dev/null; then
     8833  if ln -s conf$$.file conf$$ 2>/dev/null; then
     8834    as_ln_s='ln -s'
     8835    # ... but there are two gotchas:
     8836    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     8837    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     8838    # In both cases, we have to default to `cp -p'.
     8839    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     8840      as_ln_s='cp -p'
     8841  elif ln conf$$.file conf$$ 2>/dev/null; then
     8842    as_ln_s=ln
     8843  else
    76528844    as_ln_s='cp -p'
    7653   else
    7654     as_ln_s='ln -s'
    76558845  fi
    7656 elif ln conf$$.file conf$$ 2>/dev/null; then
    7657   as_ln_s=ln
    76588846else
    76598847  as_ln_s='cp -p'
    76608848fi
    7661 rm -f conf$$ conf$$.exe conf$$.file
     8849rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     8850rmdir conf$$.dir 2>/dev/null
    76628851
    76638852if mkdir -p . 2>/dev/null; then
     
    76688857fi
    76698858
    7670 as_executable_p="test -f"
     8859if test -x / >/dev/null 2>&1; then
     8860  as_test_x='test -x'
     8861else
     8862  if ls -dL / >/dev/null 2>&1; then
     8863    as_ls_L_option=L
     8864  else
     8865    as_ls_L_option=
     8866  fi
     8867  as_test_x='
     8868    eval sh -c '\''
     8869      if test -d "$1"; then
     8870    test -d "$1/.";
     8871      else
     8872    case $1 in
     8873    -*)set "./$1";;
     8874    esac;
     8875    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     8876    ???[sx]*):;;*)false;;esac;fi
     8877    '\'' sh
     8878  '
     8879fi
     8880as_executable_p=$as_test_x
    76718881
    76728882# Sed expression to map a string onto a valid CPP name.
     
    76778887
    76788888
    7679 # IFS
    7680 # We need space, tab and new line, in precisely that order.
    7681 as_nl='
    7682 '
    7683 IFS="   $as_nl"
    7684 
    7685 # CDPATH.
    7686 $as_unset CDPATH
    7687 
    76888889exec 6>&1
    76898890
    7690 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     8891# Save the log message, to keep $[0] and so on meaningful, and to
    76918892# report actual input values of CONFIG_FILES etc. instead of their
    7692 # values after options handling.  Logging --version etc. is OK.
     8893# values after options handling.
     8894ac_log="
     8895This file was extended by $as_me, which was
     8896generated by GNU Autoconf 2.63.  Invocation command line was
     8897
     8898  CONFIG_FILES    = $CONFIG_FILES
     8899  CONFIG_HEADERS  = $CONFIG_HEADERS
     8900  CONFIG_LINKS    = $CONFIG_LINKS
     8901  CONFIG_COMMANDS = $CONFIG_COMMANDS
     8902  $ $0 $@
     8903
     8904on `(hostname || uname -n) 2>/dev/null | sed 1q`
     8905"
     8906
     8907_ACEOF
     8908
     8909case $ac_config_files in *"
     8910"*) set x $ac_config_files; shift; ac_config_files=$*;;
     8911esac
     8912
     8913case $ac_config_headers in *"
     8914"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     8915esac
     8916
     8917
     8918cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     8919# Files that config.status was made for.
     8920config_files="$ac_config_files"
     8921config_headers="$ac_config_headers"
     8922
     8923_ACEOF
     8924
     8925cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     8926ac_cs_usage="\
     8927\`$as_me' instantiates files from templates according to the
     8928current configuration.
     8929
     8930Usage: $0 [OPTION]... [FILE]...
     8931
     8932  -h, --help       print this help, then exit
     8933  -V, --version    print version number and configuration settings, then exit
     8934  -q, --quiet, --silent
     8935                   do not print progress messages
     8936  -d, --debug      don't remove temporary files
     8937      --recheck    update $as_me by reconfiguring in the same conditions
     8938      --file=FILE[:TEMPLATE]
     8939                   instantiate the configuration file FILE
     8940      --header=FILE[:TEMPLATE]
     8941                   instantiate the configuration header FILE
     8942
     8943Configuration files:
     8944$config_files
     8945
     8946Configuration headers:
     8947$config_headers
     8948
     8949Report bugs to <[email protected]>."
     8950
     8951_ACEOF
     8952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     8953ac_cs_version="\\
     8954config.status
     8955configured by $0, generated by GNU Autoconf 2.63,
     8956  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     8957
     8958Copyright (C) 2008 Free Software Foundation, Inc.
     8959This config.status script is free software; the Free Software Foundation
     8960gives unlimited permission to copy, distribute and modify it."
     8961
     8962ac_pwd='$ac_pwd'
     8963srcdir='$srcdir'
     8964INSTALL='$INSTALL'
     8965AWK='$AWK'
     8966test -n "\$AWK" || AWK=awk
     8967_ACEOF
     8968
     8969cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     8970# The default lists apply if the user does not specify any file.
     8971ac_need_defaults=:
     8972while test $# != 0
     8973do
     8974  case $1 in
     8975  --*=*)
     8976    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     8977    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     8978    ac_shift=:
     8979    ;;
     8980  *)
     8981    ac_option=$1
     8982    ac_optarg=$2
     8983    ac_shift=shift
     8984    ;;
     8985  esac
     8986
     8987  case $ac_option in
     8988  # Handling of the options.
     8989  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     8990    ac_cs_recheck=: ;;
     8991  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     8992    $as_echo "$ac_cs_version"; exit ;;
     8993  --debug | --debu | --deb | --de | --d | -d )
     8994    debug=: ;;
     8995  --file | --fil | --fi | --f )
     8996    $ac_shift
     8997    case $ac_optarg in
     8998    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     8999    esac
     9000    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     9001    ac_need_defaults=false;;
     9002  --header | --heade | --head | --hea )
     9003    $ac_shift
     9004    case $ac_optarg in
     9005    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9006    esac
     9007    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     9008    ac_need_defaults=false;;
     9009  --he | --h)
     9010    # Conflict between --help and --header
     9011    { $as_echo "$as_me: error: ambiguous option: $1
     9012Try \`$0 --help' for more information." >&2
     9013   { (exit 1); exit 1; }; };;
     9014  --help | --hel | -h )
     9015    $as_echo "$ac_cs_usage"; exit ;;
     9016  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     9017  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     9018    ac_cs_silent=: ;;
     9019
     9020  # This is an error.
     9021  -*) { $as_echo "$as_me: error: unrecognized option: $1
     9022Try \`$0 --help' for more information." >&2
     9023   { (exit 1); exit 1; }; } ;;
     9024
     9025  *) ac_config_targets="$ac_config_targets $1"
     9026     ac_need_defaults=false ;;
     9027
     9028  esac
     9029  shift
     9030done
     9031
     9032ac_configure_extra_args=
     9033
     9034if $ac_cs_silent; then
     9035  exec 6>/dev/null
     9036  ac_configure_extra_args="$ac_configure_extra_args --silent"
     9037fi
     9038
     9039_ACEOF
     9040cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9041if \$ac_cs_recheck; then
     9042  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     9043  shift
     9044  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     9045  CONFIG_SHELL='$SHELL'
     9046  export CONFIG_SHELL
     9047  exec "\$@"
     9048fi
     9049
     9050_ACEOF
     9051cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    76939052exec 5>>config.log
    76949053{
     
    76979056## Running $as_me. ##
    76989057_ASBOX
     9058  $as_echo "$ac_log"
    76999059} >&5
    7700 cat >&5 <<_CSEOF
    7701 
    7702 This file was extended by $as_me, which was
    7703 generated by GNU Autoconf 2.59.  Invocation command line was
    7704 
    7705   CONFIG_FILES    = $CONFIG_FILES
    7706   CONFIG_HEADERS  = $CONFIG_HEADERS
    7707   CONFIG_LINKS    = $CONFIG_LINKS
    7708   CONFIG_COMMANDS = $CONFIG_COMMANDS
    7709   $ $0 $@
    7710 
    7711 _CSEOF
    7712 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    7713 echo >&5
    7714 _ACEOF
    7715 
    7716 # Files that config.status was made for.
    7717 if test -n "$ac_config_files"; then
    7718   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    7719 fi
    7720 
    7721 if test -n "$ac_config_headers"; then
    7722   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    7723 fi
    7724 
    7725 if test -n "$ac_config_links"; then
    7726   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    7727 fi
    7728 
    7729 if test -n "$ac_config_commands"; then
    7730   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    7731 fi
    7732 
    7733 cat >>$CONFIG_STATUS <<\_ACEOF
    7734 
    7735 ac_cs_usage="\
    7736 \`$as_me' instantiates files from templates according to the
    7737 current configuration.
    7738 
    7739 Usage: $0 [OPTIONS] [FILE]...
    7740 
    7741   -h, --help       print this help, then exit
    7742   -V, --version    print version number, then exit
    7743   -q, --quiet      do not print progress messages
    7744   -d, --debug      don't remove temporary files
    7745       --recheck    update $as_me by reconfiguring in the same conditions
    7746   --file=FILE[:TEMPLATE]
    7747            instantiate the configuration file FILE
    7748   --header=FILE[:TEMPLATE]
    7749            instantiate the configuration header FILE
    7750 
    7751 Configuration files:
    7752 $config_files
    7753 
    7754 Configuration headers:
    7755 $config_headers
    7756 
    7757 Report bugs to <[email protected]>."
    7758 _ACEOF
    7759 
    7760 cat >>$CONFIG_STATUS <<_ACEOF
    7761 ac_cs_version="\\
    7762 config.status
    7763 configured by $0, generated by GNU Autoconf 2.59,
    7764   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    7765 
    7766 Copyright (C) 2003 Free Software Foundation, Inc.
    7767 This config.status script is free software; the Free Software Foundation
    7768 gives unlimited permission to copy, distribute and modify it."
    7769 srcdir=$srcdir
    7770 INSTALL="$INSTALL"
    7771 _ACEOF
    7772 
    7773 cat >>$CONFIG_STATUS <<\_ACEOF
    7774 # If no file are specified by the user, then we need to provide default
    7775 # value.  By we need to know if files were specified by the user.
    7776 ac_need_defaults=:
    7777 while test $# != 0
    7778 do
    7779   case $1 in
    7780   --*=*)
    7781     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    7782     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    7783     ac_shift=:
    7784     ;;
    7785   -*)
    7786     ac_option=$1
    7787     ac_optarg=$2
    7788     ac_shift=shift
    7789     ;;
    7790   *) # This is not an option, so the user has probably given explicit
    7791      # arguments.
    7792      ac_option=$1
    7793      ac_need_defaults=false;;
    7794   esac
    7795 
    7796   case $ac_option in
    7797   # Handling of the options.
    7798 _ACEOF
    7799 cat >>$CONFIG_STATUS <<\_ACEOF
    7800   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    7801     ac_cs_recheck=: ;;
    7802   --version | --vers* | -V )
    7803     echo "$ac_cs_version"; exit 0 ;;
    7804   --he | --h)
    7805     # Conflict between --help and --header
    7806     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    7807 Try \`$0 --help' for more information." >&5
    7808 echo "$as_me: error: ambiguous option: $1
    7809 Try \`$0 --help' for more information." >&2;}
    7810    { (exit 1); exit 1; }; };;
    7811   --help | --hel | -h )
    7812     echo "$ac_cs_usage"; exit 0 ;;
    7813   --debug | --d* | -d )
    7814     debug=: ;;
    7815   --file | --fil | --fi | --f )
    7816     $ac_shift
    7817     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    7818     ac_need_defaults=false;;
    7819   --header | --heade | --head | --hea )
    7820     $ac_shift
    7821     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    7822     ac_need_defaults=false;;
    7823   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    7824   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    7825     ac_cs_silent=: ;;
    7826 
    7827   # This is an error.
    7828   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    7829 Try \`$0 --help' for more information." >&5
    7830 echo "$as_me: error: unrecognized option: $1
    7831 Try \`$0 --help' for more information." >&2;}
    7832    { (exit 1); exit 1; }; } ;;
    7833 
    7834   *) ac_config_targets="$ac_config_targets $1" ;;
    7835 
    7836   esac
    7837   shift
    7838 done
    7839 
    7840 ac_configure_extra_args=
    7841 
    7842 if $ac_cs_silent; then
    7843   exec 6>/dev/null
    7844   ac_configure_extra_args="$ac_configure_extra_args --silent"
    7845 fi
    7846 
    7847 _ACEOF
    7848 cat >>$CONFIG_STATUS <<_ACEOF
    7849 if \$ac_cs_recheck; then
    7850   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    7851   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    7852 fi
    7853 
    7854 _ACEOF
    7855 
    7856 
    7857 
    7858 
    7859 
    7860 cat >>$CONFIG_STATUS <<\_ACEOF
     9060
     9061_ACEOF
     9062cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9063_ACEOF
     9064
     9065cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9066
     9067# Handling of arguments.
    78619068for ac_config_target in $ac_config_targets
    78629069do
    7863   case "$ac_config_target" in
    7864   # Handling of arguments.
    7865   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    7866   "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    7867   "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    7868   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    7869   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    7870 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     9070  case $ac_config_target in
     9071    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     9072    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     9073    "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     9074    "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     9075
     9076  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     9077$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    78719078   { (exit 1); exit 1; }; };;
    78729079  esac
    78739080done
     9081
    78749082
    78759083# If the user did not use the arguments to specify the items to instantiate,
     
    78839091
    78849092# Have a temporary directory for convenience.  Make it in the build tree
    7885 # simply because there is no reason to put it here, and in addition,
     9093# simply because there is no reason against having it here, and in addition,
    78869094# creating and moving files from /tmp can sometimes cause problems.
    7887 # Create a temporary directory, and hook for its removal unless debugging.
     9095# Hook for its removal unless debugging.
     9096# Note that there is a small window in which the directory will not be cleaned:
     9097# after its creation but before its name has been assigned to `$tmp'.
    78889098$debug ||
    78899099{
    7890   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     9100  tmp=
     9101  trap 'exit_status=$?
     9102  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     9103' 0
    78919104  trap '{ (exit 1); exit 1; }' 1 2 13 15
    78929105}
    7893 
    78949106# Create a (secure) tmp directory for tmp files.
    78959107
    78969108{
    7897   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     9109  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    78989110  test -n "$tmp" && test -d "$tmp"
    78999111}  ||
    79009112{
    7901   tmp=./confstat$$-$RANDOM
    7902   (umask 077 && mkdir $tmp)
     9113  tmp=./conf$$-$RANDOM
     9114  (umask 077 && mkdir "$tmp")
    79039115} ||
    79049116{
    7905    echo "$me: cannot create a temporary directory in ." >&2
     9117   $as_echo "$as_me: cannot create a temporary directory in ." >&2
    79069118   { (exit 1); exit 1; }
    79079119}
    79089120
    7909 _ACEOF
    7910 
    7911 cat >>$CONFIG_STATUS <<_ACEOF
    7912 
    7913 #
    7914 # CONFIG_FILES section.
    7915 #
    7916 
    7917 # No need to generate the scripts if there are no CONFIG_FILES.
    7918 # This happens for instance when ./config.status config.h
    7919 if test -n "\$CONFIG_FILES"; then
    7920   # Protect against being on the right side of a sed subst in config.status.
    7921   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    7922    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    7923 s,@SHELL@,$SHELL,;t t
    7924 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    7925 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    7926 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    7927 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    7928 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    7929 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    7930 s,@exec_prefix@,$exec_prefix,;t t
    7931 s,@prefix@,$prefix,;t t
    7932 s,@program_transform_name@,$program_transform_name,;t t
    7933 s,@bindir@,$bindir,;t t
    7934 s,@sbindir@,$sbindir,;t t
    7935 s,@libexecdir@,$libexecdir,;t t
    7936 s,@datadir@,$datadir,;t t
    7937 s,@sysconfdir@,$sysconfdir,;t t
    7938 s,@sharedstatedir@,$sharedstatedir,;t t
    7939 s,@localstatedir@,$localstatedir,;t t
    7940 s,@libdir@,$libdir,;t t
    7941 s,@includedir@,$includedir,;t t
    7942 s,@oldincludedir@,$oldincludedir,;t t
    7943 s,@infodir@,$infodir,;t t
    7944 s,@mandir@,$mandir,;t t
    7945 s,@build_alias@,$build_alias,;t t
    7946 s,@host_alias@,$host_alias,;t t
    7947 s,@target_alias@,$target_alias,;t t
    7948 s,@DEFS@,$DEFS,;t t
    7949 s,@ECHO_C@,$ECHO_C,;t t
    7950 s,@ECHO_N@,$ECHO_N,;t t
    7951 s,@ECHO_T@,$ECHO_T,;t t
    7952 s,@LIBS@,$LIBS,;t t
    7953 s,@PACKAGE@,$PACKAGE,;t t
    7954 s,@VERSION@,$VERSION,;t t
    7955 s,@USE_FASTCGI@,$USE_FASTCGI,;t t
    7956 s,@USE_LANGACTION@,$USE_LANGACTION,;t t
    7957 s,@USE_CORBA@,$USE_CORBA,;t t
    7958 s,@MICO_DIR@,$MICO_DIR,;t t
    7959 s,@USE_Z3950@,$USE_Z3950,;t t
    7960 s,@USE_YAZ@,$USE_YAZ,;t t
    7961 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    7962 s,@USE_SQLITE@,$USE_SQLITE,;t t
    7963 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t
    7964 s,@ENABLE_JNI@,$ENABLE_JNI,;t t
    7965 s,@ENABLE_MG@,$ENABLE_MG,;t t
    7966 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t
    7967 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t
    7968 s,@LDFLAGS@,$LDFLAGS,;t t
    7969 s,@CFLAGS@,$CFLAGS,;t t
    7970 s,@CC@,$CC,;t t
    7971 s,@CPPFLAGS@,$CPPFLAGS,;t t
    7972 s,@ac_ct_CC@,$ac_ct_CC,;t t
    7973 s,@EXEEXT@,$EXEEXT,;t t
    7974 s,@OBJEXT@,$OBJEXT,;t t
    7975 s,@CXX@,$CXX,;t t
    7976 s,@CXXFLAGS@,$CXXFLAGS,;t t
    7977 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    7978 s,@AWK@,$AWK,;t t
    7979 s,@YACC@,$YACC,;t t
    7980 s,@build@,$build,;t t
    7981 s,@build_cpu@,$build_cpu,;t t
    7982 s,@build_vendor@,$build_vendor,;t t
    7983 s,@build_os@,$build_os,;t t
    7984 s,@host@,$host,;t t
    7985 s,@host_cpu@,$host_cpu,;t t
    7986 s,@host_vendor@,$host_vendor,;t t
    7987 s,@host_os@,$host_os,;t t
    7988 s,@target@,$target,;t t
    7989 s,@target_cpu@,$target_cpu,;t t
    7990 s,@target_vendor@,$target_vendor,;t t
    7991 s,@target_os@,$target_os,;t t
    7992 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    7993 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    7994 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    7995 s,@LN_S@,$LN_S,;t t
    7996 s,@SET_MAKE@,$SET_MAKE,;t t
    7997 s,@RANLIB@,$RANLIB,;t t
    7998 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    7999 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
    8000 s,@MICO_VER@,$MICO_VER,;t t
    8001 s,@CPP@,$CPP,;t t
    8002 s,@EGREP@,$EGREP,;t t
    8003 s,@U@,$U,;t t
    8004 s,@ANSI2KNR@,$ANSI2KNR,;t t
    8005 s,@ALLOCA@,$ALLOCA,;t t
    8006 s,@LIBOBJS@,$LIBOBJS,;t t
    8007 s,@STATIC@,$STATIC,;t t
    8008 s,@gsdlos@,$gsdlos,;t t
    8009 s,@MODULEDIRS@,$MODULEDIRS,;t t
    8010 s,@subdirs@,$subdirs,;t t
    8011 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    8012 CEOF
    8013 
    8014 _ACEOF
    8015 
    8016   cat >>$CONFIG_STATUS <<\_ACEOF
    8017   # Split the substitutions into bite-sized pieces for seds with
    8018   # small command number limits, like on Digital OSF/1 and HP-UX.
    8019   ac_max_sed_lines=48
    8020   ac_sed_frag=1 # Number of current file.
    8021   ac_beg=1 # First line for current file.
    8022   ac_end=$ac_max_sed_lines # Line after last line for current file.
    8023   ac_more_lines=:
    8024   ac_sed_cmds=
    8025   while $ac_more_lines; do
    8026     if test $ac_beg -gt 1; then
    8027       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    8028     else
    8029       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     9121# Set up the scripts for CONFIG_FILES section.
     9122# No need to generate them if there are no CONFIG_FILES.
     9123# This happens for instance with `./config.status config.h'.
     9124if test -n "$CONFIG_FILES"; then
     9125
     9126
     9127ac_cr='
     9128'
     9129ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     9130if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     9131  ac_cs_awk_cr='\\r'
     9132else
     9133  ac_cs_awk_cr=$ac_cr
     9134fi
     9135
     9136echo 'BEGIN {' >"$tmp/subs1.awk" &&
     9137_ACEOF
     9138
     9139
     9140{
     9141  echo "cat >conf$$subs.awk <<_ACEOF" &&
     9142  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     9143  echo "_ACEOF"
     9144} >conf$$subs.sh ||
     9145  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     9146$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     9147   { (exit 1); exit 1; }; }
     9148ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     9149ac_delim='%!_!# '
     9150for ac_last_try in false false false false false :; do
     9151  . ./conf$$subs.sh ||
     9152    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     9153$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     9154   { (exit 1); exit 1; }; }
     9155
     9156  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     9157  if test $ac_delim_n = $ac_delim_num; then
     9158    break
     9159  elif $ac_last_try; then
     9160    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     9161$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     9162   { (exit 1); exit 1; }; }
     9163  else
     9164    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     9165  fi
     9166done
     9167rm -f conf$$subs.sh
     9168
     9169cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9170cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     9171_ACEOF
     9172sed -n '
     9173h
     9174s/^/S["/; s/!.*/"]=/
     9175p
     9176g
     9177s/^[^!]*!//
     9178:repl
     9179t repl
     9180s/'"$ac_delim"'$//
     9181t delim
     9182:nl
     9183h
     9184s/\(.\{148\}\).*/\1/
     9185t more1
     9186s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     9187p
     9188n
     9189b repl
     9190:more1
     9191s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     9192p
     9193g
     9194s/.\{148\}//
     9195t nl
     9196:delim
     9197h
     9198s/\(.\{148\}\).*/\1/
     9199t more2
     9200s/["\\]/\\&/g; s/^/"/; s/$/"/
     9201p
     9202b
     9203:more2
     9204s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     9205p
     9206g
     9207s/.\{148\}//
     9208t delim
     9209' <conf$$subs.awk | sed '
     9210/^[^""]/{
     9211  N
     9212  s/\n//
     9213}
     9214' >>$CONFIG_STATUS || ac_write_fail=1
     9215rm -f conf$$subs.awk
     9216cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9217_ACAWK
     9218cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     9219  for (key in S) S_is_set[key] = 1
     9220  FS = ""
     9221
     9222}
     9223{
     9224  line = $ 0
     9225  nfields = split(line, field, "@")
     9226  substed = 0
     9227  len = length(field[1])
     9228  for (i = 2; i < nfields; i++) {
     9229    key = field[i]
     9230    keylen = length(key)
     9231    if (S_is_set[key]) {
     9232      value = S[key]
     9233      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     9234      len += length(value) + length(field[++i])
     9235      substed = 1
     9236    } else
     9237      len += 1 + keylen
     9238  }
     9239
     9240  print line
     9241}
     9242
     9243_ACAWK
     9244_ACEOF
     9245cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9246if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     9247  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     9248else
     9249  cat
     9250fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     9251  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
     9252$as_echo "$as_me: error: could not setup config files machinery" >&2;}
     9253   { (exit 1); exit 1; }; }
     9254_ACEOF
     9255
     9256# VPATH may cause trouble with some makes, so we remove $(srcdir),
     9257# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     9258# trailing colons and then remove the whole line if VPATH becomes empty
     9259# (actually we leave an empty line to preserve line numbers).
     9260if test "x$srcdir" = x.; then
     9261  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     9262s/:*\$(srcdir):*/:/
     9263s/:*\${srcdir}:*/:/
     9264s/:*@srcdir@:*/:/
     9265s/^\([^=]*=[     ]*\):*/\1/
     9266s/:*$//
     9267s/^[^=]*=[   ]*$//
     9268}'
     9269fi
     9270
     9271cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9272fi # test -n "$CONFIG_FILES"
     9273
     9274# Set up the scripts for CONFIG_HEADERS section.
     9275# No need to generate them if there are no CONFIG_HEADERS.
     9276# This happens for instance with `./config.status Makefile'.
     9277if test -n "$CONFIG_HEADERS"; then
     9278cat >"$tmp/defines.awk" <<\_ACAWK ||
     9279BEGIN {
     9280_ACEOF
     9281
     9282# Transform confdefs.h into an awk script `defines.awk', embedded as
     9283# here-document in config.status, that substitutes the proper values into
     9284# config.h.in to produce config.h.
     9285
     9286# Create a delimiter string that does not exist in confdefs.h, to ease
     9287# handling of long lines.
     9288ac_delim='%!_!# '
     9289for ac_last_try in false false :; do
     9290  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     9291  if test -z "$ac_t"; then
     9292    break
     9293  elif $ac_last_try; then
     9294    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
     9295$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
     9296   { (exit 1); exit 1; }; }
     9297  else
     9298    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     9299  fi
     9300done
     9301
     9302# For the awk script, D is an array of macro values keyed by name,
     9303# likewise P contains macro parameters if any.  Preserve backslash
     9304# newline sequences.
     9305
     9306ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     9307sed -n '
     9308s/.\{148\}/&'"$ac_delim"'/g
     9309t rset
     9310:rset
     9311s/^[     ]*#[    ]*define[   ][  ]*/ /
     9312t def
     9313d
     9314:def
     9315s/\\$//
     9316t bsnl
     9317s/["\\]/\\&/g
     9318s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     9319D["\1"]=" \3"/p
     9320s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
     9321d
     9322:bsnl
     9323s/["\\]/\\&/g
     9324s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     9325D["\1"]=" \3\\\\\\n"\\/p
     9326t cont
     9327s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     9328t cont
     9329d
     9330:cont
     9331n
     9332s/.\{148\}/&'"$ac_delim"'/g
     9333t clear
     9334:clear
     9335s/\\$//
     9336t bsnlc
     9337s/["\\]/\\&/g; s/^/"/; s/$/"/p
     9338d
     9339:bsnlc
     9340s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     9341b cont
     9342' <confdefs.h | sed '
     9343s/'"$ac_delim"'/"\\\
     9344"/g' >>$CONFIG_STATUS || ac_write_fail=1
     9345
     9346cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9347  for (key in D) D_is_set[key] = 1
     9348  FS = ""
     9349}
     9350/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     9351  line = \$ 0
     9352  split(line, arg, " ")
     9353  if (arg[1] == "#") {
     9354    defundef = arg[2]
     9355    mac1 = arg[3]
     9356  } else {
     9357    defundef = substr(arg[1], 2)
     9358    mac1 = arg[2]
     9359  }
     9360  split(mac1, mac2, "(") #)
     9361  macro = mac2[1]
     9362  prefix = substr(line, 1, index(line, defundef) - 1)
     9363  if (D_is_set[macro]) {
     9364    # Preserve the white space surrounding the "#".
     9365    print prefix "define", macro P[macro] D[macro]
     9366    next
     9367  } else {
     9368    # Replace #undef with comments.  This is necessary, for example,
     9369    # in the case of _POSIX_SOURCE, which is predefined and required
     9370    # on some systems where configure will not decide to define it.
     9371    if (defundef == "undef") {
     9372      print "/*", prefix defundef, macro, "*/"
     9373      next
     9374    }
     9375  }
     9376}
     9377{ print }
     9378_ACAWK
     9379_ACEOF
     9380cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9381  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
     9382$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
     9383   { (exit 1); exit 1; }; }
     9384fi # test -n "$CONFIG_HEADERS"
     9385
     9386
     9387eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
     9388shift
     9389for ac_tag
     9390do
     9391  case $ac_tag in
     9392  :[FHLC]) ac_mode=$ac_tag; continue;;
     9393  esac
     9394  case $ac_mode$ac_tag in
     9395  :[FHL]*:*);;
     9396  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
     9397$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
     9398   { (exit 1); exit 1; }; };;
     9399  :[FH]-) ac_tag=-:-;;
     9400  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     9401  esac
     9402  ac_save_IFS=$IFS
     9403  IFS=:
     9404  set x $ac_tag
     9405  IFS=$ac_save_IFS
     9406  shift
     9407  ac_file=$1
     9408  shift
     9409
     9410  case $ac_mode in
     9411  :L) ac_source=$1;;
     9412  :[FH])
     9413    ac_file_inputs=
     9414    for ac_f
     9415    do
     9416      case $ac_f in
     9417      -) ac_f="$tmp/stdin";;
     9418      *) # Look for the file first in the build tree, then in the source tree
     9419     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     9420     # because $ac_f cannot contain `:'.
     9421     test -f "$ac_f" ||
     9422       case $ac_f in
     9423       [\\/$]*) false;;
     9424       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     9425       esac ||
     9426       { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     9427$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     9428   { (exit 1); exit 1; }; };;
     9429      esac
     9430      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     9431      ac_file_inputs="$ac_file_inputs '$ac_f'"
     9432    done
     9433
     9434    # Let's still pretend it is `configure' which instantiates (i.e., don't
     9435    # use $as_me), people would be surprised to read:
     9436    #    /* config.h.  Generated by config.status.  */
     9437    configure_input='Generated from '`
     9438      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     9439    `' by configure.'
     9440    if test x"$ac_file" != x-; then
     9441      configure_input="$ac_file.  $configure_input"
     9442      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     9443$as_echo "$as_me: creating $ac_file" >&6;}
    80309444    fi
    8031     if test ! -s $tmp/subs.frag; then
    8032       ac_more_lines=false
    8033     else
    8034       # The purpose of the label and of the branching condition is to
    8035       # speed up the sed processing (if there are no `@' at all, there
    8036       # is no need to browse any of the substitutions).
    8037       # These are the two extra sed commands mentioned above.
    8038       (echo ':t
    8039   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    8040       if test -z "$ac_sed_cmds"; then
    8041     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    8042       else
    8043     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    8044       fi
    8045       ac_sed_frag=`expr $ac_sed_frag + 1`
    8046       ac_beg=$ac_end
    8047       ac_end=`expr $ac_end + $ac_max_sed_lines`
    8048     fi
    8049   done
    8050   if test -z "$ac_sed_cmds"; then
    8051     ac_sed_cmds=cat
    8052   fi
    8053 fi # test -n "$CONFIG_FILES"
    8054 
    8055 _ACEOF
    8056 cat >>$CONFIG_STATUS <<\_ACEOF
    8057 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    8058   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8059   case $ac_file in
    8060   - | *:- | *:-:* ) # input from stdin
    8061     cat >$tmp/stdin
    8062     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8063     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8064   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8065     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8066   * )   ac_file_in=$ac_file.in ;;
     9445    # Neutralize special characters interpreted by sed in replacement strings.
     9446    case $configure_input in #(
     9447    *\&* | *\|* | *\\* )
     9448       ac_sed_conf_input=`$as_echo "$configure_input" |
     9449       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     9450    *) ac_sed_conf_input=$configure_input;;
     9451    esac
     9452
     9453    case $ac_tag in
     9454    *:-:* | *:-) cat >"$tmp/stdin" \
     9455      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     9456$as_echo "$as_me: error: could not create $ac_file" >&2;}
     9457   { (exit 1); exit 1; }; } ;;
     9458    esac
     9459    ;;
    80679460  esac
    80689461
    8069   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    8070   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     9462  ac_dir=`$as_dirname -- "$ac_file" ||
    80719463$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    80729464     X"$ac_file" : 'X\(//\)[^/]' \| \
    80739465     X"$ac_file" : 'X\(//\)$' \| \
    8074      X"$ac_file" : 'X\(/\)' \| \
    8075      .     : '\(.\)' 2>/dev/null ||
    8076 echo X"$ac_file" |
    8077     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8078       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8079       /^X\(\/\/\)$/{ s//\1/; q; }
    8080       /^X\(\/\).*/{ s//\1/; q; }
    8081       s/.*/./; q'`
    8082   { if $as_mkdir_p; then
    8083     mkdir -p "$ac_dir"
    8084   else
    8085     as_dir="$ac_dir"
     9466     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     9467$as_echo X"$ac_file" |
     9468    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     9469        s//\1/
     9470        q
     9471      }
     9472      /^X\(\/\/\)[^/].*/{
     9473        s//\1/
     9474        q
     9475      }
     9476      /^X\(\/\/\)$/{
     9477        s//\1/
     9478        q
     9479      }
     9480      /^X\(\/\).*/{
     9481        s//\1/
     9482        q
     9483      }
     9484      s/.*/./; q'`
     9485  { as_dir="$ac_dir"
     9486  case $as_dir in #(
     9487  -*) as_dir=./$as_dir;;
     9488  esac
     9489  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    80869490    as_dirs=
    8087     while test ! -d "$as_dir"; do
    8088       as_dirs="$as_dir $as_dirs"
    8089       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     9491    while :; do
     9492      case $as_dir in #(
     9493      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     9494      *) as_qdir=$as_dir;;
     9495      esac
     9496      as_dirs="'$as_qdir' $as_dirs"
     9497      as_dir=`$as_dirname -- "$as_dir" ||
    80909498$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    80919499     X"$as_dir" : 'X\(//\)[^/]' \| \
    80929500     X"$as_dir" : 'X\(//\)$' \| \
    8093      X"$as_dir" : 'X\(/\)' \| \
    8094      .     : '\(.\)' 2>/dev/null ||
    8095 echo X"$as_dir" |
    8096     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8097       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8098       /^X\(\/\/\)$/{ s//\1/; q; }
    8099       /^X\(\/\).*/{ s//\1/; q; }
    8100       s/.*/./; q'`
     9501     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     9502$as_echo X"$as_dir" |
     9503    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     9504        s//\1/
     9505        q
     9506      }
     9507      /^X\(\/\/\)[^/].*/{
     9508        s//\1/
     9509        q
     9510      }
     9511      /^X\(\/\/\)$/{
     9512        s//\1/
     9513        q
     9514      }
     9515      /^X\(\/\).*/{
     9516        s//\1/
     9517        q
     9518      }
     9519      s/.*/./; q'`
     9520      test -d "$as_dir" && break
    81019521    done
    8102     test ! -n "$as_dirs" || mkdir $as_dirs
    8103   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     9522    test -z "$as_dirs" || eval "mkdir $as_dirs"
     9523  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     9524$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    81059525   { (exit 1); exit 1; }; }; }
    8106 
    81079526  ac_builddir=.
    81089527
    8109 if test "$ac_dir" != .; then
    8110   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8111   # A "../" for each directory in $ac_dir_suffix.
    8112   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8113 else
    8114   ac_dir_suffix= ac_top_builddir=
    8115 fi
     9528case "$ac_dir" in
     9529.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     9530*)
     9531  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     9532  # A ".." for each directory in $ac_dir_suffix.
     9533  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     9534  case $ac_top_builddir_sub in
     9535  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     9536  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     9537  esac ;;
     9538esac
     9539ac_abs_top_builddir=$ac_pwd
     9540ac_abs_builddir=$ac_pwd$ac_dir_suffix
     9541# for backward compatibility:
     9542ac_top_builddir=$ac_top_build_prefix
    81169543
    81179544case $srcdir in
    8118   .)  # No --srcdir option.  We are building in place.
     9545  .)  # We are building in place.
    81199546    ac_srcdir=.
    8120     if test -z "$ac_top_builddir"; then
    8121        ac_top_srcdir=.
    8122     else
    8123        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8124     fi ;;
    8125   [\\/]* | ?:[\\/]* )  # Absolute path.
     9547    ac_top_srcdir=$ac_top_builddir_sub
     9548    ac_abs_top_srcdir=$ac_pwd ;;
     9549  [\\/]* | ?:[\\/]* )  # Absolute name.
    81269550    ac_srcdir=$srcdir$ac_dir_suffix;
    8127     ac_top_srcdir=$srcdir ;;
    8128   *) # Relative path.
    8129     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8130     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8131 esac
    8132 
    8133 # Do not use `cd foo && pwd` to compute absolute paths, because
    8134 # the directories may not exist.
    8135 case `pwd` in
    8136 .) ac_abs_builddir="$ac_dir";;
    8137 *)
    8138   case "$ac_dir" in
    8139   .) ac_abs_builddir=`pwd`;;
    8140   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8141   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8142   esac;;
    8143 esac
    8144 case $ac_abs_builddir in
    8145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8146 *)
    8147   case ${ac_top_builddir}. in
    8148   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8149   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8150   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8151   esac;;
    8152 esac
    8153 case $ac_abs_builddir in
    8154 .) ac_abs_srcdir=$ac_srcdir;;
    8155 *)
    8156   case $ac_srcdir in
    8157   .) ac_abs_srcdir=$ac_abs_builddir;;
    8158   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8159   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8160   esac;;
    8161 esac
    8162 case $ac_abs_builddir in
    8163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8164 *)
    8165   case $ac_top_srcdir in
    8166   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8167   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8168   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8169   esac;;
    8170 esac
    8171 
     9551    ac_top_srcdir=$srcdir
     9552    ac_abs_top_srcdir=$srcdir ;;
     9553  *) # Relative name.
     9554    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     9555    ac_top_srcdir=$ac_top_build_prefix$srcdir
     9556    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     9557esac
     9558ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     9559
     9560
     9561  case $ac_mode in
     9562  :F)
     9563  #
     9564  # CONFIG_FILE
     9565  #
    81729566
    81739567  case $INSTALL in
    81749568  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    8175   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     9569  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    81769570  esac
    8177 
    8178   if test x"$ac_file" != x-; then
    8179     { echo "$as_me:$LINENO: creating $ac_file" >&5
    8180 echo "$as_me: creating $ac_file" >&6;}
    8181     rm -f "$ac_file"
    8182   fi
    8183   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8184   # use $as_me), people would be surprised to read:
    8185   #    /* config.h.  Generated by config.status.  */
    8186   if test x"$ac_file" = x-; then
    8187     configure_input=
    8188   else
    8189     configure_input="$ac_file.  "
    8190   fi
    8191   configure_input=$configure_input"Generated from `echo $ac_file_in |
    8192                      sed 's,.*/,,'` by configure."
    8193 
    8194   # First look for the input files in the build tree, otherwise in the
    8195   # src tree.
    8196   ac_file_inputs=`IFS=:
    8197     for f in $ac_file_in; do
    8198       case $f in
    8199       -) echo $tmp/stdin ;;
    8200       [\\/$]*)
    8201      # Absolute (can't be DOS-style, as IFS=:)
    8202      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8203 echo "$as_me: error: cannot find input file: $f" >&2;}
    8204    { (exit 1); exit 1; }; }
    8205      echo "$f";;
    8206       *) # Relative
    8207      if test -f "$f"; then
    8208        # Build tree
    8209        echo "$f"
    8210      elif test -f "$srcdir/$f"; then
    8211        # Source tree
    8212        echo "$srcdir/$f"
    8213      else
    8214        # /dev/null tree
    8215        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8216 echo "$as_me: error: cannot find input file: $f" >&2;}
    8217    { (exit 1); exit 1; }; }
    8218      fi;;
    8219       esac
    8220     done` || { (exit 1); exit 1; }
    8221 _ACEOF
    8222 cat >>$CONFIG_STATUS <<_ACEOF
    8223   sed "$ac_vpsub
     9571_ACEOF
     9572
     9573cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9574# If the template does not know about datarootdir, expand it.
     9575# FIXME: This hack should be removed a few years after 2.60.
     9576ac_datarootdir_hack=; ac_datarootdir_seen=
     9577
     9578ac_sed_dataroot='
     9579/datarootdir/ {
     9580  p
     9581  q
     9582}
     9583/@datadir@/p
     9584/@docdir@/p
     9585/@infodir@/p
     9586/@localedir@/p
     9587/@mandir@/p
     9588'
     9589case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
     9590*datarootdir*) ac_datarootdir_seen=yes;;
     9591*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     9592  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     9593$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     9594_ACEOF
     9595cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9596  ac_datarootdir_hack='
     9597  s&@datadir@&$datadir&g
     9598  s&@docdir@&$docdir&g
     9599  s&@infodir@&$infodir&g
     9600  s&@localedir@&$localedir&g
     9601  s&@mandir@&$mandir&g
     9602    s&\\\${datarootdir}&$datarootdir&g' ;;
     9603esac
     9604_ACEOF
     9605
     9606# Neutralize VPATH when `$srcdir' = `.'.
     9607# Shell code in configure.ac might set extrasub.
     9608# FIXME: do we really want to maintain this feature?
     9609cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9610ac_sed_extra="$ac_vpsub
    82249611$extrasub
    82259612_ACEOF
    8226 cat >>$CONFIG_STATUS <<\_ACEOF
     9613cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    82279614:t
    82289615/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    8229 s,@configure_input@,$configure_input,;t t
    8230 s,@srcdir@,$ac_srcdir,;t t
    8231 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    8232 s,@top_srcdir@,$ac_top_srcdir,;t t
    8233 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    8234 s,@builddir@,$ac_builddir,;t t
    8235 s,@abs_builddir@,$ac_abs_builddir,;t t
    8236 s,@top_builddir@,$ac_top_builddir,;t t
    8237 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    8238 s,@INSTALL@,$ac_INSTALL,;t t
    8239 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    8240   rm -f $tmp/stdin
     9616s|@configure_input@|$ac_sed_conf_input|;t t
     9617s&@top_builddir@&$ac_top_builddir_sub&;t t
     9618s&@top_build_prefix@&$ac_top_build_prefix&;t t
     9619s&@srcdir@&$ac_srcdir&;t t
     9620s&@abs_srcdir@&$ac_abs_srcdir&;t t
     9621s&@top_srcdir@&$ac_top_srcdir&;t t
     9622s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     9623s&@builddir@&$ac_builddir&;t t
     9624s&@abs_builddir@&$ac_abs_builddir&;t t
     9625s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     9626s&@INSTALL@&$ac_INSTALL&;t t
     9627$ac_datarootdir_hack
     9628"
     9629eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     9630  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     9631$as_echo "$as_me: error: could not create $ac_file" >&2;}
     9632   { (exit 1); exit 1; }; }
     9633
     9634test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     9635  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     9636  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     9637  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     9638which seems to be undefined.  Please make sure it is defined." >&5
     9639$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     9640which seems to be undefined.  Please make sure it is defined." >&2;}
     9641
     9642  rm -f "$tmp/stdin"
     9643  case $ac_file in
     9644  -) cat "$tmp/out" && rm -f "$tmp/out";;
     9645  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     9646  esac \
     9647  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     9648$as_echo "$as_me: error: could not create $ac_file" >&2;}
     9649   { (exit 1); exit 1; }; }
     9650 ;;
     9651  :H)
     9652  #
     9653  # CONFIG_HEADER
     9654  #
    82419655  if test x"$ac_file" != x-; then
    8242     mv $tmp/out $ac_file
    8243   else
    8244     cat $tmp/out
    8245     rm -f $tmp/out
    8246   fi
    8247 
    8248 done
    8249 _ACEOF
    8250 cat >>$CONFIG_STATUS <<\_ACEOF
    8251 
    8252 #
    8253 # CONFIG_HEADER section.
    8254 #
    8255 
    8256 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    8257 # NAME is the cpp macro being defined and VALUE is the value it is being given.
    8258 #
    8259 # ac_d sets the value in "#define NAME VALUE" lines.
    8260 ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
    8261 ac_dB='[     ].*$,\1#\2'
    8262 ac_dC=' '
    8263 ac_dD=',;t'
    8264 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    8265 ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
    8266 ac_uB='$,\1#\2define\3'
    8267 ac_uC=' '
    8268 ac_uD=',;t'
    8269 
    8270 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    8271   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8272   case $ac_file in
    8273   - | *:- | *:-:* ) # input from stdin
    8274     cat >$tmp/stdin
    8275     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8276     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8277   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8278     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8279   * )   ac_file_in=$ac_file.in ;;
    8280   esac
    8281 
    8282   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    8283 echo "$as_me: creating $ac_file" >&6;}
    8284 
    8285   # First look for the input files in the build tree, otherwise in the
    8286   # src tree.
    8287   ac_file_inputs=`IFS=:
    8288     for f in $ac_file_in; do
    8289       case $f in
    8290       -) echo $tmp/stdin ;;
    8291       [\\/$]*)
    8292      # Absolute (can't be DOS-style, as IFS=:)
    8293      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8294 echo "$as_me: error: cannot find input file: $f" >&2;}
     9656    {
     9657      $as_echo "/* $configure_input  */" \
     9658      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     9659    } >"$tmp/config.h" \
     9660      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     9661$as_echo "$as_me: error: could not create $ac_file" >&2;}
    82959662   { (exit 1); exit 1; }; }
    8296      # Do quote $f, to prevent DOS paths from being IFS'd.
    8297      echo "$f";;
    8298       *) # Relative
    8299      if test -f "$f"; then
    8300        # Build tree
    8301        echo "$f"
    8302      elif test -f "$srcdir/$f"; then
    8303        # Source tree
    8304        echo "$srcdir/$f"
    8305      else
    8306        # /dev/null tree
    8307        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8308 echo "$as_me: error: cannot find input file: $f" >&2;}
     9663    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     9664      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     9665$as_echo "$as_me: $ac_file is unchanged" >&6;}
     9666    else
     9667      rm -f "$ac_file"
     9668      mv "$tmp/config.h" "$ac_file" \
     9669    || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     9670$as_echo "$as_me: error: could not create $ac_file" >&2;}
    83099671   { (exit 1); exit 1; }; }
    8310      fi;;
    8311       esac
    8312     done` || { (exit 1); exit 1; }
    8313   # Remove the trailing spaces.
    8314   sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
    8315 
    8316 _ACEOF
    8317 
    8318 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    8319 # `conftest.undefs', that substitutes the proper values into
    8320 # config.h.in to produce config.h.  The first handles `#define'
    8321 # templates, and the second `#undef' templates.
    8322 # And first: Protect against being on the right side of a sed subst in
    8323 # config.status.  Protect against being in an unquoted here document
    8324 # in config.status.
    8325 rm -f conftest.defines conftest.undefs
    8326 # Using a here document instead of a string reduces the quoting nightmare.
    8327 # Putting comments in sed scripts is not portable.
    8328 #
    8329 # `end' is used to avoid that the second main sed command (meant for
    8330 # 0-ary CPP macros) applies to n-ary macro definitions.
    8331 # See the Autoconf documentation for `clear'.
    8332 cat >confdef2sed.sed <<\_ACEOF
    8333 s/[\\&,]/\\&/g
    8334 s,[\\$`],\\&,g
    8335 t clear
    8336 : clear
    8337 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    8338 t end
    8339 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    8340 : end
    8341 _ACEOF
    8342 # If some macros were called several times there might be several times
    8343 # the same #defines, which is useless.  Nevertheless, we may not want to
    8344 # sort them, since we want the *last* AC-DEFINE to be honored.
    8345 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    8346 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    8347 rm -f confdef2sed.sed
    8348 
    8349 # This sed command replaces #undef with comments.  This is necessary, for
    8350 # example, in the case of _POSIX_SOURCE, which is predefined and required
    8351 # on some systems where configure will not decide to define it.
    8352 cat >>conftest.undefs <<\_ACEOF
    8353 s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    8354 _ACEOF
    8355 
    8356 # Break up conftest.defines because some shells have a limit on the size
    8357 # of here documents, and old seds have small limits too (100 cmds).
    8358 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    8359 echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    8360 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    8361 echo '  :' >>$CONFIG_STATUS
    8362 rm -f conftest.tail
    8363 while grep . conftest.defines >/dev/null
    8364 do
    8365   # Write a limited-size here document to $tmp/defines.sed.
    8366   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    8367   # Speed up: don't consider the non `#define' lines.
    8368   echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
    8369   # Work around the forget-to-reset-the-flag bug.
    8370   echo 't clr' >>$CONFIG_STATUS
    8371   echo ': clr' >>$CONFIG_STATUS
    8372   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
    8373   echo 'CEOF
    8374   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    8375   rm -f $tmp/in
    8376   mv $tmp/out $tmp/in
    8377 ' >>$CONFIG_STATUS
    8378   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    8379   rm -f conftest.defines
    8380   mv conftest.tail conftest.defines
    8381 done
    8382 rm -f conftest.defines
    8383 echo '  fi # grep' >>$CONFIG_STATUS
    8384 echo >>$CONFIG_STATUS
    8385 
    8386 # Break up conftest.undefs because some shells have a limit on the size
    8387 # of here documents, and old seds have small limits too (100 cmds).
    8388 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    8389 rm -f conftest.tail
    8390 while grep . conftest.undefs >/dev/null
    8391 do
    8392   # Write a limited-size here document to $tmp/undefs.sed.
    8393   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    8394   # Speed up: don't consider the non `#undef'
    8395   echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    8396   # Work around the forget-to-reset-the-flag bug.
    8397   echo 't clr' >>$CONFIG_STATUS
    8398   echo ': clr' >>$CONFIG_STATUS
    8399   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    8400   echo 'CEOF
    8401   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    8402   rm -f $tmp/in
    8403   mv $tmp/out $tmp/in
    8404 ' >>$CONFIG_STATUS
    8405   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    8406   rm -f conftest.undefs
    8407   mv conftest.tail conftest.undefs
    8408 done
    8409 rm -f conftest.undefs
    8410 
    8411 cat >>$CONFIG_STATUS <<\_ACEOF
    8412   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8413   # use $as_me), people would be surprised to read:
    8414   #    /* config.h.  Generated by config.status.  */
    8415   if test x"$ac_file" = x-; then
    8416     echo "/* Generated by configure.  */" >$tmp/config.h
    8417   else
    8418     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    8419   fi
    8420   cat $tmp/in >>$tmp/config.h
    8421   rm -f $tmp/in
    8422   if test x"$ac_file" != x-; then
    8423     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
    8424       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    8425 echo "$as_me: $ac_file is unchanged" >&6;}
    8426     else
    8427       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    8428 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8429      X"$ac_file" : 'X\(//\)[^/]' \| \
    8430      X"$ac_file" : 'X\(//\)$' \| \
    8431      X"$ac_file" : 'X\(/\)' \| \
    8432      .     : '\(.\)' 2>/dev/null ||
    8433 echo X"$ac_file" |
    8434     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8435       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8436       /^X\(\/\/\)$/{ s//\1/; q; }
    8437       /^X\(\/\).*/{ s//\1/; q; }
    8438       s/.*/./; q'`
    8439       { if $as_mkdir_p; then
    8440     mkdir -p "$ac_dir"
    8441   else
    8442     as_dir="$ac_dir"
    8443     as_dirs=
    8444     while test ! -d "$as_dir"; do
    8445       as_dirs="$as_dir $as_dirs"
    8446       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8447 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8448      X"$as_dir" : 'X\(//\)[^/]' \| \
    8449      X"$as_dir" : 'X\(//\)$' \| \
    8450      X"$as_dir" : 'X\(/\)' \| \
    8451      .     : '\(.\)' 2>/dev/null ||
    8452 echo X"$as_dir" |
    8453     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8454       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8455       /^X\(\/\/\)$/{ s//\1/; q; }
    8456       /^X\(\/\).*/{ s//\1/; q; }
    8457       s/.*/./; q'`
    8458     done
    8459     test ! -n "$as_dirs" || mkdir $as_dirs
    8460   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8461 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    8462    { (exit 1); exit 1; }; }; }
    8463 
    8464       rm -f $ac_file
    8465       mv $tmp/config.h $ac_file
    84669672    fi
    84679673  else
    8468     cat $tmp/config.h
    8469     rm -f $tmp/config.h
     9674    $as_echo "/* $configure_input  */" \
     9675      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     9676      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
     9677$as_echo "$as_me: error: could not create -" >&2;}
     9678   { (exit 1); exit 1; }; }
    84709679  fi
    8471 done
    8472 _ACEOF
    8473 
    8474 cat >>$CONFIG_STATUS <<\_ACEOF
     9680 ;;
     9681
     9682
     9683  esac
     9684
     9685done # for ac_tag
     9686
    84759687
    84769688{ (exit 0); exit 0; }
     
    84789690chmod +x $CONFIG_STATUS
    84799691ac_clean_files=$ac_clean_files_save
     9692
     9693test $ac_write_fail = 0 ||
     9694  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
     9695$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
     9696   { (exit 1); exit 1; }; }
    84809697
    84819698
     
    85069723if test "$no_recursion" != yes; then
    85079724
    8508   # Remove --cache-file and --srcdir arguments so they do not pile up.
     9725  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
     9726  # so they do not pile up.
    85099727  ac_sub_configure_args=
    85109728  ac_prev=
    8511   for ac_arg in $ac_configure_args; do
     9729  eval "set x $ac_configure_args"
     9730  shift
     9731  for ac_arg
     9732  do
    85129733    if test -n "$ac_prev"; then
    85139734      ac_prev=
     
    85329753    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    85339754      ;;
    8534     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
     9755    --disable-option-checking)
     9756      ;;
     9757    *)
     9758      case $ac_arg in
     9759      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9760      esac
     9761      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
    85359762    esac
    85369763  done
     
    85389765  # Always prepend --prefix to ensure using the same prefix
    85399766  # in subdir configurations.
    8540   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
     9767  ac_arg="--prefix=$prefix"
     9768  case $ac_arg in
     9769  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9770  esac
     9771  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
     9772
     9773  # Pass --silent
     9774  if test "$silent" = yes; then
     9775    ac_sub_configure_args="--silent $ac_sub_configure_args"
     9776  fi
     9777
     9778  # Always prepend --disable-option-checking to silence warnings, since
     9779  # different subdirs can have different --enable and --with options.
     9780  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
    85419781
    85429782  ac_popdir=`pwd`
     
    85459785    # Do not complain, so a configure script can configure whichever
    85469786    # parts of a large source tree are present.
    8547     test -d $srcdir/$ac_dir || continue
    8548 
    8549     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
    8550 echo "$as_me: configuring in $ac_dir" >&6;}
    8551     { if $as_mkdir_p; then
    8552     mkdir -p "$ac_dir"
    8553   else
    8554     as_dir="$ac_dir"
     9787    test -d "$srcdir/$ac_dir" || continue
     9788
     9789    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
     9790    $as_echo "$as_me:$LINENO: $ac_msg" >&5
     9791    $as_echo "$ac_msg" >&6
     9792    { as_dir="$ac_dir"
     9793  case $as_dir in #(
     9794  -*) as_dir=./$as_dir;;
     9795  esac
     9796  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    85559797    as_dirs=
    8556     while test ! -d "$as_dir"; do
    8557       as_dirs="$as_dir $as_dirs"
    8558       as_dir=`(dirname "$as_dir") 2>/dev/null ||
     9798    while :; do
     9799      case $as_dir in #(
     9800      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     9801      *) as_qdir=$as_dir;;
     9802      esac
     9803      as_dirs="'$as_qdir' $as_dirs"
     9804      as_dir=`$as_dirname -- "$as_dir" ||
    85599805$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    85609806     X"$as_dir" : 'X\(//\)[^/]' \| \
    85619807     X"$as_dir" : 'X\(//\)$' \| \
    8562      X"$as_dir" : 'X\(/\)' \| \
    8563      .     : '\(.\)' 2>/dev/null ||
    8564 echo X"$as_dir" |
    8565     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8566       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8567       /^X\(\/\/\)$/{ s//\1/; q; }
    8568       /^X\(\/\).*/{ s//\1/; q; }
    8569       s/.*/./; q'`
     9808     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     9809$as_echo X"$as_dir" |
     9810    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     9811        s//\1/
     9812        q
     9813      }
     9814      /^X\(\/\/\)[^/].*/{
     9815        s//\1/
     9816        q
     9817      }
     9818      /^X\(\/\/\)$/{
     9819        s//\1/
     9820        q
     9821      }
     9822      /^X\(\/\).*/{
     9823        s//\1/
     9824        q
     9825      }
     9826      s/.*/./; q'`
     9827      test -d "$as_dir" && break
    85709828    done
    8571     test ! -n "$as_dirs" || mkdir $as_dirs
    8572   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8573 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     9829    test -z "$as_dirs" || eval "mkdir $as_dirs"
     9830  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     9831$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    85749832   { (exit 1); exit 1; }; }; }
    8575 
    85769833    ac_builddir=.
    85779834
    8578 if test "$ac_dir" != .; then
    8579   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8580   # A "../" for each directory in $ac_dir_suffix.
    8581   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8582 else
    8583   ac_dir_suffix= ac_top_builddir=
    8584 fi
     9835case "$ac_dir" in
     9836.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     9837*)
     9838  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     9839  # A ".." for each directory in $ac_dir_suffix.
     9840  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     9841  case $ac_top_builddir_sub in
     9842  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     9843  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     9844  esac ;;
     9845esac
     9846ac_abs_top_builddir=$ac_pwd
     9847ac_abs_builddir=$ac_pwd$ac_dir_suffix
     9848# for backward compatibility:
     9849ac_top_builddir=$ac_top_build_prefix
    85859850
    85869851case $srcdir in
    8587   .)  # No --srcdir option.  We are building in place.
     9852  .)  # We are building in place.
    85889853    ac_srcdir=.
    8589     if test -z "$ac_top_builddir"; then
    8590        ac_top_srcdir=.
     9854    ac_top_srcdir=$ac_top_builddir_sub
     9855    ac_abs_top_srcdir=$ac_pwd ;;
     9856  [\\/]* | ?:[\\/]* )  # Absolute name.
     9857    ac_srcdir=$srcdir$ac_dir_suffix;
     9858    ac_top_srcdir=$srcdir
     9859    ac_abs_top_srcdir=$srcdir ;;
     9860  *) # Relative name.
     9861    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     9862    ac_top_srcdir=$ac_top_build_prefix$srcdir
     9863    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     9864esac
     9865ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     9866
     9867
     9868    cd "$ac_dir"
     9869
     9870    # Check for guested configure; otherwise get Cygnus style configure.
     9871    if test -f "$ac_srcdir/configure.gnu"; then
     9872      ac_sub_configure=$ac_srcdir/configure.gnu
     9873    elif test -f "$ac_srcdir/configure"; then
     9874      ac_sub_configure=$ac_srcdir/configure
     9875    elif test -f "$ac_srcdir/configure.in"; then
     9876      # This should be Cygnus configure.
     9877      ac_sub_configure=$ac_aux_dir/configure
    85919878    else
    8592        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8593     fi ;;
    8594   [\\/]* | ?:[\\/]* )  # Absolute path.
    8595     ac_srcdir=$srcdir$ac_dir_suffix;
    8596     ac_top_srcdir=$srcdir ;;
    8597   *) # Relative path.
    8598     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8599     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8600 esac
    8601 
    8602 # Do not use `cd foo && pwd` to compute absolute paths, because
    8603 # the directories may not exist.
    8604 case `pwd` in
    8605 .) ac_abs_builddir="$ac_dir";;
    8606 *)
    8607   case "$ac_dir" in
    8608   .) ac_abs_builddir=`pwd`;;
    8609   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8610   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8611   esac;;
    8612 esac
    8613 case $ac_abs_builddir in
    8614 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8615 *)
    8616   case ${ac_top_builddir}. in
    8617   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8618   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8619   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8620   esac;;
    8621 esac
    8622 case $ac_abs_builddir in
    8623 .) ac_abs_srcdir=$ac_srcdir;;
    8624 *)
    8625   case $ac_srcdir in
    8626   .) ac_abs_srcdir=$ac_abs_builddir;;
    8627   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8628   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8629   esac;;
    8630 esac
    8631 case $ac_abs_builddir in
    8632 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8633 *)
    8634   case $ac_top_srcdir in
    8635   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8636   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8637   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8638   esac;;
    8639 esac
    8640 
    8641 
    8642     cd $ac_dir
    8643 
    8644     # Check for guested configure; otherwise get Cygnus style configure.
    8645     if test -f $ac_srcdir/configure.gnu; then
    8646       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
    8647     elif test -f $ac_srcdir/configure; then
    8648       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
    8649     elif test -f $ac_srcdir/configure.in; then
    8650       ac_sub_configure=$ac_configure
    8651     else
    8652       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
    8653 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
     9879      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     9880$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    86549881      ac_sub_configure=
    86559882    fi
     
    86609887      case $cache_file in
    86619888      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    8662       *) # Relative path.
    8663     ac_sub_cache_file=$ac_top_builddir$cache_file ;;
     9889      *) # Relative name.
     9890    ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
    86649891      esac
    86659892
    8666       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    8667 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     9893      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     9894$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    86689895      # The eval makes quoting arguments work.
    8669       eval $ac_sub_configure $ac_sub_configure_args \
    8670        --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
    8671     { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    8672 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     9896      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
     9897       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
     9898    { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
     9899$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    86739900   { (exit 1); exit 1; }; }
    86749901    fi
    86759902
    8676     cd $ac_popdir
     9903    cd "$ac_popdir"
    86779904  done
    86789905fi
    8679 
    8680 
    8681 
     9906if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     9907  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     9908$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     9909fi
     9910
     9911
     9912
  • main/trunk/gs2build/configure.in

    r21434 r25215  
    163163if test "$arch_64bit" = yes; then
    164164  AC_MSG_RESULT(yes)
    165   if test -z "$COMPAT32BITFLAGS" ; then
    166     COMPAT32BITFLAGS="-m32"
     165  if test -z "$ARCH_DEP_FLAGS" ; then
     166    ARCH_DEP_FLAGS=-fPIC
    167167  fi
    168168else
    169169  AC_MSG_RESULT(no)
    170   if test -z "$COMPAT32BITFLAGS" ; then
    171     COMPAT32BITFLAGS=
     170  if test -z "$ARCH_DEP_FLAGS" ; then
     171    ARCH_DEP_FLAGS=
    172172  fi
    173173fi
    174174
    175 # Only need compat32bitflag if using MG or MGPP
    176 if test "$ENABLE_MG" = "0" ; then
    177   COMPAT32BITFLAGS=
    178 else
    179   if test "$ENABLE_MGPP" = "0" ; then
    180     COMPAT32BITFLAGS=
    181   fi
    182 fi
    183 
    184 export COMPAT32BITFLAGS
    185 AC_SUBST(COMPAT32BITFLAGS)
    186 
     175export ARCH_DEP_FLAGS
     176AC_SUBST(ARCH_DEP_FLAGS)
    187177
    188178#moved CORBA MICO directory test to get version of MICO
Note: See TracChangeset for help on using the changeset viewer.