Changeset 25215


Ignore:
Timestamp:
03/13/12 13:56:43 (9 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 bug-autoconf@gnu.org about your system,
     436  echo including any error possibly output before this message.
     437  echo This can help us improve future autoconf versions.
     438  echo Configuration will now proceed without shell functions.
     439}
     440
     441
     442
     443  as_lineno_1=$LINENO
     444  as_lineno_2=$LINENO
     445  test "x$as_lineno_1" != "x$as_lineno_2" &&
     446  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    155447
    156448  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157449  # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
     450  # line-number line after each line using $LINENO; the second 'sed'
     451  # does the real work.  The second script uses 'N' to pair each
     452  # line-number line with the line containing $LINENO, and appends
     453  # trailing '-' during substitution so that $LINENO is not a special
     454  # case at line end.
    162455  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
     456  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     457  # E. McMahon (1931-1989) for sed's syntax.  :-)
     458  sed -n '
     459    p
     460    /[$]LINENO/=
     461  ' <$as_myself |
    165462    sed '
     463      s/[$]LINENO.*/&-/
     464      t lineno
     465      b
     466      :lineno
    166467      N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     468      :loop
     469      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    170470      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     471      s/-\n.*//
    173472    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
    175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     473  chmod +x "$as_me.lineno" ||
     474    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176475   { (exit 1); exit 1; }; }
    177476
    178477  # Don't try to exec as it changes $[0], causing all sort of problems
    179478  # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
     479  # original and so on.  Autoconf is especially sensitive to this).
     480  . "./$as_me.lineno"
    182481  # Exit status is that of the last command.
    183482  exit
     
    185484
    186485
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='  ' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
     486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     487  as_dirname=dirname
     488else
     489  as_dirname=false
     490fi
     491
     492ECHO_C= ECHO_N= ECHO_T=
     493case `echo -n x` in
     494-n*)
     495  case `echo 'x\c'` in
     496  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     497  *)   ECHO_C='\c';;
     498  esac;;
     499*)
     500  ECHO_N='-n';;
     501esac
     502if expr a : '\(a\)' >/dev/null 2>&1 &&
     503   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    195504  as_expr=expr
    196505else
     
    199508
    200509rm -f conf$$ conf$$.exe conf$$.file
    201 echo >conf$$.file
    202 if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
     510if test -d conf$$.dir; then
     511  rm -f conf$$.dir/conf$$.file
     512else
     513  rm -f conf$$.dir
     514  mkdir conf$$.dir 2>/dev/null
     515fi
     516if (echo >conf$$.file) 2>/dev/null; then
     517  if ln -s conf$$.file conf$$ 2>/dev/null; then
     518    as_ln_s='ln -s'
     519    # ... but there are two gotchas:
     520    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     521    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     522    # In both cases, we have to default to `cp -p'.
     523    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     524      as_ln_s='cp -p'
     525  elif ln conf$$.file conf$$ 2>/dev/null; then
     526    as_ln_s=ln
     527  else
    207528    as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210529  fi
    211 elif ln conf$$.file conf$$ 2>/dev/null; then
    212   as_ln_s=ln
    213530else
    214531  as_ln_s='cp -p'
    215532fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     533rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     534rmdir conf$$.dir 2>/dev/null
    217535
    218536if mkdir -p . 2>/dev/null; then
     
    223541fi
    224542
    225 as_executable_p="test -f"
     543if test -x / >/dev/null 2>&1; then
     544  as_test_x='test -x'
     545else
     546  if ls -dL / >/dev/null 2>&1; then
     547    as_ls_L_option=L
     548  else
     549    as_ls_L_option=
     550  fi
     551  as_test_x='
     552    eval sh -c '\''
     553      if test -d "$1"; then
     554    test -d "$1/.";
     555      else
     556    case $1 in
     557    -*)set "./$1";;
     558    esac;
     559    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     560    ???[sx]*):;;*)false;;esac;fi
     561    '\'' sh
     562  '
     563fi
     564as_executable_p=$as_test_x
    226565
    227566# Sed expression to map a string onto a valid CPP name.
     
    232571
    233572
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS="   $as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
     573
     574exec 7<&0 </dev/null 6>&1
    243575
    244576# Name of the host.
     
    247579ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248580
    249 exec 6>&1
    250 
    251581#
    252582# Initializations.
    253583#
    254584ac_default_prefix=/usr/local
     585ac_clean_files=
    255586ac_config_libobj_dir=.
     587LIBOBJS=
    256588cross_compiling=no
    257589subdirs=
     
    259591MAKEFLAGS=
    260592SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266593
    267594# Identity of this package.
     
    275602ac_includes_default="\
    276603#include <stdio.h>
    277 #if HAVE_SYS_TYPES_H
     604#ifdef HAVE_SYS_TYPES_H
    278605# include <sys/types.h>
    279606#endif
    280 #if HAVE_SYS_STAT_H
     607#ifdef HAVE_SYS_STAT_H
    281608# include <sys/stat.h>
    282609#endif
    283 #if STDC_HEADERS
     610#ifdef STDC_HEADERS
    284611# include <stdlib.h>
    285612# include <stddef.h>
    286613#else
    287 # if HAVE_STDLIB_H
     614# ifdef HAVE_STDLIB_H
    288615#  include <stdlib.h>
    289616# endif
    290617#endif
    291 #if HAVE_STRING_H
    292 # if !STDC_HEADERS && HAVE_MEMORY_H
     618#ifdef HAVE_STRING_H
     619# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    293620#  include <memory.h>
    294621# endif
    295622# include <string.h>
    296623#endif
    297 #if HAVE_STRINGS_H
     624#ifdef HAVE_STRINGS_H
    298625# include <strings.h>
    299626#endif
    300 #if HAVE_INTTYPES_H
     627#ifdef HAVE_INTTYPES_H
    301628# include <inttypes.h>
    302 #else
    303 # if HAVE_STDINT_H
    304 #  include <stdint.h>
    305 # endif
    306629#endif
    307 #if HAVE_UNISTD_H
     630#ifdef HAVE_STDINT_H
     631# include <stdint.h>
     632#endif
     633#ifdef HAVE_UNISTD_H
    308634# include <unistd.h>
    309635#endif"
    310636
    311 ac_subdirs_all="$ac_subdirs_all 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