source: tags/0.14.1/j/configure

Last change on this file was 11354, checked in by ehuelsmann, 16 years ago

More steps toward a release:

  • Mark some files with native line endings, such as README
  • Edit README to reflect the current situation
  • Property svn:eol-style set to native
File size: 79.1 KB
Line 
1#! /bin/sh
2# From configure.ac Revision: 1.77 .
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.59.
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 JDK JAVA JAVAC JAVACFLAGS JAVAH JAR LISP_HOME ABCL_LIBPATH JAVA_RUNTIME ABCL_JAVA_OPTIONS CP CLASSPATH ABCL_CLASSPATH COMPILER_CLASSPATH JAVA_OPTIONS JPTY LIBABCL 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-libabcl        build and install libabcl.so
790  --disable-libabcl       do not build or install libabcl.so (default)
791  --enable-debug          enable run-time debugging
792  --disable-debug         disable run-time debugging (default)
793
794Optional Packages:
795  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
796  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
797  --with-jdk=DIR          JDK you want to use
798  --with-options=OPTIONS  runtime options to be passed to java (e.g. -server)
799  --with-extensions=PATH  extensions to CLASSPATH (JIMI, Xerces, etc.)
800
801_ACEOF
802fi
803
804if test "$ac_init_help" = "recursive"; then
805  # If there are subdirs, report their specific --help.
806  ac_popdir=`pwd`
807  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
808    test -d $ac_dir || continue
809    ac_builddir=.
810
811if test "$ac_dir" != .; then
812  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
813  # A "../" for each directory in $ac_dir_suffix.
814  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
815else
816  ac_dir_suffix= ac_top_builddir=
817fi
818
819case $srcdir in
820  .)  # No --srcdir option.  We are building in place.
821    ac_srcdir=.
822    if test -z "$ac_top_builddir"; then
823       ac_top_srcdir=.
824    else
825       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
826    fi ;;
827  [\\/]* | ?:[\\/]* )  # Absolute path.
828    ac_srcdir=$srcdir$ac_dir_suffix;
829    ac_top_srcdir=$srcdir ;;
830  *) # Relative path.
831    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
832    ac_top_srcdir=$ac_top_builddir$srcdir ;;
833esac
834
835# Do not use `cd foo && pwd` to compute absolute paths, because
836# the directories may not exist.
837case `pwd` in
838.) ac_abs_builddir="$ac_dir";;
839*)
840  case "$ac_dir" in
841  .) ac_abs_builddir=`pwd`;;
842  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
843  *) ac_abs_builddir=`pwd`/"$ac_dir";;
844  esac;;
845esac
846case $ac_abs_builddir in
847.) ac_abs_top_builddir=${ac_top_builddir}.;;
848*)
849  case ${ac_top_builddir}. in
850  .) ac_abs_top_builddir=$ac_abs_builddir;;
851  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
852  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
853  esac;;
854esac
855case $ac_abs_builddir in
856.) ac_abs_srcdir=$ac_srcdir;;
857*)
858  case $ac_srcdir in
859  .) ac_abs_srcdir=$ac_abs_builddir;;
860  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
861  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
862  esac;;
863esac
864case $ac_abs_builddir in
865.) ac_abs_top_srcdir=$ac_top_srcdir;;
866*)
867  case $ac_top_srcdir in
868  .) ac_abs_top_srcdir=$ac_abs_builddir;;
869  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
870  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
871  esac;;
872esac
873
874    cd $ac_dir
875    # Check for guested configure; otherwise get Cygnus style configure.
876    if test -f $ac_srcdir/configure.gnu; then
877      echo
878      $SHELL $ac_srcdir/configure.gnu  --help=recursive
879    elif test -f $ac_srcdir/configure; then
880      echo
881      $SHELL $ac_srcdir/configure  --help=recursive
882    elif test -f $ac_srcdir/configure.ac ||
883     test -f $ac_srcdir/configure.in; then
884      echo
885      $ac_configure --help
886    else
887      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
888    fi
889    cd "$ac_popdir"
890  done
891fi
892
893test -n "$ac_init_help" && exit 0
894if $ac_init_version; then
895  cat <<\_ACEOF
896
897Copyright (C) 2003 Free Software Foundation, Inc.
898This configure script is free software; the Free Software Foundation
899gives unlimited permission to copy, distribute and modify it.
900_ACEOF
901  exit 0
902fi
903exec 5>config.log
904cat >&5 <<_ACEOF
905This file contains any messages produced by compilers while
906running configure, to aid debugging if configure makes a mistake.
907
908It was created by $as_me, which was
909generated by GNU Autoconf 2.59.  Invocation command line was
910
911  $ $0 $@
912
913_ACEOF
914{
915cat <<_ASUNAME
916## --------- ##
917## Platform. ##
918## --------- ##
919
920hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
921uname -m = `(uname -m) 2>/dev/null || echo unknown`
922uname -r = `(uname -r) 2>/dev/null || echo unknown`
923uname -s = `(uname -s) 2>/dev/null || echo unknown`
924uname -v = `(uname -v) 2>/dev/null || echo unknown`
925
926/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
927/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
928
929/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
930/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
931/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
932hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
933/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
934/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
935/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
936
937_ASUNAME
938
939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
940for as_dir in $PATH
941do
942  IFS=$as_save_IFS
943  test -z "$as_dir" && as_dir=.
944  echo "PATH: $as_dir"
945done
946
947} >&5
948
949cat >&5 <<_ACEOF
950
951
952## ----------- ##
953## Core tests. ##
954## ----------- ##
955
956_ACEOF
957
958
959# Keep a trace of the command line.
960# Strip out --no-create and --no-recursion so they do not pile up.
961# Strip out --silent because we don't want to record it for future runs.
962# Also quote any args containing shell meta-characters.
963# Make two passes to allow for proper duplicate-argument suppression.
964ac_configure_args=
965ac_configure_args0=
966ac_configure_args1=
967ac_sep=
968ac_must_keep_next=false
969for ac_pass in 1 2
970do
971  for ac_arg
972  do
973    case $ac_arg in
974    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
975    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
976    | -silent | --silent | --silen | --sile | --sil)
977      continue ;;
978    *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
979      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
980    esac
981    case $ac_pass in
982    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
983    2)
984      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
985      if test $ac_must_keep_next = true; then
986  ac_must_keep_next=false # Got value, back to normal.
987      else
988  case $ac_arg in
989    *=* | --config-cache | -C | -disable-* | --disable-* \
990    | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
991    | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
992    | -with-* | --with-* | -without-* | --without-* | --x)
993      case "$ac_configure_args0 " in
994        "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
995      esac
996      ;;
997    -* ) ac_must_keep_next=true ;;
998  esac
999      fi
1000      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1001      # Get rid of the leading space.
1002      ac_sep=" "
1003      ;;
1004    esac
1005  done
1006done
1007$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1008$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1009
1010# When interrupted or exit'd, cleanup temporary files, and complete
1011# config.log.  We remove comments because anyway the quotes in there
1012# would cause problems or look ugly.
1013# WARNING: Be sure not to use single quotes in there, as some shells,
1014# such as our DU 5.0 friend, will then `close' the trap.
1015trap 'exit_status=$?
1016  # Save into config.log some information that might help in debugging.
1017  {
1018    echo
1019
1020    cat <<\_ASBOX
1021## ---------------- ##
1022## Cache variables. ##
1023## ---------------- ##
1024_ASBOX
1025    echo
1026    # The following way of writing the cache mishandles newlines in values,
1027{
1028  (set) 2>&1 |
1029    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1030    *ac_space=\ *)
1031      sed -n \
1032  "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1033    s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1034      ;;
1035    *)
1036      sed -n \
1037  "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1038      ;;
1039    esac;
1040}
1041    echo
1042
1043    cat <<\_ASBOX
1044## ----------------- ##
1045## Output variables. ##
1046## ----------------- ##
1047_ASBOX
1048    echo
1049    for ac_var in $ac_subst_vars
1050    do
1051      eval ac_val=$`echo $ac_var`
1052      echo "$ac_var='"'"'$ac_val'"'"'"
1053    done | sort
1054    echo
1055
1056    if test -n "$ac_subst_files"; then
1057      cat <<\_ASBOX
1058## ------------- ##
1059## Output files. ##
1060## ------------- ##
1061_ASBOX
1062      echo
1063      for ac_var in $ac_subst_files
1064      do
1065  eval ac_val=$`echo $ac_var`
1066  echo "$ac_var='"'"'$ac_val'"'"'"
1067      done | sort
1068      echo
1069    fi
1070
1071    if test -s confdefs.h; then
1072      cat <<\_ASBOX
1073## ----------- ##
1074## confdefs.h. ##
1075## ----------- ##
1076_ASBOX
1077      echo
1078      sed "/^$/d" confdefs.h | sort
1079      echo
1080    fi
1081    test "$ac_signal" != 0 &&
1082      echo "$as_me: caught signal $ac_signal"
1083    echo "$as_me: exit $exit_status"
1084  } >&5
1085  rm -f core *.core &&
1086  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1087    exit $exit_status
1088     ' 0
1089for ac_signal in 1 2 13 15; do
1090  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1091done
1092ac_signal=0
1093
1094# confdefs.h avoids OS command line length limits that DEFS can exceed.
1095rm -rf conftest* confdefs.h
1096# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1097echo >confdefs.h
1098
1099# Predefined preprocessor variables.
1100
1101cat >>confdefs.h <<_ACEOF
1102#define PACKAGE_NAME "$PACKAGE_NAME"
1103_ACEOF
1104
1105
1106cat >>confdefs.h <<_ACEOF
1107#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1108_ACEOF
1109
1110
1111cat >>confdefs.h <<_ACEOF
1112#define PACKAGE_VERSION "$PACKAGE_VERSION"
1113_ACEOF
1114
1115
1116cat >>confdefs.h <<_ACEOF
1117#define PACKAGE_STRING "$PACKAGE_STRING"
1118_ACEOF
1119
1120
1121cat >>confdefs.h <<_ACEOF
1122#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1123_ACEOF
1124
1125
1126# Let the site file select an alternate cache file if it wants to.
1127# Prefer explicitly selected file to automatically selected ones.
1128if test -z "$CONFIG_SITE"; then
1129  if test "x$prefix" != xNONE; then
1130    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1131  else
1132    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1133  fi
1134fi
1135for ac_site_file in $CONFIG_SITE; do
1136  if test -r "$ac_site_file"; then
1137    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1138echo "$as_me: loading site script $ac_site_file" >&6;}
1139    sed 's/^/| /' "$ac_site_file" >&5
1140    . "$ac_site_file"
1141  fi
1142done
1143
1144if test -r "$cache_file"; then
1145  # Some versions of bash will fail to source /dev/null (special
1146  # files actually), so we avoid doing that.
1147  if test -f "$cache_file"; then
1148    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1149echo "$as_me: loading cache $cache_file" >&6;}
1150    case $cache_file in
1151      [\\/]* | ?:[\\/]* ) . $cache_file;;
1152      *)                      . ./$cache_file;;
1153    esac
1154  fi
1155else
1156  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1157echo "$as_me: creating cache $cache_file" >&6;}
1158  >$cache_file
1159fi
1160
1161# Check that the precious variables saved in the cache have kept the same
1162# value.
1163ac_cache_corrupted=false
1164for ac_var in `(set) 2>&1 |
1165         sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1166  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1167  eval ac_new_set=\$ac_env_${ac_var}_set
1168  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1169  eval ac_new_val="\$ac_env_${ac_var}_value"
1170  case $ac_old_set,$ac_new_set in
1171    set,)
1172      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1173echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1174      ac_cache_corrupted=: ;;
1175    ,set)
1176      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1177echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1178      ac_cache_corrupted=: ;;
1179    ,);;
1180    *)
1181      if test "x$ac_old_val" != "x$ac_new_val"; then
1182  { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1183echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1184  { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1185echo "$as_me:   former value:  $ac_old_val" >&2;}
1186  { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1187echo "$as_me:   current value: $ac_new_val" >&2;}
1188  ac_cache_corrupted=:
1189      fi;;
1190  esac
1191  # Pass precious variables to config.status.
1192  if test "$ac_new_set" = set; then
1193    case $ac_new_val in
1194    *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1195      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1196    *) ac_arg=$ac_var=$ac_new_val ;;
1197    esac
1198    case " $ac_configure_args " in
1199      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1200      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1201    esac
1202  fi
1203done
1204if $ac_cache_corrupted; then
1205  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1206echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1207  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1208echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1209   { (exit 1); exit 1; }; }
1210fi
1211
1212ac_ext=c
1213ac_cpp='$CPP $CPPFLAGS'
1214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1216ac_compiler_gnu=$ac_cv_c_compiler_gnu
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237ac_aux_dir=
1238for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1239  if test -f $ac_dir/install-sh; then
1240    ac_aux_dir=$ac_dir
1241    ac_install_sh="$ac_aux_dir/install-sh -c"
1242    break
1243  elif test -f $ac_dir/install.sh; then
1244    ac_aux_dir=$ac_dir
1245    ac_install_sh="$ac_aux_dir/install.sh -c"
1246    break
1247  elif test -f $ac_dir/shtool; then
1248    ac_aux_dir=$ac_dir
1249    ac_install_sh="$ac_aux_dir/shtool install -c"
1250    break
1251  fi
1252done
1253if test -z "$ac_aux_dir"; then
1254  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1255echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1256   { (exit 1); exit 1; }; }
1257fi
1258ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1259ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1260ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1261
1262# Find a good install program.  We prefer a C program (faster),
1263# so one script is as good as another.  But avoid the broken or
1264# incompatible versions:
1265# SysV /etc/install, /usr/sbin/install
1266# SunOS /usr/etc/install
1267# IRIX /sbin/install
1268# AIX /bin/install
1269# AmigaOS /C/install, which installs bootblocks on floppy discs
1270# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1271# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1272# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1273# OS/2's system install, which has a completely different semantic
1274# ./install, which can be erroneously created by make from ./install.sh.
1275echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1276echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1277if test -z "$INSTALL"; then
1278if test "${ac_cv_path_install+set}" = set; then
1279  echo $ECHO_N "(cached) $ECHO_C" >&6
1280else
1281  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1282for as_dir in $PATH
1283do
1284  IFS=$as_save_IFS
1285  test -z "$as_dir" && as_dir=.
1286  # Account for people who put trailing slashes in PATH elements.
1287case $as_dir/ in
1288  ./ | .// | /cC/* | \
1289  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1290  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1291  /usr/ucb/* ) ;;
1292  *)
1293    # OSF1 and SCO ODT 3.0 have their own names for install.
1294    # Don't use installbsd from OSF since it installs stuff as root
1295    # by default.
1296    for ac_prog in ginstall scoinst install; do
1297      for ac_exec_ext in '' $ac_executable_extensions; do
1298  if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1299    if test $ac_prog = install &&
1300      grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1301      # AIX install.  It has an incompatible calling convention.
1302      :
1303    elif test $ac_prog = install &&
1304      grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1305      # program-specific install script used by HP pwplus--don't use.
1306      :
1307    else
1308      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1309      break 3
1310    fi
1311  fi
1312      done
1313    done
1314    ;;
1315esac
1316done
1317
1318
1319fi
1320  if test "${ac_cv_path_install+set}" = set; then
1321    INSTALL=$ac_cv_path_install
1322  else
1323    # As a last resort, use the slow shell script.  We don't cache a
1324    # path for INSTALL within a source directory, because that will
1325    # break other packages using the cache if that directory is
1326    # removed, or if the path is relative.
1327    INSTALL=$ac_install_sh
1328  fi
1329fi
1330echo "$as_me:$LINENO: result: $INSTALL" >&5
1331echo "${ECHO_T}$INSTALL" >&6
1332
1333# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1334# It thinks the first close brace ends the variable substitution.
1335test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1336
1337test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1338
1339test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1340
1341
1342version=0.21.0.5+
1343
1344
1345if test $OSTYPE = cygwin32 || test $OSTYPE = cygwin ; then
1346    CYGWIN=yes
1347    PATHSEP=";"
1348else
1349    PATHSEP=":"
1350fi
1351
1352
1353
1354
1355case "${srcdir}" in
1356    /*)
1357        ;;
1358    .)
1359        unset CDPATH
1360        if test "${PWD}" != "" && test "`(cd ${PWD}; sh -c pwd)`" = "`pwd`"; then
1361            srcdir="$PWD"
1362        else
1363            srcdir="`(cd ${srcdir}; pwd)`"
1364        fi
1365        ;;
1366    *)
1367        srcdir="`(cd ${srcdir}; pwd)`"
1368        ;;
1369esac
1370
1371
1372
1373# Check whether --with-jdk or --without-jdk was given.
1374if test "${with_jdk+set}" = set; then
1375  withval="$with_jdk"
1376
1377    JDK=${with_jdk}
1378
1379else
1380
1381    { { echo "$as_me:$LINENO: error: no jdk specified; use --with-jdk" >&5
1382echo "$as_me: error: no jdk specified; use --with-jdk" >&2;}
1383   { (exit 1); exit 1; }; }
1384
1385fi;
1386
1387JDK=`echo $JDK | sed -e 's/\/$//'`
1388
1389if test -x $JDK/bin/java; then
1390    JAVA=$JDK/bin/java;
1391elif test -x $JDK/jre/bin/java; then
1392    JAVA=$JDK/jre/bin/java;
1393elif test -x $JDK/Home/bin/java; then
1394    JAVA=$JDK/Home/bin/java;
1395else
1396    { { echo "$as_me:$LINENO: error: Java not found" >&5
1397echo "$as_me: error: Java not found" >&2;}
1398   { (exit 1); exit 1; }; }
1399fi
1400
1401
1402
1403
1404
1405echo "$as_me:$LINENO: checking Java version" >&5
1406echo $ECHO_N "checking Java version... $ECHO_C" >&6
1407JAVA_VERSION=`$JAVA -version 2>&1`
1408
1409case "$JAVA_VERSION" in
1410    java*1.5*)
1411        echo "$as_me:$LINENO: result: $JAVA_VERSION" >&5
1412echo "${ECHO_T}$JAVA_VERSION" >&6
1413        ;;
1414    java*1.4*)
1415        echo "$as_me:$LINENO: result: $JAVA_VERSION" >&5
1416echo "${ECHO_T}$JAVA_VERSION" >&6
1417        ;;
1418    *)
1419        { { echo "$as_me:$LINENO: error: Java 1.4 or later is required" >&5
1420echo "$as_me: error: Java 1.4 or later is required" >&2;}
1421   { (exit 1); exit 1; }; }
1422        ;;
1423esac
1424
1425
1426
1427test -z "$JAVAC" && test -x $JDK/Home/bin/javac && JAVAC=$JDK/Home/bin/javac
1428test -z "$JAVAC" && JAVAC=$JDK/bin/javac
1429
1430test "$JAVAC" = jikes && JAVACFLAGS="+D +F"
1431
1432
1433
1434JAVAH=$JDK/bin/javah
1435
1436
1437
1438
1439test -z "$JAR" && for ac_prog in fastjar
1440do
1441  # Extract the first word of "$ac_prog", so it can be a program name with args.
1442set dummy $ac_prog; ac_word=$2
1443echo "$as_me:$LINENO: checking for $ac_word" >&5
1444echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1445if test "${ac_cv_prog_JAR+set}" = set; then
1446  echo $ECHO_N "(cached) $ECHO_C" >&6
1447else
1448  if test -n "$JAR"; then
1449  ac_cv_prog_JAR="$JAR" # Let the user override the test.
1450else
1451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452for as_dir in $PATH
1453do
1454  IFS=$as_save_IFS
1455  test -z "$as_dir" && as_dir=.
1456  for ac_exec_ext in '' $ac_executable_extensions; do
1457  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1458    ac_cv_prog_JAR="$ac_prog"
1459    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1460    break 2
1461  fi
1462done
1463done
1464
1465fi
1466fi
1467JAR=$ac_cv_prog_JAR
1468if test -n "$JAR"; then
1469  echo "$as_me:$LINENO: result: $JAR" >&5
1470echo "${ECHO_T}$JAR" >&6
1471else
1472  echo "$as_me:$LINENO: result: no" >&5
1473echo "${ECHO_T}no" >&6
1474fi
1475
1476  test -n "$JAR" && break
1477done
1478
1479test -z "$JAR" && test -x $JDK/Home/bin/jar && JAR=$JDK/Home/bin/jar
1480test -z "$JAR" && JAR=$JDK/bin/jar
1481
1482
1483
1484LISP_HOME=$srcdir/src/org/armedbear/lisp
1485
1486
1487
1488test "x$prefix" = xNONE && prefix=/usr/local
1489
1490test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
1491
1492eval "datadir=$datadir"
1493eval "libdir=$libdir"
1494
1495ABCL_LIBPATH=$LISP_HOME:$libdir/abcl
1496
1497
1498if test -f $JDK/jre/lib/rt.jar ; then
1499    # SUN
1500    JAVA_RUNTIME=$JDK/jre/lib/rt.jar
1501    ABCL_JAVA_OPTIONS="-server -Xmx256M"
1502elif test -f $JDK/jre/lib/core.jar ; then
1503    # IBM
1504    JAVA_RUNTIME=""
1505    for i in $JDK/jre/lib/*.jar ; do JAVA_RUNTIME=$JAVA_RUNTIME:$i ; done
1506    ABCL_JAVA_OPTIONS="-Xss512K -Xmx256M"
1507elif test -d $JDK/Classes ; then
1508    # Mac OS X
1509    JAVA_RUNTIME=""
1510    for i in $JDK/Classes/*.jar ; do JAVA_RUNTIME=$JAVA_RUNTIME:$i ; done
1511    ABCL_JAVA_OPTIONS="-server -Xmx256M"
1512else
1513    { { echo "$as_me:$LINENO: error: unable to find Java runtime" >&5
1514echo "$as_me: error: unable to find Java runtime" >&2;}
1515   { (exit 1); exit 1; }; }
1516fi
1517if test -f $JDK/lib/tools.jar ; then
1518    JAVA_RUNTIME=$JAVA_RUNTIME:$JDK/lib/tools.jar
1519fi
1520
1521
1522
1523
1524
1525JPATH=$srcdir/src:$datadir/j/j.jar
1526
1527CP="-cp"
1528CLASSPATH="$JPATH:$JDK/lib/tools.jar"
1529ABCL_CLASSPATH=$JPATH
1530
1531
1532
1533
1534COMPILER_CLASSPATH="$srcdir/src:$JAVA_RUNTIME"
1535
1536
1537
1538# Check whether --with-options or --without-options was given.
1539if test "${with_options+set}" = set; then
1540  withval="$with_options"
1541
1542    JAVA_OPTIONS=${with_options}
1543
1544fi;
1545
1546
1547
1548# Check whether --with-extensions or --without-extensions was given.
1549if test "${with_extensions+set}" = set; then
1550  withval="$with_extensions"
1551
1552    EXTENSIONS=${with_extensions}
1553
1554fi;
1555
1556if test $EXTENSIONS; then
1557    CLASSPATH="$CLASSPATH:$EXTENSIONS"
1558    COMPILER_CLASSPATH="$COMPILER_CLASSPATH:$EXTENSIONS"
1559fi
1560
1561if test $CYGWIN; then
1562    JAVA_RUNTIME=`cygpath -p -w $JAVA_RUNTIME`
1563    CLASSPATH=`cygpath -p -w $CLASSPATH`
1564    COMPILER_CLASSPATH=`cygpath -p -w $COMPILER_CLASSPATH`
1565fi
1566
1567
1568# Check whether --enable-jpty or --disable-jpty was given.
1569if test "${enable_jpty+set}" = set; then
1570  enableval="$enable_jpty"
1571
1572fi;
1573
1574if test "$enable_jpty" = "yes"; then
1575    if test $CYGWIN; then
1576        JPTY=jpty.exe
1577    else
1578        JPTY=jpty
1579    fi
1580fi
1581
1582
1583
1584
1585# Check whether --enable-libabcl or --disable-libabcl was given.
1586if test "${enable_libabcl+set}" = set; then
1587  enableval="$enable_libabcl"
1588
1589fi;
1590
1591if test "$enable_libabcl" = "yes"; then
1592    LIBABCL=libabcl.so
1593fi
1594
1595
1596
1597
1598# Check whether --enable-debug or --disable-debug was given.
1599if test "${enable_debug+set}" = set; then
1600  enableval="$enable_debug"
1601
1602fi;
1603
1604if test "$enable_debug" = "yes"; then
1605    JAVACFLAGS="$JAVACFLAGS -g"
1606else
1607    JAVACFLAGS="$JAVACFLAGS -g:none"
1608fi
1609
1610
1611                                                                                                                        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 abcl"
1612
1613
1614          ac_config_commands="$ac_config_commands chmod"
1615
1616
1617cat >confcache <<\_ACEOF
1618# This file is a shell script that caches the results of configure
1619# tests run on this system so they can be shared between configure
1620# scripts and configure runs, see configure's option --config-cache.
1621# It is not useful on other systems.  If it contains results you don't
1622# want to keep, you may remove or edit it.
1623#
1624# config.status only pays attention to the cache file if you give it
1625# the --recheck option to rerun configure.
1626#
1627# `ac_cv_env_foo' variables (set or unset) will be overridden when
1628# loading this file, other *unset* `ac_cv_foo' will be assigned the
1629# following values.
1630
1631_ACEOF
1632
1633# The following way of writing the cache mishandles newlines in values,
1634# but we know of no workaround that is simple, portable, and efficient.
1635# So, don't put newlines in cache variables' values.
1636# Ultrix sh set writes to stderr and can't be redirected directly,
1637# and sets the high bit in the cache file unless we assign to the vars.
1638{
1639  (set) 2>&1 |
1640    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1641    *ac_space=\ *)
1642      # `set' does not quote correctly, so add quotes (double-quote
1643      # substitution turns \\\\ into \\, and sed turns \\ into \).
1644      sed -n \
1645  "s/'/'\\\\''/g;
1646    s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1647      ;;
1648    *)
1649      # `set' quotes correctly as required by POSIX, so do not add quotes.
1650      sed -n \
1651  "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1652      ;;
1653    esac;
1654} |
1655  sed '
1656     t clear
1657     : clear
1658     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1659     t end
1660     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1661     : end' >>confcache
1662if diff $cache_file confcache >/dev/null 2>&1; then :; else
1663  if test -w $cache_file; then
1664    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1665    cat confcache >$cache_file
1666  else
1667    echo "not updating unwritable cache $cache_file"
1668  fi
1669fi
1670rm -f confcache
1671
1672test "x$prefix" = xNONE && prefix=$ac_default_prefix
1673# Let make expand exec_prefix.
1674test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1675
1676# VPATH may cause trouble with some makes, so we remove $(srcdir),
1677# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1678# trailing colons and then remove the whole line if VPATH becomes empty
1679# (actually we leave an empty line to preserve line numbers).
1680if test "x$srcdir" = x.; then
1681  ac_vpsub='/^[  ]*VPATH[  ]*=/{
1682s/:*\$(srcdir):*/:/;
1683s/:*\${srcdir}:*/:/;
1684s/:*@srcdir@:*/:/;
1685s/^\([^=]*=[   ]*\):*/\1/;
1686s/:*$//;
1687s/^[^=]*=[   ]*$//;
1688}'
1689fi
1690
1691# Transform confdefs.h into DEFS.
1692# Protect against shell expansion while executing Makefile rules.
1693# Protect against Makefile macro expansion.
1694#
1695# If the first sed substitution is executed (which looks for macros that
1696# take arguments), then we branch to the quote section.  Otherwise,
1697# look for a macro that doesn't take arguments.
1698cat >confdef2opt.sed <<\_ACEOF
1699t clear
1700: clear
1701s,^[   ]*#[  ]*define[   ][  ]*\([^  (][^  (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1702t quote
1703s,^[   ]*#[  ]*define[   ][  ]*\([^  ][^   ]*\)[   ]*\(.*\),-D\1=\2,g
1704t quote
1705d
1706: quote
1707s,[  `~#$^&*(){}\\|;'"<>?],\\&,g
1708s,\[,\\&,g
1709s,\],\\&,g
1710s,\$,$$,g
1711p
1712_ACEOF
1713# We use echo to avoid assuming a particular line-breaking character.
1714# The extra dot is to prevent the shell from consuming trailing
1715# line-breaks from the sub-command output.  A line-break within
1716# single-quotes doesn't work because, if this script is created in a
1717# platform that uses two characters for line-breaks (e.g., DOS), tr
1718# would break.
1719ac_LF_and_DOT=`echo; echo .`
1720DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1721rm -f confdef2opt.sed
1722
1723
1724ac_libobjs=
1725ac_ltlibobjs=
1726for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1727  # 1. Remove the extension, and $U if already installed.
1728  ac_i=`echo "$ac_i" |
1729   sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1730  # 2. Add them.
1731  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1732  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1733done
1734LIBOBJS=$ac_libobjs
1735
1736LTLIBOBJS=$ac_ltlibobjs
1737
1738
1739
1740: ${CONFIG_STATUS=./config.status}
1741ac_clean_files_save=$ac_clean_files
1742ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1743{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1744echo "$as_me: creating $CONFIG_STATUS" >&6;}
1745cat >$CONFIG_STATUS <<_ACEOF
1746#! $SHELL
1747# Generated by $as_me.
1748# Run this file to recreate the current configuration.
1749# Compiler output produced by configure, useful for debugging
1750# configure, is in config.log if it exists.
1751
1752debug=false
1753ac_cs_recheck=false
1754ac_cs_silent=false
1755SHELL=\${CONFIG_SHELL-$SHELL}
1756_ACEOF
1757
1758cat >>$CONFIG_STATUS <<\_ACEOF
1759## --------------------- ##
1760## M4sh Initialization.  ##
1761## --------------------- ##
1762
1763# Be Bourne compatible
1764if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1765  emulate sh
1766  NULLCMD=:
1767  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1768  # is contrary to our usage.  Disable this feature.
1769  alias -g '${1+"$@"}'='"$@"'
1770elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1771  set -o posix
1772fi
1773DUALCASE=1; export DUALCASE # for MKS sh
1774
1775# Support unset when possible.
1776if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1777  as_unset=unset
1778else
1779  as_unset=false
1780fi
1781
1782
1783# Work around bugs in pre-3.0 UWIN ksh.
1784$as_unset ENV MAIL MAILPATH
1785PS1='$ '
1786PS2='> '
1787PS4='+ '
1788
1789# NLS nuisances.
1790for as_var in \
1791  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1792  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1793  LC_TELEPHONE LC_TIME
1794do
1795  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1796    eval $as_var=C; export $as_var
1797  else
1798    $as_unset $as_var
1799  fi
1800done
1801
1802# Required to use basename.
1803if expr a : '\(a\)' >/dev/null 2>&1; then
1804  as_expr=expr
1805else
1806  as_expr=false
1807fi
1808
1809if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1810  as_basename=basename
1811else
1812  as_basename=false
1813fi
1814
1815
1816# Name of the executable.
1817as_me=`$as_basename "$0" ||
1818$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1819   X"$0" : 'X\(//\)$' \| \
1820   X"$0" : 'X\(/\)$' \| \
1821   .     : '\(.\)' 2>/dev/null ||
1822echo X/"$0" |
1823    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1824      /^X\/\(\/\/\)$/{ s//\1/; q; }
1825      /^X\/\(\/\).*/{ s//\1/; q; }
1826      s/.*/./; q'`
1827
1828
1829# PATH needs CR, and LINENO needs CR and PATH.
1830# Avoid depending upon Character Ranges.
1831as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1832as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1833as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1834as_cr_digits='0123456789'
1835as_cr_alnum=$as_cr_Letters$as_cr_digits
1836
1837# The user is always right.
1838if test "${PATH_SEPARATOR+set}" != set; then
1839  echo "#! /bin/sh" >conf$$.sh
1840  echo  "exit 0"   >>conf$$.sh
1841  chmod +x conf$$.sh
1842  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1843    PATH_SEPARATOR=';'
1844  else
1845    PATH_SEPARATOR=:
1846  fi
1847  rm -f conf$$.sh
1848fi
1849
1850
1851  as_lineno_1=$LINENO
1852  as_lineno_2=$LINENO
1853  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1854  test "x$as_lineno_1" != "x$as_lineno_2" &&
1855  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1856  # Find who we are.  Look in the path if we contain no path at all
1857  # relative or not.
1858  case $0 in
1859    *[\\/]* ) as_myself=$0 ;;
1860    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861for as_dir in $PATH
1862do
1863  IFS=$as_save_IFS
1864  test -z "$as_dir" && as_dir=.
1865  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1866done
1867
1868       ;;
1869  esac
1870  # We did not find ourselves, most probably we were run as `sh COMMAND'
1871  # in which case we are not to be found in the path.
1872  if test "x$as_myself" = x; then
1873    as_myself=$0
1874  fi
1875  if test ! -f "$as_myself"; then
1876    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1877echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1878   { (exit 1); exit 1; }; }
1879  fi
1880  case $CONFIG_SHELL in
1881  '')
1882    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1883for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1884do
1885  IFS=$as_save_IFS
1886  test -z "$as_dir" && as_dir=.
1887  for as_base in sh bash ksh sh5; do
1888   case $as_dir in
1889   /*)
1890     if ("$as_dir/$as_base" -c '
1891  as_lineno_1=$LINENO
1892  as_lineno_2=$LINENO
1893  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1894  test "x$as_lineno_1" != "x$as_lineno_2" &&
1895  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1896       $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1897       $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1898       CONFIG_SHELL=$as_dir/$as_base
1899       export CONFIG_SHELL
1900       exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1901     fi;;
1902   esac
1903       done
1904done
1905;;
1906  esac
1907
1908  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1909  # uniformly replaced by the line number.  The first 'sed' inserts a
1910  # line-number line before each line; the second 'sed' does the real
1911  # work.  The second script uses 'N' to pair each line-number line
1912  # with the numbered line, and appends trailing '-' during
1913  # substitution so that $LINENO is not a special case at line end.
1914  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1915  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1916  sed '=' <$as_myself |
1917    sed '
1918      N
1919      s,$,-,
1920      : loop
1921      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1922      t loop
1923      s,-$,,
1924      s,^['$as_cr_digits']*\n,,
1925    ' >$as_me.lineno &&
1926  chmod +x $as_me.lineno ||
1927    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1928echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1929   { (exit 1); exit 1; }; }
1930
1931  # Don't try to exec as it changes $[0], causing all sort of problems
1932  # (the dirname of $[0] is not the place where we might find the
1933  # original and so on.  Autoconf is especially sensible to this).
1934  . ./$as_me.lineno
1935  # Exit status is that of the last command.
1936  exit
1937}
1938
1939
1940case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1941  *c*,-n*) ECHO_N= ECHO_C='
1942' ECHO_T='  ' ;;
1943  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1944  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1945esac
1946
1947if expr a : '\(a\)' >/dev/null 2>&1; then
1948  as_expr=expr
1949else
1950  as_expr=false
1951fi
1952
1953rm -f conf$$ conf$$.exe conf$$.file
1954echo >conf$$.file
1955if ln -s conf$$.file conf$$ 2>/dev/null; then
1956  # We could just check for DJGPP; but this test a) works b) is more generic
1957  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1958  if test -f conf$$.exe; then
1959    # Don't use ln at all; we don't have any links
1960    as_ln_s='cp -p'
1961  else
1962    as_ln_s='ln -s'
1963  fi
1964elif ln conf$$.file conf$$ 2>/dev/null; then
1965  as_ln_s=ln
1966else
1967  as_ln_s='cp -p'
1968fi
1969rm -f conf$$ conf$$.exe conf$$.file
1970
1971if mkdir -p . 2>/dev/null; then
1972  as_mkdir_p=:
1973else
1974  test -d ./-p && rmdir ./-p
1975  as_mkdir_p=false
1976fi
1977
1978as_executable_p="test -f"
1979
1980# Sed expression to map a string onto a valid CPP name.
1981as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1982
1983# Sed expression to map a string onto a valid variable name.
1984as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1985
1986
1987# IFS
1988# We need space, tab and new line, in precisely that order.
1989as_nl='
1990'
1991IFS="   $as_nl"
1992
1993# CDPATH.
1994$as_unset CDPATH
1995
1996exec 6>&1
1997
1998# Open the log real soon, to keep \$[0] and so on meaningful, and to
1999# report actual input values of CONFIG_FILES etc. instead of their
2000# values after options handling.  Logging --version etc. is OK.
2001exec 5>>config.log
2002{
2003  echo
2004  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2005## Running $as_me. ##
2006_ASBOX
2007} >&5
2008cat >&5 <<_CSEOF
2009
2010This file was extended by $as_me, which was
2011generated by GNU Autoconf 2.59.  Invocation command line was
2012
2013  CONFIG_FILES    = $CONFIG_FILES
2014  CONFIG_HEADERS  = $CONFIG_HEADERS
2015  CONFIG_LINKS    = $CONFIG_LINKS
2016  CONFIG_COMMANDS = $CONFIG_COMMANDS
2017  $ $0 $@
2018
2019_CSEOF
2020echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2021echo >&5
2022_ACEOF
2023
2024# Files that config.status was made for.
2025if test -n "$ac_config_files"; then
2026  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2027fi
2028
2029if test -n "$ac_config_headers"; then
2030  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2031fi
2032
2033if test -n "$ac_config_links"; then
2034  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2035fi
2036
2037if test -n "$ac_config_commands"; then
2038  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2039fi
2040
2041cat >>$CONFIG_STATUS <<\_ACEOF
2042
2043ac_cs_usage="\
2044\`$as_me' instantiates files from templates according to the
2045current configuration.
2046
2047Usage: $0 [OPTIONS] [FILE]...
2048
2049  -h, --help       print this help, then exit
2050  -V, --version    print version number, then exit
2051  -q, --quiet      do not print progress messages
2052  -d, --debug      don't remove temporary files
2053      --recheck    update $as_me by reconfiguring in the same conditions
2054  --file=FILE[:TEMPLATE]
2055       instantiate the configuration file FILE
2056
2057Configuration files:
2058$config_files
2059
2060Configuration commands:
2061$config_commands
2062
2063Report bugs to <bug-autoconf@gnu.org>."
2064_ACEOF
2065
2066cat >>$CONFIG_STATUS <<_ACEOF
2067ac_cs_version="\\
2068config.status
2069configured by $0, generated by GNU Autoconf 2.59,
2070  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2071
2072Copyright (C) 2003 Free Software Foundation, Inc.
2073This config.status script is free software; the Free Software Foundation
2074gives unlimited permission to copy, distribute and modify it."
2075srcdir=$srcdir
2076INSTALL="$INSTALL"
2077_ACEOF
2078
2079cat >>$CONFIG_STATUS <<\_ACEOF
2080# If no file are specified by the user, then we need to provide default
2081# value.  By we need to know if files were specified by the user.
2082ac_need_defaults=:
2083while test $# != 0
2084do
2085  case $1 in
2086  --*=*)
2087    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2088    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2089    ac_shift=:
2090    ;;
2091  -*)
2092    ac_option=$1
2093    ac_optarg=$2
2094    ac_shift=shift
2095    ;;
2096  *) # This is not an option, so the user has probably given explicit
2097     # arguments.
2098     ac_option=$1
2099     ac_need_defaults=false;;
2100  esac
2101
2102  case $ac_option in
2103  # Handling of the options.
2104_ACEOF
2105cat >>$CONFIG_STATUS <<\_ACEOF
2106  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2107    ac_cs_recheck=: ;;
2108  --version | --vers* | -V )
2109    echo "$ac_cs_version"; exit 0 ;;
2110  --he | --h)
2111    # Conflict between --help and --header
2112    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2113Try \`$0 --help' for more information." >&5
2114echo "$as_me: error: ambiguous option: $1
2115Try \`$0 --help' for more information." >&2;}
2116   { (exit 1); exit 1; }; };;
2117  --help | --hel | -h )
2118    echo "$ac_cs_usage"; exit 0 ;;
2119  --debug | --d* | -d )
2120    debug=: ;;
2121  --file | --fil | --fi | --f )
2122    $ac_shift
2123    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2124    ac_need_defaults=false;;
2125  --header | --heade | --head | --hea )
2126    $ac_shift
2127    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2128    ac_need_defaults=false;;
2129  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2130  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2131    ac_cs_silent=: ;;
2132
2133  # This is an error.
2134  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2135Try \`$0 --help' for more information." >&5
2136echo "$as_me: error: unrecognized option: $1
2137Try \`$0 --help' for more information." >&2;}
2138   { (exit 1); exit 1; }; } ;;
2139
2140  *) ac_config_targets="$ac_config_targets $1" ;;
2141
2142  esac
2143  shift
2144done
2145
2146ac_configure_extra_args=
2147
2148if $ac_cs_silent; then
2149  exec 6>/dev/null
2150  ac_configure_extra_args="$ac_configure_extra_args --silent"
2151fi
2152
2153_ACEOF
2154cat >>$CONFIG_STATUS <<_ACEOF
2155if \$ac_cs_recheck; then
2156  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2157  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2158fi
2159
2160_ACEOF
2161
2162
2163
2164
2165
2166cat >>$CONFIG_STATUS <<\_ACEOF
2167for ac_config_target in $ac_config_targets
2168do
2169  case "$ac_config_target" in
2170  # Handling of arguments.
2171  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2172  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
2173  "src/jpty/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/jpty/Makefile" ;;
2174  "src/gnu/regexp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnu/regexp/Makefile" ;;
2175  "src/org/armedbear/j/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/Makefile" ;;
2176  "src/org/armedbear/j/version" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/version" ;;
2177  "src/org/armedbear/j/mail/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/mail/Makefile" ;;
2178  "src/org/armedbear/j/jdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/jdb/Makefile" ;;
2179  "src/org/armedbear/lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/lisp/Makefile" ;;
2180  "src/org/armedbear/lisp/java/awt/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/lisp/java/awt/Makefile" ;;
2181  "j" ) CONFIG_FILES="$CONFIG_FILES j" ;;
2182  "abcl" ) CONFIG_FILES="$CONFIG_FILES abcl" ;;
2183  "chmod" ) CONFIG_COMMANDS="$CONFIG_COMMANDS chmod" ;;
2184  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2185echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2186   { (exit 1); exit 1; }; };;
2187  esac
2188done
2189
2190# If the user did not use the arguments to specify the items to instantiate,
2191# then the envvar interface is used.  Set only those that are not.
2192# We use the long form for the default assignment because of an extremely
2193# bizarre bug on SunOS 4.1.3.
2194if $ac_need_defaults; then
2195  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2196  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2197fi
2198
2199# Have a temporary directory for convenience.  Make it in the build tree
2200# simply because there is no reason to put it here, and in addition,
2201# creating and moving files from /tmp can sometimes cause problems.
2202# Create a temporary directory, and hook for its removal unless debugging.
2203$debug ||
2204{
2205  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2206  trap '{ (exit 1); exit 1; }' 1 2 13 15
2207}
2208
2209# Create a (secure) tmp directory for tmp files.
2210
2211{
2212  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2213  test -n "$tmp" && test -d "$tmp"
2214}  ||
2215{
2216  tmp=./confstat$$-$RANDOM
2217  (umask 077 && mkdir $tmp)
2218} ||
2219{
2220   echo "$me: cannot create a temporary directory in ." >&2
2221   { (exit 1); exit 1; }
2222}
2223
2224_ACEOF
2225
2226cat >>$CONFIG_STATUS <<_ACEOF
2227
2228#
2229# CONFIG_FILES section.
2230#
2231
2232# No need to generate the scripts if there are no CONFIG_FILES.
2233# This happens for instance when ./config.status config.h
2234if test -n "\$CONFIG_FILES"; then
2235  # Protect against being on the right side of a sed subst in config.status.
2236  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2237   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2238s,@SHELL@,$SHELL,;t t
2239s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2240s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2241s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2242s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2243s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2244s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2245s,@exec_prefix@,$exec_prefix,;t t
2246s,@prefix@,$prefix,;t t
2247s,@program_transform_name@,$program_transform_name,;t t
2248s,@bindir@,$bindir,;t t
2249s,@sbindir@,$sbindir,;t t
2250s,@libexecdir@,$libexecdir,;t t
2251s,@datadir@,$datadir,;t t
2252s,@sysconfdir@,$sysconfdir,;t t
2253s,@sharedstatedir@,$sharedstatedir,;t t
2254s,@localstatedir@,$localstatedir,;t t
2255s,@libdir@,$libdir,;t t
2256s,@includedir@,$includedir,;t t
2257s,@oldincludedir@,$oldincludedir,;t t
2258s,@infodir@,$infodir,;t t
2259s,@mandir@,$mandir,;t t
2260s,@build_alias@,$build_alias,;t t
2261s,@host_alias@,$host_alias,;t t
2262s,@target_alias@,$target_alias,;t t
2263s,@DEFS@,$DEFS,;t t
2264s,@ECHO_C@,$ECHO_C,;t t
2265s,@ECHO_N@,$ECHO_N,;t t
2266s,@ECHO_T@,$ECHO_T,;t t
2267s,@LIBS@,$LIBS,;t t
2268s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2269s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2270s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2271s,@version@,$version,;t t
2272s,@PATHSEP@,$PATHSEP,;t t
2273s,@JDK@,$JDK,;t t
2274s,@JAVA@,$JAVA,;t t
2275s,@JAVAC@,$JAVAC,;t t
2276s,@JAVACFLAGS@,$JAVACFLAGS,;t t
2277s,@JAVAH@,$JAVAH,;t t
2278s,@JAR@,$JAR,;t t
2279s,@LISP_HOME@,$LISP_HOME,;t t
2280s,@ABCL_LIBPATH@,$ABCL_LIBPATH,;t t
2281s,@JAVA_RUNTIME@,$JAVA_RUNTIME,;t t
2282s,@ABCL_JAVA_OPTIONS@,$ABCL_JAVA_OPTIONS,;t t
2283s,@CP@,$CP,;t t
2284s,@CLASSPATH@,$CLASSPATH,;t t
2285s,@ABCL_CLASSPATH@,$ABCL_CLASSPATH,;t t
2286s,@COMPILER_CLASSPATH@,$COMPILER_CLASSPATH,;t t
2287s,@JAVA_OPTIONS@,$JAVA_OPTIONS,;t t
2288s,@JPTY@,$JPTY,;t t
2289s,@LIBABCL@,$LIBABCL,;t t
2290s,@LIBOBJS@,$LIBOBJS,;t t
2291s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2292CEOF
2293
2294_ACEOF
2295
2296  cat >>$CONFIG_STATUS <<\_ACEOF
2297  # Split the substitutions into bite-sized pieces for seds with
2298  # small command number limits, like on Digital OSF/1 and HP-UX.
2299  ac_max_sed_lines=48
2300  ac_sed_frag=1 # Number of current file.
2301  ac_beg=1 # First line for current file.
2302  ac_end=$ac_max_sed_lines # Line after last line for current file.
2303  ac_more_lines=:
2304  ac_sed_cmds=
2305  while $ac_more_lines; do
2306    if test $ac_beg -gt 1; then
2307      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2308    else
2309      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2310    fi
2311    if test ! -s $tmp/subs.frag; then
2312      ac_more_lines=false
2313    else
2314      # The purpose of the label and of the branching condition is to
2315      # speed up the sed processing (if there are no `@' at all, there
2316      # is no need to browse any of the substitutions).
2317      # These are the two extra sed commands mentioned above.
2318      (echo ':t
2319  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2320      if test -z "$ac_sed_cmds"; then
2321  ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2322      else
2323  ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2324      fi
2325      ac_sed_frag=`expr $ac_sed_frag + 1`
2326      ac_beg=$ac_end
2327      ac_end=`expr $ac_end + $ac_max_sed_lines`
2328    fi
2329  done
2330  if test -z "$ac_sed_cmds"; then
2331    ac_sed_cmds=cat
2332  fi
2333fi # test -n "$CONFIG_FILES"
2334
2335_ACEOF
2336cat >>$CONFIG_STATUS <<\_ACEOF
2337for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2338  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2339  case $ac_file in
2340  - | *:- | *:-:* ) # input from stdin
2341  cat >$tmp/stdin
2342  ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2343  ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2344  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2345  ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2346  * )   ac_file_in=$ac_file.in ;;
2347  esac
2348
2349  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2350  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2351$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2352   X"$ac_file" : 'X\(//\)[^/]' \| \
2353   X"$ac_file" : 'X\(//\)$' \| \
2354   X"$ac_file" : 'X\(/\)' \| \
2355   .     : '\(.\)' 2>/dev/null ||
2356echo X"$ac_file" |
2357    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2358      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2359      /^X\(\/\/\)$/{ s//\1/; q; }
2360      /^X\(\/\).*/{ s//\1/; q; }
2361      s/.*/./; q'`
2362  { if $as_mkdir_p; then
2363    mkdir -p "$ac_dir"
2364  else
2365    as_dir="$ac_dir"
2366    as_dirs=
2367    while test ! -d "$as_dir"; do
2368      as_dirs="$as_dir $as_dirs"
2369      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2370$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2371   X"$as_dir" : 'X\(//\)[^/]' \| \
2372   X"$as_dir" : 'X\(//\)$' \| \
2373   X"$as_dir" : 'X\(/\)' \| \
2374   .     : '\(.\)' 2>/dev/null ||
2375echo X"$as_dir" |
2376    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2377      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2378      /^X\(\/\/\)$/{ s//\1/; q; }
2379      /^X\(\/\).*/{ s//\1/; q; }
2380      s/.*/./; q'`
2381    done
2382    test ! -n "$as_dirs" || mkdir $as_dirs
2383  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2384echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2385   { (exit 1); exit 1; }; }; }
2386
2387  ac_builddir=.
2388
2389if test "$ac_dir" != .; then
2390  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2391  # A "../" for each directory in $ac_dir_suffix.
2392  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2393else
2394  ac_dir_suffix= ac_top_builddir=
2395fi
2396
2397case $srcdir in
2398  .)  # No --srcdir option.  We are building in place.
2399    ac_srcdir=.
2400    if test -z "$ac_top_builddir"; then
2401       ac_top_srcdir=.
2402    else
2403       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2404    fi ;;
2405  [\\/]* | ?:[\\/]* )  # Absolute path.
2406    ac_srcdir=$srcdir$ac_dir_suffix;
2407    ac_top_srcdir=$srcdir ;;
2408  *) # Relative path.
2409    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2410    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2411esac
2412
2413# Do not use `cd foo && pwd` to compute absolute paths, because
2414# the directories may not exist.
2415case `pwd` in
2416.) ac_abs_builddir="$ac_dir";;
2417*)
2418  case "$ac_dir" in
2419  .) ac_abs_builddir=`pwd`;;
2420  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2421  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2422  esac;;
2423esac
2424case $ac_abs_builddir in
2425.) ac_abs_top_builddir=${ac_top_builddir}.;;
2426*)
2427  case ${ac_top_builddir}. in
2428  .) ac_abs_top_builddir=$ac_abs_builddir;;
2429  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2430  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2431  esac;;
2432esac
2433case $ac_abs_builddir in
2434.) ac_abs_srcdir=$ac_srcdir;;
2435*)
2436  case $ac_srcdir in
2437  .) ac_abs_srcdir=$ac_abs_builddir;;
2438  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2439  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2440  esac;;
2441esac
2442case $ac_abs_builddir in
2443.) ac_abs_top_srcdir=$ac_top_srcdir;;
2444*)
2445  case $ac_top_srcdir in
2446  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2447  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2448  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2449  esac;;
2450esac
2451
2452
2453  case $INSTALL in
2454  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2455  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2456  esac
2457
2458  # Let's still pretend it is `configure' which instantiates (i.e., don't
2459  # use $as_me), people would be surprised to read:
2460  #    /* config.h.  Generated by config.status.  */
2461  if test x"$ac_file" = x-; then
2462    configure_input=
2463  else
2464    configure_input="$ac_file.  "
2465  fi
2466  configure_input=$configure_input"Generated from `echo $ac_file_in |
2467             sed 's,.*/,,'` by configure."
2468
2469  # First look for the input files in the build tree, otherwise in the
2470  # src tree.
2471  ac_file_inputs=`IFS=:
2472    for f in $ac_file_in; do
2473      case $f in
2474      -) echo $tmp/stdin ;;
2475      [\\/$]*)
2476   # Absolute (can't be DOS-style, as IFS=:)
2477   test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2478echo "$as_me: error: cannot find input file: $f" >&2;}
2479   { (exit 1); exit 1; }; }
2480   echo "$f";;
2481      *) # Relative
2482   if test -f "$f"; then
2483     # Build tree
2484     echo "$f"
2485   elif test -f "$srcdir/$f"; then
2486     # Source tree
2487     echo "$srcdir/$f"
2488   else
2489     # /dev/null tree
2490     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2491echo "$as_me: error: cannot find input file: $f" >&2;}
2492   { (exit 1); exit 1; }; }
2493   fi;;
2494      esac
2495    done` || { (exit 1); exit 1; }
2496
2497  if test x"$ac_file" != x-; then
2498    { echo "$as_me:$LINENO: creating $ac_file" >&5
2499echo "$as_me: creating $ac_file" >&6;}
2500    rm -f "$ac_file"
2501  fi
2502_ACEOF
2503cat >>$CONFIG_STATUS <<_ACEOF
2504  sed "$ac_vpsub
2505$extrasub
2506_ACEOF
2507cat >>$CONFIG_STATUS <<\_ACEOF
2508:t
2509/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2510s,@configure_input@,$configure_input,;t t
2511s,@srcdir@,$ac_srcdir,;t t
2512s,@abs_srcdir@,$ac_abs_srcdir,;t t
2513s,@top_srcdir@,$ac_top_srcdir,;t t
2514s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2515s,@builddir@,$ac_builddir,;t t
2516s,@abs_builddir@,$ac_abs_builddir,;t t
2517s,@top_builddir@,$ac_top_builddir,;t t
2518s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2519s,@INSTALL@,$ac_INSTALL,;t t
2520" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2521  rm -f $tmp/stdin
2522  if test x"$ac_file" != x-; then
2523    mv $tmp/out $ac_file
2524  else
2525    cat $tmp/out
2526    rm -f $tmp/out
2527  fi
2528
2529done
2530_ACEOF
2531cat >>$CONFIG_STATUS <<\_ACEOF
2532
2533#
2534# CONFIG_COMMANDS section.
2535#
2536for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2537  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2538  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2539  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2540$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2541   X"$ac_dest" : 'X\(//\)[^/]' \| \
2542   X"$ac_dest" : 'X\(//\)$' \| \
2543   X"$ac_dest" : 'X\(/\)' \| \
2544   .     : '\(.\)' 2>/dev/null ||
2545echo X"$ac_dest" |
2546    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2547      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2548      /^X\(\/\/\)$/{ s//\1/; q; }
2549      /^X\(\/\).*/{ s//\1/; q; }
2550      s/.*/./; q'`
2551  { if $as_mkdir_p; then
2552    mkdir -p "$ac_dir"
2553  else
2554    as_dir="$ac_dir"
2555    as_dirs=
2556    while test ! -d "$as_dir"; do
2557      as_dirs="$as_dir $as_dirs"
2558      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2559$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2560   X"$as_dir" : 'X\(//\)[^/]' \| \
2561   X"$as_dir" : 'X\(//\)$' \| \
2562   X"$as_dir" : 'X\(/\)' \| \
2563   .     : '\(.\)' 2>/dev/null ||
2564echo X"$as_dir" |
2565    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2566      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2567      /^X\(\/\/\)$/{ s//\1/; q; }
2568      /^X\(\/\).*/{ s//\1/; q; }
2569      s/.*/./; q'`
2570    done
2571    test ! -n "$as_dirs" || mkdir $as_dirs
2572  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2573echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2574   { (exit 1); exit 1; }; }; }
2575
2576  ac_builddir=.
2577
2578if test "$ac_dir" != .; then
2579  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2580  # A "../" for each directory in $ac_dir_suffix.
2581  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2582else
2583  ac_dir_suffix= ac_top_builddir=
2584fi
2585
2586case $srcdir in
2587  .)  # No --srcdir option.  We are building in place.
2588    ac_srcdir=.
2589    if test -z "$ac_top_builddir"; then
2590       ac_top_srcdir=.
2591    else
2592       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2593    fi ;;
2594  [\\/]* | ?:[\\/]* )  # Absolute path.
2595    ac_srcdir=$srcdir$ac_dir_suffix;
2596    ac_top_srcdir=$srcdir ;;
2597  *) # Relative path.
2598    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2599    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2600esac
2601
2602# Do not use `cd foo && pwd` to compute absolute paths, because
2603# the directories may not exist.
2604case `pwd` in
2605.) ac_abs_builddir="$ac_dir";;
2606*)
2607  case "$ac_dir" in
2608  .) ac_abs_builddir=`pwd`;;
2609  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2610  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2611  esac;;
2612esac
2613case $ac_abs_builddir in
2614.) ac_abs_top_builddir=${ac_top_builddir}.;;
2615*)
2616  case ${ac_top_builddir}. in
2617  .) ac_abs_top_builddir=$ac_abs_builddir;;
2618  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2619  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2620  esac;;
2621esac
2622case $ac_abs_builddir in
2623.) ac_abs_srcdir=$ac_srcdir;;
2624*)
2625  case $ac_srcdir in
2626  .) ac_abs_srcdir=$ac_abs_builddir;;
2627  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2628  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2629  esac;;
2630esac
2631case $ac_abs_builddir in
2632.) ac_abs_top_srcdir=$ac_top_srcdir;;
2633*)
2634  case $ac_top_srcdir in
2635  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2636  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2637  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2638  esac;;
2639esac
2640
2641
2642  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
2643echo "$as_me: executing $ac_dest commands" >&6;}
2644  case $ac_dest in
2645    chmod ) chmod 755 j; chmod 755 abcl ;;
2646  esac
2647done
2648_ACEOF
2649
2650cat >>$CONFIG_STATUS <<\_ACEOF
2651
2652{ (exit 0); exit 0; }
2653_ACEOF
2654chmod +x $CONFIG_STATUS
2655ac_clean_files=$ac_clean_files_save
2656
2657
2658# configure is writing to config.log, and then calls config.status.
2659# config.status does its own redirection, appending to config.log.
2660# Unfortunately, on DOS this fails, as config.log is still kept open
2661# by configure, so config.status won't be able to write to it; its
2662# output is simply discarded.  So we exec the FD to /dev/null,
2663# effectively closing config.log, so it can be properly (re)opened and
2664# appended to by config.status.  When coming back to configure, we
2665# need to make the FD available again.
2666if test "$no_create" != yes; then
2667  ac_cs_success=:
2668  ac_config_status_args=
2669  test "$silent" = yes &&
2670    ac_config_status_args="$ac_config_status_args --quiet"
2671  exec 5>/dev/null
2672  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2673  exec 5>>config.log
2674  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2675  # would make configure fail if this is the last instruction.
2676  $ac_cs_success || { (exit 1); exit 1; }
2677fi
2678
Note: See TracBrowser for help on using the repository browser.