source: trunk/j/configure @ 4784

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

src/org/armedbear/lisp/java/awt/Makefile

File size: 80.0 KB
Line 
1#! /bin/sh
2# From configure.ac Revision: 1.9 .
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 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.2
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
1568CP="-cp"
1569CLASSPATH="$JPATH:$JDK/lib/tools.jar"
1570ABL_CLASSPATH=$JPATH
1571
1572
1573
1574
1575COMPILER_CLASSPATH="$srcdir/src:$JAVA_RUNTIME"
1576
1577
1578
1579# Check whether --with-options or --without-options was given.
1580if test "${with_options+set}" = set; then
1581  withval="$with_options"
1582
1583    JAVA_OPTIONS=${with_options}
1584
1585fi;
1586
1587
1588
1589# Check whether --with-extensions or --without-extensions was given.
1590if test "${with_extensions+set}" = set; then
1591  withval="$with_extensions"
1592
1593    EXTENSIONS=${with_extensions}
1594
1595fi;
1596
1597if test $EXTENSIONS; then
1598    CLASSPATH="$CLASSPATH:$EXTENSIONS"
1599    COMPILER_CLASSPATH="$COMPILER_CLASSPATH:$EXTENSIONS"
1600fi
1601
1602if test $CYGWIN; then
1603    JAVA_RUNTIME=`cygpath -p -w $JAVA_RUNTIME`
1604    CLASSPATH=`cygpath -p -w $CLASSPATH`
1605    COMPILER_CLASSPATH=`cygpath -p -w $COMPILER_CLASSPATH`
1606fi
1607
1608
1609# Check whether --enable-jpty or --disable-jpty was given.
1610if test "${enable_jpty+set}" = set; then
1611  enableval="$enable_jpty"
1612
1613fi;
1614
1615if test "$enable_jpty" = "yes"; then
1616    if test $CYGWIN; then
1617        JPTY=jpty.exe
1618    else
1619        JPTY=jpty
1620    fi
1621fi
1622
1623
1624
1625
1626# Check whether --enable-debug or --disable-debug was given.
1627if test "${enable_debug+set}" = set; then
1628  enableval="$enable_debug"
1629
1630fi;
1631
1632if test "$enable_debug" = "yes"; then
1633    JAVACFLAGS="$JAVACFLAGS -g"
1634else
1635    JAVACFLAGS="$JAVACFLAGS -g:none"
1636fi
1637
1638
1639                                                                                                                        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 j abl"
1640
1641
1642          ac_config_commands="$ac_config_commands chmod"
1643
1644
1645cat >confcache <<\_ACEOF
1646# This file is a shell script that caches the results of configure
1647# tests run on this system so they can be shared between configure
1648# scripts and configure runs, see configure's option --config-cache.
1649# It is not useful on other systems.  If it contains results you don't
1650# want to keep, you may remove or edit it.
1651#
1652# config.status only pays attention to the cache file if you give it
1653# the --recheck option to rerun configure.
1654#
1655# `ac_cv_env_foo' variables (set or unset) will be overridden when
1656# loading this file, other *unset* `ac_cv_foo' will be assigned the
1657# following values.
1658
1659_ACEOF
1660
1661# The following way of writing the cache mishandles newlines in values,
1662# but we know of no workaround that is simple, portable, and efficient.
1663# So, don't put newlines in cache variables' values.
1664# Ultrix sh set writes to stderr and can't be redirected directly,
1665# and sets the high bit in the cache file unless we assign to the vars.
1666{
1667  (set) 2>&1 |
1668    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1669    *ac_space=\ *)
1670      # `set' does not quote correctly, so add quotes (double-quote
1671      # substitution turns \\\\ into \\, and sed turns \\ into \).
1672      sed -n \
1673  "s/'/'\\\\''/g;
1674    s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1675      ;;
1676    *)
1677      # `set' quotes correctly as required by POSIX, so do not add quotes.
1678      sed -n \
1679  "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1680      ;;
1681    esac;
1682} |
1683  sed '
1684     t clear
1685     : clear
1686     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1687     t end
1688     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1689     : end' >>confcache
1690if diff $cache_file confcache >/dev/null 2>&1; then :; else
1691  if test -w $cache_file; then
1692    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1693    cat confcache >$cache_file
1694  else
1695    echo "not updating unwritable cache $cache_file"
1696  fi
1697fi
1698rm -f confcache
1699
1700test "x$prefix" = xNONE && prefix=$ac_default_prefix
1701# Let make expand exec_prefix.
1702test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1703
1704# VPATH may cause trouble with some makes, so we remove $(srcdir),
1705# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1706# trailing colons and then remove the whole line if VPATH becomes empty
1707# (actually we leave an empty line to preserve line numbers).
1708if test "x$srcdir" = x.; then
1709  ac_vpsub='/^[  ]*VPATH[  ]*=/{
1710s/:*\$(srcdir):*/:/;
1711s/:*\${srcdir}:*/:/;
1712s/:*@srcdir@:*/:/;
1713s/^\([^=]*=[   ]*\):*/\1/;
1714s/:*$//;
1715s/^[^=]*=[   ]*$//;
1716}'
1717fi
1718
1719# Transform confdefs.h into DEFS.
1720# Protect against shell expansion while executing Makefile rules.
1721# Protect against Makefile macro expansion.
1722#
1723# If the first sed substitution is executed (which looks for macros that
1724# take arguments), then we branch to the quote section.  Otherwise,
1725# look for a macro that doesn't take arguments.
1726cat >confdef2opt.sed <<\_ACEOF
1727t clear
1728: clear
1729s,^[   ]*#[  ]*define[   ][  ]*\([^  (][^  (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1730t quote
1731s,^[   ]*#[  ]*define[   ][  ]*\([^  ][^   ]*\)[   ]*\(.*\),-D\1=\2,g
1732t quote
1733d
1734: quote
1735s,[  `~#$^&*(){}\\|;'"<>?],\\&,g
1736s,\[,\\&,g
1737s,\],\\&,g
1738s,\$,$$,g
1739p
1740_ACEOF
1741# We use echo to avoid assuming a particular line-breaking character.
1742# The extra dot is to prevent the shell from consuming trailing
1743# line-breaks from the sub-command output.  A line-break within
1744# single-quotes doesn't work because, if this script is created in a
1745# platform that uses two characters for line-breaks (e.g., DOS), tr
1746# would break.
1747ac_LF_and_DOT=`echo; echo .`
1748DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1749rm -f confdef2opt.sed
1750
1751
1752ac_libobjs=
1753ac_ltlibobjs=
1754for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1755  # 1. Remove the extension, and $U if already installed.
1756  ac_i=`echo "$ac_i" |
1757   sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1758  # 2. Add them.
1759  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1760  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1761done
1762LIBOBJS=$ac_libobjs
1763
1764LTLIBOBJS=$ac_ltlibobjs
1765
1766
1767
1768: ${CONFIG_STATUS=./config.status}
1769ac_clean_files_save=$ac_clean_files
1770ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1771{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1772echo "$as_me: creating $CONFIG_STATUS" >&6;}
1773cat >$CONFIG_STATUS <<_ACEOF
1774#! $SHELL
1775# Generated by $as_me.
1776# Run this file to recreate the current configuration.
1777# Compiler output produced by configure, useful for debugging
1778# configure, is in config.log if it exists.
1779
1780debug=false
1781ac_cs_recheck=false
1782ac_cs_silent=false
1783SHELL=\${CONFIG_SHELL-$SHELL}
1784_ACEOF
1785
1786cat >>$CONFIG_STATUS <<\_ACEOF
1787## --------------------- ##
1788## M4sh Initialization.  ##
1789## --------------------- ##
1790
1791# Be Bourne compatible
1792if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1793  emulate sh
1794  NULLCMD=:
1795  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1796  # is contrary to our usage.  Disable this feature.
1797  alias -g '${1+"$@"}'='"$@"'
1798elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1799  set -o posix
1800fi
1801DUALCASE=1; export DUALCASE # for MKS sh
1802
1803# Support unset when possible.
1804if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1805  as_unset=unset
1806else
1807  as_unset=false
1808fi
1809
1810
1811# Work around bugs in pre-3.0 UWIN ksh.
1812$as_unset ENV MAIL MAILPATH
1813PS1='$ '
1814PS2='> '
1815PS4='+ '
1816
1817# NLS nuisances.
1818for as_var in \
1819  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1820  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1821  LC_TELEPHONE LC_TIME
1822do
1823  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1824    eval $as_var=C; export $as_var
1825  else
1826    $as_unset $as_var
1827  fi
1828done
1829
1830# Required to use basename.
1831if expr a : '\(a\)' >/dev/null 2>&1; then
1832  as_expr=expr
1833else
1834  as_expr=false
1835fi
1836
1837if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1838  as_basename=basename
1839else
1840  as_basename=false
1841fi
1842
1843
1844# Name of the executable.
1845as_me=`$as_basename "$0" ||
1846$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1847   X"$0" : 'X\(//\)$' \| \
1848   X"$0" : 'X\(/\)$' \| \
1849   .     : '\(.\)' 2>/dev/null ||
1850echo X/"$0" |
1851    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1852      /^X\/\(\/\/\)$/{ s//\1/; q; }
1853      /^X\/\(\/\).*/{ s//\1/; q; }
1854      s/.*/./; q'`
1855
1856
1857# PATH needs CR, and LINENO needs CR and PATH.
1858# Avoid depending upon Character Ranges.
1859as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1860as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1861as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1862as_cr_digits='0123456789'
1863as_cr_alnum=$as_cr_Letters$as_cr_digits
1864
1865# The user is always right.
1866if test "${PATH_SEPARATOR+set}" != set; then
1867  echo "#! /bin/sh" >conf$$.sh
1868  echo  "exit 0"   >>conf$$.sh
1869  chmod +x conf$$.sh
1870  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1871    PATH_SEPARATOR=';'
1872  else
1873    PATH_SEPARATOR=:
1874  fi
1875  rm -f conf$$.sh
1876fi
1877
1878
1879  as_lineno_1=$LINENO
1880  as_lineno_2=$LINENO
1881  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1882  test "x$as_lineno_1" != "x$as_lineno_2" &&
1883  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1884  # Find who we are.  Look in the path if we contain no path at all
1885  # relative or not.
1886  case $0 in
1887    *[\\/]* ) as_myself=$0 ;;
1888    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889for as_dir in $PATH
1890do
1891  IFS=$as_save_IFS
1892  test -z "$as_dir" && as_dir=.
1893  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1894done
1895
1896       ;;
1897  esac
1898  # We did not find ourselves, most probably we were run as `sh COMMAND'
1899  # in which case we are not to be found in the path.
1900  if test "x$as_myself" = x; then
1901    as_myself=$0
1902  fi
1903  if test ! -f "$as_myself"; then
1904    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1905echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1906   { (exit 1); exit 1; }; }
1907  fi
1908  case $CONFIG_SHELL in
1909  '')
1910    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1912do
1913  IFS=$as_save_IFS
1914  test -z "$as_dir" && as_dir=.
1915  for as_base in sh bash ksh sh5; do
1916   case $as_dir in
1917   /*)
1918     if ("$as_dir/$as_base" -c '
1919  as_lineno_1=$LINENO
1920  as_lineno_2=$LINENO
1921  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1922  test "x$as_lineno_1" != "x$as_lineno_2" &&
1923  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1924       $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1925       $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1926       CONFIG_SHELL=$as_dir/$as_base
1927       export CONFIG_SHELL
1928       exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1929     fi;;
1930   esac
1931       done
1932done
1933;;
1934  esac
1935
1936  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1937  # uniformly replaced by the line number.  The first 'sed' inserts a
1938  # line-number line before each line; the second 'sed' does the real
1939  # work.  The second script uses 'N' to pair each line-number line
1940  # with the numbered line, and appends trailing '-' during
1941  # substitution so that $LINENO is not a special case at line end.
1942  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1943  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1944  sed '=' <$as_myself |
1945    sed '
1946      N
1947      s,$,-,
1948      : loop
1949      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1950      t loop
1951      s,-$,,
1952      s,^['$as_cr_digits']*\n,,
1953    ' >$as_me.lineno &&
1954  chmod +x $as_me.lineno ||
1955    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1956echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1957   { (exit 1); exit 1; }; }
1958
1959  # Don't try to exec as it changes $[0], causing all sort of problems
1960  # (the dirname of $[0] is not the place where we might find the
1961  # original and so on.  Autoconf is especially sensible to this).
1962  . ./$as_me.lineno
1963  # Exit status is that of the last command.
1964  exit
1965}
1966
1967
1968case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1969  *c*,-n*) ECHO_N= ECHO_C='
1970' ECHO_T='  ' ;;
1971  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1972  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1973esac
1974
1975if expr a : '\(a\)' >/dev/null 2>&1; then
1976  as_expr=expr
1977else
1978  as_expr=false
1979fi
1980
1981rm -f conf$$ conf$$.exe conf$$.file
1982echo >conf$$.file
1983if ln -s conf$$.file conf$$ 2>/dev/null; then
1984  # We could just check for DJGPP; but this test a) works b) is more generic
1985  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1986  if test -f conf$$.exe; then
1987    # Don't use ln at all; we don't have any links
1988    as_ln_s='cp -p'
1989  else
1990    as_ln_s='ln -s'
1991  fi
1992elif ln conf$$.file conf$$ 2>/dev/null; then
1993  as_ln_s=ln
1994else
1995  as_ln_s='cp -p'
1996fi
1997rm -f conf$$ conf$$.exe conf$$.file
1998
1999if mkdir -p . 2>/dev/null; then
2000  as_mkdir_p=:
2001else
2002  test -d ./-p && rmdir ./-p
2003  as_mkdir_p=false
2004fi
2005
2006as_executable_p="test -f"
2007
2008# Sed expression to map a string onto a valid CPP name.
2009as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2010
2011# Sed expression to map a string onto a valid variable name.
2012as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2013
2014
2015# IFS
2016# We need space, tab and new line, in precisely that order.
2017as_nl='
2018'
2019IFS="   $as_nl"
2020
2021# CDPATH.
2022$as_unset CDPATH
2023
2024exec 6>&1
2025
2026# Open the log real soon, to keep \$[0] and so on meaningful, and to
2027# report actual input values of CONFIG_FILES etc. instead of their
2028# values after options handling.  Logging --version etc. is OK.
2029exec 5>>config.log
2030{
2031  echo
2032  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2033## Running $as_me. ##
2034_ASBOX
2035} >&5
2036cat >&5 <<_CSEOF
2037
2038This file was extended by $as_me, which was
2039generated by GNU Autoconf 2.58.  Invocation command line was
2040
2041  CONFIG_FILES    = $CONFIG_FILES
2042  CONFIG_HEADERS  = $CONFIG_HEADERS
2043  CONFIG_LINKS    = $CONFIG_LINKS
2044  CONFIG_COMMANDS = $CONFIG_COMMANDS
2045  $ $0 $@
2046
2047_CSEOF
2048echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2049echo >&5
2050_ACEOF
2051
2052# Files that config.status was made for.
2053if test -n "$ac_config_files"; then
2054  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2055fi
2056
2057if test -n "$ac_config_headers"; then
2058  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2059fi
2060
2061if test -n "$ac_config_links"; then
2062  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2063fi
2064
2065if test -n "$ac_config_commands"; then
2066  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2067fi
2068
2069cat >>$CONFIG_STATUS <<\_ACEOF
2070
2071ac_cs_usage="\
2072\`$as_me' instantiates files from templates according to the
2073current configuration.
2074
2075Usage: $0 [OPTIONS] [FILE]...
2076
2077  -h, --help       print this help, then exit
2078  -V, --version    print version number, then exit
2079  -q, --quiet      do not print progress messages
2080  -d, --debug      don't remove temporary files
2081      --recheck    update $as_me by reconfiguring in the same conditions
2082  --file=FILE[:TEMPLATE]
2083       instantiate the configuration file FILE
2084
2085Configuration files:
2086$config_files
2087
2088Configuration commands:
2089$config_commands
2090
2091Report bugs to <bug-autoconf@gnu.org>."
2092_ACEOF
2093
2094cat >>$CONFIG_STATUS <<_ACEOF
2095ac_cs_version="\\
2096config.status
2097configured by $0, generated by GNU Autoconf 2.58,
2098  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2099
2100Copyright (C) 2003 Free Software Foundation, Inc.
2101This config.status script is free software; the Free Software Foundation
2102gives unlimited permission to copy, distribute and modify it."
2103srcdir=$srcdir
2104INSTALL="$INSTALL"
2105_ACEOF
2106
2107cat >>$CONFIG_STATUS <<\_ACEOF
2108# If no file are specified by the user, then we need to provide default
2109# value.  By we need to know if files were specified by the user.
2110ac_need_defaults=:
2111while test $# != 0
2112do
2113  case $1 in
2114  --*=*)
2115    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2116    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2117    ac_shift=:
2118    ;;
2119  -*)
2120    ac_option=$1
2121    ac_optarg=$2
2122    ac_shift=shift
2123    ;;
2124  *) # This is not an option, so the user has probably given explicit
2125     # arguments.
2126     ac_option=$1
2127     ac_need_defaults=false;;
2128  esac
2129
2130  case $ac_option in
2131  # Handling of the options.
2132_ACEOF
2133cat >>$CONFIG_STATUS <<\_ACEOF
2134  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2135    ac_cs_recheck=: ;;
2136  --version | --vers* | -V )
2137    echo "$ac_cs_version"; exit 0 ;;
2138  --he | --h)
2139    # Conflict between --help and --header
2140    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2141Try \`$0 --help' for more information." >&5
2142echo "$as_me: error: ambiguous option: $1
2143Try \`$0 --help' for more information." >&2;}
2144   { (exit 1); exit 1; }; };;
2145  --help | --hel | -h )
2146    echo "$ac_cs_usage"; exit 0 ;;
2147  --debug | --d* | -d )
2148    debug=: ;;
2149  --file | --fil | --fi | --f )
2150    $ac_shift
2151    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2152    ac_need_defaults=false;;
2153  --header | --heade | --head | --hea )
2154    $ac_shift
2155    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2156    ac_need_defaults=false;;
2157  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2158  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2159    ac_cs_silent=: ;;
2160
2161  # This is an error.
2162  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2163Try \`$0 --help' for more information." >&5
2164echo "$as_me: error: unrecognized option: $1
2165Try \`$0 --help' for more information." >&2;}
2166   { (exit 1); exit 1; }; } ;;
2167
2168  *) ac_config_targets="$ac_config_targets $1" ;;
2169
2170  esac
2171  shift
2172done
2173
2174ac_configure_extra_args=
2175
2176if $ac_cs_silent; then
2177  exec 6>/dev/null
2178  ac_configure_extra_args="$ac_configure_extra_args --silent"
2179fi
2180
2181_ACEOF
2182cat >>$CONFIG_STATUS <<_ACEOF
2183if \$ac_cs_recheck; then
2184  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2185  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2186fi
2187
2188_ACEOF
2189
2190
2191
2192
2193
2194cat >>$CONFIG_STATUS <<\_ACEOF
2195for ac_config_target in $ac_config_targets
2196do
2197  case "$ac_config_target" in
2198  # Handling of arguments.
2199  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2200  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
2201  "src/jpty/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/jpty/Makefile" ;;
2202  "src/gnu/regexp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnu/regexp/Makefile" ;;
2203  "src/org/armedbear/j/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/Makefile" ;;
2204  "src/org/armedbear/j/version" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/version" ;;
2205  "src/org/armedbear/j/mail/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/mail/Makefile" ;;
2206  "src/org/armedbear/j/jdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/jdb/Makefile" ;;
2207  "src/org/armedbear/lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/lisp/Makefile" ;;
2208  "src/org/armedbear/lisp/java/awt/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/lisp/java/awt/Makefile" ;;
2209  "j" ) CONFIG_FILES="$CONFIG_FILES j" ;;
2210  "abl" ) CONFIG_FILES="$CONFIG_FILES abl" ;;
2211  "chmod" ) CONFIG_COMMANDS="$CONFIG_COMMANDS chmod" ;;
2212  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2213echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2214   { (exit 1); exit 1; }; };;
2215  esac
2216done
2217
2218# If the user did not use the arguments to specify the items to instantiate,
2219# then the envvar interface is used.  Set only those that are not.
2220# We use the long form for the default assignment because of an extremely
2221# bizarre bug on SunOS 4.1.3.
2222if $ac_need_defaults; then
2223  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2224  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2225fi
2226
2227# Have a temporary directory for convenience.  Make it in the build tree
2228# simply because there is no reason to put it here, and in addition,
2229# creating and moving files from /tmp can sometimes cause problems.
2230# Create a temporary directory, and hook for its removal unless debugging.
2231$debug ||
2232{
2233  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2234  trap '{ (exit 1); exit 1; }' 1 2 13 15
2235}
2236
2237# Create a (secure) tmp directory for tmp files.
2238
2239{
2240  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2241  test -n "$tmp" && test -d "$tmp"
2242}  ||
2243{
2244  tmp=./confstat$$-$RANDOM
2245  (umask 077 && mkdir $tmp)
2246} ||
2247{
2248   echo "$me: cannot create a temporary directory in ." >&2
2249   { (exit 1); exit 1; }
2250}
2251
2252_ACEOF
2253
2254cat >>$CONFIG_STATUS <<_ACEOF
2255
2256#
2257# CONFIG_FILES section.
2258#
2259
2260# No need to generate the scripts if there are no CONFIG_FILES.
2261# This happens for instance when ./config.status config.h
2262if test -n "\$CONFIG_FILES"; then
2263  # Protect against being on the right side of a sed subst in config.status.
2264  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2265   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2266s,@SHELL@,$SHELL,;t t
2267s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2268s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2269s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2270s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2271s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2272s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2273s,@exec_prefix@,$exec_prefix,;t t
2274s,@prefix@,$prefix,;t t
2275s,@program_transform_name@,$program_transform_name,;t t
2276s,@bindir@,$bindir,;t t
2277s,@sbindir@,$sbindir,;t t
2278s,@libexecdir@,$libexecdir,;t t
2279s,@datadir@,$datadir,;t t
2280s,@sysconfdir@,$sysconfdir,;t t
2281s,@sharedstatedir@,$sharedstatedir,;t t
2282s,@localstatedir@,$localstatedir,;t t
2283s,@libdir@,$libdir,;t t
2284s,@includedir@,$includedir,;t t
2285s,@oldincludedir@,$oldincludedir,;t t
2286s,@infodir@,$infodir,;t t
2287s,@mandir@,$mandir,;t t
2288s,@build_alias@,$build_alias,;t t
2289s,@host_alias@,$host_alias,;t t
2290s,@target_alias@,$target_alias,;t t
2291s,@DEFS@,$DEFS,;t t
2292s,@ECHO_C@,$ECHO_C,;t t
2293s,@ECHO_N@,$ECHO_N,;t t
2294s,@ECHO_T@,$ECHO_T,;t t
2295s,@LIBS@,$LIBS,;t t
2296s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2297s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2298s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2299s,@version@,$version,;t t
2300s,@PATHSEP@,$PATHSEP,;t t
2301s,@JAVA@,$JAVA,;t t
2302s,@JAVAC@,$JAVAC,;t t
2303s,@JAVACFLAGS@,$JAVACFLAGS,;t t
2304s,@JAR@,$JAR,;t t
2305s,@JAVA_RUNTIME@,$JAVA_RUNTIME,;t t
2306s,@ABL_JAVA_RUNTIME@,$ABL_JAVA_RUNTIME,;t t
2307s,@ABL_JAVA_OPTIONS@,$ABL_JAVA_OPTIONS,;t t
2308s,@CP@,$CP,;t t
2309s,@CLASSPATH@,$CLASSPATH,;t t
2310s,@ABL_CLASSPATH@,$ABL_CLASSPATH,;t t
2311s,@COMPILER_CLASSPATH@,$COMPILER_CLASSPATH,;t t
2312s,@JAVA_OPTIONS@,$JAVA_OPTIONS,;t t
2313s,@JPTY@,$JPTY,;t t
2314s,@LIBOBJS@,$LIBOBJS,;t t
2315s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2316CEOF
2317
2318_ACEOF
2319
2320  cat >>$CONFIG_STATUS <<\_ACEOF
2321  # Split the substitutions into bite-sized pieces for seds with
2322  # small command number limits, like on Digital OSF/1 and HP-UX.
2323  ac_max_sed_lines=48
2324  ac_sed_frag=1 # Number of current file.
2325  ac_beg=1 # First line for current file.
2326  ac_end=$ac_max_sed_lines # Line after last line for current file.
2327  ac_more_lines=:
2328  ac_sed_cmds=
2329  while $ac_more_lines; do
2330    if test $ac_beg -gt 1; then
2331      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2332    else
2333      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2334    fi
2335    if test ! -s $tmp/subs.frag; then
2336      ac_more_lines=false
2337    else
2338      # The purpose of the label and of the branching condition is to
2339      # speed up the sed processing (if there are no `@' at all, there
2340      # is no need to browse any of the substitutions).
2341      # These are the two extra sed commands mentioned above.
2342      (echo ':t
2343  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2344      if test -z "$ac_sed_cmds"; then
2345  ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2346      else
2347  ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2348      fi
2349      ac_sed_frag=`expr $ac_sed_frag + 1`
2350      ac_beg=$ac_end
2351      ac_end=`expr $ac_end + $ac_max_sed_lines`
2352    fi
2353  done
2354  if test -z "$ac_sed_cmds"; then
2355    ac_sed_cmds=cat
2356  fi
2357fi # test -n "$CONFIG_FILES"
2358
2359_ACEOF
2360cat >>$CONFIG_STATUS <<\_ACEOF
2361for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2362  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2363  case $ac_file in
2364  - | *:- | *:-:* ) # input from stdin
2365  cat >$tmp/stdin
2366  ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2367  ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2368  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2369  ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2370  * )   ac_file_in=$ac_file.in ;;
2371  esac
2372
2373  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2374  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2375$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2376   X"$ac_file" : 'X\(//\)[^/]' \| \
2377   X"$ac_file" : 'X\(//\)$' \| \
2378   X"$ac_file" : 'X\(/\)' \| \
2379   .     : '\(.\)' 2>/dev/null ||
2380echo X"$ac_file" |
2381    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2382      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2383      /^X\(\/\/\)$/{ s//\1/; q; }
2384      /^X\(\/\).*/{ s//\1/; q; }
2385      s/.*/./; q'`
2386  { if $as_mkdir_p; then
2387    mkdir -p "$ac_dir"
2388  else
2389    as_dir="$ac_dir"
2390    as_dirs=
2391    while test ! -d "$as_dir"; do
2392      as_dirs="$as_dir $as_dirs"
2393      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2394$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2395   X"$as_dir" : 'X\(//\)[^/]' \| \
2396   X"$as_dir" : 'X\(//\)$' \| \
2397   X"$as_dir" : 'X\(/\)' \| \
2398   .     : '\(.\)' 2>/dev/null ||
2399echo X"$as_dir" |
2400    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2401      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2402      /^X\(\/\/\)$/{ s//\1/; q; }
2403      /^X\(\/\).*/{ s//\1/; q; }
2404      s/.*/./; q'`
2405    done
2406    test ! -n "$as_dirs" || mkdir $as_dirs
2407  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2408echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2409   { (exit 1); exit 1; }; }; }
2410
2411  ac_builddir=.
2412
2413if test "$ac_dir" != .; then
2414  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2415  # A "../" for each directory in $ac_dir_suffix.
2416  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2417else
2418  ac_dir_suffix= ac_top_builddir=
2419fi
2420
2421case $srcdir in
2422  .)  # No --srcdir option.  We are building in place.
2423    ac_srcdir=.
2424    if test -z "$ac_top_builddir"; then
2425       ac_top_srcdir=.
2426    else
2427       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2428    fi ;;
2429  [\\/]* | ?:[\\/]* )  # Absolute path.
2430    ac_srcdir=$srcdir$ac_dir_suffix;
2431    ac_top_srcdir=$srcdir ;;
2432  *) # Relative path.
2433    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2434    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2435esac
2436
2437# Do not use `cd foo && pwd` to compute absolute paths, because
2438# the directories may not exist.
2439case `pwd` in
2440.) ac_abs_builddir="$ac_dir";;
2441*)
2442  case "$ac_dir" in
2443  .) ac_abs_builddir=`pwd`;;
2444  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2445  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2446  esac;;
2447esac
2448case $ac_abs_builddir in
2449.) ac_abs_top_builddir=${ac_top_builddir}.;;
2450*)
2451  case ${ac_top_builddir}. in
2452  .) ac_abs_top_builddir=$ac_abs_builddir;;
2453  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2454  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2455  esac;;
2456esac
2457case $ac_abs_builddir in
2458.) ac_abs_srcdir=$ac_srcdir;;
2459*)
2460  case $ac_srcdir in
2461  .) ac_abs_srcdir=$ac_abs_builddir;;
2462  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2463  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2464  esac;;
2465esac
2466case $ac_abs_builddir in
2467.) ac_abs_top_srcdir=$ac_top_srcdir;;
2468*)
2469  case $ac_top_srcdir in
2470  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2471  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2472  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2473  esac;;
2474esac
2475
2476
2477  case $INSTALL in
2478  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2479  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2480  esac
2481
2482  if test x"$ac_file" != x-; then
2483    { echo "$as_me:$LINENO: creating $ac_file" >&5
2484echo "$as_me: creating $ac_file" >&6;}
2485    rm -f "$ac_file"
2486  fi
2487  # Let's still pretend it is `configure' which instantiates (i.e., don't
2488  # use $as_me), people would be surprised to read:
2489  #    /* config.h.  Generated by config.status.  */
2490  if test x"$ac_file" = x-; then
2491    configure_input=
2492  else
2493    configure_input="$ac_file.  "
2494  fi
2495  configure_input=$configure_input"Generated from `echo $ac_file_in |
2496             sed 's,.*/,,'` by configure."
2497
2498  # First look for the input files in the build tree, otherwise in the
2499  # src tree.
2500  ac_file_inputs=`IFS=:
2501    for f in $ac_file_in; do
2502      case $f in
2503      -) echo $tmp/stdin ;;
2504      [\\/$]*)
2505   # Absolute (can't be DOS-style, as IFS=:)
2506   test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2507echo "$as_me: error: cannot find input file: $f" >&2;}
2508   { (exit 1); exit 1; }; }
2509   echo "$f";;
2510      *) # Relative
2511   if test -f "$f"; then
2512     # Build tree
2513     echo "$f"
2514   elif test -f "$srcdir/$f"; then
2515     # Source tree
2516     echo "$srcdir/$f"
2517   else
2518     # /dev/null tree
2519     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2520echo "$as_me: error: cannot find input file: $f" >&2;}
2521   { (exit 1); exit 1; }; }
2522   fi;;
2523      esac
2524    done` || { (exit 1); exit 1; }
2525_ACEOF
2526cat >>$CONFIG_STATUS <<_ACEOF
2527  sed "$ac_vpsub
2528$extrasub
2529_ACEOF
2530cat >>$CONFIG_STATUS <<\_ACEOF
2531:t
2532/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2533s,@configure_input@,$configure_input,;t t
2534s,@srcdir@,$ac_srcdir,;t t
2535s,@abs_srcdir@,$ac_abs_srcdir,;t t
2536s,@top_srcdir@,$ac_top_srcdir,;t t
2537s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2538s,@builddir@,$ac_builddir,;t t
2539s,@abs_builddir@,$ac_abs_builddir,;t t
2540s,@top_builddir@,$ac_top_builddir,;t t
2541s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2542s,@INSTALL@,$ac_INSTALL,;t t
2543" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2544  rm -f $tmp/stdin
2545  if test x"$ac_file" != x-; then
2546    mv $tmp/out $ac_file
2547  else
2548    cat $tmp/out
2549    rm -f $tmp/out
2550  fi
2551
2552done
2553_ACEOF
2554cat >>$CONFIG_STATUS <<\_ACEOF
2555
2556#
2557# CONFIG_COMMANDS section.
2558#
2559for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2560  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2561  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2562  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2563$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2564   X"$ac_dest" : 'X\(//\)[^/]' \| \
2565   X"$ac_dest" : 'X\(//\)$' \| \
2566   X"$ac_dest" : 'X\(/\)' \| \
2567   .     : '\(.\)' 2>/dev/null ||
2568echo X"$ac_dest" |
2569    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2570      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2571      /^X\(\/\/\)$/{ s//\1/; q; }
2572      /^X\(\/\).*/{ s//\1/; q; }
2573      s/.*/./; q'`
2574  { if $as_mkdir_p; then
2575    mkdir -p "$ac_dir"
2576  else
2577    as_dir="$ac_dir"
2578    as_dirs=
2579    while test ! -d "$as_dir"; do
2580      as_dirs="$as_dir $as_dirs"
2581      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2582$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2583   X"$as_dir" : 'X\(//\)[^/]' \| \
2584   X"$as_dir" : 'X\(//\)$' \| \
2585   X"$as_dir" : 'X\(/\)' \| \
2586   .     : '\(.\)' 2>/dev/null ||
2587echo X"$as_dir" |
2588    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2589      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2590      /^X\(\/\/\)$/{ s//\1/; q; }
2591      /^X\(\/\).*/{ s//\1/; q; }
2592      s/.*/./; q'`
2593    done
2594    test ! -n "$as_dirs" || mkdir $as_dirs
2595  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2596echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2597   { (exit 1); exit 1; }; }; }
2598
2599  ac_builddir=.
2600
2601if test "$ac_dir" != .; then
2602  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2603  # A "../" for each directory in $ac_dir_suffix.
2604  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2605else
2606  ac_dir_suffix= ac_top_builddir=
2607fi
2608
2609case $srcdir in
2610  .)  # No --srcdir option.  We are building in place.
2611    ac_srcdir=.
2612    if test -z "$ac_top_builddir"; then
2613       ac_top_srcdir=.
2614    else
2615       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2616    fi ;;
2617  [\\/]* | ?:[\\/]* )  # Absolute path.
2618    ac_srcdir=$srcdir$ac_dir_suffix;
2619    ac_top_srcdir=$srcdir ;;
2620  *) # Relative path.
2621    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2622    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2623esac
2624
2625# Do not use `cd foo && pwd` to compute absolute paths, because
2626# the directories may not exist.
2627case `pwd` in
2628.) ac_abs_builddir="$ac_dir";;
2629*)
2630  case "$ac_dir" in
2631  .) ac_abs_builddir=`pwd`;;
2632  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2633  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2634  esac;;
2635esac
2636case $ac_abs_builddir in
2637.) ac_abs_top_builddir=${ac_top_builddir}.;;
2638*)
2639  case ${ac_top_builddir}. in
2640  .) ac_abs_top_builddir=$ac_abs_builddir;;
2641  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2642  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2643  esac;;
2644esac
2645case $ac_abs_builddir in
2646.) ac_abs_srcdir=$ac_srcdir;;
2647*)
2648  case $ac_srcdir in
2649  .) ac_abs_srcdir=$ac_abs_builddir;;
2650  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2651  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2652  esac;;
2653esac
2654case $ac_abs_builddir in
2655.) ac_abs_top_srcdir=$ac_top_srcdir;;
2656*)
2657  case $ac_top_srcdir in
2658  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2659  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2660  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2661  esac;;
2662esac
2663
2664
2665  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2666echo "$as_me: executing $ac_dest commands" >&6;}
2667  case $ac_dest in
2668    chmod ) chmod 755 j; chmod 755 abl ;;
2669  esac
2670done
2671_ACEOF
2672
2673cat >>$CONFIG_STATUS <<\_ACEOF
2674
2675{ (exit 0); exit 0; }
2676_ACEOF
2677chmod +x $CONFIG_STATUS
2678ac_clean_files=$ac_clean_files_save
2679
2680
2681# configure is writing to config.log, and then calls config.status.
2682# config.status does its own redirection, appending to config.log.
2683# Unfortunately, on DOS this fails, as config.log is still kept open
2684# by configure, so config.status won't be able to write to it; its
2685# output is simply discarded.  So we exec the FD to /dev/null,
2686# effectively closing config.log, so it can be properly (re)opened and
2687# appended to by config.status.  When coming back to configure, we
2688# need to make the FD available again.
2689if test "$no_create" != yes; then
2690  ac_cs_success=:
2691  ac_config_status_args=
2692  test "$silent" = yes &&
2693    ac_config_status_args="$ac_config_status_args --quiet"
2694  exec 5>/dev/null
2695  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2696  exec 5>>config.log
2697  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2698  # would make configure fail if this is the last instruction.
2699  $ac_cs_success || { (exit 1); exit 1; }
2700fi
2701
Note: See TracBrowser for help on using the repository browser.