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

Last change on this file was 35576, checked in by davidb, 3 years ago

No longer want JAVACFLAGS set to default vals if not already set

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