source: indexers/trunk/configure@ 15560

Last change on this file since 15560 was 15560, checked in by davidb, 14 years ago

Addition of COMPAT32BITFLAGS so mg and mgpp can compile on a 64-bit machine

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