source: indexers/trunk/configure@ 19883

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

recommiting the java search code with intention to debug

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 71.2 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 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
795_ACEOF
796fi
797
798if test "$ac_init_help" = "recursive"; then
799 # If there are subdirs, report their specific --help.
800 ac_popdir=`pwd`
801 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
802 test -d $ac_dir || continue
803 ac_builddir=.
804
805if test "$ac_dir" != .; then
806 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
807 # A "../" for each directory in $ac_dir_suffix.
808 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
809else
810 ac_dir_suffix= ac_top_builddir=
811fi
812
813case $srcdir in
814 .) # No --srcdir option. We are building in place.
815 ac_srcdir=.
816 if test -z "$ac_top_builddir"; then
817 ac_top_srcdir=.
818 else
819 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
820 fi ;;
821 [\\/]* | ?:[\\/]* ) # Absolute path.
822 ac_srcdir=$srcdir$ac_dir_suffix;
823 ac_top_srcdir=$srcdir ;;
824 *) # Relative path.
825 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
826 ac_top_srcdir=$ac_top_builddir$srcdir ;;
827esac
828
829# Do not use `cd foo && pwd` to compute absolute paths, because
830# the directories may not exist.
831case `pwd` in
832.) ac_abs_builddir="$ac_dir";;
833*)
834 case "$ac_dir" in
835 .) ac_abs_builddir=`pwd`;;
836 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
837 *) ac_abs_builddir=`pwd`/"$ac_dir";;
838 esac;;
839esac
840case $ac_abs_builddir in
841.) ac_abs_top_builddir=${ac_top_builddir}.;;
842*)
843 case ${ac_top_builddir}. in
844 .) ac_abs_top_builddir=$ac_abs_builddir;;
845 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
846 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
847 esac;;
848esac
849case $ac_abs_builddir in
850.) ac_abs_srcdir=$ac_srcdir;;
851*)
852 case $ac_srcdir in
853 .) ac_abs_srcdir=$ac_abs_builddir;;
854 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
855 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
856 esac;;
857esac
858case $ac_abs_builddir in
859.) ac_abs_top_srcdir=$ac_top_srcdir;;
860*)
861 case $ac_top_srcdir in
862 .) ac_abs_top_srcdir=$ac_abs_builddir;;
863 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
864 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
865 esac;;
866esac
867
868 cd $ac_dir
869 # Check for guested configure; otherwise get Cygnus style configure.
870 if test -f $ac_srcdir/configure.gnu; then
871 echo
872 $SHELL $ac_srcdir/configure.gnu --help=recursive
873 elif test -f $ac_srcdir/configure; then
874 echo
875 $SHELL $ac_srcdir/configure --help=recursive
876 elif test -f $ac_srcdir/configure.ac ||
877 test -f $ac_srcdir/configure.in; then
878 echo
879 $ac_configure --help
880 else
881 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
882 fi
883 cd $ac_popdir
884 done
885fi
886
887test -n "$ac_init_help" && exit 0
888if $ac_init_version; then
889 cat <<\_ACEOF
890
891Copyright (C) 2003 Free Software Foundation, Inc.
892This configure script is free software; the Free Software Foundation
893gives unlimited permission to copy, distribute and modify it.
894_ACEOF
895 exit 0
896fi
897exec 5>config.log
898cat >&5 <<_ACEOF
899This file contains any messages produced by compilers while
900running configure, to aid debugging if configure makes a mistake.
901
902It was created by $as_me, which was
903generated by GNU Autoconf 2.59. Invocation command line was
904
905 $ $0 $@
906
907_ACEOF
908{
909cat <<_ASUNAME
910## --------- ##
911## Platform. ##
912## --------- ##
913
914hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
915uname -m = `(uname -m) 2>/dev/null || echo unknown`
916uname -r = `(uname -r) 2>/dev/null || echo unknown`
917uname -s = `(uname -s) 2>/dev/null || echo unknown`
918uname -v = `(uname -v) 2>/dev/null || echo unknown`
919
920/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
921/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
922
923/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
924/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
925/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
926hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
927/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
928/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
929/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
930
931_ASUNAME
932
933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
934for as_dir in $PATH
935do
936 IFS=$as_save_IFS
937 test -z "$as_dir" && as_dir=.
938 echo "PATH: $as_dir"
939done
940
941} >&5
942
943cat >&5 <<_ACEOF
944
945
946## ----------- ##
947## Core tests. ##
948## ----------- ##
949
950_ACEOF
951
952
953# Keep a trace of the command line.
954# Strip out --no-create and --no-recursion so they do not pile up.
955# Strip out --silent because we don't want to record it for future runs.
956# Also quote any args containing shell meta-characters.
957# Make two passes to allow for proper duplicate-argument suppression.
958ac_configure_args=
959ac_configure_args0=
960ac_configure_args1=
961ac_sep=
962ac_must_keep_next=false
963for ac_pass in 1 2
964do
965 for ac_arg
966 do
967 case $ac_arg in
968 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
970 | -silent | --silent | --silen | --sile | --sil)
971 continue ;;
972 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
973 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
974 esac
975 case $ac_pass in
976 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
977 2)
978 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
979 if test $ac_must_keep_next = true; then
980 ac_must_keep_next=false # Got value, back to normal.
981 else
982 case $ac_arg in
983 *=* | --config-cache | -C | -disable-* | --disable-* \
984 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
985 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
986 | -with-* | --with-* | -without-* | --without-* | --x)
987 case "$ac_configure_args0 " in
988 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
989 esac
990 ;;
991 -* ) ac_must_keep_next=true ;;
992 esac
993 fi
994 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
995 # Get rid of the leading space.
996 ac_sep=" "
997 ;;
998 esac
999 done
1000done
1001$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1002$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1003
1004# When interrupted or exit'd, cleanup temporary files, and complete
1005# config.log. We remove comments because anyway the quotes in there
1006# would cause problems or look ugly.
1007# WARNING: Be sure not to use single quotes in there, as some shells,
1008# such as our DU 5.0 friend, will then `close' the trap.
1009trap 'exit_status=$?
1010 # Save into config.log some information that might help in debugging.
1011 {
1012 echo
1013
1014 cat <<\_ASBOX
1015## ---------------- ##
1016## Cache variables. ##
1017## ---------------- ##
1018_ASBOX
1019 echo
1020 # The following way of writing the cache mishandles newlines in values,
1021{
1022 (set) 2>&1 |
1023 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1024 *ac_space=\ *)
1025 sed -n \
1026 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1028 ;;
1029 *)
1030 sed -n \
1031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1032 ;;
1033 esac;
1034}
1035 echo
1036
1037 cat <<\_ASBOX
1038## ----------------- ##
1039## Output variables. ##
1040## ----------------- ##
1041_ASBOX
1042 echo
1043 for ac_var in $ac_subst_vars
1044 do
1045 eval ac_val=$`echo $ac_var`
1046 echo "$ac_var='"'"'$ac_val'"'"'"
1047 done | sort
1048 echo
1049
1050 if test -n "$ac_subst_files"; then
1051 cat <<\_ASBOX
1052## ------------- ##
1053## Output files. ##
1054## ------------- ##
1055_ASBOX
1056 echo
1057 for ac_var in $ac_subst_files
1058 do
1059 eval ac_val=$`echo $ac_var`
1060 echo "$ac_var='"'"'$ac_val'"'"'"
1061 done | sort
1062 echo
1063 fi
1064
1065 if test -s confdefs.h; then
1066 cat <<\_ASBOX
1067## ----------- ##
1068## confdefs.h. ##
1069## ----------- ##
1070_ASBOX
1071 echo
1072 sed "/^$/d" confdefs.h | sort
1073 echo
1074 fi
1075 test "$ac_signal" != 0 &&
1076 echo "$as_me: caught signal $ac_signal"
1077 echo "$as_me: exit $exit_status"
1078 } >&5
1079 rm -f core *.core &&
1080 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1081 exit $exit_status
1082 ' 0
1083for ac_signal in 1 2 13 15; do
1084 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1085done
1086ac_signal=0
1087
1088# confdefs.h avoids OS command line length limits that DEFS can exceed.
1089rm -rf conftest* confdefs.h
1090# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1091echo >confdefs.h
1092
1093# Predefined preprocessor variables.
1094
1095cat >>confdefs.h <<_ACEOF
1096#define PACKAGE_NAME "$PACKAGE_NAME"
1097_ACEOF
1098
1099
1100cat >>confdefs.h <<_ACEOF
1101#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1102_ACEOF
1103
1104
1105cat >>confdefs.h <<_ACEOF
1106#define PACKAGE_VERSION "$PACKAGE_VERSION"
1107_ACEOF
1108
1109
1110cat >>confdefs.h <<_ACEOF
1111#define PACKAGE_STRING "$PACKAGE_STRING"
1112_ACEOF
1113
1114
1115cat >>confdefs.h <<_ACEOF
1116#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1117_ACEOF
1118
1119
1120# Let the site file select an alternate cache file if it wants to.
1121# Prefer explicitly selected file to automatically selected ones.
1122if test -z "$CONFIG_SITE"; then
1123 if test "x$prefix" != xNONE; then
1124 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1125 else
1126 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1127 fi
1128fi
1129for ac_site_file in $CONFIG_SITE; do
1130 if test -r "$ac_site_file"; then
1131 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1132echo "$as_me: loading site script $ac_site_file" >&6;}
1133 sed 's/^/| /' "$ac_site_file" >&5
1134 . "$ac_site_file"
1135 fi
1136done
1137
1138if test -r "$cache_file"; then
1139 # Some versions of bash will fail to source /dev/null (special
1140 # files actually), so we avoid doing that.
1141 if test -f "$cache_file"; then
1142 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1143echo "$as_me: loading cache $cache_file" >&6;}
1144 case $cache_file in
1145 [\\/]* | ?:[\\/]* ) . $cache_file;;
1146 *) . ./$cache_file;;
1147 esac
1148 fi
1149else
1150 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1151echo "$as_me: creating cache $cache_file" >&6;}
1152 >$cache_file
1153fi
1154
1155# Check that the precious variables saved in the cache have kept the same
1156# value.
1157ac_cache_corrupted=false
1158for ac_var in `(set) 2>&1 |
1159 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1160 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1161 eval ac_new_set=\$ac_env_${ac_var}_set
1162 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1163 eval ac_new_val="\$ac_env_${ac_var}_value"
1164 case $ac_old_set,$ac_new_set in
1165 set,)
1166 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1167echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1168 ac_cache_corrupted=: ;;
1169 ,set)
1170 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1171echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1172 ac_cache_corrupted=: ;;
1173 ,);;
1174 *)
1175 if test "x$ac_old_val" != "x$ac_new_val"; then
1176 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1177echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1178 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1179echo "$as_me: former value: $ac_old_val" >&2;}
1180 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1181echo "$as_me: current value: $ac_new_val" >&2;}
1182 ac_cache_corrupted=:
1183 fi;;
1184 esac
1185 # Pass precious variables to config.status.
1186 if test "$ac_new_set" = set; then
1187 case $ac_new_val in
1188 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1189 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1190 *) ac_arg=$ac_var=$ac_new_val ;;
1191 esac
1192 case " $ac_configure_args " in
1193 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1194 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1195 esac
1196 fi
1197done
1198if $ac_cache_corrupted; then
1199 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1200echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1201 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1202echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1203 { (exit 1); exit 1; }; }
1204fi
1205
1206ac_ext=c
1207ac_cpp='$CPP $CPPFLAGS'
1208ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1210ac_compiler_gnu=$ac_cv_c_compiler_gnu
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230# Check whether --enable-accentfolding or --disable-accentfolding was given.
1231if test "${enable_accentfolding+set}" = set; then
1232 enableval="$enable_accentfolding"
1233 ENABLE_ACCENTFOLD=0
1234else
1235 ENABLE_ACCENTFOLD=1
1236fi;
1237cat >>confdefs.h <<_ACEOF
1238#define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
1239_ACEOF
1240
1241
1242
1243cat >>confdefs.h <<_ACEOF
1244#define COMPAT32BITFLAGS $COMPAT32BITFLAGS
1245_ACEOF
1246
1247
1248
1249echo "***** CWD = " `pwd`
1250echo "***** PATH = $PATH"
1251echo "**** java: " `which java`
1252echo "*** javac: " `which javac`
1253
1254AC_PROG_JAVAC
1255AC_PROG_JAVA
1256
1257
1258# Check whether --with-unac or --without-unac was given.
1259if test "${with_unac+set}" = set; then
1260 withval="$with_unac"
1261 UNAC_DIR=$withval
1262fi;
1263
1264if test $ENABLE_ACCENTFOLD = 1; then
1265ac_aux_dir=
1266for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1267 if test -f $ac_dir/install-sh; then
1268 ac_aux_dir=$ac_dir
1269 ac_install_sh="$ac_aux_dir/install-sh -c"
1270 break
1271 elif test -f $ac_dir/install.sh; then
1272 ac_aux_dir=$ac_dir
1273 ac_install_sh="$ac_aux_dir/install.sh -c"
1274 break
1275 elif test -f $ac_dir/shtool; then
1276 ac_aux_dir=$ac_dir
1277 ac_install_sh="$ac_aux_dir/shtool install -c"
1278 break
1279 fi
1280done
1281if test -z "$ac_aux_dir"; then
1282 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1283echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1284 { (exit 1); exit 1; }; }
1285fi
1286ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1287ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1288ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1289
1290
1291
1292subdirs="$subdirs packages/unac"
1293
1294fi
1295
1296
1297
1298subdirs="$subdirs mg mgpp"
1299
1300
1301 ac_config_files="$ac_config_files Makefile"
1302cat >confcache <<\_ACEOF
1303# This file is a shell script that caches the results of configure
1304# tests run on this system so they can be shared between configure
1305# scripts and configure runs, see configure's option --config-cache.
1306# It is not useful on other systems. If it contains results you don't
1307# want to keep, you may remove or edit it.
1308#
1309# config.status only pays attention to the cache file if you give it
1310# the --recheck option to rerun configure.
1311#
1312# `ac_cv_env_foo' variables (set or unset) will be overridden when
1313# loading this file, other *unset* `ac_cv_foo' will be assigned the
1314# following values.
1315
1316_ACEOF
1317
1318# The following way of writing the cache mishandles newlines in values,
1319# but we know of no workaround that is simple, portable, and efficient.
1320# So, don't put newlines in cache variables' values.
1321# Ultrix sh set writes to stderr and can't be redirected directly,
1322# and sets the high bit in the cache file unless we assign to the vars.
1323{
1324 (set) 2>&1 |
1325 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1326 *ac_space=\ *)
1327 # `set' does not quote correctly, so add quotes (double-quote
1328 # substitution turns \\\\ into \\, and sed turns \\ into \).
1329 sed -n \
1330 "s/'/'\\\\''/g;
1331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1332 ;;
1333 *)
1334 # `set' quotes correctly as required by POSIX, so do not add quotes.
1335 sed -n \
1336 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1337 ;;
1338 esac;
1339} |
1340 sed '
1341 t clear
1342 : clear
1343 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1344 t end
1345 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1346 : end' >>confcache
1347if diff $cache_file confcache >/dev/null 2>&1; then :; else
1348 if test -w $cache_file; then
1349 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1350 cat confcache >$cache_file
1351 else
1352 echo "not updating unwritable cache $cache_file"
1353 fi
1354fi
1355rm -f confcache
1356
1357test "x$prefix" = xNONE && prefix=$ac_default_prefix
1358# Let make expand exec_prefix.
1359test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1360
1361# VPATH may cause trouble with some makes, so we remove $(srcdir),
1362# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1363# trailing colons and then remove the whole line if VPATH becomes empty
1364# (actually we leave an empty line to preserve line numbers).
1365if test "x$srcdir" = x.; then
1366 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1367s/:*\$(srcdir):*/:/;
1368s/:*\${srcdir}:*/:/;
1369s/:*@srcdir@:*/:/;
1370s/^\([^=]*=[ ]*\):*/\1/;
1371s/:*$//;
1372s/^[^=]*=[ ]*$//;
1373}'
1374fi
1375
1376# Transform confdefs.h into DEFS.
1377# Protect against shell expansion while executing Makefile rules.
1378# Protect against Makefile macro expansion.
1379#
1380# If the first sed substitution is executed (which looks for macros that
1381# take arguments), then we branch to the quote section. Otherwise,
1382# look for a macro that doesn't take arguments.
1383cat >confdef2opt.sed <<\_ACEOF
1384t clear
1385: clear
1386s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1387t quote
1388s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1389t quote
1390d
1391: quote
1392s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1393s,\[,\\&,g
1394s,\],\\&,g
1395s,\$,$$,g
1396p
1397_ACEOF
1398# We use echo to avoid assuming a particular line-breaking character.
1399# The extra dot is to prevent the shell from consuming trailing
1400# line-breaks from the sub-command output. A line-break within
1401# single-quotes doesn't work because, if this script is created in a
1402# platform that uses two characters for line-breaks (e.g., DOS), tr
1403# would break.
1404ac_LF_and_DOT=`echo; echo .`
1405DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1406rm -f confdef2opt.sed
1407
1408
1409ac_libobjs=
1410ac_ltlibobjs=
1411for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1412 # 1. Remove the extension, and $U if already installed.
1413 ac_i=`echo "$ac_i" |
1414 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1415 # 2. Add them.
1416 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1417 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1418done
1419LIBOBJS=$ac_libobjs
1420
1421LTLIBOBJS=$ac_ltlibobjs
1422
1423
1424
1425: ${CONFIG_STATUS=./config.status}
1426ac_clean_files_save=$ac_clean_files
1427ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1428{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1429echo "$as_me: creating $CONFIG_STATUS" >&6;}
1430cat >$CONFIG_STATUS <<_ACEOF
1431#! $SHELL
1432# Generated by $as_me.
1433# Run this file to recreate the current configuration.
1434# Compiler output produced by configure, useful for debugging
1435# configure, is in config.log if it exists.
1436
1437debug=false
1438ac_cs_recheck=false
1439ac_cs_silent=false
1440SHELL=\${CONFIG_SHELL-$SHELL}
1441_ACEOF
1442
1443cat >>$CONFIG_STATUS <<\_ACEOF
1444## --------------------- ##
1445## M4sh Initialization. ##
1446## --------------------- ##
1447
1448# Be Bourne compatible
1449if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1450 emulate sh
1451 NULLCMD=:
1452 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1453 # is contrary to our usage. Disable this feature.
1454 alias -g '${1+"$@"}'='"$@"'
1455elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1456 set -o posix
1457fi
1458DUALCASE=1; export DUALCASE # for MKS sh
1459
1460# Support unset when possible.
1461if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1462 as_unset=unset
1463else
1464 as_unset=false
1465fi
1466
1467
1468# Work around bugs in pre-3.0 UWIN ksh.
1469$as_unset ENV MAIL MAILPATH
1470PS1='$ '
1471PS2='> '
1472PS4='+ '
1473
1474# NLS nuisances.
1475for as_var in \
1476 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1477 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1478 LC_TELEPHONE LC_TIME
1479do
1480 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1481 eval $as_var=C; export $as_var
1482 else
1483 $as_unset $as_var
1484 fi
1485done
1486
1487# Required to use basename.
1488if expr a : '\(a\)' >/dev/null 2>&1; then
1489 as_expr=expr
1490else
1491 as_expr=false
1492fi
1493
1494if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1495 as_basename=basename
1496else
1497 as_basename=false
1498fi
1499
1500
1501# Name of the executable.
1502as_me=`$as_basename "$0" ||
1503$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1504 X"$0" : 'X\(//\)$' \| \
1505 X"$0" : 'X\(/\)$' \| \
1506 . : '\(.\)' 2>/dev/null ||
1507echo X/"$0" |
1508 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1509 /^X\/\(\/\/\)$/{ s//\1/; q; }
1510 /^X\/\(\/\).*/{ s//\1/; q; }
1511 s/.*/./; q'`
1512
1513
1514# PATH needs CR, and LINENO needs CR and PATH.
1515# Avoid depending upon Character Ranges.
1516as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1517as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1518as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1519as_cr_digits='0123456789'
1520as_cr_alnum=$as_cr_Letters$as_cr_digits
1521
1522# The user is always right.
1523if test "${PATH_SEPARATOR+set}" != set; then
1524 echo "#! /bin/sh" >conf$$.sh
1525 echo "exit 0" >>conf$$.sh
1526 chmod +x conf$$.sh
1527 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1528 PATH_SEPARATOR=';'
1529 else
1530 PATH_SEPARATOR=:
1531 fi
1532 rm -f conf$$.sh
1533fi
1534
1535
1536 as_lineno_1=$LINENO
1537 as_lineno_2=$LINENO
1538 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1539 test "x$as_lineno_1" != "x$as_lineno_2" &&
1540 test "x$as_lineno_3" = "x$as_lineno_2" || {
1541 # Find who we are. Look in the path if we contain no path at all
1542 # relative or not.
1543 case $0 in
1544 *[\\/]* ) as_myself=$0 ;;
1545 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1546for as_dir in $PATH
1547do
1548 IFS=$as_save_IFS
1549 test -z "$as_dir" && as_dir=.
1550 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1551done
1552
1553 ;;
1554 esac
1555 # We did not find ourselves, most probably we were run as `sh COMMAND'
1556 # in which case we are not to be found in the path.
1557 if test "x$as_myself" = x; then
1558 as_myself=$0
1559 fi
1560 if test ! -f "$as_myself"; then
1561 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1562echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1563 { (exit 1); exit 1; }; }
1564 fi
1565 case $CONFIG_SHELL in
1566 '')
1567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1569do
1570 IFS=$as_save_IFS
1571 test -z "$as_dir" && as_dir=.
1572 for as_base in sh bash ksh sh5; do
1573 case $as_dir in
1574 /*)
1575 if ("$as_dir/$as_base" -c '
1576 as_lineno_1=$LINENO
1577 as_lineno_2=$LINENO
1578 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1579 test "x$as_lineno_1" != "x$as_lineno_2" &&
1580 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1581 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1582 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1583 CONFIG_SHELL=$as_dir/$as_base
1584 export CONFIG_SHELL
1585 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1586 fi;;
1587 esac
1588 done
1589done
1590;;
1591 esac
1592
1593 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1594 # uniformly replaced by the line number. The first 'sed' inserts a
1595 # line-number line before each line; the second 'sed' does the real
1596 # work. The second script uses 'N' to pair each line-number line
1597 # with the numbered line, and appends trailing '-' during
1598 # substitution so that $LINENO is not a special case at line end.
1599 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1600 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1601 sed '=' <$as_myself |
1602 sed '
1603 N
1604 s,$,-,
1605 : loop
1606 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1607 t loop
1608 s,-$,,
1609 s,^['$as_cr_digits']*\n,,
1610 ' >$as_me.lineno &&
1611 chmod +x $as_me.lineno ||
1612 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1613echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1614 { (exit 1); exit 1; }; }
1615
1616 # Don't try to exec as it changes $[0], causing all sort of problems
1617 # (the dirname of $[0] is not the place where we might find the
1618 # original and so on. Autoconf is especially sensible to this).
1619 . ./$as_me.lineno
1620 # Exit status is that of the last command.
1621 exit
1622}
1623
1624
1625case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1626 *c*,-n*) ECHO_N= ECHO_C='
1627' ECHO_T=' ' ;;
1628 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1629 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1630esac
1631
1632if expr a : '\(a\)' >/dev/null 2>&1; then
1633 as_expr=expr
1634else
1635 as_expr=false
1636fi
1637
1638rm -f conf$$ conf$$.exe conf$$.file
1639echo >conf$$.file
1640if ln -s conf$$.file conf$$ 2>/dev/null; then
1641 # We could just check for DJGPP; but this test a) works b) is more generic
1642 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1643 if test -f conf$$.exe; then
1644 # Don't use ln at all; we don't have any links
1645 as_ln_s='cp -p'
1646 else
1647 as_ln_s='ln -s'
1648 fi
1649elif ln conf$$.file conf$$ 2>/dev/null; then
1650 as_ln_s=ln
1651else
1652 as_ln_s='cp -p'
1653fi
1654rm -f conf$$ conf$$.exe conf$$.file
1655
1656if mkdir -p . 2>/dev/null; then
1657 as_mkdir_p=:
1658else
1659 test -d ./-p && rmdir ./-p
1660 as_mkdir_p=false
1661fi
1662
1663as_executable_p="test -f"
1664
1665# Sed expression to map a string onto a valid CPP name.
1666as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1667
1668# Sed expression to map a string onto a valid variable name.
1669as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1670
1671
1672# IFS
1673# We need space, tab and new line, in precisely that order.
1674as_nl='
1675'
1676IFS=" $as_nl"
1677
1678# CDPATH.
1679$as_unset CDPATH
1680
1681exec 6>&1
1682
1683# Open the log real soon, to keep \$[0] and so on meaningful, and to
1684# report actual input values of CONFIG_FILES etc. instead of their
1685# values after options handling. Logging --version etc. is OK.
1686exec 5>>config.log
1687{
1688 echo
1689 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1690## Running $as_me. ##
1691_ASBOX
1692} >&5
1693cat >&5 <<_CSEOF
1694
1695This file was extended by $as_me, which was
1696generated by GNU Autoconf 2.59. Invocation command line was
1697
1698 CONFIG_FILES = $CONFIG_FILES
1699 CONFIG_HEADERS = $CONFIG_HEADERS
1700 CONFIG_LINKS = $CONFIG_LINKS
1701 CONFIG_COMMANDS = $CONFIG_COMMANDS
1702 $ $0 $@
1703
1704_CSEOF
1705echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1706echo >&5
1707_ACEOF
1708
1709# Files that config.status was made for.
1710if test -n "$ac_config_files"; then
1711 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1712fi
1713
1714if test -n "$ac_config_headers"; then
1715 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1716fi
1717
1718if test -n "$ac_config_links"; then
1719 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1720fi
1721
1722if test -n "$ac_config_commands"; then
1723 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1724fi
1725
1726cat >>$CONFIG_STATUS <<\_ACEOF
1727
1728ac_cs_usage="\
1729\`$as_me' instantiates files from templates according to the
1730current configuration.
1731
1732Usage: $0 [OPTIONS] [FILE]...
1733
1734 -h, --help print this help, then exit
1735 -V, --version print version number, then exit
1736 -q, --quiet do not print progress messages
1737 -d, --debug don't remove temporary files
1738 --recheck update $as_me by reconfiguring in the same conditions
1739 --file=FILE[:TEMPLATE]
1740 instantiate the configuration file FILE
1741
1742Configuration files:
1743$config_files
1744
1745Report bugs to <[email protected]>."
1746_ACEOF
1747
1748cat >>$CONFIG_STATUS <<_ACEOF
1749ac_cs_version="\\
1750config.status
1751configured by $0, generated by GNU Autoconf 2.59,
1752 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1753
1754Copyright (C) 2003 Free Software Foundation, Inc.
1755This config.status script is free software; the Free Software Foundation
1756gives unlimited permission to copy, distribute and modify it."
1757srcdir=$srcdir
1758_ACEOF
1759
1760cat >>$CONFIG_STATUS <<\_ACEOF
1761# If no file are specified by the user, then we need to provide default
1762# value. By we need to know if files were specified by the user.
1763ac_need_defaults=:
1764while test $# != 0
1765do
1766 case $1 in
1767 --*=*)
1768 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1769 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1770 ac_shift=:
1771 ;;
1772 -*)
1773 ac_option=$1
1774 ac_optarg=$2
1775 ac_shift=shift
1776 ;;
1777 *) # This is not an option, so the user has probably given explicit
1778 # arguments.
1779 ac_option=$1
1780 ac_need_defaults=false;;
1781 esac
1782
1783 case $ac_option in
1784 # Handling of the options.
1785_ACEOF
1786cat >>$CONFIG_STATUS <<\_ACEOF
1787 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1788 ac_cs_recheck=: ;;
1789 --version | --vers* | -V )
1790 echo "$ac_cs_version"; exit 0 ;;
1791 --he | --h)
1792 # Conflict between --help and --header
1793 { { echo "$as_me:$LINENO: error: ambiguous option: $1
1794Try \`$0 --help' for more information." >&5
1795echo "$as_me: error: ambiguous option: $1
1796Try \`$0 --help' for more information." >&2;}
1797 { (exit 1); exit 1; }; };;
1798 --help | --hel | -h )
1799 echo "$ac_cs_usage"; exit 0 ;;
1800 --debug | --d* | -d )
1801 debug=: ;;
1802 --file | --fil | --fi | --f )
1803 $ac_shift
1804 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1805 ac_need_defaults=false;;
1806 --header | --heade | --head | --hea )
1807 $ac_shift
1808 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1809 ac_need_defaults=false;;
1810 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1811 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1812 ac_cs_silent=: ;;
1813
1814 # This is an error.
1815 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1816Try \`$0 --help' for more information." >&5
1817echo "$as_me: error: unrecognized option: $1
1818Try \`$0 --help' for more information." >&2;}
1819 { (exit 1); exit 1; }; } ;;
1820
1821 *) ac_config_targets="$ac_config_targets $1" ;;
1822
1823 esac
1824 shift
1825done
1826
1827ac_configure_extra_args=
1828
1829if $ac_cs_silent; then
1830 exec 6>/dev/null
1831 ac_configure_extra_args="$ac_configure_extra_args --silent"
1832fi
1833
1834_ACEOF
1835cat >>$CONFIG_STATUS <<_ACEOF
1836if \$ac_cs_recheck; then
1837 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1838 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1839fi
1840
1841_ACEOF
1842
1843
1844
1845
1846
1847cat >>$CONFIG_STATUS <<\_ACEOF
1848for ac_config_target in $ac_config_targets
1849do
1850 case "$ac_config_target" in
1851 # Handling of arguments.
1852 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1853 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1854echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1855 { (exit 1); exit 1; }; };;
1856 esac
1857done
1858
1859# If the user did not use the arguments to specify the items to instantiate,
1860# then the envvar interface is used. Set only those that are not.
1861# We use the long form for the default assignment because of an extremely
1862# bizarre bug on SunOS 4.1.3.
1863if $ac_need_defaults; then
1864 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1865fi
1866
1867# Have a temporary directory for convenience. Make it in the build tree
1868# simply because there is no reason to put it here, and in addition,
1869# creating and moving files from /tmp can sometimes cause problems.
1870# Create a temporary directory, and hook for its removal unless debugging.
1871$debug ||
1872{
1873 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1874 trap '{ (exit 1); exit 1; }' 1 2 13 15
1875}
1876
1877# Create a (secure) tmp directory for tmp files.
1878
1879{
1880 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1881 test -n "$tmp" && test -d "$tmp"
1882} ||
1883{
1884 tmp=./confstat$$-$RANDOM
1885 (umask 077 && mkdir $tmp)
1886} ||
1887{
1888 echo "$me: cannot create a temporary directory in ." >&2
1889 { (exit 1); exit 1; }
1890}
1891
1892_ACEOF
1893
1894cat >>$CONFIG_STATUS <<_ACEOF
1895
1896#
1897# CONFIG_FILES section.
1898#
1899
1900# No need to generate the scripts if there are no CONFIG_FILES.
1901# This happens for instance when ./config.status config.h
1902if test -n "\$CONFIG_FILES"; then
1903 # Protect against being on the right side of a sed subst in config.status.
1904 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1905 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1906s,@SHELL@,$SHELL,;t t
1907s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1908s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1909s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1910s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1911s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1912s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1913s,@exec_prefix@,$exec_prefix,;t t
1914s,@prefix@,$prefix,;t t
1915s,@program_transform_name@,$program_transform_name,;t t
1916s,@bindir@,$bindir,;t t
1917s,@sbindir@,$sbindir,;t t
1918s,@libexecdir@,$libexecdir,;t t
1919s,@datadir@,$datadir,;t t
1920s,@sysconfdir@,$sysconfdir,;t t
1921s,@sharedstatedir@,$sharedstatedir,;t t
1922s,@localstatedir@,$localstatedir,;t t
1923s,@libdir@,$libdir,;t t
1924s,@includedir@,$includedir,;t t
1925s,@oldincludedir@,$oldincludedir,;t t
1926s,@infodir@,$infodir,;t t
1927s,@mandir@,$mandir,;t t
1928s,@build_alias@,$build_alias,;t t
1929s,@host_alias@,$host_alias,;t t
1930s,@target_alias@,$target_alias,;t t
1931s,@DEFS@,$DEFS,;t t
1932s,@ECHO_C@,$ECHO_C,;t t
1933s,@ECHO_N@,$ECHO_N,;t t
1934s,@ECHO_T@,$ECHO_T,;t t
1935s,@LIBS@,$LIBS,;t t
1936s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
1937s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
1938s,@subdirs@,$subdirs,;t t
1939s,@LIBOBJS@,$LIBOBJS,;t t
1940s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1941CEOF
1942
1943_ACEOF
1944
1945 cat >>$CONFIG_STATUS <<\_ACEOF
1946 # Split the substitutions into bite-sized pieces for seds with
1947 # small command number limits, like on Digital OSF/1 and HP-UX.
1948 ac_max_sed_lines=48
1949 ac_sed_frag=1 # Number of current file.
1950 ac_beg=1 # First line for current file.
1951 ac_end=$ac_max_sed_lines # Line after last line for current file.
1952 ac_more_lines=:
1953 ac_sed_cmds=
1954 while $ac_more_lines; do
1955 if test $ac_beg -gt 1; then
1956 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1957 else
1958 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1959 fi
1960 if test ! -s $tmp/subs.frag; then
1961 ac_more_lines=false
1962 else
1963 # The purpose of the label and of the branching condition is to
1964 # speed up the sed processing (if there are no `@' at all, there
1965 # is no need to browse any of the substitutions).
1966 # These are the two extra sed commands mentioned above.
1967 (echo ':t
1968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1969 if test -z "$ac_sed_cmds"; then
1970 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1971 else
1972 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1973 fi
1974 ac_sed_frag=`expr $ac_sed_frag + 1`
1975 ac_beg=$ac_end
1976 ac_end=`expr $ac_end + $ac_max_sed_lines`
1977 fi
1978 done
1979 if test -z "$ac_sed_cmds"; then
1980 ac_sed_cmds=cat
1981 fi
1982fi # test -n "$CONFIG_FILES"
1983
1984_ACEOF
1985cat >>$CONFIG_STATUS <<\_ACEOF
1986for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1987 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1988 case $ac_file in
1989 - | *:- | *:-:* ) # input from stdin
1990 cat >$tmp/stdin
1991 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1992 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1993 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1994 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1995 * ) ac_file_in=$ac_file.in ;;
1996 esac
1997
1998 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1999 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2000$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2001 X"$ac_file" : 'X\(//\)[^/]' \| \
2002 X"$ac_file" : 'X\(//\)$' \| \
2003 X"$ac_file" : 'X\(/\)' \| \
2004 . : '\(.\)' 2>/dev/null ||
2005echo X"$ac_file" |
2006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2008 /^X\(\/\/\)$/{ s//\1/; q; }
2009 /^X\(\/\).*/{ s//\1/; q; }
2010 s/.*/./; q'`
2011 { if $as_mkdir_p; then
2012 mkdir -p "$ac_dir"
2013 else
2014 as_dir="$ac_dir"
2015 as_dirs=
2016 while test ! -d "$as_dir"; do
2017 as_dirs="$as_dir $as_dirs"
2018 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2019$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2020 X"$as_dir" : 'X\(//\)[^/]' \| \
2021 X"$as_dir" : 'X\(//\)$' \| \
2022 X"$as_dir" : 'X\(/\)' \| \
2023 . : '\(.\)' 2>/dev/null ||
2024echo X"$as_dir" |
2025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2026 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2027 /^X\(\/\/\)$/{ s//\1/; q; }
2028 /^X\(\/\).*/{ s//\1/; q; }
2029 s/.*/./; q'`
2030 done
2031 test ! -n "$as_dirs" || mkdir $as_dirs
2032 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2033echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2034 { (exit 1); exit 1; }; }; }
2035
2036 ac_builddir=.
2037
2038if test "$ac_dir" != .; then
2039 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2040 # A "../" for each directory in $ac_dir_suffix.
2041 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2042else
2043 ac_dir_suffix= ac_top_builddir=
2044fi
2045
2046case $srcdir in
2047 .) # No --srcdir option. We are building in place.
2048 ac_srcdir=.
2049 if test -z "$ac_top_builddir"; then
2050 ac_top_srcdir=.
2051 else
2052 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2053 fi ;;
2054 [\\/]* | ?:[\\/]* ) # Absolute path.
2055 ac_srcdir=$srcdir$ac_dir_suffix;
2056 ac_top_srcdir=$srcdir ;;
2057 *) # Relative path.
2058 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2059 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2060esac
2061
2062# Do not use `cd foo && pwd` to compute absolute paths, because
2063# the directories may not exist.
2064case `pwd` in
2065.) ac_abs_builddir="$ac_dir";;
2066*)
2067 case "$ac_dir" in
2068 .) ac_abs_builddir=`pwd`;;
2069 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2070 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2071 esac;;
2072esac
2073case $ac_abs_builddir in
2074.) ac_abs_top_builddir=${ac_top_builddir}.;;
2075*)
2076 case ${ac_top_builddir}. in
2077 .) ac_abs_top_builddir=$ac_abs_builddir;;
2078 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2079 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2080 esac;;
2081esac
2082case $ac_abs_builddir in
2083.) ac_abs_srcdir=$ac_srcdir;;
2084*)
2085 case $ac_srcdir in
2086 .) ac_abs_srcdir=$ac_abs_builddir;;
2087 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2088 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2089 esac;;
2090esac
2091case $ac_abs_builddir in
2092.) ac_abs_top_srcdir=$ac_top_srcdir;;
2093*)
2094 case $ac_top_srcdir in
2095 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2096 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2097 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2098 esac;;
2099esac
2100
2101
2102
2103 if test x"$ac_file" != x-; then
2104 { echo "$as_me:$LINENO: creating $ac_file" >&5
2105echo "$as_me: creating $ac_file" >&6;}
2106 rm -f "$ac_file"
2107 fi
2108 # Let's still pretend it is `configure' which instantiates (i.e., don't
2109 # use $as_me), people would be surprised to read:
2110 # /* config.h. Generated by config.status. */
2111 if test x"$ac_file" = x-; then
2112 configure_input=
2113 else
2114 configure_input="$ac_file. "
2115 fi
2116 configure_input=$configure_input"Generated from `echo $ac_file_in |
2117 sed 's,.*/,,'` by configure."
2118
2119 # First look for the input files in the build tree, otherwise in the
2120 # src tree.
2121 ac_file_inputs=`IFS=:
2122 for f in $ac_file_in; do
2123 case $f in
2124 -) echo $tmp/stdin ;;
2125 [\\/$]*)
2126 # Absolute (can't be DOS-style, as IFS=:)
2127 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2128echo "$as_me: error: cannot find input file: $f" >&2;}
2129 { (exit 1); exit 1; }; }
2130 echo "$f";;
2131 *) # Relative
2132 if test -f "$f"; then
2133 # Build tree
2134 echo "$f"
2135 elif test -f "$srcdir/$f"; then
2136 # Source tree
2137 echo "$srcdir/$f"
2138 else
2139 # /dev/null tree
2140 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2141echo "$as_me: error: cannot find input file: $f" >&2;}
2142 { (exit 1); exit 1; }; }
2143 fi;;
2144 esac
2145 done` || { (exit 1); exit 1; }
2146_ACEOF
2147cat >>$CONFIG_STATUS <<_ACEOF
2148 sed "$ac_vpsub
2149$extrasub
2150_ACEOF
2151cat >>$CONFIG_STATUS <<\_ACEOF
2152:t
2153/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2154s,@configure_input@,$configure_input,;t t
2155s,@srcdir@,$ac_srcdir,;t t
2156s,@abs_srcdir@,$ac_abs_srcdir,;t t
2157s,@top_srcdir@,$ac_top_srcdir,;t t
2158s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2159s,@builddir@,$ac_builddir,;t t
2160s,@abs_builddir@,$ac_abs_builddir,;t t
2161s,@top_builddir@,$ac_top_builddir,;t t
2162s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2163" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2164 rm -f $tmp/stdin
2165 if test x"$ac_file" != x-; then
2166 mv $tmp/out $ac_file
2167 else
2168 cat $tmp/out
2169 rm -f $tmp/out
2170 fi
2171
2172done
2173_ACEOF
2174
2175cat >>$CONFIG_STATUS <<\_ACEOF
2176
2177{ (exit 0); exit 0; }
2178_ACEOF
2179chmod +x $CONFIG_STATUS
2180ac_clean_files=$ac_clean_files_save
2181
2182
2183# configure is writing to config.log, and then calls config.status.
2184# config.status does its own redirection, appending to config.log.
2185# Unfortunately, on DOS this fails, as config.log is still kept open
2186# by configure, so config.status won't be able to write to it; its
2187# output is simply discarded. So we exec the FD to /dev/null,
2188# effectively closing config.log, so it can be properly (re)opened and
2189# appended to by config.status. When coming back to configure, we
2190# need to make the FD available again.
2191if test "$no_create" != yes; then
2192 ac_cs_success=:
2193 ac_config_status_args=
2194 test "$silent" = yes &&
2195 ac_config_status_args="$ac_config_status_args --quiet"
2196 exec 5>/dev/null
2197 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2198 exec 5>>config.log
2199 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2200 # would make configure fail if this is the last instruction.
2201 $ac_cs_success || { (exit 1); exit 1; }
2202fi
2203
2204#
2205# CONFIG_SUBDIRS section.
2206#
2207if test "$no_recursion" != yes; then
2208
2209 # Remove --cache-file and --srcdir arguments so they do not pile up.
2210 ac_sub_configure_args=
2211 ac_prev=
2212 for ac_arg in $ac_configure_args; do
2213 if test -n "$ac_prev"; then
2214 ac_prev=
2215 continue
2216 fi
2217 case $ac_arg in
2218 -cache-file | --cache-file | --cache-fil | --cache-fi \
2219 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2220 ac_prev=cache_file ;;
2221 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2222 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
2223 | --c=*)
2224 ;;
2225 --config-cache | -C)
2226 ;;
2227 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2228 ac_prev=srcdir ;;
2229 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2230 ;;
2231 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2232 ac_prev=prefix ;;
2233 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2234 ;;
2235 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
2236 esac
2237 done
2238
2239 # Always prepend --prefix to ensure using the same prefix
2240 # in subdir configurations.
2241 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
2242
2243 ac_popdir=`pwd`
2244 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
2245
2246 # Do not complain, so a configure script can configure whichever
2247 # parts of a large source tree are present.
2248 test -d $srcdir/$ac_dir || continue
2249
2250 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
2251echo "$as_me: configuring in $ac_dir" >&6;}
2252 { if $as_mkdir_p; then
2253 mkdir -p "$ac_dir"
2254 else
2255 as_dir="$ac_dir"
2256 as_dirs=
2257 while test ! -d "$as_dir"; do
2258 as_dirs="$as_dir $as_dirs"
2259 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2260$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2261 X"$as_dir" : 'X\(//\)[^/]' \| \
2262 X"$as_dir" : 'X\(//\)$' \| \
2263 X"$as_dir" : 'X\(/\)' \| \
2264 . : '\(.\)' 2>/dev/null ||
2265echo X"$as_dir" |
2266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2267 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2268 /^X\(\/\/\)$/{ s//\1/; q; }
2269 /^X\(\/\).*/{ s//\1/; q; }
2270 s/.*/./; q'`
2271 done
2272 test ! -n "$as_dirs" || mkdir $as_dirs
2273 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2274echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2275 { (exit 1); exit 1; }; }; }
2276
2277 ac_builddir=.
2278
2279if test "$ac_dir" != .; then
2280 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2281 # A "../" for each directory in $ac_dir_suffix.
2282 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2283else
2284 ac_dir_suffix= ac_top_builddir=
2285fi
2286
2287case $srcdir in
2288 .) # No --srcdir option. We are building in place.
2289 ac_srcdir=.
2290 if test -z "$ac_top_builddir"; then
2291 ac_top_srcdir=.
2292 else
2293 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2294 fi ;;
2295 [\\/]* | ?:[\\/]* ) # Absolute path.
2296 ac_srcdir=$srcdir$ac_dir_suffix;
2297 ac_top_srcdir=$srcdir ;;
2298 *) # Relative path.
2299 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2300 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2301esac
2302
2303# Do not use `cd foo && pwd` to compute absolute paths, because
2304# the directories may not exist.
2305case `pwd` in
2306.) ac_abs_builddir="$ac_dir";;
2307*)
2308 case "$ac_dir" in
2309 .) ac_abs_builddir=`pwd`;;
2310 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2311 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2312 esac;;
2313esac
2314case $ac_abs_builddir in
2315.) ac_abs_top_builddir=${ac_top_builddir}.;;
2316*)
2317 case ${ac_top_builddir}. in
2318 .) ac_abs_top_builddir=$ac_abs_builddir;;
2319 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2320 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2321 esac;;
2322esac
2323case $ac_abs_builddir in
2324.) ac_abs_srcdir=$ac_srcdir;;
2325*)
2326 case $ac_srcdir in
2327 .) ac_abs_srcdir=$ac_abs_builddir;;
2328 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2329 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2330 esac;;
2331esac
2332case $ac_abs_builddir in
2333.) ac_abs_top_srcdir=$ac_top_srcdir;;
2334*)
2335 case $ac_top_srcdir in
2336 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2337 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2338 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2339 esac;;
2340esac
2341
2342
2343 cd $ac_dir
2344
2345 # Check for guested configure; otherwise get Cygnus style configure.
2346 if test -f $ac_srcdir/configure.gnu; then
2347 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
2348 elif test -f $ac_srcdir/configure; then
2349 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
2350 elif test -f $ac_srcdir/configure.in; then
2351 ac_sub_configure=$ac_configure
2352 else
2353 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
2354echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
2355 ac_sub_configure=
2356 fi
2357
2358 # The recursion is here.
2359 if test -n "$ac_sub_configure"; then
2360 # Make the cache file name correct relative to the subdirectory.
2361 case $cache_file in
2362 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
2363 *) # Relative path.
2364 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
2365 esac
2366
2367 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
2368echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
2369 # The eval makes quoting arguments work.
2370 eval $ac_sub_configure $ac_sub_configure_args \
2371 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
2372 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
2373echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
2374 { (exit 1); exit 1; }; }
2375 fi
2376
2377 cd $ac_popdir
2378 done
2379fi
2380
Note: See TracBrowser for help on using the repository browser.