source: trunk/j/configure @ 4591

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

0.20.2.1+

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