Changeset 23800


Ignore:
Timestamp:
2011-03-22T21:33:42+13:00 (13 years ago)
Author:
ak19
Message:

Added enable/disable-wvware flag to affected configure and Makefiles files in build-src, build-src/packages and top-level GS2, so we can turn off wvware compiling (such as for 64 bit Mac OS Snow Leopard Update 3 machines - MacOS 10.6.3 and over). By default wvware compilation is enabled.

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

Legend:

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

    r23356 r23800  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.67.
     3# Generated by GNU Autoconf 2.59.
    44#
    5 #
    6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    8 # Foundation, Inc.
    9 #
    10 #
     5# Copyright (C) 2003 Free Software Foundation, Inc.
    116# This configure script is free software; the Free Software Foundation
    127# gives unlimited permission to copy, distribute and modify it.
    13 ## -------------------- ##
    14 ## M4sh Initialization. ##
    15 ## -------------------- ##
    16 
    17 # Be more Bourne compatible
    18 DUALCASE=1; export DUALCASE # for MKS sh
    19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     8## --------------------- ##
     9## M4sh Initialization.  ##
     10## --------------------- ##
     11
     12# Be Bourne compatible
     13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    2014  emulate sh
    2115  NULLCMD=:
    22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    2317  # is contrary to our usage.  Disable this feature.
    2418  alias -g '${1+"$@"}'='"$@"'
    25   setopt NO_GLOB_SUBST
    26 else
    27   case `(set -o) 2>/dev/null` in #(
    28   *posix*) :
    29     set -o posix ;; #(
    30   *) :
    31      ;;
    32 esac
    33 fi
    34 
    35 
    36 as_nl='
    37 '
    38 export as_nl
    39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    43 # Prefer a ksh shell builtin over an external printf program on Solaris,
    44 # but without wasting forks for bash or zsh.
    45 if test -z "$BASH_VERSION$ZSH_VERSION" \
    46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    47   as_echo='print -r --'
    48   as_echo_n='print -rn --'
    49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    50   as_echo='printf %s\n'
    51   as_echo_n='printf %s'
    52 else
    53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    55     as_echo_n='/usr/ucb/echo -n'
    56   else
    57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    58     as_echo_n_body='eval
    59       arg=$1;
    60       case $arg in #(
    61       *"$as_nl"*)
    62     expr "X$arg" : "X\\(.*\\)$as_nl";
    63     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    64       esac;
    65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    66     '
    67     export as_echo_n_body
    68     as_echo_n='sh -c $as_echo_n_body as_echo'
    69   fi
    70   export as_echo_body
    71   as_echo='sh -c $as_echo_body as_echo'
    72 fi
    73 
    74 # The user is always right.
    75 if test "${PATH_SEPARATOR+set}" != set; then
    76   PATH_SEPARATOR=:
    77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    79       PATH_SEPARATOR=';'
    80   }
    81 fi
    82 
    83 
    84 # IFS
    85 # We need space, tab and new line, in precisely that order.  Quoting is
    86 # there to prevent editors from complaining about space-tab.
    87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    88 # splitting by setting IFS to empty value.)
    89 IFS=" ""    $as_nl"
    90 
    91 # Find who we are.  Look in the path if we contain no directory separator.
    92 case $0 in #((
    93   *[\\/]* ) as_myself=$0 ;;
    94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    95 for as_dir in $PATH
    96 do
    97   IFS=$as_save_IFS
    98   test -z "$as_dir" && as_dir=.
    99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    100   done
    101 IFS=$as_save_IFS
    102 
    103      ;;
    104 esac
    105 # We did not find ourselves, most probably we were run as `sh COMMAND'
    106 # in which case we are not to be found in the path.
    107 if test "x$as_myself" = x; then
    108   as_myself=$0
    109 fi
    110 if test ! -f "$as_myself"; then
    111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    112   exit 1
    113 fi
    114 
    115 # Unset variables that we do not need and which cause bugs (e.g. in
    116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    117 # suppresses any "Segmentation fault" message there.  '((' could
    118 # trigger a bug in pdksh 5.2.14.
    119 for as_var in BASH_ENV ENV MAIL MAILPATH
    120 do eval test x\${$as_var+set} = xset \
    121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    122 done
     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
    12334PS1='$ '
    12435PS2='> '
     
    12637
    12738# NLS nuisances.
    128 LC_ALL=C
    129 export LC_ALL
    130 LANGUAGE=C
    131 export LANGUAGE
    132 
    133 # CDPATH.
    134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    135 
    136 if test "x$CONFIG_SHELL" = x; then
    137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    138   emulate sh
    139   NULLCMD=:
    140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    141   # is contrary to our usage.  Disable this feature.
    142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    143   setopt NO_GLOB_SUBST
    144 else
    145   case \`(set -o) 2>/dev/null\` in #(
    146   *posix*) :
    147     set -o posix ;; #(
    148   *) :
    149      ;;
    150 esac
    151 fi
    152 "
    153   as_required="as_fn_return () { (exit \$1); }
    154 as_fn_success () { as_fn_return 0; }
    155 as_fn_failure () { as_fn_return 1; }
    156 as_fn_ret_success () { return 0; }
    157 as_fn_ret_failure () { return 1; }
    158 
    159 exitcode=0
    160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    165 
    166 else
    167   exitcode=1; echo positional parameters were not saved.
    168 fi
    169 test x\$exitcode = x0 || exit 1"
    170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    174 test \$(( 1 + 1 )) = 2 || exit 1"
    175   if (eval "$as_required") 2>/dev/null; then :
    176   as_have_required=yes
    177 else
    178   as_have_required=no
    179 fi
    180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    181 
    182 else
    183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    184 as_found=false
    185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     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
    18643do
    187   IFS=$as_save_IFS
    188   test -z "$as_dir" && as_dir=.
    189   as_found=:
    190   case $as_dir in #(
    191      /*)
    192        for as_base in sh bash ksh sh5; do
    193          # Try only shells that exist, to save several forks.
    194          as_shell=$as_dir/$as_base
    195          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    196             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    197   CONFIG_SHELL=$as_shell as_have_required=yes
    198            if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   break 2
    200 fi
    201 fi
    202        done;;
    203        esac
    204   as_found=false
     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
    20549done
    206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    207           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$SHELL as_have_required=yes
    209 fi; }
    210 IFS=$as_save_IFS
    211 
    212 
    213       if test "x$CONFIG_SHELL" != x; then :
    214   # We cannot yet assume a decent shell, so we have to provide a
    215     # neutralization value for shells without unset; and this also
    216     # works around shells that cannot unset nonexistent variables.
    217     BASH_ENV=/dev/null
    218     ENV=/dev/null
    219     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    220     export CONFIG_SHELL
    221     exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    222 fi
    223 
    224     if test x$as_have_required = xno; then :
    225   $as_echo "$0: This script requires a shell more modern than all"
    226   $as_echo "$0: the shells that I found on your system."
    227   if test x${ZSH_VERSION+set} = xset ; then
    228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    230   else
    231     $as_echo "$0: Please tell [email protected] about your system,
    232 $0: including any error possibly output before this
    233 $0: message. Then install a modern shell, or manually run
    234 $0: the script under such a shell if you do have one."
    235   fi
    236   exit 1
    237 fi
    238 fi
    239 fi
    240 SHELL=${CONFIG_SHELL-/bin/sh}
    241 export SHELL
    242 # Unset more variables known to interfere with behavior of common tools.
    243 CLICOLOR_FORCE= GREP_OPTIONS=
    244 unset CLICOLOR_FORCE GREP_OPTIONS
    245 
    246 ## --------------------- ##
    247 ## M4sh Shell Functions. ##
    248 ## --------------------- ##
    249 # as_fn_unset VAR
    250 # ---------------
    251 # Portably unset VAR.
    252 as_fn_unset ()
    253 {
    254   { eval $1=; unset $1;}
    255 }
    256 as_unset=as_fn_unset
    257 
    258 # as_fn_set_status STATUS
    259 # -----------------------
    260 # Set $? to STATUS, without forking.
    261 as_fn_set_status ()
    262 {
    263   return $1
    264 } # as_fn_set_status
    265 
    266 # as_fn_exit STATUS
    267 # -----------------
    268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    269 as_fn_exit ()
    270 {
    271   set +e
    272   as_fn_set_status $1
    273   exit $1
    274 } # as_fn_exit
    275 
    276 # as_fn_mkdir_p
    277 # -------------
    278 # Create "$as_dir" as a directory, including parents if necessary.
    279 as_fn_mkdir_p ()
    280 {
    281 
    282   case $as_dir in #(
    283   -*) as_dir=./$as_dir;;
    284   esac
    285   test -d "$as_dir" || eval $as_mkdir_p || {
    286     as_dirs=
    287     while :; do
    288       case $as_dir in #(
    289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    290       *) as_qdir=$as_dir;;
    291       esac
    292       as_dirs="'$as_qdir' $as_dirs"
    293       as_dir=`$as_dirname -- "$as_dir" ||
    294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    295      X"$as_dir" : 'X\(//\)[^/]' \| \
    296      X"$as_dir" : 'X\(//\)$' \| \
    297      X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    298 $as_echo X"$as_dir" |
    299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    300         s//\1/
    301         q
    302       }
    303       /^X\(\/\/\)[^/].*/{
    304         s//\1/
    305         q
    306       }
    307       /^X\(\/\/\)$/{
    308         s//\1/
    309         q
    310       }
    311       /^X\(\/\).*/{
    312         s//\1/
    313         q
    314       }
    315       s/.*/./; q'`
    316       test -d "$as_dir" && break
    317     done
    318     test -z "$as_dirs" || eval "mkdir $as_dirs"
    319   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    320 
    321 
    322 } # as_fn_mkdir_p
    323 # as_fn_append VAR VALUE
    324 # ----------------------
    325 # Append the text in VALUE to the end of the definition contained in VAR. Take
    326 # advantage of any shell optimizations that allow amortized linear growth over
    327 # repeated appends, instead of the typical quadratic growth present in naive
    328 # implementations.
    329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    330   eval 'as_fn_append ()
    331   {
    332     eval $1+=\$2
    333   }'
    334 else
    335   as_fn_append ()
    336   {
    337     eval $1=\$$1\$2
    338   }
    339 fi # as_fn_append
    340 
    341 # as_fn_arith ARG...
    342 # ------------------
    343 # Perform arithmetic evaluation on the ARGs, and store the result in the
    344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    345 # must be portable across $(()) and expr.
    346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    347   eval 'as_fn_arith ()
    348   {
    349     as_val=$(( $* ))
    350   }'
    351 else
    352   as_fn_arith ()
    353   {
    354     as_val=`expr "$@" || test $? -eq 1`
    355   }
    356 fi # as_fn_arith
    357 
    358 
    359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    360 # ----------------------------------------
    361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    363 # script with STATUS, using 1 if that was 0.
    364 as_fn_error ()
    365 {
    366   as_status=$1; test $as_status -eq 0 && as_status=1
    367   if test "$4"; then
    368     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    370   fi
    371   $as_echo "$as_me: error: $2" >&2
    372   as_fn_exit $as_status
    373 } # as_fn_error
    374 
    375 if expr a : '\(a\)' >/dev/null 2>&1 &&
    376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
     50
     51# Required to use basename.
     52if expr a : '\(a\)' >/dev/null 2>&1; then
    37753  as_expr=expr
    37854else
     
    38056fi
    38157
    382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    38359  as_basename=basename
    38460else
     
    38662fi
    38763
    388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    389   as_dirname=dirname
    390 else
    391   as_dirname=false
    392 fi
    393 
    394 as_me=`$as_basename -- "$0" ||
     64
     65# Name of the executable.
     66as_me=`$as_basename "$0" ||
    39567$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    39668     X"$0" : 'X\(//\)$' \| \
    397      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    398 $as_echo X/"$0" |
    399     sed '/^.*\/\([^/][^/]*\)\/*$/{
    400         s//\1/
    401         q
    402       }
    403       /^X\/\(\/\/\)$/{
    404         s//\1/
    405         q
    406       }
    407       /^X\/\(\/\).*/{
    408         s//\1/
    409         q
    410       }
    411       s/.*/./; q'`
    412 
     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.
    41379# Avoid depending upon Character Ranges.
    41480as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    41884as_cr_alnum=$as_cr_Letters$as_cr_digits
    41985
    420 
    421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    426   sed -n '
    427     p
    428     /[$]LINENO/=
    429   ' <$as_myself |
     86# The user is always right.
     87if test "${PATH_SEPARATOR+set}" != set; then
     88  echo "#! /bin/sh" >conf$$.sh
     89  echo  "exit 0"   >>conf$$.sh
     90  chmod +x conf$$.sh
     91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     92    PATH_SEPARATOR=';'
     93  else
     94    PATH_SEPARATOR=:
     95  fi
     96  rm -f conf$$.sh
     97fi
     98
     99
     100  as_lineno_1=$LINENO
     101  as_lineno_2=$LINENO
     102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     103  test "x$as_lineno_1" != "x$as_lineno_2" &&
     104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     105  # Find who we are.  Look in the path if we contain no path at all
     106  # relative or not.
     107  case $0 in
     108    *[\\/]* ) as_myself=$0 ;;
     109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     110for as_dir in $PATH
     111do
     112  IFS=$as_save_IFS
     113  test -z "$as_dir" && as_dir=.
     114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     115done
     116
     117       ;;
     118  esac
     119  # We did not find ourselves, most probably we were run as `sh COMMAND'
     120  # in which case we are not to be found in the path.
     121  if test "x$as_myself" = x; then
     122    as_myself=$0
     123  fi
     124  if test ! -f "$as_myself"; then
     125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
     126   { (exit 1); exit 1; }; }
     127  fi
     128  case $CONFIG_SHELL in
     129  '')
     130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     132do
     133  IFS=$as_save_IFS
     134  test -z "$as_dir" && as_dir=.
     135  for as_base in sh bash ksh sh5; do
     136     case $as_dir in
     137     /*)
     138       if ("$as_dir/$as_base" -c '
     139  as_lineno_1=$LINENO
     140  as_lineno_2=$LINENO
     141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     142  test "x$as_lineno_1" != "x$as_lineno_2" &&
     143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     144         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     145         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     146         CONFIG_SHELL=$as_dir/$as_base
     147         export CONFIG_SHELL
     148         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     149       fi;;
     150     esac
     151       done
     152done
     153;;
     154  esac
     155
     156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     157  # uniformly replaced by the line number.  The first 'sed' inserts a
     158  # line-number line before each line; the second 'sed' does the real
     159  # work.  The second script uses 'N' to pair each line-number line
     160  # with the numbered line, and appends trailing '-' during
     161  # substitution so that $LINENO is not a special case at line end.
     162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     164  sed '=' <$as_myself |
    430165    sed '
    431       s/[$]LINENO.*/&-/
    432       t lineno
    433       b
    434       :lineno
    435166      N
    436       :loop
    437       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,
    438170      t loop
    439       s/-\n.*//
     171      s,-$,,
     172      s,^['$as_cr_digits']*\n,,
    440173    ' >$as_me.lineno &&
    441   chmod +x "$as_me.lineno" ||
    442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     174  chmod +x $as_me.lineno ||
     175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     176   { (exit 1); exit 1; }; }
    443177
    444178  # Don't try to exec as it changes $[0], causing all sort of problems
    445179  # (the dirname of $[0] is not the place where we might find the
    446   # original and so on.  Autoconf is especially sensitive to this).
    447   . "./$as_me.lineno"
     180  # original and so on.  Autoconf is especially sensible to this).
     181  . ./$as_me.lineno
    448182  # Exit status is that of the last command.
    449183  exit
    450184}
    451185
    452 ECHO_C= ECHO_N= ECHO_T=
    453 case `echo -n x` in #(((((
    454 -n*)
    455   case `echo 'xy\c'` in
    456   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
    457   xy)  ECHO_C='\c';;
    458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    459        ECHO_T=' ';;
    460   esac;;
    461 *)
    462   ECHO_N='-n';;
     186
     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= ;;
    463192esac
    464193
     194if expr a : '\(a\)' >/dev/null 2>&1; then
     195  as_expr=expr
     196else
     197  as_expr=false
     198fi
     199
    465200rm -f conf$$ conf$$.exe conf$$.file
    466 if test -d conf$$.dir; then
    467   rm -f conf$$.dir/conf$$.file
    468 else
    469   rm -f conf$$.dir
    470   mkdir conf$$.dir 2>/dev/null
    471 fi
    472 if (echo >conf$$.file) 2>/dev/null; then
    473   if ln -s conf$$.file conf$$ 2>/dev/null; then
     201echo >conf$$.file
     202if ln -s conf$$.file conf$$ 2>/dev/null; then
     203  # We could just check for DJGPP; but this test a) works b) is more generic
     204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     205  if test -f conf$$.exe; then
     206    # Don't use ln at all; we don't have any links
     207    as_ln_s='cp -p'
     208  else
    474209    as_ln_s='ln -s'
    475     # ... but there are two gotchas:
    476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    478     # In both cases, we have to default to `cp -p'.
    479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    480       as_ln_s='cp -p'
    481   elif ln conf$$.file conf$$ 2>/dev/null; then
    482     as_ln_s=ln
    483   else
    484     as_ln_s='cp -p'
    485210  fi
     211elif ln conf$$.file conf$$ 2>/dev/null; then
     212  as_ln_s=ln
    486213else
    487214  as_ln_s='cp -p'
    488215fi
    489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    490 rmdir conf$$.dir 2>/dev/null
     216rm -f conf$$ conf$$.exe conf$$.file
    491217
    492218if mkdir -p . 2>/dev/null; then
    493   as_mkdir_p='mkdir -p "$as_dir"'
     219  as_mkdir_p=:
    494220else
    495221  test -d ./-p && rmdir ./-p
     
    497223fi
    498224
    499 if test -x / >/dev/null 2>&1; then
    500   as_test_x='test -x'
    501 else
    502   if ls -dL / >/dev/null 2>&1; then
    503     as_ls_L_option=L
    504   else
    505     as_ls_L_option=
    506   fi
    507   as_test_x='
    508     eval sh -c '\''
    509       if test -d "$1"; then
    510     test -d "$1/.";
    511       else
    512     case $1 in #(
    513     -*)set "./$1";;
    514     esac;
    515     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    516     ???[sx]*):;;*)false;;esac;fi
    517     '\'' sh
    518   '
    519 fi
    520 as_executable_p=$as_test_x
     225as_executable_p="test -f"
    521226
    522227# Sed expression to map a string onto a valid CPP name.
     
    527232
    528233
    529 test -n "$DJDIR" || exec 7<&0 </dev/null
    530 exec 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
    531243
    532244# Name of the host.
    533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
     245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    534246# so uname gets run too.
    535247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     248
     249exec 6>&1
    536250
    537251#
     
    539253#
    540254ac_default_prefix=/usr/local
    541 ac_clean_files=
    542255ac_config_libobj_dir=.
    543 LIBOBJS=
    544256cross_compiling=no
    545257subdirs=
    546258MFLAGS=
    547259MAKEFLAGS=
     260SHELL=${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}
    548266
    549267# Identity of this package.
     
    553271PACKAGE_STRING=
    554272PACKAGE_BUGREPORT=
    555 PACKAGE_URL=
    556273
    557274# Factoring default headers for most tests.
    558275ac_includes_default="\
    559276#include <stdio.h>
    560 #ifdef HAVE_SYS_TYPES_H
     277#if HAVE_SYS_TYPES_H
    561278# include <sys/types.h>
    562279#endif
    563 #ifdef HAVE_SYS_STAT_H
     280#if HAVE_SYS_STAT_H
    564281# include <sys/stat.h>
    565282#endif
    566 #ifdef STDC_HEADERS
     283#if STDC_HEADERS
    567284# include <stdlib.h>
    568285# include <stddef.h>
    569286#else
    570 # ifdef HAVE_STDLIB_H
     287# if HAVE_STDLIB_H
    571288#  include <stdlib.h>
    572289# endif
    573290#endif
    574 #ifdef HAVE_STRING_H
    575 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     291#if HAVE_STRING_H
     292# if !STDC_HEADERS && HAVE_MEMORY_H
    576293#  include <memory.h>
    577294# endif
    578295# include <string.h>
    579296#endif
    580 #ifdef HAVE_STRINGS_H
     297#if HAVE_STRINGS_H
    581298# include <strings.h>
    582299#endif
    583 #ifdef HAVE_INTTYPES_H
     300#if HAVE_INTTYPES_H
    584301# include <inttypes.h>
     302#else
     303# if HAVE_STDINT_H
     304#  include <stdint.h>
     305# endif
    585306#endif
    586 #ifdef HAVE_STDINT_H
    587 # include <stdint.h>
    588 #endif
    589 #ifdef HAVE_UNISTD_H
     307#if HAVE_UNISTD_H
    590308# include <unistd.h>
    591309#endif"
    592310
    593 enable_option_checking=no
    594 ac_subst_vars='LTLIBOBJS
    595 subdirs
    596 MODULEDIRS
    597 gsdlos
    598 STATIC
    599 LIBOBJS
    600 ALLOCA
    601 ANSI2KNR
    602 U
    603 EGREP
    604 GREP
    605 CPP
    606 MICO_VER
    607 COMPAT32BITFLAGS
    608 RANLIB
    609 SET_MAKE
    610 LN_S
    611 INSTALL_DATA
    612 INSTALL_SCRIPT
    613 INSTALL_PROGRAM
    614 target_os
    615 target_vendor
    616 target_cpu
    617 target
    618 host_os
    619 host_vendor
    620 host_cpu
    621 host
    622 build_os
    623 build_vendor
    624 build_cpu
    625 build
    626 YFLAGS
    627 YACC
    628 AWK
    629 uudecode
    630 JAVA
    631 JAVACFLAGS
    632 JAVAC
    633 ac_ct_CXX
    634 CXXFLAGS
    635 CXX
    636 OBJEXT
    637 EXEEXT
    638 ac_ct_CC
    639 CPPFLAGS
    640 CC
    641 CFLAGS
    642 LDFLAGS
    643 USE_SQLITE
    644 ENABLE_ACCENTFOLD
    645 USE_GDBM
    646 USE_JDBM
    647 ENABLE_JAVA
    648 USE_YAZ
    649 USE_Z3950
    650 MICO_DIR
    651 USE_CORBA
    652 USE_LANGACTION
    653 USE_FASTCGI
    654 VERSION
    655 PACKAGE
    656 target_alias
    657 host_alias
    658 build_alias
    659 LIBS
    660 ECHO_T
    661 ECHO_N
    662 ECHO_C
    663 DEFS
    664 mandir
    665 localedir
    666 libdir
    667 psdir
    668 pdfdir
    669 dvidir
    670 htmldir
    671 infodir
    672 docdir
    673 oldincludedir
    674 includedir
    675 localstatedir
    676 sharedstatedir
    677 sysconfdir
    678 datadir
    679 datarootdir
    680 libexecdir
    681 sbindir
    682 bindir
    683 program_transform_name
    684 prefix
    685 exec_prefix
    686 PACKAGE_URL
    687 PACKAGE_BUGREPORT
    688 PACKAGE_STRING
    689 PACKAGE_VERSION
    690 PACKAGE_TARNAME
    691 PACKAGE_NAME
    692 PATH_SEPARATOR
    693 SHELL'
     311ac_subdirs_all="$ac_subdirs_all packages"
     312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_JAVA USE_WVWARE USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX JAVAC JAVACFLAGS JAVA uudecode 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'
    694313ac_subst_files=''
    695 ac_user_opts='
    696 enable_option_checking
    697 enable_corba
    698 with_micodir
    699 enable_z3950
    700 enable_yaz
    701 enable_java
    702 enable_jdbm
    703 enable_gdbm
    704 enable_accentfold
    705 enable_sqlite
    706 with_dmalloc
    707 with_regex
    708 '
    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'
    724314
    725315# Initialize some variables set by options.
    726316ac_init_help=
    727317ac_init_version=false
    728 ac_unrecognized_opts=
    729 ac_unrecognized_sep=
    730318# The variables have the same names as the options, with
    731319# dashes changed to underlines.
     
    750338# by default will actually change.
    751339# Use braces instead of parens because sh, perl, etc. also accept them.
    752 # (The list follows the same order as the GNU Coding Standards.)
    753340bindir='${exec_prefix}/bin'
    754341sbindir='${exec_prefix}/sbin'
    755342libexecdir='${exec_prefix}/libexec'
    756 datarootdir='${prefix}/share'
    757 datadir='${datarootdir}'
     343datadir='${prefix}/share'
    758344sysconfdir='${prefix}/etc'
    759345sharedstatedir='${prefix}/com'
    760346localstatedir='${prefix}/var'
     347libdir='${exec_prefix}/lib'
    761348includedir='${prefix}/include'
    762349oldincludedir='/usr/include'
    763 docdir='${datarootdir}/doc/${PACKAGE}'
    764 infodir='${datarootdir}/info'
    765 htmldir='${docdir}'
    766 dvidir='${docdir}'
    767 pdfdir='${docdir}'
    768 psdir='${docdir}'
    769 libdir='${exec_prefix}/lib'
    770 localedir='${datarootdir}/locale'
    771 mandir='${datarootdir}/man'
     350infodir='${prefix}/info'
     351mandir='${prefix}/man'
    772352
    773353ac_prev=
    774 ac_dashdash=
    775354for ac_option
    776355do
    777356  # If the previous option needs an argument, assign it.
    778357  if test -n "$ac_prev"; then
    779     eval $ac_prev=\$ac_option
     358    eval "$ac_prev=\$ac_option"
    780359    ac_prev=
    781360    continue
    782361  fi
    783362
     363  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     364
     365  # Accept the important Cygnus configure options, so we can diagnose typos.
     366
    784367  case $ac_option in
    785   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    786   *=)   ac_optarg= ;;
    787   *)    ac_optarg=yes ;;
    788   esac
    789 
    790   # Accept the important Cygnus configure options, so we can diagnose typos.
    791 
    792   case $ac_dashdash$ac_option in
    793   --)
    794     ac_dashdash=yes ;;
    795368
    796369  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    814387    cache_file=config.cache ;;
    815388
    816   -datadir | --datadir | --datadi | --datad)
     389  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    817390    ac_prev=datadir ;;
    818   -datadir=* | --datadir=* | --datadi=* | --datad=*)
     391  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
     392  | --da=*)
    819393    datadir=$ac_optarg ;;
    820394
    821   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    822   | --dataroo | --dataro | --datar)
    823     ac_prev=datarootdir ;;
    824   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    825   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    826     datarootdir=$ac_optarg ;;
    827 
    828395  -disable-* | --disable-*)
    829     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    830397    # Reject names that are not valid shell variable names.
    831     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    832       as_fn_error $? "invalid feature name: $ac_useropt"
    833     ac_useropt_orig=$ac_useropt
    834     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    835     case $ac_user_opts in
    836       *"
    837 "enable_$ac_useropt"
    838 "*) ;;
    839       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    840      ac_unrecognized_sep=', ';;
     398    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     400   { (exit 1); exit 1; }; }
     401    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     402    eval "enable_$ac_feature=no" ;;
     403
     404  -enable-* | --enable-*)
     405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     406    # Reject names that are not valid shell variable names.
     407    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     409   { (exit 1); exit 1; }; }
     410    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     411    case $ac_option in
     412      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     413      *) ac_optarg=yes ;;
    841414    esac
    842     eval enable_$ac_useropt=no ;;
    843 
    844   -docdir | --docdir | --docdi | --doc | --do)
    845     ac_prev=docdir ;;
    846   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    847     docdir=$ac_optarg ;;
    848 
    849   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    850     ac_prev=dvidir ;;
    851   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    852     dvidir=$ac_optarg ;;
    853 
    854   -enable-* | --enable-*)
    855     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    856     # Reject names that are not valid shell variable names.
    857     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    858       as_fn_error $? "invalid feature name: $ac_useropt"
    859     ac_useropt_orig=$ac_useropt
    860     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    861     case $ac_user_opts in
    862       *"
    863 "enable_$ac_useropt"
    864 "*) ;;
    865       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    866      ac_unrecognized_sep=', ';;
    867     esac
    868     eval enable_$ac_useropt=\$ac_optarg ;;
     415    eval "enable_$ac_feature='$ac_optarg'" ;;
    869416
    870417  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    893440    host_alias=$ac_optarg ;;
    894441
    895   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    896     ac_prev=htmldir ;;
    897   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    898   | --ht=*)
    899     htmldir=$ac_optarg ;;
    900 
    901442  -includedir | --includedir | --includedi | --included | --include \
    902443  | --includ | --inclu | --incl | --inc)
     
    923464    libexecdir=$ac_optarg ;;
    924465
    925   -localedir | --localedir | --localedi | --localed | --locale)
    926     ac_prev=localedir ;;
    927   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    928     localedir=$ac_optarg ;;
    929 
    930466  -localstatedir | --localstatedir | --localstatedi | --localstated \
    931   | --localstate | --localstat | --localsta | --localst | --locals)
     467  | --localstate | --localstat | --localsta | --localst \
     468  | --locals | --local | --loca | --loc | --lo)
    932469    ac_prev=localstatedir ;;
    933470  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    934   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     471  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
     472  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    935473    localstatedir=$ac_optarg ;;
    936474
     
    997535    program_transform_name=$ac_optarg ;;
    998536
    999   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    1000     ac_prev=pdfdir ;;
    1001   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    1002     pdfdir=$ac_optarg ;;
    1003 
    1004   -psdir | --psdir | --psdi | --psd | --ps)
    1005     ac_prev=psdir ;;
    1006   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    1007     psdir=$ac_optarg ;;
    1008 
    1009537  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    1010538  | -silent | --silent | --silen | --sile | --sil)
     
    1057585
    1058586  -with-* | --with-*)
    1059     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    1060588    # Reject names that are not valid shell variable names.
    1061     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1062       as_fn_error $? "invalid package name: $ac_useropt"
    1063     ac_useropt_orig=$ac_useropt
    1064     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    1065     case $ac_user_opts in
    1066       *"
    1067 "with_$ac_useropt"
    1068 "*) ;;
    1069       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
    1070      ac_unrecognized_sep=', ';;
     589    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     590      { echo "$as_me: error: invalid package name: $ac_package" >&2
     591   { (exit 1); exit 1; }; }
     592    ac_package=`echo $ac_package| sed 's/-/_/g'`
     593    case $ac_option in
     594      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     595      *) ac_optarg=yes ;;
    1071596    esac
    1072     eval with_$ac_useropt=\$ac_optarg ;;
     597    eval "with_$ac_package='$ac_optarg'" ;;
    1073598
    1074599  -without-* | --without-*)
    1075     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    1076601    # Reject names that are not valid shell variable names.
    1077     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1078       as_fn_error $? "invalid package name: $ac_useropt"
    1079     ac_useropt_orig=$ac_useropt
    1080     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    1081     case $ac_user_opts in
    1082       *"
    1083 "with_$ac_useropt"
    1084 "*) ;;
    1085       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
    1086      ac_unrecognized_sep=', ';;
    1087     esac
    1088     eval with_$ac_useropt=no ;;
     602    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     603      { echo "$as_me: error: invalid package name: $ac_package" >&2
     604   { (exit 1); exit 1; }; }
     605    ac_package=`echo $ac_package | sed 's/-/_/g'`
     606    eval "with_$ac_package=no" ;;
    1089607
    1090608  --x)
     
    1106624    x_libraries=$ac_optarg ;;
    1107625
    1108   -*) as_fn_error $? "unrecognized option: \`$ac_option'
    1109 Try \`$0 --help' for more information"
     626  -*) { echo "$as_me: error: unrecognized option: $ac_option
     627Try \`$0 --help' for more information." >&2
     628   { (exit 1); exit 1; }; }
    1110629    ;;
    1111630
     
    1113632    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    1114633    # Reject names that are not valid shell variable names.
    1115     case $ac_envvar in #(
    1116       '' | [0-9]* | *[!_$as_cr_alnum]* )
    1117       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    1118     esac
    1119     eval $ac_envvar=\$ac_optarg
     634    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     636   { (exit 1); exit 1; }; }
     637    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     638    eval "$ac_envvar='$ac_optarg'"
    1120639    export $ac_envvar ;;
    1121640
    1122641  *)
    1123642    # FIXME: should be removed in autoconf 3.0.
    1124     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     643    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    1125644    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1126       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     645      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1127646    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    1128647    ;;
     
    1133652if test -n "$ac_prev"; then
    1134653  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1135   as_fn_error $? "missing argument to $ac_option"
    1136 fi
    1137 
    1138 if test -n "$ac_unrecognized_opts"; then
    1139   case $enable_option_checking in
    1140     no) ;;
    1141     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    1142     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     654  { echo "$as_me: error: missing argument to $ac_option" >&2
     655   { (exit 1); exit 1; }; }
     656fi
     657
     658# Be sure to have absolute paths.
     659for ac_var in exec_prefix prefix
     660do
     661  eval ac_val=$`echo $ac_var`
     662  case $ac_val in
     663    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     664    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     665   { (exit 1); exit 1; }; };;
    1143666  esac
    1144 fi
    1145 
    1146 # Check all directory arguments for consistency.
    1147 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    1148         datadir sysconfdir sharedstatedir localstatedir includedir \
    1149         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1150         libdir localedir mandir
     667done
     668
     669# Be sure to have absolute paths.
     670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     671          localstatedir libdir includedir oldincludedir infodir mandir
    1151672do
    1152   eval ac_val=\$$ac_var
    1153   # Remove trailing slashes.
     673  eval ac_val=$`echo $ac_var`
    1154674  case $ac_val in
    1155     */ )
    1156       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
    1157       eval $ac_var=\$ac_val;;
     675    [\\/$]* | ?:[\\/]* ) ;;
     676    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     677   { (exit 1); exit 1; }; };;
    1158678  esac
    1159   # Be sure to have absolute directory names.
    1160   case $ac_val in
    1161     [\\/$]* | ?:[\\/]* )  continue;;
    1162     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    1163   esac
    1164   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    1165679done
    1166680
     
    1176690  if test "x$build_alias" = x; then
    1177691    cross_compiling=maybe
    1178     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1179     If a cross compiler is detected then cross compile mode will be used" >&2
     692    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     693    If a cross compiler is detected then cross compile mode will be used." >&2
    1180694  elif test "x$build_alias" != "x$host_alias"; then
    1181695    cross_compiling=yes
     
    1189703
    1190704
    1191 ac_pwd=`pwd` && test -n "$ac_pwd" &&
    1192 ac_ls_di=`ls -di .` &&
    1193 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1194   as_fn_error $? "working directory cannot be determined"
    1195 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1196   as_fn_error $? "pwd does not report name of working directory"
    1197 
    1198 
    1199705# Find the source files, if location was not specified.
    1200706if test -z "$srcdir"; then
    1201707  ac_srcdir_defaulted=yes
    1202   # Try the directory containing this script, then the parent directory.
    1203   ac_confdir=`$as_dirname -- "$as_myself" ||
    1204 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1205      X"$as_myself" : 'X\(//\)[^/]' \| \
    1206      X"$as_myself" : 'X\(//\)$' \| \
    1207      X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
    1208 $as_echo X"$as_myself" |
    1209     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1210         s//\1/
    1211         q
    1212       }
    1213       /^X\(\/\/\)[^/].*/{
    1214         s//\1/
    1215         q
    1216       }
    1217       /^X\(\/\/\)$/{
    1218         s//\1/
    1219         q
    1220       }
    1221       /^X\(\/\).*/{
    1222         s//\1/
    1223         q
    1224       }
    1225       s/.*/./; q'`
     708  # Try the directory containing this script, then its parent.
     709  ac_confdir=`(dirname "$0") 2>/dev/null ||
     710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     711     X"$0" : 'X\(//\)[^/]' \| \
     712     X"$0" : 'X\(//\)$' \| \
     713     X"$0" : 'X\(/\)' \| \
     714     .     : '\(.\)' 2>/dev/null ||
     715echo X"$0" |
     716    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     717      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     718      /^X\(\/\/\)$/{ s//\1/; q; }
     719      /^X\(\/\).*/{ s//\1/; q; }
     720      s/.*/./; q'`
    1226721  srcdir=$ac_confdir
    1227   if test ! -r "$srcdir/$ac_unique_file"; then
     722  if test ! -r $srcdir/$ac_unique_file; then
    1228723    srcdir=..
    1229724  fi
     
    1231726  ac_srcdir_defaulted=no
    1232727fi
    1233 if test ! -r "$srcdir/$ac_unique_file"; then
    1234   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1235   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    1236 fi
    1237 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    1238 ac_abs_confdir=`(
    1239     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    1240     pwd)`
    1241 # When building in place, set srcdir=.
    1242 if test "$ac_abs_confdir" = "$ac_pwd"; then
    1243   srcdir=.
    1244 fi
    1245 # Remove unnecessary trailing slashes from srcdir.
    1246 # Double slashes in file names in object file debugging info
    1247 # mess up M-x gdb in Emacs.
    1248 case $srcdir in
    1249 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
    1250 esac
    1251 for ac_var in $ac_precious_vars; do
    1252   eval ac_env_${ac_var}_set=\${${ac_var}+set}
    1253   eval ac_env_${ac_var}_value=\$${ac_var}
    1254   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
    1255   eval ac_cv_env_${ac_var}_value=\$${ac_var}
    1256 done
     728if test ! -r $srcdir/$ac_unique_file; then
     729  if test "$ac_srcdir_defaulted" = yes; then
     730    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     731   { (exit 1); exit 1; }; }
     732  else
     733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     734   { (exit 1); exit 1; }; }
     735  fi
     736fi
     737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     738  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     739   { (exit 1); exit 1; }; }
     740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     741ac_env_build_alias_set=${build_alias+set}
     742ac_env_build_alias_value=$build_alias
     743ac_cv_env_build_alias_set=${build_alias+set}
     744ac_cv_env_build_alias_value=$build_alias
     745ac_env_host_alias_set=${host_alias+set}
     746ac_env_host_alias_value=$host_alias
     747ac_cv_env_host_alias_set=${host_alias+set}
     748ac_cv_env_host_alias_value=$host_alias
     749ac_env_target_alias_set=${target_alias+set}
     750ac_env_target_alias_value=$target_alias
     751ac_cv_env_target_alias_set=${target_alias+set}
     752ac_cv_env_target_alias_value=$target_alias
     753ac_env_CC_set=${CC+set}
     754ac_env_CC_value=$CC
     755ac_cv_env_CC_set=${CC+set}
     756ac_cv_env_CC_value=$CC
     757ac_env_CFLAGS_set=${CFLAGS+set}
     758ac_env_CFLAGS_value=$CFLAGS
     759ac_cv_env_CFLAGS_set=${CFLAGS+set}
     760ac_cv_env_CFLAGS_value=$CFLAGS
     761ac_env_LDFLAGS_set=${LDFLAGS+set}
     762ac_env_LDFLAGS_value=$LDFLAGS
     763ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     764ac_cv_env_LDFLAGS_value=$LDFLAGS
     765ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     766ac_env_CPPFLAGS_value=$CPPFLAGS
     767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     768ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     769ac_env_CXX_set=${CXX+set}
     770ac_env_CXX_value=$CXX
     771ac_cv_env_CXX_set=${CXX+set}
     772ac_cv_env_CXX_value=$CXX
     773ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     774ac_env_CXXFLAGS_value=$CXXFLAGS
     775ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     776ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     777ac_env_CPP_set=${CPP+set}
     778ac_env_CPP_value=$CPP
     779ac_cv_env_CPP_set=${CPP+set}
     780ac_cv_env_CPP_value=$CPP
    1257781
    1258782#
     
    1277801      --help=recursive    display the short help of all the included packages
    1278802  -V, --version           display version information and exit
    1279   -q, --quiet, --silent   do not print \`checking ...' messages
     803  -q, --quiet, --silent   do not print \`checking...' messages
    1280804      --cache-file=FILE   cache test results in FILE [disabled]
    1281805  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    1283807      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    1284808
     809_ACEOF
     810
     811  cat <<_ACEOF
    1285812Installation directories:
    1286813  --prefix=PREFIX         install architecture-independent files in PREFIX
    1287                           [$ac_default_prefix]
     814              [$ac_default_prefix]
    1288815  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1289                           [PREFIX]
     816              [PREFIX]
    1290817
    1291818By default, \`make install' will install all the files in
     
    1297824
    1298825Fine tuning of the installation directories:
    1299   --bindir=DIR            user executables [EPREFIX/bin]
    1300   --sbindir=DIR           system admin executables [EPREFIX/sbin]
    1301   --libexecdir=DIR        program executables [EPREFIX/libexec]
    1302   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
    1303   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    1304   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
    1305   --libdir=DIR            object code libraries [EPREFIX/lib]
    1306   --includedir=DIR        C header files [PREFIX/include]
    1307   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
    1308   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
    1309   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
    1310   --infodir=DIR           info documentation [DATAROOTDIR/info]
    1311   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
    1312   --mandir=DIR            man documentation [DATAROOTDIR/man]
    1313   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
    1314   --htmldir=DIR           html documentation [DOCDIR]
    1315   --dvidir=DIR            dvi documentation [DOCDIR]
    1316   --pdfdir=DIR            pdf documentation [DOCDIR]
    1317   --psdir=DIR             ps documentation [DOCDIR]
     826  --bindir=DIR           user executables [EPREFIX/bin]
     827  --sbindir=DIR          system admin executables [EPREFIX/sbin]
     828  --libexecdir=DIR       program executables [EPREFIX/libexec]
     829  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
     830  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
     831  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     832  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
     833  --libdir=DIR           object code libraries [EPREFIX/lib]
     834  --includedir=DIR       C header files [PREFIX/include]
     835  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
     836  --infodir=DIR          info documentation [PREFIX/info]
     837  --mandir=DIR           man documentation [PREFIX/man]
    1318838_ACEOF
    1319839
     
    1332852
    1333853Optional Features:
    1334   --disable-option-checking  ignore unrecognized --enable/--with options
    1335854  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    1336855  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    1339858  --disable-yaz           Disable YAZ compilation
    1340859  --disable-java          Disable Java compilation
     860  --disable-wvware          Disable wvWare compilation
    1341861  --disable-jdbm          Disable JDBM compilation
    1342862  --disable-gdbm          Disable GDBM compilation
     
    1357877  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    1358878              nonstandard directory <lib dir>
    1359   LIBS        libraries to pass to the linker, e.g. -l<library>
    1360   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    1361               you have headers in a nonstandard directory <include dir>
     879  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     880              headers in a nonstandard directory <include dir>
    1362881  CXX         C++ compiler command
    1363882  CXXFLAGS    C++ compiler flags
    1364   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
    1365               the first program found out of: `bison -y', `byacc', `yacc'.
    1366   YFLAGS      The list of arguments that will be passed by default to $YACC.
    1367               This script will default YFLAGS to the empty string to avoid a
    1368               default value of `-d' given by some make applications.
    1369883  CPP         C preprocessor
    1370884
     
    1372886it to find libraries and programs with nonstandard names/locations.
    1373887
    1374 Report bugs to the package provider.
    1375 _ACEOF
    1376 ac_status=$?
     888_ACEOF
    1377889fi
    1378890
    1379891if test "$ac_init_help" = "recursive"; then
    1380892  # If there are subdirs, report their specific --help.
     893  ac_popdir=`pwd`
    1381894  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1382     test -d "$ac_dir" ||
    1383       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
    1384       continue
     895    test -d $ac_dir || continue
    1385896    ac_builddir=.
    1386897
    1387 case "$ac_dir" in
    1388 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     898if test "$ac_dir" != .; then
     899  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     900  # A "../" for each directory in $ac_dir_suffix.
     901  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     902else
     903  ac_dir_suffix= ac_top_builddir=
     904fi
     905
     906case $srcdir in
     907  .)  # No --srcdir option.  We are building in place.
     908    ac_srcdir=.
     909    if test -z "$ac_top_builddir"; then
     910       ac_top_srcdir=.
     911    else
     912       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     913    fi ;;
     914  [\\/]* | ?:[\\/]* )  # Absolute path.
     915    ac_srcdir=$srcdir$ac_dir_suffix;
     916    ac_top_srcdir=$srcdir ;;
     917  *) # Relative path.
     918    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     919    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     920esac
     921
     922# Do not use `cd foo && pwd` to compute absolute paths, because
     923# the directories may not exist.
     924case `pwd` in
     925.) ac_abs_builddir="$ac_dir";;
    1389926*)
    1390   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    1391   # A ".." for each directory in $ac_dir_suffix.
    1392   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    1393   case $ac_top_builddir_sub in
    1394   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1395   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
    1396   esac ;;
     927  case "$ac_dir" in
     928  .) ac_abs_builddir=`pwd`;;
     929  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     930  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     931  esac;;
    1397932esac
    1398 ac_abs_top_builddir=$ac_pwd
    1399 ac_abs_builddir=$ac_pwd$ac_dir_suffix
    1400 # for backward compatibility:
    1401 ac_top_builddir=$ac_top_build_prefix
    1402 
    1403 case $srcdir in
    1404   .)  # We are building in place.
    1405     ac_srcdir=.
    1406     ac_top_srcdir=$ac_top_builddir_sub
    1407     ac_abs_top_srcdir=$ac_pwd ;;
    1408   [\\/]* | ?:[\\/]* )  # Absolute name.
    1409     ac_srcdir=$srcdir$ac_dir_suffix;
    1410     ac_top_srcdir=$srcdir
    1411     ac_abs_top_srcdir=$srcdir ;;
    1412   *) # Relative name.
    1413     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    1414     ac_top_srcdir=$ac_top_build_prefix$srcdir
    1415     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     933case $ac_abs_builddir in
     934.) ac_abs_top_builddir=${ac_top_builddir}.;;
     935*)
     936  case ${ac_top_builddir}. in
     937  .) ac_abs_top_builddir=$ac_abs_builddir;;
     938  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     939  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     940  esac;;
    1416941esac
    1417 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    1418 
    1419     cd "$ac_dir" || { ac_status=$?; continue; }
    1420     # Check for guested configure.
    1421     if test -f "$ac_srcdir/configure.gnu"; then
    1422       echo &&
    1423       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    1424     elif test -f "$ac_srcdir/configure"; then
    1425       echo &&
    1426       $SHELL "$ac_srcdir/configure" --help=recursive
     942case $ac_abs_builddir in
     943.) ac_abs_srcdir=$ac_srcdir;;
     944*)
     945  case $ac_srcdir in
     946  .) ac_abs_srcdir=$ac_abs_builddir;;
     947  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     948  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     949  esac;;
     950esac
     951case $ac_abs_builddir in
     952.) ac_abs_top_srcdir=$ac_top_srcdir;;
     953*)
     954  case $ac_top_srcdir in
     955  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     956  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     957  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     958  esac;;
     959esac
     960
     961    cd $ac_dir
     962    # Check for guested configure; otherwise get Cygnus style configure.
     963    if test -f $ac_srcdir/configure.gnu; then
     964      echo
     965      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     966    elif test -f $ac_srcdir/configure; then
     967      echo
     968      $SHELL $ac_srcdir/configure  --help=recursive
     969    elif test -f $ac_srcdir/configure.ac ||
     970       test -f $ac_srcdir/configure.in; then
     971      echo
     972      $ac_configure --help
    1427973    else
    1428       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1429     fi || ac_status=$?
    1430     cd "$ac_pwd" || { ac_status=$?; break; }
     974      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     975    fi
     976    cd $ac_popdir
    1431977  done
    1432978fi
    1433979
    1434 test -n "$ac_init_help" && exit $ac_status
     980test -n "$ac_init_help" && exit 0
    1435981if $ac_init_version; then
    1436982  cat <<\_ACEOF
    1437 configure
    1438 generated by GNU Autoconf 2.67
    1439 
    1440 Copyright (C) 2010 Free Software Foundation, Inc.
     983
     984Copyright (C) 2003 Free Software Foundation, Inc.
    1441985This configure script is free software; the Free Software Foundation
    1442986gives unlimited permission to copy, distribute and modify it.
    1443987_ACEOF
    1444   exit
    1445 fi
    1446 
    1447 ## ------------------------ ##
    1448 ## Autoconf initialization. ##
    1449 ## ------------------------ ##
    1450 
    1451 # ac_fn_c_try_compile LINENO
    1452 # --------------------------
    1453 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1454 ac_fn_c_try_compile ()
    1455 {
    1456   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1457   rm -f conftest.$ac_objext
    1458   if { { ac_try="$ac_compile"
    1459 case "(($ac_try" in
    1460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1461   *) ac_try_echo=$ac_try;;
    1462 esac
    1463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1464 $as_echo "$ac_try_echo"; } >&5
    1465   (eval "$ac_compile") 2>conftest.err
    1466   ac_status=$?
    1467   if test -s conftest.err; then
    1468     grep -v '^ *+' conftest.err >conftest.er1
    1469     cat conftest.er1 >&5
    1470     mv -f conftest.er1 conftest.err
    1471   fi
    1472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1473   test $ac_status = 0; } && {
    1474      test -z "$ac_c_werror_flag" ||
    1475      test ! -s conftest.err
    1476        } && test -s conftest.$ac_objext; then :
    1477   ac_retval=0
    1478 else
    1479   $as_echo "$as_me: failed program was:" >&5
    1480 sed 's/^/| /' conftest.$ac_ext >&5
    1481 
    1482     ac_retval=1
    1483 fi
    1484   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1485   as_fn_set_status $ac_retval
    1486 
    1487 } # ac_fn_c_try_compile
    1488 
    1489 # ac_fn_cxx_try_compile LINENO
    1490 # ----------------------------
    1491 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1492 ac_fn_cxx_try_compile ()
    1493 {
    1494   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1495   rm -f conftest.$ac_objext
    1496   if { { ac_try="$ac_compile"
    1497 case "(($ac_try" in
    1498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1499   *) ac_try_echo=$ac_try;;
    1500 esac
    1501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1502 $as_echo "$ac_try_echo"; } >&5
    1503   (eval "$ac_compile") 2>conftest.err
    1504   ac_status=$?
    1505   if test -s conftest.err; then
    1506     grep -v '^ *+' conftest.err >conftest.er1
    1507     cat conftest.er1 >&5
    1508     mv -f conftest.er1 conftest.err
    1509   fi
    1510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1511   test $ac_status = 0; } && {
    1512      test -z "$ac_cxx_werror_flag" ||
    1513      test ! -s conftest.err
    1514        } && test -s conftest.$ac_objext; then :
    1515   ac_retval=0
    1516 else
    1517   $as_echo "$as_me: failed program was:" >&5
    1518 sed 's/^/| /' conftest.$ac_ext >&5
    1519 
    1520     ac_retval=1
    1521 fi
    1522   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1523   as_fn_set_status $ac_retval
    1524 
    1525 } # ac_fn_cxx_try_compile
    1526 
    1527 # ac_fn_c_try_cpp LINENO
    1528 # ----------------------
    1529 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1530 ac_fn_c_try_cpp ()
    1531 {
    1532   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1533   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1534 case "(($ac_try" in
    1535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1536   *) ac_try_echo=$ac_try;;
    1537 esac
    1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1539 $as_echo "$ac_try_echo"; } >&5
    1540   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1541   ac_status=$?
    1542   if test -s conftest.err; then
    1543     grep -v '^ *+' conftest.err >conftest.er1
    1544     cat conftest.er1 >&5
    1545     mv -f conftest.er1 conftest.err
    1546   fi
    1547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1548   test $ac_status = 0; } > conftest.i && {
    1549      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1550      test ! -s conftest.err
    1551        }; then :
    1552   ac_retval=0
    1553 else
    1554   $as_echo "$as_me: failed program was:" >&5
    1555 sed 's/^/| /' conftest.$ac_ext >&5
    1556 
    1557     ac_retval=1
    1558 fi
    1559   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1560   as_fn_set_status $ac_retval
    1561 
    1562 } # ac_fn_c_try_cpp
    1563 
    1564 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1565 # -------------------------------------------------------
    1566 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1567 # the include files in INCLUDES and setting the cache variable VAR
    1568 # accordingly.
    1569 ac_fn_c_check_header_mongrel ()
    1570 {
    1571   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1572   if eval "test \"\${$3+set}\"" = set; then :
    1573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1574 $as_echo_n "checking for $2... " >&6; }
    1575 if eval "test \"\${$3+set}\"" = set; then :
    1576   $as_echo_n "(cached) " >&6
    1577 fi
    1578 eval ac_res=\$$3
    1579            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1580 $as_echo "$ac_res" >&6; }
    1581 else
    1582   # Is the header compilable?
    1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1584 $as_echo_n "checking $2 usability... " >&6; }
    1585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1586 /* end confdefs.h.  */
    1587 $4
    1588 #include <$2>
    1589 _ACEOF
    1590 if ac_fn_c_try_compile "$LINENO"; then :
    1591   ac_header_compiler=yes
    1592 else
    1593   ac_header_compiler=no
    1594 fi
    1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1597 $as_echo "$ac_header_compiler" >&6; }
    1598 
    1599 # Is the header present?
    1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    1601 $as_echo_n "checking $2 presence... " >&6; }
    1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1603 /* end confdefs.h.  */
    1604 #include <$2>
    1605 _ACEOF
    1606 if ac_fn_c_try_cpp "$LINENO"; then :
    1607   ac_header_preproc=yes
    1608 else
    1609   ac_header_preproc=no
    1610 fi
    1611 rm -f conftest.err conftest.i conftest.$ac_ext
    1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    1613 $as_echo "$ac_header_preproc" >&6; }
    1614 
    1615 # So?  What about this header?
    1616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    1617   yes:no: )
    1618     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    1619 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    1620     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1621 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1622     ;;
    1623   no:yes:* )
    1624     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    1625 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    1626     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    1627 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    1628     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    1629 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    1630     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    1631 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    1632     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1634     ;;
    1635 esac
    1636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1637 $as_echo_n "checking for $2... " >&6; }
    1638 if eval "test \"\${$3+set}\"" = set; then :
    1639   $as_echo_n "(cached) " >&6
    1640 else
    1641   eval "$3=\$ac_header_compiler"
    1642 fi
    1643 eval ac_res=\$$3
    1644            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1645 $as_echo "$ac_res" >&6; }
    1646 fi
    1647   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1648 
    1649 } # ac_fn_c_check_header_mongrel
    1650 
    1651 # ac_fn_c_try_run LINENO
    1652 # ----------------------
    1653 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1654 # that executables *can* be run.
    1655 ac_fn_c_try_run ()
    1656 {
    1657   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1658   if { { ac_try="$ac_link"
    1659 case "(($ac_try" in
    1660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1661   *) ac_try_echo=$ac_try;;
    1662 esac
    1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1664 $as_echo "$ac_try_echo"; } >&5
    1665   (eval "$ac_link") 2>&5
    1666   ac_status=$?
    1667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1668   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1669   { { case "(($ac_try" in
    1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1671   *) ac_try_echo=$ac_try;;
    1672 esac
    1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1674 $as_echo "$ac_try_echo"; } >&5
    1675   (eval "$ac_try") 2>&5
    1676   ac_status=$?
    1677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1678   test $ac_status = 0; }; }; then :
    1679   ac_retval=0
    1680 else
    1681   $as_echo "$as_me: program exited with status $ac_status" >&5
    1682        $as_echo "$as_me: failed program was:" >&5
    1683 sed 's/^/| /' conftest.$ac_ext >&5
    1684 
    1685        ac_retval=$ac_status
    1686 fi
    1687   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1688   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1689   as_fn_set_status $ac_retval
    1690 
    1691 } # ac_fn_c_try_run
    1692 
    1693 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1694 # -------------------------------------------------------
    1695 # Tests whether HEADER exists and can be compiled using the include files in
    1696 # INCLUDES, setting the cache variable VAR accordingly.
    1697 ac_fn_c_check_header_compile ()
    1698 {
    1699   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1701 $as_echo_n "checking for $2... " >&6; }
    1702 if eval "test \"\${$3+set}\"" = set; then :
    1703   $as_echo_n "(cached) " >&6
    1704 else
    1705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1706 /* end confdefs.h.  */
    1707 $4
    1708 #include <$2>
    1709 _ACEOF
    1710 if ac_fn_c_try_compile "$LINENO"; then :
    1711   eval "$3=yes"
    1712 else
    1713   eval "$3=no"
    1714 fi
    1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1716 fi
    1717 eval ac_res=\$$3
    1718            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1719 $as_echo "$ac_res" >&6; }
    1720   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1721 
    1722 } # ac_fn_c_check_header_compile
    1723 
    1724 # ac_fn_c_try_link LINENO
    1725 # -----------------------
    1726 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1727 ac_fn_c_try_link ()
    1728 {
    1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1730   rm -f conftest.$ac_objext conftest$ac_exeext
    1731   if { { ac_try="$ac_link"
    1732 case "(($ac_try" in
    1733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1734   *) ac_try_echo=$ac_try;;
    1735 esac
    1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1737 $as_echo "$ac_try_echo"; } >&5
    1738   (eval "$ac_link") 2>conftest.err
    1739   ac_status=$?
    1740   if test -s conftest.err; then
    1741     grep -v '^ *+' conftest.err >conftest.er1
    1742     cat conftest.er1 >&5
    1743     mv -f conftest.er1 conftest.err
    1744   fi
    1745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1746   test $ac_status = 0; } && {
    1747      test -z "$ac_c_werror_flag" ||
    1748      test ! -s conftest.err
    1749        } && test -s conftest$ac_exeext && {
    1750      test "$cross_compiling" = yes ||
    1751      $as_test_x conftest$ac_exeext
    1752        }; then :
    1753   ac_retval=0
    1754 else
    1755   $as_echo "$as_me: failed program was:" >&5
    1756 sed 's/^/| /' conftest.$ac_ext >&5
    1757 
    1758     ac_retval=1
    1759 fi
    1760   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1761   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1762   # interfere with the next link command; also delete a directory that is
    1763   # left behind by Apple's compiler.  We do this before executing the actions.
    1764   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1765   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1766   as_fn_set_status $ac_retval
    1767 
    1768 } # ac_fn_c_try_link
    1769 
    1770 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    1771 # -------------------------------------------
    1772 # Tests whether TYPE exists after having included INCLUDES, setting cache
    1773 # variable VAR accordingly.
    1774 ac_fn_c_check_type ()
    1775 {
    1776   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1778 $as_echo_n "checking for $2... " >&6; }
    1779 if eval "test \"\${$3+set}\"" = set; then :
    1780   $as_echo_n "(cached) " >&6
    1781 else
    1782   eval "$3=no"
    1783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1784 /* end confdefs.h.  */
    1785 $4
    1786 int
    1787 main ()
    1788 {
    1789 if (sizeof ($2))
    1790      return 0;
    1791   ;
    1792   return 0;
    1793 }
    1794 _ACEOF
    1795 if ac_fn_c_try_compile "$LINENO"; then :
    1796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1797 /* end confdefs.h.  */
    1798 $4
    1799 int
    1800 main ()
    1801 {
    1802 if (sizeof (($2)))
    1803         return 0;
    1804   ;
    1805   return 0;
    1806 }
    1807 _ACEOF
    1808 if ac_fn_c_try_compile "$LINENO"; then :
    1809 
    1810 else
    1811   eval "$3=yes"
    1812 fi
    1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1814 fi
    1815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1816 fi
    1817 eval ac_res=\$$3
    1818            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1819 $as_echo "$ac_res" >&6; }
    1820   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1821 
    1822 } # ac_fn_c_check_type
    1823 
    1824 # ac_fn_c_check_func LINENO FUNC VAR
    1825 # ----------------------------------
    1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    1827 ac_fn_c_check_func ()
    1828 {
    1829   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1831 $as_echo_n "checking for $2... " >&6; }
    1832 if eval "test \"\${$3+set}\"" = set; then :
    1833   $as_echo_n "(cached) " >&6
    1834 else
    1835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1836 /* end confdefs.h.  */
    1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    1838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    1839 #define $2 innocuous_$2
    1840 
    1841 /* System header to define __stub macros and hopefully few prototypes,
    1842     which can conflict with char $2 (); below.
    1843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1844     <limits.h> exists even on freestanding compilers.  */
    1845 
    1846 #ifdef __STDC__
    1847 # include <limits.h>
    1848 #else
    1849 # include <assert.h>
    1850 #endif
    1851 
    1852 #undef $2
    1853 
    1854 /* Override any GCC internal prototype to avoid an error.
    1855    Use char because int might match the return type of a GCC
    1856    builtin and then its argument prototype would still apply.  */
    1857 #ifdef __cplusplus
    1858 extern "C"
    1859 #endif
    1860 char $2 ();
    1861 /* The GNU C library defines this for functions which it implements
    1862     to always fail with ENOSYS.  Some functions are actually named
    1863     something starting with __ and the normal name is an alias.  */
    1864 #if defined __stub_$2 || defined __stub___$2
    1865 choke me
    1866 #endif
    1867 
    1868 int
    1869 main ()
    1870 {
    1871 return $2 ();
    1872   ;
    1873   return 0;
    1874 }
    1875 _ACEOF
    1876 if ac_fn_c_try_link "$LINENO"; then :
    1877   eval "$3=yes"
    1878 else
    1879   eval "$3=no"
    1880 fi
    1881 rm -f core conftest.err conftest.$ac_objext \
    1882     conftest$ac_exeext conftest.$ac_ext
    1883 fi
    1884 eval ac_res=\$$3
    1885            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1886 $as_echo "$ac_res" >&6; }
    1887   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1888 
    1889 } # ac_fn_c_check_func
    1890 
    1891 # ac_fn_cxx_try_run LINENO
    1892 # ------------------------
    1893 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1894 # that executables *can* be run.
    1895 ac_fn_cxx_try_run ()
    1896 {
    1897   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1898   if { { ac_try="$ac_link"
    1899 case "(($ac_try" in
    1900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1901   *) ac_try_echo=$ac_try;;
    1902 esac
    1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1904 $as_echo "$ac_try_echo"; } >&5
    1905   (eval "$ac_link") 2>&5
    1906   ac_status=$?
    1907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1908   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1909   { { case "(($ac_try" in
    1910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1911   *) ac_try_echo=$ac_try;;
    1912 esac
    1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1914 $as_echo "$ac_try_echo"; } >&5
    1915   (eval "$ac_try") 2>&5
    1916   ac_status=$?
    1917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1918   test $ac_status = 0; }; }; then :
    1919   ac_retval=0
    1920 else
    1921   $as_echo "$as_me: program exited with status $ac_status" >&5
    1922        $as_echo "$as_me: failed program was:" >&5
    1923 sed 's/^/| /' conftest.$ac_ext >&5
    1924 
    1925        ac_retval=$ac_status
    1926 fi
    1927   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1928   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
    1929   as_fn_set_status $ac_retval
    1930 
    1931 } # ac_fn_cxx_try_run
    1932 cat >config.log <<_ACEOF
     988  exit 0
     989fi
     990exec 5>config.log
     991cat >&5 <<_ACEOF
    1933992This file contains any messages produced by compilers while
    1934993running configure, to aid debugging if configure makes a mistake.
    1935994
    1936995It was created by $as_me, which was
    1937 generated by GNU Autoconf 2.67.  Invocation command line was
     996generated by GNU Autoconf 2.59.  Invocation command line was
    1938997
    1939998  $ $0 $@
    1940999
    19411000_ACEOF
    1942 exec 5>>config.log
    19431001{
    19441002cat <<_ASUNAME
     
    19591017/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    19601018/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1961 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     1019hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    19621020/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    19631021/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    19711029  IFS=$as_save_IFS
    19721030  test -z "$as_dir" && as_dir=.
    1973     $as_echo "PATH: $as_dir"
    1974   done
    1975 IFS=$as_save_IFS
     1031  echo "PATH: $as_dir"
     1032done
    19761033
    19771034} >&5
     
    19951052ac_configure_args0=
    19961053ac_configure_args1=
     1054ac_sep=
    19971055ac_must_keep_next=false
    19981056for ac_pass in 1 2
     
    20051063    | -silent | --silent | --silen | --sile | --sil)
    20061064      continue ;;
    2007     *\'*)
    2008       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1065    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1066      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    20091067    esac
    20101068    case $ac_pass in
    2011     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     1069    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    20121070    2)
    2013       as_fn_append ac_configure_args1 " '$ac_arg'"
     1071      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    20141072      if test $ac_must_keep_next = true; then
    20151073    ac_must_keep_next=false # Got value, back to normal.
     
    20271085    esac
    20281086      fi
    2029       as_fn_append ac_configure_args " '$ac_arg'"
     1087      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1088      # Get rid of the leading space.
     1089      ac_sep=" "
    20301090      ;;
    20311091    esac
    20321092  done
    20331093done
    2034 { ac_configure_args0=; unset ac_configure_args0;}
    2035 { ac_configure_args1=; unset ac_configure_args1;}
     1094$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1095$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    20361096
    20371097# When interrupted or exit'd, cleanup temporary files, and complete
    20381098# config.log.  We remove comments because anyway the quotes in there
    20391099# would cause problems or look ugly.
    2040 # WARNING: Use '\'' to represent an apostrophe within the trap.
    2041 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
     1100# WARNING: Be sure not to use single quotes in there, as some shells,
     1101# such as our DU 5.0 friend, will then `close' the trap.
    20421102trap 'exit_status=$?
    20431103  # Save into config.log some information that might help in debugging.
     
    20451105    echo
    20461106
    2047     $as_echo "## ---------------- ##
     1107    cat <<\_ASBOX
     1108## ---------------- ##
    20481109## Cache variables. ##
    2049 ## ---------------- ##"
     1110## ---------------- ##
     1111_ASBOX
    20501112    echo
    20511113    # The following way of writing the cache mishandles newlines in values,
    2052 (
    2053   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    2054     eval ac_val=\$$ac_var
    2055     case $ac_val in #(
    2056     *${as_nl}*)
    2057       case $ac_var in #(
    2058       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    2059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    2060       esac
    2061       case $ac_var in #(
    2062       _ | IFS | as_nl) ;; #(
    2063       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2064       *) { eval $ac_var=; unset $ac_var;} ;;
    2065       esac ;;
    2066     esac
    2067   done
     1114{
    20681115  (set) 2>&1 |
    2069     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    2070     *${as_nl}ac_space=\ *)
     1116    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1117    *ac_space=\ *)
    20711118      sed -n \
    2072     "s/'\''/'\''\\\\'\'''\''/g;
    2073       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
    2074       ;; #(
     1119    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1120      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1121      ;;
    20751122    *)
    2076       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1123      sed -n \
     1124    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    20771125      ;;
    2078     esac |
    2079     sort
    2080 )
     1126    esac;
     1127}
    20811128    echo
    20821129
    2083     $as_echo "## ----------------- ##
     1130    cat <<\_ASBOX
     1131## ----------------- ##
    20841132## Output variables. ##
    2085 ## ----------------- ##"
     1133## ----------------- ##
     1134_ASBOX
    20861135    echo
    20871136    for ac_var in $ac_subst_vars
    20881137    do
    2089       eval ac_val=\$$ac_var
    2090       case $ac_val in
    2091       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    2092       esac
    2093       $as_echo "$ac_var='\''$ac_val'\''"
     1138      eval ac_val=$`echo $ac_var`
     1139      echo "$ac_var='"'"'$ac_val'"'"'"
    20941140    done | sort
    20951141    echo
    20961142
    20971143    if test -n "$ac_subst_files"; then
    2098       $as_echo "## ------------------- ##
    2099 ## File substitutions. ##
    2100 ## ------------------- ##"
     1144      cat <<\_ASBOX
     1145## ------------- ##
     1146## Output files. ##
     1147## ------------- ##
     1148_ASBOX
    21011149      echo
    21021150      for ac_var in $ac_subst_files
    21031151      do
    2104     eval ac_val=\$$ac_var
    2105     case $ac_val in
    2106     *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    2107     esac
    2108     $as_echo "$ac_var='\''$ac_val'\''"
     1152    eval ac_val=$`echo $ac_var`
     1153    echo "$ac_var='"'"'$ac_val'"'"'"
    21091154      done | sort
    21101155      echo
     
    21121157
    21131158    if test -s confdefs.h; then
    2114       $as_echo "## ----------- ##
     1159      cat <<\_ASBOX
     1160## ----------- ##
    21151161## confdefs.h. ##
    2116 ## ----------- ##"
     1162## ----------- ##
     1163_ASBOX
    21171164      echo
    2118       cat confdefs.h
     1165      sed "/^$/d" confdefs.h | sort
    21191166      echo
    21201167    fi
    21211168    test "$ac_signal" != 0 &&
    2122       $as_echo "$as_me: caught signal $ac_signal"
    2123     $as_echo "$as_me: exit $exit_status"
     1169      echo "$as_me: caught signal $ac_signal"
     1170    echo "$as_me: exit $exit_status"
    21241171  } >&5
    2125   rm -f core *.core core.conftest.* &&
    2126     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1172  rm -f core *.core &&
     1173  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    21271174    exit $exit_status
    2128 ' 0
     1175     ' 0
    21291176for ac_signal in 1 2 13 15; do
    2130   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     1177  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    21311178done
    21321179ac_signal=0
    21331180
    21341181# confdefs.h avoids OS command line length limits that DEFS can exceed.
    2135 rm -f -r conftest* confdefs.h
    2136 
    2137 $as_echo "/* confdefs.h */" > confdefs.h
     1182rm -rf conftest* confdefs.h
     1183# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1184echo >confdefs.h
    21381185
    21391186# Predefined preprocessor variables.
     
    21431190_ACEOF
    21441191
     1192
    21451193cat >>confdefs.h <<_ACEOF
    21461194#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    21471195_ACEOF
    21481196
     1197
    21491198cat >>confdefs.h <<_ACEOF
    21501199#define PACKAGE_VERSION "$PACKAGE_VERSION"
    21511200_ACEOF
    21521201
     1202
    21531203cat >>confdefs.h <<_ACEOF
    21541204#define PACKAGE_STRING "$PACKAGE_STRING"
    21551205_ACEOF
    21561206
     1207
    21571208cat >>confdefs.h <<_ACEOF
    21581209#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    21591210_ACEOF
    21601211
    2161 cat >>confdefs.h <<_ACEOF
    2162 #define PACKAGE_URL "$PACKAGE_URL"
    2163 _ACEOF
    2164 
    21651212
    21661213# Let the site file select an alternate cache file if it wants to.
    2167 # Prefer an explicitly selected file to automatically selected ones.
    2168 ac_site_file1=NONE
    2169 ac_site_file2=NONE
    2170 if test -n "$CONFIG_SITE"; then
    2171   # We do not want a PATH search for config.site.
    2172   case $CONFIG_SITE in #((
    2173     -*)  ac_site_file1=./$CONFIG_SITE;;
    2174     */*) ac_site_file1=$CONFIG_SITE;;
    2175     *)   ac_site_file1=./$CONFIG_SITE;;
    2176   esac
    2177 elif test "x$prefix" != xNONE; then
    2178   ac_site_file1=$prefix/share/config.site
    2179   ac_site_file2=$prefix/etc/config.site
    2180 else
    2181   ac_site_file1=$ac_default_prefix/share/config.site
    2182   ac_site_file2=$ac_default_prefix/etc/config.site
    2183 fi
    2184 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
    2185 do
    2186   test "x$ac_site_file" = xNONE && continue
    2187   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    2188     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    2189 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     1214# Prefer explicitly selected file to automatically selected ones.
     1215if test -z "$CONFIG_SITE"; then
     1216  if test "x$prefix" != xNONE; then
     1217    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     1218  else
     1219    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
     1220  fi
     1221fi
     1222for ac_site_file in $CONFIG_SITE; do
     1223  if test -r "$ac_site_file"; then
     1224    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1225echo "$as_me: loading site script $ac_site_file" >&6;}
    21901226    sed 's/^/| /' "$ac_site_file" >&5
    2191     . "$ac_site_file" \
    2192       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2194 as_fn_error $? "failed to load site script $ac_site_file
    2195 See \`config.log' for more details" "$LINENO" 5 ; }
     1227    . "$ac_site_file"
    21961228  fi
    21971229done
    21981230
    21991231if test -r "$cache_file"; then
    2200   # Some versions of bash will fail to source /dev/null (special files
    2201   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
    2202   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    2203     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    2204 $as_echo "$as_me: loading cache $cache_file" >&6;}
     1232  # Some versions of bash will fail to source /dev/null (special
     1233  # files actually), so we avoid doing that.
     1234  if test -f "$cache_file"; then
     1235    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1236echo "$as_me: loading cache $cache_file" >&6;}
    22051237    case $cache_file in
    2206       [\\/]* | ?:[\\/]* ) . "$cache_file";;
    2207       *)                      . "./$cache_file";;
     1238      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1239      *)                      . ./$cache_file;;
    22081240    esac
    22091241  fi
    22101242else
    2211   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    2212 $as_echo "$as_me: creating cache $cache_file" >&6;}
     1243  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1244echo "$as_me: creating cache $cache_file" >&6;}
    22131245  >$cache_file
    22141246fi
     
    22171249# value.
    22181250ac_cache_corrupted=false
    2219 for ac_var in $ac_precious_vars; do
     1251for ac_var in `(set) 2>&1 |
     1252           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    22201253  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    22211254  eval ac_new_set=\$ac_env_${ac_var}_set
    2222   eval ac_old_val=\$ac_cv_env_${ac_var}_value
    2223   eval ac_new_val=\$ac_env_${ac_var}_value
     1255  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1256  eval ac_new_val="\$ac_env_${ac_var}_value"
    22241257  case $ac_old_set,$ac_new_set in
    22251258    set,)
    2226       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    2227 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1259      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1260echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    22281261      ac_cache_corrupted=: ;;
    22291262    ,set)
    2230       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    2231 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1263      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1264echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    22321265      ac_cache_corrupted=: ;;
    22331266    ,);;
    22341267    *)
    22351268      if test "x$ac_old_val" != "x$ac_new_val"; then
    2236     # differences in whitespace do not lead to failure.
    2237     ac_old_val_w=`echo x $ac_old_val`
    2238     ac_new_val_w=`echo x $ac_new_val`
    2239     if test "$ac_old_val_w" != "$ac_new_val_w"; then
    2240       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    2241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    2242       ac_cache_corrupted=:
    2243     else
    2244       { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    2245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    2246       eval $ac_var=\$ac_old_val
    2247     fi
    2248     { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    2249 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    2250     { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    2251 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
     1269    { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1270echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1271    { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1272echo "$as_me:   former value:  $ac_old_val" >&2;}
     1273    { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1274echo "$as_me:   current value: $ac_new_val" >&2;}
     1275    ac_cache_corrupted=:
    22521276      fi;;
    22531277  esac
     
    22551279  if test "$ac_new_set" = set; then
    22561280    case $ac_new_val in
    2257     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1281    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1282      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    22581283    *) ac_arg=$ac_var=$ac_new_val ;;
    22591284    esac
    22601285    case " $ac_configure_args " in
    22611286      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2262       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     1287      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    22631288    esac
    22641289  fi
    22651290done
    22661291if $ac_cache_corrupted; then
    2267   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2269   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    2270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2271   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    2272 fi
    2273 ## -------------------- ##
    2274 ## Main body of script. ##
    2275 ## -------------------- ##
     1292  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1293echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1294  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1295echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1296   { (exit 1); exit 1; }; }
     1297fi
    22761298
    22771299ac_ext=c
     
    22821304
    22831305
    2284 ac_config_headers="$ac_config_headers config.h"
     1306
     1307
     1308
     1309
     1310
     1311
     1312
     1313
     1314
     1315
     1316
     1317
     1318
     1319
     1320
     1321
     1322
     1323          ac_config_headers="$ac_config_headers config.h"
    22851324
    22861325
     
    23011340USE_FASTCGI=0
    23021341if test USE_FASTCGI = 1; then
    2303 $as_echo "#define USE_FASTCGI 1" >>confdefs.h
     1342cat >>confdefs.h <<\_ACEOF
     1343#define USE_FASTCGI 1
     1344_ACEOF
    23041345
    23051346
     
    23071348
    23081349if test USE_LANGACTION = 1; then
    2309 $as_echo "#define USE_LANGACTION 1" >>confdefs.h
    2310 
    2311 
    2312 fi
    2313 
    2314 # Check whether --enable-corba was given.
    2315 if test "${enable_corba+set}" = set; then :
    2316   enableval=$enable_corba; USE_CORBA=$enableval
     1350cat >>confdefs.h <<\_ACEOF
     1351#define USE_LANGACTION 1
     1352_ACEOF
     1353
     1354
     1355fi
     1356
     1357# Check whether --enable-corba or --disable-corba was given.
     1358if test "${enable_corba+set}" = set; then
     1359  enableval="$enable_corba"
     1360  USE_CORBA=$enableval
    23171361else
    23181362  USE_CORBA=no
    2319 fi
    2320 
     1363fi;
    23211364if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    23221365  USE_CORBA=1
    2323   $as_echo "#define USE_CORBA /**/" >>confdefs.h
     1366  cat >>confdefs.h <<\_ACEOF
     1367#define USE_CORBA
     1368_ACEOF
    23241369
    23251370else
     
    23291374
    23301375
    2331 # Check whether --with-micodir was given.
    2332 if test "${with_micodir+set}" = set; then :
    2333   withval=$with_micodir; MICO_DIR=$withval
     1376# Check whether --with-micodir or --without-micodir was given.
     1377if test "${with_micodir+set}" = set; then
     1378  withval="$with_micodir"
     1379  MICO_DIR=$withval
    23341380else
    23351381  MICO_DIR="default"
    2336 fi
    2337 
     1382fi;
    23381383cat >>confdefs.h <<_ACEOF
    23391384#define MICO_DIR "$MICO_DIR"
     
    23421387
    23431388
    2344 # Check whether --enable-z3950 was given.
    2345 if test "${enable_z3950+set}" = set; then :
    2346   enableval=$enable_z3950; USE_Z3950=$enableval
     1389# Check whether --enable-z3950 or --disable-z3950 was given.
     1390if test "${enable_z3950+set}" = set; then
     1391  enableval="$enable_z3950"
     1392  USE_Z3950=$enableval
    23471393else
    23481394  USE_Z3950=no
    2349 fi
    2350 
     1395fi;
    23511396if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    23521397  USE_Z3950=1
    2353   $as_echo "#define USE_Z3950 /**/" >>confdefs.h
     1398  cat >>confdefs.h <<\_ACEOF
     1399#define USE_Z3950
     1400_ACEOF
    23541401
    23551402else
     
    23581405
    23591406
    2360 # Check whether --enable-yaz was given.
    2361 if test "${enable_yaz+set}" = set; then :
    2362   enableval=$enable_yaz; USE_YAZ=$enableval
     1407# Check whether --enable-yaz or --disable-yaz was given.
     1408if test "${enable_yaz+set}" = set; then
     1409  enableval="$enable_yaz"
     1410  USE_YAZ=$enableval
    23631411else
    23641412  USE_YAZ=yes
    2365 fi
    2366 
     1413fi;
    23671414if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
    23681415  USE_YAZ=1
    2369   $as_echo "#define USE_YAZ /**/" >>confdefs.h
     1416  cat >>confdefs.h <<\_ACEOF
     1417#define USE_YAZ
     1418_ACEOF
    23701419
    23711420else
     
    23741423
    23751424
    2376 # Check whether --enable-java was given.
    2377 if test "${enable_java+set}" = set; then :
    2378   enableval=$enable_java; ENABLE_JAVA=$enableval
     1425# Check whether --enable-java or --disable-java was given.
     1426if test "${enable_java+set}" = set; then
     1427  enableval="$enable_java"
     1428  ENABLE_JAVA=$enableval
    23791429else
    23801430  ENABLE_JAVA=yes
    2381 fi
    2382 
     1431fi;
    23831432if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
    23841433  ENABLE_JAVA=1
     
    23941443
    23951444
    2396 # Check whether --enable-jdbm was given.
    2397 if test "${enable_jdbm+set}" = set; then :
    2398   enableval=$enable_jdbm; USE_JDBM=$enableval
     1445# Check whether --enable-wvware or --disable-wvware was given.
     1446if test "${enable_wvware+set}" = set; then
     1447  enableval="$enable_wvware"
     1448  USE_WVWARE=$enableval
     1449else
     1450  USE_WVWARE=yes
     1451fi;
     1452if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then
     1453  USE_WVWARE=1
     1454  cat >>confdefs.h <<\_ACEOF
     1455#define USE_WVWARE
     1456_ACEOF
     1457
     1458else
     1459  USE_WVWARE=0
     1460fi
     1461
     1462
     1463# Check whether --enable-jdbm or --disable-jdbm was given.
     1464if test "${enable_jdbm+set}" = set; then
     1465  enableval="$enable_jdbm"
     1466  USE_JDBM=$enableval
    23991467else
    24001468  USE_JDBM=yes
    2401 fi
    2402 
     1469fi;
    24031470if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
    24041471  USE_JDBM=1
    2405   $as_echo "#define USE_JDBM /**/" >>confdefs.h
     1472  cat >>confdefs.h <<\_ACEOF
     1473#define USE_JDBM
     1474_ACEOF
    24061475
    24071476else
     
    24101479
    24111480
    2412 # Check whether --enable-gdbm was given.
    2413 if test "${enable_gdbm+set}" = set; then :
    2414   enableval=$enable_gdbm; USE_GDBM=$enableval
     1481# Check whether --enable-gdbm or --disable-gdbm was given.
     1482if test "${enable_gdbm+set}" = set; then
     1483  enableval="$enable_gdbm"
     1484  USE_GDBM=$enableval
    24151485else
    24161486  USE_GDBM=yes
    2417 fi
    2418 
     1487fi;
    24191488if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
    24201489  USE_GDBM=1
    2421   $as_echo "#define USE_GDBM /**/" >>confdefs.h
     1490  cat >>confdefs.h <<\_ACEOF
     1491#define USE_GDBM
     1492_ACEOF
    24221493
    24231494else
     
    24261497
    24271498
    2428 # Check whether --enable-accentfold was given.
    2429 if test "${enable_accentfold+set}" = set; then :
    2430   enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
     1499# Check whether --enable-accentfold or --disable-accentfold was given.
     1500if test "${enable_accentfold+set}" = set; then
     1501  enableval="$enable_accentfold"
     1502  ENABLE_ACCENTFOLD=$enableval
    24311503else
    24321504  ENABLE_ACCENTFOLD=yes
    2433 fi
    2434 
     1505fi;
    24351506if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    24361507  ENABLE_ACCENTFOLD=1
    2437   $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
     1508  cat >>confdefs.h <<\_ACEOF
     1509#define ENABLE_ACCENTFOLD
     1510_ACEOF
    24381511
    24391512else
     
    24421515
    24431516
    2444 # Check whether --enable-sqlite was given.
    2445 if test "${enable_sqlite+set}" = set; then :
    2446   enableval=$enable_sqlite; USE_SQLITE=$enableval
     1517# Check whether --enable-sqlite or --disable-sqlite was given.
     1518if test "${enable_sqlite+set}" = set; then
     1519  enableval="$enable_sqlite"
     1520  USE_SQLITE=$enableval
    24471521else
    24481522  USE_SQLITE=yes
    2449 fi
    2450 
     1523fi;
    24511524if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
    24521525  USE_SQLITE=1
    2453   $as_echo "#define USE_SQLITE /**/" >>confdefs.h
     1526  cat >>confdefs.h <<\_ACEOF
     1527#define USE_SQLITE
     1528_ACEOF
    24541529
    24551530else
     
    24741549  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    24751550set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2477 $as_echo_n "checking for $ac_word... " >&6; }
    2478 if test "${ac_cv_prog_CC+set}" = set; then :
    2479   $as_echo_n "(cached) " >&6
     1551echo "$as_me:$LINENO: checking for $ac_word" >&5
     1552echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1553if test "${ac_cv_prog_CC+set}" = set; then
     1554  echo $ECHO_N "(cached) $ECHO_C" >&6
    24801555else
    24811556  if test -n "$CC"; then
     
    24871562  IFS=$as_save_IFS
    24881563  test -z "$as_dir" && as_dir=.
    2489     for ac_exec_ext in '' $ac_executable_extensions; do
    2490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1564  for ac_exec_ext in '' $ac_executable_extensions; do
     1565  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24911566    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1567    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    24931568    break 2
    24941569  fi
    24951570done
    2496   done
    2497 IFS=$as_save_IFS
     1571done
    24981572
    24991573fi
     
    25011575CC=$ac_cv_prog_CC
    25021576if test -n "$CC"; then
    2503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2504 $as_echo "$CC" >&6; }
    2505 else
    2506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2507 $as_echo "no" >&6; }
    2508 fi
    2509 
     1577  echo "$as_me:$LINENO: result: $CC" >&5
     1578echo "${ECHO_T}$CC" >&6
     1579else
     1580  echo "$as_me:$LINENO: result: no" >&5
     1581echo "${ECHO_T}no" >&6
     1582fi
    25101583
    25111584fi
     
    25141587  # Extract the first word of "gcc", so it can be a program name with args.
    25151588set dummy gcc; ac_word=$2
    2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2517 $as_echo_n "checking for $ac_word... " >&6; }
    2518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    2519   $as_echo_n "(cached) " >&6
     1589echo "$as_me:$LINENO: checking for $ac_word" >&5
     1590echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1591if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1592  echo $ECHO_N "(cached) $ECHO_C" >&6
    25201593else
    25211594  if test -n "$ac_ct_CC"; then
     
    25271600  IFS=$as_save_IFS
    25281601  test -z "$as_dir" && as_dir=.
    2529     for ac_exec_ext in '' $ac_executable_extensions; do
    2530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1602  for ac_exec_ext in '' $ac_executable_extensions; do
     1603  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25311604    ac_cv_prog_ac_ct_CC="gcc"
    2532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1605    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    25331606    break 2
    25341607  fi
    25351608done
    2536   done
    2537 IFS=$as_save_IFS
     1609done
    25381610
    25391611fi
     
    25411613ac_ct_CC=$ac_cv_prog_ac_ct_CC
    25421614if test -n "$ac_ct_CC"; then
    2543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2544 $as_echo "$ac_ct_CC" >&6; }
    2545 else
    2546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2547 $as_echo "no" >&6; }
    2548 fi
    2549 
    2550   if test "x$ac_ct_CC" = x; then
    2551     CC=""
    2552   else
    2553     case $cross_compiling:$ac_tool_warned in
    2554 yes:)
    2555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2557 ac_tool_warned=yes ;;
    2558 esac
    2559     CC=$ac_ct_CC
    2560   fi
     1615  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1616echo "${ECHO_T}$ac_ct_CC" >&6
     1617else
     1618  echo "$as_me:$LINENO: result: no" >&5
     1619echo "${ECHO_T}no" >&6
     1620fi
     1621
     1622  CC=$ac_ct_CC
    25611623else
    25621624  CC="$ac_cv_prog_CC"
     
    25641626
    25651627if test -z "$CC"; then
    2566           if test -n "$ac_tool_prefix"; then
    2567     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1628  if test -n "$ac_tool_prefix"; then
     1629  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    25681630set dummy ${ac_tool_prefix}cc; ac_word=$2
    2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2570 $as_echo_n "checking for $ac_word... " >&6; }
    2571 if test "${ac_cv_prog_CC+set}" = set; then :
    2572   $as_echo_n "(cached) " >&6
     1631echo "$as_me:$LINENO: checking for $ac_word" >&5
     1632echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1633if test "${ac_cv_prog_CC+set}" = set; then
     1634  echo $ECHO_N "(cached) $ECHO_C" >&6
    25731635else
    25741636  if test -n "$CC"; then
     
    25801642  IFS=$as_save_IFS
    25811643  test -z "$as_dir" && as_dir=.
    2582     for ac_exec_ext in '' $ac_executable_extensions; do
    2583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1644  for ac_exec_ext in '' $ac_executable_extensions; do
     1645  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25841646    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1647    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    25861648    break 2
    25871649  fi
    25881650done
    2589   done
    2590 IFS=$as_save_IFS
     1651done
    25911652
    25921653fi
     
    25941655CC=$ac_cv_prog_CC
    25951656if test -n "$CC"; then
    2596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2597 $as_echo "$CC" >&6; }
    2598 else
    2599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2600 $as_echo "no" >&6; }
    2601 fi
    2602 
    2603 
     1657  echo "$as_me:$LINENO: result: $CC" >&5
     1658echo "${ECHO_T}$CC" >&6
     1659else
     1660  echo "$as_me:$LINENO: result: no" >&5
     1661echo "${ECHO_T}no" >&6
     1662fi
     1663
     1664fi
     1665if test -z "$ac_cv_prog_CC"; then
     1666  ac_ct_CC=$CC
     1667  # Extract the first word of "cc", so it can be a program name with args.
     1668set dummy cc; ac_word=$2
     1669echo "$as_me:$LINENO: checking for $ac_word" >&5
     1670echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1671if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1672  echo $ECHO_N "(cached) $ECHO_C" >&6
     1673else
     1674  if test -n "$ac_ct_CC"; then
     1675  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1676else
     1677as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1678for as_dir in $PATH
     1679do
     1680  IFS=$as_save_IFS
     1681  test -z "$as_dir" && as_dir=.
     1682  for ac_exec_ext in '' $ac_executable_extensions; do
     1683  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1684    ac_cv_prog_ac_ct_CC="cc"
     1685    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1686    break 2
    26041687  fi
     1688done
     1689done
     1690
     1691fi
     1692fi
     1693ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1694if test -n "$ac_ct_CC"; then
     1695  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1696echo "${ECHO_T}$ac_ct_CC" >&6
     1697else
     1698  echo "$as_me:$LINENO: result: no" >&5
     1699echo "${ECHO_T}no" >&6
     1700fi
     1701
     1702  CC=$ac_ct_CC
     1703else
     1704  CC="$ac_cv_prog_CC"
     1705fi
     1706
    26051707fi
    26061708if test -z "$CC"; then
    26071709  # Extract the first word of "cc", so it can be a program name with args.
    26081710set dummy cc; ac_word=$2
    2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2610 $as_echo_n "checking for $ac_word... " >&6; }
    2611 if test "${ac_cv_prog_CC+set}" = set; then :
    2612   $as_echo_n "(cached) " >&6
     1711echo "$as_me:$LINENO: checking for $ac_word" >&5
     1712echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1713if test "${ac_cv_prog_CC+set}" = set; then
     1714  echo $ECHO_N "(cached) $ECHO_C" >&6
    26131715else
    26141716  if test -n "$CC"; then
     
    26211723  IFS=$as_save_IFS
    26221724  test -z "$as_dir" && as_dir=.
    2623     for ac_exec_ext in '' $ac_executable_extensions; do
    2624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1725  for ac_exec_ext in '' $ac_executable_extensions; do
     1726  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26251727    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    26261728       ac_prog_rejected=yes
     
    26281730     fi
    26291731    ac_cv_prog_CC="cc"
    2630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1732    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    26311733    break 2
    26321734  fi
    26331735done
    2634   done
    2635 IFS=$as_save_IFS
     1736done
    26361737
    26371738if test $ac_prog_rejected = yes; then
     
    26511752CC=$ac_cv_prog_CC
    26521753if test -n "$CC"; then
    2653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2654 $as_echo "$CC" >&6; }
    2655 else
    2656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2657 $as_echo "no" >&6; }
    2658 fi
    2659 
     1754  echo "$as_me:$LINENO: result: $CC" >&5
     1755echo "${ECHO_T}$CC" >&6
     1756else
     1757  echo "$as_me:$LINENO: result: no" >&5
     1758echo "${ECHO_T}no" >&6
     1759fi
    26601760
    26611761fi
    26621762if test -z "$CC"; then
    26631763  if test -n "$ac_tool_prefix"; then
    2664   for ac_prog in cl.exe
     1764  for ac_prog in cl
    26651765  do
    26661766    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    26671767set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2669 $as_echo_n "checking for $ac_word... " >&6; }
    2670 if test "${ac_cv_prog_CC+set}" = set; then :
    2671   $as_echo_n "(cached) " >&6
     1768echo "$as_me:$LINENO: checking for $ac_word" >&5
     1769echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1770if test "${ac_cv_prog_CC+set}" = set; then
     1771  echo $ECHO_N "(cached) $ECHO_C" >&6
    26721772else
    26731773  if test -n "$CC"; then
     
    26791779  IFS=$as_save_IFS
    26801780  test -z "$as_dir" && as_dir=.
    2681     for ac_exec_ext in '' $ac_executable_extensions; do
    2682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1781  for ac_exec_ext in '' $ac_executable_extensions; do
     1782  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26831783    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1784    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    26851785    break 2
    26861786  fi
    26871787done
    2688   done
    2689 IFS=$as_save_IFS
     1788done
    26901789
    26911790fi
     
    26931792CC=$ac_cv_prog_CC
    26941793if test -n "$CC"; then
    2695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    2696 $as_echo "$CC" >&6; }
    2697 else
    2698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2699 $as_echo "no" >&6; }
    2700 fi
    2701 
     1794  echo "$as_me:$LINENO: result: $CC" >&5
     1795echo "${ECHO_T}$CC" >&6
     1796else
     1797  echo "$as_me:$LINENO: result: no" >&5
     1798echo "${ECHO_T}no" >&6
     1799fi
    27021800
    27031801    test -n "$CC" && break
     
    27061804if test -z "$CC"; then
    27071805  ac_ct_CC=$CC
    2708   for ac_prog in cl.exe
     1806  for ac_prog in cl
    27091807do
    27101808  # Extract the first word of "$ac_prog", so it can be a program name with args.
    27111809set dummy $ac_prog; ac_word=$2
    2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    2713 $as_echo_n "checking for $ac_word... " >&6; }
    2714 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    2715   $as_echo_n "(cached) " >&6
     1810echo "$as_me:$LINENO: checking for $ac_word" >&5
     1811echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1812if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1813  echo $ECHO_N "(cached) $ECHO_C" >&6
    27161814else
    27171815  if test -n "$ac_ct_CC"; then
     
    27231821  IFS=$as_save_IFS
    27241822  test -z "$as_dir" && as_dir=.
    2725     for ac_exec_ext in '' $ac_executable_extensions; do
    2726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     1823  for ac_exec_ext in '' $ac_executable_extensions; do
     1824  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    27271825    ac_cv_prog_ac_ct_CC="$ac_prog"
    2728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1826    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27291827    break 2
    27301828  fi
    27311829done
    2732   done
    2733 IFS=$as_save_IFS
     1830done
    27341831
    27351832fi
     
    27371834ac_ct_CC=$ac_cv_prog_ac_ct_CC
    27381835if test -n "$ac_ct_CC"; then
    2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    2740 $as_echo "$ac_ct_CC" >&6; }
    2741 else
    2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2743 $as_echo "no" >&6; }
    2744 fi
    2745 
     1836  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1837echo "${ECHO_T}$ac_ct_CC" >&6
     1838else
     1839  echo "$as_me:$LINENO: result: no" >&5
     1840echo "${ECHO_T}no" >&6
     1841fi
    27461842
    27471843  test -n "$ac_ct_CC" && break
    27481844done
    27491845
    2750   if test "x$ac_ct_CC" = x; then
    2751     CC=""
    2752   else
    2753     case $cross_compiling:$ac_tool_warned in
    2754 yes:)
    2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    2756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2757 ac_tool_warned=yes ;;
    2758 esac
    2759     CC=$ac_ct_CC
    2760   fi
    2761 fi
    2762 
    2763 fi
    2764 
    2765 
    2766 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2768 as_fn_error $? "no acceptable C compiler found in \$PATH
    2769 See \`config.log' for more details" "$LINENO" 5 ; }
     1846  CC=$ac_ct_CC
     1847fi
     1848
     1849fi
     1850
     1851
     1852test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     1853See \`config.log' for more details." >&5
     1854echo "$as_me: error: no acceptable C compiler found in \$PATH
     1855See \`config.log' for more details." >&2;}
     1856   { (exit 1); exit 1; }; }
    27701857
    27711858# Provide some information about the compiler.
    2772 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    2773 set X $ac_compile
    2774 ac_compiler=$2
    2775 for ac_option in --version -v -V -qversion; do
    2776   { { ac_try="$ac_compiler $ac_option >&5"
    2777 case "(($ac_try" in
    2778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2779   *) ac_try_echo=$ac_try;;
    2780 esac
    2781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2782 $as_echo "$ac_try_echo"; } >&5
    2783   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    2784   ac_status=$?
    2785   if test -s conftest.err; then
    2786     sed '10a\
    2787 ... rest of stderr output deleted ...
    2788          10q' conftest.err >conftest.er1
    2789     cat conftest.er1 >&5
    2790   fi
    2791   rm -f conftest.er1 conftest.err
    2792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2793   test $ac_status = 0; }
    2794 done
    2795 
    2796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1859echo "$as_me:$LINENO:" \
     1860     "checking for C compiler version" >&5
     1861ac_compiler=`set X $ac_compile; echo $2`
     1862{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1863  (eval $ac_compiler --version </dev/null >&5) 2>&5
     1864  ac_status=$?
     1865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1866  (exit $ac_status); }
     1867{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1868  (eval $ac_compiler -v </dev/null >&5) 2>&5
     1869  ac_status=$?
     1870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1871  (exit $ac_status); }
     1872{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1873  (eval $ac_compiler -V </dev/null >&5) 2>&5
     1874  ac_status=$?
     1875  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1876  (exit $ac_status); }
     1877
     1878cat >conftest.$ac_ext <<_ACEOF
     1879/* confdefs.h.  */
     1880_ACEOF
     1881cat confdefs.h >>conftest.$ac_ext
     1882cat >>conftest.$ac_ext <<_ACEOF
    27971883/* end confdefs.h.  */
    27981884
     
    28061892_ACEOF
    28071893ac_clean_files_save=$ac_clean_files
    2808 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     1894ac_clean_files="$ac_clean_files a.out a.exe b.out"
    28091895# Try to create an executable without -o first, disregard a.out.
    28101896# It will help us diagnose broken compilers, and finding out an intuition
    28111897# of exeext.
    2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    2813 $as_echo_n "checking whether the C compiler works... " >&6; }
    2814 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2815 
    2816 # The possible output files:
    2817 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
    2818 
    2819 ac_rmfiles=
    2820 for ac_file in $ac_files
    2821 do
    2822   case $ac_file in
    2823     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2824     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2825   esac
    2826 done
    2827 rm -f $ac_rmfiles
    2828 
    2829 if { { ac_try="$ac_link_default"
    2830 case "(($ac_try" in
    2831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2832   *) ac_try_echo=$ac_try;;
    2833 esac
    2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2835 $as_echo "$ac_try_echo"; } >&5
    2836   (eval "$ac_link_default") 2>&5
    2837   ac_status=$?
    2838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2839   test $ac_status = 0; }; then :
    2840   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2841 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2842 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2843 # so that the user can short-circuit this test for compilers unknown to
    2844 # Autoconf.
    2845 for ac_file in $ac_files ''
     1898echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1899echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     1900ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     1901if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1902  (eval $ac_link_default) 2>&5
     1903  ac_status=$?
     1904  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1905  (exit $ac_status); }; then
     1906  # Find the output, starting from the most likely.  This scheme is
     1907# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1908# resort.
     1909
     1910# Be careful to initialize this variable, since it used to be cached.
     1911# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1912ac_cv_exeext=
     1913# b.out is created by i960 compilers.
     1914for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    28461915do
    28471916  test -f "$ac_file" || continue
    28481917  case $ac_file in
    2849     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
     1918    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1919    ;;
     1920    conftest.$ac_ext )
     1921    # This is the source file.
    28501922    ;;
    28511923    [ab].out )
     
    28541926    break;;
    28551927    *.* )
    2856     if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2857     then :; else
    2858        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2859     fi
    2860     # We set ac_cv_exeext here because the later test for it is not
    2861     # safe: cross compilers may not add the suffix if given an `-o'
    2862     # argument, so we may need to know it at that point already.
    2863     # Even if this section looks crufty: it has the advantage of
    2864     # actually working.
     1928    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1929    # FIXME: I believe we export ac_cv_exeext for Libtool,
     1930    # but it would be cool to find out if it's true.  Does anybody
     1931    # maintain Libtool? --akim.
     1932    export ac_cv_exeext
    28651933    break;;
    28661934    * )
     
    28681936  esac
    28691937done
    2870 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2871 
    2872 else
    2873   ac_file=''
    2874 fi
    2875 if test -z "$ac_file"; then :
    2876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    2877 $as_echo "no" >&6; }
    2878 $as_echo "$as_me: failed program was:" >&5
     1938else
     1939  echo "$as_me: failed program was:" >&5
    28791940sed 's/^/| /' conftest.$ac_ext >&5
    28801941
    2881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2883 as_fn_error 77 "C compiler cannot create executables
    2884 See \`config.log' for more details" "$LINENO" 5 ; }
    2885 else
    2886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    2887 $as_echo "yes" >&6; }
    2888 fi
    2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    2890 $as_echo_n "checking for C compiler default output file name... " >&6; }
    2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    2892 $as_echo "$ac_file" >&6; }
     1942{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
     1943See \`config.log' for more details." >&5
     1944echo "$as_me: error: C compiler cannot create executables
     1945See \`config.log' for more details." >&2;}
     1946   { (exit 77); exit 77; }; }
     1947fi
     1948
    28931949ac_exeext=$ac_cv_exeext
    2894 
    2895 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     1950echo "$as_me:$LINENO: result: $ac_file" >&5
     1951echo "${ECHO_T}$ac_file" >&6
     1952
     1953# Check the compiler produces executables we can run.  If not, either
     1954# the compiler is broken, or we cross compile.
     1955echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     1956echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     1957# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     1958# If not cross compiling, check that we can run a simple program.
     1959if test "$cross_compiling" != yes; then
     1960  if { ac_try='./$ac_file'
     1961  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1962  (eval $ac_try) 2>&5
     1963  ac_status=$?
     1964  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1965  (exit $ac_status); }; }; then
     1966    cross_compiling=no
     1967  else
     1968    if test "$cross_compiling" = maybe; then
     1969    cross_compiling=yes
     1970    else
     1971    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
     1972If you meant to cross compile, use \`--host'.
     1973See \`config.log' for more details." >&5
     1974echo "$as_me: error: cannot run C compiled programs.
     1975If you meant to cross compile, use \`--host'.
     1976See \`config.log' for more details." >&2;}
     1977   { (exit 1); exit 1; }; }
     1978    fi
     1979  fi
     1980fi
     1981echo "$as_me:$LINENO: result: yes" >&5
     1982echo "${ECHO_T}yes" >&6
     1983
     1984rm -f a.out a.exe conftest$ac_cv_exeext b.out
    28961985ac_clean_files=$ac_clean_files_save
    2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    2898 $as_echo_n "checking for suffix of executables... " >&6; }
    2899 if { { ac_try="$ac_link"
    2900 case "(($ac_try" in
    2901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2902   *) ac_try_echo=$ac_try;;
    2903 esac
    2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2905 $as_echo "$ac_try_echo"; } >&5
    2906   (eval "$ac_link") 2>&5
    2907   ac_status=$?
    2908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2909   test $ac_status = 0; }; then :
     1986# Check the compiler produces executables we can run.  If not, either
     1987# the compiler is broken, or we cross compile.
     1988echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     1989echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     1990echo "$as_me:$LINENO: result: $cross_compiling" >&5
     1991echo "${ECHO_T}$cross_compiling" >&6
     1992
     1993echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1994echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1995if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     1996  (eval $ac_link) 2>&5
     1997  ac_status=$?
     1998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1999  (exit $ac_status); }; then
    29102000  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    29112001# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    29152005  test -f "$ac_file" || continue
    29162006  case $ac_file in
    2917     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2007    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    29182008    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2009      export ac_cv_exeext
    29192010      break;;
    29202011    * ) break;;
     
    29222013done
    29232014else
    2924   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2926 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    2927 See \`config.log' for more details" "$LINENO" 5 ; }
    2928 fi
    2929 rm -f conftest conftest$ac_cv_exeext
    2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    2931 $as_echo "$ac_cv_exeext" >&6; }
     2015  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2016See \`config.log' for more details." >&5
     2017echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2018See \`config.log' for more details." >&2;}
     2019   { (exit 1); exit 1; }; }
     2020fi
     2021
     2022rm -f conftest$ac_cv_exeext
     2023echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2024echo "${ECHO_T}$ac_cv_exeext" >&6
    29322025
    29332026rm -f conftest.$ac_ext
    29342027EXEEXT=$ac_cv_exeext
    29352028ac_exeext=$EXEEXT
    2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2029echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2030echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2031if test "${ac_cv_objext+set}" = set; then
     2032  echo $ECHO_N "(cached) $ECHO_C" >&6
     2033else
     2034  cat >conftest.$ac_ext <<_ACEOF
     2035/* confdefs.h.  */
     2036_ACEOF
     2037cat confdefs.h >>conftest.$ac_ext
     2038cat >>conftest.$ac_ext <<_ACEOF
    29372039/* end confdefs.h.  */
    2938 #include <stdio.h>
     2040
    29392041int
    29402042main ()
    29412043{
    2942 FILE *f = fopen ("conftest.out", "w");
    2943  return ferror (f) || fclose (f) != 0;
    29442044
    29452045  ;
     
    29472047}
    29482048_ACEOF
    2949 ac_clean_files="$ac_clean_files conftest.out"
    2950 # Check that the compiler produces executables we can run.  If not, either
    2951 # the compiler is broken, or we cross compile.
    2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    2953 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2954 if test "$cross_compiling" != yes; then
    2955   { { ac_try="$ac_link"
    2956 case "(($ac_try" in
    2957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2958   *) ac_try_echo=$ac_try;;
    2959 esac
    2960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2961 $as_echo "$ac_try_echo"; } >&5
    2962   (eval "$ac_link") 2>&5
    2963   ac_status=$?
    2964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2965   test $ac_status = 0; }
    2966   if { ac_try='./conftest$ac_cv_exeext'
    2967   { { case "(($ac_try" in
    2968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2969   *) ac_try_echo=$ac_try;;
    2970 esac
    2971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2972 $as_echo "$ac_try_echo"; } >&5
    2973   (eval "$ac_try") 2>&5
    2974   ac_status=$?
    2975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2976   test $ac_status = 0; }; }; then
    2977     cross_compiling=no
    2978   else
    2979     if test "$cross_compiling" = maybe; then
    2980     cross_compiling=yes
    2981     else
    2982     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2984 as_fn_error $? "cannot run C compiled programs.
    2985 If you meant to cross compile, use \`--host'.
    2986 See \`config.log' for more details" "$LINENO" 5 ; }
    2987     fi
    2988   fi
    2989 fi
    2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    2991 $as_echo "$cross_compiling" >&6; }
    2992 
    2993 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    2994 ac_clean_files=$ac_clean_files_save
    2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    2996 $as_echo_n "checking for suffix of object files... " >&6; }
    2997 if test "${ac_cv_objext+set}" = set; then :
    2998   $as_echo_n "(cached) " >&6
    2999 else
    3000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3001 /* end confdefs.h.  */
    3002 
    3003 int
    3004 main ()
    3005 {
    3006 
    3007   ;
    3008   return 0;
    3009 }
    3010 _ACEOF
    30112049rm -f conftest.o conftest.obj
    3012 if { { ac_try="$ac_compile"
    3013 case "(($ac_try" in
    3014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3015   *) ac_try_echo=$ac_try;;
    3016 esac
    3017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3018 $as_echo "$ac_try_echo"; } >&5
    3019   (eval "$ac_compile") 2>&5
    3020   ac_status=$?
    3021   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3022   test $ac_status = 0; }; then :
    3023   for ac_file in conftest.o conftest.obj conftest.*; do
    3024   test -f "$ac_file" || continue;
     2050if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2051  (eval $ac_compile) 2>&5
     2052  ac_status=$?
     2053  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2054  (exit $ac_status); }; then
     2055  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    30252056  case $ac_file in
    3026     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     2057    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    30272058    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    30282059       break;;
     
    30302061done
    30312062else
    3032   $as_echo "$as_me: failed program was:" >&5
     2063  echo "$as_me: failed program was:" >&5
    30332064sed 's/^/| /' conftest.$ac_ext >&5
    30342065
    3035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3037 as_fn_error $? "cannot compute suffix of object files: cannot compile
    3038 See \`config.log' for more details" "$LINENO" 5 ; }
    3039 fi
     2066{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2067See \`config.log' for more details." >&5
     2068echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2069See \`config.log' for more details." >&2;}
     2070   { (exit 1); exit 1; }; }
     2071fi
     2072
    30402073rm -f conftest.$ac_cv_objext conftest.$ac_ext
    30412074fi
    3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    3043 $as_echo "$ac_cv_objext" >&6; }
     2075echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2076echo "${ECHO_T}$ac_cv_objext" >&6
    30442077OBJEXT=$ac_cv_objext
    30452078ac_objext=$OBJEXT
    3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    3047 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3048 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
    3049   $as_echo_n "(cached) " >&6
    3050 else
    3051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2079echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2080echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2081if test "${ac_cv_c_compiler_gnu+set}" = set; then
     2082  echo $ECHO_N "(cached) $ECHO_C" >&6
     2083else
     2084  cat >conftest.$ac_ext <<_ACEOF
     2085/* confdefs.h.  */
     2086_ACEOF
     2087cat confdefs.h >>conftest.$ac_ext
     2088cat >>conftest.$ac_ext <<_ACEOF
    30522089/* end confdefs.h.  */
    30532090
     
    30632100}
    30642101_ACEOF
    3065 if ac_fn_c_try_compile "$LINENO"; then :
     2102rm -f conftest.$ac_objext
     2103if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2104  (eval $ac_compile) 2>conftest.er1
     2105  ac_status=$?
     2106  grep -v '^ *+' conftest.er1 >conftest.err
     2107  rm -f conftest.er1
     2108  cat conftest.err >&5
     2109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2110  (exit $ac_status); } &&
     2111     { ac_try='test -z "$ac_c_werror_flag"
     2112             || test ! -s conftest.err'
     2113  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2114  (eval $ac_try) 2>&5
     2115  ac_status=$?
     2116  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2117  (exit $ac_status); }; } &&
     2118     { ac_try='test -s conftest.$ac_objext'
     2119  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2120  (eval $ac_try) 2>&5
     2121  ac_status=$?
     2122  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2123  (exit $ac_status); }; }; then
    30662124  ac_compiler_gnu=yes
    30672125else
    3068   ac_compiler_gnu=no
    3069 fi
    3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2126  echo "$as_me: failed program was:" >&5
     2127sed 's/^/| /' conftest.$ac_ext >&5
     2128
     2129ac_compiler_gnu=no
     2130fi
     2131rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    30712132ac_cv_c_compiler_gnu=$ac_compiler_gnu
    30722133
    30732134fi
    3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    3075 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    3076 if test $ac_compiler_gnu = yes; then
    3077   GCC=yes
    3078 else
    3079   GCC=
    3080 fi
     2135echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2136echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2137GCC=`test $ac_compiler_gnu = yes && echo yes`
    30812138ac_test_CFLAGS=${CFLAGS+set}
    30822139ac_save_CFLAGS=$CFLAGS
    3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    3084 $as_echo_n "checking whether $CC accepts -g... " >&6; }
    3085 if test "${ac_cv_prog_cc_g+set}" = set; then :
    3086   $as_echo_n "(cached) " >&6
    3087 else
    3088   ac_save_c_werror_flag=$ac_c_werror_flag
    3089    ac_c_werror_flag=yes
    3090    ac_cv_prog_cc_g=no
    3091    CFLAGS="-g"
    3092    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2140CFLAGS="-g"
     2141echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2142echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2143if test "${ac_cv_prog_cc_g+set}" = set; then
     2144  echo $ECHO_N "(cached) $ECHO_C" >&6
     2145else
     2146  cat >conftest.$ac_ext <<_ACEOF
     2147/* confdefs.h.  */
     2148_ACEOF
     2149cat confdefs.h >>conftest.$ac_ext
     2150cat >>conftest.$ac_ext <<_ACEOF
    30932151/* end confdefs.h.  */
    30942152
     
    31012159}
    31022160_ACEOF
    3103 if ac_fn_c_try_compile "$LINENO"; then :
     2161rm -f conftest.$ac_objext
     2162if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2163  (eval $ac_compile) 2>conftest.er1
     2164  ac_status=$?
     2165  grep -v '^ *+' conftest.er1 >conftest.err
     2166  rm -f conftest.er1
     2167  cat conftest.err >&5
     2168  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2169  (exit $ac_status); } &&
     2170     { ac_try='test -z "$ac_c_werror_flag"
     2171             || test ! -s conftest.err'
     2172  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2173  (eval $ac_try) 2>&5
     2174  ac_status=$?
     2175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2176  (exit $ac_status); }; } &&
     2177     { ac_try='test -s conftest.$ac_objext'
     2178  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2179  (eval $ac_try) 2>&5
     2180  ac_status=$?
     2181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2182  (exit $ac_status); }; }; then
    31042183  ac_cv_prog_cc_g=yes
    31052184else
    3106   CFLAGS=""
    3107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3108 /* end confdefs.h.  */
    3109 
    3110 int
    3111 main ()
    3112 {
    3113 
    3114   ;
    3115   return 0;
    3116 }
    3117 _ACEOF
    3118 if ac_fn_c_try_compile "$LINENO"; then :
    3119 
    3120 else
    3121   ac_c_werror_flag=$ac_save_c_werror_flag
    3122      CFLAGS="-g"
    3123      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3124 /* end confdefs.h.  */
    3125 
    3126 int
    3127 main ()
    3128 {
    3129 
    3130   ;
    3131   return 0;
    3132 }
    3133 _ACEOF
    3134 if ac_fn_c_try_compile "$LINENO"; then :
    3135   ac_cv_prog_cc_g=yes
    3136 fi
    3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3138 fi
    3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3140 fi
    3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3142    ac_c_werror_flag=$ac_save_c_werror_flag
    3143 fi
    3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    3145 $as_echo "$ac_cv_prog_cc_g" >&6; }
     2185  echo "$as_me: failed program was:" >&5
     2186sed 's/^/| /' conftest.$ac_ext >&5
     2187
     2188ac_cv_prog_cc_g=no
     2189fi
     2190rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2191fi
     2192echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2193echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    31462194if test "$ac_test_CFLAGS" = set; then
    31472195  CFLAGS=$ac_save_CFLAGS
     
    31592207  fi
    31602208fi
    3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    3162 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3163 if test "${ac_cv_prog_cc_c89+set}" = set; then :
    3164   $as_echo_n "(cached) " >&6
    3165 else
    3166   ac_cv_prog_cc_c89=no
     2209echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2210echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2211if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2212  echo $ECHO_N "(cached) $ECHO_C" >&6
     2213else
     2214  ac_cv_prog_cc_stdc=no
    31672215ac_save_CC=$CC
    3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2216cat >conftest.$ac_ext <<_ACEOF
     2217/* confdefs.h.  */
     2218_ACEOF
     2219cat confdefs.h >>conftest.$ac_ext
     2220cat >>conftest.$ac_ext <<_ACEOF
    31692221/* end confdefs.h.  */
    31702222#include <stdarg.h>
     
    31942246   function prototypes and stuff, but not '\xHH' hex character constants.
    31952247   These don't provoke an error unfortunately, instead are silently treated
    3196    as 'x'.  The following induces an error, until -std is added to get
     2248   as 'x'.  The following induces an error, until -std1 is added to get
    31972249   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    31982250   array size at least.  It's necessary to write '\x00'==0 to get something
    3199    that's true only with -std.  */
     2251   that's true only with -std1.  */
    32002252int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    3201 
    3202 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    3203    inside strings and character constants.  */
    3204 #define FOO(x) 'x'
    3205 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    32062253
    32072254int test (int i, double x);
     
    32192266}
    32202267_ACEOF
    3221 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    3222     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2268# Don't try gcc -ansi; that turns off useful extensions and
     2269# breaks some systems' header files.
     2270# AIX           -qlanglvl=ansi
     2271# Ultrix and OSF/1  -std1
     2272# HP-UX 10.20 and later -Ae
     2273# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2274# SVR4          -Xc -D__EXTENSIONS__
     2275for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    32232276do
    32242277  CC="$ac_save_CC $ac_arg"
    3225   if ac_fn_c_try_compile "$LINENO"; then :
    3226   ac_cv_prog_cc_c89=$ac_arg
    3227 fi
    3228 rm -f core conftest.err conftest.$ac_objext
    3229   test "x$ac_cv_prog_cc_c89" != "xno" && break
     2278  rm -f conftest.$ac_objext
     2279if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2280  (eval $ac_compile) 2>conftest.er1
     2281  ac_status=$?
     2282  grep -v '^ *+' conftest.er1 >conftest.err
     2283  rm -f conftest.er1
     2284  cat conftest.err >&5
     2285  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2286  (exit $ac_status); } &&
     2287     { ac_try='test -z "$ac_c_werror_flag"
     2288             || test ! -s conftest.err'
     2289  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2290  (eval $ac_try) 2>&5
     2291  ac_status=$?
     2292  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2293  (exit $ac_status); }; } &&
     2294     { ac_try='test -s conftest.$ac_objext'
     2295  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2296  (eval $ac_try) 2>&5
     2297  ac_status=$?
     2298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2299  (exit $ac_status); }; }; then
     2300  ac_cv_prog_cc_stdc=$ac_arg
     2301break
     2302else
     2303  echo "$as_me: failed program was:" >&5
     2304sed 's/^/| /' conftest.$ac_ext >&5
     2305
     2306fi
     2307rm -f conftest.err conftest.$ac_objext
    32302308done
    3231 rm -f conftest.$ac_ext
     2309rm -f conftest.$ac_ext conftest.$ac_objext
    32322310CC=$ac_save_CC
    32332311
    32342312fi
    3235 # AC_CACHE_VAL
    3236 case "x$ac_cv_prog_cc_c89" in
    3237   x)
    3238     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    3239 $as_echo "none needed" >&6; } ;;
    3240   xno)
    3241     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    3242 $as_echo "unsupported" >&6; } ;;
     2313
     2314case "x$ac_cv_prog_cc_stdc" in
     2315  x|xno)
     2316    echo "$as_me:$LINENO: result: none needed" >&5
     2317echo "${ECHO_T}none needed" >&6 ;;
    32432318  *)
    3244     CC="$CC $ac_cv_prog_cc_c89"
    3245     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    3246 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     2319    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2320echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2321    CC="$CC $ac_cv_prog_cc_stdc" ;;
    32472322esac
    3248 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3249 
    3250 fi
    3251 
     2323
     2324# Some people use a C++ compiler to compile C.  Since we use `exit',
     2325# in C++ we need to declare it.  In case someone uses the same compiler
     2326# for both compiling C and C++ we need to have the C++ compiler decide
     2327# the declaration of exit, since it's the most demanding environment.
     2328cat >conftest.$ac_ext <<_ACEOF
     2329#ifndef __cplusplus
     2330  choke me
     2331#endif
     2332_ACEOF
     2333rm -f conftest.$ac_objext
     2334if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2335  (eval $ac_compile) 2>conftest.er1
     2336  ac_status=$?
     2337  grep -v '^ *+' conftest.er1 >conftest.err
     2338  rm -f conftest.er1
     2339  cat conftest.err >&5
     2340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2341  (exit $ac_status); } &&
     2342     { ac_try='test -z "$ac_c_werror_flag"
     2343             || test ! -s conftest.err'
     2344  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2345  (eval $ac_try) 2>&5
     2346  ac_status=$?
     2347  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2348  (exit $ac_status); }; } &&
     2349     { ac_try='test -s conftest.$ac_objext'
     2350  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2351  (eval $ac_try) 2>&5
     2352  ac_status=$?
     2353  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2354  (exit $ac_status); }; }; then
     2355  for ac_declaration in \
     2356   '' \
     2357   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2358   'extern "C" void std::exit (int); using std::exit;' \
     2359   'extern "C" void exit (int) throw ();' \
     2360   'extern "C" void exit (int);' \
     2361   'void exit (int);'
     2362do
     2363  cat >conftest.$ac_ext <<_ACEOF
     2364/* confdefs.h.  */
     2365_ACEOF
     2366cat confdefs.h >>conftest.$ac_ext
     2367cat >>conftest.$ac_ext <<_ACEOF
     2368/* end confdefs.h.  */
     2369$ac_declaration
     2370#include <stdlib.h>
     2371int
     2372main ()
     2373{
     2374exit (42);
     2375  ;
     2376  return 0;
     2377}
     2378_ACEOF
     2379rm -f conftest.$ac_objext
     2380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2381  (eval $ac_compile) 2>conftest.er1
     2382  ac_status=$?
     2383  grep -v '^ *+' conftest.er1 >conftest.err
     2384  rm -f conftest.er1
     2385  cat conftest.err >&5
     2386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2387  (exit $ac_status); } &&
     2388     { ac_try='test -z "$ac_c_werror_flag"
     2389             || test ! -s conftest.err'
     2390  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2391  (eval $ac_try) 2>&5
     2392  ac_status=$?
     2393  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2394  (exit $ac_status); }; } &&
     2395     { ac_try='test -s conftest.$ac_objext'
     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); }; }; then
     2401  :
     2402else
     2403  echo "$as_me: failed program was:" >&5
     2404sed 's/^/| /' conftest.$ac_ext >&5
     2405
     2406continue
     2407fi
     2408rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2409  cat >conftest.$ac_ext <<_ACEOF
     2410/* confdefs.h.  */
     2411_ACEOF
     2412cat confdefs.h >>conftest.$ac_ext
     2413cat >>conftest.$ac_ext <<_ACEOF
     2414/* end confdefs.h.  */
     2415$ac_declaration
     2416int
     2417main ()
     2418{
     2419exit (42);
     2420  ;
     2421  return 0;
     2422}
     2423_ACEOF
     2424rm -f conftest.$ac_objext
     2425if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2426  (eval $ac_compile) 2>conftest.er1
     2427  ac_status=$?
     2428  grep -v '^ *+' conftest.er1 >conftest.err
     2429  rm -f conftest.er1
     2430  cat conftest.err >&5
     2431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2432  (exit $ac_status); } &&
     2433     { ac_try='test -z "$ac_c_werror_flag"
     2434             || test ! -s conftest.err'
     2435  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2436  (eval $ac_try) 2>&5
     2437  ac_status=$?
     2438  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2439  (exit $ac_status); }; } &&
     2440     { ac_try='test -s conftest.$ac_objext'
     2441  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2442  (eval $ac_try) 2>&5
     2443  ac_status=$?
     2444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2445  (exit $ac_status); }; }; then
     2446  break
     2447else
     2448  echo "$as_me: failed program was:" >&5
     2449sed 's/^/| /' conftest.$ac_ext >&5
     2450
     2451fi
     2452rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2453done
     2454rm -f conftest*
     2455if test -n "$ac_declaration"; then
     2456  echo '#ifdef __cplusplus' >>confdefs.h
     2457  echo $ac_declaration      >>confdefs.h
     2458  echo '#endif'             >>confdefs.h
     2459fi
     2460
     2461else
     2462  echo "$as_me: failed program was:" >&5
     2463sed 's/^/| /' conftest.$ac_ext >&5
     2464
     2465fi
     2466rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    32522467ac_ext=c
    32532468ac_cpp='$CPP $CPPFLAGS'
     
    32562471ac_compiler_gnu=$ac_cv_c_compiler_gnu
    32572472
    3258 ac_ext=cpp
     2473ac_ext=cc
    32592474ac_cpp='$CXXCPP $CPPFLAGS'
    32602475ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    32612476ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    32622477ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3263 if test -z "$CXX"; then
    3264   if test -n "$CCC"; then
    3265     CXX=$CCC
    3266   else
    3267     if test -n "$ac_tool_prefix"; then
    3268   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2478if test -n "$ac_tool_prefix"; then
     2479  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    32692480  do
    32702481    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    32712482set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3273 $as_echo_n "checking for $ac_word... " >&6; }
    3274 if test "${ac_cv_prog_CXX+set}" = set; then :
    3275   $as_echo_n "(cached) " >&6
     2483echo "$as_me:$LINENO: checking for $ac_word" >&5
     2484echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2485if test "${ac_cv_prog_CXX+set}" = set; then
     2486  echo $ECHO_N "(cached) $ECHO_C" >&6
    32762487else
    32772488  if test -n "$CXX"; then
     
    32832494  IFS=$as_save_IFS
    32842495  test -z "$as_dir" && as_dir=.
    3285     for ac_exec_ext in '' $ac_executable_extensions; do
    3286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2496  for ac_exec_ext in '' $ac_executable_extensions; do
     2497  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    32872498    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2499    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    32892500    break 2
    32902501  fi
    32912502done
    3292   done
    3293 IFS=$as_save_IFS
     2503done
    32942504
    32952505fi
     
    32972507CXX=$ac_cv_prog_CXX
    32982508if test -n "$CXX"; then
    3299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    3300 $as_echo "$CXX" >&6; }
    3301 else
    3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3303 $as_echo "no" >&6; }
    3304 fi
    3305 
     2509  echo "$as_me:$LINENO: result: $CXX" >&5
     2510echo "${ECHO_T}$CXX" >&6
     2511else
     2512  echo "$as_me:$LINENO: result: no" >&5
     2513echo "${ECHO_T}no" >&6
     2514fi
    33062515
    33072516    test -n "$CXX" && break
     
    33102519if test -z "$CXX"; then
    33112520  ac_ct_CXX=$CXX
    3312   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2521  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    33132522do
    33142523  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33152524set dummy $ac_prog; ac_word=$2
    3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3317 $as_echo_n "checking for $ac_word... " >&6; }
    3318 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
    3319   $as_echo_n "(cached) " >&6
     2525echo "$as_me:$LINENO: checking for $ac_word" >&5
     2526echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2527if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     2528  echo $ECHO_N "(cached) $ECHO_C" >&6
    33202529else
    33212530  if test -n "$ac_ct_CXX"; then
     
    33272536  IFS=$as_save_IFS
    33282537  test -z "$as_dir" && as_dir=.
    3329     for ac_exec_ext in '' $ac_executable_extensions; do
    3330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2538  for ac_exec_ext in '' $ac_executable_extensions; do
     2539  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33312540    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2541    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    33332542    break 2
    33342543  fi
    33352544done
    3336   done
    3337 IFS=$as_save_IFS
     2545done
    33382546
    33392547fi
     
    33412549ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    33422550if test -n "$ac_ct_CXX"; then
    3343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    3344 $as_echo "$ac_ct_CXX" >&6; }
    3345 else
    3346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3347 $as_echo "no" >&6; }
    3348 fi
    3349 
     2551  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2552echo "${ECHO_T}$ac_ct_CXX" >&6
     2553else
     2554  echo "$as_me:$LINENO: result: no" >&5
     2555echo "${ECHO_T}no" >&6
     2556fi
    33502557
    33512558  test -n "$ac_ct_CXX" && break
    33522559done
    3353 
    3354   if test "x$ac_ct_CXX" = x; then
    3355     CXX="g++"
    3356   else
    3357     case $cross_compiling:$ac_tool_warned in
    3358 yes:)
    3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    3361 ac_tool_warned=yes ;;
    3362 esac
    3363     CXX=$ac_ct_CXX
    3364   fi
    3365 fi
    3366 
    3367   fi
    3368 fi
     2560test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2561
     2562  CXX=$ac_ct_CXX
     2563fi
     2564
     2565
    33692566# Provide some information about the compiler.
    3370 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    3371 set X $ac_compile
    3372 ac_compiler=$2
    3373 for ac_option in --version -v -V -qversion; do
    3374   { { ac_try="$ac_compiler $ac_option >&5"
    3375 case "(($ac_try" in
    3376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3377   *) ac_try_echo=$ac_try;;
    3378 esac
    3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3380 $as_echo "$ac_try_echo"; } >&5
    3381   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    3382   ac_status=$?
    3383   if test -s conftest.err; then
    3384     sed '10a\
    3385 ... rest of stderr output deleted ...
    3386          10q' conftest.err >conftest.er1
    3387     cat conftest.er1 >&5
    3388   fi
    3389   rm -f conftest.er1 conftest.err
    3390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3391   test $ac_status = 0; }
    3392 done
    3393 
    3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    3395 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3396 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
    3397   $as_echo_n "(cached) " >&6
    3398 else
    3399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2567echo "$as_me:$LINENO:" \
     2568     "checking for C++ compiler version" >&5
     2569ac_compiler=`set X $ac_compile; echo $2`
     2570{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2571  (eval $ac_compiler --version </dev/null >&5) 2>&5
     2572  ac_status=$?
     2573  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2574  (exit $ac_status); }
     2575{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2576  (eval $ac_compiler -v </dev/null >&5) 2>&5
     2577  ac_status=$?
     2578  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2579  (exit $ac_status); }
     2580{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2581  (eval $ac_compiler -V </dev/null >&5) 2>&5
     2582  ac_status=$?
     2583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2584  (exit $ac_status); }
     2585
     2586echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2587echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2588if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     2589  echo $ECHO_N "(cached) $ECHO_C" >&6
     2590else
     2591  cat >conftest.$ac_ext <<_ACEOF
     2592/* confdefs.h.  */
     2593_ACEOF
     2594cat confdefs.h >>conftest.$ac_ext
     2595cat >>conftest.$ac_ext <<_ACEOF
    34002596/* end confdefs.h.  */
    34012597
     
    34112607}
    34122608_ACEOF
    3413 if ac_fn_cxx_try_compile "$LINENO"; then :
     2609rm -f conftest.$ac_objext
     2610if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2611  (eval $ac_compile) 2>conftest.er1
     2612  ac_status=$?
     2613  grep -v '^ *+' conftest.er1 >conftest.err
     2614  rm -f conftest.er1
     2615  cat conftest.err >&5
     2616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2617  (exit $ac_status); } &&
     2618     { ac_try='test -z "$ac_cxx_werror_flag"
     2619             || test ! -s conftest.err'
     2620  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2621  (eval $ac_try) 2>&5
     2622  ac_status=$?
     2623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2624  (exit $ac_status); }; } &&
     2625     { ac_try='test -s conftest.$ac_objext'
     2626  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2627  (eval $ac_try) 2>&5
     2628  ac_status=$?
     2629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2630  (exit $ac_status); }; }; then
    34142631  ac_compiler_gnu=yes
    34152632else
    3416   ac_compiler_gnu=no
    3417 fi
    3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2633  echo "$as_me: failed program was:" >&5
     2634sed 's/^/| /' conftest.$ac_ext >&5
     2635
     2636ac_compiler_gnu=no
     2637fi
     2638rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    34192639ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    34202640
    34212641fi
    3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    3423 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    3424 if test $ac_compiler_gnu = yes; then
    3425   GXX=yes
    3426 else
    3427   GXX=
    3428 fi
     2642echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2643echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2644GXX=`test $ac_compiler_gnu = yes && echo yes`
    34292645ac_test_CXXFLAGS=${CXXFLAGS+set}
    34302646ac_save_CXXFLAGS=$CXXFLAGS
    3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    3432 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3433 if test "${ac_cv_prog_cxx_g+set}" = set; then :
    3434   $as_echo_n "(cached) " >&6
    3435 else
    3436   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    3437    ac_cxx_werror_flag=yes
    3438    ac_cv_prog_cxx_g=no
    3439    CXXFLAGS="-g"
    3440    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2647CXXFLAGS="-g"
     2648echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2649echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     2650if test "${ac_cv_prog_cxx_g+set}" = set; then
     2651  echo $ECHO_N "(cached) $ECHO_C" >&6
     2652else
     2653  cat >conftest.$ac_ext <<_ACEOF
     2654/* confdefs.h.  */
     2655_ACEOF
     2656cat confdefs.h >>conftest.$ac_ext
     2657cat >>conftest.$ac_ext <<_ACEOF
    34412658/* end confdefs.h.  */
    34422659
     
    34492666}
    34502667_ACEOF
    3451 if ac_fn_cxx_try_compile "$LINENO"; then :
     2668rm -f conftest.$ac_objext
     2669if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2670  (eval $ac_compile) 2>conftest.er1
     2671  ac_status=$?
     2672  grep -v '^ *+' conftest.er1 >conftest.err
     2673  rm -f conftest.er1
     2674  cat conftest.err >&5
     2675  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2676  (exit $ac_status); } &&
     2677     { ac_try='test -z "$ac_cxx_werror_flag"
     2678             || test ! -s conftest.err'
     2679  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2680  (eval $ac_try) 2>&5
     2681  ac_status=$?
     2682  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2683  (exit $ac_status); }; } &&
     2684     { ac_try='test -s conftest.$ac_objext'
     2685  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2686  (eval $ac_try) 2>&5
     2687  ac_status=$?
     2688  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2689  (exit $ac_status); }; }; then
    34522690  ac_cv_prog_cxx_g=yes
    34532691else
    3454   CXXFLAGS=""
    3455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3456 /* end confdefs.h.  */
    3457 
    3458 int
    3459 main ()
    3460 {
    3461 
    3462   ;
    3463   return 0;
    3464 }
    3465 _ACEOF
    3466 if ac_fn_cxx_try_compile "$LINENO"; then :
    3467 
    3468 else
    3469   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3470      CXXFLAGS="-g"
    3471      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3472 /* end confdefs.h.  */
    3473 
    3474 int
    3475 main ()
    3476 {
    3477 
    3478   ;
    3479   return 0;
    3480 }
    3481 _ACEOF
    3482 if ac_fn_cxx_try_compile "$LINENO"; then :
    3483   ac_cv_prog_cxx_g=yes
    3484 fi
    3485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3486 fi
    3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3488 fi
    3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3490    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3491 fi
    3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    3493 $as_echo "$ac_cv_prog_cxx_g" >&6; }
     2692  echo "$as_me: failed program was:" >&5
     2693sed 's/^/| /' conftest.$ac_ext >&5
     2694
     2695ac_cv_prog_cxx_g=no
     2696fi
     2697rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2698fi
     2699echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2700echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    34942701if test "$ac_test_CXXFLAGS" = set; then
    34952702  CXXFLAGS=$ac_save_CXXFLAGS
     
    35072714  fi
    35082715fi
     2716for ac_declaration in \
     2717   '' \
     2718   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2719   'extern "C" void std::exit (int); using std::exit;' \
     2720   'extern "C" void exit (int) throw ();' \
     2721   'extern "C" void exit (int);' \
     2722   'void exit (int);'
     2723do
     2724  cat >conftest.$ac_ext <<_ACEOF
     2725/* confdefs.h.  */
     2726_ACEOF
     2727cat confdefs.h >>conftest.$ac_ext
     2728cat >>conftest.$ac_ext <<_ACEOF
     2729/* end confdefs.h.  */
     2730$ac_declaration
     2731#include <stdlib.h>
     2732int
     2733main ()
     2734{
     2735exit (42);
     2736  ;
     2737  return 0;
     2738}
     2739_ACEOF
     2740rm -f conftest.$ac_objext
     2741if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2742  (eval $ac_compile) 2>conftest.er1
     2743  ac_status=$?
     2744  grep -v '^ *+' conftest.er1 >conftest.err
     2745  rm -f conftest.er1
     2746  cat conftest.err >&5
     2747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2748  (exit $ac_status); } &&
     2749     { ac_try='test -z "$ac_cxx_werror_flag"
     2750             || test ! -s conftest.err'
     2751  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2752  (eval $ac_try) 2>&5
     2753  ac_status=$?
     2754  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2755  (exit $ac_status); }; } &&
     2756     { ac_try='test -s conftest.$ac_objext'
     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); }; }; then
     2762  :
     2763else
     2764  echo "$as_me: failed program was:" >&5
     2765sed 's/^/| /' conftest.$ac_ext >&5
     2766
     2767continue
     2768fi
     2769rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2770  cat >conftest.$ac_ext <<_ACEOF
     2771/* confdefs.h.  */
     2772_ACEOF
     2773cat confdefs.h >>conftest.$ac_ext
     2774cat >>conftest.$ac_ext <<_ACEOF
     2775/* end confdefs.h.  */
     2776$ac_declaration
     2777int
     2778main ()
     2779{
     2780exit (42);
     2781  ;
     2782  return 0;
     2783}
     2784_ACEOF
     2785rm -f conftest.$ac_objext
     2786if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2787  (eval $ac_compile) 2>conftest.er1
     2788  ac_status=$?
     2789  grep -v '^ *+' conftest.er1 >conftest.err
     2790  rm -f conftest.er1
     2791  cat conftest.err >&5
     2792  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2793  (exit $ac_status); } &&
     2794     { ac_try='test -z "$ac_cxx_werror_flag"
     2795             || test ! -s conftest.err'
     2796  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2797  (eval $ac_try) 2>&5
     2798  ac_status=$?
     2799  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2800  (exit $ac_status); }; } &&
     2801     { ac_try='test -s conftest.$ac_objext'
     2802  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2803  (eval $ac_try) 2>&5
     2804  ac_status=$?
     2805  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2806  (exit $ac_status); }; }; then
     2807  break
     2808else
     2809  echo "$as_me: failed program was:" >&5
     2810sed 's/^/| /' conftest.$ac_ext >&5
     2811
     2812fi
     2813rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2814done
     2815rm -f conftest*
     2816if test -n "$ac_declaration"; then
     2817  echo '#ifdef __cplusplus' >>confdefs.h
     2818  echo $ac_declaration      >>confdefs.h
     2819  echo '#endif'             >>confdefs.h
     2820fi
     2821
    35092822ac_ext=c
    35102823ac_cpp='$CPP $CPPFLAGS'
     
    35222835  # Extract the first word of "$ac_prog", so it can be a program name with args.
    35232836set dummy $ac_prog; ac_word=$2
    3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3525 $as_echo_n "checking for $ac_word... " >&6; }
    3526 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3527   $as_echo_n "(cached) " >&6
     2837echo "$as_me:$LINENO: checking for $ac_word" >&5
     2838echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2839if test "${ac_cv_prog_JAVAC+set}" = set; then
     2840  echo $ECHO_N "(cached) $ECHO_C" >&6
    35282841else
    35292842  if test -n "$JAVAC"; then
     
    35352848  IFS=$as_save_IFS
    35362849  test -z "$as_dir" && as_dir=.
    3537     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
     2850  for ac_exec_ext in '' $ac_executable_extensions; do
     2851  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35392852    ac_cv_prog_JAVAC="$ac_prog"
    3540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2853    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    35412854    break 2
    35422855  fi
    35432856done
    3544   done
    3545 IFS=$as_save_IFS
     2857done
    35462858
    35472859fi
     
    35492861JAVAC=$ac_cv_prog_JAVAC
    35502862if test -n "$JAVAC"; then
    3551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3552 $as_echo "$JAVAC" >&6; }
    3553 else
    3554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3555 $as_echo "no" >&6; }
    3556 fi
    3557 
     2863  echo "$as_me:$LINENO: result: $JAVAC" >&5
     2864echo "${ECHO_T}$JAVAC" >&6
     2865else
     2866  echo "$as_me:$LINENO: result: no" >&5
     2867echo "${ECHO_T}no" >&6
     2868fi
    35582869
    35592870  test -n "$JAVAC" && break
     
    35652876  # Extract the first word of "$ac_prog", so it can be a program name with args.
    35662877set dummy $ac_prog; ac_word=$2
    3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3568 $as_echo_n "checking for $ac_word... " >&6; }
    3569 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3570   $as_echo_n "(cached) " >&6
     2878echo "$as_me:$LINENO: checking for $ac_word" >&5
     2879echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2880if test "${ac_cv_prog_JAVAC+set}" = set; then
     2881  echo $ECHO_N "(cached) $ECHO_C" >&6
    35712882else
    35722883  if test -n "$JAVAC"; then
     
    35782889  IFS=$as_save_IFS
    35792890  test -z "$as_dir" && as_dir=.
    3580     for ac_exec_ext in '' $ac_executable_extensions; do
    3581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2891  for ac_exec_ext in '' $ac_executable_extensions; do
     2892  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35822893    ac_cv_prog_JAVAC="$ac_prog"
    3583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2894    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    35842895    break 2
    35852896  fi
    35862897done
    3587   done
    3588 IFS=$as_save_IFS
     2898done
    35892899
    35902900fi
     
    35922902JAVAC=$ac_cv_prog_JAVAC
    35932903if test -n "$JAVAC"; then
    3594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3595 $as_echo "$JAVAC" >&6; }
    3596 else
    3597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3598 $as_echo "no" >&6; }
    3599 fi
    3600 
     2904  echo "$as_me:$LINENO: result: $JAVAC" >&5
     2905echo "${ECHO_T}$JAVAC" >&6
     2906else
     2907  echo "$as_me:$LINENO: result: no" >&5
     2908echo "${ECHO_T}no" >&6
     2909fi
    36012910
    36022911  test -n "$JAVAC" && break
     
    36052914
    36062915  fi
    3607   test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
     2916  test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
     2917echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
     2918   { (exit 1); exit 1; }; }
    36082919else
    36092920  echo "Checking for javac... $JAVAC"
     
    36122923
    36132924
    3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
    3615 $as_echo_n "checking if $JAVAC works... " >&6; }
    3616 if test "${ac_cv_prog_javac_works+set}" = set; then :
    3617   $as_echo_n "(cached) " >&6
     2925echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     2926echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
     2927if test "${ac_cv_prog_javac_works+set}" = set; then
     2928  echo $ECHO_N "(cached) $ECHO_C" >&6
    36182929else
    36192930
     
    36212932CLASS_TEST=Test.class
    36222933cat << \EOF > $JAVA_TEST
    3623 /* #line 3623 "configure" */
     2934/* #line 2934 "configure" */
    36242935public class Test {
    36252936}
    36262937EOF
    36272938if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3628   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    3629   (eval $ac_try) 2>&5
    3630   ac_status=$?
    3631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3632   test $ac_status = 0; }; } >/dev/null 2>&1; then
     2939  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2940  (eval $ac_try) 2>&5
     2941  ac_status=$?
     2942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2943  (exit $ac_status); }; } >/dev/null 2>&1; then
    36332944  ac_cv_prog_javac_works=yes
    36342945else
    3635   as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     2946  { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     2947echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     2948   { (exit 1); exit 1; }; }
    36362949  echo "configure: failed program was:" >&5
    36372950  cat $JAVA_TEST >&5
     
    36402953
    36412954fi
    3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    3643 $as_echo "$ac_cv_prog_javac_works" >&6; }
     2955echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     2956echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
    36442957if test "x$JAVACFLAGS" = x ; then
    36452958  JAVACFLAGS="-source 1.4 -target 1.4"
     
    36552968  # Extract the first word of "$ac_prog", so it can be a program name with args.
    36562969set dummy $ac_prog; ac_word=$2
    3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3658 $as_echo_n "checking for $ac_word... " >&6; }
    3659 if test "${ac_cv_prog_JAVA+set}" = set; then :
    3660   $as_echo_n "(cached) " >&6
     2970echo "$as_me:$LINENO: checking for $ac_word" >&5
     2971echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2972if test "${ac_cv_prog_JAVA+set}" = set; then
     2973  echo $ECHO_N "(cached) $ECHO_C" >&6
    36612974else
    36622975  if test -n "$JAVA"; then
     
    36682981  IFS=$as_save_IFS
    36692982  test -z "$as_dir" && as_dir=.
    3670     for ac_exec_ext in '' $ac_executable_extensions; do
    3671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2983  for ac_exec_ext in '' $ac_executable_extensions; do
     2984  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36722985    ac_cv_prog_JAVA="$ac_prog"
    3673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2986    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    36742987    break 2
    36752988  fi
    36762989done
    3677   done
    3678 IFS=$as_save_IFS
     2990done
    36792991
    36802992fi
     
    36822994JAVA=$ac_cv_prog_JAVA
    36832995if test -n "$JAVA"; then
    3684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    3685 $as_echo "$JAVA" >&6; }
    3686 else
    3687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3688 $as_echo "no" >&6; }
    3689 fi
    3690 
     2996  echo "$as_me:$LINENO: result: $JAVA" >&5
     2997echo "${ECHO_T}$JAVA" >&6
     2998else
     2999  echo "$as_me:$LINENO: result: no" >&5
     3000echo "${ECHO_T}no" >&6
     3001fi
    36913002
    36923003  test -n "$JAVA" && break
     
    36983009  # Extract the first word of "$ac_prog", so it can be a program name with args.
    36993010set dummy $ac_prog; ac_word=$2
    3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3701 $as_echo_n "checking for $ac_word... " >&6; }
    3702 if test "${ac_cv_prog_JAVA+set}" = set; then :
    3703   $as_echo_n "(cached) " >&6
     3011echo "$as_me:$LINENO: checking for $ac_word" >&5
     3012echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3013if test "${ac_cv_prog_JAVA+set}" = set; then
     3014  echo $ECHO_N "(cached) $ECHO_C" >&6
    37043015else
    37053016  if test -n "$JAVA"; then
     
    37113022  IFS=$as_save_IFS
    37123023  test -z "$as_dir" && as_dir=.
    3713     for ac_exec_ext in '' $ac_executable_extensions; do
    3714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3024  for ac_exec_ext in '' $ac_executable_extensions; do
     3025  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37153026    ac_cv_prog_JAVA="$ac_prog"
    3716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3027    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    37173028    break 2
    37183029  fi
    37193030done
    3720   done
    3721 IFS=$as_save_IFS
     3031done
    37223032
    37233033fi
     
    37253035JAVA=$ac_cv_prog_JAVA
    37263036if test -n "$JAVA"; then
    3727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    3728 $as_echo "$JAVA" >&6; }
    3729 else
    3730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3731 $as_echo "no" >&6; }
    3732 fi
    3733 
     3037  echo "$as_me:$LINENO: result: $JAVA" >&5
     3038echo "${ECHO_T}$JAVA" >&6
     3039else
     3040  echo "$as_me:$LINENO: result: no" >&5
     3041echo "${ECHO_T}no" >&6
     3042fi
    37343043
    37353044  test -n "$JAVA" && break
     
    37383047
    37393048    fi
    3740     test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
     3049    test x$JAVA = x && { { echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
     3050echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
     3051   { (exit 1); exit 1; }; }
    37413052fi
    37423053
     
    37443055# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
    37453056set dummy uudecode$EXEEXT; ac_word=$2
    3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3747 $as_echo_n "checking for $ac_word... " >&6; }
    3748 if test "${ac_cv_prog_uudecode+set}" = set; then :
    3749   $as_echo_n "(cached) " >&6
     3057echo "$as_me:$LINENO: checking for $ac_word" >&5
     3058echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3059if test "${ac_cv_prog_uudecode+set}" = set; then
     3060  echo $ECHO_N "(cached) $ECHO_C" >&6
    37503061else
    37513062  if test -n "$uudecode"; then
     
    37573068  IFS=$as_save_IFS
    37583069  test -z "$as_dir" && as_dir=.
    3759     for ac_exec_ext in '' $ac_executable_extensions; do
    3760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3070  for ac_exec_ext in '' $ac_executable_extensions; do
     3071  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37613072    ac_cv_prog_uudecode="yes"
    3762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3073    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    37633074    break 2
    37643075  fi
    37653076done
    3766   done
    3767 IFS=$as_save_IFS
     3077done
    37683078
    37693079fi
     
    37713081uudecode=$ac_cv_prog_uudecode
    37723082if test -n "$uudecode"; then
    3773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
    3774 $as_echo "$uudecode" >&6; }
    3775 else
    3776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3777 $as_echo "no" >&6; }
    3778 fi
    3779 
     3083  echo "$as_me:$LINENO: result: $uudecode" >&5
     3084echo "${ECHO_T}$uudecode" >&6
     3085else
     3086  echo "$as_me:$LINENO: result: no" >&5
     3087echo "${ECHO_T}no" >&6
     3088fi
    37803089
    37813090if test x$uudecode = xyes; then
    3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
    3783 $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
    3784 if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
    3785   $as_echo_n "(cached) " >&6
     3091echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
     3092echo $ECHO_N "checking if uudecode can decode base 64 file... $ECHO_C" >&6
     3093if test "${ac_cv_prog_uudecode_base64+set}" = set; then
     3094  echo $ECHO_N "(cached) $ECHO_C" >&6
    37863095else
    37873096
     
    38003109        ac_cv_prog_uudecode_base64=yes
    38013110else
    3802         echo "configure: 3802: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     3111        echo "configure: 3111: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    38033112        echo "configure: failed file was:" >&5
    38043113        cat Test.uue >&5
     
    38073116rm -f Test.uue
    38083117fi
    3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
    3810 $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
     3118echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
     3119echo "${ECHO_T}$ac_cv_prog_uudecode_base64" >&6
    38113120fi
    38123121if test x$ac_cv_prog_uudecode_base64 != xyes; then
    38133122        rm -f Test.class
    3814         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
    3815 $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
     3123        { echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
     3124echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
    38163125        if test x$ac_cv_prog_javac_works = xno; then
    3817                 as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
     3126                { { echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
     3127echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
     3128   { (exit 1); exit 1; }; }
    38183129        fi
    38193130        if test x$ac_cv_prog_javac_works = x; then
     
    38253136  # Extract the first word of "$ac_prog", so it can be a program name with args.
    38263137set dummy $ac_prog; ac_word=$2
    3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3828 $as_echo_n "checking for $ac_word... " >&6; }
    3829 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3830   $as_echo_n "(cached) " >&6
     3138echo "$as_me:$LINENO: checking for $ac_word" >&5
     3139echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3140if test "${ac_cv_prog_JAVAC+set}" = set; then
     3141  echo $ECHO_N "(cached) $ECHO_C" >&6
    38313142else
    38323143  if test -n "$JAVAC"; then
     
    38383149  IFS=$as_save_IFS
    38393150  test -z "$as_dir" && as_dir=.
    3840     for ac_exec_ext in '' $ac_executable_extensions; do
    3841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3151  for ac_exec_ext in '' $ac_executable_extensions; do
     3152  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38423153    ac_cv_prog_JAVAC="$ac_prog"
    3843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3154    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    38443155    break 2
    38453156  fi
    38463157done
    3847   done
    3848 IFS=$as_save_IFS
     3158done
    38493159
    38503160fi
     
    38523162JAVAC=$ac_cv_prog_JAVAC
    38533163if test -n "$JAVAC"; then
    3854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3855 $as_echo "$JAVAC" >&6; }
    3856 else
    3857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3858 $as_echo "no" >&6; }
    3859 fi
    3860 
     3164  echo "$as_me:$LINENO: result: $JAVAC" >&5
     3165echo "${ECHO_T}$JAVAC" >&6
     3166else
     3167  echo "$as_me:$LINENO: result: no" >&5
     3168echo "${ECHO_T}no" >&6
     3169fi
    38613170
    38623171  test -n "$JAVAC" && break
     
    38683177  # Extract the first word of "$ac_prog", so it can be a program name with args.
    38693178set dummy $ac_prog; ac_word=$2
    3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3871 $as_echo_n "checking for $ac_word... " >&6; }
    3872 if test "${ac_cv_prog_JAVAC+set}" = set; then :
    3873   $as_echo_n "(cached) " >&6
     3179echo "$as_me:$LINENO: checking for $ac_word" >&5
     3180echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3181if test "${ac_cv_prog_JAVAC+set}" = set; then
     3182  echo $ECHO_N "(cached) $ECHO_C" >&6
    38743183else
    38753184  if test -n "$JAVAC"; then
     
    38813190  IFS=$as_save_IFS
    38823191  test -z "$as_dir" && as_dir=.
    3883     for ac_exec_ext in '' $ac_executable_extensions; do
    3884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3192  for ac_exec_ext in '' $ac_executable_extensions; do
     3193  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38853194    ac_cv_prog_JAVAC="$ac_prog"
    3886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3195    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    38873196    break 2
    38883197  fi
    38893198done
    3890   done
    3891 IFS=$as_save_IFS
     3199done
    38923200
    38933201fi
     
    38953203JAVAC=$ac_cv_prog_JAVAC
    38963204if test -n "$JAVAC"; then
    3897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    3898 $as_echo "$JAVAC" >&6; }
    3899 else
    3900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3901 $as_echo "no" >&6; }
    3902 fi
    3903 
     3205  echo "$as_me:$LINENO: result: $JAVAC" >&5
     3206echo "${ECHO_T}$JAVAC" >&6
     3207else
     3208  echo "$as_me:$LINENO: result: no" >&5
     3209echo "${ECHO_T}no" >&6
     3210fi
    39043211
    39053212  test -n "$JAVAC" && break
     
    39083215
    39093216  fi
    3910   test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
     3217  test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
     3218echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
     3219   { (exit 1); exit 1; }; }
    39113220else
    39123221  echo "Checking for javac... $JAVAC"
     
    39153224
    39163225
    3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
    3918 $as_echo_n "checking if $JAVAC works... " >&6; }
    3919 if test "${ac_cv_prog_javac_works+set}" = set; then :
    3920   $as_echo_n "(cached) " >&6
     3226echo "$as_me:$LINENO: checking if $JAVAC works" >&5
     3227echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6
     3228if test "${ac_cv_prog_javac_works+set}" = set; then
     3229  echo $ECHO_N "(cached) $ECHO_C" >&6
    39213230else
    39223231
     
    39243233CLASS_TEST=Test.class
    39253234cat << \EOF > $JAVA_TEST
    3926 /* #line 3926 "configure" */
     3235/* #line 3235 "configure" */
    39273236public class Test {
    39283237}
    39293238EOF
    39303239if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3931   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    3932   (eval $ac_try) 2>&5
    3933   ac_status=$?
    3934   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3935   test $ac_status = 0; }; } >/dev/null 2>&1; then
     3240  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3241  (eval $ac_try) 2>&5
     3242  ac_status=$?
     3243  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3244  (exit $ac_status); }; } >/dev/null 2>&1; then
    39363245  ac_cv_prog_javac_works=yes
    39373246else
    3938   as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3247  { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3248echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3249   { (exit 1); exit 1; }; }
    39393250  echo "configure: failed program was:" >&5
    39403251  cat $JAVA_TEST >&5
     
    39433254
    39443255fi
    3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
    3946 $as_echo "$ac_cv_prog_javac_works" >&6; }
     3256echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
     3257echo "${ECHO_T}$ac_cv_prog_javac_works" >&6
    39473258if test "x$JAVACFLAGS" = x ; then
    39483259  JAVACFLAGS="-source 1.4 -target 1.4"
     
    39533264        fi
    39543265fi
    3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
    3956 $as_echo_n "checking if $JAVA works... " >&6; }
    3957 if test "${ac_cv_prog_java_works+set}" = set; then :
    3958   $as_echo_n "(cached) " >&6
     3266echo "$as_me:$LINENO: checking if $JAVA works" >&5
     3267echo $ECHO_N "checking if $JAVA works... $ECHO_C" >&6
     3268if test "${ac_cv_prog_java_works+set}" = set; then
     3269  echo $ECHO_N "(cached) $ECHO_C" >&6
    39593270else
    39603271
     
    39633274TEST=Test
    39643275cat << \EOF > $JAVA_TEST
    3965 /* [#]line 3965 "configure" */
     3276/* [#]line 3276 "configure" */
    39663277public class Test {
    39673278public static void main (String args[]) {
     
    39713282if test x$ac_cv_prog_uudecode_base64 != xyes; then
    39723283        if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
    3973   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    3974   (eval $ac_try) 2>&5
    3975   ac_status=$?
    3976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3977   test $ac_status = 0; }; } && test -s $CLASS_TEST; then
     3284  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3285  (eval $ac_try) 2>&5
     3286  ac_status=$?
     3287  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3288  (exit $ac_status); }; } && test -s $CLASS_TEST; then
    39783289                :
    39793290        else
    39803291          echo "configure: failed program was:" >&5
    39813292          cat $JAVA_TEST >&5
    3982           as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3293          { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
     3294echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
     3295   { (exit 1); exit 1; }; }
    39833296        fi
    39843297fi
    39853298if { ac_try='$JAVA $JAVAFLAGS $TEST'
    3986   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
    3987   (eval $ac_try) 2>&5
    3988   ac_status=$?
    3989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3990   test $ac_status = 0; }; } >/dev/null 2>&1; then
     3299  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3300  (eval $ac_try) 2>&5
     3301  ac_status=$?
     3302  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3303  (exit $ac_status); }; } >/dev/null 2>&1; then
    39913304  ac_cv_prog_java_works=yes
    39923305else
    39933306  echo "configure: failed program was:" >&5
    39943307  cat $JAVA_TEST >&5
    3995   as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
     3308  { { echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
     3309echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
     3310   { (exit 1); exit 1; }; }
    39963311fi
    39973312rm -fr $JAVA_TEST $CLASS_TEST Test.uue
    39983313
    39993314fi
    4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
    4001 $as_echo "$ac_cv_prog_java_works" >&6; }
     3315echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
     3316echo "${ECHO_T}$ac_cv_prog_java_works" >&6
    40023317
    40033318
     
    40083323  # Extract the first word of "$ac_prog", so it can be a program name with args.
    40093324set dummy $ac_prog; ac_word=$2
    4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4011 $as_echo_n "checking for $ac_word... " >&6; }
    4012 if test "${ac_cv_prog_AWK+set}" = set; then :
    4013   $as_echo_n "(cached) " >&6
     3325echo "$as_me:$LINENO: checking for $ac_word" >&5
     3326echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3327if test "${ac_cv_prog_AWK+set}" = set; then
     3328  echo $ECHO_N "(cached) $ECHO_C" >&6
    40143329else
    40153330  if test -n "$AWK"; then
     
    40213336  IFS=$as_save_IFS
    40223337  test -z "$as_dir" && as_dir=.
    4023     for ac_exec_ext in '' $ac_executable_extensions; do
    4024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3338  for ac_exec_ext in '' $ac_executable_extensions; do
     3339  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    40253340    ac_cv_prog_AWK="$ac_prog"
    4026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3341    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    40273342    break 2
    40283343  fi
    40293344done
    4030   done
    4031 IFS=$as_save_IFS
     3345done
    40323346
    40333347fi
     
    40353349AWK=$ac_cv_prog_AWK
    40363350if test -n "$AWK"; then
    4037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
    4038 $as_echo "$AWK" >&6; }
    4039 else
    4040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4041 $as_echo "no" >&6; }
    4042 fi
    4043 
     3351  echo "$as_me:$LINENO: result: $AWK" >&5
     3352echo "${ECHO_T}$AWK" >&6
     3353else
     3354  echo "$as_me:$LINENO: result: no" >&5
     3355echo "${ECHO_T}no" >&6
     3356fi
    40443357
    40453358  test -n "$AWK" && break
     
    40503363  # Extract the first word of "$ac_prog", so it can be a program name with args.
    40513364set dummy $ac_prog; ac_word=$2
    4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4053 $as_echo_n "checking for $ac_word... " >&6; }
    4054 if test "${ac_cv_prog_YACC+set}" = set; then :
    4055   $as_echo_n "(cached) " >&6
     3365echo "$as_me:$LINENO: checking for $ac_word" >&5
     3366echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3367if test "${ac_cv_prog_YACC+set}" = set; then
     3368  echo $ECHO_N "(cached) $ECHO_C" >&6
    40563369else
    40573370  if test -n "$YACC"; then
     
    40633376  IFS=$as_save_IFS
    40643377  test -z "$as_dir" && as_dir=.
    4065     for ac_exec_ext in '' $ac_executable_extensions; do
    4066   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3378  for ac_exec_ext in '' $ac_executable_extensions; do
     3379  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    40673380    ac_cv_prog_YACC="$ac_prog"
    4068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3381    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    40693382    break 2
    40703383  fi
    40713384done
    4072   done
    4073 IFS=$as_save_IFS
     3385done
    40743386
    40753387fi
     
    40773389YACC=$ac_cv_prog_YACC
    40783390if test -n "$YACC"; then
    4079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
    4080 $as_echo "$YACC" >&6; }
    4081 else
    4082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4083 $as_echo "no" >&6; }
    4084 fi
    4085 
     3391  echo "$as_me:$LINENO: result: $YACC" >&5
     3392echo "${ECHO_T}$YACC" >&6
     3393else
     3394  echo "$as_me:$LINENO: result: no" >&5
     3395echo "${ECHO_T}no" >&6
     3396fi
    40863397
    40873398  test -n "$YACC" && break
     
    40903401
    40913402ac_aux_dir=
    4092 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    4093   if test -f "$ac_dir/install-sh"; then
     3403for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     3404  if test -f $ac_dir/install-sh; then
    40943405    ac_aux_dir=$ac_dir
    40953406    ac_install_sh="$ac_aux_dir/install-sh -c"
    40963407    break
    4097   elif test -f "$ac_dir/install.sh"; then
     3408  elif test -f $ac_dir/install.sh; then
    40983409    ac_aux_dir=$ac_dir
    40993410    ac_install_sh="$ac_aux_dir/install.sh -c"
    41003411    break
    4101   elif test -f "$ac_dir/shtool"; then
     3412  elif test -f $ac_dir/shtool; then
    41023413    ac_aux_dir=$ac_dir
    41033414    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    41063417done
    41073418if test -z "$ac_aux_dir"; then
    4108   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    4109 fi
    4110 
    4111 # These three variables are undocumented and unsupported,
    4112 # and are intended to be withdrawn in a future Autoconf release.
    4113 # They can cause serious problems if a builder's source tree is in a directory
    4114 # whose full name contains unusual characters.
    4115 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    4116 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    4117 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    4118 
     3419  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     3420echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     3421   { (exit 1); exit 1; }; }
     3422fi
     3423ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     3424ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     3425ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    41193426
    41203427# Make sure we can run config.sub.
    4121 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    4122   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
    4123 
    4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    4125 $as_echo_n "checking build system type... " >&6; }
    4126 if test "${ac_cv_build+set}" = set; then :
    4127   $as_echo_n "(cached) " >&6
    4128 else
    4129   ac_build_alias=$build_alias
    4130 test "x$ac_build_alias" = x &&
    4131   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    4132 test "x$ac_build_alias" = x &&
    4133   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    4134 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    4135   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
    4136 
    4137 fi
    4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    4139 $as_echo "$ac_cv_build" >&6; }
    4140 case $ac_cv_build in
    4141 *-*-*) ;;
    4142 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
    4143 esac
     3428$ac_config_sub sun4 >/dev/null 2>&1 ||
     3429  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
     3430echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     3431   { (exit 1); exit 1; }; }
     3432
     3433echo "$as_me:$LINENO: checking build system type" >&5
     3434echo $ECHO_N "checking build system type... $ECHO_C" >&6
     3435if test "${ac_cv_build+set}" = set; then
     3436  echo $ECHO_N "(cached) $ECHO_C" >&6
     3437else
     3438  ac_cv_build_alias=$build_alias
     3439test -z "$ac_cv_build_alias" &&
     3440  ac_cv_build_alias=`$ac_config_guess`
     3441test -z "$ac_cv_build_alias" &&
     3442  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     3443echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     3444   { (exit 1); exit 1; }; }
     3445ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     3446  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
     3447echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     3448   { (exit 1); exit 1; }; }
     3449
     3450fi
     3451echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     3452echo "${ECHO_T}$ac_cv_build" >&6
    41443453build=$ac_cv_build
    4145 ac_save_IFS=$IFS; IFS='-'
    4146 set x $ac_cv_build
    4147 shift
    4148 build_cpu=$1
    4149 build_vendor=$2
    4150 shift; shift
    4151 # Remember, the first character of IFS is used to create $*,
    4152 # except with old shells:
    4153 build_os=$*
    4154 IFS=$ac_save_IFS
    4155 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    4156 
    4157 
    4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    4159 $as_echo_n "checking host system type... " >&6; }
    4160 if test "${ac_cv_host+set}" = set; then :
    4161   $as_echo_n "(cached) " >&6
    4162 else
    4163   if test "x$host_alias" = x; then
    4164   ac_cv_host=$ac_cv_build
    4165 else
    4166   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    4167     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
    4168 fi
    4169 
    4170 fi
    4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    4172 $as_echo "$ac_cv_host" >&6; }
    4173 case $ac_cv_host in
    4174 *-*-*) ;;
    4175 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
    4176 esac
     3454build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3455build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3456build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3457
     3458
     3459echo "$as_me:$LINENO: checking host system type" >&5
     3460echo $ECHO_N "checking host system type... $ECHO_C" >&6
     3461if test "${ac_cv_host+set}" = set; then
     3462  echo $ECHO_N "(cached) $ECHO_C" >&6
     3463else
     3464  ac_cv_host_alias=$host_alias
     3465test -z "$ac_cv_host_alias" &&
     3466  ac_cv_host_alias=$ac_cv_build_alias
     3467ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     3468  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     3469echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     3470   { (exit 1); exit 1; }; }
     3471
     3472fi
     3473echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     3474echo "${ECHO_T}$ac_cv_host" >&6
    41773475host=$ac_cv_host
    4178 ac_save_IFS=$IFS; IFS='-'
    4179 set x $ac_cv_host
    4180 shift
    4181 host_cpu=$1
    4182 host_vendor=$2
    4183 shift; shift
    4184 # Remember, the first character of IFS is used to create $*,
    4185 # except with old shells:
    4186 host_os=$*
    4187 IFS=$ac_save_IFS
    4188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    4189 
    4190 
    4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
    4192 $as_echo_n "checking target system type... " >&6; }
    4193 if test "${ac_cv_target+set}" = set; then :
    4194   $as_echo_n "(cached) " >&6
    4195 else
    4196   if test "x$target_alias" = x; then
    4197   ac_cv_target=$ac_cv_host
    4198 else
    4199   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    4200     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
    4201 fi
    4202 
    4203 fi
    4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
    4205 $as_echo "$ac_cv_target" >&6; }
    4206 case $ac_cv_target in
    4207 *-*-*) ;;
    4208 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
    4209 esac
     3476host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3477host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3478host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3479
     3480
     3481echo "$as_me:$LINENO: checking target system type" >&5
     3482echo $ECHO_N "checking target system type... $ECHO_C" >&6
     3483if test "${ac_cv_target+set}" = set; then
     3484  echo $ECHO_N "(cached) $ECHO_C" >&6
     3485else
     3486  ac_cv_target_alias=$target_alias
     3487test "x$ac_cv_target_alias" = "x" &&
     3488  ac_cv_target_alias=$ac_cv_host_alias
     3489ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
     3490  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     3491echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     3492   { (exit 1); exit 1; }; }
     3493
     3494fi
     3495echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     3496echo "${ECHO_T}$ac_cv_target" >&6
    42103497target=$ac_cv_target
    4211 ac_save_IFS=$IFS; IFS='-'
    4212 set x $ac_cv_target
    4213 shift
    4214 target_cpu=$1
    4215 target_vendor=$2
    4216 shift; shift
    4217 # Remember, the first character of IFS is used to create $*,
    4218 # except with old shells:
    4219 target_os=$*
    4220 IFS=$ac_save_IFS
    4221 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
     3498target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     3499target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     3500target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    42223501
    42233502
     
    42283507    NONENONEs,x,x, &&
    42293508  program_prefix=${target_alias}-
    4230 
    42313509# Find a good install program.  We prefer a C program (faster),
    42323510# so one script is as good as another.  But avoid the broken or
     
    42423520# OS/2's system install, which has a completely different semantic
    42433521# ./install, which can be erroneously created by make from ./install.sh.
    4244 # Reject install programs that cannot install multiple files.
    4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    4246 $as_echo_n "checking for a BSD-compatible install... " >&6; }
     3522echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3523echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    42473524if test -z "$INSTALL"; then
    4248 if test "${ac_cv_path_install+set}" = set; then :
    4249   $as_echo_n "(cached) " >&6
     3525if test "${ac_cv_path_install+set}" = set; then
     3526  echo $ECHO_N "(cached) $ECHO_C" >&6
    42503527else
    42513528  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    42543531  IFS=$as_save_IFS
    42553532  test -z "$as_dir" && as_dir=.
    4256     # Account for people who put trailing slashes in PATH elements.
    4257 case $as_dir/ in #((
    4258   ./ | .// | /[cC]/* | \
     3533  # Account for people who put trailing slashes in PATH elements.
     3534case $as_dir/ in
     3535  ./ | .// | /cC/* | \
    42593536  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    4260   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
     3537  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    42613538  /usr/ucb/* ) ;;
    42623539  *)
     
    42663543    for ac_prog in ginstall scoinst install; do
    42673544      for ac_exec_ext in '' $ac_executable_extensions; do
    4268     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     3545    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    42693546      if test $ac_prog = install &&
    42703547        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    42763553        :
    42773554      else
    4278         rm -rf conftest.one conftest.two conftest.dir
    4279         echo one > conftest.one
    4280         echo two > conftest.two
    4281         mkdir conftest.dir
    4282         if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    4283           test -s conftest.one && test -s conftest.two &&
    4284           test -s conftest.dir/conftest.one &&
    4285           test -s conftest.dir/conftest.two
    4286         then
    4287           ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    4288           break 3
    4289         fi
     3555        ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3556        break 3
    42903557      fi
    42913558    fi
     
    42943561    ;;
    42953562esac
    4296 
    4297   done
    4298 IFS=$as_save_IFS
    4299 
    4300 rm -rf conftest.one conftest.two conftest.dir
     3563done
     3564
    43013565
    43023566fi
     
    43043568    INSTALL=$ac_cv_path_install
    43053569  else
    4306     # As a last resort, use the slow shell script.  Don't cache a
    4307     # value for INSTALL within a source directory, because that will
     3570    # As a last resort, use the slow shell script.  We don't cache a
     3571    # path for INSTALL within a source directory, because that will
    43083572    # break other packages using the cache if that directory is
    4309     # removed, or if the value is a relative name.
     3573    # removed, or if the path is relative.
    43103574    INSTALL=$ac_install_sh
    43113575  fi
    43123576fi
    4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    4314 $as_echo "$INSTALL" >&6; }
     3577echo "$as_me:$LINENO: result: $INSTALL" >&5
     3578echo "${ECHO_T}$INSTALL" >&6
    43153579
    43163580# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    43223586test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    43233587
    4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    4325 $as_echo_n "checking whether ln -s works... " >&6; }
     3588echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3589echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    43263590LN_S=$as_ln_s
    43273591if test "$LN_S" = "ln -s"; then
    4328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4329 $as_echo "yes" >&6; }
    4330 else
    4331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    4332 $as_echo "no, using $LN_S" >&6; }
    4333 fi
    4334 
    4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    4336 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    4337 set x ${MAKE-make}
    4338 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    4339 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
    4340   $as_echo_n "(cached) " >&6
     3592  echo "$as_me:$LINENO: result: yes" >&5
     3593echo "${ECHO_T}yes" >&6
     3594else
     3595  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3596echo "${ECHO_T}no, using $LN_S" >&6
     3597fi
     3598
     3599echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3600echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3601set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     3602if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3603  echo $ECHO_N "(cached) $ECHO_C" >&6
    43413604else
    43423605  cat >conftest.make <<\_ACEOF
    4343 SHELL = /bin/sh
    43443606all:
    4345     @echo '@@@%%%=$(MAKE)=@@@%%%'
    4346 _ACEOF
    4347 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    4348 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    4349   *@@@%%%=?*=@@@%%%*)
    4350     eval ac_cv_prog_make_${ac_make}_set=yes;;
    4351   *)
    4352     eval ac_cv_prog_make_${ac_make}_set=no;;
    4353 esac
     3607    @echo 'ac_maketemp="$(MAKE)"'
     3608_ACEOF
     3609# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3610eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     3611if test -n "$ac_maketemp"; then
     3612  eval ac_cv_prog_make_${ac_make}_set=yes
     3613else
     3614  eval ac_cv_prog_make_${ac_make}_set=no
     3615fi
    43543616rm -f conftest.make
    43553617fi
    4356 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    4357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4358 $as_echo "yes" >&6; }
     3618if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     3619  echo "$as_me:$LINENO: result: yes" >&5
     3620echo "${ECHO_T}yes" >&6
    43593621  SET_MAKE=
    43603622else
    4361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4362 $as_echo "no" >&6; }
     3623  echo "$as_me:$LINENO: result: no" >&5
     3624echo "${ECHO_T}no" >&6
    43633625  SET_MAKE="MAKE=${MAKE-make}"
    43643626fi
     
    43673629  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    43683630set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4370 $as_echo_n "checking for $ac_word... " >&6; }
    4371 if test "${ac_cv_prog_RANLIB+set}" = set; then :
    4372   $as_echo_n "(cached) " >&6
     3631echo "$as_me:$LINENO: checking for $ac_word" >&5
     3632echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3633if test "${ac_cv_prog_RANLIB+set}" = set; then
     3634  echo $ECHO_N "(cached) $ECHO_C" >&6
    43733635else
    43743636  if test -n "$RANLIB"; then
     
    43803642  IFS=$as_save_IFS
    43813643  test -z "$as_dir" && as_dir=.
    4382     for ac_exec_ext in '' $ac_executable_extensions; do
    4383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3644  for ac_exec_ext in '' $ac_executable_extensions; do
     3645  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    43843646    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3647    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    43863648    break 2
    43873649  fi
    43883650done
    4389   done
    4390 IFS=$as_save_IFS
     3651done
    43913652
    43923653fi
     
    43943655RANLIB=$ac_cv_prog_RANLIB
    43953656if test -n "$RANLIB"; then
    4396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    4397 $as_echo "$RANLIB" >&6; }
    4398 else
    4399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4400 $as_echo "no" >&6; }
    4401 fi
    4402 
     3657  echo "$as_me:$LINENO: result: $RANLIB" >&5
     3658echo "${ECHO_T}$RANLIB" >&6
     3659else
     3660  echo "$as_me:$LINENO: result: no" >&5
     3661echo "${ECHO_T}no" >&6
     3662fi
    44033663
    44043664fi
     
    44073667  # Extract the first word of "ranlib", so it can be a program name with args.
    44083668set dummy ranlib; ac_word=$2
    4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4410 $as_echo_n "checking for $ac_word... " >&6; }
    4411 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
    4412   $as_echo_n "(cached) " >&6
     3669echo "$as_me:$LINENO: checking for $ac_word" >&5
     3670echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3671if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     3672  echo $ECHO_N "(cached) $ECHO_C" >&6
    44133673else
    44143674  if test -n "$ac_ct_RANLIB"; then
     
    44203680  IFS=$as_save_IFS
    44213681  test -z "$as_dir" && as_dir=.
    4422     for ac_exec_ext in '' $ac_executable_extensions; do
    4423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3682  for ac_exec_ext in '' $ac_executable_extensions; do
     3683  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    44243684    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3685    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    44263686    break 2
    44273687  fi
    44283688done
    4429   done
    4430 IFS=$as_save_IFS
    4431 
     3689done
     3690
     3691  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    44323692fi
    44333693fi
    44343694ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    44353695if test -n "$ac_ct_RANLIB"; then
    4436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    4437 $as_echo "$ac_ct_RANLIB" >&6; }
    4438 else
    4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4440 $as_echo "no" >&6; }
    4441 fi
    4442 
    4443   if test "x$ac_ct_RANLIB" = x; then
    4444     RANLIB=":"
    4445   else
    4446     case $cross_compiling:$ac_tool_warned in
    4447 yes:)
    4448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    4449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    4450 ac_tool_warned=yes ;;
    4451 esac
    4452     RANLIB=$ac_ct_RANLIB
    4453   fi
     3696  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3697echo "${ECHO_T}$ac_ct_RANLIB" >&6
     3698else
     3699  echo "$as_me:$LINENO: result: no" >&5
     3700echo "${ECHO_T}no" >&6
     3701fi
     3702
     3703  RANLIB=$ac_ct_RANLIB
    44543704else
    44553705  RANLIB="$ac_cv_prog_RANLIB"
     
    44573707
    44583708
    4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
    4460 $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
     3709echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
     3710echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
    44613711arch_64bit=no
    44623712case "$host_cpu" in
     
    44653715
    44663716if test "$arch_64bit" = yes; then
    4467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4468 $as_echo "yes" >&6; }
     3717  echo "$as_me:$LINENO: result: yes" >&5
     3718echo "${ECHO_T}yes" >&6
    44693719  if test -z "$COMPAT32BITFLAGS" ; then
    44703720    COMPAT32BITFLAGS="-m32"
    44713721  fi
    44723722else
    4473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4474 $as_echo "no" >&6; }
     3723  echo "$as_me:$LINENO: result: no" >&5
     3724echo "${ECHO_T}no" >&6
    44753725  if test -z "$COMPAT32BITFLAGS" ; then
    44763726    COMPAT32BITFLAGS=
     
    45103760#do test of MICO_VER
    45113761if test MICO_VER != 0; then
    4512 $as_echo "#define MICO_VER 1" >>confdefs.h
     3762cat >>confdefs.h <<\_ACEOF
     3763#define MICO_VER 1
     3764_ACEOF
    45133765
    45143766
     
    45233775ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    45243776ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    4526 $as_echo_n "checking how to run the C preprocessor... " >&6; }
     3777echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3778echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    45273779# On Suns, sometimes $CPP names a directory.
    45283780if test -n "$CPP" && test -d "$CPP"; then
     
    45303782fi
    45313783if test -z "$CPP"; then
    4532   if test "${ac_cv_prog_CPP+set}" = set; then :
    4533   $as_echo_n "(cached) " >&6
     3784  if test "${ac_cv_prog_CPP+set}" = set; then
     3785  echo $ECHO_N "(cached) $ECHO_C" >&6
    45343786else
    45353787      # Double quotes because CPP needs to be expanded
     
    45453797  # On the NeXT, cc -E runs the code through the compiler's parser,
    45463798  # not just through cpp. "Syntax error" is here to catch this case.
    4547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3799  cat >conftest.$ac_ext <<_ACEOF
     3800/* confdefs.h.  */
     3801_ACEOF
     3802cat confdefs.h >>conftest.$ac_ext
     3803cat >>conftest.$ac_ext <<_ACEOF
    45483804/* end confdefs.h.  */
    45493805#ifdef __STDC__
     
    45543810             Syntax error
    45553811_ACEOF
    4556 if ac_fn_c_try_cpp "$LINENO"; then :
    4557 
    4558 else
     3812if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3813  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3814  ac_status=$?
     3815  grep -v '^ *+' conftest.er1 >conftest.err
     3816  rm -f conftest.er1
     3817  cat conftest.err >&5
     3818  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3819  (exit $ac_status); } >/dev/null; then
     3820  if test -s conftest.err; then
     3821    ac_cpp_err=$ac_c_preproc_warn_flag
     3822    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3823  else
     3824    ac_cpp_err=
     3825  fi
     3826else
     3827  ac_cpp_err=yes
     3828fi
     3829if test -z "$ac_cpp_err"; then
     3830  :
     3831else
     3832  echo "$as_me: failed program was:" >&5
     3833sed 's/^/| /' conftest.$ac_ext >&5
     3834
    45593835  # Broken: fails on valid input.
    45603836continue
    45613837fi
    4562 rm -f conftest.err conftest.i conftest.$ac_ext
    4563 
    4564   # OK, works on sane cases.  Now check whether nonexistent headers
     3838rm -f conftest.err conftest.$ac_ext
     3839
     3840  # OK, works on sane cases.  Now check whether non-existent headers
    45653841  # can be detected and how.
    4566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3842  cat >conftest.$ac_ext <<_ACEOF
     3843/* confdefs.h.  */
     3844_ACEOF
     3845cat confdefs.h >>conftest.$ac_ext
     3846cat >>conftest.$ac_ext <<_ACEOF
    45673847/* end confdefs.h.  */
    45683848#include <ac_nonexistent.h>
    45693849_ACEOF
    4570 if ac_fn_c_try_cpp "$LINENO"; then :
     3850if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3851  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3852  ac_status=$?
     3853  grep -v '^ *+' conftest.er1 >conftest.err
     3854  rm -f conftest.er1
     3855  cat conftest.err >&5
     3856  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3857  (exit $ac_status); } >/dev/null; then
     3858  if test -s conftest.err; then
     3859    ac_cpp_err=$ac_c_preproc_warn_flag
     3860    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3861  else
     3862    ac_cpp_err=
     3863  fi
     3864else
     3865  ac_cpp_err=yes
     3866fi
     3867if test -z "$ac_cpp_err"; then
    45713868  # Broken: success on invalid input.
    45723869continue
    45733870else
     3871  echo "$as_me: failed program was:" >&5
     3872sed 's/^/| /' conftest.$ac_ext >&5
     3873
    45743874  # Passes both tests.
    45753875ac_preproc_ok=:
    45763876break
    45773877fi
    4578 rm -f conftest.err conftest.i conftest.$ac_ext
     3878rm -f conftest.err conftest.$ac_ext
    45793879
    45803880done
    45813881# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4582 rm -f conftest.i conftest.err conftest.$ac_ext
    4583 if $ac_preproc_ok; then :
     3882rm -f conftest.err conftest.$ac_ext
     3883if $ac_preproc_ok; then
    45843884  break
    45853885fi
     
    45933893  ac_cv_prog_CPP=$CPP
    45943894fi
    4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    4596 $as_echo "$CPP" >&6; }
     3895echo "$as_me:$LINENO: result: $CPP" >&5
     3896echo "${ECHO_T}$CPP" >&6
    45973897ac_preproc_ok=false
    45983898for ac_c_preproc_warn_flag in '' yes
     
    46043904  # On the NeXT, cc -E runs the code through the compiler's parser,
    46053905  # not just through cpp. "Syntax error" is here to catch this case.
    4606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3906  cat >conftest.$ac_ext <<_ACEOF
     3907/* confdefs.h.  */
     3908_ACEOF
     3909cat confdefs.h >>conftest.$ac_ext
     3910cat >>conftest.$ac_ext <<_ACEOF
    46073911/* end confdefs.h.  */
    46083912#ifdef __STDC__
     
    46133917             Syntax error
    46143918_ACEOF
    4615 if ac_fn_c_try_cpp "$LINENO"; then :
    4616 
    4617 else
     3919if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3920  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3921  ac_status=$?
     3922  grep -v '^ *+' conftest.er1 >conftest.err
     3923  rm -f conftest.er1
     3924  cat conftest.err >&5
     3925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3926  (exit $ac_status); } >/dev/null; then
     3927  if test -s conftest.err; then
     3928    ac_cpp_err=$ac_c_preproc_warn_flag
     3929    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3930  else
     3931    ac_cpp_err=
     3932  fi
     3933else
     3934  ac_cpp_err=yes
     3935fi
     3936if test -z "$ac_cpp_err"; then
     3937  :
     3938else
     3939  echo "$as_me: failed program was:" >&5
     3940sed 's/^/| /' conftest.$ac_ext >&5
     3941
    46183942  # Broken: fails on valid input.
    46193943continue
    46203944fi
    4621 rm -f conftest.err conftest.i conftest.$ac_ext
    4622 
    4623   # OK, works on sane cases.  Now check whether nonexistent headers
     3945rm -f conftest.err conftest.$ac_ext
     3946
     3947  # OK, works on sane cases.  Now check whether non-existent headers
    46243948  # can be detected and how.
    4625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3949  cat >conftest.$ac_ext <<_ACEOF
     3950/* confdefs.h.  */
     3951_ACEOF
     3952cat confdefs.h >>conftest.$ac_ext
     3953cat >>conftest.$ac_ext <<_ACEOF
    46263954/* end confdefs.h.  */
    46273955#include <ac_nonexistent.h>
    46283956_ACEOF
    4629 if ac_fn_c_try_cpp "$LINENO"; then :
     3957if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3958  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3959  ac_status=$?
     3960  grep -v '^ *+' conftest.er1 >conftest.err
     3961  rm -f conftest.er1
     3962  cat conftest.err >&5
     3963  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3964  (exit $ac_status); } >/dev/null; then
     3965  if test -s conftest.err; then
     3966    ac_cpp_err=$ac_c_preproc_warn_flag
     3967    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3968  else
     3969    ac_cpp_err=
     3970  fi
     3971else
     3972  ac_cpp_err=yes
     3973fi
     3974if test -z "$ac_cpp_err"; then
    46303975  # Broken: success on invalid input.
    46313976continue
    46323977else
     3978  echo "$as_me: failed program was:" >&5
     3979sed 's/^/| /' conftest.$ac_ext >&5
     3980
    46333981  # Passes both tests.
    46343982ac_preproc_ok=:
    46353983break
    46363984fi
    4637 rm -f conftest.err conftest.i conftest.$ac_ext
     3985rm -f conftest.err conftest.$ac_ext
    46383986
    46393987done
    46403988# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4641 rm -f conftest.i conftest.err conftest.$ac_ext
    4642 if $ac_preproc_ok; then :
    4643 
    4644 else
    4645   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    4646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4647 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    4648 See \`config.log' for more details" "$LINENO" 5 ; }
     3989rm -f conftest.err conftest.$ac_ext
     3990if $ac_preproc_ok; then
     3991  :
     3992else
     3993  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3994See \`config.log' for more details." >&5
     3995echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3996See \`config.log' for more details." >&2;}
     3997   { (exit 1); exit 1; }; }
    46493998fi
    46503999
     
    46564005
    46574006
    4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    4659 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4660 if test "${ac_cv_path_GREP+set}" = set; then :
    4661   $as_echo_n "(cached) " >&6
    4662 else
    4663   if test -z "$GREP"; then
    4664   ac_path_GREP_found=false
    4665   # Loop through the user's path and test for each of PROGNAME-LIST
    4666   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4667 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4668 do
    4669   IFS=$as_save_IFS
    4670   test -z "$as_dir" && as_dir=.
    4671     for ac_prog in grep ggrep; do
    4672     for ac_exec_ext in '' $ac_executable_extensions; do
    4673       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4674       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    4675 # Check for GNU ac_path_GREP and select it if it is found.
    4676   # Check for GNU $ac_path_GREP
    4677 case `"$ac_path_GREP" --version 2>&1` in
    4678 *GNU*)
    4679   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    4680 *)
    4681   ac_count=0
    4682   $as_echo_n 0123456789 >"conftest.in"
    4683   while :
    4684   do
    4685     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4686     mv "conftest.tmp" "conftest.in"
    4687     cp "conftest.in" "conftest.nl"
    4688     $as_echo 'GREP' >> "conftest.nl"
    4689     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4690     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4691     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4692     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    4693       # Best one so far, save it but keep looking for a better one
    4694       ac_cv_path_GREP="$ac_path_GREP"
    4695       ac_path_GREP_max=$ac_count
     4007echo "$as_me:$LINENO: checking for egrep" >&5
     4008echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     4009if test "${ac_cv_prog_egrep+set}" = set; then
     4010  echo $ECHO_N "(cached) $ECHO_C" >&6
     4011else
     4012  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     4013    then ac_cv_prog_egrep='grep -E'
     4014    else ac_cv_prog_egrep='egrep'
    46964015    fi
    4697     # 10*(2^10) chars as input seems more than enough
    4698     test $ac_count -gt 10 && break
     4016fi
     4017echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     4018echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     4019 EGREP=$ac_cv_prog_egrep
     4020
     4021
     4022
     4023echo "$as_me:$LINENO: checking for AIX" >&5
     4024echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     4025cat >conftest.$ac_ext <<_ACEOF
     4026/* confdefs.h.  */
     4027_ACEOF
     4028cat confdefs.h >>conftest.$ac_ext
     4029cat >>conftest.$ac_ext <<_ACEOF
     4030/* end confdefs.h.  */
     4031#ifdef _AIX
     4032  yes
     4033#endif
     4034
     4035_ACEOF
     4036if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4037  $EGREP "yes" >/dev/null 2>&1; then
     4038  echo "$as_me:$LINENO: result: yes" >&5
     4039echo "${ECHO_T}yes" >&6
     4040cat >>confdefs.h <<\_ACEOF
     4041#define _ALL_SOURCE 1
     4042_ACEOF
     4043
     4044else
     4045  echo "$as_me:$LINENO: result: no" >&5
     4046echo "${ECHO_T}no" >&6
     4047fi
     4048rm -f conftest*
     4049
     4050
     4051echo "$as_me:$LINENO: checking for library containing strerror" >&5
     4052echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
     4053if test "${ac_cv_search_strerror+set}" = set; then
     4054  echo $ECHO_N "(cached) $ECHO_C" >&6
     4055else
     4056  ac_func_search_save_LIBS=$LIBS
     4057ac_cv_search_strerror=no
     4058cat >conftest.$ac_ext <<_ACEOF
     4059/* confdefs.h.  */
     4060_ACEOF
     4061cat confdefs.h >>conftest.$ac_ext
     4062cat >>conftest.$ac_ext <<_ACEOF
     4063/* end confdefs.h.  */
     4064
     4065/* Override any gcc2 internal prototype to avoid an error.  */
     4066#ifdef __cplusplus
     4067extern "C"
     4068#endif
     4069/* We use char because int might match the return type of a gcc2
     4070   builtin and then its argument prototype would still apply.  */
     4071char strerror ();
     4072int
     4073main ()
     4074{
     4075strerror ();
     4076  ;
     4077  return 0;
     4078}
     4079_ACEOF
     4080rm -f conftest.$ac_objext conftest$ac_exeext
     4081if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4082  (eval $ac_link) 2>conftest.er1
     4083  ac_status=$?
     4084  grep -v '^ *+' conftest.er1 >conftest.err
     4085  rm -f conftest.er1
     4086  cat conftest.err >&5
     4087  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4088  (exit $ac_status); } &&
     4089     { ac_try='test -z "$ac_c_werror_flag"
     4090             || test ! -s conftest.err'
     4091  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4092  (eval $ac_try) 2>&5
     4093  ac_status=$?
     4094  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4095  (exit $ac_status); }; } &&
     4096     { ac_try='test -s conftest$ac_exeext'
     4097  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4098  (eval $ac_try) 2>&5
     4099  ac_status=$?
     4100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4101  (exit $ac_status); }; }; then
     4102  ac_cv_search_strerror="none required"
     4103else
     4104  echo "$as_me: failed program was:" >&5
     4105sed 's/^/| /' conftest.$ac_ext >&5
     4106
     4107fi
     4108rm -f conftest.err conftest.$ac_objext \
     4109      conftest$ac_exeext conftest.$ac_ext
     4110if test "$ac_cv_search_strerror" = no; then
     4111  for ac_lib in cposix; do
     4112    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4113    cat >conftest.$ac_ext <<_ACEOF
     4114/* confdefs.h.  */
     4115_ACEOF
     4116cat confdefs.h >>conftest.$ac_ext
     4117cat >>conftest.$ac_ext <<_ACEOF
     4118/* end confdefs.h.  */
     4119
     4120/* Override any gcc2 internal prototype to avoid an error.  */
     4121#ifdef __cplusplus
     4122extern "C"
     4123#endif
     4124/* We use char because int might match the return type of a gcc2
     4125   builtin and then its argument prototype would still apply.  */
     4126char strerror ();
     4127int
     4128main ()
     4129{
     4130strerror ();
     4131  ;
     4132  return 0;
     4133}
     4134_ACEOF
     4135rm -f conftest.$ac_objext conftest$ac_exeext
     4136if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4137  (eval $ac_link) 2>conftest.er1
     4138  ac_status=$?
     4139  grep -v '^ *+' conftest.er1 >conftest.err
     4140  rm -f conftest.er1
     4141  cat conftest.err >&5
     4142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4143  (exit $ac_status); } &&
     4144     { ac_try='test -z "$ac_c_werror_flag"
     4145             || test ! -s conftest.err'
     4146  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4147  (eval $ac_try) 2>&5
     4148  ac_status=$?
     4149  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4150  (exit $ac_status); }; } &&
     4151     { ac_try='test -s conftest$ac_exeext'
     4152  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4153  (eval $ac_try) 2>&5
     4154  ac_status=$?
     4155  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4156  (exit $ac_status); }; }; then
     4157  ac_cv_search_strerror="-l$ac_lib"
     4158break
     4159else
     4160  echo "$as_me: failed program was:" >&5
     4161sed 's/^/| /' conftest.$ac_ext >&5
     4162
     4163fi
     4164rm -f conftest.err conftest.$ac_objext \
     4165      conftest$ac_exeext conftest.$ac_ext
    46994166  done
    4700   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4701 esac
    4702 
    4703       $ac_path_GREP_found && break 3
    4704     done
    4705   done
    4706   done
    4707 IFS=$as_save_IFS
    4708   if test -z "$ac_cv_path_GREP"; then
    4709     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4710   fi
    4711 else
    4712   ac_cv_path_GREP=$GREP
    4713 fi
    4714 
    4715 fi
    4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    4717 $as_echo "$ac_cv_path_GREP" >&6; }
    4718  GREP="$ac_cv_path_GREP"
    4719 
    4720 
    4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    4722 $as_echo_n "checking for egrep... " >&6; }
    4723 if test "${ac_cv_path_EGREP+set}" = set; then :
    4724   $as_echo_n "(cached) " >&6
    4725 else
    4726   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    4727    then ac_cv_path_EGREP="$GREP -E"
    4728    else
    4729      if test -z "$EGREP"; then
    4730   ac_path_EGREP_found=false
    4731   # Loop through the user's path and test for each of PROGNAME-LIST
    4732   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4733 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4734 do
    4735   IFS=$as_save_IFS
    4736   test -z "$as_dir" && as_dir=.
    4737     for ac_prog in egrep; do
    4738     for ac_exec_ext in '' $ac_executable_extensions; do
    4739       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4740       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4741 # Check for GNU ac_path_EGREP and select it if it is found.
    4742   # Check for GNU $ac_path_EGREP
    4743 case `"$ac_path_EGREP" --version 2>&1` in
    4744 *GNU*)
    4745   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4746 *)
    4747   ac_count=0
    4748   $as_echo_n 0123456789 >"conftest.in"
    4749   while :
    4750   do
    4751     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4752     mv "conftest.tmp" "conftest.in"
    4753     cp "conftest.in" "conftest.nl"
    4754     $as_echo 'EGREP' >> "conftest.nl"
    4755     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4756     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4757     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4758     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4759       # Best one so far, save it but keep looking for a better one
    4760       ac_cv_path_EGREP="$ac_path_EGREP"
    4761       ac_path_EGREP_max=$ac_count
    4762     fi
    4763     # 10*(2^10) chars as input seems more than enough
    4764     test $ac_count -gt 10 && break
    4765   done
    4766   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4767 esac
    4768 
    4769       $ac_path_EGREP_found && break 3
    4770     done
    4771   done
    4772   done
    4773 IFS=$as_save_IFS
    4774   if test -z "$ac_cv_path_EGREP"; then
    4775     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4776   fi
    4777 else
    4778   ac_cv_path_EGREP=$EGREP
    4779 fi
    4780 
    4781    fi
    4782 fi
    4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    4784 $as_echo "$ac_cv_path_EGREP" >&6; }
    4785  EGREP="$ac_cv_path_EGREP"
    4786 
    4787 
    4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    4789 $as_echo_n "checking for ANSI C header files... " >&6; }
    4790 if test "${ac_cv_header_stdc+set}" = set; then :
    4791   $as_echo_n "(cached) " >&6
    4792 else
    4793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4167fi
     4168LIBS=$ac_func_search_save_LIBS
     4169fi
     4170echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
     4171echo "${ECHO_T}$ac_cv_search_strerror" >&6
     4172if test "$ac_cv_search_strerror" != no; then
     4173  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
     4174
     4175fi
     4176
     4177echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4178echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4179if test "${ac_cv_header_stdc+set}" = set; then
     4180  echo $ECHO_N "(cached) $ECHO_C" >&6
     4181else
     4182  cat >conftest.$ac_ext <<_ACEOF
     4183/* confdefs.h.  */
     4184_ACEOF
     4185cat confdefs.h >>conftest.$ac_ext
     4186cat >>conftest.$ac_ext <<_ACEOF
    47944187/* end confdefs.h.  */
    47954188#include <stdlib.h>
     
    48064199}
    48074200_ACEOF
    4808 if ac_fn_c_try_compile "$LINENO"; then :
     4201rm -f conftest.$ac_objext
     4202if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4203  (eval $ac_compile) 2>conftest.er1
     4204  ac_status=$?
     4205  grep -v '^ *+' conftest.er1 >conftest.err
     4206  rm -f conftest.er1
     4207  cat conftest.err >&5
     4208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4209  (exit $ac_status); } &&
     4210     { ac_try='test -z "$ac_c_werror_flag"
     4211             || test ! -s conftest.err'
     4212  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4213  (eval $ac_try) 2>&5
     4214  ac_status=$?
     4215  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4216  (exit $ac_status); }; } &&
     4217     { ac_try='test -s conftest.$ac_objext'
     4218  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4219  (eval $ac_try) 2>&5
     4220  ac_status=$?
     4221  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4222  (exit $ac_status); }; }; then
    48094223  ac_cv_header_stdc=yes
    48104224else
    4811   ac_cv_header_stdc=no
    4812 fi
    4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4225  echo "$as_me: failed program was:" >&5
     4226sed 's/^/| /' conftest.$ac_ext >&5
     4227
     4228ac_cv_header_stdc=no
     4229fi
     4230rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    48144231
    48154232if test $ac_cv_header_stdc = yes; then
    48164233  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4234  cat >conftest.$ac_ext <<_ACEOF
     4235/* confdefs.h.  */
     4236_ACEOF
     4237cat confdefs.h >>conftest.$ac_ext
     4238cat >>conftest.$ac_ext <<_ACEOF
    48184239/* end confdefs.h.  */
    48194240#include <string.h>
     
    48214242_ACEOF
    48224243if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4823   $EGREP "memchr" >/dev/null 2>&1; then :
    4824 
     4244  $EGREP "memchr" >/dev/null 2>&1; then
     4245  :
    48254246else
    48264247  ac_cv_header_stdc=no
     
    48324253if test $ac_cv_header_stdc = yes; then
    48334254  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4255  cat >conftest.$ac_ext <<_ACEOF
     4256/* confdefs.h.  */
     4257_ACEOF
     4258cat confdefs.h >>conftest.$ac_ext
     4259cat >>conftest.$ac_ext <<_ACEOF
    48354260/* end confdefs.h.  */
    48364261#include <stdlib.h>
     
    48384263_ACEOF
    48394264if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4840   $EGREP "free" >/dev/null 2>&1; then :
    4841 
     4265  $EGREP "free" >/dev/null 2>&1; then
     4266  :
    48424267else
    48434268  ac_cv_header_stdc=no
     
    48494274if test $ac_cv_header_stdc = yes; then
    48504275  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4851   if test "$cross_compiling" = yes; then :
     4276  if test "$cross_compiling" = yes; then
    48524277  :
    48534278else
    4854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4279  cat >conftest.$ac_ext <<_ACEOF
     4280/* confdefs.h.  */
     4281_ACEOF
     4282cat confdefs.h >>conftest.$ac_ext
     4283cat >>conftest.$ac_ext <<_ACEOF
    48554284/* end confdefs.h.  */
    48564285#include <ctype.h>
    4857 #include <stdlib.h>
    48584286#if ((' ' & 0x0FF) == 0x020)
    48594287# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    48754303    if (XOR (islower (i), ISLOWER (i))
    48764304    || toupper (i) != TOUPPER (i))
    4877       return 2;
    4878   return 0;
     4305      exit(2);
     4306  exit (0);
    48794307}
    48804308_ACEOF
    4881 if ac_fn_c_try_run "$LINENO"; then :
    4882 
    4883 else
    4884   ac_cv_header_stdc=no
    4885 fi
    4886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    4887   conftest.$ac_objext conftest.beam conftest.$ac_ext
    4888 fi
    4889 
    4890 fi
    4891 fi
    4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    4893 $as_echo "$ac_cv_header_stdc" >&6; }
     4309rm -f conftest$ac_exeext
     4310if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4311  (eval $ac_link) 2>&5
     4312  ac_status=$?
     4313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4314  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4315  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4316  (eval $ac_try) 2>&5
     4317  ac_status=$?
     4318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4319  (exit $ac_status); }; }; then
     4320  :
     4321else
     4322  echo "$as_me: program exited with status $ac_status" >&5
     4323echo "$as_me: failed program was:" >&5
     4324sed 's/^/| /' conftest.$ac_ext >&5
     4325
     4326( exit $ac_status )
     4327ac_cv_header_stdc=no
     4328fi
     4329rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4330fi
     4331fi
     4332fi
     4333echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4334echo "${ECHO_T}$ac_cv_header_stdc" >&6
    48944335if test $ac_cv_header_stdc = yes; then
    48954336
    4896 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4337cat >>confdefs.h <<\_ACEOF
     4338#define STDC_HEADERS 1
     4339_ACEOF
    48974340
    48984341fi
    48994342
    49004343# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4344
     4345
     4346
     4347
     4348
     4349
     4350
     4351
     4352
    49014353for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    49024354          inttypes.h stdint.h unistd.h
    4903 do :
    4904   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4905 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    4906 "
    4907 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     4355do
     4356as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4357echo "$as_me:$LINENO: checking for $ac_header" >&5
     4358echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4359if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4360  echo $ECHO_N "(cached) $ECHO_C" >&6
     4361else
     4362  cat >conftest.$ac_ext <<_ACEOF
     4363/* confdefs.h.  */
     4364_ACEOF
     4365cat confdefs.h >>conftest.$ac_ext
     4366cat >>conftest.$ac_ext <<_ACEOF
     4367/* end confdefs.h.  */
     4368$ac_includes_default
     4369
     4370#include <$ac_header>
     4371_ACEOF
     4372rm -f conftest.$ac_objext
     4373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4374  (eval $ac_compile) 2>conftest.er1
     4375  ac_status=$?
     4376  grep -v '^ *+' conftest.er1 >conftest.err
     4377  rm -f conftest.er1
     4378  cat conftest.err >&5
     4379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4380  (exit $ac_status); } &&
     4381     { ac_try='test -z "$ac_c_werror_flag"
     4382             || test ! -s conftest.err'
     4383  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4384  (eval $ac_try) 2>&5
     4385  ac_status=$?
     4386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4387  (exit $ac_status); }; } &&
     4388     { ac_try='test -s conftest.$ac_objext'
     4389  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4390  (eval $ac_try) 2>&5
     4391  ac_status=$?
     4392  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4393  (exit $ac_status); }; }; then
     4394  eval "$as_ac_Header=yes"
     4395else
     4396  echo "$as_me: failed program was:" >&5
     4397sed 's/^/| /' conftest.$ac_ext >&5
     4398
     4399eval "$as_ac_Header=no"
     4400fi
     4401rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4402fi
     4403echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4404echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4405if test `eval echo '${'$as_ac_Header'}'` = yes; then
    49084406  cat >>confdefs.h <<_ACEOF
    4909 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4407#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    49104408_ACEOF
    49114409
     
    49154413
    49164414
    4917 
    4918   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
    4919 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
     4415if test "${ac_cv_header_minix_config_h+set}" = set; then
     4416  echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4417echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4418if test "${ac_cv_header_minix_config_h+set}" = set; then
     4419  echo $ECHO_N "(cached) $ECHO_C" >&6
     4420fi
     4421echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4422echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4423else
     4424  # Is the header compilable?
     4425echo "$as_me:$LINENO: checking minix/config.h usability" >&5
     4426echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
     4427cat >conftest.$ac_ext <<_ACEOF
     4428/* confdefs.h.  */
     4429_ACEOF
     4430cat confdefs.h >>conftest.$ac_ext
     4431cat >>conftest.$ac_ext <<_ACEOF
     4432/* end confdefs.h.  */
     4433$ac_includes_default
     4434#include <minix/config.h>
     4435_ACEOF
     4436rm -f conftest.$ac_objext
     4437if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4438  (eval $ac_compile) 2>conftest.er1
     4439  ac_status=$?
     4440  grep -v '^ *+' conftest.er1 >conftest.err
     4441  rm -f conftest.er1
     4442  cat conftest.err >&5
     4443  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4444  (exit $ac_status); } &&
     4445     { ac_try='test -z "$ac_c_werror_flag"
     4446             || test ! -s conftest.err'
     4447  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4448  (eval $ac_try) 2>&5
     4449  ac_status=$?
     4450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4451  (exit $ac_status); }; } &&
     4452     { ac_try='test -s conftest.$ac_objext'
     4453  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4454  (eval $ac_try) 2>&5
     4455  ac_status=$?
     4456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4457  (exit $ac_status); }; }; then
     4458  ac_header_compiler=yes
     4459else
     4460  echo "$as_me: failed program was:" >&5
     4461sed 's/^/| /' conftest.$ac_ext >&5
     4462
     4463ac_header_compiler=no
     4464fi
     4465rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4466echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4467echo "${ECHO_T}$ac_header_compiler" >&6
     4468
     4469# Is the header present?
     4470echo "$as_me:$LINENO: checking minix/config.h presence" >&5
     4471echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
     4472cat >conftest.$ac_ext <<_ACEOF
     4473/* confdefs.h.  */
     4474_ACEOF
     4475cat confdefs.h >>conftest.$ac_ext
     4476cat >>conftest.$ac_ext <<_ACEOF
     4477/* end confdefs.h.  */
     4478#include <minix/config.h>
     4479_ACEOF
     4480if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4481  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4482  ac_status=$?
     4483  grep -v '^ *+' conftest.er1 >conftest.err
     4484  rm -f conftest.er1
     4485  cat conftest.err >&5
     4486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4487  (exit $ac_status); } >/dev/null; then
     4488  if test -s conftest.err; then
     4489    ac_cpp_err=$ac_c_preproc_warn_flag
     4490    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     4491  else
     4492    ac_cpp_err=
     4493  fi
     4494else
     4495  ac_cpp_err=yes
     4496fi
     4497if test -z "$ac_cpp_err"; then
     4498  ac_header_preproc=yes
     4499else
     4500  echo "$as_me: failed program was:" >&5
     4501sed 's/^/| /' conftest.$ac_ext >&5
     4502
     4503  ac_header_preproc=no
     4504fi
     4505rm -f conftest.err conftest.$ac_ext
     4506echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4507echo "${ECHO_T}$ac_header_preproc" >&6
     4508
     4509# So?  What about this header?
     4510case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4511  yes:no: )
     4512    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4513echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4514    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
     4515echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
     4516    ac_header_preproc=yes
     4517    ;;
     4518  no:yes:* )
     4519    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
     4520echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
     4521    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
     4522echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
     4523    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
     4524echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
     4525    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
     4526echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4527    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
     4528echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
     4529    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
     4530echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
     4531    (
     4532      cat <<\_ASBOX
     4533## ------------------------------------------ ##
     4534## Report this to the AC_PACKAGE_NAME lists.  ##
     4535## ------------------------------------------ ##
     4536_ASBOX
     4537    ) |
     4538      sed "s/^/$as_me: WARNING:     /" >&2
     4539    ;;
     4540esac
     4541echo "$as_me:$LINENO: checking for minix/config.h" >&5
     4542echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
     4543if test "${ac_cv_header_minix_config_h+set}" = set; then
     4544  echo $ECHO_N "(cached) $ECHO_C" >&6
     4545else
     4546  ac_cv_header_minix_config_h=$ac_header_preproc
     4547fi
     4548echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
     4549echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
     4550
     4551fi
     4552if test $ac_cv_header_minix_config_h = yes; then
    49204553  MINIX=yes
    49214554else
     
    49244557
    49254558
    4926   if test "$MINIX" = yes; then
    4927 
    4928 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
    4929 
    4930 
    4931 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
    4932 
    4933 
    4934 $as_echo "#define _MINIX 1" >>confdefs.h
    4935 
    4936   fi
    4937 
    4938 
    4939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
    4940 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
    4941 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
    4942   $as_echo_n "(cached) " >&6
    4943 else
    4944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    4945 /* end confdefs.h.  */
    4946 
    4947 #     define __EXTENSIONS__ 1
    4948       $ac_includes_default
    4949 int
    4950 main ()
    4951 {
    4952 
    4953   ;
    4954   return 0;
    4955 }
    4956 _ACEOF
    4957 if ac_fn_c_try_compile "$LINENO"; then :
    4958   ac_cv_safe_to_define___extensions__=yes
    4959 else
    4960   ac_cv_safe_to_define___extensions__=no
    4961 fi
    4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4963 fi
    4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_