source: indexers/trunk/configure@ 20889

Last change on this file since 20889 was 20832, checked in by ak19, 15 years ago

Libiconv and libexpat are now compiled up during configure time rather than during Make. Committing files affected with adjustments related to this change, of which setup.bash adds the lib folder in common-src packages (generated by compiling libiconv) to the LD_LIBRARY_PATH for now. The last is probably not necessary since libiconv is generated as a static library (not shared).

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