Changeset 21327 for main/trunk


Ignore:
Timestamp:
2009-12-09T21:49:00+13:00 (14 years ago)
Author:
ak19
Message:

Changes to makefiles, configure files, and source code to work with the new configure flags that allow indexers to be individually compiled up by setting each indexer to be enabled or disabled (enable-mg, enable-mgpp, enable-lucene).

Location:
main/trunk/greenstone2/common-src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/Makefile.in

    r19877 r21327  
    7676      (cd $$odir && $(MAKE) $(MDEFINES) install) || exit 1; \
    7777    done
    78     cp $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar ../bin/java/ 
     78    if test -e $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar; then \
     79      cp $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar ../bin/java/.; \
     80    fi
    7981    for idir in $(INSTALLDIRS); do \
    8082      echo installing $$idir; \
     
    9799      (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \
    98100    done
    99     cp $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar ../bin/java/ 
     101    if test -e $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar; then \
     102      cp $(INDEXERSDIR)/lucene-gs/LuceneWrapper.jar ../bin/java/.; \
     103    fi
    100104    for odir in $(COMPILEDIRS) $(MODULEDIRS); do \
    101105      echo making install in $$odir; \
  • main/trunk/greenstone2/common-src/config.h.in

    r16567 r21327  
    110110#undef USE_CORBA
    111111
     112/* Define ENABLE for indexers */
     113#undef ENABLE_MG
     114#undef ENABLE_MGPP
     115#undef ENABLE_LUCENE
     116
    112117/* Define MICO_DIR if needsbe */
    113118#undef MICO_DIR
  • main/trunk/greenstone2/common-src/configure

    r20846 r21327  
    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 [email protected] 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.
     
    581276ac_includes_default="\
    582277#include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
     278#if HAVE_SYS_TYPES_H
    584279# include <sys/types.h>
    585280#endif
    586 #ifdef HAVE_SYS_STAT_H
     281#if HAVE_SYS_STAT_H
    587282# include <sys/stat.h>
    588283#endif
    589 #ifdef STDC_HEADERS
     284#if STDC_HEADERS
    590285# include <stdlib.h>
    591286# include <stddef.h>
    592287#else
    593 # ifdef HAVE_STDLIB_H
     288# if HAVE_STDLIB_H
    594289#  include <stdlib.h>
    595290# endif
    596291#endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     292#if HAVE_STRING_H
     293# if !STDC_HEADERS && HAVE_MEMORY_H
    599294#  include <memory.h>
    600295# endif
    601296# include <string.h>
    602297#endif
    603 #ifdef HAVE_STRINGS_H
     298#if HAVE_STRINGS_H
    604299# include <strings.h>
    605300#endif
    606 #ifdef HAVE_INTTYPES_H
     301#if HAVE_INTTYPES_H
    607302# include <inttypes.h>
     303#else
     304# if HAVE_STDINT_H
     305#  include <stdint.h>
     306# endif
    608307#endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
     308#if HAVE_UNISTD_H
    613309# include <unistd.h>
    614310#endif"
    615311
    616 ac_subst_vars='SHELL
    617 PATH_SEPARATOR
    618 PACKAGE_NAME
    619 PACKAGE_TARNAME
    620 PACKAGE_VERSION
    621 PACKAGE_STRING
    622 PACKAGE_BUGREPORT
    623 exec_prefix
    624 prefix
    625 program_transform_name
    626 bindir
    627 sbindir
    628 libexecdir
    629 datarootdir
    630 datadir
    631 sysconfdir
    632 sharedstatedir
    633 localstatedir
    634 includedir
    635 oldincludedir
    636 docdir
    637 infodir
    638 htmldir
    639 dvidir
    640 pdfdir
    641 psdir
    642 libdir
    643 localedir
    644 mandir
    645 DEFS
    646 ECHO_C
    647 ECHO_N
    648 ECHO_T
    649 LIBS
    650 build_alias
    651 host_alias
    652 target_alias
    653 PACKAGE
    654 VERSION
    655 USE_FASTCGI
    656 USE_LANGACTION
    657 USE_CORBA
    658 MICO_DIR
    659 USE_Z3950
    660 USE_YAZ
    661 ENABLE_ACCENTFOLD
    662 USE_SQLITE
    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'
     312ac_subdirs_all="$ac_subdirs_all packages"
     313ac_subdirs_all="$ac_subdirs_all indexers"
     314ac_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 ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
    708315ac_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='packages
    724 indexers'
    725316
    726317# Initialize some variables set by options.
     
    749340# by default will actually change.
    750341# Use braces instead of parens because sh, perl, etc. also accept them.
    751 # (The list follows the same order as the GNU Coding Standards.)
    752342bindir='${exec_prefix}/bin'
    753343sbindir='${exec_prefix}/sbin'
    754344libexecdir='${exec_prefix}/libexec'
    755 datarootdir='${prefix}/share'
    756 datadir='${datarootdir}'
     345datadir='${prefix}/share'
    757346sysconfdir='${prefix}/etc'
    758347sharedstatedir='${prefix}/com'
    759348localstatedir='${prefix}/var'
     349libdir='${exec_prefix}/lib'
    760350includedir='${prefix}/include'
    761351oldincludedir='/usr/include'
    762 docdir='${datarootdir}/doc/${PACKAGE}'
    763 infodir='${datarootdir}/info'
    764 htmldir='${docdir}'
    765 dvidir='${docdir}'
    766 pdfdir='${docdir}'
    767 psdir='${docdir}'
    768 libdir='${exec_prefix}/lib'
    769 localedir='${datarootdir}/locale'
    770 mandir='${datarootdir}/man'
     352infodir='${prefix}/info'
     353mandir='${prefix}/man'
    771354
    772355ac_prev=
    773 ac_dashdash=
    774356for ac_option
    775357do
    776358  # If the previous option needs an argument, assign it.
    777359  if test -n "$ac_prev"; then
    778     eval $ac_prev=\$ac_option
     360    eval "$ac_prev=\$ac_option"
    779361    ac_prev=
    780362    continue
    781363  fi
    782364
     365  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     366
     367  # Accept the important Cygnus configure options, so we can diagnose typos.
     368
    783369  case $ac_option in
    784   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    785   *)    ac_optarg=yes ;;
    786   esac
    787 
    788   # Accept the important Cygnus configure options, so we can diagnose typos.
    789 
    790   case $ac_dashdash$ac_option in
    791   --)
    792     ac_dashdash=yes ;;
    793370
    794371  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    812389    cache_file=config.cache ;;
    813390
    814   -datadir | --datadir | --datadi | --datad)
     391  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    815392    ac_prev=datadir ;;
    816   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     393  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     394  | --da=*)
    817395    datadir=$ac_optarg ;;
    818 
    819   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    820   | --dataroo | --dataro | --datar)
    821     ac_prev=datarootdir ;;
    822   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    823   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    824     datarootdir=$ac_optarg ;;
    825396
    826397  -disable-* | --disable-*)
    827398    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    828399    # Reject names that are not valid shell variable names.
    829     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     400    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    830401      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    831402   { (exit 1); exit 1; }; }
    832     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    833     eval enable_$ac_feature=no ;;
    834 
    835   -docdir | --docdir | --docdi | --doc | --do)
    836     ac_prev=docdir ;;
    837   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    838     docdir=$ac_optarg ;;
    839 
    840   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    841     ac_prev=dvidir ;;
    842   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    843     dvidir=$ac_optarg ;;
     403    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     404    eval "enable_$ac_feature=no" ;;
    844405
    845406  -enable-* | --enable-*)
    846407    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    847408    # Reject names that are not valid shell variable names.
    848     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     409    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    849410      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    850411   { (exit 1); exit 1; }; }
    851     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    852     eval enable_$ac_feature=\$ac_optarg ;;
     412    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     413    case $ac_option in
     414      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     415      *) ac_optarg=yes ;;
     416    esac
     417    eval "enable_$ac_feature='$ac_optarg'" ;;
    853418
    854419  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    877442    host_alias=$ac_optarg ;;
    878443
    879   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    880     ac_prev=htmldir ;;
    881   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    882   | --ht=*)
    883     htmldir=$ac_optarg ;;
    884 
    885444  -includedir | --includedir | --includedi | --included | --include \
    886445  | --includ | --inclu | --incl | --inc)
     
    907466    libexecdir=$ac_optarg ;;
    908467
    909   -localedir | --localedir | --localedi | --localed | --locale)
    910     ac_prev=localedir ;;
    911   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    912     localedir=$ac_optarg ;;
    913 
    914468  -localstatedir | --localstatedir | --localstatedi | --localstated \
    915   | --localstate | --localstat | --localsta | --localst | --locals)
     469  | --localstate | --localstat | --localsta | --localst \
     470  | --locals | --local | --loca | --loc | --lo)
    916471    ac_prev=localstatedir ;;
    917472  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    918   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     473  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     474  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    919475    localstatedir=$ac_optarg ;;
    920476
     
    981537    program_transform_name=$ac_optarg ;;
    982538
    983   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    984     ac_prev=pdfdir ;;
    985   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    986     pdfdir=$ac_optarg ;;
    987 
    988   -psdir | --psdir | --psdi | --psd | --ps)
    989     ac_prev=psdir ;;
    990   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    991     psdir=$ac_optarg ;;
    992 
    993539  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    994540  | -silent | --silent | --silen | --sile | --sil)
     
    1043589    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    1044590    # Reject names that are not valid shell variable names.
    1045     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     591    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    1046592      { echo "$as_me: error: invalid package name: $ac_package" >&2
    1047593   { (exit 1); exit 1; }; }
    1048     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1049     eval with_$ac_package=\$ac_optarg ;;
     594    ac_package=`echo $ac_package| sed 's/-/_/g'`
     595    case $ac_option in
     596      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     597      *) ac_optarg=yes ;;
     598    esac
     599    eval "with_$ac_package='$ac_optarg'" ;;
    1050600
    1051601  -without-* | --without-*)
    1052602    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    1053603    # Reject names that are not valid shell variable names.
    1054     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     604    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    1055605      { echo "$as_me: error: invalid package name: $ac_package" >&2
    1056606   { (exit 1); exit 1; }; }
    1057     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1058     eval with_$ac_package=no ;;
     607    ac_package=`echo $ac_package | sed 's/-/_/g'`
     608    eval "with_$ac_package=no" ;;
    1059609
    1060610  --x)
     
    1087637      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1088638   { (exit 1); exit 1; }; }
    1089     eval $ac_envvar=\$ac_optarg
     639    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     640    eval "$ac_envvar='$ac_optarg'"
    1090641    export $ac_envvar ;;
    1091642
     
    1107658fi
    1108659
    1109 # Be sure to have absolute directory names.
    1110 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    1111         datadir sysconfdir sharedstatedir localstatedir includedir \
    1112         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1113         libdir localedir mandir
     660# Be sure to have absolute paths.
     661for ac_var in exec_prefix prefix
    1114662do
    1115   eval ac_val=\$$ac_var
     663  eval ac_val=$`echo $ac_var`
    1116664  case $ac_val in
    1117     [\\/$]* | ?:[\\/]* )  continue;;
    1118     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
     665    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     666    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     667   { (exit 1); exit 1; }; };;
    1119668  esac
    1120   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1121    { (exit 1); exit 1; }; }
     669done
     670
     671# Be sure to have absolute paths.
     672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     673          localstatedir libdir includedir oldincludedir infodir mandir
     674do
     675  eval ac_val=$`echo $ac_var`
     676  case $ac_val in
     677    [\\/$]* | ?:[\\/]* ) ;;
     678    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     679   { (exit 1); exit 1; }; };;
     680  esac
    1122681done
    1123682
     
    1146705
    1147706
    1148 ac_pwd=`pwd` && test -n "$ac_pwd" &&
    1149 ac_ls_di=`ls -di .` &&
    1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1151   { echo "$as_me: error: Working directory cannot be determined" >&2
    1152    { (exit 1); exit 1; }; }
    1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1154   { echo "$as_me: error: pwd does not report name of working directory" >&2
    1155    { (exit 1); exit 1; }; }
    1156 
    1157 
    1158707# Find the source files, if location was not specified.
    1159708if test -z "$srcdir"; then
    1160709  ac_srcdir_defaulted=yes
    1161   # Try the directory containing this script, then the parent directory.
    1162   ac_confdir=`$as_dirname -- "$0" ||
     710  # Try the directory containing this script, then its parent.
     711  ac_confdir=`(dirname "$0") 2>/dev/null ||
    1163712$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1164713     X"$0" : 'X\(//\)[^/]' \| \
    1165714     X"$0" : 'X\(//\)$' \| \
    1166      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     715     X"$0" : 'X\(/\)' \| \
     716     .     : '\(.\)' 2>/dev/null ||
    1167717echo X"$0" |
    1168     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1169         s//\1/
    1170         q
    1171       }
    1172       /^X\(\/\/\)[^/].*/{
    1173         s//\1/
    1174         q
    1175       }
    1176       /^X\(\/\/\)$/{
    1177         s//\1/
    1178         q
    1179       }
    1180       /^X\(\/\).*/{
    1181         s//\1/
    1182         q
    1183       }
    1184       s/.*/./; q'`
     718    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     719      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     720      /^X\(\/\/\)$/{ s//\1/; q; }
     721      /^X\(\/\).*/{ s//\1/; q; }
     722      s/.*/./; q'`
    1185723  srcdir=$ac_confdir
    1186   if test ! -r "$srcdir/$ac_unique_file"; then
     724  if test ! -r $srcdir/$ac_unique_file; then
    1187725    srcdir=..
    1188726  fi
     
    1190728  ac_srcdir_defaulted=no
    1191729fi
    1192 if test ! -r "$srcdir/$ac_unique_file"; then
    1193   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1194   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     730if test ! -r $srcdir/$ac_unique_file; then
     731  if test "$ac_srcdir_defaulted" = yes; then
     732    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    1195733   { (exit 1); exit 1; }; }
    1196 fi
    1197 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    1198 ac_abs_confdir=`(
    1199     cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
     734  else
     735    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1200736   { (exit 1); exit 1; }; }
    1201     pwd)`
    1202 # When building in place, set srcdir=.
    1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
    1204   srcdir=.
    1205 fi
    1206 # Remove unnecessary trailing slashes from srcdir.
    1207 # Double slashes in file names in object file debugging info
    1208 # mess up M-x gdb in Emacs.
    1209 case $srcdir in
    1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
    1211 esac
    1212 for ac_var in $ac_precious_vars; do
    1213   eval ac_env_${ac_var}_set=\${${ac_var}+set}
    1214   eval ac_env_${ac_var}_value=\$${ac_var}
    1215   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
    1216   eval ac_cv_env_${ac_var}_value=\$${ac_var}
    1217 done
     737  fi
     738fi
     739(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     740  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     741   { (exit 1); exit 1; }; }
     742srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     743ac_env_build_alias_set=${build_alias+set}
     744ac_env_build_alias_value=$build_alias
     745ac_cv_env_build_alias_set=${build_alias+set}
     746ac_cv_env_build_alias_value=$build_alias
     747ac_env_host_alias_set=${host_alias+set}
     748ac_env_host_alias_value=$host_alias
     749ac_cv_env_host_alias_set=${host_alias+set}
     750ac_cv_env_host_alias_value=$host_alias
     751ac_env_target_alias_set=${target_alias+set}
     752ac_env_target_alias_value=$target_alias
     753ac_cv_env_target_alias_set=${target_alias+set}
     754ac_cv_env_target_alias_value=$target_alias
     755ac_env_CC_set=${CC+set}
     756ac_env_CC_value=$CC
     757ac_cv_env_CC_set=${CC+set}
     758ac_cv_env_CC_value=$CC
     759ac_env_CFLAGS_set=${CFLAGS+set}
     760ac_env_CFLAGS_value=$CFLAGS
     761ac_cv_env_CFLAGS_set=${CFLAGS+set}
     762ac_cv_env_CFLAGS_value=$CFLAGS
     763ac_env_LDFLAGS_set=${LDFLAGS+set}
     764ac_env_LDFLAGS_value=$LDFLAGS
     765ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     766ac_cv_env_LDFLAGS_value=$LDFLAGS
     767ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     768ac_env_CPPFLAGS_value=$CPPFLAGS
     769ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     770ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     771ac_env_CXX_set=${CXX+set}
     772ac_env_CXX_value=$CXX
     773ac_cv_env_CXX_set=${CXX+set}
     774ac_cv_env_CXX_value=$CXX
     775ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     776ac_env_CXXFLAGS_value=$CXXFLAGS
     777ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     778ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     779ac_env_CPP_set=${CPP+set}
     780ac_env_CPP_value=$CPP
     781ac_cv_env_CPP_set=${CPP+set}
     782ac_cv_env_CPP_value=$CPP
    1218783
    1219784#
     
    1244809      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1245810
     811_ACEOF
     812
     813  cat <<_ACEOF
    1246814Installation directories:
    1247815  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    1261829  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1262830  --libexecdir=DIR       program executables [EPREFIX/libexec]
     831  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    1263832  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1264833  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    1267836  --includedir=DIR       C header files [PREFIX/include]
    1268837  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1269   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
    1270   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
    1271   --infodir=DIR          info documentation [DATAROOTDIR/info]
    1272   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
    1273   --mandir=DIR           man documentation [DATAROOTDIR/man]
    1274   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
    1275   --htmldir=DIR          html documentation [DOCDIR]
    1276   --dvidir=DIR           dvi documentation [DOCDIR]
    1277   --pdfdir=DIR           pdf documentation [DOCDIR]
    1278   --psdir=DIR            ps documentation [DOCDIR]
     838  --infodir=DIR          info documentation [PREFIX/info]
     839  --mandir=DIR           man documentation [PREFIX/man]
    1279840_ACEOF
    1280841
     
    1300861  --disable-accentfold    Disable Accent Folding for MGPP
    1301862  --disable-sqlite        Disable SQLite support
     863  --disable-mg        Disable MG compilation
     864  --disable-mgpp        Disable MGPP compilation
     865  --disable-lucene        Disable Lucene compilation
    1302866
    1303867Optional Packages:
     
    1314878  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1315879              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>
     880  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     881              headers in a nonstandard directory <include dir>
    1319882  CXX         C++ compiler command
    1320883  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.
    1326884  CPP         C preprocessor
    1327885
     
    1330888
    1331889_ACEOF
    1332 ac_status=$?
    1333890fi
    1334891
    1335892if test "$ac_init_help" = "recursive"; then
    1336893  # If there are subdirs, report their specific --help.
     894  ac_popdir=`pwd`
    1337895  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1338     test -d "$ac_dir" || continue
     896    test -d $ac_dir || continue
    1339897    ac_builddir=.
    1340898
    1341 case "$ac_dir" in
    1342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     899if test "$ac_dir" != .; then
     900  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     901  # A "../" for each directory in $ac_dir_suffix.
     902  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     903else
     904  ac_dir_suffix= ac_top_builddir=
     905fi
     906
     907case $srcdir in
     908  .)  # No --srcdir option.  We are building in place.
     909    ac_srcdir=.
     910    if test -z "$ac_top_builddir"; then
     911       ac_top_srcdir=.
     912    else
     913       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     914    fi ;;
     915  [\\/]* | ?:[\\/]* )  # Absolute path.
     916    ac_srcdir=$srcdir$ac_dir_suffix;
     917    ac_top_srcdir=$srcdir ;;
     918  *) # Relative path.
     919    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     920    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     921esac
     922
     923# Do not use `cd foo && pwd` to compute absolute paths, because
     924# the directories may not exist.
     925case `pwd` in
     926.) ac_abs_builddir="$ac_dir";;
    1343927*)
    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 ;;
     928  case "$ac_dir" in
     929  .) ac_abs_builddir=`pwd`;;
     930  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     931  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     932  esac;;
    1351933esac
    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 ;;
     934case $ac_abs_builddir in
     935.) ac_abs_top_builddir=${ac_top_builddir}.;;
     936*)
     937  case ${ac_top_builddir}. in
     938  .) ac_abs_top_builddir=$ac_abs_builddir;;
     939  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     940  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     941  esac;;
    1370942esac
    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
     943case $ac_abs_builddir in
     944.) ac_abs_srcdir=$ac_srcdir;;
     945*)
     946  case $ac_srcdir in
     947  .) ac_abs_srcdir=$ac_abs_builddir;;
     948  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     949  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     950  esac;;
     951esac
     952case $ac_abs_builddir in
     953.) ac_abs_top_srcdir=$ac_top_srcdir;;
     954*)
     955  case $ac_top_srcdir in
     956  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     957  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     958  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     959  esac;;
     960esac
     961
     962    cd $ac_dir
     963    # Check for guested configure; otherwise get Cygnus style configure.
     964    if test -f $ac_srcdir/configure.gnu; then
     965      echo
     966      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     967    elif test -f $ac_srcdir/configure; then
     968      echo
     969      $SHELL $ac_srcdir/configure  --help=recursive
     970    elif test -f $ac_srcdir/configure.ac ||
     971       test -f $ac_srcdir/configure.in; then
     972      echo
     973      $ac_configure --help
    1381974    else
    1382975      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1383     fi || ac_status=$?
    1384     cd "$ac_pwd" || { ac_status=$?; break; }
     976    fi
     977    cd $ac_popdir
    1385978  done
    1386979fi
    1387980
    1388 test -n "$ac_init_help" && exit $ac_status
     981test -n "$ac_init_help" && exit 0
    1389982if $ac_init_version; then
    1390983  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.
     984
     985Copyright (C) 2003 Free Software Foundation, Inc.
    1396986This configure script is free software; the Free Software Foundation
    1397987gives unlimited permission to copy, distribute and modify it.
    1398988_ACEOF
    1399   exit
    1400 fi
    1401 cat >config.log <<_ACEOF
     989  exit 0
     990fi
     991exec 5>config.log
     992cat >&5 <<_ACEOF
    1402993This file contains any messages produced by compilers while
    1403994running configure, to aid debugging if configure makes a mistake.
    1404995
    1405996It was created by $as_me, which was
    1406 generated by GNU Autoconf 2.61.  Invocation command line was
     997generated by GNU Autoconf 2.59.  Invocation command line was
    1407998
    1408999  $ $0 $@
    14091000
    14101001_ACEOF
    1411 exec 5>>config.log
    14121002{
    14131003cat <<_ASUNAME
     
    14281018/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    14291019/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1430 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     1020hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    14311021/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    14321022/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    14421032  echo "PATH: $as_dir"
    14431033done
    1444 IFS=$as_save_IFS
    14451034
    14461035} >&5
     
    14641053ac_configure_args0=
    14651054ac_configure_args1=
     1055ac_sep=
    14661056ac_must_keep_next=false
    14671057for ac_pass in 1 2
     
    14741064    | -silent | --silent | --silen | --sile | --sil)
    14751065      continue ;;
    1476     *\'*)
     1066    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    14771067      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    14781068    esac
     
    14961086    esac
    14971087      fi
    1498       ac_configure_args="$ac_configure_args '$ac_arg'"
     1088      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1089      # Get rid of the leading space.
     1090      ac_sep=" "
    14991091      ;;
    15001092    esac
     
    15071099# config.log.  We remove comments because anyway the quotes in there
    15081100# 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.
     1101# WARNING: Be sure not to use single quotes in there, as some shells,
     1102# such as our DU 5.0 friend, will then `close' the trap.
    15111103trap 'exit_status=$?
    15121104  # Save into config.log some information that might help in debugging.
     
    15211113    echo
    15221114    # 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
     1115{
    15381116  (set) 2>&1 |
    1539     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    1540     *${as_nl}ac_space=\ *)
     1117    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1118    *ac_space=\ *)
    15411119      sed -n \
    1542     "s/'\''/'\''\\\\'\'''\''/g;
    1543       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
    1544       ;; #(
     1120    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1121      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1122      ;;
    15451123    *)
    1546       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1124      sed -n \
     1125    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    15471126      ;;
    1548     esac |
    1549     sort
    1550 )
     1127    esac;
     1128}
    15511129    echo
    15521130
     
    15591137    for ac_var in $ac_subst_vars
    15601138    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'\''"
     1139      eval ac_val=$`echo $ac_var`
     1140      echo "$ac_var='"'"'$ac_val'"'"'"
    15661141    done | sort
    15671142    echo
     
    15691144    if test -n "$ac_subst_files"; then
    15701145      cat <<\_ASBOX
    1571 ## ------------------- ##
    1572 ## File substitutions. ##
    1573 ## ------------------- ##
     1146## ------------- ##
     1147## Output files. ##
     1148## ------------- ##
    15741149_ASBOX
    15751150      echo
    15761151      for ac_var in $ac_subst_files
    15771152      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'\''"
     1153    eval ac_val=$`echo $ac_var`
     1154    echo "$ac_var='"'"'$ac_val'"'"'"
    15831155      done | sort
    15841156      echo
     
    15921164_ASBOX
    15931165      echo
    1594       cat confdefs.h
     1166      sed "/^$/d" confdefs.h | sort
    15951167      echo
    15961168    fi
     
    15991171    echo "$as_me: exit $exit_status"
    16001172  } >&5
    1601   rm -f core *.core core.conftest.* &&
    1602     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1173  rm -f core *.core &&
     1174  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    16031175    exit $exit_status
    1604 ' 0
     1176     ' 0
    16051177for ac_signal in 1 2 13 15; do
    16061178  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    16091181
    16101182# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1611 rm -f -r conftest* confdefs.h
     1183rm -rf conftest* confdefs.h
     1184# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1185echo >confdefs.h
    16121186
    16131187# Predefined preprocessor variables.
     
    16401214# Let the site file select an alternate cache file if it wants to.
    16411215# 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
     1216if test -z "$CONFIG_SITE"; then
     1217  if test "x$prefix" != xNONE; then
     1218    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     1219  else
     1220    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
     1221  fi
     1222fi
     1223for ac_site_file in $CONFIG_SITE; do
    16531224  if test -r "$ac_site_file"; then
    16541225    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    16661237echo "$as_me: loading cache $cache_file" >&6;}
    16671238    case $cache_file in
    1668       [\\/]* | ?:[\\/]* ) . "$cache_file";;
    1669       *)                      . "./$cache_file";;
     1239      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1240      *)                      . ./$cache_file;;
    16701241    esac
    16711242  fi
     
    16791250# value.
    16801251ac_cache_corrupted=false
    1681 for ac_var in $ac_precious_vars; do
     1252for ac_var in `(set) 2>&1 |
     1253           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    16821254  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    16831255  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
     1256  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1257  eval ac_new_val="\$ac_env_${ac_var}_value"
    16861258  case $ac_old_set,$ac_new_set in
    16871259    set,)
     
    17081280  if test "$ac_new_set" = set; then
    17091281    case $ac_new_val in
    1710     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1282    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1283      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    17111284    *) ac_arg=$ac_var=$ac_new_val ;;
    17121285    esac
     
    17251298fi
    17261299
    1727 
    1728 
    1729 
    1730 
    1731 
    1732 
    1733 
    1734 
    1735 
    1736 
    1737 
    1738 
    1739 
    1740 
    1741 
    1742 
    17431300ac_ext=c
    17441301ac_cpp='$CPP $CPPFLAGS'
     
    17481305
    17491306
    1750 ac_config_headers="$ac_config_headers config.h"
     1307
     1308
     1309
     1310
     1311
     1312
     1313
     1314
     1315
     1316
     1317
     1318
     1319
     1320
     1321
     1322
     1323
     1324          ac_config_headers="$ac_config_headers config.h"
    17511325
    17521326
     
    17841358fi
    17851359
    1786 # Check whether --enable-corba was given.
     1360# Check whether --enable-corba or --disable-corba was given.
    17871361if test "${enable_corba+set}" = set; then
    1788   enableval=$enable_corba; USE_CORBA=1
     1362  enableval="$enable_corba"
     1363  USE_CORBA=1
    17891364else
    17901365  USE_CORBA=0
    1791 fi
    1792 
     1366fi;
    17931367cat >>confdefs.h <<_ACEOF
    17941368#define USE_CORBA $USE_CORBA
     
    17981372
    17991373
    1800 # Check whether --with-micodir was given.
     1374# Check whether --with-micodir or --without-micodir was given.
    18011375if test "${with_micodir+set}" = set; then
    1802   withval=$with_micodir; MICO_DIR=$enableval
     1376  withval="$with_micodir"
     1377  MICO_DIR=$enableval
    18031378else
    18041379  MICO_DIR="default"
    1805 fi
    1806 
     1380fi;
    18071381cat >>confdefs.h <<_ACEOF
    18081382#define MICO_DIR "$MICO_DIR"
     
    18111385
    18121386
    1813 # Check whether --enable-z3950 was given.
     1387# Check whether --enable-z3950 or --disable-z3950 was given.
    18141388if test "${enable_z3950+set}" = set; then
    1815   enableval=$enable_z3950; USE_Z3950=1
     1389  enableval="$enable_z3950"
     1390  USE_Z3950=1
    18161391else
    18171392  USE_Z3950=0
    1818 fi
    1819 
     1393fi;
    18201394if test USE_Z3950 = 1; then
    18211395cat >>confdefs.h <<\_ACEOF
     
    18261400fi
    18271401
    1828 # Check whether --enable-yaz was given.
     1402# Check whether --enable-yaz or --disable-yaz was given.
    18291403if test "${enable_yaz+set}" = set; then
    1830   enableval=$enable_yaz; USE_YAZ=0
     1404  enableval="$enable_yaz"
     1405  USE_YAZ=0
    18311406else
    18321407  USE_YAZ=1
    1833 fi
    1834 
     1408fi;
    18351409cat >>confdefs.h <<\_ACEOF
    18361410#define USE_YAZ $USE_YAZ
     
    18391413
    18401414
    1841 # Check whether --enable-accentfold was given.
     1415# Check whether --enable-accentfold or --disable-accentfold was given.
    18421416if test "${enable_accentfold+set}" = set; then
    1843   enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
     1417  enableval="$enable_accentfold"
     1418  ENABLE_ACCENTFOLD=0
    18441419else
    18451420  ENABLE_ACCENTFOLD=1
    1846 fi
    1847 
     1421fi;
    18481422cat >>confdefs.h <<\_ACEOF
    18491423#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
     
    18521426
    18531427
    1854 # Check whether --enable-sqlite was given.
     1428# Check whether --enable-sqlite or --disable-sqlite was given.
    18551429if test "${enable_sqlite+set}" = set; then
    1856   enableval=$enable_sqlite; USE_SQLITE=0
     1430  enableval="$enable_sqlite"
     1431  USE_SQLITE=0
    18571432else
    18581433  USE_SQLITE=1
    1859 fi
    1860 
     1434fi;
    18611435cat >>confdefs.h <<\_ACEOF
    18621436#define USE_SQLITE $USE_SQLITE
    18631437_ACEOF
     1438
     1439
     1440
     1441# Check whether --enable-mg or --disable-mg was given.
     1442if test "${enable_mg+set}" = set; then
     1443  enableval="$enable_mg"
     1444  ENABLE_MG=$enableval
     1445else
     1446  ENABLE_MG=yes
     1447fi;
     1448if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
     1449  ENABLE_MG=1
     1450  cat >>confdefs.h <<\_ACEOF
     1451#define ENABLE_MG
     1452_ACEOF
     1453
     1454else
     1455  ENABLE_MG=0
     1456fi
     1457
     1458
     1459# Check whether --enable-mgpp or --disable-mgpp was given.
     1460if test "${enable_mgpp+set}" = set; then
     1461  enableval="$enable_mgpp"
     1462  ENABLE_MGPP=$enableval
     1463else
     1464  ENABLE_MGPP=yes
     1465fi;
     1466if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
     1467  ENABLE_MGPP=1
     1468  cat >>confdefs.h <<\_ACEOF
     1469#define ENABLE_MGPP
     1470_ACEOF
     1471
     1472else
     1473  ENABLE_MGPP=0
     1474fi
     1475
     1476
     1477# Check whether --enable-lucene or --disable-lucene was given.
     1478if test "${enable_lucene+set}" = set; then
     1479  enableval="$enable_lucene"
     1480  ENABLE_LUCENE=$enableval
     1481else
     1482  ENABLE_LUCENE=yes
     1483fi;
     1484if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
     1485  ENABLE_LUCENE=1
     1486  cat >>confdefs.h <<\_ACEOF
     1487#define ENABLE_LUCENE
     1488_ACEOF
     1489
     1490else
     1491  ENABLE_LUCENE=0
     1492fi
    18641493
    18651494
     
    18811510  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    18821511set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1512echo "$as_me:$LINENO: checking for $ac_word" >&5
     1513echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    18851514if test "${ac_cv_prog_CC+set}" = set; then
    18861515  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    18951524  test -z "$as_dir" && as_dir=.
    18961525  for ac_exec_ext in '' $ac_executable_extensions; do
    1897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1526  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    18981527    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    18991528    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    19021531done
    19031532done
    1904 IFS=$as_save_IFS
    19051533
    19061534fi
     
    19081536CC=$ac_cv_prog_CC
    19091537if test -n "$CC"; then
    1910   { echo "$as_me:$LINENO: result: $CC" >&5
    1911 echo "${ECHO_T}$CC" >&6; }
    1912 else
    1913   { echo "$as_me:$LINENO: result: no" >&5
    1914 echo "${ECHO_T}no" >&6; }
    1915 fi
    1916 
     1538  echo "$as_me:$LINENO: result: $CC" >&5
     1539echo "${ECHO_T}$CC" >&6
     1540else
     1541  echo "$as_me:$LINENO: result: no" >&5
     1542echo "${ECHO_T}no" >&6
     1543fi
    19171544
    19181545fi
     
    19211548  # Extract the first word of "gcc", so it can be a program name with args.
    19221549set dummy gcc; ac_word=$2
    1923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1550echo "$as_me:$LINENO: checking for $ac_word" >&5
     1551echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19251552if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    19261553  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19351562  test -z "$as_dir" && as_dir=.
    19361563  for ac_exec_ext in '' $ac_executable_extensions; do
    1937   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1564  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19381565    ac_cv_prog_ac_ct_CC="gcc"
    19391566    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    19421569done
    19431570done
    1944 IFS=$as_save_IFS
    19451571
    19461572fi
     
    19481574ac_ct_CC=$ac_cv_prog_ac_ct_CC
    19491575if test -n "$ac_ct_CC"; then
    1950   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1951 echo "${ECHO_T}$ac_ct_CC" >&6; }
    1952 else
    1953   { echo "$as_me:$LINENO: result: no" >&5
    1954 echo "${ECHO_T}no" >&6; }
    1955 fi
    1956 
    1957   if test "x$ac_ct_CC" = x; then
    1958     CC=""
    1959   else
    1960     case $cross_compiling:$ac_tool_warned in
    1961 yes:)
    1962 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    1963 whose name does not start with the host triplet.  If you think this
    1964 configuration is useful to you, please write to [email protected]." >&5
    1965 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    1966 whose name does not start with the host triplet.  If you think this
    1967 configuration is useful to you, please write to [email protected]." >&2;}
    1968 ac_tool_warned=yes ;;
    1969 esac
    1970     CC=$ac_ct_CC
    1971   fi
     1576  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1577echo "${ECHO_T}$ac_ct_CC" >&6
     1578else
     1579  echo "$as_me:$LINENO: result: no" >&5
     1580echo "${ECHO_T}no" >&6
     1581fi
     1582
     1583  CC=$ac_ct_CC
    19721584else
    19731585  CC="$ac_cv_prog_CC"
     
    19751587
    19761588if test -z "$CC"; then
    1977           if test -n "$ac_tool_prefix"; then
    1978     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1589  if test -n "$ac_tool_prefix"; then
     1590  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    19791591set dummy ${ac_tool_prefix}cc; ac_word=$2
    1980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1592echo "$as_me:$LINENO: checking for $ac_word" >&5
     1593echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    19821594if test "${ac_cv_prog_CC+set}" = set; then
    19831595  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    19921604  test -z "$as_dir" && as_dir=.
    19931605  for ac_exec_ext in '' $ac_executable_extensions; do
    1994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1606  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19951607    ac_cv_prog_CC="${ac_tool_prefix}cc"
    19961608    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    19991611done
    20001612done
    2001 IFS=$as_save_IFS
    20021613
    20031614fi
     
    20051616CC=$ac_cv_prog_CC
    20061617if test -n "$CC"; then
    2007   { echo "$as_me:$LINENO: result: $CC" >&5
    2008 echo "${ECHO_T}$CC" >&6; }
    2009 else
    2010   { echo "$as_me:$LINENO: result: no" >&5
    2011 echo "${ECHO_T}no" >&6; }
    2012 fi
    2013 
    2014 
     1618  echo "$as_me:$LINENO: result: $CC" >&5
     1619echo "${ECHO_T}$CC" >&6
     1620else
     1621  echo "$as_me:$LINENO: result: no" >&5
     1622echo "${ECHO_T}no" >&6
     1623fi
     1624
     1625fi
     1626if test -z "$ac_cv_prog_CC"; then
     1627  ac_ct_CC=$CC
     1628  # Extract the first word of "cc", so it can be a program name with args.
     1629set dummy cc; ac_word=$2
     1630echo "$as_me:$LINENO: checking for $ac_word" >&5
     1631echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1632if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1633  echo $ECHO_N "(cached) $ECHO_C" >&6
     1634else
     1635  if test -n "$ac_ct_CC"; then
     1636  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1637else
     1638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1639for as_dir in $PATH
     1640do
     1641  IFS=$as_save_IFS
     1642  test -z "$as_dir" && as_dir=.
     1643  for ac_exec_ext in '' $ac_executable_extensions; do
     1644  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1645    ac_cv_prog_ac_ct_CC="cc"
     1646    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1647    break 2
    20151648  fi
     1649done
     1650done
     1651
     1652fi
     1653fi
     1654ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1655if test -n "$ac_ct_CC"; then
     1656  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1657echo "${ECHO_T}$ac_ct_CC" >&6
     1658else
     1659  echo "$as_me:$LINENO: result: no" >&5
     1660echo "${ECHO_T}no" >&6
     1661fi
     1662
     1663  CC=$ac_ct_CC
     1664else
     1665  CC="$ac_cv_prog_CC"
     1666fi
     1667
    20161668fi
    20171669if test -z "$CC"; then
    20181670  # Extract the first word of "cc", so it can be a program name with args.
    20191671set dummy cc; ac_word=$2
    2020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1672echo "$as_me:$LINENO: checking for $ac_word" >&5
     1673echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20221674if test "${ac_cv_prog_CC+set}" = set; then
    20231675  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20331685  test -z "$as_dir" && as_dir=.
    20341686  for ac_exec_ext in '' $ac_executable_extensions; do
    2035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1687  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20361688    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    20371689       ac_prog_rejected=yes
     
    20441696done
    20451697done
    2046 IFS=$as_save_IFS
    20471698
    20481699if test $ac_prog_rejected = yes; then
     
    20621713CC=$ac_cv_prog_CC
    20631714if test -n "$CC"; then
    2064   { echo "$as_me:$LINENO: result: $CC" >&5
    2065 echo "${ECHO_T}$CC" >&6; }
    2066 else
    2067   { echo "$as_me:$LINENO: result: no" >&5
    2068 echo "${ECHO_T}no" >&6; }
    2069 fi
    2070 
     1715  echo "$as_me:$LINENO: result: $CC" >&5
     1716echo "${ECHO_T}$CC" >&6
     1717else
     1718  echo "$as_me:$LINENO: result: no" >&5
     1719echo "${ECHO_T}no" >&6
     1720fi
    20711721
    20721722fi
    20731723if test -z "$CC"; then
    20741724  if test -n "$ac_tool_prefix"; then
    2075   for ac_prog in cl.exe
     1725  for ac_prog in cl
    20761726  do
    20771727    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    20781728set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1729echo "$as_me:$LINENO: checking for $ac_word" >&5
     1730echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20811731if test "${ac_cv_prog_CC+set}" = set; then
    20821732  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20911741  test -z "$as_dir" && as_dir=.
    20921742  for ac_exec_ext in '' $ac_executable_extensions; do
    2093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1743  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20941744    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    20951745    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    20981748done
    20991749done
    2100 IFS=$as_save_IFS
    21011750
    21021751fi
     
    21041753CC=$ac_cv_prog_CC
    21051754if test -n "$CC"; then
    2106   { echo "$as_me:$LINENO: result: $CC" >&5
    2107 echo "${ECHO_T}$CC" >&6; }
    2108 else
    2109   { echo "$as_me:$LINENO: result: no" >&5
    2110 echo "${ECHO_T}no" >&6; }
    2111 fi
    2112 
     1755  echo "$as_me:$LINENO: result: $CC" >&5
     1756echo "${ECHO_T}$CC" >&6
     1757else
     1758  echo "$as_me:$LINENO: result: no" >&5
     1759echo "${ECHO_T}no" >&6
     1760fi
    21131761
    21141762    test -n "$CC" && break
     
    21171765if test -z "$CC"; then
    21181766  ac_ct_CC=$CC
    2119   for ac_prog in cl.exe
     1767  for ac_prog in cl
    21201768do
    21211769  # Extract the first word of "$ac_prog", so it can be a program name with args.
    21221770set dummy $ac_prog; ac_word=$2
    2123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1771echo "$as_me:$LINENO: checking for $ac_word" >&5
     1772echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    21251773if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    21261774  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    21351783  test -z "$as_dir" && as_dir=.
    21361784  for ac_exec_ext in '' $ac_executable_extensions; do
    2137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1785  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21381786    ac_cv_prog_ac_ct_CC="$ac_prog"
    21391787    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    21421790done
    21431791done
    2144 IFS=$as_save_IFS
    21451792
    21461793fi
     
    21481795ac_ct_CC=$ac_cv_prog_ac_ct_CC
    21491796if test -n "$ac_ct_CC"; then
    2150   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2151 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2152 else
    2153   { echo "$as_me:$LINENO: result: no" >&5
    2154 echo "${ECHO_T}no" >&6; }
    2155 fi
    2156 
     1797  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1798echo "${ECHO_T}$ac_ct_CC" >&6
     1799else
     1800  echo "$as_me:$LINENO: result: no" >&5
     1801echo "${ECHO_T}no" >&6
     1802fi
    21571803
    21581804  test -n "$ac_ct_CC" && break
    21591805done
    21601806
    2161   if test "x$ac_ct_CC" = x; then
    2162     CC=""
    2163   else
    2164     case $cross_compiling:$ac_tool_warned in
    2165 yes:)
    2166 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2167 whose name does not start with the host triplet.  If you think this
    2168 configuration is useful to you, please write to [email protected]." >&5
    2169 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2170 whose name does not start with the host triplet.  If you think this
    2171 configuration is useful to you, please write to [email protected]." >&2;}
    2172 ac_tool_warned=yes ;;
    2173 esac
    2174     CC=$ac_ct_CC
    2175   fi
     1807  CC=$ac_ct_CC
    21761808fi
    21771809
     
    21861818
    21871819# Provide some information about the compiler.
    2188 echo "$as_me:$LINENO: checking for C compiler version" >&5
     1820echo "$as_me:$LINENO:" \
     1821     "checking for C compiler version" >&5
    21891822ac_compiler=`set X $ac_compile; echo $2`
    2190 { (ac_try="$ac_compiler --version >&5"
    2191 case "(($ac_try" in
    2192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2193   *) ac_try_echo=$ac_try;;
    2194 esac
    2195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2196   (eval "$ac_compiler --version >&5") 2>&5
     1823{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1824  (eval $ac_compiler --version </dev/null >&5) 2>&5
    21971825  ac_status=$?
    21981826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21991827  (exit $ac_status); }
    2200 { (ac_try="$ac_compiler -v >&5"
    2201 case "(($ac_try" in
    2202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2203   *) ac_try_echo=$ac_try;;
    2204 esac
    2205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2206   (eval "$ac_compiler -v >&5") 2>&5
     1828{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1829  (eval $ac_compiler -v </dev/null >&5) 2>&5
    22071830  ac_status=$?
    22081831  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22091832  (exit $ac_status); }
    2210 { (ac_try="$ac_compiler -V >&5"
    2211 case "(($ac_try" in
    2212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2213   *) ac_try_echo=$ac_try;;
    2214 esac
    2215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2216   (eval "$ac_compiler -V >&5") 2>&5
     1833{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1834  (eval $ac_compiler -V </dev/null >&5) 2>&5
    22171835  ac_status=$?
    22181836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    22391857# It will help us diagnose broken compilers, and finding out an intuition
    22401858# of exeext.
    2241 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2242 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
     1859echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1860echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    22431861ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2244 #
    2245 # List of possible output files, starting from the most likely.
    2246 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
    2247 # only as a last resort.  b.out is created by i960 compilers.
    2248 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
    2249 #
    2250 # The IRIX 6 linker writes into existing files which may not be
    2251 # executable, retaining their permissions.  Remove them first so a
    2252 # subsequent execution test works.
    2253 ac_rmfiles=
    2254 for ac_file in $ac_files
    2255 do
    2256   case $ac_file in
    2257     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    2258     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2259   esac
    2260 done
    2261 rm -f $ac_rmfiles
    2262 
    2263 if { (ac_try="$ac_link_default"
    2264 case "(($ac_try" in
    2265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2266   *) ac_try_echo=$ac_try;;
    2267 esac
    2268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2269   (eval "$ac_link_default") 2>&5
     1862if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1863  (eval $ac_link_default) 2>&5
    22701864  ac_status=$?
    22711865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22721866  (exit $ac_status); }; then
    2273   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2274 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2275 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2276 # so that the user can short-circuit this test for compilers unknown to
    2277 # Autoconf.
    2278 for ac_file in $ac_files ''
     1867  # Find the output, starting from the most likely.  This scheme is
     1868# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1869# resort.
     1870
     1871# Be careful to initialize this variable, since it used to be cached.
     1872# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1873ac_cv_exeext=
     1874# b.out is created by i960 compilers.
     1875for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    22791876do
    22801877  test -f "$ac_file" || continue
    22811878  case $ac_file in
    2282     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
     1879    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1880    ;;
     1881    conftest.$ac_ext )
     1882    # This is the source file.
    22831883    ;;
    22841884    [ab].out )
     
    22871887    break;;
    22881888    *.* )
    2289         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2290     then :; else
    2291        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2292     fi
    2293     # We set ac_cv_exeext here because the later test for it is not
    2294     # safe: cross compilers may not add the suffix if given an `-o'
    2295     # argument, so we may need to know it at that point already.
    2296     # Even if this section looks crufty: it has the advantage of
    2297     # actually working.
     1889    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1890    # FIXME: I believe we export ac_cv_exeext for Libtool,
     1891    # but it would be cool to find out if it's true.  Does anybody
     1892    # maintain Libtool? --akim.
     1893    export ac_cv_exeext
    22981894    break;;
    22991895    * )
     
    23011897  esac
    23021898done
    2303 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2304 
    2305 else
    2306   ac_file=''
    2307 fi
    2308 
    2309 { echo "$as_me:$LINENO: result: $ac_file" >&5
    2310 echo "${ECHO_T}$ac_file" >&6; }
    2311 if test -z "$ac_file"; then
     1899else
    23121900  echo "$as_me: failed program was:" >&5
    23131901sed 's/^/| /' conftest.$ac_ext >&5
     
    23211909
    23221910ac_exeext=$ac_cv_exeext
    2323 
    2324 # Check that the compiler produces executables we can run.  If not, either
     1911echo "$as_me:$LINENO: result: $ac_file" >&5
     1912echo "${ECHO_T}$ac_file" >&6
     1913
     1914# Check the compiler produces executables we can run.  If not, either
    23251915# the compiler is broken, or we cross compile.
    2326 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2327 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
     1916echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     1917echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    23281918# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    23291919# If not cross compiling, check that we can run a simple program.
    23301920if test "$cross_compiling" != yes; then
    23311921  if { ac_try='./$ac_file'
    2332   { (case "(($ac_try" in
    2333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2334   *) ac_try_echo=$ac_try;;
    2335 esac
    2336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2337   (eval "$ac_try") 2>&5
     1922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1923  (eval $ac_try) 2>&5
    23381924  ac_status=$?
    23391925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    23541940  fi
    23551941fi
    2356 { echo "$as_me:$LINENO: result: yes" >&5
    2357 echo "${ECHO_T}yes" >&6; }
     1942echo "$as_me:$LINENO: result: yes" >&5
     1943echo "${ECHO_T}yes" >&6
    23581944
    23591945rm -f a.out a.exe conftest$ac_cv_exeext b.out
    23601946ac_clean_files=$ac_clean_files_save
    2361 # Check that the compiler produces executables we can run.  If not, either
     1947# Check the compiler produces executables we can run.  If not, either
    23621948# the compiler is broken, or we cross compile.
    2363 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2364 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
    2365 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2366 echo "${ECHO_T}$cross_compiling" >&6; }
    2367 
    2368 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2369 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    2370 if { (ac_try="$ac_link"
    2371 case "(($ac_try" in
    2372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2373   *) ac_try_echo=$ac_try;;
    2374 esac
    2375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2376   (eval "$ac_link") 2>&5
     1949echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     1950echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     1951echo "$as_me:$LINENO: result: $cross_compiling" >&5
     1952echo "${ECHO_T}$cross_compiling" >&6
     1953
     1954echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1955echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1956if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     1957  (eval $ac_link) 2>&5
    23771958  ac_status=$?
    23781959  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    23851966  test -f "$ac_file" || continue
    23861967  case $ac_file in
    2387     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     1968    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    23881969    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1970      export ac_cv_exeext
    23891971      break;;
    23901972    * ) break;;
     
    24001982
    24011983rm -f conftest$ac_cv_exeext
    2402 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2403 echo "${ECHO_T}$ac_cv_exeext" >&6; }
     1984echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     1985echo "${ECHO_T}$ac_cv_exeext" >&6
    24041986
    24051987rm -f conftest.$ac_ext
    24061988EXEEXT=$ac_cv_exeext
    24071989ac_exeext=$EXEEXT
    2408 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2409 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
     1990echo "$as_me:$LINENO: checking for suffix of object files" >&5
     1991echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    24101992if test "${ac_cv_objext+set}" = set; then
    24111993  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24272009_ACEOF
    24282010rm -f conftest.o conftest.obj
    2429 if { (ac_try="$ac_compile"
    2430 case "(($ac_try" in
    2431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2432   *) ac_try_echo=$ac_try;;
    2433 esac
    2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2435   (eval "$ac_compile") 2>&5
     2011if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2012  (eval $ac_compile) 2>&5
    24362013  ac_status=$?
    24372014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24382015  (exit $ac_status); }; then
    2439   for ac_file in conftest.o conftest.obj conftest.*; do
    2440   test -f "$ac_file" || continue;
     2016  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    24412017  case $ac_file in
    2442     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
     2018    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    24432019    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    24442020       break;;
     
    24582034rm -f conftest.$ac_cv_objext conftest.$ac_ext
    24592035fi
    2460 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2461 echo "${ECHO_T}$ac_cv_objext" >&6; }
     2036echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2037echo "${ECHO_T}$ac_cv_objext" >&6
    24622038OBJEXT=$ac_cv_objext
    24632039ac_objext=$OBJEXT
    2464 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2465 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
     2040echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2041echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    24662042if test "${ac_cv_c_compiler_gnu+set}" = set; then
    24672043  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24862062_ACEOF
    24872063rm -f conftest.$ac_objext
    2488 if { (ac_try="$ac_compile"
    2489 case "(($ac_try" in
    2490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2491   *) ac_try_echo=$ac_try;;
    2492 esac
    2493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2494   (eval "$ac_compile") 2>conftest.er1
     2064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2065  (eval $ac_compile) 2>conftest.er1
    24952066  ac_status=$?
    24962067  grep -v '^ *+' conftest.er1 >conftest.err
     
    24982069  cat conftest.err >&5
    24992070  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2500   (exit $ac_status); } && {
    2501      test -z "$ac_c_werror_flag" ||
    2502      test ! -s conftest.err
    2503        } && test -s conftest.$ac_objext; then
     2071  (exit $ac_status); } &&
     2072     { ac_try='test -z "$ac_c_werror_flag"
     2073             || test ! -s conftest.err'
     2074  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2075  (eval $ac_try) 2>&5
     2076  ac_status=$?
     2077  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2078  (exit $ac_status); }; } &&
     2079     { ac_try='test -s conftest.$ac_objext'
     2080  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2081  (eval $ac_try) 2>&5
     2082  ac_status=$?
     2083  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2084  (exit $ac_status); }; }; then
    25042085  ac_compiler_gnu=yes
    25052086else
     
    25072088sed 's/^/| /' conftest.$ac_ext >&5
    25082089
    2509     ac_compiler_gnu=no
    2510 fi
    2511 
    2512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2090ac_compiler_gnu=no
     2091fi
     2092rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    25132093ac_cv_c_compiler_gnu=$ac_compiler_gnu
    25142094
    25152095fi
    2516 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2517 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
     2096echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2097echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    25182098GCC=`test $ac_compiler_gnu = yes && echo yes`
    25192099ac_test_CFLAGS=${CFLAGS+set}
    25202100ac_save_CFLAGS=$CFLAGS
    2521 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2522 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
     2101CFLAGS="-g"
     2102echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2103echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    25232104if test "${ac_cv_prog_cc_g+set}" = set; then
    25242105  echo $ECHO_N "(cached) $ECHO_C" >&6
    25252106else
    2526   ac_save_c_werror_flag=$ac_c_werror_flag
    2527    ac_c_werror_flag=yes
    2528    ac_cv_prog_cc_g=no
    2529    CFLAGS="-g"
    2530    cat >conftest.$ac_ext <<_ACEOF
     2107  cat >conftest.$ac_ext <<_ACEOF
    25312108/* confdefs.h.  */
    25322109_ACEOF
     
    25442121_ACEOF
    25452122rm -f conftest.$ac_objext
    2546 if { (ac_try="$ac_compile"
    2547 case "(($ac_try" in
    2548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2549   *) ac_try_echo=$ac_try;;
    2550 esac
    2551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2552   (eval "$ac_compile") 2>conftest.er1
     2123if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2124  (eval $ac_compile) 2>conftest.er1
    25532125  ac_status=$?
    25542126  grep -v '^ *+' conftest.er1 >conftest.err
     
    25562128  cat conftest.err >&5
    25572129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2558   (exit $ac_status); } && {
    2559      test -z "$ac_c_werror_flag" ||
    2560      test ! -s conftest.err
    2561        } && test -s conftest.$ac_objext; then
     2130  (exit $ac_status); } &&
     2131     { ac_try='test -z "$ac_c_werror_flag"
     2132             || test ! -s conftest.err'
     2133  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2134  (eval $ac_try) 2>&5
     2135  ac_status=$?
     2136  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2137  (exit $ac_status); }; } &&
     2138     { ac_try='test -s conftest.$ac_objext'
     2139  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2140  (eval $ac_try) 2>&5
     2141  ac_status=$?
     2142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2143  (exit $ac_status); }; }; then
    25622144  ac_cv_prog_cc_g=yes
    25632145else
     
    25652147sed 's/^/| /' conftest.$ac_ext >&5
    25662148
    2567     CFLAGS=""
    2568       cat >conftest.$ac_ext <<_ACEOF
    2569 /* confdefs.h.  */
    2570 _ACEOF
    2571 cat confdefs.h >>conftest.$ac_ext
    2572 cat >>conftest.$ac_ext <<_ACEOF
    2573 /* end confdefs.h.  */
    2574 
    2575 int
    2576 main ()
    2577 {
    2578 
    2579   ;
    2580   return 0;
    2581 }
    2582 _ACEOF
    2583 rm -f conftest.$ac_objext
    2584 if { (ac_try="$ac_compile"
    2585 case "(($ac_try" in
    2586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2587   *) ac_try_echo=$ac_try;;
    2588 esac
    2589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2590   (eval "$ac_compile") 2>conftest.er1
    2591   ac_status=$?
    2592   grep -v '^ *+' conftest.er1 >conftest.err
    2593   rm -f conftest.er1
    2594   cat conftest.err >&5
    2595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2596   (exit $ac_status); } && {
    2597      test -z "$ac_c_werror_flag" ||
    2598      test ! -s conftest.err
    2599        } && test -s conftest.$ac_objext; then
    2600   :
    2601 else
    2602   echo "$as_me: failed program was:" >&5
    2603 sed 's/^/| /' conftest.$ac_ext >&5
    2604 
    2605     ac_c_werror_flag=$ac_save_c_werror_flag
    2606      CFLAGS="-g"
    2607      cat >conftest.$ac_ext <<_ACEOF
    2608 /* confdefs.h.  */
    2609 _ACEOF
    2610 cat confdefs.h >>conftest.$ac_ext
    2611 cat >>conftest.$ac_ext <<_ACEOF
    2612 /* end confdefs.h.  */
    2613 
    2614 int
    2615 main ()
    2616 {
    2617 
    2618   ;
    2619   return 0;
    2620 }
    2621 _ACEOF
    2622 rm -f conftest.$ac_objext
    2623 if { (ac_try="$ac_compile"
    2624 case "(($ac_try" in
    2625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2626   *) ac_try_echo=$ac_try;;
    2627 esac
    2628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2629   (eval "$ac_compile") 2>conftest.er1
    2630   ac_status=$?
    2631   grep -v '^ *+' conftest.er1 >conftest.err
    2632   rm -f conftest.er1
    2633   cat conftest.err >&5
    2634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2635   (exit $ac_status); } && {
    2636      test -z "$ac_c_werror_flag" ||
    2637      test ! -s conftest.err
    2638        } && test -s conftest.$ac_objext; then
    2639   ac_cv_prog_cc_g=yes
    2640 else
    2641   echo "$as_me: failed program was:" >&5
    2642 sed 's/^/| /' conftest.$ac_ext >&5
    2643 
    2644 
    2645 fi
    2646 
    2647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2648 fi
    2649 
    2650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2651 fi
    2652 
    2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2654    ac_c_werror_flag=$ac_save_c_werror_flag
    2655 fi
    2656 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2657 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
     2149ac_cv_prog_cc_g=no
     2150fi
     2151rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2152fi
     2153echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2154echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    26582155if test "$ac_test_CFLAGS" = set; then
    26592156  CFLAGS=$ac_save_CFLAGS
     
    26712168  fi
    26722169fi
    2673 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    2674 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    2675 if test "${ac_cv_prog_cc_c89+set}" = set; then
     2170echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2171echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2172if test "${ac_cv_prog_cc_stdc+set}" = set; then
    26762173  echo $ECHO_N "(cached) $ECHO_C" >&6
    26772174else
    2678   ac_cv_prog_cc_c89=no
     2175  ac_cv_prog_cc_stdc=no
    26792176ac_save_CC=$CC
    26802177cat >conftest.$ac_ext <<_ACEOF
     
    27102207   function prototypes and stuff, but not '\xHH' hex character constants.
    27112208   These don't provoke an error unfortunately, instead are silently treated
    2712    as 'x'.  The following induces an error, until -std is added to get
     2209   as 'x'.  The following induces an error, until -std1 is added to get
    27132210   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    27142211   array size at least.  It's necessary to write '\x00'==0 to get something
    2715    that's true only with -std.  */
     2212   that's true only with -std1.  */
    27162213int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2717 
    2718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    2719    inside strings and character constants.  */
    2720 #define FOO(x) 'x'
    2721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    27222214
    27232215int test (int i, double x);
     
    27352227}
    27362228_ACEOF
    2737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    2738     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2229# Don't try gcc -ansi; that turns off useful extensions and
     2230# breaks some systems' header files.
     2231# AIX           -qlanglvl=ansi
     2232# Ultrix and OSF/1  -std1
     2233# HP-UX 10.20 and later -Ae
     2234# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2235# SVR4          -Xc -D__EXTENSIONS__
     2236for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    27392237do
    27402238  CC="$ac_save_CC $ac_arg"
    27412239  rm -f conftest.$ac_objext
    2742 if { (ac_try="$ac_compile"
    2743 case "(($ac_try" in
    2744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2745   *) ac_try_echo=$ac_try;;
    2746 esac
    2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2748   (eval "$ac_compile") 2>conftest.er1
     2240if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2241  (eval $ac_compile) 2>conftest.er1
    27492242  ac_status=$?
    27502243  grep -v '^ *+' conftest.er1 >conftest.err
     
    27522245  cat conftest.err >&5
    27532246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2754   (exit $ac_status); } && {
    2755      test -z "$ac_c_werror_flag" ||
    2756      test ! -s conftest.err
    2757        } && test -s conftest.$ac_objext; then
    2758   ac_cv_prog_cc_c89=$ac_arg
     2247  (exit $ac_status); } &&
     2248     { ac_try='test -z "$ac_c_werror_flag"
     2249             || test ! -s conftest.err'
     2250  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2251  (eval $ac_try) 2>&5
     2252  ac_status=$?
     2253  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2254  (exit $ac_status); }; } &&
     2255     { ac_try='test -s conftest.$ac_objext'
     2256  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2257  (eval $ac_try) 2>&5
     2258  ac_status=$?
     2259  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2260  (exit $ac_status); }; }; then
     2261  ac_cv_prog_cc_stdc=$ac_arg
     2262break
    27592263else
    27602264  echo "$as_me: failed program was:" >&5
    27612265sed 's/^/| /' conftest.$ac_ext >&5
    27622266
    2763 
    2764 fi
    2765 
    2766 rm -f core conftest.err conftest.$ac_objext
    2767   test "x$ac_cv_prog_cc_c89" != "xno" && break
     2267fi
     2268rm -f conftest.err conftest.$ac_objext
    27682269done
    2769 rm -f conftest.$ac_ext
     2270rm -f conftest.$ac_ext conftest.$ac_objext
    27702271CC=$ac_save_CC
    27712272
    27722273fi
    2773 # AC_CACHE_VAL
    2774 case "x$ac_cv_prog_cc_c89" in
    2775   x)
    2776     { echo "$as_me:$LINENO: result: none needed" >&5
    2777 echo "${ECHO_T}none needed" >&6; } ;;
    2778   xno)
    2779     { echo "$as_me:$LINENO: result: unsupported" >&5
    2780 echo "${ECHO_T}unsupported" >&6; } ;;
     2274
     2275case "x$ac_cv_prog_cc_stdc" in
     2276  x|xno)
     2277    echo "$as_me:$LINENO: result: none needed" >&5
     2278echo "${ECHO_T}none needed" >&6 ;;
    27812279  *)
    2782     CC="$CC $ac_cv_prog_cc_c89"
    2783     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    2784 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2280    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2281echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2282    CC="$CC $ac_cv_prog_cc_stdc" ;;
    27852283esac
    27862284
    2787 
     2285# Some people use a C++ compiler to compile C.  Since we use `exit',
     2286# in C++ we need to declare it.  In case someone uses the same compiler
     2287# for both compiling C and C++ we need to have the C++ compiler decide
     2288# the declaration of exit, since it's the most demanding environment.
     2289cat >conftest.$ac_ext <<_ACEOF
     2290#ifndef __cplusplus
     2291  choke me
     2292#endif
     2293_ACEOF
     2294rm -f conftest.$ac_objext
     2295if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2296  (eval $ac_compile) 2>conftest.er1
     2297  ac_status=$?
     2298  grep -v '^ *+' conftest.er1 >conftest.err
     2299  rm -f conftest.er1
     2300  cat conftest.err >&5
     2301  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2302  (exit $ac_status); } &&
     2303     { ac_try='test -z "$ac_c_werror_flag"
     2304             || test ! -s conftest.err'
     2305  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2306  (eval $ac_try) 2>&5
     2307  ac_status=$?
     2308  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2309  (exit $ac_status); }; } &&
     2310     { ac_try='test -s conftest.$ac_objext'
     2311  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2312  (eval $ac_try) 2>&5
     2313  ac_status=$?
     2314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2315  (exit $ac_status); }; }; then
     2316  for ac_declaration in \
     2317   '' \
     2318   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2319   'extern "C" void std::exit (int); using std::exit;' \
     2320   'extern "C" void exit (int) throw ();' \
     2321   'extern "C" void exit (int);' \
     2322   'void exit (int);'
     2323do
     2324  cat >conftest.$ac_ext <<_ACEOF
     2325/* confdefs.h.  */
     2326_ACEOF
     2327cat confdefs.h >>conftest.$ac_ext
     2328cat >>conftest.$ac_ext <<_ACEOF
     2329/* end confdefs.h.  */
     2330$ac_declaration
     2331#include <stdlib.h>
     2332int
     2333main ()
     2334{
     2335exit (42);
     2336  ;
     2337  return 0;
     2338}
     2339_ACEOF
     2340rm -f conftest.$ac_objext
     2341if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2342  (eval $ac_compile) 2>conftest.er1
     2343  ac_status=$?
     2344  grep -v '^ *+' conftest.er1 >conftest.err
     2345  rm -f conftest.er1
     2346  cat conftest.err >&5
     2347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2348  (exit $ac_status); } &&
     2349     { ac_try='test -z "$ac_c_werror_flag"
     2350             || test ! -s conftest.err'
     2351  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2352  (eval $ac_try) 2>&5
     2353  ac_status=$?
     2354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2355  (exit $ac_status); }; } &&
     2356     { ac_try='test -s conftest.$ac_objext'
     2357  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2358  (eval $ac_try) 2>&5
     2359  ac_status=$?
     2360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2361  (exit $ac_status); }; }; then
     2362  :
     2363else
     2364  echo "$as_me: failed program was:" >&5
     2365sed 's/^/| /' conftest.$ac_ext >&5
     2366
     2367continue
     2368fi
     2369rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2370  cat >conftest.$ac_ext <<_ACEOF
     2371/* confdefs.h.  */
     2372_ACEOF
     2373cat confdefs.h >>conftest.$ac_ext
     2374cat >>conftest.$ac_ext <<_ACEOF
     2375/* end confdefs.h.  */
     2376$ac_declaration
     2377int
     2378main ()
     2379{
     2380exit (42);
     2381  ;
     2382  return 0;
     2383}
     2384_ACEOF
     2385rm -f conftest.$ac_objext
     2386if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2387  (eval $ac_compile) 2>conftest.er1
     2388  ac_status=$?
     2389  grep -v '^ *+' conftest.er1 >conftest.err
     2390  rm -f conftest.er1
     2391  cat conftest.err >&5
     2392  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2393  (exit $ac_status); } &&
     2394     { ac_try='test -z "$ac_c_werror_flag"
     2395             || test ! -s conftest.err'
     2396  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2397  (eval $ac_try) 2>&5
     2398  ac_status=$?
     2399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2400  (exit $ac_status); }; } &&
     2401     { ac_try='test -s conftest.$ac_objext'
     2402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2403  (eval $ac_try) 2>&5
     2404  ac_status=$?
     2405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2406  (exit $ac_status); }; }; then
     2407  break
     2408else
     2409  echo "$as_me: failed program was:" >&5
     2410sed 's/^/| /' conftest.$ac_ext >&5
     2411
     2412fi
     2413rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2414done
     2415rm -f conftest*
     2416if test -n "$ac_declaration"; then
     2417  echo '#ifdef __cplusplus' >>confdefs.h
     2418  echo $ac_declaration      >>confdefs.h
     2419  echo '#endif'             >>confdefs.h
     2420fi
     2421
     2422else
     2423  echo "$as_me: failed program was:" >&5
     2424sed 's/^/| /' conftest.$ac_ext >&5
     2425
     2426fi
     2427rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    27882428ac_ext=c
    27892429ac_cpp='$CPP $CPPFLAGS'
     
    27922432ac_compiler_gnu=$ac_cv_c_compiler_gnu
    27932433
    2794 ac_ext=cpp
     2434ac_ext=cc
    27952435ac_cpp='$CXXCPP $CPPFLAGS'
    27962436ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    27972437ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    27982438ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2799 if test -z "$CXX"; then
    2800   if test -n "$CCC"; then
    2801     CXX=$CCC
    2802   else
    2803     if test -n "$ac_tool_prefix"; then
    2804   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2439if test -n "$ac_tool_prefix"; then
     2440  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    28052441  do
    28062442    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    28072443set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2444echo "$as_me:$LINENO: checking for $ac_word" >&5
     2445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    28102446if test "${ac_cv_prog_CXX+set}" = set; then
    28112447  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28202456  test -z "$as_dir" && as_dir=.
    28212457  for ac_exec_ext in '' $ac_executable_extensions; do
    2822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2458  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28232459    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    28242460    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28272463done
    28282464done
    2829 IFS=$as_save_IFS
    28302465
    28312466fi
     
    28332468CXX=$ac_cv_prog_CXX
    28342469if test -n "$CXX"; then
    2835   { echo "$as_me:$LINENO: result: $CXX" >&5
    2836 echo "${ECHO_T}$CXX" >&6; }
    2837 else
    2838   { echo "$as_me:$LINENO: result: no" >&5
    2839 echo "${ECHO_T}no" >&6; }
    2840 fi
    2841 
     2470  echo "$as_me:$LINENO: result: $CXX" >&5
     2471echo "${ECHO_T}$CXX" >&6
     2472else
     2473  echo "$as_me:$LINENO: result: no" >&5
     2474echo "${ECHO_T}no" >&6
     2475fi
    28422476
    28432477    test -n "$CXX" && break
     
    28462480if test -z "$CXX"; then
    28472481  ac_ct_CXX=$CXX
    2848   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2482  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    28492483do
    28502484  # Extract the first word of "$ac_prog", so it can be a program name with args.
    28512485set dummy $ac_prog; ac_word=$2
    2852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2486echo "$as_me:$LINENO: checking for $ac_word" >&5
     2487echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    28542488if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    28552489  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28642498  test -z "$as_dir" && as_dir=.
    28652499  for ac_exec_ext in '' $ac_executable_extensions; do
    2866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2500  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    28672501    ac_cv_prog_ac_ct_CXX="$ac_prog"
    28682502    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    28712505done
    28722506done
    2873 IFS=$as_save_IFS
    28742507
    28752508fi
     
    28772510ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    28782511if test -n "$ac_ct_CXX"; then
    2879   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2880 echo "${ECHO_T}$ac_ct_CXX" >&6; }
    2881 else
    2882   { echo "$as_me:$LINENO: result: no" >&5
    2883 echo "${ECHO_T}no" >&6; }
    2884 fi
    2885 
     2512  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2513echo "${ECHO_T}$ac_ct_CXX" >&6
     2514else
     2515  echo "$as_me:$LINENO: result: no" >&5
     2516echo "${ECHO_T}no" >&6
     2517fi
    28862518
    28872519  test -n "$ac_ct_CXX" && break
    28882520done
    2889 
    2890   if test "x$ac_ct_CXX" = x; then
    2891     CXX="g++"
    2892   else
    2893     case $cross_compiling:$ac_tool_warned in
    2894 yes:)
    2895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2896 whose name does not start with the host triplet.  If you think this
    2897 configuration is useful to you, please write to [email protected]." >&5
    2898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2899 whose name does not start with the host triplet.  If you think this
    2900 configuration is useful to you, please write to [email protected]." >&2;}
    2901 ac_tool_warned=yes ;;
    2902 esac
    2903     CXX=$ac_ct_CXX
    2904   fi
    2905 fi
    2906 
    2907   fi
    2908 fi
     2521test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2522
     2523  CXX=$ac_ct_CXX
     2524fi
     2525
     2526
    29092527# Provide some information about the compiler.
    2910 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     2528echo "$as_me:$LINENO:" \
     2529     "checking for C++ compiler version" >&5
    29112530ac_compiler=`set X $ac_compile; echo $2`
    2912 { (ac_try="$ac_compiler --version >&5"
    2913 case "(($ac_try" in
    2914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2915   *) ac_try_echo=$ac_try;;
    2916 esac
    2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2918   (eval "$ac_compiler --version >&5") 2>&5
     2531{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2532  (eval $ac_compiler --version </dev/null >&5) 2>&5
    29192533  ac_status=$?
    29202534  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29212535  (exit $ac_status); }
    2922 { (ac_try="$ac_compiler -v >&5"
    2923 case "(($ac_try" in
    2924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2925   *) ac_try_echo=$ac_try;;
    2926 esac
    2927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2928   (eval "$ac_compiler -v >&5") 2>&5
     2536{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2537  (eval $ac_compiler -v </dev/null >&5) 2>&5
    29292538  ac_status=$?
    29302539  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29312540  (exit $ac_status); }
    2932 { (ac_try="$ac_compiler -V >&5"
    2933 case "(($ac_try" in
    2934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2935   *) ac_try_echo=$ac_try;;
    2936 esac
    2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2938   (eval "$ac_compiler -V >&5") 2>&5
     2541{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2542  (eval $ac_compiler -V </dev/null >&5) 2>&5
    29392543  ac_status=$?
    29402544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29412545  (exit $ac_status); }
    29422546
    2943 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2944 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
     2547echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2548echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    29452549if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    29462550  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    29652569_ACEOF
    29662570rm -f conftest.$ac_objext
    2967 if { (ac_try="$ac_compile"
    2968 case "(($ac_try" in
    2969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2970   *) ac_try_echo=$ac_try;;
    2971 esac
    2972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2973   (eval "$ac_compile") 2>conftest.er1
     2571if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2572  (eval $ac_compile) 2>conftest.er1
    29742573  ac_status=$?
    29752574  grep -v '^ *+' conftest.er1 >conftest.err
     
    29772576  cat conftest.err >&5
    29782577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2979   (exit $ac_status); } && {
    2980      test -z "$ac_cxx_werror_flag" ||
    2981      test ! -s conftest.err
    2982        } && test -s conftest.$ac_objext; then
     2578  (exit $ac_status); } &&
     2579     { ac_try='test -z "$ac_cxx_werror_flag"
     2580             || test ! -s conftest.err'
     2581  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2582  (eval $ac_try) 2>&5
     2583  ac_status=$?
     2584  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2585  (exit $ac_status); }; } &&
     2586     { ac_try='test -s conftest.$ac_objext'
     2587  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2588  (eval $ac_try) 2>&5
     2589  ac_status=$?
     2590  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2591  (exit $ac_status); }; }; then
    29832592  ac_compiler_gnu=yes
    29842593else
     
    29862595sed 's/^/| /' conftest.$ac_ext >&5
    29872596
    2988     ac_compiler_gnu=no
    2989 fi
    2990 
    2991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2597ac_compiler_gnu=no
     2598fi
     2599rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    29922600ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    29932601
    29942602fi
    2995 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2996 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
     2603echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2604echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    29972605GXX=`test $ac_compiler_gnu = yes && echo yes`
    29982606ac_test_CXXFLAGS=${CXXFLAGS+set}
    29992607ac_save_CXXFLAGS=$CXXFLAGS
    3000 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3001 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
     2608CXXFLAGS="-g"
     2609echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2610echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    30022611if test "${ac_cv_prog_cxx_g+set}" = set; then
    30032612  echo $ECHO_N "(cached) $ECHO_C" >&6
    30042613else
    3005   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    3006    ac_cxx_werror_flag=yes
    3007    ac_cv_prog_cxx_g=no
    3008    CXXFLAGS="-g"
    3009    cat >conftest.$ac_ext <<_ACEOF
     2614  cat >conftest.$ac_ext <<_ACEOF
    30102615/* confdefs.h.  */
    30112616_ACEOF
     
    30232628_ACEOF
    30242629rm -f conftest.$ac_objext
    3025 if { (ac_try="$ac_compile"
    3026 case "(($ac_try" in
    3027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3028   *) ac_try_echo=$ac_try;;
    3029 esac
    3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3031   (eval "$ac_compile") 2>conftest.er1
     2630if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2631  (eval $ac_compile) 2>conftest.er1
    30322632  ac_status=$?
    30332633  grep -v '^ *+' conftest.er1 >conftest.err
     
    30352635  cat conftest.err >&5
    30362636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3037   (exit $ac_status); } && {
    3038      test -z "$ac_cxx_werror_flag" ||
    3039      test ! -s conftest.err
    3040        } && test -s conftest.$ac_objext; then
     2637  (exit $ac_status); } &&
     2638     { ac_try='test -z "$ac_cxx_werror_flag"
     2639             || test ! -s conftest.err'
     2640  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2641  (eval $ac_try) 2>&5
     2642  ac_status=$?
     2643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2644  (exit $ac_status); }; } &&
     2645     { ac_try='test -s conftest.$ac_objext'
     2646  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2647  (eval $ac_try) 2>&5
     2648  ac_status=$?
     2649  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2650  (exit $ac_status); }; }; then
    30412651  ac_cv_prog_cxx_g=yes
    30422652else
     
    30442654sed 's/^/| /' conftest.$ac_ext >&5
    30452655
    3046     CXXFLAGS=""
    3047       cat >conftest.$ac_ext <<_ACEOF
    3048 /* confdefs.h.  */
    3049 _ACEOF
    3050 cat confdefs.h >>conftest.$ac_ext
    3051 cat >>conftest.$ac_ext <<_ACEOF
    3052 /* end confdefs.h.  */
    3053 
    3054 int
    3055 main ()
    3056 {
    3057 
    3058   ;
    3059   return 0;
    3060 }
    3061 _ACEOF
    3062 rm -f conftest.$ac_objext
    3063 if { (ac_try="$ac_compile"
    3064 case "(($ac_try" in
    3065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3066   *) ac_try_echo=$ac_try;;
    3067 esac
    3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3069   (eval "$ac_compile") 2>conftest.er1
    3070   ac_status=$?
    3071   grep -v '^ *+' conftest.er1 >conftest.err
    3072   rm -f conftest.er1
    3073   cat conftest.err >&5
    3074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3075   (exit $ac_status); } && {
    3076      test -z "$ac_cxx_werror_flag" ||
    3077      test ! -s conftest.err
    3078        } && test -s conftest.$ac_objext; then
    3079   :
    3080 else
    3081   echo "$as_me: failed program was:" >&5
    3082 sed 's/^/| /' conftest.$ac_ext >&5
    3083 
    3084     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3085      CXXFLAGS="-g"
    3086      cat >conftest.$ac_ext <<_ACEOF
    3087 /* confdefs.h.  */
    3088 _ACEOF
    3089 cat confdefs.h >>conftest.$ac_ext
    3090 cat >>conftest.$ac_ext <<_ACEOF
    3091 /* end confdefs.h.  */
    3092 
    3093 int
    3094 main ()
    3095 {
    3096 
    3097   ;
    3098   return 0;
    3099 }
    3100 _ACEOF
    3101 rm -f conftest.$ac_objext
    3102 if { (ac_try="$ac_compile"
    3103 case "(($ac_try" in
    3104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3105   *) ac_try_echo=$ac_try;;
    3106 esac
    3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3108   (eval "$ac_compile") 2>conftest.er1
    3109   ac_status=$?
    3110   grep -v '^ *+' conftest.er1 >conftest.err
    3111   rm -f conftest.er1
    3112   cat conftest.err >&5
    3113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3114   (exit $ac_status); } && {
    3115      test -z "$ac_cxx_werror_flag" ||
    3116      test ! -s conftest.err
    3117        } && test -s conftest.$ac_objext; then
    3118   ac_cv_prog_cxx_g=yes
    3119 else
    3120   echo "$as_me: failed program was:" >&5
    3121 sed 's/^/| /' conftest.$ac_ext >&5
    3122 
    3123 
    3124 fi
    3125 
    3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3127 fi
    3128 
    3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3130 fi
    3131 
    3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3133    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3134 fi
    3135 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3136 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     2656ac_cv_prog_cxx_g=no
     2657fi
     2658rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2659fi
     2660echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2661echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    31372662if test "$ac_test_CXXFLAGS" = set; then
    31382663  CXXFLAGS=$ac_save_CXXFLAGS
     
    31502675  fi
    31512676fi
     2677for ac_declaration in \
     2678   '' \
     2679   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2680   'extern "C" void std::exit (int); using std::exit;' \
     2681   'extern "C" void exit (int) throw ();' \
     2682   'extern "C" void exit (int);' \
     2683   'void exit (int);'
     2684do
     2685  cat >conftest.$ac_ext <<_ACEOF
     2686/* confdefs.h.  */
     2687_ACEOF
     2688cat confdefs.h >>conftest.$ac_ext
     2689cat >>conftest.$ac_ext <<_ACEOF
     2690/* end confdefs.h.  */
     2691$ac_declaration
     2692#include <stdlib.h>
     2693int
     2694main ()
     2695{
     2696exit (42);
     2697  ;
     2698  return 0;
     2699}
     2700_ACEOF
     2701rm -f conftest.$ac_objext
     2702if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2703  (eval $ac_compile) 2>conftest.er1
     2704  ac_status=$?
     2705  grep -v '^ *+' conftest.er1 >conftest.err
     2706  rm -f conftest.er1
     2707  cat conftest.err >&5
     2708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2709  (exit $ac_status); } &&
     2710     { ac_try='test -z "$ac_cxx_werror_flag"
     2711             || test ! -s conftest.err'
     2712  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2713  (eval $ac_try) 2>&5
     2714  ac_status=$?
     2715  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2716  (exit $ac_status); }; } &&
     2717     { ac_try='test -s conftest.$ac_objext'
     2718  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2719  (eval $ac_try) 2>&5
     2720  ac_status=$?
     2721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2722  (exit $ac_status); }; }; then
     2723  :
     2724else
     2725  echo "$as_me: failed program was:" >&5
     2726sed 's/^/| /' conftest.$ac_ext >&5
     2727
     2728continue
     2729fi
     2730rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2731  cat >conftest.$ac_ext <<_ACEOF
     2732/* confdefs.h.  */
     2733_ACEOF
     2734cat confdefs.h >>conftest.$ac_ext
     2735cat >>conftest.$ac_ext <<_ACEOF
     2736/* end confdefs.h.  */
     2737$ac_declaration
     2738int
     2739main ()
     2740{
     2741exit (42);
     2742  ;
     2743  return 0;
     2744}
     2745_ACEOF
     2746rm -f conftest.$ac_objext
     2747if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2748  (eval $ac_compile) 2>conftest.er1
     2749  ac_status=$?
     2750  grep -v '^ *+' conftest.er1 >conftest.err
     2751  rm -f conftest.er1
     2752  cat conftest.err >&5
     2753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2754  (exit $ac_status); } &&
     2755     { ac_try='test -z "$ac_cxx_werror_flag"
     2756             || test ! -s conftest.err'
     2757  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2758  (eval $ac_try) 2>&5
     2759  ac_status=$?
     2760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2761  (exit $ac_status); }; } &&
     2762     { ac_try='test -s conftest.$ac_objext'
     2763  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2764  (eval $ac_try) 2>&5
     2765  ac_status=$?
     2766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2767  (exit $ac_status); }; }; then
     2768  break
     2769else
     2770  echo "$as_me: failed program was:" >&5
     2771sed 's/^/| /' conftest.$ac_ext >&5
     2772
     2773fi
     2774rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2775done
     2776rm -f conftest*
     2777if test -n "$ac_declaration"; then
     2778  echo '#ifdef __cplusplus' >>confdefs.h
     2779  echo $ac_declaration      >>confdefs.h
     2780  echo '#endif'             >>confdefs.h
     2781fi
     2782
    31522783ac_ext=c
    31532784ac_cpp='$CPP $CPPFLAGS'
     
    31602791  # Extract the first word of "$ac_prog", so it can be a program name with args.
    31612792set dummy $ac_prog; ac_word=$2
    3162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2793echo "$as_me:$LINENO: checking for $ac_word" >&5
     2794echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    31642795if test "${ac_cv_prog_AWK+set}" = set; then
    31652796  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    31742805  test -z "$as_dir" && as_dir=.
    31752806  for ac_exec_ext in '' $ac_executable_extensions; do
    3176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2807  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    31772808    ac_cv_prog_AWK="$ac_prog"
    31782809    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    31812812done
    31822813done
    3183 IFS=$as_save_IFS
    31842814
    31852815fi
     
    31872817AWK=$ac_cv_prog_AWK
    31882818if test -n "$AWK"; then
    3189   { echo "$as_me:$LINENO: result: $AWK" >&5
    3190 echo "${ECHO_T}$AWK" >&6; }
    3191 else
    3192   { echo "$as_me:$LINENO: result: no" >&5
    3193 echo "${ECHO_T}no" >&6; }
    3194 fi
    3195 
     2819  echo "$as_me:$LINENO: result: $AWK" >&5
     2820echo "${ECHO_T}$AWK" >&6
     2821else
     2822  echo "$as_me:$LINENO: result: no" >&5
     2823echo "${ECHO_T}no" >&6
     2824fi
    31962825
    31972826  test -n "$AWK" && break
     
    32022831  # Extract the first word of "$ac_prog", so it can be a program name with args.
    32032832set dummy $ac_prog; ac_word=$2
    3204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2833echo "$as_me:$LINENO: checking for $ac_word" >&5
     2834echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    32062835if test "${ac_cv_prog_YACC+set}" = set; then
    32072836  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    32162845  test -z "$as_dir" && as_dir=.
    32172846  for ac_exec_ext in '' $ac_executable_extensions; do
    3218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2847  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    32192848    ac_cv_prog_YACC="$ac_prog"
    32202849    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    32232852done
    32242853done
    3225 IFS=$as_save_IFS
    32262854
    32272855fi
     
    32292857YACC=$ac_cv_prog_YACC
    32302858if test -n "$YACC"; then
    3231   { echo "$as_me:$LINENO: result: $YACC" >&5
    3232 echo "${ECHO_T}$YACC" >&6; }
    3233 else
    3234   { echo "$as_me:$LINENO: result: no" >&5
    3235 echo "${ECHO_T}no" >&6; }
    3236 fi
    3237 
     2859  echo "$as_me:$LINENO: result: $YACC" >&5
     2860echo "${ECHO_T}$YACC" >&6
     2861else
     2862  echo "$as_me:$LINENO: result: no" >&5
     2863echo "${ECHO_T}no" >&6
     2864fi
    32382865
    32392866  test -n "$YACC" && break
     
    32422869
    32432870ac_aux_dir=
    3244 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    3245   if test -f "$ac_dir/install-sh"; then
     2871for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     2872  if test -f $ac_dir/install-sh; then
    32462873    ac_aux_dir=$ac_dir
    32472874    ac_install_sh="$ac_aux_dir/install-sh -c"
    32482875    break
    3249   elif test -f "$ac_dir/install.sh"; then
     2876  elif test -f $ac_dir/install.sh; then
    32502877    ac_aux_dir=$ac_dir
    32512878    ac_install_sh="$ac_aux_dir/install.sh -c"
    32522879    break
    3253   elif test -f "$ac_dir/shtool"; then
     2880  elif test -f $ac_dir/shtool; then
    32542881    ac_aux_dir=$ac_dir
    32552882    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    32582885done
    32592886if test -z "$ac_aux_dir"; then
    3260   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    3261 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
     2887  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     2888echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    32622889   { (exit 1); exit 1; }; }
    32632890fi
    3264 
    3265 # These three variables are undocumented and unsupported,
    3266 # and are intended to be withdrawn in a future Autoconf release.
    3267 # They can cause serious problems if a builder's source tree is in a directory
    3268 # whose full name contains unusual characters.
    3269 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    3270 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    3271 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    3272 
     2891ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     2892ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     2893ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    32732894
    32742895# Make sure we can run config.sub.
    3275 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    3276   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
    3277 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
     2896$ac_config_sub sun4 >/dev/null 2>&1 ||
     2897  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
     2898echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    32782899   { (exit 1); exit 1; }; }
    32792900
    3280 { echo "$as_me:$LINENO: checking build system type" >&5
    3281 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
     2901echo "$as_me:$LINENO: checking build system type" >&5
     2902echo $ECHO_N "checking build system type... $ECHO_C" >&6
    32822903if test "${ac_cv_build+set}" = set; then
    32832904  echo $ECHO_N "(cached) $ECHO_C" >&6
    32842905else
    3285   ac_build_alias=$build_alias
    3286 test "x$ac_build_alias" = x &&
    3287   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    3288 test "x$ac_build_alias" = x &&
     2906  ac_cv_build_alias=$build_alias
     2907test -z "$ac_cv_build_alias" &&
     2908  ac_cv_build_alias=`$ac_config_guess`
     2909test -z "$ac_cv_build_alias" &&
    32892910  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    32902911echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    32912912   { (exit 1); exit 1; }; }
    3292 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    3293   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
    3294 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
     2913ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     2914  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
     2915echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
    32952916   { (exit 1); exit 1; }; }
    32962917
    32972918fi
    3298 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    3299 echo "${ECHO_T}$ac_cv_build" >&6; }
    3300 case $ac_cv_build in
    3301 *-*-*) ;;
    3302 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
    3303 echo "$as_me: error: invalid value of canonical build" >&2;}
    3304    { (exit 1); exit 1; }; };;
    3305 esac
     2919echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     2920echo "${ECHO_T}$ac_cv_build" >&6
    33062921build=$ac_cv_build
    3307 ac_save_IFS=$IFS; IFS='-'
    3308 set x $ac_cv_build
    3309 shift
    3310 build_cpu=$1
    3311 build_vendor=$2
    3312 shift; shift
    3313 # Remember, the first character of IFS is used to create $*,
    3314 # except with old shells:
    3315 build_os=$*
    3316 IFS=$ac_save_IFS
    3317 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    3318 
    3319 
    3320 { echo "$as_me:$LINENO: checking host system type" >&5
    3321 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
     2922build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     2923build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     2924build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     2925
     2926
     2927echo "$as_me:$LINENO: checking host system type" >&5
     2928echo $ECHO_N "checking host system type... $ECHO_C" >&6
    33222929if test "${ac_cv_host+set}" = set; then
    33232930  echo $ECHO_N "(cached) $ECHO_C" >&6
    33242931else
    3325   if test "x$host_alias" = x; then
    3326   ac_cv_host=$ac_cv_build
    3327 else
    3328   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    3329     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
    3330 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
     2932  ac_cv_host_alias=$host_alias
     2933test -z "$ac_cv_host_alias" &&
     2934  ac_cv_host_alias=$ac_cv_build_alias
     2935ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     2936  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     2937echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    33312938   { (exit 1); exit 1; }; }
    3332 fi
    3333 
    3334 fi
    3335 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    3336 echo "${ECHO_T}$ac_cv_host" >&6; }
    3337 case $ac_cv_host in
    3338 *-*-*) ;;
    3339 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
    3340 echo "$as_me: error: invalid value of canonical host" >&2;}
    3341    { (exit 1); exit 1; }; };;
    3342 esac
     2939
     2940fi
     2941echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     2942echo "${ECHO_T}$ac_cv_host" >&6
    33432943host=$ac_cv_host
    3344 ac_save_IFS=$IFS; IFS='-'
    3345 set x $ac_cv_host
    3346 shift
    3347 host_cpu=$1
    3348 host_vendor=$2
    3349 shift; shift
    3350 # Remember, the first character of IFS is used to create $*,
    3351 # except with old shells:
    3352 host_os=$*
    3353 IFS=$ac_save_IFS
    3354 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    3355 
    3356 
    3357 { echo "$as_me:$LINENO: checking target system type" >&5
    3358 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
     2944host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     2945host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     2946host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     2947
     2948
     2949echo "$as_me:$LINENO: checking target system type" >&5
     2950echo $ECHO_N "checking target system type... $ECHO_C" >&6
    33592951if test "${ac_cv_target+set}" = set; then
    33602952  echo $ECHO_N "(cached) $ECHO_C" >&6
    33612953else
    3362   if test "x$target_alias" = x; then
    3363   ac_cv_target=$ac_cv_host
    3364 else
    3365   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    3366     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
    3367 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
     2954  ac_cv_target_alias=$target_alias
     2955test "x$ac_cv_target_alias" = "x" &&
     2956  ac_cv_target_alias=$ac_cv_host_alias
     2957ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
     2958  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     2959echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
    33682960   { (exit 1); exit 1; }; }
    3369 fi
    3370 
    3371 fi
    3372 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    3373 echo "${ECHO_T}$ac_cv_target" >&6; }
    3374 case $ac_cv_target in
    3375 *-*-*) ;;
    3376 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
    3377 echo "$as_me: error: invalid value of canonical target" >&2;}
    3378    { (exit 1); exit 1; }; };;
    3379 esac
     2961
     2962fi
     2963echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     2964echo "${ECHO_T}$ac_cv_target" >&6
    33802965target=$ac_cv_target
    3381 ac_save_IFS=$IFS; IFS='-'
    3382 set x $ac_cv_target
    3383 shift
    3384 target_cpu=$1
    3385 target_vendor=$2
    3386 shift; shift
    3387 # Remember, the first character of IFS is used to create $*,
    3388 # except with old shells:
    3389 target_os=$*
    3390 IFS=$ac_save_IFS
    3391 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
     2966target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     2967target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     2968target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    33922969
    33932970
     
    34112988# OS/2's system install, which has a completely different semantic
    34122989# ./install, which can be erroneously created by make from ./install.sh.
    3413 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3414 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
     2990echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2991echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    34152992if test -z "$INSTALL"; then
    34162993if test "${ac_cv_path_install+set}" = set; then
     
    34343011    for ac_prog in ginstall scoinst install; do
    34353012      for ac_exec_ext in '' $ac_executable_extensions; do
    3436     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     3013    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    34373014      if test $ac_prog = install &&
    34383015        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    34533030esac
    34543031done
    3455 IFS=$as_save_IFS
    34563032
    34573033
     
    34603036    INSTALL=$ac_cv_path_install
    34613037  else
    3462     # As a last resort, use the slow shell script.  Don't cache a
    3463     # value for INSTALL within a source directory, because that will
     3038    # As a last resort, use the slow shell script.  We don't cache a
     3039    # path for INSTALL within a source directory, because that will
    34643040    # break other packages using the cache if that directory is
    3465     # removed, or if the value is a relative name.
     3041    # removed, or if the path is relative.
    34663042    INSTALL=$ac_install_sh
    34673043  fi
    34683044fi
    3469 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    3470 echo "${ECHO_T}$INSTALL" >&6; }
     3045echo "$as_me:$LINENO: result: $INSTALL" >&5
     3046echo "${ECHO_T}$INSTALL" >&6
    34713047
    34723048# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    34783054test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    34793055
    3480 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3481 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
     3056echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3057echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    34823058LN_S=$as_ln_s
    34833059if test "$LN_S" = "ln -s"; then
    3484   { echo "$as_me:$LINENO: result: yes" >&5
    3485 echo "${ECHO_T}yes" >&6; }
    3486 else
    3487   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3488 echo "${ECHO_T}no, using $LN_S" >&6; }
    3489 fi
    3490 
    3491 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3492 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
    3493 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    3494 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     3060  echo "$as_me:$LINENO: result: yes" >&5
     3061echo "${ECHO_T}yes" >&6
     3062else
     3063  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3064echo "${ECHO_T}no, using $LN_S" >&6
     3065fi
     3066
     3067echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3068echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3069set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     3070if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    34953071  echo $ECHO_N "(cached) $ECHO_C" >&6
    34963072else
    34973073  cat >conftest.make <<\_ACEOF
    3498 SHELL = /bin/sh
    34993074all:
    3500     @echo '@@@%%%=$(MAKE)=@@@%%%'
     3075    @echo 'ac_maketemp="$(MAKE)"'
    35013076_ACEOF
    35023077# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3503 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    3504   *@@@%%%=?*=@@@%%%*)
    3505     eval ac_cv_prog_make_${ac_make}_set=yes;;
    3506   *)
    3507     eval ac_cv_prog_make_${ac_make}_set=no;;
    3508 esac
     3078eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3079if test -n "$ac_maketemp"; then
     3080  eval ac_cv_prog_make_${ac_make}_set=yes
     3081else
     3082  eval ac_cv_prog_make_${ac_make}_set=no
     3083fi
    35093084rm -f conftest.make
    35103085fi
    3511 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    3512   { echo "$as_me:$LINENO: result: yes" >&5
    3513 echo "${ECHO_T}yes" >&6; }
     3086if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3087  echo "$as_me:$LINENO: result: yes" >&5
     3088echo "${ECHO_T}yes" >&6
    35143089  SET_MAKE=
    35153090else
    3516   { echo "$as_me:$LINENO: result: no" >&5
    3517 echo "${ECHO_T}no" >&6; }
     3091  echo "$as_me:$LINENO: result: no" >&5
     3092echo "${ECHO_T}no" >&6
    35183093  SET_MAKE="MAKE=${MAKE-make}"
    35193094fi
     
    35223097  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    35233098set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3099echo "$as_me:$LINENO: checking for $ac_word" >&5
     3100echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    35263101if test "${ac_cv_prog_RANLIB+set}" = set; then
    35273102  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    35363111  test -z "$as_dir" && as_dir=.
    35373112  for ac_exec_ext in '' $ac_executable_extensions; do
    3538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3113  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35393114    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    35403115    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    35433118done
    35443119done
    3545 IFS=$as_save_IFS
    35463120
    35473121fi
     
    35493123RANLIB=$ac_cv_prog_RANLIB
    35503124if test -n "$RANLIB"; then
    3551   { echo "$as_me:$LINENO: result: $RANLIB" >&5
    3552 echo "${ECHO_T}$RANLIB" >&6; }
    3553 else
    3554   { echo "$as_me:$LINENO: result: no" >&5
    3555 echo "${ECHO_T}no" >&6; }
    3556 fi
    3557 
     3125  echo "$as_me:$LINENO: result: $RANLIB" >&5
     3126echo "${ECHO_T}$RANLIB" >&6
     3127else
     3128  echo "$as_me:$LINENO: result: no" >&5
     3129echo "${ECHO_T}no" >&6
     3130fi
    35583131
    35593132fi
     
    35623135  # Extract the first word of "ranlib", so it can be a program name with args.
    35633136set dummy ranlib; ac_word=$2
    3564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3137echo "$as_me:$LINENO: checking for $ac_word" >&5
     3138echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    35663139if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    35673140  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    35763149  test -z "$as_dir" && as_dir=.
    35773150  for ac_exec_ext in '' $ac_executable_extensions; do
    3578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3151  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35793152    ac_cv_prog_ac_ct_RANLIB="ranlib"
    35803153    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    35833156done
    35843157done
    3585 IFS=$as_save_IFS
    3586 
     3158
     3159  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    35873160fi
    35883161fi
    35893162ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    35903163if test -n "$ac_ct_RANLIB"; then
    3591   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3592 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
    3593 else
    3594   { echo "$as_me:$LINENO: result: no" >&5
    3595 echo "${ECHO_T}no" >&6; }
    3596 fi
    3597 
    3598   if test "x$ac_ct_RANLIB" = x; then
    3599     RANLIB=":"
    3600   else
    3601     case $cross_compiling:$ac_tool_warned in
    3602 yes:)
    3603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3604 whose name does not start with the host triplet.  If you think this
    3605 configuration is useful to you, please write to [email protected]." >&5
    3606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3607 whose name does not start with the host triplet.  If you think this
    3608 configuration is useful to you, please write to [email protected]." >&2;}
    3609 ac_tool_warned=yes ;;
    3610 esac
    3611     RANLIB=$ac_ct_RANLIB
    3612   fi
     3164  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3165echo "${ECHO_T}$ac_ct_RANLIB" >&6
     3166else
     3167  echo "$as_me:$LINENO: result: no" >&5
     3168echo "${ECHO_T}no" >&6
     3169fi
     3170
     3171  RANLIB=$ac_ct_RANLIB
    36133172else
    36143173  RANLIB="$ac_cv_prog_RANLIB"
     
    36163175
    36173176
    3618 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3619 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
     3177echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3178echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
    36203179arch_64bit=no
    36213180case "$host_cpu" in
     
    36243183
    36253184if test "$arch_64bit" = yes; then
    3626   { echo "$as_me:$LINENO: result: yes" >&5
    3627 echo "${ECHO_T}yes" >&6; }
     3185  echo "$as_me:$LINENO: result: yes" >&5
     3186echo "${ECHO_T}yes" >&6
    36283187  if test -z "$COMPAT32BITFLAGS" ; then
    36293188    COMPAT32BITFLAGS="-m32"
    36303189  fi
    36313190else
    3632   { echo "$as_me:$LINENO: result: no" >&5
    3633 echo "${ECHO_T}no" >&6; }
     3191  echo "$as_me:$LINENO: result: no" >&5
     3192echo "${ECHO_T}no" >&6
    36343193  if test -z "$COMPAT32BITFLAGS" ; then
    36353194    COMPAT32BITFLAGS=
     
    36783237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    36793238ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3680 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     3239echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3240echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    36823241# On Suns, sometimes $CPP names a directory.
    36833242if test -n "$CPP" && test -d "$CPP"; then
     
    37133272             Syntax error
    37143273_ACEOF
    3715 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3716 case "(($ac_try" in
    3717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3718   *) ac_try_echo=$ac_try;;
    3719 esac
    3720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3721   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3274if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3275  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    37223276  ac_status=$?
    37233277  grep -v '^ *+' conftest.er1 >conftest.err
     
    37253279  cat conftest.err >&5
    37263280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3727   (exit $ac_status); } >/dev/null && {
    3728      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3729      test ! -s conftest.err
    3730        }; then
     3281  (exit $ac_status); } >/dev/null; then
     3282  if test -s conftest.err; then
     3283    ac_cpp_err=$ac_c_preproc_warn_flag
     3284    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3285  else
     3286    ac_cpp_err=
     3287  fi
     3288else
     3289  ac_cpp_err=yes
     3290fi
     3291if test -z "$ac_cpp_err"; then
    37313292  :
    37323293else
     
    37373298continue
    37383299fi
    3739 
    37403300rm -f conftest.err conftest.$ac_ext
    37413301
    3742   # OK, works on sane cases.  Now check whether nonexistent headers
     3302  # OK, works on sane cases.  Now check whether non-existent headers
    37433303  # can be detected and how.
    37443304  cat >conftest.$ac_ext <<_ACEOF
     
    37503310#include <ac_nonexistent.h>
    37513311_ACEOF
    3752 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3753 case "(($ac_try" in
    3754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3755   *) ac_try_echo=$ac_try;;
    3756 esac
    3757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3758   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3312if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3313  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    37593314  ac_status=$?
    37603315  grep -v '^ *+' conftest.er1 >conftest.err
     
    37623317  cat conftest.err >&5
    37633318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3764   (exit $ac_status); } >/dev/null && {
    3765      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3766      test ! -s conftest.err
    3767        }; then
     3319  (exit $ac_status); } >/dev/null; then
     3320  if test -s conftest.err; then
     3321    ac_cpp_err=$ac_c_preproc_warn_flag
     3322    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3323  else
     3324    ac_cpp_err=
     3325  fi
     3326else
     3327  ac_cpp_err=yes
     3328fi
     3329if test -z "$ac_cpp_err"; then
    37683330  # Broken: success on invalid input.
    37693331continue
     
    37763338break
    37773339fi
    3778 
    37793340rm -f conftest.err conftest.$ac_ext
    37803341
     
    37943355  ac_cv_prog_CPP=$CPP
    37953356fi
    3796 { echo "$as_me:$LINENO: result: $CPP" >&5
    3797 echo "${ECHO_T}$CPP" >&6; }
     3357echo "$as_me:$LINENO: result: $CPP" >&5
     3358echo "${ECHO_T}$CPP" >&6
    37983359ac_preproc_ok=false
    37993360for ac_c_preproc_warn_flag in '' yes
     
    38183379             Syntax error
    38193380_ACEOF
    3820 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3821 case "(($ac_try" in
    3822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3823   *) ac_try_echo=$ac_try;;
    3824 esac
    3825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3826   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3381if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3382  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    38273383  ac_status=$?
    38283384  grep -v '^ *+' conftest.er1 >conftest.err
     
    38303386  cat conftest.err >&5
    38313387  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3832   (exit $ac_status); } >/dev/null && {
    3833      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3834      test ! -s conftest.err
    3835        }; then
     3388  (exit $ac_status); } >/dev/null; then
     3389  if test -s conftest.err; then
     3390    ac_cpp_err=$ac_c_preproc_warn_flag
     3391    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3392  else
     3393    ac_cpp_err=
     3394  fi
     3395else
     3396  ac_cpp_err=yes
     3397fi
     3398if test -z "$ac_cpp_err"; then
    38363399  :
    38373400else
     
    38423405continue
    38433406fi
    3844 
    38453407rm -f conftest.err conftest.$ac_ext
    38463408
    3847   # OK, works on sane cases.  Now check whether nonexistent headers
     3409  # OK, works on sane cases.  Now check whether non-existent headers
    38483410  # can be detected and how.
    38493411  cat >conftest.$ac_ext <<_ACEOF
     
    38553417#include <ac_nonexistent.h>
    38563418_ACEOF
    3857 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3858 case "(($ac_try" in
    3859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3860   *) ac_try_echo=$ac_try;;
    3861 esac
    3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3863   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3419if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3420  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    38643421  ac_status=$?
    38653422  grep -v '^ *+' conftest.er1 >conftest.err
     
    38673424  cat conftest.err >&5
    38683425  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3869   (exit $ac_status); } >/dev/null && {
    3870      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3871      test ! -s conftest.err
    3872        }; then
     3426  (exit $ac_status); } >/dev/null; then
     3427  if test -s conftest.err; then
     3428    ac_cpp_err=$ac_c_preproc_warn_flag
     3429    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3430  else
     3431    ac_cpp_err=
     3432  fi
     3433else
     3434  ac_cpp_err=yes
     3435fi
     3436if test -z "$ac_cpp_err"; then
    38733437  # Broken: success on invalid input.
    38743438continue
     
    38813445break
    38823446fi
    3883 
    38843447rm -f conftest.err conftest.$ac_ext
    38853448
     
    39043467
    39053468
    3906 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    3907 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    3908 if test "${ac_cv_path_GREP+set}" = set; then
     3469echo "$as_me:$LINENO: checking for egrep" >&5
     3470echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3471if test "${ac_cv_prog_egrep+set}" = set; then
    39093472  echo $ECHO_N "(cached) $ECHO_C" >&6
    39103473else
    3911   # Extract the first word of "grep ggrep" to use in msg output
    3912 if test -z "$GREP"; then
    3913 set dummy grep ggrep; ac_prog_name=$2
    3914 if test "${ac_cv_path_GREP+set}" = set; then
    3915   echo $ECHO_N "(cached) $ECHO_C" >&6
    3916 else
    3917   ac_path_GREP_found=false
    3918 # Loop through the user's path and test for each of PROGNAME-LIST
    3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3920 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    3921 do
    3922   IFS=$as_save_IFS
    3923   test -z "$as_dir" && as_dir=.
    3924   for ac_prog in grep ggrep; do
    3925   for ac_exec_ext in '' $ac_executable_extensions; do
    3926     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3927     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    3928     # Check for GNU ac_path_GREP and select it if it is found.
    3929   # Check for GNU $ac_path_GREP
    3930 case `"$ac_path_GREP" --version 2>&1` in
    3931 *GNU*)
    3932   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    3933 *)
    3934   ac_count=0
    3935   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    3936   while :
    3937   do
    3938     cat "conftest.in" "conftest.in" >"conftest.tmp"
    3939     mv "conftest.tmp" "conftest.in"
    3940     cp "conftest.in" "conftest.nl"
    3941     echo 'GREP' >> "conftest.nl"
    3942     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    3943     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3944     ac_count=`expr $ac_count + 1`
    3945     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    3946       # Best one so far, save it but keep looking for a better one
    3947       ac_cv_path_GREP="$ac_path_GREP"
    3948       ac_path_GREP_max=$ac_count
     3474  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3475    then ac_cv_prog_egrep='grep -E'
     3476    else ac_cv_prog_egrep='egrep'
    39493477    fi
    3950     # 10*(2^10) chars as input seems more than enough
    3951     test $ac_count -gt 10 && break
    3952   done
    3953   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    3954 esac
    3955 
    3956 
    3957     $ac_path_GREP_found && break 3
    3958   done
    3959 done
    3960 
    3961 done
    3962 IFS=$as_save_IFS
    3963 
    3964 
    3965 fi
    3966 
    3967 GREP="$ac_cv_path_GREP"
    3968 if test -z "$GREP"; then
    3969   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3970 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3971    { (exit 1); exit 1; }; }
    3972 fi
    3973 
    3974 else
    3975   ac_cv_path_GREP=$GREP
    3976 fi
    3977 
    3978 
    3979 fi
    3980 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    3981 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
    3982  GREP="$ac_cv_path_GREP"
    3983 
    3984 
    3985 { echo "$as_me:$LINENO: checking for egrep" >&5
    3986 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
    3987 if test "${ac_cv_path_EGREP+set}" = set; then
    3988   echo $ECHO_N "(cached) $ECHO_C" >&6
    3989 else
    3990   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    3991    then ac_cv_path_EGREP="$GREP -E"
    3992    else
    3993      # Extract the first word of "egrep" to use in msg output
    3994 if test -z "$EGREP"; then
    3995 set dummy egrep; ac_prog_name=$2
    3996 if test "${ac_cv_path_EGREP+set}" = set; then
    3997   echo $ECHO_N "(cached) $ECHO_C" >&6
    3998 else
    3999   ac_path_EGREP_found=false
    4000 # Loop through the user's path and test for each of PROGNAME-LIST
    4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4003 do
    4004   IFS=$as_save_IFS
    4005   test -z "$as_dir" && as_dir=.
    4006   for ac_prog in egrep; do
    4007   for ac_exec_ext in '' $ac_executable_extensions; do
    4008     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4009     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4010     # Check for GNU ac_path_EGREP and select it if it is found.
    4011   # Check for GNU $ac_path_EGREP
    4012 case `"$ac_path_EGREP" --version 2>&1` in
    4013 *GNU*)
    4014   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4015 *)
    4016   ac_count=0
    4017   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    4018   while :
    4019   do
    4020     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4021     mv "conftest.tmp" "conftest.in"
    4022     cp "conftest.in" "conftest.nl"
    4023     echo 'EGREP' >> "conftest.nl"
    4024     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4025     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4026     ac_count=`expr $ac_count + 1`
    4027     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4028       # Best one so far, save it but keep looking for a better one
    4029       ac_cv_path_EGREP="$ac_path_EGREP"
    4030       ac_path_EGREP_max=$ac_count
    4031     fi
    4032     # 10*(2^10) chars as input seems more than enough
    4033     test $ac_count -gt 10 && break
    4034   done
    4035   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4036 esac
    4037 
    4038 
    4039     $ac_path_EGREP_found && break 3
    4040   done
    4041 done
    4042 
    4043 done
    4044 IFS=$as_save_IFS
    4045 
    4046 
    4047 fi
    4048 
    4049 EGREP="$ac_cv_path_EGREP"
    4050 if test -z "$EGREP"; then
    4051   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4052 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4053    { (exit 1); exit 1; }; }
    4054 fi
    4055 
    4056 else
    4057   ac_cv_path_EGREP=$EGREP
    4058 fi
    4059 
    4060 
    4061    fi
    4062 fi
    4063 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    4064 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
    4065  EGREP="$ac_cv_path_EGREP"
    4066 
    4067 
    4068 
    4069 { echo "$as_me:$LINENO: checking for AIX" >&5
    4070 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
     3478fi
     3479echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3480echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3481 EGREP=$ac_cv_prog_egrep
     3482
     3483
     3484
     3485echo "$as_me:$LINENO: checking for AIX" >&5
     3486echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    40713487cat >conftest.$ac_ext <<_ACEOF
    40723488/* confdefs.h.  */
     
    40823498if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    40833499  $EGREP "yes" >/dev/null 2>&1; then
    4084   { echo "$as_me:$LINENO: result: yes" >&5
    4085 echo "${ECHO_T}yes" >&6; }
     3500  echo "$as_me:$LINENO: result: yes" >&5
     3501echo "${ECHO_T}yes" >&6
    40863502cat >>confdefs.h <<\_ACEOF
    40873503#define _ALL_SOURCE 1
     
    40893505
    40903506else
    4091   { echo "$as_me:$LINENO: result: no" >&5
    4092 echo "${ECHO_T}no" >&6; }
     3507  echo "$as_me:$LINENO: result: no" >&5
     3508echo "${ECHO_T}no" >&6
    40933509fi
    40943510rm -f conftest*
    40953511
    40963512
    4097 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
    4098 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
     3513echo "$as_me:$LINENO: checking for library containing strerror" >&5
     3514echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
    40993515if test "${ac_cv_search_strerror+set}" = set; then
    41003516  echo $ECHO_N "(cached) $ECHO_C" >&6
    41013517else
    41023518  ac_func_search_save_LIBS=$LIBS
     3519ac_cv_search_strerror=no
    41033520cat >conftest.$ac_ext <<_ACEOF
    41043521/* confdefs.h.  */
     
    41083525/* end confdefs.h.  */
    41093526
    4110 /* Override any GCC internal prototype to avoid an error.
    4111    Use char because int might match the return type of a GCC
    4112    builtin and then its argument prototype would still apply.  */
     3527/* Override any gcc2 internal prototype to avoid an error.  */
    41133528#ifdef __cplusplus
    41143529extern "C"
    41153530#endif
     3531/* We use char because int might match the return type of a gcc2
     3532   builtin and then its argument prototype would still apply.  */
    41163533char strerror ();
    41173534int
    41183535main ()
    41193536{
    4120 return strerror ();
     3537strerror ();
    41213538  ;
    41223539  return 0;
    41233540}
    41243541_ACEOF
    4125 for ac_lib in '' cposix; do
    4126   if test -z "$ac_lib"; then
    4127     ac_res="none required"
    4128   else
    4129     ac_res=-l$ac_lib
    4130     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    4131   fi
    4132   rm -f conftest.$ac_objext conftest$ac_exeext
    4133 if { (ac_try="$ac_link"
    4134 case "(($ac_try" in
    4135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4136   *) ac_try_echo=$ac_try;;
    4137 esac
    4138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4139   (eval "$ac_link") 2>conftest.er1
     3542rm -f conftest.$ac_objext conftest$ac_exeext
     3543if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3544  (eval $ac_link) 2>conftest.er1
    41403545  ac_status=$?
    41413546  grep -v '^ *+' conftest.er1 >conftest.err
     
    41433548  cat conftest.err >&5
    41443549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4145   (exit $ac_status); } && {
    4146      test -z "$ac_c_werror_flag" ||
    4147      test ! -s conftest.err
    4148        } && test -s conftest$ac_exeext &&
    4149        $as_test_x conftest$ac_exeext; then
    4150   ac_cv_search_strerror=$ac_res
     3550  (exit $ac_status); } &&
     3551     { ac_try='test -z "$ac_c_werror_flag"
     3552             || test ! -s conftest.err'
     3553  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3554  (eval $ac_try) 2>&5
     3555  ac_status=$?
     3556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3557  (exit $ac_status); }; } &&
     3558     { ac_try='test -s conftest$ac_exeext'
     3559  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3560  (eval $ac_try) 2>&5
     3561  ac_status=$?
     3562  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3563  (exit $ac_status); }; }; then
     3564  ac_cv_search_strerror="none required"
    41513565else
    41523566  echo "$as_me: failed program was:" >&5
    41533567sed 's/^/| /' conftest.$ac_ext >&5
    41543568
    4155 
    4156 fi
    4157 
    4158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4159       conftest$ac_exeext
    4160   if test "${ac_cv_search_strerror+set}" = set; then
    4161   break
    4162 fi
    4163 done
    4164 if test "${ac_cv_search_strerror+set}" = set; then
    4165   :
    4166 else
    4167   ac_cv_search_strerror=no
    4168 fi
    4169 rm conftest.$ac_ext
     3569fi
     3570rm -f conftest.err conftest.$ac_objext \
     3571      conftest$ac_exeext conftest.$ac_ext
     3572if test "$ac_cv_search_strerror" = no; then
     3573  for ac_lib in cposix; do
     3574    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     3575    cat >conftest.$ac_ext <<_ACEOF
     3576/* confdefs.h.  */
     3577_ACEOF
     3578cat confdefs.h >>conftest.$ac_ext
     3579cat >>conftest.$ac_ext <<_ACEOF
     3580/* end confdefs.h.  */
     3581
     3582/* Override any gcc2 internal prototype to avoid an error.  */
     3583#ifdef __cplusplus
     3584extern "C"
     3585#endif
     3586/* We use char because int might match the return type of a gcc2
     3587   builtin and then its argument prototype would still apply.  */
     3588char strerror ();
     3589int
     3590main ()
     3591{
     3592strerror ();
     3593  ;
     3594  return 0;
     3595}
     3596_ACEOF
     3597rm -f conftest.$ac_objext conftest$ac_exeext
     3598if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3599  (eval $ac_link) 2>conftest.er1
     3600  ac_status=$?
     3601  grep -v '^ *+' conftest.er1 >conftest.err
     3602  rm -f conftest.er1
     3603  cat conftest.err >&5
     3604  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3605  (exit $ac_status); } &&
     3606     { ac_try='test -z "$ac_c_werror_flag"
     3607             || test ! -s conftest.err'
     3608  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3609  (eval $ac_try) 2>&5
     3610  ac_status=$?
     3611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3612  (exit $ac_status); }; } &&
     3613     { ac_try='test -s conftest$ac_exeext'
     3614  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3615  (eval $ac_try) 2>&5
     3616  ac_status=$?
     3617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3618  (exit $ac_status); }; }; then
     3619  ac_cv_search_strerror="-l$ac_lib"
     3620break
     3621else
     3622  echo "$as_me: failed program was:" >&5
     3623sed 's/^/| /' conftest.$ac_ext >&5
     3624
     3625fi
     3626rm -f conftest.err conftest.$ac_objext \
     3627      conftest$ac_exeext conftest.$ac_ext
     3628  done
     3629fi
    41703630LIBS=$ac_func_search_save_LIBS
    41713631fi
    4172 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    4173 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
    4174 ac_res=$ac_cv_search_strerror
    4175 if test "$ac_res" != no; then
    4176   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    4177 
    4178 fi
    4179 
    4180 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4181 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
     3632echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     3633echo "${ECHO_T}$ac_cv_search_strerror" >&6
     3634if test "$ac_cv_search_strerror" != no; then
     3635  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
     3636
     3637fi
     3638
     3639echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3640echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    41823641if test "${ac_cv_header_stdc+set}" = set; then
    41833642  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42033662_ACEOF
    42043663rm -f conftest.$ac_objext
    4205 if { (ac_try="$ac_compile"
    4206 case "(($ac_try" in
    4207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4208   *) ac_try_echo=$ac_try;;
    4209 esac
    4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4211   (eval "$ac_compile") 2>conftest.er1
     3664if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3665  (eval $ac_compile) 2>conftest.er1
    42123666  ac_status=$?
    42133667  grep -v '^ *+' conftest.er1 >conftest.err
     
    42153669  cat conftest.err >&5
    42163670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4217   (exit $ac_status); } && {
    4218      test -z "$ac_c_werror_flag" ||
    4219      test ! -s conftest.err
    4220        } && test -s conftest.$ac_objext; then
     3671  (exit $ac_status); } &&
     3672     { ac_try='test -z "$ac_c_werror_flag"
     3673             || test ! -s conftest.err'
     3674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3675  (eval $ac_try) 2>&5
     3676  ac_status=$?
     3677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3678  (exit $ac_status); }; } &&
     3679     { ac_try='test -s conftest.$ac_objext'
     3680  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3681  (eval $ac_try) 2>&5
     3682  ac_status=$?
     3683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3684  (exit $ac_status); }; }; then
    42213685  ac_cv_header_stdc=yes
    42223686else
     
    42243688sed 's/^/| /' conftest.$ac_ext >&5
    42253689
    4226     ac_cv_header_stdc=no
    4227 fi
    4228 
    4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3690ac_cv_header_stdc=no
     3691fi
     3692rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    42303693
    42313694if test $ac_cv_header_stdc = yes; then
     
    42833746/* end confdefs.h.  */
    42843747#include <ctype.h>
    4285 #include <stdlib.h>
    42863748#if ((' ' & 0x0FF) == 0x020)
    42873749# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    43033765    if (XOR (islower (i), ISLOWER (i))
    43043766    || toupper (i) != TOUPPER (i))
    4305       return 2;
    4306   return 0;
     3767      exit(2);
     3768  exit (0);
    43073769}
    43083770_ACEOF
    43093771rm -f conftest$ac_exeext
    4310 if { (ac_try="$ac_link"
    4311 case "(($ac_try" in
    4312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4313   *) ac_try_echo=$ac_try;;
    4314 esac
    4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4316   (eval "$ac_link") 2>&5
     3772if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3773  (eval $ac_link) 2>&5
    43173774  ac_status=$?
    43183775  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43193776  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4320   { (case "(($ac_try" in
    4321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4322   *) ac_try_echo=$ac_try;;
    4323 esac
    4324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4325   (eval "$ac_try") 2>&5
     3777  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3778  (eval $ac_try) 2>&5
    43263779  ac_status=$?
    43273780  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    43363789ac_cv_header_stdc=no
    43373790fi
    4338 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4339 fi
    4340 
    4341 
    4342 fi
    4343 fi
    4344 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4345 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     3791rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3792fi
     3793fi
     3794fi
     3795echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3796echo "${ECHO_T}$ac_cv_header_stdc" >&6
    43463797if test $ac_cv_header_stdc = yes; then
    43473798
     
    43663817do
    43673818as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3819echo "$as_me:$LINENO: checking for $ac_header" >&5
     3820echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3821if eval "test \"\${$as_ac_Header+set}\" = set"; then
    43713822  echo $ECHO_N "(cached) $ECHO_C" >&6
    43723823else
     
    43823833_ACEOF
    43833834rm -f conftest.$ac_objext
    4384 if { (ac_try="$ac_compile"
    4385 case "(($ac_try" in
    4386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4387   *) ac_try_echo=$ac_try;;
    4388 esac
    4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4390   (eval "$ac_compile") 2>conftest.er1
     3835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3836  (eval $ac_compile) 2>conftest.er1
    43913837  ac_status=$?
    43923838  grep -v '^ *+' conftest.er1 >conftest.err
     
    43943840  cat conftest.err >&5
    43953841  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4396   (exit $ac_status); } && {
    4397      test -z "$ac_c_werror_flag" ||
    4398      test ! -s conftest.err
    4399        } && test -s conftest.$ac_objext; then
     3842  (exit $ac_status); } &&
     3843     { ac_try='test -z "$ac_c_werror_flag"
     3844             || test ! -s conftest.err'
     3845  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3846  (eval $ac_try) 2>&5
     3847  ac_status=$?
     3848  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3849  (exit $ac_status); }; } &&
     3850     { ac_try='test -s conftest.$ac_objext'
     3851  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3852  (eval $ac_try) 2>&5
     3853  ac_status=$?
     3854  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3855  (exit $ac_status); }; }; then
    44003856  eval "$as_ac_Header=yes"
    44013857else
     
    44033859sed 's/^/| /' conftest.$ac_ext >&5
    44043860
    4405     eval "$as_ac_Header=no"
    4406 fi
    4407 
    4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4409 fi
    4410 ac_res=`eval echo '${'$as_ac_Header'}'`
    4411            { echo "$as_me:$LINENO: result: $ac_res" >&5
    4412 echo "${ECHO_T}$ac_res" >&6; }
     3861eval "$as_ac_Header=no"
     3862fi
     3863rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3864fi
     3865echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3866echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    44133867if test `eval echo '${'$as_ac_Header'}'` = yes; then
    44143868  cat >>confdefs.h <<_ACEOF
     
    44223876
    44233877if test "${ac_cv_header_minix_config_h+set}" = set; then
    4424   { echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4425 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
     3878  echo "$as_me:$LINENO: checking for minix/config.h" >&5
     3879echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    44263880if test "${ac_cv_header_minix_config_h+set}" = set; then
    44273881  echo $ECHO_N "(cached) $ECHO_C" >&6
    44283882fi
    4429 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4430 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
     3883echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     3884echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    44313885else
    44323886  # Is the header compilable?
    4433 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    4434 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
     3887echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     3888echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
    44353889cat >conftest.$ac_ext <<_ACEOF
    44363890/* confdefs.h.  */
     
    44433897_ACEOF
    44443898rm -f conftest.$ac_objext
    4445 if { (ac_try="$ac_compile"
    4446 case "(($ac_try" in
    4447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4448   *) ac_try_echo=$ac_try;;
    4449 esac
    4450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4451   (eval "$ac_compile") 2>conftest.er1
     3899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3900  (eval $ac_compile) 2>conftest.er1
    44523901  ac_status=$?
    44533902  grep -v '^ *+' conftest.er1 >conftest.err
     
    44553904  cat conftest.err >&5
    44563905  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4457   (exit $ac_status); } && {
    4458      test -z "$ac_c_werror_flag" ||
    4459      test ! -s conftest.err
    4460        } && test -s conftest.$ac_objext; then
     3906  (exit $ac_status); } &&
     3907     { ac_try='test -z "$ac_c_werror_flag"
     3908             || test ! -s conftest.err'
     3909  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3910  (eval $ac_try) 2>&5
     3911  ac_status=$?
     3912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3913  (exit $ac_status); }; } &&
     3914     { ac_try='test -s conftest.$ac_objext'
     3915  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3916  (eval $ac_try) 2>&5
     3917  ac_status=$?
     3918  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3919  (exit $ac_status); }; }; then
    44613920  ac_header_compiler=yes
    44623921else
     
    44643923sed 's/^/| /' conftest.$ac_ext >&5
    44653924
    4466     ac_header_compiler=no
    4467 fi
    4468 
    4469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4470 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4471 echo "${ECHO_T}$ac_header_compiler" >&6; }
     3925ac_header_compiler=no
     3926fi
     3927rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3928echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3929echo "${ECHO_T}$ac_header_compiler" >&6
    44723930
    44733931# Is the header present?
    4474 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    4475 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
     3932echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     3933echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
    44763934cat >conftest.$ac_ext <<_ACEOF
    44773935/* confdefs.h.  */
     
    44823940#include <minix/config.h>
    44833941_ACEOF
    4484 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4485 case "(($ac_try" in
    4486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4487   *) ac_try_echo=$ac_try;;
    4488 esac
    4489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4490   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3942if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3943  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    44913944  ac_status=$?
    44923945  grep -v '^ *+' conftest.er1 >conftest.err
     
    44943947  cat conftest.err >&5
    44953948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4496   (exit $ac_status); } >/dev/null && {
    4497      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4498      test ! -s conftest.err
    4499        }; then
     3949  (exit $ac_status); } >/dev/null; then
     3950  if test -s conftest.err; then
     3951    ac_cpp_err=$ac_c_preproc_warn_flag
     3952    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3953  else
     3954    ac_cpp_err=
     3955  fi
     3956else
     3957  ac_cpp_err=yes
     3958fi
     3959if test -z "$ac_cpp_err"; then
    45003960  ac_header_preproc=yes
    45013961else
     
    45053965  ac_header_preproc=no
    45063966fi
    4507 
    45083967rm -f conftest.err conftest.$ac_ext
    4509 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4510 echo "${ECHO_T}$ac_header_preproc" >&6; }
     3968echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3969echo "${ECHO_T}$ac_header_preproc" >&6
    45113970
    45123971# So?  What about this header?
     
    45323991    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    45333992echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    4534 
     3993    (
     3994      cat <<\_ASBOX
     3995## ------------------------------------------ ##
     3996## Report this to the AC_PACKAGE_NAME lists.  ##
     3997## ------------------------------------------ ##
     3998_ASBOX
     3999    ) |
     4000      sed "s/^/$as_me: WARNING:     /" >&2
    45354001    ;;
    45364002esac
    4537 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4538 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
     4003echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4004echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    45394005if test "${ac_cv_header_minix_config_h+set}" = set; then
    45404006  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45424008  ac_cv_header_minix_config_h=$ac_header_preproc
    45434009fi
    4544 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4545 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
     4010echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4011echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    45464012
    45474013fi
     
    45714037fi
    45724038
    4573 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    4574 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
     4039echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     4040echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
    45754041if test "${ac_cv_prog_cc_stdc+set}" = set; then
    45764042  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46084074_ACEOF
    46094075rm -f conftest.$ac_objext
    4610 if { (ac_try="$ac_compile"
    4611 case "(($ac_try" in
    4612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4613   *) ac_try_echo=$ac_try;;
    4614 esac
    4615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4616   (eval "$ac_compile") 2>conftest.er1
     4076if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4077  (eval $ac_compile) 2>conftest.er1
    46174078  ac_status=$?
    46184079  grep -v '^ *+' conftest.er1 >conftest.err
     
    46204081  cat conftest.err >&5
    46214082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4622   (exit $ac_status); } && {
    4623      test -z "$ac_c_werror_flag" ||
    4624      test ! -s conftest.err
    4625        } && test -s conftest.$ac_objext; then
     4083  (exit $ac_status); } &&
     4084     { ac_try='test -z "$ac_c_werror_flag"
     4085             || test ! -s conftest.err'
     4086  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4087  (eval $ac_try) 2>&5
     4088  ac_status=$?
     4089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4090  (exit $ac_status); }; } &&
     4091     { ac_try='test -s conftest.$ac_objext'
     4092  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4093  (eval $ac_try) 2>&5
     4094  ac_status=$?
     4095  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4096  (exit $ac_status); }; }; then
    46264097  ac_cv_prog_cc_stdc="$ac_arg"; break
    46274098else
     
    46294100sed 's/^/| /' conftest.$ac_ext >&5
    46304101
    4631 
    4632 fi
    4633 
    4634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4102fi
     4103rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    46354104done
    46364105CFLAGS="$ac_save_CFLAGS"
     
    46384107fi
    46394108
    4640 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4641 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
     4109echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     4110echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    46424111case "x$ac_cv_prog_cc_stdc" in
    46434112  x|xno) ;;
     
    46464115
    46474116
    4648 { echo "$as_me:$LINENO: checking for function prototypes" >&5
    4649 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
     4117echo "$as_me:$LINENO: checking for function prototypes" >&5
     4118echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
    46504119if test "$ac_cv_prog_cc_stdc" != no; then
    4651   { echo "$as_me:$LINENO: result: yes" >&5
    4652 echo "${ECHO_T}yes" >&6; }
     4120  echo "$as_me:$LINENO: result: yes" >&5
     4121echo "${ECHO_T}yes" >&6
    46534122  cat >>confdefs.h <<\_ACEOF
    46544123#define PROTOTYPES 1
     
    46574126  U= ANSI2KNR=
    46584127else
    4659   { echo "$as_me:$LINENO: result: no" >&5
    4660 echo "${ECHO_T}no" >&6; }
     4128  echo "$as_me:$LINENO: result: no" >&5
     4129echo "${ECHO_T}no" >&6
    46614130  U=_ ANSI2KNR=ansi2knr
    46624131fi
    46634132
    4664 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4665 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
     4133echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
     4134echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    46664135if test "${ac_cv_c_const+set}" = set; then
    46674136  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46814150  /* Ultrix mips cc rejects this.  */
    46824151  typedef int charset[2];
    4683   const charset cs;
     4152  const charset x;
    46844153  /* SunOS 4.1.1 cc rejects this.  */
    4685   char const *const *pcpcc;
    4686   char **ppc;
     4154  char const *const *ccp;
     4155  char **p;
    46874156  /* NEC SVR4.0.2 mips cc rejects this.  */
    46884157  struct point {int x, y;};
     
    46934162     expression */
    46944163  const char *g = "string";
    4695   pcpcc = &g + (g ? g-g : 0);
     4164  ccp = &g + (g ? g-g : 0);
    46964165  /* HPUX 7.0 cc rejects these. */
    4697   ++pcpcc;
    4698   ppc = (char**) pcpcc;
    4699   pcpcc = (char const *const *) ppc;
     4166  ++ccp;
     4167  p = (char**) ccp;
     4168  ccp = (char const *const *) p;
    47004169  { /* SCO 3.2v4 cc rejects this.  */
    47014170    char *t;
     
    47034172
    47044173    *t++ = 0;
    4705     if (s) return 0;
    47064174  }
    47074175  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    47224190  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    47234191    const int foo = 10;
    4724     if (!foo) return 0;
    47254192  }
    4726   return !cs[0] && !zero.x;
    47274193#endif
    47284194
     
    47324198_ACEOF
    47334199rm -f conftest.$ac_objext
    4734 if { (ac_try="$ac_compile"
    4735 case "(($ac_try" in
    4736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4737   *) ac_try_echo=$ac_try;;
    4738 esac
    4739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4740   (eval "$ac_compile") 2>conftest.er1
     4200if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4201  (eval $ac_compile) 2>conftest.er1
    47414202  ac_status=$?
    47424203  grep -v '^ *+' conftest.er1 >conftest.err
     
    47444205  cat conftest.err >&5
    47454206  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4746   (exit $ac_status); } && {
    4747      test -z "$ac_c_werror_flag" ||
    4748      test ! -s conftest.err
    4749        } && test -s conftest.$ac_objext; then
     4207  (exit $ac_status); } &&
     4208     { ac_try='test -z "$ac_c_werror_flag"
     4209             || test ! -s conftest.err'
     4210  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4211  (eval $ac_try) 2>&5
     4212  ac_status=$?
     4213  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4214  (exit $ac_status); }; } &&
     4215     { ac_try='test -s conftest.$ac_objext'
     4216  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4217  (eval $ac_try) 2>&5
     4218  ac_status=$?
     4219  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4220  (exit $ac_status); }; }; then
    47504221  ac_cv_c_const=yes
    47514222else
     
    47534224sed 's/^/| /' conftest.$ac_ext >&5
    47544225
    4755     ac_cv_c_const=no
    4756 fi
    4757 
    4758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4759 fi
    4760 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4761 echo "${ECHO_T}$ac_cv_c_const" >&6; }
     4226ac_cv_c_const=no
     4227fi
     4228rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4229fi
     4230echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
     4231echo "${ECHO_T}$ac_cv_c_const" >&6
    47624232if test $ac_cv_c_const = no; then
    47634233
     
    47684238fi
    47694239
    4770 { echo "$as_me:$LINENO: checking for off_t" >&5
    4771 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
     4240echo "$as_me:$LINENO: checking for off_t" >&5
     4241echo $ECHO_N "checking for off_t... $ECHO_C" >&6
    47724242if test "${ac_cv_type_off_t+set}" = set; then
    47734243  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    47804250/* end confdefs.h.  */
    47814251$ac_includes_default
    4782 typedef off_t ac__type_new_;
    47834252int
    47844253main ()
    47854254{
    4786 if ((ac__type_new_ *) 0)
     4255if ((off_t *) 0)
    47874256  return 0;
    4788 if (sizeof (ac__type_new_))
     4257if (sizeof (off_t))
    47894258  return 0;
    47904259  ;
     
    47934262_ACEOF
    47944263rm -f conftest.$ac_objext
    4795 if { (ac_try="$ac_compile"
    4796 case "(($ac_try" in
    4797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4798   *) ac_try_echo=$ac_try;;
    4799 esac
    4800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4801   (eval "$ac_compile") 2>conftest.er1
     4264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4265  (eval $ac_compile) 2>conftest.er1
    48024266  ac_status=$?
    48034267  grep -v '^ *+' conftest.er1 >conftest.err
     
    48054269  cat conftest.err >&5
    48064270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4807   (exit $ac_status); } && {
    4808      test -z "$ac_c_werror_flag" ||
    4809      test ! -s conftest.err
    4810        } && test -s conftest.$ac_objext; then
     4271  (exit $ac_status); } &&
     4272     { ac_try='test -z "$ac_c_werror_flag"
     4273             || test ! -s conftest.err'
     4274  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4275  (eval $ac_try) 2>&5
     4276  ac_status=$?
     4277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4278  (exit $ac_status); }; } &&
     4279     { ac_try='test -s conftest.$ac_objext'
     4280  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4281  (eval $ac_try) 2>&5
     4282  ac_status=$?
     4283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4284  (exit $ac_status); }; }; then
    48114285  ac_cv_type_off_t=yes
    48124286else
     
    48144288sed 's/^/| /' conftest.$ac_ext >&5
    48154289
    4816     ac_cv_type_off_t=no
    4817 fi
    4818 
    4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4820 fi
    4821 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4822 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
     4290ac_cv_type_off_t=no
     4291fi
     4292rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4293fi
     4294echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
     4295echo "${ECHO_T}$ac_cv_type_off_t" >&6
    48234296if test $ac_cv_type_off_t = yes; then
    48244297  :
     
    48264299
    48274300cat >>confdefs.h <<_ACEOF
    4828 #define off_t long int
    4829 _ACEOF
    4830 
    4831 fi
    4832 
    4833 { echo "$as_me:$LINENO: checking for size_t" >&5
    4834 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
     4301#define off_t long
     4302_ACEOF
     4303
     4304fi
     4305
     4306echo "$as_me:$LINENO: checking for size_t" >&5
     4307echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    48354308if test "${ac_cv_type_size_t+set}" = set; then
    48364309  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    48434316/* end confdefs.h.  */
    48444317$ac_includes_default
    4845 typedef size_t ac__type_new_;
    48464318int
    48474319main ()
    48484320{
    4849 if ((ac__type_new_ *) 0)
     4321if ((size_t *) 0)
    48504322  return 0;
    4851 if (sizeof (ac__type_new_))
     4323if (sizeof (size_t))
    48524324  return 0;
    48534325  ;
     
    48564328_ACEOF
    48574329rm -f conftest.$ac_objext
    4858 if { (ac_try="$ac_compile"
    4859 case "(($ac_try" in
    4860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4861   *) ac_try_echo=$ac_try;;
    4862 esac
    4863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4864   (eval "$ac_compile") 2>conftest.er1
     4330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4331  (eval $ac_compile) 2>conftest.er1
    48654332  ac_status=$?
    48664333  grep -v '^ *+' conftest.er1 >conftest.err
     
    48684335  cat conftest.err >&5
    48694336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4870   (exit $ac_status); } && {
    4871      test -z "$ac_c_werror_flag" ||
    4872      test ! -s conftest.err
    4873        } && test -s conftest.$ac_objext; then
     4337  (exit $ac_status); } &&
     4338     { ac_try='test -z "$ac_c_werror_flag"
     4339             || test ! -s conftest.err'
     4340  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4341  (eval $ac_try) 2>&5
     4342  ac_status=$?
     4343  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4344  (exit $ac_status); }; } &&
     4345     { ac_try='test -s conftest.$ac_objext'
     4346  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4347  (eval $ac_try) 2>&5
     4348  ac_status=$?
     4349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4350  (exit $ac_status); }; }; then
    48744351  ac_cv_type_size_t=yes
    48754352else
     
    48774354sed 's/^/| /' conftest.$ac_ext >&5
    48784355
    4879     ac_cv_type_size_t=no
    4880 fi
    4881 
    4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4883 fi
    4884 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4885 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
     4356ac_cv_type_size_t=no
     4357fi
     4358rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4359fi
     4360echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
     4361echo "${ECHO_T}$ac_cv_type_size_t" >&6
    48864362if test $ac_cv_type_size_t = yes; then
    48874363  :
     
    48894365
    48904366cat >>confdefs.h <<_ACEOF
    4891 #define size_t unsigned int
    4892 _ACEOF
    4893 
    4894 fi
    4895 
    4896 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4897 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
     4367#define size_t unsigned
     4368_ACEOF
     4369
     4370fi
     4371
     4372echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
     4373echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    48984374if test "${ac_cv_header_time+set}" = set; then
    48994375  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    49194395_ACEOF
    49204396rm -f conftest.$ac_objext
    4921 if { (ac_try="$ac_compile"
    4922 case "(($ac_try" in
    4923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4924   *) ac_try_echo=$ac_try;;
    4925 esac
    4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4927   (eval "$ac_compile") 2>conftest.er1
     4397if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4398  (eval $ac_compile) 2>conftest.er1
    49284399  ac_status=$?
    49294400  grep -v '^ *+' conftest.er1 >conftest.err
     
    49314402  cat conftest.err >&5
    49324403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4933   (exit $ac_status); } && {
    4934      test -z "$ac_c_werror_flag" ||
    4935      test ! -s conftest.err
    4936        } && test -s conftest.$ac_objext; then
     4404  (exit $ac_status); } &&
     4405     { ac_try='test -z "$ac_c_werror_flag"
     4406             || test ! -s conftest.err'
     4407  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4408  (eval $ac_try) 2>&5
     4409  ac_status=$?
     4410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4411  (exit $ac_status); }; } &&
     4412     { ac_try='test -s conftest.$ac_objext'
     4413  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4414  (eval $ac_try) 2>&5
     4415  ac_status=$?
     4416  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4417  (exit $ac_status); }; }; then
    49374418  ac_cv_header_time=yes
    49384419else
     
    49404421sed 's/^/| /' conftest.$ac_ext >&5
    49414422
    4942     ac_cv_header_time=no
    4943 fi
    4944 
    4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4946 fi
    4947 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4948 echo "${ECHO_T}$ac_cv_header_time" >&6; }
     4423ac_cv_header_time=no
     4424fi
     4425rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4426fi
     4427echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
     4428echo "${ECHO_T}$ac_cv_header_time" >&6
    49494429if test $ac_cv_header_time = yes; then
    49504430
     
    49554435fi
    49564436
    4957 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4958 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
     4437echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
     4438echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
    49594439if test "${ac_cv_struct_tm+set}" = set; then
    49604440  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    49724452main ()
    49734453{
    4974 struct tm tm;
    4975                      int *p = &tm.tm_sec;
    4976                      return !p;
     4454struct tm *tp; tp->tm_sec;
    49774455  ;
    49784456  return 0;
     
    49804458_ACEOF
    49814459rm -f conftest.$ac_objext
    4982 if { (ac_try="$ac_compile"
    4983 case "(($ac_try" in
    4984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4985   *) ac_try_echo=$ac_try;;
    4986 esac
    4987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4988   (eval "$ac_compile") 2>conftest.er1
     4460if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4461  (eval $ac_compile) 2>conftest.er1
    49894462  ac_status=$?
    49904463  grep -v '^ *+' conftest.er1 >conftest.err
     
    49924465  cat conftest.err >&5
    49934466  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4994   (exit $ac_status); } && {
    4995      test -z "$ac_c_werror_flag" ||
    4996      test ! -s conftest.err
    4997        } && test -s conftest.$ac_objext; then
     4467  (exit $ac_status); } &&
     4468     { ac_try='test -z "$ac_c_werror_flag"
     4469             || test ! -s conftest.err'
     4470  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4471  (eval $ac_try) 2>&5
     4472  ac_status=$?
     4473  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4474  (exit $ac_status); }; } &&
     4475     { ac_try='test -s conftest.$ac_objext'
     4476  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4477  (eval $ac_try) 2>&5
     4478  ac_status=$?
     4479  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4480  (exit $ac_status); }; }; then
    49984481  ac_cv_struct_tm=time.h
    49994482else
     
    50014484sed 's/^/| /' conftest.$ac_ext >&5
    50024485
    5003     ac_cv_struct_tm=sys/time.h
    5004 fi
    5005 
    5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5007 fi
    5008 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    5009 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
     4486ac_cv_struct_tm=sys/time.h
     4487fi
     4488rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4489fi
     4490echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
     4491echo "${ECHO_T}$ac_cv_struct_tm" >&6
    50104492if test $ac_cv_struct_tm = sys/time.h; then
    50114493
     
    50354517_ACEOF
    50364518rm -f conftest.$ac_objext
    5037 if { (ac_try="$ac_compile"
    5038 case "(($ac_try" in
    5039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5040   *) ac_try_echo=$ac_try;;
    5041 esac
    5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5043   (eval "$ac_compile") 2>conftest.er1
     4519if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4520  (eval $ac_compile) 2>conftest.er1
    50444521  ac_status=$?
    50454522  grep -v '^ *+' conftest.er1 >conftest.err
     
    50474524  cat conftest.err >&5
    50484525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5049   (exit $ac_status); } && {
    5050      test -z "$ac_c_werror_flag" ||
    5051      test ! -s conftest.err
    5052        } && test -s conftest.$ac_objext; then
     4526  (exit $ac_status); } &&
     4527     { ac_try='test -z "$ac_c_werror_flag"
     4528             || test ! -s conftest.err'
     4529  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4530  (eval $ac_try) 2>&5
     4531  ac_status=$?
     4532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4533  (exit $ac_status); }; } &&
     4534     { ac_try='test -s conftest.$ac_objext'
     4535  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4536  (eval $ac_try) 2>&5
     4537  ac_status=$?
     4538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4539  (exit $ac_status); }; }; then
    50534540  :
    50544541else
     
    50564543sed 's/^/| /' conftest.$ac_ext >&5
    50574544
    5058     CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    5059 fi
    5060 
    5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5062 fi
    5063 
    5064 
    5065 
    5066 { echo "$as_me:$LINENO: checking for main in -lg" >&5
    5067 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
     4545CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     4546fi
     4547rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4548fi
     4549
     4550
     4551
     4552echo "$as_me:$LINENO: checking for main in -lg" >&5
     4553echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
    50684554if test "${ac_cv_lib_g_main+set}" = set; then
    50694555  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    50824568main ()
    50834569{
    5084 return main ();
     4570main ();
    50854571  ;
    50864572  return 0;
     
    50884574_ACEOF
    50894575rm -f conftest.$ac_objext conftest$ac_exeext
    5090 if { (ac_try="$ac_link"
    5091 case "(($ac_try" in
    5092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5093   *) ac_try_echo=$ac_try;;
    5094 esac
    5095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5096   (eval "$ac_link") 2>conftest.er1
     4576if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4577  (eval $ac_link) 2>conftest.er1
    50974578  ac_status=$?
    50984579  grep -v '^ *+' conftest.er1 >conftest.err
     
    51004581  cat conftest.err >&5
    51014582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5102   (exit $ac_status); } && {
    5103      test -z "$ac_c_werror_flag" ||
    5104      test ! -s conftest.err
    5105        } && test -s conftest$ac_exeext &&
    5106        $as_test_x conftest$ac_exeext; then
     4583  (exit $ac_status); } &&
     4584     { ac_try='test -z "$ac_c_werror_flag"
     4585             || test ! -s conftest.err'
     4586  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4587  (eval $ac_try) 2>&5
     4588  ac_status=$?
     4589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4590  (exit $ac_status); }; } &&
     4591     { ac_try='test -s conftest$ac_exeext'
     4592  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4593  (eval $ac_try) 2>&5
     4594  ac_status=$?
     4595  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4596  (exit $ac_status); }; }; then
    51074597  ac_cv_lib_g_main=yes
    51084598else
     
    51104600sed 's/^/| /' conftest.$ac_ext >&5
    51114601
    5112     ac_cv_lib_g_main=no
    5113 fi
    5114 
    5115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4602ac_cv_lib_g_main=no
     4603fi
     4604rm -f conftest.err conftest.$ac_objext \
    51164605      conftest$ac_exeext conftest.$ac_ext
    51174606LIBS=$ac_check_lib_save_LIBS
    51184607fi
    5119 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    5120 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
     4608echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
     4609echo "${ECHO_T}$ac_cv_lib_g_main" >&6
    51214610if test $ac_cv_lib_g_main = yes; then
    51224611  cat >>confdefs.h <<_ACEOF
     
    51304619
    51314620
    5132 { echo "$as_me:$LINENO: checking for main in -lm" >&5
    5133 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
     4621echo "$as_me:$LINENO: checking for main in -lm" >&5
     4622echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
    51344623if test "${ac_cv_lib_m_main+set}" = set; then
    51354624  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    51484637main ()
    51494638{
    5150 return main ();
     4639main ();
    51514640  ;
    51524641  return 0;
     
    51544643_ACEOF
    51554644rm -f conftest.$ac_objext conftest$ac_exeext
    5156 if { (ac_try="$ac_link"
    5157 case "(($ac_try" in
    5158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5159   *) ac_try_echo=$ac_try;;
    5160 esac
    5161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5162   (eval "$ac_link") 2>conftest.er1
     4645if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4646  (eval $ac_link) 2>conftest.er1
    51634647  ac_status=$?
    51644648  grep -v '^ *+' conftest.er1 >conftest.err
     
    51664650  cat conftest.err >&5
    51674651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5168   (exit $ac_status); } && {
    5169      test -z "$ac_c_werror_flag" ||
    5170      test ! -s conftest.err
    5171        } && test -s conftest$ac_exeext &&
    5172        $as_test_x conftest$ac_exeext; then
     4652  (exit $ac_status); } &&
     4653     { ac_try='test -z "$ac_c_werror_flag"
     4654             || test ! -s conftest.err'
     4655  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4656  (eval $ac_try) 2>&5
     4657  ac_status=$?
     4658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4659  (exit $ac_status); }; } &&
     4660     { ac_try='test -s conftest$ac_exeext'
     4661  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4662  (eval $ac_try) 2>&5
     4663  ac_status=$?
     4664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4665  (exit $ac_status); }; }; then
    51734666  ac_cv_lib_m_main=yes
    51744667else
     
    51764669sed 's/^/| /' conftest.$ac_ext >&5
    51774670
    5178     ac_cv_lib_m_main=no
    5179 fi
    5180 
    5181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4671ac_cv_lib_m_main=no
     4672fi
     4673rm -f conftest.err conftest.$ac_objext \
    51824674      conftest$ac_exeext conftest.$ac_ext
    51834675LIBS=$ac_check_lib_save_LIBS
    51844676fi
    5185 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5186 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
     4677echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     4678echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    51874679if test $ac_cv_lib_m_main = yes; then
    51884680  cat >>confdefs.h <<_ACEOF
     
    51964688
    51974689
    5198 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    5199 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
     4690echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
     4691echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
    52004692if test "${ac_cv_lib_crypt_main+set}" = set; then
    52014693  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    52144706main ()
    52154707{
    5216 return main ();
     4708main ();
    52174709  ;
    52184710  return 0;
     
    52204712_ACEOF
    52214713rm -f conftest.$ac_objext conftest$ac_exeext
    5222 if { (ac_try="$ac_link"
    5223 case "(($ac_try" in
    5224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5225   *) ac_try_echo=$ac_try;;
    5226 esac
    5227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5228   (eval "$ac_link") 2>conftest.er1
     4714if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4715  (eval $ac_link) 2>conftest.er1
    52294716  ac_status=$?
    52304717  grep -v '^ *+' conftest.er1 >conftest.err
     
    52324719  cat conftest.err >&5
    52334720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5234   (exit $ac_status); } && {
    5235      test -z "$ac_c_werror_flag" ||
    5236      test ! -s conftest.err
    5237        } && test -s conftest$ac_exeext &&
    5238        $as_test_x conftest$ac_exeext; then
     4721  (exit $ac_status); } &&
     4722     { ac_try='test -z "$ac_c_werror_flag"
     4723             || test ! -s conftest.err'
     4724  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4725  (eval $ac_try) 2>&5
     4726  ac_status=$?
     4727  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4728  (exit $ac_status); }; } &&
     4729     { ac_try='test -s conftest$ac_exeext'
     4730  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4731  (eval $ac_try) 2>&5
     4732  ac_status=$?
     4733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4734  (exit $ac_status); }; }; then
    52394735  ac_cv_lib_crypt_main=yes
    52404736else
     
    52424738sed 's/^/| /' conftest.$ac_ext >&5
    52434739
    5244     ac_cv_lib_crypt_main=no
    5245 fi
    5246 
    5247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4740ac_cv_lib_crypt_main=no
     4741fi
     4742rm -f conftest.err conftest.$ac_objext \
    52484743      conftest$ac_exeext conftest.$ac_ext
    52494744LIBS=$ac_check_lib_save_LIBS
    52504745fi
    5251 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    5252 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
     4746echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
     4747echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
    52534748if test $ac_cv_lib_crypt_main = yes; then
    52544749  cat >>confdefs.h <<_ACEOF
     
    52734768for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    52744769  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    5275 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    5276 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
    5277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4770echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
     4771echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
     4772if eval "test \"\${$as_ac_Header+set}\" = set"; then
    52784773  echo $ECHO_N "(cached) $ECHO_C" >&6
    52794774else
     
    52974792_ACEOF
    52984793rm -f conftest.$ac_objext
    5299 if { (ac_try="$ac_compile"
    5300 case "(($ac_try" in
    5301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5302   *) ac_try_echo=$ac_try;;
    5303 esac
    5304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5305   (eval "$ac_compile") 2>conftest.er1
     4794if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4795  (eval $ac_compile) 2>conftest.er1
    53064796  ac_status=$?
    53074797  grep -v '^ *+' conftest.er1 >conftest.err
     
    53094799  cat conftest.err >&5
    53104800  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5311   (exit $ac_status); } && {
    5312      test -z "$ac_c_werror_flag" ||
    5313      test ! -s conftest.err
    5314        } && test -s conftest.$ac_objext; then
     4801  (exit $ac_status); } &&
     4802     { ac_try='test -z "$ac_c_werror_flag"
     4803             || test ! -s conftest.err'
     4804  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4805  (eval $ac_try) 2>&5
     4806  ac_status=$?
     4807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4808  (exit $ac_status); }; } &&
     4809     { ac_try='test -s conftest.$ac_objext'
     4810  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4811  (eval $ac_try) 2>&5
     4812  ac_status=$?
     4813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4814  (exit $ac_status); }; }; then
    53154815  eval "$as_ac_Header=yes"
    53164816else
     
    53184818sed 's/^/| /' conftest.$ac_ext >&5
    53194819
    5320     eval "$as_ac_Header=no"
    5321 fi
    5322 
    5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5324 fi
    5325 ac_res=`eval echo '${'$as_ac_Header'}'`
    5326            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5327 echo "${ECHO_T}$ac_res" >&6; }
     4820eval "$as_ac_Header=no"
     4821fi
     4822rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4823fi
     4824echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4825echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    53284826if test `eval echo '${'$as_ac_Header'}'` = yes; then
    53294827  cat >>confdefs.h <<_ACEOF
     
    53374835# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    53384836if test $ac_header_dirent = dirent.h; then
    5339   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5340 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
     4837  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4838echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    53414839if test "${ac_cv_search_opendir+set}" = set; then
    53424840  echo $ECHO_N "(cached) $ECHO_C" >&6
    53434841else
    53444842  ac_func_search_save_LIBS=$LIBS
     4843ac_cv_search_opendir=no
    53454844cat >conftest.$ac_ext <<_ACEOF
    53464845/* confdefs.h.  */
     
    53504849/* end confdefs.h.  */
    53514850
    5352 /* Override any GCC internal prototype to avoid an error.
    5353    Use char because int might match the return type of a GCC
    5354    builtin and then its argument prototype would still apply.  */
     4851/* Override any gcc2 internal prototype to avoid an error.  */
    53554852#ifdef __cplusplus
    53564853extern "C"
    53574854#endif
     4855/* We use char because int might match the return type of a gcc2
     4856   builtin and then its argument prototype would still apply.  */
    53584857char opendir ();
    53594858int
    53604859main ()
    53614860{
    5362 return opendir ();
     4861opendir ();
    53634862  ;
    53644863  return 0;
    53654864}
    53664865_ACEOF
    5367 for ac_lib in '' dir; do
    5368   if test -z "$ac_lib"; then
    5369     ac_res="none required"
    5370   else
    5371     ac_res=-l$ac_lib
    5372     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5373   fi
    5374   rm -f conftest.$ac_objext conftest$ac_exeext
    5375 if { (ac_try="$ac_link"
    5376 case "(($ac_try" in
    5377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5378   *) ac_try_echo=$ac_try;;
    5379 esac
    5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5381   (eval "$ac_link") 2>conftest.er1
     4866rm -f conftest.$ac_objext conftest$ac_exeext
     4867if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4868  (eval $ac_link) 2>conftest.er1
    53824869  ac_status=$?
    53834870  grep -v '^ *+' conftest.er1 >conftest.err
     
    53854872  cat conftest.err >&5
    53864873  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5387   (exit $ac_status); } && {
    5388      test -z "$ac_c_werror_flag" ||
    5389      test ! -s conftest.err
    5390        } && test -s conftest$ac_exeext &&
    5391        $as_test_x conftest$ac_exeext; then
    5392   ac_cv_search_opendir=$ac_res
     4874  (exit $ac_status); } &&
     4875     { ac_try='test -z "$ac_c_werror_flag"
     4876             || test ! -s conftest.err'
     4877  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4878  (eval $ac_try) 2>&5
     4879  ac_status=$?
     4880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4881  (exit $ac_status); }; } &&
     4882     { ac_try='test -s conftest$ac_exeext'
     4883  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4884  (eval $ac_try) 2>&5
     4885  ac_status=$?
     4886  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4887  (exit $ac_status); }; }; then
     4888  ac_cv_search_opendir="none required"
    53934889else
    53944890  echo "$as_me: failed program was:" >&5
    53954891sed 's/^/| /' conftest.$ac_ext >&5
    53964892
    5397 
    5398 fi
    5399 
    5400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5401       conftest$ac_exeext
    5402   if test "${ac_cv_search_opendir+set}" = set; then
    5403   break
    5404 fi
    5405 done
    5406 if test "${ac_cv_search_opendir+set}" = set; then
    5407   :
    5408 else
    5409   ac_cv_search_opendir=no
    5410 fi
    5411 rm conftest.$ac_ext
    5412 LIBS=$ac_func_search_save_LIBS
    5413 fi
    5414 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5415 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
    5416 ac_res=$ac_cv_search_opendir
    5417 if test "$ac_res" != no; then
    5418   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5419 
    5420 fi
    5421 
    5422 else
    5423   { echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5424 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
    5425 if test "${ac_cv_search_opendir+set}" = set; then
    5426   echo $ECHO_N "(cached) $ECHO_C" >&6
    5427 else
    5428   ac_func_search_save_LIBS=$LIBS
    5429 cat >conftest.$ac_ext <<_ACEOF
     4893fi
     4894rm -f conftest.err conftest.$ac_objext \
     4895      conftest$ac_exeext conftest.$ac_ext
     4896if test "$ac_cv_search_opendir" = no; then
     4897  for ac_lib in dir; do
     4898    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4899    cat >conftest.$ac_ext <<_ACEOF
    54304900/* confdefs.h.  */
    54314901_ACEOF
     
    54344904/* end confdefs.h.  */
    54354905
    5436 /* Override any GCC internal prototype to avoid an error.
    5437    Use char because int might match the return type of a GCC
    5438    builtin and then its argument prototype would still apply.  */
     4906/* Override any gcc2 internal prototype to avoid an error.  */
    54394907#ifdef __cplusplus
    54404908extern "C"
    54414909#endif
     4910/* We use char because int might match the return type of a gcc2
     4911   builtin and then its argument prototype would still apply.  */
    54424912char opendir ();
    54434913int
    54444914main ()
    54454915{
    5446 return opendir ();
     4916opendir ();
    54474917  ;
    54484918  return 0;
    54494919}
    54504920_ACEOF
    5451 for ac_lib in '' x; do
    5452   if test -z "$ac_lib"; then
    5453     ac_res="none required"
    5454   else
    5455     ac_res=-l$ac_lib
    5456     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5457   fi
    5458   rm -f conftest.$ac_objext conftest$ac_exeext
    5459 if { (ac_try="$ac_link"
    5460 case "(($ac_try" in
    5461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5462   *) ac_try_echo=$ac_try;;
    5463 esac
    5464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5465   (eval "$ac_link") 2>conftest.er1
     4921rm -f conftest.$ac_objext conftest$ac_exeext
     4922if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4923  (eval $ac_link) 2>conftest.er1
    54664924  ac_status=$?
    54674925  grep -v '^ *+' conftest.er1 >conftest.err
     
    54694927  cat conftest.err >&5
    54704928  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5471   (exit $ac_status); } && {
    5472      test -z "$ac_c_werror_flag" ||
    5473      test ! -s conftest.err
    5474        } && test -s conftest$ac_exeext &&
    5475        $as_test_x conftest$ac_exeext; then
    5476   ac_cv_search_opendir=$ac_res
     4929  (exit $ac_status); } &&
     4930     { ac_try='test -z "$ac_c_werror_flag"
     4931             || test ! -s conftest.err'
     4932  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4933  (eval $ac_try) 2>&5
     4934  ac_status=$?
     4935  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4936  (exit $ac_status); }; } &&
     4937     { ac_try='test -s conftest$ac_exeext'
     4938  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4939  (eval $ac_try) 2>&5
     4940  ac_status=$?
     4941  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4942  (exit $ac_status); }; }; then
     4943  ac_cv_search_opendir="-l$ac_lib"
     4944break
    54774945else
    54784946  echo "$as_me: failed program was:" >&5
    54794947sed 's/^/| /' conftest.$ac_ext >&5
    54804948
    5481 
    5482 fi
    5483 
    5484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5485       conftest$ac_exeext
    5486   if test "${ac_cv_search_opendir+set}" = set; then
    5487   break
    5488 fi
    5489 done
     4949fi
     4950rm -f conftest.err conftest.$ac_objext \
     4951      conftest$ac_exeext conftest.$ac_ext
     4952  done
     4953fi
     4954LIBS=$ac_func_search_save_LIBS
     4955fi
     4956echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     4957echo "${ECHO_T}$ac_cv_search_opendir" >&6
     4958if test "$ac_cv_search_opendir" != no; then
     4959  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     4960
     4961fi
     4962
     4963else
     4964  echo "$as_me:$LINENO: checking for library containing opendir" >&5
     4965echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    54904966if test "${ac_cv_search_opendir+set}" = set; then
    5491   :
    5492 else
    5493   ac_cv_search_opendir=no
    5494 fi
    5495 rm conftest.$ac_ext
     4967  echo $ECHO_N "(cached) $ECHO_C" >&6
     4968else
     4969  ac_func_search_save_LIBS=$LIBS
     4970ac_cv_search_opendir=no
     4971cat >conftest.$ac_ext <<_ACEOF
     4972/* confdefs.h.  */
     4973_ACEOF
     4974cat confdefs.h >>conftest.$ac_ext
     4975cat >>conftest.$ac_ext <<_ACEOF
     4976/* end confdefs.h.  */
     4977
     4978/* Override any gcc2 internal prototype to avoid an error.  */
     4979#ifdef __cplusplus
     4980extern "C"
     4981#endif
     4982/* We use char because int might match the return type of a gcc2
     4983   builtin and then its argument prototype would still apply.  */
     4984char opendir ();
     4985int
     4986main ()
     4987{
     4988opendir ();
     4989  ;
     4990  return 0;
     4991}
     4992_ACEOF
     4993rm -f conftest.$ac_objext conftest$ac_exeext
     4994if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4995  (eval $ac_link) 2>conftest.er1
     4996  ac_status=$?
     4997  grep -v '^ *+' conftest.er1 >conftest.err
     4998  rm -f conftest.er1
     4999  cat conftest.err >&5
     5000  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5001  (exit $ac_status); } &&
     5002     { ac_try='test -z "$ac_c_werror_flag"
     5003             || test ! -s conftest.err'
     5004  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5005  (eval $ac_try) 2>&5
     5006  ac_status=$?
     5007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5008  (exit $ac_status); }; } &&
     5009     { ac_try='test -s conftest$ac_exeext'
     5010  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5011  (eval $ac_try) 2>&5
     5012  ac_status=$?
     5013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5014  (exit $ac_status); }; }; then
     5015  ac_cv_search_opendir="none required"
     5016else
     5017  echo "$as_me: failed program was:" >&5
     5018sed 's/^/| /' conftest.$ac_ext >&5
     5019
     5020fi
     5021rm -f conftest.err conftest.$ac_objext \
     5022      conftest$ac_exeext conftest.$ac_ext
     5023if test "$ac_cv_search_opendir" = no; then
     5024  for ac_lib in x; do
     5025    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5026    cat >conftest.$ac_ext <<_ACEOF
     5027/* confdefs.h.  */
     5028_ACEOF
     5029cat confdefs.h >>conftest.$ac_ext
     5030cat >>conftest.$ac_ext <<_ACEOF
     5031/* end confdefs.h.  */
     5032
     5033/* Override any gcc2 internal prototype to avoid an error.  */
     5034#ifdef __cplusplus
     5035extern "C"
     5036#endif
     5037/* We use char because int might match the return type of a gcc2
     5038   builtin and then its argument prototype would still apply.  */
     5039char opendir ();
     5040int
     5041main ()
     5042{
     5043opendir ();
     5044  ;
     5045  return 0;
     5046}
     5047_ACEOF
     5048rm -f conftest.$ac_objext conftest$ac_exeext
     5049if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5050  (eval $ac_link) 2>conftest.er1
     5051  ac_status=$?
     5052  grep -v '^ *+' conftest.er1 >conftest.err
     5053  rm -f conftest.er1
     5054  cat conftest.err >&5
     5055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5056  (exit $ac_status); } &&
     5057     { ac_try='test -z "$ac_c_werror_flag"
     5058             || test ! -s conftest.err'
     5059  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5060  (eval $ac_try) 2>&5
     5061  ac_status=$?
     5062  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5063  (exit $ac_status); }; } &&
     5064     { ac_try='test -s conftest$ac_exeext'
     5065  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5066  (eval $ac_try) 2>&5
     5067  ac_status=$?
     5068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5069  (exit $ac_status); }; }; then
     5070  ac_cv_search_opendir="-l$ac_lib"
     5071break
     5072else
     5073  echo "$as_me: failed program was:" >&5
     5074sed 's/^/| /' conftest.$ac_ext >&5
     5075
     5076fi
     5077rm -f conftest.err conftest.$ac_objext \
     5078      conftest$ac_exeext conftest.$ac_ext
     5079  done
     5080fi
    54965081LIBS=$ac_func_search_save_LIBS
    54975082fi
    5498 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5499 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
    5500 ac_res=$ac_cv_search_opendir
    5501 if test "$ac_res" != no; then
    5502   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    5503 
    5504 fi
    5505 
    5506 fi
    5507 
    5508 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5509 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
     5083echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
     5084echo "${ECHO_T}$ac_cv_search_opendir" >&6
     5085if test "$ac_cv_search_opendir" != no; then
     5086  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
     5087
     5088fi
     5089
     5090fi
     5091
     5092echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     5093echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    55105094if test "${ac_cv_header_stdc+set}" = set; then
    55115095  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    55315115_ACEOF
    55325116rm -f conftest.$ac_objext
    5533 if { (ac_try="$ac_compile"
    5534 case "(($ac_try" in
    5535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5536   *) ac_try_echo=$ac_try;;
    5537 esac
    5538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5539   (eval "$ac_compile") 2>conftest.er1
     5117if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5118  (eval $ac_compile) 2>conftest.er1
    55405119  ac_status=$?
    55415120  grep -v '^ *+' conftest.er1 >conftest.err
     
    55435122  cat conftest.err >&5
    55445123  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5545   (exit $ac_status); } && {
    5546      test -z "$ac_c_werror_flag" ||
    5547      test ! -s conftest.err
    5548        } && test -s conftest.$ac_objext; then
     5124  (exit $ac_status); } &&
     5125     { ac_try='test -z "$ac_c_werror_flag"
     5126             || test ! -s conftest.err'
     5127  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5128  (eval $ac_try) 2>&5
     5129  ac_status=$?
     5130  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5131  (exit $ac_status); }; } &&
     5132     { ac_try='test -s conftest.$ac_objext'
     5133  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5134  (eval $ac_try) 2>&5
     5135  ac_status=$?
     5136  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5137  (exit $ac_status); }; }; then
    55495138  ac_cv_header_stdc=yes
    55505139else
     
    55525141sed 's/^/| /' conftest.$ac_ext >&5
    55535142
    5554     ac_cv_header_stdc=no
    5555 fi
    5556 
    5557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5143ac_cv_header_stdc=no
     5144fi
     5145rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    55585146
    55595147if test $ac_cv_header_stdc = yes; then
     
    56115199/* end confdefs.h.  */
    56125200#include <ctype.h>
    5613 #include <stdlib.h>
    56145201#if ((' ' & 0x0FF) == 0x020)
    56155202# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    56315218    if (XOR (islower (i), ISLOWER (i))
    56325219    || toupper (i) != TOUPPER (i))
    5633       return 2;
    5634   return 0;
     5220      exit(2);
     5221  exit (0);
    56355222}
    56365223_ACEOF
    56375224rm -f conftest$ac_exeext
    5638 if { (ac_try="$ac_link"
    5639 case "(($ac_try" in
    5640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5641   *) ac_try_echo=$ac_try;;
    5642 esac
    5643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5644   (eval "$ac_link") 2>&5
     5225if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5226  (eval $ac_link) 2>&5
    56455227  ac_status=$?
    56465228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    56475229  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5648   { (case "(($ac_try" in
    5649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5650   *) ac_try_echo=$ac_try;;
    5651 esac
    5652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5653   (eval "$ac_try") 2>&5
     5230  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5231  (eval $ac_try) 2>&5
    56545232  ac_status=$?
    56555233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    56645242ac_cv_header_stdc=no
    56655243fi
    5666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5667 fi
    5668 
    5669 
    5670 fi
    5671 fi
    5672 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5673 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     5244rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5245fi
     5246fi
     5247fi
     5248echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     5249echo "${ECHO_T}$ac_cv_header_stdc" >&6
    56745250if test $ac_cv_header_stdc = yes; then
    56755251
     
    56925268do
    56935269as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5695   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5270if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5271  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5272echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5273if eval "test \"\${$as_ac_Header+set}\" = set"; then
    56985274  echo $ECHO_N "(cached) $ECHO_C" >&6
    56995275fi
    5700 ac_res=`eval echo '${'$as_ac_Header'}'`
    5701            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5702 echo "${ECHO_T}$ac_res" >&6; }
     5276echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5277echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    57035278else
    57045279  # Is the header compilable?
    5705 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5706 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     5280echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5281echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    57075282cat >conftest.$ac_ext <<_ACEOF
    57085283/* confdefs.h.  */
     
    57155290_ACEOF
    57165291rm -f conftest.$ac_objext
    5717 if { (ac_try="$ac_compile"
    5718 case "(($ac_try" in
    5719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5720   *) ac_try_echo=$ac_try;;
    5721 esac
    5722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5723   (eval "$ac_compile") 2>conftest.er1
     5292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5293  (eval $ac_compile) 2>conftest.er1
    57245294  ac_status=$?
    57255295  grep -v '^ *+' conftest.er1 >conftest.err
     
    57275297  cat conftest.err >&5
    57285298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5729   (exit $ac_status); } && {
    5730      test -z "$ac_c_werror_flag" ||
    5731      test ! -s conftest.err
    5732        } && test -s conftest.$ac_objext; then
     5299  (exit $ac_status); } &&
     5300     { ac_try='test -z "$ac_c_werror_flag"
     5301             || test ! -s conftest.err'
     5302  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5303  (eval $ac_try) 2>&5
     5304  ac_status=$?
     5305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5306  (exit $ac_status); }; } &&
     5307     { ac_try='test -s conftest.$ac_objext'
     5308  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5309  (eval $ac_try) 2>&5
     5310  ac_status=$?
     5311  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5312  (exit $ac_status); }; }; then
    57335313  ac_header_compiler=yes
    57345314else
     
    57365316sed 's/^/| /' conftest.$ac_ext >&5
    57375317
    5738     ac_header_compiler=no
    5739 fi
    5740 
    5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5742 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5743 echo "${ECHO_T}$ac_header_compiler" >&6; }
     5318ac_header_compiler=no
     5319fi
     5320rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5321echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5322echo "${ECHO_T}$ac_header_compiler" >&6
    57445323
    57455324# Is the header present?
    5746 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     5325echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5326echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    57485327cat >conftest.$ac_ext <<_ACEOF
    57495328/* confdefs.h.  */
     
    57545333#include <$ac_header>
    57555334_ACEOF
    5756 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5757 case "(($ac_try" in
    5758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5759   *) ac_try_echo=$ac_try;;
    5760 esac
    5761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5762   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5335if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5336  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    57635337  ac_status=$?
    57645338  grep -v '^ *+' conftest.er1 >conftest.err
     
    57665340  cat conftest.err >&5
    57675341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5768   (exit $ac_status); } >/dev/null && {
    5769      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5770      test ! -s conftest.err
    5771        }; then
     5342  (exit $ac_status); } >/dev/null; then
     5343  if test -s conftest.err; then
     5344    ac_cpp_err=$ac_c_preproc_warn_flag
     5345    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     5346  else
     5347    ac_cpp_err=
     5348  fi
     5349else
     5350  ac_cpp_err=yes
     5351fi
     5352if test -z "$ac_cpp_err"; then
    57725353  ac_header_preproc=yes
    57735354else
     
    57775358  ac_header_preproc=no
    57785359fi
    5779 
    57805360rm -f conftest.err conftest.$ac_ext
    5781 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5782 echo "${ECHO_T}$ac_header_preproc" >&6; }
     5361echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5362echo "${ECHO_T}$ac_header_preproc" >&6
    57835363
    57845364# So?  What about this header?
     
    58045384    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    58055385echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5806 
     5386    (
     5387      cat <<\_ASBOX
     5388## ------------------------------------------ ##
     5389## Report this to the AC_PACKAGE_NAME lists.  ##
     5390## ------------------------------------------ ##
     5391_ASBOX
     5392    ) |
     5393      sed "s/^/$as_me: WARNING:     /" >&2
    58075394    ;;
    58085395esac
    5809 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5396echo "$as_me:$LINENO: checking for $ac_header" >&5
     5397echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5398if eval "test \"\${$as_ac_Header+set}\" = set"; then
    58125399  echo $ECHO_N "(cached) $ECHO_C" >&6
    58135400else
    58145401  eval "$as_ac_Header=\$ac_header_preproc"
    58155402fi
    5816 ac_res=`eval echo '${'$as_ac_Header'}'`
    5817            { echo "$as_me:$LINENO: result: $ac_res" >&5
    5818 echo "${ECHO_T}$ac_res" >&6; }
     5403echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5404echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    58195405
    58205406fi
     
    58855471# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    58865472# for constant arguments.  Useless!
    5887 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5888 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
     5473echo "$as_me:$LINENO: checking for working alloca.h" >&5
     5474echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
    58895475if test "${ac_cv_working_alloca_h+set}" = set; then
    58905476  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    59015487{
    59025488char *p = (char *) alloca (2 * sizeof (int));
    5903               if (p) return 0;
    59045489  ;
    59055490  return 0;
     
    59075492_ACEOF
    59085493rm -f conftest.$ac_objext conftest$ac_exeext
    5909 if { (ac_try="$ac_link"
    5910 case "(($ac_try" in
    5911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5912   *) ac_try_echo=$ac_try;;
    5913 esac
    5914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5915   (eval "$ac_link") 2>conftest.er1
     5494if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5495  (eval $ac_link) 2>conftest.er1
    59165496  ac_status=$?
    59175497  grep -v '^ *+' conftest.er1 >conftest.err
     
    59195499  cat conftest.err >&5
    59205500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5921   (exit $ac_status); } && {
    5922      test -z "$ac_c_werror_flag" ||
    5923      test ! -s conftest.err
    5924        } && test -s conftest$ac_exeext &&
    5925        $as_test_x conftest$ac_exeext; then
     5501  (exit $ac_status); } &&
     5502     { ac_try='test -z "$ac_c_werror_flag"
     5503             || test ! -s conftest.err'
     5504  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5505  (eval $ac_try) 2>&5
     5506  ac_status=$?
     5507  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5508  (exit $ac_status); }; } &&
     5509     { ac_try='test -s conftest$ac_exeext'
     5510  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5511  (eval $ac_try) 2>&5
     5512  ac_status=$?
     5513  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5514  (exit $ac_status); }; }; then
    59265515  ac_cv_working_alloca_h=yes
    59275516else
     
    59295518sed 's/^/| /' conftest.$ac_ext >&5
    59305519
    5931     ac_cv_working_alloca_h=no
    5932 fi
    5933 
    5934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5520ac_cv_working_alloca_h=no
     5521fi
     5522rm -f conftest.err conftest.$ac_objext \
    59355523      conftest$ac_exeext conftest.$ac_ext
    59365524fi
    5937 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5938 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
     5525echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
     5526echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
    59395527if test $ac_cv_working_alloca_h = yes; then
    59405528
     
    59455533fi
    59465534
    5947 { echo "$as_me:$LINENO: checking for alloca" >&5
    5948 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
     5535echo "$as_me:$LINENO: checking for alloca" >&5
     5536echo $ECHO_N "checking for alloca... $ECHO_C" >&6
    59495537if test "${ac_cv_func_alloca_works+set}" = set; then
    59505538  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    59635551#  define alloca _alloca
    59645552# else
    5965 #  ifdef HAVE_ALLOCA_H
     5553#  if HAVE_ALLOCA_H
    59665554#   include <alloca.h>
    59675555#  else
     
    59815569{
    59825570char *p = (char *) alloca (1);
    5983                     if (p) return 0;
    59845571  ;
    59855572  return 0;
     
    59875574_ACEOF
    59885575rm -f conftest.$ac_objext conftest$ac_exeext
    5989 if { (ac_try="$ac_link"
    5990 case "(($ac_try" in
    5991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5992   *) ac_try_echo=$ac_try;;
    5993 esac
    5994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5995   (eval "$ac_link") 2>conftest.er1
     5576if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5577  (eval $ac_link) 2>conftest.er1
    59965578  ac_status=$?
    59975579  grep -v '^ *+' conftest.er1 >conftest.err
     
    59995581  cat conftest.err >&5
    60005582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6001   (exit $ac_status); } && {
    6002      test -z "$ac_c_werror_flag" ||
    6003      test ! -s conftest.err
    6004        } && test -s conftest$ac_exeext &&
    6005        $as_test_x conftest$ac_exeext; then
     5583  (exit $ac_status); } &&
     5584     { ac_try='test -z "$ac_c_werror_flag"
     5585             || test ! -s conftest.err'
     5586  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5587  (eval $ac_try) 2>&5
     5588  ac_status=$?
     5589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5590  (exit $ac_status); }; } &&
     5591     { ac_try='test -s conftest$ac_exeext'
     5592  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5593  (eval $ac_try) 2>&5
     5594  ac_status=$?
     5595  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5596  (exit $ac_status); }; }; then
    60065597  ac_cv_func_alloca_works=yes
    60075598else
     
    60095600sed 's/^/| /' conftest.$ac_ext >&5
    60105601
    6011     ac_cv_func_alloca_works=no
    6012 fi
    6013 
    6014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5602ac_cv_func_alloca_works=no
     5603fi
     5604rm -f conftest.err conftest.$ac_objext \
    60155605      conftest$ac_exeext conftest.$ac_ext
    60165606fi
    6017 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    6018 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
     5607echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
     5608echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
    60195609
    60205610if test $ac_cv_func_alloca_works = yes; then
     
    60305620# use ar to extract alloca.o from them instead of compiling alloca.c.
    60315621
    6032 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
     5622ALLOCA=alloca.$ac_objext
    60335623
    60345624cat >>confdefs.h <<\_ACEOF
     
    60375627
    60385628
    6039 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    6040 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
     5629echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
     5630echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
    60415631if test "${ac_cv_os_cray+set}" = set; then
    60425632  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    60485638cat >>conftest.$ac_ext <<_ACEOF
    60495639/* end confdefs.h.  */
    6050 #if defined CRAY && ! defined CRAY2
     5640#if defined(CRAY) && ! defined(CRAY2)
    60515641webecray
    60525642#else
     
    60645654
    60655655fi
    6066 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    6067 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
     5656echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
     5657echo "${ECHO_T}$ac_cv_os_cray" >&6
    60685658if test $ac_cv_os_cray = yes; then
    60695659  for ac_func in _getb67 GETB67 getb67; do
    60705660    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6071 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6073 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     5661echo "$as_me:$LINENO: checking for $ac_func" >&5
     5662echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     5663if eval "test \"\${$as_ac_var+set}\" = set"; then
    60745664  echo $ECHO_N "(cached) $ECHO_C" >&6
    60755665else
     
    60975687#undef $ac_func
    60985688
    6099 /* Override any GCC internal prototype to avoid an error.
    6100    Use char because int might match the return type of a GCC
    6101    builtin and then its argument prototype would still apply.  */
     5689/* Override any gcc2 internal prototype to avoid an error.  */
    61025690#ifdef __cplusplus
    61035691extern "C"
     5692{
    61045693#endif
     5694/* We use char because int might match the return type of a gcc2
     5695   builtin and then its argument prototype would still apply.  */
    61055696char $ac_func ();
    61065697/* The GNU C library defines this for functions which it implements
    61075698    to always fail with ENOSYS.  Some functions are actually named
    61085699    something starting with __ and the normal name is an alias.  */
    6109 #if defined __stub_$ac_func || defined __stub___$ac_func
     5700#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    61105701choke me
     5702#else
     5703char (*f) () = $ac_func;
     5704#endif
     5705#ifdef __cplusplus
     5706}
    61115707#endif
    61125708
     
    61145710main ()
    61155711{
    6116 return $ac_func ();
     5712return f != $ac_func;
    61175713  ;
    61185714  return 0;
     
    61205716_ACEOF
    61215717rm -f conftest.$ac_objext conftest$ac_exeext
    6122 if { (ac_try="$ac_link"
    6123 case "(($ac_try" in
    6124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6125   *) ac_try_echo=$ac_try;;
    6126 esac
    6127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6128   (eval "$ac_link") 2>conftest.er1
     5718if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5719  (eval $ac_link) 2>conftest.er1
    61295720  ac_status=$?
    61305721  grep -v '^ *+' conftest.er1 >conftest.err
     
    61325723  cat conftest.err >&5
    61335724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6134   (exit $ac_status); } && {
    6135      test -z "$ac_c_werror_flag" ||
    6136      test ! -s conftest.err
    6137        } && test -s conftest$ac_exeext &&
    6138        $as_test_x conftest$ac_exeext; then
     5725  (exit $ac_status); } &&
     5726     { ac_try='test -z "$ac_c_werror_flag"
     5727             || test ! -s conftest.err'
     5728  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5729  (eval $ac_try) 2>&5
     5730  ac_status=$?
     5731  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5732  (exit $ac_status); }; } &&
     5733     { ac_try='test -s conftest$ac_exeext'
     5734  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5735  (eval $ac_try) 2>&5
     5736  ac_status=$?
     5737  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5738  (exit $ac_status); }; }; then
    61395739  eval "$as_ac_var=yes"
    61405740else
     
    61425742sed 's/^/| /' conftest.$ac_ext >&5
    61435743
    6144     eval "$as_ac_var=no"
    6145 fi
    6146 
    6147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5744eval "$as_ac_var=no"
     5745fi
     5746rm -f conftest.err conftest.$ac_objext \
    61485747      conftest$ac_exeext conftest.$ac_ext
    61495748fi
    6150 ac_res=`eval echo '${'$as_ac_var'}'`
    6151            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6152 echo "${ECHO_T}$ac_res" >&6; }
     5749echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     5750echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    61535751if test `eval echo '${'$as_ac_var'}'` = yes; then
    61545752
     
    61635761fi
    61645762
    6165 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    6166 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
     5763echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
     5764echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
    61675765if test "${ac_cv_c_stack_direction+set}" = set; then
    61685766  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    61775775cat >>conftest.$ac_ext <<_ACEOF
    61785776/* end confdefs.h.  */
    6179 $ac_includes_default
    61805777int
    61815778find_stack_direction ()
     
    61955792main ()
    61965793{
    6197   return find_stack_direction () < 0;
     5794  exit (find_stack_direction () < 0);
    61985795}
    61995796_ACEOF
    62005797rm -f conftest$ac_exeext
    6201 if { (ac_try="$ac_link"
    6202 case "(($ac_try" in
    6203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6204   *) ac_try_echo=$ac_try;;
    6205 esac
    6206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6207   (eval "$ac_link") 2>&5
     5798if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5799  (eval $ac_link) 2>&5
    62085800  ac_status=$?
    62095801  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    62105802  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6211   { (case "(($ac_try" in
    6212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6213   *) ac_try_echo=$ac_try;;
    6214 esac
    6215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6216   (eval "$ac_try") 2>&5
     5803  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5804  (eval $ac_try) 2>&5
    62175805  ac_status=$?
    62185806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    62275815ac_cv_c_stack_direction=-1
    62285816fi
    6229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6230 fi
    6231 
    6232 
    6233 fi
    6234 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    6235 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
     5817rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5818fi
     5819fi
     5820echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
     5821echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
    62365822
    62375823cat >>confdefs.h <<_ACEOF
     
    62435829
    62445830if test $ac_cv_c_compiler_gnu = yes; then
    6245     { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    6246 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
     5831    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
     5832echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
    62475833if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    62485834  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    62855871  fi
    62865872fi
    6287 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    6288 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
     5873echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
     5874echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
    62895875  if test $ac_cv_prog_gcc_traditional = yes; then
    62905876    CC="$CC -traditional"
     
    62925878fi
    62935879
    6294 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    6295 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
     5880echo "$as_me:$LINENO: checking return type of signal handlers" >&5
     5881echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
    62965882if test "${ac_cv_type_signal+set}" = set; then
    62975883  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    63055891#include <sys/types.h>
    63065892#include <signal.h>
     5893#ifdef signal
     5894# undef signal
     5895#endif
     5896#ifdef __cplusplus
     5897extern "C" void (*signal (int, void (*)(int)))(int);
     5898#else
     5899void (*signal ()) ();
     5900#endif
    63075901
    63085902int
    63095903main ()
    63105904{
    6311 return *(signal (0, 0)) (0) == 1;
     5905int i;
    63125906  ;
    63135907  return 0;
     
    63155909_ACEOF
    63165910rm -f conftest.$ac_objext
    6317 if { (ac_try="$ac_compile"
    6318 case "(($ac_try" in
    6319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6320   *) ac_try_echo=$ac_try;;
    6321 esac
    6322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6323   (eval "$ac_compile") 2>conftest.er1
     5911if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5912  (eval $ac_compile) 2>conftest.er1
    63245913  ac_status=$?
    63255914  grep -v '^ *+' conftest.er1 >conftest.err
     
    63275916  cat conftest.err >&5
    63285917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6329   (exit $ac_status); } && {
    6330      test -z "$ac_c_werror_flag" ||
    6331      test ! -s conftest.err
    6332        } && test -s conftest.$ac_objext; then
    6333   ac_cv_type_signal=int
     5918  (exit $ac_status); } &&
     5919     { ac_try='test -z "$ac_c_werror_flag"
     5920             || test ! -s conftest.err'
     5921  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5922  (eval $ac_try) 2>&5
     5923  ac_status=$?
     5924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5925  (exit $ac_status); }; } &&
     5926     { ac_try='test -s conftest.$ac_objext'
     5927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5928  (eval $ac_try) 2>&5
     5929  ac_status=$?
     5930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5931  (exit $ac_status); }; }; then
     5932  ac_cv_type_signal=void
    63345933else
    63355934  echo "$as_me: failed program was:" >&5
    63365935sed 's/^/| /' conftest.$ac_ext >&5
    63375936
    6338     ac_cv_type_signal=void
    6339 fi
    6340 
    6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6342 fi
    6343 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    6344 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
     5937ac_cv_type_signal=int
     5938fi
     5939rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5940fi
     5941echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
     5942echo "${ECHO_T}$ac_cv_type_signal" >&6
    63455943
    63465944cat >>confdefs.h <<_ACEOF
     
    63535951do
    63545952as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6355 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6357 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     5953echo "$as_me:$LINENO: checking for $ac_func" >&5
     5954echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     5955if eval "test \"\${$as_ac_var+set}\" = set"; then
    63585956  echo $ECHO_N "(cached) $ECHO_C" >&6
    63595957else
     
    63815979#undef $ac_func
    63825980
    6383 /* Override any GCC internal prototype to avoid an error.
    6384    Use char because int might match the return type of a GCC
    6385    builtin and then its argument prototype would still apply.  */
     5981/* Override any gcc2 internal prototype to avoid an error.  */
    63865982#ifdef __cplusplus
    63875983extern "C"
     5984{
    63885985#endif
     5986/* We use char because int might match the return type of a gcc2
     5987   builtin and then its argument prototype would still apply.  */
    63895988char $ac_func ();
    63905989/* The GNU C library defines this for functions which it implements
    63915990    to always fail with ENOSYS.  Some functions are actually named
    63925991    something starting with __ and the normal name is an alias.  */
    6393 #if defined __stub_$ac_func || defined __stub___$ac_func
     5992#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    63945993choke me
     5994#else
     5995char (*f) () = $ac_func;
     5996#endif
     5997#ifdef __cplusplus
     5998}
    63955999#endif
    63966000
     
    63986002main ()
    63996003{
    6400 return $ac_func ();
     6004return f != $ac_func;
    64016005  ;
    64026006  return 0;
     
    64046008_ACEOF
    64056009rm -f conftest.$ac_objext conftest$ac_exeext
    6406 if { (ac_try="$ac_link"
    6407 case "(($ac_try" in
    6408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6409   *) ac_try_echo=$ac_try;;
    6410 esac
    6411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6412   (eval "$ac_link") 2>conftest.er1
     6010if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6011  (eval $ac_link) 2>conftest.er1
    64136012  ac_status=$?
    64146013  grep -v '^ *+' conftest.er1 >conftest.err
     
    64166015  cat conftest.err >&5
    64176016  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6418   (exit $ac_status); } && {
    6419      test -z "$ac_c_werror_flag" ||
    6420      test ! -s conftest.err
    6421        } && test -s conftest$ac_exeext &&
    6422        $as_test_x conftest$ac_exeext; then
     6017  (exit $ac_status); } &&
     6018     { ac_try='test -z "$ac_c_werror_flag"
     6019             || test ! -s conftest.err'
     6020  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6021  (eval $ac_try) 2>&5
     6022  ac_status=$?
     6023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6024  (exit $ac_status); }; } &&
     6025     { ac_try='test -s conftest$ac_exeext'
     6026  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6027  (eval $ac_try) 2>&5
     6028  ac_status=$?
     6029  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6030  (exit $ac_status); }; }; then
    64236031  eval "$as_ac_var=yes"
    64246032else
     
    64266034sed 's/^/| /' conftest.$ac_ext >&5
    64276035
    6428     eval "$as_ac_var=no"
    6429 fi
    6430 
    6431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6036eval "$as_ac_var=no"
     6037fi
     6038rm -f conftest.err conftest.$ac_objext \
    64326039      conftest$ac_exeext conftest.$ac_ext
    64336040fi
    6434 ac_res=`eval echo '${'$as_ac_var'}'`
    6435            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6436 echo "${ECHO_T}$ac_res" >&6; }
     6041echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6042echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    64376043if test `eval echo '${'$as_ac_var'}'` = yes; then
    64386044  cat >>confdefs.h <<_ACEOF
     
    64406046_ACEOF
    64416047
    6442 { echo "$as_me:$LINENO: checking for _doprnt" >&5
    6443 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
     6048echo "$as_me:$LINENO: checking for _doprnt" >&5
     6049echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
    64446050if test "${ac_cv_func__doprnt+set}" = set; then
    64456051  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    64686074#undef _doprnt
    64696075
    6470 /* Override any GCC internal prototype to avoid an error.
    6471    Use char because int might match the return type of a GCC
    6472    builtin and then its argument prototype would still apply.  */
     6076/* Override any gcc2 internal prototype to avoid an error.  */
    64736077#ifdef __cplusplus
    64746078extern "C"
     6079{
    64756080#endif
     6081/* We use char because int might match the return type of a gcc2
     6082   builtin and then its argument prototype would still apply.  */
    64766083char _doprnt ();
    64776084/* The GNU C library defines this for functions which it implements
    64786085    to always fail with ENOSYS.  Some functions are actually named
    64796086    something starting with __ and the normal name is an alias.  */
    6480 #if defined __stub__doprnt || defined __stub____doprnt
     6087#if defined (__stub__doprnt) || defined (__stub____doprnt)
    64816088choke me
     6089#else
     6090char (*f) () = _doprnt;
     6091#endif
     6092#ifdef __cplusplus
     6093}
    64826094#endif
    64836095
     
    64856097main ()
    64866098{
    6487 return _doprnt ();
     6099return f != _doprnt;
    64886100  ;
    64896101  return 0;
     
    64916103_ACEOF
    64926104rm -f conftest.$ac_objext conftest$ac_exeext
    6493 if { (ac_try="$ac_link"
    6494 case "(($ac_try" in
    6495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6496   *) ac_try_echo=$ac_try;;
    6497 esac
    6498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6499   (eval "$ac_link") 2>conftest.er1
     6105if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6106  (eval $ac_link) 2>conftest.er1
    65006107  ac_status=$?
    65016108  grep -v '^ *+' conftest.er1 >conftest.err
     
    65036110  cat conftest.err >&5
    65046111  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6505   (exit $ac_status); } && {
    6506      test -z "$ac_c_werror_flag" ||
    6507      test ! -s conftest.err
    6508        } && test -s conftest$ac_exeext &&
    6509        $as_test_x conftest$ac_exeext; then
     6112  (exit $ac_status); } &&
     6113     { ac_try='test -z "$ac_c_werror_flag"
     6114             || test ! -s conftest.err'
     6115  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6116  (eval $ac_try) 2>&5
     6117  ac_status=$?
     6118  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6119  (exit $ac_status); }; } &&
     6120     { ac_try='test -s conftest$ac_exeext'
     6121  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6122  (eval $ac_try) 2>&5
     6123  ac_status=$?
     6124  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6125  (exit $ac_status); }; }; then
    65106126  ac_cv_func__doprnt=yes
    65116127else
     
    65136129sed 's/^/| /' conftest.$ac_ext >&5
    65146130
    6515     ac_cv_func__doprnt=no
    6516 fi
    6517 
    6518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6131ac_cv_func__doprnt=no
     6132fi
     6133rm -f conftest.err conftest.$ac_objext \
    65196134      conftest$ac_exeext conftest.$ac_ext
    65206135fi
    6521 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6522 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
     6136echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
     6137echo "${ECHO_T}$ac_cv_func__doprnt" >&6
    65236138if test $ac_cv_func__doprnt = yes; then
    65246139
     
    65466161do
    65476162as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6548 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6550 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     6163echo "$as_me:$LINENO: checking for $ac_func" >&5
     6164echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6165if eval "test \"\${$as_ac_var+set}\" = set"; then
    65516166  echo $ECHO_N "(cached) $ECHO_C" >&6
    65526167else
     
    65746189#undef $ac_func
    65756190
    6576 /* Override any GCC internal prototype to avoid an error.
    6577    Use char because int might match the return type of a GCC
    6578    builtin and then its argument prototype would still apply.  */
     6191/* Override any gcc2 internal prototype to avoid an error.  */
    65796192#ifdef __cplusplus
    65806193extern "C"
     6194{
    65816195#endif
     6196/* We use char because int might match the return type of a gcc2
     6197   builtin and then its argument prototype would still apply.  */
    65826198char $ac_func ();
    65836199/* The GNU C library defines this for functions which it implements
    65846200    to always fail with ENOSYS.  Some functions are actually named
    65856201    something starting with __ and the normal name is an alias.  */
    6586 #if defined __stub_$ac_func || defined __stub___$ac_func
     6202#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    65876203choke me
     6204#else
     6205char (*f) () = $ac_func;
     6206#endif
     6207#ifdef __cplusplus
     6208}
    65886209#endif
    65896210
     
    65916212main ()
    65926213{
    6593 return $ac_func ();
     6214return f != $ac_func;
    65946215  ;
    65956216  return 0;
     
    65976218_ACEOF
    65986219rm -f conftest.$ac_objext conftest$ac_exeext
    6599 if { (ac_try="$ac_link"
    6600 case "(($ac_try" in
    6601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6602   *) ac_try_echo=$ac_try;;
    6603 esac
    6604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6605   (eval "$ac_link") 2>conftest.er1
     6220if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6221  (eval $ac_link) 2>conftest.er1
    66066222  ac_status=$?
    66076223  grep -v '^ *+' conftest.er1 >conftest.err
     
    66096225  cat conftest.err >&5
    66106226  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6611   (exit $ac_status); } && {
    6612      test -z "$ac_c_werror_flag" ||
    6613      test ! -s conftest.err
    6614        } && test -s conftest$ac_exeext &&
    6615        $as_test_x conftest$ac_exeext; then
     6227  (exit $ac_status); } &&
     6228     { ac_try='test -z "$ac_c_werror_flag"
     6229             || test ! -s conftest.err'
     6230  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6231  (eval $ac_try) 2>&5
     6232  ac_status=$?
     6233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6234  (exit $ac_status); }; } &&
     6235     { ac_try='test -s conftest$ac_exeext'
     6236  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6237  (eval $ac_try) 2>&5
     6238  ac_status=$?
     6239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6240  (exit $ac_status); }; }; then
    66166241  eval "$as_ac_var=yes"
    66176242else
     
    66196244sed 's/^/| /' conftest.$ac_ext >&5
    66206245
    6621     eval "$as_ac_var=no"
    6622 fi
    6623 
    6624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6246eval "$as_ac_var=no"
     6247fi
     6248rm -f conftest.err conftest.$ac_objext \
    66256249      conftest$ac_exeext conftest.$ac_ext
    66266250fi
    6627 ac_res=`eval echo '${'$as_ac_var'}'`
    6628            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6629 echo "${ECHO_T}$ac_res" >&6; }
     6251echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6252echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    66306253if test `eval echo '${'$as_ac_var'}'` = yes; then
    66316254  cat >>confdefs.h <<_ACEOF
     
    66426265do
    66436266as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     6267echo "$as_me:$LINENO: checking for $ac_func" >&5
     6268echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6269if eval "test \"\${$as_ac_var+set}\" = set"; then
    66476270  echo $ECHO_N "(cached) $ECHO_C" >&6
    66486271else
     
    66706293#undef $ac_func
    66716294
    6672 /* Override any GCC internal prototype to avoid an error.
    6673    Use char because int might match the return type of a GCC
    6674    builtin and then its argument prototype would still apply.  */
     6295/* Override any gcc2 internal prototype to avoid an error.  */
    66756296#ifdef __cplusplus
    66766297extern "C"
     6298{
    66776299#endif
     6300/* We use char because int might match the return type of a gcc2
     6301   builtin and then its argument prototype would still apply.  */
    66786302char $ac_func ();
    66796303/* The GNU C library defines this for functions which it implements
    66806304    to always fail with ENOSYS.  Some functions are actually named
    66816305    something starting with __ and the normal name is an alias.  */
    6682 #if defined __stub_$ac_func || defined __stub___$ac_func
     6306#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    66836307choke me
     6308#else
     6309char (*f) () = $ac_func;
     6310#endif
     6311#ifdef __cplusplus
     6312}
    66846313#endif
    66856314
     
    66876316main ()
    66886317{
    6689 return $ac_func ();
     6318return f != $ac_func;
    66906319  ;
    66916320  return 0;
     
    66936322_ACEOF
    66946323rm -f conftest.$ac_objext conftest$ac_exeext
    6695 if { (ac_try="$ac_link"
    6696 case "(($ac_try" in
    6697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6698   *) ac_try_echo=$ac_try;;
    6699 esac
    6700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6701   (eval "$ac_link") 2>conftest.er1
     6324if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6325  (eval $ac_link) 2>conftest.er1
    67026326  ac_status=$?
    67036327  grep -v '^ *+' conftest.er1 >conftest.err
     
    67056329  cat conftest.err >&5
    67066330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6707   (exit $ac_status); } && {
    6708      test -z "$ac_c_werror_flag" ||
    6709      test ! -s conftest.err
    6710        } && test -s conftest$ac_exeext &&
    6711        $as_test_x conftest$ac_exeext; then
     6331  (exit $ac_status); } &&
     6332     { ac_try='test -z "$ac_c_werror_flag"
     6333             || test ! -s conftest.err'
     6334  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6335  (eval $ac_try) 2>&5
     6336  ac_status=$?
     6337  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6338  (exit $ac_status); }; } &&
     6339     { ac_try='test -s conftest$ac_exeext'
     6340  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6341  (eval $ac_try) 2>&5
     6342  ac_status=$?
     6343  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6344  (exit $ac_status); }; }; then
    67126345  eval "$as_ac_var=yes"
    67136346else
     
    67156348sed 's/^/| /' conftest.$ac_ext >&5
    67166349
    6717     eval "$as_ac_var=no"
    6718 fi
    6719 
    6720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6350eval "$as_ac_var=no"
     6351fi
     6352rm -f conftest.err conftest.$ac_objext \
    67216353      conftest$ac_exeext conftest.$ac_ext
    67226354fi
    6723 ac_res=`eval echo '${'$as_ac_var'}'`
    6724            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6725 echo "${ECHO_T}$ac_res" >&6; }
     6355echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6356echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    67266357if test `eval echo '${'$as_ac_var'}'` = yes; then
    67276358  cat >>confdefs.h <<_ACEOF
     
    67306361
    67316362else
    6732   case " $LIBOBJS " in
     6363  case $LIBOBJS in
     6364    "$ac_func.$ac_objext"   | \
     6365  *" $ac_func.$ac_objext"   | \
     6366    "$ac_func.$ac_objext "* | \
    67336367  *" $ac_func.$ac_objext "* ) ;;
    6734   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
    6735  ;;
     6368  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
    67366369esac
    67376370
     
    67416374
    67426375
    6743 { echo "$as_me:$LINENO: checking for textdomain" >&5
    6744 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; }
     6376echo "$as_me:$LINENO: checking for textdomain" >&5
     6377echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
    67456378if test "${ac_cv_func_textdomain+set}" = set; then
    67466379  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    67696402#undef textdomain
    67706403
    6771 /* Override any GCC internal prototype to avoid an error.
    6772    Use char because int might match the return type of a GCC
    6773    builtin and then its argument prototype would still apply.  */
     6404/* Override any gcc2 internal prototype to avoid an error.  */
    67746405#ifdef __cplusplus
    67756406extern "C"
     6407{
    67766408#endif
     6409/* We use char because int might match the return type of a gcc2
     6410   builtin and then its argument prototype would still apply.  */
    67776411char textdomain ();
    67786412/* The GNU C library defines this for functions which it implements
    67796413    to always fail with ENOSYS.  Some functions are actually named
    67806414    something starting with __ and the normal name is an alias.  */
    6781 #if defined __stub_textdomain || defined __stub___textdomain
     6415#if defined (__stub_textdomain) || defined (__stub___textdomain)
    67826416choke me
     6417#else
     6418char (*f) () = textdomain;
     6419#endif
     6420#ifdef __cplusplus
     6421}
    67836422#endif
    67846423
     
    67866425main ()
    67876426{
    6788 return textdomain ();
     6427return f != textdomain;
    67896428  ;
    67906429  return 0;
     
    67926431_ACEOF
    67936432rm -f conftest.$ac_objext conftest$ac_exeext
    6794 if { (ac_try="$ac_link"
    6795 case "(($ac_try" in
    6796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6797   *) ac_try_echo=$ac_try;;
    6798 esac
    6799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6800   (eval "$ac_link") 2>conftest.er1
     6433if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6434  (eval $ac_link) 2>conftest.er1
    68016435  ac_status=$?
    68026436  grep -v '^ *+' conftest.er1 >conftest.err
     
    68046438  cat conftest.err >&5
    68056439  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6806   (exit $ac_status); } && {
    6807      test -z "$ac_c_werror_flag" ||
    6808      test ! -s conftest.err
    6809        } && test -s conftest$ac_exeext &&
    6810        $as_test_x conftest$ac_exeext; then
     6440  (exit $ac_status); } &&
     6441     { ac_try='test -z "$ac_c_werror_flag"
     6442             || test ! -s conftest.err'
     6443  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6444  (eval $ac_try) 2>&5
     6445  ac_status=$?
     6446  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6447  (exit $ac_status); }; } &&
     6448     { ac_try='test -s conftest$ac_exeext'
     6449  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6450  (eval $ac_try) 2>&5
     6451  ac_status=$?
     6452  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6453  (exit $ac_status); }; }; then
    68116454  ac_cv_func_textdomain=yes
    68126455else
     
    68146457sed 's/^/| /' conftest.$ac_ext >&5
    68156458
    6816     ac_cv_func_textdomain=no
    6817 fi
    6818 
    6819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6459ac_cv_func_textdomain=no
     6460fi
     6461rm -f conftest.err conftest.$ac_objext \
    68206462      conftest$ac_exeext conftest.$ac_ext
    68216463fi
    6822 { echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    6823 echo "${ECHO_T}$ac_cv_func_textdomain" >&6; }
     6464echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
     6465echo "${ECHO_T}$ac_cv_func_textdomain" >&6
    68246466if test $ac_cv_func_textdomain = yes; then
    68256467  cat >>confdefs.h <<\_ACEOF
     
    68326474# *** Custom checking (based on GNU tar configure.in) ***
    68336475# ---------------------------------------------------------------------------
    6834 { echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    6835 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; }
     6476echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
     6477echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
    68366478if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    6837   { echo "$as_me:$LINENO: result: yes" >&5
    6838 echo "${ECHO_T}yes" >&6; }
    6839   case " $LIBOBJS " in
     6479  echo "$as_me:$LINENO: result: yes" >&5
     6480echo "${ECHO_T}yes" >&6
     6481  case $LIBOBJS in
     6482    "gmalloc.$ac_objext"   | \
     6483  *" gmalloc.$ac_objext"   | \
     6484    "gmalloc.$ac_objext "* | \
    68406485  *" gmalloc.$ac_objext "* ) ;;
    6841   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
    6842  ;;
     6486  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
    68436487esac
    68446488
     
    68486492
    68496493else
    6850   { echo "$as_me:$LINENO: result: no" >&5
    6851 echo "${ECHO_T}no" >&6; }
     6494  echo "$as_me:$LINENO: result: no" >&5
     6495echo "${ECHO_T}no" >&6
    68526496
    68536497for ac_func in valloc
    68546498do
    68556499as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6856 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    6857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    6858 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     6500echo "$as_me:$LINENO: checking for $ac_func" >&5
     6501echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     6502if eval "test \"\${$as_ac_var+set}\" = set"; then
    68596503  echo $ECHO_N "(cached) $ECHO_C" >&6
    68606504else
     
    68826526#undef $ac_func
    68836527
    6884 /* Override any GCC internal prototype to avoid an error.
    6885    Use char because int might match the return type of a GCC
    6886    builtin and then its argument prototype would still apply.  */
     6528/* Override any gcc2 internal prototype to avoid an error.  */
    68876529#ifdef __cplusplus
    68886530extern "C"
     6531{
    68896532#endif
     6533/* We use char because int might match the return type of a gcc2
     6534   builtin and then its argument prototype would still apply.  */
    68906535char $ac_func ();
    68916536/* The GNU C library defines this for functions which it implements
    68926537    to always fail with ENOSYS.  Some functions are actually named
    68936538    something starting with __ and the normal name is an alias.  */
    6894 #if defined __stub_$ac_func || defined __stub___$ac_func
     6539#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    68956540choke me
     6541#else
     6542char (*f) () = $ac_func;
     6543#endif
     6544#ifdef __cplusplus
     6545}
    68966546#endif
    68976547
     
    68996549main ()
    69006550{
    6901 return $ac_func ();
     6551return f != $ac_func;
    69026552  ;
    69036553  return 0;
     
    69056555_ACEOF
    69066556rm -f conftest.$ac_objext conftest$ac_exeext
    6907 if { (ac_try="$ac_link"
    6908 case "(($ac_try" in
    6909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6910   *) ac_try_echo=$ac_try;;
    6911 esac
    6912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6913   (eval "$ac_link") 2>conftest.er1
     6557if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6558  (eval $ac_link) 2>conftest.er1
    69146559  ac_status=$?
    69156560  grep -v '^ *+' conftest.er1 >conftest.err
     
    69176562  cat conftest.err >&5
    69186563  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6919   (exit $ac_status); } && {
    6920      test -z "$ac_c_werror_flag" ||
    6921      test ! -s conftest.err
    6922        } && test -s conftest$ac_exeext &&
    6923        $as_test_x conftest$ac_exeext; then
     6564  (exit $ac_status); } &&
     6565     { ac_try='test -z "$ac_c_werror_flag"
     6566             || test ! -s conftest.err'
     6567  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6568  (eval $ac_try) 2>&5
     6569  ac_status=$?
     6570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6571  (exit $ac_status); }; } &&
     6572     { ac_try='test -s conftest$ac_exeext'
     6573  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6574  (eval $ac_try) 2>&5
     6575  ac_status=$?
     6576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6577  (exit $ac_status); }; }; then
    69246578  eval "$as_ac_var=yes"
    69256579else
     
    69276581sed 's/^/| /' conftest.$ac_ext >&5
    69286582
    6929     eval "$as_ac_var=no"
    6930 fi
    6931 
    6932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6583eval "$as_ac_var=no"
     6584fi
     6585rm -f conftest.err conftest.$ac_objext \
    69336586      conftest$ac_exeext conftest.$ac_ext
    69346587fi
    6935 ac_res=`eval echo '${'$as_ac_var'}'`
    6936            { echo "$as_me:$LINENO: result: $ac_res" >&5
    6937 echo "${ECHO_T}$ac_res" >&6; }
     6588echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     6589echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    69386590if test `eval echo '${'$as_ac_var'}'` = yes; then
    69396591  cat >>confdefs.h <<_ACEOF
     
    69476599
    69486600# we cannot generate static libraries under Darwin
    6949 { echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
    6950 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6; }
     6601echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
     6602echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
    69516603if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    6952   { echo "$as_me:$LINENO: result: yes" >&5
    6953 echo "${ECHO_T}yes" >&6; }
     6604  echo "$as_me:$LINENO: result: yes" >&5
     6605echo "${ECHO_T}yes" >&6
    69546606  STATIC=""
    69556607else
    6956   { echo "$as_me:$LINENO: result: no" >&5
    6957 echo "${ECHO_T}no" >&6; }
     6608  echo "$as_me:$LINENO: result: no" >&5
     6609echo "${ECHO_T}no" >&6
    69586610  STATIC="-static "
    69596611fi
    69606612
    69616613
    6962 { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    6963 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }
    6964 
    6965 # Check whether --with-dmalloc was given.
     6614echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     6615echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
     6616
     6617# Check whether --with-dmalloc or --without-dmalloc was given.
    69666618if test "${with_dmalloc+set}" = set; then
    6967   withval=$with_dmalloc; if test "$withval" = yes; then
    6968   { echo "$as_me:$LINENO: result: yes" >&5
    6969 echo "${ECHO_T}yes" >&6; }
     6619  withval="$with_dmalloc"
     6620  if test "$withval" = yes; then
     6621  echo "$as_me:$LINENO: result: yes" >&5
     6622echo "${ECHO_T}yes" >&6
    69706623  cat >>confdefs.h <<\_ACEOF
    69716624#define WITH_DMALLOC 1
     
    69756628  LDFLAGS="$LDFLAGS -g"
    69766629else
    6977   { echo "$as_me:$LINENO: result: no" >&5
    6978 echo "${ECHO_T}no" >&6; }
    6979 fi
    6980 else
    6981   { echo "$as_me:$LINENO: result: no" >&5
    6982 echo "${ECHO_T}no" >&6; }
    6983 fi
    6984 
    6985 
    6986 { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    6987 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; }
    6988 
    6989 # Check whether --with-regex was given.
     6630  echo "$as_me:$LINENO: result: no" >&5
     6631echo "${ECHO_T}no" >&6
     6632fi
     6633else
     6634  echo "$as_me:$LINENO: result: no" >&5
     6635echo "${ECHO_T}no" >&6
     6636fi;
     6637
     6638echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     6639echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
     6640
     6641# Check whether --with-regex or --without-regex was given.
    69906642if test "${with_regex+set}" = set; then
    6991   withval=$with_regex; if test "$withval" = yes; then
     6643  withval="$with_regex"
     6644  if test "$withval" = yes; then
    69926645  ac_with_regex=1
    6993   { echo "$as_me:$LINENO: result: regex" >&5
    6994 echo "${ECHO_T}regex" >&6; }
     6646  echo "$as_me:$LINENO: result: regex" >&5
     6647echo "${ECHO_T}regex" >&6
    69956648  cat >>confdefs.h <<\_ACEOF
    69966649#define WITH_REGEX 1
    69976650_ACEOF
    69986651
    6999   case " $LIBOBJS " in
     6652  case $LIBOBJS in
     6653    "regex.$ac_objext"   | \
     6654  *" regex.$ac_objext"   | \
     6655    "regex.$ac_objext "* | \
    70006656  *" regex.$ac_objext "* ) ;;
    7001   *) LIBOBJS="$LIBOBJS regex.$ac_objext"
    7002  ;;
     6657  *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
    70036658esac
    70046659
    70056660fi
    7006 fi
    7007 
     6661fi;
    70086662if test -z "$ac_with_regex"; then
    7009   { echo "$as_me:$LINENO: result: rx" >&5
    7010 echo "${ECHO_T}rx" >&6; }
    7011   { echo "$as_me:$LINENO: checking for re_rx_search" >&5
    7012 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; }
     6663  echo "$as_me:$LINENO: result: rx" >&5
     6664echo "${ECHO_T}rx" >&6
     6665  echo "$as_me:$LINENO: checking for re_rx_search" >&5
     6666echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
    70136667if test "${ac_cv_func_re_rx_search+set}" = set; then
    70146668  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    70376691#undef re_rx_search
    70386692
    7039 /* Override any GCC internal prototype to avoid an error.
    7040    Use char because int might match the return type of a GCC
    7041    builtin and then its argument prototype would still apply.  */
     6693/* Override any gcc2 internal prototype to avoid an error.  */
    70426694#ifdef __cplusplus
    70436695extern "C"
     6696{
    70446697#endif
     6698/* We use char because int might match the return type of a gcc2
     6699   builtin and then its argument prototype would still apply.  */
    70456700char re_rx_search ();
    70466701/* The GNU C library defines this for functions which it implements
    70476702    to always fail with ENOSYS.  Some functions are actually named
    70486703    something starting with __ and the normal name is an alias.  */
    7049 #if defined __stub_re_rx_search || defined __stub___re_rx_search
     6704#if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
    70506705choke me
     6706#else
     6707char (*f) () = re_rx_search;
     6708#endif
     6709#ifdef __cplusplus
     6710}
    70516711#endif
    70526712
     
    70546714main ()
    70556715{
    7056 return re_rx_search ();
     6716return f != re_rx_search;
    70576717  ;
    70586718  return 0;
     
    70606720_ACEOF
    70616721rm -f conftest.$ac_objext conftest$ac_exeext
    7062 if { (ac_try="$ac_link"
    7063 case "(($ac_try" in
    7064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7065   *) ac_try_echo=$ac_try;;
    7066 esac
    7067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7068   (eval "$ac_link") 2>conftest.er1
     6722if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     6723  (eval $ac_link) 2>conftest.er1
    70696724  ac_status=$?
    70706725  grep -v '^ *+' conftest.er1 >conftest.err
     
    70726727  cat conftest.err >&5
    70736728  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7074   (exit $ac_status); } && {
    7075      test -z "$ac_c_werror_flag" ||
    7076      test ! -s conftest.err
    7077        } && test -s conftest$ac_exeext &&
    7078        $as_test_x conftest$ac_exeext; then
     6729  (exit $ac_status); } &&
     6730     { ac_try='test -z "$ac_c_werror_flag"
     6731             || test ! -s conftest.err'
     6732  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6733  (eval $ac_try) 2>&5
     6734  ac_status=$?
     6735  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6736  (exit $ac_status); }; } &&
     6737     { ac_try='test -s conftest$ac_exeext'
     6738  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6739  (eval $ac_try) 2>&5
     6740  ac_status=$?
     6741  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6742  (exit $ac_status); }; }; then
    70796743  ac_cv_func_re_rx_search=yes
    70806744else
     
    70826746sed 's/^/| /' conftest.$ac_ext >&5
    70836747
    7084     ac_cv_func_re_rx_search=no
    7085 fi
    7086 
    7087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6748ac_cv_func_re_rx_search=no
     6749fi
     6750rm -f conftest.err conftest.$ac_objext \
    70886751      conftest$ac_exeext conftest.$ac_ext
    70896752fi
    7090 { echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    7091 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; }
     6753echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     6754echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
    70926755if test $ac_cv_func_re_rx_search = yes; then
    70936756  :
    70946757else
    7095   case " $LIBOBJS " in
     6758  case $LIBOBJS in
     6759    "rx.$ac_objext"   | \
     6760  *" rx.$ac_objext"   | \
     6761    "rx.$ac_objext "* | \
    70966762  *" rx.$ac_objext "* ) ;;
    7097   *) LIBOBJS="$LIBOBJS rx.$ac_objext"
    7098  ;;
     6763  *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
    70996764esac
    71006765
     
    71066771# ---------------------------------------------------------------------------
    71076772if test "$ac_cv_func_alloca" = 'no'; then
    7108   case " $LIBOBJS " in
     6773  case $LIBOBJS in
     6774    "xmalloc.$ac_objext"   | \
     6775  *" xmalloc.$ac_objext"   | \
     6776    "xmalloc.$ac_objext "* | \
    71096777  *" xmalloc.$ac_objext "* ) ;;
    7110   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
    7111  ;;
     6778  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
    71126779esac
    71136780
    7114   case " $LIBOBJS " in
     6781  case $LIBOBJS in
     6782    "error.$ac_objext"   | \
     6783  *" error.$ac_objext"   | \
     6784    "error.$ac_objext "* | \
    71156785  *" error.$ac_objext "* ) ;;
    7116   *) LIBOBJS="$LIBOBJS error.$ac_objext"
    7117  ;;
     6786  *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
    71186787esac
    71196788
     
    71236792# ---------------------------------------------------------------------------
    71246793
    7125 ac_ext=cpp
     6794ac_ext=cc
    71266795ac_cpp='$CXXCPP $CPPFLAGS'
    71276796ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    71316800
    71326801success=no
    7133 { echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
    7134 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6; }
     6802echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
     6803echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
    71356804
    71366805
     
    71526821_ACEOF
    71536822rm -f conftest.$ac_objext
    7154 if { (ac_try="$ac_compile"
    7155 case "(($ac_try" in
    7156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7157   *) ac_try_echo=$ac_try;;
    7158 esac
    7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7160   (eval "$ac_compile") 2>conftest.er1
     6823if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6824  (eval $ac_compile) 2>conftest.er1
    71616825  ac_status=$?
    71626826  grep -v '^ *+' conftest.er1 >conftest.err
     
    71646828  cat conftest.err >&5
    71656829  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7166   (exit $ac_status); } && {
    7167      test -z "$ac_cxx_werror_flag" ||
    7168      test ! -s conftest.err
    7169        } && test -s conftest.$ac_objext; then
     6830  (exit $ac_status); } &&
     6831     { ac_try='test -z "$ac_cxx_werror_flag"
     6832             || test ! -s conftest.err'
     6833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6834  (eval $ac_try) 2>&5
     6835  ac_status=$?
     6836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6837  (exit $ac_status); }; } &&
     6838     { ac_try='test -s conftest.$ac_objext'
     6839  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6840  (eval $ac_try) 2>&5
     6841  ac_status=$?
     6842  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6843  (exit $ac_status); }; }; then
    71706844  success=yes
    71716845else
     
    71736847sed 's/^/| /' conftest.$ac_ext >&5
    71746848
    7175 
    7176 fi
    7177 
    7178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6849fi
     6850rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    71796851
    71806852if test $success = "no"; then
     
    71966868_ACEOF
    71976869rm -f conftest.$ac_objext
    7198 if { (ac_try="$ac_compile"
    7199 case "(($ac_try" in
    7200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7201   *) ac_try_echo=$ac_try;;
    7202 esac
    7203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7204   (eval "$ac_compile") 2>conftest.er1
     6870if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6871  (eval $ac_compile) 2>conftest.er1
    72056872  ac_status=$?
    72066873  grep -v '^ *+' conftest.er1 >conftest.err
     
    72086875  cat conftest.err >&5
    72096876  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7210   (exit $ac_status); } && {
    7211      test -z "$ac_cxx_werror_flag" ||
    7212      test ! -s conftest.err
    7213        } && test -s conftest.$ac_objext; then
     6877  (exit $ac_status); } &&
     6878     { ac_try='test -z "$ac_cxx_werror_flag"
     6879             || test ! -s conftest.err'
     6880  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6881  (eval $ac_try) 2>&5
     6882  ac_status=$?
     6883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6884  (exit $ac_status); }; } &&
     6885     { ac_try='test -s conftest.$ac_objext'
     6886  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6887  (eval $ac_try) 2>&5
     6888  ac_status=$?
     6889  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6890  (exit $ac_status); }; }; then
    72146891  success="yes"
    72156892else
     
    72176894sed 's/^/| /' conftest.$ac_ext >&5
    72186895
    7219 
    7220 fi
    7221 
    7222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6896fi
     6897rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    72236898fi
    72246899
     
    72416916_ACEOF
    72426917rm -f conftest.$ac_objext
    7243 if { (ac_try="$ac_compile"
    7244 case "(($ac_try" in
    7245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7246   *) ac_try_echo=$ac_try;;
    7247 esac
    7248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7249   (eval "$ac_compile") 2>conftest.er1
     6918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6919  (eval $ac_compile) 2>conftest.er1
    72506920  ac_status=$?
    72516921  grep -v '^ *+' conftest.er1 >conftest.err
     
    72536923  cat conftest.err >&5
    72546924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7255   (exit $ac_status); } && {
    7256      test -z "$ac_cxx_werror_flag" ||
    7257      test ! -s conftest.err
    7258        } && test -s conftest.$ac_objext; then
     6925  (exit $ac_status); } &&
     6926     { ac_try='test -z "$ac_cxx_werror_flag"
     6927             || test ! -s conftest.err'
     6928  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6929  (eval $ac_try) 2>&5
     6930  ac_status=$?
     6931  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6932  (exit $ac_status); }; } &&
     6933     { ac_try='test -s conftest.$ac_objext'
     6934  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     6935  (eval $ac_try) 2>&5
     6936  ac_status=$?
     6937  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6938  (exit $ac_status); }; }; then
    72596939  success="yes"
    72606940else
     
    72626942sed 's/^/| /' conftest.$ac_ext >&5
    72636943
    7264 
    7265 fi
    7266 
    7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6944fi
     6945rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    72686946fi
    72696947
    72706948if test $success = yes; then
    7271 { echo "$as_me:$LINENO: result: \"no\"" >&5
    7272 echo "${ECHO_T}\"no\"" >&6; }
    7273 else
    7274 { echo "$as_me:$LINENO: result: \"yes\"" >&5
    7275 echo "${ECHO_T}\"yes\"" >&6; }
     6949echo "$as_me:$LINENO: result: \"no\"" >&5
     6950echo "${ECHO_T}\"no\"" >&6
     6951else
     6952echo "$as_me:$LINENO: result: \"yes\"" >&5
     6953echo "${ECHO_T}\"yes\"" >&6
    72766954{ { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
    72776955echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
     
    72886966
    72896967# check for endianness
    7290 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    7291 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
     6968echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     6969echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
    72926970if test "${ac_cv_c_bigendian+set}" = set; then
    72936971  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    73066984main ()
    73076985{
    7308 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
    7309     && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
     6986#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    73106987 bogus endian macros
    73116988#endif
     
    73166993_ACEOF
    73176994rm -f conftest.$ac_objext
    7318 if { (ac_try="$ac_compile"
    7319 case "(($ac_try" in
    7320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7321   *) ac_try_echo=$ac_try;;
    7322 esac
    7323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7324   (eval "$ac_compile") 2>conftest.er1
     6995if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     6996  (eval $ac_compile) 2>conftest.er1
    73256997  ac_status=$?
    73266998  grep -v '^ *+' conftest.er1 >conftest.err
     
    73287000  cat conftest.err >&5
    73297001  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7330   (exit $ac_status); } && {
    7331      test -z "$ac_cxx_werror_flag" ||
    7332      test ! -s conftest.err
    7333        } && test -s conftest.$ac_objext; then
     7002  (exit $ac_status); } &&
     7003     { ac_try='test -z "$ac_cxx_werror_flag"
     7004             || test ! -s conftest.err'
     7005  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7006  (eval $ac_try) 2>&5
     7007  ac_status=$?
     7008  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7009  (exit $ac_status); }; } &&
     7010     { ac_try='test -s conftest.$ac_objext'
     7011  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7012  (eval $ac_try) 2>&5
     7013  ac_status=$?
     7014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7015  (exit $ac_status); }; }; then
    73347016  # It does; now see whether it defined to BIG_ENDIAN or not.
    73357017cat >conftest.$ac_ext <<_ACEOF
     
    73547036_ACEOF
    73557037rm -f conftest.$ac_objext
    7356 if { (ac_try="$ac_compile"
    7357 case "(($ac_try" in
    7358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7359   *) ac_try_echo=$ac_try;;
    7360 esac
    7361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7362   (eval "$ac_compile") 2>conftest.er1
     7038if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7039  (eval $ac_compile) 2>conftest.er1
    73637040  ac_status=$?
    73647041  grep -v '^ *+' conftest.er1 >conftest.err
     
    73667043  cat conftest.err >&5
    73677044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7368   (exit $ac_status); } && {
    7369      test -z "$ac_cxx_werror_flag" ||
    7370      test ! -s conftest.err
    7371        } && test -s conftest.$ac_objext; then
     7045  (exit $ac_status); } &&
     7046     { ac_try='test -z "$ac_cxx_werror_flag"
     7047             || test ! -s conftest.err'
     7048  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7049  (eval $ac_try) 2>&5
     7050  ac_status=$?
     7051  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7052  (exit $ac_status); }; } &&
     7053     { ac_try='test -s conftest.$ac_objext'
     7054  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7055  (eval $ac_try) 2>&5
     7056  ac_status=$?
     7057  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7058  (exit $ac_status); }; }; then
    73727059  ac_cv_c_bigendian=yes
    73737060else
     
    73757062sed 's/^/| /' conftest.$ac_ext >&5
    73767063
    7377     ac_cv_c_bigendian=no
    7378 fi
    7379 
    7380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7064ac_cv_c_bigendian=no
     7065fi
     7066rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    73817067else
    73827068  echo "$as_me: failed program was:" >&5
    73837069sed 's/^/| /' conftest.$ac_ext >&5
    73847070
    7385     # It does not; compile a test program.
     7071# It does not; compile a test program.
    73867072if test "$cross_compiling" = yes; then
    73877073  # try to guess the endianness by grepping values into an object file
     
    73937079cat >>conftest.$ac_ext <<_ACEOF
    73947080/* end confdefs.h.  */
    7395 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    7396 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     7081short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     7082short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    73977083void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    7398 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    7399 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     7084short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     7085short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    74007086void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    74017087int
     
    74087094_ACEOF
    74097095rm -f conftest.$ac_objext
    7410 if { (ac_try="$ac_compile"
    7411 case "(($ac_try" in
    7412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7413   *) ac_try_echo=$ac_try;;
    7414 esac
    7415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7416   (eval "$ac_compile") 2>conftest.er1
     7096if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     7097  (eval $ac_compile) 2>conftest.er1
    74177098  ac_status=$?
    74187099  grep -v '^ *+' conftest.er1 >conftest.err
     
    74207101  cat conftest.err >&5
    74217102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7422   (exit $ac_status); } && {
    7423      test -z "$ac_cxx_werror_flag" ||
    7424      test ! -s conftest.err
    7425        } && test -s conftest.$ac_objext; then
     7103  (exit $ac_status); } &&
     7104     { ac_try='test -z "$ac_cxx_werror_flag"
     7105             || test ! -s conftest.err'
     7106  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7107  (eval $ac_try) 2>&5
     7108  ac_status=$?
     7109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7110  (exit $ac_status); }; } &&
     7111     { ac_try='test -s conftest.$ac_objext'
     7112  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7113  (eval $ac_try) 2>&5
     7114  ac_status=$?
     7115  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7116  (exit $ac_status); }; }; then
    74267117  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    74277118  ac_cv_c_bigendian=yes
     
    74397130sed 's/^/| /' conftest.$ac_ext >&5
    74407131
    7441 
    7442 fi
    7443 
    7444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7132fi
     7133rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    74457134else
    74467135  cat >conftest.$ac_ext <<_ACEOF
     
    74507139cat >>conftest.$ac_ext <<_ACEOF
    74517140/* end confdefs.h.  */
    7452 $ac_includes_default
    74537141int
    74547142main ()
    74557143{
    7456 
    74577144  /* Are we little or big endian?  From Harbison&Steele.  */
    74587145  union
    74597146  {
    7460     long int l;
    7461     char c[sizeof (long int)];
     7147    long l;
     7148    char c[sizeof (long)];
    74627149  } u;
    74637150  u.l = 1;
    7464   return u.c[sizeof (long int) - 1] == 1;
    7465 
    7466   ;
    7467   return 0;
     7151  exit (u.c[sizeof (long) - 1] == 1);
    74687152}
    74697153_ACEOF
    74707154rm -f conftest$ac_exeext
    7471 if { (ac_try="$ac_link"
    7472 case "(($ac_try" in
    7473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7474   *) ac_try_echo=$ac_try;;
    7475 esac
    7476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7477   (eval "$ac_link") 2>&5
     7155if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     7156  (eval $ac_link) 2>&5
    74787157  ac_status=$?
    74797158  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    74807159  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7481   { (case "(($ac_try" in
    7482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7483   *) ac_try_echo=$ac_try;;
    7484 esac
    7485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7486   (eval "$ac_try") 2>&5
     7160  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     7161  (eval $ac_try) 2>&5
    74877162  ac_status=$?
    74887163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    74977172ac_cv_c_bigendian=yes
    74987173fi
    7499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7500 fi
    7501 
    7502 
    7503 fi
    7504 
    7505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7506 fi
    7507 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    7508 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
     7174rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     7175fi
     7176fi
     7177rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     7178fi
     7179echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7180echo "${ECHO_T}$ac_cv_c_bigendian" >&6
    75097181case $ac_cv_c_bigendian in
    75107182  yes)
     
    75267198# ---------------------------------------------------------------------------
    75277199if test "$ac_cv_func_alloca" = 'no'; then
    7528   case " $LIBOBJS " in
     7200  case $LIBOBJS in
     7201    "xmalloc.o.$ac_objext"   | \
     7202  *" xmalloc.o.$ac_objext"   | \
     7203    "xmalloc.o.$ac_objext "* | \
    75297204  *" xmalloc.o.$ac_objext "* ) ;;
    7530   *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
    7531  ;;
     7205  *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
    75327206esac
    75337207
    7534   case " $LIBOBJS " in
     7208  case $LIBOBJS in
     7209    "error.$ac_objext"   | \
     7210  *" error.$ac_objext"   | \
     7211    "error.$ac_objext "* | \
    75357212  *" error.$ac_objext "* ) ;;
    7536   *) LIBOBJS="$LIBOBJS error.$ac_objext"
    7537  ;;
     7213  *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
    75387214esac
    75397215
     
    75627238# ---------------------------------------------------------------------------
    75637239
     7240
     7241
    75647242subdirs="$subdirs packages"
    75657243
     
    75677245commonsrcprefix=`pwd`
    75687246ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv"
     7247
     7248
    75697249subdirs="$subdirs indexers"
    75707250
     
    75807260         src/getpw/Makefile"
    75817261
    7582 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
    7583 
     7262                                        ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
    75847263cat >confcache <<\_ACEOF
    75857264# This file is a shell script that caches the results of configure
     
    76007279# The following way of writing the cache mishandles newlines in values,
    76017280# but we know of no workaround that is simple, portable, and efficient.
    7602 # So, we kill variables containing newlines.
     7281# So, don't put newlines in cache variables' values.
    76037282# Ultrix sh set writes to stderr and can't be redirected directly,
    76047283# and sets the high bit in the cache file unless we assign to the vars.
    7605 (
    7606   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    7607     eval ac_val=\$$ac_var
    7608     case $ac_val in #(
    7609     *${as_nl}*)
    7610       case $ac_var in #(
    7611       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    7612 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
    7613       esac
    7614       case $ac_var in #(
    7615       _ | IFS | as_nl) ;; #(
    7616       *) $as_unset $ac_var ;;
    7617       esac ;;
    7618     esac
    7619   done
    7620 
     7284{
    76217285  (set) 2>&1 |
    7622     case $as_nl`(ac_space=' '; set) 2>&1` in #(
    7623     *${as_nl}ac_space=\ *)
     7286    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     7287    *ac_space=\ *)
    76247288      # `set' does not quote correctly, so add quotes (double-quote
    76257289      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    76277291    "s/'/'\\\\''/g;
    76287292      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    7629       ;; #(
     7293      ;;
    76307294    *)
    76317295      # `set' quotes correctly as required by POSIX, so do not add quotes.
    7632       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     7296      sed -n \
     7297    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    76337298      ;;
    7634     esac |
    7635     sort
    7636 ) |
     7299    esac;
     7300} |
    76377301  sed '
    7638      /^ac_cv_env_/b end
    76397302     t clear
    7640      :clear
     7303     : clear
    76417304     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    76427305     t end
    7643      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    7644      :end' >>confcache
    7645 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    7646   if test -w "$cache_file"; then
    7647     test "x$cache_file" != "x/dev/null" &&
    7648       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
    7649 echo "$as_me: updating cache $cache_file" >&6;}
     7306     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     7307     : end' >>confcache
     7308if diff $cache_file confcache >/dev/null 2>&1; then :; else
     7309  if test -w $cache_file; then
     7310    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    76507311    cat confcache >$cache_file
    76517312  else
    7652     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    7653 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     7313    echo "not updating unwritable cache $cache_file"
    76547314  fi
    76557315fi
     
    76597319# Let make expand exec_prefix.
    76607320test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
     7321
     7322# VPATH may cause trouble with some makes, so we remove $(srcdir),
     7323# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     7324# trailing colons and then remove the whole line if VPATH becomes empty
     7325# (actually we leave an empty line to preserve line numbers).
     7326if test "x$srcdir" = x.; then
     7327  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     7328s/:*\$(srcdir):*/:/;
     7329s/:*\${srcdir}:*/:/;
     7330s/:*@srcdir@:*/:/;
     7331s/^\([^=]*=[     ]*\):*/\1/;
     7332s/:*$//;
     7333s/^[^=]*=[   ]*$//;
     7334}'
     7335fi
    76617336
    76627337DEFS=-DHAVE_CONFIG_H
     
    76667341for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    76677342  # 1. Remove the extension, and $U if already installed.
    7668   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    7669   ac_i=`echo "$ac_i" | sed "$ac_script"`
    7670   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    7671   #    will be set to the directory where LIBOBJS objects are built.
    7672   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    7673   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     7343  ac_i=`echo "$ac_i" |
     7344     sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     7345  # 2. Add them.
     7346  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     7347  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
    76747348done
    76757349LIBOBJS=$ac_libobjs
     
    77027376## --------------------- ##
    77037377
    7704 # Be more Bourne compatible
    7705 DUALCASE=1; export DUALCASE # for MKS sh
     7378# Be Bourne compatible
    77067379if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    77077380  emulate sh
     
    77107383  # is contrary to our usage.  Disable this feature.
    77117384  alias -g '${1+"$@"}'='"$@"'
    7712   setopt NO_GLOB_SUBST
    7713 else
    7714   case `(set -o) 2>/dev/null` in
    7715   *posix*) set -o posix ;;
    7716 esac
    7717 
    7718 fi
    7719 
    7720 
    7721 
    7722 
    7723 # PATH needs CR
     7385elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     7386  set -o posix
     7387fi
     7388DUALCASE=1; export DUALCASE # for MKS sh
     7389
     7390# Support unset when possible.
     7391if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     7392  as_unset=unset
     7393else
     7394  as_unset=false
     7395fi
     7396
     7397
     7398# Work around bugs in pre-3.0 UWIN ksh.
     7399$as_unset ENV MAIL MAILPATH
     7400PS1='$ '
     7401PS2='> '
     7402PS4='+ '
     7403
     7404# NLS nuisances.
     7405for as_var in \
     7406  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     7407  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     7408  LC_TELEPHONE LC_TIME
     7409do
     7410  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     7411    eval $as_var=C; export $as_var
     7412  else
     7413    $as_unset $as_var
     7414  fi
     7415done
     7416
     7417# Required to use basename.
     7418if expr a : '\(a\)' >/dev/null 2>&1; then
     7419  as_expr=expr
     7420else
     7421  as_expr=false
     7422fi
     7423
     7424if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     7425  as_basename=basename
     7426else
     7427  as_basename=false
     7428fi
     7429
     7430
     7431# Name of the executable.
     7432as_me=`$as_basename "$0" ||
     7433$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     7434     X"$0" : 'X\(//\)$' \| \
     7435     X"$0" : 'X\(/\)$' \| \
     7436     .     : '\(.\)' 2>/dev/null ||
     7437echo X/"$0" |
     7438    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     7439      /^X\/\(\/\/\)$/{ s//\1/; q; }
     7440      /^X\/\(\/\).*/{ s//\1/; q; }
     7441      s/.*/./; q'`
     7442
     7443
     7444# PATH needs CR, and LINENO needs CR and PATH.
    77247445# Avoid depending upon Character Ranges.
    77257446as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    77427463fi
    77437464
    7744 # Support unset when possible.
    7745 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    7746   as_unset=unset
    7747 else
    7748   as_unset=false
    7749 fi
    7750 
    7751 
    7752 # IFS
    7753 # We need space, tab and new line, in precisely that order.  Quoting is
    7754 # there to prevent editors from complaining about space-tab.
    7755 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    7756 # splitting by setting IFS to empty value.)
    7757 as_nl='
    7758 '
    7759 IFS=" ""    $as_nl"
    7760 
    7761 # Find who we are.  Look in the path if we contain no directory separator.
    7762 case $0 in
    7763   *[\\/]* ) as_myself=$0 ;;
    7764   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7465
     7466  as_lineno_1=$LINENO
     7467  as_lineno_2=$LINENO
     7468  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     7469  test "x$as_lineno_1" != "x$as_lineno_2" &&
     7470  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     7471  # Find who we are.  Look in the path if we contain no path at all
     7472  # relative or not.
     7473  case $0 in
     7474    *[\\/]* ) as_myself=$0 ;;
     7475    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    77657476for as_dir in $PATH
    77667477do
     
    77697480  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    77707481done
    7771 IFS=$as_save_IFS
    7772 
    7773      ;;
    7774 esac
    7775 # We did not find ourselves, most probably we were run as `sh COMMAND'
    7776 # in which case we are not to be found in the path.
    7777 if test "x$as_myself" = x; then
    7778   as_myself=$0
    7779 fi
    7780 if test ! -f "$as_myself"; then
    7781   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    7782   { (exit 1); exit 1; }
    7783 fi
    7784 
    7785 # Work around bugs in pre-3.0 UWIN ksh.
    7786 for as_var in ENV MAIL MAILPATH
    7787 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    7788 done
    7789 PS1='$ '
    7790 PS2='> '
    7791 PS4='+ '
    7792 
    7793 # NLS nuisances.
    7794 for as_var in \
    7795   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    7796   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    7797   LC_TELEPHONE LC_TIME
     7482
     7483       ;;
     7484  esac
     7485  # We did not find ourselves, most probably we were run as `sh COMMAND'
     7486  # in which case we are not to be found in the path.
     7487  if test "x$as_myself" = x; then
     7488    as_myself=$0
     7489  fi
     7490  if test ! -f "$as_myself"; then
     7491    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     7492echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     7493   { (exit 1); exit 1; }; }
     7494  fi
     7495  case $CONFIG_SHELL in
     7496  '')
     7497    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7498for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    77987499do
    7799   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    7800     eval $as_var=C; export $as_var
    7801   else
    7802     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    7803   fi
    7804 done
    7805 
    7806 # Required to use basename.
    7807 if expr a : '\(a\)' >/dev/null 2>&1 &&
    7808    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    7809   as_expr=expr
    7810 else
    7811   as_expr=false
    7812 fi
    7813 
    7814 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    7815   as_basename=basename
    7816 else
    7817   as_basename=false
    7818 fi
    7819 
    7820 
    7821 # Name of the executable.
    7822 as_me=`$as_basename -- "$0" ||
    7823 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    7824      X"$0" : 'X\(//\)$' \| \
    7825      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7826 echo X/"$0" |
    7827     sed '/^.*\/\([^/][^/]*\)\/*$/{
    7828         s//\1/
    7829         q
    7830       }
    7831       /^X\/\(\/\/\)$/{
    7832         s//\1/
    7833         q
    7834       }
    7835       /^X\/\(\/\).*/{
    7836         s//\1/
    7837         q
    7838       }
    7839       s/.*/./; q'`
    7840 
    7841 # CDPATH.
    7842 $as_unset CDPATH
    7843 
    7844 
    7845 
     7500  IFS=$as_save_IFS
     7501  test -z "$as_dir" && as_dir=.
     7502  for as_base in sh bash ksh sh5; do
     7503     case $as_dir in
     7504     /*)
     7505       if ("$as_dir/$as_base" -c '
    78467506  as_lineno_1=$LINENO
    78477507  as_lineno_2=$LINENO
     7508  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    78487509  test "x$as_lineno_1" != "x$as_lineno_2" &&
    7849   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     7510  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     7511         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     7512         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     7513         CONFIG_SHELL=$as_dir/$as_base
     7514         export CONFIG_SHELL
     7515         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     7516       fi;;
     7517     esac
     7518       done
     7519done
     7520;;
     7521  esac
    78507522
    78517523  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    78527524  # uniformly replaced by the line number.  The first 'sed' inserts a
    7853   # line-number line after each line using $LINENO; the second 'sed'
    7854   # does the real work.  The second script uses 'N' to pair each
    7855   # line-number line with the line containing $LINENO, and appends
    7856   # trailing '-' during substitution so that $LINENO is not a special
    7857   # case at line end.
     7525  # line-number line before each line; the second 'sed' does the real
     7526  # work.  The second script uses 'N' to pair each line-number line
     7527  # with the numbered line, and appends trailing '-' during
     7528  # substitution so that $LINENO is not a special case at line end.
    78587529  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    7859   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    7860   # E. McMahon (1931-1989) for sed's syntax.  :-)
    7861   sed -n '
    7862     p
    7863     /[$]LINENO/=
    7864   ' <$as_myself |
     7530  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     7531  sed '=' <$as_myself |
    78657532    sed '
    7866       s/[$]LINENO.*/&-/
    7867       t lineno
    7868       b
    7869       :lineno
    78707533      N
    7871       :loop
    7872       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     7534      s,$,-,
     7535      : loop
     7536      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    78737537      t loop
    7874       s/-\n.*//
     7538      s,-$,,
     7539      s,^['$as_cr_digits']*\n,,
    78757540    ' >$as_me.lineno &&
    7876   chmod +x "$as_me.lineno" ||
    7877     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     7541  chmod +x $as_me.lineno ||
     7542    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     7543echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    78787544   { (exit 1); exit 1; }; }
    78797545
    78807546  # Don't try to exec as it changes $[0], causing all sort of problems
    78817547  # (the dirname of $[0] is not the place where we might find the
    7882   # original and so on.  Autoconf is especially sensitive to this).
    7883   . "./$as_me.lineno"
     7548  # original and so on.  Autoconf is especially sensible to this).
     7549  . ./$as_me.lineno
    78847550  # Exit status is that of the last command.
    78857551  exit
     
    78877553
    78887554
    7889 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    7890   as_dirname=dirname
    7891 else
    7892   as_dirname=false
    7893 fi
    7894 
    7895 ECHO_C= ECHO_N= ECHO_T=
    7896 case `echo -n x` in
    7897 -n*)
    7898   case `echo 'x\c'` in
    7899   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    7900   *)   ECHO_C='\c';;
    7901   esac;;
    7902 *)
    7903   ECHO_N='-n';;
     7555case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     7556  *c*,-n*) ECHO_N= ECHO_C='
     7557' ECHO_T='  ' ;;
     7558  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     7559  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    79047560esac
    79057561
    7906 if expr a : '\(a\)' >/dev/null 2>&1 &&
    7907    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     7562if expr a : '\(a\)' >/dev/null 2>&1; then
    79087563  as_expr=expr
    79097564else
     
    79127567
    79137568rm -f conf$$ conf$$.exe conf$$.file
    7914 if test -d conf$$.dir; then
    7915   rm -f conf$$.dir/conf$$.file
    7916 else
    7917   rm -f conf$$.dir
    7918   mkdir conf$$.dir
    7919 fi
    79207569echo >conf$$.file
    79217570if ln -s conf$$.file conf$$ 2>/dev/null; then
    7922   as_ln_s='ln -s'
    7923   # ... but there are two gotchas:
    7924   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    7925   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    7926   # In both cases, we have to default to `cp -p'.
    7927   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     7571  # We could just check for DJGPP; but this test a) works b) is more generic
     7572  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     7573  if test -f conf$$.exe; then
     7574    # Don't use ln at all; we don't have any links
    79287575    as_ln_s='cp -p'
     7576  else
     7577    as_ln_s='ln -s'
     7578  fi
    79297579elif ln conf$$.file conf$$ 2>/dev/null; then
    79307580  as_ln_s=ln
     
    79327582  as_ln_s='cp -p'
    79337583fi
    7934 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    7935 rmdir conf$$.dir 2>/dev/null
     7584rm -f conf$$ conf$$.exe conf$$.file
    79367585
    79377586if mkdir -p . 2>/dev/null; then
     
    79427591fi
    79437592
    7944 if test -x / >/dev/null 2>&1; then
    7945   as_test_x='test -x'
    7946 else
    7947   if ls -dL / >/dev/null 2>&1; then
    7948     as_ls_L_option=L
    7949   else
    7950     as_ls_L_option=
    7951   fi
    7952   as_test_x='
    7953     eval sh -c '\''
    7954       if test -d "$1"; then
    7955         test -d "$1/.";
    7956       else
    7957     case $1 in
    7958         -*)set "./$1";;
    7959     esac;
    7960     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    7961     ???[sx]*):;;*)false;;esac;fi
    7962     '\'' sh
    7963   '
    7964 fi
    7965 as_executable_p=$as_test_x
     7593as_executable_p="test -f"
    79667594
    79677595# Sed expression to map a string onto a valid CPP name.
     
    79727600
    79737601
     7602# IFS
     7603# We need space, tab and new line, in precisely that order.
     7604as_nl='
     7605'
     7606IFS="   $as_nl"
     7607
     7608# CDPATH.
     7609$as_unset CDPATH
     7610
    79747611exec 6>&1
    79757612
    7976 # Save the log message, to keep $[0] and so on meaningful, and to
     7613# Open the log real soon, to keep \$[0] and so on meaningful, and to
    79777614# report actual input values of CONFIG_FILES etc. instead of their
    7978 # values after options handling.
    7979 ac_log="
     7615# values after options handling.  Logging --version etc. is OK.
     7616exec 5>>config.log
     7617{
     7618  echo
     7619  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     7620## Running $as_me. ##
     7621_ASBOX
     7622} >&5
     7623cat >&5 <<_CSEOF
     7624
    79807625This file was extended by $as_me, which was
    7981 generated by GNU Autoconf 2.61.  Invocation command line was
     7626generated by GNU Autoconf 2.59.  Invocation command line was
    79827627
    79837628  CONFIG_FILES    = $CONFIG_FILES
     
    79877632  $ $0 $@
    79887633
    7989 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    7990 "
    7991 
    7992 _ACEOF
    7993 
    7994 cat >>$CONFIG_STATUS <<_ACEOF
     7634_CSEOF
     7635echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     7636echo >&5
     7637_ACEOF
     7638
    79957639# Files that config.status was made for.
    7996 config_files="$ac_config_files"
    7997 config_headers="$ac_config_headers"
    7998 
    7999 _ACEOF
     7640if test -n "$ac_config_files"; then
     7641  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     7642fi
     7643
     7644if test -n "$ac_config_headers"; then
     7645  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     7646fi
     7647
     7648if test -n "$ac_config_links"; then
     7649  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     7650fi
     7651
     7652if test -n "$ac_config_commands"; then
     7653  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     7654fi
    80007655
    80017656cat >>$CONFIG_STATUS <<\_ACEOF
     7657
    80027658ac_cs_usage="\
    80037659\`$as_me' instantiates files from templates according to the
     
    80077663
    80087664  -h, --help       print this help, then exit
    8009   -V, --version    print version number and configuration settings, then exit
     7665  -V, --version    print version number, then exit
    80107666  -q, --quiet      do not print progress messages
    80117667  -d, --debug      don't remove temporary files
     
    80237679
    80247680Report bugs to <[email protected]>."
    8025 
    8026 _ACEOF
     7681_ACEOF
     7682
    80277683cat >>$CONFIG_STATUS <<_ACEOF
    80287684ac_cs_version="\\
    80297685config.status
    8030 configured by $0, generated by GNU Autoconf 2.61,
    8031   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    8032 
    8033 Copyright (C) 2006 Free Software Foundation, Inc.
     7686configured by $0, generated by GNU Autoconf 2.59,
     7687  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     7688
     7689Copyright (C) 2003 Free Software Foundation, Inc.
    80347690This config.status script is free software; the Free Software Foundation
    80357691gives unlimited permission to copy, distribute and modify it."
    8036 
    8037 ac_pwd='$ac_pwd'
    8038 srcdir='$srcdir'
    8039 INSTALL='$INSTALL'
     7692srcdir=$srcdir
     7693INSTALL="$INSTALL"
    80407694_ACEOF
    80417695
     
    80487702  case $1 in
    80497703  --*=*)
    8050     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    8051     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     7704    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     7705    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    80527706    ac_shift=:
    80537707    ;;
    8054   *)
     7708  -*)
    80557709    ac_option=$1
    80567710    ac_optarg=$2
    80577711    ac_shift=shift
    80587712    ;;
     7713  *) # This is not an option, so the user has probably given explicit
     7714     # arguments.
     7715     ac_option=$1
     7716     ac_need_defaults=false;;
    80597717  esac
    80607718
    80617719  case $ac_option in
    80627720  # Handling of the options.
     7721_ACEOF
     7722cat >>$CONFIG_STATUS <<\_ACEOF
    80637723  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    80647724    ac_cs_recheck=: ;;
    8065   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    8066     echo "$ac_cs_version"; exit ;;
    8067   --debug | --debu | --deb | --de | --d | -d )
     7725  --version | --vers* | -V )
     7726    echo "$ac_cs_version"; exit 0 ;;
     7727  --he | --h)
     7728    # Conflict between --help and --header
     7729    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     7730Try \`$0 --help' for more information." >&5
     7731echo "$as_me: error: ambiguous option: $1
     7732Try \`$0 --help' for more information." >&2;}
     7733   { (exit 1); exit 1; }; };;
     7734  --help | --hel | -h )
     7735    echo "$ac_cs_usage"; exit 0 ;;
     7736  --debug | --d* | -d )
    80687737    debug=: ;;
    80697738  --file | --fil | --fi | --f )
     
    80757744    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    80767745    ac_need_defaults=false;;
    8077   --he | --h)
    8078     # Conflict between --help and --header
    8079     { echo "$as_me: error: ambiguous option: $1
    8080 Try \`$0 --help' for more information." >&2
    8081    { (exit 1); exit 1; }; };;
    8082   --help | --hel | -h )
    8083     echo "$ac_cs_usage"; exit ;;
    80847746  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    80857747  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    80877749
    80887750  # This is an error.
    8089   -*) { echo "$as_me: error: unrecognized option: $1
    8090 Try \`$0 --help' for more information." >&2
     7751  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     7752Try \`$0 --help' for more information." >&5
     7753echo "$as_me: error: unrecognized option: $1
     7754Try \`$0 --help' for more information." >&2;}
    80917755   { (exit 1); exit 1; }; } ;;
    80927756
    8093   *) ac_config_targets="$ac_config_targets $1"
    8094      ac_need_defaults=false ;;
     7757  *) ac_config_targets="$ac_config_targets $1" ;;
    80957758
    80967759  esac
     
    81087771cat >>$CONFIG_STATUS <<_ACEOF
    81097772if \$ac_cs_recheck; then
    8110   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    8111   CONFIG_SHELL=$SHELL
    8112   export CONFIG_SHELL
    8113   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    8114 fi
    8115 
    8116 _ACEOF
     7773  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     7774  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     7775fi
     7776
     7777_ACEOF
     7778
     7779
     7780
     7781
     7782
    81177783cat >>$CONFIG_STATUS <<\_ACEOF
    8118 exec 5>>config.log
    8119 {
    8120   echo
    8121   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    8122 ## Running $as_me. ##
    8123 _ASBOX
    8124   echo "$ac_log"
    8125 } >&5
    8126 
    8127 _ACEOF
    8128 cat >>$CONFIG_STATUS <<_ACEOF
    8129 _ACEOF
    8130 
    8131 cat >>$CONFIG_STATUS <<\_ACEOF
    8132 
    8133 # Handling of arguments.
    81347784for ac_config_target in $ac_config_targets
    81357785do
    8136   case $ac_config_target in
    8137     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    8138     "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
    8139     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    8140     "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    8141     "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    8142 
     7786  case "$ac_config_target" in
     7787  # Handling of arguments.
     7788  "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
     7789  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     7790  "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     7791  "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     7792  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    81437793  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    81447794echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     
    81467796  esac
    81477797done
    8148 
    81497798
    81507799# If the user did not use the arguments to specify the items to instantiate,
     
    81587807
    81597808# Have a temporary directory for convenience.  Make it in the build tree
    8160 # simply because there is no reason against having it here, and in addition,
     7809# simply because there is no reason to put it here, and in addition,
    81617810# creating and moving files from /tmp can sometimes cause problems.
    8162 # Hook for its removal unless debugging.
    8163 # Note that there is a small window in which the directory will not be cleaned:
    8164 # after its creation but before its name has been assigned to `$tmp'.
     7811# Create a temporary directory, and hook for its removal unless debugging.
    81657812$debug ||
    81667813{
    8167   tmp=
    8168   trap 'exit_status=$?
    8169   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    8170 ' 0
     7814  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    81717815  trap '{ (exit 1); exit 1; }' 1 2 13 15
    81727816}
     7817
    81737818# Create a (secure) tmp directory for tmp files.
    81747819
    81757820{
    8176   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     7821  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    81777822  test -n "$tmp" && test -d "$tmp"
    81787823}  ||
    81797824{
    8180   tmp=./conf$$-$RANDOM
    8181   (umask 077 && mkdir "$tmp")
     7825  tmp=./confstat$$-$RANDOM
     7826  (umask 077 && mkdir $tmp)
    81827827} ||
    81837828{
     
    81867831}
    81877832
     7833_ACEOF
     7834
     7835cat >>$CONFIG_STATUS <<_ACEOF
     7836
    81887837#
    8189 # Set up the sed scripts for CONFIG_FILES section.
     7838# CONFIG_FILES section.
    81907839#
    81917840
    81927841# No need to generate the scripts if there are no CONFIG_FILES.
    81937842# This happens for instance when ./config.status config.h
    8194 if test -n "$CONFIG_FILES"; then
    8195 
    8196 _ACEOF
    8197 
    8198 
    8199 
    8200 ac_delim='%!_!# '
    8201 for ac_last_try in false false false false false :; do
    8202   cat >conf$$subs.sed <<_ACEOF
    8203 SHELL!$SHELL$ac_delim
    8204 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
    8205 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
    8206 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
    8207 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
    8208 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
    8209 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
    8210 exec_prefix!$exec_prefix$ac_delim
    8211 prefix!$prefix$ac_delim
    8212 program_transform_name!$program_transform_name$ac_delim
    8213 bindir!$bindir$ac_delim
    8214 sbindir!$sbindir$ac_delim
    8215 libexecdir!$libexecdir$ac_delim
    8216 datarootdir!$datarootdir$ac_delim
    8217 datadir!$datadir$ac_delim
    8218 sysconfdir!$sysconfdir$ac_delim
    8219 sharedstatedir!$sharedstatedir$ac_delim
    8220 localstatedir!$localstatedir$ac_delim
    8221 includedir!$includedir$ac_delim
    8222 oldincludedir!$oldincludedir$ac_delim
    8223 docdir!$docdir$ac_delim
    8224 infodir!$infodir$ac_delim
    8225 htmldir!$htmldir$ac_delim
    8226 dvidir!$dvidir$ac_delim
    8227 pdfdir!$pdfdir$ac_delim
    8228 psdir!$psdir$ac_delim
    8229 libdir!$libdir$ac_delim
    8230 localedir!$localedir$ac_delim
    8231 mandir!$mandir$ac_delim
    8232 DEFS!$DEFS$ac_delim
    8233 ECHO_C!$ECHO_C$ac_delim
    8234 ECHO_N!$ECHO_N$ac_delim
    8235 ECHO_T!$ECHO_T$ac_delim
    8236 LIBS!$LIBS$ac_delim
    8237 build_alias!$build_alias$ac_delim
    8238 host_alias!$host_alias$ac_delim
    8239 target_alias!$target_alias$ac_delim
    8240 PACKAGE!$PACKAGE$ac_delim
    8241 VERSION!$VERSION$ac_delim
    8242 USE_FASTCGI!$USE_FASTCGI$ac_delim
    8243 USE_LANGACTION!$USE_LANGACTION$ac_delim
    8244 USE_CORBA!$USE_CORBA$ac_delim
    8245 MICO_DIR!$MICO_DIR$ac_delim
    8246 USE_Z3950!$USE_Z3950$ac_delim
    8247 USE_YAZ!$USE_YAZ$ac_delim
    8248 ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim
    8249 USE_SQLITE!$USE_SQLITE$ac_delim
    8250 LDFLAGS!$LDFLAGS$ac_delim
    8251 CFLAGS!$CFLAGS$ac_delim
    8252 CC!$CC$ac_delim
    8253 CPPFLAGS!$CPPFLAGS$ac_delim
    8254 ac_ct_CC!$ac_ct_CC$ac_delim
    8255 EXEEXT!$EXEEXT$ac_delim
    8256 OBJEXT!$OBJEXT$ac_delim
    8257 CXX!$CXX$ac_delim
    8258 CXXFLAGS!$CXXFLAGS$ac_delim
    8259 ac_ct_CXX!$ac_ct_CXX$ac_delim
    8260 AWK!$AWK$ac_delim
    8261 YACC!$YACC$ac_delim
    8262 YFLAGS!$YFLAGS$ac_delim
    8263 build!$build$ac_delim
    8264 build_cpu!$build_cpu$ac_delim
    8265 build_vendor!$build_vendor$ac_delim
    8266 build_os!$build_os$ac_delim
    8267 host!$host$ac_delim
    8268 host_cpu!$host_cpu$ac_delim
    8269 host_vendor!$host_vendor$ac_delim
    8270 host_os!$host_os$ac_delim
    8271 target!$target$ac_delim
    8272 target_cpu!$target_cpu$ac_delim
    8273 target_vendor!$target_vendor$ac_delim
    8274 target_os!$target_os$ac_delim
    8275 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
    8276 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
    8277 INSTALL_DATA!$INSTALL_DATA$ac_delim
    8278 LN_S!$LN_S$ac_delim
    8279 SET_MAKE!$SET_MAKE$ac_delim
    8280 RANLIB!$RANLIB$ac_delim
    8281 COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim
    8282 MICO_VER!$MICO_VER$ac_delim
    8283 CPP!$CPP$ac_delim
    8284 GREP!$GREP$ac_delim
    8285 EGREP!$EGREP$ac_delim
    8286 U!$U$ac_delim
    8287 ANSI2KNR!$ANSI2KNR$ac_delim
    8288 ALLOCA!$ALLOCA$ac_delim
    8289 LIBOBJS!$LIBOBJS$ac_delim
    8290 STATIC!$STATIC$ac_delim
    8291 gsdlos!$gsdlos$ac_delim
    8292 MODULEDIRS!$MODULEDIRS$ac_delim
    8293 subdirs!$subdirs$ac_delim
    8294 LTLIBOBJS!$LTLIBOBJS$ac_delim
    8295 _ACEOF
    8296 
    8297   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
    8298     break
    8299   elif $ac_last_try; then
    8300     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    8301 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    8302    { (exit 1); exit 1; }; }
    8303   else
    8304     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     7843if test -n "\$CONFIG_FILES"; then
     7844  # Protect against being on the right side of a sed subst in config.status.
     7845  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     7846   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     7847s,@SHELL@,$SHELL,;t t
     7848s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     7849s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     7850s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     7851s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     7852s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     7853s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     7854s,@exec_prefix@,$exec_prefix,;t t
     7855s,@prefix@,$prefix,;t t
     7856s,@program_transform_name@,$program_transform_name,;t t
     7857s,@bindir@,$bindir,;t t
     7858s,@sbindir@,$sbindir,;t t
     7859s,@libexecdir@,$libexecdir,;t t
     7860s,@datadir@,$datadir,;t t
     7861s,@sysconfdir@,$sysconfdir,;t t
     7862s,@sharedstatedir@,$sharedstatedir,;t t
     7863s,@localstatedir@,$localstatedir,;t t
     7864s,@libdir@,$libdir,;t t
     7865s,@includedir@,$includedir,;t t
     7866s,@oldincludedir@,$oldincludedir,;t t
     7867s,@infodir@,$infodir,;t t
     7868s,@mandir@,$mandir,;t t
     7869s,@build_alias@,$build_alias,;t t
     7870s,@host_alias@,$host_alias,;t t
     7871s,@target_alias@,$target_alias,;t t
     7872s,@DEFS@,$DEFS,;t t
     7873s,@ECHO_C@,$ECHO_C,;t t
     7874s,@ECHO_N@,$ECHO_N,;t t
     7875s,@ECHO_T@,$ECHO_T,;t t
     7876s,@LIBS@,$LIBS,;t t
     7877s,@PACKAGE@,$PACKAGE,;t t
     7878s,@VERSION@,$VERSION,;t t
     7879s,@USE_FASTCGI@,$USE_FASTCGI,;t t
     7880s,@USE_LANGACTION@,$USE_LANGACTION,;t t
     7881s,@USE_CORBA@,$USE_CORBA,;t t
     7882s,@MICO_DIR@,$MICO_DIR,;t t
     7883s,@USE_Z3950@,$USE_Z3950,;t t
     7884s,@USE_YAZ@,$USE_YAZ,;t t
     7885s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
     7886s,@USE_SQLITE@,$USE_SQLITE,;t t
     7887s,@ENABLE_MG@,$ENABLE_MG,;t t
     7888s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t
     7889s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t
     7890s,@LDFLAGS@,$LDFLAGS,;t t
     7891s,@CFLAGS@,$CFLAGS,;t t
     7892s,@CC@,$CC,;t t
     7893s,@CPPFLAGS@,$CPPFLAGS,;t t
     7894s,@ac_ct_CC@,$ac_ct_CC,;t t
     7895s,@EXEEXT@,$EXEEXT,;t t
     7896s,@OBJEXT@,$OBJEXT,;t t
     7897s,@CXX@,$CXX,;t t
     7898s,@CXXFLAGS@,$CXXFLAGS,;t t
     7899s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     7900s,@AWK@,$AWK,;t t
     7901s,@YACC@,$YACC,;t t
     7902s,@build@,$build,;t t
     7903s,@build_cpu@,$build_cpu,;t t
     7904s,@build_vendor@,$build_vendor,;t t
     7905s,@build_os@,$build_os,;t t
     7906s,@host@,$host,;t t
     7907s,@host_cpu@,$host_cpu,;t t
     7908s,@host_vendor@,$host_vendor,;t t
     7909s,@host_os@,$host_os,;t t
     7910s,@target@,$target,;t t
     7911s,@target_cpu@,$target_cpu,;t t
     7912s,@target_vendor@,$target_vendor,;t t
     7913s,@target_os@,$target_os,;t t
     7914s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     7915s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     7916s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     7917s,@LN_S@,$LN_S,;t t
     7918s,@SET_MAKE@,$SET_MAKE,;t t
     7919s,@RANLIB@,$RANLIB,;t t
     7920s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
     7921s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
     7922s,@MICO_VER@,$MICO_VER,;t t
     7923s,@CPP@,$CPP,;t t
     7924s,@EGREP@,$EGREP,;t t
     7925s,@U@,$U,;t t
     7926s,@ANSI2KNR@,$ANSI2KNR,;t t
     7927s,@ALLOCA@,$ALLOCA,;t t
     7928s,@LIBOBJS@,$LIBOBJS,;t t
     7929s,@STATIC@,$STATIC,;t t
     7930s,@gsdlos@,$gsdlos,;t t
     7931s,@MODULEDIRS@,$MODULEDIRS,;t t
     7932s,@subdirs@,$subdirs,;t t
     7933s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     7934CEOF
     7935
     7936_ACEOF
     7937
     7938  cat >>$CONFIG_STATUS <<\_ACEOF
     7939  # Split the substitutions into bite-sized pieces for seds with
     7940  # small command number limits, like on Digital OSF/1 and HP-UX.
     7941  ac_max_sed_lines=48
     7942  ac_sed_frag=1 # Number of current file.
     7943  ac_beg=1 # First line for current file.
     7944  ac_end=$ac_max_sed_lines # Line after last line for current file.
     7945  ac_more_lines=:
     7946  ac_sed_cmds=
     7947  while $ac_more_lines; do
     7948    if test $ac_beg -gt 1; then
     7949      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     7950    else
     7951      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     7952    fi
     7953    if test ! -s $tmp/subs.frag; then
     7954      ac_more_lines=false
     7955    else
     7956      # The purpose of the label and of the branching condition is to
     7957      # speed up the sed processing (if there are no `@' at all, there
     7958      # is no need to browse any of the substitutions).
     7959      # These are the two extra sed commands mentioned above.
     7960      (echo ':t
     7961  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     7962      if test -z "$ac_sed_cmds"; then
     7963    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     7964      else
     7965    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     7966      fi
     7967      ac_sed_frag=`expr $ac_sed_frag + 1`
     7968      ac_beg=$ac_end
     7969      ac_end=`expr $ac_end + $ac_max_sed_lines`
     7970    fi
     7971  done
     7972  if test -z "$ac_sed_cmds"; then
     7973    ac_sed_cmds=cat
    83057974  fi
    8306 done
    8307 
    8308 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
    8309 if test -n "$ac_eof"; then
    8310   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
    8311   ac_eof=`expr $ac_eof + 1`
    8312 fi
    8313 
    8314 cat >>$CONFIG_STATUS <<_ACEOF
    8315 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
    8316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
    8317 _ACEOF
    8318 sed '
    8319 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
    8320 s/^/s,@/; s/!/@,|#_!!_#|/
    8321 :n
    8322 t n
    8323 s/'"$ac_delim"'$/,g/; t
    8324 s/$/\\/; p
    8325 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
    8326 ' >>$CONFIG_STATUS <conf$$subs.sed
    8327 rm -f conf$$subs.sed
    8328 cat >>$CONFIG_STATUS <<_ACEOF
    8329 :end
    8330 s/|#_!!_#|//g
    8331 CEOF$ac_eof
    8332 _ACEOF
    8333 
    8334 
    8335 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    8336 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    8337 # trailing colons and then remove the whole line if VPATH becomes empty
    8338 # (actually we leave an empty line to preserve line numbers).
    8339 if test "x$srcdir" = x.; then
    8340   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    8341 s/:*\$(srcdir):*/:/
    8342 s/:*\${srcdir}:*/:/
    8343 s/:*@srcdir@:*/:/
    8344 s/^\([^=]*=[     ]*\):*/\1/
    8345 s/:*$//
    8346 s/^[^=]*=[   ]*$//
    8347 }'
    8348 fi
    8349 
     7975fi # test -n "$CONFIG_FILES"
     7976
     7977_ACEOF
    83507978cat >>$CONFIG_STATUS <<\_ACEOF
    8351 fi # test -n "$CONFIG_FILES"
    8352 
    8353 
    8354 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
    8355 do
    8356   case $ac_tag in
    8357   :[FHLC]) ac_mode=$ac_tag; continue;;
     7979for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     7980  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     7981  case $ac_file in
     7982  - | *:- | *:-:* ) # input from stdin
     7983    cat >$tmp/stdin
     7984    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     7985    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     7986  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     7987    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     7988  * )   ac_file_in=$ac_file.in ;;
    83587989  esac
    8359   case $ac_mode$ac_tag in
    8360   :[FHL]*:*);;
    8361   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
    8362 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
    8363    { (exit 1); exit 1; }; };;
    8364   :[FH]-) ac_tag=-:-;;
    8365   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    8366   esac
    8367   ac_save_IFS=$IFS
    8368   IFS=:
    8369   set x $ac_tag
    8370   IFS=$ac_save_IFS
    8371   shift
    8372   ac_file=$1
    8373   shift
    8374 
    8375   case $ac_mode in
    8376   :L) ac_source=$1;;
    8377   :[FH])
    8378     ac_file_inputs=
    8379     for ac_f
    8380     do
    8381       case $ac_f in
    8382       -) ac_f="$tmp/stdin";;
    8383       *) # Look for the file first in the build tree, then in the source tree
    8384      # (if the path is not absolute).  The absolute path cannot be DOS-style,
    8385      # because $ac_f cannot contain `:'.
    8386      test -f "$ac_f" ||
    8387        case $ac_f in
    8388        [\\/$]*) false;;
    8389        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    8390        esac ||
    8391        { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    8392 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    8393    { (exit 1); exit 1; }; };;
    8394       esac
    8395       ac_file_inputs="$ac_file_inputs $ac_f"
    8396     done
    8397 
    8398     # Let's still pretend it is `configure' which instantiates (i.e., don't
    8399     # use $as_me), people would be surprised to read:
    8400     #    /* config.h.  Generated by config.status.  */
    8401     configure_input="Generated from "`IFS=:
    8402       echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
    8403     if test x"$ac_file" != x-; then
    8404       configure_input="$ac_file.  $configure_input"
    8405       { echo "$as_me:$LINENO: creating $ac_file" >&5
    8406 echo "$as_me: creating $ac_file" >&6;}
    8407     fi
    8408 
    8409     case $ac_tag in
    8410     *:-:* | *:-) cat >"$tmp/stdin";;
    8411     esac
    8412     ;;
    8413   esac
    8414 
    8415   ac_dir=`$as_dirname -- "$ac_file" ||
     7990
     7991  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     7992  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    84167993$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    84177994     X"$ac_file" : 'X\(//\)[^/]' \| \
    84187995     X"$ac_file" : 'X\(//\)$' \| \
    8419      X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     7996     X"$ac_file" : 'X\(/\)' \| \
     7997     .     : '\(.\)' 2>/dev/null ||
    84207998echo X"$ac_file" |
    8421     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    8422         s//\1/
    8423         q
    8424       }
    8425       /^X\(\/\/\)[^/].*/{
    8426         s//\1/
    8427         q
    8428       }
    8429       /^X\(\/\/\)$/{
    8430         s//\1/
    8431         q
    8432       }
    8433       /^X\(\/\).*/{
    8434         s//\1/
    8435         q
    8436       }
    8437       s/.*/./; q'`
    8438   { as_dir="$ac_dir"
    8439   case $as_dir in #(
    8440   -*) as_dir=./$as_dir;;
    8441   esac
    8442   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     7999    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8000      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8001      /^X\(\/\/\)$/{ s//\1/; q; }
     8002      /^X\(\/\).*/{ s//\1/; q; }
     8003      s/.*/./; q'`
     8004  { if $as_mkdir_p; then
     8005    mkdir -p "$ac_dir"
     8006  else
     8007    as_dir="$ac_dir"
    84438008    as_dirs=
    8444     while :; do
    8445       case $as_dir in #(
    8446       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    8447       *) as_qdir=$as_dir;;
    8448       esac
    8449       as_dirs="'$as_qdir' $as_dirs"
    8450       as_dir=`$as_dirname -- "$as_dir" ||
     8009    while test ! -d "$as_dir"; do
     8010      as_dirs="$as_dir $as_dirs"
     8011      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    84518012$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    84528013     X"$as_dir" : 'X\(//\)[^/]' \| \
    84538014     X"$as_dir" : 'X\(//\)$' \| \
    8454      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     8015     X"$as_dir" : 'X\(/\)' \| \
     8016     .     : '\(.\)' 2>/dev/null ||
    84558017echo X"$as_dir" |
    8456     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    8457         s//\1/
    8458         q
    8459       }
    8460       /^X\(\/\/\)[^/].*/{
    8461         s//\1/
    8462         q
    8463       }
    8464       /^X\(\/\/\)$/{
    8465         s//\1/
    8466         q
    8467       }
    8468       /^X\(\/\).*/{
    8469         s//\1/
    8470         q
    8471       }
    8472       s/.*/./; q'`
    8473       test -d "$as_dir" && break
     8018    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8019      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8020      /^X\(\/\/\)$/{ s//\1/; q; }
     8021      /^X\(\/\).*/{ s//\1/; q; }
     8022      s/.*/./; q'`
    84748023    done
    8475     test -z "$as_dirs" || eval "mkdir $as_dirs"
    8476   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    8477 echo "$as_me: error: cannot create directory $as_dir" >&2;}
     8024    test ! -n "$as_dirs" || mkdir $as_dirs
     8025  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8026echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    84788027   { (exit 1); exit 1; }; }; }
     8028
    84798029  ac_builddir=.
    84808030
    8481 case "$ac_dir" in
    8482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8031if test "$ac_dir" != .; then
     8032  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     8033  # A "../" for each directory in $ac_dir_suffix.
     8034  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     8035else
     8036  ac_dir_suffix= ac_top_builddir=
     8037fi
     8038
     8039case $srcdir in
     8040  .)  # No --srcdir option.  We are building in place.
     8041    ac_srcdir=.
     8042    if test -z "$ac_top_builddir"; then
     8043       ac_top_srcdir=.
     8044    else
     8045       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     8046    fi ;;
     8047  [\\/]* | ?:[\\/]* )  # Absolute path.
     8048    ac_srcdir=$srcdir$ac_dir_suffix;
     8049    ac_top_srcdir=$srcdir ;;
     8050  *) # Relative path.
     8051    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     8052    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     8053esac
     8054
     8055# Do not use `cd foo && pwd` to compute absolute paths, because
     8056# the directories may not exist.
     8057case `pwd` in
     8058.) ac_abs_builddir="$ac_dir";;
    84838059*)
    8484   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8485   # A ".." for each directory in $ac_dir_suffix.
    8486   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    8487   case $ac_top_builddir_sub in
    8488   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    8489   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    8490   esac ;;
     8060  case "$ac_dir" in
     8061  .) ac_abs_builddir=`pwd`;;
     8062  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     8063  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     8064  esac;;
    84918065esac
    8492 ac_abs_top_builddir=$ac_pwd
    8493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    8494 # for backward compatibility:
    8495 ac_top_builddir=$ac_top_build_prefix
    8496 
    8497 case $srcdir in
    8498   .)  # We are building in place.
    8499     ac_srcdir=.
    8500     ac_top_srcdir=$ac_top_builddir_sub
    8501     ac_abs_top_srcdir=$ac_pwd ;;
    8502   [\\/]* | ?:[\\/]* )  # Absolute name.
    8503     ac_srcdir=$srcdir$ac_dir_suffix;
    8504     ac_top_srcdir=$srcdir
    8505     ac_abs_top_srcdir=$srcdir ;;
    8506   *) # Relative name.
    8507     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    8508     ac_top_srcdir=$ac_top_build_prefix$srcdir
    8509     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8066case $ac_abs_builddir in
     8067.) ac_abs_top_builddir=${ac_top_builddir}.;;
     8068*)
     8069  case ${ac_top_builddir}. in
     8070  .) ac_abs_top_builddir=$ac_abs_builddir;;
     8071  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     8072  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     8073  esac;;
    85108074esac
    8511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    8512 
    8513 
    8514   case $ac_mode in
    8515   :F)
    8516   #
    8517   # CONFIG_FILE
    8518   #
     8075case $ac_abs_builddir in
     8076.) ac_abs_srcdir=$ac_srcdir;;
     8077*)
     8078  case $ac_srcdir in
     8079  .) ac_abs_srcdir=$ac_abs_builddir;;
     8080  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     8081  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     8082  esac;;
     8083esac
     8084case $ac_abs_builddir in
     8085.) ac_abs_top_srcdir=$ac_top_srcdir;;
     8086*)
     8087  case $ac_top_srcdir in
     8088  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     8089  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     8090  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     8091  esac;;
     8092esac
     8093
    85198094
    85208095  case $INSTALL in
    85218096  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    8522   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
     8097  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
    85238098  esac
    8524 _ACEOF
    8525 
    8526 cat >>$CONFIG_STATUS <<\_ACEOF
    8527 # If the template does not know about datarootdir, expand it.
    8528 # FIXME: This hack should be removed a few years after 2.60.
    8529 ac_datarootdir_hack=; ac_datarootdir_seen=
    8530 
    8531 case `sed -n '/datarootdir/ {
    8532   p
    8533   q
    8534 }
    8535 /@datadir@/p
    8536 /@docdir@/p
    8537 /@infodir@/p
    8538 /@localedir@/p
    8539 /@mandir@/p
    8540 ' $ac_file_inputs` in
    8541 *datarootdir*) ac_datarootdir_seen=yes;;
    8542 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    8543   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    8544 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    8545 _ACEOF
    8546 cat >>$CONFIG_STATUS <<_ACEOF
    8547   ac_datarootdir_hack='
    8548   s&@datadir@&$datadir&g
    8549   s&@docdir@&$docdir&g
    8550   s&@infodir@&$infodir&g
    8551   s&@localedir@&$localedir&g
    8552   s&@mandir@&$mandir&g
    8553     s&\\\${datarootdir}&$datarootdir&g' ;;
    8554 esac
    8555 _ACEOF
    8556 
    8557 # Neutralize VPATH when `$srcdir' = `.'.
    8558 # Shell code in configure.ac might set extrasub.
    8559 # FIXME: do we really want to maintain this feature?
     8099
     8100  if test x"$ac_file" != x-; then
     8101    { echo "$as_me:$LINENO: creating $ac_file" >&5
     8102echo "$as_me: creating $ac_file" >&6;}
     8103    rm -f "$ac_file"
     8104  fi
     8105  # Let's still pretend it is `configure' which instantiates (i.e., don't
     8106  # use $as_me), people would be surprised to read:
     8107  #    /* config.h.  Generated by config.status.  */
     8108  if test x"$ac_file" = x-; then
     8109    configure_input=
     8110  else
     8111    configure_input="$ac_file.  "
     8112  fi
     8113  configure_input=$configure_input"Generated from `echo $ac_file_in |
     8114                     sed 's,.*/,,'` by configure."
     8115
     8116  # First look for the input files in the build tree, otherwise in the
     8117  # src tree.
     8118  ac_file_inputs=`IFS=:
     8119    for f in $ac_file_in; do
     8120      case $f in
     8121      -) echo $tmp/stdin ;;
     8122      [\\/$]*)
     8123     # Absolute (can't be DOS-style, as IFS=:)
     8124     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8125echo "$as_me: error: cannot find input file: $f" >&2;}
     8126   { (exit 1); exit 1; }; }
     8127     echo "$f";;
     8128      *) # Relative
     8129     if test -f "$f"; then
     8130       # Build tree
     8131       echo "$f"
     8132     elif test -f "$srcdir/$f"; then
     8133       # Source tree
     8134       echo "$srcdir/$f"
     8135     else
     8136       # /dev/null tree
     8137       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8138echo "$as_me: error: cannot find input file: $f" >&2;}
     8139   { (exit 1); exit 1; }; }
     8140     fi;;
     8141      esac
     8142    done` || { (exit 1); exit 1; }
     8143_ACEOF
    85608144cat >>$CONFIG_STATUS <<_ACEOF
    85618145  sed "$ac_vpsub
     
    85658149:t
    85668150/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    8567 s&@configure_input@&$configure_input&;t t
    8568 s&@top_builddir@&$ac_top_builddir_sub&;t t
    8569 s&@srcdir@&$ac_srcdir&;t t
    8570 s&@abs_srcdir@&$ac_abs_srcdir&;t t
    8571 s&@top_srcdir@&$ac_top_srcdir&;t t
    8572 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
    8573 s&@builddir@&$ac_builddir&;t t
    8574 s&@abs_builddir@&$ac_abs_builddir&;t t
    8575 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
    8576 s&@INSTALL@&$ac_INSTALL&;t t
    8577 $ac_datarootdir_hack
    8578 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
    8579 
    8580 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    8581   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    8582   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    8583   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    8584 which seems to be undefined.  Please make sure it is defined." >&5
    8585 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    8586 which seems to be undefined.  Please make sure it is defined." >&2;}
    8587 
    8588   rm -f "$tmp/stdin"
     8151s,@configure_input@,$configure_input,;t t
     8152s,@srcdir@,$ac_srcdir,;t t
     8153s,@abs_srcdir@,$ac_abs_srcdir,;t t
     8154s,@top_srcdir@,$ac_top_srcdir,;t t
     8155s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     8156s,@builddir@,$ac_builddir,;t t
     8157s,@abs_builddir@,$ac_abs_builddir,;t t
     8158s,@top_builddir@,$ac_top_builddir,;t t
     8159s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     8160s,@INSTALL@,$ac_INSTALL,;t t
     8161" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     8162  rm -f $tmp/stdin
     8163  if test x"$ac_file" != x-; then
     8164    mv $tmp/out $ac_file
     8165  else
     8166    cat $tmp/out
     8167    rm -f $tmp/out
     8168  fi
     8169
     8170done
     8171_ACEOF
     8172cat >>$CONFIG_STATUS <<\_ACEOF
     8173
     8174#
     8175# CONFIG_HEADER section.
     8176#
     8177
     8178# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     8179# NAME is the cpp macro being defined and VALUE is the value it is being given.
     8180#
     8181# ac_d sets the value in "#define NAME VALUE" lines.
     8182ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
     8183ac_dB='[     ].*$,\1#\2'
     8184ac_dC=' '
     8185ac_dD=',;t'
     8186# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
     8187ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
     8188ac_uB='$,\1#\2define\3'
     8189ac_uC=' '
     8190ac_uD=',;t'
     8191
     8192for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
     8193  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    85898194  case $ac_file in
    8590   -) cat "$tmp/out"; rm -f "$tmp/out";;
    8591   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
     8195  - | *:- | *:-:* ) # input from stdin
     8196    cat >$tmp/stdin
     8197    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8198    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8199  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     8200    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     8201  * )   ac_file_in=$ac_file.in ;;
    85928202  esac
    8593  ;;
    8594   :H)
    8595   #
    8596   # CONFIG_HEADER
    8597   #
    8598 _ACEOF
    8599 
    8600 # Transform confdefs.h into a sed script `conftest.defines', that
    8601 # substitutes the proper values into config.h.in to produce config.h.
    8602 rm -f conftest.defines conftest.tail
    8603 # First, append a space to every undef/define line, to ease matching.
    8604 echo 's/$/ /' >conftest.defines
    8605 # Then, protect against being on the right side of a sed subst, or in
    8606 # an unquoted here document, in config.status.  If some macros were
    8607 # called several times there might be several #defines for the same
    8608 # symbol, which is useless.  But do not sort them, since the last
    8609 # AC_DEFINE must be honored.
    8610 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
    8611 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
    8612 # NAME is the cpp macro being defined, VALUE is the value it is being given.
    8613 # PARAMS is the parameter list in the macro definition--in most cases, it's
    8614 # just an empty string.
    8615 ac_dA='s,^\\([   #]*\\)[^    ]*\\([  ]*'
    8616 ac_dB='\\)[  (].*,\\1define\\2'
    8617 ac_dC=' '
    8618 ac_dD=' ,'
    8619 
    8620 uniq confdefs.h |
    8621   sed -n '
    8622     t rset
    8623     :rset
    8624     s/^[     ]*#[    ]*define[   ][  ]*//
    8625     t ok
    8626     d
    8627     :ok
    8628     s/[\\&,]/\\&/g
    8629     s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
    8630     s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
    8631   ' >>conftest.defines
    8632 
    8633 # Remove the space that was appended to ease matching.
    8634 # Then replace #undef with comments.  This is necessary, for
     8203
     8204  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
     8205echo "$as_me: creating $ac_file" >&6;}
     8206
     8207  # First look for the input files in the build tree, otherwise in the
     8208  # src tree.
     8209  ac_file_inputs=`IFS=:
     8210    for f in $ac_file_in; do
     8211      case $f in
     8212      -) echo $tmp/stdin ;;
     8213      [\\/$]*)
     8214     # Absolute (can't be DOS-style, as IFS=:)
     8215     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8216echo "$as_me: error: cannot find input file: $f" >&2;}
     8217   { (exit 1); exit 1; }; }
     8218     # Do quote $f, to prevent DOS paths from being IFS'd.
     8219     echo "$f";;
     8220      *) # Relative
     8221     if test -f "$f"; then
     8222       # Build tree
     8223       echo "$f"
     8224     elif test -f "$srcdir/$f"; then
     8225       # Source tree
     8226       echo "$srcdir/$f"
     8227     else
     8228       # /dev/null tree
     8229       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     8230echo "$as_me: error: cannot find input file: $f" >&2;}
     8231   { (exit 1); exit 1; }; }
     8232     fi;;
     8233      esac
     8234    done` || { (exit 1); exit 1; }
     8235  # Remove the trailing spaces.
     8236  sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
     8237
     8238_ACEOF
     8239
     8240# Transform confdefs.h into two sed scripts, `conftest.defines' and
     8241# `conftest.undefs', that substitutes the proper values into
     8242# config.h.in to produce config.h.  The first handles `#define'
     8243# templates, and the second `#undef' templates.
     8244# And first: Protect against being on the right side of a sed subst in
     8245# config.status.  Protect against being in an unquoted here document
     8246# in config.status.
     8247rm -f conftest.defines conftest.undefs
     8248# Using a here document instead of a string reduces the quoting nightmare.
     8249# Putting comments in sed scripts is not portable.
     8250#
     8251# `end' is used to avoid that the second main sed command (meant for
     8252# 0-ary CPP macros) applies to n-ary macro definitions.
     8253# See the Autoconf documentation for `clear'.
     8254cat >confdef2sed.sed <<\_ACEOF
     8255s/[\\&,]/\\&/g
     8256s,[\\$`],\\&,g
     8257t clear
     8258: clear
     8259s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     8260t end
     8261s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     8262: end
     8263_ACEOF
     8264# If some macros were called several times there might be several times
     8265# the same #defines, which is useless.  Nevertheless, we may not want to
     8266# sort them, since we want the *last* AC-DEFINE to be honored.
     8267uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
     8268sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
     8269rm -f confdef2sed.sed
     8270
     8271# This sed command replaces #undef with comments.  This is necessary, for
    86358272# example, in the case of _POSIX_SOURCE, which is predefined and required
    86368273# on some systems where configure will not decide to define it.
    8637 # (The regexp can be short, since the line contains either #define or #undef.)
    8638 echo 's/ $//
    8639 s,^[     #]*u.*,/* & */,' >>conftest.defines
    8640 
    8641 # Break up conftest.defines:
    8642 ac_max_sed_lines=50
    8643 
    8644 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
    8645 # Second one is:     sed -f defines.sed "$tmp/out1" >"$tmp/out2"
    8646 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
    8647 # et cetera.
    8648 ac_in='$ac_file_inputs'
    8649 ac_out='"$tmp/out1"'
    8650 ac_nxt='"$tmp/out2"'
    8651 
    8652 while :
     8274cat >>conftest.undefs <<\_ACEOF
     8275s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     8276_ACEOF
     8277
     8278# Break up conftest.defines because some shells have a limit on the size
     8279# of here documents, and old seds have small limits too (100 cmds).
     8280echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
     8281echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     8282echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
     8283echo '  :' >>$CONFIG_STATUS
     8284rm -f conftest.tail
     8285while grep . conftest.defines >/dev/null
    86538286do
    8654   # Write a here document:
    8655     cat >>$CONFIG_STATUS <<_ACEOF
    8656     # First, check the format of the line:
    8657     cat >"\$tmp/defines.sed" <<\\CEOF
    8658 /^[  ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
    8659 /^[  ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
    8660 b
    8661 :def
    8662 _ACEOF
    8663   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
     8287  # Write a limited-size here document to $tmp/defines.sed.
     8288  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
     8289  # Speed up: don't consider the non `#define' lines.
     8290  echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
     8291  # Work around the forget-to-reset-the-flag bug.
     8292  echo 't clr' >>$CONFIG_STATUS
     8293  echo ': clr' >>$CONFIG_STATUS
     8294  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
    86648295  echo 'CEOF
    8665     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
    8666   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
    8667   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
    8668   grep . conftest.tail >/dev/null || break
     8296  sed -f $tmp/defines.sed $tmp/in >$tmp/out
     8297  rm -f $tmp/in
     8298  mv $tmp/out $tmp/in
     8299' >>$CONFIG_STATUS
     8300  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    86698301  rm -f conftest.defines
    86708302  mv conftest.tail conftest.defines
    86718303done
    8672 rm -f conftest.defines conftest.tail
    8673 
    8674 echo "ac_result=$ac_in" >>$CONFIG_STATUS
     8304rm -f conftest.defines
     8305echo '  fi # grep' >>$CONFIG_STATUS
     8306echo >>$CONFIG_STATUS
     8307
     8308# Break up conftest.undefs because some shells have a limit on the size
     8309# of here documents, and old seds have small limits too (100 cmds).
     8310echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
     8311rm -f conftest.tail
     8312while grep . conftest.undefs >/dev/null
     8313do
     8314  # Write a limited-size here document to $tmp/undefs.sed.
     8315  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
     8316  # Speed up: don't consider the non `#undef'
     8317  echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     8318  # Work around the forget-to-reset-the-flag bug.
     8319  echo 't clr' >>$CONFIG_STATUS
     8320  echo ': clr' >>$CONFIG_STATUS
     8321  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
     8322  echo 'CEOF
     8323  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
     8324  rm -f $tmp/in
     8325  mv $tmp/out $tmp/in
     8326' >>$CONFIG_STATUS
     8327  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
     8328  rm -f conftest.undefs
     8329  mv conftest.tail conftest.undefs
     8330done
     8331rm -f conftest.undefs
     8332
    86758333cat >>$CONFIG_STATUS <<\_ACEOF
     8334  # Let's still pretend it is `configure' which instantiates (i.e., don't
     8335  # use $as_me), people would be surprised to read:
     8336  #    /* config.h.  Generated by config.status.  */
     8337  if test x"$ac_file" = x-; then
     8338    echo "/* Generated by configure.  */" >$tmp/config.h
     8339  else
     8340    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
     8341  fi
     8342  cat $tmp/in >>$tmp/config.h
     8343  rm -f $tmp/in
    86768344  if test x"$ac_file" != x-; then
    8677     echo "/* $configure_input  */" >"$tmp/config.h"
    8678     cat "$ac_result" >>"$tmp/config.h"
    8679     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
     8345    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
    86808346      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    86818347echo "$as_me: $ac_file is unchanged" >&6;}
    86828348    else
     8349      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     8350$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8351     X"$ac_file" : 'X\(//\)[^/]' \| \
     8352     X"$ac_file" : 'X\(//\)$' \| \
     8353     X"$ac_file" : 'X\(/\)' \| \
     8354     .     : '\(.\)' 2>/dev/null ||
     8355echo X"$ac_file" |
     8356    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8357      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8358      /^X\(\/\/\)$/{ s//\1/; q; }
     8359      /^X\(\/\).*/{ s//\1/; q; }
     8360      s/.*/./; q'`
     8361      { if $as_mkdir_p; then
     8362    mkdir -p "$ac_dir"
     8363  else
     8364    as_dir="$ac_dir"
     8365    as_dirs=
     8366    while test ! -d "$as_dir"; do
     8367      as_dirs="$as_dir $as_dirs"
     8368      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     8369$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8370     X"$as_dir" : 'X\(//\)[^/]' \| \
     8371     X"$as_dir" : 'X\(//\)$' \| \
     8372     X"$as_dir" : 'X\(/\)' \| \
     8373     .     : '\(.\)' 2>/dev/null ||
     8374echo X"$as_dir" |
     8375    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8376      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8377      /^X\(\/\/\)$/{ s//\1/; q; }
     8378      /^X\(\/\).*/{ s//\1/; q; }
     8379      s/.*/./; q'`
     8380    done
     8381    test ! -n "$as_dirs" || mkdir $as_dirs
     8382  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8383echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     8384   { (exit 1); exit 1; }; }; }
     8385
    86838386      rm -f $ac_file
    8684       mv "$tmp/config.h" $ac_file
     8387      mv $tmp/config.h $ac_file
    86858388    fi
    86868389  else
    8687     echo "/* $configure_input  */"
    8688     cat "$ac_result"
     8390    cat $tmp/config.h
     8391    rm -f $tmp/config.h
    86898392  fi
    8690   rm -f "$tmp/out12"
    8691  ;;
    8692 
    8693 
    8694   esac
    8695 
    8696 done # for ac_tag
    8697 
     8393done
     8394_ACEOF
     8395
     8396cat >>$CONFIG_STATUS <<\_ACEOF
    86988397
    86998398{ (exit 0); exit 0; }
     
    87328431  ac_sub_configure_args=
    87338432  ac_prev=
    8734   eval "set x $ac_configure_args"
    8735   shift
    8736   for ac_arg
    8737   do
     8433  for ac_arg in $ac_configure_args; do
    87388434    if test -n "$ac_prev"; then
    87398435      ac_prev=
     
    87588454    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    87598455      ;;
    8760     *)
    8761       case $ac_arg in
    8762       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    8763       esac
    8764       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
     8456    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
    87658457    esac
    87668458  done
     
    87688460  # Always prepend --prefix to ensure using the same prefix
    87698461  # in subdir configurations.
    8770   ac_arg="--prefix=$prefix"
    8771   case $ac_arg in
    8772   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    8773   esac
    8774   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
    8775 
    8776   # Pass --silent
    8777   if test "$silent" = yes; then
    8778     ac_sub_configure_args="--silent $ac_sub_configure_args"
    8779   fi
     8462  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
    87808463
    87818464  ac_popdir=`pwd`
     
    87848467    # Do not complain, so a configure script can configure whichever
    87858468    # parts of a large source tree are present.
    8786     test -d "$srcdir/$ac_dir" || continue
    8787 
    8788     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    8789     echo "$as_me:$LINENO: $ac_msg" >&5
    8790     echo "$ac_msg" >&6
    8791     { as_dir="$ac_dir"
    8792   case $as_dir in #(
    8793   -*) as_dir=./$as_dir;;
    8794   esac
    8795   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     8469    test -d $srcdir/$ac_dir || continue
     8470
     8471    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
     8472echo "$as_me: configuring in $ac_dir" >&6;}
     8473    { if $as_mkdir_p; then
     8474    mkdir -p "$ac_dir"
     8475  else
     8476    as_dir="$ac_dir"
    87968477    as_dirs=
    8797     while :; do
    8798       case $as_dir in #(
    8799       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    8800       *) as_qdir=$as_dir;;
    8801       esac
    8802       as_dirs="'$as_qdir' $as_dirs"
    8803       as_dir=`$as_dirname -- "$as_dir" ||
     8478    while test ! -d "$as_dir"; do
     8479      as_dirs="$as_dir $as_dirs"
     8480      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    88048481$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    88058482     X"$as_dir" : 'X\(//\)[^/]' \| \
    88068483     X"$as_dir" : 'X\(//\)$' \| \
    8807      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     8484     X"$as_dir" : 'X\(/\)' \| \
     8485     .     : '\(.\)' 2>/dev/null ||
    88088486echo X"$as_dir" |
    8809     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    8810         s//\1/
    8811         q
    8812       }
    8813       /^X\(\/\/\)[^/].*/{
    8814         s//\1/
    8815         q
    8816       }
    8817       /^X\(\/\/\)$/{
    8818         s//\1/
    8819         q
    8820       }
    8821       /^X\(\/\).*/{
    8822         s//\1/
    8823         q
    8824       }
    8825       s/.*/./; q'`
    8826       test -d "$as_dir" && break
     8487    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     8488      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     8489      /^X\(\/\/\)$/{ s//\1/; q; }
     8490      /^X\(\/\).*/{ s//\1/; q; }
     8491      s/.*/./; q'`
    88278492    done
    8828     test -z "$as_dirs" || eval "mkdir $as_dirs"
    8829   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    8830 echo "$as_me: error: cannot create directory $as_dir" >&2;}
     8493    test ! -n "$as_dirs" || mkdir $as_dirs
     8494  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     8495echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    88318496   { (exit 1); exit 1; }; }; }
     8497
    88328498    ac_builddir=.
    88338499
    8834 case "$ac_dir" in
    8835 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     8500if test "$ac_dir" != .; then
     8501  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     8502  # A "../" for each directory in $ac_dir_suffix.
     8503  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     8504else
     8505  ac_dir_suffix= ac_top_builddir=
     8506fi
     8507
     8508case $srcdir in
     8509  .)  # No --srcdir option.  We are building in place.
     8510    ac_srcdir=.
     8511    if test -z "$ac_top_builddir"; then
     8512       ac_top_srcdir=.
     8513    else
     8514       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     8515    fi ;;
     8516  [\\/]* | ?:[\\/]* )  # Absolute path.
     8517    ac_srcdir=$srcdir$ac_dir_suffix;
     8518    ac_top_srcdir=$srcdir ;;
     8519  *) # Relative path.
     8520    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     8521    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     8522esac
     8523
     8524# Do not use `cd foo && pwd` to compute absolute paths, because
     8525# the directories may not exist.
     8526case `pwd` in
     8527.) ac_abs_builddir="$ac_dir";;
    88368528*)
    8837   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8838   # A ".." for each directory in $ac_dir_suffix.
    8839   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    8840   case $ac_top_builddir_sub in
    8841   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    8842   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    8843   esac ;;
     8529  case "$ac_dir" in
     8530  .) ac_abs_builddir=`pwd`;;
     8531  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     8532  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     8533  esac;;
    88448534esac
    8845 ac_abs_top_builddir=$ac_pwd
    8846 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    8847 # for backward compatibility:
    8848 ac_top_builddir=$ac_top_build_prefix
    8849 
    8850 case $srcdir in
    8851   .)  # We are building in place.
    8852     ac_srcdir=.
    8853     ac_top_srcdir=$ac_top_builddir_sub
    8854     ac_abs_top_srcdir=$ac_pwd ;;
    8855   [\\/]* | ?:[\\/]* )  # Absolute name.
    8856     ac_srcdir=$srcdir$ac_dir_suffix;
    8857     ac_top_srcdir=$srcdir
    8858     ac_abs_top_srcdir=$srcdir ;;
    8859   *) # Relative name.
    8860     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    8861     ac_top_srcdir=$ac_top_build_prefix$srcdir
    8862     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     8535case $ac_abs_builddir in
     8536.) ac_abs_top_builddir=${ac_top_builddir}.;;
     8537*)
     8538  case ${ac_top_builddir}. in
     8539  .) ac_abs_top_builddir=$ac_abs_builddir;;
     8540  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     8541  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     8542  esac;;
    88638543esac
    8864 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    8865 
    8866 
    8867     cd "$ac_dir"
     8544case $ac_abs_builddir in
     8545.) ac_abs_srcdir=$ac_srcdir;;
     8546*)
     8547  case $ac_srcdir in
     8548  .) ac_abs_srcdir=$ac_abs_builddir;;
     8549  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     8550  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     8551  esac;;
     8552esac
     8553case $ac_abs_builddir in
     8554.) ac_abs_top_srcdir=$ac_top_srcdir;;
     8555*)
     8556  case $ac_top_srcdir in
     8557  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     8558  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     8559  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     8560  esac;;
     8561esac
     8562
     8563
     8564    cd $ac_dir
    88688565
    88698566    # Check for guested configure; otherwise get Cygnus style configure.
    8870     if test -f "$ac_srcdir/configure.gnu"; then
    8871       ac_sub_configure=$ac_srcdir/configure.gnu
    8872     elif test -f "$ac_srcdir/configure"; then
    8873       ac_sub_configure=$ac_srcdir/configure
    8874     elif test -f "$ac_srcdir/configure.in"; then
    8875       # This should be Cygnus configure.
    8876       ac_sub_configure=$ac_aux_dir/configure
     8567    if test -f $ac_srcdir/configure.gnu; then
     8568      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
     8569    elif test -f $ac_srcdir/configure; then
     8570      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
     8571    elif test -f $ac_srcdir/configure.in; then
     8572      ac_sub_configure=$ac_configure
    88778573    else
    88788574      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     
    88868582      case $cache_file in
    88878583      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    8888       *) # Relative name.
    8889     ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
     8584      *) # Relative path.
     8585    ac_sub_cache_file=$ac_top_builddir$cache_file ;;
    88908586      esac
    88918587
    8892       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    8893 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     8588      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     8589echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    88948590      # The eval makes quoting arguments work.
    8895       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    8896        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
     8591      eval $ac_sub_configure $ac_sub_configure_args \
     8592       --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
    88978593    { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    88988594echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     
    89008596    fi
    89018597
    8902     cd "$ac_popdir"
     8598    cd $ac_popdir
    89038599  done
    89048600fi
  • main/trunk/greenstone2/common-src/configure.in

    r20846 r21327  
    7575AC_DEFINE(USE_SQLITE, $USE_SQLITE)
    7676AC_SUBST(USE_SQLITE)
     77
     78dnl
     79dnl Set compilation of MG (enabled by default)
     80dnl
     81AC_ARG_ENABLE(mg, [  --disable-mg        Disable MG compilation], ENABLE_MG=$enableval, ENABLE_MG=yes)
     82if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
     83  ENABLE_MG=1
     84  AC_DEFINE(ENABLE_MG,[])
     85else
     86  ENABLE_MG=0
     87fi
     88AC_SUBST(ENABLE_MG)
     89
     90dnl
     91dnl Set compilation of MGPP (enabled by default)
     92dnl
     93AC_ARG_ENABLE(mgpp, [  --disable-mgpp        Disable MGPP compilation], ENABLE_MGPP=$enableval, ENABLE_MGPP=yes)
     94if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
     95  ENABLE_MGPP=1
     96  AC_DEFINE(ENABLE_MGPP,[])
     97else
     98  ENABLE_MGPP=0
     99fi
     100AC_SUBST(ENABLE_MGPP)
     101
     102dnl
     103dnl Set compilation of lucene (enabled by default)
     104dnl
     105AC_ARG_ENABLE(lucene, [  --disable-lucene        Disable Lucene compilation], ENABLE_LUCENE=$enableval, ENABLE_LUCENE=yes)
     106if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
     107  ENABLE_LUCENE=1
     108  AC_DEFINE(ENABLE_LUCENE,[])
     109else
     110  ENABLE_LUCENE=0
     111fi
     112AC_SUBST(ENABLE_LUCENE)
     113
    77114
    78115dnl Checks for programs.
  • main/trunk/greenstone2/common-src/win32.mak

    r20183 r21327  
    6969MAKECMD = $(MAKECMD) DLLDEBUG=1
    7070!ENDIF
    71 !IF $(USE_SQLITE)
     71!IF "$(USE_SQLITE)" == "0"
     72MAKECMD = $(MAKECMD) USE_SQLITE=0
     73!ELSE
    7274MAKECMD = $(MAKECMD) USE_SQLITE=1
    7375PACKAGEDIRS = $(PACKAGEDIRS) $(SQLITE_DIR)
     
    9496    if NOT EXIST "iconv" unzip iconv.zip
    9597    cd "$(COMMONHOME)"
     98!IF "$(USE_SQLITE)" == "1"
    9699    IF NOT EXIST $(SQLITE_DIR) IF EXIST "$(GSDLHOME)\bin\windows\gunzip.exe" IF EXIST "$(GSDLHOME)\bin\windows\tar.exe" "$(GSDLHOME)\bin\windows\gunzip.exe" -cd "$(SQLITE_DIR).tar.gz" | "$(GSDLHOME)\bin\windows\tar.exe" xv --directory=./packages/sqlite
    97100    IF NOT EXIST $(SQLITE_DIR) echo ****** Couldn't extract archive $(SQLITE_DIR).tar.gz. Extract it manually, or check that gunzip.exe and tar.exe exist in GSDLHOME\bin\windows. ******
     101!ENDIF
    98102
    99103clean:
     
    137141    cd packages\search4j
    138142    $(MAKECLEANCMD)
    139 !IF $(USE_SQLITE)
     143!IF "$(USE_SQLITE)" == "1"
    140144    cd "$(COMMONHOME)"
    141145    cd "$(SQLITE_DIR)"
     
    158162    cd "$(COMMONHOME)"
    159163
    160 $(SQLITE_DIR): FORCE
     164$(SQLITE_DIR):
     165!IF "$(USE_SQLITE)" == "1"
     166    FORCE
    161167    cd "$(COMMONHOME)"
    162168    cd "$@"
    163169    $(MAKECMD)
    164170    $(MAKECMD) install
     171!ENDIF
    165172    cd "$(COMMONHOME)"
    166173
     
    169176    cd "$@"
    170177    set DEBUG=$(DEBUG)
    171     if EXIST "$(GSDLHOME)\runtime-src" call winMake.bat all gs2
     178    set ENABLE_MG=$(ENABLE_MG)
     179    set ENABLE_MGPP=$(ENABLE_MGPP)
     180    set ENABLE_LUCENE=$(ENABLE_LUCENE)
     181
     182    if EXIST "$(GSDLHOME)\runtime-src" call winMake.bat all gs2
    172183    if EXIST "$(GSDLHOME)\runtime-src" call winMake.bat install gs2
    173184    if NOT EXIST "$(GSDLHOME)\runtime-src" call winMake.bat all
     
    175186
    176187    set DEBUG=
     188    set ENABLE_MG=
     189    set ENABLE_MGPP=
     190    set ENABLE_LUCENE=
    177191    if NOT EXIST "$(GSDLHOME)\bin\windows" mkdir "$(GSDLHOME)\bin\windows"
    178192    if NOT EXIST "$(GSDLHOME)\bin\java" mkdir "$(GSDLHOME)\bin\java"
Note: See TracChangeset for help on using the changeset viewer.