source: indexers/branches/3.03a/configure@ 14757

Last change on this file since 14757 was 13703, checked in by kjdon, 17 years ago

some configure and make files for the new indexers package

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 70.9 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 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
1243
1244# Check whether --with-unac or --without-unac was given.
1245if test "${with_unac+set}" = set; then
1246 withval="$with_unac"
1247 UNAC_DIR=$withval
1248fi;
1249
1250if test $ENABLE_ACCENTFOLD = 1; then
1251ac_aux_dir=
1252for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1253 if test -f $ac_dir/install-sh; then
1254 ac_aux_dir=$ac_dir
1255 ac_install_sh="$ac_aux_dir/install-sh -c"
1256 break
1257 elif test -f $ac_dir/install.sh; then
1258 ac_aux_dir=$ac_dir
1259 ac_install_sh="$ac_aux_dir/install.sh -c"
1260 break
1261 elif test -f $ac_dir/shtool; then
1262 ac_aux_dir=$ac_dir
1263 ac_install_sh="$ac_aux_dir/shtool install -c"
1264 break
1265 fi
1266done
1267if test -z "$ac_aux_dir"; then
1268 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1269echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1270 { (exit 1); exit 1; }; }
1271fi
1272ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1273ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1274ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1275
1276
1277
1278subdirs="$subdirs packages/unac"
1279
1280fi
1281
1282
1283
1284subdirs="$subdirs mg mgpp"
1285
1286
1287 ac_config_files="$ac_config_files Makefile"
1288cat >confcache <<\_ACEOF
1289# This file is a shell script that caches the results of configure
1290# tests run on this system so they can be shared between configure
1291# scripts and configure runs, see configure's option --config-cache.
1292# It is not useful on other systems. If it contains results you don't
1293# want to keep, you may remove or edit it.
1294#
1295# config.status only pays attention to the cache file if you give it
1296# the --recheck option to rerun configure.
1297#
1298# `ac_cv_env_foo' variables (set or unset) will be overridden when
1299# loading this file, other *unset* `ac_cv_foo' will be assigned the
1300# following values.
1301
1302_ACEOF
1303
1304# The following way of writing the cache mishandles newlines in values,
1305# but we know of no workaround that is simple, portable, and efficient.
1306# So, don't put newlines in cache variables' values.
1307# Ultrix sh set writes to stderr and can't be redirected directly,
1308# and sets the high bit in the cache file unless we assign to the vars.
1309{
1310 (set) 2>&1 |
1311 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1312 *ac_space=\ *)
1313 # `set' does not quote correctly, so add quotes (double-quote
1314 # substitution turns \\\\ into \\, and sed turns \\ into \).
1315 sed -n \
1316 "s/'/'\\\\''/g;
1317 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1318 ;;
1319 *)
1320 # `set' quotes correctly as required by POSIX, so do not add quotes.
1321 sed -n \
1322 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1323 ;;
1324 esac;
1325} |
1326 sed '
1327 t clear
1328 : clear
1329 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1330 t end
1331 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1332 : end' >>confcache
1333if diff $cache_file confcache >/dev/null 2>&1; then :; else
1334 if test -w $cache_file; then
1335 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1336 cat confcache >$cache_file
1337 else
1338 echo "not updating unwritable cache $cache_file"
1339 fi
1340fi
1341rm -f confcache
1342
1343test "x$prefix" = xNONE && prefix=$ac_default_prefix
1344# Let make expand exec_prefix.
1345test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1346
1347# VPATH may cause trouble with some makes, so we remove $(srcdir),
1348# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1349# trailing colons and then remove the whole line if VPATH becomes empty
1350# (actually we leave an empty line to preserve line numbers).
1351if test "x$srcdir" = x.; then
1352 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1353s/:*\$(srcdir):*/:/;
1354s/:*\${srcdir}:*/:/;
1355s/:*@srcdir@:*/:/;
1356s/^\([^=]*=[ ]*\):*/\1/;
1357s/:*$//;
1358s/^[^=]*=[ ]*$//;
1359}'
1360fi
1361
1362# Transform confdefs.h into DEFS.
1363# Protect against shell expansion while executing Makefile rules.
1364# Protect against Makefile macro expansion.
1365#
1366# If the first sed substitution is executed (which looks for macros that
1367# take arguments), then we branch to the quote section. Otherwise,
1368# look for a macro that doesn't take arguments.
1369cat >confdef2opt.sed <<\_ACEOF
1370t clear
1371: clear
1372s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1373t quote
1374s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1375t quote
1376d
1377: quote
1378s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1379s,\[,\\&,g
1380s,\],\\&,g
1381s,\$,$$,g
1382p
1383_ACEOF
1384# We use echo to avoid assuming a particular line-breaking character.
1385# The extra dot is to prevent the shell from consuming trailing
1386# line-breaks from the sub-command output. A line-break within
1387# single-quotes doesn't work because, if this script is created in a
1388# platform that uses two characters for line-breaks (e.g., DOS), tr
1389# would break.
1390ac_LF_and_DOT=`echo; echo .`
1391DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1392rm -f confdef2opt.sed
1393
1394
1395ac_libobjs=
1396ac_ltlibobjs=
1397for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1398 # 1. Remove the extension, and $U if already installed.
1399 ac_i=`echo "$ac_i" |
1400 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1401 # 2. Add them.
1402 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1403 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1404done
1405LIBOBJS=$ac_libobjs
1406
1407LTLIBOBJS=$ac_ltlibobjs
1408
1409
1410
1411: ${CONFIG_STATUS=./config.status}
1412ac_clean_files_save=$ac_clean_files
1413ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1414{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1415echo "$as_me: creating $CONFIG_STATUS" >&6;}
1416cat >$CONFIG_STATUS <<_ACEOF
1417#! $SHELL
1418# Generated by $as_me.
1419# Run this file to recreate the current configuration.
1420# Compiler output produced by configure, useful for debugging
1421# configure, is in config.log if it exists.
1422
1423debug=false
1424ac_cs_recheck=false
1425ac_cs_silent=false
1426SHELL=\${CONFIG_SHELL-$SHELL}
1427_ACEOF
1428
1429cat >>$CONFIG_STATUS <<\_ACEOF
1430## --------------------- ##
1431## M4sh Initialization. ##
1432## --------------------- ##
1433
1434# Be Bourne compatible
1435if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1436 emulate sh
1437 NULLCMD=:
1438 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1439 # is contrary to our usage. Disable this feature.
1440 alias -g '${1+"$@"}'='"$@"'
1441elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1442 set -o posix
1443fi
1444DUALCASE=1; export DUALCASE # for MKS sh
1445
1446# Support unset when possible.
1447if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1448 as_unset=unset
1449else
1450 as_unset=false
1451fi
1452
1453
1454# Work around bugs in pre-3.0 UWIN ksh.
1455$as_unset ENV MAIL MAILPATH
1456PS1='$ '
1457PS2='> '
1458PS4='+ '
1459
1460# NLS nuisances.
1461for as_var in \
1462 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1463 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1464 LC_TELEPHONE LC_TIME
1465do
1466 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1467 eval $as_var=C; export $as_var
1468 else
1469 $as_unset $as_var
1470 fi
1471done
1472
1473# Required to use basename.
1474if expr a : '\(a\)' >/dev/null 2>&1; then
1475 as_expr=expr
1476else
1477 as_expr=false
1478fi
1479
1480if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1481 as_basename=basename
1482else
1483 as_basename=false
1484fi
1485
1486
1487# Name of the executable.
1488as_me=`$as_basename "$0" ||
1489$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)$' \| \
1492 . : '\(.\)' 2>/dev/null ||
1493echo X/"$0" |
1494 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1495 /^X\/\(\/\/\)$/{ s//\1/; q; }
1496 /^X\/\(\/\).*/{ s//\1/; q; }
1497 s/.*/./; q'`
1498
1499
1500# PATH needs CR, and LINENO needs CR and PATH.
1501# Avoid depending upon Character Ranges.
1502as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1503as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1504as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1505as_cr_digits='0123456789'
1506as_cr_alnum=$as_cr_Letters$as_cr_digits
1507
1508# The user is always right.
1509if test "${PATH_SEPARATOR+set}" != set; then
1510 echo "#! /bin/sh" >conf$$.sh
1511 echo "exit 0" >>conf$$.sh
1512 chmod +x conf$$.sh
1513 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1514 PATH_SEPARATOR=';'
1515 else
1516 PATH_SEPARATOR=:
1517 fi
1518 rm -f conf$$.sh
1519fi
1520
1521
1522 as_lineno_1=$LINENO
1523 as_lineno_2=$LINENO
1524 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1525 test "x$as_lineno_1" != "x$as_lineno_2" &&
1526 test "x$as_lineno_3" = "x$as_lineno_2" || {
1527 # Find who we are. Look in the path if we contain no path at all
1528 # relative or not.
1529 case $0 in
1530 *[\\/]* ) as_myself=$0 ;;
1531 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532for as_dir in $PATH
1533do
1534 IFS=$as_save_IFS
1535 test -z "$as_dir" && as_dir=.
1536 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1537done
1538
1539 ;;
1540 esac
1541 # We did not find ourselves, most probably we were run as `sh COMMAND'
1542 # in which case we are not to be found in the path.
1543 if test "x$as_myself" = x; then
1544 as_myself=$0
1545 fi
1546 if test ! -f "$as_myself"; then
1547 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1548echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1549 { (exit 1); exit 1; }; }
1550 fi
1551 case $CONFIG_SHELL in
1552 '')
1553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1554for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1555do
1556 IFS=$as_save_IFS
1557 test -z "$as_dir" && as_dir=.
1558 for as_base in sh bash ksh sh5; do
1559 case $as_dir in
1560 /*)
1561 if ("$as_dir/$as_base" -c '
1562 as_lineno_1=$LINENO
1563 as_lineno_2=$LINENO
1564 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1565 test "x$as_lineno_1" != "x$as_lineno_2" &&
1566 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1567 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1568 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1569 CONFIG_SHELL=$as_dir/$as_base
1570 export CONFIG_SHELL
1571 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1572 fi;;
1573 esac
1574 done
1575done
1576;;
1577 esac
1578
1579 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1580 # uniformly replaced by the line number. The first 'sed' inserts a
1581 # line-number line before each line; the second 'sed' does the real
1582 # work. The second script uses 'N' to pair each line-number line
1583 # with the numbered line, and appends trailing '-' during
1584 # substitution so that $LINENO is not a special case at line end.
1585 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1586 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1587 sed '=' <$as_myself |
1588 sed '
1589 N
1590 s,$,-,
1591 : loop
1592 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1593 t loop
1594 s,-$,,
1595 s,^['$as_cr_digits']*\n,,
1596 ' >$as_me.lineno &&
1597 chmod +x $as_me.lineno ||
1598 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1599echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1600 { (exit 1); exit 1; }; }
1601
1602 # Don't try to exec as it changes $[0], causing all sort of problems
1603 # (the dirname of $[0] is not the place where we might find the
1604 # original and so on. Autoconf is especially sensible to this).
1605 . ./$as_me.lineno
1606 # Exit status is that of the last command.
1607 exit
1608}
1609
1610
1611case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1612 *c*,-n*) ECHO_N= ECHO_C='
1613' ECHO_T=' ' ;;
1614 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1615 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1616esac
1617
1618if expr a : '\(a\)' >/dev/null 2>&1; then
1619 as_expr=expr
1620else
1621 as_expr=false
1622fi
1623
1624rm -f conf$$ conf$$.exe conf$$.file
1625echo >conf$$.file
1626if ln -s conf$$.file conf$$ 2>/dev/null; then
1627 # We could just check for DJGPP; but this test a) works b) is more generic
1628 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1629 if test -f conf$$.exe; then
1630 # Don't use ln at all; we don't have any links
1631 as_ln_s='cp -p'
1632 else
1633 as_ln_s='ln -s'
1634 fi
1635elif ln conf$$.file conf$$ 2>/dev/null; then
1636 as_ln_s=ln
1637else
1638 as_ln_s='cp -p'
1639fi
1640rm -f conf$$ conf$$.exe conf$$.file
1641
1642if mkdir -p . 2>/dev/null; then
1643 as_mkdir_p=:
1644else
1645 test -d ./-p && rmdir ./-p
1646 as_mkdir_p=false
1647fi
1648
1649as_executable_p="test -f"
1650
1651# Sed expression to map a string onto a valid CPP name.
1652as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1653
1654# Sed expression to map a string onto a valid variable name.
1655as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1656
1657
1658# IFS
1659# We need space, tab and new line, in precisely that order.
1660as_nl='
1661'
1662IFS=" $as_nl"
1663
1664# CDPATH.
1665$as_unset CDPATH
1666
1667exec 6>&1
1668
1669# Open the log real soon, to keep \$[0] and so on meaningful, and to
1670# report actual input values of CONFIG_FILES etc. instead of their
1671# values after options handling. Logging --version etc. is OK.
1672exec 5>>config.log
1673{
1674 echo
1675 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1676## Running $as_me. ##
1677_ASBOX
1678} >&5
1679cat >&5 <<_CSEOF
1680
1681This file was extended by $as_me, which was
1682generated by GNU Autoconf 2.59. Invocation command line was
1683
1684 CONFIG_FILES = $CONFIG_FILES
1685 CONFIG_HEADERS = $CONFIG_HEADERS
1686 CONFIG_LINKS = $CONFIG_LINKS
1687 CONFIG_COMMANDS = $CONFIG_COMMANDS
1688 $ $0 $@
1689
1690_CSEOF
1691echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1692echo >&5
1693_ACEOF
1694
1695# Files that config.status was made for.
1696if test -n "$ac_config_files"; then
1697 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1698fi
1699
1700if test -n "$ac_config_headers"; then
1701 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1702fi
1703
1704if test -n "$ac_config_links"; then
1705 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1706fi
1707
1708if test -n "$ac_config_commands"; then
1709 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1710fi
1711
1712cat >>$CONFIG_STATUS <<\_ACEOF
1713
1714ac_cs_usage="\
1715\`$as_me' instantiates files from templates according to the
1716current configuration.
1717
1718Usage: $0 [OPTIONS] [FILE]...
1719
1720 -h, --help print this help, then exit
1721 -V, --version print version number, then exit
1722 -q, --quiet do not print progress messages
1723 -d, --debug don't remove temporary files
1724 --recheck update $as_me by reconfiguring in the same conditions
1725 --file=FILE[:TEMPLATE]
1726 instantiate the configuration file FILE
1727
1728Configuration files:
1729$config_files
1730
1731Report bugs to <[email protected]>."
1732_ACEOF
1733
1734cat >>$CONFIG_STATUS <<_ACEOF
1735ac_cs_version="\\
1736config.status
1737configured by $0, generated by GNU Autoconf 2.59,
1738 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1739
1740Copyright (C) 2003 Free Software Foundation, Inc.
1741This config.status script is free software; the Free Software Foundation
1742gives unlimited permission to copy, distribute and modify it."
1743srcdir=$srcdir
1744_ACEOF
1745
1746cat >>$CONFIG_STATUS <<\_ACEOF
1747# If no file are specified by the user, then we need to provide default
1748# value. By we need to know if files were specified by the user.
1749ac_need_defaults=:
1750while test $# != 0
1751do
1752 case $1 in
1753 --*=*)
1754 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1755 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1756 ac_shift=:
1757 ;;
1758 -*)
1759 ac_option=$1
1760 ac_optarg=$2
1761 ac_shift=shift
1762 ;;
1763 *) # This is not an option, so the user has probably given explicit
1764 # arguments.
1765 ac_option=$1
1766 ac_need_defaults=false;;
1767 esac
1768
1769 case $ac_option in
1770 # Handling of the options.
1771_ACEOF
1772cat >>$CONFIG_STATUS <<\_ACEOF
1773 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1774 ac_cs_recheck=: ;;
1775 --version | --vers* | -V )
1776 echo "$ac_cs_version"; exit 0 ;;
1777 --he | --h)
1778 # Conflict between --help and --header
1779 { { echo "$as_me:$LINENO: error: ambiguous option: $1
1780Try \`$0 --help' for more information." >&5
1781echo "$as_me: error: ambiguous option: $1
1782Try \`$0 --help' for more information." >&2;}
1783 { (exit 1); exit 1; }; };;
1784 --help | --hel | -h )
1785 echo "$ac_cs_usage"; exit 0 ;;
1786 --debug | --d* | -d )
1787 debug=: ;;
1788 --file | --fil | --fi | --f )
1789 $ac_shift
1790 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
1791 ac_need_defaults=false;;
1792 --header | --heade | --head | --hea )
1793 $ac_shift
1794 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
1795 ac_need_defaults=false;;
1796 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1797 | -silent | --silent | --silen | --sile | --sil | --si | --s)
1798 ac_cs_silent=: ;;
1799
1800 # This is an error.
1801 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
1802Try \`$0 --help' for more information." >&5
1803echo "$as_me: error: unrecognized option: $1
1804Try \`$0 --help' for more information." >&2;}
1805 { (exit 1); exit 1; }; } ;;
1806
1807 *) ac_config_targets="$ac_config_targets $1" ;;
1808
1809 esac
1810 shift
1811done
1812
1813ac_configure_extra_args=
1814
1815if $ac_cs_silent; then
1816 exec 6>/dev/null
1817 ac_configure_extra_args="$ac_configure_extra_args --silent"
1818fi
1819
1820_ACEOF
1821cat >>$CONFIG_STATUS <<_ACEOF
1822if \$ac_cs_recheck; then
1823 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
1824 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1825fi
1826
1827_ACEOF
1828
1829
1830
1831
1832
1833cat >>$CONFIG_STATUS <<\_ACEOF
1834for ac_config_target in $ac_config_targets
1835do
1836 case "$ac_config_target" in
1837 # Handling of arguments.
1838 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1839 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
1840echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1841 { (exit 1); exit 1; }; };;
1842 esac
1843done
1844
1845# If the user did not use the arguments to specify the items to instantiate,
1846# then the envvar interface is used. Set only those that are not.
1847# We use the long form for the default assignment because of an extremely
1848# bizarre bug on SunOS 4.1.3.
1849if $ac_need_defaults; then
1850 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1851fi
1852
1853# Have a temporary directory for convenience. Make it in the build tree
1854# simply because there is no reason to put it here, and in addition,
1855# creating and moving files from /tmp can sometimes cause problems.
1856# Create a temporary directory, and hook for its removal unless debugging.
1857$debug ||
1858{
1859 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1860 trap '{ (exit 1); exit 1; }' 1 2 13 15
1861}
1862
1863# Create a (secure) tmp directory for tmp files.
1864
1865{
1866 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
1867 test -n "$tmp" && test -d "$tmp"
1868} ||
1869{
1870 tmp=./confstat$$-$RANDOM
1871 (umask 077 && mkdir $tmp)
1872} ||
1873{
1874 echo "$me: cannot create a temporary directory in ." >&2
1875 { (exit 1); exit 1; }
1876}
1877
1878_ACEOF
1879
1880cat >>$CONFIG_STATUS <<_ACEOF
1881
1882#
1883# CONFIG_FILES section.
1884#
1885
1886# No need to generate the scripts if there are no CONFIG_FILES.
1887# This happens for instance when ./config.status config.h
1888if test -n "\$CONFIG_FILES"; then
1889 # Protect against being on the right side of a sed subst in config.status.
1890 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1891 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1892s,@SHELL@,$SHELL,;t t
1893s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1894s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1895s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1896s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1897s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1898s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1899s,@exec_prefix@,$exec_prefix,;t t
1900s,@prefix@,$prefix,;t t
1901s,@program_transform_name@,$program_transform_name,;t t
1902s,@bindir@,$bindir,;t t
1903s,@sbindir@,$sbindir,;t t
1904s,@libexecdir@,$libexecdir,;t t
1905s,@datadir@,$datadir,;t t
1906s,@sysconfdir@,$sysconfdir,;t t
1907s,@sharedstatedir@,$sharedstatedir,;t t
1908s,@localstatedir@,$localstatedir,;t t
1909s,@libdir@,$libdir,;t t
1910s,@includedir@,$includedir,;t t
1911s,@oldincludedir@,$oldincludedir,;t t
1912s,@infodir@,$infodir,;t t
1913s,@mandir@,$mandir,;t t
1914s,@build_alias@,$build_alias,;t t
1915s,@host_alias@,$host_alias,;t t
1916s,@target_alias@,$target_alias,;t t
1917s,@DEFS@,$DEFS,;t t
1918s,@ECHO_C@,$ECHO_C,;t t
1919s,@ECHO_N@,$ECHO_N,;t t
1920s,@ECHO_T@,$ECHO_T,;t t
1921s,@LIBS@,$LIBS,;t t
1922s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
1923s,@subdirs@,$subdirs,;t t
1924s,@LIBOBJS@,$LIBOBJS,;t t
1925s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1926CEOF
1927
1928_ACEOF
1929
1930 cat >>$CONFIG_STATUS <<\_ACEOF
1931 # Split the substitutions into bite-sized pieces for seds with
1932 # small command number limits, like on Digital OSF/1 and HP-UX.
1933 ac_max_sed_lines=48
1934 ac_sed_frag=1 # Number of current file.
1935 ac_beg=1 # First line for current file.
1936 ac_end=$ac_max_sed_lines # Line after last line for current file.
1937 ac_more_lines=:
1938 ac_sed_cmds=
1939 while $ac_more_lines; do
1940 if test $ac_beg -gt 1; then
1941 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1942 else
1943 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1944 fi
1945 if test ! -s $tmp/subs.frag; then
1946 ac_more_lines=false
1947 else
1948 # The purpose of the label and of the branching condition is to
1949 # speed up the sed processing (if there are no `@' at all, there
1950 # is no need to browse any of the substitutions).
1951 # These are the two extra sed commands mentioned above.
1952 (echo ':t
1953 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1954 if test -z "$ac_sed_cmds"; then
1955 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1956 else
1957 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1958 fi
1959 ac_sed_frag=`expr $ac_sed_frag + 1`
1960 ac_beg=$ac_end
1961 ac_end=`expr $ac_end + $ac_max_sed_lines`
1962 fi
1963 done
1964 if test -z "$ac_sed_cmds"; then
1965 ac_sed_cmds=cat
1966 fi
1967fi # test -n "$CONFIG_FILES"
1968
1969_ACEOF
1970cat >>$CONFIG_STATUS <<\_ACEOF
1971for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1972 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1973 case $ac_file in
1974 - | *:- | *:-:* ) # input from stdin
1975 cat >$tmp/stdin
1976 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1977 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1978 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1979 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1980 * ) ac_file_in=$ac_file.in ;;
1981 esac
1982
1983 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1984 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
1985$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1986 X"$ac_file" : 'X\(//\)[^/]' \| \
1987 X"$ac_file" : 'X\(//\)$' \| \
1988 X"$ac_file" : 'X\(/\)' \| \
1989 . : '\(.\)' 2>/dev/null ||
1990echo X"$ac_file" |
1991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1992 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1993 /^X\(\/\/\)$/{ s//\1/; q; }
1994 /^X\(\/\).*/{ s//\1/; q; }
1995 s/.*/./; q'`
1996 { if $as_mkdir_p; then
1997 mkdir -p "$ac_dir"
1998 else
1999 as_dir="$ac_dir"
2000 as_dirs=
2001 while test ! -d "$as_dir"; do
2002 as_dirs="$as_dir $as_dirs"
2003 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2004$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2005 X"$as_dir" : 'X\(//\)[^/]' \| \
2006 X"$as_dir" : 'X\(//\)$' \| \
2007 X"$as_dir" : 'X\(/\)' \| \
2008 . : '\(.\)' 2>/dev/null ||
2009echo X"$as_dir" |
2010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2011 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2012 /^X\(\/\/\)$/{ s//\1/; q; }
2013 /^X\(\/\).*/{ s//\1/; q; }
2014 s/.*/./; q'`
2015 done
2016 test ! -n "$as_dirs" || mkdir $as_dirs
2017 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2018echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2019 { (exit 1); exit 1; }; }; }
2020
2021 ac_builddir=.
2022
2023if test "$ac_dir" != .; then
2024 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2025 # A "../" for each directory in $ac_dir_suffix.
2026 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2027else
2028 ac_dir_suffix= ac_top_builddir=
2029fi
2030
2031case $srcdir in
2032 .) # No --srcdir option. We are building in place.
2033 ac_srcdir=.
2034 if test -z "$ac_top_builddir"; then
2035 ac_top_srcdir=.
2036 else
2037 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2038 fi ;;
2039 [\\/]* | ?:[\\/]* ) # Absolute path.
2040 ac_srcdir=$srcdir$ac_dir_suffix;
2041 ac_top_srcdir=$srcdir ;;
2042 *) # Relative path.
2043 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2044 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2045esac
2046
2047# Do not use `cd foo && pwd` to compute absolute paths, because
2048# the directories may not exist.
2049case `pwd` in
2050.) ac_abs_builddir="$ac_dir";;
2051*)
2052 case "$ac_dir" in
2053 .) ac_abs_builddir=`pwd`;;
2054 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2055 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2056 esac;;
2057esac
2058case $ac_abs_builddir in
2059.) ac_abs_top_builddir=${ac_top_builddir}.;;
2060*)
2061 case ${ac_top_builddir}. in
2062 .) ac_abs_top_builddir=$ac_abs_builddir;;
2063 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2064 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2065 esac;;
2066esac
2067case $ac_abs_builddir in
2068.) ac_abs_srcdir=$ac_srcdir;;
2069*)
2070 case $ac_srcdir in
2071 .) ac_abs_srcdir=$ac_abs_builddir;;
2072 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2073 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2074 esac;;
2075esac
2076case $ac_abs_builddir in
2077.) ac_abs_top_srcdir=$ac_top_srcdir;;
2078*)
2079 case $ac_top_srcdir in
2080 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2081 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2082 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2083 esac;;
2084esac
2085
2086
2087
2088 if test x"$ac_file" != x-; then
2089 { echo "$as_me:$LINENO: creating $ac_file" >&5
2090echo "$as_me: creating $ac_file" >&6;}
2091 rm -f "$ac_file"
2092 fi
2093 # Let's still pretend it is `configure' which instantiates (i.e., don't
2094 # use $as_me), people would be surprised to read:
2095 # /* config.h. Generated by config.status. */
2096 if test x"$ac_file" = x-; then
2097 configure_input=
2098 else
2099 configure_input="$ac_file. "
2100 fi
2101 configure_input=$configure_input"Generated from `echo $ac_file_in |
2102 sed 's,.*/,,'` by configure."
2103
2104 # First look for the input files in the build tree, otherwise in the
2105 # src tree.
2106 ac_file_inputs=`IFS=:
2107 for f in $ac_file_in; do
2108 case $f in
2109 -) echo $tmp/stdin ;;
2110 [\\/$]*)
2111 # Absolute (can't be DOS-style, as IFS=:)
2112 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2113echo "$as_me: error: cannot find input file: $f" >&2;}
2114 { (exit 1); exit 1; }; }
2115 echo "$f";;
2116 *) # Relative
2117 if test -f "$f"; then
2118 # Build tree
2119 echo "$f"
2120 elif test -f "$srcdir/$f"; then
2121 # Source tree
2122 echo "$srcdir/$f"
2123 else
2124 # /dev/null tree
2125 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2126echo "$as_me: error: cannot find input file: $f" >&2;}
2127 { (exit 1); exit 1; }; }
2128 fi;;
2129 esac
2130 done` || { (exit 1); exit 1; }
2131_ACEOF
2132cat >>$CONFIG_STATUS <<_ACEOF
2133 sed "$ac_vpsub
2134$extrasub
2135_ACEOF
2136cat >>$CONFIG_STATUS <<\_ACEOF
2137:t
2138/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2139s,@configure_input@,$configure_input,;t t
2140s,@srcdir@,$ac_srcdir,;t t
2141s,@abs_srcdir@,$ac_abs_srcdir,;t t
2142s,@top_srcdir@,$ac_top_srcdir,;t t
2143s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2144s,@builddir@,$ac_builddir,;t t
2145s,@abs_builddir@,$ac_abs_builddir,;t t
2146s,@top_builddir@,$ac_top_builddir,;t t
2147s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2148" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2149 rm -f $tmp/stdin
2150 if test x"$ac_file" != x-; then
2151 mv $tmp/out $ac_file
2152 else
2153 cat $tmp/out
2154 rm -f $tmp/out
2155 fi
2156
2157done
2158_ACEOF
2159
2160cat >>$CONFIG_STATUS <<\_ACEOF
2161
2162{ (exit 0); exit 0; }
2163_ACEOF
2164chmod +x $CONFIG_STATUS
2165ac_clean_files=$ac_clean_files_save
2166
2167
2168# configure is writing to config.log, and then calls config.status.
2169# config.status does its own redirection, appending to config.log.
2170# Unfortunately, on DOS this fails, as config.log is still kept open
2171# by configure, so config.status won't be able to write to it; its
2172# output is simply discarded. So we exec the FD to /dev/null,
2173# effectively closing config.log, so it can be properly (re)opened and
2174# appended to by config.status. When coming back to configure, we
2175# need to make the FD available again.
2176if test "$no_create" != yes; then
2177 ac_cs_success=:
2178 ac_config_status_args=
2179 test "$silent" = yes &&
2180 ac_config_status_args="$ac_config_status_args --quiet"
2181 exec 5>/dev/null
2182 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2183 exec 5>>config.log
2184 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2185 # would make configure fail if this is the last instruction.
2186 $ac_cs_success || { (exit 1); exit 1; }
2187fi
2188
2189#
2190# CONFIG_SUBDIRS section.
2191#
2192if test "$no_recursion" != yes; then
2193
2194 # Remove --cache-file and --srcdir arguments so they do not pile up.
2195 ac_sub_configure_args=
2196 ac_prev=
2197 for ac_arg in $ac_configure_args; do
2198 if test -n "$ac_prev"; then
2199 ac_prev=
2200 continue
2201 fi
2202 case $ac_arg in
2203 -cache-file | --cache-file | --cache-fil | --cache-fi \
2204 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2205 ac_prev=cache_file ;;
2206 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2207 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
2208 | --c=*)
2209 ;;
2210 --config-cache | -C)
2211 ;;
2212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2213 ac_prev=srcdir ;;
2214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2215 ;;
2216 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2217 ac_prev=prefix ;;
2218 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2219 ;;
2220 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
2221 esac
2222 done
2223
2224 # Always prepend --prefix to ensure using the same prefix
2225 # in subdir configurations.
2226 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
2227
2228 ac_popdir=`pwd`
2229 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
2230
2231 # Do not complain, so a configure script can configure whichever
2232 # parts of a large source tree are present.
2233 test -d $srcdir/$ac_dir || continue
2234
2235 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
2236echo "$as_me: configuring in $ac_dir" >&6;}
2237 { if $as_mkdir_p; then
2238 mkdir -p "$ac_dir"
2239 else
2240 as_dir="$ac_dir"
2241 as_dirs=
2242 while test ! -d "$as_dir"; do
2243 as_dirs="$as_dir $as_dirs"
2244 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2245$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2246 X"$as_dir" : 'X\(//\)[^/]' \| \
2247 X"$as_dir" : 'X\(//\)$' \| \
2248 X"$as_dir" : 'X\(/\)' \| \
2249 . : '\(.\)' 2>/dev/null ||
2250echo X"$as_dir" |
2251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2252 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2253 /^X\(\/\/\)$/{ s//\1/; q; }
2254 /^X\(\/\).*/{ s//\1/; q; }
2255 s/.*/./; q'`
2256 done
2257 test ! -n "$as_dirs" || mkdir $as_dirs
2258 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2259echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2260 { (exit 1); exit 1; }; }; }
2261
2262 ac_builddir=.
2263
2264if test "$ac_dir" != .; then
2265 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2266 # A "../" for each directory in $ac_dir_suffix.
2267 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2268else
2269 ac_dir_suffix= ac_top_builddir=
2270fi
2271
2272case $srcdir in
2273 .) # No --srcdir option. We are building in place.
2274 ac_srcdir=.
2275 if test -z "$ac_top_builddir"; then
2276 ac_top_srcdir=.
2277 else
2278 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2279 fi ;;
2280 [\\/]* | ?:[\\/]* ) # Absolute path.
2281 ac_srcdir=$srcdir$ac_dir_suffix;
2282 ac_top_srcdir=$srcdir ;;
2283 *) # Relative path.
2284 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2285 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2286esac
2287
2288# Do not use `cd foo && pwd` to compute absolute paths, because
2289# the directories may not exist.
2290case `pwd` in
2291.) ac_abs_builddir="$ac_dir";;
2292*)
2293 case "$ac_dir" in
2294 .) ac_abs_builddir=`pwd`;;
2295 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2296 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2297 esac;;
2298esac
2299case $ac_abs_builddir in
2300.) ac_abs_top_builddir=${ac_top_builddir}.;;
2301*)
2302 case ${ac_top_builddir}. in
2303 .) ac_abs_top_builddir=$ac_abs_builddir;;
2304 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2305 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2306 esac;;
2307esac
2308case $ac_abs_builddir in
2309.) ac_abs_srcdir=$ac_srcdir;;
2310*)
2311 case $ac_srcdir in
2312 .) ac_abs_srcdir=$ac_abs_builddir;;
2313 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2314 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2315 esac;;
2316esac
2317case $ac_abs_builddir in
2318.) ac_abs_top_srcdir=$ac_top_srcdir;;
2319*)
2320 case $ac_top_srcdir in
2321 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2322 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2323 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2324 esac;;
2325esac
2326
2327
2328 cd $ac_dir
2329
2330 # Check for guested configure; otherwise get Cygnus style configure.
2331 if test -f $ac_srcdir/configure.gnu; then
2332 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
2333 elif test -f $ac_srcdir/configure; then
2334 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
2335 elif test -f $ac_srcdir/configure.in; then
2336 ac_sub_configure=$ac_configure
2337 else
2338 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
2339echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
2340 ac_sub_configure=
2341 fi
2342
2343 # The recursion is here.
2344 if test -n "$ac_sub_configure"; then
2345 # Make the cache file name correct relative to the subdirectory.
2346 case $cache_file in
2347 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
2348 *) # Relative path.
2349 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
2350 esac
2351
2352 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
2353echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
2354 # The eval makes quoting arguments work.
2355 eval $ac_sub_configure $ac_sub_configure_args \
2356 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
2357 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
2358echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
2359 { (exit 1); exit 1; }; }
2360 fi
2361
2362 cd $ac_popdir
2363 done
2364fi
2365
2366
2367
Note: See TracBrowser for help on using the repository browser.