source: trunk/j/configure @ 1497

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

0.18.0.28

File size: 36.6 KB
Line 
1#! /bin/sh
2
3# From configure.in Revision: 1.15
4
5BOOTFILE=./configure-options
6
7if test -f "${BOOTFILE}" && test -z "${IN_BOOT}" ; then
8    echo "reading options from ${BOOTFILE}"
9    IN_BOOT=1 $0 `cat ${BOOTFILE}` $*
10    exit $?
11fi
12
13# Guess values for system-dependent variables and create Makefiles.
14# Generated automatically using autoconf version 2.13
15# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
16#
17# This configure script is free software; the Free Software Foundation
18# gives unlimited permission to copy, distribute and modify it.
19
20# Defaults:
21ac_help=
22ac_default_prefix=/usr/local
23# Any additions from configure.in:
24ac_help="$ac_help
25  --with-jdk=DIR          JDK you want to use "
26ac_help="$ac_help
27  --with-options=OPTIONS  runtime options to be passed to java (e.g. -server) "
28ac_help="$ac_help
29  --with-extensions=PATH  extensions to CLASSPATH (JIMI, Xerces, etc.) "
30ac_help="$ac_help
31  --enable-jpty           build and install jpty
32  --disable-jpty          do not build or install jpty (default)"
33ac_help="$ac_help
34  --enable-debug          enable run-time debugging
35  --disable-debug         disable run-time debugging (default)"
36
37# Initialize some variables set by options.
38# The variables have the same names as the options, with
39# dashes changed to underlines.
40build=NONE
41cache_file=./config.cache
42exec_prefix=NONE
43host=NONE
44no_create=
45nonopt=NONE
46no_recursion=
47prefix=NONE
48program_prefix=NONE
49program_suffix=NONE
50program_transform_name=s,x,x,
51silent=
52site=
53srcdir=
54target=NONE
55verbose=
56x_includes=NONE
57x_libraries=NONE
58bindir='${exec_prefix}/bin'
59sbindir='${exec_prefix}/sbin'
60libexecdir='${exec_prefix}/libexec'
61datadir='${prefix}/share'
62sysconfdir='${prefix}/etc'
63sharedstatedir='${prefix}/com'
64localstatedir='${prefix}/var'
65libdir='${exec_prefix}/lib'
66includedir='${prefix}/include'
67oldincludedir='/usr/include'
68infodir='${prefix}/info'
69mandir='${prefix}/man'
70
71# Initialize some other variables.
72subdirs=
73MFLAGS= MAKEFLAGS=
74SHELL=${CONFIG_SHELL-/bin/sh}
75# Maximum number of lines to put in a shell here document.
76ac_max_here_lines=12
77
78ac_prev=
79for ac_option
80do
81
82  # If the previous option needs an argument, assign it.
83  if test -n "$ac_prev"; then
84    eval "$ac_prev=\$ac_option"
85    ac_prev=
86    continue
87  fi
88
89  case "$ac_option" in
90  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
91  *) ac_optarg= ;;
92  esac
93
94  # Accept the important Cygnus configure options, so we can diagnose typos.
95
96  case "$ac_option" in
97
98  -bindir | --bindir | --bindi | --bind | --bin | --bi)
99    ac_prev=bindir ;;
100  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
101    bindir="$ac_optarg" ;;
102
103  -build | --build | --buil | --bui | --bu)
104    ac_prev=build ;;
105  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
106    build="$ac_optarg" ;;
107
108  -cache-file | --cache-file | --cache-fil | --cache-fi \
109  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
110    ac_prev=cache_file ;;
111  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
112  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
113    cache_file="$ac_optarg" ;;
114
115  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
116    ac_prev=datadir ;;
117  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
118  | --da=*)
119    datadir="$ac_optarg" ;;
120
121  -disable-* | --disable-*)
122    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
123    # Reject names that are not valid shell variable names.
124    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
125      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
126    fi
127    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
128    eval "enable_${ac_feature}=no" ;;
129
130  -enable-* | --enable-*)
131    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
132    # Reject names that are not valid shell variable names.
133    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
134      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
135    fi
136    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
137    case "$ac_option" in
138      *=*) ;;
139      *) ac_optarg=yes ;;
140    esac
141    eval "enable_${ac_feature}='$ac_optarg'" ;;
142
143  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
144  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
145  | --exec | --exe | --ex)
146    ac_prev=exec_prefix ;;
147  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
148  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
149  | --exec=* | --exe=* | --ex=*)
150    exec_prefix="$ac_optarg" ;;
151
152  -gas | --gas | --ga | --g)
153    # Obsolete; use --with-gas.
154    with_gas=yes ;;
155
156  -help | --help | --hel | --he)
157    # Omit some internal or obsolete options to make the list less imposing.
158    # This message is too long to be a string in the A/UX 3.1 sh.
159    cat << EOF
160Usage: configure [options] [host]
161Options: [defaults in brackets after descriptions]
162Configuration:
163  --cache-file=FILE       cache test results in FILE
164  --help                  print this message
165  --no-create             do not create output files
166  --quiet, --silent       do not print \`checking...' messages
167  --version               print the version of autoconf that created configure
168Directory and file names:
169  --prefix=PREFIX         install architecture-independent files in PREFIX
170                          [$ac_default_prefix]
171  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
172                          [same as prefix]
173  --bindir=DIR            user executables in DIR [EPREFIX/bin]
174  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
175  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
176  --datadir=DIR           read-only architecture-independent data in DIR
177                          [PREFIX/share]
178  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
179  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
180                          [PREFIX/com]
181  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
182  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
183  --includedir=DIR        C header files in DIR [PREFIX/include]
184  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
185  --infodir=DIR           info documentation in DIR [PREFIX/info]
186  --mandir=DIR            man documentation in DIR [PREFIX/man]
187  --srcdir=DIR            find the sources in DIR [configure dir or ..]
188  --program-prefix=PREFIX prepend PREFIX to installed program names
189  --program-suffix=SUFFIX append SUFFIX to installed program names
190  --program-transform-name=PROGRAM
191                          run sed PROGRAM on installed program names
192EOF
193    cat << EOF
194Host type:
195  --build=BUILD           configure for building on BUILD [BUILD=HOST]
196  --host=HOST             configure for HOST [guessed]
197  --target=TARGET         configure for TARGET [TARGET=HOST]
198Features and packages:
199  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
200  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
201  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
202  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
203  --x-includes=DIR        X include files are in DIR
204  --x-libraries=DIR       X library files are in DIR
205EOF
206    if test -n "$ac_help"; then
207      echo "--enable and --with options recognized:$ac_help"
208    fi
209    exit 0 ;;
210
211  -host | --host | --hos | --ho)
212    ac_prev=host ;;
213  -host=* | --host=* | --hos=* | --ho=*)
214    host="$ac_optarg" ;;
215
216  -includedir | --includedir | --includedi | --included | --include \
217  | --includ | --inclu | --incl | --inc)
218    ac_prev=includedir ;;
219  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
220  | --includ=* | --inclu=* | --incl=* | --inc=*)
221    includedir="$ac_optarg" ;;
222
223  -infodir | --infodir | --infodi | --infod | --info | --inf)
224    ac_prev=infodir ;;
225  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
226    infodir="$ac_optarg" ;;
227
228  -libdir | --libdir | --libdi | --libd)
229    ac_prev=libdir ;;
230  -libdir=* | --libdir=* | --libdi=* | --libd=*)
231    libdir="$ac_optarg" ;;
232
233  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
234  | --libexe | --libex | --libe)
235    ac_prev=libexecdir ;;
236  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
237  | --libexe=* | --libex=* | --libe=*)
238    libexecdir="$ac_optarg" ;;
239
240  -localstatedir | --localstatedir | --localstatedi | --localstated \
241  | --localstate | --localstat | --localsta | --localst \
242  | --locals | --local | --loca | --loc | --lo)
243    ac_prev=localstatedir ;;
244  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
245  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
246  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
247    localstatedir="$ac_optarg" ;;
248
249  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
250    ac_prev=mandir ;;
251  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
252    mandir="$ac_optarg" ;;
253
254  -nfp | --nfp | --nf)
255    # Obsolete; use --without-fp.
256    with_fp=no ;;
257
258  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
259  | --no-cr | --no-c)
260    no_create=yes ;;
261
262  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
263  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
264    no_recursion=yes ;;
265
266  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
267  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
268  | --oldin | --oldi | --old | --ol | --o)
269    ac_prev=oldincludedir ;;
270  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
271  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
272  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
273    oldincludedir="$ac_optarg" ;;
274
275  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
276    ac_prev=prefix ;;
277  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
278    prefix="$ac_optarg" ;;
279
280  -program-prefix | --program-prefix | --program-prefi | --program-pref \
281  | --program-pre | --program-pr | --program-p)
282    ac_prev=program_prefix ;;
283  -program-prefix=* | --program-prefix=* | --program-prefi=* \
284  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
285    program_prefix="$ac_optarg" ;;
286
287  -program-suffix | --program-suffix | --program-suffi | --program-suff \
288  | --program-suf | --program-su | --program-s)
289    ac_prev=program_suffix ;;
290  -program-suffix=* | --program-suffix=* | --program-suffi=* \
291  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
292    program_suffix="$ac_optarg" ;;
293
294  -program-transform-name | --program-transform-name \
295  | --program-transform-nam | --program-transform-na \
296  | --program-transform-n | --program-transform- \
297  | --program-transform | --program-transfor \
298  | --program-transfo | --program-transf \
299  | --program-trans | --program-tran \
300  | --progr-tra | --program-tr | --program-t)
301    ac_prev=program_transform_name ;;
302  -program-transform-name=* | --program-transform-name=* \
303  | --program-transform-nam=* | --program-transform-na=* \
304  | --program-transform-n=* | --program-transform-=* \
305  | --program-transform=* | --program-transfor=* \
306  | --program-transfo=* | --program-transf=* \
307  | --program-trans=* | --program-tran=* \
308  | --progr-tra=* | --program-tr=* | --program-t=*)
309    program_transform_name="$ac_optarg" ;;
310
311  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
312  | -silent | --silent | --silen | --sile | --sil)
313    silent=yes ;;
314
315  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
316    ac_prev=sbindir ;;
317  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
318  | --sbi=* | --sb=*)
319    sbindir="$ac_optarg" ;;
320
321  -sharedstatedir | --sharedstatedir | --sharedstatedi \
322  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
323  | --sharedst | --shareds | --shared | --share | --shar \
324  | --sha | --sh)
325    ac_prev=sharedstatedir ;;
326  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
327  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
328  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
329  | --sha=* | --sh=*)
330    sharedstatedir="$ac_optarg" ;;
331
332  -site | --site | --sit)
333    ac_prev=site ;;
334  -site=* | --site=* | --sit=*)
335    site="$ac_optarg" ;;
336
337  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
338    ac_prev=srcdir ;;
339  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
340    srcdir="$ac_optarg" ;;
341
342  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
343  | --syscon | --sysco | --sysc | --sys | --sy)
344    ac_prev=sysconfdir ;;
345  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
346  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
347    sysconfdir="$ac_optarg" ;;
348
349  -target | --target | --targe | --targ | --tar | --ta | --t)
350    ac_prev=target ;;
351  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
352    target="$ac_optarg" ;;
353
354  -v | -verbose | --verbose | --verbos | --verbo | --verb)
355    verbose=yes ;;
356
357  -version | --version | --versio | --versi | --vers)
358    echo "configure generated by autoconf version 2.13"
359    exit 0 ;;
360
361  -with-* | --with-*)
362    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
363    # Reject names that are not valid shell variable names.
364    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
365      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
366    fi
367    ac_package=`echo $ac_package| sed 's/-/_/g'`
368    case "$ac_option" in
369      *=*) ;;
370      *) ac_optarg=yes ;;
371    esac
372    eval "with_${ac_package}='$ac_optarg'" ;;
373
374  -without-* | --without-*)
375    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
376    # Reject names that are not valid shell variable names.
377    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
378      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
379    fi
380    ac_package=`echo $ac_package| sed 's/-/_/g'`
381    eval "with_${ac_package}=no" ;;
382
383  --x)
384    # Obsolete; use --with-x.
385    with_x=yes ;;
386
387  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
388  | --x-incl | --x-inc | --x-in | --x-i)
389    ac_prev=x_includes ;;
390  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
391  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
392    x_includes="$ac_optarg" ;;
393
394  -x-libraries | --x-libraries | --x-librarie | --x-librari \
395  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
396    ac_prev=x_libraries ;;
397  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
398  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
399    x_libraries="$ac_optarg" ;;
400
401  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
402    ;;
403
404  *)
405    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
406      echo "configure: warning: $ac_option: invalid host type" 1>&2
407    fi
408    if test "x$nonopt" != xNONE; then
409      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
410    fi
411    nonopt="$ac_option"
412    ;;
413
414  esac
415done
416
417if test -n "$ac_prev"; then
418  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
419fi
420
421trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
422
423# File descriptor usage:
424# 0 standard input
425# 1 file creation
426# 2 errors and warnings
427# 3 some systems may open it to /dev/tty
428# 4 used on the Kubota Titan
429# 6 checking for... messages and results
430# 5 compiler messages saved in config.log
431if test "$silent" = yes; then
432  exec 6>/dev/null
433else
434  exec 6>&1
435fi
436exec 5>./config.log
437
438echo "\
439This file contains any messages produced by compilers while
440running configure, to aid debugging if configure makes a mistake.
441" 1>&5
442
443# Strip out --no-create and --no-recursion so they do not pile up.
444# Also quote any args containing shell metacharacters.
445ac_configure_args=
446for ac_arg
447do
448  case "$ac_arg" in
449  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450  | --no-cr | --no-c) ;;
451  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
453  *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
454  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
455  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
456  esac
457done
458
459# NLS nuisances.
460# Only set these to C if already set.  These must not be set unconditionally
461# because not all systems understand e.g. LANG=C (notably SCO).
462# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
463# Non-C LC_CTYPE values break the ctype check.
464if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
465if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
466if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
467if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
468
469# confdefs.h avoids OS command line length limits that DEFS can exceed.
470rm -rf conftest* confdefs.h
471# AIX cpp loses on an empty file, so make sure it contains at least a newline.
472echo > confdefs.h
473
474# A filename unique to this package, relative to the directory that
475# configure is in, which we can look for to find out if srcdir is correct.
476ac_unique_file=j.in
477
478# Find the source files, if location was not specified.
479if test -z "$srcdir"; then
480  ac_srcdir_defaulted=yes
481  # Try the directory containing this script, then its parent.
482  ac_prog=$0
483  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
484  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
485  srcdir=$ac_confdir
486  if test ! -r $srcdir/$ac_unique_file; then
487    srcdir=..
488  fi
489else
490  ac_srcdir_defaulted=no
491fi
492if test ! -r $srcdir/$ac_unique_file; then
493  if test "$ac_srcdir_defaulted" = yes; then
494    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
495  else
496    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
497  fi
498fi
499srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
500
501# Prefer explicitly selected file to automatically selected ones.
502if test -z "$CONFIG_SITE"; then
503  if test "x$prefix" != xNONE; then
504    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
505  else
506    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
507  fi
508fi
509for ac_site_file in $CONFIG_SITE; do
510  if test -r "$ac_site_file"; then
511    echo "loading site script $ac_site_file"
512    . "$ac_site_file"
513  fi
514done
515
516if test -r "$cache_file"; then
517  echo "loading cache $cache_file"
518  . $cache_file
519else
520  echo "creating cache $cache_file"
521  > $cache_file
522fi
523
524ac_ext=c
525# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
526ac_cpp='$CPP $CPPFLAGS'
527ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
528ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
529cross_compiling=$ac_cv_prog_cc_cross
530
531ac_exeext=
532ac_objext=o
533if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
534  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
535  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
536    ac_n= ac_c='
537' ac_t='  '
538  else
539    ac_n=-n ac_c= ac_t=
540  fi
541else
542  ac_n= ac_c='\c' ac_t=
543fi
544
545
546
547ac_aux_dir=
548for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
549  if test -f $ac_dir/install-sh; then
550    ac_aux_dir=$ac_dir
551    ac_install_sh="$ac_aux_dir/install-sh -c"
552    break
553  elif test -f $ac_dir/install.sh; then
554    ac_aux_dir=$ac_dir
555    ac_install_sh="$ac_aux_dir/install.sh -c"
556    break
557  fi
558done
559if test -z "$ac_aux_dir"; then
560  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
561fi
562ac_config_guess=$ac_aux_dir/config.guess
563ac_config_sub=$ac_aux_dir/config.sub
564ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
565
566# Find a good install program.  We prefer a C program (faster),
567# so one script is as good as another.  But avoid the broken or
568# incompatible versions:
569# SysV /etc/install, /usr/sbin/install
570# SunOS /usr/etc/install
571# IRIX /sbin/install
572# AIX /bin/install
573# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
574# AFS /usr/afsws/bin/install, which mishandles nonexistent args
575# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
576# ./install, which can be erroneously created by make from ./install.sh.
577echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
578echo "configure:579: checking for a BSD compatible install" >&5
579if test -z "$INSTALL"; then
580if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
581  echo $ac_n "(cached) $ac_c" 1>&6
582else
583    IFS="${IFS=   }"; ac_save_IFS="$IFS"; IFS=":"
584  for ac_dir in $PATH; do
585    # Account for people who put trailing slashes in PATH elements.
586    case "$ac_dir/" in
587    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
588    *)
589      # OSF1 and SCO ODT 3.0 have their own names for install.
590      # Don't use installbsd from OSF since it installs stuff as root
591      # by default.
592      for ac_prog in ginstall scoinst install; do
593        if test -f $ac_dir/$ac_prog; then
594    if test $ac_prog = install &&
595            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
596      # AIX install.  It has an incompatible calling convention.
597      :
598    else
599      ac_cv_path_install="$ac_dir/$ac_prog -c"
600      break 2
601    fi
602  fi
603      done
604      ;;
605    esac
606  done
607  IFS="$ac_save_IFS"
608
609fi
610  if test "${ac_cv_path_install+set}" = set; then
611    INSTALL="$ac_cv_path_install"
612  else
613    # As a last resort, use the slow shell script.  We don't cache a
614    # path for INSTALL within a source directory, because that will
615    # break other packages using the cache if that directory is
616    # removed, or if the path is relative.
617    INSTALL="$ac_install_sh"
618  fi
619fi
620echo "$ac_t""$INSTALL" 1>&6
621
622# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
623# It thinks the first close brace ends the variable substitution.
624test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
625
626test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
627
628test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
629
630
631version=0.18.0.28
632
633
634if test $OSTYPE = cygwin32 || test $OSTYPE = cygwin ; then
635    CYGWIN=yes
636    PATHSEP=";"
637else
638    PATHSEP=":"
639fi
640
641
642
643
644case "${srcdir}" in
645    /*)
646        ;;
647    .)
648        unset CDPATH
649        if test "${PWD}" != "" && test "`(cd ${PWD}; sh -c pwd)`" = "`pwd`"; then
650            srcdir="$PWD"
651        else
652            srcdir="`(cd ${srcdir}; pwd)`"
653        fi
654        ;;
655    *)
656        srcdir="`(cd ${srcdir}; pwd)`"
657        ;;
658esac
659
660
661# Check whether --with-jdk or --without-jdk was given.
662if test "${with_jdk+set}" = set; then
663  withval="$with_jdk"
664 
665    JDK=${with_jdk}
666
667else
668 
669    { echo "configure: error: no jdk specified; use --with-jdk" 1>&2; exit 1; }
670
671fi
672
673
674JDK=`echo $JDK | sed -e 's/\/$//'`
675
676if test -x $JDK/bin/java; then
677    JAVA=$JDK/bin/java;
678elif test -x $JDK/jre/bin/java; then
679    JAVA=$JDK/jre/bin/java;
680else
681    { echo "configure: error: java not found" 1>&2; exit 1; }
682fi
683
684
685
686
687echo $ac_n "checking Java version""... $ac_c" 1>&6
688echo "configure:689: checking Java version" >&5
689JAVA_VERSION=`$JAVA -version 2>&1`
690
691case "$JAVA_VERSION" in
692    java*1.1*)
693        { echo "configure: error: Java 1.3 or later is required" 1>&2; exit 1; }
694        ;;
695    java*1.2.*)
696        { echo "configure: error: Java 1.3 or later is required" 1>&2; exit 1; }
697        ;;
698    java*1.3.0*)
699        echo "$ac_t""1.3.0" 1>&6
700        ;;
701    java*1.3.1*)
702        echo "$ac_t""1.3.1" 1>&6
703        ;;
704    java*1.3*)
705        echo "$ac_t""1.3" 1>&6
706        ;;
707    java*1.4*)
708        echo "$ac_t""1.4" 1>&6
709        ;;
710    *)
711        { echo "configure: error: unknown Java version" 1>&2; exit 1; }
712        ;;
713esac
714
715
716
717test -z "$JAVAC" && for ac_prog in jikes
718do
719# Extract the first word of "$ac_prog", so it can be a program name with args.
720set dummy $ac_prog; ac_word=$2
721echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
722echo "configure:723: checking for $ac_word" >&5
723if eval "test \"`echo '$''{'ac_cv_prog_JAVAC'+set}'`\" = set"; then
724  echo $ac_n "(cached) $ac_c" 1>&6
725else
726  if test -n "$JAVAC"; then
727  ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
728else
729  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
730  ac_dummy="$PATH"
731  for ac_dir in $ac_dummy; do
732    test -z "$ac_dir" && ac_dir=.
733    if test -f $ac_dir/$ac_word; then
734      ac_cv_prog_JAVAC="$ac_prog"
735      break
736    fi
737  done
738  IFS="$ac_save_ifs"
739fi
740fi
741JAVAC="$ac_cv_prog_JAVAC"
742if test -n "$JAVAC"; then
743  echo "$ac_t""$JAVAC" 1>&6
744else
745  echo "$ac_t""no" 1>&6
746fi
747
748test -n "$JAVAC" && break
749done
750
751test -z "$JAVAC" && JAVAC=$JDK/bin/javac
752if test "$JAVAC" = jikes; then
753    JAVACFLAGS="+D +F"
754fi
755
756
757
758
759test -z "$JAR" && for ac_prog in fastjar
760do
761# Extract the first word of "$ac_prog", so it can be a program name with args.
762set dummy $ac_prog; ac_word=$2
763echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
764echo "configure:765: checking for $ac_word" >&5
765if eval "test \"`echo '$''{'ac_cv_prog_JAR'+set}'`\" = set"; then
766  echo $ac_n "(cached) $ac_c" 1>&6
767else
768  if test -n "$JAR"; then
769  ac_cv_prog_JAR="$JAR" # Let the user override the test.
770else
771  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
772  ac_dummy="$PATH"
773  for ac_dir in $ac_dummy; do
774    test -z "$ac_dir" && ac_dir=.
775    if test -f $ac_dir/$ac_word; then
776      ac_cv_prog_JAR="$ac_prog"
777      break
778    fi
779  done
780  IFS="$ac_save_ifs"
781fi
782fi
783JAR="$ac_cv_prog_JAR"
784if test -n "$JAR"; then
785  echo "$ac_t""$JAR" 1>&6
786else
787  echo "$ac_t""no" 1>&6
788fi
789
790test -n "$JAR" && break
791done
792
793test -z "$JAR" && JAR=$JDK/bin/jar
794
795
796
797
798case "$JAVA_VERSION" in
799    java*1.3*)
800        JAVA_RUNTIME=$JDK/jre/lib/rt.jar:$JDK/lib/tools.jar
801        ;;
802    java*1.4*)
803        JAVA_RUNTIME=$JDK/jre/lib/rt.jar:$JDK/lib/tools.jar
804        ;;
805    *)
806        ;;
807esac
808
809
810
811test "x$prefix" = xNONE && prefix=/usr/local
812
813
814eval "datadir=$datadir"
815
816
817
818JPATH=$srcdir/src:$datadir/j/j.jar
819
820case "$JAVA_VERSION" in
821    java*1.1.*)
822        CP="-classpath"
823        CLASSPATH="$JPATH:$JAVA_RUNTIME"
824        ;;
825    java*1.2*)
826        CP="-cp"
827        CLASSPATH="$JPATH"
828        ;;
829    java*1.3*)
830        CP="-cp"
831        CLASSPATH="$JPATH"
832        ;;
833    java*1.4*)
834        CP="-cp"
835        CLASSPATH="$JPATH"
836        ;;
837    *)
838        ;;
839esac
840
841
842
843COMPILER_CLASSPATH="$srcdir/src:$JAVA_RUNTIME"
844
845
846# Check whether --with-options or --without-options was given.
847if test "${with_options+set}" = set; then
848  withval="$with_options"
849 
850    JAVA_OPTIONS=${with_options}
851
852fi
853
854
855
856# Check whether --with-extensions or --without-extensions was given.
857if test "${with_extensions+set}" = set; then
858  withval="$with_extensions"
859 
860    EXTENSIONS=${with_extensions}
861
862fi
863
864
865if test $EXTENSIONS; then
866    CLASSPATH="$CLASSPATH:$EXTENSIONS"
867    COMPILER_CLASSPATH="$COMPILER_CLASSPATH:$EXTENSIONS"
868fi
869
870if test $CYGWIN; then
871    JAVA_RUNTIME=`cygpath -p -w $JAVA_RUNTIME`
872    CLASSPATH=`cygpath -p -w $CLASSPATH`
873    COMPILER_CLASSPATH=`cygpath -p -w $COMPILER_CLASSPATH`
874fi
875
876
877# Check whether --enable-jpty or --disable-jpty was given.
878if test "${enable_jpty+set}" = set; then
879  enableval="$enable_jpty"
880  :
881fi
882
883
884if test "$enable_jpty" = "yes"; then
885    if test $CYGWIN; then
886        JPTY=jpty.exe
887    else
888        JPTY=jpty
889    fi
890fi
891
892
893
894
895# Check whether --enable-debug or --disable-debug was given.
896if test "${enable_debug+set}" = set; then
897  enableval="$enable_debug"
898  :
899fi
900
901
902case "$enable_debug" in
903    "")
904        ;;
905    no)
906        JAVACFLAGS="$JAVACFLAGS -O"
907        ;;
908    *)
909        JAVACFLAGS="$JAVACFLAGS -g"
910        ;;
911esac
912
913
914trap '' 1 2 15
915cat > confcache <<\EOF
916# This file is a shell script that caches the results of configure
917# tests run on this system so they can be shared between configure
918# scripts and configure runs.  It is not useful on other systems.
919# If it contains results you don't want to keep, you may remove or edit it.
920#
921# By default, configure uses ./config.cache as the cache file,
922# creating it if it does not exist already.  You can give configure
923# the --cache-file=FILE option to use a different cache file; that is
924# what configure does when it calls configure scripts in
925# subdirectories, so they share the cache.
926# Giving --cache-file=/dev/null disables caching, for debugging configure.
927# config.status only pays attention to the cache file if you give it the
928# --recheck option to rerun configure.
929#
930EOF
931# The following way of writing the cache mishandles newlines in values,
932# but we know of no workaround that is simple, portable, and efficient.
933# So, don't put newlines in cache variables' values.
934# Ultrix sh set writes to stderr and can't be redirected directly,
935# and sets the high bit in the cache file unless we assign to the vars.
936(set) 2>&1 |
937  case `(ac_space=' '; set | grep ac_space) 2>&1` in
938  *ac_space=\ *)
939    # `set' does not quote correctly, so add quotes (double-quote substitution
940    # turns \\\\ into \\, and sed turns \\ into \).
941    sed -n \
942      -e "s/'/'\\\\''/g" \
943      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
944    ;;
945  *)
946    # `set' quotes correctly as required by POSIX, so do not add quotes.
947    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
948    ;;
949  esac >> confcache
950if cmp -s $cache_file confcache; then
951  :
952else
953  if test -w $cache_file; then
954    echo "updating cache $cache_file"
955    cat confcache > $cache_file
956  else
957    echo "not updating unwritable cache $cache_file"
958  fi
959fi
960rm -f confcache
961
962trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
963
964test "x$prefix" = xNONE && prefix=$ac_default_prefix
965# Let make expand exec_prefix.
966test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
967
968# Any assignment to VPATH causes Sun make to only execute
969# the first set of double-colon rules, so remove it if not needed.
970# If there is a colon in the path, we need to keep it.
971if test "x$srcdir" = x.; then
972  ac_vpsub='/^[   ]*VPATH[  ]*=[^:]*$/d'
973fi
974
975trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
976
977# Transform confdefs.h into DEFS.
978# Protect against shell expansion while executing Makefile rules.
979# Protect against Makefile macro expansion.
980cat > conftest.defs <<\EOF
981s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
982s%[   `~#$^&*(){}\\|;'"<>?]%\\&%g
983s%\[%\\&%g
984s%\]%\\&%g
985s%\$%$$%g
986EOF
987DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
988rm -f conftest.defs
989
990
991# Without the "./", some shells look in PATH for config.status.
992: ${CONFIG_STATUS=./config.status}
993
994echo creating $CONFIG_STATUS
995rm -f $CONFIG_STATUS
996cat > $CONFIG_STATUS <<EOF
997#! /bin/sh
998# Generated automatically by configure.
999# Run this file to recreate the current configuration.
1000# This directory was configured as follows,
1001# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1002#
1003# $0 $ac_configure_args
1004#
1005# Compiler output produced by configure, useful for debugging
1006# configure, is in ./config.log if it exists.
1007
1008ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1009for ac_option
1010do
1011  case "\$ac_option" in
1012  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1013    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1014    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1015  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1016    echo "$CONFIG_STATUS generated by autoconf version 2.13"
1017    exit 0 ;;
1018  -help | --help | --hel | --he | --h)
1019    echo "\$ac_cs_usage"; exit 0 ;;
1020  *) echo "\$ac_cs_usage"; exit 1 ;;
1021  esac
1022done
1023
1024ac_given_srcdir=$srcdir
1025ac_given_INSTALL="$INSTALL"
1026
1027trap 'rm -fr `echo "
1028Makefile
1029src/Makefile
1030src/jpty/Makefile
1031src/bsh/Makefile
1032src/bsh/classpath/Makefile
1033src/bsh/commands/Makefile
1034src/bsh/reflect/Makefile
1035src/gnu/regexp/Makefile
1036src/org/xml/sax/Makefile
1037src/org/xml/sax/helpers/Makefile
1038src/org/xml/sax/ext/Makefile
1039src/org/armedbear/j/Makefile
1040src/org/armedbear/j/version
1041src/org/armedbear/j/aelfred/Makefile
1042src/org/armedbear/j/mail/Makefile
1043src/org/armedbear/j/jdb/Makefile
1044src/org/armedbear/lisp/Makefile
1045j
1046" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1047EOF
1048cat >> $CONFIG_STATUS <<EOF
1049
1050# Protect against being on the right side of a sed subst in config.status.
1051sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1052 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1053$ac_vpsub
1054$extrasub
1055s%@SHELL@%$SHELL%g
1056s%@CFLAGS@%$CFLAGS%g
1057s%@CPPFLAGS@%$CPPFLAGS%g
1058s%@CXXFLAGS@%$CXXFLAGS%g
1059s%@FFLAGS@%$FFLAGS%g
1060s%@DEFS@%$DEFS%g
1061s%@LDFLAGS@%$LDFLAGS%g
1062s%@LIBS@%$LIBS%g
1063s%@exec_prefix@%$exec_prefix%g
1064s%@prefix@%$prefix%g
1065s%@program_transform_name@%$program_transform_name%g
1066s%@bindir@%$bindir%g
1067s%@sbindir@%$sbindir%g
1068s%@libexecdir@%$libexecdir%g
1069s%@datadir@%$datadir%g
1070s%@sysconfdir@%$sysconfdir%g
1071s%@sharedstatedir@%$sharedstatedir%g
1072s%@localstatedir@%$localstatedir%g
1073s%@libdir@%$libdir%g
1074s%@includedir@%$includedir%g
1075s%@oldincludedir@%$oldincludedir%g
1076s%@infodir@%$infodir%g
1077s%@mandir@%$mandir%g
1078s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1079s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1080s%@INSTALL_DATA@%$INSTALL_DATA%g
1081s%@version@%$version%g
1082s%@PATHSEP@%$PATHSEP%g
1083s%@JAVA@%$JAVA%g
1084s%@JAVAC@%$JAVAC%g
1085s%@JAVACFLAGS@%$JAVACFLAGS%g
1086s%@JAR@%$JAR%g
1087s%@JAVA_RUNTIME@%$JAVA_RUNTIME%g
1088s%@CP@%$CP%g
1089s%@CLASSPATH@%$CLASSPATH%g
1090s%@COMPILER_CLASSPATH@%$COMPILER_CLASSPATH%g
1091s%@JAVA_OPTIONS@%$JAVA_OPTIONS%g
1092s%@JPTY@%$JPTY%g
1093
1094CEOF
1095EOF
1096
1097cat >> $CONFIG_STATUS <<\EOF
1098
1099# Split the substitutions into bite-sized pieces for seds with
1100# small command number limits, like on Digital OSF/1 and HP-UX.
1101ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1102ac_file=1 # Number of current file.
1103ac_beg=1 # First line for current file.
1104ac_end=$ac_max_sed_cmds # Line after last line for current file.
1105ac_more_lines=:
1106ac_sed_cmds=""
1107while $ac_more_lines; do
1108  if test $ac_beg -gt 1; then
1109    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1110  else
1111    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1112  fi
1113  if test ! -s conftest.s$ac_file; then
1114    ac_more_lines=false
1115    rm -f conftest.s$ac_file
1116  else
1117    if test -z "$ac_sed_cmds"; then
1118      ac_sed_cmds="sed -f conftest.s$ac_file"
1119    else
1120      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1121    fi
1122    ac_file=`expr $ac_file + 1`
1123    ac_beg=$ac_end
1124    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1125  fi
1126done
1127if test -z "$ac_sed_cmds"; then
1128  ac_sed_cmds=cat
1129fi
1130EOF
1131
1132cat >> $CONFIG_STATUS <<EOF
1133
1134CONFIG_FILES=\${CONFIG_FILES-"Makefile
1135src/Makefile
1136src/jpty/Makefile
1137src/bsh/Makefile
1138src/bsh/classpath/Makefile
1139src/bsh/commands/Makefile
1140src/bsh/reflect/Makefile
1141src/gnu/regexp/Makefile
1142src/org/xml/sax/Makefile
1143src/org/xml/sax/helpers/Makefile
1144src/org/xml/sax/ext/Makefile
1145src/org/armedbear/j/Makefile
1146src/org/armedbear/j/version
1147src/org/armedbear/j/aelfred/Makefile
1148src/org/armedbear/j/mail/Makefile
1149src/org/armedbear/j/jdb/Makefile
1150src/org/armedbear/lisp/Makefile
1151j
1152"}
1153EOF
1154cat >> $CONFIG_STATUS <<\EOF
1155for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1156  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1157  case "$ac_file" in
1158  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1159       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1160  *) ac_file_in="${ac_file}.in" ;;
1161  esac
1162
1163  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1164
1165  # Remove last slash and all that follows it.  Not all systems have dirname.
1166  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1167  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1168    # The file is in a subdirectory.
1169    test ! -d "$ac_dir" && mkdir "$ac_dir"
1170    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1171    # A "../" for each directory in $ac_dir_suffix.
1172    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1173  else
1174    ac_dir_suffix= ac_dots=
1175  fi
1176
1177  case "$ac_given_srcdir" in
1178  .)  srcdir=.
1179      if test -z "$ac_dots"; then top_srcdir=.
1180      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1181  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1182  *) # Relative path.
1183    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1184    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1185  esac
1186
1187  case "$ac_given_INSTALL" in
1188  [/$]*) INSTALL="$ac_given_INSTALL" ;;
1189  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1190  esac
1191
1192  echo creating "$ac_file"
1193  rm -f "$ac_file"
1194  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1195  case "$ac_file" in
1196  *Makefile*) ac_comsub="1i\\
1197# $configure_input" ;;
1198  *) ac_comsub= ;;
1199  esac
1200
1201  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1202  sed -e "$ac_comsub
1203s%@configure_input@%$configure_input%g
1204s%@srcdir@%$srcdir%g
1205s%@top_srcdir@%$top_srcdir%g
1206s%@INSTALL@%$INSTALL%g
1207" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1208fi; done
1209rm -f conftest.s*
1210
1211EOF
1212cat >> $CONFIG_STATUS <<EOF
1213
1214EOF
1215cat >> $CONFIG_STATUS <<\EOF
1216
1217exit 0
1218EOF
1219chmod +x $CONFIG_STATUS
1220rm -fr confdefs* $ac_clean_files
1221test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1222
1223
1224
1225
1226
1227
1228
1229chmod 755 j
1230
1231    if test $CYGWIN; then
1232        echo "\"`cygpath -w $JAVA`\" $CP \"$CLASSPATH\" $JIT Editor %1 %2 %3 %4 %5 %6 %7 %8 %9" > j.bat
1233    fi
1234
1235
1236
Note: See TracBrowser for help on using the repository browser.