source: trunk/j/configure @ 2

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

Initial checkin.

File size: 36.7 KB
Line 
1#! /bin/sh
2
3# From configure.in Revision: 1.143
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.17.0+
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.2 or later is required" 1>&2; exit 1; }
694        ;;
695    java*1.2.0*)
696        echo "$ac_t""1.2.0" 1>&6
697        ;;
698    java*1.2.1*)
699        echo "$ac_t""1.2.1" 1>&6
700        ;;
701    java*1.2.2*)
702        echo "$ac_t""1.2.2" 1>&6
703        ;;
704    java*1.2*)
705        echo "$ac_t""1.2" 1>&6
706        ;;
707    java*1.3.0*)
708        echo "$ac_t""1.3.0" 1>&6
709        ;;
710    java*1.3.1*)
711        echo "$ac_t""1.3.1" 1>&6
712        ;;
713    java*1.3*)
714        echo "$ac_t""1.3" 1>&6
715        ;;
716    java*1.4.0-beta*)
717        echo "$ac_t""1.4.0-beta" 1>&6
718        ;;
719    java*1.4*)
720        echo "$ac_t""1.4" 1>&6
721        ;;
722    *)
723        { echo "configure: error: unknown Java version" 1>&2; exit 1; }
724        ;;
725esac
726
727
728
729test -z "$JAVAC" && for ac_prog in jikes
730do
731# Extract the first word of "$ac_prog", so it can be a program name with args.
732set dummy $ac_prog; ac_word=$2
733echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
734echo "configure:735: checking for $ac_word" >&5
735if eval "test \"`echo '$''{'ac_cv_prog_JAVAC'+set}'`\" = set"; then
736  echo $ac_n "(cached) $ac_c" 1>&6
737else
738  if test -n "$JAVAC"; then
739  ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
740else
741  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
742  ac_dummy="$PATH"
743  for ac_dir in $ac_dummy; do
744    test -z "$ac_dir" && ac_dir=.
745    if test -f $ac_dir/$ac_word; then
746      ac_cv_prog_JAVAC="$ac_prog"
747      break
748    fi
749  done
750  IFS="$ac_save_ifs"
751fi
752fi
753JAVAC="$ac_cv_prog_JAVAC"
754if test -n "$JAVAC"; then
755  echo "$ac_t""$JAVAC" 1>&6
756else
757  echo "$ac_t""no" 1>&6
758fi
759
760test -n "$JAVAC" && break
761done
762
763test -z "$JAVAC" && JAVAC=$JDK/bin/javac
764if test "$JAVAC" = jikes; then
765    JAVACFLAGS="+D +F"
766fi
767
768
769
770
771test -z "$JAR" && for ac_prog in fastjar
772do
773# Extract the first word of "$ac_prog", so it can be a program name with args.
774set dummy $ac_prog; ac_word=$2
775echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
776echo "configure:777: checking for $ac_word" >&5
777if eval "test \"`echo '$''{'ac_cv_prog_JAR'+set}'`\" = set"; then
778  echo $ac_n "(cached) $ac_c" 1>&6
779else
780  if test -n "$JAR"; then
781  ac_cv_prog_JAR="$JAR" # Let the user override the test.
782else
783  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
784  ac_dummy="$PATH"
785  for ac_dir in $ac_dummy; do
786    test -z "$ac_dir" && ac_dir=.
787    if test -f $ac_dir/$ac_word; then
788      ac_cv_prog_JAR="$ac_prog"
789      break
790    fi
791  done
792  IFS="$ac_save_ifs"
793fi
794fi
795JAR="$ac_cv_prog_JAR"
796if test -n "$JAR"; then
797  echo "$ac_t""$JAR" 1>&6
798else
799  echo "$ac_t""no" 1>&6
800fi
801
802test -n "$JAR" && break
803done
804
805test -z "$JAR" && JAR=$JDK/bin/jar
806
807
808
809
810case "$JAVA_VERSION" in
811    java*1.2*)
812        JAVA_RUNTIME=$JDK/jre/lib/rt.jar
813        ;;
814    java*1.3*)
815        JAVA_RUNTIME=$JDK/jre/lib/rt.jar
816        ;;
817    java*1.4*)
818        JAVA_RUNTIME=$JDK/jre/lib/rt.jar
819        ;;
820    *)
821        ;;
822esac
823
824
825
826test "x$prefix" = xNONE && prefix=/usr/local
827
828
829eval "datadir=$datadir"
830
831
832
833JPATH=$srcdir/src:$datadir/j/j.jar
834
835case "$JAVA_VERSION" in
836    java*1.1.*)
837        CP="-classpath"
838        CLASSPATH="$JPATH:$JAVA_RUNTIME"
839        ;;
840    java*1.2*)
841        CP="-cp"
842        CLASSPATH="$JPATH"
843        ;;
844    java*1.3*)
845        CP="-cp"
846        CLASSPATH="$JPATH"
847        ;;
848    java*1.4*)
849        CP="-cp"
850        CLASSPATH="$JPATH"
851        ;;
852    *)
853        ;;
854esac
855
856
857
858COMPILER_CLASSPATH="$srcdir/src:$JAVA_RUNTIME"
859
860
861# Check whether --with-options or --without-options was given.
862if test "${with_options+set}" = set; then
863  withval="$with_options"
864 
865    JAVA_OPTIONS=${with_options}
866
867fi
868
869
870
871# Check whether --with-extensions or --without-extensions was given.
872if test "${with_extensions+set}" = set; then
873  withval="$with_extensions"
874 
875    EXTENSIONS=${with_extensions}
876
877fi
878
879
880if test $EXTENSIONS; then
881    CLASSPATH="$CLASSPATH:$EXTENSIONS"
882    COMPILER_CLASSPATH="$COMPILER_CLASSPATH:$EXTENSIONS"
883fi
884
885if test $CYGWIN; then
886    JAVA_RUNTIME=`cygpath -p -w $JAVA_RUNTIME`
887    CLASSPATH=`cygpath -p -w $CLASSPATH`
888    COMPILER_CLASSPATH=`cygpath -p -w $COMPILER_CLASSPATH`
889fi
890
891
892# Check whether --enable-jpty or --disable-jpty was given.
893if test "${enable_jpty+set}" = set; then
894  enableval="$enable_jpty"
895  :
896fi
897
898
899if test "$enable_jpty" = "yes"; then
900    if test $CYGWIN; then
901        JPTY=jpty.exe
902    else
903        JPTY=jpty
904    fi
905fi
906
907
908
909
910# Check whether --enable-debug or --disable-debug was given.
911if test "${enable_debug+set}" = set; then
912  enableval="$enable_debug"
913  :
914fi
915
916
917case "$enable_debug" in
918    "")
919        ;;
920    no)
921        JAVACFLAGS="$JAVACFLAGS -O"
922        ;;
923    *)
924        JAVACFLAGS="$JAVACFLAGS -g"
925        ;;
926esac
927
928
929trap '' 1 2 15
930cat > confcache <<\EOF
931# This file is a shell script that caches the results of configure
932# tests run on this system so they can be shared between configure
933# scripts and configure runs.  It is not useful on other systems.
934# If it contains results you don't want to keep, you may remove or edit it.
935#
936# By default, configure uses ./config.cache as the cache file,
937# creating it if it does not exist already.  You can give configure
938# the --cache-file=FILE option to use a different cache file; that is
939# what configure does when it calls configure scripts in
940# subdirectories, so they share the cache.
941# Giving --cache-file=/dev/null disables caching, for debugging configure.
942# config.status only pays attention to the cache file if you give it the
943# --recheck option to rerun configure.
944#
945EOF
946# The following way of writing the cache mishandles newlines in values,
947# but we know of no workaround that is simple, portable, and efficient.
948# So, don't put newlines in cache variables' values.
949# Ultrix sh set writes to stderr and can't be redirected directly,
950# and sets the high bit in the cache file unless we assign to the vars.
951(set) 2>&1 |
952  case `(ac_space=' '; set | grep ac_space) 2>&1` in
953  *ac_space=\ *)
954    # `set' does not quote correctly, so add quotes (double-quote substitution
955    # turns \\\\ into \\, and sed turns \\ into \).
956    sed -n \
957      -e "s/'/'\\\\''/g" \
958      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
959    ;;
960  *)
961    # `set' quotes correctly as required by POSIX, so do not add quotes.
962    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
963    ;;
964  esac >> confcache
965if cmp -s $cache_file confcache; then
966  :
967else
968  if test -w $cache_file; then
969    echo "updating cache $cache_file"
970    cat confcache > $cache_file
971  else
972    echo "not updating unwritable cache $cache_file"
973  fi
974fi
975rm -f confcache
976
977trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
978
979test "x$prefix" = xNONE && prefix=$ac_default_prefix
980# Let make expand exec_prefix.
981test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
982
983# Any assignment to VPATH causes Sun make to only execute
984# the first set of double-colon rules, so remove it if not needed.
985# If there is a colon in the path, we need to keep it.
986if test "x$srcdir" = x.; then
987  ac_vpsub='/^[   ]*VPATH[  ]*=[^:]*$/d'
988fi
989
990trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
991
992# Transform confdefs.h into DEFS.
993# Protect against shell expansion while executing Makefile rules.
994# Protect against Makefile macro expansion.
995cat > conftest.defs <<\EOF
996s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
997s%[   `~#$^&*(){}\\|;'"<>?]%\\&%g
998s%\[%\\&%g
999s%\]%\\&%g
1000s%\$%$$%g
1001EOF
1002DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1003rm -f conftest.defs
1004
1005
1006# Without the "./", some shells look in PATH for config.status.
1007: ${CONFIG_STATUS=./config.status}
1008
1009echo creating $CONFIG_STATUS
1010rm -f $CONFIG_STATUS
1011cat > $CONFIG_STATUS <<EOF
1012#! /bin/sh
1013# Generated automatically by configure.
1014# Run this file to recreate the current configuration.
1015# This directory was configured as follows,
1016# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1017#
1018# $0 $ac_configure_args
1019#
1020# Compiler output produced by configure, useful for debugging
1021# configure, is in ./config.log if it exists.
1022
1023ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1024for ac_option
1025do
1026  case "\$ac_option" in
1027  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1028    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1029    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1030  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1031    echo "$CONFIG_STATUS generated by autoconf version 2.13"
1032    exit 0 ;;
1033  -help | --help | --hel | --he | --h)
1034    echo "\$ac_cs_usage"; exit 0 ;;
1035  *) echo "\$ac_cs_usage"; exit 1 ;;
1036  esac
1037done
1038
1039ac_given_srcdir=$srcdir
1040ac_given_INSTALL="$INSTALL"
1041
1042trap 'rm -fr `echo "
1043Makefile
1044src/Makefile
1045src/jpty/Makefile
1046src/bsh/Makefile
1047src/bsh/classpath/Makefile
1048src/bsh/commands/Makefile
1049src/bsh/reflect/Makefile
1050src/gnu/regexp/Makefile
1051src/org/xml/sax/Makefile
1052src/org/xml/sax/helpers/Makefile
1053src/org/xml/sax/ext/Makefile
1054src/org/armedbear/j/Makefile
1055src/org/armedbear/j/version
1056src/org/armedbear/j/aelfred/Makefile
1057src/org/armedbear/j/mail/Makefile
1058j
1059" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1060EOF
1061cat >> $CONFIG_STATUS <<EOF
1062
1063# Protect against being on the right side of a sed subst in config.status.
1064sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1065 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1066$ac_vpsub
1067$extrasub
1068s%@SHELL@%$SHELL%g
1069s%@CFLAGS@%$CFLAGS%g
1070s%@CPPFLAGS@%$CPPFLAGS%g
1071s%@CXXFLAGS@%$CXXFLAGS%g
1072s%@FFLAGS@%$FFLAGS%g
1073s%@DEFS@%$DEFS%g
1074s%@LDFLAGS@%$LDFLAGS%g
1075s%@LIBS@%$LIBS%g
1076s%@exec_prefix@%$exec_prefix%g
1077s%@prefix@%$prefix%g
1078s%@program_transform_name@%$program_transform_name%g
1079s%@bindir@%$bindir%g
1080s%@sbindir@%$sbindir%g
1081s%@libexecdir@%$libexecdir%g
1082s%@datadir@%$datadir%g
1083s%@sysconfdir@%$sysconfdir%g
1084s%@sharedstatedir@%$sharedstatedir%g
1085s%@localstatedir@%$localstatedir%g
1086s%@libdir@%$libdir%g
1087s%@includedir@%$includedir%g
1088s%@oldincludedir@%$oldincludedir%g
1089s%@infodir@%$infodir%g
1090s%@mandir@%$mandir%g
1091s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1092s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1093s%@INSTALL_DATA@%$INSTALL_DATA%g
1094s%@version@%$version%g
1095s%@PATHSEP@%$PATHSEP%g
1096s%@JAVA@%$JAVA%g
1097s%@JAVAC@%$JAVAC%g
1098s%@JAVACFLAGS@%$JAVACFLAGS%g
1099s%@JAR@%$JAR%g
1100s%@JAVA_RUNTIME@%$JAVA_RUNTIME%g
1101s%@CP@%$CP%g
1102s%@CLASSPATH@%$CLASSPATH%g
1103s%@COMPILER_CLASSPATH@%$COMPILER_CLASSPATH%g
1104s%@JAVA_OPTIONS@%$JAVA_OPTIONS%g
1105s%@JPTY@%$JPTY%g
1106
1107CEOF
1108EOF
1109
1110cat >> $CONFIG_STATUS <<\EOF
1111
1112# Split the substitutions into bite-sized pieces for seds with
1113# small command number limits, like on Digital OSF/1 and HP-UX.
1114ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1115ac_file=1 # Number of current file.
1116ac_beg=1 # First line for current file.
1117ac_end=$ac_max_sed_cmds # Line after last line for current file.
1118ac_more_lines=:
1119ac_sed_cmds=""
1120while $ac_more_lines; do
1121  if test $ac_beg -gt 1; then
1122    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1123  else
1124    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1125  fi
1126  if test ! -s conftest.s$ac_file; then
1127    ac_more_lines=false
1128    rm -f conftest.s$ac_file
1129  else
1130    if test -z "$ac_sed_cmds"; then
1131      ac_sed_cmds="sed -f conftest.s$ac_file"
1132    else
1133      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1134    fi
1135    ac_file=`expr $ac_file + 1`
1136    ac_beg=$ac_end
1137    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1138  fi
1139done
1140if test -z "$ac_sed_cmds"; then
1141  ac_sed_cmds=cat
1142fi
1143EOF
1144
1145cat >> $CONFIG_STATUS <<EOF
1146
1147CONFIG_FILES=\${CONFIG_FILES-"Makefile
1148src/Makefile
1149src/jpty/Makefile
1150src/bsh/Makefile
1151src/bsh/classpath/Makefile
1152src/bsh/commands/Makefile
1153src/bsh/reflect/Makefile
1154src/gnu/regexp/Makefile
1155src/org/xml/sax/Makefile
1156src/org/xml/sax/helpers/Makefile
1157src/org/xml/sax/ext/Makefile
1158src/org/armedbear/j/Makefile
1159src/org/armedbear/j/version
1160src/org/armedbear/j/aelfred/Makefile
1161src/org/armedbear/j/mail/Makefile
1162j
1163"}
1164EOF
1165cat >> $CONFIG_STATUS <<\EOF
1166for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1167  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1168  case "$ac_file" in
1169  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1170       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1171  *) ac_file_in="${ac_file}.in" ;;
1172  esac
1173
1174  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1175
1176  # Remove last slash and all that follows it.  Not all systems have dirname.
1177  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1178  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1179    # The file is in a subdirectory.
1180    test ! -d "$ac_dir" && mkdir "$ac_dir"
1181    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1182    # A "../" for each directory in $ac_dir_suffix.
1183    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1184  else
1185    ac_dir_suffix= ac_dots=
1186  fi
1187
1188  case "$ac_given_srcdir" in
1189  .)  srcdir=.
1190      if test -z "$ac_dots"; then top_srcdir=.
1191      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1192  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1193  *) # Relative path.
1194    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1195    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1196  esac
1197
1198  case "$ac_given_INSTALL" in
1199  [/$]*) INSTALL="$ac_given_INSTALL" ;;
1200  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1201  esac
1202
1203  echo creating "$ac_file"
1204  rm -f "$ac_file"
1205  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1206  case "$ac_file" in
1207  *Makefile*) ac_comsub="1i\\
1208# $configure_input" ;;
1209  *) ac_comsub= ;;
1210  esac
1211
1212  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1213  sed -e "$ac_comsub
1214s%@configure_input@%$configure_input%g
1215s%@srcdir@%$srcdir%g
1216s%@top_srcdir@%$top_srcdir%g
1217s%@INSTALL@%$INSTALL%g
1218" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1219fi; done
1220rm -f conftest.s*
1221
1222EOF
1223cat >> $CONFIG_STATUS <<EOF
1224
1225EOF
1226cat >> $CONFIG_STATUS <<\EOF
1227
1228exit 0
1229EOF
1230chmod +x $CONFIG_STATUS
1231rm -fr confdefs* $ac_clean_files
1232test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1233
1234
1235
1236
1237
1238
1239
1240chmod 755 j
1241
1242    if test $CYGWIN; then
1243        echo "\"`cygpath -w $JAVA`\" $CP \"$CLASSPATH\" $JIT Editor %1 %2 %3 %4 %5 %6 %7 %8 %9" > j.bat
1244    fi
1245
1246
1247
Note: See TracBrowser for help on using the repository browser.