Changeset 204


Ignore:
Timestamp:
11/05/02 03:01:55 (21 years ago)
Author:
piso
Message:

autoconf 2.54

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/configure

    r2 r204  
    11#! /bin/sh
    2 
    3 # From configure.in Revision: 1.143
    4 
    5 BOOTFILE=./configure-options
    6 
    7 if test -f "${BOOTFILE}" && test -z "${IN_BOOT}" ; then
    8     echo "reading options from ${BOOTFILE}"
    9     IN_BOOT=1 $0 `cat ${BOOTFILE}` $*
    10     exit $?
    11 fi
    12 
     2# From configure.in Revision: 1.1.1.1 .
    133# Guess values for system-dependent variables and create Makefiles.
    14 # Generated automatically using autoconf version 2.13
    15 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
     4# Generated by GNU Autoconf 2.54.
    165#
     6# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     7# Free Software Foundation, Inc.
    178# This configure script is free software; the Free Software Foundation
    189# gives unlimited permission to copy, distribute and modify it.
    19 
    20 # Defaults:
    21 ac_help=
     10## --------------------- ##
     11## M4sh Initialization.  ##
     12## --------------------- ##
     13
     14# Be Bourne compatible
     15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16  emulate sh
     17  NULLCMD=:
     18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     19  # is contrary to our usage.  Disable this feature.
     20  alias -g '${1+"$@"}'='"$@"'
     21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     22  set -o posix
     23fi
     24
     25# Support unset when possible.
     26if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     27  as_unset=unset
     28else
     29  as_unset=false
     30fi
     31
     32
     33# Work around bugs in pre-3.0 UWIN ksh.
     34$as_unset ENV MAIL MAILPATH
     35PS1='$ '
     36PS2='> '
     37PS4='+ '
     38
     39# NLS nuisances.
     40for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
     41do
     42  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     43    eval $as_var=C; export $as_var
     44  else
     45    $as_unset $as_var
     46  fi
     47done
     48
     49# Required to use basename.
     50if expr a : '\(a\)' >/dev/null 2>&1; then
     51  as_expr=expr
     52else
     53  as_expr=false
     54fi
     55
     56if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     57  as_basename=basename
     58else
     59  as_basename=false
     60fi
     61
     62
     63# Name of the executable.
     64as_me=`$as_basename "$0" ||
     65$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     66   X"$0" : 'X\(//\)$' \| \
     67   X"$0" : 'X\(/\)$' \| \
     68   .     : '\(.\)' 2>/dev/null ||
     69echo X/"$0" |
     70    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     71      /^X\/\(\/\/\)$/{ s//\1/; q; }
     72      /^X\/\(\/\).*/{ s//\1/; q; }
     73      s/.*/./; q'`
     74
     75
     76# PATH needs CR, and LINENO needs CR and PATH.
     77# Avoid depending upon Character Ranges.
     78as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     79as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     80as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     81as_cr_digits='0123456789'
     82as_cr_alnum=$as_cr_Letters$as_cr_digits
     83
     84# The user is always right.
     85if test "${PATH_SEPARATOR+set}" != set; then
     86  echo "#! /bin/sh" >conftest.sh
     87  echo  "exit 0"   >>conftest.sh
     88  chmod +x conftest.sh
     89  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
     90    PATH_SEPARATOR=';'
     91  else
     92    PATH_SEPARATOR=:
     93  fi
     94  rm -f conftest.sh
     95fi
     96
     97
     98  as_lineno_1=$LINENO
     99  as_lineno_2=$LINENO
     100  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     101  test "x$as_lineno_1" != "x$as_lineno_2" &&
     102  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     103  # Find who we are.  Look in the path if we contain no path at all
     104  # relative or not.
     105  case $0 in
     106    *[\\/]* ) as_myself=$0 ;;
     107    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     108for as_dir in $PATH
     109do
     110  IFS=$as_save_IFS
     111  test -z "$as_dir" && as_dir=.
     112  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     113done
     114
     115       ;;
     116  esac
     117  # We did not find ourselves, most probably we were run as `sh COMMAND'
     118  # in which case we are not to be found in the path.
     119  if test "x$as_myself" = x; then
     120    as_myself=$0
     121  fi
     122  if test ! -f "$as_myself"; then
     123    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
     124   { (exit 1); exit 1; }; }
     125  fi
     126  case $CONFIG_SHELL in
     127  '')
     128    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     129for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     130do
     131  IFS=$as_save_IFS
     132  test -z "$as_dir" && as_dir=.
     133  for as_base in sh bash ksh sh5; do
     134   case $as_dir in
     135   /*)
     136     if ("$as_dir/$as_base" -c '
     137  as_lineno_1=$LINENO
     138  as_lineno_2=$LINENO
     139  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     140  test "x$as_lineno_1" != "x$as_lineno_2" &&
     141  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     142       $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     143       $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     144       CONFIG_SHELL=$as_dir/$as_base
     145       export CONFIG_SHELL
     146       exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     147     fi;;
     148   esac
     149       done
     150done
     151;;
     152  esac
     153
     154  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     155  # uniformly replaced by the line number.  The first 'sed' inserts a
     156  # line-number line before each line; the second 'sed' does the real
     157  # work.  The second script uses 'N' to pair each line-number line
     158  # with the numbered line, and appends trailing '-' during
     159  # substitution so that $LINENO is not a special case at line end.
     160  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     161  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     162  sed '=' <$as_myself |
     163    sed '
     164      N
     165      s,$,-,
     166      : loop
     167      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     168      t loop
     169      s,-$,,
     170      s,^['$as_cr_digits']*\n,,
     171    ' >$as_me.lineno &&
     172  chmod +x $as_me.lineno ||
     173    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     174   { (exit 1); exit 1; }; }
     175
     176  # Don't try to exec as it changes $[0], causing all sort of problems
     177  # (the dirname of $[0] is not the place where we might find the
     178  # original and so on.  Autoconf is especially sensible to this).
     179  . ./$as_me.lineno
     180  # Exit status is that of the last command.
     181  exit
     182}
     183
     184
     185case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     186  *c*,-n*) ECHO_N= ECHO_C='
     187' ECHO_T='  ' ;;
     188  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     189  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     190esac
     191
     192if expr a : '\(a\)' >/dev/null 2>&1; then
     193  as_expr=expr
     194else
     195  as_expr=false
     196fi
     197
     198rm -f conf$$ conf$$.exe conf$$.file
     199echo >conf$$.file
     200if ln -s conf$$.file conf$$ 2>/dev/null; then
     201  # We could just check for DJGPP; but this test a) works b) is more generic
     202  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     203  if test -f conf$$.exe; then
     204    # Don't use ln at all; we don't have any links
     205    as_ln_s='cp -p'
     206  else
     207    as_ln_s='ln -s'
     208  fi
     209elif ln conf$$.file conf$$ 2>/dev/null; then
     210  as_ln_s=ln
     211else
     212  as_ln_s='cp -p'
     213fi
     214rm -f conf$$ conf$$.exe conf$$.file
     215
     216if mkdir -p . 2>/dev/null; then
     217  as_mkdir_p=:
     218else
     219  as_mkdir_p=false
     220fi
     221
     222as_executable_p="test -f"
     223
     224# Sed expression to map a string onto a valid CPP name.
     225as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     226
     227# Sed expression to map a string onto a valid variable name.
     228as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     229
     230
     231# IFS
     232# We need space, tab and new line, in precisely that order.
     233as_nl='
     234'
     235IFS="   $as_nl"
     236
     237# CDPATH.
     238$as_unset CDPATH
     239
     240
     241# Name of the host.
     242# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     243# so uname gets run too.
     244ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     245
     246exec 6>&1
     247
     248#
     249# Initializations.
     250#
    22251ac_default_prefix=/usr/local
    23 # Any additions from configure.in:
    24 ac_help="$ac_help
    25   --with-jdk=DIR          JDK you want to use "
    26 ac_help="$ac_help
    27   --with-options=OPTIONS  runtime options to be passed to java (e.g. -server) "
    28 ac_help="$ac_help
    29   --with-extensions=PATH  extensions to CLASSPATH (JIMI, Xerces, etc.) "
    30 ac_help="$ac_help
    31   --enable-jpty           build and install jpty
    32   --disable-jpty          do not build or install jpty (default)"
    33 ac_help="$ac_help
    34   --enable-debug          enable run-time debugging
    35   --disable-debug         disable run-time debugging (default)"
     252ac_config_libobj_dir=.
     253cross_compiling=no
     254subdirs=
     255MFLAGS=
     256MAKEFLAGS=
     257SHELL=${CONFIG_SHELL-/bin/sh}
     258
     259# Maximum number of lines to put in a shell here document.
     260# This variable seems obsolete.  It should probably be removed, and
     261# only ac_max_sed_lines should be used.
     262: ${ac_max_here_lines=38}
     263
     264# Identity of this package.
     265PACKAGE_NAME=
     266PACKAGE_TARNAME=
     267PACKAGE_VERSION=
     268PACKAGE_STRING=
     269PACKAGE_BUGREPORT=
     270
     271ac_unique_file="j.in"
     272ac_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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA version PATHSEP JAVA JAVAC JAVACFLAGS JAR JAVA_RUNTIME CP CLASSPATH COMPILER_CLASSPATH JAVA_OPTIONS JPTY LIBOBJS LTLIBOBJS'
     273ac_subst_files=''
    36274
    37275# Initialize some variables set by options.
     276ac_init_help=
     277ac_init_version=false
    38278# The variables have the same names as the options, with
    39279# dashes changed to underlines.
    40 build=NONE
    41 cache_file=./config.cache
     280cache_file=/dev/null
    42281exec_prefix=NONE
    43 host=NONE
    44282no_create=
    45 nonopt=NONE
    46283no_recursion=
    47284prefix=NONE
     
    52289site=
    53290srcdir=
    54 target=NONE
    55291verbose=
    56292x_includes=NONE
    57293x_libraries=NONE
     294
     295# Installation directory options.
     296# These are left unexpanded so users can "make install exec_prefix=/foo"
     297# and all the variables that are supposed to be based on exec_prefix
     298# by default will actually change.
     299# Use braces instead of parens because sh, perl, etc. also accept them.
    58300bindir='${exec_prefix}/bin'
    59301sbindir='${exec_prefix}/sbin'
     
    69311mandir='${prefix}/man'
    70312
    71 # Initialize some other variables.
    72 subdirs=
    73 MFLAGS= MAKEFLAGS=
    74 SHELL=${CONFIG_SHELL-/bin/sh}
    75 # Maximum number of lines to put in a shell here document.
    76 ac_max_here_lines=12
    77 
    78313ac_prev=
    79314for ac_option
    80315do
    81 
    82316  # If the previous option needs an argument, assign it.
    83317  if test -n "$ac_prev"; then
     
    87321  fi
    88322
    89   case "$ac_option" in
    90   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    91   *) ac_optarg= ;;
    92   esac
     323  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    93324
    94325  # Accept the important Cygnus configure options, so we can diagnose typos.
    95326
    96   case "$ac_option" in
     327  case $ac_option in
    97328
    98329  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    99330    ac_prev=bindir ;;
    100331  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    101     bindir="$ac_optarg" ;;
     332    bindir=$ac_optarg ;;
    102333
    103334  -build | --build | --buil | --bui | --bu)
    104     ac_prev=build ;;
     335    ac_prev=build_alias ;;
    105336  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    106     build="$ac_optarg" ;;
     337    build_alias=$ac_optarg ;;
    107338
    108339  -cache-file | --cache-file | --cache-fil | --cache-fi \
     
    111342  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    112343  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    113     cache_file="$ac_optarg" ;;
     344    cache_file=$ac_optarg ;;
     345
     346  --config-cache | -C)
     347    cache_file=config.cache ;;
    114348
    115349  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     
    117351  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    118352  | --da=*)
    119     datadir="$ac_optarg" ;;
     353    datadir=$ac_optarg ;;
    120354
    121355  -disable-* | --disable-*)
    122     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
     356    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    123357    # Reject names that are not valid shell variable names.
    124     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
    125       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    126     fi
    127     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    128     eval "enable_${ac_feature}=no" ;;
     358    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     359      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     360   { (exit 1); exit 1; }; }
     361    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     362    eval "enable_$ac_feature=no" ;;
    129363
    130364  -enable-* | --enable-*)
    131     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
     365    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    132366    # Reject names that are not valid shell variable names.
    133     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
    134       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    135     fi
    136     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    137     case "$ac_option" in
    138       *=*) ;;
     367    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     368      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     369   { (exit 1); exit 1; }; }
     370    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     371    case $ac_option in
     372      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    139373      *) ac_optarg=yes ;;
    140374    esac
    141     eval "enable_${ac_feature}='$ac_optarg'" ;;
     375    eval "enable_$ac_feature='$ac_optarg'" ;;
    142376
    143377  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    148382  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    149383  | --exec=* | --exe=* | --ex=*)
    150     exec_prefix="$ac_optarg" ;;
     384    exec_prefix=$ac_optarg ;;
    151385
    152386  -gas | --gas | --ga | --g)
     
    154388    with_gas=yes ;;
    155389
    156   -help | --help | --hel | --he)
    157     # Omit some internal or obsolete options to make the list less imposing.
    158     # This message is too long to be a string in the A/UX 3.1 sh.
    159     cat << EOF
    160 Usage: configure [options] [host]
    161 Options: [defaults in brackets after descriptions]
    162 Configuration:
    163   --cache-file=FILE       cache test results in FILE
    164   --help                  print this message
    165   --no-create             do not create output files
    166   --quiet, --silent       do not print \`checking...' messages
    167   --version               print the version of autoconf that created configure
    168 Directory and file names:
    169   --prefix=PREFIX         install architecture-independent files in PREFIX
    170                           [$ac_default_prefix]
    171   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    172                           [same as prefix]
    173   --bindir=DIR            user executables in DIR [EPREFIX/bin]
    174   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
    175   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
    176   --datadir=DIR           read-only architecture-independent data in DIR
    177                           [PREFIX/share]
    178   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
    179   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
    180                           [PREFIX/com]
    181   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
    182   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
    183   --includedir=DIR        C header files in DIR [PREFIX/include]
    184   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
    185   --infodir=DIR           info documentation in DIR [PREFIX/info]
    186   --mandir=DIR            man documentation in DIR [PREFIX/man]
    187   --srcdir=DIR            find the sources in DIR [configure dir or ..]
    188   --program-prefix=PREFIX prepend PREFIX to installed program names
    189   --program-suffix=SUFFIX append SUFFIX to installed program names
    190   --program-transform-name=PROGRAM
    191                           run sed PROGRAM on installed program names
    192 EOF
    193     cat << EOF
    194 Host type:
    195   --build=BUILD           configure for building on BUILD [BUILD=HOST]
    196   --host=HOST             configure for HOST [guessed]
    197   --target=TARGET         configure for TARGET [TARGET=HOST]
    198 Features and packages:
    199   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    200   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    201   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    202   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    203   --x-includes=DIR        X include files are in DIR
    204   --x-libraries=DIR       X library files are in DIR
    205 EOF
    206     if test -n "$ac_help"; then
    207       echo "--enable and --with options recognized:$ac_help"
    208     fi
    209     exit 0 ;;
     390  -help | --help | --hel | --he | -h)
     391    ac_init_help=long ;;
     392  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
     393    ac_init_help=recursive ;;
     394  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
     395    ac_init_help=short ;;
    210396
    211397  -host | --host | --hos | --ho)
    212     ac_prev=host ;;
     398    ac_prev=host_alias ;;
    213399  -host=* | --host=* | --hos=* | --ho=*)
    214     host="$ac_optarg" ;;
     400    host_alias=$ac_optarg ;;
    215401
    216402  -includedir | --includedir | --includedi | --included | --include \
     
    219405  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    220406  | --includ=* | --inclu=* | --incl=* | --inc=*)
    221     includedir="$ac_optarg" ;;
     407    includedir=$ac_optarg ;;
    222408
    223409  -infodir | --infodir | --infodi | --infod | --info | --inf)
    224410    ac_prev=infodir ;;
    225411  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    226     infodir="$ac_optarg" ;;
     412    infodir=$ac_optarg ;;
    227413
    228414  -libdir | --libdir | --libdi | --libd)
    229415    ac_prev=libdir ;;
    230416  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    231     libdir="$ac_optarg" ;;
     417    libdir=$ac_optarg ;;
    232418
    233419  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     
    236422  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    237423  | --libexe=* | --libex=* | --libe=*)
    238     libexecdir="$ac_optarg" ;;
     424    libexecdir=$ac_optarg ;;
    239425
    240426  -localstatedir | --localstatedir | --localstatedi | --localstated \
     
    245431  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    246432  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    247     localstatedir="$ac_optarg" ;;
     433    localstatedir=$ac_optarg ;;
    248434
    249435  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    250436    ac_prev=mandir ;;
    251437  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    252     mandir="$ac_optarg" ;;
     438    mandir=$ac_optarg ;;
    253439
    254440  -nfp | --nfp | --nf)
     
    257443
    258444  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    259   | --no-cr | --no-c)
     445  | --no-cr | --no-c | -n)
    260446    no_create=yes ;;
    261447
     
    271457  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    272458  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    273     oldincludedir="$ac_optarg" ;;
     459    oldincludedir=$ac_optarg ;;
    274460
    275461  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    276462    ac_prev=prefix ;;
    277463  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    278     prefix="$ac_optarg" ;;
     464    prefix=$ac_optarg ;;
    279465
    280466  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     
    283469  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    284470  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    285     program_prefix="$ac_optarg" ;;
     471    program_prefix=$ac_optarg ;;
    286472
    287473  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     
    290476  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    291477  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    292     program_suffix="$ac_optarg" ;;
     478    program_suffix=$ac_optarg ;;
    293479
    294480  -program-transform-name | --program-transform-name \
     
    307493  | --program-trans=* | --program-tran=* \
    308494  | --progr-tra=* | --program-tr=* | --program-t=*)
    309     program_transform_name="$ac_optarg" ;;
     495    program_transform_name=$ac_optarg ;;
    310496
    311497  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    317503  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    318504  | --sbi=* | --sb=*)
    319     sbindir="$ac_optarg" ;;
     505    sbindir=$ac_optarg ;;
    320506
    321507  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     
    328514  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    329515  | --sha=* | --sh=*)
    330     sharedstatedir="$ac_optarg" ;;
     516    sharedstatedir=$ac_optarg ;;
    331517
    332518  -site | --site | --sit)
    333519    ac_prev=site ;;
    334520  -site=* | --site=* | --sit=*)
    335     site="$ac_optarg" ;;
     521    site=$ac_optarg ;;
    336522
    337523  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    338524    ac_prev=srcdir ;;
    339525  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    340     srcdir="$ac_optarg" ;;
     526    srcdir=$ac_optarg ;;
    341527
    342528  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     
    345531  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    346532  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    347     sysconfdir="$ac_optarg" ;;
     533    sysconfdir=$ac_optarg ;;
    348534
    349535  -target | --target | --targe | --targ | --tar | --ta | --t)
    350     ac_prev=target ;;
     536    ac_prev=target_alias ;;
    351537  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    352     target="$ac_optarg" ;;
     538    target_alias=$ac_optarg ;;
    353539
    354540  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    355541    verbose=yes ;;
    356542
    357   -version | --version | --versio | --versi | --vers)
    358     echo "configure generated by autoconf version 2.13"
    359     exit 0 ;;
     543  -version | --version | --versio | --versi | --vers | -V)
     544    ac_init_version=: ;;
    360545
    361546  -with-* | --with-*)
    362     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
     547    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    363548    # Reject names that are not valid shell variable names.
    364     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
    365       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    366     fi
     549    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     550      { echo "$as_me: error: invalid package name: $ac_package" >&2
     551   { (exit 1); exit 1; }; }
    367552    ac_package=`echo $ac_package| sed 's/-/_/g'`
    368     case "$ac_option" in
    369       *=*) ;;
     553    case $ac_option in
     554      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    370555      *) ac_optarg=yes ;;
    371556    esac
    372     eval "with_${ac_package}='$ac_optarg'" ;;
     557    eval "with_$ac_package='$ac_optarg'" ;;
    373558
    374559  -without-* | --without-*)
    375     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
     560    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    376561    # Reject names that are not valid shell variable names.
    377     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
    378       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    379     fi
    380     ac_package=`echo $ac_package| sed 's/-/_/g'`
    381     eval "with_${ac_package}=no" ;;
     562    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     563      { echo "$as_me: error: invalid package name: $ac_package" >&2
     564   { (exit 1); exit 1; }; }
     565    ac_package=`echo $ac_package | sed 's/-/_/g'`
     566    eval "with_$ac_package=no" ;;
    382567
    383568  --x)
     
    390575  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    391576  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    392     x_includes="$ac_optarg" ;;
     577    x_includes=$ac_optarg ;;
    393578
    394579  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     
    397582  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    398583  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    399     x_libraries="$ac_optarg" ;;
    400 
    401   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
     584    x_libraries=$ac_optarg ;;
     585
     586  -*) { echo "$as_me: error: unrecognized option: $ac_option
     587Try \`$0 --help' for more information." >&2
     588   { (exit 1); exit 1; }; }
    402589    ;;
    403590
     591  *=*)
     592    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     593    # Reject names that are not valid shell variable names.
     594    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     595      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     596   { (exit 1); exit 1; }; }
     597    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     598    eval "$ac_envvar='$ac_optarg'"
     599    export $ac_envvar ;;
     600
    404601  *)
    405     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
    406       echo "configure: warning: $ac_option: invalid host type" 1>&2
    407     fi
    408     if test "x$nonopt" != xNONE; then
    409       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    410     fi
    411     nonopt="$ac_option"
     602    # FIXME: should be removed in autoconf 3.0.
     603    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     604    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     605      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     606    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    412607    ;;
    413608
     
    416611
    417612if test -n "$ac_prev"; then
    418   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
    419 fi
    420 
    421 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    422 
    423 # File descriptor usage:
    424 # 0 standard input
    425 # 1 file creation
    426 # 2 errors and warnings
    427 # 3 some systems may open it to /dev/tty
    428 # 4 used on the Kubota Titan
    429 # 6 checking for... messages and results
    430 # 5 compiler messages saved in config.log
    431 if test "$silent" = yes; then
    432   exec 6>/dev/null
    433 else
    434   exec 6>&1
    435 fi
    436 exec 5>./config.log
    437 
    438 echo "\
    439 This file contains any messages produced by compilers while
    440 running configure, to aid debugging if configure makes a mistake.
    441 " 1>&5
    442 
    443 # Strip out --no-create and --no-recursion so they do not pile up.
    444 # Also quote any args containing shell metacharacters.
    445 ac_configure_args=
    446 for ac_arg
     613  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
     614  { echo "$as_me: error: missing argument to $ac_option" >&2
     615   { (exit 1); exit 1; }; }
     616fi
     617
     618# Be sure to have absolute paths.
     619for ac_var in exec_prefix prefix
    447620do
    448   case "$ac_arg" in
    449   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    450   | --no-cr | --no-c) ;;
    451   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    452   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    453   *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
    454   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    455   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
     621  eval ac_val=$`echo $ac_var`
     622  case $ac_val in
     623    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     624    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     625   { (exit 1); exit 1; }; };;
    456626  esac
    457627done
    458628
    459 # NLS nuisances.
    460 # Only set these to C if already set.  These must not be set unconditionally
    461 # because not all systems understand e.g. LANG=C (notably SCO).
    462 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
    463 # Non-C LC_CTYPE values break the ctype check.
    464 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
    465 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
    466 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
    467 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
    468 
    469 # confdefs.h avoids OS command line length limits that DEFS can exceed.
    470 rm -rf conftest* confdefs.h
    471 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    472 echo > confdefs.h
    473 
    474 # A filename unique to this package, relative to the directory that
    475 # configure is in, which we can look for to find out if srcdir is correct.
    476 ac_unique_file=j.in
     629# Be sure to have absolute paths.
     630for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     631              localstatedir libdir includedir oldincludedir infodir mandir
     632do
     633  eval ac_val=$`echo $ac_var`
     634  case $ac_val in
     635    [\\/$]* | ?:[\\/]* ) ;;
     636    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     637   { (exit 1); exit 1; }; };;
     638  esac
     639done
     640
     641# There might be people who depend on the old broken behavior: `$host'
     642# used to hold the argument of --host etc.
     643# FIXME: To remove some day.
     644build=$build_alias
     645host=$host_alias
     646target=$target_alias
     647
     648# FIXME: To remove some day.
     649if test "x$host_alias" != x; then
     650  if test "x$build_alias" = x; then
     651    cross_compiling=maybe
     652    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     653    If a cross compiler is detected then cross compile mode will be used." >&2
     654  elif test "x$build_alias" != "x$host_alias"; then
     655    cross_compiling=yes
     656  fi
     657fi
     658
     659ac_tool_prefix=
     660test -n "$host_alias" && ac_tool_prefix=$host_alias-
     661
     662test "$silent" = yes && exec 6>/dev/null
     663
    477664
    478665# Find the source files, if location was not specified.
     
    480667  ac_srcdir_defaulted=yes
    481668  # Try the directory containing this script, then its parent.
    482   ac_prog=$0
    483   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
    484   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
     669  ac_confdir=`(dirname "$0") 2>/dev/null ||
     670$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     671         X"$0" : 'X\(//\)[^/]' \| \
     672         X"$0" : 'X\(//\)$' \| \
     673         X"$0" : 'X\(/\)' \| \
     674         .     : '\(.\)' 2>/dev/null ||
     675echo X"$0" |
     676    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     677      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     678      /^X\(\/\/\)$/{ s//\1/; q; }
     679      /^X\(\/\).*/{ s//\1/; q; }
     680      s/.*/./; q'`
    485681  srcdir=$ac_confdir
    486682  if test ! -r $srcdir/$ac_unique_file; then
     
    492688if test ! -r $srcdir/$ac_unique_file; then
    493689  if test "$ac_srcdir_defaulted" = yes; then
    494     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
     690    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     691   { (exit 1); exit 1; }; }
    495692  else
    496     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
    497   fi
    498 fi
    499 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
    500 
     693    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     694   { (exit 1); exit 1; }; }
     695  fi
     696fi
     697(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     698  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     699   { (exit 1); exit 1; }; }
     700srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     701ac_env_build_alias_set=${build_alias+set}
     702ac_env_build_alias_value=$build_alias
     703ac_cv_env_build_alias_set=${build_alias+set}
     704ac_cv_env_build_alias_value=$build_alias
     705ac_env_host_alias_set=${host_alias+set}
     706ac_env_host_alias_value=$host_alias
     707ac_cv_env_host_alias_set=${host_alias+set}
     708ac_cv_env_host_alias_value=$host_alias
     709ac_env_target_alias_set=${target_alias+set}
     710ac_env_target_alias_value=$target_alias
     711ac_cv_env_target_alias_set=${target_alias+set}
     712ac_cv_env_target_alias_value=$target_alias
     713
     714#
     715# Report the --help message.
     716#
     717if test "$ac_init_help" = "long"; then
     718  # Omit some internal or obsolete options to make the list less imposing.
     719  # This message is too long to be a string in the A/UX 3.1 sh.
     720  cat <<_ACEOF
     721\`configure' configures this package to adapt to many kinds of systems.
     722
     723Usage: $0 [OPTION]... [VAR=VALUE]...
     724
     725To assign environment variables (e.g., CC, CFLAGS...), specify them as
     726VAR=VALUE.  See below for descriptions of some of the useful variables.
     727
     728Defaults for the options are specified in brackets.
     729
     730Configuration:
     731  -h, --help              display this help and exit
     732      --help=short        display options specific to this package
     733      --help=recursive    display the short help of all the included packages
     734  -V, --version           display version information and exit
     735  -q, --quiet, --silent   do not print \`checking...' messages
     736      --cache-file=FILE   cache test results in FILE [disabled]
     737  -C, --config-cache      alias for \`--cache-file=config.cache'
     738  -n, --no-create         do not create output files
     739      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
     740
     741_ACEOF
     742
     743  cat <<_ACEOF
     744Installation directories:
     745  --prefix=PREFIX         install architecture-independent files in PREFIX
     746                          [$ac_default_prefix]
     747  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
     748                          [PREFIX]
     749
     750By default, \`make install' will install all the files in
     751\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
     752an installation prefix other than \`$ac_default_prefix' using \`--prefix',
     753for instance \`--prefix=\$HOME'.
     754
     755For better control, use the options below.
     756
     757Fine tuning of the installation directories:
     758  --bindir=DIR           user executables [EPREFIX/bin]
     759  --sbindir=DIR          system admin executables [EPREFIX/sbin]
     760  --libexecdir=DIR       program executables [EPREFIX/libexec]
     761  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
     762  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
     763  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     764  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
     765  --libdir=DIR           object code libraries [EPREFIX/lib]
     766  --includedir=DIR       C header files [PREFIX/include]
     767  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
     768  --infodir=DIR          info documentation [PREFIX/info]
     769  --mandir=DIR           man documentation [PREFIX/man]
     770_ACEOF
     771
     772  cat <<\_ACEOF
     773_ACEOF
     774fi
     775
     776if test -n "$ac_init_help"; then
     777
     778  cat <<\_ACEOF
     779
     780Optional Features:
     781  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     782  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     783  --enable-jpty           build and install jpty
     784  --disable-jpty          do not build or install jpty (default)
     785  --enable-debug          enable run-time debugging
     786  --disable-debug         disable run-time debugging (default)
     787
     788Optional Packages:
     789  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     790  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     791  --with-jdk=DIR          JDK you want to use
     792  --with-options=OPTIONS  runtime options to be passed to java (e.g. -server)
     793  --with-extensions=PATH  extensions to CLASSPATH (JIMI, Xerces, etc.)
     794
     795_ACEOF
     796fi
     797
     798if test "$ac_init_help" = "recursive"; then
     799  # If there are subdirs, report their specific --help.
     800  ac_popdir=`pwd`
     801  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
     802    test -d $ac_dir || continue
     803    ac_builddir=.
     804
     805if test "$ac_dir" != .; then
     806  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     807  # A "../" for each directory in $ac_dir_suffix.
     808  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     809else
     810  ac_dir_suffix= ac_top_builddir=
     811fi
     812
     813case $srcdir in
     814  .)  # No --srcdir option.  We are building in place.
     815    ac_srcdir=.
     816    if test -z "$ac_top_builddir"; then
     817       ac_top_srcdir=.
     818    else
     819       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     820    fi ;;
     821  [\\/]* | ?:[\\/]* )  # Absolute path.
     822    ac_srcdir=$srcdir$ac_dir_suffix;
     823    ac_top_srcdir=$srcdir ;;
     824  *) # Relative path.
     825    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     826    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     827esac
     828# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     829# absolute.
     830ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     831ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     832ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     833ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     834
     835    cd $ac_dir
     836    # Check for guested configure; otherwise get Cygnus style configure.
     837    if test -f $ac_srcdir/configure.gnu; then
     838      echo
     839      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     840    elif test -f $ac_srcdir/configure; then
     841      echo
     842      $SHELL $ac_srcdir/configure  --help=recursive
     843    elif test -f $ac_srcdir/configure.ac ||
     844           test -f $ac_srcdir/configure.in; then
     845      echo
     846      $ac_configure --help
     847    else
     848      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     849    fi
     850    cd $ac_popdir
     851  done
     852fi
     853
     854test -n "$ac_init_help" && exit 0
     855if $ac_init_version; then
     856  cat <<\_ACEOF
     857
     858Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     859Free Software Foundation, Inc.
     860This configure script is free software; the Free Software Foundation
     861gives unlimited permission to copy, distribute and modify it.
     862_ACEOF
     863  exit 0
     864fi
     865exec 5>config.log
     866cat >&5 <<_ACEOF
     867This file contains any messages produced by compilers while
     868running configure, to aid debugging if configure makes a mistake.
     869
     870It was created by $as_me, which was
     871generated by GNU Autoconf 2.54.  Invocation command line was
     872
     873  $ $0 $@
     874
     875_ACEOF
     876{
     877cat <<_ASUNAME
     878## --------- ##
     879## Platform. ##
     880## --------- ##
     881
     882hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
     883uname -m = `(uname -m) 2>/dev/null || echo unknown`
     884uname -r = `(uname -r) 2>/dev/null || echo unknown`
     885uname -s = `(uname -s) 2>/dev/null || echo unknown`
     886uname -v = `(uname -v) 2>/dev/null || echo unknown`
     887
     888/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
     889/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
     890
     891/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
     892/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
     893/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
     894hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     895/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
     896/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     897/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
     898
     899_ASUNAME
     900
     901as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     902for as_dir in $PATH
     903do
     904  IFS=$as_save_IFS
     905  test -z "$as_dir" && as_dir=.
     906  echo "PATH: $as_dir"
     907done
     908
     909} >&5
     910
     911cat >&5 <<_ACEOF
     912
     913
     914## ----------- ##
     915## Core tests. ##
     916## ----------- ##
     917
     918_ACEOF
     919
     920
     921# Keep a trace of the command line.
     922# Strip out --no-create and --no-recursion so they do not pile up.
     923# Also quote any args containing shell meta-characters.
     924ac_configure_args=
     925ac_sep=
     926for ac_arg
     927do
     928  case $ac_arg in
     929  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
     930  | --no-cr | --no-c | -n ) continue ;;
     931  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
     932  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
     933    continue ;;
     934  *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     935    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     936  esac
     937  ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     938  # Get rid of the leading space.
     939  ac_sep=" "
     940done
     941
     942# When interrupted or exit'd, cleanup temporary files, and complete
     943# config.log.  We remove comments because anyway the quotes in there
     944# would cause problems or look ugly.
     945# WARNING: Be sure not to use single quotes in there, as some shells,
     946# such as our DU 5.0 friend, will then `close' the trap.
     947trap 'exit_status=$?
     948  # Save into config.log some information that might help in debugging.
     949  {
     950    echo
     951
     952    cat <<\_ASBOX
     953## ---------------- ##
     954## Cache variables. ##
     955## ---------------- ##
     956_ASBOX
     957    echo
     958    # The following way of writing the cache mishandles newlines in values,
     959{
     960  (set) 2>&1 |
     961    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     962    *ac_space=\ *)
     963      sed -n \
     964        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     965        s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     966      ;;
     967    *)
     968      sed -n \
     969        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     970      ;;
     971    esac;
     972}
     973    echo
     974
     975    cat <<\_ASBOX
     976## ----------------- ##
     977## Output variables. ##
     978## ----------------- ##
     979_ASBOX
     980    echo
     981    for ac_var in $ac_subst_vars
     982    do
     983      eval ac_val=$`echo $ac_var`
     984      echo "$ac_var='"'"'$ac_val'"'"'"
     985    done | sort
     986    echo
     987
     988    if test -n "$ac_subst_files"; then
     989      cat <<\_ASBOX
     990## ------------- ##
     991## Output files. ##
     992## ------------- ##
     993_ASBOX
     994      echo
     995      for ac_var in $ac_subst_files
     996      do
     997  eval ac_val=$`echo $ac_var`
     998        echo "$ac_var='"'"'$ac_val'"'"'"
     999      done | sort
     1000      echo
     1001    fi
     1002
     1003    if test -s confdefs.h; then
     1004      cat <<\_ASBOX
     1005## ----------- ##
     1006## confdefs.h. ##
     1007## ----------- ##
     1008_ASBOX
     1009      echo
     1010      sed "/^$/d" confdefs.h | sort
     1011      echo
     1012    fi
     1013    test "$ac_signal" != 0 &&
     1014      echo "$as_me: caught signal $ac_signal"
     1015    echo "$as_me: exit $exit_status"
     1016  } >&5
     1017  rm -f core core.* *.core &&
     1018  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1019    exit $exit_status
     1020     ' 0
     1021for ac_signal in 1 2 13 15; do
     1022  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1023done
     1024ac_signal=0
     1025
     1026# confdefs.h avoids OS command line length limits that DEFS can exceed.
     1027rm -rf conftest* confdefs.h
     1028# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1029echo >confdefs.h
     1030
     1031# Predefined preprocessor variables.
     1032
     1033cat >>confdefs.h <<_ACEOF
     1034#define PACKAGE_NAME "$PACKAGE_NAME"
     1035_ACEOF
     1036
     1037
     1038cat >>confdefs.h <<_ACEOF
     1039#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
     1040_ACEOF
     1041
     1042
     1043cat >>confdefs.h <<_ACEOF
     1044#define PACKAGE_VERSION "$PACKAGE_VERSION"
     1045_ACEOF
     1046
     1047
     1048cat >>confdefs.h <<_ACEOF
     1049#define PACKAGE_STRING "$PACKAGE_STRING"
     1050_ACEOF
     1051
     1052
     1053cat >>confdefs.h <<_ACEOF
     1054#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     1055_ACEOF
     1056
     1057
     1058# Let the site file select an alternate cache file if it wants to.
    5011059# Prefer explicitly selected file to automatically selected ones.
    5021060if test -z "$CONFIG_SITE"; then
     
    5091067for ac_site_file in $CONFIG_SITE; do
    5101068  if test -r "$ac_site_file"; then
    511     echo "loading site script $ac_site_file"
     1069    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1070echo "$as_me: loading site script $ac_site_file" >&6;}
     1071    sed 's/^/| /' "$ac_site_file" >&5
    5121072    . "$ac_site_file"
    5131073  fi
     
    5151075
    5161076if test -r "$cache_file"; then
    517   echo "loading cache $cache_file"
    518   . $cache_file
    519 else
    520   echo "creating cache $cache_file"
    521   > $cache_file
     1077  # Some versions of bash will fail to source /dev/null (special
     1078  # files actually), so we avoid doing that.
     1079  if test -f "$cache_file"; then
     1080    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1081echo "$as_me: loading cache $cache_file" >&6;}
     1082    case $cache_file in
     1083      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1084      *)                      . ./$cache_file;;
     1085    esac
     1086  fi
     1087else
     1088  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1089echo "$as_me: creating cache $cache_file" >&6;}
     1090  >$cache_file
     1091fi
     1092
     1093# Check that the precious variables saved in the cache have kept the same
     1094# value.
     1095ac_cache_corrupted=false
     1096for ac_var in `(set) 2>&1 |
     1097               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1098  eval ac_old_set=\$ac_cv_env_${ac_var}_set
     1099  eval ac_new_set=\$ac_env_${ac_var}_set
     1100  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1101  eval ac_new_val="\$ac_env_${ac_var}_value"
     1102  case $ac_old_set,$ac_new_set in
     1103    set,)
     1104      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1105echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1106      ac_cache_corrupted=: ;;
     1107    ,set)
     1108      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1109echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1110      ac_cache_corrupted=: ;;
     1111    ,);;
     1112    *)
     1113      if test "x$ac_old_val" != "x$ac_new_val"; then
     1114        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1115echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1116        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1117echo "$as_me:   former value:  $ac_old_val" >&2;}
     1118        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1119echo "$as_me:   current value: $ac_new_val" >&2;}
     1120        ac_cache_corrupted=:
     1121      fi;;
     1122  esac
     1123  # Pass precious variables to config.status.
     1124  if test "$ac_new_set" = set; then
     1125    case $ac_new_val in
     1126    *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1127      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1128    *) ac_arg=$ac_var=$ac_new_val ;;
     1129    esac
     1130    case " $ac_configure_args " in
     1131      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
     1132      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     1133    esac
     1134  fi
     1135done
     1136if $ac_cache_corrupted; then
     1137  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1138echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1139  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1140echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1141   { (exit 1); exit 1; }; }
    5221142fi
    5231143
    5241144ac_ext=c
    525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    5261145ac_cpp='$CPP $CPPFLAGS'
    527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    529 cross_compiling=$ac_cv_prog_cc_cross
    530 
    531 ac_exeext=
    532 ac_objext=o
    533 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
    534   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
    535   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    536     ac_n= ac_c='
    537 ' ac_t='  '
    538   else
    539     ac_n=-n ac_c= ac_t=
    540   fi
    541 else
    542   ac_n= ac_c='\c' ac_t=
    543 fi
     1146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1148ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1149
     1150
     1151
     1152
     1153
     1154
     1155
     1156
     1157
     1158
     1159
     1160
     1161
     1162
     1163
     1164
     1165
    5441166
    5451167
     
    5551177    ac_install_sh="$ac_aux_dir/install.sh -c"
    5561178    break
     1179  elif test -f $ac_dir/shtool; then
     1180    ac_aux_dir=$ac_dir
     1181    ac_install_sh="$ac_aux_dir/shtool install -c"
     1182    break
    5571183  fi
    5581184done
    5591185if test -z "$ac_aux_dir"; then
    560   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
    561 fi
    562 ac_config_guess=$ac_aux_dir/config.guess
    563 ac_config_sub=$ac_aux_dir/config.sub
    564 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
     1186  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     1187echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     1188   { (exit 1); exit 1; }; }
     1189fi
     1190ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     1191ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     1192ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    5651193
    5661194# Find a good install program.  We prefer a C program (faster),
     
    5711199# IRIX /sbin/install
    5721200# AIX /bin/install
     1201# AmigaOS /C/install, which installs bootblocks on floppy discs
    5731202# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    5741203# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    5751204# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    5761205# ./install, which can be erroneously created by make from ./install.sh.
    577 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    578 echo "configure:579: checking for a BSD compatible install" >&5
     1206echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     1207echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    5791208if test -z "$INSTALL"; then
    580 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    581   echo $ac_n "(cached) $ac_c" 1>&6
    582 else
    583     IFS="${IFS=   }"; ac_save_IFS="$IFS"; IFS=":"
    584   for ac_dir in $PATH; do
    585     # Account for people who put trailing slashes in PATH elements.
    586     case "$ac_dir/" in
    587     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    588     *)
    589       # OSF1 and SCO ODT 3.0 have their own names for install.
    590       # Don't use installbsd from OSF since it installs stuff as root
    591       # by default.
    592       for ac_prog in ginstall scoinst install; do
    593         if test -f $ac_dir/$ac_prog; then
    594     if test $ac_prog = install &&
    595             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    596       # AIX install.  It has an incompatible calling convention.
    597       :
    598     else
    599       ac_cv_path_install="$ac_dir/$ac_prog -c"
    600       break 2
    601     fi
    602   fi
     1209if test "${ac_cv_path_install+set}" = set; then
     1210  echo $ECHO_N "(cached) $ECHO_C" >&6
     1211else
     1212  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1213for as_dir in $PATH
     1214do
     1215  IFS=$as_save_IFS
     1216  test -z "$as_dir" && as_dir=.
     1217  # Account for people who put trailing slashes in PATH elements.
     1218case $as_dir/ in
     1219  ./ | .// | /cC/* | \
     1220  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     1221  /usr/ucb/* ) ;;
     1222  *)
     1223    # OSF1 and SCO ODT 3.0 have their own names for install.
     1224    # Don't use installbsd from OSF since it installs stuff as root
     1225    # by default.
     1226    for ac_prog in ginstall scoinst install; do
     1227      for ac_exec_ext in '' $ac_executable_extensions; do
     1228        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1229          if test $ac_prog = install &&
     1230            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1231            # AIX install.  It has an incompatible calling convention.
     1232            :
     1233          elif test $ac_prog = install &&
     1234            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1235            # program-specific install script used by HP pwplus--don't use.
     1236            :
     1237          else
     1238            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1239            break 3
     1240          fi
     1241        fi
    6031242      done
    604       ;;
    605     esac
    606   done
    607   IFS="$ac_save_IFS"
     1243    done
     1244    ;;
     1245esac
     1246done
     1247
    6081248
    6091249fi
    6101250  if test "${ac_cv_path_install+set}" = set; then
    611     INSTALL="$ac_cv_path_install"
     1251    INSTALL=$ac_cv_path_install
    6121252  else
    6131253    # As a last resort, use the slow shell script.  We don't cache a
     
    6151255    # break other packages using the cache if that directory is
    6161256    # removed, or if the path is relative.
    617     INSTALL="$ac_install_sh"
    618   fi
    619 fi
    620 echo "$ac_t""$INSTALL" 1>&6
     1257    INSTALL=$ac_install_sh
     1258  fi
     1259fi
     1260echo "$as_me:$LINENO: result: $INSTALL" >&5
     1261echo "${ECHO_T}$INSTALL" >&6
    6211262
    6221263# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    6241265test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    6251266
    626 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     1267test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    6271268
    6281269test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     
    6591300
    6601301
     1302
    6611303# Check whether --with-jdk or --without-jdk was given.
    6621304if test "${with_jdk+set}" = set; then
    6631305  withval="$with_jdk"
    664  
     1306
    6651307    JDK=${with_jdk}
    6661308
    6671309else
    668  
    669     { echo "configure: error: no jdk specified; use --with-jdk" 1>&2; exit 1; }
    670 
    671 fi
    672 
     1310
     1311    { { echo "$as_me:$LINENO: error: no jdk specified; use --with-jdk" >&5
     1312echo "$as_me: error: no jdk specified; use --with-jdk" >&2;}
     1313   { (exit 1); exit 1; }; }
     1314
     1315fi;
    6731316
    6741317JDK=`echo $JDK | sed -e 's/\/$//'`
     
    6791322    JAVA=$JDK/jre/bin/java;
    6801323else
    681     { echo "configure: error: java not found" 1>&2; exit 1; }
    682 fi
    683 
    684 
    685 
    686 
    687 echo $ac_n "checking Java version""... $ac_c" 1>&6
    688 echo "configure:689: checking Java version" >&5
     1324    { { echo "$as_me:$LINENO: error: java not found" >&5
     1325echo "$as_me: error: java not found" >&2;}
     1326   { (exit 1); exit 1; }; }
     1327fi
     1328
     1329
     1330
     1331
     1332echo "$as_me:$LINENO: checking Java version" >&5
     1333echo $ECHO_N "checking Java version... $ECHO_C" >&6
    6891334JAVA_VERSION=`$JAVA -version 2>&1`
    6901335
    6911336case "$JAVA_VERSION" in
    6921337    java*1.1*)
    693         { echo "configure: error: Java 1.2 or later is required" 1>&2; exit 1; }
     1338        { { echo "$as_me:$LINENO: error: Java 1.2 or later is required" >&5
     1339echo "$as_me: error: Java 1.2 or later is required" >&2;}
     1340   { (exit 1); exit 1; }; }
    6941341        ;;
    6951342    java*1.2.0*)
    696         echo "$ac_t""1.2.0" 1>&6
     1343        echo "$as_me:$LINENO: result: 1.2.0" >&5
     1344echo "${ECHO_T}1.2.0" >&6
    6971345        ;;
    6981346    java*1.2.1*)
    699         echo "$ac_t""1.2.1" 1>&6
     1347        echo "$as_me:$LINENO: result: 1.2.1" >&5
     1348echo "${ECHO_T}1.2.1" >&6
    7001349        ;;
    7011350    java*1.2.2*)
    702         echo "$ac_t""1.2.2" 1>&6
     1351        echo "$as_me:$LINENO: result: 1.2.2" >&5
     1352echo "${ECHO_T}1.2.2" >&6
    7031353        ;;
    7041354    java*1.2*)
    705         echo "$ac_t""1.2" 1>&6
     1355        echo "$as_me:$LINENO: result: 1.2" >&5
     1356echo "${ECHO_T}1.2" >&6
    7061357        ;;
    7071358    java*1.3.0*)
    708         echo "$ac_t""1.3.0" 1>&6
     1359        echo "$as_me:$LINENO: result: 1.3.0" >&5
     1360echo "${ECHO_T}1.3.0" >&6
    7091361        ;;
    7101362    java*1.3.1*)
    711         echo "$ac_t""1.3.1" 1>&6
     1363        echo "$as_me:$LINENO: result: 1.3.1" >&5
     1364echo "${ECHO_T}1.3.1" >&6
    7121365        ;;
    7131366    java*1.3*)
    714         echo "$ac_t""1.3" 1>&6
     1367        echo "$as_me:$LINENO: result: 1.3" >&5
     1368echo "${ECHO_T}1.3" >&6
    7151369        ;;
    7161370    java*1.4.0-beta*)
    717         echo "$ac_t""1.4.0-beta" 1>&6
     1371        echo "$as_me:$LINENO: result: 1.4.0-beta" >&5
     1372echo "${ECHO_T}1.4.0-beta" >&6
    7181373        ;;
    7191374    java*1.4*)
    720         echo "$ac_t""1.4" 1>&6
     1375        echo "$as_me:$LINENO: result: 1.4" >&5
     1376echo "${ECHO_T}1.4" >&6
    7211377        ;;
    7221378    *)
    723         { echo "configure: error: unknown Java version" 1>&2; exit 1; }
     1379        { { echo "$as_me:$LINENO: error: unknown Java version" >&5
     1380echo "$as_me: error: unknown Java version" >&2;}
     1381   { (exit 1); exit 1; }; }
    7241382        ;;
    7251383esac
     
    7291387test -z "$JAVAC" && for ac_prog in jikes
    7301388do
    731 # Extract the first word of "$ac_prog", so it can be a program name with args.
     1389  # Extract the first word of "$ac_prog", so it can be a program name with args.
    7321390set dummy $ac_prog; ac_word=$2
    733 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    734 echo "configure:735: checking for $ac_word" >&5
    735 if eval "test \"`echo '$''{'ac_cv_prog_JAVAC'+set}'`\" = set"; then
    736   echo $ac_n "(cached) $ac_c" 1>&6
     1391echo "$as_me:$LINENO: checking for $ac_word" >&5
     1392echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1393if test "${ac_cv_prog_JAVAC+set}" = set; then
     1394  echo $ECHO_N "(cached) $ECHO_C" >&6
    7371395else
    7381396  if test -n "$JAVAC"; then
    7391397  ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
    7401398else
    741   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    742   ac_dummy="$PATH"
    743   for ac_dir in $ac_dummy; do
    744     test -z "$ac_dir" && ac_dir=.
    745     if test -f $ac_dir/$ac_word; then
    746       ac_cv_prog_JAVAC="$ac_prog"
    747       break
    748     fi
    749   done
    750   IFS="$ac_save_ifs"
    751 fi
    752 fi
    753 JAVAC="$ac_cv_prog_JAVAC"
     1399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1400for as_dir in $PATH
     1401do
     1402  IFS=$as_save_IFS
     1403  test -z "$as_dir" && as_dir=.
     1404  for ac_exec_ext in '' $ac_executable_extensions; do
     1405  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1406    ac_cv_prog_JAVAC="$ac_prog"
     1407    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1408    break 2
     1409  fi
     1410done
     1411done
     1412
     1413fi
     1414fi
     1415JAVAC=$ac_cv_prog_JAVAC
    7541416if test -n "$JAVAC"; then
    755   echo "$ac_t""$JAVAC" 1>&6
    756 else
    757   echo "$ac_t""no" 1>&6
    758 fi
    759 
    760 test -n "$JAVAC" && break
     1417  echo "$as_me:$LINENO: result: $JAVAC" >&5
     1418echo "${ECHO_T}$JAVAC" >&6
     1419else
     1420  echo "$as_me:$LINENO: result: no" >&5
     1421echo "${ECHO_T}no" >&6
     1422fi
     1423
     1424  test -n "$JAVAC" && break
    7611425done
    7621426
     
    7711435test -z "$JAR" && for ac_prog in fastjar
    7721436do
    773 # Extract the first word of "$ac_prog", so it can be a program name with args.
     1437  # Extract the first word of "$ac_prog", so it can be a program name with args.
    7741438set dummy $ac_prog; ac_word=$2
    775 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    776 echo "configure:777: checking for $ac_word" >&5
    777 if eval "test \"`echo '$''{'ac_cv_prog_JAR'+set}'`\" = set"; then
    778   echo $ac_n "(cached) $ac_c" 1>&6
     1439echo "$as_me:$LINENO: checking for $ac_word" >&5
     1440echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1441if test "${ac_cv_prog_JAR+set}" = set; then
     1442  echo $ECHO_N "(cached) $ECHO_C" >&6
    7791443else
    7801444  if test -n "$JAR"; then
    7811445  ac_cv_prog_JAR="$JAR" # Let the user override the test.
    7821446else
    783   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    784   ac_dummy="$PATH"
    785   for ac_dir in $ac_dummy; do
    786     test -z "$ac_dir" && ac_dir=.
    787     if test -f $ac_dir/$ac_word; then
    788       ac_cv_prog_JAR="$ac_prog"
    789       break
    790     fi
    791   done
    792   IFS="$ac_save_ifs"
    793 fi
    794 fi
    795 JAR="$ac_cv_prog_JAR"
     1447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1448for as_dir in $PATH
     1449do
     1450  IFS=$as_save_IFS
     1451  test -z "$as_dir" && as_dir=.
     1452  for ac_exec_ext in '' $ac_executable_extensions; do
     1453  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1454    ac_cv_prog_JAR="$ac_prog"
     1455    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1456    break 2
     1457  fi
     1458done
     1459done
     1460
     1461fi
     1462fi
     1463JAR=$ac_cv_prog_JAR
    7961464if test -n "$JAR"; then
    797   echo "$ac_t""$JAR" 1>&6
    798 else
    799   echo "$ac_t""no" 1>&6
    800 fi
    801 
    802 test -n "$JAR" && break
     1465  echo "$as_me:$LINENO: result: $JAR" >&5
     1466echo "${ECHO_T}$JAR" >&6
     1467else
     1468  echo "$as_me:$LINENO: result: no" >&5
     1469echo "${ECHO_T}no" >&6
     1470fi
     1471
     1472  test -n "$JAR" && break
    8031473done
    8041474
     
    8591529
    8601530
     1531
    8611532# Check whether --with-options or --without-options was given.
    8621533if test "${with_options+set}" = set; then
    8631534  withval="$with_options"
    864  
     1535
    8651536    JAVA_OPTIONS=${with_options}
    8661537
    867 fi
     1538fi;
    8681539
    8691540
     
    8721543if test "${with_extensions+set}" = set; then
    8731544  withval="$with_extensions"
    874  
     1545
    8751546    EXTENSIONS=${with_extensions}
    8761547
    877 fi
    878 
     1548fi;
    8791549
    8801550if test $EXTENSIONS; then
     
    8931563if test "${enable_jpty+set}" = set; then
    8941564  enableval="$enable_jpty"
    895   :
    896 fi
    897 
     1565
     1566fi;
    8981567
    8991568if test "$enable_jpty" = "yes"; then
     
    9111580if test "${enable_debug+set}" = set; then
    9121581  enableval="$enable_debug"
    913   :
    914 fi
    915 
     1582
     1583fi;
    9161584
    9171585case "$enable_debug" in
     
    9271595
    9281596
    929 trap '' 1 2 15
    930 cat > confcache <<\EOF
     1597                                                                                                                                                                ac_config_files="$ac_config_files Makefile src/Makefile src/jpty/Makefile src/bsh/Makefile src/bsh/classpath/Makefile src/bsh/commands/Makefile src/bsh/reflect/Makefile src/gnu/regexp/Makefile src/org/xml/sax/Makefile src/org/xml/sax/helpers/Makefile src/org/xml/sax/ext/Makefile src/org/armedbear/j/Makefile src/org/armedbear/j/version src/org/armedbear/j/aelfred/Makefile src/org/armedbear/j/mail/Makefile j"
     1598cat >confcache <<\_ACEOF
    9311599# This file is a shell script that caches the results of configure
    9321600# tests run on this system so they can be shared between configure
    933 # scripts and configure runs.  It is not useful on other systems.
    934 # If it contains results you don't want to keep, you may remove or edit it.
     1601# scripts and configure runs, see configure's option --config-cache.
     1602# It is not useful on other systems.  If it contains results you don't
     1603# want to keep, you may remove or edit it.
    9351604#
    936 # By default, configure uses ./config.cache as the cache file,
    937 # creating it if it does not exist already.  You can give configure
    938 # the --cache-file=FILE option to use a different cache file; that is
    939 # what configure does when it calls configure scripts in
    940 # subdirectories, so they share the cache.
    941 # Giving --cache-file=/dev/null disables caching, for debugging configure.
    942 # config.status only pays attention to the cache file if you give it the
    943 # --recheck option to rerun configure.
     1605# config.status only pays attention to the cache file if you give it
     1606# the --recheck option to rerun configure.
    9441607#
    945 EOF
     1608# `ac_cv_env_foo' variables (set or unset) will be overridden when
     1609# loading this file, other *unset* `ac_cv_foo' will be assigned the
     1610# following values.
     1611
     1612_ACEOF
     1613
    9461614# The following way of writing the cache mishandles newlines in values,
    9471615# but we know of no workaround that is simple, portable, and efficient.
     
    9491617# Ultrix sh set writes to stderr and can't be redirected directly,
    9501618# and sets the high bit in the cache file unless we assign to the vars.
    951 (set) 2>&1 |
    952   case `(ac_space=' '; set | grep ac_space) 2>&1` in
    953   *ac_space=\ *)
    954     # `set' does not quote correctly, so add quotes (double-quote substitution
    955     # turns \\\\ into \\, and sed turns \\ into \).
    956     sed -n \
    957       -e "s/'/'\\\\''/g" \
    958       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    959     ;;
    960   *)
    961     # `set' quotes correctly as required by POSIX, so do not add quotes.
    962     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    963     ;;
    964   esac >> confcache
    965 if cmp -s $cache_file confcache; then
    966   :
    967 else
     1619{
     1620  (set) 2>&1 |
     1621    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     1622    *ac_space=\ *)
     1623      # `set' does not quote correctly, so add quotes (double-quote
     1624      # substitution turns \\\\ into \\, and sed turns \\ into \).
     1625      sed -n \
     1626        "s/'/'\\\\''/g;
     1627        s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     1628      ;;
     1629    *)
     1630      # `set' quotes correctly as required by POSIX, so do not add quotes.
     1631      sed -n \
     1632        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1633      ;;
     1634    esac;
     1635} |
     1636  sed '
     1637     t clear
     1638     : clear
     1639     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     1640     t end
     1641     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     1642     : end' >>confcache
     1643if cmp -s $cache_file confcache; then :; else
    9681644  if test -w $cache_file; then
    969     echo "updating cache $cache_file"
    970     cat confcache > $cache_file
     1645    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     1646    cat confcache >$cache_file
    9711647  else
    9721648    echo "not updating unwritable cache $cache_file"
     
    9741650fi
    9751651rm -f confcache
    976 
    977 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    9781652
    9791653test "x$prefix" = xNONE && prefix=$ac_default_prefix
     
    9811655test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    9821656
    983 # Any assignment to VPATH causes Sun make to only execute
    984 # the first set of double-colon rules, so remove it if not needed.
    985 # If there is a colon in the path, we need to keep it.
     1657# VPATH may cause trouble with some makes, so we remove $(srcdir),
     1658# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     1659# trailing colons and then remove the whole line if VPATH becomes empty
     1660# (actually we leave an empty line to preserve line numbers).
    9861661if test "x$srcdir" = x.; then
    987   ac_vpsub='/^[   ]*VPATH[  ]*=[^:]*$/d'
    988 fi
    989 
    990 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
     1662  ac_vpsub='/^[   ]*VPATH[  ]*=/{
     1663s/:*\$(srcdir):*/:/;
     1664s/:*\${srcdir}:*/:/;
     1665s/:*@srcdir@:*/:/;
     1666s/^\([^=]*=[  ]*\):*/\1/;
     1667s/:*$//;
     1668s/^[^=]*=[  ]*$//;
     1669}'
     1670fi
    9911671
    9921672# Transform confdefs.h into DEFS.
    9931673# Protect against shell expansion while executing Makefile rules.
    9941674# Protect against Makefile macro expansion.
    995 cat > conftest.defs <<\EOF
    996 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
    997 s%[   `~#$^&*(){}\\|;'"<>?]%\\&%g
    998 s%\[%\\&%g
    999 s%\]%\\&%g
    1000 s%\$%$$%g
    1001 EOF
    1002 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
    1003 rm -f conftest.defs
    1004 
    1005 
    1006 # Without the "./", some shells look in PATH for config.status.
     1675#
     1676# If the first sed substitution is executed (which looks for macros that
     1677# take arguments), then we branch to the quote section.  Otherwise,
     1678# look for a macro that doesn't take arguments.
     1679cat >confdef2opt.sed <<\_ACEOF
     1680t clear
     1681: clear
     1682s,^[  ]*#[  ]*define[   ][  ]*\([^  (][^  (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
     1683t quote
     1684s,^[  ]*#[  ]*define[   ][  ]*\([^  ][^   ]*\)[   ]*\(.*\),-D\1=\2,g
     1685t quote
     1686d
     1687: quote
     1688s,[   `~#$^&*(){}\\|;'"<>?],\\&,g
     1689s,\[,\\&,g
     1690s,\],\\&,g
     1691s,\$,$$,g
     1692p
     1693_ACEOF
     1694# We use echo to avoid assuming a particular line-breaking character.
     1695# The extra dot is to prevent the shell from consuming trailing
     1696# line-breaks from the sub-command output.  A line-break within
     1697# single-quotes doesn't work because, if this script is created in a
     1698# platform that uses two characters for line-breaks (e.g., DOS), tr
     1699# would break.
     1700ac_LF_and_DOT=`echo; echo .`
     1701DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
     1702rm -f confdef2opt.sed
     1703
     1704
     1705ac_libobjs=
     1706ac_ltlibobjs=
     1707for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
     1708  # 1. Remove the extension, and $U if already installed.
     1709  ac_i=`echo "$ac_i" |
     1710         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     1711  # 2. Add them.
     1712  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     1713  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     1714done
     1715LIBOBJS=$ac_libobjs
     1716
     1717LTLIBOBJS=$ac_ltlibobjs
     1718
     1719
     1720
    10071721: ${CONFIG_STATUS=./config.status}
    1008 
    1009 echo creating $CONFIG_STATUS
    1010 rm -f $CONFIG_STATUS
    1011 cat > $CONFIG_STATUS <<EOF
    1012 #! /bin/sh
    1013 # Generated automatically by configure.
     1722ac_clean_files_save=$ac_clean_files
     1723ac_clean_files="$ac_clean_files $CONFIG_STATUS"
     1724{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     1725echo "$as_me: creating $CONFIG_STATUS" >&6;}
     1726cat >$CONFIG_STATUS <<_ACEOF
     1727#! $SHELL
     1728# Generated by $as_me.
    10141729# Run this file to recreate the current configuration.
    1015 # This directory was configured as follows,
    1016 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
     1730# Compiler output produced by configure, useful for debugging
     1731# configure, is in config.log if it exists.
     1732
     1733debug=false
     1734SHELL=\${CONFIG_SHELL-$SHELL}
     1735_ACEOF
     1736
     1737cat >>$CONFIG_STATUS <<\_ACEOF
     1738## --------------------- ##
     1739## M4sh Initialization.  ##
     1740## --------------------- ##
     1741
     1742# Be Bourne compatible
     1743if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     1744  emulate sh
     1745  NULLCMD=:
     1746  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     1747  # is contrary to our usage.  Disable this feature.
     1748  alias -g '${1+"$@"}'='"$@"'
     1749elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     1750  set -o posix
     1751fi
     1752
     1753# Support unset when possible.
     1754if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     1755  as_unset=unset
     1756else
     1757  as_unset=false
     1758fi
     1759
     1760
     1761# Work around bugs in pre-3.0 UWIN ksh.
     1762$as_unset ENV MAIL MAILPATH
     1763PS1='$ '
     1764PS2='> '
     1765PS4='+ '
     1766
     1767# NLS nuisances.
     1768for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
     1769do
     1770  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     1771    eval $as_var=C; export $as_var
     1772  else
     1773    $as_unset $as_var
     1774  fi
     1775done
     1776
     1777# Required to use basename.
     1778if expr a : '\(a\)' >/dev/null 2>&1; then
     1779  as_expr=expr
     1780else
     1781  as_expr=false
     1782fi
     1783
     1784if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     1785  as_basename=basename
     1786else
     1787  as_basename=false
     1788fi
     1789
     1790
     1791# Name of the executable.
     1792as_me=`$as_basename "$0" ||
     1793$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     1794   X"$0" : 'X\(//\)$' \| \
     1795   X"$0" : 'X\(/\)$' \| \
     1796   .     : '\(.\)' 2>/dev/null ||
     1797echo X/"$0" |
     1798    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     1799      /^X\/\(\/\/\)$/{ s//\1/; q; }
     1800      /^X\/\(\/\).*/{ s//\1/; q; }
     1801      s/.*/./; q'`
     1802
     1803
     1804# PATH needs CR, and LINENO needs CR and PATH.
     1805# Avoid depending upon Character Ranges.
     1806as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     1807as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     1808as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     1809as_cr_digits='0123456789'
     1810as_cr_alnum=$as_cr_Letters$as_cr_digits
     1811
     1812# The user is always right.
     1813if test "${PATH_SEPARATOR+set}" != set; then
     1814  echo "#! /bin/sh" >conftest.sh
     1815  echo  "exit 0"   >>conftest.sh
     1816  chmod +x conftest.sh
     1817  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
     1818    PATH_SEPARATOR=';'
     1819  else
     1820    PATH_SEPARATOR=:
     1821  fi
     1822  rm -f conftest.sh
     1823fi
     1824
     1825
     1826  as_lineno_1=$LINENO
     1827  as_lineno_2=$LINENO
     1828  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     1829  test "x$as_lineno_1" != "x$as_lineno_2" &&
     1830  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     1831  # Find who we are.  Look in the path if we contain no path at all
     1832  # relative or not.
     1833  case $0 in
     1834    *[\\/]* ) as_myself=$0 ;;
     1835    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1836for as_dir in $PATH
     1837do
     1838  IFS=$as_save_IFS
     1839  test -z "$as_dir" && as_dir=.
     1840  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     1841done
     1842
     1843       ;;
     1844  esac
     1845  # We did not find ourselves, most probably we were run as `sh COMMAND'
     1846  # in which case we are not to be found in the path.
     1847  if test "x$as_myself" = x; then
     1848    as_myself=$0
     1849  fi
     1850  if test ! -f "$as_myself"; then
     1851    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     1852echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     1853   { (exit 1); exit 1; }; }
     1854  fi
     1855  case $CONFIG_SHELL in
     1856  '')
     1857    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1858for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     1859do
     1860  IFS=$as_save_IFS
     1861  test -z "$as_dir" && as_dir=.
     1862  for as_base in sh bash ksh sh5; do
     1863   case $as_dir in
     1864   /*)
     1865     if ("$as_dir/$as_base" -c '
     1866  as_lineno_1=$LINENO
     1867  as_lineno_2=$LINENO
     1868  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     1869  test "x$as_lineno_1" != "x$as_lineno_2" &&
     1870  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     1871       $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     1872       $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     1873       CONFIG_SHELL=$as_dir/$as_base
     1874       export CONFIG_SHELL
     1875       exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     1876     fi;;
     1877   esac
     1878       done
     1879done
     1880;;
     1881  esac
     1882
     1883  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     1884  # uniformly replaced by the line number.  The first 'sed' inserts a
     1885  # line-number line before each line; the second 'sed' does the real
     1886  # work.  The second script uses 'N' to pair each line-number line
     1887  # with the numbered line, and appends trailing '-' during
     1888  # substitution so that $LINENO is not a special case at line end.
     1889  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     1890  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     1891  sed '=' <$as_myself |
     1892    sed '
     1893      N
     1894      s,$,-,
     1895      : loop
     1896      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     1897      t loop
     1898      s,-$,,
     1899      s,^['$as_cr_digits']*\n,,
     1900    ' >$as_me.lineno &&
     1901  chmod +x $as_me.lineno ||
     1902    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     1903echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     1904   { (exit 1); exit 1; }; }
     1905
     1906  # Don't try to exec as it changes $[0], causing all sort of problems
     1907  # (the dirname of $[0] is not the place where we might find the
     1908  # original and so on.  Autoconf is especially sensible to this).
     1909  . ./$as_me.lineno
     1910  # Exit status is that of the last command.
     1911  exit
     1912}
     1913
     1914
     1915case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     1916  *c*,-n*) ECHO_N= ECHO_C='
     1917' ECHO_T='  ' ;;
     1918  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     1919  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     1920esac
     1921
     1922if expr a : '\(a\)' >/dev/null 2>&1; then
     1923  as_expr=expr
     1924else
     1925  as_expr=false
     1926fi
     1927
     1928rm -f conf$$ conf$$.exe conf$$.file
     1929echo >conf$$.file
     1930if ln -s conf$$.file conf$$ 2>/dev/null; then
     1931  # We could just check for DJGPP; but this test a) works b) is more generic
     1932  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     1933  if test -f conf$$.exe; then
     1934    # Don't use ln at all; we don't have any links
     1935    as_ln_s='cp -p'
     1936  else
     1937    as_ln_s='ln -s'
     1938  fi
     1939elif ln conf$$.file conf$$ 2>/dev/null; then
     1940  as_ln_s=ln
     1941else
     1942  as_ln_s='cp -p'
     1943fi
     1944rm -f conf$$ conf$$.exe conf$$.file
     1945
     1946if mkdir -p . 2>/dev/null; then
     1947  as_mkdir_p=:
     1948else
     1949  as_mkdir_p=false
     1950fi
     1951
     1952as_executable_p="test -f"
     1953
     1954# Sed expression to map a string onto a valid CPP name.
     1955as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     1956
     1957# Sed expression to map a string onto a valid variable name.
     1958as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     1959
     1960
     1961# IFS
     1962# We need space, tab and new line, in precisely that order.
     1963as_nl='
     1964'
     1965IFS="   $as_nl"
     1966
     1967# CDPATH.
     1968$as_unset CDPATH
     1969
     1970exec 6>&1
     1971
     1972# Open the log real soon, to keep \$[0] and so on meaningful, and to
     1973# report actual input values of CONFIG_FILES etc. instead of their
     1974# values after options handling.  Logging --version etc. is OK.
     1975exec 5>>config.log
     1976{
     1977  echo
     1978  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     1979## Running $as_me. ##
     1980_ASBOX
     1981} >&5
     1982cat >&5 <<_CSEOF
     1983
     1984This file was extended by $as_me, which was
     1985generated by GNU Autoconf 2.54.  Invocation command line was
     1986
     1987  CONFIG_FILES    = $CONFIG_FILES
     1988  CONFIG_HEADERS  = $CONFIG_HEADERS
     1989  CONFIG_LINKS    = $CONFIG_LINKS
     1990  CONFIG_COMMANDS = $CONFIG_COMMANDS
     1991  $ $0 $@
     1992
     1993_CSEOF
     1994echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     1995echo >&5
     1996_ACEOF
     1997
     1998# Files that config.status was made for.
     1999if test -n "$ac_config_files"; then
     2000  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     2001fi
     2002
     2003if test -n "$ac_config_headers"; then
     2004  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     2005fi
     2006
     2007if test -n "$ac_config_links"; then
     2008  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     2009fi
     2010
     2011if test -n "$ac_config_commands"; then
     2012  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     2013fi
     2014
     2015cat >>$CONFIG_STATUS <<\_ACEOF
     2016
     2017ac_cs_usage="\
     2018\`$as_me' instantiates files from templates according to the
     2019current configuration.
     2020
     2021Usage: $0 [OPTIONS] [FILE]...
     2022
     2023  -h, --help       print this help, then exit
     2024  -V, --version    print version number, then exit
     2025  -d, --debug      don't remove temporary files
     2026      --recheck    update $as_me by reconfiguring in the same conditions
     2027  --file=FILE[:TEMPLATE]
     2028                   instantiate the configuration file FILE
     2029
     2030Configuration files:
     2031$config_files
     2032
     2033Report bugs to <bug-autoconf@gnu.org>."
     2034_ACEOF
     2035
     2036cat >>$CONFIG_STATUS <<_ACEOF
     2037ac_cs_version="\\
     2038config.status
     2039configured by $0, generated by GNU Autoconf 2.54,
     2040  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     2041
     2042Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     2043Free Software Foundation, Inc.
     2044This config.status script is free software; the Free Software Foundation
     2045gives unlimited permission to copy, distribute and modify it."
     2046srcdir=$srcdir
     2047INSTALL="$INSTALL"
     2048_ACEOF
     2049
     2050cat >>$CONFIG_STATUS <<\_ACEOF
     2051# If no file are specified by the user, then we need to provide default
     2052# value.  By we need to know if files were specified by the user.
     2053ac_need_defaults=:
     2054while test $# != 0
     2055do
     2056  case $1 in
     2057  --*=*)
     2058    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     2059    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     2060    ac_shift=:
     2061    ;;
     2062  -*)
     2063    ac_option=$1
     2064    ac_optarg=$2
     2065    ac_shift=shift
     2066    ;;
     2067  *) # This is not an option, so the user has probably given explicit
     2068     # arguments.
     2069     ac_option=$1
     2070     ac_need_defaults=false;;
     2071  esac
     2072
     2073  case $ac_option in
     2074  # Handling of the options.
     2075_ACEOF
     2076cat >>$CONFIG_STATUS <<_ACEOF
     2077  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     2078    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
     2079    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
     2080_ACEOF
     2081cat >>$CONFIG_STATUS <<\_ACEOF
     2082  --version | --vers* | -V )
     2083    echo "$ac_cs_version"; exit 0 ;;
     2084  --he | --h)
     2085    # Conflict between --help and --header
     2086    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     2087Try \`$0 --help' for more information." >&5
     2088echo "$as_me: error: ambiguous option: $1
     2089Try \`$0 --help' for more information." >&2;}
     2090   { (exit 1); exit 1; }; };;
     2091  --help | --hel | -h )
     2092    echo "$ac_cs_usage"; exit 0 ;;
     2093  --debug | --d* | -d )
     2094    debug=: ;;
     2095  --file | --fil | --fi | --f )
     2096    $ac_shift
     2097    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     2098    ac_need_defaults=false;;
     2099  --header | --heade | --head | --hea )
     2100    $ac_shift
     2101    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     2102    ac_need_defaults=false;;
     2103
     2104  # This is an error.
     2105  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     2106Try \`$0 --help' for more information." >&5
     2107echo "$as_me: error: unrecognized option: $1
     2108Try \`$0 --help' for more information." >&2;}
     2109   { (exit 1); exit 1; }; } ;;
     2110
     2111  *) ac_config_targets="$ac_config_targets $1" ;;
     2112
     2113  esac
     2114  shift
     2115done
     2116
     2117_ACEOF
     2118
     2119
     2120
     2121
     2122
     2123cat >>$CONFIG_STATUS <<\_ACEOF
     2124for ac_config_target in $ac_config_targets
     2125do
     2126  case "$ac_config_target" in
     2127  # Handling of arguments.
     2128  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     2129  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     2130  "src/jpty/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/jpty/Makefile" ;;
     2131  "src/bsh/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/bsh/Makefile" ;;
     2132  "src/bsh/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/bsh/classpath/Makefile" ;;
     2133  "src/bsh/commands/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/bsh/commands/Makefile" ;;
     2134  "src/bsh/reflect/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/bsh/reflect/Makefile" ;;
     2135  "src/gnu/regexp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnu/regexp/Makefile" ;;
     2136  "src/org/xml/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/xml/sax/Makefile" ;;
     2137  "src/org/xml/sax/helpers/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/xml/sax/helpers/Makefile" ;;
     2138  "src/org/xml/sax/ext/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/xml/sax/ext/Makefile" ;;
     2139  "src/org/armedbear/j/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/Makefile" ;;
     2140  "src/org/armedbear/j/version" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/version" ;;
     2141  "src/org/armedbear/j/aelfred/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/aelfred/Makefile" ;;
     2142  "src/org/armedbear/j/mail/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/mail/Makefile" ;;
     2143  "j" ) CONFIG_FILES="$CONFIG_FILES j" ;;
     2144  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     2145echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     2146   { (exit 1); exit 1; }; };;
     2147  esac
     2148done
     2149
     2150# If the user did not use the arguments to specify the items to instantiate,
     2151# then the envvar interface is used.  Set only those that are not.
     2152# We use the long form for the default assignment because of an extremely
     2153# bizarre bug on SunOS 4.1.3.
     2154if $ac_need_defaults; then
     2155  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     2156fi
     2157
     2158# Create a temporary directory, and hook for its removal unless debugging.
     2159$debug ||
     2160{
     2161  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     2162  trap '{ (exit 1); exit 1; }' 1 2 13 15
     2163}
     2164
     2165# Create a (secure) tmp directory for tmp files.
     2166: ${TMPDIR=/tmp}
     2167{
     2168  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
     2169  test -n "$tmp" && test -d "$tmp"
     2170}  ||
     2171{
     2172  tmp=$TMPDIR/cs$$-$RANDOM
     2173  (umask 077 && mkdir $tmp)
     2174} ||
     2175{
     2176   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
     2177   { (exit 1); exit 1; }
     2178}
     2179
     2180_ACEOF
     2181
     2182cat >>$CONFIG_STATUS <<_ACEOF
     2183
    10172184#
    1018 # $0 $ac_configure_args
     2185# CONFIG_FILES section.
    10192186#
    1020 # Compiler output produced by configure, useful for debugging
    1021 # configure, is in ./config.log if it exists.
    1022 
    1023 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
    1024 for ac_option
    1025 do
    1026   case "\$ac_option" in
    1027   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    1028     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    1029     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    1030   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    1031     echo "$CONFIG_STATUS generated by autoconf version 2.13"
    1032     exit 0 ;;
    1033   -help | --help | --hel | --he | --h)
    1034     echo "\$ac_cs_usage"; exit 0 ;;
    1035   *) echo "\$ac_cs_usage"; exit 1 ;;
     2187
     2188# No need to generate the scripts if there are no CONFIG_FILES.
     2189# This happens for instance when ./config.status config.h
     2190if test -n "\$CONFIG_FILES"; then
     2191  # Protect against being on the right side of a sed subst in config.status.
     2192  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     2193   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     2194s,@SHELL@,$SHELL,;t t
     2195s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     2196s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     2197s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     2198s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     2199s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     2200s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     2201s,@exec_prefix@,$exec_prefix,;t t
     2202s,@prefix@,$prefix,;t t
     2203s,@program_transform_name@,$program_transform_name,;t t
     2204s,@bindir@,$bindir,;t t
     2205s,@sbindir@,$sbindir,;t t
     2206s,@libexecdir@,$libexecdir,;t t
     2207s,@datadir@,$datadir,;t t
     2208s,@sysconfdir@,$sysconfdir,;t t
     2209s,@sharedstatedir@,$sharedstatedir,;t t
     2210s,@localstatedir@,$localstatedir,;t t
     2211s,@libdir@,$libdir,;t t
     2212s,@includedir@,$includedir,;t t
     2213s,@oldincludedir@,$oldincludedir,;t t
     2214s,@infodir@,$infodir,;t t
     2215s,@mandir@,$mandir,;t t
     2216s,@build_alias@,$build_alias,;t t
     2217s,@host_alias@,$host_alias,;t t
     2218s,@target_alias@,$target_alias,;t t
     2219s,@DEFS@,$DEFS,;t t
     2220s,@ECHO_C@,$ECHO_C,;t t
     2221s,@ECHO_N@,$ECHO_N,;t t
     2222s,@ECHO_T@,$ECHO_T,;t t
     2223s,@LIBS@,$LIBS,;t t
     2224s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     2225s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     2226s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     2227s,@version@,$version,;t t
     2228s,@PATHSEP@,$PATHSEP,;t t
     2229s,@JAVA@,$JAVA,;t t
     2230s,@JAVAC@,$JAVAC,;t t
     2231s,@JAVACFLAGS@,$JAVACFLAGS,;t t
     2232s,@JAR@,$JAR,;t t
     2233s,@JAVA_RUNTIME@,$JAVA_RUNTIME,;t t
     2234s,@CP@,$CP,;t t
     2235s,@CLASSPATH@,$CLASSPATH,;t t
     2236s,@COMPILER_CLASSPATH@,$COMPILER_CLASSPATH,;t t
     2237s,@JAVA_OPTIONS@,$JAVA_OPTIONS,;t t
     2238s,@JPTY@,$JPTY,;t t
     2239s,@LIBOBJS@,$LIBOBJS,;t t
     2240s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     2241CEOF
     2242
     2243_ACEOF
     2244
     2245  cat >>$CONFIG_STATUS <<\_ACEOF
     2246  # Split the substitutions into bite-sized pieces for seds with
     2247  # small command number limits, like on Digital OSF/1 and HP-UX.
     2248  ac_max_sed_lines=48
     2249  ac_sed_frag=1 # Number of current file.
     2250  ac_beg=1 # First line for current file.
     2251  ac_end=$ac_max_sed_lines # Line after last line for current file.
     2252  ac_more_lines=:
     2253  ac_sed_cmds=
     2254  while $ac_more_lines; do
     2255    if test $ac_beg -gt 1; then
     2256      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     2257    else
     2258      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     2259    fi
     2260    if test ! -s $tmp/subs.frag; then
     2261      ac_more_lines=false
     2262    else
     2263      # The purpose of the label and of the branching condition is to
     2264      # speed up the sed processing (if there are no `@' at all, there
     2265      # is no need to browse any of the substitutions).
     2266      # These are the two extra sed commands mentioned above.
     2267      (echo ':t
     2268  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     2269      if test -z "$ac_sed_cmds"; then
     2270    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     2271      else
     2272    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     2273      fi
     2274      ac_sed_frag=`expr $ac_sed_frag + 1`
     2275      ac_beg=$ac_end
     2276      ac_end=`expr $ac_end + $ac_max_sed_lines`
     2277    fi
     2278  done
     2279  if test -z "$ac_sed_cmds"; then
     2280    ac_sed_cmds=cat
     2281  fi
     2282fi # test -n "$CONFIG_FILES"
     2283
     2284_ACEOF
     2285cat >>$CONFIG_STATUS <<\_ACEOF
     2286for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     2287  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     2288  case $ac_file in
     2289  - | *:- | *:-:* ) # input from stdin
     2290        cat >$tmp/stdin
     2291        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     2292        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     2293  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     2294        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     2295  * )   ac_file_in=$ac_file.in ;;
    10362296  esac
    1037 done
    1038 
    1039 ac_given_srcdir=$srcdir
    1040 ac_given_INSTALL="$INSTALL"
    1041 
    1042 trap 'rm -fr `echo "
    1043 Makefile
    1044 src/Makefile
    1045 src/jpty/Makefile
    1046 src/bsh/Makefile
    1047 src/bsh/classpath/Makefile
    1048 src/bsh/commands/Makefile
    1049 src/bsh/reflect/Makefile
    1050 src/gnu/regexp/Makefile
    1051 src/org/xml/sax/Makefile
    1052 src/org/xml/sax/helpers/Makefile
    1053 src/org/xml/sax/ext/Makefile
    1054 src/org/armedbear/j/Makefile
    1055 src/org/armedbear/j/version
    1056 src/org/armedbear/j/aelfred/Makefile
    1057 src/org/armedbear/j/mail/Makefile
    1058 j
    1059 " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    1060 EOF
    1061 cat >> $CONFIG_STATUS <<EOF
    1062 
    1063 # Protect against being on the right side of a sed subst in config.status.
    1064 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
    1065  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
    1066 $ac_vpsub
     2297
     2298  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     2299  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     2300$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     2301         X"$ac_file" : 'X\(//\)[^/]' \| \
     2302         X"$ac_file" : 'X\(//\)$' \| \
     2303         X"$ac_file" : 'X\(/\)' \| \
     2304         .     : '\(.\)' 2>/dev/null ||
     2305echo X"$ac_file" |
     2306    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     2307      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     2308      /^X\(\/\/\)$/{ s//\1/; q; }
     2309      /^X\(\/\).*/{ s//\1/; q; }
     2310      s/.*/./; q'`
     2311  { if $as_mkdir_p; then
     2312    mkdir -p "$ac_dir"
     2313  else
     2314    as_dir="$ac_dir"
     2315    as_dirs=
     2316    while test ! -d "$as_dir"; do
     2317      as_dirs="$as_dir $as_dirs"
     2318      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     2319$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     2320         X"$as_dir" : 'X\(//\)[^/]' \| \
     2321         X"$as_dir" : 'X\(//\)$' \| \
     2322         X"$as_dir" : 'X\(/\)' \| \
     2323         .     : '\(.\)' 2>/dev/null ||
     2324echo X"$as_dir" |
     2325    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     2326      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     2327      /^X\(\/\/\)$/{ s//\1/; q; }
     2328      /^X\(\/\).*/{ s//\1/; q; }
     2329      s/.*/./; q'`
     2330    done
     2331    test ! -n "$as_dirs" || mkdir $as_dirs
     2332  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     2333echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     2334   { (exit 1); exit 1; }; }; }
     2335
     2336  ac_builddir=.
     2337
     2338if test "$ac_dir" != .; then
     2339  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     2340  # A "../" for each directory in $ac_dir_suffix.
     2341  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     2342else
     2343  ac_dir_suffix= ac_top_builddir=
     2344fi
     2345
     2346case $srcdir in
     2347  .)  # No --srcdir option.  We are building in place.
     2348    ac_srcdir=.
     2349    if test -z "$ac_top_builddir"; then
     2350       ac_top_srcdir=.
     2351    else
     2352       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     2353    fi ;;
     2354  [\\/]* | ?:[\\/]* )  # Absolute path.
     2355    ac_srcdir=$srcdir$ac_dir_suffix;
     2356    ac_top_srcdir=$srcdir ;;
     2357  *) # Relative path.
     2358    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     2359    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     2360esac
     2361# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     2362# absolute.
     2363ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     2364ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     2365ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     2366ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     2367
     2368
     2369  case $INSTALL in
     2370  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
     2371  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     2372  esac
     2373
     2374  if test x"$ac_file" != x-; then
     2375    { echo "$as_me:$LINENO: creating $ac_file" >&5
     2376echo "$as_me: creating $ac_file" >&6;}
     2377    rm -f "$ac_file"
     2378  fi
     2379  # Let's still pretend it is `configure' which instantiates (i.e., don't
     2380  # use $as_me), people would be surprised to read:
     2381  #    /* config.h.  Generated by config.status.  */
     2382  if test x"$ac_file" = x-; then
     2383    configure_input=
     2384  else
     2385    configure_input="$ac_file.  "
     2386  fi
     2387  configure_input=$configure_input"Generated from `echo $ac_file_in |
     2388                                     sed 's,.*/,,'` by configure."
     2389
     2390  # First look for the input files in the build tree, otherwise in the
     2391  # src tree.
     2392  ac_file_inputs=`IFS=:
     2393    for f in $ac_file_in; do
     2394      case $f in
     2395      -) echo $tmp/stdin ;;
     2396      [\\/$]*)
     2397         # Absolute (can't be DOS-style, as IFS=:)
     2398         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     2399echo "$as_me: error: cannot find input file: $f" >&2;}
     2400   { (exit 1); exit 1; }; }
     2401         echo $f;;
     2402      *) # Relative
     2403         if test -f "$f"; then
     2404           # Build tree
     2405           echo $f
     2406         elif test -f "$srcdir/$f"; then
     2407           # Source tree
     2408           echo $srcdir/$f
     2409         else
     2410           # /dev/null tree
     2411           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     2412echo "$as_me: error: cannot find input file: $f" >&2;}
     2413   { (exit 1); exit 1; }; }
     2414         fi;;
     2415      esac
     2416    done` || { (exit 1); exit 1; }
     2417_ACEOF
     2418cat >>$CONFIG_STATUS <<_ACEOF
     2419  sed "$ac_vpsub
    10672420$extrasub
    1068 s%@SHELL@%$SHELL%g
    1069 s%@CFLAGS@%$CFLAGS%g
    1070 s%@CPPFLAGS@%$CPPFLAGS%g
    1071 s%@CXXFLAGS@%$CXXFLAGS%g
    1072 s%@FFLAGS@%$FFLAGS%g
    1073 s%@DEFS@%$DEFS%g
    1074 s%@LDFLAGS@%$LDFLAGS%g
    1075 s%@LIBS@%$LIBS%g
    1076 s%@exec_prefix@%$exec_prefix%g
    1077 s%@prefix@%$prefix%g
    1078 s%@program_transform_name@%$program_transform_name%g
    1079 s%@bindir@%$bindir%g
    1080 s%@sbindir@%$sbindir%g
    1081 s%@libexecdir@%$libexecdir%g
    1082 s%@datadir@%$datadir%g
    1083 s%@sysconfdir@%$sysconfdir%g
    1084 s%@sharedstatedir@%$sharedstatedir%g
    1085 s%@localstatedir@%$localstatedir%g
    1086 s%@libdir@%$libdir%g
    1087 s%@includedir@%$includedir%g
    1088 s%@oldincludedir@%$oldincludedir%g
    1089 s%@infodir@%$infodir%g
    1090 s%@mandir@%$mandir%g
    1091 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    1092 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
    1093 s%@INSTALL_DATA@%$INSTALL_DATA%g
    1094 s%@version@%$version%g
    1095 s%@PATHSEP@%$PATHSEP%g
    1096 s%@JAVA@%$JAVA%g
    1097 s%@JAVAC@%$JAVAC%g
    1098 s%@JAVACFLAGS@%$JAVACFLAGS%g
    1099 s%@JAR@%$JAR%g
    1100 s%@JAVA_RUNTIME@%$JAVA_RUNTIME%g
    1101 s%@CP@%$CP%g
    1102 s%@CLASSPATH@%$CLASSPATH%g
    1103 s%@COMPILER_CLASSPATH@%$COMPILER_CLASSPATH%g
    1104 s%@JAVA_OPTIONS@%$JAVA_OPTIONS%g
    1105 s%@JPTY@%$JPTY%g
    1106 
    1107 CEOF
    1108 EOF
    1109 
    1110 cat >> $CONFIG_STATUS <<\EOF
    1111 
    1112 # Split the substitutions into bite-sized pieces for seds with
    1113 # small command number limits, like on Digital OSF/1 and HP-UX.
    1114 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
    1115 ac_file=1 # Number of current file.
    1116 ac_beg=1 # First line for current file.
    1117 ac_end=$ac_max_sed_cmds # Line after last line for current file.
    1118 ac_more_lines=:
    1119 ac_sed_cmds=""
    1120 while $ac_more_lines; do
    1121   if test $ac_beg -gt 1; then
    1122     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
     2421_ACEOF
     2422cat >>$CONFIG_STATUS <<\_ACEOF
     2423:t
     2424/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
     2425s,@configure_input@,$configure_input,;t t
     2426s,@srcdir@,$ac_srcdir,;t t
     2427s,@abs_srcdir@,$ac_abs_srcdir,;t t
     2428s,@top_srcdir@,$ac_top_srcdir,;t t
     2429s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     2430s,@builddir@,$ac_builddir,;t t
     2431s,@abs_builddir@,$ac_abs_builddir,;t t
     2432s,@top_builddir@,$ac_top_builddir,;t t
     2433s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     2434s,@INSTALL@,$ac_INSTALL,;t t
     2435" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     2436  rm -f $tmp/stdin
     2437  if test x"$ac_file" != x-; then
     2438    mv $tmp/out $ac_file
    11232439  else
    1124     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
    1125   fi
    1126   if test ! -s conftest.s$ac_file; then
    1127     ac_more_lines=false
    1128     rm -f conftest.s$ac_file
    1129   else
    1130     if test -z "$ac_sed_cmds"; then
    1131       ac_sed_cmds="sed -f conftest.s$ac_file"
    1132     else
    1133       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    1134     fi
    1135     ac_file=`expr $ac_file + 1`
    1136     ac_beg=$ac_end
    1137     ac_end=`expr $ac_end + $ac_max_sed_cmds`
    1138   fi
    1139 done
    1140 if test -z "$ac_sed_cmds"; then
    1141   ac_sed_cmds=cat
    1142 fi
    1143 EOF
    1144 
    1145 cat >> $CONFIG_STATUS <<EOF
    1146 
    1147 CONFIG_FILES=\${CONFIG_FILES-"Makefile
    1148 src/Makefile
    1149 src/jpty/Makefile
    1150 src/bsh/Makefile
    1151 src/bsh/classpath/Makefile
    1152 src/bsh/commands/Makefile
    1153 src/bsh/reflect/Makefile
    1154 src/gnu/regexp/Makefile
    1155 src/org/xml/sax/Makefile
    1156 src/org/xml/sax/helpers/Makefile
    1157 src/org/xml/sax/ext/Makefile
    1158 src/org/armedbear/j/Makefile
    1159 src/org/armedbear/j/version
    1160 src/org/armedbear/j/aelfred/Makefile
    1161 src/org/armedbear/j/mail/Makefile
    1162 j
    1163 "}
    1164 EOF
    1165 cat >> $CONFIG_STATUS <<\EOF
    1166 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
    1167   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    1168   case "$ac_file" in
    1169   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
    1170        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
    1171   *) ac_file_in="${ac_file}.in" ;;
    1172   esac
    1173 
    1174   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
    1175 
    1176   # Remove last slash and all that follows it.  Not all systems have dirname.
    1177   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
    1178   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    1179     # The file is in a subdirectory.
    1180     test ! -d "$ac_dir" && mkdir "$ac_dir"
    1181     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    1182     # A "../" for each directory in $ac_dir_suffix.
    1183     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
    1184   else
    1185     ac_dir_suffix= ac_dots=
    1186   fi
    1187 
    1188   case "$ac_given_srcdir" in
    1189   .)  srcdir=.
    1190       if test -z "$ac_dots"; then top_srcdir=.
    1191       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
    1192   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    1193   *) # Relative path.
    1194     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    1195     top_srcdir="$ac_dots$ac_given_srcdir" ;;
    1196   esac
    1197 
    1198   case "$ac_given_INSTALL" in
    1199   [/$]*) INSTALL="$ac_given_INSTALL" ;;
    1200   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
    1201   esac
    1202 
    1203   echo creating "$ac_file"
    1204   rm -f "$ac_file"
    1205   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
    1206   case "$ac_file" in
    1207   *Makefile*) ac_comsub="1i\\
    1208 # $configure_input" ;;
    1209   *) ac_comsub= ;;
    1210   esac
    1211 
    1212   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
    1213   sed -e "$ac_comsub
    1214 s%@configure_input@%$configure_input%g
    1215 s%@srcdir@%$srcdir%g
    1216 s%@top_srcdir@%$top_srcdir%g
    1217 s%@INSTALL@%$INSTALL%g
    1218 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    1219 fi; done
    1220 rm -f conftest.s*
    1221 
    1222 EOF
    1223 cat >> $CONFIG_STATUS <<EOF
    1224 
    1225 EOF
    1226 cat >> $CONFIG_STATUS <<\EOF
    1227 
    1228 exit 0
    1229 EOF
     2440    cat $tmp/out
     2441    rm -f $tmp/out
     2442  fi
     2443
     2444done
     2445_ACEOF
     2446
     2447cat >>$CONFIG_STATUS <<\_ACEOF
     2448
     2449{ (exit 0); exit 0; }
     2450_ACEOF
    12302451chmod +x $CONFIG_STATUS
    1231 rm -fr confdefs* $ac_clean_files
    1232 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
    1233 
    1234 
    1235 
    1236 
    1237 
    1238 
    1239 
    1240 chmod 755 j
    1241 
    1242     if test $CYGWIN; then
    1243         echo "\"`cygpath -w $JAVA`\" $CP \"$CLASSPATH\" $JIT Editor %1 %2 %3 %4 %5 %6 %7 %8 %9" > j.bat
    1244     fi
    1245 
    1246 
    1247 
     2452ac_clean_files=$ac_clean_files_save
     2453
     2454
     2455# configure is writing to config.log, and then calls config.status.
     2456# config.status does its own redirection, appending to config.log.
     2457# Unfortunately, on DOS this fails, as config.log is still kept open
     2458# by configure, so config.status won't be able to write to it; its
     2459# output is simply discarded.  So we exec the FD to /dev/null,
     2460# effectively closing config.log, so it can be properly (re)opened and
     2461# appended to by config.status.  When coming back to configure, we
     2462# need to make the FD available again.
     2463if test "$no_create" != yes; then
     2464  ac_cs_success=:
     2465  exec 5>/dev/null
     2466  $SHELL $CONFIG_STATUS || ac_cs_success=false
     2467  exec 5>>config.log
     2468  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
     2469  # would make configure fail if this is the last instruction.
     2470  $ac_cs_success || { (exit 1); exit 1; }
     2471fi
     2472
     2473
     2474          ac_config_commands="$ac_config_commands default-1"
     2475
     2476
     2477
     2478
     2479          ac_config_commands="$ac_config_commands default-2"
     2480
Note: See TracChangeset for help on using the changeset viewer.