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

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

This should have been part of previous commit, this was modified as part of getting Greenstone 2 to work on 64-bit linux

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