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

Last change on this file since 23356 was 23356, checked in by sjm84, 14 years ago

Updated several configure scripts and Makefiles to make use of the JAVA, JAVAC and JAVACFLAGS environment variables, also added a --disable-java option to several of the configure scripts

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