source: main/tags/3.04/indexers/configure@ 21231

Last change on this file since 21231 was 19906, checked in by oranfry, 15 years ago

regenerated configure script after change to configure.ac

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