Changeset 20853


Ignore:
Timestamp:
2009-10-28T18:18:39+13:00 (13 years ago)
Author:
ak19
Message:

Katherine has made changes to the toplevel configure.in and runtime-src configure.in (and their configure) files to fix the recent problem of Oran and Dr Bainbridge's code changes not working together: Oran's code successfully got the libexpat and libiconv libraries statically linked into library.cgi while Dr Bainbridge got the apache web server code to statically link successfully against the libiconv library in common-src. However, Oran's changes when included would cause compilation to fail to generate the apache-httpd output folder (it wasn't being compiled up in fact). Katherine's changes now allow it all to work together.

Location:
gsdl/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/configure

    r20842 r20853  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61.
     3# Generated by GNU Autoconf 2.59.
    44#
    5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     5# Copyright (C) 2003 Free Software Foundation, Inc.
    76# This configure script is free software; the Free Software Foundation
    87# gives unlimited permission to copy, distribute and modify it.
     
    1110## --------------------- ##
    1211
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
     12# Be Bourne compatible
    1513if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1614  emulate sh
     
    1917  # is contrary to our usage.  Disable this feature.
    2018  alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
     19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20  set -o posix
     21fi
     22DUALCASE=1; export DUALCASE # for MKS sh
     23
     24# Support unset when possible.
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26  as_unset=unset
     27else
     28  as_unset=false
     29fi
     30
     31
     32# Work around bugs in pre-3.0 UWIN ksh.
     33$as_unset ENV MAIL MAILPATH
     34PS1='$ '
     35PS2='> '
     36PS4='+ '
     37
     38# NLS nuisances.
     39for as_var in \
     40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     42  LC_TELEPHONE LC_TIME
     43do
     44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     45    eval $as_var=C; export $as_var
     46  else
     47    $as_unset $as_var
     48  fi
     49done
     50
     51# Required to use basename.
     52if expr a : '\(a\)' >/dev/null 2>&1; then
     53  as_expr=expr
     54else
     55  as_expr=false
     56fi
     57
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59  as_basename=basename
     60else
     61  as_basename=false
     62fi
     63
     64
     65# Name of the executable.
     66as_me=`$as_basename "$0" ||
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68     X"$0" : 'X\(//\)$' \| \
     69     X"$0" : 'X\(/\)$' \| \
     70     .     : '\(.\)' 2>/dev/null ||
     71echo X/"$0" |
     72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     73      /^X\/\(\/\/\)$/{ s//\1/; q; }
     74      /^X\/\(\/\).*/{ s//\1/; q; }
     75      s/.*/./; q'`
     76
     77
     78# PATH needs CR, and LINENO needs CR and PATH.
    3379# Avoid depending upon Character Ranges.
    3480as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    5197fi
    5298
    53 # Support unset when possible.
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    55   as_unset=unset
    56 else
    57   as_unset=false
    58 fi
    59 
    60 
    61 # IFS
    62 # We need space, tab and new line, in precisely that order.  Quoting is
    63 # there to prevent editors from complaining about space-tab.
    64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    65 # splitting by setting IFS to empty value.)
    66 as_nl='
    67 '
    68 IFS=" ""    $as_nl"
    69 
    70 # Find who we are.  Look in the path if we contain no directory separator.
    71 case $0 in
    72   *[\\/]* ) as_myself=$0 ;;
    73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     99
     100  as_lineno_1=$LINENO
     101  as_lineno_2=$LINENO
     102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     103  test "x$as_lineno_1" != "x$as_lineno_2" &&
     104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     105  # Find who we are.  Look in the path if we contain no path at all
     106  # relative or not.
     107  case $0 in
     108    *[\\/]* ) as_myself=$0 ;;
     109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    74110for as_dir in $PATH
    75111do
     
    78114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79115done
    80 IFS=$as_save_IFS
    81 
    82      ;;
    83 esac
    84 # We did not find ourselves, most probably we were run as `sh COMMAND'
    85 # in which case we are not to be found in the path.
    86 if test "x$as_myself" = x; then
    87   as_myself=$0
    88 fi
    89 if test ! -f "$as_myself"; then
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    91   { (exit 1); exit 1; }
    92 fi
    93 
    94 # Work around bugs in pre-3.0 UWIN ksh.
    95 for as_var in ENV MAIL MAILPATH
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    97 done
    98 PS1='$ '
    99 PS2='> '
    100 PS4='+ '
    101 
    102 # NLS nuisances.
    103 for as_var in \
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    106   LC_TELEPHONE LC_TIME
    107 do
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    109     eval $as_var=C; export $as_var
    110   else
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     116
     117       ;;
     118  esac
     119  # We did not find ourselves, most probably we were run as `sh COMMAND'
     120  # in which case we are not to be found in the path.
     121  if test "x$as_myself" = x; then
     122    as_myself=$0
    112123  fi
    113 done
    114 
    115 # Required to use basename.
    116 if expr a : '\(a\)' >/dev/null 2>&1 &&
    117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    118   as_expr=expr
    119 else
    120   as_expr=false
    121 fi
    122 
    123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    124   as_basename=basename
    125 else
    126   as_basename=false
    127 fi
    128 
    129 
    130 # Name of the executable.
    131 as_me=`$as_basename -- "$0" ||
    132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    133      X"$0" : 'X\(//\)$' \| \
    134      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    135 echo X/"$0" |
    136     sed '/^.*\/\([^/][^/]*\)\/*$/{
    137         s//\1/
    138         q
    139       }
    140       /^X\/\(\/\/\)$/{
    141         s//\1/
    142         q
    143       }
    144       /^X\/\(\/\).*/{
    145         s//\1/
    146         q
    147       }
    148       s/.*/./; q'`
    149 
    150 # CDPATH.
    151 $as_unset CDPATH
    152 
    153 
    154 if test "x$CONFIG_SHELL" = x; then
    155   if (eval ":") 2>/dev/null; then
    156   as_have_required=yes
    157 else
    158   as_have_required=no
    159 fi
    160 
    161   if test $as_have_required = yes &&     (eval ":
    162 (as_func_return () {
    163   (exit \$1)
    164 }
    165 as_func_success () {
    166   as_func_return 0
    167 }
    168 as_func_failure () {
    169   as_func_return 1
    170 }
    171 as_func_ret_success () {
    172   return 0
    173 }
    174 as_func_ret_failure () {
    175   return 1
    176 }
    177 
    178 exitcode=0
    179 if as_func_success; then
    180   :
    181 else
    182   exitcode=1
    183   echo as_func_success failed.
    184 fi
    185 
    186 if as_func_failure; then
    187   exitcode=1
    188   echo as_func_failure succeeded.
    189 fi
    190 
    191 if as_func_ret_success; then
    192   :
    193 else
    194   exitcode=1
    195   echo as_func_ret_success failed.
    196 fi
    197 
    198 if as_func_ret_failure; then
    199   exitcode=1
    200   echo as_func_ret_failure succeeded.
    201 fi
    202 
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    204   :
    205 else
    206   exitcode=1
    207   echo positional parameters were not saved.
    208 fi
    209 
    210 test \$exitcode = 0) || { (exit 1); exit 1; }
    211 
    212 (
    213   as_lineno_1=\$LINENO
    214   as_lineno_2=\$LINENO
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    217 ") 2> /dev/null; then
    218   :
    219 else
    220   as_candidate_shells=
     124  if test ! -f "$as_myself"; then
     125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
     126   { (exit 1); exit 1; }; }
     127  fi
     128  case $CONFIG_SHELL in
     129  '')
    221130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    222131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    224133  IFS=$as_save_IFS
    225134  test -z "$as_dir" && as_dir=.
    226   case $as_dir in
     135  for as_base in sh bash ksh sh5; do
     136     case $as_dir in
    227137     /*)
    228        for as_base in sh bash ksh sh5; do
    229          as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    230        done;;
    231        esac
    232 done
    233 IFS=$as_save_IFS
    234 
    235 
    236       for as_shell in $as_candidate_shells $SHELL; do
    237      # Try only shells that exist, to save several forks.
    238      if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    239         { ("$as_shell") 2> /dev/null <<\_ASEOF
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    241   emulate sh
    242   NULLCMD=:
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    244   # is contrary to our usage.  Disable this feature.
    245   alias -g '${1+"$@"}'='"$@"'
    246   setopt NO_GLOB_SUBST
    247 else
    248   case `(set -o) 2>/dev/null` in
    249   *posix*) set -o posix ;;
    250 esac
    251 
    252 fi
    253 
    254 
    255 :
    256 _ASEOF
    257 }; then
    258   CONFIG_SHELL=$as_shell
    259            as_have_required=yes
    260            if { "$as_shell" 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 (as_func_return () {
    278   (exit $1)
    279 }
    280 as_func_success () {
    281   as_func_return 0
    282 }
    283 as_func_failure () {
    284   as_func_return 1
    285 }
    286 as_func_ret_success () {
    287   return 0
    288 }
    289 as_func_ret_failure () {
    290   return 1
    291 }
    292 
    293 exitcode=0
    294 if as_func_success; then
    295   :
    296 else
    297   exitcode=1
    298   echo as_func_success failed.
    299 fi
    300 
    301 if as_func_failure; then
    302   exitcode=1
    303   echo as_func_failure succeeded.
    304 fi
    305 
    306 if as_func_ret_success; then
    307   :
    308 else
    309   exitcode=1
    310   echo as_func_ret_success failed.
    311 fi
    312 
    313 if as_func_ret_failure; then
    314   exitcode=1
    315   echo as_func_ret_failure succeeded.
    316 fi
    317 
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then
    319   :
    320 else
    321   exitcode=1
    322   echo positional parameters were not saved.
    323 fi
    324 
    325 test $exitcode = 0) || { (exit 1); exit 1; }
    326 
    327 (
     138       if ("$as_dir/$as_base" -c '
    328139  as_lineno_1=$LINENO
    329140  as_lineno_2=$LINENO
     141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    330142  test "x$as_lineno_1" != "x$as_lineno_2" &&
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    332 
    333 _ASEOF
    334 }; then
    335   break
    336 fi
    337 
    338 fi
    339 
    340       done
    341 
    342       if test "x$CONFIG_SHELL" != x; then
    343   for as_var in BASH_ENV ENV
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    345         done
    346         export CONFIG_SHELL
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    348 fi
    349 
    350 
    351     if test $as_have_required = no; then
    352   echo This script requires a shell more modern than all the
    353       echo shells that I found on your system.  Please install a
    354       echo modern shell, or manually run the script under such a
    355       echo shell if you do have one.
    356       { (exit 1); exit 1; }
    357 fi
    358 
    359 
    360 fi
    361 
    362 fi
    363 
    364 
    365 
    366 (eval "as_func_return () {
    367   (exit \$1)
    368 }
    369 as_func_success () {
    370   as_func_return 0
    371 }
    372 as_func_failure () {
    373   as_func_return 1
    374 }
    375 as_func_ret_success () {
    376   return 0
    377 }
    378 as_func_ret_failure () {
    379   return 1
    380 }
    381 
    382 exitcode=0
    383 if as_func_success; then
    384   :
    385 else
    386   exitcode=1
    387   echo as_func_success failed.
    388 fi
    389 
    390 if as_func_failure; then
    391   exitcode=1
    392   echo as_func_failure succeeded.
    393 fi
    394 
    395 if as_func_ret_success; then
    396   :
    397 else
    398   exitcode=1
    399   echo as_func_ret_success failed.
    400 fi
    401 
    402 if as_func_ret_failure; then
    403   exitcode=1
    404   echo as_func_ret_failure succeeded.
    405 fi
    406 
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    408   :
    409 else
    410   exitcode=1
    411   echo positional parameters were not saved.
    412 fi
    413 
    414 test \$exitcode = 0") || {
    415   echo No shell found that supports shell functions.
    416   echo Please tell autoconf@gnu.org about your system,
    417   echo including any error possibly output before this
    418   echo message
    419 }
    420 
    421 
    422 
    423   as_lineno_1=$LINENO
    424   as_lineno_2=$LINENO
    425   test "x$as_lineno_1" != "x$as_lineno_2" &&
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     144         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     145         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     146         CONFIG_SHELL=$as_dir/$as_base
     147         export CONFIG_SHELL
     148         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     149       fi;;
     150     esac
     151       done
     152done
     153;;
     154  esac
    427155
    428156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    429157  # uniformly replaced by the line number.  The first 'sed' inserts a
    430   # line-number line after each line using $LINENO; the second 'sed'
    431   # does the real work.  The second script uses 'N' to pair each
    432   # line-number line with the line containing $LINENO, and appends
    433   # trailing '-' during substitution so that $LINENO is not a special
    434   # case at line end.
     158  # line-number line before each line; the second 'sed' does the real
     159  # work.  The second script uses 'N' to pair each line-number line
     160  # with the numbered line, and appends trailing '-' during
     161  # substitution so that $LINENO is not a special case at line end.
    435162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    437   # E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
     163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     164  sed '=' <$as_myself |
    442165    sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447166      N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     167      s,$,-,
     168      : loop
     169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    450170      t loop
    451       s/-\n.*//
     171      s,-$,,
     172      s,^['$as_cr_digits']*\n,,
    452173    ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
     174  chmod +x $as_me.lineno ||
    454175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    455176   { (exit 1); exit 1; }; }
     
    457178  # Don't try to exec as it changes $[0], causing all sort of problems
    458179  # (the dirname of $[0] is not the place where we might find the
    459   # original and so on.  Autoconf is especially sensitive to this).
    460   . "./$as_me.lineno"
     180  # original and so on.  Autoconf is especially sensible to this).
     181  . ./$as_me.lineno
    461182  # Exit status is that of the last command.
    462183  exit
     
    464185
    465186
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    467   as_dirname=dirname
    468 else
    469   as_dirname=false
    470 fi
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in
    474 -n*)
    475   case `echo 'x\c'` in
    476   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    477   *)   ECHO_C='\c';;
    478   esac;;
    479 *)
    480   ECHO_N='-n';;
     187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     188  *c*,-n*) ECHO_N= ECHO_C='
     189' ECHO_T='  ' ;;
     190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    481192esac
    482193
    483 if expr a : '\(a\)' >/dev/null 2>&1 &&
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     194if expr a : '\(a\)' >/dev/null 2>&1; then
    485195  as_expr=expr
    486196else
     
    489199
    490200rm -f conf$$ conf$$.exe conf$$.file
    491 if test -d conf$$.dir; then
    492   rm -f conf$$.dir/conf$$.file
    493 else
    494   rm -f conf$$.dir
    495   mkdir conf$$.dir
    496 fi
    497201echo >conf$$.file
    498202if ln -s conf$$.file conf$$ 2>/dev/null; then
    499   as_ln_s='ln -s'
    500   # ... but there are two gotchas:
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    503   # In both cases, we have to default to `cp -p'.
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     203  # We could just check for DJGPP; but this test a) works b) is more generic
     204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     205  if test -f conf$$.exe; then
     206    # Don't use ln at all; we don't have any links
    505207    as_ln_s='cp -p'
     208  else
     209    as_ln_s='ln -s'
     210  fi
    506211elif ln conf$$.file conf$$ 2>/dev/null; then
    507212  as_ln_s=ln
     
    509214  as_ln_s='cp -p'
    510215fi
    511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    512 rmdir conf$$.dir 2>/dev/null
     216rm -f conf$$ conf$$.exe conf$$.file
    513217
    514218if mkdir -p . 2>/dev/null; then
     
    519223fi
    520224
    521 if test -x / >/dev/null 2>&1; then
    522   as_test_x='test -x'
    523 else
    524   if ls -dL / >/dev/null 2>&1; then
    525     as_ls_L_option=L
    526   else
    527     as_ls_L_option=
    528   fi
    529   as_test_x='
    530     eval sh -c '\''
    531       if test -d "$1"; then
    532         test -d "$1/.";
    533       else
    534     case $1 in
    535         -*)set "./$1";;
    536     esac;
    537     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    538     ???[sx]*):;;*)false;;esac;fi
    539     '\'' sh
    540   '
    541 fi
    542 as_executable_p=$as_test_x
     225as_executable_p="test -f"
    543226
    544227# Sed expression to map a string onto a valid CPP name.
     
    549232
    550233
    551 
    552 exec 7<&0 </dev/null 6>&1
     234# IFS
     235# We need space, tab and new line, in precisely that order.
     236as_nl='
     237'
     238IFS="   $as_nl"
     239
     240# CDPATH.
     241$as_unset CDPATH
     242
    553243
    554244# Name of the host.
     
    557247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558248
     249exec 6>&1
     250
    559251#
    560252# Initializations.
    561253#
    562254ac_default_prefix=/usr/local
    563 ac_clean_files=
    564255ac_config_libobj_dir=.
    565 LIBOBJS=
    566256cross_compiling=no
    567257subdirs=
     
    569259MAKEFLAGS=
    570260SHELL=${CONFIG_SHELL-/bin/sh}
     261
     262# Maximum number of lines to put in a shell here document.
     263# This variable seems obsolete.  It should probably be removed, and
     264# only ac_max_sed_lines should be used.
     265: ${ac_max_here_lines=38}
    571266
    572267# Identity of this package.
     
    580275ac_includes_default="\
    581276#include <stdio.h>
    582 #ifdef HAVE_SYS_TYPES_H
     277#if HAVE_SYS_TYPES_H
    583278# include <sys/types.h>
    584279#endif
    585 #ifdef HAVE_SYS_STAT_H
     280#if HAVE_SYS_STAT_H
    586281# include <sys/stat.h>
    587282#endif
    588 #ifdef STDC_HEADERS
     283#if STDC_HEADERS
    589284# include <stdlib.h>
    590285# include <stddef.h>
    591286#else
    592 # ifdef HAVE_STDLIB_H
     287# if HAVE_STDLIB_H
    593288#  include <stdlib.h>
    594289# endif
    595290#endif
    596 #ifdef HAVE_STRING_H
    597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     291#if HAVE_STRING_H
     292# if !STDC_HEADERS && HAVE_MEMORY_H
    598293#  include <memory.h>
    599294# endif
    600295# include <string.h>
    601296#endif
    602 #ifdef HAVE_STRINGS_H
     297#if HAVE_STRINGS_H
    603298# include <strings.h>
    604299#endif
    605 #ifdef HAVE_INTTYPES_H
     300#if HAVE_INTTYPES_H
    606301# include <inttypes.h>
     302#else
     303# if HAVE_STDINT_H
     304#  include <stdint.h>
     305# endif
    607306#endif
    608 #ifdef HAVE_STDINT_H
    609 # include <stdint.h>
    610 #endif
    611 #ifdef HAVE_UNISTD_H
     307#if HAVE_UNISTD_H
    612308# include <unistd.h>
    613309#endif"
    614310
    615 ac_subst_vars='SHELL
    616 PATH_SEPARATOR
    617 PACKAGE_NAME
    618 PACKAGE_TARNAME
    619 PACKAGE_VERSION
    620 PACKAGE_STRING
    621 PACKAGE_BUGREPORT
    622 exec_prefix
    623 prefix
    624 program_transform_name
    625 bindir
    626 sbindir
    627 libexecdir
    628 datarootdir
    629 datadir
    630 sysconfdir
    631 sharedstatedir
    632 localstatedir
    633 includedir
    634 oldincludedir
    635 docdir
    636 infodir
    637 htmldir
    638 dvidir
    639 pdfdir
    640 psdir
    641 libdir
    642 localedir
    643 mandir
    644 DEFS
    645 ECHO_C
    646 ECHO_N
    647 ECHO_T
    648 LIBS
    649 build_alias
    650 host_alias
    651 target_alias
    652 PACKAGE
    653 VERSION
    654 USE_FASTCGI
    655 USE_LANGACTION
    656 USE_CORBA
    657 MICO_DIR
    658 USE_Z3950
    659 USE_YAZ
    660 ENABLE_ACCENTFOLD
    661 USE_SQLITE
    662 USE_APACHE_HTTPD
    663 LDFLAGS
    664 CFLAGS
    665 CC
    666 CPPFLAGS
    667 ac_ct_CC
    668 EXEEXT
    669 OBJEXT
    670 CXX
    671 CXXFLAGS
    672 ac_ct_CXX
    673 AWK
    674 YACC
    675 YFLAGS
    676 build
    677 build_cpu
    678 build_vendor
    679 build_os
    680 host
    681 host_cpu
    682 host_vendor
    683 host_os
    684 target
    685 target_cpu
    686 target_vendor
    687 target_os
    688 INSTALL_PROGRAM
    689 INSTALL_SCRIPT
    690 INSTALL_DATA
    691 LN_S
    692 SET_MAKE
    693 RANLIB
    694 COMPAT32BITFLAGS
    695 MICO_VER
    696 CPP
    697 GREP
    698 EGREP
    699 U
    700 ANSI2KNR
    701 ALLOCA
    702 LIBOBJS
    703 STATIC
    704 gsdlos
    705 MODULEDIRS
    706 subdirs
    707 LTLIBOBJS'
     311ac_subdirs_all="$ac_subdirs_all common-src build-src runtime-src"
     312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
    708313ac_subst_files=''
    709       ac_precious_vars='build_alias
    710 host_alias
    711 target_alias
    712 CC
    713 CFLAGS
    714 LDFLAGS
    715 LIBS
    716 CPPFLAGS
    717 CXX
    718 CXXFLAGS
    719 CCC
    720 YACC
    721 YFLAGS
    722 CPP'
    723 ac_subdirs_all='common-src build-src runtime-src'
    724314
    725315# Initialize some variables set by options.
     
    748338# by default will actually change.
    749339# Use braces instead of parens because sh, perl, etc. also accept them.
    750 # (The list follows the same order as the GNU Coding Standards.)
    751340bindir='${exec_prefix}/bin'
    752341sbindir='${exec_prefix}/sbin'
    753342libexecdir='${exec_prefix}/libexec'
    754 datarootdir='${prefix}/share'
    755 datadir='${datarootdir}'
     343datadir='${prefix}/share'
    756344sysconfdir='${prefix}/etc'
    757345sharedstatedir='${prefix}/com'
    758346localstatedir='${prefix}/var'
     347libdir='${exec_prefix}/lib'
    759348includedir='${prefix}/include'
    760349oldincludedir='/usr/include'
    761 docdir='${datarootdir}/doc/${PACKAGE}'
    762 infodir='${datarootdir}/info'
    763 htmldir='${docdir}'
    764 dvidir='${docdir}'
    765 pdfdir='${docdir}'
    766 psdir='${docdir}'
    767 libdir='${exec_prefix}/lib'
    768 localedir='${datarootdir}/locale'
    769 mandir='${datarootdir}/man'
     350infodir='${prefix}/info'
     351mandir='${prefix}/man'
    770352
    771353ac_prev=
    772 ac_dashdash=
    773354for ac_option
    774355do
    775356  # If the previous option needs an argument, assign it.
    776357  if test -n "$ac_prev"; then
    777     eval $ac_prev=\$ac_option
     358    eval "$ac_prev=\$ac_option"
    778359    ac_prev=
    779360    continue
    780361  fi
    781362
     363  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     364
     365  # Accept the important Cygnus configure options, so we can diagnose typos.
     366
    782367  case $ac_option in
    783   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    784   *)    ac_optarg=yes ;;
    785   esac
    786 
    787   # Accept the important Cygnus configure options, so we can diagnose typos.
    788 
    789   case $ac_dashdash$ac_option in
    790   --)
    791     ac_dashdash=yes ;;
    792368
    793369  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    811387    cache_file=config.cache ;;
    812388
    813   -datadir | --datadir | --datadi | --datad)
     389  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    814390    ac_prev=datadir ;;
    815   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     391  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     392  | --da=*)
    816393    datadir=$ac_optarg ;;
    817 
    818   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    819   | --dataroo | --dataro | --datar)
    820     ac_prev=datarootdir ;;
    821   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    822   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    823     datarootdir=$ac_optarg ;;
    824394
    825395  -disable-* | --disable-*)
    826396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    827397    # Reject names that are not valid shell variable names.
    828     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     398    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    829399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    830400   { (exit 1); exit 1; }; }
    831     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    832     eval enable_$ac_feature=no ;;
    833 
    834   -docdir | --docdir | --docdi | --doc | --do)
    835     ac_prev=docdir ;;
    836   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    837     docdir=$ac_optarg ;;
    838 
    839   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    840     ac_prev=dvidir ;;
    841   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    842     dvidir=$ac_optarg ;;
     401    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     402    eval "enable_$ac_feature=no" ;;
    843403
    844404  -enable-* | --enable-*)
    845405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    846406    # Reject names that are not valid shell variable names.
    847     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     407    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    848408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    849409   { (exit 1); exit 1; }; }
    850     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    851     eval enable_$ac_feature=\$ac_optarg ;;
     410    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     411    case $ac_option in
     412      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     413      *) ac_optarg=yes ;;
     414    esac
     415    eval "enable_$ac_feature='$ac_optarg'" ;;
    852416
    853417  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    876440    host_alias=$ac_optarg ;;
    877441
    878   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    879     ac_prev=htmldir ;;
    880   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    881   | --ht=*)
    882     htmldir=$ac_optarg ;;
    883 
    884442  -includedir | --includedir | --includedi | --included | --include \
    885443  | --includ | --inclu | --incl | --inc)
     
    906464    libexecdir=$ac_optarg ;;
    907465
    908   -localedir | --localedir | --localedi | --localed | --locale)
    909     ac_prev=localedir ;;
    910   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    911     localedir=$ac_optarg ;;
    912 
    913466  -localstatedir | --localstatedir | --localstatedi | --localstated \
    914   | --localstate | --localstat | --localsta | --localst | --locals)
     467  | --localstate | --localstat | --localsta | --localst \
     468  | --locals | --local | --loca | --loc | --lo)
    915469    ac_prev=localstatedir ;;
    916470  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    917   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     471  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     472  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    918473    localstatedir=$ac_optarg ;;
    919474
     
    980535    program_transform_name=$ac_optarg ;;
    981536
    982   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    983     ac_prev=pdfdir ;;
    984   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    985     pdfdir=$ac_optarg ;;
    986 
    987   -psdir | --psdir | --psdi | --psd | --ps)
    988     ac_prev=psdir ;;
    989   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    990     psdir=$ac_optarg ;;
    991 
    992537  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    993538  | -silent | --silent | --silen | --sile | --sil)
     
    1042587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    1043588    # Reject names that are not valid shell variable names.
    1044     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     589    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    1045590      { echo "$as_me: error: invalid package name: $ac_package" >&2
    1046591   { (exit 1); exit 1; }; }
    1047     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1048     eval with_$ac_package=\$ac_optarg ;;
     592    ac_package=`echo $ac_package| sed 's/-/_/g'`
     593    case $ac_option in
     594      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     595      *) ac_optarg=yes ;;
     596    esac
     597    eval "with_$ac_package='$ac_optarg'" ;;
    1049598
    1050599  -without-* | --without-*)
    1051600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    1052601    # Reject names that are not valid shell variable names.
    1053     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     602    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    1054603      { echo "$as_me: error: invalid package name: $ac_package" >&2
    1055604   { (exit 1); exit 1; }; }
    1056     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1057     eval with_$ac_package=no ;;
     605    ac_package=`echo $ac_package | sed 's/-/_/g'`
     606    eval "with_$ac_package=no" ;;
    1058607
    1059608  --x)
     
    1086635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1087636   { (exit 1); exit 1; }; }
    1088     eval $ac_envvar=\$ac_optarg
     637    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     638    eval "$ac_envvar='$ac_optarg'"
    1089639    export $ac_envvar ;;
    1090640
     
    1106656fi
    1107657
    1108 # Be sure to have absolute directory names.
    1109 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    1110         datadir sysconfdir sharedstatedir localstatedir includedir \
    1111         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1112         libdir localedir mandir
     658# Be sure to have absolute paths.
     659for ac_var in exec_prefix prefix
    1113660do
    1114   eval ac_val=\$$ac_var
     661  eval ac_val=$`echo $ac_var`
    1115662  case $ac_val in
    1116     [\\/$]* | ?:[\\/]* )  continue;;
    1117     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
     663    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     664    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     665   { (exit 1); exit 1; }; };;
    1118666  esac
    1119   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1120    { (exit 1); exit 1; }; }
     667done
     668
     669# Be sure to have absolute paths.
     670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     671          localstatedir libdir includedir oldincludedir infodir mandir
     672do
     673  eval ac_val=$`echo $ac_var`
     674  case $ac_val in
     675    [\\/$]* | ?:[\\/]* ) ;;
     676    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     677   { (exit 1); exit 1; }; };;
     678  esac
    1121679done
    1122680
     
    1145703
    1146704
    1147 ac_pwd=`pwd` && test -n "$ac_pwd" &&
    1148 ac_ls_di=`ls -di .` &&
    1149 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1150   { echo "$as_me: error: Working directory cannot be determined" >&2
    1151    { (exit 1); exit 1; }; }
    1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1153   { echo "$as_me: error: pwd does not report name of working directory" >&2
    1154    { (exit 1); exit 1; }; }
    1155 
    1156 
    1157705# Find the source files, if location was not specified.
    1158706if test -z "$srcdir"; then
    1159707  ac_srcdir_defaulted=yes
    1160   # Try the directory containing this script, then the parent directory.
    1161   ac_confdir=`$as_dirname -- "$0" ||
     708  # Try the directory containing this script, then its parent.
     709  ac_confdir=`(dirname "$0") 2>/dev/null ||
    1162710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1163711     X"$0" : 'X\(//\)[^/]' \| \
    1164712     X"$0" : 'X\(//\)$' \| \
    1165      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     713     X"$0" : 'X\(/\)' \| \
     714     .     : '\(.\)' 2>/dev/null ||
    1166715echo X"$0" |
    1167     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1168         s//\1/
    1169         q
    1170       }
    1171       /^X\(\/\/\)[^/].*/{
    1172         s//\1/
    1173         q
    1174       }
    1175       /^X\(\/\/\)$/{
    1176         s//\1/
    1177         q
    1178       }
    1179       /^X\(\/\).*/{
    1180         s//\1/
    1181         q
    1182       }
    1183       s/.*/./; q'`
     716    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     717      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     718      /^X\(\/\/\)$/{ s//\1/; q; }
     719      /^X\(\/\).*/{ s//\1/; q; }
     720      s/.*/./; q'`
    1184721  srcdir=$ac_confdir
    1185   if test ! -r "$srcdir/$ac_unique_file"; then
     722  if test ! -r $srcdir/$ac_unique_file; then
    1186723    srcdir=..
    1187724  fi
     
    1189726  ac_srcdir_defaulted=no
    1190727fi
    1191 if test ! -r "$srcdir/$ac_unique_file"; then
    1192   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1193   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     728if test ! -r $srcdir/$ac_unique_file; then
     729  if test "$ac_srcdir_defaulted" = yes; then
     730    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    1194731   { (exit 1); exit 1; }; }
    1195 fi
    1196 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    1197 ac_abs_confdir=`(
    1198     cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
     732  else
     733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1199734   { (exit 1); exit 1; }; }
    1200     pwd)`
    1201 # When building in place, set srcdir=.
    1202 if test "$ac_abs_confdir" = "$ac_pwd"; then
    1203   srcdir=.
    1204 fi
    1205 # Remove unnecessary trailing slashes from srcdir.
    1206 # Double slashes in file names in object file debugging info
    1207 # mess up M-x gdb in Emacs.
    1208 case $srcdir in
    1209 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
    1210 esac
    1211 for ac_var in $ac_precious_vars; do
    1212   eval ac_env_${ac_var}_set=\${${ac_var}+set}
    1213   eval ac_env_${ac_var}_value=\$${ac_var}
    1214   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
    1215   eval ac_cv_env_${ac_var}_value=\$${ac_var}
    1216 done
     735  fi
     736fi
     737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     738  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     739   { (exit 1); exit 1; }; }
     740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     741ac_env_build_alias_set=${build_alias+set}
     742ac_env_build_alias_value=$build_alias
     743ac_cv_env_build_alias_set=${build_alias+set}
     744ac_cv_env_build_alias_value=$build_alias
     745ac_env_host_alias_set=${host_alias+set}
     746ac_env_host_alias_value=$host_alias
     747ac_cv_env_host_alias_set=${host_alias+set}
     748ac_cv_env_host_alias_value=$host_alias
     749ac_env_target_alias_set=${target_alias+set}
     750ac_env_target_alias_value=$target_alias
     751ac_cv_env_target_alias_set=${target_alias+set}
     752ac_cv_env_target_alias_value=$target_alias
     753ac_env_CC_set=${CC+set}
     754ac_env_CC_value=$CC
     755ac_cv_env_CC_set=${CC+set}
     756ac_cv_env_CC_value=$CC
     757ac_env_CFLAGS_set=${CFLAGS+set}
     758ac_env_CFLAGS_value=$CFLAGS
     759ac_cv_env_CFLAGS_set=${CFLAGS+set}
     760ac_cv_env_CFLAGS_value=$CFLAGS
     761ac_env_LDFLAGS_set=${LDFLAGS+set}
     762ac_env_LDFLAGS_value=$LDFLAGS
     763ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     764ac_cv_env_LDFLAGS_value=$LDFLAGS
     765ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     766ac_env_CPPFLAGS_value=$CPPFLAGS
     767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     768ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     769ac_env_CXX_set=${CXX+set}
     770ac_env_CXX_value=$CXX
     771ac_cv_env_CXX_set=${CXX+set}
     772ac_cv_env_CXX_value=$CXX
     773ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     774ac_env_CXXFLAGS_value=$CXXFLAGS
     775ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     776ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     777ac_env_CPP_set=${CPP+set}
     778ac_env_CPP_value=$CPP
     779ac_cv_env_CPP_set=${CPP+set}
     780ac_cv_env_CPP_value=$CPP
    1217781
    1218782#
     
    1243807      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1244808
     809_ACEOF
     810
     811  cat <<_ACEOF
    1245812Installation directories:
    1246813  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    1260827  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1261828  --libexecdir=DIR       program executables [EPREFIX/libexec]
     829  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    1262830  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1263831  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    1266834  --includedir=DIR       C header files [PREFIX/include]
    1267835  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1268   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
    1269   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
    1270   --infodir=DIR          info documentation [DATAROOTDIR/info]
    1271   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
    1272   --mandir=DIR           man documentation [DATAROOTDIR/man]
    1273   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
    1274   --htmldir=DIR          html documentation [DOCDIR]
    1275   --dvidir=DIR           dvi documentation [DOCDIR]
    1276   --pdfdir=DIR           pdf documentation [DOCDIR]
    1277   --psdir=DIR            ps documentation [DOCDIR]
     836  --infodir=DIR          info documentation [PREFIX/info]
     837  --mandir=DIR           man documentation [PREFIX/man]
    1278838_ACEOF
    1279839
     
    1299859  --disable-accentfold    Disable Accent Folding for MGPP
    1300860  --disable-sqlite        Disable SQLite support
    1301   --disable-apache-httpd  Disable Apache httpd support
     861  --enable-apache-httpd  Enable Apache httpd support
    1302862
    1303863Optional Packages:
     
    1314874  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1315875              nonstandard directory <lib dir>
    1316   LIBS        libraries to pass to the linker, e.g. -l<library>
    1317   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
    1318               you have headers in a nonstandard directory <include dir>
     876  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     877              headers in a nonstandard directory <include dir>
    1319878  CXX         C++ compiler command
    1320879  CXXFLAGS    C++ compiler flags
    1321   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
    1322               the first program found out of: `bison -y', `byacc', `yacc'.
    1323   YFLAGS      The list of arguments that will be passed by default to $YACC.
    1324               This script will default YFLAGS to the empty string to avoid a
    1325               default value of `-d' given by some make applications.
    1326880  CPP         C preprocessor
    1327881
     
    1330884
    1331885_ACEOF
    1332 ac_status=$?
    1333886fi
    1334887
    1335888if test "$ac_init_help" = "recursive"; then
    1336889  # If there are subdirs, report their specific --help.
     890  ac_popdir=`pwd`
    1337891  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1338     test -d "$ac_dir" || continue
     892    test -d $ac_dir || continue
    1339893    ac_builddir=.
    1340894
    1341 case "$ac_dir" in
    1342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     895if test "$ac_dir" != .; then
     896  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     897  # A "../" for each directory in $ac_dir_suffix.
     898  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     899else
     900  ac_dir_suffix= ac_top_builddir=
     901fi
     902
     903case $srcdir in
     904  .)  # No --srcdir option.  We are building in place.
     905    ac_srcdir=.
     906    if test -z "$ac_top_builddir"; then
     907       ac_top_srcdir=.
     908    else
     909       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     910    fi ;;
     911  [\\/]* | ?:[\\/]* )  # Absolute path.
     912    ac_srcdir=$srcdir$ac_dir_suffix;
     913    ac_top_srcdir=$srcdir ;;
     914  *) # Relative path.
     915    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     916    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     917esac
     918
     919# Do not use `cd foo && pwd` to compute absolute paths, because
     920# the directories may not exist.
     921case `pwd` in
     922.) ac_abs_builddir="$ac_dir";;
    1343923*)
    1344   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    1345   # A ".." for each directory in $ac_dir_suffix.
    1346   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    1347   case $ac_top_builddir_sub in
    1348   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1349   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    1350   esac ;;
     924  case "$ac_dir" in
     925  .) ac_abs_builddir=`pwd`;;
     926  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     927  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     928  esac;;
    1351929esac
    1352 ac_abs_top_builddir=$ac_pwd
    1353 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    1354 # for backward compatibility:
    1355 ac_top_builddir=$ac_top_build_prefix
    1356 
    1357 case $srcdir in
    1358   .)  # We are building in place.
    1359     ac_srcdir=.
    1360     ac_top_srcdir=$ac_top_builddir_sub
    1361     ac_abs_top_srcdir=$ac_pwd ;;
    1362   [\\/]* | ?:[\\/]* )  # Absolute name.
    1363     ac_srcdir=$srcdir$ac_dir_suffix;
    1364     ac_top_srcdir=$srcdir
    1365     ac_abs_top_srcdir=$srcdir ;;
    1366   *) # Relative name.
    1367     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    1368     ac_top_srcdir=$ac_top_build_prefix$srcdir
    1369     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     930case $ac_abs_builddir in
     931.) ac_abs_top_builddir=${ac_top_builddir}.;;
     932*)
     933  case ${ac_top_builddir}. in
     934  .) ac_abs_top_builddir=$ac_abs_builddir;;
     935  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     936  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     937  esac;;
    1370938esac
    1371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    1372 
    1373     cd "$ac_dir" || { ac_status=$?; continue; }
    1374     # Check for guested configure.
    1375     if test -f "$ac_srcdir/configure.gnu"; then
    1376       echo &&
    1377       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    1378     elif test -f "$ac_srcdir/configure"; then
    1379       echo &&
    1380       $SHELL "$ac_srcdir/configure" --help=recursive
     939case $ac_abs_builddir in
     940.) ac_abs_srcdir=$ac_srcdir;;
     941*)
     942  case $ac_srcdir in
     943  .) ac_abs_srcdir=$ac_abs_builddir;;
     944  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     945  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     946  esac;;
     947esac
     948case $ac_abs_builddir in
     949.) ac_abs_top_srcdir=$ac_top_srcdir;;
     950*)
     951  case $ac_top_srcdir in
     952  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     953  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     954  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     955  esac;;
     956esac
     957
     958    cd $ac_dir
     959    # Check for guested configure; otherwise get Cygnus style configure.
     960    if test -f $ac_srcdir/configure.gnu; then
     961      echo
     962      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     963    elif test -f $ac_srcdir/configure; then
     964      echo
     965      $SHELL $ac_srcdir/configure  --help=recursive
     966    elif test -f $ac_srcdir/configure.ac ||
     967       test -f $ac_srcdir/configure.in; then
     968      echo
     969      $ac_configure --help
    1381970    else
    1382971      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1383     fi || ac_status=$?
    1384     cd "$ac_pwd" || { ac_status=$?; break; }
     972    fi
     973    cd $ac_popdir
    1385974  done
    1386975fi
    1387976
    1388 test -n "$ac_init_help" && exit $ac_status
     977test -n "$ac_init_help" && exit 0
    1389978if $ac_init_version; then
    1390979  cat <<\_ACEOF
    1391 configure
    1392 generated by GNU Autoconf 2.61
    1393 
    1394 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1395 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     980
     981Copyright (C) 2003 Free Software Foundation, Inc.
    1396982This configure script is free software; the Free Software Foundation
    1397983gives unlimited permission to copy, distribute and modify it.
    1398984_ACEOF
    1399   exit
    1400 fi
    1401 cat >config.log <<_ACEOF
     985  exit 0
     986fi
     987exec 5>config.log
     988cat >&5 <<_ACEOF
    1402989This file contains any messages produced by compilers while
    1403990running configure, to aid debugging if configure makes a mistake.
    1404991
    1405992It was created by $as_me, which was
    1406 generated by GNU Autoconf 2.61.  Invocation command line was
     993generated by GNU Autoconf 2.59.  Invocation command line was
    1407994
    1408995  $ $0 $@
    1409996
    1410997_ACEOF
    1411 exec 5>>config.log
    1412998{
    1413999cat <<_ASUNAME
     
    14281014/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    14291015/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1430 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     1016hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    14311017/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    14321018/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    14421028  echo "PATH: $as_dir"
    14431029done
    1444 IFS=$as_save_IFS
    14451030
    14461031} >&5
     
    14641049ac_configure_args0=
    14651050ac_configure_args1=
     1051ac_sep=
    14661052ac_must_keep_next=false
    14671053for ac_pass in 1 2
     
    14741060    | -silent | --silent | --silen | --sile | --sil)
    14751061      continue ;;
    1476     *\'*)
     1062    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    14771063      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    14781064    esac
     
    14961082    esac
    14971083      fi
    1498       ac_configure_args="$ac_configure_args '$ac_arg'"
     1084      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1085      # Get rid of the leading space.
     1086      ac_sep=" "
    14991087      ;;
    15001088    esac
     
    15071095# config.log.  We remove comments because anyway the quotes in there
    15081096# would cause problems or look ugly.
    1509 # WARNING: Use '\'' to represent an apostrophe within the trap.
    1510 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
     1097# WARNING: Be sure not to use single quotes in there, as some shells,
     1098# such as our DU 5.0 friend, will then `close' the trap.
    15111099trap 'exit_status=$?
    15121100  # Save into config.log some information that might help in debugging.
     
    15211109    echo
    15221110    # The following way of writing the cache mishandles newlines in values,
    1523 (
    1524   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    1525     eval ac_val=\$$ac_var
    1526     case $ac_val in #(
    1527     *${as_nl}*)
    1528       case $ac_var in #(
    1529       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1530 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
    1531       esac
    1532       case $ac_var in #(
    1533       _ | IFS | as_nl) ;; #(
    1534       *) $as_unset $ac_var ;;
    1535       esac ;;
    1536     esac
    1537   done
     1111{
    15381112  (set) 2>&1 |
    1539     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    1540     *${as_nl}ac_space=\ *)
     1113    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1114    *ac_space=\ *)
    15411115      sed -n \
    1542     "s/'\''/'\''\\\\'\'''\''/g;
    1543       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
    1544       ;; #(
     1116    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1117      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1118      ;;
    15451119    *)
    1546       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1120      sed -n \
     1121    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    15471122      ;;
    1548     esac |
    1549     sort
    1550 )
     1123    esac;
     1124}
    15511125    echo
    15521126
     
    15591133    for ac_var in $ac_subst_vars
    15601134    do
    1561       eval ac_val=\$$ac_var
    1562       case $ac_val in
    1563       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    1564       esac
    1565       echo "$ac_var='\''$ac_val'\''"
     1135      eval ac_val=$`echo $ac_var`
     1136      echo "$ac_var='"'"'$ac_val'"'"'"
    15661137    done | sort
    15671138    echo
     
    15691140    if test -n "$ac_subst_files"; then
    15701141      cat <<\_ASBOX
    1571 ## ------------------- ##
    1572 ## File substitutions. ##
    1573 ## ------------------- ##
     1142## ------------- ##
     1143## Output files. ##
     1144## ------------- ##
    15741145_ASBOX
    15751146      echo
    15761147      for ac_var in $ac_subst_files
    15771148      do
    1578     eval ac_val=\$$ac_var
    1579     case $ac_val in
    1580     *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    1581     esac
    1582     echo "$ac_var='\''$ac_val'\''"
     1149    eval ac_val=$`echo $ac_var`
     1150    echo "$ac_var='"'"'$ac_val'"'"'"
    15831151      done | sort
    15841152      echo
     
    15921160_ASBOX
    15931161      echo
    1594       cat confdefs.h
     1162      sed "/^$/d" confdefs.h | sort
    15951163      echo
    15961164    fi
     
    15991167    echo "$as_me: exit $exit_status"
    16001168  } >&5
    1601   rm -f core *.core core.conftest.* &&
    1602     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1169  rm -f core *.core &&
     1170  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    16031171    exit $exit_status
    1604 ' 0
     1172     ' 0
    16051173for ac_signal in 1 2 13 15; do
    16061174  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    16091177
    16101178# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1611 rm -f -r conftest* confdefs.h
     1179rm -rf conftest* confdefs.h
     1180# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1181echo >confdefs.h
    16121182
    16131183# Predefined preprocessor variables.
     
    16401210# Let the site file select an alternate cache file if it wants to.
    16411211# Prefer explicitly selected file to automatically selected ones.
    1642 if test -n "$CONFIG_SITE"; then
    1643   set x "$CONFIG_SITE"
    1644 elif test "x$prefix" != xNONE; then
    1645   set x "$prefix/share/config.site" "$prefix/etc/config.site"
    1646 else
    1647   set x "$ac_default_prefix/share/config.site" \
    1648     "$ac_default_prefix/etc/config.site"
    1649 fi
    1650 shift
    1651 for ac_site_file
    1652 do
     1212if test -z "$CONFIG_SITE"; then
     1213  if test "x$prefix" != xNONE; then
     1214    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     1215  else
     1216    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
     1217  fi
     1218fi
     1219for ac_site_file in $CONFIG_SITE; do
    16531220  if test -r "$ac_site_file"; then
    16541221    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    16661233echo "$as_me: loading cache $cache_file" >&6;}
    16671234    case $cache_file in
    1668       [\\/]* | ?:[\\/]* ) . "$cache_file";;
    1669       *)                      . "./$cache_file";;
     1235      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1236      *)                      . ./$cache_file;;
    16701237    esac
    16711238  fi
     
    16791246# value.
    16801247ac_cache_corrupted=false
    1681 for ac_var in $ac_precious_vars; do
     1248for ac_var in `(set) 2>&1 |
     1249           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    16821250  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    16831251  eval ac_new_set=\$ac_env_${ac_var}_set
    1684   eval ac_old_val=\$ac_cv_env_${ac_var}_value
    1685   eval ac_new_val=\$ac_env_${ac_var}_value
     1252  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1253  eval ac_new_val="\$ac_env_${ac_var}_value"
    16861254  case $ac_old_set,$ac_new_set in
    16871255    set,)
     
    17081276  if test "$ac_new_set" = set; then
    17091277    case $ac_new_val in
    1710     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1278    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1279      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    17111280    *) ac_arg=$ac_var=$ac_new_val ;;
    17121281    esac
     
    17251294fi
    17261295
    1727 
    1728 
    1729 
    1730 
    1731 
    1732 
    1733 
    1734 
    1735 
    1736 
    1737 
    1738 
    1739 
    1740 
    1741 
    1742 
    17431296ac_ext=c
    17441297ac_cpp='$CPP $CPPFLAGS'
     
    17481301
    17491302
    1750 ac_config_headers="$ac_config_headers config.h"
     1303
     1304
     1305
     1306
     1307
     1308
     1309
     1310
     1311
     1312
     1313
     1314
     1315
     1316
     1317
     1318
     1319
     1320          ac_config_headers="$ac_config_headers config.h"
    17511321
    17521322
     
    17821352fi
    17831353
    1784 # Check whether --enable-corba was given.
     1354# Check whether --enable-corba or --disable-corba was given.
    17851355if test "${enable_corba+set}" = set; then
    1786   enableval=$enable_corba; USE_CORBA=1
     1356  enableval="$enable_corba"
     1357  USE_CORBA=1
    17871358else
    17881359  USE_CORBA=0
    1789 fi
    1790 
     1360fi;
    17911361cat >>confdefs.h <<_ACEOF
    17921362#define USE_CORBA $USE_CORBA
     
    17961366
    17971367
    1798 # Check whether --with-micodir was given.
     1368# Check whether --with-micodir or --without-micodir was given.
    17991369if test "${with_micodir+set}" = set; then
    1800   withval=$with_micodir; MICO_DIR=$enableval
     1370  withval="$with_micodir"
     1371  MICO_DIR=$enableval
    18011372else
    18021373  MICO_DIR="default"
    1803 fi
    1804 
     1374fi;
    18051375cat >>confdefs.h <<_ACEOF
    18061376#define MICO_DIR "$MICO_DIR"
     
    18091379
    18101380
    1811 # Check whether --enable-z3950 was given.
     1381# Check whether --enable-z3950 or --disable-z3950 was given.
    18121382if test "${enable_z3950+set}" = set; then
    1813   enableval=$enable_z3950; USE_Z3950=1
     1383  enableval="$enable_z3950"
     1384  USE_Z3950=1
    18141385else
    18151386  USE_Z3950=0
    1816 fi
    1817 
     1387fi;
    18181388if test USE_Z3950 = 1; then
    18191389cat >>confdefs.h <<\_ACEOF
     
    18241394fi
    18251395
    1826 # Check whether --enable-yaz was given.
     1396# Check whether --enable-yaz or --disable-yaz was given.
    18271397if test "${enable_yaz+set}" = set; then
    1828   enableval=$enable_yaz; USE_YAZ=0
     1398  enableval="$enable_yaz"
     1399  USE_YAZ=0
    18291400else
    18301401  USE_YAZ=1
    1831 fi
    1832 
     1402fi;
    18331403cat >>confdefs.h <<\_ACEOF
    18341404#define USE_YAZ $USE_YAZ
     
    18371407
    18381408
    1839 # Check whether --enable-accentfold was given.
     1409# Check whether --enable-accentfold or --disable-accentfold was given.
    18401410if test "${enable_accentfold+set}" = set; then
    1841   enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
     1411  enableval="$enable_accentfold"
     1412  ENABLE_ACCENTFOLD=0
    18421413else
    18431414  ENABLE_ACCENTFOLD=1
    1844 fi
    1845 
     1415fi;
    18461416cat >>confdefs.h <<\_ACEOF
    18471417#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    18501420
    18511421
    1852 # Check whether --enable-sqlite was given.
     1422# Check whether --enable-sqlite or --disable-sqlite was given.
    18531423if test "${enable_sqlite+set}" = set; then
    1854   enableval=$enable_sqlite; USE_SQLITE=0
     1424  enableval="$enable_sqlite"
     1425  USE_SQLITE=0
    18551426else
    18561427  USE_SQLITE=1
    1857 fi
    1858 
     1428fi;
    18591429cat >>confdefs.h <<\_ACEOF
    18601430#define USE_SQLITE $USE_SQLITE
     
    18631433
    18641434
    1865 # Check whether --enable-apache-httpd was given.
     1435# Check whether --enable-apache-httpd or --disable-apache-httpd was given.
    18661436if test "${enable_apache_httpd+set}" = set; then
    1867   enableval=$enable_apache_httpd; USE_APACHE_HTTPD=0
    1868 else
     1437  enableval="$enable_apache_httpd"
    18691438  USE_APACHE_HTTPD=1
    1870 fi
    1871 
     1439else
     1440  USE_APACHE_HTTPD=0
     1441fi;
    18721442cat >>confdefs.h <<\_ACEOF
    18731443#define USE_APACHE_HTTPD $USE_APACHE_HTTPD
     
    18931463  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    18941464set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1465echo "$as_me:$LINENO: checking for $ac_word" >&5
     1466echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    18971467if test "${ac_cv_prog_CC+set}" = set; then
    18981468  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19071477  test -z "$as_dir" && as_dir=.
    19081478  for ac_exec_ext in '' $ac_executable_extensions; do
    1909   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1479  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19101480    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    19111481    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    19141484done
    19151485done
    1916 IFS=$as_save_IFS
    19171486
    19181487fi
     
    19201489CC=$ac_cv_prog_CC
    19211490if test -n "$CC"; then
    1922   { echo "$as_me:$LINENO: result: $CC" >&5
    1923 echo "${ECHO_T}$CC" >&6; }
    1924 else
    1925   { echo "$as_me:$LINENO: result: no" >&5
    1926 echo "${ECHO_T}no" >&6; }
    1927 fi
    1928 
     1491  echo "$as_me:$LINENO: result: $CC" >&5
     1492echo "${ECHO_T}$CC" >&6
     1493else
     1494  echo "$as_me:$LINENO: result: no" >&5
     1495echo "${ECHO_T}no" >&6
     1496fi
    19291497
    19301498fi
     
    19331501  # Extract the first word of "gcc", so it can be a program name with args.
    19341502set dummy gcc; ac_word=$2
    1935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1503echo "$as_me:$LINENO: checking for $ac_word" >&5
     1504echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19371505if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    19381506  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19471515  test -z "$as_dir" && as_dir=.
    19481516  for ac_exec_ext in '' $ac_executable_extensions; do
    1949   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1517  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19501518    ac_cv_prog_ac_ct_CC="gcc"
    19511519    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    19541522done
    19551523done
    1956 IFS=$as_save_IFS
    19571524
    19581525fi
     
    19601527ac_ct_CC=$ac_cv_prog_ac_ct_CC
    19611528if test -n "$ac_ct_CC"; then
    1962   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1963 echo "${ECHO_T}$ac_ct_CC" >&6; }
    1964 else
    1965   { echo "$as_me:$LINENO: result: no" >&5
    1966 echo "${ECHO_T}no" >&6; }
    1967 fi
    1968 
    1969   if test "x$ac_ct_CC" = x; then
    1970     CC=""
    1971   else
    1972     case $cross_compiling:$ac_tool_warned in
    1973 yes:)
    1974 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    1975 whose name does not start with the host triplet.  If you think this
    1976 configuration is useful to you, please write to autoconf@gnu.org." >&5
    1977 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    1978 whose name does not start with the host triplet.  If you think this
    1979 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    1980 ac_tool_warned=yes ;;
    1981 esac
    1982     CC=$ac_ct_CC
    1983   fi
     1529  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1530echo "${ECHO_T}$ac_ct_CC" >&6
     1531else
     1532  echo "$as_me:$LINENO: result: no" >&5
     1533echo "${ECHO_T}no" >&6
     1534fi
     1535
     1536  CC=$ac_ct_CC
    19841537else
    19851538  CC="$ac_cv_prog_CC"
     
    19871540
    19881541if test -z "$CC"; then
    1989           if test -n "$ac_tool_prefix"; then
    1990     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1542  if test -n "$ac_tool_prefix"; then
     1543  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    19911544set dummy ${ac_tool_prefix}cc; ac_word=$2
    1992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1545echo "$as_me:$LINENO: checking for $ac_word" >&5
     1546echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19941547if test "${ac_cv_prog_CC+set}" = set; then
    19951548  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20041557  test -z "$as_dir" && as_dir=.
    20051558  for ac_exec_ext in '' $ac_executable_extensions; do
    2006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1559  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20071560    ac_cv_prog_CC="${ac_tool_prefix}cc"
    20081561    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    20111564done
    20121565done
    2013 IFS=$as_save_IFS
    20141566
    20151567fi
     
    20171569CC=$ac_cv_prog_CC
    20181570if test -n "$CC"; then
    2019   { echo "$as_me:$LINENO: result: $CC" >&5
    2020 echo "${ECHO_T}$CC" >&6; }
    2021 else
    2022   { echo "$as_me:$LINENO: result: no" >&5
    2023 echo "${ECHO_T}no" >&6; }
    2024 fi
    2025 
    2026 
     1571  echo "$as_me:$LINENO: result: $CC" >&5
     1572echo "${ECHO_T}$CC" >&6
     1573else
     1574  echo "$as_me:$LINENO: result: no" >&5
     1575echo "${ECHO_T}no" >&6
     1576fi
     1577
     1578fi
     1579if test -z "$ac_cv_prog_CC"; then
     1580  ac_ct_CC=$CC
     1581  # Extract the first word of "cc", so it can be a program name with args.
     1582set dummy cc; ac_word=$2
     1583echo "$as_me:$LINENO: checking for $ac_word" >&5
     1584echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1585if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1586  echo $ECHO_N "(cached) $ECHO_C" >&6
     1587else
     1588  if test -n "$ac_ct_CC"; then
     1589  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1590else
     1591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1592for as_dir in $PATH
     1593do
     1594  IFS=$as_save_IFS
     1595  test -z "$as_dir" && as_dir=.
     1596  for ac_exec_ext in '' $ac_executable_extensions; do
     1597  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1598    ac_cv_prog_ac_ct_CC="cc"
     1599    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1600    break 2
    20271601  fi
     1602done
     1603done
     1604
     1605fi
     1606fi
     1607ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1608if test -n "$ac_ct_CC"; then
     1609  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1610echo "${ECHO_T}$ac_ct_CC" >&6
     1611else
     1612  echo "$as_me:$LINENO: result: no" >&5
     1613echo "${ECHO_T}no" >&6
     1614fi
     1615
     1616  CC=$ac_ct_CC
     1617else
     1618  CC="$ac_cv_prog_CC"
     1619fi
     1620
    20281621fi
    20291622if test -z "$CC"; then
    20301623  # Extract the first word of "cc", so it can be a program name with args.
    20311624set dummy cc; ac_word=$2
    2032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1625echo "$as_me:$LINENO: checking for $ac_word" >&5
     1626echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20341627if test "${ac_cv_prog_CC+set}" = set; then
    20351628  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20451638  test -z "$as_dir" && as_dir=.
    20461639  for ac_exec_ext in '' $ac_executable_extensions; do
    2047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1640  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20481641    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    20491642       ac_prog_rejected=yes
     
    20561649done
    20571650done
    2058 IFS=$as_save_IFS
    20591651
    20601652if test $ac_prog_rejected = yes; then
     
    20741666CC=$ac_cv_prog_CC
    20751667if test -n "$CC"; then
    2076   { echo "$as_me:$LINENO: result: $CC" >&5
    2077 echo "${ECHO_T}$CC" >&6; }
    2078 else
    2079   { echo "$as_me:$LINENO: result: no" >&5
    2080 echo "${ECHO_T}no" >&6; }
    2081 fi
    2082 
     1668  echo "$as_me:$LINENO: result: $CC" >&5
     1669echo "${ECHO_T}$CC" >&6
     1670else
     1671  echo "$as_me:$LINENO: result: no" >&5
     1672echo "${ECHO_T}no" >&6
     1673fi
    20831674
    20841675fi
    20851676if test -z "$CC"; then
    20861677  if test -n "$ac_tool_prefix"; then
    2087   for ac_prog in cl.exe
     1678  for ac_prog in cl
    20881679  do
    20891680    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    20901681set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1682echo "$as_me:$LINENO: checking for $ac_word" >&5
     1683echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20931684if test "${ac_cv_prog_CC+set}" = set; then
    20941685  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    21031694  test -z "$as_dir" && as_dir=.
    21041695  for ac_exec_ext in '' $ac_executable_extensions; do
    2105   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1696  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21061697    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    21071698    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    21101701done
    21111702done
    2112 IFS=$as_save_IFS
    21131703
    21141704fi
     
    21161706CC=$ac_cv_prog_CC
    21171707if test -n "$CC"; then
    2118   { echo "$as_me:$LINENO: result: $CC" >&5
    2119 echo "${ECHO_T}$CC" >&6; }
    2120 else
    2121   { echo "$as_me:$LINENO: result: no" >&5
    2122 echo "${ECHO_T}no" >&6; }
    2123 fi
    2124 
     1708  echo "$as_me:$LINENO: result: $CC" >&5
     1709echo "${ECHO_T}$CC" >&6
     1710else
     1711  echo "$as_me:$LINENO: result: no" >&5
     1712echo "${ECHO_T}no" >&6
     1713fi
    21251714
    21261715    test -n "$CC" && break
     
    21291718if test -z "$CC"; then
    21301719  ac_ct_CC=$CC
    2131   for ac_prog in cl.exe
     1720  for ac_prog in cl
    21321721do
    21331722  # Extract the first word of "$ac_prog", so it can be a program name with args.
    21341723set dummy $ac_prog; ac_word=$2
    2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1724echo "$as_me:$LINENO: checking for $ac_word" >&5
     1725echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    21371726if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    21381727  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    21471736  test -z "$as_dir" && as_dir=.
    21481737  for ac_exec_ext in '' $ac_executable_extensions; do
    2149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1738  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21501739    ac_cv_prog_ac_ct_CC="$ac_prog"
    21511740    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    21541743done
    21551744done
    2156 IFS=$as_save_IFS
    21571745
    21581746fi
     
    21601748ac_ct_CC=$ac_cv_prog_ac_ct_CC
    21611749if test -n "$ac_ct_CC"; then
    2162   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2163 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2164 else
    2165   { echo "$as_me:$LINENO: result: no" >&5
    2166 echo "${ECHO_T}no" >&6; }
    2167 fi
    2168 
     1750  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1751echo "${ECHO_T}$ac_ct_CC" >&6
     1752else
     1753  echo "$as_me:$LINENO: result: no" >&5
     1754echo "${ECHO_T}no" >&6
     1755fi
    21691756
    21701757  test -n "$ac_ct_CC" && break
    21711758done
    21721759
    2173   if test "x$ac_ct_CC" = x; then
    2174     CC=""
    2175   else
    2176     case $cross_compiling:$ac_tool_warned in
    2177 yes:)
    2178 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2179 whose name does not start with the host triplet.  If you think this
    2180 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2181 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2182 whose name does not start with the host triplet.  If you think this
    2183 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2184 ac_tool_warned=yes ;;
    2185 esac
    2186     CC=$ac_ct_CC
    2187   fi
     1760  CC=$ac_ct_CC
    21881761fi
    21891762
     
    21981771
    21991772# Provide some information about the compiler.
    2200 echo "$as_me:$LINENO: checking for C compiler version" >&5
     1773echo "$as_me:$LINENO:" \
     1774     "checking for C compiler version" >&5
    22011775ac_compiler=`set X $ac_compile; echo $2`
    2202 { (ac_try="$ac_compiler --version >&5"
    2203 case "(($ac_try" in
    2204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2205   *) ac_try_echo=$ac_try;;
    2206 esac
    2207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2208   (eval "$ac_compiler --version >&5") 2>&5
     1776{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1777  (eval $ac_compiler --version </dev/null >&5) 2>&5
    22091778  ac_status=$?
    22101779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22111780  (exit $ac_status); }
    2212 { (ac_try="$ac_compiler -v >&5"
    2213 case "(($ac_try" in
    2214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2215   *) ac_try_echo=$ac_try;;
    2216 esac
    2217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2218   (eval "$ac_compiler -v >&5") 2>&5
     1781{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1782  (eval $ac_compiler -v </dev/null >&5) 2>&5
    22191783  ac_status=$?
    22201784  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22211785  (exit $ac_status); }
    2222 { (ac_try="$ac_compiler -V >&5"
    2223 case "(($ac_try" in
    2224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2225   *) ac_try_echo=$ac_try;;
    2226 esac
    2227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2228   (eval "$ac_compiler -V >&5") 2>&5
     1786{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1787  (eval $ac_compiler -V </dev/null >&5) 2>&5
    22291788  ac_status=$?
    22301789  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    22511810# It will help us diagnose broken compilers, and finding out an intuition
    22521811# of exeext.
    2253 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2254 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
     1812echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1813echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    22551814ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2256 #
    2257 # List of possible output files, starting from the most likely.
    2258 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
    2259 # only as a last resort.  b.out is created by i960 compilers.
    2260 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
    2261 #
    2262 # The IRIX 6 linker writes into existing files which may not be
    2263 # executable, retaining their permissions.  Remove them first so a
    2264 # subsequent execution test works.
    2265 ac_rmfiles=
    2266 for ac_file in $ac_files
    2267 do
    2268   case $ac_file in
    2269     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    2270     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2271   esac
    2272 done
    2273 rm -f $ac_rmfiles
    2274 
    2275 if { (ac_try="$ac_link_default"
    2276 case "(($ac_try" in
    2277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2278   *) ac_try_echo=$ac_try;;
    2279 esac
    2280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2281   (eval "$ac_link_default") 2>&5
     1815if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1816  (eval $ac_link_default) 2>&5
    22821817  ac_status=$?
    22831818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22841819  (exit $ac_status); }; then
    2285   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2286 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2287 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2288 # so that the user can short-circuit this test for compilers unknown to
    2289 # Autoconf.
    2290 for ac_file in $ac_files ''
     1820  # Find the output, starting from the most likely.  This scheme is
     1821# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1822# resort.
     1823
     1824# Be careful to initialize this variable, since it used to be cached.
     1825# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1826ac_cv_exeext=
     1827# b.out is created by i960 compilers.
     1828for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    22911829do
    22921830  test -f "$ac_file" || continue
    22931831  case $ac_file in
    2294     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
     1832    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1833    ;;
     1834    conftest.$ac_ext )
     1835    # This is the source file.
    22951836    ;;
    22961837    [ab].out )
     
    22991840    break;;
    23001841    *.* )
    2301         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2302     then :; else
    2303        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2304     fi
    2305     # We set ac_cv_exeext here because the later test for it is not
    2306     # safe: cross compilers may not add the suffix if given an `-o'
    2307     # argument, so we may need to know it at that point already.
    2308     # Even if this section looks crufty: it has the advantage of
    2309     # actually working.
     1842    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1843    # FIXME: I believe we export ac_cv_exeext for Libtool,
     1844    # but it would be cool to find out if it's true.  Does anybody
     1845    # maintain Libtool? --akim.
     1846    export ac_cv_exeext
    23101847    break;;
    23111848    * )
     
    23131850  esac
    23141851done
    2315 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2316 
    2317 else
    2318   ac_file=''
    2319 fi
    2320 
    2321 { echo "$as_me:$LINENO: result: $ac_file" >&5
    2322 echo "${ECHO_T}$ac_file" >&6; }
    2323 if test -z "$ac_file"; then
     1852else
    23241853  echo "$as_me: failed program was:" >&5
    23251854sed 's/^/| /' conftest.$ac_ext >&5
     
    23331862
    23341863ac_exeext=$ac_cv_exeext
    2335 
    2336 # Check that the compiler produces executables we can run.  If not, either
     1864echo "$as_me:$LINENO: result: $ac_file" >&5
     1865echo "${ECHO_T}$ac_file" >&6
     1866
     1867# Check the compiler produces executables we can run.  If not, either
    23371868# the compiler is broken, or we cross compile.
    2338 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2339 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
     1869echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     1870echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    23401871# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    23411872# If not cross compiling, check that we can run a simple program.
    23421873if test "$cross_compiling" != yes; then
    23431874  if { ac_try='./$ac_file'
    2344   { (case "(($ac_try" in
    2345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2346   *) ac_try_echo=$ac_try;;
    2347 esac
    2348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2349   (eval "$ac_try") 2>&5
     1875  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1876  (eval $ac_try) 2>&5
    23501877  ac_status=$?
    23511878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    23661893  fi
    23671894fi
    2368 { echo "$as_me:$LINENO: result: yes" >&5
    2369 echo "${ECHO_T}yes" >&6; }
     1895echo "$as_me:$LINENO: result: yes" >&5
     1896echo "${ECHO_T}yes" >&6
    23701897
    23711898rm -f a.out a.exe conftest$ac_cv_exeext b.out
    23721899ac_clean_files=$ac_clean_files_save
    2373 # Check that the compiler produces executables we can run.  If not, either
     1900# Check the compiler produces executables we can run.  If not, either
    23741901# the compiler is broken, or we cross compile.
    2375 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2376 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
    2377 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2378 echo "${ECHO_T}$cross_compiling" >&6; }
    2379 
    2380 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2381 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    2382 if { (ac_try="$ac_link"
    2383 case "(($ac_try" in
    2384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2385   *) ac_try_echo=$ac_try;;
    2386 esac
    2387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2388   (eval "$ac_link") 2>&5
     1902echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     1903echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     1904echo "$as_me:$LINENO: result: $cross_compiling" >&5
     1905echo "${ECHO_T}$cross_compiling" >&6
     1906
     1907echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1908echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1909if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     1910  (eval $ac_link) 2>&5
    23891911  ac_status=$?
    23901912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    23971919  test -f "$ac_file" || continue
    23981920  case $ac_file in
    2399     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     1921    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    24001922    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1923      export ac_cv_exeext
    24011924      break;;
    24021925    * ) break;;
     
    24121935
    24131936rm -f conftest$ac_cv_exeext
    2414 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2415 echo "${ECHO_T}$ac_cv_exeext" >&6; }
     1937echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     1938echo "${ECHO_T}$ac_cv_exeext" >&6
    24161939
    24171940rm -f conftest.$ac_ext
    24181941EXEEXT=$ac_cv_exeext
    24191942ac_exeext=$EXEEXT
    2420 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2421 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
     1943echo "$as_me:$LINENO: checking for suffix of object files" >&5
     1944echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    24221945if test "${ac_cv_objext+set}" = set; then
    24231946  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24391962_ACEOF
    24401963rm -f conftest.o conftest.obj
    2441 if { (ac_try="$ac_compile"
    2442 case "(($ac_try" in
    2443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2444   *) ac_try_echo=$ac_try;;
    2445 esac
    2446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2447   (eval "$ac_compile") 2>&5
     1964if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1965  (eval $ac_compile) 2>&5
    24481966  ac_status=$?
    24491967  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24501968  (exit $ac_status); }; then
    2451   for ac_file in conftest.o conftest.obj conftest.*; do
    2452   test -f "$ac_file" || continue;
     1969  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    24531970  case $ac_file in
    2454     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
     1971    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    24551972    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    24561973       break;;
     
    24701987rm -f conftest.$ac_cv_objext conftest.$ac_ext
    24711988fi
    2472 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2473 echo "${ECHO_T}$ac_cv_objext" >&6; }
     1989echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     1990echo "${ECHO_T}$ac_cv_objext" >&6
    24741991OBJEXT=$ac_cv_objext
    24751992ac_objext=$OBJEXT
    2476 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2477 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
     1993echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     1994echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    24781995if test "${ac_cv_c_compiler_gnu+set}" = set; then
    24791996  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24982015_ACEOF
    24992016rm -f conftest.$ac_objext
    2500 if { (ac_try="$ac_compile"
    2501 case "(($ac_try" in
    2502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2503   *) ac_try_echo=$ac_try;;
    2504 esac
    2505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2506   (eval "$ac_compile") 2>conftest.er1
     2017if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2018  (eval $ac_compile) 2>conftest.er1
    25072019  ac_status=$?
    25082020  grep -v '^ *+' conftest.er1 >conftest.err
     
    25102022  cat conftest.err >&5
    25112023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2512   (exit $ac_status); } && {
    2513      test -z "$ac_c_werror_flag" ||
    2514      test ! -s conftest.err
    2515        } && test -s conftest.$ac_objext; then
     2024  (exit $ac_status); } &&
     2025     { ac_try='test -z "$ac_c_werror_flag"
     2026             || test ! -s conftest.err'
     2027  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2028  (eval $ac_try) 2>&5
     2029  ac_status=$?
     2030  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2031  (exit $ac_status); }; } &&
     2032     { ac_try='test -s conftest.$ac_objext'
     2033  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2034  (eval $ac_try) 2>&5
     2035  ac_status=$?
     2036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2037  (exit $ac_status); }; }; then
    25162038  ac_compiler_gnu=yes
    25172039else
     
    25192041sed 's/^/| /' conftest.$ac_ext >&5
    25202042
    2521     ac_compiler_gnu=no
    2522 fi
    2523 
    2524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2043ac_compiler_gnu=no
     2044fi
     2045rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    25252046ac_cv_c_compiler_gnu=$ac_compiler_gnu
    25262047
    25272048fi
    2528 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2529 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
     2049echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2050echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    25302051GCC=`test $ac_compiler_gnu = yes && echo yes`
    25312052ac_test_CFLAGS=${CFLAGS+set}
    25322053ac_save_CFLAGS=$CFLAGS
    2533 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2534 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
     2054CFLAGS="-g"
     2055echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2056echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    25352057if test "${ac_cv_prog_cc_g+set}" = set; then
    25362058  echo $ECHO_N "(cached) $ECHO_C" >&6
    25372059else
    2538   ac_save_c_werror_flag=$ac_c_werror_flag
    2539    ac_c_werror_flag=yes
    2540    ac_cv_prog_cc_g=no
    2541    CFLAGS="-g"
    2542    cat >conftest.$ac_ext <<_ACEOF
     2060  cat >conftest.$ac_ext <<_ACEOF
    25432061/* confdefs.h.  */
    25442062_ACEOF
     
    25562074_ACEOF
    25572075rm -f conftest.$ac_objext
    2558 if { (ac_try="$ac_compile"
    2559 case "(($ac_try" in
    2560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2561   *) ac_try_echo=$ac_try;;
    2562 esac
    2563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2564   (eval "$ac_compile") 2>conftest.er1
     2076if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2077  (eval $ac_compile) 2>conftest.er1
    25652078  ac_status=$?
    25662079  grep -v '^ *+' conftest.er1 >conftest.err
     
    25682081  cat conftest.err >&5
    25692082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2570   (exit $ac_status); } && {
    2571      test -z "$ac_c_werror_flag" ||
    2572      test ! -s conftest.err
    2573        } && test -s conftest.$ac_objext; then
     2083  (exit $ac_status); } &&
     2084     { ac_try='test -z "$ac_c_werror_flag"
     2085             || test ! -s conftest.err'
     2086  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2087  (eval $ac_try) 2>&5
     2088  ac_status=$?
     2089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2090  (exit $ac_status); }; } &&
     2091     { ac_try='test -s conftest.$ac_objext'
     2092  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2093  (eval $ac_try) 2>&5
     2094  ac_status=$?
     2095  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2096  (exit $ac_status); }; }; then
    25742097  ac_cv_prog_cc_g=yes
    25752098else
     
    25772100sed 's/^/| /' conftest.$ac_ext >&5
    25782101
    2579     CFLAGS=""
    2580       cat >conftest.$ac_ext <<_ACEOF
    2581 /* confdefs.h.  */
    2582 _ACEOF
    2583 cat confdefs.h >>conftest.$ac_ext
    2584 cat >>conftest.$ac_ext <<_ACEOF
    2585 /* end confdefs.h.  */
    2586 
    2587 int
    2588 main ()
    2589 {
    2590 
    2591   ;
    2592   return 0;
    2593 }
    2594 _ACEOF
    2595 rm -f conftest.$ac_objext
    2596 if { (ac_try="$ac_compile"
    2597 case "(($ac_try" in
    2598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2599   *) ac_try_echo=$ac_try;;
    2600 esac
    2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2602   (eval "$ac_compile") 2>conftest.er1
    2603   ac_status=$?
    2604   grep -v '^ *+' conftest.er1 >conftest.err
    2605   rm -f conftest.er1
    2606   cat conftest.err >&5
    2607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2608   (exit $ac_status); } && {
    2609      test -z "$ac_c_werror_flag" ||
    2610      test ! -s conftest.err
    2611        } && test -s conftest.$ac_objext; then
    2612   :
    2613 else
    2614   echo "$as_me: failed program was:" >&5
    2615 sed 's/^/| /' conftest.$ac_ext >&5
    2616 
    2617     ac_c_werror_flag=$ac_save_c_werror_flag
    2618      CFLAGS="-g"
    2619      cat >conftest.$ac_ext <<_ACEOF
    2620 /* confdefs.h.  */
    2621 _ACEOF
    2622 cat confdefs.h >>conftest.$ac_ext
    2623 cat >>conftest.$ac_ext <<_ACEOF
    2624 /* end confdefs.h.  */
    2625 
    2626 int
    2627 main ()
    2628 {
    2629 
    2630   ;
    2631   return 0;
    2632 }
    2633 _ACEOF
    2634 rm -f conftest.$ac_objext
    2635 if { (ac_try="$ac_compile"
    2636 case "(($ac_try" in
    2637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2638   *) ac_try_echo=$ac_try;;
    2639 esac
    2640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2641   (eval "$ac_compile") 2>conftest.er1
    2642   ac_status=$?
    2643   grep -v '^ *+' conftest.er1 >conftest.err
    2644   rm -f conftest.er1
    2645   cat conftest.err >&5
    2646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2647   (exit $ac_status); } && {
    2648      test -z "$ac_c_werror_flag" ||
    2649      test ! -s conftest.err
    2650        } && test -s conftest.$ac_objext; then
    2651   ac_cv_prog_cc_g=yes
    2652 else
    2653   echo "$as_me: failed program was:" >&5
    2654 sed 's/^/| /' conftest.$ac_ext >&5
    2655 
    2656 
    2657 fi
    2658 
    2659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2660 fi
    2661 
    2662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2663 fi
    2664 
    2665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2666    ac_c_werror_flag=$ac_save_c_werror_flag
    2667 fi
    2668 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2669 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
     2102ac_cv_prog_cc_g=no
     2103fi
     2104rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2105fi
     2106echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2107echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    26702108if test "$ac_test_CFLAGS" = set; then
    26712109  CFLAGS=$ac_save_CFLAGS
     
    26832121  fi
    26842122fi
    2685 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    2686 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    2687 if test "${ac_cv_prog_cc_c89+set}" = set; then
     2123echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2124echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2125if test "${ac_cv_prog_cc_stdc+set}" = set; then
    26882126  echo $ECHO_N "(cached) $ECHO_C" >&6
    26892127else
    2690   ac_cv_prog_cc_c89=no
     2128  ac_cv_prog_cc_stdc=no
    26912129ac_save_CC=$CC
    26922130cat >conftest.$ac_ext <<_ACEOF
     
    27222160   function prototypes and stuff, but not '\xHH' hex character constants.
    27232161   These don't provoke an error unfortunately, instead are silently treated
    2724    as 'x'.  The following induces an error, until -std is added to get
     2162   as 'x'.  The following induces an error, until -std1 is added to get
    27252163   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    27262164   array size at least.  It's necessary to write '\x00'==0 to get something
    2727    that's true only with -std.  */
     2165   that's true only with -std1.  */
    27282166int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2729 
    2730 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    2731    inside strings and character constants.  */
    2732 #define FOO(x) 'x'
    2733 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    27342167
    27352168int test (int i, double x);
     
    27472180}
    27482181_ACEOF
    2749 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    2750     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2182# Don't try gcc -ansi; that turns off useful extensions and
     2183# breaks some systems' header files.
     2184# AIX           -qlanglvl=ansi
     2185# Ultrix and OSF/1  -std1
     2186# HP-UX 10.20 and later -Ae
     2187# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2188# SVR4          -Xc -D__EXTENSIONS__
     2189for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    27512190do
    27522191  CC="$ac_save_CC $ac_arg"
    27532192  rm -f conftest.$ac_objext
    2754 if { (ac_try="$ac_compile"
    2755 case "(($ac_try" in
    2756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2757   *) ac_try_echo=$ac_try;;
    2758 esac
    2759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2760   (eval "$ac_compile") 2>conftest.er1
     2193if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2194  (eval $ac_compile) 2>conftest.er1
    27612195  ac_status=$?
    27622196  grep -v '^ *+' conftest.er1 >conftest.err
     
    27642198  cat conftest.err >&5
    27652199  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2766   (exit $ac_status); } && {
    2767      test -z "$ac_c_werror_flag" ||
    2768      test ! -s conftest.err
    2769        } && test -s conftest.$ac_objext; then
    2770   ac_cv_prog_cc_c89=$ac_arg
     2200  (exit $ac_status); } &&
     2201     { ac_try='test -z "$ac_c_werror_flag"
     2202             || test ! -s conftest.err'
     2203  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2204  (eval $ac_try) 2>&5
     2205  ac_status=$?
     2206  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2207  (exit $ac_status); }; } &&
     2208     { ac_try='test -s conftest.$ac_objext'
     2209  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2210  (eval $ac_try) 2>&5
     2211  ac_status=$?
     2212  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2213  (exit $ac_status); }; }; then
     2214  ac_cv_prog_cc_stdc=$ac_arg
     2215break
    27712216else
    27722217  echo "$as_me: failed program was:" >&5
    27732218sed 's/^/| /' conftest.$ac_ext >&5
    27742219
    2775 
    2776 fi
    2777 
    2778 rm -f core conftest.err conftest.$ac_objext
    2779   test "x$ac_cv_prog_cc_c89" != "xno" && break
     2220fi
     2221rm -f conftest.err conftest.$ac_objext
    27802222done
    2781 rm -f conftest.$ac_ext
     2223rm -f conftest.$ac_ext conftest.$ac_objext
    27822224CC=$ac_save_CC
    27832225
    27842226fi
    2785 # AC_CACHE_VAL
    2786 case "x$ac_cv_prog_cc_c89" in
    2787   x)
    2788     { echo "$as_me:$LINENO: result: none needed" >&5
    2789 echo "${ECHO_T}none needed" >&6; } ;;
    2790   xno)
    2791     { echo "$as_me:$LINENO: result: unsupported" >&5
    2792 echo "${ECHO_T}unsupported" >&6; } ;;
     2227
     2228case "x$ac_cv_prog_cc_stdc" in
     2229  x|xno)
     2230    echo "$as_me:$LINENO: result: none needed" >&5
     2231echo "${ECHO_T}none needed" >&6 ;;
    27932232  *)
    2794     CC="$CC $ac_cv_prog_cc_c89"
    2795     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    2796 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2233    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2234echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2235    CC="$CC $ac_cv_prog_cc_stdc" ;;
    27972236esac
    27982237
    2799 
     2238# Some people use a C++ compiler to compile C.  Since we use `exit',
     2239# in C++ we need to declare it.  In case someone uses the same compiler
     2240# for both compiling C and C++ we need to have the C++ compiler decide
     2241# the declaration of exit, since it's the most demanding environment.
     2242cat >conftest.$ac_ext <<_ACEOF
     2243#ifndef __cplusplus
     2244  choke me
     2245#endif
     2246_ACEOF
     2247rm -f conftest.$ac_objext
     2248if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2249  (eval $ac_compile) 2>conftest.er1
     2250  ac_status=$?
     2251  grep -v '^ *+' conftest.er1 >conftest.err
     2252  rm -f conftest.er1
     2253  cat conftest.err >&5
     2254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2255  (exit $ac_status); } &&
     2256     { ac_try='test -z "$ac_c_werror_flag"
     2257             || test ! -s conftest.err'
     2258  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2259  (eval $ac_try) 2>&5
     2260  ac_status=$?
     2261  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2262  (exit $ac_status); }; } &&
     2263     { ac_try='test -s conftest.$ac_objext'
     2264  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2265  (eval $ac_try) 2>&5
     2266  ac_status=$?
     2267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2268  (exit $ac_status); }; }; then
     2269  for ac_declaration in \
     2270   '' \
     2271   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2272   'extern "C" void std::exit (int); using std::exit;' \
     2273   'extern "C" void exit (int) throw ();' \
     2274   'extern "C" void exit (int);' \
     2275   'void exit (int);'
     2276do
     2277  cat >conftest.$ac_ext <<_ACEOF
     2278/* confdefs.h.  */
     2279_ACEOF
     2280cat confdefs.h >>conftest.$ac_ext
     2281cat >>conftest.$ac_ext <<_ACEOF
     2282/* end confdefs.h.  */
     2283$ac_declaration
     2284#include <stdlib.h>
     2285int
     2286main ()
     2287{
     2288exit (42);
     2289  ;
     2290  return 0;
     2291}
     2292_ACEOF
     2293rm -f conftest.$ac_objext
     2294if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2295  (eval $ac_compile) 2>conftest.er1
     2296  ac_status=$?
     2297  grep -v '^ *+' conftest.er1 >conftest.err
     2298  rm -f conftest.er1
     2299  cat conftest.err >&5
     2300  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2301  (exit $ac_status); } &&
     2302     { ac_try='test -z "$ac_c_werror_flag"
     2303             || test ! -s conftest.err'
     2304  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2305  (eval $ac_try) 2>&5
     2306  ac_status=$?
     2307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2308  (exit $ac_status); }; } &&
     2309     { ac_try='test -s conftest.$ac_objext'
     2310  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2311  (eval $ac_try) 2>&5
     2312  ac_status=$?
     2313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2314  (exit $ac_status); }; }; then
     2315  :
     2316else
     2317  echo "$as_me: failed program was:" >&5
     2318sed 's/^/| /' conftest.$ac_ext >&5
     2319
     2320continue
     2321fi
     2322rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2323  cat >conftest.$ac_ext <<_ACEOF
     2324/* confdefs.h.  */
     2325_ACEOF
     2326cat confdefs.h >>conftest.$ac_ext
     2327cat >>conftest.$ac_ext <<_ACEOF
     2328/* end confdefs.h.  */
     2329$ac_declaration
     2330int
     2331main ()
     2332{
     2333exit (42);
     2334  ;
     2335  return 0;
     2336}
     2337_ACEOF
     2338rm -f conftest.$ac_objext
     2339if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2340  (eval $ac_compile) 2>conftest.er1
     2341  ac_status=$?
     2342  grep -v '^ *+' conftest.er1 >conftest.err
     2343  rm -f conftest.er1
     2344  cat conftest.err >&5
     2345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2346  (exit $ac_status); } &&
     2347     { ac_try='test -z "$ac_c_werror_flag"
     2348             || test ! -s conftest.err'
     2349  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2350  (eval $ac_try) 2>&5
     2351  ac_status=$?
     2352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2353  (exit $ac_status); }; } &&
     2354     { ac_try='test -s conftest.$ac_objext'
     2355  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2356  (eval $ac_try) 2>&5
     2357  ac_status=$?
     2358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2359  (exit $ac_status); }; }; then
     2360  break
     2361else
     2362  echo "$as_me: failed program was:" >&5
     2363sed 's/^/| /' conftest.$ac_ext >&5
     2364
     2365fi
     2366rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2367done
     2368rm -f conftest*
     2369if test -n "$ac_declaration"; then
     2370  echo '#ifdef __cplusplus' >>confdefs.h
     2371  echo $ac_declaration      >>confdefs.h
     2372  echo '#endif'             >>confdefs.h
     2373fi
     2374
     2375else
     2376  echo "$as_me: failed program was:" >&5
     2377sed 's/^/| /' conftest.$ac_ext >&5
     2378
     2379fi
     2380rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    28002381ac_ext=c
    28012382ac_cpp='$CPP $CPPFLAGS'
     
    28042385ac_compiler_gnu=$ac_cv_c_compiler_gnu
    28052386
    2806 ac_ext=cpp
     2387ac_ext=cc
    28072388ac_cpp='$CXXCPP $CPPFLAGS'
    28082389ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    28092390ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    28102391ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2811 if test -z "$CXX"; then
    2812   if test -n "$CCC"; then
    2813     CXX=$CCC
    2814   else
    2815     if test -n "$ac_tool_prefix"; then
    2816   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2392if test -n "$ac_tool_prefix"; then
     2393  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    28172394  do
    28182395    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    28192396set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2397echo "$as_me:$LINENO: checking for $ac_word" >&5
     2398echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    28222399if test "${ac_cv_prog_CXX+set}" = set; then
    28232400  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28322409  test -z "$as_dir" && as_dir=.
    28332410  for ac_exec_ext in '' $ac_executable_extensions; do
    2834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2411  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28352412    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    28362413    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28392416done
    28402417done
    2841 IFS=$as_save_IFS
    28422418
    28432419fi
     
    28452421CXX=$ac_cv_prog_CXX
    28462422if test -n "$CXX"; then
    2847   { echo "$as_me:$LINENO: result: $CXX" >&5
    2848 echo "${ECHO_T}$CXX" >&6; }
    2849 else
    2850   { echo "$as_me:$LINENO: result: no" >&5
    2851 echo "${ECHO_T}no" >&6; }
    2852 fi
    2853 
     2423  echo "$as_me:$LINENO: result: $CXX" >&5
     2424echo "${ECHO_T}$CXX" >&6
     2425else
     2426  echo "$as_me:$LINENO: result: no" >&5
     2427echo "${ECHO_T}no" >&6
     2428fi
    28542429
    28552430    test -n "$CXX" && break
     
    28582433if test -z "$CXX"; then
    28592434  ac_ct_CXX=$CXX
    2860   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2435  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    28612436do
    28622437  # Extract the first word of "$ac_prog", so it can be a program name with args.
    28632438set dummy $ac_prog; ac_word=$2
    2864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2439echo "$as_me:$LINENO: checking for $ac_word" >&5
     2440echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    28662441if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    28672442  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28762451  test -z "$as_dir" && as_dir=.
    28772452  for ac_exec_ext in '' $ac_executable_extensions; do
    2878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2453  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28792454    ac_cv_prog_ac_ct_CXX="$ac_prog"
    28802455    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28832458done
    28842459done
    2885 IFS=$as_save_IFS
    28862460
    28872461fi
     
    28892463ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    28902464if test -n "$ac_ct_CXX"; then
    2891   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2892 echo "${ECHO_T}$ac_ct_CXX" >&6; }
    2893 else
    2894   { echo "$as_me:$LINENO: result: no" >&5
    2895 echo "${ECHO_T}no" >&6; }
    2896 fi
    2897 
     2465  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2466echo "${ECHO_T}$ac_ct_CXX" >&6
     2467else
     2468  echo "$as_me:$LINENO: result: no" >&5
     2469echo "${ECHO_T}no" >&6
     2470fi
    28982471
    28992472  test -n "$ac_ct_CXX" && break
    29002473done
    2901 
    2902   if test "x$ac_ct_CXX" = x; then
    2903     CXX="g++"
    2904   else
    2905     case $cross_compiling:$ac_tool_warned in
    2906 yes:)
    2907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2908 whose name does not start with the host triplet.  If you think this
    2909 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2911 whose name does not start with the host triplet.  If you think this
    2912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2913 ac_tool_warned=yes ;;
    2914 esac
    2915     CXX=$ac_ct_CXX
    2916   fi
    2917 fi
    2918 
    2919   fi
    2920 fi
     2474test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2475
     2476  CXX=$ac_ct_CXX
     2477fi
     2478
     2479
    29212480# Provide some information about the compiler.
    2922 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     2481echo "$as_me:$LINENO:" \
     2482     "checking for C++ compiler version" >&5
    29232483ac_compiler=`set X $ac_compile; echo $2`
    2924 { (ac_try="$ac_compiler --version >&5"
    2925 case "(($ac_try" in
    2926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2927   *) ac_try_echo=$ac_try;;
    2928 esac
    2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2930   (eval "$ac_compiler --version >&5") 2>&5
     2484{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2485  (eval $ac_compiler --version </dev/null >&5) 2>&5
    29312486  ac_status=$?
    29322487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29332488  (exit $ac_status); }
    2934 { (ac_try="$ac_compiler -v >&5"
    2935 case "(($ac_try" in
    2936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2937   *) ac_try_echo=$ac_try;;
    2938 esac
    2939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2940   (eval "$ac_compiler -v >&5") 2>&5
     2489{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2490  (eval $ac_compiler -v </dev/null >&5) 2>&5
    29412491  ac_status=$?
    29422492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29432493  (exit $ac_status); }
    2944 { (ac_try="$ac_compiler -V >&5"
    2945 case "(($ac_try" in
    2946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2947   *) ac_try_echo=$ac_try;;
    2948 esac
    2949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2950   (eval "$ac_compiler -V >&5") 2>&5
     2494{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2495  (eval $ac_compiler -V </dev/null >&5) 2>&5
    29512496  ac_status=$?
    29522497  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29532498  (exit $ac_status); }
    29542499
    2955 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2956 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
     2500echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2501echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    29572502if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    29582503  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    29772522_ACEOF
    29782523rm -f conftest.$ac_objext
    2979 if { (ac_try="$ac_compile"
    2980 case "(($ac_try" in
    2981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2982   *) ac_try_echo=$ac_try;;
    2983 esac
    2984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2985   (eval "$ac_compile") 2>conftest.er1
     2524if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2525  (eval $ac_compile) 2>conftest.er1
    29862526  ac_status=$?
    29872527  grep -v '^ *+' conftest.er1 >conftest.err
     
    29892529  cat conftest.err >&5
    29902530  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2991   (exit $ac_status); } && {
    2992      test -z "$ac_cxx_werror_flag" ||
    2993      test ! -s conftest.err
    2994        } && test -s conftest.$ac_objext; then
     2531  (exit $ac_status); } &&
     2532     { ac_try='test -z "$ac_cxx_werror_flag"
     2533             || test ! -s conftest.err'
     2534  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2535  (eval $ac_try) 2>&5
     2536  ac_status=$?
     2537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2538  (exit $ac_status); }; } &&
     2539     { ac_try='test -s conftest.$ac_objext'
     2540  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2541  (eval $ac_try) 2>&5
     2542  ac_status=$?
     2543  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2544  (exit $ac_status); }; }; then
    29952545  ac_compiler_gnu=yes
    29962546else
     
    29982548sed 's/^/| /' conftest.$ac_ext >&5
    29992549
    3000     ac_compiler_gnu=no
    3001 fi
    3002 
    3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2550ac_compiler_gnu=no
     2551fi
     2552rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    30042553ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    30052554
    30062555fi
    3007 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3008 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
     2556echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2557echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    30092558GXX=`test $ac_compiler_gnu = yes && echo yes`
    30102559ac_test_CXXFLAGS=${CXXFLAGS+set}
    30112560ac_save_CXXFLAGS=$CXXFLAGS
    3012 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3013 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
     2561CXXFLAGS="-g"
     2562echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2563echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    30142564if test "${ac_cv_prog_cxx_g+set}" = set; then
    30152565  echo $ECHO_N "(cached) $ECHO_C" >&6
    30162566else
    3017   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    3018    ac_cxx_werror_flag=yes
    3019    ac_cv_prog_cxx_g=no
    3020    CXXFLAGS="-g"
    3021    cat >conftest.$ac_ext <<_ACEOF
     2567  cat >conftest.$ac_ext <<_ACEOF
    30222568/* confdefs.h.  */
    30232569_ACEOF
     
    30352581_ACEOF
    30362582rm -f conftest.$ac_objext
    3037 if { (ac_try="$ac_compile"
    3038 case "(($ac_try" in
    3039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3040   *) ac_try_echo=$ac_try;;
    3041 esac
    3042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3043   (eval "$ac_compile") 2>conftest.er1
     2583if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2584  (eval $ac_compile) 2>conftest.er1
    30442585  ac_status=$?
    30452586  grep -v '^ *+' conftest.er1 >conftest.err
     
    30472588  cat conftest.err >&5
    30482589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3049   (exit $ac_status); } && {
    3050      test -z "$ac_cxx_werror_flag" ||
    3051      test ! -s conftest.err
    3052        } && test -s conftest.$ac_objext; then
     2590  (exit $ac_status); } &&
     2591     { ac_try='test -z "$ac_cxx_werror_flag"
     2592             || test ! -s conftest.err'
     2593  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2594  (eval $ac_try) 2>&5
     2595  ac_status=$?
     2596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2597  (exit $ac_status); }; } &&
     2598     { ac_try='test -s conftest.$ac_objext'
     2599  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2600  (eval $ac_try) 2>&5
     2601  ac_status=$?
     2602  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2603  (exit $ac_status); }; }; then
    30532604  ac_cv_prog_cxx_g=yes
    30542605else
     
    30562607sed 's/^/| /' conftest.$ac_ext >&5
    30572608
    3058     CXXFLAGS=""
    3059       cat >conftest.$ac_ext <<_ACEOF
    3060 /* confdefs.h.  */
    3061 _ACEOF
    3062 cat confdefs.h >>conftest.$ac_ext
    3063 cat >>conftest.$ac_ext <<_ACEOF
    3064 /* end confdefs.h.  */
    3065 
    3066 int
    3067 main ()
    3068 {
    3069 
    3070   ;
    3071   return 0;
    3072 }
    3073 _ACEOF
    3074 rm -f conftest.$ac_objext
    3075 if { (ac_try="$ac_compile"
    3076 case "(($ac_try" in
    3077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3078   *) ac_try_echo=$ac_try;;
    3079 esac
    3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3081   (eval "$ac_compile") 2>conftest.er1
    3082   ac_status=$?
    3083   grep -v '^ *+' conftest.er1 >conftest.err
    3084   rm -f conftest.er1
    3085   cat conftest.err >&5
    3086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3087   (exit $ac_status); } && {
    3088      test -z "$ac_cxx_werror_flag" ||
    3089      test ! -s conftest.err
    3090        } && test -s conftest.$ac_objext; then
    3091   :
    3092 else
    3093   echo "$as_me: failed program was:" >&5
    3094 sed 's/^/| /' conftest.$ac_ext >&5
    3095 
    3096     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3097      CXXFLAGS="-g"
    3098      cat >conftest.$ac_ext <<_ACEOF
    3099 /* confdefs.h.  */
    3100 _ACEOF
    3101 cat confdefs.h >>conftest.$ac_ext
    3102 cat >>conftest.$ac_ext <<_ACEOF
    3103 /* end confdefs.h.  */
    3104 
    3105 int
    3106 main ()
    3107 {
    3108 
    3109   ;
    3110   return 0;
    3111 }
    3112 _ACEOF
    3113 rm -f conftest.$ac_objext
    3114 if { (ac_try="$ac_compile"
    3115 case "(($ac_try" in
    3116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3117   *) ac_try_echo=$ac_try;;
    3118 esac
    3119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3120   (eval "$ac_compile") 2>conftest.er1
    3121   ac_status=$?
    3122   grep -v '^ *+' conftest.er1 >conftest.err
    3123   rm -f conftest.er1
    3124   cat conftest.err >&5
    3125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3126   (exit $ac_status); } && {
    3127      test -z "$ac_cxx_werror_flag" ||
    3128      test ! -s conftest.err
    3129        } && test -s conftest.$ac_objext; then
    3130   ac_cv_prog_cxx_g=yes
    3131 else
    3132   echo "$as_me: failed program was:" >&5
    3133 sed 's/^/| /' conftest.$ac_ext >&5
    3134 
    3135 
    3136 fi
    3137 
    3138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3139 fi
    3140 
    3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3142 fi
    3143 
    3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3145    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3146 fi
    3147 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3148 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     2609ac_cv_prog_cxx_g=no
     2610fi
     2611rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2612fi
     2613echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2614echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    31492615if test "$ac_test_CXXFLAGS" = set; then
    31502616  CXXFLAGS=$ac_save_CXXFLAGS
     
    31622628  fi
    31632629fi
     2630for ac_declaration in \
     2631   '' \
     2632   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2633   'extern "C" void std::exit (int); using std::exit;' \
     2634   'extern "C" void exit (int) throw ();' \
     2635   'extern "C" void exit (int);' \
     2636   'void exit (int);'
     2637do
     2638  cat >conftest.$ac_ext <<_ACEOF
     2639/* confdefs.h.  */
     2640_ACEOF
     2641cat confdefs.h >>conftest.$ac_ext
     2642cat >>conftest.$ac_ext <<_ACEOF
     2643/* end confdefs.h.  */
     2644$ac_declaration
     2645#include <stdlib.h>
     2646int
     2647main ()
     2648{
     2649exit (42);
     2650  ;
     2651  return 0;
     2652}
     2653_ACEOF
     2654rm -f conftest.$ac_objext
     2655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2656  (eval $ac_compile) 2>conftest.er1
     2657  ac_status=$?
     2658  grep -v '^ *+' conftest.er1 >conftest.err
     2659  rm -f conftest.er1
     2660  cat conftest.err >&5
     2661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2662  (exit $ac_status); } &&
     2663     { ac_try='test -z "$ac_cxx_werror_flag"
     2664             || test ! -s conftest.err'
     2665  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2666  (eval $ac_try) 2>&5
     2667  ac_status=$?
     2668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2669  (exit $ac_status); }; } &&
     2670     { ac_try='test -s conftest.$ac_objext'
     2671  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2672  (eval $ac_try) 2>&5
     2673  ac_status=$?
     2674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2675  (exit $ac_status); }; }; then
     2676  :
     2677else
     2678  echo "$as_me: failed program was:" >&5
     2679sed 's/^/| /' conftest.$ac_ext >&5
     2680
     2681continue
     2682fi
     2683rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2684  cat >conftest.$ac_ext <<_ACEOF
     2685/* confdefs.h.  */
     2686_ACEOF
     2687cat confdefs.h >>conftest.$ac_ext
     2688cat >>conftest.$ac_ext <<_ACEOF
     2689/* end confdefs.h.  */
     2690$ac_declaration
     2691int
     2692main ()
     2693{
     2694exit (42);
     2695  ;
     2696  return 0;
     2697}
     2698_ACEOF
     2699rm -f conftest.$ac_objext
     2700if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2701  (eval $ac_compile) 2>conftest.er1
     2702  ac_status=$?
     2703  grep -v '^ *+' conftest.er1 >conftest.err
     2704  rm -f conftest.er1
     2705  cat conftest.err >&5
     2706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2707  (exit $ac_status); } &&
     2708     { ac_try='test -z "$ac_cxx_werror_flag"
     2709             || test ! -s conftest.err'
     2710  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2711  (eval $ac_try) 2>&5
     2712  ac_status=$?
     2713  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2714  (exit $ac_status); }; } &&
     2715     { ac_try='test -s conftest.$ac_objext'
     2716  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2717  (eval $ac_try) 2>&5
     2718  ac_status=$?
     2719  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2720  (exit $ac_status); }; }; then
     2721  break
     2722else
     2723  echo "$as_me: failed program was:" >&5
     2724sed 's/^/| /' conftest.$ac_ext >&5
     2725
     2726fi
     2727rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2728done
     2729rm -f conftest*
     2730if test -n "$ac_declaration"; then
     2731  echo '#ifdef __cplusplus' >>confdefs.h
     2732  echo $ac_declaration      >>confdefs.h
     2733  echo '#endif'             >>confdefs.h
     2734fi
     2735
    31642736ac_ext=c
    31652737ac_cpp='$CPP $CPPFLAGS'
     
    31722744  # Extract the first word of "$ac_prog", so it can be a program name with args.
    31732745set dummy $ac_prog; ac_word=$2
    3174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2746echo "$as_me:$LINENO: checking for $ac_word" >&5
     2747echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    31762748if test "${ac_cv_prog_AWK+set}" = set; then
    31772749  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    31862758  test -z "$as_dir" && as_dir=.
    31872759  for ac_exec_ext in '' $ac_executable_extensions; do
    3188   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2760  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    31892761    ac_cv_prog_AWK="$ac_prog"
    31902762    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    31932765done
    31942766done
    3195 IFS=$as_save_IFS
    31962767
    31972768fi
     
    31992770AWK=$ac_cv_prog_AWK
    32002771if test -n "$AWK"; then
    3201   { echo "$as_me:$LINENO: result: $AWK" >&5
    3202 echo "${ECHO_T}$AWK" >&6; }
    3203 else
    3204   { echo "$as_me:$LINENO: result: no" >&5
    3205 echo "${ECHO_T}no" >&6; }
    3206 fi
    3207 
     2772  echo "$as_me:$LINENO: result: $AWK" >&5
     2773echo "${ECHO_T}$AWK" >&6
     2774else
     2775  echo "$as_me:$LINENO: result: no" >&5
     2776echo "${ECHO_T}no" >&6
     2777fi
    32082778
    32092779  test -n "$AWK" && break
     
    32142784  # Extract the first word of "$ac_prog", so it can be a program name with args.
    32152785set dummy $ac_prog; ac_word=$2
    3216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2786echo "$as_me:$LINENO: checking for $ac_word" >&5
     2787echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    32182788if test "${ac_cv_prog_YACC+set}" = set; then
    32192789  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    32282798  test -z "$as_dir" && as_dir=.
    32292799  for ac_exec_ext in '' $ac_executable_extensions; do
    3230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2800  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    32312801    ac_cv_prog_YACC="$ac_prog"
    32322802    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    32352805done
    32362806done
    3237 IFS=$as_save_IFS
    32382807
    32392808fi
     
    32412810YACC=$ac_cv_prog_YACC
    32422811if test -n "$YACC"; then
    3243   { echo "$as_me:$LINENO: result: $YACC" >&5
    3244 echo "${ECHO_T}$YACC" >&6; }
    3245 else
    3246   { echo "$as_me:$LINENO: result: no" >&5
    3247 echo "${ECHO_T}no" >&6; }
    3248 fi
    3249 
     2812  echo "$as_me:$LINENO: result: $YACC" >&5
     2813echo "${ECHO_T}$YACC" >&6
     2814else
     2815  echo "$as_me:$LINENO: result: no" >&5
     2816echo "${ECHO_T}no" >&6
     2817fi
    32502818
    32512819  test -n "$YACC" && break
     
    32542822
    32552823ac_aux_dir=
    3256 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    3257   if test -f "$ac_dir/install-sh"; then
     2824for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     2825  if test -f $ac_dir/install-sh; then
    32582826    ac_aux_dir=$ac_dir
    32592827    ac_install_sh="$ac_aux_dir/install-sh -c"
    32602828    break
    3261   elif test -f "$ac_dir/install.sh"; then
     2829  elif test -f $ac_dir/install.sh; then
    32622830    ac_aux_dir=$ac_dir
    32632831    ac_install_sh="$ac_aux_dir/install.sh -c"
    32642832    break
    3265   elif test -f "$ac_dir/shtool"; then
     2833  elif test -f $ac_dir/shtool; then
    32662834    ac_aux_dir=$ac_dir
    32672835    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    32702838done
    32712839if test -z "$ac_aux_dir"; then
    3272   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    3273 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
     2840  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     2841echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    32742842   { (exit 1); exit 1; }; }
    32752843fi
    3276 
    3277 # These three variables are undocumented and unsupported,
    3278 # and are intended to be withdrawn in a future Autoconf release.
    3279 # They can cause serious problems if a builder's source tree is in a directory
    3280 # whose full name contains unusual characters.
    3281 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    3282 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    3283 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    3284 
     2844ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     2845ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     2846ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    32852847
    32862848# Make sure we can run config.sub.
    3287 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    3288   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
    3289 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
     2849$ac_config_sub sun4 >/dev/null 2>&1 ||
     2850  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
     2851echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    32902852   { (exit 1); exit 1; }; }
    32912853
    3292 { echo "$as_me:$LINENO: checking build system type" >&5
    3293 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
     2854echo "$as_me:$LINENO: checking build system type" >&5
     2855echo $ECHO_N "checking build system type... $ECHO_C" >&6
    32942856if test "${ac_cv_build+set}" = set; then
    32952857  echo $ECHO_N "(cached) $ECHO_C" >&6
    32962858else
    3297   ac_build_alias=$build_alias
    3298 test "x$ac_build_alias" = x &&
    3299   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    3300 test "x$ac_build_alias" = x &&
     2859  ac_cv_build_alias=$build_alias
     2860test -z "$ac_cv_build_alias" &&
     2861  ac_cv_build_alias=`$ac_config_guess`
     2862test -z "$ac_cv_build_alias" &&
    33012863  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    33022864echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    33032865   { (exit 1); exit 1; }; }
    3304 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    3305   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
    3306 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
     2866ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     2867  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
     2868echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
    33072869   { (exit 1); exit 1; }; }
    33082870
    33092871fi
    3310 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    3311 echo "${ECHO_T}$ac_cv_build" >&6; }
    3312 case $ac_cv_build in
    3313 *-*-*) ;;
    3314 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
    3315 echo "$as_me: error: invalid value of canonical build" >&2;}
    3316    { (exit 1); exit 1; }; };;
    3317 esac
     2872echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     2873echo "${ECHO_T}$ac_cv_build" >&6
    33182874build=$ac_cv_build
    3319 ac_save_IFS=$IFS; IFS='-'
    3320 set x $ac_cv_build
    3321 shift
    3322 build_cpu=$1
    3323 build_vendor=$2
    3324 shift; shift
    3325 # Remember, the first character of IFS is used to create $*,
    3326 # except with old shells:
    3327 build_os=$*
    3328 IFS=$ac_save_IFS
    3329 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    3330 
    3331 
    3332 { echo "$as_me:$LINENO: checking host system type" >&5
    3333 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
     2875build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     2876build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     2877build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     2878
     2879
     2880echo "$as_me:$LINENO: checking host system type" >&5
     2881echo $ECHO_N "checking host system type... $ECHO_C" >&6
    33342882if test "${ac_cv_host+set}" = set; then
    33352883  echo $ECHO_N "(cached) $ECHO_C" >&6
    33362884else
    3337   if test "x$host_alias" = x; then
    3338   ac_cv_host=$ac_cv_build
    3339 else
    3340   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    3341     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
    3342 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
     2885  ac_cv_host_alias=$host_alias
     2886test -z "$ac_cv_host_alias" &&
     2887  ac_cv_host_alias=$ac_cv_build_alias
     2888ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     2889  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     2890echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    33432891   { (exit 1); exit 1; }; }
    3344 fi
    3345 
    3346 fi
    3347 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    3348 echo "${ECHO_T}$ac_cv_host" >&6; }
    3349 case $ac_cv_host in
    3350 *-*-*) ;;
    3351 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
    3352 echo "$as_me: error: invalid value of canonical host" >&2;}
    3353    { (exit 1); exit 1; }; };;
    3354 esac
     2892
     2893fi
     2894echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     2895echo "${ECHO_T}$ac_cv_host" >&6
    33552896host=$ac_cv_host
    3356 ac_save_IFS=$IFS; IFS='-'
    3357 set x $ac_cv_host
    3358 shift
    3359 host_cpu=$1
    3360 host_vendor=$2
    3361 shift; shift
    3362 # Remember, the first character of IFS is used to create $*,
    3363 # except with old shells:
    3364 host_os=$*
    3365 IFS=$ac_save_IFS
    3366 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    3367 
    3368 
    3369 { echo "$as_me:$LINENO: checking target system type" >&5
    3370 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
     2897host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     2898host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     2899host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     2900
     2901
     2902echo "$as_me:$LINENO: checking target system type" >&5
     2903echo $ECHO_N "checking target system type... $ECHO_C" >&6
    33712904if test "${ac_cv_target+set}" = set; then
    33722905  echo $ECHO_N "(cached) $ECHO_C" >&6
    33732906else
    3374   if test "x$target_alias" = x; then
    3375   ac_cv_target=$ac_cv_host
    3376 else
    3377   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    3378     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
    3379 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
     2907  ac_cv_target_alias=$target_alias
     2908test "x$ac_cv_target_alias" = "x" &&
     2909  ac_cv_target_alias=$ac_cv_host_alias
     2910ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
     2911  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     2912echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
    33802913   { (exit 1); exit 1; }; }
    3381 fi
    3382 
    3383 fi
    3384 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    3385 echo "${ECHO_T}$ac_cv_target" >&6; }
    3386 case $ac_cv_target in
    3387 *-*-*) ;;
    3388 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
    3389 echo "$as_me: error: invalid value of canonical target" >&2;}
    3390    { (exit 1); exit 1; }; };;
    3391 esac
     2914
     2915fi
     2916echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     2917echo "${ECHO_T}$ac_cv_target" >&6
    33922918target=$ac_cv_target
    3393 ac_save_IFS=$IFS; IFS='-'
    3394 set x $ac_cv_target
    3395 shift
    3396 target_cpu=$1
    3397 target_vendor=$2
    3398 shift; shift
    3399 # Remember, the first character of IFS is used to create $*,
    3400 # except with old shells:
    3401 target_os=$*
    3402 IFS=$ac_save_IFS
    3403 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
     2919target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     2920target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     2921target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    34042922
    34052923
     
    34232941# OS/2's system install, which has a completely different semantic
    34242942# ./install, which can be erroneously created by make from ./install.sh.
    3425 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3426 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
     2943echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2944echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    34272945if test -z "$INSTALL"; then
    34282946if test "${ac_cv_path_install+set}" = set; then
     
    34462964    for ac_prog in ginstall scoinst install; do
    34472965      for ac_exec_ext in '' $ac_executable_extensions; do
    3448     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     2966    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    34492967      if test $ac_prog = install &&
    34502968        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    34652983esac
    34662984done
    3467 IFS=$as_save_IFS
    34682985
    34692986
     
    34722989    INSTALL=$ac_cv_path_install
    34732990  else
    3474     # As a last resort, use the slow shell script.  Don't cache a
    3475     # value for INSTALL within a source directory, because that will
     2991    # As a last resort, use the slow shell script.  We don't cache a
     2992    # path for INSTALL within a source directory, because that will
    34762993    # break other packages using the cache if that directory is
    3477     # removed, or if the value is a relative name.
     2994    # removed, or if the path is relative.
    34782995    INSTALL=$ac_install_sh
    34792996  fi
    34802997fi
    3481 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    3482 echo "${ECHO_T}$INSTALL" >&6; }
     2998echo "$as_me:$LINENO: result: $INSTALL" >&5
     2999echo "${ECHO_T}$INSTALL" >&6
    34833000
    34843001# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    34903007test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    34913008
    3492 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3493 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
     3009echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3010echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    34943011LN_S=$as_ln_s
    34953012if test "$LN_S" = "ln -s"; then
    3496   { echo "$as_me:$LINENO: result: yes" >&5
    3497 echo "${ECHO_T}yes" >&6; }
    3498 else
    3499   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3500 echo "${ECHO_T}no, using $LN_S" >&6; }
    3501 fi
    3502 
    3503 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3504 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
    3505 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    3506 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     3013  echo "$as_me:$LINENO: result: yes" >&5
     3014echo "${ECHO_T}yes" >&6
     3015else
     3016  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3017echo "${ECHO_T}no, using $LN_S" >&6
     3018fi
     3019
     3020echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3021echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3022set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     3023if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    35073024  echo $ECHO_N "(cached) $ECHO_C" >&6
    35083025else
    35093026  cat >conftest.make <<\_ACEOF
    3510 SHELL = /bin/sh
    35113027all:
    3512     @echo '@@@%%%=$(MAKE)=@@@%%%'
     3028    @echo 'ac_maketemp="$(MAKE)"'
    35133029_ACEOF
    35143030# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3515 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    3516   *@@@%%%=?*=@@@%%%*)
    3517     eval ac_cv_prog_make_${ac_make}_set=yes;;
    3518   *)
    3519     eval ac_cv_prog_make_${ac_make}_set=no;;
    3520 esac
     3031eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3032if test -n "$ac_maketemp"; then
     3033  eval ac_cv_prog_make_${ac_make}_set=yes
     3034else
     3035  eval ac_cv_prog_make_${ac_make}_set=no
     3036fi
    35213037rm -f conftest.make
    35223038fi
    3523 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    3524   { echo "$as_me:$LINENO: result: yes" >&5
    3525 echo "${ECHO_T}yes" >&6; }
     3039if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3040  echo "$as_me:$LINENO: result: yes" >&5
     3041echo "${ECHO_T}yes" >&6
    35263042  SET_MAKE=
    35273043else
    3528   { echo "$as_me:$LINENO: result: no" >&5
    3529 echo "${ECHO_T}no" >&6; }
     3044  echo "$as_me:$LINENO: result: no" >&5
     3045echo "${ECHO_T}no" >&6
    35303046  SET_MAKE="MAKE=${MAKE-make}"
    35313047fi
     
    35343050  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    35353051set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3052echo "$as_me:$LINENO: checking for $ac_word" >&5
     3053echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    35383054if test "${ac_cv_prog_RANLIB+set}" = set; then
    35393055  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    35483064  test -z "$as_dir" && as_dir=.
    35493065  for ac_exec_ext in '' $ac_executable_extensions; do
    3550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3066  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35513067    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    35523068    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    35553071done
    35563072done
    3557 IFS=$as_save_IFS
    35583073
    35593074fi
     
    35613076RANLIB=$ac_cv_prog_RANLIB
    35623077if test -n "$RANLIB"; then
    3563   { echo "$as_me:$LINENO: result: $RANLIB" >&5
    3564 echo "${ECHO_T}$RANLIB" >&6; }
    3565 else
    3566   { echo "$as_me:$LINENO: result: no" >&5
    3567 echo "${ECHO_T}no" >&6; }
    3568 fi
    3569 
     3078  echo "$as_me:$LINENO: result: $RANLIB" >&5
     3079echo "${ECHO_T}$RANLIB" >&6
     3080else
     3081  echo "$as_me:$LINENO: result: no" >&5
     3082echo "${ECHO_T}no" >&6
     3083fi
    35703084
    35713085fi
     
    35743088  # Extract the first word of "ranlib", so it can be a program name with args.
    35753089set dummy ranlib; ac_word=$2
    3576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3090echo "$as_me:$LINENO: checking for $ac_word" >&5
     3091echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    35783092if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    35793093  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    35883102  test -z "$as_dir" && as_dir=.
    35893103  for ac_exec_ext in '' $ac_executable_extensions; do
    3590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3104  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35913105    ac_cv_prog_ac_ct_RANLIB="ranlib"
    35923106    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    35953109done
    35963110done
    3597 IFS=$as_save_IFS
    3598 
     3111
     3112  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    35993113fi
    36003114fi
    36013115ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    36023116if test -n "$ac_ct_RANLIB"; then
    3603   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3604 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
    3605 else
    3606   { echo "$as_me:$LINENO: result: no" >&5
    3607 echo "${ECHO_T}no" >&6; }
    3608 fi
    3609 
    3610   if test "x$ac_ct_RANLIB" = x; then
    3611     RANLIB=":"
    3612   else
    3613     case $cross_compiling:$ac_tool_warned in
    3614 yes:)
    3615 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3616 whose name does not start with the host triplet.  If you think this
    3617 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3618 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3619 whose name does not start with the host triplet.  If you think this
    3620 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    3621 ac_tool_warned=yes ;;
    3622 esac
    3623     RANLIB=$ac_ct_RANLIB
    3624   fi
     3117  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3118echo "${ECHO_T}$ac_ct_RANLIB" >&6
     3119else
     3120  echo "$as_me:$LINENO: result: no" >&5
     3121echo "${ECHO_T}no" >&6
     3122fi
     3123
     3124  RANLIB=$ac_ct_RANLIB
    36253125else
    36263126  RANLIB="$ac_cv_prog_RANLIB"
     
    36283128
    36293129
    3630 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3631 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
     3130echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3131echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
    36323132arch_64bit=no
    36333133case "$host_cpu" in
     
    36363136
    36373137if test "$arch_64bit" = yes; then
    3638   { echo "$as_me:$LINENO: result: yes" >&5
    3639 echo "${ECHO_T}yes" >&6; }
     3138  echo "$as_me:$LINENO: result: yes" >&5
     3139echo "${ECHO_T}yes" >&6
    36403140  if test -z "$COMPAT32BITFLAGS" ; then
    36413141    COMPAT32BITFLAGS="-m32"
    36423142  fi
    36433143else
    3644   { echo "$as_me:$LINENO: result: no" >&5
    3645 echo "${ECHO_T}no" >&6; }
     3144  echo "$as_me:$LINENO: result: no" >&5
     3145echo "${ECHO_T}no" >&6
    36463146  if test -z "$COMPAT32BITFLAGS" ; then
    36473147    COMPAT32BITFLAGS=
     
    36903190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    36913191ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3692 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3693 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     3192echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3193echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    36943194# On Suns, sometimes $CPP names a directory.
    36953195if test -n "$CPP" && test -d "$CPP"; then
     
    37253225             Syntax error
    37263226_ACEOF
    3727 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3728 case "(($ac_try" in
    3729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3730   *) ac_try_echo=$ac_try;;
    3731 esac
    3732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3733   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3227if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3228  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    37343229  ac_status=$?
    37353230  grep -v '^ *+' conftest.er1 >conftest.err
     
    37373232  cat conftest.err >&5
    37383233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3739   (exit $ac_status); } >/dev/null && {
    3740      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3741      test ! -s conftest.err
    3742        }; then
     3234  (exit $ac_status); } >/dev/null; then
     3235  if test -s conftest.err; then
     3236    ac_cpp_err=$ac_c_preproc_warn_flag
     3237    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3238  else
     3239    ac_cpp_err=
     3240  fi
     3241else
     3242  ac_cpp_err=yes
     3243fi
     3244if test -z "$ac_cpp_err"; then
    37433245  :
    37443246else
     
    37493251continue
    37503252fi
    3751 
    37523253rm -f conftest.err conftest.$ac_ext
    37533254
    3754   # OK, works on sane cases.  Now check whether nonexistent headers
     3255  # OK, works on sane cases.  Now check whether non-existent headers
    37553256  # can be detected and how.
    37563257  cat >conftest.$ac_ext <<_ACEOF
     
    37623263#include <ac_nonexistent.h>
    37633264_ACEOF
    3764 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3765 case "(($ac_try" in
    3766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3767   *) ac_try_echo=$ac_try;;
    3768 esac
    3769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3770   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3265if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3266  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    37713267  ac_status=$?
    37723268  grep -v '^ *+' conftest.er1 >conftest.err
     
    37743270  cat conftest.err >&5
    37753271  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3776   (exit $ac_status); } >/dev/null && {
    3777      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3778      test ! -s conftest.err
    3779        }; then
     3272  (exit $ac_status); } >/dev/null; then
     3273  if test -s conftest.err; then
     3274    ac_cpp_err=$ac_c_preproc_warn_flag
     3275    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3276  else
     3277    ac_cpp_err=
     3278  fi
     3279else
     3280  ac_cpp_err=yes
     3281fi
     3282if test -z "$ac_cpp_err"; then
    37803283  # Broken: success on invalid input.
    37813284continue
     
    37883291break
    37893292fi
    3790 
    37913293rm -f conftest.err conftest.$ac_ext
    37923294
     
    38063308  ac_cv_prog_CPP=$CPP
    38073309fi
    3808 { echo "$as_me:$LINENO: result: $CPP" >&5
    3809 echo "${ECHO_T}$CPP" >&6; }
     3310echo "$as_me:$LINENO: result: $CPP" >&5
     3311echo "${ECHO_T}$CPP" >&6
    38103312ac_preproc_ok=false
    38113313for ac_c_preproc_warn_flag in '' yes
     
    38303332             Syntax error
    38313333_ACEOF
    3832 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3833 case "(($ac_try" in
    3834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3835   *) ac_try_echo=$ac_try;;
    3836 esac
    3837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3838   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3334if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3335  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    38393336  ac_status=$?
    38403337  grep -v '^ *+' conftest.er1 >conftest.err
     
    38423339  cat conftest.err >&5
    38433340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3844   (exit $ac_status); } >/dev/null && {
    3845      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3846      test ! -s conftest.err
    3847        }; then
     3341  (exit $ac_status); } >/dev/null; then
     3342  if test -s conftest.err; then
     3343    ac_cpp_err=$ac_c_preproc_warn_flag
     3344    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3345  else
     3346    ac_cpp_err=
     3347  fi
     3348else
     3349  ac_cpp_err=yes
     3350fi
     3351if test -z "$ac_cpp_err"; then
    38483352  :
    38493353else
     
    38543358continue
    38553359fi
    3856 
    38573360rm -f conftest.err conftest.$ac_ext
    38583361
    3859   # OK, works on sane cases.  Now check whether nonexistent headers
     3362  # OK, works on sane cases.  Now check whether non-existent headers
    38603363  # can be detected and how.
    38613364  cat >conftest.$ac_ext <<_ACEOF
     
    38673370#include <ac_nonexistent.h>
    38683371_ACEOF
    3869 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3870 case "(($ac_try" in
    3871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3872   *) ac_try_echo=$ac_try;;
    3873 esac
    3874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3875   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3372if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3373  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    38763374  ac_status=$?
    38773375  grep -v '^ *+' conftest.er1 >conftest.err
     
    38793377  cat conftest.err >&5
    38803378  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3881   (exit $ac_status); } >/dev/null && {
    3882      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3883      test ! -s conftest.err
    3884        }; then
     3379  (exit $ac_status); } >/dev/null; then
     3380  if test -s conftest.err; then
     3381    ac_cpp_err=$ac_c_preproc_warn_flag
     3382    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3383  else
     3384    ac_cpp_err=
     3385  fi
     3386else
     3387  ac_cpp_err=yes
     3388fi
     3389if test -z "$ac_cpp_err"; then
    38853390  # Broken: success on invalid input.
    38863391continue
     
    38933398break
    38943399fi
    3895 
    38963400rm -f conftest.err conftest.$ac_ext
    38973401
     
    39163420
    39173421
    3918 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    3919 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    3920 if test "${ac_cv_path_GREP+set}" = set; then
     3422echo "$as_me:$LINENO: checking for egrep" >&5
     3423echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3424if test "${ac_cv_prog_egrep+set}" = set; then
    39213425  echo $ECHO_N "(cached) $ECHO_C" >&6
    39223426else
    3923   # Extract the first word of "grep ggrep" to use in msg output
    3924 if test -z "$GREP"; then
    3925 set dummy grep ggrep; ac_prog_name=$2
    3926 if test "${ac_cv_path_GREP+set}" = set; then
    3927   echo $ECHO_N "(cached) $ECHO_C" >&6
    3928 else
    3929   ac_path_GREP_found=false
    3930 # Loop through the user's path and test for each of PROGNAME-LIST
    3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3932 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    3933 do
    3934   IFS=$as_save_IFS
    3935   test -z "$as_dir" && as_dir=.
    3936   for ac_prog in grep ggrep; do
    3937   for ac_exec_ext in '' $ac_executable_extensions; do
    3938     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3939     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    3940     # Check for GNU ac_path_GREP and select it if it is found.
    3941   # Check for GNU $ac_path_GREP
    3942 case `"$ac_path_GREP" --version 2>&1` in
    3943 *GNU*)
    3944   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    3945 *)
    3946   ac_count=0
    3947   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    3948   while :
    3949   do
    3950     cat "conftest.in" "conftest.in" >"conftest.tmp"
    3951     mv "conftest.tmp" "conftest.in"
    3952     cp "conftest.in" "conftest.nl"
    3953     echo 'GREP' >> "conftest.nl"
    3954     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    3955     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3956     ac_count=`expr $ac_count + 1`
    3957     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    3958       # Best one so far, save it but keep looking for a better one
    3959       ac_cv_path_GREP="$ac_path_GREP"
    3960       ac_path_GREP_max=$ac_count
     3427  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3428    then ac_cv_prog_egrep='grep -E'
     3429    else ac_cv_prog_egrep='egrep'
    39613430    fi
    3962     # 10*(2^10) chars as input seems more than enough
    3963     test $ac_count -gt 10 && break
    3964   done
    3965   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    3966 esac
    3967 
    3968 
    3969     $ac_path_GREP_found && break 3
    3970   done
    3971 done
    3972 
    3973 done
    3974 IFS=$as_save_IFS
    3975 
    3976 
    3977 fi
    3978 
    3979 GREP="$ac_cv_path_GREP"
    3980 if test -z "$GREP"; then
    3981   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3982 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3983    { (exit 1); exit 1; }; }
    3984 fi
    3985 
    3986 else
    3987   ac_cv_path_GREP=$GREP
    3988 fi
    3989 
    3990 
    3991 fi
    3992 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    3993 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
    3994  GREP="$ac_cv_path_GREP"
    3995 
    3996 
    3997 { echo "$as_me:$LINENO: checking for egrep" >&5
    3998 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
    3999 if test "${ac_cv_path_EGREP+set}" = set; then
    4000   echo $ECHO_N "(cached) $ECHO_C" >&6
    4001 else
    4002   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    4003    then ac_cv_path_EGREP="$GREP -E"
    4004    else
    4005      # Extract the first word of "egrep" to use in msg output
    4006 if test -z "$EGREP"; then
    4007 set dummy egrep; ac_prog_name=$2
    4008 if test "${ac_cv_path_EGREP+set}" = set; then
    4009   echo $ECHO_N "(cached) $ECHO_C" >&6
    4010 else
    4011   ac_path_EGREP_found=false
    4012 # Loop through the user's path and test for each of PROGNAME-LIST
    4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4014 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4015 do
    4016   IFS=$as_save_IFS
    4017   test -z "$as_dir" && as_dir=.
    4018   for ac_prog in egrep; do
    4019   for ac_exec_ext in '' $ac_executable_extensions; do
    4020     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4021     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4022     # Check for GNU ac_path_EGREP and select it if it is found.
    4023   # Check for GNU $ac_path_EGREP
    4024 case `"$ac_path_EGREP" --version 2>&1` in
    4025 *GNU*)
    4026   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4027 *)
    4028   ac_count=0
    4029   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    4030   while :
    4031   do
    4032     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4033     mv "conftest.tmp" "conftest.in"
    4034     cp "conftest.in" "conftest.nl"
    4035     echo 'EGREP' >> "conftest.nl"
    4036     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4037     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4038     ac_count=`expr $ac_count + 1`
    4039     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4040       # Best one so far, save it but keep looking for a better one
    4041       ac_cv_path_EGREP="$ac_path_EGREP"
    4042       ac_path_EGREP_max=$ac_count
    4043     fi
    4044     # 10*(2^10) chars as input seems more than enough
    4045     test $ac_count -gt 10 && break
    4046   done
    4047   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4048 esac
    4049 
    4050 
    4051     $ac_path_EGREP_found && break 3
    4052   done
    4053 done
    4054 
    4055 done
    4056 IFS=$as_save_IFS
    4057 
    4058 
    4059 fi
    4060 
    4061 EGREP="$ac_cv_path_EGREP"
    4062 if test -z "$EGREP"; then
    4063   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4064 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4065    { (exit 1); exit 1; }; }
    4066 fi
    4067 
    4068 else
    4069   ac_cv_path_EGREP=$EGREP
    4070 fi
    4071 
    4072 
    4073    fi
    4074 fi
    4075 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    4076 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
    4077  EGREP="$ac_cv_path_EGREP"
    4078 
    4079 
    4080 
    4081 { echo "$as_me:$LINENO: checking for AIX" >&5
    4082 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
     3431fi
     3432echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3433echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3434 EGREP=$ac_cv_prog_egrep
     3435
     3436
     3437
     3438echo "$as_me:$LINENO: checking for AIX" >&5
     3439echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    40833440cat >conftest.$ac_ext <<_ACEOF
    40843441/* confdefs.h.  */
     
    40943451if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    40953452  $EGREP "yes" >/dev/null 2>&1; then
    4096   { echo "$as_me:$LINENO: result: yes" >&5
    4097 echo "${ECHO_T}yes" >&6; }
     3453  echo "$as_me:$LINENO: result: yes" >&5
     3454echo "${ECHO_T}yes" >&6
    40983455cat >>confdefs.h <<\_ACEOF
    40993456#define _ALL_SOURCE 1
     
    41013458
    41023459else
    4103   { echo "$as_me:$LINENO: result: no" >&5
    4104 echo "${ECHO_T}no" >&6; }
     3460  echo "$as_me:$LINENO: result: no" >&5
     3461echo "${ECHO_T}no" >&6
    41053462fi
    41063463rm -f conftest*
    41073464
    41083465
    4109 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
    4110 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
     3466echo "$as_me:$LINENO: checking for library containing strerror" >&5
     3467echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
    41113468if test "${ac_cv_search_strerror+set}" = set; then
    41123469  echo $ECHO_N "(cached) $ECHO_C" >&6
    41133470else
    41143471  ac_func_search_save_LIBS=$LIBS
     3472ac_cv_search_strerror=no
    41153473cat >conftest.$ac_ext <<_ACEOF
    41163474/* confdefs.h.  */
     
    41203478/* end confdefs.h.  */
    41213479
    4122 /* Override any GCC internal prototype to avoid an error.
    4123    Use char because int might match the return type of a GCC
    4124    builtin and then its argument prototype would still apply.  */
     3480/* Override any gcc2 internal prototype to avoid an error.  */
    41253481#ifdef __cplusplus
    41263482extern "C"
    41273483#endif
     3484/* We use char because int might match the return type of a gcc2
     3485   builtin and then its argument prototype would still apply.  */
    41283486char strerror ();
    41293487int
    41303488main ()
    41313489{
    4132 return strerror ();
     3490strerror ();
    41333491  ;
    41343492  return 0;
    41353493}
    41363494_ACEOF
    4137 for ac_lib in '' cposix; do
    4138   if test -z "$ac_lib"; then
    4139     ac_res="none required"
    4140   else
    4141     ac_res=-l$ac_lib
    4142     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4143   fi
    4144   rm -f conftest.$ac_objext conftest$ac_exeext
    4145 if { (ac_try="$ac_link"
    4146 case "(($ac_try" in
    4147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4148   *) ac_try_echo=$ac_try;;
    4149 esac
    4150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4151   (eval "$ac_link") 2>conftest.er1
     3495rm -f conftest.$ac_objext conftest$ac_exeext
     3496if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3497  (eval $ac_link) 2>conftest.er1
    41523498  ac_status=$?
    41533499  grep -v '^ *+' conftest.er1 >conftest.err
     
    41553501  cat conftest.err >&5
    41563502  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4157   (exit $ac_status); } && {
    4158      test -z "$ac_c_werror_flag" ||
    4159      test ! -s conftest.err
    4160        } && test -s conftest$ac_exeext &&
    4161        $as_test_x conftest$ac_exeext; then
    4162   ac_cv_search_strerror=$ac_res
     3503  (exit $ac_status); } &&
     3504     { ac_try='test -z "$ac_c_werror_flag"
     3505             || test ! -s conftest.err'
     3506  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3507  (eval $ac_try) 2>&5
     3508  ac_status=$?
     3509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3510  (exit $ac_status); }; } &&
     3511     { ac_try='test -s conftest$ac_exeext'
     3512  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3513  (eval $ac_try) 2>&5
     3514  ac_status=$?
     3515  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3516  (exit $ac_status); }; }; then
     3517  ac_cv_search_strerror="none required"
    41633518else
    41643519  echo "$as_me: failed program was:" >&5
    41653520sed 's/^/| /' conftest.$ac_ext >&5
    41663521
    4167 
    4168 fi
    4169 
    4170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4171       conftest$ac_exeext
    4172   if test "${ac_cv_search_strerror+set}" = set; then
    4173   break
    4174 fi
    4175 done
    4176 if test "${ac_cv_search_strerror+set}" = set; then
    4177   :
    4178 else
    4179   ac_cv_search_strerror=no
    4180 fi
    4181 rm conftest.$ac_ext
     3522fi
     3523rm -f conftest.err conftest.$ac_objext \
     3524      conftest$ac_exeext conftest.$ac_ext
     3525if test "$ac_cv_search_strerror" = no; then
     3526  for ac_lib in cposix; do
     3527    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     3528    cat >conftest.$ac_ext <<_ACEOF
     3529/* confdefs.h.  */
     3530_ACEOF
     3531cat confdefs.h >>conftest.$ac_ext
     3532cat >>conftest.$ac_ext <<_ACEOF
     3533/* end confdefs.h.  */
     3534
     3535/* Override any gcc2 internal prototype to avoid an error.  */
     3536#ifdef __cplusplus
     3537extern "C"
     3538#endif
     3539/* We use char because int might match the return type of a gcc2
     3540   builtin and then its argument prototype would still apply.  */
     3541char strerror ();
     3542int
     3543main ()
     3544{
     3545strerror ();
     3546  ;
     3547  return 0;
     3548}
     3549_ACEOF
     3550rm -f conftest.$ac_objext conftest$ac_exeext
     3551if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3552  (eval $ac_link) 2>conftest.er1
     3553  ac_status=$?
     3554  grep -v '^ *+' conftest.er1 >conftest.err
     3555  rm -f conftest.er1
     3556  cat conftest.err >&5
     3557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3558  (exit $ac_status); } &&
     3559     { ac_try='test -z "$ac_c_werror_flag"
     3560             || test ! -s conftest.err'
     3561  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3562  (eval $ac_try) 2>&5
     3563  ac_status=$?
     3564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3565  (exit $ac_status); }; } &&
     3566     { ac_try='test -s conftest$ac_exeext'
     3567  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3568  (eval $ac_try) 2>&5
     3569  ac_status=$?
     3570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3571  (exit $ac_status); }; }; then
     3572  ac_cv_search_strerror="-l$ac_lib"
     3573break
     3574else
     3575  echo "$as_me: failed program was:" >&5
     3576sed 's/^/| /' conftest.$ac_ext >&5
     3577
     3578fi
     3579rm -f conftest.err conftest.$ac_objext \
     3580      conftest$ac_exeext conftest.$ac_ext
     3581  done
     3582fi
    41823583LIBS=$ac_func_search_save_LIBS
    41833584fi
    4184 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    4185 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
    4186 ac_res=$ac_cv_search_strerror
    4187 if test "$ac_res" != no; then
    4188   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    4189 
    4190 fi
    4191 
    4192 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4193 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
     3585echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     3586echo "${ECHO_T}$ac_cv_search_strerror" >&6
     3587if test "$ac_cv_search_strerror" != no; then
     3588  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
     3589
     3590fi
     3591
     3592echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3593echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    41943594if test "${ac_cv_header_stdc+set}" = set; then
    41953595  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42153615_ACEOF
    42163616rm -f conftest.$ac_objext
    4217 if { (ac_try="$ac_compile"
    4218 case "(($ac_try" in
    4219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4220   *) ac_try_echo=$ac_try;;
    4221 esac
    4222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4223   (eval "$ac_compile") 2>conftest.er1
     3617if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3618  (eval $ac_compile) 2>conftest.er1
    42243619  ac_status=$?
    42253620  grep -v '^ *+' conftest.er1 >conftest.err
     
    42273622  cat conftest.err >&5
    42283623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4229   (exit $ac_status); } && {
    4230      test -z "$ac_c_werror_flag" ||
    4231      test ! -s conftest.err
    4232        } && test -s conftest.$ac_objext; then
     3624  (exit $ac_status); } &&
     3625     { ac_try='test -z "$ac_c_werror_flag"
     3626             || test ! -s conftest.err'
     3627  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3628  (eval $ac_try) 2>&5
     3629  ac_status=$?
     3630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3631  (exit $ac_status); }; } &&
     3632     { ac_try='test -s conftest.$ac_objext'
     3633  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3634  (eval $ac_try) 2>&5
     3635  ac_status=$?
     3636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3637  (exit $ac_status); }; }; then
    42333638  ac_cv_header_stdc=yes
    42343639else
     
    42363641sed 's/^/| /' conftest.$ac_ext >&5
    42373642
    4238     ac_cv_header_stdc=no
    4239 fi
    4240 
    4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3643ac_cv_header_stdc=no
     3644fi
     3645rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    42423646
    42433647if test $ac_cv_header_stdc = yes; then
     
    42953699/* end confdefs.h.  */
    42963700#include <ctype.h>
    4297 #include <stdlib.h>
    42983701#if ((' ' & 0x0FF) == 0x020)
    42993702# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    43153718    if (XOR (islower (i), ISLOWER (i))
    43163719    || toupper (i) != TOUPPER (i))
    4317       return 2;
    4318   return 0;
     3720      exit(2);
     3721  exit (0);
    43193722}
    43203723_ACEOF
    43213724rm -f conftest$ac_exeext
    4322 if { (ac_try="$ac_link"
    4323 case "(($ac_try" in
    4324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4325   *) ac_try_echo=$ac_try;;
    4326 esac
    4327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4328   (eval "$ac_link") 2>&5
     3725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3726  (eval $ac_link) 2>&5
    43293727  ac_status=$?
    43303728  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43313729  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4332   { (case "(($ac_try" in
    4333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4334   *) ac_try_echo=$ac_try;;
    4335 esac
    4336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4337   (eval "$ac_try") 2>&5
     3730  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3731  (eval $ac_try) 2>&5
    43383732  ac_status=$?
    43393733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    43483742ac_cv_header_stdc=no
    43493743fi
    4350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4351 fi
    4352 
    4353 
    4354 fi
    4355 fi
    4356 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4357 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     3744rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3745fi
     3746fi
     3747fi
     3748echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3749echo "${ECHO_T}$ac_cv_header_stdc" >&6
    43583750if test $ac_cv_header_stdc = yes; then
    43593751
     
    43783770do
    43793771as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4380 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3772echo "$as_me:$LINENO: checking for $ac_header" >&5
     3773echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3774if eval "test \"\${$as_ac_Header+set}\" = set"; then
    43833775  echo $ECHO_N "(cached) $ECHO_C" >&6
    43843776else
     
    43943786_ACEOF
    43953787rm -f conftest.$ac_objext
    4396 if { (ac_try="$ac_compile"
    4397 case "(($ac_try" in
    4398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4399   *) ac_try_echo=$ac_try;;
    4400 esac
    4401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4402   (eval "$ac_compile") 2>conftest.er1
     3788if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3789  (eval $ac_compile) 2>conftest.er1
    44033790  ac_status=$?
    44043791  grep -v '^ *+' conftest.er1 >conftest.err
     
    44063793  cat conftest.err >&5
    44073794  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4408   (exit $ac_status); } && {
    4409      test -z "$ac_c_werror_flag" ||
    4410      test ! -s conftest.err
    4411        } && test -s conftest.$ac_objext; then
     3795  (exit $ac_status); } &&
     3796     { ac_try='test -z "$ac_c_werror_flag"
     3797             || test ! -s conftest.err'
     3798  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3799  (eval $ac_try) 2>&5
     3800  ac_status=$?
     3801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3802  (exit $ac_status); }; } &&
     3803     { ac_try='test -s conftest.$ac_objext'
     3804  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3805  (eval $ac_try) 2>&5
     3806  ac_status=$?
     3807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3808  (exit $ac_status); }; }; then
    44123809  eval "$as_ac_Header=yes"
    44133810else
     
    44153812sed 's/^/| /' conftest.$ac_ext >&5
    44163813
    4417     eval "$as_ac_Header=no"
    4418 fi
    4419 
    4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4421 fi
    4422 ac_res=`eval echo '${'$as_ac_Header'}'`
    4423            { echo "$as_me:$LINENO: result: $ac_res" >&5
    4424 echo "${ECHO_T}$ac_res" >&6; }
     3814eval "$as_ac_Header=no"
     3815fi
     3816rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3817fi
     3818echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3819echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    44253820if test `eval echo '${'$as_ac_Header'}'` = yes; then
    44263821  cat >>confdefs.h <<_ACEOF
     
    44343829
    44353830if test "${ac_cv_header_minix_config_h+set}" = set; then
    4436   { echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4437 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
     3831  echo "$as_me:$LINENO: checking for minix/config.h" >&5
     3832echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    44383833if test "${ac_cv_header_minix_config_h+set}" = set; then
    44393834  echo $ECHO_N "(cached) $ECHO_C" >&6
    44403835fi
    4441 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4442 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
     3836echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     3837echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    44433838else
    44443839  # Is the header compilable?
    4445 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    4446 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
     3840echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     3841echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
    44473842cat >conftest.$ac_ext <<_ACEOF
    44483843/* confdefs.h.  */
     
    44553850_ACEOF
    44563851rm -f conftest.$ac_objext
    4457 if { (ac_try="$ac_compile"
    4458 case "(($ac_try" in
    4459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4460   *) ac_try_echo=$ac_try;;
    4461 esac
    4462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4463   (eval "$ac_compile") 2>conftest.er1
     3852if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3853  (eval $ac_compile) 2>conftest.er1
    44643854  ac_status=$?
    44653855  grep -v '^ *+' conftest.er1 >conftest.err
     
    44673857  cat conftest.err >&5
    44683858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4469   (exit $ac_status); } && {
    4470      test -z "$ac_c_werror_flag" ||
    4471      test ! -s conftest.err
    4472        } && test -s conftest.$ac_objext; then
     3859  (exit $ac_status); } &&
     3860     { ac_try='test -z "$ac_c_werror_flag"
     3861             || test ! -s conftest.err'
     3862  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3863  (eval $ac_try) 2>&5
     3864  ac_status=$?
     3865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3866  (exit $ac_status); }; } &&
     3867     { ac_try='test -s conftest.$ac_objext'
     3868  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3869  (eval $ac_try) 2>&5
     3870  ac_status=$?
     3871  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3872  (exit $ac_status); }; }; then
    44733873  ac_header_compiler=yes
    44743874else
     
    44763876sed 's/^/| /' conftest.$ac_ext >&5
    44773877
    4478     ac_header_compiler=no
    4479 fi
    4480 
    4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4482 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4483 echo "${ECHO_T}$ac_header_compiler" >&6; }
     3878ac_header_compiler=no
     3879fi
     3880rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3881echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3882echo "${ECHO_T}$ac_header_compiler" >&6
    44843883
    44853884# Is the header present?
    4486 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    4487 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
     3885echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     3886echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
    44883887cat >conftest.$ac_ext <<_ACEOF
    44893888/* confdefs.h.  */
     
    44943893#include <minix/config.h>
    44953894_ACEOF
    4496 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4497 case "(($ac_try" in
    4498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4499   *) ac_try_echo=$ac_try;;
    4500 esac
    4501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4502   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3895if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3896  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    45033897  ac_status=$?
    45043898  grep -v '^ *+' conftest.er1 >conftest.err
     
    45063900  cat conftest.err >&5
    45073901  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4508   (exit $ac_status); } >/dev/null && {
    4509      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4510      test ! -s conftest.err
    4511        }; then
     3902  (exit $ac_status); } >/dev/null; then
     3903  if test -s conftest.err; then
     3904    ac_cpp_err=$ac_c_preproc_warn_flag
     3905    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3906  else
     3907    ac_cpp_err=
     3908  fi
     3909else
     3910  ac_cpp_err=yes
     3911fi
     3912if test -z "$ac_cpp_err"; then
    45123913  ac_header_preproc=yes
    45133914else
     
    45173918  ac_header_preproc=no
    45183919fi
    4519 
    45203920rm -f conftest.err conftest.$ac_ext
    4521 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4522 echo "${ECHO_T}$ac_header_preproc" >&6; }
     3921echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3922echo "${ECHO_T}$ac_header_preproc" >&6
    45233923
    45243924# So?  What about this header?
     
    45443944    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    45453945echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    4546 
     3946    (
     3947      cat <<\_ASBOX
     3948## ------------------------------------------ ##
     3949## Report this to the AC_PACKAGE_NAME lists.  ##
     3950## ------------------------------------------ ##
     3951_ASBOX
     3952    ) |
     3953      sed "s/^/$as_me: WARNING:     /" >&2
    45473954    ;;
    45483955esac
    4549 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4550 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
     3956echo "$as_me:$LINENO: checking for minix/config.h" >&5
     3957echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    45513958if test "${ac_cv_header_minix_config_h+set}" = set; then
    45523959  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45543961  ac_cv_header_minix_config_h=$ac_header_preproc
    45553962fi
    4556 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4557 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
     3963echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     3964echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    45583965
    45593966fi
     
    45833990fi
    45843991
    4585 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    4586 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
     3992echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     3993echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
    45873994if test "${ac_cv_prog_cc_stdc+set}" = set; then
    45883995  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46204027_ACEOF
    46214028rm -f conftest.$ac_objext
    4622 if { (ac_try="$ac_compile"
    4623 case "(($ac_try" in
    4624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4625   *) ac_try_echo=$ac_try;;
    4626 esac
    4627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4628   (eval "$ac_compile") 2>conftest.er1
     4029if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4030  (eval $ac_compile) 2>conftest.er1
    46294031  ac_status=$?
    46304032  grep -v '^ *+' conftest.er1 >conftest.err
     
    46324034  cat conftest.err >&5
    46334035  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4634   (exit $ac_status); } && {
    4635      test -z "$ac_c_werror_flag" ||
    4636      test ! -s conftest.err
    4637        } && test -s conftest.$ac_objext; then
     4036  (exit $ac_status); } &&
     4037     { ac_try='test -z "$ac_c_werror_flag"
     4038             || test ! -s conftest.err'
     4039  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4040  (eval $ac_try) 2>&5
     4041  ac_status=$?
     4042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4043  (exit $ac_status); }; } &&
     4044     { ac_try='test -s conftest.$ac_objext'
     4045  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4046  (eval $ac_try) 2>&5
     4047  ac_status=$?
     4048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4049  (exit $ac_status); }; }; then
    46384050  ac_cv_prog_cc_stdc="$ac_arg"; break
    46394051else
     
    46414053sed 's/^/| /' conftest.$ac_ext >&5
    46424054
    4643 
    4644 fi
    4645 
    4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4055fi
     4056rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    46474057done
    46484058CFLAGS="$ac_save_CFLAGS"
     
    46504060fi
    46514061
    4652 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4653 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
     4062echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4063echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    46544064case "x$ac_cv_prog_cc_stdc" in
    46554065  x|xno) ;;
     
    46584068
    46594069
    4660 { echo "$as_me:$LINENO: checking for function prototypes" >&5
    4661 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
     4070echo "$as_me:$LINENO: checking for function prototypes" >&5
     4071echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
    46624072if test "$ac_cv_prog_cc_stdc" != no; then
    4663   { echo "$as_me:$LINENO: result: yes" >&5
    4664 echo "${ECHO_T}yes" >&6; }
     4073  echo "$as_me:$LINENO: result: yes" >&5
     4074echo "${ECHO_T}yes" >&6
    46654075  cat >>confdefs.h <<\_ACEOF
    46664076#define PROTOTYPES 1
     
    46694079  U= ANSI2KNR=
    46704080else
    4671   { echo "$as_me:$LINENO: result: no" >&5
    4672 echo "${ECHO_T}no" >&6; }
     4081  echo "$as_me:$LINENO: result: no" >&5
     4082echo "${ECHO_T}no" >&6
    46734083  U=_ ANSI2KNR=ansi2knr
    46744084fi
    46754085
    4676 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4677 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
     4086echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4087echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    46784088if test "${ac_cv_c_const+set}" = set; then
    46794089  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46934103  /* Ultrix mips cc rejects this.  */
    46944104  typedef int charset[2];
    4695   const charset cs;
     4105  const charset x;
    46964106  /* SunOS 4.1.1 cc rejects this.  */
    4697   char const *const *pcpcc;
    4698   char **ppc;
     4107  char const *const *ccp;
     4108  char **p;
    46994109  /* NEC SVR4.0.2 mips cc rejects this.  */
    47004110  struct point {int x, y;};
     
    47054115     expression */
    47064116  const char *g = "string";
    4707   pcpcc = &g + (g ? g-g : 0);
     4117  ccp = &g + (g ? g-g : 0);
    47084118  /* HPUX 7.0 cc rejects these. */
    4709   ++pcpcc;
    4710   ppc = (char**) pcpcc;
    4711   pcpcc = (char const *const *) ppc;
     4119  ++ccp;
     4120  p = (char**) ccp;
     4121  ccp = (char const *const *) p;
    47124122  { /* SCO 3.2v4 cc rejects this.  */
    47134123    char *t;
     
    47154125
    47164126    *t++ = 0;
    4717     if (s) return 0;
    47184127  }
    47194128  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    47344143  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    47354144    const int foo = 10;
    4736     if (!foo) return 0;
    47374145  }
    4738   return !cs[0] && !zero.x;
    47394146#endif
    47404147
     
    47444151_ACEOF
    47454152rm -f conftest.$ac_objext
    4746 if { (ac_try="$ac_compile"
    4747 case "(($ac_try" in
    4748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4749   *) ac_try_echo=$ac_try;;
    4750 esac
    4751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4752   (eval "$ac_compile") 2>conftest.er1
     4153if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4154  (eval $ac_compile) 2>conftest.er1
    47534155  ac_status=$?
    47544156  grep -v '^ *+' conftest.er1 >conftest.err
     
    47564158  cat conftest.err >&5
    47574159  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4758   (exit $ac_status); } && {
    4759      test -z "$ac_c_werror_flag" ||
    4760      test ! -s conftest.err
    4761        } && test -s conftest.$ac_objext; then
     4160  (exit $ac_status); } &&
     4161     { ac_try='test -z "$ac_c_werror_flag"
     4162             || test ! -s conftest.err'
     4163  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4164  (eval $ac_try) 2>&5
     4165  ac_status=$?
     4166  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4167  (exit $ac_status); }; } &&
     4168     { ac_try='test -s conftest.$ac_objext'
     4169  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4170  (eval $ac_try) 2>&5
     4171  ac_status=$?
     4172  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4173  (exit $ac_status); }; }; then
    47624174  ac_cv_c_const=yes
    47634175else
     
    47654177sed 's/^/| /' conftest.$ac_ext >&5
    47664178
    4767     ac_cv_c_const=no
    4768 fi
    4769 
    4770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4771 fi
    4772 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4773 echo "${ECHO_T}$ac_cv_c_const" >&6; }
     4179ac_cv_c_const=no
     4180fi
     4181rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4182fi
     4183echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4184echo "${ECHO_T}$ac_cv_c_const" >&6
    47744185if test $ac_cv_c_const = no; then
    47754186
     
    47804191fi
    47814192
    4782 { echo "$as_me:$LINENO: checking for off_t" >&5
    4783 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
     4193echo "$as_me:$LINENO: checking for off_t" >&5
     4194echo $ECHO_N "checking for off_t... $ECHO_C" >&6
    47844195if test "${ac_cv_type_off_t+set}" = set; then
    47854196  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    47924203/* end confdefs.h.  */
    47934204$ac_includes_default
    4794 typedef off_t ac__type_new_;
    47954205int
    47964206main ()
    47974207{
    4798 if ((ac__type_new_ *) 0)
     4208if ((off_t *) 0)
    47994209  return 0;
    4800 if (sizeof (ac__type_new_))
     4210if (sizeof (off_t))
    48014211  return 0;
    48024212  ;
     
    48054215_ACEOF
    48064216rm -f conftest.$ac_objext
    4807 if { (ac_try="$ac_compile"
    4808 case "(($ac_try" in
    4809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4810   *) ac_try_echo=$ac_try;;
    4811 esac
    4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4813   (eval "$ac_compile") 2>conftest.er1
     4217if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4218  (eval $ac_compile) 2>conftest.er1
    48144219  ac_status=$?
    48154220  grep -v '^ *+' conftest.er1 >conftest.err
     
    48174222  cat conftest.err >&5
    48184223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4819   (exit $ac_status); } && {
    4820      test -z "$ac_c_werror_flag" ||
    4821      test ! -s conftest.err
    4822        } && test -s conftest.$ac_objext; then
     4224  (exit $ac_status); } &&
     4225     { ac_try='test -z "$ac_c_werror_flag"
     4226             || test ! -s conftest.err'
     4227  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4228  (eval $ac_try) 2>&5
     4229  ac_status=$?
     4230  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4231  (exit $ac_status); }; } &&
     4232     { ac_try='test -s conftest.$ac_objext'
     4233  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4234  (eval $ac_try) 2>&5
     4235  ac_status=$?
     4236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4237  (exit $ac_status); }; }; then
    48234238  ac_cv_type_off_t=yes
    48244239else
     
    48264241sed 's/^/| /' conftest.$ac_ext >&5
    48274242
    4828     ac_cv_type_off_t=no
    4829 fi
    4830 
    4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4832 fi
    4833 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4834 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
     4243ac_cv_type_off_t=no
     4244fi
     4245rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4246fi
     4247echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4248echo "${ECHO_T}$ac_cv_type_off_t" >&6
    48354249if test $ac_cv_type_off_t = yes; then
    48364250  :
     
    48384252
    48394253cat >>confdefs.h <<_ACEOF
    4840 #define off_t long int
    4841 _ACEOF
    4842 
    4843 fi
    4844 
    4845 { echo "$as_me:$LINENO: checking for size_t" >&5
    4846 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
     4254#define off_t long
     4255_ACEOF
     4256
     4257fi
     4258
     4259echo "$as_me:$LINENO: checking for size_t" >&5
     4260echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    48474261if test "${ac_cv_type_size_t+set}" = set; then
    48484262  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    48554269/* end confdefs.h.  */
    48564270$ac_includes_default
    4857 typedef size_t ac__type_new_;
    48584271int
    48594272main ()
    48604273{
    4861 if ((ac__type_new_ *) 0)
     4274if ((size_t *) 0)
    48624275  return 0;
    4863 if (sizeof (ac__type_new_))
     4276if (sizeof (size_t))
    48644277  return 0;
    48654278  ;
     
    48684281_ACEOF
    48694282rm -f conftest.$ac_objext
    4870 if { (ac_try="$ac_compile"
    4871 case "(($ac_try" in
    4872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4873   *) ac_try_echo=$ac_try;;
    4874 esac
    4875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4876   (eval "$ac_compile") 2>conftest.er1
     4283if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4284  (eval $ac_compile) 2>conftest.er1
    48774285  ac_status=$?
    48784286  grep -v '^ *+' conftest.er1 >conftest.err
     
    48804288  cat conftest.err >&5
    48814289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4882   (exit $ac_status); } && {
    4883      test -z "$ac_c_werror_flag" ||
    4884      test ! -s conftest.err
    4885        } && test -s conftest.$ac_objext; then
     4290  (exit $ac_status); } &&
     4291     { ac_try='test -z "$ac_c_werror_flag"
     4292             || test ! -s conftest.err'
     4293  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4294  (eval $ac_try) 2>&5
     4295  ac_status=$?
     4296  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4297  (exit $ac_status); }; } &&
     4298     { ac_try='test -s conftest.$ac_objext'
     4299  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4300  (eval $ac_try) 2>&5
     4301  ac_status=$?
     4302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4303  (exit $ac_status); }; }; then
    48864304  ac_cv_type_size_t=yes
    48874305else
     
    48894307sed 's/^/| /' conftest.$ac_ext >&5
    48904308
    4891     ac_cv_type_size_t=no
    4892 fi
    4893 
    4894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4895 fi
    4896 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4897 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
     4309ac_cv_type_size_t=no
     4310fi
     4311rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4312fi
     4313echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4314echo "${ECHO_T}$ac_cv_type_size_t" >&6
    48984315if test $ac_cv_type_size_t = yes; then
    48994316  :
     
    49014318
    49024319cat >>confdefs.h <<_ACEOF
    4903 #define size_t unsigned int
    4904 _ACEOF
    4905 
    4906 fi
    4907 
    4908 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4909 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
     4320#define size_t unsigned
     4321_ACEOF
     4322
     4323fi
     4324
     4325echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4326echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    49104327if test "${ac_cv_header_time+set}" = set; then
    49114328  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    49314348_ACEOF
    49324349rm -f conftest.$ac_objext
    4933 if { (ac_try="$ac_compile"
    4934 case "(($ac_try" in
    4935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4936   *) ac_try_echo=$ac_try;;
    4937 esac
    4938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4939   (eval "$ac_compile") 2>conftest.er1
     4350if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4351  (eval $ac_compile) 2>conftest.er1
    49404352  ac_status=$?
    49414353  grep -v '^ *+' conftest.er1 >conftest.err
     
    49434355  cat conftest.err >&5
    49444356  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4945   (exit $ac_status); } && {
    4946      test -z "$ac_c_werror_flag" ||
    4947      test ! -s conftest.err
    4948        } && test -s conftest.$ac_objext; then
     4357  (exit $ac_status); } &&
     4358     { ac_try='test -z "$ac_c_werror_flag"
     4359             || test ! -s conftest.err'
     4360  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4361  (eval $ac_try) 2>&5
     4362  ac_status=$?
     4363  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4364  (exit $ac_status); }; } &&
     4365     { ac_try='test -s conftest.$ac_objext'
     4366  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4367  (eval $ac_try) 2>&5
     4368  ac_status=$?
     4369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4370  (exit $ac_status); }; }; then
    49494371  ac_cv_header_time=yes
    49504372else
     
    49524374sed 's/^/| /' conftest.$ac_ext >&5
    49534375
    4954     ac_cv_header_time=no
    4955 fi
    4956 
    4957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4958 fi
    4959 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4960 echo "${ECHO_T}$ac_cv_header_time" >&6; }
     4376ac_cv_header_time=no
     4377fi
     4378rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4379fi
     4380echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     4381echo "${ECHO_T}$ac_cv_header_time" >&6
    49614382if test $ac_cv_header_time = yes; then
    49624383
     
    49674388fi
    49684389
    4969 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4970 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
     4390echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     4391echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
    49714392if test "${ac_cv_struct_tm+set}" = set; then
    49724393  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    49844405main ()
    49854406{
    4986 struct tm tm;
    4987                      int *p = &tm.tm_sec;
    4988                      return !p;
     4407struct tm *tp; tp->tm_sec;
    49894408  ;
    49904409  return 0;
     
    49924411_ACEOF
    49934412rm -f conftest.$ac_objext
    4994 if { (ac_try="$ac_compile"
    4995 case "(($ac_try" in
    4996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4997   *) ac_try_echo=$ac_try;;
    4998 esac
    4999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5000   (eval "$ac_compile") 2>conftest.er1
     4413if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4414  (eval $ac_compile) 2>conftest.er1
    50014415  ac_status=$?
    50024416  grep -v '^ *+' conftest.er1 >conftest.err
     
    50044418  cat conftest.err >&5
    50054419  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5006   (exit $ac_status); } && {
    5007      test -z "$ac_c_werror_flag" ||
    5008      test ! -s conftest.err
    5009        } && test -s conftest.$ac_objext; then
     4420  (exit $ac_status); } &&
     4421     { ac_try='test -z "$ac_c_werror_flag"
     4422             || test ! -s conftest.err'
     4423  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4424  (eval $ac_try) 2>&5
     4425  ac_status=$?
     4426  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4427  (exit $ac_status); }; } &&
     4428     { ac_try='test -s conftest.$ac_objext'
     4429  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4430  (eval $ac_try) 2>&5
     4431  ac_status=$?
     4432  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4433  (exit $ac_status); }; }; then
    50104434  ac_cv_struct_tm=time.h
    50114435else
     
    50134437sed 's/^/| /' conftest.$ac_ext >&5
    50144438
    5015     ac_cv_struct_tm=sys/time.h
    5016 fi
    5017 
    5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5019 fi
    5020 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    5021 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
     4439ac_cv_struct_tm=sys/time.h
     4440fi
     4441rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4442fi
     4443echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     4444echo "${ECHO_T}$ac_cv_struct_tm" >&6
    50224445if test $ac_cv_struct_tm = sys/time.h; then
    50234446
     
    50474470_ACEOF
    50484471rm -f conftest.$ac_objext
    5049 if { (ac_try="$ac_compile"
    5050 case "(($ac_try" in
    5051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5052   *) ac_try_echo=$ac_try;;
    5053 esac
    5054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5055   (eval "$ac_compile") 2>conftest.er1
     4472if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4473  (eval $ac_compile) 2>conftest.er1
    50564474  ac_status=$?
    50574475  grep -v '^ *+' conftest.er1 >conftest.err
     
    50594477  cat conftest.err >&5
    50604478  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5061   (exit $ac_status); } && {
    5062      test -z "$ac_c_werror_flag" ||
    5063      test ! -s conftest.err
    5064        } && test -s conftest.$ac_objext; then
     4479  (exit $ac_status); } &&
     4480     { ac_try='test -z "$ac_c_werror_flag"
     4481             || test ! -s conftest.err'
     4482  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4483  (eval $ac_try) 2>&5
     4484  ac_status=$?
     4485  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4486  (exit $ac_status); }; } &&
     4487     { ac_try='test -s conftest.$ac_objext'
     4488  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4489  (eval $ac_try) 2>&5
     4490  ac_status=$?
     4491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4492  (exit $ac_status); }; }; then
    50654493  :
    50664494else
     
    50684496sed 's/^/| /' conftest.$ac_ext >&5
    50694497
    5070     CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    5071 fi
    5072 
    5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5074 fi
    5075 
    5076 
    5077 
    5078 { echo "$as_me:$LINENO: checking for main in -lg" >&5
    5079 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
     4498CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     4499fi
     4500rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4501fi
     4502
     4503
     4504
     4505echo "$as_me:$LINENO: checking for main in -lg" >&5
     4506echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
    50804507if test "${ac_cv_lib_g_main+set}" = set; then
    50814508  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    50944521main ()
    50954522{
    5096 return main ();
     4523main ();
    50974524  ;
    50984525  return 0;
     
    51004527_ACEOF
    51014528rm -f conftest.$ac_objext conftest$ac_exeext
    5102 if { (ac_try="$ac_link"
    5103 case "(($ac_try" in
    5104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5105   *) ac_try_echo=$ac_try;;
    5106 esac
    5107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5108   (eval "$ac_link") 2>conftest.er1
     4529if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4530  (eval $ac_link) 2>conftest.er1
    51094531  ac_status=$?
    51104532  grep -v '^ *+' conftest.er1 >conftest.err
     
    51124534  cat conftest.err >&5
    51134535  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5114   (exit $ac_status); } && {
    5115      test -z "$ac_c_werror_flag" ||
    5116      test ! -s conftest.err
    5117        } && test -s conftest$ac_exeext &&
    5118        $as_test_x conftest$ac_exeext; then
     4536  (exit $ac_status); } &&
     4537     { ac_try='test -z "$ac_c_werror_flag"
     4538             || test ! -s conftest.err'
     4539  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4540  (eval $ac_try) 2>&5
     4541  ac_status=$?
     4542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4543  (exit $ac_status); }; } &&
     4544     { ac_try='test -s conftest$ac_exeext'
     4545  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4546  (eval $ac_try) 2>&5
     4547  ac_status=$?
     4548  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4549  (exit $ac_status); }; }; then
    51194550  ac_cv_lib_g_main=yes
    51204551else
     
    51224553sed 's/^/| /' conftest.$ac_ext >&5
    51234554
    5124     ac_cv_lib_g_main=no
    5125 fi
    5126 
    5127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4555ac_cv_lib_g_main=no
     4556fi
     4557rm -f conftest.err conftest.$ac_objext \
    51284558      conftest$ac_exeext conftest.$ac_ext
    51294559LIBS=$ac_check_lib_save_LIBS
    51304560fi
    5131 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    5132 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
     4561echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     4562echo "${ECHO_T}$ac_cv_lib_g_main" >&6
    51334563if test $ac_cv_lib_g_main = yes; then
    51344564  cat >>confdefs.h <<_ACEOF
     
    51424572
    51434573
    5144 { echo "$as_me:$LINENO: checking for main in -lm" >&5
    5145 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
     4574echo "$as_me:$LINENO: checking for main in -lm" >&5
     4575echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
    51464576if test "${ac_cv_lib_m_main+set}" = set; then
    51474577  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51604590main ()
    51614591{
    5162 return main ();
     4592main ();
    51634593  ;
    51644594  return 0;
     
    51664596_ACEOF
    51674597rm -f conftest.$ac_objext conftest$ac_exeext
    5168 if { (ac_try="$ac_link"
    5169 case "(($ac_try" in
    5170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5171   *) ac_try_echo=$ac_try;;
    5172 esac
    5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5174   (eval "$ac_link") 2>conftest.er1
     4598if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4599  (eval $ac_link) 2>conftest.er1
    51754600  ac_status=$?
    51764601  grep -v '^ *+' conftest.er1 >conftest.err
     
    51784603  cat conftest.err >&5
    51794604  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5180   (exit $ac_status); } && {
    5181      test -z "$ac_c_werror_flag" ||
    5182      test ! -s conftest.err
    5183        } && test -s conftest$ac_exeext &&
    5184        $as_test_x conftest$ac_exeext; then
     4605  (exit $ac_status); } &&
     4606     { ac_try='test -z "$ac_c_werror_flag"
     4607             || test ! -s conftest.err'
     4608  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4609  (eval $ac_try) 2>&5
     4610  ac_status=$?
     4611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4612  (exit $ac_status); }; } &&
     4613     { ac_try='test -s conftest$ac_exeext'
     4614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4615  (eval $ac_try) 2>&5
     4616  ac_status=$?
     4617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4618  (exit $ac_status); }; }; then
    51854619  ac_cv_lib_m_main=yes
    51864620else
     
    51884622sed 's/^/| /' conftest.$ac_ext >&5
    51894623
    5190     ac_cv_lib_m_main=no
    5191 fi
    5192 
    5193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4624ac_cv_lib_m_main=no
     4625fi
     4626rm -f conftest.err conftest.$ac_objext \
    51944627      conftest$ac_exeext conftest.$ac_ext
    51954628LIBS=$ac_check_lib_save_LIBS
    51964629fi
    5197 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5198 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
     4630echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     4631echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    51994632if test $ac_cv_lib_m_main = yes; then
    52004633  cat >>confdefs.h <<_ACEOF
     
    52084641
    52094642
    5210 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    5211 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
     4643echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     4644echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
    52124645if test "${ac_cv_lib_crypt_main+set}" = set; then
    52134646  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    52264659main ()
    52274660{
    5228 return main ();
     4661main ();
    52294662  ;
    52304663  return 0;
     
    52324665_ACEOF
    52334666rm -f conftest.$ac_objext conftest$ac_exeext
    5234 if { (ac_try="$ac_link"
    5235 case "(($ac_try" in
    5236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5237   *) ac_try_echo=$ac_try;;
    5238 esac
    5239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5240   (eval "$ac_link") 2>conftest.er1
     4667if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4668  (eval $ac_link) 2>conftest.er1
    52414669  ac_status=$?
    52424670  grep -v '^ *+' conftest.er1 >conftest.err
     
    52444672  cat conftest.err >&5
    52454673  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5246   (exit $ac_status); } && {
    5247      test -z "$ac_c_werror_flag" ||
    5248      test ! -s conftest.err
    5249        } && test -s conftest$ac_exeext &&
    5250        $as_test_x conftest$ac_exeext; then
     4674  (exit $ac_status); } &&
     4675     { ac_try='test -z "$ac_c_werror_flag"
     4676             || test ! -s conftest.err'
     4677  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4678  (eval $ac_try) 2>&5
     4679  ac_status=$?
     4680  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4681  (exit $ac_status); }; } &&
     4682     { ac_try='test -s conftest$ac_exeext'
     4683  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4684  (eval $ac_try) 2>&5
     4685  ac_status=$?
     4686  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4687  (exit $ac_status); }; }; then
    52514688  ac_cv_lib_crypt_main=yes
    52524689else
     
    52544691sed 's/^/| /' conftest.$ac_ext >&5
    52554692
    5256     ac_cv_lib_crypt_main=no
    5257 fi
    5258 
    5259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4693ac_cv_lib_crypt_main=no
     4694fi
     4695rm -f conftest.err conftest.$ac_objext \
    52604696      conftest$ac_exeext conftest.$ac_ext
    52614697LIBS=$ac_check_lib_save_LIBS
    52624698fi
    5263 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    5264 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
     4699echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     4700echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
    52654701if test $ac_cv_lib_crypt_main = yes; then
    52664702  cat >>confdefs.h <<_ACEOF
     
    52854721for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    52864722  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    5287 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    5288 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
    5289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4723echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     4724echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
     4725if eval "test \"\${$as_ac_Header+set}\" = set"; then
    52904726  echo $ECHO_N "(cached) $ECHO_C" >&6
    52914727else
     
    53094745_ACEOF
    53104746rm -f conftest.$ac_objext
    5311 if { (ac_try="$ac_compile"
    5312 case "(($ac_try" in
    5313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5314   *) ac_try_echo=$ac_try;;
    5315 esac
    5316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5317   (eval "$ac_compile") 2>conftest.er1
     4747if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4748  (eval $ac_compile) 2>conftest.er1
    53184749  ac_status=$?
    53194750  grep -v '^ *+' conftest.er1 >conftest.err
     
    53214752  cat conftest.err >&5
    53224753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5323   (exit $ac_status); } && {
    5324      test -z "$ac_c_werror_flag" ||
    5325      test ! -s conftest.err
    5326        } && test -s conftest.$ac_objext; then
     4754  (exit $ac_status); } &&
     4755     { ac_try='test -z "$ac_c_werror_flag"
     4756             || test ! -s conftest.err'
     4757  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4758  (eval $ac_try) 2>&5
     4759  ac_status=$?
     4760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4761  (exit $ac_status); }; } &&
     4762     { ac_try='test -s conftest.$ac_objext'
     4763  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4764  (eval $ac_try) 2>&5
     4765  ac_status=$?
     4766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4767  (exit $ac_status); }; }; then
    53274768  eval "$as_ac_Header=yes"
    53284769else
     
    53304771sed 's/^/| /' conftest.$ac_ext >&5
    53314772
    5332     eval "$as_ac_Header=no"
    5333 fi
    5334 
    5335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5336 fi
    5337 ac_res=`eval echo '${'$as_ac_Header'}'`
    5338            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5339 echo "${ECHO_T}$ac_res" >&6; }
     4773eval "$as_ac_Header=no"
     4774fi
     4775rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4776fi
     4777echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4778echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    53404779if test `eval echo '${'$as_ac_Header'}'` = yes; then
    53414780  cat >>confdefs.h <<_ACEOF
     
    53494788# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    53504789if test $ac_header_dirent = dirent.h; then
    5351   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5352 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
     4790  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4791echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    53534792if test "${ac_cv_search_opendir+set}" = set; then
    53544793  echo $ECHO_N "(cached) $ECHO_C" >&6
    53554794else
    53564795  ac_func_search_save_LIBS=$LIBS
     4796ac_cv_search_opendir=no
    53574797cat >conftest.$ac_ext <<_ACEOF
    53584798/* confdefs.h.  */
     
    53624802/* end confdefs.h.  */
    53634803
    5364 /* Override any GCC internal prototype to avoid an error.
    5365    Use char because int might match the return type of a GCC
    5366    builtin and then its argument prototype would still apply.  */
     4804/* Override any gcc2 internal prototype to avoid an error.  */
    53674805#ifdef __cplusplus
    53684806extern "C"
    53694807#endif
     4808/* We use char because int might match the return type of a gcc2
     4809   builtin and then its argument prototype would still apply.  */
    53704810char opendir ();
    53714811int
    53724812main ()
    53734813{
    5374 return opendir ();
     4814opendir ();
    53754815  ;
    53764816  return 0;
    53774817}
    53784818_ACEOF
    5379 for ac_lib in '' dir; do
    5380   if test -z "$ac_lib"; then
    5381     ac_res="none required"
    5382   else
    5383     ac_res=-l$ac_lib
    5384     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5385   fi
    5386   rm -f conftest.$ac_objext conftest$ac_exeext
    5387 if { (ac_try="$ac_link"
    5388 case "(($ac_try" in
    5389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5390   *) ac_try_echo=$ac_try;;
    5391 esac
    5392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5393   (eval "$ac_link") 2>conftest.er1
     4819rm -f conftest.$ac_objext conftest$ac_exeext
     4820if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4821  (eval $ac_link) 2>conftest.er1
    53944822  ac_status=$?
    53954823  grep -v '^ *+' conftest.er1 >conftest.err
     
    53974825  cat conftest.err >&5
    53984826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5399   (exit $ac_status); } && {
    5400      test -z "$ac_c_werror_flag" ||
    5401      test ! -s conftest.err
    5402        } && test -s conftest$ac_exeext &&
    5403        $as_test_x conftest$ac_exeext; then
    5404   ac_cv_search_opendir=$ac_res
     4827  (exit $ac_status); } &&
     4828     { ac_try='test -z "$ac_c_werror_flag"
     4829             || test ! -s conftest.err'
     4830  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4831  (eval $ac_try) 2>&5
     4832  ac_status=$?
     4833  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4834  (exit $ac_status); }; } &&
     4835     { ac_try='test -s conftest$ac_exeext'
     4836  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4837  (eval $ac_try) 2>&5
     4838  ac_status=$?
     4839  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4840  (exit $ac_status); }; }; then
     4841  ac_cv_search_opendir="none required"
    54054842else
    54064843  echo "$as_me: failed program was:" >&5
    54074844sed 's/^/| /' conftest.$ac_ext >&5
    54084845
    5409 
    5410 fi
    5411 
    5412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5413       conftest$ac_exeext
    5414   if test "${ac_cv_search_opendir+set}" = set; then
    5415   break
    5416 fi
    5417 done
    5418 if test "${ac_cv_search_opendir+set}" = set; then
    5419   :
    5420 else
    5421   ac_cv_search_opendir=no
    5422 fi
    5423 rm conftest.$ac_ext
    5424 LIBS=$ac_func_search_save_LIBS
    5425 fi
    5426 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5427 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
    5428 ac_res=$ac_cv_search_opendir
    5429 if test "$ac_res" != no; then
    5430   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5431 
    5432 fi
    5433 
    5434 else
    5435   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5436 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    5437 if test "${ac_cv_search_opendir+set}" = set; then
    5438   echo $ECHO_N "(cached) $ECHO_C" >&6
    5439 else
    5440   ac_func_search_save_LIBS=$LIBS
    5441 cat >conftest.$ac_ext <<_ACEOF
     4846fi
     4847rm -f conftest.err conftest.$ac_objext \
     4848      conftest$ac_exeext conftest.$ac_ext
     4849if test "$ac_cv_search_opendir" = no; then
     4850  for ac_lib in dir; do
     4851    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4852    cat >conftest.$ac_ext <<_ACEOF
    54424853/* confdefs.h.  */
    54434854_ACEOF
     
    54464857/* end confdefs.h.  */
    54474858
    5448 /* Override any GCC internal prototype to avoid an error.
    5449    Use char because int might match the return type of a GCC
    5450    builtin and then its argument prototype would still apply.  */
     4859/* Override any gcc2 internal prototype to avoid an error.  */
    54514860#ifdef __cplusplus
    54524861extern "C"
    54534862#endif
     4863/* We use char because int might match the return type of a gcc2
     4864   builtin and then its argument prototype would still apply.  */
    54544865char opendir ();
    54554866int
    54564867main ()
    54574868{
    5458 return opendir ();
     4869opendir ();
    54594870  ;
    54604871  return 0;
    54614872}
    54624873_ACEOF
    5463 for ac_lib in '' x; do
    5464   if test -z "$ac_lib"; then
    5465     ac_res="none required"
    5466   else
    5467     ac_res=-l$ac_lib
    5468     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5469   fi
    5470   rm -f conftest.$ac_objext conftest$ac_exeext
    5471 if { (ac_try="$ac_link"
    5472 case "(($ac_try" in
    5473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5474   *) ac_try_echo=$ac_try;;
    5475 esac
    5476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5477   (eval "$ac_link") 2>conftest.er1
     4874rm -f conftest.$ac_objext conftest$ac_exeext
     4875if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4876  (eval $ac_link) 2>conftest.er1
    54784877  ac_status=$?
    54794878  grep -v '^ *+' conftest.er1 >conftest.err
     
    54814880  cat conftest.err >&5
    54824881  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5483   (exit $ac_status); } && {
    5484      test -z "$ac_c_werror_flag" ||
    5485      test ! -s conftest.err
    5486        } && test -s conftest$ac_exeext &&
    5487        $as_test_x conftest$ac_exeext; then
    5488   ac_cv_search_opendir=$ac_res
     4882  (exit $ac_status); } &&
     4883     { ac_try='test -z "$ac_c_werror_flag"
     4884             || test ! -s conftest.err'
     4885  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4886  (eval $ac_try) 2>&5
     4887  ac_status=$?
     4888  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4889  (exit $ac_status); }; } &&
     4890     { ac_try='test -s conftest$ac_exeext'
     4891  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4892  (eval $ac_try) 2>&5
     4893  ac_status=$?
     4894  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4895  (exit $ac_status); }; }; then
     4896  ac_cv_search_opendir="-l$ac_lib"
     4897break
    54894898else
    54904899  echo "$as_me: failed program was:" >&5
    54914900sed 's/^/| /' conftest.$ac_ext >&5
    54924901
    5493 
    5494 fi
    5495 
    5496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5497       conftest$ac_exeext
    5498   if test "${ac_cv_search_opendir+set}" = set; then
    5499   break
    5500 fi
    5501 done
     4902fi
     4903rm -f conftest.err conftest.$ac_objext \
     4904      conftest$ac_exeext conftest.$ac_ext
     4905  done
     4906fi
     4907LIBS=$ac_func_search_save_LIBS
     4908fi
     4909echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     4910echo "${ECHO_T}$ac_cv_search_opendir" >&6
     4911if test "$ac_cv_search_opendir" != no; then
     4912  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     4913
     4914fi
     4915
     4916else
     4917  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4918echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    55024919if test "${ac_cv_search_opendir+set}" = set; then
    5503   :
    5504 else
    5505   ac_cv_search_opendir=no
    5506 fi
    5507 rm conftest.$ac_ext
     4920  echo $ECHO_N "(cached) $ECHO_C" >&6
     4921else
     4922  ac_func_search_save_LIBS=$LIBS
     4923ac_cv_search_opendir=no
     4924cat >conftest.$ac_ext <<_ACEOF
     4925/* confdefs.h.  */
     4926_ACEOF
     4927cat confdefs.h >>conftest.$ac_ext
     4928cat >>conftest.$ac_ext <<_ACEOF
     4929/* end confdefs.h.  */
     4930
     4931/* Override any gcc2 internal prototype to avoid an error.  */
     4932#ifdef __cplusplus
     4933extern "C"
     4934#endif
     4935/* We use char because int might match the return type of a gcc2
     4936   builtin and then its argument prototype would still apply.  */
     4937char opendir ();
     4938int
     4939main ()
     4940{
     4941opendir ();
     4942  ;
     4943  return 0;
     4944}
     4945_ACEOF
     4946rm -f conftest.$ac_objext conftest$ac_exeext
     4947if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4948  (eval $ac_link) 2>conftest.er1
     4949  ac_status=$?
     4950  grep -v '^ *+' conftest.er1 >conftest.err
     4951  rm -f conftest.er1
     4952  cat conftest.err >&5
     4953  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4954  (exit $ac_status); } &&
     4955     { ac_try='test -z "$ac_c_werror_flag"
     4956             || test ! -s conftest.err'
     4957  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4958  (eval $ac_try) 2>&5
     4959  ac_status=$?
     4960  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4961  (exit $ac_status); }; } &&
     4962     { ac_try='test -s conftest$ac_exeext'
     4963  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4964  (eval $ac_try) 2>&5
     4965  ac_status=$?
     4966  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4967  (exit $ac_status); }; }; then
     4968  ac_cv_search_opendir="none required"
     4969else
     4970  echo "$as_me: failed program was:" >&5
     4971sed 's/^/| /' conftest.$ac_ext >&5
     4972
     4973fi
     4974rm -f conftest.err conftest.$ac_objext \
     4975      conftest$ac_exeext conftest.$ac_ext
     4976if test "$ac_cv_search_opendir" = no; then
     4977  for ac_lib in x; do
     4978    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4979    cat >conftest.$ac_ext <<_ACEOF
     4980/* confdefs.h.  */
     4981_ACEOF
     4982cat confdefs.h >>conftest.$ac_ext
     4983cat >>conftest.$ac_ext <<_ACEOF
     4984/* end confdefs.h.  */
     4985
     4986/* Override any gcc2 internal prototype to avoid an error.  */
     4987#ifdef __cplusplus
     4988extern "C"
     4989#endif
     4990/* We use char because int might match the return type of a gcc2
     4991   builtin and then its argument prototype would still apply.  */
     4992char opendir ();
     4993int
     4994main ()
     4995{
     4996opendir ();
     4997  ;
     4998  return 0;
     4999}
     5000_ACEOF
     5001rm -f conftest.$ac_objext conftest$ac_exeext
     5002if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5003  (eval $ac_link) 2>conftest.er1
     5004  ac_status=$?
     5005  grep -v '^ *+' conftest.er1 >conftest.err
     5006  rm -f conftest.er1
     5007  cat conftest.err >&5
     5008  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5009  (exit $ac_status); } &&
     5010     { ac_try='test -z "$ac_c_werror_flag"
     5011             || test ! -s conftest.err'
     5012  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5013  (eval $ac_try) 2>&5
     5014  ac_status=$?
     5015  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5016  (exit $ac_status); }; } &&
     5017     { ac_try='test -s conftest$ac_exeext'
     5018  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5019  (eval $ac_try) 2>&5
     5020  ac_status=$?
     5021  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5022  (exit $ac_status); }; }; then
     5023  ac_cv_search_opendir="-l$ac_lib"
     5024break
     5025else
     5026  echo "$as_me: failed program was:" >&5
     5027sed 's/^/| /' conftest.$ac_ext >&5
     5028
     5029fi
     5030rm -f conftest.err conftest.$ac_objext \
     5031      conftest$ac_exeext conftest.$ac_ext
     5032  done
     5033fi
    55085034LIBS=$ac_func_search_save_LIBS
    55095035fi
    5510 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5511 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
    5512 ac_res=$ac_cv_search_opendir
    5513 if test "$ac_res" != no; then
    5514   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5515 
    5516 fi
    5517 
    5518 fi
    5519 
    5520 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5521 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
     5036echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5037echo "${ECHO_T}$ac_cv_search_opendir" >&6
     5038if test "$ac_cv_search_opendir" != no; then
     5039  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     5040
     5041fi
     5042
     5043fi
     5044
     5045echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5046echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    55225047if test "${ac_cv_header_stdc+set}" = set; then
    55235048  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55435068_ACEOF
    55445069rm -f conftest.$ac_objext
    5545 if { (ac_try="$ac_compile"
    5546 case "(($ac_try" in
    5547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5548   *) ac_try_echo=$ac_try;;
    5549 esac
    5550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5551   (eval "$ac_compile") 2>conftest.er1
     5070if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5071  (eval $ac_compile) 2>conftest.er1
    55525072  ac_status=$?
    55535073  grep -v '^ *+' conftest.er1 >conftest.err
     
    55555075  cat conftest.err >&5
    55565076  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5557   (exit $ac_status); } && {
    5558      test -z "$ac_c_werror_flag" ||
    5559      test ! -s conftest.err
    5560        } && test -s conftest.$ac_objext; then
     5077  (exit $ac_status); } &&
     5078     { ac_try='test -z "$ac_c_werror_flag"
     5079             || test ! -s conftest.err'
     5080  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5081  (eval $ac_try) 2>&5
     5082  ac_status=$?
     5083  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5084  (exit $ac_status); }; } &&
     5085     { ac_try='test -s conftest.$ac_objext'
     5086  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5087  (eval $ac_try) 2>&5
     5088  ac_status=$?
     5089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5090  (exit $ac_status); }; }; then
    55615091  ac_cv_header_stdc=yes
    55625092else
     
    55645094sed 's/^/| /' conftest.$ac_ext >&5
    55655095
    5566     ac_cv_header_stdc=no
    5567 fi
    5568 
    5569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5096ac_cv_header_stdc=no
     5097fi
     5098rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    55705099
    55715100if test $ac_cv_header_stdc = yes; then
     
    56235152/* end confdefs.h.  */
    56245153#include <ctype.h>
    5625 #include <stdlib.h>
    56265154#if ((' ' & 0x0FF) == 0x020)
    56275155# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    56435171    if (XOR (islower (i), ISLOWER (i))
    56445172    || toupper (i) != TOUPPER (i))
    5645       return 2;
    5646   return 0;
     5173      exit(2);
     5174  exit (0);
    56475175}
    56485176_ACEOF
    56495177rm -f conftest$ac_exeext
    5650 if { (ac_try="$ac_link"
    5651 case "(($ac_try" in
    5652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5653   *) ac_try_echo=$ac_try;;
    5654 esac
    5655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5656   (eval "$ac_link") 2>&5
     5178if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5179  (eval $ac_link) 2>&5
    56575180  ac_status=$?
    56585181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    56595182  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5660   { (case "(($ac_try" in
    5661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5662   *) ac_try_echo=$ac_try;;
    5663 esac
    5664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5665   (eval "$ac_try") 2>&5
     5183  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5184  (eval $ac_try) 2>&5
    56665185  ac_status=$?
    56675186  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    56765195ac_cv_header_stdc=no
    56775196fi
    5678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5679 fi
    5680 
    5681 
    5682 fi
    5683 fi
    5684 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5685 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     5197rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5198fi
     5199fi
     5200fi
     5201echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5202echo "${ECHO_T}$ac_cv_header_stdc" >&6
    56865203if test $ac_cv_header_stdc = yes; then
    56875204
     
    57045221do
    57055222as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5707   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5223if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5224  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5225echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5226if eval "test \"\${$as_ac_Header+set}\" = set"; then
    57105227  echo $ECHO_N "(cached) $ECHO_C" >&6
    57115228fi
    5712 ac_res=`eval echo '${'$as_ac_Header'}'`
    5713            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5714 echo "${ECHO_T}$ac_res" >&6; }
     5229echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5230echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    57155231else
    57165232  # Is the header compilable?
    5717 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     5233echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5234echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    57195235cat >conftest.$ac_ext <<_ACEOF
    57205236/* confdefs.h.  */
     
    57275243_ACEOF
    57285244rm -f conftest.$ac_objext
    5729 if { (ac_try="$ac_compile"
    5730 case "(($ac_try" in
    5731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5732   *) ac_try_echo=$ac_try;;
    5733 esac
    5734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5735   (eval "$ac_compile") 2>conftest.er1
     5245if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5246  (eval $ac_compile) 2>conftest.er1
    57365247  ac_status=$?
    57375248  grep -v '^ *+' conftest.er1 >conftest.err
     
    57395250  cat conftest.err >&5
    57405251  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5741   (exit $ac_status); } && {
    5742      test -z "$ac_c_werror_flag" ||
    5743      test ! -s conftest.err
    5744        } && test -s conftest.$ac_objext; then
     5252  (exit $ac_status); } &&
     5253     { ac_try='test -z "$ac_c_werror_flag"
     5254             || test ! -s conftest.err'
     5255  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5256  (eval $ac_try) 2>&5
     5257  ac_status=$?
     5258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5259  (exit $ac_status); }; } &&
     5260     { ac_try='test -s conftest.$ac_objext'
     5261  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5262  (eval $ac_try) 2>&5
     5263  ac_status=$?
     5264  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5265  (exit $ac_status); }; }; then
    57455266  ac_header_compiler=yes
    57465267else
     
    57485269sed 's/^/| /' conftest.$ac_ext >&5
    57495270
    5750     ac_header_compiler=no
    5751 fi
    5752 
    5753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5754 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5755 echo "${ECHO_T}$ac_header_compiler" >&6; }
     5271ac_header_compiler=no
     5272fi
     5273rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5274echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5275echo "${ECHO_T}$ac_header_compiler" >&6
    57565276
    57575277# Is the header present?
    5758 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     5278echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5279echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    57605280cat >conftest.$ac_ext <<_ACEOF
    57615281/* confdefs.h.  */
     
    57665286#include <$ac_header>
    57675287_ACEOF
    5768 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5769 case "(($ac_try" in
    5770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5771   *) ac_try_echo=$ac_try;;
    5772 esac
    5773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5774   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5288if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5289  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    57755290  ac_status=$?
    57765291  grep -v '^ *+' conftest.er1 >conftest.err
     
    57785293  cat conftest.err >&5
    57795294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5780   (exit $ac_status); } >/dev/null && {
    5781      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5782      test ! -s conftest.err
    5783        }; then
     5295  (exit $ac_status); } >/dev/null; then
     5296  if test -s conftest.err; then
     5297    ac_cpp_err=$ac_c_preproc_warn_flag
     5298    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     5299  else
     5300    ac_cpp_err=
     5301  fi
     5302else
     5303  ac_cpp_err=yes
     5304fi
     5305if test -z "$ac_cpp_err"; then
    57845306  ac_header_preproc=yes
    57855307else
     
    57895311  ac_header_preproc=no
    57905312fi
    5791 
    57925313rm -f conftest.err conftest.$ac_ext
    5793 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5794 echo "${ECHO_T}$ac_header_preproc" >&6; }
     5314echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5315echo "${ECHO_T}$ac_header_preproc" >&6
    57955316
    57965317# So?  What about this header?
     
    58165337    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    58175338echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5818 
     5339    (
     5340      cat <<\_ASBOX
     5341## ------------------------------------------ ##
     5342## Report this to the AC_PACKAGE_NAME lists.  ##
     5343## ------------------------------------------ ##
     5344_ASBOX
     5345    ) |
     5346      sed "s/^/$as_me: WARNING:     /" >&2
    58195347    ;;
    58205348esac
    5821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5349echo "$as_me:$LINENO: checking for $ac_header" >&5
     5350echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5351if eval "test \"\${$as_ac_Header+set}\" = set"; then
    58245352  echo $ECHO_N "(cached) $ECHO_C" >&6
    58255353else
    58265354  eval "$as_ac_Header=\$ac_header_preproc"
    58275355fi
    5828 ac_res=`eval echo '${'$as_ac_Header'}'`
    5829            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5830 echo "${ECHO_T}$ac_res" >&6; }
     5356echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5357echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    58315358
    58325359fi
     
    58975424# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    58985425# for constant arguments.  Useless!
    5899 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5900 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
     5426echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5427echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
    59015428if test "${ac_cv_working_alloca_h+set}" = set; then
    59025429  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    59135440{
    59145441char *p = (char *) alloca (2 * sizeof (int));
    5915               if (p) return 0;
    59165442  ;
    59175443  return 0;
     
    59195445_ACEOF
    59205446rm -f conftest.$ac_objext conftest$ac_exeext
    5921 if { (ac_try="$ac_link"
    5922 case "(($ac_try" in
    5923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5924   *) ac_try_echo=$ac_try;;
    5925 esac
    5926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5927   (eval "$ac_link") 2>conftest.er1
     5447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5448  (eval $ac_link) 2>conftest.er1
    59285449  ac_status=$?
    59295450  grep -v '^ *+' conftest.er1 >conftest.err
     
    59315452  cat conftest.err >&5
    59325453  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5933   (exit $ac_status); } && {
    5934      test -z "$ac_c_werror_flag" ||
    5935      test ! -s conftest.err
    5936        } && test -s conftest$ac_exeext &&
    5937        $as_test_x conftest$ac_exeext; then
     5454  (exit $ac_status); } &&
     5455     { ac_try='test -z "$ac_c_werror_flag"
     5456             || test ! -s conftest.err'
     5457  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5458  (eval $ac_try) 2>&5
     5459  ac_status=$?
     5460  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5461  (exit $ac_status); }; } &&
     5462     { ac_try='test -s conftest$ac_exeext'
     5463  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5464  (eval $ac_try) 2>&5
     5465  ac_status=$?
     5466  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5467  (exit $ac_status); }; }; then
    59385468  ac_cv_working_alloca_h=yes
    59395469else
     
    59415471sed 's/^/| /' conftest.$ac_ext >&5
    59425472
    5943     ac_cv_working_alloca_h=no
    5944 fi
    5945 
    5946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5473ac_cv_working_alloca_h=no
     5474fi
     5475rm -f conftest.err conftest.$ac_objext \
    59475476      conftest$ac_exeext conftest.$ac_ext
    59485477fi
    5949 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5950 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
     5478echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5479echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
    59515480if test $ac_cv_working_alloca_h = yes; then
    59525481
     
    59575486fi
    59585487
    5959 { echo "$as_me:$LINENO: checking for alloca" >&5
    5960 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
     5488echo "$as_me:$LINENO: checking for alloca" >&5
     5489echo $ECHO_N "checking for alloca... $ECHO_C" >&6
    59615490if test "${ac_cv_func_alloca_works+set}" = set; then
    59625491  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    59755504#  define alloca _alloca
    59765505# else
    5977 #  ifdef HAVE_ALLOCA_H
     5506#  if HAVE_ALLOCA_H
    59785507#   include <alloca.h>
    59795508#  else
     
    59935522{
    59945523char *p = (char *) alloca (1);
    5995                     if (p) return 0;
    59965524  ;
    59975525  return 0;
     
    59995527_ACEOF
    60005528rm -f conftest.$ac_objext conftest$ac_exeext
    6001 if { (ac_try="$ac_link"
    6002 case "(($ac_try" in
    6003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6004   *) ac_try_echo=$ac_try;;
    6005 esac
    6006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6007   (eval "$ac_link") 2>conftest.er1
     5529if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5530  (eval $ac_link) 2>conftest.er1
    60085531  ac_status=$?
    60095532  grep -v '^ *+' conftest.er1 >conftest.err
     
    60115534  cat conftest.err >&5
    60125535  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6013   (exit $ac_status); } && {
    6014      test -z "$ac_c_werror_flag" ||
    6015      test ! -s conftest.err
    6016        } && test -s conftest$ac_exeext &&
    6017        $as_test_x conftest$ac_exeext; then
     5536  (exit $ac_status); } &&
     5537     { ac_try='test -z "$ac_c_werror_flag"
     5538             || test ! -s conftest.err'
     5539  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5540  (eval $ac_try) 2>&5
     5541  ac_status=$?
     5542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5543  (exit $ac_status); }; } &&
     5544     { ac_try='test -s conftest$ac_exeext'
     5545  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5546  (eval $ac_try) 2>&5
     5547  ac_status=$?
     5548  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5549  (exit $ac_status); }; }; then
    60185550  ac_cv_func_alloca_works=yes
    60195551else
     
    60215553sed 's/^/| /' conftest.$ac_ext >&5
    60225554
    6023     ac_cv_func_alloca_works=no
    6024 fi
    6025 
    6026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5555ac_cv_func_alloca_works=no
     5556fi
     5557rm -f conftest.err conftest.$ac_objext \
    60275558      conftest$ac_exeext conftest.$ac_ext
    60285559fi
    6029 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    6030 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
     5560echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     5561echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
    60315562
    60325563if test $ac_cv_func_alloca_works = yes; then
     
    60425573# use ar to extract alloca.o from them instead of compiling alloca.c.
    60435574
    6044 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
     5575ALLOCA=alloca.$ac_objext
    60455576
    60465577cat >>confdefs.h <<\_ACEOF
     
    60495580
    60505581
    6051 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    6052 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
     5582echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     5583echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
    60535584if test "${ac_cv_os_cray+set}" = set; then
    60545585  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    60605591cat >>conftest.$ac_ext <<_ACEOF
    60615592/* end confdefs.h.  */
    6062 #if defined CRAY && ! defined CRAY2
     5593#if defined(CRAY) && ! defined(CRAY2)
    60635594webecray
    60645595#else
     
    60765607
    60775608fi
    6078 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    6079 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
     5609echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     5610echo "${ECHO_T}$ac_cv_os_cray" >&6
    60805611if test $ac_cv_os_cray = yes; then
    60815612  for ac_func in _getb67 GETB67 getb67; do
    60825613    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6083 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6085 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     5614echo "$as_me:$LINENO: checking for $ac_func" >&5
     5615echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     5616if eval "test \"\${$as_ac_var+set}\" = set"; then
    60865617  echo $ECHO_N "(cached) $ECHO_C" >&6
    60875618else
     
    61095640#undef $ac_func
    61105641
    6111 /* Override any GCC internal prototype to avoid an error.
    6112    Use char because int might match the return type of a GCC
    6113    builtin and then its argument prototype would still apply.  */
     5642/* Override any gcc2 internal prototype to avoid an error.  */
    61145643#ifdef __cplusplus
    61155644extern "C"
     5645{
    61165646#endif
     5647/* We use char because int might match the return type of a gcc2
     5648   builtin and then its argument prototype would still apply.  */
    61175649char $ac_func ();
    61185650/* The GNU C library defines this for functions which it implements
    61195651    to always fail with ENOSYS.  Some functions are actually named
    61205652    something starting with __ and the normal name is an alias.  */
    6121 #if defined __stub_$ac_func || defined __stub___$ac_func
     5653#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    61225654choke me
     5655#else
     5656char (*f) () = $ac_func;
     5657#endif
     5658#ifdef __cplusplus
     5659}
    61235660#endif
    61245661
     
    61265663main ()
    61275664{
    6128 return $ac_func ();
     5665return f != $ac_func;
    61295666  ;
    61305667  return 0;
     
    61325669_ACEOF
    61335670rm -f conftest.$ac_objext conftest$ac_exeext
    6134 if { (ac_try="$ac_link"
    6135 case "(($ac_try" in
    6136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6137   *) ac_try_echo=$ac_try;;
    6138 esac
    6139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6140   (eval "$ac_link") 2>conftest.er1
     5671if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5672  (eval $ac_link) 2>conftest.er1
    61415673  ac_status=$?
    61425674  grep -v '^ *+' conftest.er1 >conftest.err
     
    61445676  cat conftest.err >&5
    61455677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6146   (exit $ac_status); } && {
    6147      test -z "$ac_c_werror_flag" ||
    6148      test ! -s conftest.err
    6149        } && test -s conftest$ac_exeext &&
    6150        $as_test_x conftest$ac_exeext; then
     5678  (exit $ac_status); } &&
     5679     { ac_try='test -z "$ac_c_werror_flag"
     5680             || test ! -s conftest.err'
     5681  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5682  (eval $ac_try) 2>&5
     5683  ac_status=$?
     5684  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5685  (exit $ac_status); }; } &&
     5686     { ac_try='test -s conftest$ac_exeext'
     5687  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5688  (eval $ac_try) 2>&5
     5689  ac_status=$?
     5690  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5691  (exit $ac_status); }; }; then
    61515692  eval "$as_ac_var=yes"
    61525693else
     
    61545695sed 's/^/| /' conftest.$ac_ext >&5
    61555696
    6156     eval "$as_ac_var=no"
    6157 fi
    6158 
    6159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5697eval "$as_ac_var=no"
     5698fi
     5699rm -f conftest.err conftest.$ac_objext \
    61605700      conftest$ac_exeext conftest.$ac_ext
    61615701fi
    6162 ac_res=`eval echo '${'$as_ac_var'}'`
    6163            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6164 echo "${ECHO_T}$ac_res" >&6; }
     5702echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     5703echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    61655704if test `eval echo '${'$as_ac_var'}'` = yes; then
    61665705
     
    61755714fi
    61765715
    6177 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5