source: main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/configure@ 23509

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

Adding a few changes that we missed from the previous commit

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