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

Last change on this file since 30402 was 26156, checked in by kjdon, 12 years ago

had to add AC_SUBST for ARCH_DEP_FLAGS otherwise its not passed in to unac which needs it

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 102.5 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization. ##
11## --------------------- ##
12
13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25esac
26
27fi
28
29
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40as_nl='
41'
42export as_nl
43# Printing a long string crashes Solaris 7 /usr/bin/printf.
44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79fi
80
81# Support unset when possible.
82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83 as_unset=unset
84else
85 as_unset=false
86fi
87
88
89# IFS
90# We need space, tab and new line, in precisely that order. Quoting is
91# there to prevent editors from complaining about space-tab.
92# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93# splitting by setting IFS to empty value.)
94IFS=" "" $as_nl"
95
96# Find who we are. Look in the path if we contain no directory separator.
97case $0 in
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100for as_dir in $PATH
101do
102 IFS=$as_save_IFS
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105done
106IFS=$as_save_IFS
107
108 ;;
109esac
110# We did not find ourselves, most probably we were run as `sh COMMAND'
111# in which case we are not to be found in the path.
112if test "x$as_myself" = x; then
113 as_myself=$0
114fi
115if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
118fi
119
120# Work around bugs in pre-3.0 UWIN ksh.
121for as_var in ENV MAIL MAILPATH
122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# Required to use basename.
135if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
137 as_expr=expr
138else
139 as_expr=false
140fi
141
142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143 as_basename=basename
144else
145 as_basename=false
146fi
147
148
149# Name of the executable.
150as_me=`$as_basename -- "$0" ||
151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154$as_echo X/"$0" |
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 s//\1/
157 q
158 }
159 /^X\/\(\/\/\)$/{
160 s//\1/
161 q
162 }
163 /^X\/\(\/\).*/{
164 s//\1/
165 q
166 }
167 s/.*/./; q'`
168
169# CDPATH.
170$as_unset CDPATH
171
172
173if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
175 as_have_required=yes
176else
177 as_have_required=no
178fi
179
180 if test $as_have_required = yes && (eval ":
181(as_func_return () {
182 (exit \$1)
183}
184as_func_success () {
185 as_func_return 0
186}
187as_func_failure () {
188 as_func_return 1
189}
190as_func_ret_success () {
191 return 0
192}
193as_func_ret_failure () {
194 return 1
195}
196
197exitcode=0
198if as_func_success; then
199 :
200else
201 exitcode=1
202 echo as_func_success failed.
203fi
204
205if as_func_failure; then
206 exitcode=1
207 echo as_func_failure succeeded.
208fi
209
210if as_func_ret_success; then
211 :
212else
213 exitcode=1
214 echo as_func_ret_success failed.
215fi
216
217if as_func_ret_failure; then
218 exitcode=1
219 echo as_func_ret_failure succeeded.
220fi
221
222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223 :
224else
225 exitcode=1
226 echo positional parameters were not saved.
227fi
228
229test \$exitcode = 0) || { (exit 1); exit 1; }
230
231(
232 as_lineno_1=\$LINENO
233 as_lineno_2=\$LINENO
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236") 2> /dev/null; then
237 :
238else
239 as_candidate_shells=
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242do
243 IFS=$as_save_IFS
244 test -z "$as_dir" && as_dir=.
245 case $as_dir in
246 /*)
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249 done;;
250 esac
251done
252IFS=$as_save_IFS
253
254
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266else
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
269esac
270
271fi
272
273
274:
275_ASEOF
276}; then
277 CONFIG_SHELL=$as_shell
278 as_have_required=yes
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281 emulate sh
282 NULLCMD=:
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
286 setopt NO_GLOB_SUBST
287else
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
290esac
291
292fi
293
294
295:
296(as_func_return () {
297 (exit $1)
298}
299as_func_success () {
300 as_func_return 0
301}
302as_func_failure () {
303 as_func_return 1
304}
305as_func_ret_success () {
306 return 0
307}
308as_func_ret_failure () {
309 return 1
310}
311
312exitcode=0
313if as_func_success; then
314 :
315else
316 exitcode=1
317 echo as_func_success failed.
318fi
319
320if as_func_failure; then
321 exitcode=1
322 echo as_func_failure succeeded.
323fi
324
325if as_func_ret_success; then
326 :
327else
328 exitcode=1
329 echo as_func_ret_success failed.
330fi
331
332if as_func_ret_failure; then
333 exitcode=1
334 echo as_func_ret_failure succeeded.
335fi
336
337if ( set x; as_func_ret_success y && test x = "$1" ); then
338 :
339else
340 exitcode=1
341 echo positional parameters were not saved.
342fi
343
344test $exitcode = 0) || { (exit 1); exit 1; }
345
346(
347 as_lineno_1=$LINENO
348 as_lineno_2=$LINENO
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
352_ASEOF
353}; then
354 break
355fi
356
357fi
358
359 done
360
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364 done
365 export CONFIG_SHELL
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367fi
368
369
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
376fi
377
378
379fi
380
381fi
382
383
384
385(eval "as_func_return () {
386 (exit \$1)
387}
388as_func_success () {
389 as_func_return 0
390}
391as_func_failure () {
392 as_func_return 1
393}
394as_func_ret_success () {
395 return 0
396}
397as_func_ret_failure () {
398 return 1
399}
400
401exitcode=0
402if as_func_success; then
403 :
404else
405 exitcode=1
406 echo as_func_success failed.
407fi
408
409if as_func_failure; then
410 exitcode=1
411 echo as_func_failure succeeded.
412fi
413
414if as_func_ret_success; then
415 :
416else
417 exitcode=1
418 echo as_func_ret_success failed.
419fi
420
421if as_func_ret_failure; then
422 exitcode=1
423 echo as_func_ret_failure succeeded.
424fi
425
426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427 :
428else
429 exitcode=1
430 echo positional parameters were not saved.
431fi
432
433test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell [email protected] about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
439}
440
441
442
443 as_lineno_1=$LINENO
444 as_lineno_2=$LINENO
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
454 # case at line end.
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
458 sed -n '
459 p
460 /[$]LINENO/=
461 ' <$as_myself |
462 sed '
463 s/[$]LINENO.*/&-/
464 t lineno
465 b
466 :lineno
467 N
468 :loop
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470 t loop
471 s/-\n.*//
472 ' >$as_me.lineno &&
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
476
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
480 . "./$as_me.lineno"
481 # Exit status is that of the last command.
482 exit
483}
484
485
486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487 as_dirname=dirname
488else
489 as_dirname=false
490fi
491
492ECHO_C= ECHO_N= ECHO_T=
493case `echo -n x` in
494-n*)
495 case `echo 'x\c'` in
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497 *) ECHO_C='\c';;
498 esac;;
499*)
500 ECHO_N='-n';;
501esac
502if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
504 as_expr=expr
505else
506 as_expr=false
507fi
508
509rm -f conf$$ conf$$.exe conf$$.file
510if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
512else
513 rm -f conf$$.dir
514 mkdir conf$$.dir 2>/dev/null
515fi
516if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
518 as_ln_s='ln -s'
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524 as_ln_s='cp -p'
525 elif ln conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s=ln
527 else
528 as_ln_s='cp -p'
529 fi
530else
531 as_ln_s='cp -p'
532fi
533rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534rmdir conf$$.dir 2>/dev/null
535
536if mkdir -p . 2>/dev/null; then
537 as_mkdir_p=:
538else
539 test -d ./-p && rmdir ./-p
540 as_mkdir_p=false
541fi
542
543if test -x / >/dev/null 2>&1; then
544 as_test_x='test -x'
545else
546 if ls -dL / >/dev/null 2>&1; then
547 as_ls_L_option=L
548 else
549 as_ls_L_option=
550 fi
551 as_test_x='
552 eval sh -c '\''
553 if test -d "$1"; then
554 test -d "$1/.";
555 else
556 case $1 in
557 -*)set "./$1";;
558 esac;
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
561 '\'' sh
562 '
563fi
564as_executable_p=$as_test_x
565
566# Sed expression to map a string onto a valid CPP name.
567as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
569# Sed expression to map a string onto a valid variable name.
570as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
572
573
574exec 7<&0 </dev/null 6>&1
575
576# Name of the host.
577# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578# so uname gets run too.
579ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580
581#
582# Initializations.
583#
584ac_default_prefix=/usr/local
585ac_clean_files=
586ac_config_libobj_dir=.
587LIBOBJS=
588cross_compiling=no
589subdirs=
590MFLAGS=
591MAKEFLAGS=
592SHELL=${CONFIG_SHELL-/bin/sh}
593
594# Identity of this package.
595PACKAGE_NAME=
596PACKAGE_TARNAME=
597PACKAGE_VERSION=
598PACKAGE_STRING=
599PACKAGE_BUGREPORT=
600
601enable_option_checking=no
602ac_subst_vars='LTLIBOBJS
603LIBOBJS
604subdirs
605uudecode
606JAVA
607JAVACFLAGS
608JAVAC
609ENABLE_LUCENE
610ENABLE_MGPP
611ENABLE_MG
612ENABLE_JNI
613ENABLE_ACCENTFOLD
614ARCH_DEP_FLAGS
615ENABLE_JAVA
616target_alias
617host_alias
618build_alias
619LIBS
620ECHO_T
621ECHO_N
622ECHO_C
623DEFS
624mandir
625localedir
626libdir
627psdir
628pdfdir
629dvidir
630htmldir
631infodir
632docdir
633oldincludedir
634includedir
635localstatedir
636sharedstatedir
637sysconfdir
638datadir
639datarootdir
640libexecdir
641sbindir
642bindir
643program_transform_name
644prefix
645exec_prefix
646PACKAGE_BUGREPORT
647PACKAGE_STRING
648PACKAGE_VERSION
649PACKAGE_TARNAME
650PACKAGE_NAME
651PATH_SEPARATOR
652SHELL'
653ac_subst_files=''
654ac_user_opts='
655enable_option_checking
656enable_java
657enable_accentfold
658enable_jni
659enable_mg
660enable_mgpp
661enable_lucene
662with_unac
663with_libiconv
664'
665 ac_precious_vars='build_alias
666host_alias
667target_alias'
668ac_subdirs_all='packages/unac
669mg
670mgpp'
671
672# Initialize some variables set by options.
673ac_init_help=
674ac_init_version=false
675ac_unrecognized_opts=
676ac_unrecognized_sep=
677# The variables have the same names as the options, with
678# dashes changed to underlines.
679cache_file=/dev/null
680exec_prefix=NONE
681no_create=
682no_recursion=
683prefix=NONE
684program_prefix=NONE
685program_suffix=NONE
686program_transform_name=s,x,x,
687silent=
688site=
689srcdir=
690verbose=
691x_includes=NONE
692x_libraries=NONE
693
694# Installation directory options.
695# These are left unexpanded so users can "make install exec_prefix=/foo"
696# and all the variables that are supposed to be based on exec_prefix
697# by default will actually change.
698# Use braces instead of parens because sh, perl, etc. also accept them.
699# (The list follows the same order as the GNU Coding Standards.)
700bindir='${exec_prefix}/bin'
701sbindir='${exec_prefix}/sbin'
702libexecdir='${exec_prefix}/libexec'
703datarootdir='${prefix}/share'
704datadir='${datarootdir}'
705sysconfdir='${prefix}/etc'
706sharedstatedir='${prefix}/com'
707localstatedir='${prefix}/var'
708includedir='${prefix}/include'
709oldincludedir='/usr/include'
710docdir='${datarootdir}/doc/${PACKAGE}'
711infodir='${datarootdir}/info'
712htmldir='${docdir}'
713dvidir='${docdir}'
714pdfdir='${docdir}'
715psdir='${docdir}'
716libdir='${exec_prefix}/lib'
717localedir='${datarootdir}/locale'
718mandir='${datarootdir}/man'
719
720ac_prev=
721ac_dashdash=
722for ac_option
723do
724 # If the previous option needs an argument, assign it.
725 if test -n "$ac_prev"; then
726 eval $ac_prev=\$ac_option
727 ac_prev=
728 continue
729 fi
730
731 case $ac_option in
732 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
733 *) ac_optarg=yes ;;
734 esac
735
736 # Accept the important Cygnus configure options, so we can diagnose typos.
737
738 case $ac_dashdash$ac_option in
739 --)
740 ac_dashdash=yes ;;
741
742 -bindir | --bindir | --bindi | --bind | --bin | --bi)
743 ac_prev=bindir ;;
744 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
745 bindir=$ac_optarg ;;
746
747 -build | --build | --buil | --bui | --bu)
748 ac_prev=build_alias ;;
749 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
750 build_alias=$ac_optarg ;;
751
752 -cache-file | --cache-file | --cache-fil | --cache-fi \
753 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
754 ac_prev=cache_file ;;
755 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
756 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
757 cache_file=$ac_optarg ;;
758
759 --config-cache | -C)
760 cache_file=config.cache ;;
761
762 -datadir | --datadir | --datadi | --datad)
763 ac_prev=datadir ;;
764 -datadir=* | --datadir=* | --datadi=* | --datad=*)
765 datadir=$ac_optarg ;;
766
767 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
768 | --dataroo | --dataro | --datar)
769 ac_prev=datarootdir ;;
770 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
771 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
772 datarootdir=$ac_optarg ;;
773
774 -disable-* | --disable-*)
775 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
778 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
779 { (exit 1); exit 1; }; }
780 ac_useropt_orig=$ac_useropt
781 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
782 case $ac_user_opts in
783 *"
784"enable_$ac_useropt"
785"*) ;;
786 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
787 ac_unrecognized_sep=', ';;
788 esac
789 eval enable_$ac_useropt=no ;;
790
791 -docdir | --docdir | --docdi | --doc | --do)
792 ac_prev=docdir ;;
793 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
794 docdir=$ac_optarg ;;
795
796 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
797 ac_prev=dvidir ;;
798 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
799 dvidir=$ac_optarg ;;
800
801 -enable-* | --enable-*)
802 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
803 # Reject names that are not valid shell variable names.
804 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
805 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
806 { (exit 1); exit 1; }; }
807 ac_useropt_orig=$ac_useropt
808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
809 case $ac_user_opts in
810 *"
811"enable_$ac_useropt"
812"*) ;;
813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
814 ac_unrecognized_sep=', ';;
815 esac
816 eval enable_$ac_useropt=\$ac_optarg ;;
817
818 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
819 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
820 | --exec | --exe | --ex)
821 ac_prev=exec_prefix ;;
822 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
823 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
824 | --exec=* | --exe=* | --ex=*)
825 exec_prefix=$ac_optarg ;;
826
827 -gas | --gas | --ga | --g)
828 # Obsolete; use --with-gas.
829 with_gas=yes ;;
830
831 -help | --help | --hel | --he | -h)
832 ac_init_help=long ;;
833 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
834 ac_init_help=recursive ;;
835 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
836 ac_init_help=short ;;
837
838 -host | --host | --hos | --ho)
839 ac_prev=host_alias ;;
840 -host=* | --host=* | --hos=* | --ho=*)
841 host_alias=$ac_optarg ;;
842
843 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
844 ac_prev=htmldir ;;
845 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
846 | --ht=*)
847 htmldir=$ac_optarg ;;
848
849 -includedir | --includedir | --includedi | --included | --include \
850 | --includ | --inclu | --incl | --inc)
851 ac_prev=includedir ;;
852 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
853 | --includ=* | --inclu=* | --incl=* | --inc=*)
854 includedir=$ac_optarg ;;
855
856 -infodir | --infodir | --infodi | --infod | --info | --inf)
857 ac_prev=infodir ;;
858 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
859 infodir=$ac_optarg ;;
860
861 -libdir | --libdir | --libdi | --libd)
862 ac_prev=libdir ;;
863 -libdir=* | --libdir=* | --libdi=* | --libd=*)
864 libdir=$ac_optarg ;;
865
866 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
867 | --libexe | --libex | --libe)
868 ac_prev=libexecdir ;;
869 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
870 | --libexe=* | --libex=* | --libe=*)
871 libexecdir=$ac_optarg ;;
872
873 -localedir | --localedir | --localedi | --localed | --locale)
874 ac_prev=localedir ;;
875 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
876 localedir=$ac_optarg ;;
877
878 -localstatedir | --localstatedir | --localstatedi | --localstated \
879 | --localstate | --localstat | --localsta | --localst | --locals)
880 ac_prev=localstatedir ;;
881 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
882 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
883 localstatedir=$ac_optarg ;;
884
885 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
886 ac_prev=mandir ;;
887 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
888 mandir=$ac_optarg ;;
889
890 -nfp | --nfp | --nf)
891 # Obsolete; use --without-fp.
892 with_fp=no ;;
893
894 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
895 | --no-cr | --no-c | -n)
896 no_create=yes ;;
897
898 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
899 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
900 no_recursion=yes ;;
901
902 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
903 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
904 | --oldin | --oldi | --old | --ol | --o)
905 ac_prev=oldincludedir ;;
906 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
907 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
908 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
909 oldincludedir=$ac_optarg ;;
910
911 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
912 ac_prev=prefix ;;
913 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
914 prefix=$ac_optarg ;;
915
916 -program-prefix | --program-prefix | --program-prefi | --program-pref \
917 | --program-pre | --program-pr | --program-p)
918 ac_prev=program_prefix ;;
919 -program-prefix=* | --program-prefix=* | --program-prefi=* \
920 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
921 program_prefix=$ac_optarg ;;
922
923 -program-suffix | --program-suffix | --program-suffi | --program-suff \
924 | --program-suf | --program-su | --program-s)
925 ac_prev=program_suffix ;;
926 -program-suffix=* | --program-suffix=* | --program-suffi=* \
927 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
928 program_suffix=$ac_optarg ;;
929
930 -program-transform-name | --program-transform-name \
931 | --program-transform-nam | --program-transform-na \
932 | --program-transform-n | --program-transform- \
933 | --program-transform | --program-transfor \
934 | --program-transfo | --program-transf \
935 | --program-trans | --program-tran \
936 | --progr-tra | --program-tr | --program-t)
937 ac_prev=program_transform_name ;;
938 -program-transform-name=* | --program-transform-name=* \
939 | --program-transform-nam=* | --program-transform-na=* \
940 | --program-transform-n=* | --program-transform-=* \
941 | --program-transform=* | --program-transfor=* \
942 | --program-transfo=* | --program-transf=* \
943 | --program-trans=* | --program-tran=* \
944 | --progr-tra=* | --program-tr=* | --program-t=*)
945 program_transform_name=$ac_optarg ;;
946
947 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
948 ac_prev=pdfdir ;;
949 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
950 pdfdir=$ac_optarg ;;
951
952 -psdir | --psdir | --psdi | --psd | --ps)
953 ac_prev=psdir ;;
954 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
955 psdir=$ac_optarg ;;
956
957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
958 | -silent | --silent | --silen | --sile | --sil)
959 silent=yes ;;
960
961 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
962 ac_prev=sbindir ;;
963 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
964 | --sbi=* | --sb=*)
965 sbindir=$ac_optarg ;;
966
967 -sharedstatedir | --sharedstatedir | --sharedstatedi \
968 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
969 | --sharedst | --shareds | --shared | --share | --shar \
970 | --sha | --sh)
971 ac_prev=sharedstatedir ;;
972 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
973 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
974 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
975 | --sha=* | --sh=*)
976 sharedstatedir=$ac_optarg ;;
977
978 -site | --site | --sit)
979 ac_prev=site ;;
980 -site=* | --site=* | --sit=*)
981 site=$ac_optarg ;;
982
983 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
984 ac_prev=srcdir ;;
985 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
986 srcdir=$ac_optarg ;;
987
988 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
989 | --syscon | --sysco | --sysc | --sys | --sy)
990 ac_prev=sysconfdir ;;
991 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
992 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
993 sysconfdir=$ac_optarg ;;
994
995 -target | --target | --targe | --targ | --tar | --ta | --t)
996 ac_prev=target_alias ;;
997 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
998 target_alias=$ac_optarg ;;
999
1000 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1001 verbose=yes ;;
1002
1003 -version | --version | --versio | --versi | --vers | -V)
1004 ac_init_version=: ;;
1005
1006 -with-* | --with-*)
1007 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1011 { (exit 1); exit 1; }; }
1012 ac_useropt_orig=$ac_useropt
1013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1015 *"
1016"with_$ac_useropt"
1017"*) ;;
1018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1019 ac_unrecognized_sep=', ';;
1020 esac
1021 eval with_$ac_useropt=\$ac_optarg ;;
1022
1023 -without-* | --without-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1028 { (exit 1); exit 1; }; }
1029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1032 *"
1033"with_$ac_useropt"
1034"*) ;;
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1037 esac
1038 eval with_$ac_useropt=no ;;
1039
1040 --x)
1041 # Obsolete; use --with-x.
1042 with_x=yes ;;
1043
1044 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1045 | --x-incl | --x-inc | --x-in | --x-i)
1046 ac_prev=x_includes ;;
1047 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1048 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1049 x_includes=$ac_optarg ;;
1050
1051 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1052 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1053 ac_prev=x_libraries ;;
1054 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1055 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1056 x_libraries=$ac_optarg ;;
1057
1058 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1059Try \`$0 --help' for more information." >&2
1060 { (exit 1); exit 1; }; }
1061 ;;
1062
1063 *=*)
1064 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1067 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1068 { (exit 1); exit 1; }; }
1069 eval $ac_envvar=\$ac_optarg
1070 export $ac_envvar ;;
1071
1072 *)
1073 # FIXME: should be removed in autoconf 3.0.
1074 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1075 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1076 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1077 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1078 ;;
1079
1080 esac
1081done
1082
1083if test -n "$ac_prev"; then
1084 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1085 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1086 { (exit 1); exit 1; }; }
1087fi
1088
1089if test -n "$ac_unrecognized_opts"; then
1090 case $enable_option_checking in
1091 no) ;;
1092 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1093 { (exit 1); exit 1; }; } ;;
1094 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1095 esac
1096fi
1097
1098# Check all directory arguments for consistency.
1099for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1100 datadir sysconfdir sharedstatedir localstatedir includedir \
1101 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1102 libdir localedir mandir
1103do
1104 eval ac_val=\$$ac_var
1105 # Remove trailing slashes.
1106 case $ac_val in
1107 */ )
1108 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1109 eval $ac_var=\$ac_val;;
1110 esac
1111 # Be sure to have absolute directory names.
1112 case $ac_val in
1113 [\\/$]* | ?:[\\/]* ) continue;;
1114 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1115 esac
1116 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1117 { (exit 1); exit 1; }; }
1118done
1119
1120# There might be people who depend on the old broken behavior: `$host'
1121# used to hold the argument of --host etc.
1122# FIXME: To remove some day.
1123build=$build_alias
1124host=$host_alias
1125target=$target_alias
1126
1127# FIXME: To remove some day.
1128if test "x$host_alias" != x; then
1129 if test "x$build_alias" = x; then
1130 cross_compiling=maybe
1131 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1132 If a cross compiler is detected then cross compile mode will be used." >&2
1133 elif test "x$build_alias" != "x$host_alias"; then
1134 cross_compiling=yes
1135 fi
1136fi
1137
1138ac_tool_prefix=
1139test -n "$host_alias" && ac_tool_prefix=$host_alias-
1140
1141test "$silent" = yes && exec 6>/dev/null
1142
1143
1144ac_pwd=`pwd` && test -n "$ac_pwd" &&
1145ac_ls_di=`ls -di .` &&
1146ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1147 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1148 { (exit 1); exit 1; }; }
1149test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1150 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1151 { (exit 1); exit 1; }; }
1152
1153
1154# Find the source files, if location was not specified.
1155if test -z "$srcdir"; then
1156 ac_srcdir_defaulted=yes
1157 # Try the directory containing this script, then the parent directory.
1158 ac_confdir=`$as_dirname -- "$as_myself" ||
1159$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1160 X"$as_myself" : 'X\(//\)[^/]' \| \
1161 X"$as_myself" : 'X\(//\)$' \| \
1162 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1163$as_echo X"$as_myself" |
1164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1165 s//\1/
1166 q
1167 }
1168 /^X\(\/\/\)[^/].*/{
1169 s//\1/
1170 q
1171 }
1172 /^X\(\/\/\)$/{
1173 s//\1/
1174 q
1175 }
1176 /^X\(\/\).*/{
1177 s//\1/
1178 q
1179 }
1180 s/.*/./; q'`
1181 srcdir=$ac_confdir
1182 if test ! -r "$srcdir/$ac_unique_file"; then
1183 srcdir=..
1184 fi
1185else
1186 ac_srcdir_defaulted=no
1187fi
1188if test ! -r "$srcdir/$ac_unique_file"; then
1189 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1190 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1191 { (exit 1); exit 1; }; }
1192fi
1193ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1194ac_abs_confdir=`(
1195 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1196 { (exit 1); exit 1; }; }
1197 pwd)`
1198# When building in place, set srcdir=.
1199if test "$ac_abs_confdir" = "$ac_pwd"; then
1200 srcdir=.
1201fi
1202# Remove unnecessary trailing slashes from srcdir.
1203# Double slashes in file names in object file debugging info
1204# mess up M-x gdb in Emacs.
1205case $srcdir in
1206*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207esac
1208for ac_var in $ac_precious_vars; do
1209 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1210 eval ac_env_${ac_var}_value=\$${ac_var}
1211 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1212 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1213done
1214
1215#
1216# Report the --help message.
1217#
1218if test "$ac_init_help" = "long"; then
1219 # Omit some internal or obsolete options to make the list less imposing.
1220 # This message is too long to be a string in the A/UX 3.1 sh.
1221 cat <<_ACEOF
1222\`configure' configures this package to adapt to many kinds of systems.
1223
1224Usage: $0 [OPTION]... [VAR=VALUE]...
1225
1226To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227VAR=VALUE. See below for descriptions of some of the useful variables.
1228
1229Defaults for the options are specified in brackets.
1230
1231Configuration:
1232 -h, --help display this help and exit
1233 --help=short display options specific to this package
1234 --help=recursive display the short help of all the included packages
1235 -V, --version display version information and exit
1236 -q, --quiet, --silent do not print \`checking...' messages
1237 --cache-file=FILE cache test results in FILE [disabled]
1238 -C, --config-cache alias for \`--cache-file=config.cache'
1239 -n, --no-create do not create output files
1240 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1241
1242Installation directories:
1243 --prefix=PREFIX install architecture-independent files in PREFIX
1244 [$ac_default_prefix]
1245 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1246 [PREFIX]
1247
1248By default, \`make install' will install all the files in
1249\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1250an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251for instance \`--prefix=\$HOME'.
1252
1253For better control, use the options below.
1254
1255Fine tuning of the installation directories:
1256 --bindir=DIR user executables [EPREFIX/bin]
1257 --sbindir=DIR system admin executables [EPREFIX/sbin]
1258 --libexecdir=DIR program executables [EPREFIX/libexec]
1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1262 --libdir=DIR object code libraries [EPREFIX/lib]
1263 --includedir=DIR C header files [PREFIX/include]
1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1267 --infodir=DIR info documentation [DATAROOTDIR/info]
1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1269 --mandir=DIR man documentation [DATAROOTDIR/man]
1270 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1271 --htmldir=DIR html documentation [DOCDIR]
1272 --dvidir=DIR dvi documentation [DOCDIR]
1273 --pdfdir=DIR pdf documentation [DOCDIR]
1274 --psdir=DIR ps documentation [DOCDIR]
1275_ACEOF
1276
1277 cat <<\_ACEOF
1278_ACEOF
1279fi
1280
1281if test -n "$ac_init_help"; then
1282
1283 cat <<\_ACEOF
1284
1285Optional Features:
1286 --disable-option-checking ignore unrecognized --enable/--with options
1287 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1288 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1289 --disable-java Disable Java compilation
1290 --disable-accentfold Disable Accent Folding for MGPP
1291 --enable-jni Enable JNI compilation
1292 --disable-mg Disable MG compilation
1293 --disable-mgpp Disable MGPP compilation
1294 --disable-lucene Disable Lucene compilation
1295
1296Optional Packages:
1297 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1298 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1299 --with-unac=dir Use specified unac directory
1300 --with-libiconv-prefix=dir Use specified libiconv directory
1301
1302_ACEOF
1303ac_status=$?
1304fi
1305
1306if test "$ac_init_help" = "recursive"; then
1307 # If there are subdirs, report their specific --help.
1308 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1309 test -d "$ac_dir" ||
1310 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1311 continue
1312 ac_builddir=.
1313
1314case "$ac_dir" in
1315.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1316*)
1317 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1318 # A ".." for each directory in $ac_dir_suffix.
1319 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1320 case $ac_top_builddir_sub in
1321 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1322 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1323 esac ;;
1324esac
1325ac_abs_top_builddir=$ac_pwd
1326ac_abs_builddir=$ac_pwd$ac_dir_suffix
1327# for backward compatibility:
1328ac_top_builddir=$ac_top_build_prefix
1329
1330case $srcdir in
1331 .) # We are building in place.
1332 ac_srcdir=.
1333 ac_top_srcdir=$ac_top_builddir_sub
1334 ac_abs_top_srcdir=$ac_pwd ;;
1335 [\\/]* | ?:[\\/]* ) # Absolute name.
1336 ac_srcdir=$srcdir$ac_dir_suffix;
1337 ac_top_srcdir=$srcdir
1338 ac_abs_top_srcdir=$srcdir ;;
1339 *) # Relative name.
1340 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1341 ac_top_srcdir=$ac_top_build_prefix$srcdir
1342 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1343esac
1344ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1345
1346 cd "$ac_dir" || { ac_status=$?; continue; }
1347 # Check for guested configure.
1348 if test -f "$ac_srcdir/configure.gnu"; then
1349 echo &&
1350 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1351 elif test -f "$ac_srcdir/configure"; then
1352 echo &&
1353 $SHELL "$ac_srcdir/configure" --help=recursive
1354 else
1355 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1356 fi || ac_status=$?
1357 cd "$ac_pwd" || { ac_status=$?; break; }
1358 done
1359fi
1360
1361test -n "$ac_init_help" && exit $ac_status
1362if $ac_init_version; then
1363 cat <<\_ACEOF
1364configure
1365generated by GNU Autoconf 2.63
1366
1367Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13682002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1369This configure script is free software; the Free Software Foundation
1370gives unlimited permission to copy, distribute and modify it.
1371_ACEOF
1372 exit
1373fi
1374cat >config.log <<_ACEOF
1375This file contains any messages produced by compilers while
1376running configure, to aid debugging if configure makes a mistake.
1377
1378It was created by $as_me, which was
1379generated by GNU Autoconf 2.63. Invocation command line was
1380
1381 $ $0 $@
1382
1383_ACEOF
1384exec 5>>config.log
1385{
1386cat <<_ASUNAME
1387## --------- ##
1388## Platform. ##
1389## --------- ##
1390
1391hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1392uname -m = `(uname -m) 2>/dev/null || echo unknown`
1393uname -r = `(uname -r) 2>/dev/null || echo unknown`
1394uname -s = `(uname -s) 2>/dev/null || echo unknown`
1395uname -v = `(uname -v) 2>/dev/null || echo unknown`
1396
1397/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1398/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1399
1400/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1401/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1402/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1403/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1404/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1405/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1406/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1407
1408_ASUNAME
1409
1410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411for as_dir in $PATH
1412do
1413 IFS=$as_save_IFS
1414 test -z "$as_dir" && as_dir=.
1415 $as_echo "PATH: $as_dir"
1416done
1417IFS=$as_save_IFS
1418
1419} >&5
1420
1421cat >&5 <<_ACEOF
1422
1423
1424## ----------- ##
1425## Core tests. ##
1426## ----------- ##
1427
1428_ACEOF
1429
1430
1431# Keep a trace of the command line.
1432# Strip out --no-create and --no-recursion so they do not pile up.
1433# Strip out --silent because we don't want to record it for future runs.
1434# Also quote any args containing shell meta-characters.
1435# Make two passes to allow for proper duplicate-argument suppression.
1436ac_configure_args=
1437ac_configure_args0=
1438ac_configure_args1=
1439ac_must_keep_next=false
1440for ac_pass in 1 2
1441do
1442 for ac_arg
1443 do
1444 case $ac_arg in
1445 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1446 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1447 | -silent | --silent | --silen | --sile | --sil)
1448 continue ;;
1449 *\'*)
1450 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1451 esac
1452 case $ac_pass in
1453 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1454 2)
1455 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1456 if test $ac_must_keep_next = true; then
1457 ac_must_keep_next=false # Got value, back to normal.
1458 else
1459 case $ac_arg in
1460 *=* | --config-cache | -C | -disable-* | --disable-* \
1461 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1462 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1463 | -with-* | --with-* | -without-* | --without-* | --x)
1464 case "$ac_configure_args0 " in
1465 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1466 esac
1467 ;;
1468 -* ) ac_must_keep_next=true ;;
1469 esac
1470 fi
1471 ac_configure_args="$ac_configure_args '$ac_arg'"
1472 ;;
1473 esac
1474 done
1475done
1476$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1477$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1478
1479# When interrupted or exit'd, cleanup temporary files, and complete
1480# config.log. We remove comments because anyway the quotes in there
1481# would cause problems or look ugly.
1482# WARNING: Use '\'' to represent an apostrophe within the trap.
1483# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1484trap 'exit_status=$?
1485 # Save into config.log some information that might help in debugging.
1486 {
1487 echo
1488
1489 cat <<\_ASBOX
1490## ---------------- ##
1491## Cache variables. ##
1492## ---------------- ##
1493_ASBOX
1494 echo
1495 # The following way of writing the cache mishandles newlines in values,
1496(
1497 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1498 eval ac_val=\$$ac_var
1499 case $ac_val in #(
1500 *${as_nl}*)
1501 case $ac_var in #(
1502 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1503$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1504 esac
1505 case $ac_var in #(
1506 _ | IFS | as_nl) ;; #(
1507 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1508 *) $as_unset $ac_var ;;
1509 esac ;;
1510 esac
1511 done
1512 (set) 2>&1 |
1513 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1514 *${as_nl}ac_space=\ *)
1515 sed -n \
1516 "s/'\''/'\''\\\\'\'''\''/g;
1517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1518 ;; #(
1519 *)
1520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1521 ;;
1522 esac |
1523 sort
1524)
1525 echo
1526
1527 cat <<\_ASBOX
1528## ----------------- ##
1529## Output variables. ##
1530## ----------------- ##
1531_ASBOX
1532 echo
1533 for ac_var in $ac_subst_vars
1534 do
1535 eval ac_val=\$$ac_var
1536 case $ac_val in
1537 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1538 esac
1539 $as_echo "$ac_var='\''$ac_val'\''"
1540 done | sort
1541 echo
1542
1543 if test -n "$ac_subst_files"; then
1544 cat <<\_ASBOX
1545## ------------------- ##
1546## File substitutions. ##
1547## ------------------- ##
1548_ASBOX
1549 echo
1550 for ac_var in $ac_subst_files
1551 do
1552 eval ac_val=\$$ac_var
1553 case $ac_val in
1554 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1555 esac
1556 $as_echo "$ac_var='\''$ac_val'\''"
1557 done | sort
1558 echo
1559 fi
1560
1561 if test -s confdefs.h; then
1562 cat <<\_ASBOX
1563## ----------- ##
1564## confdefs.h. ##
1565## ----------- ##
1566_ASBOX
1567 echo
1568 cat confdefs.h
1569 echo
1570 fi
1571 test "$ac_signal" != 0 &&
1572 $as_echo "$as_me: caught signal $ac_signal"
1573 $as_echo "$as_me: exit $exit_status"
1574 } >&5
1575 rm -f core *.core core.conftest.* &&
1576 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1577 exit $exit_status
1578' 0
1579for ac_signal in 1 2 13 15; do
1580 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1581done
1582ac_signal=0
1583
1584# confdefs.h avoids OS command line length limits that DEFS can exceed.
1585rm -f -r conftest* confdefs.h
1586
1587# Predefined preprocessor variables.
1588
1589cat >>confdefs.h <<_ACEOF
1590#define PACKAGE_NAME "$PACKAGE_NAME"
1591_ACEOF
1592
1593
1594cat >>confdefs.h <<_ACEOF
1595#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1596_ACEOF
1597
1598
1599cat >>confdefs.h <<_ACEOF
1600#define PACKAGE_VERSION "$PACKAGE_VERSION"
1601_ACEOF
1602
1603
1604cat >>confdefs.h <<_ACEOF
1605#define PACKAGE_STRING "$PACKAGE_STRING"
1606_ACEOF
1607
1608
1609cat >>confdefs.h <<_ACEOF
1610#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1611_ACEOF
1612
1613
1614# Let the site file select an alternate cache file if it wants to.
1615# Prefer an explicitly selected file to automatically selected ones.
1616ac_site_file1=NONE
1617ac_site_file2=NONE
1618if test -n "$CONFIG_SITE"; then
1619 ac_site_file1=$CONFIG_SITE
1620elif test "x$prefix" != xNONE; then
1621 ac_site_file1=$prefix/share/config.site
1622 ac_site_file2=$prefix/etc/config.site
1623else
1624 ac_site_file1=$ac_default_prefix/share/config.site
1625 ac_site_file2=$ac_default_prefix/etc/config.site
1626fi
1627for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1628do
1629 test "x$ac_site_file" = xNONE && continue
1630 if test -r "$ac_site_file"; then
1631 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1632$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1633 sed 's/^/| /' "$ac_site_file" >&5
1634 . "$ac_site_file"
1635 fi
1636done
1637
1638if test -r "$cache_file"; then
1639 # Some versions of bash will fail to source /dev/null (special
1640 # files actually), so we avoid doing that.
1641 if test -f "$cache_file"; then
1642 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1643$as_echo "$as_me: loading cache $cache_file" >&6;}
1644 case $cache_file in
1645 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1646 *) . "./$cache_file";;
1647 esac
1648 fi
1649else
1650 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1651$as_echo "$as_me: creating cache $cache_file" >&6;}
1652 >$cache_file
1653fi
1654
1655# Check that the precious variables saved in the cache have kept the same
1656# value.
1657ac_cache_corrupted=false
1658for ac_var in $ac_precious_vars; do
1659 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1660 eval ac_new_set=\$ac_env_${ac_var}_set
1661 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1662 eval ac_new_val=\$ac_env_${ac_var}_value
1663 case $ac_old_set,$ac_new_set in
1664 set,)
1665 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1666$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1667 ac_cache_corrupted=: ;;
1668 ,set)
1669 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1670$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1671 ac_cache_corrupted=: ;;
1672 ,);;
1673 *)
1674 if test "x$ac_old_val" != "x$ac_new_val"; then
1675 # differences in whitespace do not lead to failure.
1676 ac_old_val_w=`echo x $ac_old_val`
1677 ac_new_val_w=`echo x $ac_new_val`
1678 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1679 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1680$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1681 ac_cache_corrupted=:
1682 else
1683 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1684$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1685 eval $ac_var=\$ac_old_val
1686 fi
1687 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1688$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1689 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1690$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1691 fi;;
1692 esac
1693 # Pass precious variables to config.status.
1694 if test "$ac_new_set" = set; then
1695 case $ac_new_val in
1696 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1697 *) ac_arg=$ac_var=$ac_new_val ;;
1698 esac
1699 case " $ac_configure_args " in
1700 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1701 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1702 esac
1703 fi
1704done
1705if $ac_cache_corrupted; then
1706 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1707$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1708 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1709$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1710 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1711$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1712 { (exit 1); exit 1; }; }
1713fi
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731ac_ext=c
1732ac_cpp='$CPP $CPPFLAGS'
1733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1735ac_compiler_gnu=$ac_cv_c_compiler_gnu
1736
1737
1738
1739# Check whether --enable-java was given.
1740if test "${enable_java+set}" = set; then
1741 enableval=$enable_java; ENABLE_JAVA=$enableval
1742else
1743 ENABLE_JAVA=yes
1744fi
1745
1746if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
1747 ENABLE_JAVA=1
1748 if test "x$JAVA_HOME" != "x" ; then
1749 echo "Detected JAVA_HOME is set, however this will not be used during compilation"
1750 echo "To control the version of 'javac' and 'java' set environment variables JAVAC"
1751 echo "and JAVA respectively"
1752 export JAVA_HOME=
1753 fi
1754else
1755 ENABLE_JAVA=0
1756fi
1757
1758
1759if test -z "$ARCH_DEP_FLAGS" ; then
1760 ARCH_DEP_FLAGS=
1761fi
1762
1763
1764# Check whether --enable-accentfold was given.
1765if test "${enable_accentfold+set}" = set; then
1766 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
1767else
1768 ENABLE_ACCENTFOLD=yes
1769fi
1770
1771if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
1772 ENABLE_ACCENTFOLD=1
1773 cat >>confdefs.h <<\_ACEOF
1774#define ENABLE_ACCENTFOLD /**/
1775_ACEOF
1776
1777else
1778 ENABLE_ACCENTFOLD=0
1779fi
1780
1781
1782
1783# Check whether --enable-jni was given.
1784if test "${enable_jni+set}" = set; then
1785 enableval=$enable_jni; ENABLE_JNI=$enableval
1786else
1787 ENABLE_JNI=no
1788fi
1789
1790if test $ENABLE_JAVA -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
1791 ENABLE_JNI=1
1792 cat >>confdefs.h <<\_ACEOF
1793#define ENABLE_JNI /**/
1794_ACEOF
1795
1796else
1797 ENABLE_JNI=0
1798fi
1799
1800
1801
1802# Check whether --enable-mg was given.
1803if test "${enable_mg+set}" = set; then
1804 enableval=$enable_mg; ENABLE_MG=$enableval
1805else
1806 ENABLE_MG=yes
1807fi
1808
1809if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
1810 ENABLE_MG=1
1811 cat >>confdefs.h <<\_ACEOF
1812#define ENABLE_MG /**/
1813_ACEOF
1814
1815else
1816 ENABLE_MG=0
1817fi
1818
1819
1820
1821# Check whether --enable-mgpp was given.
1822if test "${enable_mgpp+set}" = set; then
1823 enableval=$enable_mgpp; ENABLE_MGPP=$enableval
1824else
1825 ENABLE_MGPP=yes
1826fi
1827
1828if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
1829 ENABLE_MGPP=1
1830 cat >>confdefs.h <<\_ACEOF
1831#define ENABLE_MGPP /**/
1832_ACEOF
1833
1834else
1835 ENABLE_MGPP=0
1836fi
1837
1838
1839# Check whether --enable-lucene was given.
1840if test "${enable_lucene+set}" = set; then
1841 enableval=$enable_lucene; ENABLE_LUCENE=$enableval
1842else
1843 ENABLE_LUCENE=yes
1844fi
1845
1846if test $ENABLE_JAVA -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
1847 ENABLE_LUCENE=1
1848 cat >>confdefs.h <<\_ACEOF
1849#define ENABLE_LUCENE /**/
1850_ACEOF
1851
1852else
1853 ENABLE_LUCENE=0
1854fi
1855
1856
1857if test "$ENABLE_LUCENE" = "1" ; then
1858
1859
1860if test "x$JAVAC" = x ; then
1861 if test "x$JAVAPREFIX" = x; then
1862 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
1863do
1864 # Extract the first word of "$ac_prog", so it can be a program name with args.
1865set dummy $ac_prog; ac_word=$2
1866{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1867$as_echo_n "checking for $ac_word... " >&6; }
1868if test "${ac_cv_prog_JAVAC+set}" = set; then
1869 $as_echo_n "(cached) " >&6
1870else
1871 if test -n "$JAVAC"; then
1872 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
1873else
1874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875for as_dir in $PATH
1876do
1877 IFS=$as_save_IFS
1878 test -z "$as_dir" && as_dir=.
1879 for ac_exec_ext in '' $ac_executable_extensions; do
1880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1881 ac_cv_prog_JAVAC="$ac_prog"
1882 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1883 break 2
1884 fi
1885done
1886done
1887IFS=$as_save_IFS
1888
1889fi
1890fi
1891JAVAC=$ac_cv_prog_JAVAC
1892if test -n "$JAVAC"; then
1893 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
1894$as_echo "$JAVAC" >&6; }
1895else
1896 { $as_echo "$as_me:$LINENO: result: no" >&5
1897$as_echo "no" >&6; }
1898fi
1899
1900
1901 test -n "$JAVAC" && break
1902done
1903
1904 else
1905 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
1906do
1907 # Extract the first word of "$ac_prog", so it can be a program name with args.
1908set dummy $ac_prog; ac_word=$2
1909{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1910$as_echo_n "checking for $ac_word... " >&6; }
1911if test "${ac_cv_prog_JAVAC+set}" = set; then
1912 $as_echo_n "(cached) " >&6
1913else
1914 if test -n "$JAVAC"; then
1915 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
1916else
1917as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918for as_dir in $PATH
1919do
1920 IFS=$as_save_IFS
1921 test -z "$as_dir" && as_dir=.
1922 for ac_exec_ext in '' $ac_executable_extensions; do
1923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1924 ac_cv_prog_JAVAC="$ac_prog"
1925 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1926 break 2
1927 fi
1928done
1929done
1930IFS=$as_save_IFS
1931
1932fi
1933fi
1934JAVAC=$ac_cv_prog_JAVAC
1935if test -n "$JAVAC"; then
1936 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
1937$as_echo "$JAVAC" >&6; }
1938else
1939 { $as_echo "$as_me:$LINENO: result: no" >&5
1940$as_echo "no" >&6; }
1941fi
1942
1943
1944 test -n "$JAVAC" && break
1945done
1946test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
1947
1948 fi
1949 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
1950$as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
1951 { (exit 1); exit 1; }; }
1952else
1953 echo "Checking for javac... $JAVAC"
1954fi
1955
1956
1957{ $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
1958$as_echo_n "checking if $JAVAC works... " >&6; }
1959if test "${ac_cv_prog_javac_works+set}" = set; then
1960 $as_echo_n "(cached) " >&6
1961else
1962
1963JAVA_TEST=Test.java
1964CLASS_TEST=Test.class
1965cat << \EOF > $JAVA_TEST
1966/* #line 1966 "configure" */
1967public class Test {
1968}
1969EOF
1970if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
1971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1972 (eval $ac_try) 2>&5
1973 ac_status=$?
1974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975 (exit $ac_status); }; } >/dev/null 2>&1; then
1976 ac_cv_prog_javac_works=yes
1977else
1978 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
1979$as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
1980 { (exit 1); exit 1; }; }
1981 echo "configure: failed program was:" >&5
1982 cat $JAVA_TEST >&5
1983fi
1984rm -f $JAVA_TEST $CLASS_TEST
1985
1986fi
1987{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
1988$as_echo "$ac_cv_prog_javac_works" >&6; }
1989if test "x$JAVACFLAGS" = x ; then
1990 JAVACFLAGS="-source 1.4 -target 1.4"
1991fi
1992
1993
1994
1995
1996if test "x$JAVA" = x ; then
1997 if test x$JAVAPREFIX = x; then
1998 test x$JAVA = x && for ac_prog in java$EXEEXT
1999do
2000 # Extract the first word of "$ac_prog", so it can be a program name with args.
2001set dummy $ac_prog; ac_word=$2
2002{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2003$as_echo_n "checking for $ac_word... " >&6; }
2004if test "${ac_cv_prog_JAVA+set}" = set; then
2005 $as_echo_n "(cached) " >&6
2006else
2007 if test -n "$JAVA"; then
2008 ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
2009else
2010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011for as_dir in $PATH
2012do
2013 IFS=$as_save_IFS
2014 test -z "$as_dir" && as_dir=.
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2017 ac_cv_prog_JAVA="$ac_prog"
2018 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2019 break 2
2020 fi
2021done
2022done
2023IFS=$as_save_IFS
2024
2025fi
2026fi
2027JAVA=$ac_cv_prog_JAVA
2028if test -n "$JAVA"; then
2029 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
2030$as_echo "$JAVA" >&6; }
2031else
2032 { $as_echo "$as_me:$LINENO: result: no" >&5
2033$as_echo "no" >&6; }
2034fi
2035
2036
2037 test -n "$JAVA" && break
2038done
2039
2040 else
2041 test x$JAVA = x && for ac_prog in java$EXEEXT
2042do
2043 # Extract the first word of "$ac_prog", so it can be a program name with args.
2044set dummy $ac_prog; ac_word=$2
2045{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2046$as_echo_n "checking for $ac_word... " >&6; }
2047if test "${ac_cv_prog_JAVA+set}" = set; then
2048 $as_echo_n "(cached) " >&6
2049else
2050 if test -n "$JAVA"; then
2051 ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
2052else
2053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054for as_dir in $PATH
2055do
2056 IFS=$as_save_IFS
2057 test -z "$as_dir" && as_dir=.
2058 for ac_exec_ext in '' $ac_executable_extensions; do
2059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2060 ac_cv_prog_JAVA="$ac_prog"
2061 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 break 2
2063 fi
2064done
2065done
2066IFS=$as_save_IFS
2067
2068fi
2069fi
2070JAVA=$ac_cv_prog_JAVA
2071if test -n "$JAVA"; then
2072 { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
2073$as_echo "$JAVA" >&6; }
2074else
2075 { $as_echo "$as_me:$LINENO: result: no" >&5
2076$as_echo "no" >&6; }
2077fi
2078
2079
2080 test -n "$JAVA" && break
2081done
2082test -n "$JAVA" || JAVA="$JAVAPREFIX"
2083
2084 fi
2085 test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
2086$as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
2087 { (exit 1); exit 1; }; }
2088fi
2089
2090
2091# Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
2092set dummy uudecode$EXEEXT; ac_word=$2
2093{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2094$as_echo_n "checking for $ac_word... " >&6; }
2095if test "${ac_cv_prog_uudecode+set}" = set; then
2096 $as_echo_n "(cached) " >&6
2097else
2098 if test -n "$uudecode"; then
2099 ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
2100else
2101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102for as_dir in $PATH
2103do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_uudecode="yes"
2109 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 break 2
2111 fi
2112done
2113done
2114IFS=$as_save_IFS
2115
2116fi
2117fi
2118uudecode=$ac_cv_prog_uudecode
2119if test -n "$uudecode"; then
2120 { $as_echo "$as_me:$LINENO: result: $uudecode" >&5
2121$as_echo "$uudecode" >&6; }
2122else
2123 { $as_echo "$as_me:$LINENO: result: no" >&5
2124$as_echo "no" >&6; }
2125fi
2126
2127
2128if test x$uudecode = xyes; then
2129{ $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
2130$as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
2131if test "${ac_cv_prog_uudecode_base64+set}" = set; then
2132 $as_echo_n "(cached) " >&6
2133else
2134
2135cat << \EOF > Test.uue
2136begin-base64 644 Test.class
2137yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
2138bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
2139bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
2140YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
2141aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
2142AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
2143AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
2144====
2145EOF
2146if uudecode$EXEEXT Test.uue; then
2147 ac_cv_prog_uudecode_base64=yes
2148else
2149 echo "configure: 2149: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
2150 echo "configure: failed file was:" >&5
2151 cat Test.uue >&5
2152 ac_cv_prog_uudecode_base64=no
2153fi
2154rm -f Test.uue
2155fi
2156{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
2157$as_echo "$ac_cv_prog_uudecode_base64" >&6; }
2158fi
2159if test x$ac_cv_prog_uudecode_base64 != xyes; then
2160 rm -f Test.class
2161 { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
2162$as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
2163 if test x$ac_cv_prog_javac_works = xno; then
2164 { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
2165$as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
2166 { (exit 1); exit 1; }; }
2167 fi
2168 if test x$ac_cv_prog_javac_works = x; then
2169
2170if test "x$JAVAC" = x ; then
2171 if test "x$JAVAPREFIX" = x; then
2172 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
2173do
2174 # Extract the first word of "$ac_prog", so it can be a program name with args.
2175set dummy $ac_prog; ac_word=$2
2176{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2177$as_echo_n "checking for $ac_word... " >&6; }
2178if test "${ac_cv_prog_JAVAC+set}" = set; then
2179 $as_echo_n "(cached) " >&6
2180else
2181 if test -n "$JAVAC"; then
2182 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2183else
2184as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2185for as_dir in $PATH
2186do
2187 IFS=$as_save_IFS
2188 test -z "$as_dir" && as_dir=.
2189 for ac_exec_ext in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_prog_JAVAC="$ac_prog"
2192 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 break 2
2194 fi
2195done
2196done
2197IFS=$as_save_IFS
2198
2199fi
2200fi
2201JAVAC=$ac_cv_prog_JAVAC
2202if test -n "$JAVAC"; then
2203 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
2204$as_echo "$JAVAC" >&6; }
2205else
2206 { $as_echo "$as_me:$LINENO: result: no" >&5
2207$as_echo "no" >&6; }
2208fi
2209
2210
2211 test -n "$JAVAC" && break
2212done
2213
2214 else
2215 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
2216do
2217 # Extract the first word of "$ac_prog", so it can be a program name with args.
2218set dummy $ac_prog; ac_word=$2
2219{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2220$as_echo_n "checking for $ac_word... " >&6; }
2221if test "${ac_cv_prog_JAVAC+set}" = set; then
2222 $as_echo_n "(cached) " >&6
2223else
2224 if test -n "$JAVAC"; then
2225 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2226else
2227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2228for as_dir in $PATH
2229do
2230 IFS=$as_save_IFS
2231 test -z "$as_dir" && as_dir=.
2232 for ac_exec_ext in '' $ac_executable_extensions; do
2233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2234 ac_cv_prog_JAVAC="$ac_prog"
2235 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2236 break 2
2237 fi
2238done
2239done
2240IFS=$as_save_IFS
2241
2242fi
2243fi
2244JAVAC=$ac_cv_prog_JAVAC
2245if test -n "$JAVAC"; then
2246 { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
2247$as_echo "$JAVAC" >&6; }
2248else
2249 { $as_echo "$as_me:$LINENO: result: no" >&5
2250$as_echo "no" >&6; }
2251fi
2252
2253
2254 test -n "$JAVAC" && break
2255done
2256test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
2257
2258 fi
2259 test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
2260$as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
2261 { (exit 1); exit 1; }; }
2262else
2263 echo "Checking for javac... $JAVAC"
2264fi
2265
2266
2267{ $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
2268$as_echo_n "checking if $JAVAC works... " >&6; }
2269if test "${ac_cv_prog_javac_works+set}" = set; then
2270 $as_echo_n "(cached) " >&6
2271else
2272
2273JAVA_TEST=Test.java
2274CLASS_TEST=Test.class
2275cat << \EOF > $JAVA_TEST
2276/* #line 2276 "configure" */
2277public class Test {
2278}
2279EOF
2280if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 (eval $ac_try) 2>&5
2283 ac_status=$?
2284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; } >/dev/null 2>&1; then
2286 ac_cv_prog_javac_works=yes
2287else
2288 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
2289$as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
2290 { (exit 1); exit 1; }; }
2291 echo "configure: failed program was:" >&5
2292 cat $JAVA_TEST >&5
2293fi
2294rm -f $JAVA_TEST $CLASS_TEST
2295
2296fi
2297{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
2298$as_echo "$ac_cv_prog_javac_works" >&6; }
2299if test "x$JAVACFLAGS" = x ; then
2300 JAVACFLAGS="-source 1.4 -target 1.4"
2301fi
2302
2303
2304
2305 fi
2306fi
2307{ $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5
2308$as_echo_n "checking if $JAVA works... " >&6; }
2309if test "${ac_cv_prog_java_works+set}" = set; then
2310 $as_echo_n "(cached) " >&6
2311else
2312
2313JAVA_TEST=Test.java
2314CLASS_TEST=Test.class
2315TEST=Test
2316cat << \EOF > $JAVA_TEST
2317/* [#]line 2317 "configure" */
2318public class Test {
2319public static void main (String args[]) {
2320 System.exit (0);
2321} }
2322EOF
2323if test x$ac_cv_prog_uudecode_base64 != xyes; then
2324 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326 (eval $ac_try) 2>&5
2327 ac_status=$?
2328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; } && test -s $CLASS_TEST; then
2330 :
2331 else
2332 echo "configure: failed program was:" >&5
2333 cat $JAVA_TEST >&5
2334 { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
2335$as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
2336 { (exit 1); exit 1; }; }
2337 fi
2338fi
2339if { ac_try='$JAVA $JAVAFLAGS $TEST'
2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2341 (eval $ac_try) 2>&5
2342 ac_status=$?
2343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; } >/dev/null 2>&1; then
2345 ac_cv_prog_java_works=yes
2346else
2347 echo "configure: failed program was:" >&5
2348 cat $JAVA_TEST >&5
2349 { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
2350$as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
2351 { (exit 1); exit 1; }; }
2352fi
2353rm -fr $JAVA_TEST $CLASS_TEST Test.uue
2354
2355fi
2356{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
2357$as_echo "$ac_cv_prog_java_works" >&6; }
2358
2359
2360
2361fi
2362
2363
2364# Check whether --with-unac was given.
2365if test "${with_unac+set}" = set; then
2366 withval=$with_unac; UNAC_DIR=$withval
2367fi
2368
2369
2370
2371# Check whether --with-libiconv was given.
2372if test "${with_libiconv+set}" = set; then
2373 withval=$with_libiconv; LIBICONV_DIR=$withval
2374fi
2375
2376
2377if test $ENABLE_ACCENTFOLD = 1; then
2378ac_aux_dir=
2379for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2380 if test -f "$ac_dir/install-sh"; then
2381 ac_aux_dir=$ac_dir
2382 ac_install_sh="$ac_aux_dir/install-sh -c"
2383 break
2384 elif test -f "$ac_dir/install.sh"; then
2385 ac_aux_dir=$ac_dir
2386 ac_install_sh="$ac_aux_dir/install.sh -c"
2387 break
2388 elif test -f "$ac_dir/shtool"; then
2389 ac_aux_dir=$ac_dir
2390 ac_install_sh="$ac_aux_dir/shtool install -c"
2391 break
2392 fi
2393done
2394if test -z "$ac_aux_dir"; then
2395 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2396$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2397 { (exit 1); exit 1; }; }
2398fi
2399
2400# These three variables are undocumented and unsupported,
2401# and are intended to be withdrawn in a future Autoconf release.
2402# They can cause serious problems if a builder's source tree is in a directory
2403# whose full name contains unusual characters.
2404ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2405ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2406ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2407
2408
2409
2410
2411subdirs="$subdirs packages/unac"
2412
2413fi
2414
2415
2416if test $ENABLE_MG = 1; then
2417if test ! -d mg; then
2418echo "***** Folder mg does not exist, cannot ENABLE_MG.";
2419exit 1;
2420fi
2421subdirs="$subdirs mg"
2422
2423fi
2424
2425if test $ENABLE_MGPP = 1; then
2426if test ! -d mgpp; then
2427echo "***** Folder mgpp does not exist, cannot ENABLE_MGPP.";
2428exit 1;
2429fi
2430subdirs="$subdirs mgpp"
2431
2432fi
2433
2434if test $ENABLE_LUCENE = 1; then
2435if test ! -d lucene-gs; then
2436echo "***** Folder lucene-gs does not exist, cannot ENABLE_LUCENE.";
2437exit 1;
2438fi
2439fi
2440
2441srclist="lucene-gs/Makefile"
2442
2443ac_config_files="$ac_config_files Makefile $srclist"
2444
2445cat >confcache <<\_ACEOF
2446# This file is a shell script that caches the results of configure
2447# tests run on this system so they can be shared between configure
2448# scripts and configure runs, see configure's option --config-cache.
2449# It is not useful on other systems. If it contains results you don't
2450# want to keep, you may remove or edit it.
2451#
2452# config.status only pays attention to the cache file if you give it
2453# the --recheck option to rerun configure.
2454#
2455# `ac_cv_env_foo' variables (set or unset) will be overridden when
2456# loading this file, other *unset* `ac_cv_foo' will be assigned the
2457# following values.
2458
2459_ACEOF
2460
2461# The following way of writing the cache mishandles newlines in values,
2462# but we know of no workaround that is simple, portable, and efficient.
2463# So, we kill variables containing newlines.
2464# Ultrix sh set writes to stderr and can't be redirected directly,
2465# and sets the high bit in the cache file unless we assign to the vars.
2466(
2467 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2468 eval ac_val=\$$ac_var
2469 case $ac_val in #(
2470 *${as_nl}*)
2471 case $ac_var in #(
2472 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2473$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2474 esac
2475 case $ac_var in #(
2476 _ | IFS | as_nl) ;; #(
2477 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2478 *) $as_unset $ac_var ;;
2479 esac ;;
2480 esac
2481 done
2482
2483 (set) 2>&1 |
2484 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2485 *${as_nl}ac_space=\ *)
2486 # `set' does not quote correctly, so add quotes (double-quote
2487 # substitution turns \\\\ into \\, and sed turns \\ into \).
2488 sed -n \
2489 "s/'/'\\\\''/g;
2490 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2491 ;; #(
2492 *)
2493 # `set' quotes correctly as required by POSIX, so do not add quotes.
2494 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2495 ;;
2496 esac |
2497 sort
2498) |
2499 sed '
2500 /^ac_cv_env_/b end
2501 t clear
2502 :clear
2503 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2504 t end
2505 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2506 :end' >>confcache
2507if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2508 if test -w "$cache_file"; then
2509 test "x$cache_file" != "x/dev/null" &&
2510 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2511$as_echo "$as_me: updating cache $cache_file" >&6;}
2512 cat confcache >$cache_file
2513 else
2514 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2515$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2516 fi
2517fi
2518rm -f confcache
2519
2520test "x$prefix" = xNONE && prefix=$ac_default_prefix
2521# Let make expand exec_prefix.
2522test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2523
2524# Transform confdefs.h into DEFS.
2525# Protect against shell expansion while executing Makefile rules.
2526# Protect against Makefile macro expansion.
2527#
2528# If the first sed substitution is executed (which looks for macros that
2529# take arguments), then branch to the quote section. Otherwise,
2530# look for a macro that doesn't take arguments.
2531ac_script='
2532:mline
2533/\\$/{
2534 N
2535 s,\\\n,,
2536 b mline
2537}
2538t clear
2539:clear
2540s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2541t quote
2542s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2543t quote
2544b any
2545:quote
2546s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2547s/\[/\\&/g
2548s/\]/\\&/g
2549s/\$/$$/g
2550H
2551:any
2552${
2553 g
2554 s/^\n//
2555 s/\n/ /g
2556 p
2557}
2558'
2559DEFS=`sed -n "$ac_script" confdefs.h`
2560
2561
2562ac_libobjs=
2563ac_ltlibobjs=
2564for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2565 # 1. Remove the extension, and $U if already installed.
2566 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2567 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2568 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2569 # will be set to the directory where LIBOBJS objects are built.
2570 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2571 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2572done
2573LIBOBJS=$ac_libobjs
2574
2575LTLIBOBJS=$ac_ltlibobjs
2576
2577
2578
2579: ${CONFIG_STATUS=./config.status}
2580ac_write_fail=0
2581ac_clean_files_save=$ac_clean_files
2582ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2583{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2584$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2585cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2586#! $SHELL
2587# Generated by $as_me.
2588# Run this file to recreate the current configuration.
2589# Compiler output produced by configure, useful for debugging
2590# configure, is in config.log if it exists.
2591
2592debug=false
2593ac_cs_recheck=false
2594ac_cs_silent=false
2595SHELL=\${CONFIG_SHELL-$SHELL}
2596_ACEOF
2597
2598cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2599## --------------------- ##
2600## M4sh Initialization. ##
2601## --------------------- ##
2602
2603# Be more Bourne compatible
2604DUALCASE=1; export DUALCASE # for MKS sh
2605if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2606 emulate sh
2607 NULLCMD=:
2608 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2609 # is contrary to our usage. Disable this feature.
2610 alias -g '${1+"$@"}'='"$@"'
2611 setopt NO_GLOB_SUBST
2612else
2613 case `(set -o) 2>/dev/null` in
2614 *posix*) set -o posix ;;
2615esac
2616
2617fi
2618
2619
2620
2621
2622# PATH needs CR
2623# Avoid depending upon Character Ranges.
2624as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2625as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2626as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2627as_cr_digits='0123456789'
2628as_cr_alnum=$as_cr_Letters$as_cr_digits
2629
2630as_nl='
2631'
2632export as_nl
2633# Printing a long string crashes Solaris 7 /usr/bin/printf.
2634as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2635as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2636as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2637if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2638 as_echo='printf %s\n'
2639 as_echo_n='printf %s'
2640else
2641 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2642 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2643 as_echo_n='/usr/ucb/echo -n'
2644 else
2645 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2646 as_echo_n_body='eval
2647 arg=$1;
2648 case $arg in
2649 *"$as_nl"*)
2650 expr "X$arg" : "X\\(.*\\)$as_nl";
2651 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2652 esac;
2653 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2654 '
2655 export as_echo_n_body
2656 as_echo_n='sh -c $as_echo_n_body as_echo'
2657 fi
2658 export as_echo_body
2659 as_echo='sh -c $as_echo_body as_echo'
2660fi
2661
2662# The user is always right.
2663if test "${PATH_SEPARATOR+set}" != set; then
2664 PATH_SEPARATOR=:
2665 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2666 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2667 PATH_SEPARATOR=';'
2668 }
2669fi
2670
2671# Support unset when possible.
2672if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2673 as_unset=unset
2674else
2675 as_unset=false
2676fi
2677
2678
2679# IFS
2680# We need space, tab and new line, in precisely that order. Quoting is
2681# there to prevent editors from complaining about space-tab.
2682# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2683# splitting by setting IFS to empty value.)
2684IFS=" "" $as_nl"
2685
2686# Find who we are. Look in the path if we contain no directory separator.
2687case $0 in
2688 *[\\/]* ) as_myself=$0 ;;
2689 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690for as_dir in $PATH
2691do
2692 IFS=$as_save_IFS
2693 test -z "$as_dir" && as_dir=.
2694 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2695done
2696IFS=$as_save_IFS
2697
2698 ;;
2699esac
2700# We did not find ourselves, most probably we were run as `sh COMMAND'
2701# in which case we are not to be found in the path.
2702if test "x$as_myself" = x; then
2703 as_myself=$0
2704fi
2705if test ! -f "$as_myself"; then
2706 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2707 { (exit 1); exit 1; }
2708fi
2709
2710# Work around bugs in pre-3.0 UWIN ksh.
2711for as_var in ENV MAIL MAILPATH
2712do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2713done
2714PS1='$ '
2715PS2='> '
2716PS4='+ '
2717
2718# NLS nuisances.
2719LC_ALL=C
2720export LC_ALL
2721LANGUAGE=C
2722export LANGUAGE
2723
2724# Required to use basename.
2725if expr a : '\(a\)' >/dev/null 2>&1 &&
2726 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2727 as_expr=expr
2728else
2729 as_expr=false
2730fi
2731
2732if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2733 as_basename=basename
2734else
2735 as_basename=false
2736fi
2737
2738
2739# Name of the executable.
2740as_me=`$as_basename -- "$0" ||
2741$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2742 X"$0" : 'X\(//\)$' \| \
2743 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2744$as_echo X/"$0" |
2745 sed '/^.*\/\([^/][^/]*\)\/*$/{
2746 s//\1/
2747 q
2748 }
2749 /^X\/\(\/\/\)$/{
2750 s//\1/
2751 q
2752 }
2753 /^X\/\(\/\).*/{
2754 s//\1/
2755 q
2756 }
2757 s/.*/./; q'`
2758
2759# CDPATH.
2760$as_unset CDPATH
2761
2762
2763
2764 as_lineno_1=$LINENO
2765 as_lineno_2=$LINENO
2766 test "x$as_lineno_1" != "x$as_lineno_2" &&
2767 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2768
2769 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2770 # uniformly replaced by the line number. The first 'sed' inserts a
2771 # line-number line after each line using $LINENO; the second 'sed'
2772 # does the real work. The second script uses 'N' to pair each
2773 # line-number line with the line containing $LINENO, and appends
2774 # trailing '-' during substitution so that $LINENO is not a special
2775 # case at line end.
2776 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2777 # scripts with optimization help from Paolo Bonzini. Blame Lee
2778 # E. McMahon (1931-1989) for sed's syntax. :-)
2779 sed -n '
2780 p
2781 /[$]LINENO/=
2782 ' <$as_myself |
2783 sed '
2784 s/[$]LINENO.*/&-/
2785 t lineno
2786 b
2787 :lineno
2788 N
2789 :loop
2790 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2791 t loop
2792 s/-\n.*//
2793 ' >$as_me.lineno &&
2794 chmod +x "$as_me.lineno" ||
2795 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2796 { (exit 1); exit 1; }; }
2797
2798 # Don't try to exec as it changes $[0], causing all sort of problems
2799 # (the dirname of $[0] is not the place where we might find the
2800 # original and so on. Autoconf is especially sensitive to this).
2801 . "./$as_me.lineno"
2802 # Exit status is that of the last command.
2803 exit
2804}
2805
2806
2807if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2808 as_dirname=dirname
2809else
2810 as_dirname=false
2811fi
2812
2813ECHO_C= ECHO_N= ECHO_T=
2814case `echo -n x` in
2815-n*)
2816 case `echo 'x\c'` in
2817 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2818 *) ECHO_C='\c';;
2819 esac;;
2820*)
2821 ECHO_N='-n';;
2822esac
2823if expr a : '\(a\)' >/dev/null 2>&1 &&
2824 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2825 as_expr=expr
2826else
2827 as_expr=false
2828fi
2829
2830rm -f conf$$ conf$$.exe conf$$.file
2831if test -d conf$$.dir; then
2832 rm -f conf$$.dir/conf$$.file
2833else
2834 rm -f conf$$.dir
2835 mkdir conf$$.dir 2>/dev/null
2836fi
2837if (echo >conf$$.file) 2>/dev/null; then
2838 if ln -s conf$$.file conf$$ 2>/dev/null; then
2839 as_ln_s='ln -s'
2840 # ... but there are two gotchas:
2841 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2842 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2843 # In both cases, we have to default to `cp -p'.
2844 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2845 as_ln_s='cp -p'
2846 elif ln conf$$.file conf$$ 2>/dev/null; then
2847 as_ln_s=ln
2848 else
2849 as_ln_s='cp -p'
2850 fi
2851else
2852 as_ln_s='cp -p'
2853fi
2854rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2855rmdir conf$$.dir 2>/dev/null
2856
2857if mkdir -p . 2>/dev/null; then
2858 as_mkdir_p=:
2859else
2860 test -d ./-p && rmdir ./-p
2861 as_mkdir_p=false
2862fi
2863
2864if test -x / >/dev/null 2>&1; then
2865 as_test_x='test -x'
2866else
2867 if ls -dL / >/dev/null 2>&1; then
2868 as_ls_L_option=L
2869 else
2870 as_ls_L_option=
2871 fi
2872 as_test_x='
2873 eval sh -c '\''
2874 if test -d "$1"; then
2875 test -d "$1/.";
2876 else
2877 case $1 in
2878 -*)set "./$1";;
2879 esac;
2880 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2881 ???[sx]*):;;*)false;;esac;fi
2882 '\'' sh
2883 '
2884fi
2885as_executable_p=$as_test_x
2886
2887# Sed expression to map a string onto a valid CPP name.
2888as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2889
2890# Sed expression to map a string onto a valid variable name.
2891as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2892
2893
2894exec 6>&1
2895
2896# Save the log message, to keep $[0] and so on meaningful, and to
2897# report actual input values of CONFIG_FILES etc. instead of their
2898# values after options handling.
2899ac_log="
2900This file was extended by $as_me, which was
2901generated by GNU Autoconf 2.63. Invocation command line was
2902
2903 CONFIG_FILES = $CONFIG_FILES
2904 CONFIG_HEADERS = $CONFIG_HEADERS
2905 CONFIG_LINKS = $CONFIG_LINKS
2906 CONFIG_COMMANDS = $CONFIG_COMMANDS
2907 $ $0 $@
2908
2909on `(hostname || uname -n) 2>/dev/null | sed 1q`
2910"
2911
2912_ACEOF
2913
2914case $ac_config_files in *"
2915"*) set x $ac_config_files; shift; ac_config_files=$*;;
2916esac
2917
2918
2919
2920cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2921# Files that config.status was made for.
2922config_files="$ac_config_files"
2923
2924_ACEOF
2925
2926cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2927ac_cs_usage="\
2928\`$as_me' instantiates files from templates according to the
2929current configuration.
2930
2931Usage: $0 [OPTION]... [FILE]...
2932
2933 -h, --help print this help, then exit
2934 -V, --version print version number and configuration settings, then exit
2935 -q, --quiet, --silent
2936 do not print progress messages
2937 -d, --debug don't remove temporary files
2938 --recheck update $as_me by reconfiguring in the same conditions
2939 --file=FILE[:TEMPLATE]
2940 instantiate the configuration file FILE
2941
2942Configuration files:
2943$config_files
2944
2945Report bugs to <[email protected]>."
2946
2947_ACEOF
2948cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2949ac_cs_version="\\
2950config.status
2951configured by $0, generated by GNU Autoconf 2.63,
2952 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2953
2954Copyright (C) 2008 Free Software Foundation, Inc.
2955This config.status script is free software; the Free Software Foundation
2956gives unlimited permission to copy, distribute and modify it."
2957
2958ac_pwd='$ac_pwd'
2959srcdir='$srcdir'
2960test -n "\$AWK" || AWK=awk
2961_ACEOF
2962
2963cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2964# The default lists apply if the user does not specify any file.
2965ac_need_defaults=:
2966while test $# != 0
2967do
2968 case $1 in
2969 --*=*)
2970 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2971 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2972 ac_shift=:
2973 ;;
2974 *)
2975 ac_option=$1
2976 ac_optarg=$2
2977 ac_shift=shift
2978 ;;
2979 esac
2980
2981 case $ac_option in
2982 # Handling of the options.
2983 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2984 ac_cs_recheck=: ;;
2985 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2986 $as_echo "$ac_cs_version"; exit ;;
2987 --debug | --debu | --deb | --de | --d | -d )
2988 debug=: ;;
2989 --file | --fil | --fi | --f )
2990 $ac_shift
2991 case $ac_optarg in
2992 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2993 esac
2994 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
2995 ac_need_defaults=false;;
2996 --he | --h | --help | --hel | -h )
2997 $as_echo "$ac_cs_usage"; exit ;;
2998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2999 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3000 ac_cs_silent=: ;;
3001
3002 # This is an error.
3003 -*) { $as_echo "$as_me: error: unrecognized option: $1
3004Try \`$0 --help' for more information." >&2
3005 { (exit 1); exit 1; }; } ;;
3006
3007 *) ac_config_targets="$ac_config_targets $1"
3008 ac_need_defaults=false ;;
3009
3010 esac
3011 shift
3012done
3013
3014ac_configure_extra_args=
3015
3016if $ac_cs_silent; then
3017 exec 6>/dev/null
3018 ac_configure_extra_args="$ac_configure_extra_args --silent"
3019fi
3020
3021_ACEOF
3022cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3023if \$ac_cs_recheck; then
3024 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3025 shift
3026 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3027 CONFIG_SHELL='$SHELL'
3028 export CONFIG_SHELL
3029 exec "\$@"
3030fi
3031
3032_ACEOF
3033cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3034exec 5>>config.log
3035{
3036 echo
3037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3038## Running $as_me. ##
3039_ASBOX
3040 $as_echo "$ac_log"
3041} >&5
3042
3043_ACEOF
3044cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3045_ACEOF
3046
3047cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3048
3049# Handling of arguments.
3050for ac_config_target in $ac_config_targets
3051do
3052 case $ac_config_target in
3053 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3054 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
3055
3056 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3057$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3058 { (exit 1); exit 1; }; };;
3059 esac
3060done
3061
3062
3063# If the user did not use the arguments to specify the items to instantiate,
3064# then the envvar interface is used. Set only those that are not.
3065# We use the long form for the default assignment because of an extremely
3066# bizarre bug on SunOS 4.1.3.
3067if $ac_need_defaults; then
3068 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3069fi
3070
3071# Have a temporary directory for convenience. Make it in the build tree
3072# simply because there is no reason against having it here, and in addition,
3073# creating and moving files from /tmp can sometimes cause problems.
3074# Hook for its removal unless debugging.
3075# Note that there is a small window in which the directory will not be cleaned:
3076# after its creation but before its name has been assigned to `$tmp'.
3077$debug ||
3078{
3079 tmp=
3080 trap 'exit_status=$?
3081 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3082' 0
3083 trap '{ (exit 1); exit 1; }' 1 2 13 15
3084}
3085# Create a (secure) tmp directory for tmp files.
3086
3087{
3088 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3089 test -n "$tmp" && test -d "$tmp"
3090} ||
3091{
3092 tmp=./conf$$-$RANDOM
3093 (umask 077 && mkdir "$tmp")
3094} ||
3095{
3096 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3097 { (exit 1); exit 1; }
3098}
3099
3100# Set up the scripts for CONFIG_FILES section.
3101# No need to generate them if there are no CONFIG_FILES.
3102# This happens for instance with `./config.status config.h'.
3103if test -n "$CONFIG_FILES"; then
3104
3105
3106ac_cr='
3107'
3108ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3109if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3110 ac_cs_awk_cr='\\r'
3111else
3112 ac_cs_awk_cr=$ac_cr
3113fi
3114
3115echo 'BEGIN {' >"$tmp/subs1.awk" &&
3116_ACEOF
3117
3118
3119{
3120 echo "cat >conf$$subs.awk <<_ACEOF" &&
3121 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3122 echo "_ACEOF"
3123} >conf$$subs.sh ||
3124 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3125$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3126 { (exit 1); exit 1; }; }
3127ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3128ac_delim='%!_!# '
3129for ac_last_try in false false false false false :; do
3130 . ./conf$$subs.sh ||
3131 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3132$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3133 { (exit 1); exit 1; }; }
3134
3135 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3136 if test $ac_delim_n = $ac_delim_num; then
3137 break
3138 elif $ac_last_try; then
3139 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3140$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3141 { (exit 1); exit 1; }; }
3142 else
3143 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3144 fi
3145done
3146rm -f conf$$subs.sh
3147
3148cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3149cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3150_ACEOF
3151sed -n '
3152h
3153s/^/S["/; s/!.*/"]=/
3154p
3155g
3156s/^[^!]*!//
3157:repl
3158t repl
3159s/'"$ac_delim"'$//
3160t delim
3161:nl
3162h
3163s/\(.\{148\}\).*/\1/
3164t more1
3165s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3166p
3167n
3168b repl
3169:more1
3170s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3171p
3172g
3173s/.\{148\}//
3174t nl
3175:delim
3176h
3177s/\(.\{148\}\).*/\1/
3178t more2
3179s/["\\]/\\&/g; s/^/"/; s/$/"/
3180p
3181b
3182:more2
3183s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3184p
3185g
3186s/.\{148\}//
3187t delim
3188' <conf$$subs.awk | sed '
3189/^[^""]/{
3190 N
3191 s/\n//
3192}
3193' >>$CONFIG_STATUS || ac_write_fail=1
3194rm -f conf$$subs.awk
3195cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3196_ACAWK
3197cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3198 for (key in S) S_is_set[key] = 1
3199 FS = ""
3200
3201}
3202{
3203 line = $ 0
3204 nfields = split(line, field, "@")
3205 substed = 0
3206 len = length(field[1])
3207 for (i = 2; i < nfields; i++) {
3208 key = field[i]
3209 keylen = length(key)
3210 if (S_is_set[key]) {
3211 value = S[key]
3212 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3213 len += length(value) + length(field[++i])
3214 substed = 1
3215 } else
3216 len += 1 + keylen
3217 }
3218
3219 print line
3220}
3221
3222_ACAWK
3223_ACEOF
3224cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3225if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3226 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3227else
3228 cat
3229fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3230 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3231$as_echo "$as_me: error: could not setup config files machinery" >&2;}
3232 { (exit 1); exit 1; }; }
3233_ACEOF
3234
3235# VPATH may cause trouble with some makes, so we remove $(srcdir),
3236# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3237# trailing colons and then remove the whole line if VPATH becomes empty
3238# (actually we leave an empty line to preserve line numbers).
3239if test "x$srcdir" = x.; then
3240 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3241s/:*\$(srcdir):*/:/
3242s/:*\${srcdir}:*/:/
3243s/:*@srcdir@:*/:/
3244s/^\([^=]*=[ ]*\):*/\1/
3245s/:*$//
3246s/^[^=]*=[ ]*$//
3247}'
3248fi
3249
3250cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3251fi # test -n "$CONFIG_FILES"
3252
3253
3254eval set X " :F $CONFIG_FILES "
3255shift
3256for ac_tag
3257do
3258 case $ac_tag in
3259 :[FHLC]) ac_mode=$ac_tag; continue;;
3260 esac
3261 case $ac_mode$ac_tag in
3262 :[FHL]*:*);;
3263 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3264$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
3265 { (exit 1); exit 1; }; };;
3266 :[FH]-) ac_tag=-:-;;
3267 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3268 esac
3269 ac_save_IFS=$IFS
3270 IFS=:
3271 set x $ac_tag
3272 IFS=$ac_save_IFS
3273 shift
3274 ac_file=$1
3275 shift
3276
3277 case $ac_mode in
3278 :L) ac_source=$1;;
3279 :[FH])
3280 ac_file_inputs=
3281 for ac_f
3282 do
3283 case $ac_f in
3284 -) ac_f="$tmp/stdin";;
3285 *) # Look for the file first in the build tree, then in the source tree
3286 # (if the path is not absolute). The absolute path cannot be DOS-style,
3287 # because $ac_f cannot contain `:'.
3288 test -f "$ac_f" ||
3289 case $ac_f in
3290 [\\/$]*) false;;
3291 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3292 esac ||
3293 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3294$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3295 { (exit 1); exit 1; }; };;
3296 esac
3297 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3298 ac_file_inputs="$ac_file_inputs '$ac_f'"
3299 done
3300
3301 # Let's still pretend it is `configure' which instantiates (i.e., don't
3302 # use $as_me), people would be surprised to read:
3303 # /* config.h. Generated by config.status. */
3304 configure_input='Generated from '`
3305 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3306 `' by configure.'
3307 if test x"$ac_file" != x-; then
3308 configure_input="$ac_file. $configure_input"
3309 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3310$as_echo "$as_me: creating $ac_file" >&6;}
3311 fi
3312 # Neutralize special characters interpreted by sed in replacement strings.
3313 case $configure_input in #(
3314 *\&* | *\|* | *\\* )
3315 ac_sed_conf_input=`$as_echo "$configure_input" |
3316 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3317 *) ac_sed_conf_input=$configure_input;;
3318 esac
3319
3320 case $ac_tag in
3321 *:-:* | *:-) cat >"$tmp/stdin" \
3322 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3323$as_echo "$as_me: error: could not create $ac_file" >&2;}
3324 { (exit 1); exit 1; }; } ;;
3325 esac
3326 ;;
3327 esac
3328
3329 ac_dir=`$as_dirname -- "$ac_file" ||
3330$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3331 X"$ac_file" : 'X\(//\)[^/]' \| \
3332 X"$ac_file" : 'X\(//\)$' \| \
3333 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3334$as_echo X"$ac_file" |
3335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3336 s//\1/
3337 q
3338 }
3339 /^X\(\/\/\)[^/].*/{
3340 s//\1/
3341 q
3342 }
3343 /^X\(\/\/\)$/{
3344 s//\1/
3345 q
3346 }
3347 /^X\(\/\).*/{
3348 s//\1/
3349 q
3350 }
3351 s/.*/./; q'`
3352 { as_dir="$ac_dir"
3353 case $as_dir in #(
3354 -*) as_dir=./$as_dir;;
3355 esac
3356 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3357 as_dirs=
3358 while :; do
3359 case $as_dir in #(
3360 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3361 *) as_qdir=$as_dir;;
3362 esac
3363 as_dirs="'$as_qdir' $as_dirs"
3364 as_dir=`$as_dirname -- "$as_dir" ||
3365$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3366 X"$as_dir" : 'X\(//\)[^/]' \| \
3367 X"$as_dir" : 'X\(//\)$' \| \
3368 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3369$as_echo X"$as_dir" |
3370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3371 s//\1/
3372 q
3373 }
3374 /^X\(\/\/\)[^/].*/{
3375 s//\1/
3376 q
3377 }
3378 /^X\(\/\/\)$/{
3379 s//\1/
3380 q
3381 }
3382 /^X\(\/\).*/{
3383 s//\1/
3384 q
3385 }
3386 s/.*/./; q'`
3387 test -d "$as_dir" && break
3388 done
3389 test -z "$as_dirs" || eval "mkdir $as_dirs"
3390 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3391$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3392 { (exit 1); exit 1; }; }; }
3393 ac_builddir=.
3394
3395case "$ac_dir" in
3396.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3397*)
3398 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3399 # A ".." for each directory in $ac_dir_suffix.
3400 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3401 case $ac_top_builddir_sub in
3402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3404 esac ;;
3405esac
3406ac_abs_top_builddir=$ac_pwd
3407ac_abs_builddir=$ac_pwd$ac_dir_suffix
3408# for backward compatibility:
3409ac_top_builddir=$ac_top_build_prefix
3410
3411case $srcdir in
3412 .) # We are building in place.
3413 ac_srcdir=.
3414 ac_top_srcdir=$ac_top_builddir_sub
3415 ac_abs_top_srcdir=$ac_pwd ;;
3416 [\\/]* | ?:[\\/]* ) # Absolute name.
3417 ac_srcdir=$srcdir$ac_dir_suffix;
3418 ac_top_srcdir=$srcdir
3419 ac_abs_top_srcdir=$srcdir ;;
3420 *) # Relative name.
3421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3422 ac_top_srcdir=$ac_top_build_prefix$srcdir
3423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3424esac
3425ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3426
3427
3428 case $ac_mode in
3429 :F)
3430 #
3431 # CONFIG_FILE
3432 #
3433
3434_ACEOF
3435
3436cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3437# If the template does not know about datarootdir, expand it.
3438# FIXME: This hack should be removed a few years after 2.60.
3439ac_datarootdir_hack=; ac_datarootdir_seen=
3440
3441ac_sed_dataroot='
3442/datarootdir/ {
3443 p
3444 q
3445}
3446/@datadir@/p
3447/@docdir@/p
3448/@infodir@/p
3449/@localedir@/p
3450/@mandir@/p
3451'
3452case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3453*datarootdir*) ac_datarootdir_seen=yes;;
3454*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3455 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3456$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3457_ACEOF
3458cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3459 ac_datarootdir_hack='
3460 s&@datadir@&$datadir&g
3461 s&@docdir@&$docdir&g
3462 s&@infodir@&$infodir&g
3463 s&@localedir@&$localedir&g
3464 s&@mandir@&$mandir&g
3465 s&\\\${datarootdir}&$datarootdir&g' ;;
3466esac
3467_ACEOF
3468
3469# Neutralize VPATH when `$srcdir' = `.'.
3470# Shell code in configure.ac might set extrasub.
3471# FIXME: do we really want to maintain this feature?
3472cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3473ac_sed_extra="$ac_vpsub
3474$extrasub
3475_ACEOF
3476cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3477:t
3478/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3479s|@configure_input@|$ac_sed_conf_input|;t t
3480s&@top_builddir@&$ac_top_builddir_sub&;t t
3481s&@top_build_prefix@&$ac_top_build_prefix&;t t
3482s&@srcdir@&$ac_srcdir&;t t
3483s&@abs_srcdir@&$ac_abs_srcdir&;t t
3484s&@top_srcdir@&$ac_top_srcdir&;t t
3485s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3486s&@builddir@&$ac_builddir&;t t
3487s&@abs_builddir@&$ac_abs_builddir&;t t
3488s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3489$ac_datarootdir_hack
3490"
3491eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3492 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3493$as_echo "$as_me: error: could not create $ac_file" >&2;}
3494 { (exit 1); exit 1; }; }
3495
3496test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3497 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3498 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3499 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3500which seems to be undefined. Please make sure it is defined." >&5
3501$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3502which seems to be undefined. Please make sure it is defined." >&2;}
3503
3504 rm -f "$tmp/stdin"
3505 case $ac_file in
3506 -) cat "$tmp/out" && rm -f "$tmp/out";;
3507 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3508 esac \
3509 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3510$as_echo "$as_me: error: could not create $ac_file" >&2;}
3511 { (exit 1); exit 1; }; }
3512 ;;
3513
3514
3515
3516 esac
3517
3518done # for ac_tag
3519
3520
3521{ (exit 0); exit 0; }
3522_ACEOF
3523chmod +x $CONFIG_STATUS
3524ac_clean_files=$ac_clean_files_save
3525
3526test $ac_write_fail = 0 ||
3527 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3528$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3529 { (exit 1); exit 1; }; }
3530
3531
3532# configure is writing to config.log, and then calls config.status.
3533# config.status does its own redirection, appending to config.log.
3534# Unfortunately, on DOS this fails, as config.log is still kept open
3535# by configure, so config.status won't be able to write to it; its
3536# output is simply discarded. So we exec the FD to /dev/null,
3537# effectively closing config.log, so it can be properly (re)opened and
3538# appended to by config.status. When coming back to configure, we
3539# need to make the FD available again.
3540if test "$no_create" != yes; then
3541 ac_cs_success=:
3542 ac_config_status_args=
3543 test "$silent" = yes &&
3544 ac_config_status_args="$ac_config_status_args --quiet"
3545 exec 5>/dev/null
3546 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3547 exec 5>>config.log
3548 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3549 # would make configure fail if this is the last instruction.
3550 $ac_cs_success || { (exit 1); exit 1; }
3551fi
3552
3553#
3554# CONFIG_SUBDIRS section.
3555#
3556if test "$no_recursion" != yes; then
3557
3558 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3559 # so they do not pile up.
3560 ac_sub_configure_args=
3561 ac_prev=
3562 eval "set x $ac_configure_args"
3563 shift
3564 for ac_arg
3565 do
3566 if test -n "$ac_prev"; then
3567 ac_prev=
3568 continue
3569 fi
3570 case $ac_arg in
3571 -cache-file | --cache-file | --cache-fil | --cache-fi \
3572 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3573 ac_prev=cache_file ;;
3574 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3575 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3576 | --c=*)
3577 ;;
3578 --config-cache | -C)
3579 ;;
3580 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3581 ac_prev=srcdir ;;
3582 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3583 ;;
3584 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3585 ac_prev=prefix ;;
3586 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3587 ;;
3588 --disable-option-checking)
3589 ;;
3590 *)
3591 case $ac_arg in
3592 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3593 esac
3594 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
3595 esac
3596 done
3597
3598 # Always prepend --prefix to ensure using the same prefix
3599 # in subdir configurations.
3600 ac_arg="--prefix=$prefix"
3601 case $ac_arg in
3602 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3603 esac
3604 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3605
3606 # Pass --silent
3607 if test "$silent" = yes; then
3608 ac_sub_configure_args="--silent $ac_sub_configure_args"
3609 fi
3610
3611 # Always prepend --disable-option-checking to silence warnings, since
3612 # different subdirs can have different --enable and --with options.
3613 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
3614
3615 ac_popdir=`pwd`
3616 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3617
3618 # Do not complain, so a configure script can configure whichever
3619 # parts of a large source tree are present.
3620 test -d "$srcdir/$ac_dir" || continue
3621
3622 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3623 $as_echo "$as_me:$LINENO: $ac_msg" >&5
3624 $as_echo "$ac_msg" >&6
3625 { as_dir="$ac_dir"
3626 case $as_dir in #(
3627 -*) as_dir=./$as_dir;;
3628 esac
3629 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3630 as_dirs=
3631 while :; do
3632 case $as_dir in #(
3633 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3634 *) as_qdir=$as_dir;;
3635 esac
3636 as_dirs="'$as_qdir' $as_dirs"
3637 as_dir=`$as_dirname -- "$as_dir" ||
3638$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3639 X"$as_dir" : 'X\(//\)[^/]' \| \
3640 X"$as_dir" : 'X\(//\)$' \| \
3641 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3642$as_echo X"$as_dir" |
3643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3644 s//\1/
3645 q
3646 }
3647 /^X\(\/\/\)[^/].*/{
3648 s//\1/
3649 q
3650 }
3651 /^X\(\/\/\)$/{
3652 s//\1/
3653 q
3654 }
3655 /^X\(\/\).*/{
3656 s//\1/
3657 q
3658 }
3659 s/.*/./; q'`
3660 test -d "$as_dir" && break
3661 done
3662 test -z "$as_dirs" || eval "mkdir $as_dirs"
3663 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3664$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3665 { (exit 1); exit 1; }; }; }
3666 ac_builddir=.
3667
3668case "$ac_dir" in
3669.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3670*)
3671 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3672 # A ".." for each directory in $ac_dir_suffix.
3673 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3674 case $ac_top_builddir_sub in
3675 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3676 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3677 esac ;;
3678esac
3679ac_abs_top_builddir=$ac_pwd
3680ac_abs_builddir=$ac_pwd$ac_dir_suffix
3681# for backward compatibility:
3682ac_top_builddir=$ac_top_build_prefix
3683
3684case $srcdir in
3685 .) # We are building in place.
3686 ac_srcdir=.
3687 ac_top_srcdir=$ac_top_builddir_sub
3688 ac_abs_top_srcdir=$ac_pwd ;;
3689 [\\/]* | ?:[\\/]* ) # Absolute name.
3690 ac_srcdir=$srcdir$ac_dir_suffix;
3691 ac_top_srcdir=$srcdir
3692 ac_abs_top_srcdir=$srcdir ;;
3693 *) # Relative name.
3694 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3695 ac_top_srcdir=$ac_top_build_prefix$srcdir
3696 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3697esac
3698ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3699
3700
3701 cd "$ac_dir"
3702
3703 # Check for guested configure; otherwise get Cygnus style configure.
3704 if test -f "$ac_srcdir/configure.gnu"; then
3705 ac_sub_configure=$ac_srcdir/configure.gnu
3706 elif test -f "$ac_srcdir/configure"; then
3707 ac_sub_configure=$ac_srcdir/configure
3708 elif test -f "$ac_srcdir/configure.in"; then
3709 # This should be Cygnus configure.
3710 ac_sub_configure=$ac_aux_dir/configure
3711 else
3712 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3713$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3714 ac_sub_configure=
3715 fi
3716
3717 # The recursion is here.
3718 if test -n "$ac_sub_configure"; then
3719 # Make the cache file name correct relative to the subdirectory.
3720 case $cache_file in
3721 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3722 *) # Relative name.
3723 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3724 esac
3725
3726 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3727$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3728 # The eval makes quoting arguments work.
3729 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3730 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3731 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3732$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3733 { (exit 1); exit 1; }; }
3734 fi
3735
3736 cd "$ac_popdir"
3737 done
3738fi
3739if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3740 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3741$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3742fi
3743
Note: See TracBrowser for help on using the repository browser.