Changeset 26663


Ignore:
Timestamp:
2013-01-10T15:58:46+13:00 (11 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 [email protected] 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 [email protected] about your system,
    436   echo including any error possibly output before this message.
    437   echo This can help us improve future autoconf versions.
    438   echo Configuration will now proceed without shell functions.
    439 }
    440 
    441 
    442 
    443   as_lineno_1=$LINENO
    444   as_lineno_2=$LINENO
    445   test "x$as_lineno_1" != "x$as_lineno_2" &&
    446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    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
    6989 $as_echo "$ac_header_preproc" >&6; }
    6990 
    6991 # So?  What about this header?
    6992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6993   yes:no: )
    6994     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6995 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6996     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6997 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6998     ac_header_preproc=yes
    6999     ;;
    7000   no:yes:* )
    7001     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7002 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7003     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7004 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7005     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7006 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7007     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7008 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7009     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7010 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7011     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7012 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7013 
    7014     ;;
    7015 esac
    7016 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7017 $as_echo_n "checking for $ac_header... " >&6; }
    7018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7019   $as_echo_n "(cached) " >&6
    7020 else
    7021   eval "$as_ac_Header=\$ac_header_preproc"
    7022 fi
    7023 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7024          $as_echo "$as_val"'`
    7025            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7026 $as_echo "$ac_res" >&6; }
    7027 
    7028 fi
    7029 as_val=`eval 'as_val=${'$as_ac_Header'}
    7030          $as_echo "$as_val"'`
    7031    if test "x$as_val" = x""yes; then
     5751do :
     5752  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5753ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     5754if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    70325755  cat >>confdefs.h <<_ACEOF
    70335756#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    70385761done
    70395762
    7040 cat >conftest.$ac_ext <<_ACEOF
    7041 /* confdefs.h.  */
    7042 _ACEOF
    7043 cat confdefs.h >>conftest.$ac_ext
    7044 cat >>conftest.$ac_ext <<_ACEOF
     5763cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    70455764/* end confdefs.h.  */
    70465765#include <stdio.h>
     
    70485767_ACEOF
    70495768if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7050   $EGREP "fread" >/dev/null 2>&1; then
    7051   cat >>confdefs.h <<\_ACEOF
    7052 #define HAVE_FREAD_DECL 1
    7053 _ACEOF
     5769  $EGREP "fread" >/dev/null 2>&1; then :
     5770  $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
    70545771
    70555772fi
    70565773rm -f conftest*
    70575774
    7058 cat >conftest.$ac_ext <<_ACEOF
    7059 /* confdefs.h.  */
    7060 _ACEOF
    7061 cat confdefs.h >>conftest.$ac_ext
    7062 cat >>conftest.$ac_ext <<_ACEOF
     5775cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    70635776/* end confdefs.h.  */
    70645777#include <stdio.h>
     
    70665779_ACEOF
    70675780if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7068   $EGREP "fgetc" >/dev/null 2>&1; then
    7069   cat >>confdefs.h <<\_ACEOF
    7070 #define HAVE_FGETC_DECL 1
    7071 _ACEOF
     5781  $EGREP "fgetc" >/dev/null 2>&1; then :
     5782  $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
    70725783
    70735784fi
    70745785rm -f conftest*
    70755786
    7076 cat >conftest.$ac_ext <<_ACEOF
    7077 /* confdefs.h.  */
    7078 _ACEOF
    7079 cat confdefs.h >>conftest.$ac_ext
    7080 cat >>conftest.$ac_ext <<_ACEOF
     5787cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    70815788/* end confdefs.h.  */
    70825789#include <sys/procfs.h>
     
    70845791_ACEOF
    70855792if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7086   $EGREP "pr_brksize" >/dev/null 2>&1; then
    7087   cat >>confdefs.h <<\_ACEOF
    7088 #define HAVE_PR_BRKSIZE 1
    7089 _ACEOF
     5793  $EGREP "pr_brksize" >/dev/null 2>&1; then :
     5794  $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
    70905795
    70915796fi
     
    70955800# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    70965801# for constant arguments.  Useless!
    7097 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
    70985803$as_echo_n "checking for working alloca.h... " >&6; }
    7099 if test "${ac_cv_working_alloca_h+set}" = set; then
     5804if ${ac_cv_working_alloca_h+:} false; then :
    71005805  $as_echo_n "(cached) " >&6
    71015806else
    7102   cat >conftest.$ac_ext <<_ACEOF
    7103 /* confdefs.h.  */
    7104 _ACEOF
    7105 cat confdefs.h >>conftest.$ac_ext
    7106 cat >>conftest.$ac_ext <<_ACEOF
     5807  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    71075808/* end confdefs.h.  */
    71085809#include <alloca.h>
     
    71165817}
    71175818_ACEOF
    7118 rm -f conftest.$ac_objext conftest$ac_exeext
    7119 if { (ac_try="$ac_link"
    7120 case "(($ac_try" in
    7121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7122   *) ac_try_echo=$ac_try;;
    7123 esac
    7124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7125 $as_echo "$ac_try_echo") >&5
    7126   (eval "$ac_link") 2>conftest.er1
    7127   ac_status=$?
    7128   grep -v '^ *+' conftest.er1 >conftest.err
    7129   rm -f conftest.er1
    7130   cat conftest.err >&5
    7131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7132   (exit $ac_status); } && {
    7133      test -z "$ac_c_werror_flag" ||
    7134      test ! -s conftest.err
    7135        } && test -s conftest$ac_exeext && {
    7136      test "$cross_compiling" = yes ||
    7137      $as_test_x conftest$ac_exeext
    7138        }; then
     5819if ac_fn_c_try_link "$LINENO"; then :
    71395820  ac_cv_working_alloca_h=yes
    71405821else
    7141   $as_echo "$as_me: failed program was:" >&5
    7142 sed 's/^/| /' conftest.$ac_ext >&5
    7143 
    7144     ac_cv_working_alloca_h=no
    7145 fi
    7146 
    7147 rm -rf conftest.dSYM
    7148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7149       conftest$ac_exeext conftest.$ac_ext
    7150 fi
    7151 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5822  ac_cv_working_alloca_h=no
     5823fi
     5824rm -f core conftest.err conftest.$ac_objext \
     5825    conftest$ac_exeext conftest.$ac_ext
     5826fi
     5827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
    71525828$as_echo "$ac_cv_working_alloca_h" >&6; }
    71535829if test $ac_cv_working_alloca_h = yes; then
    71545830
    7155 cat >>confdefs.h <<\_ACEOF
    7156 #define HAVE_ALLOCA_H 1
    7157 _ACEOF
    7158 
    7159 fi
    7160 
    7161 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
     5831$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
     5832
     5833fi
     5834
     5835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
    71625836$as_echo_n "checking for alloca... " >&6; }
    7163 if test "${ac_cv_func_alloca_works+set}" = set; then
     5837if ${ac_cv_func_alloca_works+:} false; then :
    71645838  $as_echo_n "(cached) " >&6
    71655839else
    7166   cat >conftest.$ac_ext <<_ACEOF
    7167 /* confdefs.h.  */
    7168 _ACEOF
    7169 cat confdefs.h >>conftest.$ac_ext
    7170 cat >>conftest.$ac_ext <<_ACEOF
     5840  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    71715841/* end confdefs.h.  */
    71725842#ifdef __GNUC__
     
    71845854#   else
    71855855#    ifndef alloca /* predefined by HP cc +Olibcalls */
    7186 char *alloca ();
     5856void *alloca (size_t);
    71875857#    endif
    71885858#   endif
     
    72005870}
    72015871_ACEOF
    7202 rm -f conftest.$ac_objext conftest$ac_exeext
    7203 if { (ac_try="$ac_link"
    7204 case "(($ac_try" in
    7205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7206   *) ac_try_echo=$ac_try;;
    7207 esac
    7208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7209 $as_echo "$ac_try_echo") >&5
    7210   (eval "$ac_link") 2>conftest.er1
    7211   ac_status=$?
    7212   grep -v '^ *+' conftest.er1 >conftest.err
    7213   rm -f conftest.er1
    7214   cat conftest.err >&5
    7215   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7216   (exit $ac_status); } && {
    7217      test -z "$ac_c_werror_flag" ||
    7218      test ! -s conftest.err
    7219        } && test -s conftest$ac_exeext && {
    7220      test "$cross_compiling" = yes ||
    7221      $as_test_x conftest$ac_exeext
    7222        }; then
     5872if ac_fn_c_try_link "$LINENO"; then :
    72235873  ac_cv_func_alloca_works=yes
    72245874else
    7225   $as_echo "$as_me: failed program was:" >&5
    7226 sed 's/^/| /' conftest.$ac_ext >&5
    7227 
    7228     ac_cv_func_alloca_works=no
    7229 fi
    7230 
    7231 rm -rf conftest.dSYM
    7232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7233       conftest$ac_exeext conftest.$ac_ext
    7234 fi
    7235 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     5875  ac_cv_func_alloca_works=no
     5876fi
     5877rm -f core conftest.err conftest.$ac_objext \
     5878    conftest$ac_exeext conftest.$ac_ext
     5879fi
     5880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
    72365881$as_echo "$ac_cv_func_alloca_works" >&6; }
    72375882
    72385883if test $ac_cv_func_alloca_works = yes; then
    72395884
    7240 cat >>confdefs.h <<\_ACEOF
    7241 #define HAVE_ALLOCA 1
    7242 _ACEOF
     5885$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
    72435886
    72445887else
     
    72505893ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
    72515894
    7252 cat >>confdefs.h <<\_ACEOF
    7253 #define C_ALLOCA 1
    7254 _ACEOF
    7255 
    7256 
    7257 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     5895$as_echo "#define C_ALLOCA 1" >>confdefs.h
     5896
     5897
     5898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
    72585899$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
    7259 if test "${ac_cv_os_cray+set}" = set; then
     5900if ${ac_cv_os_cray+:} false; then :
    72605901  $as_echo_n "(cached) " >&6
    72615902else
    7262   cat >conftest.$ac_ext <<_ACEOF
    7263 /* confdefs.h.  */
    7264 _ACEOF
    7265 cat confdefs.h >>conftest.$ac_ext
    7266 cat >>conftest.$ac_ext <<_ACEOF
     5903  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    72675904/* end confdefs.h.  */
    72685905#if defined CRAY && ! defined CRAY2
     
    72745911_ACEOF
    72755912if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7276   $EGREP "webecray" >/dev/null 2>&1; then
     5913  $EGREP "webecray" >/dev/null 2>&1; then :
    72775914  ac_cv_os_cray=yes
    72785915else
     
    72825919
    72835920fi
    7284 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     5921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
    72855922$as_echo "$ac_cv_os_cray" >&6; }
    72865923if test $ac_cv_os_cray = yes; then
    72875924  for ac_func in _getb67 GETB67 getb67; do
    72885925    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    7289 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    7290 $as_echo_n "checking for $ac_func... " >&6; }
    7291 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    7292   $as_echo_n "(cached) " >&6
    7293 else
    7294   cat >conftest.$ac_ext <<_ACEOF
    7295 /* confdefs.h.  */
    7296 _ACEOF
    7297 cat confdefs.h >>conftest.$ac_ext
    7298 cat >>conftest.$ac_ext <<_ACEOF
    7299 /* end confdefs.h.  */
    7300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    7301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7302 #define $ac_func innocuous_$ac_func
    7303 
    7304 /* System header to define __stub macros and hopefully few prototypes,
    7305     which can conflict with char $ac_func (); below.
    7306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7307     <limits.h> exists even on freestanding compilers.  */
    7308 
    7309 #ifdef __STDC__
    7310 # include <limits.h>
    7311 #else
    7312 # include <assert.h>
    7313 #endif
    7314 
    7315 #undef $ac_func
    7316 
    7317 /* Override any GCC internal prototype to avoid an error.
    7318    Use char because int might match the return type of a GCC
    7319    builtin and then its argument prototype would still apply.  */
    7320 #ifdef __cplusplus
    7321 extern "C"
    7322 #endif
    7323 char $ac_func ();
    7324 /* The GNU C library defines this for functions which it implements
    7325     to always fail with ENOSYS.  Some functions are actually named
    7326     something starting with __ and the normal name is an alias.  */
    7327 #if defined __stub_$ac_func || defined __stub___$ac_func
    7328 choke me
    7329 #endif
    7330 
    7331 int
    7332 main ()
    7333 {
    7334 return $ac_func ();
    7335   ;
    7336   return 0;
    7337 }
    7338 _ACEOF
    7339 rm -f conftest.$ac_objext conftest$ac_exeext
    7340 if { (ac_try="$ac_link"
    7341 case "(($ac_try" in
    7342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7343   *) ac_try_echo=$ac_try;;
    7344 esac
    7345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7346 $as_echo "$ac_try_echo") >&5
    7347   (eval "$ac_link") 2>conftest.er1
    7348   ac_status=$?
    7349   grep -v '^ *+' conftest.er1 >conftest.err
    7350   rm -f conftest.er1
    7351   cat conftest.err >&5
    7352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7353   (exit $ac_status); } && {
    7354      test -z "$ac_c_werror_flag" ||
    7355      test ! -s conftest.err
    7356        } && test -s conftest$ac_exeext && {
    7357      test "$cross_compiling" = yes ||
    7358      $as_test_x conftest$ac_exeext
    7359        }; then
    7360   eval "$as_ac_var=yes"
    7361 else
    7362   $as_echo "$as_me: failed program was:" >&5
    7363 sed 's/^/| /' conftest.$ac_ext >&5
    7364 
    7365     eval "$as_ac_var=no"
    7366 fi
    7367 
    7368 rm -rf conftest.dSYM
    7369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7370       conftest$ac_exeext conftest.$ac_ext
    7371 fi
    7372 ac_res=`eval 'as_val=${'$as_ac_var'}
    7373          $as_echo "$as_val"'`
    7374            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7375 $as_echo "$ac_res" >&6; }
    7376 as_val=`eval 'as_val=${'$as_ac_var'}
    7377          $as_echo "$as_val"'`
    7378    if test "x$as_val" = x""yes; then
     5926ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5927if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
    73795928
    73805929cat >>confdefs.h <<_ACEOF
     
    73885937fi
    73895938
    7390 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     5939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
    73915940$as_echo_n "checking stack direction for C alloca... " >&6; }
    7392 if test "${ac_cv_c_stack_direction+set}" = set; then
     5941if ${ac_cv_c_stack_direction+:} false; then :
    73935942  $as_echo_n "(cached) " >&6
    73945943else
    7395   if test "$cross_compiling" = yes; then
     5944  if test "$cross_compiling" = yes; then :
    73965945  ac_cv_c_stack_direction=0
    73975946else
    7398   cat >conftest.$ac_ext <<_ACEOF
    7399 /* confdefs.h.  */
    7400 _ACEOF
    7401 cat confdefs.h >>conftest.$ac_ext
    7402 cat >>conftest.$ac_ext <<_ACEOF
     5947  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    74035948/* end confdefs.h.  */
    74045949$ac_includes_default
     
    74235968}
    74245969_ACEOF
    7425 rm -f conftest$ac_exeext
    7426 if { (ac_try="$ac_link"
    7427 case "(($ac_try" in
    7428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7429   *) ac_try_echo=$ac_try;;
    7430 esac
    7431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7432 $as_echo "$ac_try_echo") >&5
    7433   (eval "$ac_link") 2>&5
    7434   ac_status=$?
    7435   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7436   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7437   { (case "(($ac_try" in
    7438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7439   *) ac_try_echo=$ac_try;;
    7440 esac
    7441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7442 $as_echo "$ac_try_echo") >&5
    7443   (eval "$ac_try") 2>&5
    7444   ac_status=$?
    7445   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7446   (exit $ac_status); }; }; then
     5970if ac_fn_c_try_run "$LINENO"; then :
    74475971  ac_cv_c_stack_direction=1
    74485972else
    7449   $as_echo "$as_me: program exited with status $ac_status" >&5
    7450 $as_echo "$as_me: failed program was:" >&5
    7451 sed 's/^/| /' conftest.$ac_ext >&5
    7452 
    7453 ( exit $ac_status )
    7454 ac_cv_c_stack_direction=-1
    7455 fi
    7456 rm -rf conftest.dSYM
    7457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7458 fi
    7459 
    7460 
    7461 fi
    7462 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     5973  ac_cv_c_stack_direction=-1
     5974fi
     5975rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5976  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5977fi
     5978
     5979fi
     5980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
    74635981$as_echo "$ac_cv_c_stack_direction" >&6; }
    7464 
    74655982cat >>confdefs.h <<_ACEOF
    74665983#define STACK_DIRECTION $ac_cv_c_stack_direction
     
    74715988
    74725989if test $ac_cv_c_compiler_gnu = yes; then
    7473     { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     5990    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
    74745991$as_echo_n "checking whether $CC needs -traditional... " >&6; }
    7475 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
     5992if ${ac_cv_prog_gcc_traditional+:} false; then :
    74765993  $as_echo_n "(cached) " >&6
    74775994else
    74785995    ac_pattern="Autoconf.*'x'"
    7479   cat >conftest.$ac_ext <<_ACEOF
    7480 /* confdefs.h.  */
    7481 _ACEOF
    7482 cat confdefs.h >>conftest.$ac_ext
    7483 cat >>conftest.$ac_ext <<_ACEOF
     5996  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    74845997/* end confdefs.h.  */
    74855998#include <sgtty.h>
     
    74876000_ACEOF
    74886001if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7489   $EGREP "$ac_pattern" >/dev/null 2>&1; then
     6002  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
    74906003  ac_cv_prog_gcc_traditional=yes
    74916004else
     
    74966009
    74976010  if test $ac_cv_prog_gcc_traditional = no; then
    7498     cat >conftest.$ac_ext <<_ACEOF
    7499 /* confdefs.h.  */
    7500 _ACEOF
    7501 cat confdefs.h >>conftest.$ac_ext
    7502 cat >>conftest.$ac_ext <<_ACEOF
     6011    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75036012/* end confdefs.h.  */
    75046013#include <termio.h>
     
    75066015_ACEOF
    75076016if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7508   $EGREP "$ac_pattern" >/dev/null 2>&1; then
     6017  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
    75096018  ac_cv_prog_gcc_traditional=yes
    75106019fi
     
    75136022  fi
    75146023fi
    7515 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     6024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
    75166025$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
    75176026  if test $ac_cv_prog_gcc_traditional = yes; then
     
    75206029fi
    75216030
    7522 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     6031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
    75236032$as_echo_n "checking return type of signal handlers... " >&6; }
    7524 if test "${ac_cv_type_signal+set}" = set; then
     6033if ${ac_cv_type_signal+:} false; then :
    75256034  $as_echo_n "(cached) " >&6
    75266035else
    7527   cat >conftest.$ac_ext <<_ACEOF
    7528 /* confdefs.h.  */
    7529 _ACEOF
    7530 cat confdefs.h >>conftest.$ac_ext
    7531 cat >>conftest.$ac_ext <<_ACEOF
     6036  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75326037/* end confdefs.h.  */
    75336038#include <sys/types.h>
     
    75426047}
    75436048_ACEOF
    7544 rm -f conftest.$ac_objext
    7545 if { (ac_try="$ac_compile"
    7546 case "(($ac_try" in
    7547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7548   *) ac_try_echo=$ac_try;;
    7549 esac
    7550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7551 $as_echo "$ac_try_echo") >&5
    7552   (eval "$ac_compile") 2>conftest.er1
    7553   ac_status=$?
    7554   grep -v '^ *+' conftest.er1 >conftest.err
    7555   rm -f conftest.er1
    7556   cat conftest.err >&5
    7557   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7558   (exit $ac_status); } && {
    7559      test -z "$ac_c_werror_flag" ||
    7560      test ! -s conftest.err
    7561        } && test -s conftest.$ac_objext; then
     6049if ac_fn_c_try_compile "$LINENO"; then :
    75626050  ac_cv_type_signal=int
    75636051else
    7564   $as_echo "$as_me: failed program was:" >&5
    7565 sed 's/^/| /' conftest.$ac_ext >&5
    7566 
    7567     ac_cv_type_signal=void
    7568 fi
    7569 
     6052  ac_cv_type_signal=void
     6053fi
    75706054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75716055fi
    7572 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     6056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
    75736057$as_echo "$ac_cv_type_signal" >&6; }
    75746058
     
    75786062
    75796063
    7580 
    75816064for ac_func in vprintf
    7582 do
    7583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    7584 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    7585 $as_echo_n "checking for $ac_func... " >&6; }
    7586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    7587   $as_echo_n "(cached) " >&6
    7588 else
    7589   cat >conftest.$ac_ext <<_ACEOF
    7590 /* confdefs.h.  */
    7591 _ACEOF
    7592 cat confdefs.h >>conftest.$ac_ext
    7593 cat >>conftest.$ac_ext <<_ACEOF
    7594 /* end confdefs.h.  */
    7595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    7596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7597 #define $ac_func innocuous_$ac_func
    7598 
    7599 /* System header to define __stub macros and hopefully few prototypes,
    7600     which can conflict with char $ac_func (); below.
    7601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7602     <limits.h> exists even on freestanding compilers.  */
    7603 
    7604 #ifdef __STDC__
    7605 # include <limits.h>
    7606 #else
    7607 # include <assert.h>
    7608 #endif
    7609 
    7610 #undef $ac_func
    7611 
    7612 /* Override any GCC internal prototype to avoid an error.
    7613    Use char because int might match the return type of a GCC
    7614    builtin and then its argument prototype would still apply.  */
    7615 #ifdef __cplusplus
    7616 extern "C"
    7617 #endif
    7618 char $ac_func ();
    7619 /* The GNU C library defines this for functions which it implements
    7620     to always fail with ENOSYS.  Some functions are actually named
    7621     something starting with __ and the normal name is an alias.  */
    7622 #if defined __stub_$ac_func || defined __stub___$ac_func
    7623 choke me
    7624 #endif
    7625 
    7626 int
    7627 main ()
    7628 {
    7629 return $ac_func ();
    7630   ;
    7631   return 0;
    7632 }
    7633 _ACEOF
    7634 rm -f conftest.$ac_objext conftest$ac_exeext
    7635 if { (ac_try="$ac_link"
    7636 case "(($ac_try" in
    7637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7638   *) ac_try_echo=$ac_try;;
    7639 esac
    7640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7641 $as_echo "$ac_try_echo") >&5
    7642   (eval "$ac_link") 2>conftest.er1
    7643   ac_status=$?
    7644   grep -v '^ *+' conftest.er1 >conftest.err
    7645   rm -f conftest.er1
    7646   cat conftest.err >&5
    7647   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7648   (exit $ac_status); } && {
    7649      test -z "$ac_c_werror_flag" ||
    7650      test ! -s conftest.err
    7651        } && test -s conftest$ac_exeext && {
    7652      test "$cross_compiling" = yes ||
    7653      $as_test_x conftest$ac_exeext
    7654        }; then
    7655   eval "$as_ac_var=yes"
    7656 else
    7657   $as_echo "$as_me: failed program was:" >&5
    7658 sed 's/^/| /' conftest.$ac_ext >&5
    7659 
    7660     eval "$as_ac_var=no"
    7661 fi
    7662 
    7663 rm -rf conftest.dSYM
    7664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7665       conftest$ac_exeext conftest.$ac_ext
    7666 fi
    7667 ac_res=`eval 'as_val=${'$as_ac_var'}
    7668          $as_echo "$as_val"'`
    7669            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7670 $as_echo "$ac_res" >&6; }
    7671 as_val=`eval 'as_val=${'$as_ac_var'}
    7672          $as_echo "$as_val"'`
    7673    if test "x$as_val" = x""yes; then
     6065do :
     6066  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
     6067if test "x$ac_cv_func_vprintf" = xyes; then :
     6068  cat >>confdefs.h <<_ACEOF
     6069#define HAVE_VPRINTF 1
     6070_ACEOF
     6071
     6072ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
     6073if test "x$ac_cv_func__doprnt" = xyes; then :
     6074
     6075$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
     6076
     6077fi
     6078
     6079fi
     6080done
     6081
     6082
     6083for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
     6084do :
     6085  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6086ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     6087if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
    76746088  cat >>confdefs.h <<_ACEOF
    76756089#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    76766090_ACEOF
    76776091
    7678 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
    7679 $as_echo_n "checking for _doprnt... " >&6; }
    7680 if test "${ac_cv_func__doprnt+set}" = set; then
    7681   $as_echo_n "(cached) " >&6
    7682 else
    7683   cat >conftest.$ac_ext <<_ACEOF
    7684 /* confdefs.h.  */
    7685 _ACEOF
    7686 cat confdefs.h >>conftest.$ac_ext
    7687 cat >>conftest.$ac_ext <<_ACEOF
    7688 /* end confdefs.h.  */
    7689 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
    7690    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7691 #define _doprnt innocuous__doprnt
    7692 
    7693 /* System header to define __stub macros and hopefully few prototypes,
    7694     which can conflict with char _doprnt (); below.
    7695     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7696     <limits.h> exists even on freestanding compilers.  */
    7697 
    7698 #ifdef __STDC__
    7699 # include <limits.h>
    7700 #else
    7701 # include <assert.h>
    7702 #endif
    7703 
    7704 #undef _doprnt
    7705 
    7706 /* Override any GCC internal prototype to avoid an error.
    7707    Use char because int might match the return type of a GCC
    7708    builtin and then its argument prototype would still apply.  */
    7709 #ifdef __cplusplus
    7710 extern "C"
    7711 #endif
    7712 char _doprnt ();
    7713 /* The GNU C library defines this for functions which it implements
    7714     to always fail with ENOSYS.  Some functions are actually named
    7715     something starting with __ and the normal name is an alias.  */
    7716 #if defined __stub__doprnt || defined __stub____doprnt
    7717 choke me
    7718 #endif
    7719 
    7720 int
    7721 main ()
    7722 {
    7723 return _doprnt ();
    7724   ;
    7725   return 0;
    7726 }
    7727 _ACEOF
    7728 rm -f conftest.$ac_objext conftest$ac_exeext
    7729 if { (ac_try="$ac_link"
    7730 case "(($ac_try" in
    7731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7732   *) ac_try_echo=$ac_try;;
    7733 esac
    7734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7735 $as_echo "$ac_try_echo") >&5
    7736   (eval "$ac_link") 2>conftest.er1
    7737   ac_status=$?
    7738   grep -v '^ *+' conftest.er1 >conftest.err
    7739   rm -f conftest.er1
    7740   cat conftest.err >&5
    7741   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7742   (exit $ac_status); } && {
    7743      test -z "$ac_c_werror_flag" ||
    7744      test ! -s conftest.err
    7745        } && test -s conftest$ac_exeext && {
    7746      test "$cross_compiling" = yes ||
    7747      $as_test_x conftest$ac_exeext
    7748        }; then
    7749   ac_cv_func__doprnt=yes
    7750 else
    7751   $as_echo "$as_me: failed program was:" >&5
    7752 sed 's/^/| /' conftest.$ac_ext >&5
    7753 
    7754     ac_cv_func__doprnt=no
    7755 fi
    7756 
    7757 rm -rf conftest.dSYM
    7758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7759       conftest$ac_exeext conftest.$ac_ext
    7760 fi
    7761 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    7762 $as_echo "$ac_cv_func__doprnt" >&6; }
    7763 if test "x$ac_cv_func__doprnt" = x""yes; then
    7764 
    7765 cat >>confdefs.h <<\_ACEOF
    7766 #define HAVE_DOPRNT 1
    7767 _ACEOF
    7768 
    7769 fi
    7770 
    77716092fi
    77726093done
    77736094
    7774 
    7775 
    7776 
    7777 
    7778 
    7779 
    7780 
    7781 
    7782 
    7783 
    7784 
    7785 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
    7786 do
    7787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    7788 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    7789 $as_echo_n "checking for $ac_func... " >&6; }
    7790 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    7791   $as_echo_n "(cached) " >&6
    7792 else
    7793   cat >conftest.$ac_ext <<_ACEOF
    7794 /* confdefs.h.  */
    7795 _ACEOF
    7796 cat confdefs.h >>conftest.$ac_ext
    7797 cat >>conftest.$ac_ext <<_ACEOF
    7798 /* end confdefs.h.  */
    7799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    7800    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7801 #define $ac_func innocuous_$ac_func
    7802 
    7803 /* System header to define __stub macros and hopefully few prototypes,
    7804     which can conflict with char $ac_func (); below.
    7805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7806     <limits.h> exists even on freestanding compilers.  */
    7807 
    7808 #ifdef __STDC__
    7809 # include <limits.h>
    7810 #else
    7811 # include <assert.h>
    7812 #endif
    7813 
    7814 #undef $ac_func
    7815 
    7816 /* Override any GCC internal prototype to avoid an error.
    7817    Use char because int might match the return type of a GCC
    7818    builtin and then its argument prototype would still apply.  */
    7819 #ifdef __cplusplus
    7820 extern "C"
    7821 #endif
    7822 char $ac_func ();
    7823 /* The GNU C library defines this for functions which it implements
    7824     to always fail with ENOSYS.  Some functions are actually named
    7825     something starting with __ and the normal name is an alias.  */
    7826 #if defined __stub_$ac_func || defined __stub___$ac_func
    7827 choke me
    7828 #endif
    7829 
    7830 int
    7831 main ()
    7832 {
    7833 return $ac_func ();
    7834   ;
    7835   return 0;
    7836 }
    7837 _ACEOF
    7838 rm -f conftest.$ac_objext conftest$ac_exeext
    7839 if { (ac_try="$ac_link"
    7840 case "(($ac_try" in
    7841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7842   *) ac_try_echo=$ac_try;;
    7843 esac
    7844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7845 $as_echo "$ac_try_echo") >&5
    7846   (eval "$ac_link") 2>conftest.er1
    7847   ac_status=$?
    7848   grep -v '^ *+' conftest.er1 >conftest.err
    7849   rm -f conftest.er1
    7850   cat conftest.err >&5
    7851   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7852   (exit $ac_status); } && {
    7853      test -z "$ac_c_werror_flag" ||
    7854      test ! -s conftest.err
    7855        } && test -s conftest$ac_exeext && {
    7856      test "$cross_compiling" = yes ||
    7857      $as_test_x conftest$ac_exeext
    7858        }; then
    7859   eval "$as_ac_var=yes"
    7860 else
    7861   $as_echo "$as_me: failed program was:" >&5
    7862 sed 's/^/| /' conftest.$ac_ext >&5
    7863 
    7864     eval "$as_ac_var=no"
    7865 fi
    7866 
    7867 rm -rf conftest.dSYM
    7868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7869       conftest$ac_exeext conftest.$ac_ext
    7870 fi
    7871 ac_res=`eval 'as_val=${'$as_ac_var'}
    7872          $as_echo "$as_val"'`
    7873            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7874 $as_echo "$ac_res" >&6; }
    7875 as_val=`eval 'as_val=${'$as_ac_var'}
    7876          $as_echo "$as_val"'`
    7877    if test "x$as_val" = x""yes; then
    7878   cat >>confdefs.h <<_ACEOF
    7879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    7880 _ACEOF
    7881 
    7882 fi
    7883 done
    7884 
    7885 
    7886 
    7887 
    7888 for ac_func in ftruncate strstr strcasecmp
    7889 do
    7890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    7891 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    7892 $as_echo_n "checking for $ac_func... " >&6; }
    7893 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    7894   $as_echo_n "(cached) " >&6
    7895 else
    7896   cat >conftest.$ac_ext <<_ACEOF
    7897 /* confdefs.h.  */
    7898 _ACEOF
    7899 cat confdefs.h >>conftest.$ac_ext
    7900 cat >>conftest.$ac_ext <<_ACEOF
    7901 /* end confdefs.h.  */
    7902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    7903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    7904 #define $ac_func innocuous_$ac_func
    7905 
    7906 /* System header to define __stub macros and hopefully few prototypes,
    7907     which can conflict with char $ac_func (); below.
    7908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7909     <limits.h> exists even on freestanding compilers.  */
    7910 
    7911 #ifdef __STDC__
    7912 # include <limits.h>
    7913 #else
    7914 # include <assert.h>
    7915 #endif
    7916 
    7917 #undef $ac_func
    7918 
    7919 /* Override any GCC internal prototype to avoid an error.
    7920    Use char because int might match the return type of a GCC
    7921    builtin and then its argument prototype would still apply.  */
    7922 #ifdef __cplusplus
    7923 extern "C"
    7924 #endif
    7925 char $ac_func ();
    7926 /* The GNU C library defines this for functions which it implements
    7927     to always fail with ENOSYS.  Some functions are actually named
    7928     something starting with __ and the normal name is an alias.  */
    7929 #if defined __stub_$ac_func || defined __stub___$ac_func
    7930 choke me
    7931 #endif
    7932 
    7933 int
    7934 main ()
    7935 {
    7936 return $ac_func ();
    7937   ;
    7938   return 0;
    7939 }
    7940 _ACEOF
    7941 rm -f conftest.$ac_objext conftest$ac_exeext
    7942 if { (ac_try="$ac_link"
    7943 case "(($ac_try" in
    7944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7945   *) ac_try_echo=$ac_try;;
    7946 esac
    7947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7948 $as_echo "$ac_try_echo") >&5
    7949   (eval "$ac_link") 2>conftest.er1
    7950   ac_status=$?
    7951   grep -v '^ *+' conftest.er1 >conftest.err
    7952   rm -f conftest.er1
    7953   cat conftest.err >&5
    7954   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7955   (exit $ac_status); } && {
    7956      test -z "$ac_c_werror_flag" ||
    7957      test ! -s conftest.err
    7958        } && test -s conftest$ac_exeext && {
    7959      test "$cross_compiling" = yes ||
    7960      $as_test_x conftest$ac_exeext
    7961        }; then
    7962   eval "$as_ac_var=yes"
    7963 else
    7964   $as_echo "$as_me: failed program was:" >&5
    7965 sed 's/^/| /' conftest.$ac_ext >&5
    7966 
    7967     eval "$as_ac_var=no"
    7968 fi
    7969 
    7970 rm -rf conftest.dSYM
    7971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    7972       conftest$ac_exeext conftest.$ac_ext
    7973 fi
    7974 ac_res=`eval 'as_val=${'$as_ac_var'}
    7975          $as_echo "$as_val"'`
    7976            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7977 $as_echo "$ac_res" >&6; }
    7978 as_val=`eval 'as_val=${'$as_ac_var'}
    7979          $as_echo "$as_val"'`
    7980    if test "x$as_val" = x""yes; then
    7981   cat >>confdefs.h <<_ACEOF
    7982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    7983 _ACEOF
     6095ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
     6096if test "x$ac_cv_func_ftruncate" = xyes; then :
     6097  $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
    79846098
    79856099else
    79866100  case " $LIBOBJS " in
    7987   *" $ac_func.$ac_objext "* ) ;;
    7988   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     6101  *" ftruncate.$ac_objext "* ) ;;
     6102  *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
    79896103 ;;
    79906104esac
    79916105
    79926106fi
    7993 done
    7994 
    7995 
    7996 
    7997 { $as_echo "$as_me:$LINENO: checking for textdomain" >&5
    7998 $as_echo_n "checking for textdomain... " >&6; }
    7999 if test "${ac_cv_func_textdomain+set}" = set; then
    8000   $as_echo_n "(cached) " >&6
    8001 else
    8002   cat >conftest.$ac_ext <<_ACEOF
    8003 /* confdefs.h.  */
    8004 _ACEOF
    8005 cat confdefs.h >>conftest.$ac_ext
    8006 cat >>conftest.$ac_ext <<_ACEOF
    8007 /* end confdefs.h.  */
    8008 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
    8009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    8010 #define textdomain innocuous_textdomain
    8011 
    8012 /* System header to define __stub macros and hopefully few prototypes,
    8013     which can conflict with char textdomain (); below.
    8014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    8015     <limits.h> exists even on freestanding compilers.  */
    8016 
    8017 #ifdef __STDC__
    8018 # include <limits.h>
    8019 #else
    8020 # include <assert.h>
    8021 #endif
    8022 
    8023 #undef textdomain
    8024 
    8025 /* Override any GCC internal prototype to avoid an error.
    8026    Use char because int might match the return type of a GCC
    8027    builtin and then its argument prototype would still apply.  */
    8028 #ifdef __cplusplus
    8029 extern "C"
    8030 #endif
    8031 char textdomain ();
    8032 /* The GNU C library defines this for functions which it implements
    8033     to always fail with ENOSYS.  Some functions are actually named
    8034     something starting with __ and the normal name is an alias.  */
    8035 #if defined __stub_textdomain || defined __stub___textdomain
    8036 choke me
    8037 #endif
    8038 
    8039 int
    8040 main ()
    8041 {
    8042 return textdomain ();
    8043   ;
    8044   return 0;
    8045 }
    8046 _ACEOF
    8047 rm -f conftest.$ac_objext conftest$ac_exeext
    8048 if { (ac_try="$ac_link"
    8049 case "(($ac_try" in
    8050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8051   *) ac_try_echo=$ac_try;;
     6107
     6108ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
     6109if test "x$ac_cv_func_strstr" = xyes; then :
     6110  $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
     6111
     6112else
     6113  case " $LIBOBJS " in
     6114  *" strstr.$ac_objext "* ) ;;
     6115  *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
     6116 ;;
    80526117esac
    8053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8054 $as_echo "$ac_try_echo") >&5
    8055   (eval "$ac_link") 2>conftest.er1
    8056   ac_status=$?
    8057   grep -v '^ *+' conftest.er1 >conftest.err
    8058   rm -f conftest.er1
    8059   cat conftest.err >&5
    8060   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8061   (exit $ac_status); } && {
    8062      test -z "$ac_c_werror_flag" ||
    8063      test ! -s conftest.err
    8064        } && test -s conftest$ac_exeext && {
    8065      test "$cross_compiling" = yes ||
    8066      $as_test_x conftest$ac_exeext
    8067        }; then
    8068   ac_cv_func_textdomain=yes
    8069 else
    8070   $as_echo "$as_me: failed program was:" >&5
    8071 sed 's/^/| /' conftest.$ac_ext >&5
    8072 
    8073     ac_cv_func_textdomain=no
    8074 fi
    8075 
    8076 rm -rf conftest.dSYM
    8077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    8078       conftest$ac_exeext conftest.$ac_ext
    8079 fi
    8080 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    8081 $as_echo "$ac_cv_func_textdomain" >&6; }
    8082 if test "x$ac_cv_func_textdomain" = x""yes; then
    8083   cat >>confdefs.h <<\_ACEOF
    8084 #define ENABLE_NLS  1
    8085 _ACEOF
     6118
     6119fi
     6120
     6121ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
     6122if test "x$ac_cv_func_strcasecmp" = xyes; then :
     6123  $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
     6124
     6125else
     6126  case " $LIBOBJS " in
     6127  *" strcasecmp.$ac_objext "* ) ;;
     6128  *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
     6129 ;;
     6130esac
     6131
     6132fi
     6133
     6134
     6135
     6136ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
     6137if test "x$ac_cv_func_textdomain" = xyes; then :
     6138  $as_echo "#define ENABLE_NLS  1" >>confdefs.h
    80866139
    80876140fi
     
    80906143# *** Custom checking (based on GNU tar configure.in) ***
    80916144# ---------------------------------------------------------------------------
    8092 { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     6145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
    80936146$as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
    80946147if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    8095   { $as_echo "$as_me:$LINENO: result: yes" >&5
     6148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    80966149$as_echo "yes" >&6; }
    80976150  case " $LIBOBJS " in
     
    81016154esac
    81026155
    8103   cat >>confdefs.h <<\_ACEOF
     6156  $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
     6157
     6158else
     6159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6160$as_echo "no" >&6; }
     6161  for ac_func in valloc
     6162do :
     6163  ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
     6164if test "x$ac_cv_func_valloc" = xyes; then :
     6165  cat >>confdefs.h <<_ACEOF
    81046166#define HAVE_VALLOC 1
    81056167_ACEOF
    81066168
    8107 else
    8108   { $as_echo "$as_me:$LINENO: result: no" >&5
    8109 $as_echo "no" >&6; }
    8110 
    8111 for ac_func in valloc
    8112 do
    8113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    8114 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    8115 $as_echo_n "checking for $ac_func... " >&6; }
    8116 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    8117   $as_echo_n "(cached) " >&6
    8118 else
    8119   cat >conftest.$ac_ext <<_ACEOF
    8120 /* confdefs.h.  */
    8121 _ACEOF
    8122 cat confdefs.h >>conftest.$ac_ext
    8123 cat >>conftest.$ac_ext <<_ACEOF
    8124 /* end confdefs.h.  */
    8125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    8126    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    8127 #define $ac_func innocuous_$ac_func
    8128 
    8129 /* System header to define __stub macros and hopefully few prototypes,
    8130     which can conflict with char $ac_func (); below.
    8131     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    8132     <limits.h> exists even on freestanding compilers.  */
    8133 
    8134 #ifdef __STDC__
    8135 # include <limits.h>
    8136 #else
    8137 # include <assert.h>
    8138 #endif
    8139 
    8140 #undef $ac_func
    8141 
    8142 /* Override any GCC internal prototype to avoid an error.
    8143    Use char because int might match the return type of a GCC
    8144    builtin and then its argument prototype would still apply.  */
    8145 #ifdef __cplusplus
    8146 extern "C"
    8147 #endif
    8148 char $ac_func ();
    8149 /* The GNU C library defines this for functions which it implements
    8150     to always fail with ENOSYS.  Some functions are actually named
    8151     something starting with __ and the normal name is an alias.  */
    8152 #if defined __stub_$ac_func || defined __stub___$ac_func
    8153 choke me
    8154 #endif
    8155 
    8156 int
    8157 main ()
    8158 {
    8159 return $ac_func ();
    8160   ;
    8161   return 0;
    8162 }
    8163 _ACEOF
    8164 rm -f conftest.$ac_objext conftest$ac_exeext
    8165 if { (ac_try="$ac_link"
    8166 case "(($ac_try" in
    8167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8168   *) ac_try_echo=$ac_try;;
    8169 esac
    8170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8171 $as_echo "$ac_try_echo") >&5
    8172   (eval "$ac_link") 2>conftest.er1
    8173   ac_status=$?
    8174   grep -v '^ *+' conftest.er1 >conftest.err
    8175   rm -f conftest.er1
    8176   cat conftest.err >&5
    8177   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8178   (exit $ac_status); } && {
    8179      test -z "$ac_c_werror_flag" ||
    8180      test ! -s conftest.err
    8181        } && test -s conftest$ac_exeext && {
    8182      test "$cross_compiling" = yes ||
    8183      $as_test_x conftest$ac_exeext
    8184        }; then
    8185   eval "$as_ac_var=yes"
    8186 else
    8187   $as_echo "$as_me: failed program was:" >&5
    8188 sed 's/^/| /' conftest.$ac_ext >&5
    8189 
    8190     eval "$as_ac_var=no"
    8191 fi
    8192 
    8193 rm -rf conftest.dSYM
    8194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    8195       conftest$ac_exeext conftest.$ac_ext
    8196 fi
    8197 ac_res=`eval 'as_val=${'$as_ac_var'}
    8198          $as_echo "$as_val"'`
    8199            { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8200 $as_echo "$ac_res" >&6; }
    8201 as_val=`eval 'as_val=${'$as_ac_var'}
    8202          $as_echo "$as_val"'`
    8203    if test "x$as_val" = x""yes; then
    8204   cat >>confdefs.h <<_ACEOF
    8205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    8206 _ACEOF
    8207 
    82086169fi
    82096170done
     
    82126173
    82136174# we cannot generate static libraries under Darwin
    8214 { $as_echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     6175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
    82156176$as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
    82166177if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    8217   { $as_echo "$as_me:$LINENO: result: yes" >&5
     6178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    82186179$as_echo "yes" >&6; }
    82196180  STATIC=""
    82206181else
    8221   { $as_echo "$as_me:$LINENO: result: no" >&5
     6182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    82226183$as_echo "no" >&6; }
    82236184  STATIC="-static "
     
    82256186
    82266187
    8227 { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     6188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
    82286189$as_echo_n "checking if malloc debugging is wanted... " >&6; }
    82296190
    82306191# Check whether --with-dmalloc was given.
    8231 if test "${with_dmalloc+set}" = set; then
     6192if test "${with_dmalloc+set}" = set; then :
    82326193  withval=$with_dmalloc; if test "$withval" = yes; then
    8233   { $as_echo "$as_me:$LINENO: result: yes" >&5
     6194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    82346195$as_echo "yes" >&6; }
    8235   cat >>confdefs.h <<\_ACEOF
    8236 #define WITH_DMALLOC 1
    8237 _ACEOF
     6196  $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
    82386197
    82396198  LIBS="$LIBS -ldmalloc"
    82406199  LDFLAGS="$LDFLAGS -g"
    82416200else
    8242   { $as_echo "$as_me:$LINENO: result: no" >&5
     6201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    82436202$as_echo "no" >&6; }
    82446203fi
    82456204else
    8246   { $as_echo "$as_me:$LINENO: result: no" >&5
     6205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    82476206$as_echo "no" >&6; }
    82486207fi
    82496208
    82506209
    8251 { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     6210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
    82526211$as_echo_n "checking which of rx or regex is wanted... " >&6; }
    82536212
    82546213# Check whether --with-regex was given.
    8255 if test "${with_regex+set}" = set; then
     6214if test "${with_regex+set}" = set; then :
    82566215  withval=$with_regex; if test "$withval" = yes; then
    82576216  ac_with_regex=1
    8258   { $as_echo "$as_me:$LINENO: result: regex" >&5
     6217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
    82596218$as_echo "regex" >&6; }
    8260   cat >>confdefs.h <<\_ACEOF
    8261 #define WITH_REGEX 1
    8262 _ACEOF
     6219  $as_echo "#define WITH_REGEX 1" >>confdefs.h
    82636220
    82646221  case " $LIBOBJS " in
     
    82726229
    82736230if test -z "$ac_with_regex"; then
    8274   { $as_echo "$as_me:$LINENO: result: rx" >&5
     6231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
    82756232$as_echo "rx" >&6; }
    8276   { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5
    8277 $as_echo_n "checking for re_rx_search... " >&6; }
    8278 if test "${ac_cv_func_re_rx_search+set}" = set; then
    8279   $as_echo_n "(cached) " >&6
    8280 else
    8281   cat >conftest.$ac_ext <<_ACEOF
    8282 /* confdefs.h.  */
    8283 _ACEOF
    8284 cat confdefs.h >>conftest.$ac_ext
    8285 cat >>conftest.$ac_ext <<_ACEOF
    8286 /* end confdefs.h.  */
    8287 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
    8288    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    8289 #define re_rx_search innocuous_re_rx_search
    8290 
    8291 /* System header to define __stub macros and hopefully few prototypes,
    8292     which can conflict with char re_rx_search (); below.
    8293     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    8294     <limits.h> exists even on freestanding compilers.  */
    8295 
    8296 #ifdef __STDC__
    8297 # include <limits.h>
    8298 #else
    8299 # include <assert.h>
    8300 #endif
    8301 
    8302 #undef re_rx_search
    8303 
    8304 /* Override any GCC internal prototype to avoid an error.
    8305    Use char because int might match the return type of a GCC
    8306    builtin and then its argument prototype would still apply.  */
    8307 #ifdef __cplusplus
    8308 extern "C"
    8309 #endif
    8310 char re_rx_search ();
    8311 /* The GNU C library defines this for functions which it implements
    8312     to always fail with ENOSYS.  Some functions are actually named
    8313     something starting with __ and the normal name is an alias.  */
    8314 #if defined __stub_re_rx_search || defined __stub___re_rx_search
    8315 choke me
    8316 #endif
    8317 
    8318 int
    8319 main ()
    8320 {
    8321 return re_rx_search ();
    8322   ;
    8323   return 0;
    8324 }
    8325 _ACEOF
    8326 rm -f conftest.$ac_objext conftest$ac_exeext
    8327 if { (ac_try="$ac_link"
    8328 case "(($ac_try" in
    8329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8330   *) ac_try_echo=$ac_try;;
    8331 esac
    8332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8333 $as_echo "$ac_try_echo") >&5
    8334   (eval "$ac_link") 2>conftest.er1
    8335   ac_status=$?
    8336   grep -v '^ *+' conftest.er1 >conftest.err
    8337   rm -f conftest.er1
    8338   cat conftest.err >&5
    8339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8340   (exit $ac_status); } && {
    8341      test -z "$ac_c_werror_flag" ||
    8342      test ! -s conftest.err
    8343        } && test -s conftest$ac_exeext && {
    8344      test "$cross_compiling" = yes ||
    8345      $as_test_x conftest$ac_exeext
    8346        }; then
    8347   ac_cv_func_re_rx_search=yes
    8348 else
    8349   $as_echo "$as_me: failed program was:" >&5
    8350 sed 's/^/| /' conftest.$ac_ext >&5
    8351 
    8352     ac_cv_func_re_rx_search=no
    8353 fi
    8354 
    8355 rm -rf conftest.dSYM
    8356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    8357       conftest$ac_exeext conftest.$ac_ext
    8358 fi
    8359 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    8360 $as_echo "$ac_cv_func_re_rx_search" >&6; }
    8361 if test "x$ac_cv_func_re_rx_search" = x""yes; then
    8362   :
     6233  ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
     6234if test "x$ac_cv_func_re_rx_search" = xyes; then :
     6235
    83636236else
    83646237  case " $LIBOBJS " in
     
    83996272
    84006273
    8401 { $as_echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
     6274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&5
    84026275$as_echo_n "checking that Perl 5 is available... " >&6; }
    84036276success="no"
     
    84176290try=`expr $try \> 5.000`
    84186291if test $try = "1"; then
    8419 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
     6292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
    84206293$as_echo "\"yes\"" >&6; }
    84216294else
     
    84256298
    84266299if test $success = "no"; then
    8427 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5
     6300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
    84286301$as_echo "\"no\"" >&6; }
    8429 { { $as_echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
    8430 $as_echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
    8431    { (exit 1); exit 1; }; }
     6302as_fn_error $? "\"Perl 5 not available - cannot install\"" "$LINENO" 5
    84326303fi
    84336304
    84346305success=no
    8435 { $as_echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
     6306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
    84366307$as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
    84376308
    84386309
    8439 cat >conftest.$ac_ext <<_ACEOF
    8440 /* confdefs.h.  */
    8441 _ACEOF
    8442 cat confdefs.h >>conftest.$ac_ext
    8443 cat >>conftest.$ac_ext <<_ACEOF
     6310cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    84446311/* end confdefs.h.  */
    84456312#include <vector>
     
    84536320}
    84546321_ACEOF
    8455 rm -f conftest.$ac_objext
    8456 if { (ac_try="$ac_compile"
    8457 case "(($ac_try" in
    8458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8459   *) ac_try_echo=$ac_try;;
    8460 esac
    8461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8462 $as_echo "$ac_try_echo") >&5
    8463   (eval "$ac_compile") 2>conftest.er1
    8464   ac_status=$?
    8465   grep -v '^ *+' conftest.er1 >conftest.err
    8466   rm -f conftest.er1
    8467   cat conftest.err >&5
    8468   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8469   (exit $ac_status); } && {
    8470      test -z "$ac_cxx_werror_flag" ||
    8471      test ! -s conftest.err
    8472        } && test -s conftest.$ac_objext; then
     6322if ac_fn_cxx_try_compile "$LINENO"; then :
    84736323  success=yes
    8474 else
    8475   $as_echo "$as_me: failed program was:" >&5
    8476 sed 's/^/| /' conftest.$ac_ext >&5
    8477 
    8478 
    8479 fi
    8480 
     6324fi
    84816325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    84826326
    84836327if test $success = "no"; then
    8484 cat >conftest.$ac_ext <<_ACEOF
    8485 /* confdefs.h.  */
    8486 _ACEOF
    8487 cat confdefs.h >>conftest.$ac_ext
    8488 cat >>conftest.$ac_ext <<_ACEOF
     6328cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    84896329/* end confdefs.h.  */
    84906330#include <vector.h>
     
    84986338}
    84996339_ACEOF
    8500 rm -f conftest.$ac_objext
    8501 if { (ac_try="$ac_compile"
    8502 case "(($ac_try" in
    8503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8504   *) ac_try_echo=$ac_try;;
    8505 esac
    8506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8507 $as_echo "$ac_try_echo") >&5
    8508   (eval "$ac_compile") 2>conftest.er1
    8509   ac_status=$?
    8510   grep -v '^ *+' conftest.er1 >conftest.err
    8511   rm -f conftest.er1
    8512   cat conftest.err >&5
    8513   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8514   (exit $ac_status); } && {
    8515      test -z "$ac_cxx_werror_flag" ||
    8516      test ! -s conftest.err
    8517        } && test -s conftest.$ac_objext; then
     6340if ac_fn_cxx_try_compile "$LINENO"; then :
    85186341  success="yes"
    8519 else
    8520   $as_echo "$as_me: failed program was:" >&5
    8521 sed 's/^/| /' conftest.$ac_ext >&5
    8522 
    8523 
    8524 fi
    8525 
     6342fi
    85266343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    85276344fi
    85286345
    85296346if test $success = "no"; then
    8530 cat >conftest.$ac_ext <<_ACEOF
    8531 /* confdefs.h.  */
    8532 _ACEOF
    8533 cat confdefs.h >>conftest.$ac_ext
    8534 cat >>conftest.$ac_ext <<_ACEOF
     6347cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85356348/* end confdefs.h.  */
    85366349#include <ospace\\std\\vector>
     
    85446357}
    85456358_ACEOF
    8546 rm -f conftest.$ac_objext
    8547 if { (ac_try="$ac_compile"
    8548 case "(($ac_try" in
    8549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8550   *) ac_try_echo=$ac_try;;
    8551 esac
    8552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8553 $as_echo "$ac_try_echo") >&5
    8554   (eval "$ac_compile") 2>conftest.er1
    8555   ac_status=$?
    8556   grep -v '^ *+' conftest.er1 >conftest.err
    8557   rm -f conftest.er1
    8558   cat conftest.err >&5
    8559   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8560   (exit $ac_status); } && {
    8561      test -z "$ac_cxx_werror_flag" ||
    8562      test ! -s conftest.err
    8563        } && test -s conftest.$ac_objext; then
     6359if ac_fn_cxx_try_compile "$LINENO"; then :
    85646360  success="yes"
    8565 else
    8566   $as_echo "$as_me: failed program was:" >&5
    8567 sed 's/^/| /' conftest.$ac_ext >&5
    8568 
    8569 
    8570 fi
    8571 
     6361fi
    85726362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    85736363fi
    85746364
    85756365if test $success = yes; then
    8576 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5
     6366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
    85776367$as_echo "\"no\"" >&6; }
    85786368else
    8579 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
     6369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
    85806370$as_echo "\"yes\"" >&6; }
    8581 { { $as_echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
    8582 $as_echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
    8583    { (exit 1); exit 1; }; }
     6371as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
    85846372fi
    85856373
     
    85906378  gsdlos=windows
    85916379 fi
     6380if test "x$crossOS" != "x" ; then
     6381  gsdlos=$crossOS
     6382  gsdlarch=""
     6383fi
     6384
    85926385
    85936386
    85946387# check for endianness
    8595 
    8596  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
    85976389$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    8598 if test "${ac_cv_c_bigendian+set}" = set; then
     6390if ${ac_cv_c_bigendian+:} false; then :
    85996391  $as_echo_n "(cached) " >&6
    86006392else
    86016393  ac_cv_c_bigendian=unknown
    86026394    # See if we're dealing with a universal compiler.
    8603     cat >conftest.$ac_ext <<_ACEOF
    8604 /* confdefs.h.  */
    8605 _ACEOF
    8606 cat confdefs.h >>conftest.$ac_ext
    8607 cat >>conftest.$ac_ext <<_ACEOF
     6395    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86086396/* end confdefs.h.  */
    86096397#ifndef __APPLE_CC__
     
    86136401
    86146402_ACEOF
    8615 rm -f conftest.$ac_objext
    8616 if { (ac_try="$ac_compile"
    8617 case "(($ac_try" in
    8618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8619   *) ac_try_echo=$ac_try;;
    8620 esac
    8621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8622 $as_echo "$ac_try_echo") >&5
    8623   (eval "$ac_compile") 2>conftest.er1
    8624   ac_status=$?
    8625   grep -v '^ *+' conftest.er1 >conftest.err
    8626   rm -f conftest.er1
    8627   cat conftest.err >&5
    8628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8629   (exit $ac_status); } && {
    8630      test -z "$ac_cxx_werror_flag" ||
    8631      test ! -s conftest.err
    8632        } && test -s conftest.$ac_objext; then
     6403if ac_fn_cxx_try_compile "$LINENO"; then :
    86336404
    86346405    # Check for potential -arch flags.  It is not universal unless
    8635     # there are some -arch flags.  Note that *ppc* also matches
    8636     # ppc64.  This check is also rather less than ideal.
    8637     case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
    8638       *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
    8639     esac
    8640 else
    8641   $as_echo "$as_me: failed program was:" >&5
    8642 sed 's/^/| /' conftest.$ac_ext >&5
    8643 
    8644 
    8645 fi
    8646 
     6406    # there are at least two -arch flags with different values.
     6407    ac_arch=
     6408    ac_prev=
     6409    for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     6410     if test -n "$ac_prev"; then
     6411       case $ac_word in
     6412         i?86 | x86_64 | ppc | ppc64)
     6413           if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     6414         ac_arch=$ac_word
     6415           else
     6416         ac_cv_c_bigendian=universal
     6417         break
     6418           fi
     6419           ;;
     6420       esac
     6421       ac_prev=
     6422     elif test "x$ac_word" = "x-arch"; then
     6423       ac_prev=arch
     6424     fi
     6425       done
     6426fi
    86476427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    86486428    if test $ac_cv_c_bigendian = unknown; then
    86496429      # See if sys/param.h defines the BYTE_ORDER macro.
    8650       cat >conftest.$ac_ext <<_ACEOF
    8651 /* confdefs.h.  */
    8652 _ACEOF
    8653 cat confdefs.h >>conftest.$ac_ext
    8654 cat >>conftest.$ac_ext <<_ACEOF
     6430      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86556431/* end confdefs.h.  */
    86566432#include <sys/types.h>
     
    86706446}
    86716447_ACEOF
    8672 rm -f conftest.$ac_objext
    8673 if { (ac_try="$ac_compile"
    8674 case "(($ac_try" in
    8675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8676   *) ac_try_echo=$ac_try;;
    8677 esac
    8678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8679 $as_echo "$ac_try_echo") >&5
    8680   (eval "$ac_compile") 2>conftest.er1
    8681   ac_status=$?
    8682   grep -v '^ *+' conftest.er1 >conftest.err
    8683   rm -f conftest.er1
    8684   cat conftest.err >&5
    8685   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8686   (exit $ac_status); } && {
    8687      test -z "$ac_cxx_werror_flag" ||
    8688      test ! -s conftest.err
    8689        } && test -s conftest.$ac_objext; then
     6448if ac_fn_cxx_try_compile "$LINENO"; then :
    86906449  # It does; now see whether it defined to BIG_ENDIAN or not.
    8691      cat >conftest.$ac_ext <<_ACEOF
    8692 /* confdefs.h.  */
    8693 _ACEOF
    8694 cat confdefs.h >>conftest.$ac_ext
    8695 cat >>conftest.$ac_ext <<_ACEOF
     6450     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86966451/* end confdefs.h.  */
    86976452#include <sys/types.h>
     
    87096464}
    87106465_ACEOF
    8711 rm -f conftest.$ac_objext
    8712 if { (ac_try="$ac_compile"
    8713 case "(($ac_try" in
    8714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8715   *) ac_try_echo=$ac_try;;
    8716 esac
    8717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8718 $as_echo "$ac_try_echo") >&5
    8719   (eval "$ac_compile") 2>conftest.er1
    8720   ac_status=$?
    8721   grep -v '^ *+' conftest.er1 >conftest.err
    8722   rm -f conftest.er1
    8723   cat conftest.err >&5
    8724   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8725   (exit $ac_status); } && {
    8726      test -z "$ac_cxx_werror_flag" ||
    8727      test ! -s conftest.err
    8728        } && test -s conftest.$ac_objext; then
     6466if ac_fn_cxx_try_compile "$LINENO"; then :
    87296467  ac_cv_c_bigendian=yes
    87306468else
    8731   $as_echo "$as_me: failed program was:" >&5
    8732 sed 's/^/| /' conftest.$ac_ext >&5
    8733 
    8734     ac_cv_c_bigendian=no
    8735 fi
    8736 
     6469  ac_cv_c_bigendian=no
     6470fi
    87376471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8738 else
    8739   $as_echo "$as_me: failed program was:" >&5
    8740 sed 's/^/| /' conftest.$ac_ext >&5
    8741 
    8742 
    8743 fi
    8744 
     6472fi
    87456473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    87466474    fi
    87476475    if test $ac_cv_c_bigendian = unknown; then
    87486476      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    8749       cat >conftest.$ac_ext <<_ACEOF
    8750 /* confdefs.h.  */
    8751 _ACEOF
    8752 cat confdefs.h >>conftest.$ac_ext
    8753 cat >>conftest.$ac_ext <<_ACEOF
     6477      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    87546478/* end confdefs.h.  */
    87556479#include <limits.h>
     
    87666490}
    87676491_ACEOF
    8768 rm -f conftest.$ac_objext
    8769 if { (ac_try="$ac_compile"
    8770 case "(($ac_try" in
    8771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8772   *) ac_try_echo=$ac_try;;
    8773 esac
    8774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8775 $as_echo "$ac_try_echo") >&5
    8776   (eval "$ac_compile") 2>conftest.er1
    8777   ac_status=$?
    8778   grep -v '^ *+' conftest.er1 >conftest.err
    8779   rm -f conftest.er1
    8780   cat conftest.err >&5
    8781   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8782   (exit $ac_status); } && {
    8783      test -z "$ac_cxx_werror_flag" ||
    8784      test ! -s conftest.err
    8785        } && test -s conftest.$ac_objext; then
     6492if ac_fn_cxx_try_compile "$LINENO"; then :
    87866493  # It does; now see whether it defined to _BIG_ENDIAN or not.
    8787      cat >conftest.$ac_ext <<_ACEOF
    8788 /* confdefs.h.  */
    8789 _ACEOF
    8790 cat confdefs.h >>conftest.$ac_ext
    8791 cat >>conftest.$ac_ext <<_ACEOF
     6494     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    87926495/* end confdefs.h.  */
    87936496#include <limits.h>
     
    88046507}
    88056508_ACEOF
    8806 rm -f conftest.$ac_objext
    8807 if { (ac_try="$ac_compile"
    8808 case "(($ac_try" in
    8809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8810   *) ac_try_echo=$ac_try;;
    8811 esac
    8812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8813 $as_echo "$ac_try_echo") >&5
    8814   (eval "$ac_compile") 2>conftest.er1
    8815   ac_status=$?
    8816   grep -v '^ *+' conftest.er1 >conftest.err
    8817   rm -f conftest.er1
    8818   cat conftest.err >&5
    8819   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8820   (exit $ac_status); } && {
    8821      test -z "$ac_cxx_werror_flag" ||
    8822      test ! -s conftest.err
    8823        } && test -s conftest.$ac_objext; then
     6509if ac_fn_cxx_try_compile "$LINENO"; then :
    88246510  ac_cv_c_bigendian=yes
    88256511else
    8826   $as_echo "$as_me: failed program was:" >&5
    8827 sed 's/^/| /' conftest.$ac_ext >&5
    8828 
    8829     ac_cv_c_bigendian=no
    8830 fi
    8831 
     6512  ac_cv_c_bigendian=no
     6513fi
    88326514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8833 else
    8834   $as_echo "$as_me: failed program was:" >&5
    8835 sed 's/^/| /' conftest.$ac_ext >&5
    8836 
    8837 
    8838 fi
    8839 
     6515fi
    88406516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    88416517    fi
    88426518    if test $ac_cv_c_bigendian = unknown; then
    88436519      # Compile a test program.
    8844       if test "$cross_compiling" = yes; then
     6520      if test "$cross_compiling" = yes; then :
    88456521  # Try to guess by grepping values from an object file.
    8846      cat >conftest.$ac_ext <<_ACEOF
    8847 /* confdefs.h.  */
    8848 _ACEOF
    8849 cat confdefs.h >>conftest.$ac_ext
    8850 cat >>conftest.$ac_ext <<_ACEOF
     6522     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88516523/* end confdefs.h.  */
    88526524short int ascii_mm[] =
     
    88746546}
    88756547_ACEOF
    8876 rm -f conftest.$ac_objext
    8877 if { (ac_try="$ac_compile"
    8878 case "(($ac_try" in
    8879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8880   *) ac_try_echo=$ac_try;;
    8881 esac
    8882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8883 $as_echo "$ac_try_echo") >&5
    8884   (eval "$ac_compile") 2>conftest.er1
    8885   ac_status=$?
    8886   grep -v '^ *+' conftest.er1 >conftest.err
    8887   rm -f conftest.er1
    8888   cat conftest.err >&5
    8889   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8890   (exit $ac_status); } && {
    8891      test -z "$ac_cxx_werror_flag" ||
    8892      test ! -s conftest.err
    8893        } && test -s conftest.$ac_objext; then
     6548if ac_fn_cxx_try_compile "$LINENO"; then :
    88946549  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    88956550          ac_cv_c_bigendian=yes
     
    89036558          fi
    89046559        fi
    8905 else
    8906   $as_echo "$as_me: failed program was:" >&5
    8907 sed 's/^/| /' conftest.$ac_ext >&5
    8908 
    8909 
    8910 fi
    8911 
     6560fi
    89126561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    89136562else
    8914   cat >conftest.$ac_ext <<_ACEOF
    8915 /* confdefs.h.  */
    8916 _ACEOF
    8917 cat confdefs.h >>conftest.$ac_ext
    8918 cat >>conftest.$ac_ext <<_ACEOF
     6563  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    89196564/* end confdefs.h.  */
    89206565$ac_includes_default
     
    89366581}
    89376582_ACEOF
    8938 rm -f conftest$ac_exeext
    8939 if { (ac_try="$ac_link"
    8940 case "(($ac_try" in
    8941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8942   *) ac_try_echo=$ac_try;;
    8943 esac
    8944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8945 $as_echo "$ac_try_echo") >&5
    8946   (eval "$ac_link") 2>&5
    8947   ac_status=$?
    8948   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8949   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    8950   { (case "(($ac_try" in
    8951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8952   *) ac_try_echo=$ac_try;;
    8953 esac
    8954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8955 $as_echo "$ac_try_echo") >&5
    8956   (eval "$ac_try") 2>&5
    8957   ac_status=$?
    8958   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8959   (exit $ac_status); }; }; then
     6583if ac_fn_cxx_try_run "$LINENO"; then :
    89606584  ac_cv_c_bigendian=no
    89616585else
    8962   $as_echo "$as_me: program exited with status $ac_status" >&5
    8963 $as_echo "$as_me: failed program was:" >&5
    8964 sed 's/^/| /' conftest.$ac_ext >&5
    8965 
    8966 ( exit $ac_status )
    8967 ac_cv_c_bigendian=yes
    8968 fi
    8969 rm -rf conftest.dSYM
    8970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    8971 fi
    8972 
     6586  ac_cv_c_bigendian=yes
     6587fi
     6588rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     6589  conftest.$ac_objext conftest.beam conftest.$ac_ext
     6590fi
    89736591
    89746592    fi
    89756593fi
    8976 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     6594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
    89776595$as_echo "$ac_cv_c_bigendian" >&6; }
    89786596 case $ac_cv_c_bigendian in #(
    89796597   yes)
    8980      cat >>confdefs.h <<\_ACEOF
    8981 #define WORDS_BIGENDIAN 1
    8982 _ACEOF
     6598     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    89836599;; #(
    89846600   no)
     
    89866602   universal)
    89876603
    8988 cat >>confdefs.h <<\_ACEOF
    8989 #define AC_APPLE_UNIVERSAL_BUILD 1
    8990 _ACEOF
     6604$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    89916605
    89926606     ;; #(
    89936607   *)
    8994      { { $as_echo "$as_me:$LINENO: error: unknown endianness
    8995  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    8996 $as_echo "$as_me: error: unknown endianness
    8997  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    8998    { (exit 1); exit 1; }; } ;;
     6608     as_fn_error $? "unknown endianness
     6609 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
    89996610 esac
    90006611
     
    90746685    *${as_nl}*)
    90756686      case $ac_var in #(
    9076       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     6687      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    90776688$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    90786689      esac
     
    90806691      _ | IFS | as_nl) ;; #(
    90816692      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    9082       *) $as_unset $ac_var ;;
     6693      *) { eval $ac_var=; unset $ac_var;} ;;
    90836694      esac ;;
    90846695    esac
     
    90886699    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    90896700    *${as_nl}ac_space=\ *)
    9090       # `set' does not quote correctly, so add quotes (double-quote
    9091       # substitution turns \\\\ into \\, and sed turns \\ into \).
     6701      # `set' does not quote correctly, so add quotes: double-quote
     6702      # substitution turns \\\\ into \\, and sed turns \\ into \.
    90926703      sed -n \
    90936704    "s/'/'\\\\''/g;
     
    91116722if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    91126723  if test -w "$cache_file"; then
    9113     test "x$cache_file" != "x/dev/null" &&
    9114       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     6724    if test "x$cache_file" != "x/dev/null"; then
     6725      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    91156726$as_echo "$as_me: updating cache $cache_file" >&6;}
    9116     cat confcache >$cache_file
     6727      if test ! -f "$cache_file" || test -h "$cache_file"; then
     6728    cat confcache >"$cache_file"
     6729      else
     6730        case $cache_file in #(
     6731        */* | ?:*)
     6732      mv -f confcache "$cache_file"$$ &&
     6733      mv -f "$cache_file"$$ "$cache_file" ;; #(
     6734        *)
     6735      mv -f confcache "$cache_file" ;;
     6736    esac
     6737      fi
     6738    fi
    91176739  else
    9118     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     6740    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    91196741$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    91206742  fi
     
    91306752ac_libobjs=
    91316753ac_ltlibobjs=
     6754U=
    91326755for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    91336756  # 1. Remove the extension, and $U if already installed.
     
    91366759  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    91376760  #    will be set to the directory where LIBOBJS objects are built.
    9138   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    9139   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     6761  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     6762  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    91406763done
    91416764LIBOBJS=$ac_libobjs
     
    91466769
    91476770
    9148 : ${CONFIG_STATUS=./config.status}
     6771: "${CONFIG_STATUS=./config.status}"
    91496772ac_write_fail=0
    91506773ac_clean_files_save=$ac_clean_files
    91516774ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    9152 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     6775{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    91536776$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    9154 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     6777as_write_fail=0
     6778cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    91556779#! $SHELL
    91566780# Generated by $as_me.
     
    91626786ac_cs_recheck=false
    91636787ac_cs_silent=false
     6788
    91646789SHELL=\${CONFIG_SHELL-$SHELL}
    9165 _ACEOF
    9166 
    9167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    9168 ## --------------------- ##
    9169 ## M4sh Initialization.  ##
    9170 ## --------------------- ##
     6790export SHELL
     6791_ASEOF
     6792cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     6793## -------------------- ##
     6794## M4sh Initialization. ##
     6795## -------------------- ##
    91716796
    91726797# Be more Bourne compatible
    91736798DUALCASE=1; export DUALCASE # for MKS sh
    9174 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     6799if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    91756800  emulate sh
    91766801  NULLCMD=:
     
    91806805  setopt NO_GLOB_SUBST
    91816806else
    9182   case `(set -o) 2>/dev/null` in
    9183   *posix*) set -o posix ;;
     6807  case `(set -o) 2>/dev/null` in #(
     6808  *posix*) :
     6809    set -o posix ;; #(
     6810  *) :
     6811     ;;
    91846812esac
    9185 
    9186 fi
    9187 
    9188 
    9189 
    9190 
    9191 # PATH needs CR
    9192 # Avoid depending upon Character Ranges.
    9193 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    9194 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    9195 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    9196 as_cr_digits='0123456789'
    9197 as_cr_alnum=$as_cr_Letters$as_cr_digits
     6813fi
     6814
    91986815
    91996816as_nl='
     
    92046821as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    92056822as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    9206 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     6823# Prefer a ksh shell builtin over an external printf program on Solaris,
     6824# but without wasting forks for bash or zsh.
     6825if test -z "$BASH_VERSION$ZSH_VERSION" \
     6826    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     6827  as_echo='print -r --'
     6828  as_echo_n='print -rn --'
     6829elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    92076830  as_echo='printf %s\n'
    92086831  as_echo_n='printf %s'
     
    92156838    as_echo_n_body='eval
    92166839      arg=$1;
    9217       case $arg in
     6840      case $arg in #(
    92186841      *"$as_nl"*)
    92196842    expr "X$arg" : "X\\(.*\\)$as_nl";
     
    92386861fi
    92396862
    9240 # Support unset when possible.
    9241 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    9242   as_unset=unset
    9243 else
    9244   as_unset=false
    9245 fi
    9246 
    92476863
    92486864# IFS
     
    92546870
    92556871# Find who we are.  Look in the path if we contain no directory separator.
    9256 case $0 in
     6872as_myself=
     6873case $0 in #((
    92576874  *[\\/]* ) as_myself=$0 ;;
    92586875  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    92616878  IFS=$as_save_IFS
    92626879  test -z "$as_dir" && as_dir=.
    9263   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    9264 done
     6880    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     6881  done
    92656882IFS=$as_save_IFS
    92666883
     
    92746891if test ! -f "$as_myself"; then
    92756892  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    9276   { (exit 1); exit 1; }
    9277 fi
    9278 
    9279 # Work around bugs in pre-3.0 UWIN ksh.
    9280 for as_var in ENV MAIL MAILPATH
    9281 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     6893  exit 1
     6894fi
     6895
     6896# Unset variables that we do not need and which cause bugs (e.g. in
     6897# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     6898# suppresses any "Segmentation fault" message there.  '((' could
     6899# trigger a bug in pdksh 5.2.14.
     6900for as_var in BASH_ENV ENV MAIL MAILPATH
     6901do eval test x\${$as_var+set} = xset \
     6902  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    92826903done
    92836904PS1='$ '
     
    92916912export LANGUAGE
    92926913
    9293 # Required to use basename.
     6914# CDPATH.
     6915(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     6916
     6917
     6918# as_fn_error STATUS ERROR [LINENO LOG_FD]
     6919# ----------------------------------------
     6920# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     6921# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     6922# script with STATUS, using 1 if that was 0.
     6923as_fn_error ()
     6924{
     6925  as_status=$1; test $as_status -eq 0 && as_status=1
     6926  if test "$4"; then
     6927    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     6928    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     6929  fi
     6930  $as_echo "$as_me: error: $2" >&2
     6931  as_fn_exit $as_status
     6932} # as_fn_error
     6933
     6934
     6935# as_fn_set_status STATUS
     6936# -----------------------
     6937# Set $? to STATUS, without forking.
     6938as_fn_set_status ()
     6939{
     6940  return $1
     6941} # as_fn_set_status
     6942
     6943# as_fn_exit STATUS
     6944# -----------------
     6945# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     6946as_fn_exit ()
     6947{
     6948  set +e
     6949  as_fn_set_status $1
     6950  exit $1
     6951} # as_fn_exit
     6952
     6953# as_fn_unset VAR
     6954# ---------------
     6955# Portably unset VAR.
     6956as_fn_unset ()
     6957{
     6958  { eval $1=; unset $1;}
     6959}
     6960as_unset=as_fn_unset
     6961# as_fn_append VAR VALUE
     6962# ----------------------
     6963# Append the text in VALUE to the end of the definition contained in VAR. Take
     6964# advantage of any shell optimizations that allow amortized linear growth over
     6965# repeated appends, instead of the typical quadratic growth present in naive
     6966# implementations.
     6967if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     6968  eval 'as_fn_append ()
     6969  {
     6970    eval $1+=\$2
     6971  }'
     6972else
     6973  as_fn_append ()
     6974  {
     6975    eval $1=\$$1\$2
     6976  }
     6977fi # as_fn_append
     6978
     6979# as_fn_arith ARG...
     6980# ------------------
     6981# Perform arithmetic evaluation on the ARGs, and store the result in the
     6982# global $as_val. Take advantage of shells that can avoid forks. The arguments
     6983# must be portable across $(()) and expr.
     6984if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     6985  eval 'as_fn_arith ()
     6986  {
     6987    as_val=$(( $* ))
     6988  }'
     6989else
     6990  as_fn_arith ()
     6991  {
     6992    as_val=`expr "$@" || test $? -eq 1`
     6993  }
     6994fi # as_fn_arith
     6995
     6996
    92946997if expr a : '\(a\)' >/dev/null 2>&1 &&
    92956998   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    93057008fi
    93067009
    9307 
    9308 # Name of the executable.
     7010if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     7011  as_dirname=dirname
     7012else
     7013  as_dirname=false
     7014fi
     7015
    93097016as_me=`$as_basename -- "$0" ||
    93107017$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    93267033      s/.*/./; q'`
    93277034
    9328 # CDPATH.
    9329 $as_unset CDPATH
    9330 
    9331 
    9332 
    9333   as_lineno_1=$LINENO
    9334   as_lineno_2=$LINENO
    9335   test "x$as_lineno_1" != "x$as_lineno_2" &&
    9336   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    9337 
    9338   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    9339   # uniformly replaced by the line number.  The first 'sed' inserts a
    9340   # line-number line after each line using $LINENO; the second 'sed'
    9341   # does the real work.  The second script uses 'N' to pair each
    9342   # line-number line with the line containing $LINENO, and appends
    9343   # trailing '-' during substitution so that $LINENO is not a special
    9344   # case at line end.
    9345   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    9346   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    9347   # E. McMahon (1931-1989) for sed's syntax.  :-)
    9348   sed -n '
    9349     p
    9350     /[$]LINENO/=
    9351   ' <$as_myself |
    9352     sed '
    9353       s/[$]LINENO.*/&-/
    9354       t lineno
    9355       b
    9356       :lineno
    9357       N
    9358       :loop
    9359       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    9360       t loop
    9361       s/-\n.*//
    9362     ' >$as_me.lineno &&
    9363   chmod +x "$as_me.lineno" ||
    9364     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    9365    { (exit 1); exit 1; }; }
    9366 
    9367   # Don't try to exec as it changes $[0], causing all sort of problems
    9368   # (the dirname of $[0] is not the place where we might find the
    9369   # original and so on.  Autoconf is especially sensitive to this).
    9370   . "./$as_me.lineno"
    9371   # Exit status is that of the last command.
    9372   exit
    9373 }
    9374 
    9375 
    9376 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    9377   as_dirname=dirname
    9378 else
    9379   as_dirname=false
    9380 fi
     7035# Avoid depending upon Character Ranges.
     7036as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     7037as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     7038as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     7039as_cr_digits='0123456789'
     7040as_cr_alnum=$as_cr_Letters$as_cr_digits
    93817041
    93827042ECHO_C= ECHO_N= ECHO_T=
    9383 case `echo -n x` in
     7043case `echo -n x` in #(((((
    93847044-n*)
    9385   case `echo 'x\c'` in
     7045  case `echo 'xy\c'` in
    93867046  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    9387   *)   ECHO_C='\c';;
     7047  xy)  ECHO_C='\c';;
     7048  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     7049       ECHO_T=' ';;
    93887050  esac;;
    93897051*)
    93907052  ECHO_N='-n';;
    93917053esac
    9392 if expr a : '\(a\)' >/dev/null 2>&1 &&
    9393    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    9394   as_expr=expr
    9395 else
    9396   as_expr=false
    9397 fi
    93987054
    93997055rm -f conf$$ conf$$.exe conf$$.file
     
    94247080rmdir conf$$.dir 2>/dev/null
    94257081
     7082
     7083# as_fn_mkdir_p
     7084# -------------
     7085# Create "$as_dir" as a directory, including parents if necessary.
     7086as_fn_mkdir_p ()
     7087{
     7088
     7089  case $as_dir in #(
     7090  -*) as_dir=./$as_dir;;
     7091  esac
     7092  test -d "$as_dir" || eval $as_mkdir_p || {
     7093    as_dirs=
     7094    while :; do
     7095      case $as_dir in #(
     7096      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     7097      *) as_qdir=$as_dir;;
     7098      esac
     7099      as_dirs="'$as_qdir' $as_dirs"
     7100      as_dir=`$as_dirname -- "$as_dir" ||
     7101$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     7102     X"$as_dir" : 'X\(//\)[^/]' \| \
     7103     X"$as_dir" : 'X\(//\)$' \| \
     7104     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     7105$as_echo X"$as_dir" |
     7106    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     7107        s//\1/
     7108        q
     7109      }
     7110      /^X\(\/\/\)[^/].*/{
     7111        s//\1/
     7112        q
     7113      }
     7114      /^X\(\/\/\)$/{
     7115        s//\1/
     7116        q
     7117      }
     7118      /^X\(\/\).*/{
     7119        s//\1/
     7120        q
     7121      }
     7122      s/.*/./; q'`
     7123      test -d "$as_dir" && break
     7124    done
     7125    test -z "$as_dirs" || eval "mkdir $as_dirs"
     7126  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     7127
     7128
     7129} # as_fn_mkdir_p
    94267130if mkdir -p . 2>/dev/null; then
    9427   as_mkdir_p=:
     7131  as_mkdir_p='mkdir -p "$as_dir"'
    94287132else
    94297133  test -d ./-p && rmdir ./-p
     
    94447148    test -d "$1/.";
    94457149      else
    9446     case $1 in
     7150    case $1 in #(
    94477151    -*)set "./$1";;
    94487152    esac;
    9449     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     7153    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    94507154    ???[sx]*):;;*)false;;esac;fi
    94517155    '\'' sh
     
    94627166
    94637167exec 6>&1
    9464 
    9465 # Save the log message, to keep $[0] and so on meaningful, and to
     7168## ----------------------------------- ##
     7169## Main body of $CONFIG_STATUS script. ##
     7170## ----------------------------------- ##
     7171_ASEOF
     7172test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     7173
     7174cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7175# Save the log message, to keep $0 and so on meaningful, and to
    94667176# report actual input values of CONFIG_FILES etc. instead of their
    94677177# values after options handling.
    94687178ac_log="
    94697179This file was extended by $as_me, which was
    9470 generated by GNU Autoconf 2.63.  Invocation command line was
     7180generated by GNU Autoconf 2.68.  Invocation command line was
    94717181
    94727182  CONFIG_FILES    = $CONFIG_FILES
     
    94997209cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    95007210ac_cs_usage="\
    9501 \`$as_me' instantiates files from templates according to the
    9502 current configuration.
    9503 
    9504 Usage: $0 [OPTION]... [FILE]...
     7211\`$as_me' instantiates files and other configuration actions
     7212from templates according to the current configuration.  Unless the files
     7213and actions are specified as TAGs, all are instantiated by default.
     7214
     7215Usage: $0 [OPTION]... [TAG]...
    95057216
    95067217  -h, --help       print this help, then exit
    95077218  -V, --version    print version number and configuration settings, then exit
     7219      --config     print configuration, then exit
    95087220  -q, --quiet, --silent
    95097221                   do not print progress messages
     
    95217233$config_headers
    95227234
    9523 Report bugs to <[email protected]>."
     7235Report bugs to the package provider."
    95247236
    95257237_ACEOF
    95267238cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7239ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    95277240ac_cs_version="\\
    95287241config.status
    9529 configured by $0, generated by GNU Autoconf 2.63,
    9530   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    9531 
    9532 Copyright (C) 2008 Free Software Foundation, Inc.
     7242configured by $0, generated by GNU Autoconf 2.68,
     7243  with options \\"\$ac_cs_config\\"
     7244
     7245Copyright (C) 2010 Free Software Foundation, Inc.
    95337246This config.status script is free software; the Free Software Foundation
    95347247gives unlimited permission to copy, distribute and modify it."
     
    95477260do
    95487261  case $1 in
    9549   --*=*)
     7262  --*=?*)
    95507263    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    95517264    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     7265    ac_shift=:
     7266    ;;
     7267  --*=)
     7268    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     7269    ac_optarg=
    95527270    ac_shift=:
    95537271    ;;
     
    95657283  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    95667284    $as_echo "$ac_cs_version"; exit ;;
     7285  --config | --confi | --conf | --con | --co | --c )
     7286    $as_echo "$ac_cs_config"; exit ;;
    95677287  --debug | --debu | --deb | --de | --d | -d )
    95687288    debug=: ;;
     
    95717291    case $ac_optarg in
    95727292    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     7293    '') as_fn_error $? "missing file argument" ;;
    95737294    esac
    9574     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     7295    as_fn_append CONFIG_FILES " '$ac_optarg'"
    95757296    ac_need_defaults=false;;
    95767297  --header | --heade | --head | --hea )
     
    95797300    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    95807301    esac
    9581     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     7302    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    95827303    ac_need_defaults=false;;
    95837304  --he | --h)
    95847305    # Conflict between --help and --header
    9585     { $as_echo "$as_me: error: ambiguous option: $1
    9586 Try \`$0 --help' for more information." >&2
    9587    { (exit 1); exit 1; }; };;
     7306    as_fn_error $? "ambiguous option: \`$1'
     7307Try \`$0 --help' for more information.";;
    95887308  --help | --hel | -h )
    95897309    $as_echo "$ac_cs_usage"; exit ;;
     
    95937313
    95947314  # This is an error.
    9595   -*) { $as_echo "$as_me: error: unrecognized option: $1
    9596 Try \`$0 --help' for more information." >&2
    9597    { (exit 1); exit 1; }; } ;;
    9598 
    9599   *) ac_config_targets="$ac_config_targets $1"
     7315  -*) as_fn_error $? "unrecognized option: \`$1'
     7316Try \`$0 --help' for more information." ;;
     7317
     7318  *) as_fn_append ac_config_targets " $1"
    96007319     ac_need_defaults=false ;;
    96017320
     
    96497368    "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    96507369
    9651   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    9652 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    9653    { (exit 1); exit 1; }; };;
     7370  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    96547371  esac
    96557372done
     
    96737390$debug ||
    96747391{
    9675   tmp=
     7392  tmp= ac_tmp=
    96767393  trap 'exit_status=$?
    9677   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     7394  : "${ac_tmp:=$tmp}"
     7395  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
    96787396' 0
    9679   trap '{ (exit 1); exit 1; }' 1 2 13 15
     7397  trap 'as_fn_exit 1' 1 2 13 15
    96807398}
    96817399# Create a (secure) tmp directory for tmp files.
     
    96837401{
    96847402  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    9685   test -n "$tmp" && test -d "$tmp"
     7403  test -d "$tmp"
    96867404}  ||
    96877405{
    96887406  tmp=./conf$$-$RANDOM
    96897407  (umask 077 && mkdir "$tmp")
    9690 } ||
    9691 {
    9692    $as_echo "$as_me: cannot create a temporary directory in ." >&2
    9693    { (exit 1); exit 1; }
    9694 }
     7408} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     7409ac_tmp=$tmp
    96957410
    96967411# Set up the scripts for CONFIG_FILES section.
     
    97007415
    97017416
    9702 ac_cr='
    9703 '
     7417ac_cr=`echo X | tr X '\015'`
     7418# On cygwin, bash can eat \r inside `` if the user requested igncr.
     7419# But we know of no other shell where ac_cr would be empty at this
     7420# point, so we can use a bashism as a fallback.
     7421if test "x$ac_cr" = x; then
     7422  eval ac_cr=\$\'\\r\'
     7423fi
    97047424ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    97057425if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    97097429fi
    97107430
    9711 echo 'BEGIN {' >"$tmp/subs1.awk" &&
     7431echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
    97127432_ACEOF
    97137433
     
    97187438  echo "_ACEOF"
    97197439} >conf$$subs.sh ||
    9720   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    9721 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    9722    { (exit 1); exit 1; }; }
    9723 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     7440  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     7441ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    97247442ac_delim='%!_!# '
    97257443for ac_last_try in false false false false false :; do
    97267444  . ./conf$$subs.sh ||
    9727     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    9728 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    9729    { (exit 1); exit 1; }; }
     7445    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    97307446
    97317447  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    97337449    break
    97347450  elif $ac_last_try; then
    9735     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    9736 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    9737    { (exit 1); exit 1; }; }
     7451    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    97387452  else
    97397453    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    97437457
    97447458cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    9745 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     7459cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
    97467460_ACEOF
    97477461sed -n '
     
    97577471:nl
    97587472h
    9759 s/\(.\{148\}\).*/\1/
     7473s/\(.\{148\}\)..*/\1/
    97607474t more1
    97617475s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    97717485:delim
    97727486h
    9773 s/\(.\{148\}\).*/\1/
     7487s/\(.\{148\}\)..*/\1/
    97747488t more2
    97757489s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    97917505cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    97927506_ACAWK
    9793 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     7507cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
    97947508  for (key in S) S_is_set[key] = 1
    97957509  FS = ""
     
    98237537else
    98247538  cat
    9825 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    9826   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
    9827 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
    9828    { (exit 1); exit 1; }; }
    9829 _ACEOF
    9830 
    9831 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    9832 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     7539fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     7540  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     7541_ACEOF
     7542
     7543# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     7544# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    98337545# trailing colons and then remove the whole line if VPATH becomes empty
    98347546# (actually we leave an empty line to preserve line numbers).
    98357547if test "x$srcdir" = x.; then
    9836   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    9837 s/:*\$(srcdir):*/:/
    9838 s/:*\${srcdir}:*/:/
    9839 s/:*@srcdir@:*/:/
    9840 s/^\([^=]*=[     ]*\):*/\1/
     7548  ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
     7549h
     7550s///
     7551s/^/:/
     7552s/[  ]*$/:/
     7553s/:\$(srcdir):/:/g
     7554s/:\${srcdir}:/:/g
     7555s/:@srcdir@:/:/g
     7556s/^:*//
    98417557s/:*$//
     7558x
     7559s/\(=[   ]*\).*/\1/
     7560G
     7561s/\n//
    98427562s/^[^=]*=[   ]*$//
    98437563}'
     
    98517571# This happens for instance with `./config.status Makefile'.
    98527572if test -n "$CONFIG_HEADERS"; then
    9853 cat >"$tmp/defines.awk" <<\_ACAWK ||
     7573cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
    98547574BEGIN {
    98557575_ACEOF
     
    98637583ac_delim='%!_!# '
    98647584for ac_last_try in false false :; do
    9865   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
    9866   if test -z "$ac_t"; then
     7585  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     7586  if test -z "$ac_tt"; then
    98677587    break
    98687588  elif $ac_last_try; then
    9869     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
    9870 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
    9871    { (exit 1); exit 1; }; }
     7589    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    98727590  else
    98737591    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    99547672_ACEOF
    99557673cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    9956   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
    9957 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
    9958    { (exit 1); exit 1; }; }
     7674  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    99597675fi # test -n "$CONFIG_HEADERS"
    99607676
     
    99697685  case $ac_mode$ac_tag in
    99707686  :[FHL]*:*);;
    9971   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
    9972 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
    9973    { (exit 1); exit 1; }; };;
     7687  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
    99747688  :[FH]-) ac_tag=-:-;;
    99757689  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    99907704    do
    99917705      case $ac_f in
    9992       -) ac_f="$tmp/stdin";;
     7706      -) ac_f="$ac_tmp/stdin";;
    99937707      *) # Look for the file first in the build tree, then in the source tree
    99947708     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    99997713       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    100007714       esac ||
    10001        { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    10002 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    10003    { (exit 1); exit 1; }; };;
     7715       as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
    100047716      esac
    100057717      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    10006       ac_file_inputs="$ac_file_inputs '$ac_f'"
     7718      as_fn_append ac_file_inputs " '$ac_f'"
    100077719    done
    100087720
     
    100157727    if test x"$ac_file" != x-; then
    100167728      configure_input="$ac_file.  $configure_input"
    10017       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     7729      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    100187730$as_echo "$as_me: creating $ac_file" >&6;}
    100197731    fi
     
    100277739
    100287740    case $ac_tag in
    10029     *:-:* | *:-) cat >"$tmp/stdin" \
    10030       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    10031 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    10032    { (exit 1); exit 1; }; } ;;
     7741    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     7742      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    100337743    esac
    100347744    ;;
     
    100587768      }
    100597769      s/.*/./; q'`
    10060   { as_dir="$ac_dir"
    10061   case $as_dir in #(
    10062   -*) as_dir=./$as_dir;;
    10063   esac
    10064   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    10065     as_dirs=
    10066     while :; do
    10067       case $as_dir in #(
    10068       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    10069       *) as_qdir=$as_dir;;
    10070       esac
    10071       as_dirs="'$as_qdir' $as_dirs"
    10072       as_dir=`$as_dirname -- "$as_dir" ||
    10073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    10074      X"$as_dir" : 'X\(//\)[^/]' \| \
    10075      X"$as_dir" : 'X\(//\)$' \| \
    10076      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    10077 $as_echo X"$as_dir" |
    10078     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    10079         s//\1/
    10080         q
    10081       }
    10082       /^X\(\/\/\)[^/].*/{
    10083         s//\1/
    10084         q
    10085       }
    10086       /^X\(\/\/\)$/{
    10087         s//\1/
    10088         q
    10089       }
    10090       /^X\(\/\).*/{
    10091         s//\1/
    10092         q
    10093       }
    10094       s/.*/./; q'`
    10095       test -d "$as_dir" && break
    10096     done
    10097     test -z "$as_dirs" || eval "mkdir $as_dirs"
    10098   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    10099 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    10100    { (exit 1); exit 1; }; }; }
     7770  as_dir="$ac_dir"; as_fn_mkdir_p
    101017771  ac_builddir=.
    101027772
     
    101507820# FIXME: This hack should be removed a few years after 2.60.
    101517821ac_datarootdir_hack=; ac_datarootdir_seen=
    10152 
    101537822ac_sed_dataroot='
    101547823/datarootdir/ {
     
    101607829/@infodir@/p
    101617830/@localedir@/p
    10162 /@mandir@/p
    10163 '
     7831/@mandir@/p'
    101647832case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    101657833*datarootdir*) ac_datarootdir_seen=yes;;
    101667834*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    10167   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     7835  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    101687836$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    101697837_ACEOF
     
    101757843  s&@localedir@&$localedir&g
    101767844  s&@mandir@&$mandir&g
    10177     s&\\\${datarootdir}&$datarootdir&g' ;;
     7845  s&\\\${datarootdir}&$datarootdir&g' ;;
    101787846esac
    101797847_ACEOF
     
    102027870$ac_datarootdir_hack
    102037871"
    10204 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    10205   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    10206 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    10207    { (exit 1); exit 1; }; }
     7872eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     7873  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    102087874
    102097875test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    10210   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    10211   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    10212   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    10213 which seems to be undefined.  Please make sure it is defined." >&5
     7876  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     7877  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     7878      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     7879  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     7880which seems to be undefined.  Please make sure it is defined" >&5
    102147881$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    10215 which seems to be undefined.  Please make sure it is defined." >&2;}
    10216 
    10217   rm -f "$tmp/stdin"
     7882which seems to be undefined.  Please make sure it is defined" >&2;}
     7883
     7884  rm -f "$ac_tmp/stdin"
    102187885  case $ac_file in
    10219   -) cat "$tmp/out" && rm -f "$tmp/out";;
    10220   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     7886  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     7887  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
    102217888  esac \
    10222   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    10223 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    10224    { (exit 1); exit 1; }; }
     7889  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    102257890 ;;
    102267891  :H)
     
    102317896    {
    102327897      $as_echo "/* $configure_input  */" \
    10233       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    10234     } >"$tmp/config.h" \
    10235       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    10236 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    10237    { (exit 1); exit 1; }; }
    10238     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    10239       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     7898      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     7899    } >"$ac_tmp/config.h" \
     7900      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     7901    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     7902      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    102407903$as_echo "$as_me: $ac_file is unchanged" >&6;}
    102417904    else
    102427905      rm -f "$ac_file"
    10243       mv "$tmp/config.h" "$ac_file" \
    10244     || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    10245 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    10246    { (exit 1); exit 1; }; }
     7906      mv "$ac_tmp/config.h" "$ac_file" \
     7907    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    102477908    fi
    102487909  else
    102497910    $as_echo "/* $configure_input  */" \
    10250       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    10251       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
    10252 $as_echo "$as_me: error: could not create -" >&2;}
    10253    { (exit 1); exit 1; }; }
     7911      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     7912      || as_fn_error $? "could not create -" "$LINENO" 5
    102547913  fi
    102557914 ;;
     
    102617920
    102627921
    10263 { (exit 0); exit 0; }
    10264 _ACEOF
    10265 chmod +x $CONFIG_STATUS
     7922as_fn_exit 0
     7923_ACEOF
    102667924ac_clean_files=$ac_clean_files_save
    102677925
    102687926test $ac_write_fail = 0 ||
    10269   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
    10270 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
    10271    { (exit 1); exit 1; }; }
     7927  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    102727928
    102737929
     
    102907946  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    102917947  # would make configure fail if this is the last instruction.
    10292   $ac_cs_success || { (exit 1); exit 1; }
     7948  $ac_cs_success || as_fn_exit 1
    102937949fi
    102947950
     
    103347990      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    103357991      esac
    10336       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
     7992      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
    103377993    esac
    103387994  done
     
    103638019
    103648020    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    10365     $as_echo "$as_me:$LINENO: $ac_msg" >&5
     8021    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
    103668022    $as_echo "$ac_msg" >&6
    10367     { as_dir="$ac_dir"
    10368   case $as_dir in #(
    10369   -*) as_dir=./$as_dir;;
    10370   esac
    10371   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    10372     as_dirs=
    10373     while :; do
    10374       case $as_dir in #(
    10375       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    10376       *) as_qdir=$as_dir;;
    10377       esac
    10378       as_dirs="'$as_qdir' $as_dirs"
    10379       as_dir=`$as_dirname -- "$as_dir" ||
    10380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    10381      X"$as_dir" : 'X\(//\)[^/]' \| \
    10382      X"$as_dir" : 'X\(//\)$' \| \
    10383      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    10384 $as_echo X"$as_dir" |
    10385     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    10386         s//\1/
    10387         q
    10388       }
    10389       /^X\(\/\/\)[^/].*/{
    10390         s//\1/
    10391         q
    10392       }
    10393       /^X\(\/\/\)$/{
    10394         s//\1/
    10395         q
    10396       }
    10397       /^X\(\/\).*/{
    10398         s//\1/
    10399         q
    10400       }
    10401       s/.*/./; q'`
    10402       test -d "$as_dir" && break
    10403     done
    10404     test -z "$as_dirs" || eval "mkdir $as_dirs"
    10405   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    10406 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    10407    { (exit 1); exit 1; }; }; }
     8023    as_dir="$ac_dir"; as_fn_mkdir_p
    104088024    ac_builddir=.
    104098025
     
    104528068      ac_sub_configure=$ac_aux_dir/configure
    104538069    else
    10454       { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     8070      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
    104558071$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    104568072      ac_sub_configure=
     
    104668082      esac
    104678083
    10468       { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     8084      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    104698085$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    104708086      # The eval makes quoting arguments work.
    104718087      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    104728088       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    10473     { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    10474 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    10475    { (exit 1); exit 1; }; }
     8089    as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
    104768090    fi
    104778091
     
    104808094fi
    104818095if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    10482   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     8096  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    104838097$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    104848098fi
  • main/trunk/greenstone2/build-src/configure.in

    r25149 r26663  
    414414  gsdlos=windows
    415415 fi
     416if test "x$crossOS" != "x" ; then
     417  gsdlos=$crossOS
     418  gsdlarch=""
     419fi
     420
    416421AC_SUBST(gsdlos)
    417422
Note: See TracChangeset for help on using the changeset viewer.