source: trunk/j/configure @ 4978

Last change on this file since 4978 was 4978, checked in by piso, 18 years ago

0.20.2.6+

File size: 80.2 KB
Line 
1#! /bin/sh
2# From configure.ac Revision: 1.18 .
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.58.
5#
6# Copyright (C) 2003 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization.  ##
11## --------------------- ##
12
13# Be Bourne compatible
14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15  emulate sh
16  NULLCMD=:
17  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18  # is contrary to our usage.  Disable this feature.
19  alias -g '${1+"$@"}'='"$@"'
20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21  set -o posix
22fi
23DUALCASE=1; export DUALCASE # for MKS sh
24
25# Support unset when possible.
26if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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  test -d ./-p && rmdir ./-p
223  as_mkdir_p=false
224fi
225
226as_executable_p="test -f"
227
228# Sed expression to map a string onto a valid CPP name.
229as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
231# Sed expression to map a string onto a valid variable name.
232as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233
234
235# IFS
236# We need space, tab and new line, in precisely that order.
237as_nl='
238'
239IFS="   $as_nl"
240
241# CDPATH.
242$as_unset CDPATH
243
244
245# Name of the host.
246# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247# so uname gets run too.
248ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250exec 6>&1
251
252#
253# Initializations.
254#
255ac_default_prefix=/usr/local
256ac_config_libobj_dir=.
257cross_compiling=no
258subdirs=
259MFLAGS=
260MAKEFLAGS=
261SHELL=${CONFIG_SHELL-/bin/sh}
262
263# Maximum number of lines to put in a shell here document.
264# This variable seems obsolete.  It should probably be removed, and
265# only ac_max_sed_lines should be used.
266: ${ac_max_here_lines=38}
267
268# Identity of this package.
269PACKAGE_NAME=
270PACKAGE_TARNAME=
271PACKAGE_VERSION=
272PACKAGE_STRING=
273PACKAGE_BUGREPORT=
274
275ac_unique_file="j.in"
276ac_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 ABL_JAVA_RUNTIME ABL_JAVA_OPTIONS LISP_HOME CP CLASSPATH ABL_CLASSPATH COMPILER_CLASSPATH JAVA_OPTIONS JPTY LIBOBJS LTLIBOBJS'
277ac_subst_files=''
278
279# Initialize some variables set by options.
280ac_init_help=
281ac_init_version=false
282# The variables have the same names as the options, with
283# dashes changed to underlines.
284cache_file=/dev/null
285exec_prefix=NONE
286no_create=
287no_recursion=
288prefix=NONE
289program_prefix=NONE
290program_suffix=NONE
291program_transform_name=s,x,x,
292silent=
293site=
294srcdir=
295verbose=
296x_includes=NONE
297x_libraries=NONE
298
299# Installation directory options.
300# These are left unexpanded so users can "make install exec_prefix=/foo"
301# and all the variables that are supposed to be based on exec_prefix
302# by default will actually change.
303# Use braces instead of parens because sh, perl, etc. also accept them.
304bindir='${exec_prefix}/bin'
305sbindir='${exec_prefix}/sbin'
306libexecdir='${exec_prefix}/libexec'
307datadir='${prefix}/share'
308sysconfdir='${prefix}/etc'
309sharedstatedir='${prefix}/com'
310localstatedir='${prefix}/var'
311libdir='${exec_prefix}/lib'
312includedir='${prefix}/include'
313oldincludedir='/usr/include'
314infodir='${prefix}/info'
315mandir='${prefix}/man'
316
317ac_prev=
318for ac_option
319do
320  # If the previous option needs an argument, assign it.
321  if test -n "$ac_prev"; then
322    eval "$ac_prev=\$ac_option"
323    ac_prev=
324    continue
325  fi
326
327  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
329  # Accept the important Cygnus configure options, so we can diagnose typos.
330
331  case $ac_option in
332
333  -bindir | --bindir | --bindi | --bind | --bin | --bi)
334    ac_prev=bindir ;;
335  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336    bindir=$ac_optarg ;;
337
338  -build | --build | --buil | --bui | --bu)
339    ac_prev=build_alias ;;
340  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341    build_alias=$ac_optarg ;;
342
343  -cache-file | --cache-file | --cache-fil | --cache-fi \
344  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345    ac_prev=cache_file ;;
346  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348    cache_file=$ac_optarg ;;
349
350  --config-cache | -C)
351    cache_file=config.cache ;;
352
353  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354    ac_prev=datadir ;;
355  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356  | --da=*)
357    datadir=$ac_optarg ;;
358
359  -disable-* | --disable-*)
360    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361    # Reject names that are not valid shell variable names.
362    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364   { (exit 1); exit 1; }; }
365    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366    eval "enable_$ac_feature=no" ;;
367
368  -enable-* | --enable-*)
369    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370    # Reject names that are not valid shell variable names.
371    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373   { (exit 1); exit 1; }; }
374    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375    case $ac_option in
376      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377      *) ac_optarg=yes ;;
378    esac
379    eval "enable_$ac_feature='$ac_optarg'" ;;
380
381  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383  | --exec | --exe | --ex)
384    ac_prev=exec_prefix ;;
385  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387  | --exec=* | --exe=* | --ex=*)
388    exec_prefix=$ac_optarg ;;
389
390  -gas | --gas | --ga | --g)
391    # Obsolete; use --with-gas.
392    with_gas=yes ;;
393
394  -help | --help | --hel | --he | -h)
395    ac_init_help=long ;;
396  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397    ac_init_help=recursive ;;
398  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399    ac_init_help=short ;;
400
401  -host | --host | --hos | --ho)
402    ac_prev=host_alias ;;
403  -host=* | --host=* | --hos=* | --ho=*)
404    host_alias=$ac_optarg ;;
405
406  -includedir | --includedir | --includedi | --included | --include \
407  | --includ | --inclu | --incl | --inc)
408    ac_prev=includedir ;;
409  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410  | --includ=* | --inclu=* | --incl=* | --inc=*)
411    includedir=$ac_optarg ;;
412
413  -infodir | --infodir | --infodi | --infod | --info | --inf)
414    ac_prev=infodir ;;
415  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416    infodir=$ac_optarg ;;
417
418  -libdir | --libdir | --libdi | --libd)
419    ac_prev=libdir ;;
420  -libdir=* | --libdir=* | --libdi=* | --libd=*)
421    libdir=$ac_optarg ;;
422
423  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424  | --libexe | --libex | --libe)
425    ac_prev=libexecdir ;;
426  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427  | --libexe=* | --libex=* | --libe=*)
428    libexecdir=$ac_optarg ;;
429
430  -localstatedir | --localstatedir | --localstatedi | --localstated \
431  | --localstate | --localstat | --localsta | --localst \
432  | --locals | --local | --loca | --loc | --lo)
433    ac_prev=localstatedir ;;
434  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437    localstatedir=$ac_optarg ;;
438
439  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440    ac_prev=mandir ;;
441  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442    mandir=$ac_optarg ;;
443
444  -nfp | --nfp | --nf)
445    # Obsolete; use --without-fp.
446    with_fp=no ;;
447
448  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449  | --no-cr | --no-c | -n)
450    no_create=yes ;;
451
452  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454    no_recursion=yes ;;
455
456  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458  | --oldin | --oldi | --old | --ol | --o)
459    ac_prev=oldincludedir ;;
460  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463    oldincludedir=$ac_optarg ;;
464
465  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466    ac_prev=prefix ;;
467  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468    prefix=$ac_optarg ;;
469
470  -program-prefix | --program-prefix | --program-prefi | --program-pref \
471  | --program-pre | --program-pr | --program-p)
472    ac_prev=program_prefix ;;
473  -program-prefix=* | --program-prefix=* | --program-prefi=* \
474  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475    program_prefix=$ac_optarg ;;
476
477  -program-suffix | --program-suffix | --program-suffi | --program-suff \
478  | --program-suf | --program-su | --program-s)
479    ac_prev=program_suffix ;;
480  -program-suffix=* | --program-suffix=* | --program-suffi=* \
481  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482    program_suffix=$ac_optarg ;;
483
484  -program-transform-name | --program-transform-name \
485  | --program-transform-nam | --program-transform-na \
486  | --program-transform-n | --program-transform- \
487  | --program-transform | --program-transfor \
488  | --program-transfo | --program-transf \
489  | --program-trans | --program-tran \
490  | --progr-tra | --program-tr | --program-t)
491    ac_prev=program_transform_name ;;
492  -program-transform-name=* | --program-transform-name=* \
493  | --program-transform-nam=* | --program-transform-na=* \
494  | --program-transform-n=* | --program-transform-=* \
495  | --program-transform=* | --program-transfor=* \
496  | --program-transfo=* | --program-transf=* \
497  | --program-trans=* | --program-tran=* \
498  | --progr-tra=* | --program-tr=* | --program-t=*)
499    program_transform_name=$ac_optarg ;;
500
501  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502  | -silent | --silent | --silen | --sile | --sil)
503    silent=yes ;;
504
505  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506    ac_prev=sbindir ;;
507  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508  | --sbi=* | --sb=*)
509    sbindir=$ac_optarg ;;
510
511  -sharedstatedir | --sharedstatedir | --sharedstatedi \
512  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513  | --sharedst | --shareds | --shared | --share | --shar \
514  | --sha | --sh)
515    ac_prev=sharedstatedir ;;
516  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519  | --sha=* | --sh=*)
520    sharedstatedir=$ac_optarg ;;
521
522  -site | --site | --sit)
523    ac_prev=site ;;
524  -site=* | --site=* | --sit=*)
525    site=$ac_optarg ;;
526
527  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528    ac_prev=srcdir ;;
529  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530    srcdir=$ac_optarg ;;
531
532  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533  | --syscon | --sysco | --sysc | --sys | --sy)
534    ac_prev=sysconfdir ;;
535  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537    sysconfdir=$ac_optarg ;;
538
539  -target | --target | --targe | --targ | --tar | --ta | --t)
540    ac_prev=target_alias ;;
541  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542    target_alias=$ac_optarg ;;
543
544  -v | -verbose | --verbose | --verbos | --verbo | --verb)
545    verbose=yes ;;
546
547  -version | --version | --versio | --versi | --vers | -V)
548    ac_init_version=: ;;
549
550  -with-* | --with-*)
551    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552    # Reject names that are not valid shell variable names.
553    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554      { echo "$as_me: error: invalid package name: $ac_package" >&2
555   { (exit 1); exit 1; }; }
556    ac_package=`echo $ac_package| sed 's/-/_/g'`
557    case $ac_option in
558      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559      *) ac_optarg=yes ;;
560    esac
561    eval "with_$ac_package='$ac_optarg'" ;;
562
563  -without-* | --without-*)
564    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565    # Reject names that are not valid shell variable names.
566    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567      { echo "$as_me: error: invalid package name: $ac_package" >&2
568   { (exit 1); exit 1; }; }
569    ac_package=`echo $ac_package | sed 's/-/_/g'`
570    eval "with_$ac_package=no" ;;
571
572  --x)
573    # Obsolete; use --with-x.
574    with_x=yes ;;
575
576  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577  | --x-incl | --x-inc | --x-in | --x-i)
578    ac_prev=x_includes ;;
579  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581    x_includes=$ac_optarg ;;
582
583  -x-libraries | --x-libraries | --x-librarie | --x-librari \
584  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585    ac_prev=x_libraries ;;
586  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588    x_libraries=$ac_optarg ;;
589
590  -*) { echo "$as_me: error: unrecognized option: $ac_option
591Try \`$0 --help' for more information." >&2
592   { (exit 1); exit 1; }; }
593    ;;
594
595  *=*)
596    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597    # Reject names that are not valid shell variable names.
598    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600   { (exit 1); exit 1; }; }
601    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602    eval "$ac_envvar='$ac_optarg'"
603    export $ac_envvar ;;
604
605  *)
606    # FIXME: should be removed in autoconf 3.0.
607    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611    ;;
612
613  esac
614done
615
616if test -n "$ac_prev"; then
617  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618  { echo "$as_me: error: missing argument to $ac_option" >&2
619   { (exit 1); exit 1; }; }
620fi
621
622# Be sure to have absolute paths.
623for ac_var in exec_prefix prefix
624do
625  eval ac_val=$`echo $ac_var`
626  case $ac_val in
627    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629   { (exit 1); exit 1; }; };;
630  esac
631done
632
633# Be sure to have absolute paths.
634for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635        localstatedir libdir includedir oldincludedir infodir mandir
636do
637  eval ac_val=$`echo $ac_var`
638  case $ac_val in
639    [\\/$]* | ?:[\\/]* ) ;;
640    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641   { (exit 1); exit 1; }; };;
642  esac
643done
644
645# There might be people who depend on the old broken behavior: `$host'
646# used to hold the argument of --host etc.
647# FIXME: To remove some day.
648build=$build_alias
649host=$host_alias
650target=$target_alias
651
652# FIXME: To remove some day.
653if test "x$host_alias" != x; then
654  if test "x$build_alias" = x; then
655    cross_compiling=maybe
656    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657    If a cross compiler is detected then cross compile mode will be used." >&2
658  elif test "x$build_alias" != "x$host_alias"; then
659    cross_compiling=yes
660  fi
661fi
662
663ac_tool_prefix=
664test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666test "$silent" = yes && exec 6>/dev/null
667
668
669# Find the source files, if location was not specified.
670if test -z "$srcdir"; then
671  ac_srcdir_defaulted=yes
672  # Try the directory containing this script, then its parent.
673  ac_confdir=`(dirname "$0") 2>/dev/null ||
674$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675   X"$0" : 'X\(//\)[^/]' \| \
676   X"$0" : 'X\(//\)$' \| \
677   X"$0" : 'X\(/\)' \| \
678   .     : '\(.\)' 2>/dev/null ||
679echo X"$0" |
680    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682      /^X\(\/\/\)$/{ s//\1/; q; }
683      /^X\(\/\).*/{ s//\1/; q; }
684      s/.*/./; q'`
685  srcdir=$ac_confdir
686  if test ! -r $srcdir/$ac_unique_file; then
687    srcdir=..
688  fi
689else
690  ac_srcdir_defaulted=no
691fi
692if test ! -r $srcdir/$ac_unique_file; then
693  if test "$ac_srcdir_defaulted" = yes; then
694    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695   { (exit 1); exit 1; }; }
696  else
697    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698   { (exit 1); exit 1; }; }
699  fi
700fi
701(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703   { (exit 1); exit 1; }; }
704srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705ac_env_build_alias_set=${build_alias+set}
706ac_env_build_alias_value=$build_alias
707ac_cv_env_build_alias_set=${build_alias+set}
708ac_cv_env_build_alias_value=$build_alias
709ac_env_host_alias_set=${host_alias+set}
710ac_env_host_alias_value=$host_alias
711ac_cv_env_host_alias_set=${host_alias+set}
712ac_cv_env_host_alias_value=$host_alias
713ac_env_target_alias_set=${target_alias+set}
714ac_env_target_alias_value=$target_alias
715ac_cv_env_target_alias_set=${target_alias+set}
716ac_cv_env_target_alias_value=$target_alias
717
718#
719# Report the --help message.
720#
721if test "$ac_init_help" = "long"; then
722  # Omit some internal or obsolete options to make the list less imposing.
723  # This message is too long to be a string in the A/UX 3.1 sh.
724  cat <<_ACEOF
725\`configure' configures this package to adapt to many kinds of systems.
726
727Usage: $0 [OPTION]... [VAR=VALUE]...
728
729To assign environment variables (e.g., CC, CFLAGS...), specify them as
730VAR=VALUE.  See below for descriptions of some of the useful variables.
731
732Defaults for the options are specified in brackets.
733
734Configuration:
735  -h, --help              display this help and exit
736      --help=short        display options specific to this package
737      --help=recursive    display the short help of all the included packages
738  -V, --version           display version information and exit
739  -q, --quiet, --silent   do not print \`checking...' messages
740      --cache-file=FILE   cache test results in FILE [disabled]
741  -C, --config-cache      alias for \`--cache-file=config.cache'
742  -n, --no-create         do not create output files
743      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
744
745_ACEOF
746
747  cat <<_ACEOF
748Installation directories:
749  --prefix=PREFIX         install architecture-independent files in PREFIX
750        [$ac_default_prefix]
751  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
752        [PREFIX]
753
754By default, \`make install' will install all the files in
755\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
756an installation prefix other than \`$ac_default_prefix' using \`--prefix',
757for instance \`--prefix=\$HOME'.
758
759For better control, use the options below.
760
761Fine tuning of the installation directories:
762  --bindir=DIR           user executables [EPREFIX/bin]
763  --sbindir=DIR          system admin executables [EPREFIX/sbin]
764  --libexecdir=DIR       program executables [EPREFIX/libexec]
765  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
766  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
767  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
768  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
769  --libdir=DIR           object code libraries [EPREFIX/lib]
770  --includedir=DIR       C header files [PREFIX/include]
771  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
772  --infodir=DIR          info documentation [PREFIX/info]
773  --mandir=DIR           man documentation [PREFIX/man]
774_ACEOF
775
776  cat <<\_ACEOF
777_ACEOF
778fi
779
780if test -n "$ac_init_help"; then
781
782  cat <<\_ACEOF
783
784Optional Features:
785  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
786  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
787  --enable-jpty           build and install jpty
788  --disable-jpty          do not build or install jpty (default)
789  --enable-debug          enable run-time debugging
790  --disable-debug         disable run-time debugging (default)
791
792Optional Packages:
793  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
794  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
795  --with-jdk=DIR          JDK you want to use
796  --with-options=OPTIONS  runtime options to be passed to java (e.g. -server)
797  --with-extensions=PATH  extensions to CLASSPATH (JIMI, Xerces, etc.)
798
799_ACEOF
800fi
801
802if test "$ac_init_help" = "recursive"; then
803  # If there are subdirs, report their specific --help.
804  ac_popdir=`pwd`
805  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
806    test -d $ac_dir || continue
807    ac_builddir=.
808
809if test "$ac_dir" != .; then
810  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
811  # A "../" for each directory in $ac_dir_suffix.
812  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
813else
814  ac_dir_suffix= ac_top_builddir=
815fi
816
817case $srcdir in
818  .)  # No --srcdir option.  We are building in place.
819    ac_srcdir=.
820    if test -z "$ac_top_builddir"; then
821       ac_top_srcdir=.
822    else
823       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
824    fi ;;
825  [\\/]* | ?:[\\/]* )  # Absolute path.
826    ac_srcdir=$srcdir$ac_dir_suffix;
827    ac_top_srcdir=$srcdir ;;
828  *) # Relative path.
829    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
830    ac_top_srcdir=$ac_top_builddir$srcdir ;;
831esac
832
833# Do not use `cd foo && pwd` to compute absolute paths, because
834# the directories may not exist.
835case `pwd` in
836.) ac_abs_builddir="$ac_dir";;
837*)
838  case "$ac_dir" in
839  .) ac_abs_builddir=`pwd`;;
840  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
841  *) ac_abs_builddir=`pwd`/"$ac_dir";;
842  esac;;
843esac
844case $ac_abs_builddir in
845.) ac_abs_top_builddir=${ac_top_builddir}.;;
846*)
847  case ${ac_top_builddir}. in
848  .) ac_abs_top_builddir=$ac_abs_builddir;;
849  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
850  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
851  esac;;
852esac
853case $ac_abs_builddir in
854.) ac_abs_srcdir=$ac_srcdir;;
855*)
856  case $ac_srcdir in
857  .) ac_abs_srcdir=$ac_abs_builddir;;
858  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
859  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
860  esac;;
861esac
862case $ac_abs_builddir in
863.) ac_abs_top_srcdir=$ac_top_srcdir;;
864*)
865  case $ac_top_srcdir in
866  .) ac_abs_top_srcdir=$ac_abs_builddir;;
867  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
868  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
869  esac;;
870esac
871
872    cd $ac_dir
873    # Check for guested configure; otherwise get Cygnus style configure.
874    if test -f $ac_srcdir/configure.gnu; then
875      echo
876      $SHELL $ac_srcdir/configure.gnu  --help=recursive
877    elif test -f $ac_srcdir/configure; then
878      echo
879      $SHELL $ac_srcdir/configure  --help=recursive
880    elif test -f $ac_srcdir/configure.ac ||
881     test -f $ac_srcdir/configure.in; then
882      echo
883      $ac_configure --help
884    else
885      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
886    fi
887    cd "$ac_popdir"
888  done
889fi
890
891test -n "$ac_init_help" && exit 0
892if $ac_init_version; then
893  cat <<\_ACEOF
894
895Copyright (C) 2003 Free Software Foundation, Inc.
896This configure script is free software; the Free Software Foundation
897gives unlimited permission to copy, distribute and modify it.
898_ACEOF
899  exit 0
900fi
901exec 5>config.log
902cat >&5 <<_ACEOF
903This file contains any messages produced by compilers while
904running configure, to aid debugging if configure makes a mistake.
905
906It was created by $as_me, which was
907generated by GNU Autoconf 2.58.  Invocation command line was
908
909  $ $0 $@
910
911_ACEOF
912{
913cat <<_ASUNAME
914## --------- ##
915## Platform. ##
916## --------- ##
917
918hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
919uname -m = `(uname -m) 2>/dev/null || echo unknown`
920uname -r = `(uname -r) 2>/dev/null || echo unknown`
921uname -s = `(uname -s) 2>/dev/null || echo unknown`
922uname -v = `(uname -v) 2>/dev/null || echo unknown`
923
924/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
925/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
926
927/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
928/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
929/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
930hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
931/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
932/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
933/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
934
935_ASUNAME
936
937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
938for as_dir in $PATH
939do
940  IFS=$as_save_IFS
941  test -z "$as_dir" && as_dir=.
942  echo "PATH: $as_dir"
943done
944
945} >&5
946
947cat >&5 <<_ACEOF
948
949
950## ----------- ##
951## Core tests. ##
952## ----------- ##
953
954_ACEOF
955
956
957# Keep a trace of the command line.
958# Strip out --no-create and --no-recursion so they do not pile up.
959# Strip out --silent because we don't want to record it for future runs.
960# Also quote any args containing shell meta-characters.
961# Make two passes to allow for proper duplicate-argument suppression.
962ac_configure_args=
963ac_configure_args0=
964ac_configure_args1=
965ac_sep=
966ac_must_keep_next=false
967for ac_pass in 1 2
968do
969  for ac_arg
970  do
971    case $ac_arg in
972    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
973    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
974    | -silent | --silent | --silen | --sile | --sil)
975      continue ;;
976    *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
977      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
978    esac
979    case $ac_pass in
980    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
981    2)
982      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
983      if test $ac_must_keep_next = true; then
984  ac_must_keep_next=false # Got value, back to normal.
985      else
986  case $ac_arg in
987    *=* | --config-cache | -C | -disable-* | --disable-* \
988    | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
989    | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
990    | -with-* | --with-* | -without-* | --without-* | --x)
991      case "$ac_configure_args0 " in
992        "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
993      esac
994      ;;
995    -* ) ac_must_keep_next=true ;;
996  esac
997      fi
998      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
999      # Get rid of the leading space.
1000      ac_sep=" "
1001      ;;
1002    esac
1003  done
1004done
1005$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1006$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1007
1008# When interrupted or exit'd, cleanup temporary files, and complete
1009# config.log.  We remove comments because anyway the quotes in there
1010# would cause problems or look ugly.
1011# WARNING: Be sure not to use single quotes in there, as some shells,
1012# such as our DU 5.0 friend, will then `close' the trap.
1013trap 'exit_status=$?
1014  # Save into config.log some information that might help in debugging.
1015  {
1016    echo
1017
1018    cat <<\_ASBOX
1019## ---------------- ##
1020## Cache variables. ##
1021## ---------------- ##
1022_ASBOX
1023    echo
1024    # The following way of writing the cache mishandles newlines in values,
1025{
1026  (set) 2>&1 |
1027    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1028    *ac_space=\ *)
1029      sed -n \
1030  "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1031    s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1032      ;;
1033    *)
1034      sed -n \
1035  "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1036      ;;
1037    esac;
1038}
1039    echo
1040
1041    cat <<\_ASBOX
1042## ----------------- ##
1043## Output variables. ##
1044## ----------------- ##
1045_ASBOX
1046    echo
1047    for ac_var in $ac_subst_vars
1048    do
1049      eval ac_val=$`echo $ac_var`
1050      echo "$ac_var='"'"'$ac_val'"'"'"
1051    done | sort
1052    echo
1053
1054    if test -n "$ac_subst_files"; then
1055      cat <<\_ASBOX
1056## ------------- ##
1057## Output files. ##
1058## ------------- ##
1059_ASBOX
1060      echo
1061      for ac_var in $ac_subst_files
1062      do
1063  eval ac_val=$`echo $ac_var`
1064  echo "$ac_var='"'"'$ac_val'"'"'"
1065      done | sort
1066      echo
1067    fi
1068
1069    if test -s confdefs.h; then
1070      cat <<\_ASBOX
1071## ----------- ##
1072## confdefs.h. ##
1073## ----------- ##
1074_ASBOX
1075      echo
1076      sed "/^$/d" confdefs.h | sort
1077      echo
1078    fi
1079    test "$ac_signal" != 0 &&
1080      echo "$as_me: caught signal $ac_signal"
1081    echo "$as_me: exit $exit_status"
1082  } >&5
1083  rm -f core *.core &&
1084  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1085    exit $exit_status
1086     ' 0
1087for ac_signal in 1 2 13 15; do
1088  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1089done
1090ac_signal=0
1091
1092# confdefs.h avoids OS command line length limits that DEFS can exceed.
1093rm -rf conftest* confdefs.h
1094# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1095echo >confdefs.h
1096
1097# Predefined preprocessor variables.
1098
1099cat >>confdefs.h <<_ACEOF
1100#define PACKAGE_NAME "$PACKAGE_NAME"
1101_ACEOF
1102
1103
1104cat >>confdefs.h <<_ACEOF
1105#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1106_ACEOF
1107
1108
1109cat >>confdefs.h <<_ACEOF
1110#define PACKAGE_VERSION "$PACKAGE_VERSION"
1111_ACEOF
1112
1113
1114cat >>confdefs.h <<_ACEOF
1115#define PACKAGE_STRING "$PACKAGE_STRING"
1116_ACEOF
1117
1118
1119cat >>confdefs.h <<_ACEOF
1120#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1121_ACEOF
1122
1123
1124# Let the site file select an alternate cache file if it wants to.
1125# Prefer explicitly selected file to automatically selected ones.
1126if test -z "$CONFIG_SITE"; then
1127  if test "x$prefix" != xNONE; then
1128    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1129  else
1130    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1131  fi
1132fi
1133for ac_site_file in $CONFIG_SITE; do
1134  if test -r "$ac_site_file"; then
1135    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1136echo "$as_me: loading site script $ac_site_file" >&6;}
1137    sed 's/^/| /' "$ac_site_file" >&5
1138    . "$ac_site_file"
1139  fi
1140done
1141
1142if test -r "$cache_file"; then
1143  # Some versions of bash will fail to source /dev/null (special
1144  # files actually), so we avoid doing that.
1145  if test -f "$cache_file"; then
1146    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1147echo "$as_me: loading cache $cache_file" >&6;}
1148    case $cache_file in
1149      [\\/]* | ?:[\\/]* ) . $cache_file;;
1150      *)                      . ./$cache_file;;
1151    esac
1152  fi
1153else
1154  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1155echo "$as_me: creating cache $cache_file" >&6;}
1156  >$cache_file
1157fi
1158
1159# Check that the precious variables saved in the cache have kept the same
1160# value.
1161ac_cache_corrupted=false
1162for ac_var in `(set) 2>&1 |
1163         sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1164  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1165  eval ac_new_set=\$ac_env_${ac_var}_set
1166  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1167  eval ac_new_val="\$ac_env_${ac_var}_value"
1168  case $ac_old_set,$ac_new_set in
1169    set,)
1170      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1171echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1172      ac_cache_corrupted=: ;;
1173    ,set)
1174      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1175echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1176      ac_cache_corrupted=: ;;
1177    ,);;
1178    *)
1179      if test "x$ac_old_val" != "x$ac_new_val"; then
1180  { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1181echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1182  { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1183echo "$as_me:   former value:  $ac_old_val" >&2;}
1184  { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1185echo "$as_me:   current value: $ac_new_val" >&2;}
1186  ac_cache_corrupted=:
1187      fi;;
1188  esac
1189  # Pass precious variables to config.status.
1190  if test "$ac_new_set" = set; then
1191    case $ac_new_val in
1192    *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1193      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1194    *) ac_arg=$ac_var=$ac_new_val ;;
1195    esac
1196    case " $ac_configure_args " in
1197      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1198      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1199    esac
1200  fi
1201done
1202if $ac_cache_corrupted; then
1203  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1204echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1205  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1206echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1207   { (exit 1); exit 1; }; }
1208fi
1209
1210ac_ext=c
1211ac_cpp='$CPP $CPPFLAGS'
1212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1214ac_compiler_gnu=$ac_cv_c_compiler_gnu
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235ac_aux_dir=
1236for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1237  if test -f $ac_dir/install-sh; then
1238    ac_aux_dir=$ac_dir
1239    ac_install_sh="$ac_aux_dir/install-sh -c"
1240    break
1241  elif test -f $ac_dir/install.sh; then
1242    ac_aux_dir=$ac_dir
1243    ac_install_sh="$ac_aux_dir/install.sh -c"
1244    break
1245  elif test -f $ac_dir/shtool; then
1246    ac_aux_dir=$ac_dir
1247    ac_install_sh="$ac_aux_dir/shtool install -c"
1248    break
1249  fi
1250done
1251if test -z "$ac_aux_dir"; then
1252  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1253echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1254   { (exit 1); exit 1; }; }
1255fi
1256ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1257ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1258ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1259
1260# Find a good install program.  We prefer a C program (faster),
1261# so one script is as good as another.  But avoid the broken or
1262# incompatible versions:
1263# SysV /etc/install, /usr/sbin/install
1264# SunOS /usr/etc/install
1265# IRIX /sbin/install
1266# AIX /bin/install
1267# AmigaOS /C/install, which installs bootblocks on floppy discs
1268# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1269# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1270# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1271# OS/2's system install, which has a completely different semantic
1272# ./install, which can be erroneously created by make from ./install.sh.
1273echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1274echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1275if test -z "$INSTALL"; then
1276if test "${ac_cv_path_install+set}" = set; then
1277  echo $ECHO_N "(cached) $ECHO_C" >&6
1278else
1279  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1280for as_dir in $PATH
1281do
1282  IFS=$as_save_IFS
1283  test -z "$as_dir" && as_dir=.
1284  # Account for people who put trailing slashes in PATH elements.
1285case $as_dir/ in
1286  ./ | .// | /cC/* | \
1287  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1288  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1289  /usr/ucb/* ) ;;
1290  *)
1291    # OSF1 and SCO ODT 3.0 have their own names for install.
1292    # Don't use installbsd from OSF since it installs stuff as root
1293    # by default.
1294    for ac_prog in ginstall scoinst install; do
1295      for ac_exec_ext in '' $ac_executable_extensions; do
1296  if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1297    if test $ac_prog = install &&
1298      grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1299      # AIX install.  It has an incompatible calling convention.
1300      :
1301    elif test $ac_prog = install &&
1302      grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1303      # program-specific install script used by HP pwplus--don't use.
1304      :
1305    else
1306      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1307      break 3
1308    fi
1309  fi
1310      done
1311    done
1312    ;;
1313esac
1314done
1315
1316
1317fi
1318  if test "${ac_cv_path_install+set}" = set; then
1319    INSTALL=$ac_cv_path_install
1320  else
1321    # As a last resort, use the slow shell script.  We don't cache a
1322    # path for INSTALL within a source directory, because that will
1323    # break other packages using the cache if that directory is
1324    # removed, or if the path is relative.
1325    INSTALL=$ac_install_sh
1326  fi
1327fi
1328echo "$as_me:$LINENO: result: $INSTALL" >&5
1329echo "${ECHO_T}$INSTALL" >&6
1330
1331# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1332# It thinks the first close brace ends the variable substitution.
1333test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1334
1335test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1336
1337test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1338
1339
1340version=0.20.2.6+
1341
1342
1343if test $OSTYPE = cygwin32 || test $OSTYPE = cygwin ; then
1344    CYGWIN=yes
1345    PATHSEP=";"
1346else
1347    PATHSEP=":"
1348fi
1349
1350
1351
1352
1353case "${srcdir}" in
1354    /*)
1355        ;;
1356    .)
1357        unset CDPATH
1358        if test "${PWD}" != "" && test "`(cd ${PWD}; sh -c pwd)`" = "`pwd`"; then
1359            srcdir="$PWD"
1360        else
1361            srcdir="`(cd ${srcdir}; pwd)`"
1362        fi
1363        ;;
1364    *)
1365        srcdir="`(cd ${srcdir}; pwd)`"
1366        ;;
1367esac
1368
1369
1370
1371# Check whether --with-jdk or --without-jdk was given.
1372if test "${with_jdk+set}" = set; then
1373  withval="$with_jdk"
1374
1375    JDK=${with_jdk}
1376
1377else
1378
1379    { { echo "$as_me:$LINENO: error: no jdk specified; use --with-jdk" >&5
1380echo "$as_me: error: no jdk specified; use --with-jdk" >&2;}
1381   { (exit 1); exit 1; }; }
1382
1383fi;
1384
1385JDK=`echo $JDK | sed -e 's/\/$//'`
1386
1387if test -x $JDK/bin/java; then
1388    JAVA=$JDK/bin/java;
1389elif test -x $JDK/jre/bin/java; then
1390    JAVA=$JDK/jre/bin/java;
1391elif test -x $JDK/Home/bin/java; then
1392    JAVA=$JDK/Home/bin/java;
1393else
1394    { { echo "$as_me:$LINENO: error: Java not found" >&5
1395echo "$as_me: error: Java not found" >&2;}
1396   { (exit 1); exit 1; }; }
1397fi
1398
1399
1400
1401
1402echo "$as_me:$LINENO: checking Java version" >&5
1403echo $ECHO_N "checking Java version... $ECHO_C" >&6
1404JAVA_VERSION=`$JAVA -version 2>&1`
1405
1406case "$JAVA_VERSION" in
1407    java*1.1*)
1408        { { echo "$as_me:$LINENO: error: Java 1.4 or later is required" >&5
1409echo "$as_me: error: Java 1.4 or later is required" >&2;}
1410   { (exit 1); exit 1; }; }
1411        ;;
1412    java*1.2.*)
1413        { { echo "$as_me:$LINENO: error: Java 1.4 or later is required" >&5
1414echo "$as_me: error: Java 1.4 or later is required" >&2;}
1415   { (exit 1); exit 1; }; }
1416        ;;
1417    java*1.3*)
1418        { { echo "$as_me:$LINENO: error: Java 1.4 or later is required" >&5
1419echo "$as_me: error: Java 1.4 or later is required" >&2;}
1420   { (exit 1); exit 1; }; }
1421        ;;
1422    java*1.4*)
1423        echo "$as_me:$LINENO: result: $JAVA_VERSION" >&5
1424echo "${ECHO_T}$JAVA_VERSION" >&6
1425        ;;
1426    *)
1427        { { echo "$as_me:$LINENO: error: unknown Java version" >&5
1428echo "$as_me: error: unknown Java version" >&2;}
1429   { (exit 1); exit 1; }; }
1430        ;;
1431esac
1432
1433
1434
1435test -z "$JAVAC" && for ac_prog in jikes
1436do
1437  # Extract the first word of "$ac_prog", so it can be a program name with args.
1438set dummy $ac_prog; ac_word=$2
1439echo "$as_me:$LINENO: checking for $ac_word" >&5
1440echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1441if test "${ac_cv_prog_JAVAC+set}" = set; then
1442  echo $ECHO_N "(cached) $ECHO_C" >&6
1443else
1444  if test -n "$JAVAC"; then
1445  ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
1446else
1447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1448for as_dir in $PATH
1449do
1450  IFS=$as_save_IFS
1451  test -z "$as_dir" && as_dir=.
1452  for ac_exec_ext in '' $ac_executable_extensions; do
1453  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1454    ac_cv_prog_JAVAC="$ac_prog"
1455    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1456    break 2
1457  fi
1458done
1459done
1460
1461fi
1462fi
1463JAVAC=$ac_cv_prog_JAVAC
1464if test -n "$JAVAC"; then
1465  echo "$as_me:$LINENO: result: $JAVAC" >&5
1466echo "${ECHO_T}$JAVAC" >&6
1467else
1468  echo "$as_me:$LINENO: result: no" >&5
1469echo "${ECHO_T}no" >&6
1470fi
1471
1472  test -n "$JAVAC" && break
1473done
1474
1475test -z "$JAVAC" && test -x $JDK/Home/bin/javac && JAVAC=$JDK/Home/bin/javac
1476test -z "$JAVAC" && JAVAC=$JDK/bin/javac
1477if test "$JAVAC" = jikes; then
1478    JAVACFLAGS="+D +F"
1479fi
1480
1481
1482
1483
1484test -z "$JAR" && for ac_prog in fastjar
1485do
1486  # Extract the first word of "$ac_prog", so it can be a program name with args.
1487set dummy $ac_prog; ac_word=$2
1488echo "$as_me:$LINENO: checking for $ac_word" >&5
1489echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1490if test "${ac_cv_prog_JAR+set}" = set; then
1491  echo $ECHO_N "(cached) $ECHO_C" >&6
1492else
1493  if test -n "$JAR"; then
1494  ac_cv_prog_JAR="$JAR" # Let the user override the test.
1495else
1496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1497for as_dir in $PATH
1498do
1499  IFS=$as_save_IFS
1500  test -z "$as_dir" && as_dir=.
1501  for ac_exec_ext in '' $ac_executable_extensions; do
1502  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1503    ac_cv_prog_JAR="$ac_prog"
1504    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1505    break 2
1506  fi
1507done
1508done
1509
1510fi
1511fi
1512JAR=$ac_cv_prog_JAR
1513if test -n "$JAR"; then
1514  echo "$as_me:$LINENO: result: $JAR" >&5
1515echo "${ECHO_T}$JAR" >&6
1516else
1517  echo "$as_me:$LINENO: result: no" >&5
1518echo "${ECHO_T}no" >&6
1519fi
1520
1521  test -n "$JAR" && break
1522done
1523
1524test -z "$JAR" && test -x $JDK/Home/bin/jar && JAR=$JDK/Home/bin/jar
1525test -z "$JAR" && JAR=$JDK/bin/jar
1526
1527
1528
1529if test -f $JDK/jre/lib/rt.jar ; then
1530    # SUN
1531    JAVA_RUNTIME=$JDK/jre/lib/rt.jar
1532    ABL_JAVA_RUNTIME=$JAVA_RUNTIME
1533    ABL_JAVA_OPTIONS=""
1534elif test -f $JDK/jre/lib/core.jar ; then
1535    # IBM
1536    JAVA_RUNTIME=""
1537    for i in $JDK/jre/lib/*.jar ; do JAVA_RUNTIME=$JAVA_RUNTIME:$i ; done
1538    ABL_JAVA_RUNTIME=$JAVA_RUNTIME
1539    ABL_JAVA_OPTIONS="-Xss512K"
1540elif test -d $JDK/Classes ; then
1541    # Mac OS X
1542    JAVA_RUNTIME=""
1543    for i in $JDK/Classes/*.jar ; do JAVA_RUNTIME=$JAVA_RUNTIME:$i ; done
1544    ABL_JAVA_RUNTIME=$JAVA_RUNTIME
1545    ABL_JAVA_OPTIONS=""
1546else
1547    { { echo "$as_me:$LINENO: error: unable to find Java runtime" >&5
1548echo "$as_me: error: unable to find Java runtime" >&2;}
1549   { (exit 1); exit 1; }; }
1550fi
1551if test -f $JDK/lib/tools.jar ; then
1552    JAVA_RUNTIME=$JAVA_RUNTIME:$JDK/lib/tools.jar
1553fi
1554
1555
1556
1557
1558
1559test "x$prefix" = xNONE && prefix=/usr/local
1560
1561
1562eval "datadir=$datadir"
1563
1564
1565
1566JPATH=$srcdir/src:$datadir/j/j.jar
1567
1568LISP_HOME=$srcdir/src/org/armedbear/lisp
1569
1570
1571CP="-cp"
1572CLASSPATH="$JPATH:$JDK/lib/tools.jar"
1573ABL_CLASSPATH=$JPATH
1574
1575
1576
1577
1578COMPILER_CLASSPATH="$srcdir/src:$JAVA_RUNTIME"
1579
1580
1581
1582# Check whether --with-options or --without-options was given.
1583if test "${with_options+set}" = set; then
1584  withval="$with_options"
1585
1586    JAVA_OPTIONS=${with_options}
1587
1588fi;
1589
1590
1591
1592# Check whether --with-extensions or --without-extensions was given.
1593if test "${with_extensions+set}" = set; then
1594  withval="$with_extensions"
1595
1596    EXTENSIONS=${with_extensions}
1597
1598fi;
1599
1600if test $EXTENSIONS; then
1601    CLASSPATH="$CLASSPATH:$EXTENSIONS"
1602    COMPILER_CLASSPATH="$COMPILER_CLASSPATH:$EXTENSIONS"
1603fi
1604
1605if test $CYGWIN; then
1606    JAVA_RUNTIME=`cygpath -p -w $JAVA_RUNTIME`
1607    CLASSPATH=`cygpath -p -w $CLASSPATH`
1608    COMPILER_CLASSPATH=`cygpath -p -w $COMPILER_CLASSPATH`
1609fi
1610
1611
1612# Check whether --enable-jpty or --disable-jpty was given.
1613if test "${enable_jpty+set}" = set; then
1614  enableval="$enable_jpty"
1615
1616fi;
1617
1618if test "$enable_jpty" = "yes"; then
1619    if test $CYGWIN; then
1620        JPTY=jpty.exe
1621    else
1622        JPTY=jpty
1623    fi
1624fi
1625
1626
1627
1628
1629# Check whether --enable-debug or --disable-debug was given.
1630if test "${enable_debug+set}" = set; then
1631  enableval="$enable_debug"
1632
1633fi;
1634
1635if test "$enable_debug" = "yes"; then
1636    JAVACFLAGS="$JAVACFLAGS -g"
1637else
1638    JAVACFLAGS="$JAVACFLAGS -g:none"
1639fi
1640
1641
1642                                                                                                                                  ac_config_files="$ac_config_files Makefile src/Makefile src/jpty/Makefile src/gnu/regexp/Makefile src/org/armedbear/j/Makefile src/org/armedbear/j/version src/org/armedbear/j/mail/Makefile src/org/armedbear/j/jdb/Makefile src/org/armedbear/lisp/Makefile src/org/armedbear/lisp/java/awt/Makefile src/org/armedbear/lisp/Site.java j abl"
1643
1644
1645          ac_config_commands="$ac_config_commands chmod"
1646
1647
1648cat >confcache <<\_ACEOF
1649# This file is a shell script that caches the results of configure
1650# tests run on this system so they can be shared between configure
1651# scripts and configure runs, see configure's option --config-cache.
1652# It is not useful on other systems.  If it contains results you don't
1653# want to keep, you may remove or edit it.
1654#
1655# config.status only pays attention to the cache file if you give it
1656# the --recheck option to rerun configure.
1657#
1658# `ac_cv_env_foo' variables (set or unset) will be overridden when
1659# loading this file, other *unset* `ac_cv_foo' will be assigned the
1660# following values.
1661
1662_ACEOF
1663
1664# The following way of writing the cache mishandles newlines in values,
1665# but we know of no workaround that is simple, portable, and efficient.
1666# So, don't put newlines in cache variables' values.
1667# Ultrix sh set writes to stderr and can't be redirected directly,
1668# and sets the high bit in the cache file unless we assign to the vars.
1669{
1670  (set) 2>&1 |
1671    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1672    *ac_space=\ *)
1673      # `set' does not quote correctly, so add quotes (double-quote
1674      # substitution turns \\\\ into \\, and sed turns \\ into \).
1675      sed -n \
1676  "s/'/'\\\\''/g;
1677    s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1678      ;;
1679    *)
1680      # `set' quotes correctly as required by POSIX, so do not add quotes.
1681      sed -n \
1682  "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1683      ;;
1684    esac;
1685} |
1686  sed '
1687     t clear
1688     : clear
1689     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1690     t end
1691     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1692     : end' >>confcache
1693if diff $cache_file confcache >/dev/null 2>&1; then :; else
1694  if test -w $cache_file; then
1695    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1696    cat confcache >$cache_file
1697  else
1698    echo "not updating unwritable cache $cache_file"
1699  fi
1700fi
1701rm -f confcache
1702
1703test "x$prefix" = xNONE && prefix=$ac_default_prefix
1704# Let make expand exec_prefix.
1705test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1706
1707# VPATH may cause trouble with some makes, so we remove $(srcdir),
1708# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1709# trailing colons and then remove the whole line if VPATH becomes empty
1710# (actually we leave an empty line to preserve line numbers).
1711if test "x$srcdir" = x.; then
1712  ac_vpsub='/^[  ]*VPATH[  ]*=/{
1713s/:*\$(srcdir):*/:/;
1714s/:*\${srcdir}:*/:/;
1715s/:*@srcdir@:*/:/;
1716s/^\([^=]*=[   ]*\):*/\1/;
1717s/:*$//;
1718s/^[^=]*=[   ]*$//;
1719}'
1720fi
1721
1722# Transform confdefs.h into DEFS.
1723# Protect against shell expansion while executing Makefile rules.
1724# Protect against Makefile macro expansion.
1725#
1726# If the first sed substitution is executed (which looks for macros that
1727# take arguments), then we branch to the quote section.  Otherwise,
1728# look for a macro that doesn't take arguments.
1729cat >confdef2opt.sed <<\_ACEOF
1730t clear
1731: clear
1732s,^[   ]*#[  ]*define[   ][  ]*\([^  (][^  (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1733t quote
1734s,^[   ]*#[  ]*define[   ][  ]*\([^  ][^   ]*\)[   ]*\(.*\),-D\1=\2,g
1735t quote
1736d
1737: quote
1738s,[  `~#$^&*(){}\\|;'"<>?],\\&,g
1739s,\[,\\&,g
1740s,\],\\&,g
1741s,\$,$$,g
1742p
1743_ACEOF
1744# We use echo to avoid assuming a particular line-breaking character.
1745# The extra dot is to prevent the shell from consuming trailing
1746# line-breaks from the sub-command output.  A line-break within
1747# single-quotes doesn't work because, if this script is created in a
1748# platform that uses two characters for line-breaks (e.g., DOS), tr
1749# would break.
1750ac_LF_and_DOT=`echo; echo .`
1751DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1752rm -f confdef2opt.sed
1753
1754
1755ac_libobjs=
1756ac_ltlibobjs=
1757for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1758  # 1. Remove the extension, and $U if already installed.
1759  ac_i=`echo "$ac_i" |
1760   sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1761  # 2. Add them.
1762  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1763  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1764done
1765LIBOBJS=$ac_libobjs
1766
1767LTLIBOBJS=$ac_ltlibobjs
1768
1769
1770
1771: ${CONFIG_STATUS=./config.status}
1772ac_clean_files_save=$ac_clean_files
1773ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1774{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1775echo "$as_me: creating $CONFIG_STATUS" >&6;}
1776cat >$CONFIG_STATUS <<_ACEOF
1777#! $SHELL
1778# Generated by $as_me.
1779# Run this file to recreate the current configuration.
1780# Compiler output produced by configure, useful for debugging
1781# configure, is in config.log if it exists.
1782
1783debug=false
1784ac_cs_recheck=false
1785ac_cs_silent=false
1786SHELL=\${CONFIG_SHELL-$SHELL}
1787_ACEOF
1788
1789cat >>$CONFIG_STATUS <<\_ACEOF
1790## --------------------- ##
1791## M4sh Initialization.  ##
1792## --------------------- ##
1793
1794# Be Bourne compatible
1795if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1796  emulate sh
1797  NULLCMD=:
1798  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1799  # is contrary to our usage.  Disable this feature.
1800  alias -g '${1+"$@"}'='"$@"'
1801elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1802  set -o posix
1803fi
1804DUALCASE=1; export DUALCASE # for MKS sh
1805
1806# Support unset when possible.
1807if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1808  as_unset=unset
1809else
1810  as_unset=false
1811fi
1812
1813
1814# Work around bugs in pre-3.0 UWIN ksh.
1815$as_unset ENV MAIL MAILPATH
1816PS1='$ '
1817PS2='> '
1818PS4='+ '
1819
1820# NLS nuisances.
1821for as_var in \
1822  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1823  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1824  LC_TELEPHONE LC_TIME
1825do
1826  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1827    eval $as_var=C; export $as_var
1828  else
1829    $as_unset $as_var
1830  fi
1831done
1832
1833# Required to use basename.
1834if expr a : '\(a\)' >/dev/null 2>&1; then
1835  as_expr=expr
1836else
1837  as_expr=false
1838fi
1839
1840if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1841  as_basename=basename
1842else
1843  as_basename=false
1844fi
1845
1846
1847# Name of the executable.
1848as_me=`$as_basename "$0" ||
1849$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1850   X"$0" : 'X\(//\)$' \| \
1851   X"$0" : 'X\(/\)$' \| \
1852   .     : '\(.\)' 2>/dev/null ||
1853echo X/"$0" |
1854    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1855      /^X\/\(\/\/\)$/{ s//\1/; q; }
1856      /^X\/\(\/\).*/{ s//\1/; q; }
1857      s/.*/./; q'`
1858
1859
1860# PATH needs CR, and LINENO needs CR and PATH.
1861# Avoid depending upon Character Ranges.
1862as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1863as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1864as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1865as_cr_digits='0123456789'
1866as_cr_alnum=$as_cr_Letters$as_cr_digits
1867
1868# The user is always right.
1869if test "${PATH_SEPARATOR+set}" != set; then
1870  echo "#! /bin/sh" >conf$$.sh
1871  echo  "exit 0"   >>conf$$.sh
1872  chmod +x conf$$.sh
1873  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1874    PATH_SEPARATOR=';'
1875  else
1876    PATH_SEPARATOR=:
1877  fi
1878  rm -f conf$$.sh
1879fi
1880
1881
1882  as_lineno_1=$LINENO
1883  as_lineno_2=$LINENO
1884  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1885  test "x$as_lineno_1" != "x$as_lineno_2" &&
1886  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1887  # Find who we are.  Look in the path if we contain no path at all
1888  # relative or not.
1889  case $0 in
1890    *[\\/]* ) as_myself=$0 ;;
1891    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892for as_dir in $PATH
1893do
1894  IFS=$as_save_IFS
1895  test -z "$as_dir" && as_dir=.
1896  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1897done
1898
1899       ;;
1900  esac
1901  # We did not find ourselves, most probably we were run as `sh COMMAND'
1902  # in which case we are not to be found in the path.
1903  if test "x$as_myself" = x; then
1904    as_myself=$0
1905  fi
1906  if test ! -f "$as_myself"; then
1907    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1908echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1909   { (exit 1); exit 1; }; }
1910  fi
1911  case $CONFIG_SHELL in
1912  '')
1913    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1915do
1916  IFS=$as_save_IFS
1917  test -z "$as_dir" && as_dir=.
1918  for as_base in sh bash ksh sh5; do
1919   case $as_dir in
1920   /*)
1921     if ("$as_dir/$as_base" -c '
1922  as_lineno_1=$LINENO
1923  as_lineno_2=$LINENO
1924  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1925  test "x$as_lineno_1" != "x$as_lineno_2" &&
1926  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1927       $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1928       $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1929       CONFIG_SHELL=$as_dir/$as_base
1930       export CONFIG_SHELL
1931       exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1932     fi;;
1933   esac
1934       done
1935done
1936;;
1937  esac
1938
1939  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1940  # uniformly replaced by the line number.  The first 'sed' inserts a
1941  # line-number line before each line; the second 'sed' does the real
1942  # work.  The second script uses 'N' to pair each line-number line
1943  # with the numbered line, and appends trailing '-' during
1944  # substitution so that $LINENO is not a special case at line end.
1945  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1946  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1947  sed '=' <$as_myself |
1948    sed '
1949      N
1950      s,$,-,
1951      : loop
1952      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1953      t loop
1954      s,-$,,
1955      s,^['$as_cr_digits']*\n,,
1956    ' >$as_me.lineno &&
1957  chmod +x $as_me.lineno ||
1958    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1959echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1960   { (exit 1); exit 1; }; }
1961
1962  # Don't try to exec as it changes $[0], causing all sort of problems
1963  # (the dirname of $[0] is not the place where we might find the
1964  # original and so on.  Autoconf is especially sensible to this).
1965  . ./$as_me.lineno
1966  # Exit status is that of the last command.
1967  exit
1968}
1969
1970
1971case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1972  *c*,-n*) ECHO_N= ECHO_C='
1973' ECHO_T='  ' ;;
1974  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1975  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1976esac
1977
1978if expr a : '\(a\)' >/dev/null 2>&1; then
1979  as_expr=expr
1980else
1981  as_expr=false
1982fi
1983
1984rm -f conf$$ conf$$.exe conf$$.file
1985echo >conf$$.file
1986if ln -s conf$$.file conf$$ 2>/dev/null; then
1987  # We could just check for DJGPP; but this test a) works b) is more generic
1988  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1989  if test -f conf$$.exe; then
1990    # Don't use ln at all; we don't have any links
1991    as_ln_s='cp -p'
1992  else
1993    as_ln_s='ln -s'
1994  fi
1995elif ln conf$$.file conf$$ 2>/dev/null; then
1996  as_ln_s=ln
1997else
1998  as_ln_s='cp -p'
1999fi
2000rm -f conf$$ conf$$.exe conf$$.file
2001
2002if mkdir -p . 2>/dev/null; then
2003  as_mkdir_p=:
2004else
2005  test -d ./-p && rmdir ./-p
2006  as_mkdir_p=false
2007fi
2008
2009as_executable_p="test -f"
2010
2011# Sed expression to map a string onto a valid CPP name.
2012as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2013
2014# Sed expression to map a string onto a valid variable name.
2015as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2016
2017
2018# IFS
2019# We need space, tab and new line, in precisely that order.
2020as_nl='
2021'
2022IFS="   $as_nl"
2023
2024# CDPATH.
2025$as_unset CDPATH
2026
2027exec 6>&1
2028
2029# Open the log real soon, to keep \$[0] and so on meaningful, and to
2030# report actual input values of CONFIG_FILES etc. instead of their
2031# values after options handling.  Logging --version etc. is OK.
2032exec 5>>config.log
2033{
2034  echo
2035  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2036## Running $as_me. ##
2037_ASBOX
2038} >&5
2039cat >&5 <<_CSEOF
2040
2041This file was extended by $as_me, which was
2042generated by GNU Autoconf 2.58.  Invocation command line was
2043
2044  CONFIG_FILES    = $CONFIG_FILES
2045  CONFIG_HEADERS  = $CONFIG_HEADERS
2046  CONFIG_LINKS    = $CONFIG_LINKS
2047  CONFIG_COMMANDS = $CONFIG_COMMANDS
2048  $ $0 $@
2049
2050_CSEOF
2051echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2052echo >&5
2053_ACEOF
2054
2055# Files that config.status was made for.
2056if test -n "$ac_config_files"; then
2057  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2058fi
2059
2060if test -n "$ac_config_headers"; then
2061  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2062fi
2063
2064if test -n "$ac_config_links"; then
2065  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2066fi
2067
2068if test -n "$ac_config_commands"; then
2069  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2070fi
2071
2072cat >>$CONFIG_STATUS <<\_ACEOF
2073
2074ac_cs_usage="\
2075\`$as_me' instantiates files from templates according to the
2076current configuration.
2077
2078Usage: $0 [OPTIONS] [FILE]...
2079
2080  -h, --help       print this help, then exit
2081  -V, --version    print version number, then exit
2082  -q, --quiet      do not print progress messages
2083  -d, --debug      don't remove temporary files
2084      --recheck    update $as_me by reconfiguring in the same conditions
2085  --file=FILE[:TEMPLATE]
2086       instantiate the configuration file FILE
2087
2088Configuration files:
2089$config_files
2090
2091Configuration commands:
2092$config_commands
2093
2094Report bugs to <bug-autoconf@gnu.org>."
2095_ACEOF
2096
2097cat >>$CONFIG_STATUS <<_ACEOF
2098ac_cs_version="\\
2099config.status
2100configured by $0, generated by GNU Autoconf 2.58,
2101  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2102
2103Copyright (C) 2003 Free Software Foundation, Inc.
2104This config.status script is free software; the Free Software Foundation
2105gives unlimited permission to copy, distribute and modify it."
2106srcdir=$srcdir
2107INSTALL="$INSTALL"
2108_ACEOF
2109
2110cat >>$CONFIG_STATUS <<\_ACEOF
2111# If no file are specified by the user, then we need to provide default
2112# value.  By we need to know if files were specified by the user.
2113ac_need_defaults=:
2114while test $# != 0
2115do
2116  case $1 in
2117  --*=*)
2118    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2119    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2120    ac_shift=:
2121    ;;
2122  -*)
2123    ac_option=$1
2124    ac_optarg=$2
2125    ac_shift=shift
2126    ;;
2127  *) # This is not an option, so the user has probably given explicit
2128     # arguments.
2129     ac_option=$1
2130     ac_need_defaults=false;;
2131  esac
2132
2133  case $ac_option in
2134  # Handling of the options.
2135_ACEOF
2136cat >>$CONFIG_STATUS <<\_ACEOF
2137  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2138    ac_cs_recheck=: ;;
2139  --version | --vers* | -V )
2140    echo "$ac_cs_version"; exit 0 ;;
2141  --he | --h)
2142    # Conflict between --help and --header
2143    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2144Try \`$0 --help' for more information." >&5
2145echo "$as_me: error: ambiguous option: $1
2146Try \`$0 --help' for more information." >&2;}
2147   { (exit 1); exit 1; }; };;
2148  --help | --hel | -h )
2149    echo "$ac_cs_usage"; exit 0 ;;
2150  --debug | --d* | -d )
2151    debug=: ;;
2152  --file | --fil | --fi | --f )
2153    $ac_shift
2154    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2155    ac_need_defaults=false;;
2156  --header | --heade | --head | --hea )
2157    $ac_shift
2158    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2159    ac_need_defaults=false;;
2160  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2161  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2162    ac_cs_silent=: ;;
2163
2164  # This is an error.
2165  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2166Try \`$0 --help' for more information." >&5
2167echo "$as_me: error: unrecognized option: $1
2168Try \`$0 --help' for more information." >&2;}
2169   { (exit 1); exit 1; }; } ;;
2170
2171  *) ac_config_targets="$ac_config_targets $1" ;;
2172
2173  esac
2174  shift
2175done
2176
2177ac_configure_extra_args=
2178
2179if $ac_cs_silent; then
2180  exec 6>/dev/null
2181  ac_configure_extra_args="$ac_configure_extra_args --silent"
2182fi
2183
2184_ACEOF
2185cat >>$CONFIG_STATUS <<_ACEOF
2186if \$ac_cs_recheck; then
2187  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2188  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2189fi
2190
2191_ACEOF
2192
2193
2194
2195
2196
2197cat >>$CONFIG_STATUS <<\_ACEOF
2198for ac_config_target in $ac_config_targets
2199do
2200  case "$ac_config_target" in
2201  # Handling of arguments.
2202  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2203  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
2204  "src/jpty/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/jpty/Makefile" ;;
2205  "src/gnu/regexp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnu/regexp/Makefile" ;;
2206  "src/org/armedbear/j/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/Makefile" ;;
2207  "src/org/armedbear/j/version" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/version" ;;
2208  "src/org/armedbear/j/mail/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/mail/Makefile" ;;
2209  "src/org/armedbear/j/jdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/jdb/Makefile" ;;
2210  "src/org/armedbear/lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/lisp/Makefile" ;;
2211  "src/org/armedbear/lisp/java/awt/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/lisp/java/awt/Makefile" ;;
2212  "src/org/armedbear/lisp/Site.java" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/lisp/Site.java" ;;
2213  "j" ) CONFIG_FILES="$CONFIG_FILES j" ;;
2214  "abl" ) CONFIG_FILES="$CONFIG_FILES abl" ;;
2215  "chmod" ) CONFIG_COMMANDS="$CONFIG_COMMANDS chmod" ;;
2216  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2217echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2218   { (exit 1); exit 1; }; };;
2219  esac
2220done
2221
2222# If the user did not use the arguments to specify the items to instantiate,
2223# then the envvar interface is used.  Set only those that are not.
2224# We use the long form for the default assignment because of an extremely
2225# bizarre bug on SunOS 4.1.3.
2226if $ac_need_defaults; then
2227  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2228  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2229fi
2230
2231# Have a temporary directory for convenience.  Make it in the build tree
2232# simply because there is no reason to put it here, and in addition,
2233# creating and moving files from /tmp can sometimes cause problems.
2234# Create a temporary directory, and hook for its removal unless debugging.
2235$debug ||
2236{
2237  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2238  trap '{ (exit 1); exit 1; }' 1 2 13 15
2239}
2240
2241# Create a (secure) tmp directory for tmp files.
2242
2243{
2244  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2245  test -n "$tmp" && test -d "$tmp"
2246}  ||
2247{
2248  tmp=./confstat$$-$RANDOM
2249  (umask 077 && mkdir $tmp)
2250} ||
2251{
2252   echo "$me: cannot create a temporary directory in ." >&2
2253   { (exit 1); exit 1; }
2254}
2255
2256_ACEOF
2257
2258cat >>$CONFIG_STATUS <<_ACEOF
2259
2260#
2261# CONFIG_FILES section.
2262#
2263
2264# No need to generate the scripts if there are no CONFIG_FILES.
2265# This happens for instance when ./config.status config.h
2266if test -n "\$CONFIG_FILES"; then
2267  # Protect against being on the right side of a sed subst in config.status.
2268  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2269   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2270s,@SHELL@,$SHELL,;t t
2271s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2272s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2273s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2274s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2275s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2276s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2277s,@exec_prefix@,$exec_prefix,;t t
2278s,@prefix@,$prefix,;t t
2279s,@program_transform_name@,$program_transform_name,;t t
2280s,@bindir@,$bindir,;t t
2281s,@sbindir@,$sbindir,;t t
2282s,@libexecdir@,$libexecdir,;t t
2283s,@datadir@,$datadir,;t t
2284s,@sysconfdir@,$sysconfdir,;t t
2285s,@sharedstatedir@,$sharedstatedir,;t t
2286s,@localstatedir@,$localstatedir,;t t
2287s,@libdir@,$libdir,;t t
2288s,@includedir@,$includedir,;t t
2289s,@oldincludedir@,$oldincludedir,;t t
2290s,@infodir@,$infodir,;t t
2291s,@mandir@,$mandir,;t t
2292s,@build_alias@,$build_alias,;t t
2293s,@host_alias@,$host_alias,;t t
2294s,@target_alias@,$target_alias,;t t
2295s,@DEFS@,$DEFS,;t t
2296s,@ECHO_C@,$ECHO_C,;t t
2297s,@ECHO_N@,$ECHO_N,;t t
2298s,@ECHO_T@,$ECHO_T,;t t
2299s,@LIBS@,$LIBS,;t t
2300s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2301s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2302s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2303s,@version@,$version,;t t
2304s,@PATHSEP@,$PATHSEP,;t t
2305s,@JAVA@,$JAVA,;t t
2306s,@JAVAC@,$JAVAC,;t t
2307s,@JAVACFLAGS@,$JAVACFLAGS,;t t
2308s,@JAR@,$JAR,;t t
2309s,@JAVA_RUNTIME@,$JAVA_RUNTIME,;t t
2310s,@ABL_JAVA_RUNTIME@,$ABL_JAVA_RUNTIME,;t t
2311s,@ABL_JAVA_OPTIONS@,$ABL_JAVA_OPTIONS,;t t
2312s,@LISP_HOME@,$LISP_HOME,;t t
2313s,@CP@,$CP,;t t
2314s,@CLASSPATH@,$CLASSPATH,;t t
2315s,@ABL_CLASSPATH@,$ABL_CLASSPATH,;t t
2316s,@COMPILER_CLASSPATH@,$COMPILER_CLASSPATH,;t t
2317s,@JAVA_OPTIONS@,$JAVA_OPTIONS,;t t
2318s,@JPTY@,$JPTY,;t t
2319s,@LIBOBJS@,$LIBOBJS,;t t
2320s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2321CEOF
2322
2323_ACEOF
2324
2325  cat >>$CONFIG_STATUS <<\_ACEOF
2326  # Split the substitutions into bite-sized pieces for seds with
2327  # small command number limits, like on Digital OSF/1 and HP-UX.
2328  ac_max_sed_lines=48
2329  ac_sed_frag=1 # Number of current file.
2330  ac_beg=1 # First line for current file.
2331  ac_end=$ac_max_sed_lines # Line after last line for current file.
2332  ac_more_lines=:
2333  ac_sed_cmds=
2334  while $ac_more_lines; do
2335    if test $ac_beg -gt 1; then
2336      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2337    else
2338      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2339    fi
2340    if test ! -s $tmp/subs.frag; then
2341      ac_more_lines=false
2342    else
2343      # The purpose of the label and of the branching condition is to
2344      # speed up the sed processing (if there are no `@' at all, there
2345      # is no need to browse any of the substitutions).
2346      # These are the two extra sed commands mentioned above.
2347      (echo ':t
2348  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2349      if test -z "$ac_sed_cmds"; then
2350  ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2351      else
2352  ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2353      fi
2354      ac_sed_frag=`expr $ac_sed_frag + 1`
2355      ac_beg=$ac_end
2356      ac_end=`expr $ac_end + $ac_max_sed_lines`
2357    fi
2358  done
2359  if test -z "$ac_sed_cmds"; then
2360    ac_sed_cmds=cat
2361  fi
2362fi # test -n "$CONFIG_FILES"
2363
2364_ACEOF
2365cat >>$CONFIG_STATUS <<\_ACEOF
2366for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2367  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2368  case $ac_file in
2369  - | *:- | *:-:* ) # input from stdin
2370  cat >$tmp/stdin
2371  ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2372  ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2373  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2374  ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2375  * )   ac_file_in=$ac_file.in ;;
2376  esac
2377
2378  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2379  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2380$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2381   X"$ac_file" : 'X\(//\)[^/]' \| \
2382   X"$ac_file" : 'X\(//\)$' \| \
2383   X"$ac_file" : 'X\(/\)' \| \
2384   .     : '\(.\)' 2>/dev/null ||
2385echo X"$ac_file" |
2386    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2387      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2388      /^X\(\/\/\)$/{ s//\1/; q; }
2389      /^X\(\/\).*/{ s//\1/; q; }
2390      s/.*/./; q'`
2391  { if $as_mkdir_p; then
2392    mkdir -p "$ac_dir"
2393  else
2394    as_dir="$ac_dir"
2395    as_dirs=
2396    while test ! -d "$as_dir"; do
2397      as_dirs="$as_dir $as_dirs"
2398      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2399$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2400   X"$as_dir" : 'X\(//\)[^/]' \| \
2401   X"$as_dir" : 'X\(//\)$' \| \
2402   X"$as_dir" : 'X\(/\)' \| \
2403   .     : '\(.\)' 2>/dev/null ||
2404echo X"$as_dir" |
2405    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2406      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2407      /^X\(\/\/\)$/{ s//\1/; q; }
2408      /^X\(\/\).*/{ s//\1/; q; }
2409      s/.*/./; q'`
2410    done
2411    test ! -n "$as_dirs" || mkdir $as_dirs
2412  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2413echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2414   { (exit 1); exit 1; }; }; }
2415
2416  ac_builddir=.
2417
2418if test "$ac_dir" != .; then
2419  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2420  # A "../" for each directory in $ac_dir_suffix.
2421  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2422else
2423  ac_dir_suffix= ac_top_builddir=
2424fi
2425
2426case $srcdir in
2427  .)  # No --srcdir option.  We are building in place.
2428    ac_srcdir=.
2429    if test -z "$ac_top_builddir"; then
2430       ac_top_srcdir=.
2431    else
2432       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2433    fi ;;
2434  [\\/]* | ?:[\\/]* )  # Absolute path.
2435    ac_srcdir=$srcdir$ac_dir_suffix;
2436    ac_top_srcdir=$srcdir ;;
2437  *) # Relative path.
2438    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2439    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2440esac
2441
2442# Do not use `cd foo && pwd` to compute absolute paths, because
2443# the directories may not exist.
2444case `pwd` in
2445.) ac_abs_builddir="$ac_dir";;
2446*)
2447  case "$ac_dir" in
2448  .) ac_abs_builddir=`pwd`;;
2449  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2450  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2451  esac;;
2452esac
2453case $ac_abs_builddir in
2454.) ac_abs_top_builddir=${ac_top_builddir}.;;
2455*)
2456  case ${ac_top_builddir}. in
2457  .) ac_abs_top_builddir=$ac_abs_builddir;;
2458  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2459  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2460  esac;;
2461esac
2462case $ac_abs_builddir in
2463.) ac_abs_srcdir=$ac_srcdir;;
2464*)
2465  case $ac_srcdir in
2466  .) ac_abs_srcdir=$ac_abs_builddir;;
2467  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2468  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2469  esac;;
2470esac
2471case $ac_abs_builddir in
2472.) ac_abs_top_srcdir=$ac_top_srcdir;;
2473*)
2474  case $ac_top_srcdir in
2475  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2476  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2477  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2478  esac;;
2479esac
2480
2481
2482  case $INSTALL in
2483  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2484  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2485  esac
2486
2487  if test x"$ac_file" != x-; then
2488    { echo "$as_me:$LINENO: creating $ac_file" >&5
2489echo "$as_me: creating $ac_file" >&6;}
2490    rm -f "$ac_file"
2491  fi
2492  # Let's still pretend it is `configure' which instantiates (i.e., don't
2493  # use $as_me), people would be surprised to read:
2494  #    /* config.h.  Generated by config.status.  */
2495  if test x"$ac_file" = x-; then
2496    configure_input=
2497  else
2498    configure_input="$ac_file.  "
2499  fi
2500  configure_input=$configure_input"Generated from `echo $ac_file_in |
2501             sed 's,.*/,,'` by configure."
2502
2503  # First look for the input files in the build tree, otherwise in the
2504  # src tree.
2505  ac_file_inputs=`IFS=:
2506    for f in $ac_file_in; do
2507      case $f in
2508      -) echo $tmp/stdin ;;
2509      [\\/$]*)
2510   # Absolute (can't be DOS-style, as IFS=:)
2511   test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2512echo "$as_me: error: cannot find input file: $f" >&2;}
2513   { (exit 1); exit 1; }; }
2514   echo "$f";;
2515      *) # Relative
2516   if test -f "$f"; then
2517     # Build tree
2518     echo "$f"
2519   elif test -f "$srcdir/$f"; then
2520     # Source tree
2521     echo "$srcdir/$f"
2522   else
2523     # /dev/null tree
2524     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2525echo "$as_me: error: cannot find input file: $f" >&2;}
2526   { (exit 1); exit 1; }; }
2527   fi;;
2528      esac
2529    done` || { (exit 1); exit 1; }
2530_ACEOF
2531cat >>$CONFIG_STATUS <<_ACEOF
2532  sed "$ac_vpsub
2533$extrasub
2534_ACEOF
2535cat >>$CONFIG_STATUS <<\_ACEOF
2536:t
2537/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2538s,@configure_input@,$configure_input,;t t
2539s,@srcdir@,$ac_srcdir,;t t
2540s,@abs_srcdir@,$ac_abs_srcdir,;t t
2541s,@top_srcdir@,$ac_top_srcdir,;t t
2542s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2543s,@builddir@,$ac_builddir,;t t
2544s,@abs_builddir@,$ac_abs_builddir,;t t
2545s,@top_builddir@,$ac_top_builddir,;t t
2546s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2547s,@INSTALL@,$ac_INSTALL,;t t
2548" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2549  rm -f $tmp/stdin
2550  if test x"$ac_file" != x-; then
2551    mv $tmp/out $ac_file
2552  else
2553    cat $tmp/out
2554    rm -f $tmp/out
2555  fi
2556
2557done
2558_ACEOF
2559cat >>$CONFIG_STATUS <<\_ACEOF
2560
2561#
2562# CONFIG_COMMANDS section.
2563#
2564for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2565  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2566  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2567  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2568$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2569   X"$ac_dest" : 'X\(//\)[^/]' \| \
2570   X"$ac_dest" : 'X\(//\)$' \| \
2571   X"$ac_dest" : 'X\(/\)' \| \
2572   .     : '\(.\)' 2>/dev/null ||
2573echo X"$ac_dest" |
2574    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2575      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2576      /^X\(\/\/\)$/{ s//\1/; q; }
2577      /^X\(\/\).*/{ s//\1/; q; }
2578      s/.*/./; q'`
2579  { if $as_mkdir_p; then
2580    mkdir -p "$ac_dir"
2581  else
2582    as_dir="$ac_dir"
2583    as_dirs=
2584    while test ! -d "$as_dir"; do
2585      as_dirs="$as_dir $as_dirs"
2586      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2587$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2588   X"$as_dir" : 'X\(//\)[^/]' \| \
2589   X"$as_dir" : 'X\(//\)$' \| \
2590   X"$as_dir" : 'X\(/\)' \| \
2591   .     : '\(.\)' 2>/dev/null ||
2592echo X"$as_dir" |
2593    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2594      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2595      /^X\(\/\/\)$/{ s//\1/; q; }
2596      /^X\(\/\).*/{ s//\1/; q; }
2597      s/.*/./; q'`
2598    done
2599    test ! -n "$as_dirs" || mkdir $as_dirs
2600  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2601echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2602   { (exit 1); exit 1; }; }; }
2603
2604  ac_builddir=.
2605
2606if test "$ac_dir" != .; then
2607  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2608  # A "../" for each directory in $ac_dir_suffix.
2609  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2610else
2611  ac_dir_suffix= ac_top_builddir=
2612fi
2613
2614case $srcdir in
2615  .)  # No --srcdir option.  We are building in place.
2616    ac_srcdir=.
2617    if test -z "$ac_top_builddir"; then
2618       ac_top_srcdir=.
2619    else
2620       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2621    fi ;;
2622  [\\/]* | ?:[\\/]* )  # Absolute path.
2623    ac_srcdir=$srcdir$ac_dir_suffix;
2624    ac_top_srcdir=$srcdir ;;
2625  *) # Relative path.
2626    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2627    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2628esac
2629
2630# Do not use `cd foo && pwd` to compute absolute paths, because
2631# the directories may not exist.
2632case `pwd` in
2633.) ac_abs_builddir="$ac_dir";;
2634*)
2635  case "$ac_dir" in
2636  .) ac_abs_builddir=`pwd`;;
2637  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2638  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2639  esac;;
2640esac
2641case $ac_abs_builddir in
2642.) ac_abs_top_builddir=${ac_top_builddir}.;;
2643*)
2644  case ${ac_top_builddir}. in
2645  .) ac_abs_top_builddir=$ac_abs_builddir;;
2646  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2647  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2648  esac;;
2649esac
2650case $ac_abs_builddir in
2651.) ac_abs_srcdir=$ac_srcdir;;
2652*)
2653  case $ac_srcdir in
2654  .) ac_abs_srcdir=$ac_abs_builddir;;
2655  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2656  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2657  esac;;
2658esac
2659case $ac_abs_builddir in
2660.) ac_abs_top_srcdir=$ac_top_srcdir;;
2661*)
2662  case $ac_top_srcdir in
2663  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2664  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2665  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2666  esac;;
2667esac
2668
2669
2670  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2671echo "$as_me: executing $ac_dest commands" >&6;}
2672  case $ac_dest in
2673    chmod ) chmod 755 j; chmod 755 abl ;;
2674  esac
2675done
2676_ACEOF
2677
2678cat >>$CONFIG_STATUS <<\_ACEOF
2679
2680{ (exit 0); exit 0; }
2681_ACEOF
2682chmod +x $CONFIG_STATUS
2683ac_clean_files=$ac_clean_files_save
2684
2685
2686# configure is writing to config.log, and then calls config.status.
2687# config.status does its own redirection, appending to config.log.
2688# Unfortunately, on DOS this fails, as config.log is still kept open
2689# by configure, so config.status won't be able to write to it; its
2690# output is simply discarded.  So we exec the FD to /dev/null,
2691# effectively closing config.log, so it can be properly (re)opened and
2692# appended to by config.status.  When coming back to configure, we
2693# need to make the FD available again.
2694if test "$no_create" != yes; then
2695  ac_cs_success=:
2696  ac_config_status_args=
2697  test "$silent" = yes &&
2698    ac_config_status_args="$ac_config_status_args --quiet"
2699  exec 5>/dev/null
2700  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2701  exec 5>>config.log
2702  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2703  # would make configure fail if this is the last instruction.
2704  $ac_cs_success || { (exit 1); exit 1; }
2705fi
2706
Note: See TracBrowser for help on using the repository browser.