source: main/trunk/greenstone2/common-src/indexers/configure@ 21364

Last change on this file since 21364 was 21364, checked in by ak19, 14 years ago

New configuration and compilation flag ENABLE_JNI added which will be disabled by default for GS2 since in general GS doesn't need mg and mgpp compiled up with jni. GS3

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