Changeset 26663


Ignore:
Timestamp:
01/10/13 15:58:46 (8 years ago)
Author:
davidb
Message:

Support for cross-compilation added -- the CrossOS check

Location:
main/trunk/greenstone2/build-src
Files:
2 edited

Legend:

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

    r25149 r26663  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63.
     3# Generated by GNU Autoconf 2.68.
     4#
    45#
    56# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     8# Foundation, Inc.
     9#
     10#
    711# This configure script is free software; the Free Software Foundation
    812# gives unlimited permission to copy, distribute and modify it.
    9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
    1216
    1317# Be more Bourne compatible
    1418DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1620  emulate sh
    1721  NULLCMD=:
     
    2125  setopt NO_GLOB_SUBST
    2226else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
    2532esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
     33fi
     34
    3935
    4036as_nl='
     
    4541as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4642as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     45if test -z "$BASH_VERSION$ZSH_VERSION" \
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  as_echo='print -r --'
     48  as_echo_n='print -rn --'
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    4850  as_echo='printf %s\n'
    4951  as_echo_n='printf %s'
     
    5658    as_echo_n_body='eval
    5759      arg=$1;
    58       case $arg in
     60      case $arg in #(
    5961      *"$as_nl"*)
    6062    expr "X$arg" : "X\\(.*\\)$as_nl";
     
    7981fi
    8082
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    87 
    8883
    8984# IFS
     
    9590
    9691# Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
     92as_myself=
     93case $0 in #((
    9894  *[\\/]* ) as_myself=$0 ;;
    9995  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10298  IFS=$as_save_IFS
    10399  test -z "$as_dir" && as_dir=.
    104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    105 done
     100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     101  done
    106102IFS=$as_save_IFS
    107103
     
    115111if test ! -f "$as_myself"; then
    116112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    117   { (exit 1); exit 1; }
    118 fi
    119 
    120 # Work around bugs in pre-3.0 UWIN ksh.
    121 for as_var in ENV MAIL MAILPATH
    122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     113  exit 1
     114fi
     115
     116# Unset variables that we do not need and which cause bugs (e.g. in
     117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     118# suppresses any "Segmentation fault" message there.  '((' could
     119# trigger a bug in pdksh 5.2.14.
     120for as_var in BASH_ENV ENV MAIL MAILPATH
     121do eval test x\${$as_var+set} = xset \
     122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123123done
    124124PS1='$ '
     
    132132export LANGUAGE
    133133
    134 # Required to use basename.
     134# CDPATH.
     135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     136
     137if test "x$CONFIG_SHELL" = x; then
     138  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     139  emulate sh
     140  NULLCMD=:
     141  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     142  # is contrary to our usage.  Disable this feature.
     143  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     144  setopt NO_GLOB_SUBST
     145else
     146  case \`(set -o) 2>/dev/null\` in #(
     147  *posix*) :
     148    set -o posix ;; #(
     149  *) :
     150     ;;
     151esac
     152fi
     153"
     154  as_required="as_fn_return () { (exit \$1); }
     155as_fn_success () { as_fn_return 0; }
     156as_fn_failure () { as_fn_return 1; }
     157as_fn_ret_success () { return 0; }
     158as_fn_ret_failure () { return 1; }
     159
     160exitcode=0
     161as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     166
     167else
     168  exitcode=1; echo positional parameters were not saved.
     169fi
     170test x\$exitcode = x0 || exit 1"
     171  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     172  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     173  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     174  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     175test \$(( 1 + 1 )) = 2 || exit 1"
     176  if (eval "$as_required") 2>/dev/null; then :
     177  as_have_required=yes
     178else
     179  as_have_required=no
     180fi
     181  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     182
     183else
     184  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     185as_found=false
     186for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     187do
     188  IFS=$as_save_IFS
     189  test -z "$as_dir" && as_dir=.
     190  as_found=:
     191  case $as_dir in #(
     192     /*)
     193       for as_base in sh bash ksh sh5; do
     194         # Try only shells that exist, to save several forks.
     195         as_shell=$as_dir/$as_base
     196         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     197            { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     198  CONFIG_SHELL=$as_shell as_have_required=yes
     199           if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     200  break 2
     201fi
     202fi
     203       done;;
     204       esac
     205  as_found=false
     206done
     207$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     208          { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     209  CONFIG_SHELL=$SHELL as_have_required=yes
     210fi; }
     211IFS=$as_save_IFS
     212
     213
     214      if test "x$CONFIG_SHELL" != x; then :
     215  # We cannot yet assume a decent shell, so we have to provide a
     216    # neutralization value for shells without unset; and this also
     217    # works around shells that cannot unset nonexistent variables.
     218    # Preserve -v and -x to the replacement shell.
     219    BASH_ENV=/dev/null
     220    ENV=/dev/null
     221    (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     222    export CONFIG_SHELL
     223    case $- in # ((((
     224      *v*x* | *x*v* ) as_opts=-vx ;;
     225      *v* ) as_opts=-v ;;
     226      *x* ) as_opts=-x ;;
     227      * ) as_opts= ;;
     228    esac
     229    exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
     230fi
     231
     232    if test x$as_have_required = xno; then :
     233  $as_echo "$0: This script requires a shell more modern than all"
     234  $as_echo "$0: the shells that I found on your system."
     235  if test x${ZSH_VERSION+set} = xset ; then
     236    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     237    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     238  else
     239    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
     240$0: including any error possibly output before this
     241$0: message. Then install a modern shell, or manually run
     242$0: the script under such a shell if you do have one."
     243  fi
     244  exit 1
     245fi
     246fi
     247fi
     248SHELL=${CONFIG_SHELL-/bin/sh}
     249export SHELL
     250# Unset more variables known to interfere with behavior of common tools.
     251CLICOLOR_FORCE= GREP_OPTIONS=
     252unset CLICOLOR_FORCE GREP_OPTIONS
     253
     254## --------------------- ##
     255## M4sh Shell Functions. ##
     256## --------------------- ##
     257# as_fn_unset VAR
     258# ---------------
     259# Portably unset VAR.
     260as_fn_unset ()
     261{
     262  { eval $1=; unset $1;}
     263}
     264as_unset=as_fn_unset
     265
     266# as_fn_set_status STATUS
     267# -----------------------
     268# Set $? to STATUS, without forking.
     269as_fn_set_status ()
     270{
     271  return $1
     272} # as_fn_set_status
     273
     274# as_fn_exit STATUS
     275# -----------------
     276# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     277as_fn_exit ()
     278{
     279  set +e
     280  as_fn_set_status $1
     281  exit $1
     282} # as_fn_exit
     283
     284# as_fn_mkdir_p
     285# -------------
     286# Create "$as_dir" as a directory, including parents if necessary.
     287as_fn_mkdir_p ()
     288{
     289
     290  case $as_dir in #(
     291  -*) as_dir=./$as_dir;;
     292  esac
     293  test -d "$as_dir" || eval $as_mkdir_p || {
     294    as_dirs=
     295    while :; do
     296      case $as_dir in #(
     297      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     298      *) as_qdir=$as_dir;;
     299      esac
     300      as_dirs="'$as_qdir' $as_dirs"
     301      as_dir=`$as_dirname -- "$as_dir" ||
     302$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     303     X"$as_dir" : 'X\(//\)[^/]' \| \
     304     X"$as_dir" : 'X\(//\)$' \| \
     305     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     306$as_echo X"$as_dir" |
     307    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     308        s//\1/
     309        q
     310      }
     311      /^X\(\/\/\)[^/].*/{
     312        s//\1/
     313        q
     314      }
     315      /^X\(\/\/\)$/{
     316        s//\1/
     317        q
     318      }
     319      /^X\(\/\).*/{
     320        s//\1/
     321        q
     322      }
     323      s/.*/./; q'`
     324      test -d "$as_dir" && break
     325    done
     326    test -z "$as_dirs" || eval "mkdir $as_dirs"
     327  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     328
     329
     330} # as_fn_mkdir_p
     331# as_fn_append VAR VALUE
     332# ----------------------
     333# Append the text in VALUE to the end of the definition contained in VAR. Take
     334# advantage of any shell optimizations that allow amortized linear growth over
     335# repeated appends, instead of the typical quadratic growth present in naive
     336# implementations.
     337if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     338  eval 'as_fn_append ()
     339  {
     340    eval $1+=\$2
     341  }'
     342else
     343  as_fn_append ()
     344  {
     345    eval $1=\$$1\$2
     346  }
     347fi # as_fn_append
     348
     349# as_fn_arith ARG...
     350# ------------------
     351# Perform arithmetic evaluation on the ARGs, and store the result in the
     352# global $as_val. Take advantage of shells that can avoid forks. The arguments
     353# must be portable across $(()) and expr.
     354if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     355  eval 'as_fn_arith ()
     356  {
     357    as_val=$(( $* ))
     358  }'
     359else
     360  as_fn_arith ()
     361  {
     362    as_val=`expr "$@" || test $? -eq 1`
     363  }
     364fi # as_fn_arith
     365
     366
     367# as_fn_error STATUS ERROR [LINENO LOG_FD]
     368# ----------------------------------------
     369# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     370# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     371# script with STATUS, using 1 if that was 0.
     372as_fn_error ()
     373{
     374  as_status=$1; test $as_status -eq 0 && as_status=1
     375  if test "$4"; then
     376    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     377    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     378  fi
     379  $as_echo "$as_me: error: $2" >&2
     380  as_fn_exit $as_status
     381} # as_fn_error
     382
    135383if expr a : '\(a\)' >/dev/null 2>&1 &&
    136384   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    146394fi
    147395
    148 
    149 # Name of the executable.
     396if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     397  as_dirname=dirname
     398else
     399  as_dirname=false
     400fi
     401
    150402as_me=`$as_basename -- "$0" ||
    151403$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    167419      s/.*/./; q'`
    168420
    169 # CDPATH.
    170 $as_unset CDPATH
    171 
    172 
    173 if test "x$CONFIG_SHELL" = x; then
    174   if (eval ":") 2>/dev/null; then
    175   as_have_required=yes
    176 else
    177   as_have_required=no
    178 fi
    179 
    180   if test $as_have_required = yes &&     (eval ":
    181 (as_func_return () {
    182   (exit \$1)
    183 }
    184 as_func_success () {
    185   as_func_return 0
    186 }
    187 as_func_failure () {
    188   as_func_return 1
    189 }
    190 as_func_ret_success () {
    191   return 0
    192 }
    193 as_func_ret_failure () {
    194   return 1
    195 }
    196 
    197 exitcode=0
    198 if as_func_success; then
    199   :
    200 else
    201   exitcode=1
    202   echo as_func_success failed.
    203 fi
    204 
    205 if as_func_failure; then
    206   exitcode=1
    207   echo as_func_failure succeeded.
    208 fi
    209 
    210 if as_func_ret_success; then
    211   :
    212 else
    213   exitcode=1
    214   echo as_func_ret_success failed.
    215 fi
    216 
    217 if as_func_ret_failure; then
    218   exitcode=1
    219   echo as_func_ret_failure succeeded.
    220 fi
    221 
    222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    223   :
    224 else
    225   exitcode=1
    226   echo positional parameters were not saved.
    227 fi
    228 
    229 test \$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   :
    238 else
    239   as_candidate_shells=
    240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    242 do
    243   IFS=$as_save_IFS
    244   test -z "$as_dir" && as_dir=.
    245   case $as_dir in
    246      /*)
    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
    251 done
    252 IFS=$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
    259 if 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
    266 else
    267   case `(set -o) 2>/dev/null` in
    268   *posix*) set -o posix ;;
    269 esac
    270 
    271 fi
    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
    280 if 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
    287 else
    288   case `(set -o) 2>/dev/null` in
    289   *posix*) set -o posix ;;
    290 esac
    291 
    292 fi
    293 
    294 
    295 :
    296 (as_func_return () {
    297   (exit $1)
    298 }
    299 as_func_success () {
    300   as_func_return 0
    301 }
    302 as_func_failure () {
    303   as_func_return 1
    304 }
    305 as_func_ret_success () {
    306   return 0
    307 }
    308 as_func_ret_failure () {
    309   return 1
    310 }
    311 
    312 exitcode=0
    313 if as_func_success; then
    314   :
    315 else
    316   exitcode=1
    317   echo as_func_success failed.
    318 fi
    319 
    320 if as_func_failure; then
    321   exitcode=1
    322   echo as_func_failure succeeded.
    323 fi
    324 
    325 if as_func_ret_success; then
    326   :
    327 else
    328   exitcode=1
    329   echo as_func_ret_success failed.
    330 fi
    331 
    332 if as_func_ret_failure; then
    333   exitcode=1
    334   echo as_func_ret_failure succeeded.
    335 fi
    336 
    337 if ( set x; as_func_ret_success y && test x = "$1" ); then
    338   :
    339 else
    340   exitcode=1
    341   echo positional parameters were not saved.
    342 fi
    343 
    344 test $exitcode = 0) || { (exit 1); exit 1; }
    345 
    346 (
    347   as_lineno_1=$LINENO
    348   as_lineno_2=$LINENO
    349   test "x$as_lineno_1" != "x$as_lineno_2" &&
    350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    351 
    352 _ASEOF
    353 }; then
    354   break
    355 fi
    356 
    357 fi
    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+"$@"}
    367 fi
    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; }
    376 fi
    377 
    378 
    379 fi
    380 
    381 fi
    382 
    383 
    384 
    385 (eval "as_func_return () {
    386   (exit \$1)
    387 }
    388 as_func_success () {
    389   as_func_return 0
    390 }
    391 as_func_failure () {
    392   as_func_return 1
    393 }
    394 as_func_ret_success () {
    395   return 0
    396 }
    397 as_func_ret_failure () {
    398   return 1
    399 }
    400 
    401 exitcode=0
    402 if as_func_success; then
    403   :
    404 else
    405   exitcode=1
    406   echo as_func_success failed.
    407 fi
    408 
    409 if as_func_failure; then
    410   exitcode=1
    411   echo as_func_failure succeeded.
    412 fi
    413 
    414 if as_func_ret_success; then
    415   :
    416 else
    417   exitcode=1
    418   echo as_func_ret_success failed.
    419 fi
    420 
    421 if as_func_ret_failure; then
    422   exitcode=1
    423   echo as_func_ret_failure succeeded.
    424 fi
    425 
    426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    427   :
    428 else
    429   exitcode=1
    430   echo positional parameters were not saved.
    431 fi
    432 
    433 test \$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" || {
    447 
    448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    449   # uniformly replaced by the line number.  The first 'sed' inserts a
    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.
    455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    457   # E. McMahon (1931-1989) for sed's syntax.  :-)
     421# Avoid depending upon Character Ranges.
     422as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     423as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     424as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     425as_cr_digits='0123456789'
     426as_cr_alnum=$as_cr_Letters$as_cr_digits
     427
     428
     429  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     430  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     431  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     432  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     433  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    458434  sed -n '
    459435    p
     
    472448    ' >$as_me.lineno &&
    473449  chmod +x "$as_me.lineno" ||
    474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    475    { (exit 1); exit 1; }; }
     450    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    476451
    477452  # Don't try to exec as it changes $[0], causing all sort of problems
     
    483458}
    484459
    485 
    486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    487   as_dirname=dirname
    488 else
    489   as_dirname=false
    490 fi
    491 
    492460ECHO_C= ECHO_N= ECHO_T=
    493 case `echo -n x` in
     461case `echo -n x` in #(((((
    494462-n*)
    495   case `echo 'x\c'` in
     463  case `echo 'xy\c'` in
    496464  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    497   *)   ECHO_C='\c';;
     465  xy)  ECHO_C='\c';;
     466  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     467       ECHO_T=' ';;
    498468  esac;;
    499469*)
    500470  ECHO_N='-n';;
    501471esac
    502 if expr a : '\(a\)' >/dev/null 2>&1 &&
    503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    504   as_expr=expr
    505 else
    506   as_expr=false
    507 fi
    508472
    509473rm -f conf$$ conf$$.exe conf$$.file
     
    535499
    536500if mkdir -p . 2>/dev/null; then
    537   as_mkdir_p=:
     501  as_mkdir_p='mkdir -p "$as_dir"'
    538502else
    539503  test -d ./-p && rmdir ./-p
     
    554518    test -d "$1/.";
    555519      else
    556     case $1 in
     520    case $1 in #(
    557521    -*)set "./$1";;
    558522    esac;
    559     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     523    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    560524    ???[sx]*):;;*)false;;esac;fi
    561525    '\'' sh
     
    571535
    572536
    573 
    574 exec 7<&0 </dev/null 6>&1
     537test -n "$DJDIR" || exec 7<&0 </dev/null
     538exec 6>&1
    575539
    576540# Name of the host.
    577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     541# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    578542# so uname gets run too.
    579543ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    590554MFLAGS=
    591555MAKEFLAGS=
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593556
    594557# Identity of this package.
     
    598561PACKAGE_STRING=
    599562PACKAGE_BUGREPORT=
     563PACKAGE_URL=
    600564
    601565# Factoring default headers for most tests.
     
    729693prefix
    730694exec_prefix
     695PACKAGE_URL
    731696PACKAGE_BUGREPORT
    732697PACKAGE_STRING
     
    828793
    829794  case $ac_option in
    830   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    831   *)    ac_optarg=yes ;;
     795  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     796  *=)   ac_optarg= ;;
     797  *)    ac_optarg=yes ;;
    832798  esac
    833799
     
    874840    # Reject names that are not valid shell variable names.
    875841    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    876       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    877    { (exit 1); exit 1; }; }
     842      as_fn_error $? "invalid feature name: $ac_useropt"
    878843    ac_useropt_orig=$ac_useropt
    879844    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    901866    # Reject names that are not valid shell variable names.
    902867    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    903       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    904    { (exit 1); exit 1; }; }
     868      as_fn_error $? "invalid feature name: $ac_useropt"
    905869    ac_useropt_orig=$ac_useropt
    906870    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11061070    # Reject names that are not valid shell variable names.
    11071071    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1108       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1109    { (exit 1); exit 1; }; }
     1072      as_fn_error $? "invalid package name: $ac_useropt"
    11101073    ac_useropt_orig=$ac_useropt
    11111074    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11231086    # Reject names that are not valid shell variable names.
    11241087    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1125       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1126    { (exit 1); exit 1; }; }
     1088      as_fn_error $? "invalid package name: $ac_useropt"
    11271089    ac_useropt_orig=$ac_useropt
    11281090    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11541116    x_libraries=$ac_optarg ;;
    11551117
    1156   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1157 Try \`$0 --help' for more information." >&2
    1158    { (exit 1); exit 1; }; }
     1118  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1119Try \`$0 --help' for more information"
    11591120    ;;
    11601121
     
    11621123    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11631124    # Reject names that are not valid shell variable names.
    1164     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1165       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1166    { (exit 1); exit 1; }; }
     1125    case $ac_envvar in #(
     1126      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1127      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1128    esac
    11671129    eval $ac_envvar=\$ac_optarg
    11681130    export $ac_envvar ;;
     
    11731135    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11741136      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1175     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1137    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11761138    ;;
    11771139
     
    11811143if test -n "$ac_prev"; then
    11821144  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1183   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1184    { (exit 1); exit 1; }; }
     1145  as_fn_error $? "missing argument to $ac_option"
    11851146fi
    11861147
     
    11881149  case $enable_option_checking in
    11891150    no) ;;
    1190     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1191    { (exit 1); exit 1; }; } ;;
     1151    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11921152    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11931153  esac
     
    12121172    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12131173  esac
    1214   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1215    { (exit 1); exit 1; }; }
     1174  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12161175done
    12171176
     
    12271186  if test "x$build_alias" = x; then
    12281187    cross_compiling=maybe
    1229     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1230     If a cross compiler is detected then cross compile mode will be used." >&2
     1188    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
     1189    If a cross compiler is detected then cross compile mode will be used" >&2
    12311190  elif test "x$build_alias" != "x$host_alias"; then
    12321191    cross_compiling=yes
     
    12431202ac_ls_di=`ls -di .` &&
    12441203ac_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; }; }
     1204  as_fn_error $? "working directory cannot be determined"
    12471205test "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; }; }
     1206  as_fn_error $? "pwd does not report name of working directory"
    12501207
    12511208
     
    12861243if test ! -r "$srcdir/$ac_unique_file"; then
    12871244  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1288   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1289    { (exit 1); exit 1; }; }
     1245  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12901246fi
    12911247ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12921248ac_abs_confdir=`(
    1293     cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1294    { (exit 1); exit 1; }; }
     1249    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    12951250    pwd)`
    12961251# When building in place, set srcdir=.
     
    13321287      --help=recursive    display the short help of all the included packages
    13331288  -V, --version           display version information and exit
    1334   -q, --quiet, --silent   do not print \`checking...' messages
     1289  -q, --quiet, --silent   do not print \`checking ...' messages
    13351290      --cache-file=FILE   cache test results in FILE [disabled]
    13361291  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14141369              nonstandard directory <lib dir>
    14151370  LIBS        libraries to pass to the linker, e.g. -l<library>
    1416   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1371  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14171372              you have headers in a nonstandard directory <include dir>
    14181373  CXX         C++ compiler command
    14191374  CXXFLAGS    C++ compiler flags
    1420   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
    1421               the first program found out of: `bison -y', `byacc', `yacc'.
     1375  YACC        The `Yet Another Compiler Compiler' implementation to use.
     1376              Defaults to the first program found out of: `bison -y', `byacc',
     1377              `yacc'.
    14221378  YFLAGS      The list of arguments that will be passed by default to $YACC.
    14231379              This script will default YFLAGS to the empty string to avoid a
     
    14281384it to find libraries and programs with nonstandard names/locations.
    14291385
     1386Report bugs to the package provider.
    14301387_ACEOF
    14311388ac_status=$?
     
    14911448  cat <<\_ACEOF
    14921449configure
    1493 generated by GNU Autoconf 2.63
    1494 
    1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1496 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1450generated by GNU Autoconf 2.68
     1451
     1452Copyright (C) 2010 Free Software Foundation, Inc.
    14971453This configure script is free software; the Free Software Foundation
    14981454gives unlimited permission to copy, distribute and modify it.
     
    15001456  exit
    15011457fi
     1458
     1459## ------------------------ ##
     1460## Autoconf initialization. ##
     1461## ------------------------ ##
     1462
     1463# ac_fn_c_try_compile LINENO
     1464# --------------------------
     1465# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1466ac_fn_c_try_compile ()
     1467{
     1468  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1469  rm -f conftest.$ac_objext
     1470  if { { ac_try="$ac_compile"
     1471case "(($ac_try" in
     1472  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1473  *) ac_try_echo=$ac_try;;
     1474esac
     1475eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1476$as_echo "$ac_try_echo"; } >&5
     1477  (eval "$ac_compile") 2>conftest.err
     1478  ac_status=$?
     1479  if test -s conftest.err; then
     1480    grep -v '^ *+' conftest.err >conftest.er1
     1481    cat conftest.er1 >&5
     1482    mv -f conftest.er1 conftest.err
     1483  fi
     1484  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1485  test $ac_status = 0; } && {
     1486     test -z "$ac_c_werror_flag" ||
     1487     test ! -s conftest.err
     1488       } && test -s conftest.$ac_objext; then :
     1489  ac_retval=0
     1490else
     1491  $as_echo "$as_me: failed program was:" >&5
     1492sed 's/^/| /' conftest.$ac_ext >&5
     1493
     1494    ac_retval=1
     1495fi
     1496  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1497  as_fn_set_status $ac_retval
     1498
     1499} # ac_fn_c_try_compile
     1500
     1501# ac_fn_cxx_try_compile LINENO
     1502# ----------------------------
     1503# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1504ac_fn_cxx_try_compile ()
     1505{
     1506  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1507  rm -f conftest.$ac_objext
     1508  if { { ac_try="$ac_compile"
     1509case "(($ac_try" in
     1510  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1511  *) ac_try_echo=$ac_try;;
     1512esac
     1513eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1514$as_echo "$ac_try_echo"; } >&5
     1515  (eval "$ac_compile") 2>conftest.err
     1516  ac_status=$?
     1517  if test -s conftest.err; then
     1518    grep -v '^ *+' conftest.err >conftest.er1
     1519    cat conftest.er1 >&5
     1520    mv -f conftest.er1 conftest.err
     1521  fi
     1522  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1523  test $ac_status = 0; } && {
     1524     test -z "$ac_cxx_werror_flag" ||
     1525     test ! -s conftest.err
     1526       } && test -s conftest.$ac_objext; then :
     1527  ac_retval=0
     1528else
     1529  $as_echo "$as_me: failed program was:" >&5
     1530sed 's/^/| /' conftest.$ac_ext >&5
     1531
     1532    ac_retval=1
     1533fi
     1534  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1535  as_fn_set_status $ac_retval
     1536
     1537} # ac_fn_cxx_try_compile
     1538
     1539# ac_fn_c_try_cpp LINENO
     1540# ----------------------
     1541# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1542ac_fn_c_try_cpp ()
     1543{
     1544  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1545  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1546case "(($ac_try" in
     1547  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1548  *) ac_try_echo=$ac_try;;
     1549esac
     1550eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1551$as_echo "$ac_try_echo"; } >&5
     1552  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1553  ac_status=$?
     1554  if test -s conftest.err; then
     1555    grep -v '^ *+' conftest.err >conftest.er1
     1556    cat conftest.er1 >&5
     1557    mv -f conftest.er1 conftest.err
     1558  fi
     1559  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1560  test $ac_status = 0; } > conftest.i && {
     1561     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1562     test ! -s conftest.err
     1563       }; then :
     1564  ac_retval=0
     1565else
     1566  $as_echo "$as_me: failed program was:" >&5
     1567sed 's/^/| /' conftest.$ac_ext >&5
     1568
     1569    ac_retval=1
     1570fi
     1571  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1572  as_fn_set_status $ac_retval
     1573
     1574} # ac_fn_c_try_cpp
     1575
     1576# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1577# -------------------------------------------------------
     1578# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1579# the include files in INCLUDES and setting the cache variable VAR
     1580# accordingly.
     1581ac_fn_c_check_header_mongrel ()
     1582{
     1583  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1584  if eval \${$3+:} false; then :
     1585  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1586$as_echo_n "checking for $2... " >&6; }
     1587if eval \${$3+:} false; then :
     1588  $as_echo_n "(cached) " >&6
     1589fi
     1590eval ac_res=\$$3
     1591           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1592$as_echo "$ac_res" >&6; }
     1593else
     1594  # Is the header compilable?
     1595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1596$as_echo_n "checking $2 usability... " >&6; }
     1597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1598/* end confdefs.h.  */
     1599$4
     1600#include <$2>
     1601_ACEOF
     1602if ac_fn_c_try_compile "$LINENO"; then :
     1603  ac_header_compiler=yes
     1604else
     1605  ac_header_compiler=no
     1606fi
     1607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1609$as_echo "$ac_header_compiler" >&6; }
     1610
     1611# Is the header present?
     1612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1613$as_echo_n "checking $2 presence... " >&6; }
     1614cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1615/* end confdefs.h.  */
     1616#include <$2>
     1617_ACEOF
     1618if ac_fn_c_try_cpp "$LINENO"; then :
     1619  ac_header_preproc=yes
     1620else
     1621  ac_header_preproc=no
     1622fi
     1623rm -f conftest.err conftest.i conftest.$ac_ext
     1624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1625$as_echo "$ac_header_preproc" >&6; }
     1626
     1627# So?  What about this header?
     1628case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1629  yes:no: )
     1630    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1631$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1632    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1633$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1634    ;;
     1635  no:yes:* )
     1636    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1637$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1638    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1639$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1640    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1641$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1642    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1643$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1644    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1645$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1646    ;;
     1647esac
     1648  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1649$as_echo_n "checking for $2... " >&6; }
     1650if eval \${$3+:} false; then :
     1651  $as_echo_n "(cached) " >&6
     1652else
     1653  eval "$3=\$ac_header_compiler"
     1654fi
     1655eval ac_res=\$$3
     1656           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1657$as_echo "$ac_res" >&6; }
     1658fi
     1659  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1660
     1661} # ac_fn_c_check_header_mongrel
     1662
     1663# ac_fn_c_try_run LINENO
     1664# ----------------------
     1665# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1666# that executables *can* be run.
     1667ac_fn_c_try_run ()
     1668{
     1669  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1670  if { { ac_try="$ac_link"
     1671case "(($ac_try" in
     1672  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1673  *) ac_try_echo=$ac_try;;
     1674esac
     1675eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1676$as_echo "$ac_try_echo"; } >&5
     1677  (eval "$ac_link") 2>&5
     1678  ac_status=$?
     1679  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1680  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1681  { { case "(($ac_try" in
     1682  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1683  *) ac_try_echo=$ac_try;;
     1684esac
     1685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1686$as_echo "$ac_try_echo"; } >&5
     1687  (eval "$ac_try") 2>&5
     1688  ac_status=$?
     1689  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1690  test $ac_status = 0; }; }; then :
     1691  ac_retval=0
     1692else
     1693  $as_echo "$as_me: program exited with status $ac_status" >&5
     1694       $as_echo "$as_me: failed program was:" >&5
     1695sed 's/^/| /' conftest.$ac_ext >&5
     1696
     1697       ac_retval=$ac_status
     1698fi
     1699  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1700  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1701  as_fn_set_status $ac_retval
     1702
     1703} # ac_fn_c_try_run
     1704
     1705# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1706# -------------------------------------------------------
     1707# Tests whether HEADER exists and can be compiled using the include files in
     1708# INCLUDES, setting the cache variable VAR accordingly.
     1709ac_fn_c_check_header_compile ()
     1710{
     1711  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1712  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1713$as_echo_n "checking for $2... " >&6; }
     1714if eval \${$3+:} false; then :
     1715  $as_echo_n "(cached) " >&6
     1716else
     1717  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1718/* end confdefs.h.  */
     1719$4
     1720#include <$2>
     1721_ACEOF
     1722if ac_fn_c_try_compile "$LINENO"; then :
     1723  eval "$3=yes"
     1724else
     1725  eval "$3=no"
     1726fi
     1727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1728fi
     1729eval ac_res=\$$3
     1730           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1731$as_echo "$ac_res" >&6; }
     1732  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1733
     1734} # ac_fn_c_check_header_compile
     1735
     1736# ac_fn_c_try_link LINENO
     1737# -----------------------
     1738# Try to link conftest.$ac_ext, and return whether this succeeded.
     1739ac_fn_c_try_link ()
     1740{
     1741  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1742  rm -f conftest.$ac_objext conftest$ac_exeext
     1743  if { { ac_try="$ac_link"
     1744case "(($ac_try" in
     1745  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1746  *) ac_try_echo=$ac_try;;
     1747esac
     1748eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1749$as_echo "$ac_try_echo"; } >&5
     1750  (eval "$ac_link") 2>conftest.err
     1751  ac_status=$?
     1752  if test -s conftest.err; then
     1753    grep -v '^ *+' conftest.err >conftest.er1
     1754    cat conftest.er1 >&5
     1755    mv -f conftest.er1 conftest.err
     1756  fi
     1757  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1758  test $ac_status = 0; } && {
     1759     test -z "$ac_c_werror_flag" ||
     1760     test ! -s conftest.err
     1761       } && test -s conftest$ac_exeext && {
     1762     test "$cross_compiling" = yes ||
     1763     $as_test_x conftest$ac_exeext
     1764       }; then :
     1765  ac_retval=0
     1766else
     1767  $as_echo "$as_me: failed program was:" >&5
     1768sed 's/^/| /' conftest.$ac_ext >&5
     1769
     1770    ac_retval=1
     1771fi
     1772  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1773  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1774  # interfere with the next link command; also delete a directory that is
     1775  # left behind by Apple's compiler.  We do this before executing the actions.
     1776  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1777  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1778  as_fn_set_status $ac_retval
     1779
     1780} # ac_fn_c_try_link
     1781
     1782# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     1783# -------------------------------------------
     1784# Tests whether TYPE exists after having included INCLUDES, setting cache
     1785# variable VAR accordingly.
     1786ac_fn_c_check_type ()
     1787{
     1788  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1789  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1790$as_echo_n "checking for $2... " >&6; }
     1791if eval \${$3+:} false; then :
     1792  $as_echo_n "(cached) " >&6
     1793else
     1794  eval "$3=no"
     1795  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1796/* end confdefs.h.  */
     1797$4
     1798int
     1799main ()
     1800{
     1801if (sizeof ($2))
     1802     return 0;
     1803  ;
     1804  return 0;
     1805}
     1806_ACEOF
     1807if ac_fn_c_try_compile "$LINENO"; then :
     1808  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1809/* end confdefs.h.  */
     1810$4
     1811int
     1812main ()
     1813{
     1814if (sizeof (($2)))
     1815        return 0;
     1816  ;
     1817  return 0;
     1818}
     1819_ACEOF
     1820if ac_fn_c_try_compile "$LINENO"; then :
     1821
     1822else
     1823  eval "$3=yes"
     1824fi
     1825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1826fi
     1827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1828fi
     1829eval ac_res=\$$3
     1830           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1831$as_echo "$ac_res" >&6; }
     1832  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1833
     1834} # ac_fn_c_check_type
     1835
     1836# ac_fn_c_check_func LINENO FUNC VAR
     1837# ----------------------------------
     1838# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1839ac_fn_c_check_func ()
     1840{
     1841  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1842  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1843$as_echo_n "checking for $2... " >&6; }
     1844if eval \${$3+:} false; then :
     1845  $as_echo_n "(cached) " >&6
     1846else
     1847  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1848/* end confdefs.h.  */
     1849/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1850   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1851#define $2 innocuous_$2
     1852
     1853/* System header to define __stub macros and hopefully few prototypes,
     1854    which can conflict with char $2 (); below.
     1855    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1856    <limits.h> exists even on freestanding compilers.  */
     1857
     1858#ifdef __STDC__
     1859# include <limits.h>
     1860#else
     1861# include <assert.h>
     1862#endif
     1863
     1864#undef $2
     1865
     1866/* Override any GCC internal prototype to avoid an error.
     1867   Use char because int might match the return type of a GCC
     1868   builtin and then its argument prototype would still apply.  */
     1869#ifdef __cplusplus
     1870extern "C"
     1871#endif
     1872char $2 ();
     1873/* The GNU C library defines this for functions which it implements
     1874    to always fail with ENOSYS.  Some functions are actually named
     1875    something starting with __ and the normal name is an alias.  */
     1876#if defined __stub_$2 || defined __stub___$2
     1877choke me
     1878#endif
     1879
     1880int
     1881main ()
     1882{
     1883return $2 ();
     1884  ;
     1885  return 0;
     1886}
     1887_ACEOF
     1888if ac_fn_c_try_link "$LINENO"; then :
     1889  eval "$3=yes"
     1890else
     1891  eval "$3=no"
     1892fi
     1893rm -f core conftest.err conftest.$ac_objext \
     1894    conftest$ac_exeext conftest.$ac_ext
     1895fi
     1896eval ac_res=\$$3
     1897           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1898$as_echo "$ac_res" >&6; }
     1899  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1900
     1901} # ac_fn_c_check_func
     1902
     1903# ac_fn_cxx_try_run LINENO
     1904# ------------------------
     1905# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1906# that executables *can* be run.
     1907ac_fn_cxx_try_run ()
     1908{
     1909  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1910  if { { ac_try="$ac_link"
     1911case "(($ac_try" in
     1912  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1913  *) ac_try_echo=$ac_try;;
     1914esac
     1915eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1916$as_echo "$ac_try_echo"; } >&5
     1917  (eval "$ac_link") 2>&5
     1918  ac_status=$?
     1919  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1920  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1921  { { case "(($ac_try" in
     1922  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1923  *) ac_try_echo=$ac_try;;
     1924esac
     1925eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1926$as_echo "$ac_try_echo"; } >&5
     1927  (eval "$ac_try") 2>&5
     1928  ac_status=$?
     1929  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1930  test $ac_status = 0; }; }; then :
     1931  ac_retval=0
     1932else
     1933  $as_echo "$as_me: program exited with status $ac_status" >&5
     1934       $as_echo "$as_me: failed program was:" >&5
     1935sed 's/^/| /' conftest.$ac_ext >&5
     1936
     1937       ac_retval=$ac_status
     1938fi
     1939  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1940  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1941  as_fn_set_status $ac_retval
     1942
     1943} # ac_fn_cxx_try_run
    15021944cat >config.log <<_ACEOF
    15031945This file contains any messages produced by compilers while
     
    15051947
    15061948It was created by $as_me, which was
    1507 generated by GNU Autoconf 2.63.  Invocation command line was
     1949generated by GNU Autoconf 2.68.  Invocation command line was
    15081950
    15091951  $ $0 $@
     
    15411983  IFS=$as_save_IFS
    15421984  test -z "$as_dir" && as_dir=.
    1543   $as_echo "PATH: $as_dir"
    1544 done
     1985    $as_echo "PATH: $as_dir"
     1986  done
    15451987IFS=$as_save_IFS
    15461988
     
    15792021    esac
    15802022    case $ac_pass in
    1581     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2023    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15822024    2)
    1583       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2025      as_fn_append ac_configure_args1 " '$ac_arg'"
    15842026      if test $ac_must_keep_next = true; then
    15852027    ac_must_keep_next=false # Got value, back to normal.
     
    15972039    esac
    15982040      fi
    1599       ac_configure_args="$ac_configure_args '$ac_arg'"
     2041      as_fn_append ac_configure_args " '$ac_arg'"
    16002042      ;;
    16012043    esac
    16022044  done
    16032045done
    1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2046{ ac_configure_args0=; unset ac_configure_args0;}
     2047{ ac_configure_args1=; unset ac_configure_args1;}
    16062048
    16072049# When interrupted or exit'd, cleanup temporary files, and complete
     
    16152057    echo
    16162058
    1617     cat <<\_ASBOX
    1618 ## ---------------- ##
     2059    $as_echo "## ---------------- ##
    16192060## Cache variables. ##
    1620 ## ---------------- ##
    1621 _ASBOX
     2061## ---------------- ##"
    16222062    echo
    16232063    # The following way of writing the cache mishandles newlines in values,
     
    16282068    *${as_nl}*)
    16292069      case $ac_var in #(
    1630       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2070      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    16312071$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16322072      esac
     
    16342074      _ | IFS | as_nl) ;; #(
    16352075      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1636       *) $as_unset $ac_var ;;
     2076      *) { eval $ac_var=; unset $ac_var;} ;;
    16372077      esac ;;
    16382078    esac
     
    16532093    echo
    16542094
    1655     cat <<\_ASBOX
    1656 ## ----------------- ##
     2095    $as_echo "## ----------------- ##
    16572096## Output variables. ##
    1658 ## ----------------- ##
    1659 _ASBOX
     2097## ----------------- ##"
    16602098    echo
    16612099    for ac_var in $ac_subst_vars
     
    16702108
    16712109    if test -n "$ac_subst_files"; then
    1672       cat <<\_ASBOX
    1673 ## ------------------- ##
     2110      $as_echo "## ------------------- ##
    16742111## File substitutions. ##
    1675 ## ------------------- ##
    1676 _ASBOX
     2112## ------------------- ##"
    16772113      echo
    16782114      for ac_var in $ac_subst_files
     
    16882124
    16892125    if test -s confdefs.h; then
    1690       cat <<\_ASBOX
    1691 ## ----------- ##
     2126      $as_echo "## ----------- ##
    16922127## confdefs.h. ##
    1693 ## ----------- ##
    1694 _ASBOX
     2128## ----------- ##"
    16952129      echo
    16962130      cat confdefs.h
     
    17062140' 0
    17072141for ac_signal in 1 2 13 15; do
    1708   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2142  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17092143done
    17102144ac_signal=0
     
    17132147rm -f -r conftest* confdefs.h
    17142148
     2149$as_echo "/* confdefs.h */" > confdefs.h
     2150
    17152151# Predefined preprocessor variables.
    17162152
     
    17192155_ACEOF
    17202156
    1721 
    17222157cat >>confdefs.h <<_ACEOF
    17232158#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17242159_ACEOF
    17252160
    1726 
    17272161cat >>confdefs.h <<_ACEOF
    17282162#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17292163_ACEOF
    17302164
    1731 
    17322165cat >>confdefs.h <<_ACEOF
    17332166#define PACKAGE_STRING "$PACKAGE_STRING"
    17342167_ACEOF
    17352168
    1736 
    17372169cat >>confdefs.h <<_ACEOF
    17382170#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2171_ACEOF
     2172
     2173cat >>confdefs.h <<_ACEOF
     2174#define PACKAGE_URL "$PACKAGE_URL"
    17392175_ACEOF
    17402176
     
    17452181ac_site_file2=NONE
    17462182if test -n "$CONFIG_SITE"; then
    1747   ac_site_file1=$CONFIG_SITE
     2183  # We do not want a PATH search for config.site.
     2184  case $CONFIG_SITE in #((
     2185    -*)  ac_site_file1=./$CONFIG_SITE;;
     2186    */*) ac_site_file1=$CONFIG_SITE;;
     2187    *)   ac_site_file1=./$CONFIG_SITE;;
     2188  esac
    17482189elif test "x$prefix" != xNONE; then
    17492190  ac_site_file1=$prefix/share/config.site
     
    17562197do
    17572198  test "x$ac_site_file" = xNONE && continue
    1758   if test -r "$ac_site_file"; then
    1759     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2199  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2200    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17602201$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17612202    sed 's/^/| /' "$ac_site_file" >&5
    1762     . "$ac_site_file"
     2203    . "$ac_site_file" \
     2204      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2206as_fn_error $? "failed to load site script $ac_site_file
     2207See \`config.log' for more details" "$LINENO" 5; }
    17632208  fi
    17642209done
    17652210
    17662211if test -r "$cache_file"; then
    1767   # Some versions of bash will fail to source /dev/null (special
    1768   # files actually), so we avoid doing that.
    1769   if test -f "$cache_file"; then
    1770     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2212  # Some versions of bash will fail to source /dev/null (special files
     2213  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2214  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2215    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17712216$as_echo "$as_me: loading cache $cache_file" >&6;}
    17722217    case $cache_file in
     
    17762221  fi
    17772222else
    1778   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2223  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17792224$as_echo "$as_me: creating cache $cache_file" >&6;}
    17802225  >$cache_file
     
    17912236  case $ac_old_set,$ac_new_set in
    17922237    set,)
    1793       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2238      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    17942239$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    17952240      ac_cache_corrupted=: ;;
    17962241    ,set)
    1797       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2242      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    17982243$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    17992244      ac_cache_corrupted=: ;;
     
    18052250    ac_new_val_w=`echo x $ac_new_val`
    18062251    if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1807       { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2252      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18082253$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18092254      ac_cache_corrupted=:
    18102255    else
    1811       { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2256      { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18122257$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18132258      eval $ac_var=\$ac_old_val
    18142259    fi
    1815     { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2260    { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18162261$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1817     { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2262    { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18182263$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18192264      fi;;
     
    18272272    case " $ac_configure_args " in
    18282273      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1829       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2274      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18302275    esac
    18312276  fi
    18322277done
    18332278if $ac_cache_corrupted; then
    1834   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2279  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    18352280$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1836   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2281  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18372282$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1838   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1839 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1840    { (exit 1); exit 1; }; }
    1841 fi
    1842 
    1843 
    1844 
    1845 
    1846 
    1847 
    1848 
    1849 
    1850 
    1851 
    1852 
    1853 
    1854 
    1855 
    1856 
    1857 
     2283  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2284fi
     2285## -------------------- ##
     2286## Main body of script. ##
     2287## -------------------- ##
    18582288
    18592289ac_ext=c
     
    18832313USE_FASTCGI=0
    18842314if test USE_FASTCGI = 1; then
    1885 cat >>confdefs.h <<\_ACEOF
    1886 #define USE_FASTCGI 1
    1887 _ACEOF
     2315$as_echo "#define USE_FASTCGI 1" >>confdefs.h
    18882316
    18892317
     
    18912319
    18922320if test USE_LANGACTION = 1; then
    1893 cat >>confdefs.h <<\_ACEOF
    1894 #define USE_LANGACTION 1
    1895 _ACEOF
     2321$as_echo "#define USE_LANGACTION 1" >>confdefs.h
    18962322
    18972323
     
    18992325
    19002326# Check whether --enable-corba was given.
    1901 if test "${enable_corba+set}" = set; then
     2327if test "${enable_corba+set}" = set; then :
    19022328  enableval=$enable_corba; USE_CORBA=$enableval
    19032329else
     
    19072333if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    19082334  USE_CORBA=1
    1909   cat >>confdefs.h <<\_ACEOF
    1910 #define USE_CORBA /**/
    1911 _ACEOF
     2335  $as_echo "#define USE_CORBA /**/" >>confdefs.h
    19122336
    19132337else
     
    19182342
    19192343# Check whether --with-micodir was given.
    1920 if test "${with_micodir+set}" = set; then
     2344if test "${with_micodir+set}" = set; then :
    19212345  withval=$with_micodir; MICO_DIR=$withval
    19222346else
     
    19312355
    19322356# Check whether --enable-z3950 was given.
    1933 if test "${enable_z3950+set}" = set; then
     2357if test "${enable_z3950+set}" = set; then :
    19342358  enableval=$enable_z3950; USE_Z3950=$enableval
    19352359else
     
    19392363if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    19402364  USE_Z3950=1
    1941   cat >>confdefs.h <<\_ACEOF
    1942 #define USE_Z3950 /**/
    1943 _ACEOF
     2365  $as_echo "#define USE_Z3950 /**/" >>confdefs.h
    19442366
    19452367else
     
    19492371
    19502372# Check whether --enable-yaz was given.
    1951 if test "${enable_yaz+set}" = set; then
     2373if test "${enable_yaz+set}" = set; then :
    19522374  enableval=$enable_yaz; USE_YAZ=$enableval
    19532375else
     
    19572379if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
    19582380  USE_YAZ=1
    1959   cat >>confdefs.h <<\_ACEOF
    1960 #define USE_YAZ /**/
    1961 _ACEOF
     2381  $as_echo "#define USE_YAZ /**/" >>confdefs.h
    19622382
    19632383else
     
    19672387
    19682388# Check whether --enable-java was given.
    1969 if test "${enable_java+set}" = set; then
     2389if test "${enable_java+set}" = set; then :
    19702390  enableval=$enable_java; ENABLE_JAVA=$enableval
    19712391else
     
    19872407
    19882408# Check whether --enable-wvware was given.
    1989 if test "${enable_wvware+set}" = set; then
     2409if test "${enable_wvware+set}" = set; then :
    19902410  enableval=$enable_wvware; USE_WVWARE=$enableval
    19912411else
     
    19952415if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then
    19962416  USE_WVWARE=1
    1997   cat >>confdefs.h <<\_ACEOF
    1998 #define USE_WVWARE /**/
    1999 _ACEOF
     2417  $as_echo "#define USE_WVWARE /**/" >>confdefs.h
    20002418
    20012419else
     
    20052423
    20062424# Check whether --enable-jdbm was given.
    2007 if test "${enable_jdbm+set}" = set; then
     2425if test "${enable_jdbm+set}" = set; then :
    20082426  enableval=$enable_jdbm; USE_JDBM=$enableval
    20092427else
     
    20132431if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
    20142432  USE_JDBM=1
    2015   cat >>confdefs.h <<\_ACEOF
    2016 #define USE_JDBM /**/
    2017 _ACEOF
     2433  $as_echo "#define USE_JDBM /**/" >>confdefs.h
    20182434
    20192435else
     
    20232439
    20242440# Check whether --enable-gdbm was given.
    2025 if test "${enable_gdbm+set}" = set; then
     2441if test "${enable_gdbm+set}" = set; then :
    20262442  enableval=$enable_gdbm; USE_GDBM=$enableval
    20272443else
     
    20312447if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
    20322448  USE_GDBM=1
    2033   cat >>confdefs.h <<\_ACEOF
    2034 #define USE_GDBM /**/
    2035 _ACEOF
     2449  $as_echo "#define USE_GDBM /**/" >>confdefs.h
    20362450
    20372451else
     
    20412455
    20422456# Check whether --enable-accentfold was given.
    2043 if test "${enable_accentfold+set}" = set; then
     2457if test "${enable_accentfold+set}" = set; then :
    20442458  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
    20452459else
     
    20492463if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    20502464  ENABLE_ACCENTFOLD=1
    2051   cat >>confdefs.h <<\_ACEOF
    2052 #define ENABLE_ACCENTFOLD /**/
    2053 _ACEOF
     2465  $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
    20542466
    20552467else
     
    20592471
    20602472# Check whether --enable-sqlite was given.
    2061 if test "${enable_sqlite+set}" = set; then
     2473if test "${enable_sqlite+set}" = set; then :
    20622474  enableval=$enable_sqlite; USE_SQLITE=$enableval
    20632475else
     
    20672479if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
    20682480  USE_SQLITE=1
    2069   cat >>confdefs.h <<\_ACEOF
    2070 #define USE_SQLITE /**/
    2071 _ACEOF
     2481  $as_echo "#define USE_SQLITE /**/" >>confdefs.h
    20722482
    20732483else
     
    20922502  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    20932503set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2094 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20952505$as_echo_n "checking for $ac_word... " >&6; }
    2096 if test "${ac_cv_prog_CC+set}" = set; then
     2506if ${ac_cv_prog_CC+:} false; then :
    20972507  $as_echo_n "(cached) " >&6
    20982508else
     
    21052515  IFS=$as_save_IFS
    21062516  test -z "$as_dir" && as_dir=.
    2107   for ac_exec_ext in '' $ac_executable_extensions; do
     2517    for ac_exec_ext in '' $ac_executable_extensions; do
    21082518  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21092519    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2110     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2520    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21112521    break 2
    21122522  fi
    21132523done
    2114 done
     2524  done
    21152525IFS=$as_save_IFS
    21162526
     
    21192529CC=$ac_cv_prog_CC
    21202530if test -n "$CC"; then
    2121   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21222532$as_echo "$CC" >&6; }
    21232533else
    2124   { $as_echo "$as_me:$LINENO: result: no" >&5
     2534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21252535$as_echo "no" >&6; }
    21262536fi
     
    21322542  # Extract the first word of "gcc", so it can be a program name with args.
    21332543set dummy gcc; ac_word=$2
    2134 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21352545$as_echo_n "checking for $ac_word... " >&6; }
    2136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2546if ${ac_cv_prog_ac_ct_CC+:} false; then :
    21372547  $as_echo_n "(cached) " >&6
    21382548else
     
    21452555  IFS=$as_save_IFS
    21462556  test -z "$as_dir" && as_dir=.
    2147   for ac_exec_ext in '' $ac_executable_extensions; do
     2557    for ac_exec_ext in '' $ac_executable_extensions; do
    21482558  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21492559    ac_cv_prog_ac_ct_CC="gcc"
    2150     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2560    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21512561    break 2
    21522562  fi
    21532563done
    2154 done
     2564  done
    21552565IFS=$as_save_IFS
    21562566
     
    21592569ac_ct_CC=$ac_cv_prog_ac_ct_CC
    21602570if test -n "$ac_ct_CC"; then
    2161   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    21622572$as_echo "$ac_ct_CC" >&6; }
    21632573else
    2164   { $as_echo "$as_me:$LINENO: result: no" >&5
     2574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21652575$as_echo "no" >&6; }
    21662576fi
     
    21712581    case $cross_compiling:$ac_tool_warned in
    21722582yes:)
    2173 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2583{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    21742584$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    21752585ac_tool_warned=yes ;;
     
    21852595    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    21862596set dummy ${ac_tool_prefix}cc; ac_word=$2
    2187 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21882598$as_echo_n "checking for $ac_word... " >&6; }
    2189 if test "${ac_cv_prog_CC+set}" = set; then
     2599if ${ac_cv_prog_CC+:} false; then :
    21902600  $as_echo_n "(cached) " >&6
    21912601else
     
    21982608  IFS=$as_save_IFS
    21992609  test -z "$as_dir" && as_dir=.
    2200   for ac_exec_ext in '' $ac_executable_extensions; do
     2610    for ac_exec_ext in '' $ac_executable_extensions; do
    22012611  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    22022612    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2203     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2613    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22042614    break 2
    22052615  fi
    22062616done
    2207 done
     2617  done
    22082618IFS=$as_save_IFS
    22092619
     
    22122622CC=$ac_cv_prog_CC
    22132623if test -n "$CC"; then
    2214   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    22152625$as_echo "$CC" >&6; }
    22162626else
    2217   { $as_echo "$as_me:$LINENO: result: no" >&5
     2627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22182628$as_echo "no" >&6; }
    22192629fi
     
    22252635  # Extract the first word of "cc", so it can be a program name with args.
    22262636set dummy cc; ac_word=$2
    2227 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22282638$as_echo_n "checking for $ac_word... " >&6; }
    2229 if test "${ac_cv_prog_CC+set}" = set; then
     2639if ${ac_cv_prog_CC+:} false; then :
    22302640  $as_echo_n "(cached) " >&6
    22312641else
     
    22392649  IFS=$as_save_IFS
    22402650  test -z "$as_dir" && as_dir=.
    2241   for ac_exec_ext in '' $ac_executable_extensions; do
     2651    for ac_exec_ext in '' $ac_executable_extensions; do
    22422652  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    22432653    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    22462656     fi
    22472657    ac_cv_prog_CC="cc"
    2248     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2658    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22492659    break 2
    22502660  fi
    22512661done
    2252 done
     2662  done
    22532663IFS=$as_save_IFS
    22542664
     
    22692679CC=$ac_cv_prog_CC
    22702680if test -n "$CC"; then
    2271   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    22722682$as_echo "$CC" >&6; }
    22732683else
    2274   { $as_echo "$as_me:$LINENO: result: no" >&5
     2684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22752685$as_echo "no" >&6; }
    22762686fi
     
    22842694    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    22852695set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2286 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22872697$as_echo_n "checking for $ac_word... " >&6; }
    2288 if test "${ac_cv_prog_CC+set}" = set; then
     2698if ${ac_cv_prog_CC+:} false; then :
    22892699  $as_echo_n "(cached) " >&6
    22902700else
     
    22972707  IFS=$as_save_IFS
    22982708  test -z "$as_dir" && as_dir=.
    2299   for ac_exec_ext in '' $ac_executable_extensions; do
     2709    for ac_exec_ext in '' $ac_executable_extensions; do
    23002710  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    23012711    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2302     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2712    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    23032713    break 2
    23042714  fi
    23052715done
    2306 done
     2716  done
    23072717IFS=$as_save_IFS
    23082718
     
    23112721CC=$ac_cv_prog_CC
    23122722if test -n "$CC"; then
    2313   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    23142724$as_echo "$CC" >&6; }
    23152725else
    2316   { $as_echo "$as_me:$LINENO: result: no" >&5
     2726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    23172727$as_echo "no" >&6; }
    23182728fi
     
    23282738  # Extract the first word of "$ac_prog", so it can be a program name with args.
    23292739set dummy $ac_prog; ac_word=$2
    2330 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    23312741$as_echo_n "checking for $ac_word... " >&6; }
    2332 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2742if ${ac_cv_prog_ac_ct_CC+:} false; then :
    23332743  $as_echo_n "(cached) " >&6
    23342744else
     
    23412751  IFS=$as_save_IFS
    23422752  test -z "$as_dir" && as_dir=.
    2343   for ac_exec_ext in '' $ac_executable_extensions; do
     2753    for ac_exec_ext in '' $ac_executable_extensions; do
    23442754  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    23452755    ac_cv_prog_ac_ct_CC="$ac_prog"
    2346     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2756    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    23472757    break 2
    23482758  fi
    23492759done
    2350 done
     2760  done
    23512761IFS=$as_save_IFS
    23522762
     
    23552765ac_ct_CC=$ac_cv_prog_ac_ct_CC
    23562766if test -n "$ac_ct_CC"; then
    2357   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    23582768$as_echo "$ac_ct_CC" >&6; }
    23592769else
    2360   { $as_echo "$as_me:$LINENO: result: no" >&5
     2770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    23612771$as_echo "no" >&6; }
    23622772fi
     
    23712781    case $cross_compiling:$ac_tool_warned in
    23722782yes:)
    2373 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2783{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    23742784$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    23752785ac_tool_warned=yes ;;
     
    23822792
    23832793
    2384 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2794test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    23852795$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2386 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2387 See \`config.log' for more details." >&5
    2388 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2389 See \`config.log' for more details." >&2;}
    2390    { (exit 1); exit 1; }; }; }
     2796as_fn_error $? "no acceptable C compiler found in \$PATH
     2797See \`config.log' for more details" "$LINENO" 5; }
    23912798
    23922799# Provide some information about the compiler.
    2393 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     2800$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    23942801set X $ac_compile
    23952802ac_compiler=$2
    2396 { (ac_try="$ac_compiler --version >&5"
     2803for ac_option in --version -v -V -qversion; do
     2804  { { ac_try="$ac_compiler $ac_option >&5"
    23972805case "(($ac_try" in
    23982806  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23992807  *) ac_try_echo=$ac_try;;
    24002808esac
    2401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2402 $as_echo "$ac_try_echo") >&5
    2403   (eval "$ac_compiler --version >&5") 2>&5
     2809eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2810$as_echo "$ac_try_echo"; } >&5
     2811  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    24042812  ac_status=$?
    2405   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2406   (exit $ac_status); }
    2407 { (ac_try="$ac_compiler -v >&5"
    2408 case "(($ac_try" in
    2409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2410   *) ac_try_echo=$ac_try;;
    2411 esac
    2412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2413 $as_echo "$ac_try_echo") >&5
    2414   (eval "$ac_compiler -v >&5") 2>&5
    2415   ac_status=$?
    2416   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2417   (exit $ac_status); }
    2418 { (ac_try="$ac_compiler -V >&5"
    2419 case "(($ac_try" in
    2420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2421   *) ac_try_echo=$ac_try;;
    2422 esac
    2423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2424 $as_echo "$ac_try_echo") >&5
    2425   (eval "$ac_compiler -V >&5") 2>&5
    2426   ac_status=$?
    2427   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2428   (exit $ac_status); }
    2429 
    2430 cat >conftest.$ac_ext <<_ACEOF
    2431 /* confdefs.h.  */
    2432 _ACEOF
    2433 cat confdefs.h >>conftest.$ac_ext
    2434 cat >>conftest.$ac_ext <<_ACEOF
     2813  if test -s conftest.err; then
     2814    sed '10a\
     2815... rest of stderr output deleted ...
     2816         10q' conftest.err >conftest.er1
     2817    cat conftest.er1 >&5
     2818  fi
     2819  rm -f conftest.er1 conftest.err
     2820  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2821  test $ac_status = 0; }
     2822done
     2823
     2824cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    24352825/* end confdefs.h.  */
    24362826
     
    24482838# It will help us diagnose broken compilers, and finding out an intuition
    24492839# of exeext.
    2450 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2451 $as_echo_n "checking for C compiler default output file name... " >&6; }
     2840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     2841$as_echo_n "checking whether the C compiler works... " >&6; }
    24522842ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    24532843
     
    24652855rm -f $ac_rmfiles
    24662856
    2467 if { (ac_try="$ac_link_default"
     2857if { { ac_try="$ac_link_default"
    24682858case "(($ac_try" in
    24692859  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24702860  *) ac_try_echo=$ac_try;;
    24712861esac
    2472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2473 $as_echo "$ac_try_echo") >&5
     2862eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2863$as_echo "$ac_try_echo"; } >&5
    24742864  (eval "$ac_link_default") 2>&5
    24752865  ac_status=$?
    2476   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2477   (exit $ac_status); }; then
     2866  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2867  test $ac_status = 0; }; then :
    24782868  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    24792869# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    24922882    break;;
    24932883    *.* )
    2494         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2884    if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    24952885    then :; else
    24962886       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    25112901  ac_file=''
    25122902fi
    2513 
    2514 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2903if test -z "$ac_file"; then :
     2904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2905$as_echo "no" >&6; }
     2906$as_echo "$as_me: failed program was:" >&5
     2907sed 's/^/| /' conftest.$ac_ext >&5
     2908
     2909{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2910$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2911as_fn_error 77 "C compiler cannot create executables
     2912See \`config.log' for more details" "$LINENO" 5; }
     2913else
     2914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2915$as_echo "yes" >&6; }
     2916fi
     2917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     2918$as_echo_n "checking for C compiler default output file name... " >&6; }
     2919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    25152920$as_echo "$ac_file" >&6; }
    2516 if test -z "$ac_file"; then
    2517   $as_echo "$as_me: failed program was:" >&5
    2518 sed 's/^/| /' conftest.$ac_ext >&5
    2519 
    2520 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2522 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2523 See \`config.log' for more details." >&5
    2524 $as_echo "$as_me: error: C compiler cannot create executables
    2525 See \`config.log' for more details." >&2;}
    2526    { (exit 77); exit 77; }; }; }
    2527 fi
    2528 
    25292921ac_exeext=$ac_cv_exeext
    2530 
    2531 # Check that the compiler produces executables we can run.  If not, either
    2532 # the compiler is broken, or we cross compile.
    2533 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2534 $as_echo_n "checking whether the C compiler works... " >&6; }
    2535 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2536 # If not cross compiling, check that we can run a simple program.
    2537 if test "$cross_compiling" != yes; then
    2538   if { ac_try='./$ac_file'
    2539   { (case "(($ac_try" in
    2540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2541   *) ac_try_echo=$ac_try;;
    2542 esac
    2543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2544 $as_echo "$ac_try_echo") >&5
    2545   (eval "$ac_try") 2>&5
    2546   ac_status=$?
    2547   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2548   (exit $ac_status); }; }; then
    2549     cross_compiling=no
    2550   else
    2551     if test "$cross_compiling" = maybe; then
    2552     cross_compiling=yes
    2553     else
    2554     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2556 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2557 If you meant to cross compile, use \`--host'.
    2558 See \`config.log' for more details." >&5
    2559 $as_echo "$as_me: error: cannot run C compiled programs.
    2560 If you meant to cross compile, use \`--host'.
    2561 See \`config.log' for more details." >&2;}
    2562    { (exit 1); exit 1; }; }; }
    2563     fi
    2564   fi
    2565 fi
    2566 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2567 $as_echo "yes" >&6; }
    25682922
    25692923rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    25702924ac_clean_files=$ac_clean_files_save
    2571 # Check that the compiler produces executables we can run.  If not, either
    2572 # the compiler is broken, or we cross compile.
    2573 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2574 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2575 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2576 $as_echo "$cross_compiling" >&6; }
    2577 
    2578 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    25792926$as_echo_n "checking for suffix of executables... " >&6; }
    2580 if { (ac_try="$ac_link"
     2927if { { ac_try="$ac_link"
    25812928case "(($ac_try" in
    25822929  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25832930  *) ac_try_echo=$ac_try;;
    25842931esac
    2585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2586 $as_echo "$ac_try_echo") >&5
     2932eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2933$as_echo "$ac_try_echo"; } >&5
    25872934  (eval "$ac_link") 2>&5
    25882935  ac_status=$?
    2589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2590   (exit $ac_status); }; then
     2936  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2937  test $ac_status = 0; }; then :
    25912938  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    25922939# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    26032950done
    26042951else
    2605   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2952  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    26062953$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2607 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2608 See \`config.log' for more details." >&5
    2609 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2610 See \`config.log' for more details." >&2;}
    2611    { (exit 1); exit 1; }; }; }
    2612 fi
    2613 
    2614 rm -f conftest$ac_cv_exeext
    2615 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2954as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     2955See \`config.log' for more details" "$LINENO" 5; }
     2956fi
     2957rm -f conftest conftest$ac_cv_exeext
     2958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    26162959$as_echo "$ac_cv_exeext" >&6; }
    26172960
     
    26192962EXEEXT=$ac_cv_exeext
    26202963ac_exeext=$EXEEXT
    2621 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2622 $as_echo_n "checking for suffix of object files... " >&6; }
    2623 if test "${ac_cv_objext+set}" = set; then
    2624   $as_echo_n "(cached) " >&6
    2625 else
    2626   cat >conftest.$ac_ext <<_ACEOF
    2627 /* confdefs.h.  */
    2628 _ACEOF
    2629 cat confdefs.h >>conftest.$ac_ext
    2630 cat >>conftest.$ac_ext <<_ACEOF
     2964cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26312965/* end confdefs.h.  */
    2632 
     2966#include <stdio.h>
    26332967int
    26342968main ()
    26352969{
     2970FILE *f = fopen ("conftest.out", "w");
     2971 return ferror (f) || fclose (f) != 0;
    26362972
    26372973  ;
     
    26392975}
    26402976_ACEOF
    2641 rm -f conftest.o conftest.obj
    2642 if { (ac_try="$ac_compile"
     2977ac_clean_files="$ac_clean_files conftest.out"
     2978# Check that the compiler produces executables we can run.  If not, either
     2979# the compiler is broken, or we cross compile.
     2980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     2981$as_echo_n "checking whether we are cross compiling... " >&6; }
     2982if test "$cross_compiling" != yes; then
     2983  { { ac_try="$ac_link"
    26432984case "(($ac_try" in
    26442985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    26452986  *) ac_try_echo=$ac_try;;
    26462987esac
    2647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2648 $as_echo "$ac_try_echo") >&5
     2988eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2989$as_echo "$ac_try_echo"; } >&5
     2990  (eval "$ac_link") 2>&5
     2991  ac_status=$?
     2992  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2993  test $ac_status = 0; }
     2994  if { ac_try='./conftest$ac_cv_exeext'
     2995  { { case "(($ac_try" in
     2996  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2997  *) ac_try_echo=$ac_try;;
     2998esac
     2999eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3000$as_echo "$ac_try_echo"; } >&5
     3001  (eval "$ac_try") 2>&5
     3002  ac_status=$?
     3003  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3004  test $ac_status = 0; }; }; then
     3005    cross_compiling=no
     3006  else
     3007    if test "$cross_compiling" = maybe; then
     3008    cross_compiling=yes
     3009    else
     3010    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3011$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3012as_fn_error $? "cannot run C compiled programs.
     3013If you meant to cross compile, use \`--host'.
     3014See \`config.log' for more details" "$LINENO" 5; }
     3015    fi
     3016  fi
     3017fi
     3018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3019$as_echo "$cross_compiling" >&6; }
     3020
     3021rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3022ac_clean_files=$ac_clean_files_save
     3023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3024$as_echo_n "checking for suffix of object files... " >&6; }
     3025if ${ac_cv_objext+:} false; then :
     3026  $as_echo_n "(cached) " >&6
     3027else
     3028  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3029/* end confdefs.h.  */
     3030
     3031int
     3032main ()
     3033{
     3034
     3035  ;
     3036  return 0;
     3037}
     3038_ACEOF
     3039rm -f conftest.o conftest.obj
     3040if { { ac_try="$ac_compile"
     3041case "(($ac_try" in
     3042  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3043  *) ac_try_echo=$ac_try;;
     3044esac
     3045eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3046$as_echo "$ac_try_echo"; } >&5
    26493047  (eval "$ac_compile") 2>&5
    26503048  ac_status=$?
    2651   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2652   (exit $ac_status); }; then
     3049  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3050  test $ac_status = 0; }; then :
    26533051  for ac_file in conftest.o conftest.obj conftest.*; do
    26543052  test -f "$ac_file" || continue;
     
    26633061sed 's/^/| /' conftest.$ac_ext >&5
    26643062
    2665 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3063{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    26663064$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2667 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2668 See \`config.log' for more details." >&5
    2669 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2670 See \`config.log' for more details." >&2;}
    2671    { (exit 1); exit 1; }; }; }
    2672 fi
    2673 
     3065as_fn_error $? "cannot compute suffix of object files: cannot compile
     3066See \`config.log' for more details" "$LINENO" 5; }
     3067fi
    26743068rm -f conftest.$ac_cv_objext conftest.$ac_ext
    26753069fi
    2676 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    26773071$as_echo "$ac_cv_objext" >&6; }
    26783072OBJEXT=$ac_cv_objext
    26793073ac_objext=$OBJEXT
    2680 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    26813075$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2682 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3076if ${ac_cv_c_compiler_gnu+:} false; then :
    26833077  $as_echo_n "(cached) " >&6
    26843078else
    2685   cat >conftest.$ac_ext <<_ACEOF
    2686 /* confdefs.h.  */
    2687 _ACEOF
    2688 cat confdefs.h >>conftest.$ac_ext
    2689 cat >>conftest.$ac_ext <<_ACEOF
     3079  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26903080/* end confdefs.h.  */
    26913081
     
    27013091}
    27023092_ACEOF
    2703 rm -f conftest.$ac_objext
    2704 if { (ac_try="$ac_compile"
    2705 case "(($ac_try" in
    2706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2707   *) ac_try_echo=$ac_try;;
    2708 esac
    2709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2710 $as_echo "$ac_try_echo") >&5
    2711   (eval "$ac_compile") 2>conftest.er1
    2712   ac_status=$?
    2713   grep -v '^ *+' conftest.er1 >conftest.err
    2714   rm -f conftest.er1
    2715   cat conftest.err >&5
    2716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2717   (exit $ac_status); } && {
    2718      test -z "$ac_c_werror_flag" ||
    2719      test ! -s conftest.err
    2720        } && test -s conftest.$ac_objext; then
     3093if ac_fn_c_try_compile "$LINENO"; then :
    27213094  ac_compiler_gnu=yes
    27223095else
    2723   $as_echo "$as_me: failed program was:" >&5
    2724 sed 's/^/| /' conftest.$ac_ext >&5
    2725 
    2726     ac_compiler_gnu=no
    2727 fi
    2728 
     3096  ac_compiler_gnu=no
     3097fi
    27293098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27303099ac_cv_c_compiler_gnu=$ac_compiler_gnu
    27313100
    27323101fi
    2733 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    27343103$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    27353104if test $ac_compiler_gnu = yes; then
     
    27403109ac_test_CFLAGS=${CFLAGS+set}
    27413110ac_save_CFLAGS=$CFLAGS
    2742 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    27433112$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2744 if test "${ac_cv_prog_cc_g+set}" = set; then
     3113if ${ac_cv_prog_cc_g+:} false; then :
    27453114  $as_echo_n "(cached) " >&6
    27463115else
     
    27493118   ac_cv_prog_cc_g=no
    27503119   CFLAGS="-g"
    2751    cat >conftest.$ac_ext <<_ACEOF
    2752 /* confdefs.h.  */
    2753 _ACEOF
    2754 cat confdefs.h >>conftest.$ac_ext
    2755 cat >>conftest.$ac_ext <<_ACEOF
     3120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27563121/* end confdefs.h.  */
    27573122
     
    27643129}
    27653130_ACEOF
    2766 rm -f conftest.$ac_objext
    2767 if { (ac_try="$ac_compile"
    2768 case "(($ac_try" in
    2769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2770   *) ac_try_echo=$ac_try;;
    2771 esac
    2772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2773 $as_echo "$ac_try_echo") >&5
    2774   (eval "$ac_compile") 2>conftest.er1
    2775   ac_status=$?
    2776   grep -v '^ *+' conftest.er1 >conftest.err
    2777   rm -f conftest.er1
    2778   cat conftest.err >&5
    2779   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2780   (exit $ac_status); } && {
    2781      test -z "$ac_c_werror_flag" ||
    2782      test ! -s conftest.err
    2783        } && test -s conftest.$ac_objext; then
     3131if ac_fn_c_try_compile "$LINENO"; then :
    27843132  ac_cv_prog_cc_g=yes
    27853133else
    2786   $as_echo "$as_me: failed program was:" >&5
    2787 sed 's/^/| /' conftest.$ac_ext >&5
    2788 
    2789     CFLAGS=""
    2790       cat >conftest.$ac_ext <<_ACEOF
    2791 /* confdefs.h.  */
    2792 _ACEOF
    2793 cat confdefs.h >>conftest.$ac_ext
    2794 cat >>conftest.$ac_ext <<_ACEOF
     3134  CFLAGS=""
     3135      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27953136/* end confdefs.h.  */
    27963137
     
    28033144}
    28043145_ACEOF
    2805 rm -f conftest.$ac_objext
    2806 if { (ac_try="$ac_compile"
    2807 case "(($ac_try" in
    2808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2809   *) ac_try_echo=$ac_try;;
    2810 esac
    2811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2812 $as_echo "$ac_try_echo") >&5
    2813   (eval "$ac_compile") 2>conftest.er1
    2814   ac_status=$?
    2815   grep -v '^ *+' conftest.er1 >conftest.err
    2816   rm -f conftest.er1
    2817   cat conftest.err >&5
    2818   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2819   (exit $ac_status); } && {
    2820      test -z "$ac_c_werror_flag" ||
    2821      test ! -s conftest.err
    2822        } && test -s conftest.$ac_objext; then
    2823   :
    2824 else
    2825   $as_echo "$as_me: failed program was:" >&5
    2826 sed 's/^/| /' conftest.$ac_ext >&5
    2827 
    2828     ac_c_werror_flag=$ac_save_c_werror_flag
     3146if ac_fn_c_try_compile "$LINENO"; then :
     3147
     3148else
     3149  ac_c_werror_flag=$ac_save_c_werror_flag
    28293150     CFLAGS="-g"
    2830      cat >conftest.$ac_ext <<_ACEOF
    2831 /* confdefs.h.  */
    2832 _ACEOF
    2833 cat confdefs.h >>conftest.$ac_ext
    2834 cat >>conftest.$ac_ext <<_ACEOF
     3151     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28353152/* end confdefs.h.  */
    28363153
     
    28433160}
    28443161_ACEOF
    2845 rm -f conftest.$ac_objext
    2846 if { (ac_try="$ac_compile"
    2847 case "(($ac_try" in
    2848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2849   *) ac_try_echo=$ac_try;;
    2850 esac
    2851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2852 $as_echo "$ac_try_echo") >&5
    2853   (eval "$ac_compile") 2>conftest.er1
    2854   ac_status=$?
    2855   grep -v '^ *+' conftest.er1 >conftest.err
    2856   rm -f conftest.er1
    2857   cat conftest.err >&5
    2858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2859   (exit $ac_status); } && {
    2860      test -z "$ac_c_werror_flag" ||
    2861      test ! -s conftest.err
    2862        } && test -s conftest.$ac_objext; then
     3162if ac_fn_c_try_compile "$LINENO"; then :
    28633163  ac_cv_prog_cc_g=yes
    2864 else
    2865   $as_echo "$as_me: failed program was:" >&5
    2866 sed 's/^/| /' conftest.$ac_ext >&5
    2867 
    2868 
    2869 fi
    2870 
     3164fi
    28713165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    28723166fi
    2873 
    28743167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    28753168fi
    2876 
    28773169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    28783170   ac_c_werror_flag=$ac_save_c_werror_flag
    28793171fi
    2880 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    28813173$as_echo "$ac_cv_prog_cc_g" >&6; }
    28823174if test "$ac_test_CFLAGS" = set; then
     
    28953187  fi
    28963188fi
    2897 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    28983190$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2899 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3191if ${ac_cv_prog_cc_c89+:} false; then :
    29003192  $as_echo_n "(cached) " >&6
    29013193else
    29023194  ac_cv_prog_cc_c89=no
    29033195ac_save_CC=$CC
    2904 cat >conftest.$ac_ext <<_ACEOF
    2905 /* confdefs.h.  */
    2906 _ACEOF
    2907 cat confdefs.h >>conftest.$ac_ext
    2908 cat >>conftest.$ac_ext <<_ACEOF
     3196cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29093197/* end confdefs.h.  */
    29103198#include <stdarg.h>
     
    29633251do
    29643252  CC="$ac_save_CC $ac_arg"
    2965   rm -f conftest.$ac_objext
    2966 if { (ac_try="$ac_compile"
    2967 case "(($ac_try" in
    2968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2969   *) ac_try_echo=$ac_try;;
    2970 esac
    2971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2972 $as_echo "$ac_try_echo") >&5
    2973   (eval "$ac_compile") 2>conftest.er1
    2974   ac_status=$?
    2975   grep -v '^ *+' conftest.er1 >conftest.err
    2976   rm -f conftest.er1
    2977   cat conftest.err >&5
    2978   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2979   (exit $ac_status); } && {
    2980      test -z "$ac_c_werror_flag" ||
    2981      test ! -s conftest.err
    2982        } && test -s conftest.$ac_objext; then
     3253  if ac_fn_c_try_compile "$LINENO"; then :
    29833254  ac_cv_prog_cc_c89=$ac_arg
    2984 else
    2985   $as_echo "$as_me: failed program was:" >&5
    2986 sed 's/^/| /' conftest.$ac_ext >&5
    2987 
    2988 
    2989 fi
    2990 
     3255fi
    29913256rm -f core conftest.err conftest.$ac_objext
    29923257  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    29993264case "x$ac_cv_prog_cc_c89" in
    30003265  x)
    3001     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3266    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    30023267$as_echo "none needed" >&6; } ;;
    30033268  xno)
    3004     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3269    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    30053270$as_echo "unsupported" >&6; } ;;
    30063271  *)
    30073272    CC="$CC $ac_cv_prog_cc_c89"
    3008     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3273    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    30093274$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    30103275esac
    3011 
     3276if test "x$ac_cv_prog_cc_c89" != xno; then :
     3277
     3278fi
    30123279
    30133280ac_ext=c
     
    30313298    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    30323299set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3033 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    30343301$as_echo_n "checking for $ac_word... " >&6; }
    3035 if test "${ac_cv_prog_CXX+set}" = set; then
     3302if ${ac_cv_prog_CXX+:} false; then :
    30363303  $as_echo_n "(cached) " >&6
    30373304else
     
    30443311  IFS=$as_save_IFS
    30453312  test -z "$as_dir" && as_dir=.
    3046   for ac_exec_ext in '' $ac_executable_extensions; do
     3313    for ac_exec_ext in '' $ac_executable_extensions; do
    30473314  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30483315    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3049     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3316    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    30503317    break 2
    30513318  fi
    30523319done
    3053 done
     3320  done
    30543321IFS=$as_save_IFS
    30553322
     
    30583325CXX=$ac_cv_prog_CXX
    30593326if test -n "$CXX"; then
    3060   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    30613328$as_echo "$CXX" >&6; }
    30623329else
    3063   { $as_echo "$as_me:$LINENO: result: no" >&5
     3330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    30643331$as_echo "no" >&6; }
    30653332fi
     
    30753342  # Extract the first word of "$ac_prog", so it can be a program name with args.
    30763343set dummy $ac_prog; ac_word=$2
    3077 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    30783345$as_echo_n "checking for $ac_word... " >&6; }
    3079 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     3346if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    30803347  $as_echo_n "(cached) " >&6
    30813348else
     
    30883355  IFS=$as_save_IFS
    30893356  test -z "$as_dir" && as_dir=.
    3090   for ac_exec_ext in '' $ac_executable_extensions; do
     3357    for ac_exec_ext in '' $ac_executable_extensions; do
    30913358  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30923359    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3093     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3360    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    30943361    break 2
    30953362  fi
    30963363done
    3097 done
     3364  done
    30983365IFS=$as_save_IFS
    30993366
     
    31023369ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    31033370if test -n "$ac_ct_CXX"; then
    3104   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    31053372$as_echo "$ac_ct_CXX" >&6; }
    31063373else
    3107   { $as_echo "$as_me:$LINENO: result: no" >&5
     3374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    31083375$as_echo "no" >&6; }
    31093376fi
     
    31183385    case $cross_compiling:$ac_tool_warned in
    31193386yes:)
    3120 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3387{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    31213388$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    31223389ac_tool_warned=yes ;;
     
    31293396fi
    31303397# Provide some information about the compiler.
    3131 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     3398$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    31323399set X $ac_compile
    31333400ac_compiler=$2
    3134 { (ac_try="$ac_compiler --version >&5"
     3401for ac_option in --version -v -V -qversion; do
     3402  { { ac_try="$ac_compiler $ac_option >&5"
    31353403case "(($ac_try" in
    31363404  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    31373405  *) ac_try_echo=$ac_try;;
    31383406esac
    3139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3140 $as_echo "$ac_try_echo") >&5
    3141   (eval "$ac_compiler --version >&5") 2>&5
     3407eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3408$as_echo "$ac_try_echo"; } >&5
     3409  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    31423410  ac_status=$?
    3143   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3144   (exit $ac_status); }
    3145 { (ac_try="$ac_compiler -v >&5"
    3146 case "(($ac_try" in
    3147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3148   *) ac_try_echo=$ac_try;;
    3149 esac
    3150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3151 $as_echo "$ac_try_echo") >&5
    3152   (eval "$ac_compiler -v >&5") 2>&5
    3153   ac_status=$?
    3154   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3155   (exit $ac_status); }
    3156 { (ac_try="$ac_compiler -V >&5"
    3157 case "(($ac_try" in
    3158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3159   *) ac_try_echo=$ac_try;;
    3160 esac
    3161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3162 $as_echo "$ac_try_echo") >&5
    3163   (eval "$ac_compiler -V >&5") 2>&5
    3164   ac_status=$?
    3165   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3166   (exit $ac_status); }
    3167 
    3168 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3411  if test -s conftest.err; then
     3412    sed '10a\
     3413... rest of stderr output deleted ...
     3414         10q' conftest.err >conftest.er1
     3415    cat conftest.er1 >&5
     3416  fi
     3417  rm -f conftest.er1 conftest.err
     3418  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3419  test $ac_status = 0; }
     3420done
     3421
     3422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    31693423$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3170 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     3424if ${ac_cv_cxx_compiler_gnu+:} false; then :
    31713425  $as_echo_n "(cached) " >&6
    31723426else
    3173   cat >conftest.$ac_ext <<_ACEOF
    3174 /* confdefs.h.  */
    3175 _ACEOF
    3176 cat confdefs.h >>conftest.$ac_ext
    3177 cat >>conftest.$ac_ext <<_ACEOF
     3427  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31783428/* end confdefs.h.  */
    31793429
     
    31893439}
    31903440_ACEOF
    3191 rm -f conftest.$ac_objext
    3192 if { (ac_try="$ac_compile"
    3193 case "(($ac_try" in
    3194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3195   *) ac_try_echo=$ac_try;;
    3196 esac
    3197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3198 $as_echo "$ac_try_echo") >&5
    3199   (eval "$ac_compile") 2>conftest.er1
    3200   ac_status=$?
    3201   grep -v '^ *+' conftest.er1 >conftest.err
    3202   rm -f conftest.er1
    3203   cat conftest.err >&5
    3204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3205   (exit $ac_status); } && {
    3206      test -z "$ac_cxx_werror_flag" ||
    3207      test ! -s conftest.err
    3208        } && test -s conftest.$ac_objext; then
     3441if ac_fn_cxx_try_compile "$LINENO"; then :
    32093442  ac_compiler_gnu=yes
    32103443else
    3211   $as_echo "$as_me: failed program was:" >&5
    3212 sed 's/^/| /' conftest.$ac_ext >&5
    3213 
    3214     ac_compiler_gnu=no
    3215 fi
    3216 
     3444  ac_compiler_gnu=no
     3445fi
    32173446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32183447ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    32193448
    32203449fi
    3221 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    32223451$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    32233452if test $ac_compiler_gnu = yes; then
     
    32283457ac_test_CXXFLAGS=${CXXFLAGS+set}
    32293458ac_save_CXXFLAGS=$CXXFLAGS
    3230 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    32313460$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3232 if test "${ac_cv_prog_cxx_g+set}" = set; then
     3461if ${ac_cv_prog_cxx_g+:} false; then :
    32333462  $as_echo_n "(cached) " >&6
    32343463else
     
    32373466   ac_cv_prog_cxx_g=no
    32383467   CXXFLAGS="-g"
    3239    cat >conftest.$ac_ext <<_ACEOF
    3240 /* confdefs.h.  */
    3241 _ACEOF
    3242 cat confdefs.h >>conftest.$ac_ext
    3243 cat >>conftest.$ac_ext <<_ACEOF
     3468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32443469/* end confdefs.h.  */
    32453470
     
    32523477}
    32533478_ACEOF
    3254 rm -f conftest.$ac_objext
    3255 if { (ac_try="$ac_compile"
    3256 case "(($ac_try" in
    3257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3258   *) ac_try_echo=$ac_try;;
    3259 esac
    3260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3261 $as_echo "$ac_try_echo") >&5
    3262   (eval "$ac_compile") 2>conftest.er1
    3263   ac_status=$?
    3264   grep -v '^ *+' conftest.er1 >conftest.err
    3265   rm -f conftest.er1
    3266   cat conftest.err >&5
    3267   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3268   (exit $ac_status); } && {
    3269      test -z "$ac_cxx_werror_flag" ||
    3270      test ! -s conftest.err
    3271        } && test -s conftest.$ac_objext; then
     3479if ac_fn_cxx_try_compile "$LINENO"; then :
    32723480  ac_cv_prog_cxx_g=yes
    32733481else
    3274   $as_echo "$as_me: failed program was:" >&5
    3275 sed 's/^/| /' conftest.$ac_ext >&5
    3276 
    3277     CXXFLAGS=""
    3278       cat >conftest.$ac_ext <<_ACEOF
    3279 /* confdefs.h.  */
    3280 _ACEOF
    3281 cat confdefs.h >>conftest.$ac_ext
    3282 cat >>conftest.$ac_ext <<_ACEOF
     3482  CXXFLAGS=""
     3483      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32833484/* end confdefs.h.  */
    32843485
     
    32913492}
    32923493_ACEOF
    3293 rm -f conftest.$ac_objext
    3294 if { (ac_try="$ac_compile"
    3295 case "(($ac_try" in
    3296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3297   *) ac_try_echo=$ac_try;;
    3298 esac
    3299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3300 $as_echo "$ac_try_echo") >&5
    3301   (eval "$ac_compile") 2>conftest.er1
    3302   ac_status=$?
    3303   grep -v '^ *+' conftest.er1 >conftest.err
    3304   rm -f conftest.er1
    3305   cat conftest.err >&5
    3306   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3307   (exit $ac_status); } && {
    3308      test -z "$ac_cxx_werror_flag" ||
    3309      test ! -s conftest.err
    3310        } && test -s conftest.$ac_objext; then
    3311   :
    3312 else
    3313   $as_echo "$as_me: failed program was:" >&5
    3314 sed 's/^/| /' conftest.$ac_ext >&5
    3315 
    3316     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3494if ac_fn_cxx_try_compile "$LINENO"; then :
     3495
     3496else
     3497  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    33173498     CXXFLAGS="-g"
    3318      cat >conftest.$ac_ext <<_ACEOF
    3319 /* confdefs.h.  */
    3320 _ACEOF
    3321 cat confdefs.h >>conftest.$ac_ext
    3322 cat >>conftest.$ac_ext <<_ACEOF
     3499     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33233500/* end confdefs.h.  */
    33243501
     
    33313508}
    33323509_ACEOF
    3333 rm -f conftest.$ac_objext
    3334 if { (ac_try="$ac_compile"
    3335 case "(($ac_try" in
    3336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3337   *) ac_try_echo=$ac_try;;
    3338 esac
    3339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3340 $as_echo "$ac_try_echo") >&5
    3341   (eval "$ac_compile") 2>conftest.er1
    3342   ac_status=$?
    3343   grep -v '^ *+' conftest.er1 >conftest.err
    3344   rm -f conftest.er1
    3345   cat conftest.err >&5
    3346   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3347   (exit $ac_status); } && {
    3348      test -z "$ac_cxx_werror_flag" ||
    3349      test ! -s conftest.err
    3350        } && test -s conftest.$ac_objext; then
     3510if ac_fn_cxx_try_compile "$LINENO"; then :
    33513511  ac_cv_prog_cxx_g=yes
    3352 else
    3353   $as_echo "$as_me: failed program was:" >&5
    3354 sed 's/^/| /' conftest.$ac_ext >&5
    3355 
    3356 
    3357 fi
    3358 
     3512fi
    33593513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33603514fi
    3361 
    33623515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33633516fi
    3364 
    33653517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33663518   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    33673519fi
    3368 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    33693521$as_echo "$ac_cv_prog_cxx_g" >&6; }
    33703522if test "$ac_test_CXXFLAGS" = set; then
     
    33983550  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33993551set dummy $ac_prog; ac_word=$2
    3400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    34013553$as_echo_n "checking for $ac_word... " >&6; }
    3402 if test "${ac_cv_prog_JAVAC+set}" = set; then
     3554if ${ac_cv_prog_JAVAC+:} false; then :
    34033555  $as_echo_n "(cached) " >&6
    34043556else
     
    34113563  IFS=$as_save_IFS
    34123564  test -z "$as_dir" && as_dir=.
    3413   for ac_exec_ext in '' $ac_executable_extensions; do
     3565    for ac_exec_ext in '' $ac_executable_extensions; do
    34143566  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    34153567    ac_cv_prog_JAVAC="$ac_prog"
    3416     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3568    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    34173569    break 2
    34183570  fi
    34193571done
    3420 done
     3572  done
    34213573IFS=$as_save_IFS
    34223574
     
    34253577JAVAC=$ac_cv_prog_JAVAC
    34263578if test -n "$JAVAC"; then
    3427   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    34283580$as_echo "$JAVAC" >&6; }
    34293581else
    3430   { $as_echo "$as_me:$LINENO: result: no" >&5
     3582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    34313583$as_echo "no" >&6; }
    34323584fi
     
    34413593  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34423594set dummy $ac_prog; ac_word=$2
    3443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    34443596$as_echo_n "checking for $ac_word... " >&6; }
    3445 if test "${ac_cv_prog_JAVAC+set}" = set; then
     3597if ${ac_cv_prog_JAVAC+:} false; then :
    34463598  $as_echo_n "(cached) " >&6
    34473599else
     
    34543606  IFS=$as_save_IFS
    34553607  test -z "$as_dir" && as_dir=.
    3456   for ac_exec_ext in '' $ac_executable_extensions; do
     3608    for ac_exec_ext in '' $ac_executable_extensions; do
    34573609  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    34583610    ac_cv_prog_JAVAC="$ac_prog"
    3459     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    34603612    break 2
    34613613  fi
    34623614done
    3463 done
     3615  done
    34643616IFS=$as_save_IFS
    34653617
     
    34683620JAVAC=$ac_cv_prog_JAVAC
    34693621if test -n "$JAVAC"; then
    3470   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    34713623$as_echo "$JAVAC" >&6; }
    34723624else
    3473   { $as_echo "$as_me:$LINENO: result: no" >&5
     3625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    34743626$as_echo "no" >&6; }
    34753627fi
     
    34813633
    34823634  fi
    3483   test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
    3484 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
    3485    { (exit 1); exit 1; }; }
     3635  test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
    34863636else
    34873637  echo "Checking for javac... $JAVAC"
     
    34903640
    34913641
    3492 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     3642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
    34933643$as_echo_n "checking if $JAVAC works... " >&6; }
    3494 if test "${ac_cv_prog_javac_works+set}" = set; then
     3644if ${ac_cv_prog_javac_works+:} false; then :
    34953645  $as_echo_n "(cached) " >&6
    34963646else
     
    34993649CLASS_TEST=Test.class
    35003650cat << \EOF > $JAVA_TEST
    3501 /* #line 3501 "configure" */
     3651/* #line 3651 "configure" */
    35023652public class Test {
    35033653}
    35043654EOF
    35053655if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3656  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    35073657  (eval $ac_try) 2>&5
    35083658  ac_status=$?
    3509   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3510   (exit $ac_status); }; } >/dev/null 2>&1; then
     3659  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3660  test $ac_status = 0; }; } >/dev/null 2>&1; then
    35113661  ac_cv_prog_javac_works=yes
    35123662else
    3513   { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3514 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    3515    { (exit 1); exit 1; }; }
     3663  as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    35163664  echo "configure: failed program was:" >&5
    35173665  cat $JAVA_TEST >&5
     
    35203668
    35213669fi
    3522 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    35233671$as_echo "$ac_cv_prog_javac_works" >&6; }
    35243672if test "x$JAVACFLAGS" = x ; then
     
    35353683  # Extract the first word of "$ac_prog", so it can be a program name with args.
    35363684set dummy $ac_prog; ac_word=$2
    3537 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35383686$as_echo_n "checking for $ac_word... " >&6; }
    3539 if test "${ac_cv_prog_JAVA+set}" = set; then
     3687if ${ac_cv_prog_JAVA+:} false; then :
    35403688  $as_echo_n "(cached) " >&6
    35413689else
     
    35483696  IFS=$as_save_IFS
    35493697  test -z "$as_dir" && as_dir=.
    3550   for ac_exec_ext in '' $ac_executable_extensions; do
     3698    for ac_exec_ext in '' $ac_executable_extensions; do
    35513699  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    35523700    ac_cv_prog_JAVA="$ac_prog"
    3553     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3701    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35543702    break 2
    35553703  fi
    35563704done
    3557 done
     3705  done
    35583706IFS=$as_save_IFS
    35593707
     
    35623710JAVA=$ac_cv_prog_JAVA
    35633711if test -n "$JAVA"; then
    3564   { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     3712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    35653713$as_echo "$JAVA" >&6; }
    35663714else
    3567   { $as_echo "$as_me:$LINENO: result: no" >&5
     3715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    35683716$as_echo "no" >&6; }
    35693717fi
     
    35783726  # Extract the first word of "$ac_prog", so it can be a program name with args.
    35793727set dummy $ac_prog; ac_word=$2
    3580 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35813729$as_echo_n "checking for $ac_word... " >&6; }
    3582 if test "${ac_cv_prog_JAVA+set}" = set; then
     3730if ${ac_cv_prog_JAVA+:} false; then :
    35833731  $as_echo_n "(cached) " >&6
    35843732else
     
    35913739  IFS=$as_save_IFS
    35923740  test -z "$as_dir" && as_dir=.
    3593   for ac_exec_ext in '' $ac_executable_extensions; do
     3741    for ac_exec_ext in '' $ac_executable_extensions; do
    35943742  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    35953743    ac_cv_prog_JAVA="$ac_prog"
    3596     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3744    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35973745    break 2
    35983746  fi
    35993747done
    3600 done
     3748  done
    36013749IFS=$as_save_IFS
    36023750
     
    36053753JAVA=$ac_cv_prog_JAVA
    36063754if test -n "$JAVA"; then
    3607   { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     3755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    36083756$as_echo "$JAVA" >&6; }
    36093757else
    3610   { $as_echo "$as_me:$LINENO: result: no" >&5
     3758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    36113759$as_echo "no" >&6; }
    36123760fi
     
    36183766
    36193767    fi
    3620     test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
    3621 $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
    3622    { (exit 1); exit 1; }; }
     3768    test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
    36233769fi
    36243770
     
    36263772# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
    36273773set dummy uudecode$EXEEXT; ac_word=$2
    3628 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    36293775$as_echo_n "checking for $ac_word... " >&6; }
    3630 if test "${ac_cv_prog_uudecode+set}" = set; then
     3776if ${ac_cv_prog_uudecode+:} false; then :
    36313777  $as_echo_n "(cached) " >&6
    36323778else
     
    36393785  IFS=$as_save_IFS
    36403786  test -z "$as_dir" && as_dir=.
    3641   for ac_exec_ext in '' $ac_executable_extensions; do
     3787    for ac_exec_ext in '' $ac_executable_extensions; do
    36423788  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    36433789    ac_cv_prog_uudecode="yes"
    3644     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3790    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36453791    break 2
    36463792  fi
    36473793done
    3648 done
     3794  done
    36493795IFS=$as_save_IFS
    36503796
     
    36533799uudecode=$ac_cv_prog_uudecode
    36543800if test -n "$uudecode"; then
    3655   { $as_echo "$as_me:$LINENO: result: $uudecode" >&5
     3801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
    36563802$as_echo "$uudecode" >&6; }
    36573803else
    3658   { $as_echo "$as_me:$LINENO: result: no" >&5
     3804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    36593805$as_echo "no" >&6; }
    36603806fi
     
    36623808
    36633809if test x$uudecode = xyes; then
    3664 { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
     3810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
    36653811$as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
    3666 if test "${ac_cv_prog_uudecode_base64+set}" = set; then
     3812if ${ac_cv_prog_uudecode_base64+:} false; then :
    36673813  $as_echo_n "(cached) " >&6
    36683814else
     
    36823828        ac_cv_prog_uudecode_base64=yes
    36833829else
    3684         echo "configure: 3684: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     3830        echo "configure: 3830: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    36853831        echo "configure: failed file was:" >&5
    36863832        cat Test.uue >&5
     
    36893835rm -f Test.uue
    36903836fi
    3691 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
     3837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
    36923838$as_echo "$ac_cv_prog_uudecode_base64" >&6; }
    36933839fi
    36943840if test x$ac_cv_prog_uudecode_base64 != xyes; then
    36953841        rm -f Test.class
    3696         { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
     3842        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
    36973843$as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
    36983844        if test x$ac_cv_prog_javac_works = xno; then
    3699                 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
    3700 $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
    3701    { (exit 1); exit 1; }; }
     3845                as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
    37023846        fi
    37033847        if test x$ac_cv_prog_javac_works = x; then
     
    37093853  # Extract the first word of "$ac_prog", so it can be a program name with args.
    37103854set dummy $ac_prog; ac_word=$2
    3711 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37123856$as_echo_n "checking for $ac_word... " >&6; }
    3713 if test "${ac_cv_prog_JAVAC+set}" = set; then
     3857if ${ac_cv_prog_JAVAC+:} false; then :
    37143858  $as_echo_n "(cached) " >&6
    37153859else
     
    37223866  IFS=$as_save_IFS
    37233867  test -z "$as_dir" && as_dir=.
    3724   for ac_exec_ext in '' $ac_executable_extensions; do
     3868    for ac_exec_ext in '' $ac_executable_extensions; do
    37253869  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    37263870    ac_cv_prog_JAVAC="$ac_prog"
    3727     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3871    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37283872    break 2
    37293873  fi
    37303874done
    3731 done
     3875  done
    37323876IFS=$as_save_IFS
    37333877
     
    37363880JAVAC=$ac_cv_prog_JAVAC
    37373881if test -n "$JAVAC"; then
    3738   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    37393883$as_echo "$JAVAC" >&6; }
    37403884else
    3741   { $as_echo "$as_me:$LINENO: result: no" >&5
     3885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    37423886$as_echo "no" >&6; }
    37433887fi
     
    37523896  # Extract the first word of "$ac_prog", so it can be a program name with args.
    37533897set dummy $ac_prog; ac_word=$2
    3754 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37553899$as_echo_n "checking for $ac_word... " >&6; }
    3756 if test "${ac_cv_prog_JAVAC+set}" = set; then
     3900if ${ac_cv_prog_JAVAC+:} false; then :
    37573901  $as_echo_n "(cached) " >&6
    37583902else
     
    37653909  IFS=$as_save_IFS
    37663910  test -z "$as_dir" && as_dir=.
    3767   for ac_exec_ext in '' $ac_executable_extensions; do
     3911    for ac_exec_ext in '' $ac_executable_extensions; do
    37683912  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    37693913    ac_cv_prog_JAVAC="$ac_prog"
    3770     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37713915    break 2
    37723916  fi
    37733917done
    3774 done
     3918  done
    37753919IFS=$as_save_IFS
    37763920
     
    37793923JAVAC=$ac_cv_prog_JAVAC
    37803924if test -n "$JAVAC"; then
    3781   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     3925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    37823926$as_echo "$JAVAC" >&6; }
    37833927else
    3784   { $as_echo "$as_me:$LINENO: result: no" >&5
     3928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    37853929$as_echo "no" >&6; }
    37863930fi
     
    37923936
    37933937  fi
    3794   test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
    3795 $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
    3796    { (exit 1); exit 1; }; }
     3938  test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
    37973939else
    37983940  echo "Checking for javac... $JAVAC"
     
    38013943
    38023944
    3803 { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     3945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
    38043946$as_echo_n "checking if $JAVAC works... " >&6; }
    3805 if test "${ac_cv_prog_javac_works+set}" = set; then
     3947if ${ac_cv_prog_javac_works+:} false; then :
    38063948  $as_echo_n "(cached) " >&6
    38073949else
     
    38103952CLASS_TEST=Test.class
    38113953cat << \EOF > $JAVA_TEST
    3812 /* #line 3812 "configure" */
     3954/* #line 3954 "configure" */
    38133955public class Test {
    38143956}
    38153957EOF
    38163958if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3959  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    38183960  (eval $ac_try) 2>&5
    38193961  ac_status=$?
    3820   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3821   (exit $ac_status); }; } >/dev/null 2>&1; then
     3962  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3963  test $ac_status = 0; }; } >/dev/null 2>&1; then
    38223964  ac_cv_prog_javac_works=yes
    38233965else
    3824   { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3825 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    3826    { (exit 1); exit 1; }; }
     3966  as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    38273967  echo "configure: failed program was:" >&5
    38283968  cat $JAVA_TEST >&5
     
    38313971
    38323972fi
    3833 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    38343974$as_echo "$ac_cv_prog_javac_works" >&6; }
    38353975if test "x$JAVACFLAGS" = x ; then
     
    38413981        fi
    38423982fi
    3843 { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5
     3983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
    38443984$as_echo_n "checking if $JAVA works... " >&6; }
    3845 if test "${ac_cv_prog_java_works+set}" = set; then
     3985if ${ac_cv_prog_java_works+:} false; then :
    38463986  $as_echo_n "(cached) " >&6
    38473987else
     
    38513991TEST=Test
    38523992cat << \EOF > $JAVA_TEST
    3853 /* [#]line 3853 "configure" */
     3993/* [#]line 3993 "configure" */
    38543994public class Test {
    38553995public static void main (String args[]) {
     
    38593999if test x$ac_cv_prog_uudecode_base64 != xyes; then
    38604000        if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4001  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    38624002  (eval $ac_try) 2>&5
    38634003  ac_status=$?
    3864   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3865   (exit $ac_status); }; } && test -s $CLASS_TEST; then
     4004  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4005  test $ac_status = 0; }; } && test -s $CLASS_TEST; then
    38664006                :
    38674007        else
    38684008          echo "configure: failed program was:" >&5
    38694009          cat $JAVA_TEST >&5
    3870           { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
    3871 $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
    3872    { (exit 1); exit 1; }; }
     4010          as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    38734011        fi
    38744012fi
    38754013if { ac_try='$JAVA $JAVAFLAGS $TEST'
    3876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4014  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    38774015  (eval $ac_try) 2>&5
    38784016  ac_status=$?
    3879   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3880   (exit $ac_status); }; } >/dev/null 2>&1; then
     4017  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4018  test $ac_status = 0; }; } >/dev/null 2>&1; then
    38814019  ac_cv_prog_java_works=yes
    38824020else
    38834021  echo "configure: failed program was:" >&5
    38844022  cat $JAVA_TEST >&5
    3885   { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
    3886 $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
    3887    { (exit 1); exit 1; }; }
     4023  as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
    38884024fi
    38894025rm -fr $JAVA_TEST $CLASS_TEST Test.uue
    38904026
    38914027fi
    3892 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
     4028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
    38934029$as_echo "$ac_cv_prog_java_works" >&6; }
    38944030
     
    39004036  # Extract the first word of "$ac_prog", so it can be a program name with args.
    39014037set dummy $ac_prog; ac_word=$2
    3902 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    39034039$as_echo_n "checking for $ac_word... " >&6; }
    3904 if test "${ac_cv_prog_AWK+set}" = set; then
     4040if ${ac_cv_prog_AWK+:} false; then :
    39054041  $as_echo_n "(cached) " >&6
    39064042else
     
    39134049  IFS=$as_save_IFS
    39144050  test -z "$as_dir" && as_dir=.
    3915   for ac_exec_ext in '' $ac_executable_extensions; do
     4051    for ac_exec_ext in '' $ac_executable_extensions; do
    39164052  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    39174053    ac_cv_prog_AWK="$ac_prog"
    3918     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4054    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39194055    break 2
    39204056  fi
    39214057done
    3922 done
     4058  done
    39234059IFS=$as_save_IFS
    39244060
     
    39274063AWK=$ac_cv_prog_AWK
    39284064if test -n "$AWK"; then
    3929   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
     4065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
    39304066$as_echo "$AWK" >&6; }
    39314067else
    3932   { $as_echo "$as_me:$LINENO: result: no" >&5
     4068  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39334069$as_echo "no" >&6; }
    39344070fi
     
    39424078  # Extract the first word of "$ac_prog", so it can be a program name with args.
    39434079set dummy $ac_prog; ac_word=$2
    3944 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    39454081$as_echo_n "checking for $ac_word... " >&6; }
    3946 if test "${ac_cv_prog_YACC+set}" = set; then
     4082if ${ac_cv_prog_YACC+:} false; then :
    39474083  $as_echo_n "(cached) " >&6
    39484084else
     
    39554091  IFS=$as_save_IFS
    39564092  test -z "$as_dir" && as_dir=.
    3957   for ac_exec_ext in '' $ac_executable_extensions; do
     4093    for ac_exec_ext in '' $ac_executable_extensions; do
    39584094  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    39594095    ac_cv_prog_YACC="$ac_prog"
    3960     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4096    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39614097    break 2
    39624098  fi
    39634099done
    3964 done
     4100  done
    39654101IFS=$as_save_IFS
    39664102
     
    39694105YACC=$ac_cv_prog_YACC
    39704106if test -n "$YACC"; then
    3971   { $as_echo "$as_me:$LINENO: result: $YACC" >&5
     4107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
    39724108$as_echo "$YACC" >&6; }
    39734109else
    3974   { $as_echo "$as_me:$LINENO: result: no" >&5
     4110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39754111$as_echo "no" >&6; }
    39764112fi
     
    39984134done
    39994135if test -z "$ac_aux_dir"; then
    4000   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    4001 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    4002    { (exit 1); exit 1; }; }
     4136  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    40034137fi
    40044138
     
    40144148# Make sure we can run config.sub.
    40154149$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    4016   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
    4017 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    4018    { (exit 1); exit 1; }; }
    4019 
    4020 { $as_echo "$as_me:$LINENO: checking build system type" >&5
     4150  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     4151
     4152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    40214153$as_echo_n "checking build system type... " >&6; }
    4022 if test "${ac_cv_build+set}" = set; then
     4154if ${ac_cv_build+:} false; then :
    40234155  $as_echo_n "(cached) " >&6
    40244156else
     
    40274159  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    40284160test "x$ac_build_alias" = x &&
    4029   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    4030 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    4031    { (exit 1); exit 1; }; }
     4161  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    40324162ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    4033   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
    4034 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    4035    { (exit 1); exit 1; }; }
    4036 
    4037 fi
    4038 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     4163  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     4164
     4165fi
     4166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    40394167$as_echo "$ac_cv_build" >&6; }
    40404168case $ac_cv_build in
    40414169*-*-*) ;;
    4042 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
    4043 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
    4044    { (exit 1); exit 1; }; };;
     4170*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
    40454171esac
    40464172build=$ac_cv_build
     
    40584184
    40594185
    4060 { $as_echo "$as_me:$LINENO: checking host system type" >&5
     4186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    40614187$as_echo_n "checking host system type... " >&6; }
    4062 if test "${ac_cv_host+set}" = set; then
     4188if ${ac_cv_host+:} false; then :
    40634189  $as_echo_n "(cached) " >&6
    40644190else
     
    40674193else
    40684194  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    4069     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
    4070 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    4071    { (exit 1); exit 1; }; }
    4072 fi
    4073 
    4074 fi
    4075 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     4195    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     4196fi
     4197
     4198fi
     4199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    40764200$as_echo "$ac_cv_host" >&6; }
    40774201case $ac_cv_host in
    40784202*-*-*) ;;
    4079 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
    4080 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
    4081    { (exit 1); exit 1; }; };;
     4203*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
    40824204esac
    40834205host=$ac_cv_host
     
    40954217
    40964218
    4097 { $as_echo "$as_me:$LINENO: checking target system type" >&5
     4219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
    40984220$as_echo_n "checking target system type... " >&6; }
    4099 if test "${ac_cv_target+set}" = set; then
     4221if ${ac_cv_target+:} false; then :
    41004222  $as_echo_n "(cached) " >&6
    41014223else
     
    41044226else
    41054227  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    4106     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
    4107 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    4108    { (exit 1); exit 1; }; }
    4109 fi
    4110 
    4111 fi
    4112 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     4228    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
     4229fi
     4230
     4231fi
     4232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
    41134233$as_echo "$ac_cv_target" >&6; }
    41144234case $ac_cv_target in
    41154235*-*-*) ;;
    4116 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
    4117 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
    4118    { (exit 1); exit 1; }; };;
     4236*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
    41194237esac
    41204238target=$ac_cv_target
     
    41384256    NONENONEs,x,x, &&
    41394257  program_prefix=${target_alias}-
     4258
    41404259# Find a good install program.  We prefer a C program (faster),
    41414260# so one script is as good as another.  But avoid the broken or
     
    41524271# ./install, which can be erroneously created by make from ./install.sh.
    41534272# Reject install programs that cannot install multiple files.
    4154 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     4273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    41554274$as_echo_n "checking for a BSD-compatible install... " >&6; }
    41564275if test -z "$INSTALL"; then
    4157 if test "${ac_cv_path_install+set}" = set; then
     4276if ${ac_cv_path_install+:} false; then :
    41584277  $as_echo_n "(cached) " >&6
    41594278else
     
    41634282  IFS=$as_save_IFS
    41644283  test -z "$as_dir" && as_dir=.
    4165   # Account for people who put trailing slashes in PATH elements.
    4166 case $as_dir/ in
    4167   ./ | .// | /cC/* | \
     4284    # Account for people who put trailing slashes in PATH elements.
     4285case $as_dir/ in #((
     4286  ./ | .// | /[cC]/* | \
    41684287  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    4169   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     4288  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    41704289  /usr/ucb/* ) ;;
    41714290  *)
     
    42044323esac
    42054324
    4206 done
     4325  done
    42074326IFS=$as_save_IFS
    42084327
     
    42204339  fi
    42214340fi
    4222 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     4341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    42234342$as_echo "$INSTALL" >&6; }
    42244343
     
    42314350test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    42324351
    4233 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     4352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    42344353$as_echo_n "checking whether ln -s works... " >&6; }
    42354354LN_S=$as_ln_s
    42364355if test "$LN_S" = "ln -s"; then
    4237   { $as_echo "$as_me:$LINENO: result: yes" >&5
     4356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    42384357$as_echo "yes" >&6; }
    42394358else
    4240   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     4359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    42414360$as_echo "no, using $LN_S" >&6; }
    42424361fi
    42434362
    4244 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     4363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    42454364$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    42464365set x ${MAKE-make}
    42474366ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    4248 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     4367if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
    42494368  $as_echo_n "(cached) " >&6
    42504369else
     
    42544373    @echo '@@@%%%=$(MAKE)=@@@%%%'
    42554374_ACEOF
    4256 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     4375# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    42574376case `${MAKE-make} -f conftest.make 2>/dev/null` in
    42584377  *@@@%%%=?*=@@@%%%*)
     
    42644383fi
    42654384if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    4266   { $as_echo "$as_me:$LINENO: result: yes" >&5
     4385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    42674386$as_echo "yes" >&6; }
    42684387  SET_MAKE=
    42694388else
    4270   { $as_echo "$as_me:$LINENO: result: no" >&5
     4389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    42714390$as_echo "no" >&6; }
    42724391  SET_MAKE="MAKE=${MAKE-make}"
     
    42764395  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    42774396set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    42794398$as_echo_n "checking for $ac_word... " >&6; }
    4280 if test "${ac_cv_prog_RANLIB+set}" = set; then
     4399if ${ac_cv_prog_RANLIB+:} false; then :
    42814400  $as_echo_n "(cached) " >&6
    42824401else
     
    42894408  IFS=$as_save_IFS
    42904409  test -z "$as_dir" && as_dir=.
    4291   for ac_exec_ext in '' $ac_executable_extensions; do
     4410    for ac_exec_ext in '' $ac_executable_extensions; do
    42924411  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    42934412    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4294     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4413    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    42954414    break 2
    42964415  fi
    42974416done
    4298 done
     4417  done
    42994418IFS=$as_save_IFS
    43004419
     
    43034422RANLIB=$ac_cv_prog_RANLIB
    43044423if test -n "$RANLIB"; then
    4305   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     4424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    43064425$as_echo "$RANLIB" >&6; }
    43074426else
    4308   { $as_echo "$as_me:$LINENO: result: no" >&5
     4427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    43094428$as_echo "no" >&6; }
    43104429fi
     
    43164435  # Extract the first word of "ranlib", so it can be a program name with args.
    43174436set dummy ranlib; ac_word=$2
    4318 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    43194438$as_echo_n "checking for $ac_word... " >&6; }
    4320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     4439if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    43214440  $as_echo_n "(cached) " >&6
    43224441else
     
    43294448  IFS=$as_save_IFS
    43304449  test -z "$as_dir" && as_dir=.
    4331   for ac_exec_ext in '' $ac_executable_extensions; do
     4450    for ac_exec_ext in '' $ac_executable_extensions; do
    43324451  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    43334452    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4334     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4453    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    43354454    break 2
    43364455  fi
    43374456done
    4338 done
     4457  done
    43394458IFS=$as_save_IFS
    43404459
     
    43434462ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    43444463if test -n "$ac_ct_RANLIB"; then
    4345   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     4464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    43464465$as_echo "$ac_ct_RANLIB" >&6; }
    43474466else
    4348   { $as_echo "$as_me:$LINENO: result: no" >&5
     4467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    43494468$as_echo "no" >&6; }
    43504469fi
     
    43554474    case $cross_compiling:$ac_tool_warned in
    43564475yes:)
    4357 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4476{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    43584477$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    43594478ac_tool_warned=yes ;;
     
    43664485
    43674486
    4368 { $as_echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     4487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
    43694488$as_echo_n "checking to see if architecture is 64-bit... " >&6; }
    43704489arch_64bit=no
     
    43744493
    43754494if test "$arch_64bit" = yes; then
    4376   { $as_echo "$as_me:$LINENO: result: yes" >&5
     4495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    43774496$as_echo "yes" >&6; }
    43784497  if test -z "$ARCH_DEP_FLAGS" ; then
     
    43804499  fi
    43814500else
    4382   { $as_echo "$as_me:$LINENO: result: no" >&5
     4501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    43834502$as_echo "no" >&6; }
    43844503  if test -z "$ARCH_DEP_FLAGS" ; then
     
    44144533#do test of MICO_VER
    44154534if test MICO_VER != 0; then
    4416 cat >>confdefs.h <<\_ACEOF
    4417 #define MICO_VER 1
    4418 _ACEOF
     4535$as_echo "#define MICO_VER 1" >>confdefs.h
    44194536
    44204537
     
    44294546ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    44304547ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4431 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     4548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    44324549$as_echo_n "checking how to run the C preprocessor... " >&6; }
    44334550# On Suns, sometimes $CPP names a directory.
     
    44364553fi
    44374554if test -z "$CPP"; then
    4438   if test "${ac_cv_prog_CPP+set}" = set; then
     4555  if ${ac_cv_prog_CPP+:} false; then :
    44394556  $as_echo_n "(cached) " >&6
    44404557else
     
    44514568  # On the NeXT, cc -E runs the code through the compiler's parser,
    44524569  # not just through cpp. "Syntax error" is here to catch this case.
    4453   cat >conftest.$ac_ext <<_ACEOF
    4454 /* confdefs.h.  */
    4455 _ACEOF
    4456 cat confdefs.h >>conftest.$ac_ext
    4457 cat >>conftest.$ac_ext <<_ACEOF
     4570  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44584571/* end confdefs.h.  */
    44594572#ifdef __STDC__
     
    44644577             Syntax error
    44654578_ACEOF
    4466 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4467 case "(($ac_try" in
    4468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4469   *) ac_try_echo=$ac_try;;
    4470 esac
    4471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4472 $as_echo "$ac_try_echo") >&5
    4473   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4474   ac_status=$?
    4475   grep -v '^ *+' conftest.er1 >conftest.err
    4476   rm -f conftest.er1
    4477   cat conftest.err >&5
    4478   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4479   (exit $ac_status); } >/dev/null && {
    4480      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4481      test ! -s conftest.err
    4482        }; then
    4483   :
    4484 else
    4485   $as_echo "$as_me: failed program was:" >&5
    4486 sed 's/^/| /' conftest.$ac_ext >&5
    4487 
     4579if ac_fn_c_try_cpp "$LINENO"; then :
     4580
     4581else
    44884582  # Broken: fails on valid input.
    44894583continue
    44904584fi
    4491 
    4492 rm -f conftest.err conftest.$ac_ext
     4585rm -f conftest.err conftest.i conftest.$ac_ext
    44934586
    44944587  # OK, works on sane cases.  Now check whether nonexistent headers
    44954588  # can be detected and how.
    4496   cat >conftest.$ac_ext <<_ACEOF
    4497 /* confdefs.h.  */
    4498 _ACEOF
    4499 cat confdefs.h >>conftest.$ac_ext
    4500 cat >>conftest.$ac_ext <<_ACEOF
     4589  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45014590/* end confdefs.h.  */
    45024591#include <ac_nonexistent.h>
    45034592_ACEOF
    4504 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4505 case "(($ac_try" in
    4506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4507   *) ac_try_echo=$ac_try;;
    4508 esac
    4509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4510 $as_echo "$ac_try_echo") >&5
    4511   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4512   ac_status=$?
    4513   grep -v '^ *+' conftest.er1 >conftest.err
    4514   rm -f conftest.er1
    4515   cat conftest.err >&5
    4516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4517   (exit $ac_status); } >/dev/null && {
    4518      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4519      test ! -s conftest.err
    4520        }; then
     4593if ac_fn_c_try_cpp "$LINENO"; then :
    45214594  # Broken: success on invalid input.
    45224595continue
    45234596else
    4524   $as_echo "$as_me: failed program was:" >&5
    4525 sed 's/^/| /' conftest.$ac_ext >&5
    4526 
    45274597  # Passes both tests.
    45284598ac_preproc_ok=:
    45294599break
    45304600fi
    4531 
    4532 rm -f conftest.err conftest.$ac_ext
     4601rm -f conftest.err conftest.i conftest.$ac_ext
    45334602
    45344603done
    45354604# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4536 rm -f conftest.err conftest.$ac_ext
    4537 if $ac_preproc_ok; then
     4605rm -f conftest.i conftest.err conftest.$ac_ext
     4606if $ac_preproc_ok; then :
    45384607  break
    45394608fi
     
    45474616  ac_cv_prog_CPP=$CPP
    45484617fi
    4549 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     4618{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    45504619$as_echo "$CPP" >&6; }
    45514620ac_preproc_ok=false
     
    45584627  # On the NeXT, cc -E runs the code through the compiler's parser,
    45594628  # not just through cpp. "Syntax error" is here to catch this case.
    4560   cat >conftest.$ac_ext <<_ACEOF
    4561 /* confdefs.h.  */
    4562 _ACEOF
    4563 cat confdefs.h >>conftest.$ac_ext
    4564 cat >>conftest.$ac_ext <<_ACEOF
     4629  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45654630/* end confdefs.h.  */
    45664631#ifdef __STDC__
     
    45714636             Syntax error
    45724637_ACEOF
    4573 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4574 case "(($ac_try" in
    4575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4576   *) ac_try_echo=$ac_try;;
    4577 esac
    4578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4579 $as_echo "$ac_try_echo") >&5
    4580   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4581   ac_status=$?
    4582   grep -v '^ *+' conftest.er1 >conftest.err
    4583   rm -f conftest.er1
    4584   cat conftest.err >&5
    4585   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4586   (exit $ac_status); } >/dev/null && {
    4587      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4588      test ! -s conftest.err
    4589        }; then
    4590   :
    4591 else
    4592   $as_echo "$as_me: failed program was:" >&5
    4593 sed 's/^/| /' conftest.$ac_ext >&5
    4594 
     4638if ac_fn_c_try_cpp "$LINENO"; then :
     4639
     4640else
    45954641  # Broken: fails on valid input.
    45964642continue
    45974643fi
    4598 
    4599 rm -f conftest.err conftest.$ac_ext
     4644rm -f conftest.err conftest.i conftest.$ac_ext
    46004645
    46014646  # OK, works on sane cases.  Now check whether nonexistent headers
    46024647  # can be detected and how.
    4603   cat >conftest.$ac_ext <<_ACEOF
    4604 /* confdefs.h.  */
    4605 _ACEOF
    4606 cat confdefs.h >>conftest.$ac_ext
    4607 cat >>conftest.$ac_ext <<_ACEOF
     4648  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46084649/* end confdefs.h.  */
    46094650#include <ac_nonexistent.h>
    46104651_ACEOF
    4611 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4612 case "(($ac_try" in
    4613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4614   *) ac_try_echo=$ac_try;;
    4615 esac
    4616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4617 $as_echo "$ac_try_echo") >&5
    4618   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4619   ac_status=$?
    4620   grep -v '^ *+' conftest.er1 >conftest.err
    4621   rm -f conftest.er1
    4622   cat conftest.err >&5
    4623   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4624   (exit $ac_status); } >/dev/null && {
    4625      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4626      test ! -s conftest.err
    4627        }; then
     4652if ac_fn_c_try_cpp "$LINENO"; then :
    46284653  # Broken: success on invalid input.
    46294654continue
    46304655else
    4631   $as_echo "$as_me: failed program was:" >&5
    4632 sed 's/^/| /' conftest.$ac_ext >&5
    4633 
    46344656  # Passes both tests.
    46354657ac_preproc_ok=:
    46364658break
    46374659fi
    4638 
    4639 rm -f conftest.err conftest.$ac_ext
     4660rm -f conftest.err conftest.i conftest.$ac_ext
    46404661
    46414662done
    46424663# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4643 rm -f conftest.err conftest.$ac_ext
    4644 if $ac_preproc_ok; then
    4645   :
    4646 else
    4647   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4664rm -f conftest.i conftest.err conftest.$ac_ext
     4665if $ac_preproc_ok; then :
     4666
     4667else
     4668  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    46484669$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4649 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4650 See \`config.log' for more details." >&5
    4651 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4652 See \`config.log' for more details." >&2;}
    4653    { (exit 1); exit 1; }; }; }
     4670as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4671See \`config.log' for more details" "$LINENO" 5; }
    46544672fi
    46554673
     
    46614679
    46624680
    4663 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    46644682$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4665 if test "${ac_cv_path_GREP+set}" = set; then
     4683if ${ac_cv_path_GREP+:} false; then :
    46664684  $as_echo_n "(cached) " >&6
    46674685else
     
    46744692  IFS=$as_save_IFS
    46754693  test -z "$as_dir" && as_dir=.
    4676   for ac_prog in grep ggrep; do
     4694    for ac_prog in grep ggrep; do
    46774695    for ac_exec_ext in '' $ac_executable_extensions; do
    46784696      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     
    46944712    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    46954713    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4696     ac_count=`expr $ac_count + 1`
     4714    as_fn_arith $ac_count + 1 && ac_count=$as_val
    46974715    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    46984716      # Best one so far, save it but keep looking for a better one
     
    47094727    done
    47104728  done
    4711 done
     4729  done
    47124730IFS=$as_save_IFS
    47134731  if test -z "$ac_cv_path_GREP"; then
    4714     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4715 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4716    { (exit 1); exit 1; }; }
     4732    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    47174733  fi
    47184734else
     
    47214737
    47224738fi
    4723 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    47244740$as_echo "$ac_cv_path_GREP" >&6; }
    47254741 GREP="$ac_cv_path_GREP"
    47264742
    47274743
    4728 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    47294745$as_echo_n "checking for egrep... " >&6; }
    4730 if test "${ac_cv_path_EGREP+set}" = set; then
     4746if ${ac_cv_path_EGREP+:} false; then :
    47314747  $as_echo_n "(cached) " >&6
    47324748else
     
    47424758  IFS=$as_save_IFS
    47434759  test -z "$as_dir" && as_dir=.
    4744   for ac_prog in egrep; do
     4760    for ac_prog in egrep; do
    47454761    for ac_exec_ext in '' $ac_executable_extensions; do
    47464762      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     
    47624778    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    47634779    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4764     ac_count=`expr $ac_count + 1`
     4780    as_fn_arith $ac_count + 1 && ac_count=$as_val
    47654781    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    47664782      # Best one so far, save it but keep looking for a better one
     
    47774793    done
    47784794  done
    4779 done
     4795  done
    47804796IFS=$as_save_IFS
    47814797  if test -z "$ac_cv_path_EGREP"; then
    4782     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4783 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4784    { (exit 1); exit 1; }; }
     4798    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    47854799  fi
    47864800else
     
    47904804   fi
    47914805fi
    4792 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    47934807$as_echo "$ac_cv_path_EGREP" >&6; }
    47944808 EGREP="$ac_cv_path_EGREP"
    47954809
    47964810
    4797 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    47984812$as_echo_n "checking for ANSI C header files... " >&6; }
    4799 if test "${ac_cv_header_stdc+set}" = set; then
     4813if ${ac_cv_header_stdc+:} false; then :
    48004814  $as_echo_n "(cached) " >&6
    48014815else
    4802   cat >conftest.$ac_ext <<_ACEOF
    4803 /* confdefs.h.  */
    4804 _ACEOF
    4805 cat confdefs.h >>conftest.$ac_ext
    4806 cat >>conftest.$ac_ext <<_ACEOF
     4816  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48074817/* end confdefs.h.  */
    48084818#include <stdlib.h>
     
    48194829}
    48204830_ACEOF
    4821 rm -f conftest.$ac_objext
    4822 if { (ac_try="$ac_compile"
    4823 case "(($ac_try" in
    4824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4825   *) ac_try_echo=$ac_try;;
    4826 esac
    4827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4828 $as_echo "$ac_try_echo") >&5
    4829   (eval "$ac_compile") 2>conftest.er1
    4830   ac_status=$?
    4831   grep -v '^ *+' conftest.er1 >conftest.err
    4832   rm -f conftest.er1
    4833   cat conftest.err >&5
    4834   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4835   (exit $ac_status); } && {
    4836      test -z "$ac_c_werror_flag" ||
    4837      test ! -s conftest.err
    4838        } && test -s conftest.$ac_objext; then
     4831if ac_fn_c_try_compile "$LINENO"; then :
    48394832  ac_cv_header_stdc=yes
    48404833else
    4841   $as_echo "$as_me: failed program was:" >&5
    4842 sed 's/^/| /' conftest.$ac_ext >&5
    4843 
    4844     ac_cv_header_stdc=no
    4845 fi
    4846 
     4834  ac_cv_header_stdc=no
     4835fi
    48474836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    48484837
    48494838if test $ac_cv_header_stdc = yes; then
    48504839  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4851   cat >conftest.$ac_ext <<_ACEOF
    4852 /* confdefs.h.  */
    4853 _ACEOF
    4854 cat confdefs.h >>conftest.$ac_ext
    4855 cat >>conftest.$ac_ext <<_ACEOF
     4840  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48564841/* end confdefs.h.  */
    48574842#include <string.h>
     
    48594844_ACEOF
    48604845if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4861   $EGREP "memchr" >/dev/null 2>&1; then
    4862   :
     4846  $EGREP "memchr" >/dev/null 2>&1; then :
     4847
    48634848else
    48644849  ac_cv_header_stdc=no
     
    48704855if test $ac_cv_header_stdc = yes; then
    48714856  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4872   cat >conftest.$ac_ext <<_ACEOF
    4873 /* confdefs.h.  */
    4874 _ACEOF
    4875 cat confdefs.h >>conftest.$ac_ext
    4876 cat >>conftest.$ac_ext <<_ACEOF
     4857  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48774858/* end confdefs.h.  */
    48784859#include <stdlib.h>
     
    48804861_ACEOF
    48814862if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4882   $EGREP "free" >/dev/null 2>&1; then
    4883   :
     4863  $EGREP "free" >/dev/null 2>&1; then :
     4864
    48844865else
    48854866  ac_cv_header_stdc=no
     
    48914872if test $ac_cv_header_stdc = yes; then
    48924873  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4893   if test "$cross_compiling" = yes; then
     4874  if test "$cross_compiling" = yes; then :
    48944875  :
    48954876else
    4896   cat >conftest.$ac_ext <<_ACEOF
    4897 /* confdefs.h.  */
    4898 _ACEOF
    4899 cat confdefs.h >>conftest.$ac_ext
    4900 cat >>conftest.$ac_ext <<_ACEOF
     4877  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49014878/* end confdefs.h.  */
    49024879#include <ctype.h>
     
    49254902}
    49264903_ACEOF
    4927 rm -f conftest$ac_exeext
    4928 if { (ac_try="$ac_link"
    4929 case "(($ac_try" in
    4930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4931   *) ac_try_echo=$ac_try;;
    4932 esac
    4933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4934 $as_echo "$ac_try_echo") >&5
    4935   (eval "$ac_link") 2>&5
    4936   ac_status=$?
    4937   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4938   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4939   { (case "(($ac_try" in
    4940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4941   *) ac_try_echo=$ac_try;;
    4942 esac
    4943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4944 $as_echo "$ac_try_echo") >&5
    4945   (eval "$ac_try") 2>&5
    4946   ac_status=$?
    4947   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4948   (exit $ac_status); }; }; then
    4949   :
    4950 else
    4951   $as_echo "$as_me: program exited with status $ac_status" >&5
    4952 $as_echo "$as_me: failed program was:" >&5
    4953 sed 's/^/| /' conftest.$ac_ext >&5
    4954 
    4955 ( exit $ac_status )
    4956 ac_cv_header_stdc=no
    4957 fi
    4958 rm -rf conftest.dSYM
    4959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4960 fi
    4961 
    4962 
    4963 fi
    4964 fi
    4965 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4904if ac_fn_c_try_run "$LINENO"; then :
     4905
     4906else
     4907  ac_cv_header_stdc=no
     4908fi
     4909rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4910  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4911fi
     4912
     4913fi
     4914fi
     4915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    49664916$as_echo "$ac_cv_header_stdc" >&6; }
    49674917if test $ac_cv_header_stdc = yes; then
    49684918
    4969 cat >>confdefs.h <<\_ACEOF
    4970 #define STDC_HEADERS 1
    4971 _ACEOF
     4919$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    49724920
    49734921fi
    49744922
    49754923# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4976 
    4977 
    4978 
    4979 
    4980 
    4981 
    4982 
    4983 
    4984 
    49854924for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    49864925          inttypes.h stdint.h unistd.h
    4987 do
    4988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4989 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    4990 $as_echo_n "checking for $ac_header... " >&6; }
    4991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4992   $as_echo_n "(cached) " >&6
    4993 else
    4994   cat >conftest.$ac_ext <<_ACEOF
    4995 /* confdefs.h.  */
    4996 _ACEOF
    4997 cat confdefs.h >>conftest.$ac_ext
    4998 cat >>conftest.$ac_ext <<_ACEOF
    4999 /* end confdefs.h.  */
    5000 $ac_includes_default
    5001 
    5002 #include <$ac_header>
    5003 _ACEOF
    5004 rm -f conftest.$ac_objext
    5005 if { (ac_try="$ac_compile"
    5006 case "(($ac_try" in
    5007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5008   *) ac_try_echo=$ac_try;;
    5009 esac
    5010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5011 $as_echo "$ac_try_echo") >&5
    5012   (eval "$ac_compile") 2>conftest.er1
    5013   ac_status=$?
    5014   grep -v '^ *+' conftest.er1 >conftest.err
    5015   rm -f conftest.er1
    5016   cat conftest.err >&5
    5017   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5018   (exit $ac_status); } && {
    5019      test -z "$ac_c_werror_flag" ||
    5020      test ! -s conftest.err
    5021        } && test -s conftest.$ac_objext; then
    5022   eval "$as_ac_Header=yes"
    5023 else
    5024   $as_echo "$as_me: failed program was:" >&5
    5025 sed 's/^/| /' conftest.$ac_ext >&5
    5026 
    5027     eval "$as_ac_Header=no"
    5028 fi
    5029 
    5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5031 fi
    5032 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5033          $as_echo "$as_val"'`
    5034            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5035 $as_echo "$ac_res" >&6; }
    5036 as_val=`eval 'as_val=${'$as_ac_Header'}
    5037          $as_echo "$as_val"'`
    5038    if test "x$as_val" = x""yes; then
     4926do :
     4927  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4928ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4929"
     4930if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    50394931  cat >>confdefs.h <<_ACEOF
    50404932#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    50474939
    50484940
    5049   if test "${ac_cv_header_minix_config_h+set}" = set; then
    5050   { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
    5051 $as_echo_n "checking for minix/config.h... " >&6; }
    5052 if test "${ac_cv_header_minix_config_h+set}" = set; then
     4941  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
     4942if test "x$ac_cv_header_minix_config_h" = xyes; then :
     4943  MINIX=yes
     4944else
     4945  MINIX=
     4946fi
     4947
     4948
     4949  if test "$MINIX" = yes; then
     4950
     4951$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
     4952
     4953
     4954$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
     4955
     4956
     4957$as_echo "#define _MINIX 1" >>confdefs.h
     4958
     4959  fi
     4960
     4961
     4962  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
     4963$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
     4964if ${ac_cv_safe_to_define___extensions__+:} false; then :
    50534965  $as_echo_n "(cached) " >&6
    5054 fi
    5055 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    5056 $as_echo "$ac_cv_header_minix_config_h" >&6; }
    5057 else
    5058   # Is the header compilable?
    5059 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    5060 $as_echo_n "checking minix/config.h usability... " >&6; }
    5061 cat >conftest.$ac_ext <<_ACEOF
    5062 /* confdefs.h.  */
    5063 _ACEOF
    5064 cat confdefs.h >>conftest.$ac_ext
    5065 cat >>conftest.$ac_ext <<_ACEOF
    5066 /* end confdefs.h.  */
    5067 $ac_includes_default
    5068 #include <minix/config.h>
    5069 _ACEOF
    5070 rm -f conftest.$ac_objext
    5071 if { (ac_try="$ac_compile"
    5072 case "(($ac_try" in
    5073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5074   *) ac_try_echo=$ac_try;;
    5075 esac
    5076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5077 $as_echo "$ac_try_echo") >&5
    5078   (eval "$ac_compile") 2>conftest.er1
    5079   ac_status=$?
    5080   grep -v '^ *+' conftest.er1 >conftest.err
    5081   rm -f conftest.er1
    5082   cat conftest.err >&5
    5083   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5084   (exit $ac_status); } && {
    5085      test -z "$ac_c_werror_flag" ||
    5086      test ! -s conftest.err
    5087        } && test -s conftest.$ac_objext; then
    5088   ac_header_compiler=yes
    5089 else
    5090   $as_echo "$as_me: failed program was:" >&5
    5091 sed 's/^/| /' conftest.$ac_ext >&5
    5092 
    5093     ac_header_compiler=no
    5094 fi
    5095 
    5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5097 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5098 $as_echo "$ac_header_compiler" >&6; }
    5099 
    5100 # Is the header present?
    5101 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    5102 $as_echo_n "checking minix/config.h presence... " >&6; }
    5103 cat >conftest.$ac_ext <<_ACEOF
    5104 /* confdefs.h.  */
    5105 _ACEOF
    5106 cat confdefs.h >>conftest.$ac_ext
    5107 cat >>conftest.$ac_ext <<_ACEOF
    5108 /* end confdefs.h.  */
    5109 #include <minix/config.h>
    5110 _ACEOF
    5111 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5112 case "(($ac_try" in
    5113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5114   *) ac_try_echo=$ac_try;;
    5115 esac
    5116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5117 $as_echo "$ac_try_echo") >&5
    5118   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5119   ac_status=$?
    5120   grep -v '^ *+' conftest.er1 >conftest.err
    5121   rm -f conftest.er1
    5122   cat conftest.err >&5
    5123   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5124   (exit $ac_status); } >/dev/null && {
    5125      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5126      test ! -s conftest.err
    5127        }; then
    5128   ac_header_preproc=yes
    5129 else
    5130   $as_echo "$as_me: failed program was:" >&5
    5131 sed 's/^/| /' conftest.$ac_ext >&5
    5132 
    5133   ac_header_preproc=no
    5134 fi
    5135 
    5136 rm -f conftest.err conftest.$ac_ext
    5137 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5138 $as_echo "$ac_header_preproc" >&6; }
    5139 
    5140 # So?  What about this header?
    5141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5142   yes:no: )
    5143     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5144 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5145     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
    5146 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
    5147     ac_header_preproc=yes
    5148     ;;
    5149   no:yes:* )
    5150     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
    5151 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
    5152     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
    5153 $as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
    5154     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
    5155 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
    5156     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
    5157 $as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5158     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
    5159 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
    5160     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    5161 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    5162 
    5163     ;;
    5164 esac
    5165 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
    5166 $as_echo_n "checking for minix/config.h... " >&6; }
    5167 if test "${ac_cv_header_minix_config_h+set}" = set; then
    5168   $as_echo_n "(cached) " >&6
    5169 else
    5170   ac_cv_header_minix_config_h=$ac_header_preproc
    5171 fi
    5172 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    5173 $as_echo "$ac_cv_header_minix_config_h" >&6; }
    5174 
    5175 fi
    5176 if test "x$ac_cv_header_minix_config_h" = x""yes; then
    5177   MINIX=yes
    5178 else
    5179   MINIX=
    5180 fi
    5181 
    5182 
    5183   if test "$MINIX" = yes; then
    5184 
    5185 cat >>confdefs.h <<\_ACEOF
    5186 #define _POSIX_SOURCE 1
    5187 _ACEOF
    5188 
    5189 
    5190 cat >>confdefs.h <<\_ACEOF
    5191 #define _POSIX_1_SOURCE 2
    5192 _ACEOF
    5193 
    5194 
    5195 cat >>confdefs.h <<\_ACEOF
    5196 #define _MINIX 1
    5197 _ACEOF
    5198 
    5199   fi
    5200 
    5201 
    5202 
    5203   { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
    5204 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
    5205 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
    5206   $as_echo_n "(cached) " >&6
    5207 else
    5208   cat >conftest.$ac_ext <<_ACEOF
    5209 /* confdefs.h.  */
    5210 _ACEOF
    5211 cat confdefs.h >>conftest.$ac_ext
    5212 cat >>conftest.$ac_ext <<_ACEOF
     4966else
     4967  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52134968/* end confdefs.h.  */
    52144969
     
    52234978}
    52244979_ACEOF
    5225 rm -f conftest.$ac_objext
    5226 if { (ac_try="$ac_compile"
    5227 case "(($ac_try" in
    5228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5229   *) ac_try_echo=$ac_try;;
    5230 esac
    5231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5232 $as_echo "$ac_try_echo") >&5
    5233   (eval "$ac_compile") 2>conftest.er1
    5234   ac_status=$?
    5235   grep -v '^ *+' conftest.er1 >conftest.err
    5236   rm -f conftest.er1
    5237   cat conftest.err >&5
    5238   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5239   (exit $ac_status); } && {
    5240      test -z "$ac_c_werror_flag" ||
    5241      test ! -s conftest.err
    5242        } && test -s conftest.$ac_objext; then
     4980if ac_fn_c_try_compile "$LINENO"; then :
    52434981  ac_cv_safe_to_define___extensions__=yes
    52444982else
    5245   $as_echo "$as_me: failed program was:" >&5
    5246 sed 's/^/| /' conftest.$ac_ext >&5
    5247 
    5248     ac_cv_safe_to_define___extensions__=no
    5249 fi
    5250 
     4983  ac_cv_safe_to_define___extensions__=no
     4984fi
    52514985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    52524986fi
    5253 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
     4987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
    52544988$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
    52554989  test $ac_cv_safe_to_define___extensions__ = yes &&
    5256     cat >>confdefs.h <<\_ACEOF
    5257 #define __EXTENSIONS__ 1
    5258 _ACEOF
    5259 
    5260   cat >>confdefs.h <<\_ACEOF
    5261 #define _ALL_SOURCE 1
    5262 _ACEOF
    5263 
    5264   cat >>confdefs.h <<\_ACEOF
    5265 #define _GNU_SOURCE 1
    5266 _ACEOF
    5267 
    5268   cat >>confdefs.h <<\_ACEOF
    5269 #define _POSIX_PTHREAD_SEMANTICS 1
    5270 _ACEOF
    5271 
    5272   cat >>confdefs.h <<\_ACEOF
    5273 #define _TANDEM_SOURCE 1
    5274 _ACEOF
    5275 
    5276 
    5277 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
     4990    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
     4991
     4992  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
     4993
     4994  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
     4995
     4996  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     4997
     4998  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
     4999
     5000
     5001
     5002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
    52785003$as_echo_n "checking for library containing strerror... " >&6; }
    5279 if test "${ac_cv_search_strerror+set}" = set; then
     5004if ${ac_cv_search_strerror+:} false; then :
    52805005  $as_echo_n "(cached) " >&6
    52815006else
    52825007  ac_func_search_save_LIBS=$LIBS
    5283 cat >conftest.$ac_ext <<_ACEOF
    5284 /* confdefs.h.  */
    5285 _ACEOF
    5286 cat confdefs.h >>conftest.$ac_ext
    5287 cat >>conftest.$ac_ext <<_ACEOF
     5008cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52885009/* end confdefs.h.  */
    52895010
     
    53105031    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    53115032  fi
    5312   rm -f conftest.$ac_objext conftest$ac_exeext
    5313 if { (ac_try="$ac_link"
    5314 case "(($ac_try" in
    5315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5316   *) ac_try_echo=$ac_try;;
    5317 esac
    5318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5319 $as_echo "$ac_try_echo") >&5
    5320   (eval "$ac_link") 2>conftest.er1
    5321   ac_status=$?
    5322   grep -v '^ *+' conftest.er1 >conftest.err
    5323   rm -f conftest.er1
    5324   cat conftest.err >&5
    5325   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5326   (exit $ac_status); } && {
    5327      test -z "$ac_c_werror_flag" ||
    5328      test ! -s conftest.err
    5329        } && test -s conftest$ac_exeext && {
    5330      test "$cross_compiling" = yes ||
    5331      $as_test_x conftest$ac_exeext
    5332        }; then
     5033  if ac_fn_c_try_link "$LINENO"; then :
    53335034  ac_cv_search_strerror=$ac_res
    5334 else
    5335   $as_echo "$as_me: failed program was:" >&5
    5336 sed 's/^/| /' conftest.$ac_ext >&5
    5337 
    5338 
    5339 fi
    5340 
    5341 rm -rf conftest.dSYM
    5342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5343       conftest$ac_exeext
    5344   if test "${ac_cv_search_strerror+set}" = set; then
     5035fi
     5036rm -f core conftest.err conftest.$ac_objext \
     5037    conftest$ac_exeext
     5038  if ${ac_cv_search_strerror+:} false; then :
    53455039  break
    53465040fi
    53475041done
    5348 if test "${ac_cv_search_strerror+set}" = set; then
    5349   :
     5042if ${ac_cv_search_strerror+:} false; then :
     5043
    53505044else
    53515045  ac_cv_search_strerror=no
     
    53545048LIBS=$ac_func_search_save_LIBS
    53555049fi
    5356 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     5050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
    53575051$as_echo "$ac_cv_search_strerror" >&6; }
    53585052ac_res=$ac_cv_search_strerror
    5359 if test "$ac_res" != no; then
     5053if test "$ac_res" != no; then :
    53605054  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    53615055
     
    53635057
    53645058
    5365   if test "${ac_cv_header_minix_config_h+set}" = set; then
    5366   { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
    5367 $as_echo_n "checking for minix/config.h... " >&6; }
    5368 if test "${ac_cv_header_minix_config_h+set}" = set; then
    5369   $as_echo_n "(cached) " >&6
    5370 fi
    5371 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    5372 $as_echo "$ac_cv_header_minix_config_h" >&6; }
    5373 else
    5374   # Is the header compilable?
    5375 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    5376 $as_echo_n "checking minix/config.h usability... " >&6; }
    5377 cat >conftest.$ac_ext <<_ACEOF
    5378 /* confdefs.h.  */
    5379 _ACEOF
    5380 cat confdefs.h >>conftest.$ac_ext
    5381 cat >>conftest.$ac_ext <<_ACEOF
    5382 /* end confdefs.h.  */
    5383 $ac_includes_default
    5384 #include <minix/config.h>
    5385 _ACEOF
    5386 rm -f conftest.$ac_objext
    5387 if { (ac_try="$ac_compile"
    5388 case "(($ac_try" in
    5389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5390   *) ac_try_echo=$ac_try;;
    5391 esac
    5392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5393 $as_echo "$ac_try_echo") >&5
    5394   (eval "$ac_compile") 2>conftest.er1
    5395   ac_status=$?
    5396   grep -v '^ *+' conftest.er1 >conftest.err
    5397   rm -f conftest.er1
    5398   cat conftest.err >&5
    5399   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5400   (exit $ac_status); } && {
    5401      test -z "$ac_c_werror_flag" ||
    5402      test ! -s conftest.err
    5403        } && test -s conftest.$ac_objext; then
    5404   ac_header_compiler=yes
    5405 else
    5406   $as_echo "$as_me: failed program was:" >&5
    5407 sed 's/^/| /' conftest.$ac_ext >&5
    5408 
    5409     ac_header_compiler=no
    5410 fi
    5411 
    5412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5413 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5414 $as_echo "$ac_header_compiler" >&6; }
    5415 
    5416 # Is the header present?
    5417 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    5418 $as_echo_n "checking minix/config.h presence... " >&6; }
    5419 cat >conftest.$ac_ext <<_ACEOF
    5420 /* confdefs.h.  */
    5421 _ACEOF
    5422 cat confdefs.h >>conftest.$ac_ext
    5423 cat >>conftest.$ac_ext <<_ACEOF
    5424 /* end confdefs.h.  */
    5425 #include <minix/config.h>
    5426 _ACEOF
    5427 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5428 case "(($ac_try" in
    5429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5430   *) ac_try_echo=$ac_try;;
    5431 esac
    5432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5433 $as_echo "$ac_try_echo") >&5
    5434   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5435   ac_status=$?
    5436   grep -v '^ *+' conftest.er1 >conftest.err
    5437   rm -f conftest.er1
    5438   cat conftest.err >&5
    5439   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5440   (exit $ac_status); } >/dev/null && {
    5441      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5442      test ! -s conftest.err
    5443        }; then
    5444   ac_header_preproc=yes
    5445 else
    5446   $as_echo "$as_me: failed program was:" >&5
    5447 sed 's/^/| /' conftest.$ac_ext >&5
    5448 
    5449   ac_header_preproc=no
    5450 fi
    5451 
    5452 rm -f conftest.err conftest.$ac_ext
    5453 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5454 $as_echo "$ac_header_preproc" >&6; }
    5455 
    5456 # So?  What about this header?
    5457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5458   yes:no: )
    5459     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5460 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5461     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
    5462 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
    5463     ac_header_preproc=yes
    5464     ;;
    5465   no:yes:* )
    5466     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
    5467 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
    5468     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
    5469 $as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
    5470     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
    5471 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
    5472     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
    5473 $as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5474     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
    5475 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
    5476     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    5477 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    5478 
    5479     ;;
    5480 esac
    5481 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
    5482 $as_echo_n "checking for minix/config.h... " >&6; }
    5483 if test "${ac_cv_header_minix_config_h+set}" = set; then
    5484   $as_echo_n "(cached) " >&6
    5485 else
    5486   ac_cv_header_minix_config_h=$ac_header_preproc
    5487 fi
    5488 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    5489 $as_echo "$ac_cv_header_minix_config_h" >&6; }
    5490 
    5491 fi
    5492 if test "x$ac_cv_header_minix_config_h" = x""yes; then
    5493   MINIX=yes
    5494 else
    5495   MINIX=
    5496 fi
    5497 
    5498 
    5499   if test "$MINIX" = yes; then
    5500 
    5501 cat >>confdefs.h <<\_ACEOF
    5502 #define _POSIX_SOURCE 1
    5503 _ACEOF
    5504 
    5505 
    5506 cat >>confdefs.h <<\_ACEOF
    5507 #define _POSIX_1_SOURCE 2
    5508 _ACEOF
    5509 
    5510 
    5511 cat >>confdefs.h <<\_ACEOF
    5512 #define _MINIX 1
    5513 _ACEOF
    5514 
    5515   fi
    5516 
    5517 
    5518 
    5519   { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
    5520 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
    5521 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
    5522   $as_echo_n "(cached) " >&6
    5523 else
    5524   cat >conftest.$ac_ext <<_ACEOF
    5525 /* confdefs.h.  */
    5526 _ACEOF
    5527 cat confdefs.h >>conftest.$ac_ext
    5528 cat >>conftest.$ac_ext <<_ACEOF
    5529 /* end confdefs.h.  */
    5530 
    5531 #     define __EXTENSIONS__ 1
    5532       $ac_includes_default
    5533 int
    5534 main ()
    5535 {
    5536 
    5537   ;
    5538   return 0;
    5539 }
    5540 _ACEOF
    5541 rm -f conftest.$ac_objext
    5542 if { (ac_try="$ac_compile"
    5543 case "(($ac_try" in
    5544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5545   *) ac_try_echo=$ac_try;;
    5546 esac
    5547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5548 $as_echo "$ac_try_echo") >&5
    5549   (eval "$ac_compile") 2>conftest.er1
    5550   ac_status=$?
    5551   grep -v '^ *+' conftest.er1 >conftest.err
    5552   rm -f conftest.er1
    5553   cat conftest.err >&5
    5554   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5555   (exit $ac_status); } && {
    5556      test -z "$ac_c_werror_flag" ||
    5557      test ! -s conftest.err
    5558        } && test -s conftest.$ac_objext; then
    5559   ac_cv_safe_to_define___extensions__=yes
    5560 else
    5561   $as_echo "$as_me: failed program was:" >&5
    5562 sed 's/^/| /' conftest.$ac_ext >&5
    5563 
    5564     ac_cv_safe_to_define___extensions__=no
    5565 fi
    5566 
    5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5568 fi
    5569 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
    5570 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
    5571   test $ac_cv_safe_to_define___extensions__ = yes &&
    5572     cat >>confdefs.h <<\_ACEOF
    5573 #define __EXTENSIONS__ 1
    5574 _ACEOF
    5575 
    5576   cat >>confdefs.h <<\_ACEOF
    5577 #define _ALL_SOURCE 1
    5578 _ACEOF
    5579 
    5580   cat >>confdefs.h <<\_ACEOF
    5581 #define _GNU_SOURCE 1
    5582 _ACEOF
    5583 
    5584   cat >>confdefs.h <<\_ACEOF
    5585 #define _POSIX_PTHREAD_SEMANTICS 1
    5586 _ACEOF
    5587 
    5588   cat >>confdefs.h <<\_ACEOF
    5589 #define _TANDEM_SOURCE 1
    5590 _ACEOF
    5591 
    5592 
    5593 { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     5059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
    55945060$as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
    5595 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     5061if ${ac_cv_prog_cc_stdc+:} false; then :
    55965062  $as_echo_n "(cached) " >&6
    55975063else
     
    56075073do
    56085074  CFLAGS="$ac_save_CFLAGS $ac_arg"
    5609   cat >conftest.$ac_ext <<_ACEOF
    5610 /* confdefs.h.  */
    5611 _ACEOF
    5612 cat confdefs.h >>conftest.$ac_ext
    5613 cat >>conftest.$ac_ext <<_ACEOF
     5075  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56145076/* end confdefs.h.  */
    56155077#if !defined(__STDC__) || __STDC__ != 1
     
    56275089}
    56285090_ACEOF
    5629 rm -f conftest.$ac_objext
    5630 if { (ac_try="$ac_compile"
    5631 case "(($ac_try" in
    5632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5633   *) ac_try_echo=$ac_try;;
    5634 esac
    5635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5636 $as_echo "$ac_try_echo") >&5
    5637   (eval "$ac_compile") 2>conftest.er1
    5638   ac_status=$?
    5639   grep -v '^ *+' conftest.er1 >conftest.err
    5640   rm -f conftest.er1
    5641   cat conftest.err >&5
    5642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5643   (exit $ac_status); } && {
    5644      test -z "$ac_c_werror_flag" ||
    5645      test ! -s conftest.err
    5646        } && test -s conftest.$ac_objext; then
     5091if ac_fn_c_try_compile "$LINENO"; then :
    56475092  ac_cv_prog_cc_stdc="$ac_arg"; break
    5648 else
    5649   $as_echo "$as_me: failed program was:" >&5
    5650 sed 's/^/| /' conftest.$ac_ext >&5
    5651 
    5652 
    5653 fi
    5654 
     5093fi
    56555094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    56565095done
     
    56595098fi
    56605099
    5661 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     5100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
    56625101$as_echo "$ac_cv_prog_cc_stdc" >&6; }
    56635102case "x$ac_cv_prog_cc_stdc" in
     
    56675106
    56685107
    5669 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
     5108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
    56705109$as_echo_n "checking for function prototypes... " >&6; }
    56715110if test "$ac_cv_prog_cc_stdc" != no; then
    5672   { $as_echo "$as_me:$LINENO: result: yes" >&5
     5111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    56735112$as_echo "yes" >&6; }
    5674   cat >>confdefs.h <<\_ACEOF
    5675 #define PROTOTYPES 1
    5676 _ACEOF
     5113  $as_echo "#define PROTOTYPES 1" >>confdefs.h
    56775114
    56785115  U= ANSI2KNR=
    56795116else
    5680   { $as_echo "$as_me:$LINENO: result: no" >&5
     5117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    56815118$as_echo "no" >&6; }
    56825119  U=_ ANSI2KNR=ansi2knr
    56835120fi
    56845121
    5685 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     5122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
    56865123$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
    5687 if test "${ac_cv_c_const+set}" = set; then
     5124if ${ac_cv_c_const+:} false; then :
    56885125  $as_echo_n "(cached) " >&6
    56895126else
    5690   cat >conftest.$ac_ext <<_ACEOF
    5691 /* confdefs.h.  */
    5692 _ACEOF
    5693 cat confdefs.h >>conftest.$ac_ext
    5694 cat >>conftest.$ac_ext <<_ACEOF
     5127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56955128/* end confdefs.h.  */
    56965129
     
    57525185}
    57535186_ACEOF
    5754 rm -f conftest.$ac_objext
    5755 if { (ac_try="$ac_compile"
    5756 case "(($ac_try" in
    5757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5758   *) ac_try_echo=$ac_try;;
    5759 esac
    5760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5761 $as_echo "$ac_try_echo") >&5
    5762   (eval "$ac_compile") 2>conftest.er1
    5763   ac_status=$?
    5764   grep -v '^ *+' conftest.er1 >conftest.err
    5765   rm -f conftest.er1
    5766   cat conftest.err >&5
    5767   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5768   (exit $ac_status); } && {
    5769      test -z "$ac_c_werror_flag" ||
    5770      test ! -s conftest.err
    5771        } && test -s conftest.$ac_objext; then
     5187if ac_fn_c_try_compile "$LINENO"; then :
    57725188  ac_cv_c_const=yes
    57735189else
    5774   $as_echo "$as_me: failed program was:" >&5
    5775 sed 's/^/| /' conftest.$ac_ext >&5
    5776 
    5777     ac_cv_c_const=no
    5778 fi
    5779 
     5190  ac_cv_c_const=no
     5191fi
    57805192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    57815193fi
    5782 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     5194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
    57835195$as_echo "$ac_cv_c_const" >&6; }
    57845196if test $ac_cv_c_const = no; then
    57855197
    5786 cat >>confdefs.h <<\_ACEOF
    5787 #define const /**/
    5788 _ACEOF
    5789 
    5790 fi
    5791 
    5792 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
    5793 $as_echo_n "checking for off_t... " >&6; }
    5794 if test "${ac_cv_type_off_t+set}" = set; then
    5795   $as_echo_n "(cached) " >&6
    5796 else
    5797   ac_cv_type_off_t=no
    5798 cat >conftest.$ac_ext <<_ACEOF
    5799 /* confdefs.h.  */
    5800 _ACEOF
    5801 cat confdefs.h >>conftest.$ac_ext
    5802 cat >>conftest.$ac_ext <<_ACEOF
    5803 /* end confdefs.h.  */
    5804 $ac_includes_default
    5805 int
    5806 main ()
    5807 {
    5808 if (sizeof (off_t))
    5809        return 0;
    5810   ;
    5811   return 0;
    5812 }
    5813 _ACEOF
    5814 rm -f conftest.$ac_objext
    5815 if { (ac_try="$ac_compile"
    5816 case "(($ac_try" in
    5817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5818   *) ac_try_echo=$ac_try;;
    5819 esac
    5820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5821 $as_echo "$ac_try_echo") >&5
    5822   (eval "$ac_compile") 2>conftest.er1
    5823   ac_status=$?
    5824   grep -v '^ *+' conftest.er1 >conftest.err
    5825   rm -f conftest.er1
    5826   cat conftest.err >&5
    5827   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5828   (exit $ac_status); } && {
    5829      test -z "$ac_c_werror_flag" ||
    5830      test ! -s conftest.err
    5831        } && test -s conftest.$ac_objext; then
    5832   cat >conftest.$ac_ext <<_ACEOF
    5833 /* confdefs.h.  */
    5834 _ACEOF
    5835 cat confdefs.h >>conftest.$ac_ext
    5836 cat >>conftest.$ac_ext <<_ACEOF
    5837 /* end confdefs.h.  */
    5838 $ac_includes_default
    5839 int
    5840 main ()
    5841 {
    5842 if (sizeof ((off_t)))
    5843       return 0;
    5844   ;
    5845   return 0;
    5846 }
    5847 _ACEOF
    5848 rm -f conftest.$ac_objext
    5849 if { (ac_try="$ac_compile"
    5850 case "(($ac_try" in
    5851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5852   *) ac_try_echo=$ac_try;;
    5853 esac
    5854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5855 $as_echo "$ac_try_echo") >&5
    5856   (eval "$ac_compile") 2>conftest.er1
    5857   ac_status=$?
    5858   grep -v '^ *+' conftest.er1 >conftest.err
    5859   rm -f conftest.er1
    5860   cat conftest.err >&5
    5861   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5862   (exit $ac_status); } && {
    5863      test -z "$ac_c_werror_flag" ||
    5864      test ! -s conftest.err
    5865        } && test -s conftest.$ac_objext; then
    5866   :
    5867 else
    5868   $as_echo "$as_me: failed program was:" >&5
    5869 sed 's/^/| /' conftest.$ac_ext >&5
    5870 
    5871     ac_cv_type_off_t=yes
    5872 fi
    5873 
    5874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5875 else
    5876   $as_echo "$as_me: failed program was:" >&5
    5877 sed 's/^/| /' conftest.$ac_ext >&5
    5878 
    5879 
    5880 fi
    5881 
    5882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5883 fi
    5884 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    5885 $as_echo "$ac_cv_type_off_t" >&6; }
    5886 if test "x$ac_cv_type_off_t" = x""yes; then
    5887   :
     5198$as_echo "#define const /**/" >>confdefs.h
     5199
     5200fi
     5201
     5202ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
     5203if test "x$ac_cv_type_off_t" = xyes; then :
     5204
    58885205else
    58895206
     
    58945211fi
    58955212
    5896 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
    5897 $as_echo_n "checking for size_t... " >&6; }
    5898 if test "${ac_cv_type_size_t+set}" = set; then
    5899   $as_echo_n "(cached) " >&6
    5900 else
    5901   ac_cv_type_size_t=no
    5902 cat >conftest.$ac_ext <<_ACEOF
    5903 /* confdefs.h.  */
    5904 _ACEOF
    5905 cat confdefs.h >>conftest.$ac_ext
    5906 cat >>conftest.$ac_ext <<_ACEOF
    5907 /* end confdefs.h.  */
    5908 $ac_includes_default
    5909 int
    5910 main ()
    5911 {
    5912 if (sizeof (size_t))
    5913        return 0;
    5914   ;
    5915   return 0;
    5916 }
    5917 _ACEOF
    5918 rm -f conftest.$ac_objext
    5919 if { (ac_try="$ac_compile"
    5920 case "(($ac_try" in
    5921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5922   *) ac_try_echo=$ac_try;;
    5923 esac
    5924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5925 $as_echo "$ac_try_echo") >&5
    5926   (eval "$ac_compile") 2>conftest.er1
    5927   ac_status=$?
    5928   grep -v '^ *+' conftest.er1 >conftest.err
    5929   rm -f conftest.er1
    5930   cat conftest.err >&5
    5931   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5932   (exit $ac_status); } && {
    5933      test -z "$ac_c_werror_flag" ||
    5934      test ! -s conftest.err
    5935        } && test -s conftest.$ac_objext; then
    5936   cat >conftest.$ac_ext <<_ACEOF
    5937 /* confdefs.h.  */
    5938 _ACEOF
    5939 cat confdefs.h >>conftest.$ac_ext
    5940 cat >>conftest.$ac_ext <<_ACEOF
    5941 /* end confdefs.h.  */
    5942 $ac_includes_default
    5943 int
    5944 main ()
    5945 {
    5946 if (sizeof ((size_t)))
    5947       return 0;
    5948   ;
    5949   return 0;
    5950 }
    5951 _ACEOF
    5952 rm -f conftest.$ac_objext
    5953 if { (ac_try="$ac_compile"
    5954 case "(($ac_try" in
    5955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5956   *) ac_try_echo=$ac_try;;
    5957 esac
    5958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5959 $as_echo "$ac_try_echo") >&5
    5960   (eval "$ac_compile") 2>conftest.er1
    5961   ac_status=$?
    5962   grep -v '^ *+' conftest.er1 >conftest.err
    5963   rm -f conftest.er1
    5964   cat conftest.err >&5
    5965   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5966   (exit $ac_status); } && {
    5967      test -z "$ac_c_werror_flag" ||
    5968      test ! -s conftest.err
    5969        } && test -s conftest.$ac_objext; then
    5970   :
    5971 else
    5972   $as_echo "$as_me: failed program was:" >&5
    5973 sed 's/^/| /' conftest.$ac_ext >&5
    5974 
    5975     ac_cv_type_size_t=yes
    5976 fi
    5977 
    5978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5979 else
    5980   $as_echo "$as_me: failed program was:" >&5
    5981 sed 's/^/| /' conftest.$ac_ext >&5
    5982 
    5983 
    5984 fi
    5985 
    5986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5987 fi
    5988 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    5989 $as_echo "$ac_cv_type_size_t" >&6; }
    5990 if test "x$ac_cv_type_size_t" = x""yes; then
    5991   :
     5213ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
     5214if test "x$ac_cv_type_size_t" = xyes; then :
     5215
    59925216else
    59935217
     
    59985222fi
    59995223
    6000 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     5224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
    60015225$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
    6002 if test "${ac_cv_header_time+set}" = set; then
     5226if ${ac_cv_header_time+:} false; then :
    60035227  $as_echo_n "(cached) " >&6
    60045228else
    6005   cat >conftest.$ac_ext <<_ACEOF
    6006 /* confdefs.h.  */
    6007 _ACEOF
    6008 cat confdefs.h >>conftest.$ac_ext
    6009 cat >>conftest.$ac_ext <<_ACEOF
     5229  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    60105230/* end confdefs.h.  */
    60115231#include <sys/types.h>
     
    60225242}
    60235243_ACEOF
    6024 rm -f conftest.$ac_objext
    6025 if { (ac_try="$ac_compile"
    6026 case "(($ac_try" in
    6027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6028   *) ac_try_echo=$ac_try;;
    6029 esac
    6030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6031 $as_echo "$ac_try_echo") >&5
    6032   (eval "$ac_compile") 2>conftest.er1
    6033   ac_status=$?
    6034   grep -v '^ *+' conftest.er1 >conftest.err
    6035   rm -f conftest.er1
    6036   cat conftest.err >&5
    6037   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6038   (exit $ac_status); } && {
    6039      test -z "$ac_c_werror_flag" ||
    6040      test ! -s conftest.err
    6041        } && test -s conftest.$ac_objext; then
     5244if ac_fn_c_try_compile "$LINENO"; then :
    60425245  ac_cv_header_time=yes
    60435246else
    6044   $as_echo "$as_me: failed program was:" >&5
    6045 sed 's/^/| /' conftest.$ac_ext >&5
    6046 
    6047     ac_cv_header_time=no
    6048 fi
    6049 
     5247  ac_cv_header_time=no
     5248fi
    60505249rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    60515250fi
    6052 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     5251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
    60535252$as_echo "$ac_cv_header_time" >&6; }
    60545253if test $ac_cv_header_time = yes; then
    60555254
    6056 cat >>confdefs.h <<\_ACEOF
    6057 #define TIME_WITH_SYS_TIME 1
    6058 _ACEOF
    6059 
    6060 fi
    6061 
    6062 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     5255$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
     5256
     5257fi
     5258
     5259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
    60635260$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
    6064 if test "${ac_cv_struct_tm+set}" = set; then
     5261if ${ac_cv_struct_tm+:} false; then :
    60655262  $as_echo_n "(cached) " >&6
    60665263else
    6067   cat >conftest.$ac_ext <<_ACEOF
    6068 /* confdefs.h.  */
    6069 _ACEOF
    6070 cat confdefs.h >>conftest.$ac_ext
    6071 cat >>conftest.$ac_ext <<_ACEOF
     5264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    60725265/* end confdefs.h.  */
    60735266#include <sys/types.h>
     
    60845277}
    60855278_ACEOF
    6086 rm -f conftest.$ac_objext
    6087 if { (ac_try="$ac_compile"
    6088 case "(($ac_try" in
    6089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6090   *) ac_try_echo=$ac_try;;
    6091 esac
    6092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6093 $as_echo "$ac_try_echo") >&5
    6094   (eval "$ac_compile") 2>conftest.er1
    6095   ac_status=$?
    6096   grep -v '^ *+' conftest.er1 >conftest.err
    6097   rm -f conftest.er1
    6098   cat conftest.err >&5
    6099   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6100   (exit $ac_status); } && {
    6101      test -z "$ac_c_werror_flag" ||
    6102      test ! -s conftest.err
    6103        } && test -s conftest.$ac_objext; then
     5279if ac_fn_c_try_compile "$LINENO"; then :
    61045280  ac_cv_struct_tm=time.h
    61055281else
    6106   $as_echo "$as_me: failed program was:" >&5
    6107 sed 's/^/| /' conftest.$ac_ext >&5
    6108 
    6109     ac_cv_struct_tm=sys/time.h
    6110 fi
    6111 
     5282  ac_cv_struct_tm=sys/time.h
     5283fi
    61125284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    61135285fi
    6114 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     5286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
    61155287$as_echo "$ac_cv_struct_tm" >&6; }
    61165288if test $ac_cv_struct_tm = sys/time.h; then
    61175289
    6118 cat >>confdefs.h <<\_ACEOF
    6119 #define TM_IN_SYS_TIME 1
    6120 _ACEOF
     5290$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
    61215291
    61225292fi
     
    61245294
    61255295if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
    6126 cat >conftest.$ac_ext <<_ACEOF
    6127 /* confdefs.h.  */
    6128 _ACEOF
    6129 cat confdefs.h >>conftest.$ac_ext
    6130 cat >>conftest.$ac_ext <<_ACEOF
     5296cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    61315297/* end confdefs.h.  */
    61325298#include <stdio.h>
     
    61405306}
    61415307_ACEOF
    6142 rm -f conftest.$ac_objext
    6143 if { (ac_try="$ac_compile"
    6144 case "(($ac_try" in
    6145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6146   *) ac_try_echo=$ac_try;;
    6147 esac
    6148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6149 $as_echo "$ac_try_echo") >&5
    6150   (eval "$ac_compile") 2>conftest.er1
    6151   ac_status=$?
    6152   grep -v '^ *+' conftest.er1 >conftest.err
    6153   rm -f conftest.er1
    6154   cat conftest.err >&5
    6155   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6156   (exit $ac_status); } && {
    6157      test -z "$ac_c_werror_flag" ||
    6158      test ! -s conftest.err
    6159        } && test -s conftest.$ac_objext; then
    6160   :
    6161 else
    6162   $as_echo "$as_me: failed program was:" >&5
    6163 sed 's/^/| /' conftest.$ac_ext >&5
    6164 
    6165     CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    6166 fi
    6167 
     5308if ac_fn_c_try_compile "$LINENO"; then :
     5309
     5310else
     5311  CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     5312fi
    61685313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    61695314fi
    61705315
    61715316
    6172 
    6173 { $as_echo "$as_me:$LINENO: checking for main in -lg" >&5
     5317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
    61745318$as_echo_n "checking for main in -lg... " >&6; }
    6175 if test "${ac_cv_lib_g_main+set}" = set; then
     5319if ${ac_cv_lib_g_main+:} false; then :
    61765320  $as_echo_n "(cached) " >&6
    61775321else
    61785322  ac_check_lib_save_LIBS=$LIBS
    61795323LIBS="-lg  $LIBS"
    6180 cat >conftest.$ac_ext <<_ACEOF
    6181 /* confdefs.h.  */
    6182 _ACEOF
    6183 cat confdefs.h >>conftest.$ac_ext
    6184 cat >>conftest.$ac_ext <<_ACEOF
     5324cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    61855325/* end confdefs.h.  */
    61865326
     
    61945334}
    61955335_ACEOF
    6196 rm -f conftest.$ac_objext conftest$ac_exeext
    6197 if { (ac_try="$ac_link"
    6198 case "(($ac_try" in
    6199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6200   *) ac_try_echo=$ac_try;;
    6201 esac
    6202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6203 $as_echo "$ac_try_echo") >&5
    6204   (eval "$ac_link") 2>conftest.er1
    6205   ac_status=$?
    6206   grep -v '^ *+' conftest.er1 >conftest.err
    6207   rm -f conftest.er1
    6208   cat conftest.err >&5
    6209   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6210   (exit $ac_status); } && {
    6211      test -z "$ac_c_werror_flag" ||
    6212      test ! -s conftest.err
    6213        } && test -s conftest$ac_exeext && {
    6214      test "$cross_compiling" = yes ||
    6215      $as_test_x conftest$ac_exeext
    6216        }; then
     5336if ac_fn_c_try_link "$LINENO"; then :
    62175337  ac_cv_lib_g_main=yes
    62185338else
    6219   $as_echo "$as_me: failed program was:" >&5
    6220 sed 's/^/| /' conftest.$ac_ext >&5
    6221 
    6222     ac_cv_lib_g_main=no
    6223 fi
    6224 
    6225 rm -rf conftest.dSYM
    6226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6227       conftest$ac_exeext conftest.$ac_ext
     5339  ac_cv_lib_g_main=no
     5340fi
     5341rm -f core conftest.err conftest.$ac_objext \
     5342    conftest$ac_exeext conftest.$ac_ext
    62285343LIBS=$ac_check_lib_save_LIBS
    62295344fi
    6230 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     5345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
    62315346$as_echo "$ac_cv_lib_g_main" >&6; }
    6232 if test "x$ac_cv_lib_g_main" = x""yes; then
     5347if test "x$ac_cv_lib_g_main" = xyes; then :
    62335348  cat >>confdefs.h <<_ACEOF
    62345349#define HAVE_LIBG 1
     
    62405355ac_cv_lib_g=ac_cv_lib_g_main
    62415356
    6242 
    6243 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
     5357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
    62445358$as_echo_n "checking for main in -lm... " >&6; }
    6245 if test "${ac_cv_lib_m_main+set}" = set; then
     5359if ${ac_cv_lib_m_main+:} false; then :
    62465360  $as_echo_n "(cached) " >&6
    62475361else
    62485362  ac_check_lib_save_LIBS=$LIBS
    62495363LIBS="-lm  $LIBS"
    6250 cat >conftest.$ac_ext <<_ACEOF
    6251 /* confdefs.h.  */
    6252 _ACEOF
    6253 cat confdefs.h >>conftest.$ac_ext
    6254 cat >>conftest.$ac_ext <<_ACEOF
     5364cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    62555365/* end confdefs.h.  */
    62565366
     
    62645374}
    62655375_ACEOF
    6266 rm -f conftest.$ac_objext conftest$ac_exeext
    6267 if { (ac_try="$ac_link"
    6268 case "(($ac_try" in
    6269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6270   *) ac_try_echo=$ac_try;;
    6271 esac
    6272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6273 $as_echo "$ac_try_echo") >&5
    6274   (eval "$ac_link") 2>conftest.er1
    6275   ac_status=$?
    6276   grep -v '^ *+' conftest.er1 >conftest.err
    6277   rm -f conftest.er1
    6278   cat conftest.err >&5
    6279   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6280   (exit $ac_status); } && {
    6281      test -z "$ac_c_werror_flag" ||
    6282      test ! -s conftest.err
    6283        } && test -s conftest$ac_exeext && {
    6284      test "$cross_compiling" = yes ||
    6285      $as_test_x conftest$ac_exeext
    6286        }; then
     5376if ac_fn_c_try_link "$LINENO"; then :
    62875377  ac_cv_lib_m_main=yes
    62885378else
    6289   $as_echo "$as_me: failed program was:" >&5
    6290 sed 's/^/| /' conftest.$ac_ext >&5
    6291 
    6292     ac_cv_lib_m_main=no
    6293 fi
    6294 
    6295 rm -rf conftest.dSYM
    6296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6297       conftest$ac_exeext conftest.$ac_ext
     5379  ac_cv_lib_m_main=no
     5380fi
     5381rm -f core conftest.err conftest.$ac_objext \
     5382    conftest$ac_exeext conftest.$ac_ext
    62985383LIBS=$ac_check_lib_save_LIBS
    62995384fi
    6300 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     5385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
    63015386$as_echo "$ac_cv_lib_m_main" >&6; }
    6302 if test "x$ac_cv_lib_m_main" = x""yes; then
     5387if test "x$ac_cv_lib_m_main" = xyes; then :
    63035388  cat >>confdefs.h <<_ACEOF
    63045389#define HAVE_LIBM 1
     
    63105395ac_cv_lib_m=ac_cv_lib_m_main
    63115396
    6312 
    6313 { $as_echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     5397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
    63145398$as_echo_n "checking for main in -lcrypt... " >&6; }
    6315 if test "${ac_cv_lib_crypt_main+set}" = set; then
     5399if ${ac_cv_lib_crypt_main+:} false; then :
    63165400  $as_echo_n "(cached) " >&6
    63175401else
    63185402  ac_check_lib_save_LIBS=$LIBS
    63195403LIBS="-lcrypt  $LIBS"
    6320 cat >conftest.$ac_ext <<_ACEOF
    6321 /* confdefs.h.  */
    6322 _ACEOF
    6323 cat confdefs.h >>conftest.$ac_ext
    6324 cat >>conftest.$ac_ext <<_ACEOF
     5404cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63255405/* end confdefs.h.  */
    63265406
     
    63345414}
    63355415_ACEOF
    6336 rm -f conftest.$ac_objext conftest$ac_exeext
    6337 if { (ac_try="$ac_link"
    6338 case "(($ac_try" in
    6339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6340   *) ac_try_echo=$ac_try;;
    6341 esac
    6342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6343 $as_echo "$ac_try_echo") >&5
    6344   (eval "$ac_link") 2>conftest.er1
    6345   ac_status=$?
    6346   grep -v '^ *+' conftest.er1 >conftest.err
    6347   rm -f conftest.er1
    6348   cat conftest.err >&5
    6349   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6350   (exit $ac_status); } && {
    6351      test -z "$ac_c_werror_flag" ||
    6352      test ! -s conftest.err
    6353        } && test -s conftest$ac_exeext && {
    6354      test "$cross_compiling" = yes ||
    6355      $as_test_x conftest$ac_exeext
    6356        }; then
     5416if ac_fn_c_try_link "$LINENO"; then :
    63575417  ac_cv_lib_crypt_main=yes
    63585418else
    6359   $as_echo "$as_me: failed program was:" >&5
    6360 sed 's/^/| /' conftest.$ac_ext >&5
    6361 
    6362     ac_cv_lib_crypt_main=no
    6363 fi
    6364 
    6365 rm -rf conftest.dSYM
    6366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6367       conftest$ac_exeext conftest.$ac_ext
     5419  ac_cv_lib_crypt_main=no
     5420fi
     5421rm -f core conftest.err conftest.$ac_objext \
     5422    conftest$ac_exeext conftest.$ac_ext
    63685423LIBS=$ac_check_lib_save_LIBS
    63695424fi
    6370 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     5425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
    63715426$as_echo "$ac_cv_lib_crypt_main" >&6; }
    6372 if test "x$ac_cv_lib_crypt_main" = x""yes; then
     5427if test "x$ac_cv_lib_crypt_main" = xyes; then :
    63735428  cat >>confdefs.h <<_ACEOF
    63745429#define HAVE_LIBCRYPT 1
     
    63815436
    63825437if test $ENABLE_ACCENTFOLD = 1; then
    6383 
    6384 { $as_echo "$as_me:$LINENO: checking for main in -liconv" >&5
     5438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5
    63855439$as_echo_n "checking for main in -liconv... " >&6; }
    6386 if test "${ac_cv_lib_iconv_main+set}" = set; then
     5440if ${ac_cv_lib_iconv_main+:} false; then :
    63875441  $as_echo_n "(cached) " >&6
    63885442else
    63895443  ac_check_lib_save_LIBS=$LIBS
    63905444LIBS="-liconv  $LIBS"
    6391 cat >conftest.$ac_ext <<_ACEOF
    6392 /* confdefs.h.  */
    6393 _ACEOF
    6394 cat confdefs.h >>conftest.$ac_ext
    6395 cat >>conftest.$ac_ext <<_ACEOF
     5445cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63965446/* end confdefs.h.  */
    63975447
     
    64055455}
    64065456_ACEOF
    6407 rm -f conftest.$ac_objext conftest$ac_exeext
    6408 if { (ac_try="$ac_link"
    6409 case "(($ac_try" in
    6410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6411   *) ac_try_echo=$ac_try;;
    6412 esac
    6413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6414 $as_echo "$ac_try_echo") >&5
    6415   (eval "$ac_link") 2>conftest.er1
    6416   ac_status=$?
    6417   grep -v '^ *+' conftest.er1 >conftest.err
    6418   rm -f conftest.er1
    6419   cat conftest.err >&5
    6420   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6421   (exit $ac_status); } && {
    6422      test -z "$ac_c_werror_flag" ||
    6423      test ! -s conftest.err
    6424        } && test -s conftest$ac_exeext && {
    6425      test "$cross_compiling" = yes ||
    6426      $as_test_x conftest$ac_exeext
    6427        }; then
     5457if ac_fn_c_try_link "$LINENO"; then :
    64285458  ac_cv_lib_iconv_main=yes
    64295459else
    6430   $as_echo "$as_me: failed program was:" >&5
    6431 sed 's/^/| /' conftest.$ac_ext >&5
    6432 
    6433     ac_cv_lib_iconv_main=no
    6434 fi
    6435 
    6436 rm -rf conftest.dSYM
    6437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6438       conftest$ac_exeext conftest.$ac_ext
     5460  ac_cv_lib_iconv_main=no
     5461fi
     5462rm -f core conftest.err conftest.$ac_objext \
     5463    conftest$ac_exeext conftest.$ac_ext
    64395464LIBS=$ac_check_lib_save_LIBS
    64405465fi
    6441 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5
     5466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_main" >&5
    64425467$as_echo "$ac_cv_lib_iconv_main" >&6; }
    6443 if test "x$ac_cv_lib_iconv_main" = x""yes; then
     5468if test "x$ac_cv_lib_iconv_main" = xyes; then :
    64445469  cat >>confdefs.h <<_ACEOF
    64455470#define HAVE_LIBICONV 1
     
    64525477
    64535478fi
    6454 
    6455 
    6456 
    6457 
    6458 
    64595479
    64605480ac_header_dirent=no
    64615481for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    64625482  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    6463 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     5483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
    64645484$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
    6465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5485if eval \${$as_ac_Header+:} false; then :
    64665486  $as_echo_n "(cached) " >&6
    64675487else
    6468   cat >conftest.$ac_ext <<_ACEOF
    6469 /* confdefs.h.  */
    6470 _ACEOF
    6471 cat confdefs.h >>conftest.$ac_ext
    6472 cat >>conftest.$ac_ext <<_ACEOF
     5488  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64735489/* end confdefs.h.  */
    64745490#include <sys/types.h>
     
    64845500}
    64855501_ACEOF
    6486 rm -f conftest.$ac_objext
    6487 if { (ac_try="$ac_compile"
    6488 case "(($ac_try" in
    6489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6490   *) ac_try_echo=$ac_try;;
    6491 esac
    6492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6493 $as_echo "$ac_try_echo") >&5
    6494   (eval "$ac_compile") 2>conftest.er1
    6495   ac_status=$?
    6496   grep -v '^ *+' conftest.er1 >conftest.err
    6497   rm -f conftest.er1
    6498   cat conftest.err >&5
    6499   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6500   (exit $ac_status); } && {
    6501      test -z "$ac_c_werror_flag" ||
    6502      test ! -s conftest.err
    6503        } && test -s conftest.$ac_objext; then
     5502if ac_fn_c_try_compile "$LINENO"; then :
    65045503  eval "$as_ac_Header=yes"
    65055504else
    6506   $as_echo "$as_me: failed program was:" >&5
    6507 sed 's/^/| /' conftest.$ac_ext >&5
    6508 
    6509     eval "$as_ac_Header=no"
    6510 fi
    6511 
     5505  eval "$as_ac_Header=no"
     5506fi
    65125507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    65135508fi
    6514 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6515          $as_echo "$as_val"'`
    6516            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5509eval ac_res=\$$as_ac_Header
     5510           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    65175511$as_echo "$ac_res" >&6; }
    6518 as_val=`eval 'as_val=${'$as_ac_Header'}
    6519          $as_echo "$as_val"'`
    6520    if test "x$as_val" = x""yes; then
     5512if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    65215513  cat >>confdefs.h <<_ACEOF
    65225514#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
     
    65295521# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    65305522if test $ac_header_dirent = dirent.h; then
    6531   { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
    65325524$as_echo_n "checking for library containing opendir... " >&6; }
    6533 if test "${ac_cv_search_opendir+set}" = set; then
     5525if ${ac_cv_search_opendir+:} false; then :
    65345526  $as_echo_n "(cached) " >&6
    65355527else
    65365528  ac_func_search_save_LIBS=$LIBS
    6537 cat >conftest.$ac_ext <<_ACEOF
    6538 /* confdefs.h.  */
    6539 _ACEOF
    6540 cat confdefs.h >>conftest.$ac_ext
    6541 cat >>conftest.$ac_ext <<_ACEOF
     5529cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    65425530/* end confdefs.h.  */
    65435531
     
    65645552    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    65655553  fi
    6566   rm -f conftest.$ac_objext conftest$ac_exeext
    6567 if { (ac_try="$ac_link"
    6568 case "(($ac_try" in
    6569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6570   *) ac_try_echo=$ac_try;;
    6571 esac
    6572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6573 $as_echo "$ac_try_echo") >&5
    6574   (eval "$ac_link") 2>conftest.er1
    6575   ac_status=$?
    6576   grep -v '^ *+' conftest.er1 >conftest.err
    6577   rm -f conftest.er1
    6578   cat conftest.err >&5
    6579   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6580   (exit $ac_status); } && {
    6581      test -z "$ac_c_werror_flag" ||
    6582      test ! -s conftest.err
    6583        } && test -s conftest$ac_exeext && {
    6584      test "$cross_compiling" = yes ||
    6585      $as_test_x conftest$ac_exeext
    6586        }; then
     5554  if ac_fn_c_try_link "$LINENO"; then :
    65875555  ac_cv_search_opendir=$ac_res
    6588 else
    6589   $as_echo "$as_me: failed program was:" >&5
    6590 sed 's/^/| /' conftest.$ac_ext >&5
    6591 
    6592 
    6593 fi
    6594 
    6595 rm -rf conftest.dSYM
    6596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6597       conftest$ac_exeext
    6598   if test "${ac_cv_search_opendir+set}" = set; then
     5556fi
     5557rm -f core conftest.err conftest.$ac_objext \
     5558    conftest$ac_exeext
     5559  if ${ac_cv_search_opendir+:} false; then :
    65995560  break
    66005561fi
    66015562done
    6602 if test "${ac_cv_search_opendir+set}" = set; then
    6603   :
     5563if ${ac_cv_search_opendir+:} false; then :
     5564
    66045565else
    66055566  ac_cv_search_opendir=no
     
    66085569LIBS=$ac_func_search_save_LIBS
    66095570fi
    6610 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
    66115572$as_echo "$ac_cv_search_opendir" >&6; }
    66125573ac_res=$ac_cv_search_opendir
    6613 if test "$ac_res" != no; then
     5574if test "$ac_res" != no; then :
    66145575  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    66155576
     
    66175578
    66185579else
    6619   { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
     5580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
    66205581$as_echo_n "checking for library containing opendir... " >&6; }
    6621 if test "${ac_cv_search_opendir+set}" = set; then
     5582if ${ac_cv_search_opendir+:} false; then :
    66225583  $as_echo_n "(cached) " >&6
    66235584else
    66245585  ac_func_search_save_LIBS=$LIBS
    6625 cat >conftest.$ac_ext <<_ACEOF
    6626 /* confdefs.h.  */
    6627 _ACEOF
    6628 cat confdefs.h >>conftest.$ac_ext
    6629 cat >>conftest.$ac_ext <<_ACEOF
     5586cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    66305587/* end confdefs.h.  */
    66315588
     
    66525609    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    66535610  fi
    6654   rm -f conftest.$ac_objext conftest$ac_exeext
    6655 if { (ac_try="$ac_link"
    6656 case "(($ac_try" in
    6657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6658   *) ac_try_echo=$ac_try;;
    6659 esac
    6660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6661 $as_echo "$ac_try_echo") >&5
    6662   (eval "$ac_link") 2>conftest.er1
    6663   ac_status=$?
    6664   grep -v '^ *+' conftest.er1 >conftest.err
    6665   rm -f conftest.er1
    6666   cat conftest.err >&5
    6667   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6668   (exit $ac_status); } && {
    6669      test -z "$ac_c_werror_flag" ||
    6670      test ! -s conftest.err
    6671        } && test -s conftest$ac_exeext && {
    6672      test "$cross_compiling" = yes ||
    6673      $as_test_x conftest$ac_exeext
    6674        }; then
     5611  if ac_fn_c_try_link "$LINENO"; then :
    66755612  ac_cv_search_opendir=$ac_res
    6676 else
    6677   $as_echo "$as_me: failed program was:" >&5
    6678 sed 's/^/| /' conftest.$ac_ext >&5
    6679 
    6680 
    6681 fi
    6682 
    6683 rm -rf conftest.dSYM
    6684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6685       conftest$ac_exeext
    6686   if test "${ac_cv_search_opendir+set}" = set; then
     5613fi
     5614rm -f core conftest.err conftest.$ac_objext \
     5615    conftest$ac_exeext
     5616  if ${ac_cv_search_opendir+:} false; then :
    66875617  break
    66885618fi
    66895619done
    6690 if test "${ac_cv_search_opendir+set}" = set; then
    6691   :
     5620if ${ac_cv_search_opendir+:} false; then :
     5621
    66925622else
    66935623  ac_cv_search_opendir=no
     
    66965626LIBS=$ac_func_search_save_LIBS
    66975627fi
    6698 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
    66995629$as_echo "$ac_cv_search_opendir" >&6; }
    67005630ac_res=$ac_cv_search_opendir
    6701 if test "$ac_res" != no; then
     5631if test "$ac_res" != no; then :
    67025632  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    67035633
     
    67065636fi
    67075637
    6708 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    67095639$as_echo_n "checking for ANSI C header files... " >&6; }
    6710 if test "${ac_cv_header_stdc+set}" = set; then
     5640if ${ac_cv_header_stdc+:} false; then :
    67115641  $as_echo_n "(cached) " >&6
    67125642else
    6713   cat >conftest.$ac_ext <<_ACEOF
    6714 /* confdefs.h.  */
    6715 _ACEOF
    6716 cat confdefs.h >>conftest.$ac_ext
    6717 cat >>conftest.$ac_ext <<_ACEOF
     5643  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    67185644/* end confdefs.h.  */
    67195645#include <stdlib.h>
     
    67305656}
    67315657_ACEOF
    6732 rm -f conftest.$ac_objext
    6733 if { (ac_try="$ac_compile"
    6734 case "(($ac_try" in
    6735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6736   *) ac_try_echo=$ac_try;;
    6737 esac
    6738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6739 $as_echo "$ac_try_echo") >&5
    6740   (eval "$ac_compile") 2>conftest.er1
    6741   ac_status=$?
    6742   grep -v '^ *+' conftest.er1 >conftest.err
    6743   rm -f conftest.er1
    6744   cat conftest.err >&5
    6745   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6746   (exit $ac_status); } && {
    6747      test -z "$ac_c_werror_flag" ||
    6748      test ! -s conftest.err
    6749        } && test -s conftest.$ac_objext; then
     5658if ac_fn_c_try_compile "$LINENO"; then :
    67505659  ac_cv_header_stdc=yes
    67515660else
    6752   $as_echo "$as_me: failed program was:" >&5
    6753 sed 's/^/| /' conftest.$ac_ext >&5
    6754 
    6755     ac_cv_header_stdc=no
    6756 fi
    6757 
     5661  ac_cv_header_stdc=no
     5662fi
    67585663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    67595664
    67605665if test $ac_cv_header_stdc = yes; then
    67615666  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    6762   cat >conftest.$ac_ext <<_ACEOF
    6763 /* confdefs.h.  */
    6764 _ACEOF
    6765 cat confdefs.h >>conftest.$ac_ext
    6766 cat >>conftest.$ac_ext <<_ACEOF
     5667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    67675668/* end confdefs.h.  */
    67685669#include <string.h>
     
    67705671_ACEOF
    67715672if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6772   $EGREP "memchr" >/dev/null 2>&1; then
    6773   :
     5673  $EGREP "memchr" >/dev/null 2>&1; then :
     5674
    67745675else
    67755676  ac_cv_header_stdc=no
     
    67815682if test $ac_cv_header_stdc = yes; then
    67825683  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    6783   cat >conftest.$ac_ext <<_ACEOF
    6784 /* confdefs.h.  */
    6785 _ACEOF
    6786 cat confdefs.h >>conftest.$ac_ext
    6787 cat >>conftest.$ac_ext <<_ACEOF
     5684  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    67885685/* end confdefs.h.  */
    67895686#include <stdlib.h>
     
    67915688_ACEOF
    67925689if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6793   $EGREP "free" >/dev/null 2>&1; then
    6794   :
     5690  $EGREP "free" >/dev/null 2>&1; then :
     5691
    67955692else
    67965693  ac_cv_header_stdc=no
     
    68025699if test $ac_cv_header_stdc = yes; then
    68035700  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    6804   if test "$cross_compiling" = yes; then
     5701  if test "$cross_compiling" = yes; then :
    68055702  :
    68065703else
    6807   cat >conftest.$ac_ext <<_ACEOF
    6808 /* confdefs.h.  */
    6809 _ACEOF
    6810 cat confdefs.h >>conftest.$ac_ext
    6811 cat >>conftest.$ac_ext <<_ACEOF
     5704  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    68125705/* end confdefs.h.  */
    68135706#include <ctype.h>
     
    68365729}
    68375730_ACEOF
    6838 rm -f conftest$ac_exeext
    6839 if { (ac_try="$ac_link"
    6840 case "(($ac_try" in
    6841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6842   *) ac_try_echo=$ac_try;;
    6843 esac
    6844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6845 $as_echo "$ac_try_echo") >&5
    6846   (eval "$ac_link") 2>&5
    6847   ac_status=$?
    6848   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6849   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6850   { (case "(($ac_try" in
    6851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6852   *) ac_try_echo=$ac_try;;
    6853 esac
    6854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6855 $as_echo "$ac_try_echo") >&5
    6856   (eval "$ac_try") 2>&5
    6857   ac_status=$?
    6858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6859   (exit $ac_status); }; }; then
    6860   :
    6861 else
    6862   $as_echo "$as_me: program exited with status $ac_status" >&5
    6863 $as_echo "$as_me: failed program was:" >&5
    6864 sed 's/^/| /' conftest.$ac_ext >&5
    6865 
    6866 ( exit $ac_status )
    6867 ac_cv_header_stdc=no
    6868 fi
    6869 rm -rf conftest.dSYM
    6870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6871 fi
    6872 
    6873 
    6874 fi
    6875 fi
    6876 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5731if ac_fn_c_try_run "$LINENO"; then :
     5732
     5733else
     5734  ac_cv_header_stdc=no
     5735fi
     5736rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5737  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5738fi
     5739
     5740fi
     5741fi
     5742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    68775743$as_echo "$ac_cv_header_stdc" >&6; }
    68785744if test $ac_cv_header_stdc = yes; then
    68795745
    6880 cat >>confdefs.h <<\_ACEOF
    6881 #define STDC_HEADERS 1
    6882 _ACEOF
    6883 
    6884 fi
    6885 
    6886 
    6887 
    6888 
    6889 
    6890 
    6891 
    6892 
    6893 
     5746$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     5747
     5748fi
    68945749
    68955750for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
    6896 do
    6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6899   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6900 $as_echo_n "checking for $ac_header... " >&6; }
    6901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6902   $as_echo_n "(cached) " >&6
    6903 fi
    6904 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6905          $as_echo "$as_val"'`
    6906            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6907 $as_echo "$ac_res" >&6; }
    6908 else
    6909   # Is the header compilable?
    6910 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6911 $as_echo_n "checking $ac_header usability... " >&6; }
    6912 cat >conftest.$ac_ext <<_ACEOF
    6913 /* confdefs.h.  */
    6914 _ACEOF
    6915 cat confdefs.h >>conftest.$ac_ext
    6916 cat >>conftest.$ac_ext <<_ACEOF
    6917 /* end confdefs.h.  */
    6918 $ac_includes_default
    6919 #include <$ac_header>
    6920 _ACEOF
    6921 rm -f conftest.$ac_objext
    6922 if { (ac_try="$ac_compile"
    6923 case "(($ac_try" in
    6924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6925   *) ac_try_echo=$ac_try;;
    6926 esac
    6927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6928 $as_echo "$ac_try_echo") >&5
    6929   (eval "$ac_compile") 2>conftest.er1
    6930   ac_status=$?
    6931   grep -v '^ *+' conftest.er1 >conftest.err
    6932   rm -f conftest.er1
    6933   cat conftest.err >&5
    6934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6935   (exit $ac_status); } && {
    6936      test -z "$ac_c_werror_flag" ||
    6937      test ! -s conftest.err
    6938        } && test -s conftest.$ac_objext; then
    6939   ac_header_compiler=yes
    6940 else
    6941   $as_echo "$as_me: failed program was:" >&5
    6942 sed 's/^/| /' conftest.$ac_ext >&5
    6943 
    6944     ac_header_compiler=no
    6945 fi
    6946 
    6947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6948 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6949 $as_echo "$ac_header_compiler" >&6; }
    6950 
    6951 # Is the header present?
    6952 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6953 $as_echo_n "checking $ac_header presence... " >&6; }
    6954 cat >conftest.$ac_ext <<_ACEOF
    6955 /* confdefs.h.  */
    6956 _ACEOF
    6957 cat confdefs.h >>conftest.$ac_ext
    6958 cat >>conftest.$ac_ext <<_ACEOF
    6959 /* end confdefs.h.  */
    6960 #include <$ac_header>
    6961 _ACEOF
    6962 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6963 case "(($ac_try" in
    6964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6965   *) ac_try_echo=$ac_try;;
    6966 esac
    6967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6968 $as_echo "$ac_try_echo") >&5
    6969   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6970   ac_status=$?
    6971   grep -v '^ *+' conftest.er1 >conftest.err
    6972   rm -f conftest.er1
    6973   cat conftest.err >&5
    6974   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6975   (exit $ac_status); } >/dev/null && {
    6976      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6977      test ! -s conftest.err
    6978        }; then
    6979   ac_header_preproc=yes
    6980 else
    6981   $as_echo "$as_me: failed program was:" >&5
    6982 sed 's/^/| /' conftest.$ac_ext >&5
    6983 
    6984   ac_header_preproc=no
    6985 fi
    6986 
    6987 rm -f conftest.err conftest.$ac_ext
    6988 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5