source: trunk/j/configure @ 235

Last change on this file since 235 was 235, checked in by piso, 21 years ago

0.17.1

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