source: trunk/j/configure @ 3452

Last change on this file since 3452 was 3452, checked in by piso, 20 years ago

0.20.1.14+

File size: 74.5 KB
Line 
1#! /bin/sh
2# From configure.in Revision: 1.148 .
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 CP 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.1.14+
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;
1356else
1357    { { echo "$as_me:$LINENO: error: Java not found" >&5
1358echo "$as_me: error: Java not found" >&2;}
1359   { (exit 1); exit 1; }; }
1360fi
1361
1362
1363
1364
1365echo "$as_me:$LINENO: checking Java version" >&5
1366echo $ECHO_N "checking Java version... $ECHO_C" >&6
1367JAVA_VERSION=`$JAVA -version 2>&1`
1368
1369case "$JAVA_VERSION" in
1370    java*1.1*)
1371        { { echo "$as_me:$LINENO: error: Java 1.4 or later is required" >&5
1372echo "$as_me: error: Java 1.4 or later is required" >&2;}
1373   { (exit 1); exit 1; }; }
1374        ;;
1375    java*1.2.*)
1376        { { echo "$as_me:$LINENO: error: Java 1.4 or later is required" >&5
1377echo "$as_me: error: Java 1.4 or later is required" >&2;}
1378   { (exit 1); exit 1; }; }
1379        ;;
1380    java*1.3*)
1381        { { echo "$as_me:$LINENO: error: Java 1.4 or later is required" >&5
1382echo "$as_me: error: Java 1.4 or later is required" >&2;}
1383   { (exit 1); exit 1; }; }
1384        ;;
1385    java*1.4*)
1386        echo "$as_me:$LINENO: result: $JAVA_VERSION" >&5
1387echo "${ECHO_T}$JAVA_VERSION" >&6
1388        ;;
1389    *)
1390        { { echo "$as_me:$LINENO: error: unknown Java version" >&5
1391echo "$as_me: error: unknown Java version" >&2;}
1392   { (exit 1); exit 1; }; }
1393        ;;
1394esac
1395
1396
1397
1398test -z "$JAVAC" && for ac_prog in jikes
1399do
1400  # Extract the first word of "$ac_prog", so it can be a program name with args.
1401set dummy $ac_prog; ac_word=$2
1402echo "$as_me:$LINENO: checking for $ac_word" >&5
1403echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1404if test "${ac_cv_prog_JAVAC+set}" = set; then
1405  echo $ECHO_N "(cached) $ECHO_C" >&6
1406else
1407  if test -n "$JAVAC"; then
1408  ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
1409else
1410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411for as_dir in $PATH
1412do
1413  IFS=$as_save_IFS
1414  test -z "$as_dir" && as_dir=.
1415  for ac_exec_ext in '' $ac_executable_extensions; do
1416  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1417    ac_cv_prog_JAVAC="$ac_prog"
1418    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1419    break 2
1420  fi
1421done
1422done
1423
1424fi
1425fi
1426JAVAC=$ac_cv_prog_JAVAC
1427if test -n "$JAVAC"; then
1428  echo "$as_me:$LINENO: result: $JAVAC" >&5
1429echo "${ECHO_T}$JAVAC" >&6
1430else
1431  echo "$as_me:$LINENO: result: no" >&5
1432echo "${ECHO_T}no" >&6
1433fi
1434
1435  test -n "$JAVAC" && break
1436done
1437
1438test -z "$JAVAC" && JAVAC=$JDK/bin/javac
1439if test "$JAVAC" = jikes; then
1440    JAVACFLAGS="+D +F"
1441fi
1442
1443
1444
1445
1446test -z "$JAR" && for ac_prog in fastjar
1447do
1448  # Extract the first word of "$ac_prog", so it can be a program name with args.
1449set dummy $ac_prog; ac_word=$2
1450echo "$as_me:$LINENO: checking for $ac_word" >&5
1451echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1452if test "${ac_cv_prog_JAR+set}" = set; then
1453  echo $ECHO_N "(cached) $ECHO_C" >&6
1454else
1455  if test -n "$JAR"; then
1456  ac_cv_prog_JAR="$JAR" # Let the user override the test.
1457else
1458as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1459for as_dir in $PATH
1460do
1461  IFS=$as_save_IFS
1462  test -z "$as_dir" && as_dir=.
1463  for ac_exec_ext in '' $ac_executable_extensions; do
1464  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1465    ac_cv_prog_JAR="$ac_prog"
1466    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1467    break 2
1468  fi
1469done
1470done
1471
1472fi
1473fi
1474JAR=$ac_cv_prog_JAR
1475if test -n "$JAR"; then
1476  echo "$as_me:$LINENO: result: $JAR" >&5
1477echo "${ECHO_T}$JAR" >&6
1478else
1479  echo "$as_me:$LINENO: result: no" >&5
1480echo "${ECHO_T}no" >&6
1481fi
1482
1483  test -n "$JAR" && break
1484done
1485
1486test -z "$JAR" && JAR=$JDK/bin/jar
1487
1488
1489
1490if test -f $JDK/jre/lib/rt.jar ; then
1491    JAVA_RUNTIME=$JDK/jre/lib/rt.jar
1492elif test -f $JDK/jre/lib/core.jar ; then
1493    JAVA_RUNTIME=""
1494    for i in $JDK/jre/lib/*.jar ; do JAVA_RUNTIME=$JAVA_RUNTIME:$i ; done
1495else
1496    { { echo "$as_me:$LINENO: error: unable to find Java runtime" >&5
1497echo "$as_me: error: unable to find Java runtime" >&2;}
1498   { (exit 1); exit 1; }; }
1499fi
1500if test -f $JDK/lib/tools.jar ; then
1501    JAVA_RUNTIME=$JAVA_RUNTIME:$JDK/lib/tools.jar
1502fi
1503
1504
1505
1506test "x$prefix" = xNONE && prefix=/usr/local
1507
1508
1509eval "datadir=$datadir"
1510
1511
1512
1513JPATH=$srcdir/src:$datadir/j/j.jar
1514
1515CP="-cp"
1516CLASSPATH="$JPATH:$JDK/lib/tools.jar"
1517
1518
1519
1520COMPILER_CLASSPATH="$srcdir/src:$JAVA_RUNTIME"
1521
1522
1523
1524# Check whether --with-options or --without-options was given.
1525if test "${with_options+set}" = set; then
1526  withval="$with_options"
1527
1528    JAVA_OPTIONS=${with_options}
1529
1530fi;
1531
1532
1533
1534# Check whether --with-extensions or --without-extensions was given.
1535if test "${with_extensions+set}" = set; then
1536  withval="$with_extensions"
1537
1538    EXTENSIONS=${with_extensions}
1539
1540fi;
1541
1542if test $EXTENSIONS; then
1543    CLASSPATH="$CLASSPATH:$EXTENSIONS"
1544    COMPILER_CLASSPATH="$COMPILER_CLASSPATH:$EXTENSIONS"
1545fi
1546
1547if test $CYGWIN; then
1548    JAVA_RUNTIME=`cygpath -p -w $JAVA_RUNTIME`
1549    CLASSPATH=`cygpath -p -w $CLASSPATH`
1550    COMPILER_CLASSPATH=`cygpath -p -w $COMPILER_CLASSPATH`
1551fi
1552
1553
1554# Check whether --enable-jpty or --disable-jpty was given.
1555if test "${enable_jpty+set}" = set; then
1556  enableval="$enable_jpty"
1557
1558fi;
1559
1560if test "$enable_jpty" = "yes"; then
1561    if test $CYGWIN; then
1562        JPTY=jpty.exe
1563    else
1564        JPTY=jpty
1565    fi
1566fi
1567
1568
1569
1570
1571# Check whether --enable-debug or --disable-debug was given.
1572if test "${enable_debug+set}" = set; then
1573  enableval="$enable_debug"
1574
1575fi;
1576
1577if test "$enable_debug" = "yes"; then
1578    JAVACFLAGS="$JAVACFLAGS -g"
1579else
1580    JAVACFLAGS="$JAVACFLAGS -g:none"
1581fi
1582
1583
1584                                                                                                    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"
1585cat >confcache <<\_ACEOF
1586# This file is a shell script that caches the results of configure
1587# tests run on this system so they can be shared between configure
1588# scripts and configure runs, see configure's option --config-cache.
1589# It is not useful on other systems.  If it contains results you don't
1590# want to keep, you may remove or edit it.
1591#
1592# config.status only pays attention to the cache file if you give it
1593# the --recheck option to rerun configure.
1594#
1595# `ac_cv_env_foo' variables (set or unset) will be overridden when
1596# loading this file, other *unset* `ac_cv_foo' will be assigned the
1597# following values.
1598
1599_ACEOF
1600
1601# The following way of writing the cache mishandles newlines in values,
1602# but we know of no workaround that is simple, portable, and efficient.
1603# So, don't put newlines in cache variables' values.
1604# Ultrix sh set writes to stderr and can't be redirected directly,
1605# and sets the high bit in the cache file unless we assign to the vars.
1606{
1607  (set) 2>&1 |
1608    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1609    *ac_space=\ *)
1610      # `set' does not quote correctly, so add quotes (double-quote
1611      # substitution turns \\\\ into \\, and sed turns \\ into \).
1612      sed -n \
1613        "s/'/'\\\\''/g;
1614        s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1615      ;;
1616    *)
1617      # `set' quotes correctly as required by POSIX, so do not add quotes.
1618      sed -n \
1619        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1620      ;;
1621    esac;
1622} |
1623  sed '
1624     t clear
1625     : clear
1626     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1627     t end
1628     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1629     : end' >>confcache
1630if diff $cache_file confcache >/dev/null 2>&1; then :; else
1631  if test -w $cache_file; then
1632    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1633    cat confcache >$cache_file
1634  else
1635    echo "not updating unwritable cache $cache_file"
1636  fi
1637fi
1638rm -f confcache
1639
1640test "x$prefix" = xNONE && prefix=$ac_default_prefix
1641# Let make expand exec_prefix.
1642test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1643
1644# VPATH may cause trouble with some makes, so we remove $(srcdir),
1645# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1646# trailing colons and then remove the whole line if VPATH becomes empty
1647# (actually we leave an empty line to preserve line numbers).
1648if test "x$srcdir" = x.; then
1649  ac_vpsub='/^[   ]*VPATH[  ]*=/{
1650s/:*\$(srcdir):*/:/;
1651s/:*\${srcdir}:*/:/;
1652s/:*@srcdir@:*/:/;
1653s/^\([^=]*=[  ]*\):*/\1/;
1654s/:*$//;
1655s/^[^=]*=[  ]*$//;
1656}'
1657fi
1658
1659# Transform confdefs.h into DEFS.
1660# Protect against shell expansion while executing Makefile rules.
1661# Protect against Makefile macro expansion.
1662#
1663# If the first sed substitution is executed (which looks for macros that
1664# take arguments), then we branch to the quote section.  Otherwise,
1665# look for a macro that doesn't take arguments.
1666cat >confdef2opt.sed <<\_ACEOF
1667t clear
1668: clear
1669s,^[  ]*#[  ]*define[   ][  ]*\([^  (][^  (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1670t quote
1671s,^[  ]*#[  ]*define[   ][  ]*\([^  ][^   ]*\)[   ]*\(.*\),-D\1=\2,g
1672t quote
1673d
1674: quote
1675s,[   `~#$^&*(){}\\|;'"<>?],\\&,g
1676s,\[,\\&,g
1677s,\],\\&,g
1678s,\$,$$,g
1679p
1680_ACEOF
1681# We use echo to avoid assuming a particular line-breaking character.
1682# The extra dot is to prevent the shell from consuming trailing
1683# line-breaks from the sub-command output.  A line-break within
1684# single-quotes doesn't work because, if this script is created in a
1685# platform that uses two characters for line-breaks (e.g., DOS), tr
1686# would break.
1687ac_LF_and_DOT=`echo; echo .`
1688DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1689rm -f confdef2opt.sed
1690
1691
1692ac_libobjs=
1693ac_ltlibobjs=
1694for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1695  # 1. Remove the extension, and $U if already installed.
1696  ac_i=`echo "$ac_i" |
1697         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1698  # 2. Add them.
1699  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1700  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1701done
1702LIBOBJS=$ac_libobjs
1703
1704LTLIBOBJS=$ac_ltlibobjs
1705
1706
1707
1708: ${CONFIG_STATUS=./config.status}
1709ac_clean_files_save=$ac_clean_files
1710ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1711{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1712echo "$as_me: creating $CONFIG_STATUS" >&6;}
1713cat >$CONFIG_STATUS <<_ACEOF
1714#! $SHELL
1715# Generated by $as_me.
1716# Run this file to recreate the current configuration.
1717# Compiler output produced by configure, useful for debugging
1718# configure, is in config.log if it exists.
1719
1720debug=false
1721ac_cs_recheck=false
1722ac_cs_silent=false
1723SHELL=\${CONFIG_SHELL-$SHELL}
1724_ACEOF
1725
1726cat >>$CONFIG_STATUS <<\_ACEOF
1727## --------------------- ##
1728## M4sh Initialization.  ##
1729## --------------------- ##
1730
1731# Be Bourne compatible
1732if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1733  emulate sh
1734  NULLCMD=:
1735  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1736  # is contrary to our usage.  Disable this feature.
1737  alias -g '${1+"$@"}'='"$@"'
1738elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1739  set -o posix
1740fi
1741
1742# Support unset when possible.
1743if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1744  as_unset=unset
1745else
1746  as_unset=false
1747fi
1748
1749
1750# Work around bugs in pre-3.0 UWIN ksh.
1751$as_unset ENV MAIL MAILPATH
1752PS1='$ '
1753PS2='> '
1754PS4='+ '
1755
1756# NLS nuisances.
1757for as_var in \
1758  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1759  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1760  LC_TELEPHONE LC_TIME
1761do
1762  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
1763    eval $as_var=C; export $as_var
1764  else
1765    $as_unset $as_var
1766  fi
1767done
1768
1769# Required to use basename.
1770if expr a : '\(a\)' >/dev/null 2>&1; then
1771  as_expr=expr
1772else
1773  as_expr=false
1774fi
1775
1776if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1777  as_basename=basename
1778else
1779  as_basename=false
1780fi
1781
1782
1783# Name of the executable.
1784as_me=`$as_basename "$0" ||
1785$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1786   X"$0" : 'X\(//\)$' \| \
1787   X"$0" : 'X\(/\)$' \| \
1788   .     : '\(.\)' 2>/dev/null ||
1789echo X/"$0" |
1790    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1791      /^X\/\(\/\/\)$/{ s//\1/; q; }
1792      /^X\/\(\/\).*/{ s//\1/; q; }
1793      s/.*/./; q'`
1794
1795
1796# PATH needs CR, and LINENO needs CR and PATH.
1797# Avoid depending upon Character Ranges.
1798as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1799as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1800as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1801as_cr_digits='0123456789'
1802as_cr_alnum=$as_cr_Letters$as_cr_digits
1803
1804# The user is always right.
1805if test "${PATH_SEPARATOR+set}" != set; then
1806  echo "#! /bin/sh" >conf$$.sh
1807  echo  "exit 0"   >>conf$$.sh
1808  chmod +x conf$$.sh
1809  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1810    PATH_SEPARATOR=';'
1811  else
1812    PATH_SEPARATOR=:
1813  fi
1814  rm -f conf$$.sh
1815fi
1816
1817
1818  as_lineno_1=$LINENO
1819  as_lineno_2=$LINENO
1820  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1821  test "x$as_lineno_1" != "x$as_lineno_2" &&
1822  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1823  # Find who we are.  Look in the path if we contain no path at all
1824  # relative or not.
1825  case $0 in
1826    *[\\/]* ) as_myself=$0 ;;
1827    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1828for as_dir in $PATH
1829do
1830  IFS=$as_save_IFS
1831  test -z "$as_dir" && as_dir=.
1832  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1833done
1834
1835       ;;
1836  esac
1837  # We did not find ourselves, most probably we were run as `sh COMMAND'
1838  # in which case we are not to be found in the path.
1839  if test "x$as_myself" = x; then
1840    as_myself=$0
1841  fi
1842  if test ! -f "$as_myself"; then
1843    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1844echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1845   { (exit 1); exit 1; }; }
1846  fi
1847  case $CONFIG_SHELL in
1848  '')
1849    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1850for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1851do
1852  IFS=$as_save_IFS
1853  test -z "$as_dir" && as_dir=.
1854  for as_base in sh bash ksh sh5; do
1855   case $as_dir in
1856   /*)
1857     if ("$as_dir/$as_base" -c '
1858  as_lineno_1=$LINENO
1859  as_lineno_2=$LINENO
1860  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1861  test "x$as_lineno_1" != "x$as_lineno_2" &&
1862  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1863       $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1864       $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1865       CONFIG_SHELL=$as_dir/$as_base
1866       export CONFIG_SHELL
1867       exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1868     fi;;
1869   esac
1870       done
1871done
1872;;
1873  esac
1874
1875  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1876  # uniformly replaced by the line number.  The first 'sed' inserts a
1877  # line-number line before each line; the second 'sed' does the real
1878  # work.  The second script uses 'N' to pair each line-number line
1879  # with the numbered line, and appends trailing '-' during
1880  # substitution so that $LINENO is not a special case at line end.
1881  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1882  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1883  sed '=' <$as_myself |
1884    sed '
1885      N
1886      s,$,-,
1887      : loop
1888      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1889      t loop
1890      s,-$,,
1891      s,^['$as_cr_digits']*\n,,
1892    ' >$as_me.lineno &&
1893  chmod +x $as_me.lineno ||
1894    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1895echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1896   { (exit 1); exit 1; }; }
1897
1898  # Don't try to exec as it changes $[0], causing all sort of problems
1899  # (the dirname of $[0] is not the place where we might find the
1900  # original and so on.  Autoconf is especially sensible to this).
1901  . ./$as_me.lineno
1902  # Exit status is that of the last command.
1903  exit
1904}
1905
1906
1907case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1908  *c*,-n*) ECHO_N= ECHO_C='
1909' ECHO_T='  ' ;;
1910  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1911  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1912esac
1913
1914if expr a : '\(a\)' >/dev/null 2>&1; then
1915  as_expr=expr
1916else
1917  as_expr=false
1918fi
1919
1920rm -f conf$$ conf$$.exe conf$$.file
1921echo >conf$$.file
1922if ln -s conf$$.file conf$$ 2>/dev/null; then
1923  # We could just check for DJGPP; but this test a) works b) is more generic
1924  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1925  if test -f conf$$.exe; then
1926    # Don't use ln at all; we don't have any links
1927    as_ln_s='cp -p'
1928  else
1929    as_ln_s='ln -s'
1930  fi
1931elif ln conf$$.file conf$$ 2>/dev/null; then
1932  as_ln_s=ln
1933else
1934  as_ln_s='cp -p'
1935fi
1936rm -f conf$$ conf$$.exe conf$$.file
1937
1938if mkdir -p . 2>/dev/null; then
1939  as_mkdir_p=:
1940else
1941  as_mkdir_p=false
1942fi
1943
1944as_executable_p="test -f"
1945
1946# Sed expression to map a string onto a valid CPP name.
1947as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1948
1949# Sed expression to map a string onto a valid variable name.
1950as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1951
1952
1953# IFS
1954# We need space, tab and new line, in precisely that order.
1955as_nl='
1956'
1957IFS="   $as_nl"
1958
1959# CDPATH.
1960$as_unset CDPATH
1961
1962exec 6>&1
1963
1964# Open the log real soon, to keep \$[0] and so on meaningful, and to
1965# report actual input values of CONFIG_FILES etc. instead of their
1966# values after options handling.  Logging --version etc. is OK.
1967exec 5>>config.log
1968{
1969  echo
1970  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1971## Running $as_me. ##
1972_ASBOX
1973} >&5
1974cat >&5 <<_CSEOF
1975
1976This file was extended by $as_me, which was
1977generated by GNU Autoconf 2.57.  Invocation command line was
1978
1979  CONFIG_FILES    = $CONFIG_FILES
1980  CONFIG_HEADERS  = $CONFIG_HEADERS
1981  CONFIG_LINKS    = $CONFIG_LINKS
1982  CONFIG_COMMANDS = $CONFIG_COMMANDS
1983  $ $0 $@
1984
1985_CSEOF
1986echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1987echo >&5
1988_ACEOF
1989
1990# Files that config.status was made for.
1991if test -n "$ac_config_files"; then
1992  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1993fi
1994
1995if test -n "$ac_config_headers"; then
1996  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1997fi
1998
1999if test -n "$ac_config_links"; then
2000  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2001fi
2002
2003if test -n "$ac_config_commands"; then
2004  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2005fi
2006
2007cat >>$CONFIG_STATUS <<\_ACEOF
2008
2009ac_cs_usage="\
2010\`$as_me' instantiates files from templates according to the
2011current configuration.
2012
2013Usage: $0 [OPTIONS] [FILE]...
2014
2015  -h, --help       print this help, then exit
2016  -V, --version    print version number, then exit
2017  -q, --quiet      do not print progress messages
2018  -d, --debug      don't remove temporary files
2019      --recheck    update $as_me by reconfiguring in the same conditions
2020  --file=FILE[:TEMPLATE]
2021                   instantiate the configuration file FILE
2022
2023Configuration files:
2024$config_files
2025
2026Report bugs to <bug-autoconf@gnu.org>."
2027_ACEOF
2028
2029cat >>$CONFIG_STATUS <<_ACEOF
2030ac_cs_version="\\
2031config.status
2032configured by $0, generated by GNU Autoconf 2.57,
2033  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2034
2035Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2036Free Software Foundation, Inc.
2037This config.status script is free software; the Free Software Foundation
2038gives unlimited permission to copy, distribute and modify it."
2039srcdir=$srcdir
2040INSTALL="$INSTALL"
2041_ACEOF
2042
2043cat >>$CONFIG_STATUS <<\_ACEOF
2044# If no file are specified by the user, then we need to provide default
2045# value.  By we need to know if files were specified by the user.
2046ac_need_defaults=:
2047while test $# != 0
2048do
2049  case $1 in
2050  --*=*)
2051    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2052    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2053    ac_shift=:
2054    ;;
2055  -*)
2056    ac_option=$1
2057    ac_optarg=$2
2058    ac_shift=shift
2059    ;;
2060  *) # This is not an option, so the user has probably given explicit
2061     # arguments.
2062     ac_option=$1
2063     ac_need_defaults=false;;
2064  esac
2065
2066  case $ac_option in
2067  # Handling of the options.
2068_ACEOF
2069cat >>$CONFIG_STATUS <<\_ACEOF
2070  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2071    ac_cs_recheck=: ;;
2072  --version | --vers* | -V )
2073    echo "$ac_cs_version"; exit 0 ;;
2074  --he | --h)
2075    # Conflict between --help and --header
2076    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2077Try \`$0 --help' for more information." >&5
2078echo "$as_me: error: ambiguous option: $1
2079Try \`$0 --help' for more information." >&2;}
2080   { (exit 1); exit 1; }; };;
2081  --help | --hel | -h )
2082    echo "$ac_cs_usage"; exit 0 ;;
2083  --debug | --d* | -d )
2084    debug=: ;;
2085  --file | --fil | --fi | --f )
2086    $ac_shift
2087    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2088    ac_need_defaults=false;;
2089  --header | --heade | --head | --hea )
2090    $ac_shift
2091    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2092    ac_need_defaults=false;;
2093  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2094  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2095    ac_cs_silent=: ;;
2096
2097  # This is an error.
2098  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2099Try \`$0 --help' for more information." >&5
2100echo "$as_me: error: unrecognized option: $1
2101Try \`$0 --help' for more information." >&2;}
2102   { (exit 1); exit 1; }; } ;;
2103
2104  *) ac_config_targets="$ac_config_targets $1" ;;
2105
2106  esac
2107  shift
2108done
2109
2110ac_configure_extra_args=
2111
2112if $ac_cs_silent; then
2113  exec 6>/dev/null
2114  ac_configure_extra_args="$ac_configure_extra_args --silent"
2115fi
2116
2117_ACEOF
2118cat >>$CONFIG_STATUS <<_ACEOF
2119if \$ac_cs_recheck; then
2120  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2121  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2122fi
2123
2124_ACEOF
2125
2126
2127
2128
2129
2130cat >>$CONFIG_STATUS <<\_ACEOF
2131for ac_config_target in $ac_config_targets
2132do
2133  case "$ac_config_target" in
2134  # Handling of arguments.
2135  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2136  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
2137  "src/jpty/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/jpty/Makefile" ;;
2138  "src/gnu/regexp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnu/regexp/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/mail/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/mail/Makefile" ;;
2142  "src/org/armedbear/j/jdb/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/j/jdb/Makefile" ;;
2143  "src/org/armedbear/lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/org/armedbear/lisp/Makefile" ;;
2144  "j" ) CONFIG_FILES="$CONFIG_FILES j" ;;
2145  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2146echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2147   { (exit 1); exit 1; }; };;
2148  esac
2149done
2150
2151# If the user did not use the arguments to specify the items to instantiate,
2152# then the envvar interface is used.  Set only those that are not.
2153# We use the long form for the default assignment because of an extremely
2154# bizarre bug on SunOS 4.1.3.
2155if $ac_need_defaults; then
2156  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2157fi
2158
2159# Have a temporary directory for convenience.  Make it in the build tree
2160# simply because there is no reason to put it here, and in addition,
2161# creating and moving files from /tmp can sometimes cause problems.
2162# Create a temporary directory, and hook for its removal unless debugging.
2163$debug ||
2164{
2165  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2166  trap '{ (exit 1); exit 1; }' 1 2 13 15
2167}
2168
2169# Create a (secure) tmp directory for tmp files.
2170
2171{
2172  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2173  test -n "$tmp" && test -d "$tmp"
2174}  ||
2175{
2176  tmp=./confstat$$-$RANDOM
2177  (umask 077 && mkdir $tmp)
2178} ||
2179{
2180   echo "$me: cannot create a temporary directory in ." >&2
2181   { (exit 1); exit 1; }
2182}
2183
2184_ACEOF
2185
2186cat >>$CONFIG_STATUS <<_ACEOF
2187
2188#
2189# CONFIG_FILES section.
2190#
2191
2192# No need to generate the scripts if there are no CONFIG_FILES.
2193# This happens for instance when ./config.status config.h
2194if test -n "\$CONFIG_FILES"; then
2195  # Protect against being on the right side of a sed subst in config.status.
2196  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2197   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2198s,@SHELL@,$SHELL,;t t
2199s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2200s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2201s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2202s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2203s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2204s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2205s,@exec_prefix@,$exec_prefix,;t t
2206s,@prefix@,$prefix,;t t
2207s,@program_transform_name@,$program_transform_name,;t t
2208s,@bindir@,$bindir,;t t
2209s,@sbindir@,$sbindir,;t t
2210s,@libexecdir@,$libexecdir,;t t
2211s,@datadir@,$datadir,;t t
2212s,@sysconfdir@,$sysconfdir,;t t
2213s,@sharedstatedir@,$sharedstatedir,;t t
2214s,@localstatedir@,$localstatedir,;t t
2215s,@libdir@,$libdir,;t t
2216s,@includedir@,$includedir,;t t
2217s,@oldincludedir@,$oldincludedir,;t t
2218s,@infodir@,$infodir,;t t
2219s,@mandir@,$mandir,;t t
2220s,@build_alias@,$build_alias,;t t
2221s,@host_alias@,$host_alias,;t t
2222s,@target_alias@,$target_alias,;t t
2223s,@DEFS@,$DEFS,;t t
2224s,@ECHO_C@,$ECHO_C,;t t
2225s,@ECHO_N@,$ECHO_N,;t t
2226s,@ECHO_T@,$ECHO_T,;t t
2227s,@LIBS@,$LIBS,;t t
2228s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2229s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2230s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2231s,@version@,$version,;t t
2232s,@PATHSEP@,$PATHSEP,;t t
2233s,@JAVA@,$JAVA,;t t
2234s,@JAVAC@,$JAVAC,;t t
2235s,@JAVACFLAGS@,$JAVACFLAGS,;t t
2236s,@JAR@,$JAR,;t t
2237s,@JAVA_RUNTIME@,$JAVA_RUNTIME,;t t
2238s,@CP@,$CP,;t t
2239s,@CLASSPATH@,$CLASSPATH,;t t
2240s,@COMPILER_CLASSPATH@,$COMPILER_CLASSPATH,;t t
2241s,@JAVA_OPTIONS@,$JAVA_OPTIONS,;t t
2242s,@JPTY@,$JPTY,;t t
2243s,@LIBOBJS@,$LIBOBJS,;t t
2244s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2245CEOF
2246
2247_ACEOF
2248
2249  cat >>$CONFIG_STATUS <<\_ACEOF
2250  # Split the substitutions into bite-sized pieces for seds with
2251  # small command number limits, like on Digital OSF/1 and HP-UX.
2252  ac_max_sed_lines=48
2253  ac_sed_frag=1 # Number of current file.
2254  ac_beg=1 # First line for current file.
2255  ac_end=$ac_max_sed_lines # Line after last line for current file.
2256  ac_more_lines=:
2257  ac_sed_cmds=
2258  while $ac_more_lines; do
2259    if test $ac_beg -gt 1; then
2260      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2261    else
2262      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2263    fi
2264    if test ! -s $tmp/subs.frag; then
2265      ac_more_lines=false
2266    else
2267      # The purpose of the label and of the branching condition is to
2268      # speed up the sed processing (if there are no `@' at all, there
2269      # is no need to browse any of the substitutions).
2270      # These are the two extra sed commands mentioned above.
2271      (echo ':t
2272  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2273      if test -z "$ac_sed_cmds"; then
2274    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2275      else
2276    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2277      fi
2278      ac_sed_frag=`expr $ac_sed_frag + 1`
2279      ac_beg=$ac_end
2280      ac_end=`expr $ac_end + $ac_max_sed_lines`
2281    fi
2282  done
2283  if test -z "$ac_sed_cmds"; then
2284    ac_sed_cmds=cat
2285  fi
2286fi # test -n "$CONFIG_FILES"
2287
2288_ACEOF
2289cat >>$CONFIG_STATUS <<\_ACEOF
2290for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2291  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2292  case $ac_file in
2293  - | *:- | *:-:* ) # input from stdin
2294        cat >$tmp/stdin
2295        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2296        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2297  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2298        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2299  * )   ac_file_in=$ac_file.in ;;
2300  esac
2301
2302  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2303  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2304$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2305         X"$ac_file" : 'X\(//\)[^/]' \| \
2306         X"$ac_file" : 'X\(//\)$' \| \
2307         X"$ac_file" : 'X\(/\)' \| \
2308         .     : '\(.\)' 2>/dev/null ||
2309echo X"$ac_file" |
2310    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2311      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2312      /^X\(\/\/\)$/{ s//\1/; q; }
2313      /^X\(\/\).*/{ s//\1/; q; }
2314      s/.*/./; q'`
2315  { if $as_mkdir_p; then
2316    mkdir -p "$ac_dir"
2317  else
2318    as_dir="$ac_dir"
2319    as_dirs=
2320    while test ! -d "$as_dir"; do
2321      as_dirs="$as_dir $as_dirs"
2322      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2323$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2324         X"$as_dir" : 'X\(//\)[^/]' \| \
2325         X"$as_dir" : 'X\(//\)$' \| \
2326         X"$as_dir" : 'X\(/\)' \| \
2327         .     : '\(.\)' 2>/dev/null ||
2328echo X"$as_dir" |
2329    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2330      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2331      /^X\(\/\/\)$/{ s//\1/; q; }
2332      /^X\(\/\).*/{ s//\1/; q; }
2333      s/.*/./; q'`
2334    done
2335    test ! -n "$as_dirs" || mkdir $as_dirs
2336  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2337echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2338   { (exit 1); exit 1; }; }; }
2339
2340  ac_builddir=.
2341
2342if test "$ac_dir" != .; then
2343  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2344  # A "../" for each directory in $ac_dir_suffix.
2345  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2346else
2347  ac_dir_suffix= ac_top_builddir=
2348fi
2349
2350case $srcdir in
2351  .)  # No --srcdir option.  We are building in place.
2352    ac_srcdir=.
2353    if test -z "$ac_top_builddir"; then
2354       ac_top_srcdir=.
2355    else
2356       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2357    fi ;;
2358  [\\/]* | ?:[\\/]* )  # Absolute path.
2359    ac_srcdir=$srcdir$ac_dir_suffix;
2360    ac_top_srcdir=$srcdir ;;
2361  *) # Relative path.
2362    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2363    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2364esac
2365# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2366# absolute.
2367ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2368ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2369ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2370ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2371
2372
2373  case $INSTALL in
2374  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2375  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2376  esac
2377
2378  if test x"$ac_file" != x-; then
2379    { echo "$as_me:$LINENO: creating $ac_file" >&5
2380echo "$as_me: creating $ac_file" >&6;}
2381    rm -f "$ac_file"
2382  fi
2383  # Let's still pretend it is `configure' which instantiates (i.e., don't
2384  # use $as_me), people would be surprised to read:
2385  #    /* config.h.  Generated by config.status.  */
2386  if test x"$ac_file" = x-; then
2387    configure_input=
2388  else
2389    configure_input="$ac_file.  "
2390  fi
2391  configure_input=$configure_input"Generated from `echo $ac_file_in |
2392                                     sed 's,.*/,,'` by configure."
2393
2394  # First look for the input files in the build tree, otherwise in the
2395  # src tree.
2396  ac_file_inputs=`IFS=:
2397    for f in $ac_file_in; do
2398      case $f in
2399      -) echo $tmp/stdin ;;
2400      [\\/$]*)
2401         # Absolute (can't be DOS-style, as IFS=:)
2402         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2403echo "$as_me: error: cannot find input file: $f" >&2;}
2404   { (exit 1); exit 1; }; }
2405         echo $f;;
2406      *) # Relative
2407         if test -f "$f"; then
2408           # Build tree
2409           echo $f
2410         elif test -f "$srcdir/$f"; then
2411           # Source tree
2412           echo $srcdir/$f
2413         else
2414           # /dev/null tree
2415           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2416echo "$as_me: error: cannot find input file: $f" >&2;}
2417   { (exit 1); exit 1; }; }
2418         fi;;
2419      esac
2420    done` || { (exit 1); exit 1; }
2421_ACEOF
2422cat >>$CONFIG_STATUS <<_ACEOF
2423  sed "$ac_vpsub
2424$extrasub
2425_ACEOF
2426cat >>$CONFIG_STATUS <<\_ACEOF
2427:t
2428/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2429s,@configure_input@,$configure_input,;t t
2430s,@srcdir@,$ac_srcdir,;t t
2431s,@abs_srcdir@,$ac_abs_srcdir,;t t
2432s,@top_srcdir@,$ac_top_srcdir,;t t
2433s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2434s,@builddir@,$ac_builddir,;t t
2435s,@abs_builddir@,$ac_abs_builddir,;t t
2436s,@top_builddir@,$ac_top_builddir,;t t
2437s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2438s,@INSTALL@,$ac_INSTALL,;t t
2439" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2440  rm -f $tmp/stdin
2441  if test x"$ac_file" != x-; then
2442    mv $tmp/out $ac_file
2443  else
2444    cat $tmp/out
2445    rm -f $tmp/out
2446  fi
2447
2448done
2449_ACEOF
2450
2451cat >>$CONFIG_STATUS <<\_ACEOF
2452
2453{ (exit 0); exit 0; }
2454_ACEOF
2455chmod +x $CONFIG_STATUS
2456ac_clean_files=$ac_clean_files_save
2457
2458
2459# configure is writing to config.log, and then calls config.status.
2460# config.status does its own redirection, appending to config.log.
2461# Unfortunately, on DOS this fails, as config.log is still kept open
2462# by configure, so config.status won't be able to write to it; its
2463# output is simply discarded.  So we exec the FD to /dev/null,
2464# effectively closing config.log, so it can be properly (re)opened and
2465# appended to by config.status.  When coming back to configure, we
2466# need to make the FD available again.
2467if test "$no_create" != yes; then
2468  ac_cs_success=:
2469  ac_config_status_args=
2470  test "$silent" = yes &&
2471    ac_config_status_args="$ac_config_status_args --quiet"
2472  exec 5>/dev/null
2473  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2474  exec 5>>config.log
2475  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2476  # would make configure fail if this is the last instruction.
2477  $ac_cs_success || { (exit 1); exit 1; }
2478fi
2479
2480
2481          ac_config_commands="$ac_config_commands default-1"
2482
2483
2484
2485
2486          ac_config_commands="$ac_config_commands default-2"
2487
Note: See TracBrowser for help on using the repository browser.