Changeset 1505


Ignore:
Timestamp:
03/31/03 16:58:23 (19 years ago)
Author:
piso
Message:

0.18.0.29

Location:
trunk/j
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/build.xml

    r1496 r1505  
    22
    33  <!-- Set global properties for this build -->
    4   <property name="version" value="0.18.0.28"/>
     4  <property name="version" value="0.18.0.29"/>
    55  <property name="topdir" value="${basedir}/.."/>
    66  <property name="distdir" value="/tmp/j-${version}"/>
  • trunk/j/configure

    r1497 r1505  
    11#! /bin/sh
    2 
    3 # From configure.in Revision: 1.15
    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.16 .
    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.57.
    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 \
     41  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     42  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     43  LC_TELEPHONE LC_TIME
     44do
     45  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     46    eval $as_var=C; export $as_var
     47  else
     48    $as_unset $as_var
     49  fi
     50done
     51
     52# Required to use basename.
     53if expr a : '\(a\)' >/dev/null 2>&1; then
     54  as_expr=expr
     55else
     56  as_expr=false
     57fi
     58
     59if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     60  as_basename=basename
     61else
     62  as_basename=false
     63fi
     64
     65
     66# Name of the executable.
     67as_me=`$as_basename "$0" ||
     68$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     69   X"$0" : 'X\(//\)$' \| \
     70   X"$0" : 'X\(/\)$' \| \
     71   .     : '\(.\)' 2>/dev/null ||
     72echo X/"$0" |
     73    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     74      /^X\/\(\/\/\)$/{ s//\1/; q; }
     75      /^X\/\(\/\).*/{ s//\1/; q; }
     76      s/.*/./; q'`
     77
     78
     79# PATH needs CR, and LINENO needs CR and PATH.
     80# Avoid depending upon Character Ranges.
     81as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     82as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     83as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     84as_cr_digits='0123456789'
     85as_cr_alnum=$as_cr_Letters$as_cr_digits
     86
     87# The user is always right.
     88if test "${PATH_SEPARATOR+set}" != set; then
     89  echo "#! /bin/sh" >conf$$.sh
     90  echo  "exit 0"   >>conf$$.sh
     91  chmod +x conf$$.sh
     92  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     93    PATH_SEPARATOR=';'
     94  else
     95    PATH_SEPARATOR=:
     96  fi
     97  rm -f conf$$.sh
     98fi
     99
     100
     101  as_lineno_1=$LINENO
     102  as_lineno_2=$LINENO
     103  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     104  test "x$as_lineno_1" != "x$as_lineno_2" &&
     105  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     106  # Find who we are.  Look in the path if we contain no path at all
     107  # relative or not.
     108  case $0 in
     109    *[\\/]* ) as_myself=$0 ;;
     110    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     111for as_dir in $PATH
     112do
     113  IFS=$as_save_IFS
     114  test -z "$as_dir" && as_dir=.
     115  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     116done
     117
     118       ;;
     119  esac
     120  # We did not find ourselves, most probably we were run as `sh COMMAND'
     121  # in which case we are not to be found in the path.
     122  if test "x$as_myself" = x; then
     123    as_myself=$0
     124  fi
     125  if test ! -f "$as_myself"; then
     126    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
     127   { (exit 1); exit 1; }; }
     128  fi
     129  case $CONFIG_SHELL in
     130  '')
     131    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     132for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     133do
     134  IFS=$as_save_IFS
     135  test -z "$as_dir" && as_dir=.
     136  for as_base in sh bash ksh sh5; do
     137   case $as_dir in
     138   /*)
     139     if ("$as_dir/$as_base" -c '
     140  as_lineno_1=$LINENO
     141  as_lineno_2=$LINENO
     142  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     143  test "x$as_lineno_1" != "x$as_lineno_2" &&
     144  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     145       $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     146       $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     147       CONFIG_SHELL=$as_dir/$as_base
     148       export CONFIG_SHELL
     149       exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     150     fi;;
     151   esac
     152       done
     153done
     154;;
     155  esac
     156
     157  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     158  # uniformly replaced by the line number.  The first 'sed' inserts a
     159  # line-number line before each line; the second 'sed' does the real
     160  # work.  The second script uses 'N' to pair each line-number line
     161  # with the numbered line, and appends trailing '-' during
     162  # substitution so that $LINENO is not a special case at line end.
     163  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     164  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     165  sed '=' <$as_myself |
     166    sed '
     167      N
     168      s,$,-,
     169      : loop
     170      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     171      t loop
     172      s,-$,,
     173      s,^['$as_cr_digits']*\n,,
     174    ' >$as_me.lineno &&
     175  chmod +x $as_me.lineno ||
     176    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     177   { (exit 1); exit 1; }; }
     178
     179  # Don't try to exec as it changes $[0], causing all sort of problems
     180  # (the dirname of $[0] is not the place where we might find the
     181  # original and so on.  Autoconf is especially sensible to this).
     182  . ./$as_me.lineno
     183  # Exit status is that of the last command.
     184  exit
     185}
     186
     187
     188case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     189  *c*,-n*) ECHO_N= ECHO_C='
     190' ECHO_T='  ' ;;
     191  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     192  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     193esac
     194
     195if expr a : '\(a\)' >/dev/null 2>&1; then
     196  as_expr=expr
     197else
     198  as_expr=false
     199fi
     200
     201rm -f conf$$ conf$$.exe conf$$.file
     202echo >conf$$.file
     203if ln -s conf$$.file conf$$ 2>/dev/null; then
     204  # We could just check for DJGPP; but this test a) works b) is more generic
     205  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     206  if test -f conf$$.exe; then
     207    # Don't use ln at all; we don't have any links
     208    as_ln_s='cp -p'
     209  else
     210    as_ln_s='ln -s'
     211  fi
     212elif ln conf$$.file conf$$ 2>/dev/null; then
     213  as_ln_s=ln
     214else
     215  as_ln_s='cp -p'
     216fi
     217rm -f conf$$ conf$$.exe conf$$.file
     218
     219if mkdir -p . 2>/dev/null; then
     220  as_mkdir_p=:
     221else
     222  as_mkdir_p=false
     223fi
     224
     225as_executable_p="test -f"
     226
     227# Sed expression to map a string onto a valid CPP name.
     228as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     229
     230# Sed expression to map a string onto a valid variable name.
     231as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     232
     233
     234# IFS
     235# We need space, tab and new line, in precisely that order.
     236as_nl='
     237'
     238IFS="   $as_nl"
     239
     240# CDPATH.
     241$as_unset CDPATH
     242
     243
     244# Name of the host.
     245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     246# so uname gets run too.
     247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     248
     249exec 6>&1
     250
     251#
     252# Initializations.
     253#
    22254ac_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)"
     255ac_config_libobj_dir=.
     256cross_compiling=no
     257subdirs=
     258MFLAGS=
     259MAKEFLAGS=
     260SHELL=${CONFIG_SHELL-/bin/sh}
     261
     262# Maximum number of lines to put in a shell here document.
     263# This variable seems obsolete.  It should probably be removed, and
     264# only ac_max_sed_lines should be used.
     265: ${ac_max_here_lines=38}
     266
     267# Identity of this package.
     268PACKAGE_NAME=
     269PACKAGE_TARNAME=
     270PACKAGE_VERSION=
     271PACKAGE_STRING=
     272PACKAGE_BUGREPORT=
     273
     274ac_unique_file="j.in"
     275ac_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'
     276ac_subst_files=''
    36277
    37278# Initialize some variables set by options.
     279ac_init_help=
     280ac_init_version=false
    38281# The variables have the same names as the options, with
    39282# dashes changed to underlines.
    40 build=NONE
    41 cache_file=./config.cache
     283cache_file=/dev/null
    42284exec_prefix=NONE
    43 host=NONE
    44285no_create=
    45 nonopt=NONE
    46286no_recursion=
    47287prefix=NONE
     
    52292site=
    53293srcdir=
    54 target=NONE
    55294verbose=
    56295x_includes=NONE
    57296x_libraries=NONE
     297
     298# Installation directory options.
     299# These are left unexpanded so users can "make install exec_prefix=/foo"
     300# and all the variables that are supposed to be based on exec_prefix
     301# by default will actually change.
     302# Use braces instead of parens because sh, perl, etc. also accept them.
    58303bindir='${exec_prefix}/bin'
    59304sbindir='${exec_prefix}/sbin'
     
    69314mandir='${prefix}/man'
    70315
    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 
    78316ac_prev=
    79317for ac_option
    80318do
    81 
    82319  # If the previous option needs an argument, assign it.
    83320  if test -n "$ac_prev"; then
     
    87324  fi
    88325
    89   case "$ac_option" in
    90   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    91   *) ac_optarg= ;;
    92   esac
     326  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    93327
    94328  # Accept the important Cygnus configure options, so we can diagnose typos.
    95329
    96   case "$ac_option" in
     330  case $ac_option in
    97331
    98332  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    99333    ac_prev=bindir ;;
    100334  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    101     bindir="$ac_optarg" ;;
     335    bindir=$ac_optarg ;;
    102336
    103337  -build | --build | --buil | --bui | --bu)
    104     ac_prev=build ;;
     338    ac_prev=build_alias ;;
    105339  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    106     build="$ac_optarg" ;;
     340    build_alias=$ac_optarg ;;
    107341
    108342  -cache-file | --cache-file | --cache-fil | --cache-fi \
     
    111345  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    112346  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    113     cache_file="$ac_optarg" ;;
     347    cache_file=$ac_optarg ;;
     348
     349  --config-cache | -C)
     350    cache_file=config.cache ;;
    114351
    115352  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     
    117354  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    118355  | --da=*)
    119     datadir="$ac_optarg" ;;
     356    datadir=$ac_optarg ;;
    120357
    121358  -disable-* | --disable-*)
    122     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
     359    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    123360    # 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" ;;
     361    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     362      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     363   { (exit 1); exit 1; }; }
     364    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     365    eval "enable_$ac_feature=no" ;;
    129366
    130367  -enable-* | --enable-*)
    131     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
     368    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    132369    # 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       *=*) ;;
     370    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     371      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     372   { (exit 1); exit 1; }; }
     373    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     374    case $ac_option in
     375      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    139376      *) ac_optarg=yes ;;
    140377    esac
    141     eval "enable_${ac_feature}='$ac_optarg'" ;;
     378    eval "enable_$ac_feature='$ac_optarg'" ;;
    142379
    143380  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    148385  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    149386  | --exec=* | --exe=* | --ex=*)
    150     exec_prefix="$ac_optarg" ;;
     387    exec_prefix=$ac_optarg ;;
    151388
    152389  -gas | --gas | --ga | --g)
     
    154391    with_gas=yes ;;
    155392
    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 ;;
     393  -help | --help | --hel | --he | -h)
     394    ac_init_help=long ;;
     395  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
     396    ac_init_help=recursive ;;
     397  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
     398    ac_init_help=short ;;
    210399
    211400  -host | --host | --hos | --ho)
    212     ac_prev=host ;;
     401    ac_prev=host_alias ;;
    213402  -host=* | --host=* | --hos=* | --ho=*)
    214     host="$ac_optarg" ;;
     403    host_alias=$ac_optarg ;;
    215404
    216405  -includedir | --includedir | --includedi | --included | --include \
     
    219408  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    220409  | --includ=* | --inclu=* | --incl=* | --inc=*)
    221     includedir="$ac_optarg" ;;
     410    includedir=$ac_optarg ;;
    222411
    223412  -infodir | --infodir | --infodi | --infod | --info | --inf)
    224413    ac_prev=infodir ;;
    225414  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    226     infodir="$ac_optarg" ;;
     415    infodir=$ac_optarg ;;
    227416
    228417  -libdir | --libdir | --libdi | --libd)
    229418    ac_prev=libdir ;;
    230419  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    231     libdir="$ac_optarg" ;;
     420    libdir=$ac_optarg ;;
    232421
    233422  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     
    236425  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    237426  | --libexe=* | --libex=* | --libe=*)
    238     libexecdir="$ac_optarg" ;;
     427    libexecdir=$ac_optarg ;;
    239428
    240429  -localstatedir | --localstatedir | --localstatedi | --localstated \
     
    245434  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    246435  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    247     localstatedir="$ac_optarg" ;;
     436    localstatedir=$ac_optarg ;;
    248437
    249438  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    250439    ac_prev=mandir ;;
    251440  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    252     mandir="$ac_optarg" ;;
     441    mandir=$ac_optarg ;;
    253442
    254443  -nfp | --nfp | --nf)
     
    257446
    258447  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    259   | --no-cr | --no-c)
     448  | --no-cr | --no-c | -n)
    260449    no_create=yes ;;
    261450
     
    271460  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    272461  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    273     oldincludedir="$ac_optarg" ;;
     462    oldincludedir=$ac_optarg ;;
    274463
    275464  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    276465    ac_prev=prefix ;;
    277466  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    278     prefix="$ac_optarg" ;;
     467    prefix=$ac_optarg ;;
    279468
    280469  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     
    283472  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    284473  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    285     program_prefix="$ac_optarg" ;;
     474    program_prefix=$ac_optarg ;;
    286475
    287476  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     
    290479  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    291480  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    292     program_suffix="$ac_optarg" ;;
     481    program_suffix=$ac_optarg ;;
    293482
    294483  -program-transform-name | --program-transform-name \
     
    307496  | --program-trans=* | --program-tran=* \
    308497  | --progr-tra=* | --program-tr=* | --program-t=*)
    309     program_transform_name="$ac_optarg" ;;
     498    program_transform_name=$ac_optarg ;;
    310499
    311500  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    317506  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    318507  | --sbi=* | --sb=*)
    319     sbindir="$ac_optarg" ;;
     508    sbindir=$ac_optarg ;;
    320509
    321510  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     
    328517  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    329518  | --sha=* | --sh=*)
    330     sharedstatedir="$ac_optarg" ;;
     519    sharedstatedir=$ac_optarg ;;
    331520
    332521  -site | --site | --sit)
    333522    ac_prev=site ;;
    334523  -site=* | --site=* | --sit=*)
    335     site="$ac_optarg" ;;
     524    site=$ac_optarg ;;
    336525
    337526  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    338527    ac_prev=srcdir ;;
    339528  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    340     srcdir="$ac_optarg" ;;
     529    srcdir=$ac_optarg ;;
    341530
    342531  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     
    345534  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    346535  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    347     sysconfdir="$ac_optarg" ;;
     536    sysconfdir=$ac_optarg ;;
    348537
    349538  -target | --target | --targe | --targ | --tar | --ta | --t)
    350     ac_prev=target ;;
     539    ac_prev=target_alias ;;
    351540  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    352     target="$ac_optarg" ;;
     541    target_alias=$ac_optarg ;;
    353542
    354543  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    355544    verbose=yes ;;
    356545
    357   -version | --version | --versio | --versi | --vers)
    358     echo "configure generated by autoconf version 2.13"
    359     exit 0 ;;
     546  -version | --version | --versio | --versi | --vers | -V)
     547    ac_init_version=: ;;
    360548
    361549  -with-* | --with-*)
    362     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
     550    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    363551    # 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
     552    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     553      { echo "$as_me: error: invalid package name: $ac_package" >&2
     554   { (exit 1); exit 1; }; }
    367555    ac_package=`echo $ac_package| sed 's/-/_/g'`
    368     case "$ac_option" in
    369       *=*) ;;
     556    case $ac_option in
     557      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    370558      *) ac_optarg=yes ;;
    371559    esac
    372     eval "with_${ac_package}='$ac_optarg'" ;;
     560    eval "with_$ac_package='$ac_optarg'" ;;
    373561
    374562  -without-* | --without-*)
    375     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
     563    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    376564    # 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" ;;
     565    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     566      { echo "$as_me: error: invalid package name: $ac_package" >&2
     567   { (exit 1); exit 1; }; }
     568    ac_package=`echo $ac_package | sed 's/-/_/g'`
     569    eval "with_$ac_package=no" ;;
    382570
    383571  --x)
     
    390578  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    391579  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    392     x_includes="$ac_optarg" ;;
     580    x_includes=$ac_optarg ;;
    393581
    394582  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     
    397585  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    398586  | --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; }
     587    x_libraries=$ac_optarg ;;
     588
     589  -*) { echo "$as_me: error: unrecognized option: $ac_option
     590Try \`$0 --help' for more information." >&2
     591   { (exit 1); exit 1; }; }
    402592    ;;
    403593
     594  *=*)
     595    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     596    # Reject names that are not valid shell variable names.
     597    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     598      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     599   { (exit 1); exit 1; }; }
     600    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     601    eval "$ac_envvar='$ac_optarg'"
     602    export $ac_envvar ;;
     603
    404604  *)
    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"
     605    # FIXME: should be removed in autoconf 3.0.
     606    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     607    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     608      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     609    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    412610    ;;
    413611
     
    416614
    417615if 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
     616  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
     617  { echo "$as_me: error: missing argument to $ac_option" >&2
     618   { (exit 1); exit 1; }; }
     619fi
     620
     621# Be sure to have absolute paths.
     622for ac_var in exec_prefix prefix
    447623do
    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" ;;
     624  eval ac_val=$`echo $ac_var`
     625  case $ac_val in
     626    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     627    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     628   { (exit 1); exit 1; }; };;
    456629  esac
    457630done
    458631
    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
     632# Be sure to have absolute paths.
     633for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     634              localstatedir libdir includedir oldincludedir infodir mandir
     635do
     636  eval ac_val=$`echo $ac_var`
     637  case $ac_val in
     638    [\\/$]* | ?:[\\/]* ) ;;
     639    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     640   { (exit 1); exit 1; }; };;
     641  esac
     642done
     643
     644# There might be people who depend on the old broken behavior: `$host'
     645# used to hold the argument of --host etc.
     646# FIXME: To remove some day.
     647build=$build_alias
     648host=$host_alias
     649target=$target_alias
     650
     651# FIXME: To remove some day.
     652if test "x$host_alias" != x; then
     653  if test "x$build_alias" = x; then
     654    cross_compiling=maybe
     655    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     656    If a cross compiler is detected then cross compile mode will be used." >&2
     657  elif test "x$build_alias" != "x$host_alias"; then
     658    cross_compiling=yes
     659  fi
     660fi
     661
     662ac_tool_prefix=
     663test -n "$host_alias" && ac_tool_prefix=$host_alias-
     664
     665test "$silent" = yes && exec 6>/dev/null
     666
    477667
    478668# Find the source files, if location was not specified.
     
    480670  ac_srcdir_defaulted=yes
    481671  # 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=.
     672  ac_confdir=`(dirname "$0") 2>/dev/null ||
     673$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     674         X"$0" : 'X\(//\)[^/]' \| \
     675         X"$0" : 'X\(//\)$' \| \
     676         X"$0" : 'X\(/\)' \| \
     677         .     : '\(.\)' 2>/dev/null ||
     678echo X"$0" |
     679    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     680      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     681      /^X\(\/\/\)$/{ s//\1/; q; }
     682      /^X\(\/\).*/{ s//\1/; q; }
     683      s/.*/./; q'`
    485684  srcdir=$ac_confdir
    486685  if test ! -r $srcdir/$ac_unique_file; then
     
    492691if test ! -r $srcdir/$ac_unique_file; then
    493692  if test "$ac_srcdir_defaulted" = yes; then
    494     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
     693    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     694   { (exit 1); exit 1; }; }
    495695  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 
     696    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     697   { (exit 1); exit 1; }; }
     698  fi
     699fi
     700(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     701  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     702   { (exit 1); exit 1; }; }
     703srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     704ac_env_build_alias_set=${build_alias+set}
     705ac_env_build_alias_value=$build_alias
     706ac_cv_env_build_alias_set=${build_alias+set}
     707ac_cv_env_build_alias_value=$build_alias
     708ac_env_host_alias_set=${host_alias+set}
     709ac_env_host_alias_value=$host_alias
     710ac_cv_env_host_alias_set=${host_alias+set}
     711ac_cv_env_host_alias_value=$host_alias
     712ac_env_target_alias_set=${target_alias+set}
     713ac_env_target_alias_value=$target_alias
     714ac_cv_env_target_alias_set=${target_alias+set}
     715ac_cv_env_target_alias_value=$target_alias
     716
     717#
     718# Report the --help message.
     719#
     720if test "$ac_init_help" = "long"; then
     721  # Omit some internal or obsolete options to make the list less imposing.
     722  # This message is too long to be a string in the A/UX 3.1 sh.
     723  cat <<_ACEOF
     724\`configure' configures this package to adapt to many kinds of systems.
     725
     726Usage: $0 [OPTION]... [VAR=VALUE]...
     727
     728To assign environment variables (e.g., CC, CFLAGS...), specify them as
     729VAR=VALUE.  See below for descriptions of some of the useful variables.
     730
     731Defaults for the options are specified in brackets.
     732
     733Configuration:
     734  -h, --help              display this help and exit
     735      --help=short        display options specific to this package
     736      --help=recursive    display the short help of all the included packages
     737  -V, --version           display version information and exit
     738  -q, --quiet, --silent   do not print \`checking...' messages
     739      --cache-file=FILE   cache test results in FILE [disabled]
     740  -C, --config-cache      alias for \`--cache-file=config.cache'
     741  -n, --no-create         do not create output files
     742      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
     743
     744_ACEOF
     745
     746  cat <<_ACEOF
     747Installation directories:
     748  --prefix=PREFIX         install architecture-independent files in PREFIX
     749                          [$ac_default_prefix]
     750  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
     751                          [PREFIX]
     752
     753By default, \`make install' will install all the files in
     754\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
     755an installation prefix other than \`$ac_default_prefix' using \`--prefix',
     756for instance \`--prefix=\$HOME'.
     757
     758For better control, use the options below.
     759
     760Fine tuning of the installation directories:
     761  --bindir=DIR           user executables [EPREFIX/bin]
     762  --sbindir=DIR          system admin executables [EPREFIX/sbin]
     763  --libexecdir=DIR       program executables [EPREFIX/libexec]
     764  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
     765  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
     766  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     767  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
     768  --libdir=DIR           object code libraries [EPREFIX/lib]
     769  --includedir=DIR       C header files [PREFIX/include]
     770  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
     771  --infodir=DIR          info documentation [PREFIX/info]
     772  --mandir=DIR           man documentation [PREFIX/man]
     773_ACEOF
     774
     775  cat <<\_ACEOF
     776_ACEOF
     777fi
     778
     779if test -n "$ac_init_help"; then
     780
     781  cat <<\_ACEOF
     782
     783Optional Features:
     784  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     785  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     786  --enable-jpty           build and install jpty
     787  --disable-jpty          do not build or install jpty (default)
     788  --enable-debug          enable run-time debugging
     789  --disable-debug         disable run-time debugging (default)
     790
     791Optional Packages:
     792  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     793  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     794  --with-jdk=DIR          JDK you want to use
     795  --with-options=OPTIONS  runtime options to be passed to java (e.g. -server)
     796  --with-extensions=PATH  extensions to CLASSPATH (JIMI, Xerces, etc.)
     797
     798_ACEOF
     799fi
     800
     801if test "$ac_init_help" = "recursive"; then
     802  # If there are subdirs, report their specific --help.
     803  ac_popdir=`pwd`
     804  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
     805    test -d $ac_dir || continue
     806    ac_builddir=.
     807
     808if test "$ac_dir" != .; then
     809  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     810  # A "../" for each directory in $ac_dir_suffix.
     811  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     812else
     813  ac_dir_suffix= ac_top_builddir=
     814fi
     815
     816case $srcdir in
     817  .)  # No --srcdir option.  We are building in place.
     818    ac_srcdir=.
     819    if test -z "$ac_top_builddir"; then
     820       ac_top_srcdir=.
     821    else
     822       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     823    fi ;;
     824  [\\/]* | ?:[\\/]* )  # Absolute path.
     825    ac_srcdir=$srcdir$ac_dir_suffix;
     826    ac_top_srcdir=$srcdir ;;
     827  *) # Relative path.
     828    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     829    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     830esac
     831# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     832# absolute.
     833ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     834ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     835ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     836ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     837
     838    cd $ac_dir
     839    # Check for guested configure; otherwise get Cygnus style configure.
     840    if test -f $ac_srcdir/configure.gnu; then
     841      echo
     842      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     843    elif test -f $ac_srcdir/configure; then
     844      echo
     845      $SHELL $ac_srcdir/configure  --help=recursive
     846    elif test -f $ac_srcdir/configure.ac ||
     847           test -f $ac_srcdir/configure.in; then
     848      echo
     849      $ac_configure --help
     850    else
     851      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     852    fi
     853    cd $ac_popdir
     854  done
     855fi
     856
     857test -n "$ac_init_help" && exit 0
     858if $ac_init_version; then
     859  cat <<\_ACEOF
     860
     861Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     862Free Software Foundation, Inc.
     863This configure script is free software; the Free Software Foundation
     864gives unlimited permission to copy, distribute and modify it.
     865_ACEOF
     866  exit 0
     867fi
     868exec 5>config.log
     869cat >&5 <<_ACEOF
     870This file contains any messages produced by compilers while
     871running configure, to aid debugging if configure makes a mistake.
     872
     873It was created by $as_me, which was
     874generated by GNU Autoconf 2.57.  Invocation command line was
     875
     876  $ $0 $@
     877
     878_ACEOF
     879{
     880cat <<_ASUNAME
     881## --------- ##
     882## Platform. ##
     883## --------- ##
     884
     885hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
     886uname -m = `(uname -m) 2>/dev/null || echo unknown`
     887uname -r = `(uname -r) 2>/dev/null || echo unknown`
     888uname -s = `(uname -s) 2>/dev/null || echo unknown`
     889uname -v = `(uname -v) 2>/dev/null || echo unknown`
     890
     891/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
     892/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
     893
     894/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
     895/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
     896/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
     897hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     898/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
     899/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     900/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
     901
     902_ASUNAME
     903
     904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     905for as_dir in $PATH
     906do
     907  IFS=$as_save_IFS
     908  test -z "$as_dir" && as_dir=.
     909  echo "PATH: $as_dir"
     910done
     911
     912} >&5
     913
     914cat >&5 <<_ACEOF
     915
     916
     917## ----------- ##
     918## Core tests. ##
     919## ----------- ##
     920
     921_ACEOF
     922
     923
     924# Keep a trace of the command line.
     925# Strip out --no-create and --no-recursion so they do not pile up.
     926# Strip out --silent because we don't want to record it for future runs.
     927# Also quote any args containing shell meta-characters.
     928# Make two passes to allow for proper duplicate-argument suppression.
     929ac_configure_args=
     930ac_configure_args0=
     931ac_configure_args1=
     932ac_sep=
     933ac_must_keep_next=false
     934for ac_pass in 1 2
     935do
     936  for ac_arg
     937  do
     938    case $ac_arg in
     939    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
     940    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     941    | -silent | --silent | --silen | --sile | --sil)
     942      continue ;;
     943    *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     944      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     945    esac
     946    case $ac_pass in
     947    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     948    2)
     949      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     950      if test $ac_must_keep_next = true; then
     951        ac_must_keep_next=false # Got value, back to normal.
     952      else
     953        case $ac_arg in
     954          *=* | --config-cache | -C | -disable-* | --disable-* \
     955          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     956          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     957          | -with-* | --with-* | -without-* | --without-* | --x)
     958            case "$ac_configure_args0 " in
     959              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     960            esac
     961            ;;
     962          -* ) ac_must_keep_next=true ;;
     963        esac
     964      fi
     965      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     966      # Get rid of the leading space.
     967      ac_sep=" "
     968      ;;
     969    esac
     970  done
     971done
     972$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     973$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     974
     975# When interrupted or exit'd, cleanup temporary files, and complete
     976# config.log.  We remove comments because anyway the quotes in there
     977# would cause problems or look ugly.
     978# WARNING: Be sure not to use single quotes in there, as some shells,
     979# such as our DU 5.0 friend, will then `close' the trap.
     980trap 'exit_status=$?
     981  # Save into config.log some information that might help in debugging.
     982  {
     983    echo
     984
     985    cat <<\_ASBOX
     986## ---------------- ##
     987## Cache variables. ##
     988## ---------------- ##
     989_ASBOX
     990    echo
     991    # The following way of writing the cache mishandles newlines in values,
     992{
     993  (set) 2>&1 |
     994    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     995    *ac_space=\ *)
     996      sed -n \
     997        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     998        s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     999      ;;
     1000    *)
     1001      sed -n \
     1002        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1003      ;;
     1004    esac;
     1005}
     1006    echo
     1007
     1008    cat <<\_ASBOX
     1009## ----------------- ##
     1010## Output variables. ##
     1011## ----------------- ##
     1012_ASBOX
     1013    echo
     1014    for ac_var in $ac_subst_vars
     1015    do
     1016      eval ac_val=$`echo $ac_var`
     1017      echo "$ac_var='"'"'$ac_val'"'"'"
     1018    done | sort
     1019    echo
     1020
     1021    if test -n "$ac_subst_files"; then
     1022      cat <<\_ASBOX
     1023## ------------- ##
     1024## Output files. ##
     1025## ------------- ##
     1026_ASBOX
     1027      echo
     1028      for ac_var in $ac_subst_files
     1029      do
     1030  eval ac_val=$`echo $ac_var`
     1031        echo "$ac_var='"'"'$ac_val'"'"'"
     1032      done | sort
     1033      echo
     1034    fi
     1035
     1036    if test -s confdefs.h; then
     1037      cat <<\_ASBOX
     1038## ----------- ##
     1039## confdefs.h. ##
     1040## ----------- ##
     1041_ASBOX
     1042      echo
     1043      sed "/^$/d" confdefs.h | sort
     1044      echo
     1045    fi
     1046    test "$ac_signal" != 0 &&
     1047      echo "$as_me: caught signal $ac_signal"
     1048    echo "$as_me: exit $exit_status"
     1049  } >&5
     1050  rm -f core core.* *.core &&
     1051  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1052    exit $exit_status
     1053     ' 0
     1054for ac_signal in 1 2 13 15; do
     1055  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1056done
     1057ac_signal=0
     1058
     1059# confdefs.h avoids OS command line length limits that DEFS can exceed.
     1060rm -rf conftest* confdefs.h
     1061# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1062echo >confdefs.h
     1063
     1064# Predefined preprocessor variables.
     1065
     1066cat >>confdefs.h <<_ACEOF
     1067#define PACKAGE_NAME "$PACKAGE_NAME"
     1068_ACEOF
     1069
     1070
     1071cat >>confdefs.h <<_ACEOF
     1072#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
     1073_ACEOF
     1074
     1075
     1076cat >>confdefs.h <<_ACEOF
     1077#define PACKAGE_VERSION "$PACKAGE_VERSION"
     1078_ACEOF
     1079
     1080
     1081cat >>confdefs.h <<_ACEOF
     1082#define PACKAGE_STRING "$PACKAGE_STRING"
     1083_ACEOF
     1084
     1085
     1086cat >>confdefs.h <<_ACEOF
     1087#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     1088_ACEOF
     1089
     1090
     1091# Let the site file select an alternate cache file if it wants to.
    5011092# Prefer explicitly selected file to automatically selected ones.
    5021093if test -z "$CONFIG_SITE"; then
     
    5091100for ac_site_file in $CONFIG_SITE; do
    5101101  if test -r "$ac_site_file"; then
    511     echo "loading site script $ac_site_file"
     1102    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1103echo "$as_me: loading site script $ac_site_file" >&6;}
     1104    sed 's/^/| /' "$ac_site_file" >&5
    5121105    . "$ac_site_file"
    5131106  fi
     
    5151108
    5161109if test -r "$cache_file"; then
    517   echo "loading cache $cache_file"
    518   . $cache_file
     1110  # Some versions of bash will fail to source /dev/null (special
     1111  # files actually), so we avoid doing that.
     1112  if test -f "$cache_file"; then
     1113    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1114echo "$as_me: loading cache $cache_file" >&6;}
     1115    case $cache_file in
     1116      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1117      *)                      . ./$cache_file;;
     1118    esac
     1119  fi
    5191120else
    520   echo "creating cache $cache_file"
    521   > $cache_file
     1121  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1122echo "$as_me: creating cache $cache_file" >&6;}
     1123  >$cache_file
     1124fi
     1125
     1126# Check that the precious variables saved in the cache have kept the same
     1127# value.
     1128ac_cache_corrupted=false
     1129for ac_var in `(set) 2>&1 |
     1130               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1131  eval ac_old_set=\$ac_cv_env_${ac_var}_set
     1132  eval ac_new_set=\$ac_env_${ac_var}_set
     1133  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1134  eval ac_new_val="\$ac_env_${ac_var}_value"
     1135  case $ac_old_set,$ac_new_set in
     1136    set,)
     1137      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1138echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1139      ac_cache_corrupted=: ;;
     1140    ,set)
     1141      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1142echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1143      ac_cache_corrupted=: ;;
     1144    ,);;
     1145    *)
     1146      if test "x$ac_old_val" != "x$ac_new_val"; then
     1147        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1148echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1149        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1150echo "$as_me:   former value:  $ac_old_val" >&2;}
     1151        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1152echo "$as_me:   current value: $ac_new_val" >&2;}
     1153        ac_cache_corrupted=:
     1154      fi;;
     1155  esac
     1156  # Pass precious variables to config.status.
     1157  if test "$ac_new_set" = set; then
     1158    case $ac_new_val in
     1159    *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1160      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1161    *) ac_arg=$ac_var=$ac_new_val ;;
     1162    esac
     1163    case " $ac_configure_args " in
     1164      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
     1165      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     1166    esac
     1167  fi
     1168done
     1169if $ac_cache_corrupted; then
     1170  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1171echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1172  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1173echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1174   { (exit 1); exit 1; }; }
    5221175fi
    5231176
    5241177ac_ext=c
    525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    5261178ac_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
     1179ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1180ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1181ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1182
     1183
     1184
     1185
     1186
     1187
     1188
     1189
     1190
     1191
     1192
     1193
     1194
     1195
     1196
     1197
     1198
    5441199
    5451200
     
    5551210    ac_install_sh="$ac_aux_dir/install.sh -c"
    5561211    break
     1212  elif test -f $ac_dir/shtool; then
     1213    ac_aux_dir=$ac_dir
     1214    ac_install_sh="$ac_aux_dir/shtool install -c"
     1215    break
    5571216  fi
    5581217done
    5591218if 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.
     1219  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     1220echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     1221   { (exit 1); exit 1; }; }
     1222fi
     1223ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     1224ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     1225ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    5651226
    5661227# Find a good install program.  We prefer a C program (faster),
     
    5711232# IRIX /sbin/install
    5721233# AIX /bin/install
     1234# AmigaOS /C/install, which installs bootblocks on floppy discs
    5731235# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    5741236# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    5751237# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    5761238# ./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
     1239echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     1240echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    5791241if 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
     1242if test "${ac_cv_path_install+set}" = set; then
     1243  echo $ECHO_N "(cached) $ECHO_C" >&6
    5821244else
    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
     1245  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1246for as_dir in $PATH
     1247do
     1248  IFS=$as_save_IFS
     1249  test -z "$as_dir" && as_dir=.
     1250  # Account for people who put trailing slashes in PATH elements.
     1251case $as_dir/ in
     1252  ./ | .// | /cC/* | \
     1253  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     1254  /usr/ucb/* ) ;;
     1255  *)
     1256    # OSF1 and SCO ODT 3.0 have their own names for install.
     1257    # Don't use installbsd from OSF since it installs stuff as root
     1258    # by default.
     1259    for ac_prog in ginstall scoinst install; do
     1260      for ac_exec_ext in '' $ac_executable_extensions; do
     1261        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1262          if test $ac_prog = install &&
     1263            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1264            # AIX install.  It has an incompatible calling convention.
     1265            :
     1266          elif test $ac_prog = install &&
     1267            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1268            # program-specific install script used by HP pwplus--don't use.
     1269            :
     1270          else
     1271            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1272            break 3
     1273          fi
     1274        fi
    6031275      done
    604       ;;
    605     esac
    606   done
    607   IFS="$ac_save_IFS"
     1276    done
     1277    ;;
     1278esac
     1279done
     1280
    6081281
    6091282fi
    6101283  if test "${ac_cv_path_install+set}" = set; then
    611     INSTALL="$ac_cv_path_install"
     1284    INSTALL=$ac_cv_path_install
    6121285  else
    6131286    # As a last resort, use the slow shell script.  We don't cache a
     
    6151288    # break other packages using the cache if that directory is
    6161289    # removed, or if the path is relative.
    617     INSTALL="$ac_install_sh"
    618   fi
    619 fi
    620 echo "$ac_t""$INSTALL" 1>&6
     1290    INSTALL=$ac_install_sh
     1291  fi
     1292fi
     1293echo "$as_me:$LINENO: result: $INSTALL" >&5
     1294echo "${ECHO_T}$INSTALL" >&6
    6211295
    6221296# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    6241298test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    6251299
    626 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     1300test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    6271301
    6281302test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    6291303
    6301304
    631 version=0.18.0.28
     1305version=0.18.0.29
    6321306
    6331307
     
    6591333
    6601334
     1335
    6611336# Check whether --with-jdk or --without-jdk was given.
    6621337if test "${with_jdk+set}" = set; then
    6631338  withval="$with_jdk"
    664  
     1339
    6651340    JDK=${with_jdk}
    6661341
    6671342else
    668  
    669     { echo "configure: error: no jdk specified; use --with-jdk" 1>&2; exit 1; }
    670 
    671 fi
    672 
     1343
     1344    { { echo "$as_me:$LINENO: error: no jdk specified; use --with-jdk" >&5
     1345echo "$as_me: error: no jdk specified; use --with-jdk" >&2;}
     1346   { (exit 1); exit 1; }; }
     1347
     1348fi;
    6731349
    6741350JDK=`echo $JDK | sed -e 's/\/$//'`
     
    6791355    JAVA=$JDK/jre/bin/java;
    6801356else
    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
     1357    { { echo "$as_me:$LINENO: error: java not found" >&5
     1358echo "$as_me: error: java not found" >&2;}
     1359   { (exit 1); exit 1; }; }
     1360fi
     1361
     1362
     1363
     1364
     1365echo "$as_me:$LINENO: checking Java version" >&5
     1366echo $ECHO_N "checking Java version... $ECHO_C" >&6
    6891367JAVA_VERSION=`$JAVA -version 2>&1`
    6901368
    6911369case "$JAVA_VERSION" in
    6921370    java*1.1*)
    693         { echo "configure: error: Java 1.3 or later is required" 1>&2; exit 1; }
     1371        { { echo "$as_me:$LINENO: error: Java 1.3 or later is required" >&5
     1372echo "$as_me: error: Java 1.3 or later is required" >&2;}
     1373   { (exit 1); exit 1; }; }
    6941374        ;;
    6951375    java*1.2.*)
    696         { echo "configure: error: Java 1.3 or later is required" 1>&2; exit 1; }
     1376        { { echo "$as_me:$LINENO: error: Java 1.3 or later is required" >&5
     1377echo "$as_me: error: Java 1.3 or later is required" >&2;}
     1378   { (exit 1); exit 1; }; }
    6971379        ;;
    6981380    java*1.3.0*)
    699         echo "$ac_t""1.3.0" 1>&6
     1381        echo "$as_me:$LINENO: result: 1.3.0" >&5
     1382echo "${ECHO_T}1.3.0" >&6
    7001383        ;;
    7011384    java*1.3.1*)
    702         echo "$ac_t""1.3.1" 1>&6
     1385        echo "$as_me:$LINENO: result: 1.3.1" >&5
     1386echo "${ECHO_T}1.3.1" >&6
    7031387        ;;
    7041388    java*1.3*)
    705         echo "$ac_t""1.3" 1>&6
     1389        echo "$as_me:$LINENO: result: 1.3" >&5
     1390echo "${ECHO_T}1.3" >&6
    7061391        ;;
    7071392    java*1.4*)
    708         echo "$ac_t""1.4" 1>&6
     1393        echo "$as_me:$LINENO: result: 1.4" >&5
     1394echo "${ECHO_T}1.4" >&6
    7091395        ;;
    7101396    *)
    711         { echo "configure: error: unknown Java version" 1>&2; exit 1; }
     1397        { { echo "$as_me:$LINENO: error: unknown Java version" >&5
     1398echo "$as_me: error: unknown Java version" >&2;}
     1399   { (exit 1); exit 1; }; }
    7121400        ;;
    7131401esac
     
    7171405test -z "$JAVAC" && for ac_prog in jikes
    7181406do
    719 # Extract the first word of "$ac_prog", so it can be a program name with args.
     1407  # Extract the first word of "$ac_prog", so it can be a program name with args.
    7201408set dummy $ac_prog; ac_word=$2
    721 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    722 echo "configure:723: checking for $ac_word" >&5
    723 if eval "test \"`echo '$''{'ac_cv_prog_JAVAC'+set}'`\" = set"; then
    724   echo $ac_n "(cached) $ac_c" 1>&6
     1409echo "$as_me:$LINENO: checking for $ac_word" >&5
     1410echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1411if test "${ac_cv_prog_JAVAC+set}" = set; then
     1412  echo $ECHO_N "(cached) $ECHO_C" >&6
    7251413else
    7261414  if test -n "$JAVAC"; then
    7271415  ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
    7281416else
    729   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    730   ac_dummy="$PATH"
    731   for ac_dir in $ac_dummy; do
    732     test -z "$ac_dir" && ac_dir=.
    733     if test -f $ac_dir/$ac_word; then
    734       ac_cv_prog_JAVAC="$ac_prog"
    735       break
    736     fi
    737   done
    738   IFS="$ac_save_ifs"
    739 fi
    740 fi
    741 JAVAC="$ac_cv_prog_JAVAC"
     1417as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1418for as_dir in $PATH
     1419do
     1420  IFS=$as_save_IFS
     1421  test -z "$as_dir" && as_dir=.
     1422  for ac_exec_ext in '' $ac_executable_extensions; do
     1423  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1424    ac_cv_prog_JAVAC="$ac_prog"
     1425    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1426    break 2
     1427  fi
     1428done
     1429done
     1430
     1431fi
     1432fi
     1433JAVAC=$ac_cv_prog_JAVAC
    7421434if test -n "$JAVAC"; then
    743   echo "$ac_t""$JAVAC" 1>&6
     1435  echo "$as_me:$LINENO: result: $JAVAC" >&5
     1436echo "${ECHO_T}$JAVAC" >&6
    7441437else
    745   echo "$ac_t""no" 1>&6
    746 fi
    747 
    748 test -n "$JAVAC" && break
     1438  echo "$as_me:$LINENO: result: no" >&5
     1439echo "${ECHO_T}no" >&6
     1440fi
     1441
     1442  test -n "$JAVAC" && break
    7491443done
    7501444
     
    7591453test -z "$JAR" && for ac_prog in fastjar
    7601454do
    761 # Extract the first word of "$ac_prog", so it can be a program name with args.
     1455  # Extract the first word of "$ac_prog", so it can be a program name with args.
    7621456set dummy $ac_prog; ac_word=$2
    763 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    764 echo "configure:765: checking for $ac_word" >&5
    765 if eval "test \"`echo '$''{'ac_cv_prog_JAR'+set}'`\" = set"; then
    766   echo $ac_n "(cached) $ac_c" 1>&6
     1457echo "$as_me:$LINENO: checking for $ac_word" >&5
     1458echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1459if test "${ac_cv_prog_JAR+set}" = set; then
     1460  echo $ECHO_N "(cached) $ECHO_C" >&6
    7671461else
    7681462  if test -n "$JAR"; then
    7691463  ac_cv_prog_JAR="$JAR" # Let the user override the test.
    7701464else
    771   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    772   ac_dummy="$PATH"
    773   for ac_dir in $ac_dummy; do
    774     test -z "$ac_dir" && ac_dir=.
    775     if test -f $ac_dir/$ac_word; then
    776       ac_cv_prog_JAR="$ac_prog"
    777       break
    778     fi
    779   done
    780   IFS="$ac_save_ifs"
    781 fi
    782 fi
    783 JAR="$ac_cv_prog_JAR"
     1465as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1466for as_dir in $PATH
     1467do
     1468  IFS=$as_save_IFS
     1469  test -z "$as_dir" && as_dir=.
     1470  for ac_exec_ext in '' $ac_executable_extensions; do
     1471  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1472    ac_cv_prog_JAR="$ac_prog"
     1473    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1474    break 2
     1475  fi
     1476done
     1477done
     1478
     1479fi
     1480fi
     1481JAR=$ac_cv_prog_JAR
    7841482if test -n "$JAR"; then
    785   echo "$ac_t""$JAR" 1>&6
     1483  echo "$as_me:$LINENO: result: $JAR" >&5
     1484echo "${ECHO_T}$JAR" >&6
    7861485else
    787   echo "$ac_t""no" 1>&6
    788 fi
    789 
    790 test -n "$JAR" && break
     1486  echo "$as_me:$LINENO: result: no" >&5
     1487echo "${ECHO_T}no" >&6
     1488fi
     1489
     1490  test -n "$JAR" && break
    7911491done
    7921492
     
    8441544
    8451545
     1546
    8461547# Check whether --with-options or --without-options was given.
    8471548if test "${with_options+set}" = set; then
    8481549  withval="$with_options"
    849  
     1550
    8501551    JAVA_OPTIONS=${with_options}
    8511552
    852 fi
     1553fi;
    8531554
    8541555
     
    8571558if test "${with_extensions+set}" = set; then
    8581559  withval="$with_extensions"
    859  
     1560
    8601561    EXTENSIONS=${with_extensions}
    8611562
    862 fi
    863 
     1563fi;
    8641564
    8651565if test $EXTENSIONS; then
     
    8781578if test "${enable_jpty+set}" = set; then
    8791579  enableval="$enable_jpty"
    880   :
    881 fi
    882 
     1580
     1581fi;
    8831582
    8841583if test "$enable_jpty" = "yes"; then
     
    8961595if test "${enable_debug+set}" = set; then
    8971596  enableval="$enable_debug"
    898   :
    899 fi
    900 
     1597
     1598fi;
    9011599
    9021600case "$enable_debug" in
     
    9121610
    9131611
    914 trap '' 1 2 15
    915 cat > confcache <<\EOF
     1612                                                                                                                                                                                    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 src/org/armedbear/j/jdb/Makefile src/org/armedbear/lisp/Makefile j"
     1613cat >confcache <<\_ACEOF
    9161614# This file is a shell script that caches the results of configure
    9171615# tests run on this system so they can be shared between configure
    918 # scripts and configure runs.  It is not useful on other systems.
    919 # If it contains results you don't want to keep, you may remove or edit it.
     1616# scripts and configure runs, see configure's option --config-cache.
     1617# It is not useful on other systems.  If it contains results you don't
     1618# want to keep, you may remove or edit it.
    9201619#
    921 # By default, configure uses ./config.cache as the cache file,
    922 # creating it if it does not exist already.  You can give configure
    923 # the --cache-file=FILE option to use a different cache file; that is
    924 # what configure does when it calls configure scripts in
    925 # subdirectories, so they share the cache.
    926 # Giving --cache-file=/dev/null disables caching, for debugging configure.
    927 # config.status only pays attention to the cache file if you give it the
    928 # --recheck option to rerun configure.
     1620# config.status only pays attention to the cache file if you give it
     1621# the --recheck option to rerun configure.
    9291622#
    930 EOF
     1623# `ac_cv_env_foo' variables (set or unset) will be overridden when
     1624# loading this file, other *unset* `ac_cv_foo' will be assigned the
     1625# following values.
     1626
     1627_ACEOF
     1628
    9311629# The following way of writing the cache mishandles newlines in values,
    9321630# but we know of no workaround that is simple, portable, and efficient.
     
    9341632# Ultrix sh set writes to stderr and can't be redirected directly,
    9351633# and sets the high bit in the cache file unless we assign to the vars.
    936 (set) 2>&1 |
    937   case `(ac_space=' '; set | grep ac_space) 2>&1` in
    938   *ac_space=\ *)
    939     # `set' does not quote correctly, so add quotes (double-quote substitution
    940     # turns \\\\ into \\, and sed turns \\ into \).
    941     sed -n \
    942       -e "s/'/'\\\\''/g" \
    943       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    944     ;;
    945   *)
    946     # `set' quotes correctly as required by POSIX, so do not add quotes.
    947     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    948     ;;
    949   esac >> confcache
    950 if cmp -s $cache_file confcache; then
    951   :
    952 else
     1634{
     1635  (set) 2>&1 |
     1636    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     1637    *ac_space=\ *)
     1638      # `set' does not quote correctly, so add quotes (double-quote
     1639      # substitution turns \\\\ into \\, and sed turns \\ into \).
     1640      sed -n \
     1641        "s/'/'\\\\''/g;
     1642        s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     1643      ;;
     1644    *)
     1645      # `set' quotes correctly as required by POSIX, so do not add quotes.
     1646      sed -n \
     1647        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1648      ;;
     1649    esac;
     1650} |
     1651  sed '
     1652     t clear
     1653     : clear
     1654     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     1655     t end
     1656     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     1657     : end' >>confcache
     1658if diff $cache_file confcache >/dev/null 2>&1; then :; else
    9531659  if test -w $cache_file; then
    954     echo "updating cache $cache_file"
    955     cat confcache > $cache_file
     1660    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     1661    cat confcache >$cache_file
    9561662  else
    9571663    echo "not updating unwritable cache $cache_file"
     
    9591665fi
    9601666rm -f confcache
    961 
    962 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    9631667
    9641668test "x$prefix" = xNONE && prefix=$ac_default_prefix
     
    9661670test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    9671671
    968 # Any assignment to VPATH causes Sun make to only execute
    969 # the first set of double-colon rules, so remove it if not needed.
    970 # If there is a colon in the path, we need to keep it.
     1672# VPATH may cause trouble with some makes, so we remove $(srcdir),
     1673# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     1674# trailing colons and then remove the whole line if VPATH becomes empty
     1675# (actually we leave an empty line to preserve line numbers).
    9711676if test "x$srcdir" = x.; then
    972   ac_vpsub='/^[   ]*VPATH[  ]*=[^:]*$/d'
    973 fi
    974 
    975 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
     1677  ac_vpsub='/^[   ]*VPATH[  ]*=/{
     1678s/:*\$(srcdir):*/:/;
     1679s/:*\${srcdir}:*/:/;
     1680s/:*@srcdir@:*/:/;
     1681s/^\([^=]*=[  ]*\):*/\1/;
     1682s/:*$//;
     1683s/^[^=]*=[  ]*$//;
     1684}'
     1685fi
    9761686
    9771687# Transform confdefs.h into DEFS.
    9781688# Protect against shell expansion while executing Makefile rules.
    9791689# Protect against Makefile macro expansion.
    980 cat > conftest.defs <<\EOF
    981 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
    982 s%[   `~#$^&*(){}\\|;'"<>?]%\\&%g
    983 s%\[%\\&%g
    984 s%\]%\\&%g
    985 s%\$%$$%g
    986 EOF
    987 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
    988 rm -f conftest.defs
    989 
    990 
    991 # Without the "./", some shells look in PATH for config.status.
     1690#
     1691# If the first sed substitution is executed (which looks for macros that
     1692# take arguments), then we branch to the quote section.  Otherwise,
     1693# look for a macro that doesn't take arguments.
     1694cat >confdef2opt.sed <<\_ACEOF
     1695t clear
     1696: clear
     1697s,^[  ]*#[  ]*define[   ][  ]*\([^  (][^  (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
     1698t quote
     1699s,^[  ]*#[  ]*define[   ][  ]*\([^  ][^   ]*\)[   ]*\(.*\),-D\1=\2,g
     1700t quote
     1701d
     1702: quote
     1703s,[   `~#$^&*(){}\\|;'"<>?],\\&,g
     1704s,\[,\\&,g
     1705s,\],\\&,g
     1706s,\$,$$,g
     1707p
     1708_ACEOF
     1709# We use echo to avoid assuming a particular line-breaking character.
     1710# The extra dot is to prevent the shell from consuming trailing
     1711# line-breaks from the sub-command output.  A line-break within
     1712# single-quotes doesn't work because, if this script is created in a
     1713# platform that uses two characters for line-breaks (e.g., DOS), tr
     1714# would break.
     1715ac_LF_and_DOT=`echo; echo .`
     1716DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
     1717rm -f confdef2opt.sed
     1718
     1719
     1720ac_libobjs=
     1721ac_ltlibobjs=
     1722for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
     1723  # 1. Remove the extension, and $U if already installed.
     1724  ac_i=`echo "$ac_i" |
     1725         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     1726  # 2. Add them.
     1727  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     1728  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     1729done
     1730LIBOBJS=$ac_libobjs
     1731
     1732LTLIBOBJS=$ac_ltlibobjs
     1733
     1734
     1735
    9921736: ${CONFIG_STATUS=./config.status}
    993 
    994 echo creating $CONFIG_STATUS
    995 rm -f $CONFIG_STATUS
    996 cat > $CONFIG_STATUS <<EOF
    997 #! /bin/sh
    998 # Generated automatically by configure.
     1737ac_clean_files_save=$ac_clean_files
     1738ac_clean_files="$ac_clean_files $CONFIG_STATUS"
     1739{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     1740echo "$as_me: creating $CONFIG_STATUS" >&6;}
     1741cat >$CONFIG_STATUS <<_ACEOF
     1742#! $SHELL
     1743# Generated by $as_me.
    9991744# Run this file to recreate the current configuration.
    1000 # This directory was configured as follows,
    1001 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    1002 #
    1003 # $0 $ac_configure_args
    1004 #
    10051745# Compiler output produced by configure, useful for debugging
    1006 # configure, is in ./config.log if it exists.
    1007 
    1008 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
    1009 for ac_option
     1746# configure, is in config.log if it exists.
     1747
     1748debug=false
     1749ac_cs_recheck=false
     1750ac_cs_silent=false
     1751SHELL=\${CONFIG_SHELL-$SHELL}
     1752_ACEOF
     1753
     1754cat >>$CONFIG_STATUS <<\_ACEOF
     1755## --------------------- ##
     1756## M4sh Initialization.  ##
     1757## --------------------- ##
     1758
     1759# Be Bourne compatible
     1760if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     1761  emulate sh
     1762  NULLCMD=:
     1763  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     1764  # is contrary to our usage.  Disable this feature.
     1765  alias -g '${1+"$@"}'='"$@"'
     1766elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     1767  set -o posix
     1768fi
     1769
     1770# Support unset when possible.
     1771if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     1772  as_unset=unset
     1773else
     1774  as_unset=false
     1775fi
     1776
     1777
     1778# Work around bugs in pre-3.0 UWIN ksh.
     1779$as_unset ENV MAIL MAILPATH
     1780PS1='$ '
     1781PS2='> '
     1782PS4='+ '
     1783
     1784# NLS nuisances.
     1785for as_var in \
     1786  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     1787  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     1788  LC_TELEPHONE LC_TIME
    10101789do
    1011   case "\$ac_option" in
     1790  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     1791    eval $as_var=C; export $as_var
     1792  else
     1793    $as_unset $as_var
     1794  fi
     1795done
     1796
     1797# Required to use basename.
     1798if expr a : '\(a\)' >/dev/null 2>&1; then
     1799  as_expr=expr
     1800else
     1801  as_expr=false
     1802fi
     1803
     1804if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     1805  as_basename=basename
     1806else
     1807  as_basename=false
     1808fi
     1809
     1810
     1811# Name of the executable.
     1812as_me=`$as_basename "$0" ||
     1813$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     1814   X"$0" : 'X\(//\)$' \| \
     1815   X"$0" : 'X\(/\)$' \| \
     1816   .     : '\(.\)' 2>/dev/null ||
     1817echo X/"$0" |
     1818    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     1819      /^X\/\(\/\/\)$/{ s//\1/; q; }
     1820      /^X\/\(\/\).*/{ s//\1/; q; }
     1821      s/.*/./; q'`
     1822
     1823
     1824# PATH needs CR, and LINENO needs CR and PATH.
     1825# Avoid depending upon Character Ranges.
     1826as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     1827as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     1828as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     1829as_cr_digits='0123456789'
     1830as_cr_alnum=$as_cr_Letters$as_cr_digits
     1831
     1832# The user is always right.
     1833if test "${PATH_SEPARATOR+set}" != set; then
     1834  echo "#! /bin/sh" >conf$$.sh
     1835  echo  "exit 0"   >>conf$$.sh
     1836  chmod +x conf$$.sh
     1837  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     1838    PATH_SEPARATOR=';'
     1839  else
     1840    PATH_SEPARATOR=:
     1841  fi
     1842  rm -f conf$$.sh
     1843fi
     1844
     1845
     1846  as_lineno_1=$LINENO
     1847  as_lineno_2=$LINENO
     1848  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     1849  test "x$as_lineno_1" != "x$as_lineno_2" &&
     1850  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     1851  # Find who we are.  Look in the path if we contain no path at all
     1852  # relative or not.
     1853  case $0 in
     1854    *[\\/]* ) as_myself=$0 ;;
     1855    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1856for as_dir in $PATH
     1857do
     1858  IFS=$as_save_IFS
     1859  test -z "$as_dir" && as_dir=.
     1860  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     1861done
     1862
     1863       ;;
     1864  esac
     1865  # We did not find ourselves, most probably we were run as `sh COMMAND'
     1866  # in which case we are not to be found in the path.
     1867  if test "x$as_myself" = x; then
     1868    as_myself=$0
     1869  fi
     1870  if test ! -f "$as_myself"; then
     1871    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     1872echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     1873   { (exit 1); exit 1; }; }
     1874  fi
     1875  case $CONFIG_SHELL in
     1876  '')
     1877    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1878for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     1879do
     1880  IFS=$as_save_IFS
     1881  test -z "$as_dir" && as_dir=.
     1882  for as_base in sh bash ksh sh5; do
     1883   case $as_dir in
     1884   /*)
     1885     if ("$as_dir/$as_base" -c '
     1886  as_lineno_1=$LINENO
     1887  as_lineno_2=$LINENO
     1888  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     1889  test "x$as_lineno_1" != "x$as_lineno_2" &&
     1890  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     1891       $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     1892       $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     1893       CONFIG_SHELL=$as_dir/$as_base
     1894       export CONFIG_SHELL
     1895       exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     1896     fi;;
     1897   esac
     1898       done
     1899done
     1900;;
     1901  esac
     1902
     1903  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     1904  # uniformly replaced by the line number.  The first 'sed' inserts a
     1905  # line-number line before each line; the second 'sed' does the real
     1906  # work.  The second script uses 'N' to pair each line-number line
     1907  # with the numbered line, and appends trailing '-' during
     1908  # substitution so that $LINENO is not a special case at line end.
     1909  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     1910  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     1911  sed '=' <$as_myself |
     1912    sed '
     1913      N
     1914      s,$,-,
     1915      : loop
     1916      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     1917      t loop
     1918      s,-$,,
     1919      s,^['$as_cr_digits']*\n,,
     1920    ' >$as_me.lineno &&
     1921  chmod +x $as_me.lineno ||
     1922    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     1923echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     1924   { (exit 1); exit 1; }; }
     1925
     1926  # Don't try to exec as it changes $[0], causing all sort of problems
     1927  # (the dirname of $[0] is not the place where we might find the
     1928  # original and so on.  Autoconf is especially sensible to this).
     1929  . ./$as_me.lineno
     1930  # Exit status is that of the last command.
     1931  exit
     1932}
     1933
     1934
     1935case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     1936  *c*,-n*) ECHO_N= ECHO_C='
     1937' ECHO_T='  ' ;;
     1938  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     1939  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     1940esac
     1941
     1942if expr a : '\(a\)' >/dev/null 2>&1; then
     1943  as_expr=expr
     1944else
     1945  as_expr=false
     1946fi
     1947
     1948rm -f conf$$ conf$$.exe conf$$.file
     1949echo >conf$$.file
     1950if ln -s conf$$.file conf$$ 2>/dev/null; then
     1951  # We could just check for DJGPP; but this test a) works b) is more generic
     1952  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     1953  if test -f conf$$.exe; then
     1954    # Don't use ln at all; we don't have any links
     1955    as_ln_s='cp -p'
     1956  else
     1957    as_ln_s='ln -s'
     1958  fi
     1959elif ln conf$$.file conf$$ 2>/dev/null; then
     1960  as_ln_s=ln
     1961else
     1962  as_ln_s='cp -p'
     1963fi
     1964rm -f conf$$ conf$$.exe conf$$.file
     1965
     1966if mkdir -p . 2>/dev/null; then
     1967  as_mkdir_p=:
     1968else
     1969  as_mkdir_p=false
     1970fi
     1971
     1972as_executable_p="test -f"
     1973
     1974# Sed expression to map a string onto a valid CPP name.
     1975as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     1976
     1977# Sed expression to map a string onto a valid variable name.
     1978as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     1979
     1980
     1981# IFS
     1982# We need space, tab and new line, in precisely that order.
     1983as_nl='
     1984'
     1985IFS="   $as_nl"
     1986
     1987# CDPATH.
     1988$as_unset CDPATH
     1989
     1990exec 6>&1
     1991
     1992# Open the log real soon, to keep \$[0] and so on meaningful, and to
     1993# report actual input values of CONFIG_FILES etc. instead of their
     1994# values after options handling.  Logging --version etc. is OK.
     1995exec 5>>config.log
     1996{
     1997  echo
     1998  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     1999## Running $as_me. ##
     2000_ASBOX
     2001} >&5
     2002cat >&5 <<_CSEOF
     2003
     2004This file was extended by $as_me, which was
     2005generated by GNU Autoconf 2.57.  Invocation command line was
     2006
     2007  CONFIG_FILES    = $CONFIG_FILES
     2008  CONFIG_HEADERS  = $CONFIG_HEADERS
     2009  CONFIG_LINKS    = $CONFIG_LINKS
     2010  CONFIG_COMMANDS = $CONFIG_COMMANDS
     2011  $ $0 $@
     2012
     2013_CSEOF
     2014echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     2015echo >&5
     2016_ACEOF
     2017
     2018# Files that config.status was made for.
     2019if test -n "$ac_config_files"; then
     2020  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     2021fi
     2022
     2023if test -n "$ac_config_headers"; then
     2024  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     2025fi
     2026
     2027if test -n "$ac_config_links"; then
     2028  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     2029fi
     2030
     2031if test -n "$ac_config_commands"; then
     2032  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     2033fi
     2034
     2035cat >>$CONFIG_STATUS <<\_ACEOF
     2036
     2037ac_cs_usage="\
     2038\`$as_me' instantiates files from templates according to the
     2039current configuration.
     2040
     2041Usage: $0 [OPTIONS] [FILE]...
     2042
     2043  -h, --help       print this help, then exit
     2044  -V, --version    print version number, then exit
     2045  -q, --quiet      do not print progress messages
     2046  -d, --debug      don't remove temporary files
     2047      --recheck    update $as_me by reconfiguring in the same conditions
     2048  --file=FILE[:TEMPLATE]
     2049                   instantiate the configuration file FILE
     2050
     2051Configuration files:
     2052$config_files
     2053
     2054Report bugs to <bug-autoconf@gnu.org>."
     2055_ACEOF
     2056
     2057cat >>$CONFIG_STATUS <<_ACEOF
     2058ac_cs_version="\\
     2059config.status
     2060configured by $0, generated by GNU Autoconf 2.57,
     2061  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     2062
     2063Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     2064Free Software Foundation, Inc.
     2065This config.status script is free software; the Free Software Foundation
     2066gives unlimited permission to copy, distribute and modify it."
     2067srcdir=$srcdir
     2068INSTALL="$INSTALL"
     2069_ACEOF
     2070
     2071cat >>$CONFIG_STATUS <<\_ACEOF
     2072# If no file are specified by the user, then we need to provide default
     2073# value.  By we need to know if files were specified by the user.
     2074ac_need_defaults=:
     2075while test $# != 0
     2076do
     2077  case $1 in
     2078  --*=*)
     2079    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     2080    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     2081    ac_shift=:
     2082    ;;
     2083  -*)
     2084    ac_option=$1
     2085    ac_optarg=$2
     2086    ac_shift=shift
     2087    ;;
     2088  *) # This is not an option, so the user has probably given explicit
     2089     # arguments.
     2090     ac_option=$1
     2091     ac_need_defaults=false;;
     2092  esac
     2093
     2094  case $ac_option in
     2095  # Handling of the options.
     2096_ACEOF
     2097cat >>$CONFIG_STATUS <<\_ACEOF
    10122098  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    1013     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    1014     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    1015   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    1016     echo "$CONFIG_STATUS generated by autoconf version 2.13"
    1017     exit 0 ;;
    1018   -help | --help | --hel | --he | --h)
    1019     echo "\$ac_cs_usage"; exit 0 ;;
    1020   *) echo "\$ac_cs_usage"; exit 1 ;;
     2099    ac_cs_recheck=: ;;
     2100  --version | --vers* | -V )
     2101    echo "$ac_cs_version"; exit 0 ;;
     2102  --he | --h)
     2103    # Conflict between --help and --header
     2104    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     2105Try \`$0 --help' for more information." >&5
     2106echo "$as_me: error: ambiguous option: $1
     2107Try \`$0 --help' for more information." >&2;}
     2108   { (exit 1); exit 1; }; };;
     2109  --help | --hel | -h )
     2110    echo "$ac_cs_usage"; exit 0 ;;
     2111  --debug | --d* | -d )
     2112    debug=: ;;
     2113  --file | --fil | --fi | --f )
     2114    $ac_shift
     2115    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     2116    ac_need_defaults=false;;
     2117  --header | --heade | --head | --hea )
     2118    $ac_shift
     2119    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     2120    ac_need_defaults=false;;
     2121  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     2122  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     2123    ac_cs_silent=: ;;
     2124
     2125  # This is an error.
     2126  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     2127Try \`$0 --help' for more information." >&5
     2128echo "$as_me: error: unrecognized option: $1
     2129Try \`$0 --help' for more information." >&2;}
     2130   { (exit 1); exit 1; }; } ;;
     2131
     2132  *) ac_config_targets="$ac_config_targets $1" ;;
     2133
     2134  esac
     2135  shift
     2136done
     2137
     2138ac_configure_extra_args=
     2139
     2140if $ac_cs_silent; then
     2141  exec 6>/dev/null
     2142  ac_configure_extra_args="$ac_configure_extra_args --silent"
     2143fi
     2144
     2145_ACEOF
     2146cat >>$CONFIG_STATUS <<_ACEOF
     2147if \$ac_cs_recheck; then
     2148  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     2149  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     2150fi
     2151
     2152_ACEOF
     2153
     2154
     2155
     2156
     2157
     2158cat >>$CONFIG_STATUS <<\_ACEOF
     2159for ac_config_target in $ac_config_targets
     2160do
     2161  case "$ac_config_target" in
     2162  # Handling of arguments.
     2163  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     2164  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     2165  "src/jpty/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/jpty/Makefile" ;;
     2166  "src/bsh/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/bsh/Makefile" ;;
     2167  "src/bsh/classpath/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/bsh/classpath/Makefile" ;;
     2168  "src/bsh/commands/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/bsh/commands/Makefile" ;;
     2169  "src/bsh/reflect/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/bsh/reflect/Makefile" ;;
     2170  "src/gnu/regexp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnu/regexp/Makefile" ;;
     2171  "src/org/xml/sax/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/xml/sax/Makefile" ;;
     2172  "src/org/xml/sax/helpers/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/xml/sax/helpers/Makefile" ;;
     2173  "src/org/xml/sax/ext/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/xml/sax/ext/Makefile" ;;
     2174  "src/org/armedbear/j/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/Makefile" ;;
     2175  "src/org/armedbear/j/version" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/version" ;;
     2176  "src/org/armedbear/j/aelfred/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/aelfred/Makefile" ;;
     2177  "src/org/armedbear/j/mail/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/mail/Makefile" ;;
     2178  "src/org/armedbear/j/jdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/jdb/Makefile" ;;
     2179  "src/org/armedbear/lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/lisp/Makefile" ;;
     2180  "j" ) CONFIG_FILES="$CONFIG_FILES j" ;;
     2181  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     2182echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     2183   { (exit 1); exit 1; }; };;
    10212184  esac
    10222185done
    10232186
    1024 ac_given_srcdir=$srcdir
    1025 ac_given_INSTALL="$INSTALL"
    1026 
    1027 trap 'rm -fr `echo "
    1028 Makefile
    1029 src/Makefile
    1030 src/jpty/Makefile
    1031 src/bsh/Makefile
    1032 src/bsh/classpath/Makefile
    1033 src/bsh/commands/Makefile
    1034 src/bsh/reflect/Makefile
    1035 src/gnu/regexp/Makefile
    1036 src/org/xml/sax/Makefile
    1037 src/org/xml/sax/helpers/Makefile
    1038 src/org/xml/sax/ext/Makefile
    1039 src/org/armedbear/j/Makefile
    1040 src/org/armedbear/j/version
    1041 src/org/armedbear/j/aelfred/Makefile
    1042 src/org/armedbear/j/mail/Makefile
    1043 src/org/armedbear/j/jdb/Makefile
    1044 src/org/armedbear/lisp/Makefile
    1045 j
    1046 " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    1047 EOF
    1048 cat >> $CONFIG_STATUS <<EOF
    1049 
    1050 # Protect against being on the right side of a sed subst in config.status.
    1051 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
    1052  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
    1053 $ac_vpsub
     2187# If the user did not use the arguments to specify the items to instantiate,
     2188# then the envvar interface is used.  Set only those that are not.
     2189# We use the long form for the default assignment because of an extremely
     2190# bizarre bug on SunOS 4.1.3.
     2191if $ac_need_defaults; then
     2192  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     2193fi
     2194
     2195# Have a temporary directory for convenience.  Make it in the build tree
     2196# simply because there is no reason to put it here, and in addition,
     2197# creating and moving files from /tmp can sometimes cause problems.
     2198# Create a temporary directory, and hook for its removal unless debugging.
     2199$debug ||
     2200{
     2201  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     2202  trap '{ (exit 1); exit 1; }' 1 2 13 15
     2203}
     2204
     2205# Create a (secure) tmp directory for tmp files.
     2206
     2207{
     2208  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     2209  test -n "$tmp" && test -d "$tmp"
     2210}  ||
     2211{
     2212  tmp=./confstat$$-$RANDOM
     2213  (umask 077 && mkdir $tmp)
     2214} ||
     2215{
     2216   echo "$me: cannot create a temporary directory in ." >&2
     2217   { (exit 1); exit 1; }
     2218}
     2219
     2220_ACEOF
     2221
     2222cat >>$CONFIG_STATUS <<_ACEOF
     2223
     2224#
     2225# CONFIG_FILES section.
     2226#
     2227
     2228# No need to generate the scripts if there are no CONFIG_FILES.
     2229# This happens for instance when ./config.status config.h
     2230if test -n "\$CONFIG_FILES"; then
     2231  # Protect against being on the right side of a sed subst in config.status.
     2232  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     2233   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     2234s,@SHELL@,$SHELL,;t t
     2235s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     2236s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     2237s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     2238s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     2239s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     2240s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     2241s,@exec_prefix@,$exec_prefix,;t t
     2242s,@prefix@,$prefix,;t t
     2243s,@program_transform_name@,$program_transform_name,;t t
     2244s,@bindir@,$bindir,;t t
     2245s,@sbindir@,$sbindir,;t t
     2246s,@libexecdir@,$libexecdir,;t t
     2247s,@datadir@,$datadir,;t t
     2248s,@sysconfdir@,$sysconfdir,;t t
     2249s,@sharedstatedir@,$sharedstatedir,;t t
     2250s,@localstatedir@,$localstatedir,;t t
     2251s,@libdir@,$libdir,;t t
     2252s,@includedir@,$includedir,;t t
     2253s,@oldincludedir@,$oldincludedir,;t t
     2254s,@infodir@,$infodir,;t t
     2255s,@mandir@,$mandir,;t t
     2256s,@build_alias@,$build_alias,;t t
     2257s,@host_alias@,$host_alias,;t t
     2258s,@target_alias@,$target_alias,;t t
     2259s,@DEFS@,$DEFS,;t t
     2260s,@ECHO_C@,$ECHO_C,;t t
     2261s,@ECHO_N@,$ECHO_N,;t t
     2262s,@ECHO_T@,$ECHO_T,;t t
     2263s,@LIBS@,$LIBS,;t t
     2264s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     2265s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     2266s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     2267s,@version@,$version,;t t
     2268s,@PATHSEP@,$PATHSEP,;t t
     2269s,@JAVA@,$JAVA,;t t
     2270s,@JAVAC@,$JAVAC,;t t
     2271s,@JAVACFLAGS@,$JAVACFLAGS,;t t
     2272s,@JAR@,$JAR,;t t
     2273s,@JAVA_RUNTIME@,$JAVA_RUNTIME,;t t
     2274s,@CP@,$CP,;t t
     2275s,@CLASSPATH@,$CLASSPATH,;t t
     2276s,@COMPILER_CLASSPATH@,$COMPILER_CLASSPATH,;t t
     2277s,@JAVA_OPTIONS@,$JAVA_OPTIONS,;t t
     2278s,@JPTY@,$JPTY,;t t
     2279s,@LIBOBJS@,$LIBOBJS,;t t
     2280s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     2281CEOF
     2282
     2283_ACEOF
     2284
     2285  cat >>$CONFIG_STATUS <<\_ACEOF
     2286  # Split the substitutions into bite-sized pieces for seds with
     2287  # small command number limits, like on Digital OSF/1 and HP-UX.
     2288  ac_max_sed_lines=48
     2289  ac_sed_frag=1 # Number of current file.
     2290  ac_beg=1 # First line for current file.
     2291  ac_end=$ac_max_sed_lines # Line after last line for current file.
     2292  ac_more_lines=:
     2293  ac_sed_cmds=
     2294  while $ac_more_lines; do
     2295    if test $ac_beg -gt 1; then
     2296      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     2297    else
     2298      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     2299    fi
     2300    if test ! -s $tmp/subs.frag; then
     2301      ac_more_lines=false
     2302    else
     2303      # The purpose of the label and of the branching condition is to
     2304      # speed up the sed processing (if there are no `@' at all, there
     2305      # is no need to browse any of the substitutions).
     2306      # These are the two extra sed commands mentioned above.
     2307      (echo ':t
     2308  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     2309      if test -z "$ac_sed_cmds"; then
     2310    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     2311      else
     2312    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     2313      fi
     2314      ac_sed_frag=`expr $ac_sed_frag + 1`
     2315      ac_beg=$ac_end
     2316      ac_end=`expr $ac_end + $ac_max_sed_lines`
     2317    fi
     2318  done
     2319  if test -z "$ac_sed_cmds"; then
     2320    ac_sed_cmds=cat
     2321  fi
     2322fi # test -n "$CONFIG_FILES"
     2323
     2324_ACEOF
     2325cat >>$CONFIG_STATUS <<\_ACEOF
     2326for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     2327  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     2328  case $ac_file in
     2329  - | *:- | *:-:* ) # input from stdin
     2330        cat >$tmp/stdin
     2331        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     2332        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     2333  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     2334        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     2335  * )   ac_file_in=$ac_file.in ;;
     2336  esac
     2337
     2338  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     2339  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     2340$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     2341         X"$ac_file" : 'X\(//\)[^/]' \| \
     2342         X"$ac_file" : 'X\(//\)$' \| \
     2343         X"$ac_file" : 'X\(/\)' \| \
     2344         .     : '\(.\)' 2>/dev/null ||
     2345echo X"$ac_file" |
     2346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     2347      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     2348      /^X\(\/\/\)$/{ s//\1/; q; }
     2349      /^X\(\/\).*/{ s//\1/; q; }
     2350      s/.*/./; q'`
     2351  { if $as_mkdir_p; then
     2352    mkdir -p "$ac_dir"
     2353  else
     2354    as_dir="$ac_dir"
     2355    as_dirs=
     2356    while test ! -d "$as_dir"; do
     2357      as_dirs="$as_dir $as_dirs"
     2358      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     2359$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     2360         X"$as_dir" : 'X\(//\)[^/]' \| \
     2361         X"$as_dir" : 'X\(//\)$' \| \
     2362         X"$as_dir" : 'X\(/\)' \| \
     2363         .     : '\(.\)' 2>/dev/null ||
     2364echo X"$as_dir" |
     2365    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     2366      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     2367      /^X\(\/\/\)$/{ s//\1/; q; }
     2368      /^X\(\/\).*/{ s//\1/; q; }
     2369      s/.*/./; q'`
     2370    done
     2371    test ! -n "$as_dirs" || mkdir $as_dirs
     2372  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     2373echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     2374   { (exit 1); exit 1; }; }; }
     2375
     2376  ac_builddir=.
     2377
     2378if test "$ac_dir" != .; then
     2379  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     2380  # A "../" for each directory in $ac_dir_suffix.
     2381  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     2382else
     2383  ac_dir_suffix= ac_top_builddir=
     2384fi
     2385
     2386case $srcdir in
     2387  .)  # No --srcdir option.  We are building in place.
     2388    ac_srcdir=.
     2389    if test -z "$ac_top_builddir"; then
     2390       ac_top_srcdir=.
     2391    else
     2392       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     2393    fi ;;
     2394  [\\/]* | ?:[\\/]* )  # Absolute path.
     2395    ac_srcdir=$srcdir$ac_dir_suffix;
     2396    ac_top_srcdir=$srcdir ;;
     2397  *) # Relative path.
     2398    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     2399    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     2400esac
     2401# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     2402# absolute.
     2403ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     2404ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     2405ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     2406ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     2407
     2408
     2409  case $INSTALL in
     2410  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
     2411  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     2412  esac
     2413
     2414  if test x"$ac_file" != x-; then
     2415    { echo "$as_me:$LINENO: creating $ac_file" >&5
     2416echo "$as_me: creating $ac_file" >&6;}
     2417    rm -f "$ac_file"
     2418  fi
     2419  # Let's still pretend it is `configure' which instantiates (i.e., don't
     2420  # use $as_me), people would be surprised to read:
     2421  #    /* config.h.  Generated by config.status.  */
     2422  if test x"$ac_file" = x-; then
     2423    configure_input=
     2424  else
     2425    configure_input="$ac_file.  "
     2426  fi
     2427  configure_input=$configure_input"Generated from `echo $ac_file_in |
     2428                                     sed 's,.*/,,'` by configure."
     2429
     2430  # First look for the input files in the build tree, otherwise in the
     2431  # src tree.
     2432  ac_file_inputs=`IFS=:
     2433    for f in $ac_file_in; do
     2434      case $f in
     2435      -) echo $tmp/stdin ;;
     2436      [\\/$]*)
     2437         # Absolute (can't be DOS-style, as IFS=:)
     2438         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     2439echo "$as_me: error: cannot find input file: $f" >&2;}
     2440   { (exit 1); exit 1; }; }
     2441         echo $f;;
     2442      *) # Relative
     2443         if test -f "$f"; then
     2444           # Build tree
     2445           echo $f
     2446         elif test -f "$srcdir/$f"; then
     2447           # Source tree
     2448           echo $srcdir/$f
     2449         else
     2450           # /dev/null tree
     2451           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     2452echo "$as_me: error: cannot find input file: $f" >&2;}
     2453   { (exit 1); exit 1; }; }
     2454         fi;;
     2455      esac
     2456    done` || { (exit 1); exit 1; }
     2457_ACEOF
     2458cat >>$CONFIG_STATUS <<_ACEOF
     2459  sed "$ac_vpsub
    10542460$extrasub
    1055 s%@SHELL@%$SHELL%g
    1056 s%@CFLAGS@%$CFLAGS%g
    1057 s%@CPPFLAGS@%$CPPFLAGS%g
    1058 s%@CXXFLAGS@%$CXXFLAGS%g
    1059 s%@FFLAGS@%$FFLAGS%g
    1060 s%@DEFS@%$DEFS%g
    1061 s%@LDFLAGS@%$LDFLAGS%g
    1062 s%@LIBS@%$LIBS%g
    1063 s%@exec_prefix@%$exec_prefix%g
    1064 s%@prefix@%$prefix%g
    1065 s%@program_transform_name@%$program_transform_name%g
    1066 s%@bindir@%$bindir%g
    1067 s%@sbindir@%$sbindir%g
    1068 s%@libexecdir@%$libexecdir%g
    1069 s%@datadir@%$datadir%g
    1070 s%@sysconfdir@%$sysconfdir%g
    1071 s%@sharedstatedir@%$sharedstatedir%g
    1072 s%@localstatedir@%$localstatedir%g
    1073 s%@libdir@%$libdir%g
    1074 s%@includedir@%$includedir%g
    1075 s%@oldincludedir@%$oldincludedir%g
    1076 s%@infodir@%$infodir%g
    1077 s%@mandir@%$mandir%g
    1078 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    1079 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
    1080 s%@INSTALL_DATA@%$INSTALL_DATA%g
    1081 s%@version@%$version%g
    1082 s%@PATHSEP@%$PATHSEP%g
    1083 s%@JAVA@%$JAVA%g
    1084 s%@JAVAC@%$JAVAC%g
    1085 s%@JAVACFLAGS@%$JAVACFLAGS%g
    1086 s%@JAR@%$JAR%g
    1087 s%@JAVA_RUNTIME@%$JAVA_RUNTIME%g
    1088 s%@CP@%$CP%g
    1089 s%@CLASSPATH@%$CLASSPATH%g
    1090 s%@COMPILER_CLASSPATH@%$COMPILER_CLASSPATH%g
    1091 s%@JAVA_OPTIONS@%$JAVA_OPTIONS%g
    1092 s%@JPTY@%$JPTY%g
    1093 
    1094 CEOF
    1095 EOF
    1096 
    1097 cat >> $CONFIG_STATUS <<\EOF
    1098 
    1099 # Split the substitutions into bite-sized pieces for seds with
    1100 # small command number limits, like on Digital OSF/1 and HP-UX.
    1101 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
    1102 ac_file=1 # Number of current file.
    1103 ac_beg=1 # First line for current file.
    1104 ac_end=$ac_max_sed_cmds # Line after last line for current file.
    1105 ac_more_lines=:
    1106 ac_sed_cmds=""
    1107 while $ac_more_lines; do
    1108   if test $ac_beg -gt 1; then
    1109     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
     2461_ACEOF
     2462cat >>$CONFIG_STATUS <<\_ACEOF
     2463:t
     2464/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
     2465s,@configure_input@,$configure_input,;t t
     2466s,@srcdir@,$ac_srcdir,;t t
     2467s,@abs_srcdir@,$ac_abs_srcdir,;t t
     2468s,@top_srcdir@,$ac_top_srcdir,;t t
     2469s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     2470s,@builddir@,$ac_builddir,;t t
     2471s,@abs_builddir@,$ac_abs_builddir,;t t
     2472s,@top_builddir@,$ac_top_builddir,;t t
     2473s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     2474s,@INSTALL@,$ac_INSTALL,;t t
     2475" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     2476  rm -f $tmp/stdin
     2477  if test x"$ac_file" != x-; then
     2478    mv $tmp/out $ac_file
    11102479  else
    1111     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
    1112   fi
    1113   if test ! -s conftest.s$ac_file; then
    1114     ac_more_lines=false
    1115     rm -f conftest.s$ac_file
    1116   else
    1117     if test -z "$ac_sed_cmds"; then
    1118       ac_sed_cmds="sed -f conftest.s$ac_file"
    1119     else
    1120       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    1121     fi
    1122     ac_file=`expr $ac_file + 1`
    1123     ac_beg=$ac_end
    1124     ac_end=`expr $ac_end + $ac_max_sed_cmds`
    1125   fi
     2480    cat $tmp/out
     2481    rm -f $tmp/out
     2482  fi
     2483
    11262484done
    1127 if test -z "$ac_sed_cmds"; then
    1128   ac_sed_cmds=cat
    1129 fi
    1130 EOF
    1131 
    1132 cat >> $CONFIG_STATUS <<EOF
    1133 
    1134 CONFIG_FILES=\${CONFIG_FILES-"Makefile
    1135 src/Makefile
    1136 src/jpty/Makefile
    1137 src/bsh/Makefile
    1138 src/bsh/classpath/Makefile
    1139 src/bsh/commands/Makefile
    1140 src/bsh/reflect/Makefile
    1141 src/gnu/regexp/Makefile
    1142 src/org/xml/sax/Makefile
    1143 src/org/xml/sax/helpers/Makefile
    1144 src/org/xml/sax/ext/Makefile
    1145 src/org/armedbear/j/Makefile
    1146 src/org/armedbear/j/version
    1147 src/org/armedbear/j/aelfred/Makefile
    1148 src/org/armedbear/j/mail/Makefile
    1149 src/org/armedbear/j/jdb/Makefile
    1150 src/org/armedbear/lisp/Makefile
    1151 j
    1152 "}
    1153 EOF
    1154 cat >> $CONFIG_STATUS <<\EOF
    1155 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
    1156   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    1157   case "$ac_file" in
    1158   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
    1159        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
    1160   *) ac_file_in="${ac_file}.in" ;;
    1161   esac
    1162 
    1163   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
    1164 
    1165   # Remove last slash and all that follows it.  Not all systems have dirname.
    1166   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
    1167   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    1168     # The file is in a subdirectory.
    1169     test ! -d "$ac_dir" && mkdir "$ac_dir"
    1170     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    1171     # A "../" for each directory in $ac_dir_suffix.
    1172     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
    1173   else
    1174     ac_dir_suffix= ac_dots=
    1175   fi
    1176 
    1177   case "$ac_given_srcdir" in
    1178   .)  srcdir=.
    1179       if test -z "$ac_dots"; then top_srcdir=.
    1180       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
    1181   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    1182   *) # Relative path.
    1183     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    1184     top_srcdir="$ac_dots$ac_given_srcdir" ;;
    1185   esac
    1186 
    1187   case "$ac_given_INSTALL" in
    1188   [/$]*) INSTALL="$ac_given_INSTALL" ;;
    1189   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
    1190   esac
    1191 
    1192   echo creating "$ac_file"
    1193   rm -f "$ac_file"
    1194   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
    1195   case "$ac_file" in
    1196   *Makefile*) ac_comsub="1i\\
    1197 # $configure_input" ;;
    1198   *) ac_comsub= ;;
    1199   esac
    1200 
    1201   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
    1202   sed -e "$ac_comsub
    1203 s%@configure_input@%$configure_input%g
    1204 s%@srcdir@%$srcdir%g
    1205 s%@top_srcdir@%$top_srcdir%g
    1206 s%@INSTALL@%$INSTALL%g
    1207 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    1208 fi; done
    1209 rm -f conftest.s*
    1210 
    1211 EOF
    1212 cat >> $CONFIG_STATUS <<EOF
    1213 
    1214 EOF
    1215 cat >> $CONFIG_STATUS <<\EOF
    1216 
    1217 exit 0
    1218 EOF
     2485_ACEOF
     2486
     2487cat >>$CONFIG_STATUS <<\_ACEOF
     2488
     2489{ (exit 0); exit 0; }
     2490_ACEOF
    12192491chmod +x $CONFIG_STATUS
    1220 rm -fr confdefs* $ac_clean_files
    1221 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
    1222 
    1223 
    1224 
    1225 
    1226 
    1227 
    1228 
    1229 chmod 755 j
    1230 
    1231     if test $CYGWIN; then
    1232         echo "\"`cygpath -w $JAVA`\" $CP \"$CLASSPATH\" $JIT Editor %1 %2 %3 %4 %5 %6 %7 %8 %9" > j.bat
    1233     fi
    1234 
    1235 
    1236 
     2492ac_clean_files=$ac_clean_files_save
     2493
     2494
     2495# configure is writing to config.log, and then calls config.status.
     2496# config.status does its own redirection, appending to config.log.
     2497# Unfortunately, on DOS this fails, as config.log is still kept open
     2498# by configure, so config.status won't be able to write to it; its
     2499# output is simply discarded.  So we exec the FD to /dev/null,
     2500# effectively closing config.log, so it can be properly (re)opened and
     2501# appended to by config.status.  When coming back to configure, we
     2502# need to make the FD available again.
     2503if test "$no_create" != yes; then
     2504  ac_cs_success=:
     2505  ac_config_status_args=
     2506  test "$silent" = yes &&
     2507    ac_config_status_args="$ac_config_status_args --quiet"
     2508  exec 5>/dev/null
     2509  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
     2510  exec 5>>config.log
     2511  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
     2512  # would make configure fail if this is the last instruction.
     2513  $ac_cs_success || { (exit 1); exit 1; }
     2514fi
     2515
     2516
     2517          ac_config_commands="$ac_config_commands default-1"
     2518
     2519
     2520
     2521
     2522          ac_config_commands="$ac_config_commands default-2"
     2523
  • trunk/j/configure.in

    r1496 r1505  
    22dnl
    33dnl  Copyright (C) 1998-2002 Peter Graves
    4 dnl  $Id: configure.in,v 1.15 2003-03-31 03:17:30 piso Exp $
     4dnl  $Id: configure.in,v 1.16 2003-03-31 16:56:28 piso Exp $
    55dnl
    66dnl  This program is free software; you can redistribute it and/or
     
    1818dnl  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    1919
    20 AC_REVISION($Revision: 1.15 $)
     20AC_REVISION($Revision: 1.16 $)
    2121
    2222BOOTFILE=./configure-options
     
    3232AC_PROG_INSTALL
    3333
    34 version=0.18.0.28
     34version=0.18.0.29
    3535AC_SUBST(version)
    3636
Note: See TracChangeset for help on using the changeset viewer.