* automake.texi: Fix some typos.
[automake.git] / configure
blob8b2f17dabc748415e5aacf12d62c35e2060c5a08
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57a for GNU Automake 1.7.4a.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
51 done
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
98 rm -f conf$$.sh
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
156 esac
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 as_mkdir_p=false
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
239 IFS=" $as_nl"
241 # CDPATH.
242 $as_unset CDPATH
245 # Name of the host.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250 exec 6>&1
253 # Initializations.
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
257 cross_compiling=no
258 subdirs=
259 MFLAGS=
260 MAKEFLAGS=
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
269 PACKAGE_NAME='GNU Automake'
270 PACKAGE_TARNAME='automake'
271 PACKAGE_VERSION='1.7.4a'
272 PACKAGE_STRING='GNU Automake 1.7.4a'
273 PACKAGE_BUGREPORT='bug-automake@gnu.org'
275 ac_unique_file="automake.in"
276 ac_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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot APIVERSION pkgvdatadir PERL TEX LN EGREP FGREP LIBOBJS LTLIBOBJS'
277 ac_subst_files=''
279 # Initialize some variables set by options.
280 ac_init_help=
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
284 cache_file=/dev/null
285 exec_prefix=NONE
286 no_create=
287 no_recursion=
288 prefix=NONE
289 program_prefix=NONE
290 program_suffix=NONE
291 program_transform_name=s,x,x,
292 silent=
293 site=
294 srcdir=
295 verbose=
296 x_includes=NONE
297 x_libraries=NONE
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
317 ac_prev=
318 for ac_option
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
323 ac_prev=
324 continue
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
331 case $ac_option in
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 ac_prev=bindir ;;
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 bindir=$ac_optarg ;;
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
350 --config-cache | -C)
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 ac_prev=datadir ;;
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 | --da=*)
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 case $ac_option in
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 *) ac_optarg=yes ;;
378 esac
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
392 with_gas=yes ;;
394 -help | --help | --hel | --he | -h)
395 ac_init_help=long ;;
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 ac_prev=infodir ;;
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
419 ac_prev=libdir ;;
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 libdir=$ac_optarg ;;
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 ac_prev=mandir ;;
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442 mandir=$ac_optarg ;;
444 -nfp | --nfp | --nf)
445 # Obsolete; use --without-fp.
446 with_fp=no ;;
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
450 no_create=yes ;;
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454 no_recursion=yes ;;
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 ac_prev=prefix ;;
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 prefix=$ac_optarg ;;
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
503 silent=yes ;;
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 ac_prev=sbindir ;;
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 | --sbi=* | --sb=*)
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
514 | --sha | --sh)
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 | --sha=* | --sh=*)
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
523 ac_prev=site ;;
524 -site=* | --site=* | --sit=*)
525 site=$ac_optarg ;;
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 ac_prev=srcdir ;;
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 srcdir=$ac_optarg ;;
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 verbose=yes ;;
547 -version | --version | --versio | --versi | --vers | -V)
548 ac_init_version=: ;;
550 -with-* | --with-*)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 case $ac_option in
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 *) ac_optarg=yes ;;
560 esac
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
572 --x)
573 # Obsolete; use --with-x.
574 with_x=yes ;;
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
595 *=*)
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
603 export $ac_envvar ;;
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
613 esac
614 done
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
626 case $ac_val in
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
630 esac
631 done
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
638 case $ac_val in
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
642 esac
643 done
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
648 build=$build_alias
649 host=$host_alias
650 target=$target_alias
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
659 cross_compiling=yes
663 ac_tool_prefix=
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
679 echo X"$0" |
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
684 s/.*/./; q'`
685 srcdir=$ac_confdir
686 if test ! -r $srcdir/$ac_unique_file; then
687 srcdir=..
689 else
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
696 else
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
719 # Report the --help message.
721 if test "$ac_init_help" = "long"; then
722 # Omit some internal or obsolete options to make the list less imposing.
723 # This message is too long to be a string in the A/UX 3.1 sh.
724 cat <<_ACEOF
725 \`configure' configures GNU Automake 1.7.4a to adapt to many kinds of systems.
727 Usage: $0 [OPTION]... [VAR=VALUE]...
729 To assign environment variables (e.g., CC, CFLAGS...), specify them as
730 VAR=VALUE. See below for descriptions of some of the useful variables.
732 Defaults for the options are specified in brackets.
734 Configuration:
735 -h, --help display this help and exit
736 --help=short display options specific to this package
737 --help=recursive display the short help of all the included packages
738 -V, --version display version information and exit
739 -q, --quiet, --silent do not print \`checking...' messages
740 --cache-file=FILE cache test results in FILE [disabled]
741 -C, --config-cache alias for \`--cache-file=config.cache'
742 -n, --no-create do not create output files
743 --srcdir=DIR find the sources in DIR [configure dir or \`..']
745 _ACEOF
747 cat <<_ACEOF
748 Installation directories:
749 --prefix=PREFIX install architecture-independent files in PREFIX
750 [$ac_default_prefix]
751 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
752 [PREFIX]
754 By default, \`make install' will install all the files in
755 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
756 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
757 for instance \`--prefix=\$HOME'.
759 For better control, use the options below.
761 Fine tuning of the installation directories:
762 --bindir=DIR user executables [EPREFIX/bin]
763 --sbindir=DIR system admin executables [EPREFIX/sbin]
764 --libexecdir=DIR program executables [EPREFIX/libexec]
765 --datadir=DIR read-only architecture-independent data [PREFIX/share]
766 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
767 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
768 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
769 --libdir=DIR object code libraries [EPREFIX/lib]
770 --includedir=DIR C header files [PREFIX/include]
771 --oldincludedir=DIR C header files for non-gcc [/usr/include]
772 --infodir=DIR info documentation [PREFIX/info]
773 --mandir=DIR man documentation [PREFIX/man]
774 _ACEOF
776 cat <<\_ACEOF
778 Program names:
779 --program-prefix=PREFIX prepend PREFIX to installed program names
780 --program-suffix=SUFFIX append SUFFIX to installed program names
781 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
782 _ACEOF
785 if test -n "$ac_init_help"; then
786 case $ac_init_help in
787 short | recursive ) echo "Configuration of GNU Automake 1.7.4a:";;
788 esac
789 cat <<\_ACEOF
791 Report bugs to <bug-automake@gnu.org>.
792 _ACEOF
795 if test "$ac_init_help" = "recursive"; then
796 # If there are subdirs, report their specific --help.
797 ac_popdir=`pwd`
798 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
799 test -d $ac_dir || continue
800 ac_builddir=.
802 if test "$ac_dir" != .; then
803 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
804 # A "../" for each directory in $ac_dir_suffix.
805 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
806 else
807 ac_dir_suffix= ac_top_builddir=
810 case $srcdir in
811 .) # No --srcdir option. We are building in place.
812 ac_srcdir=.
813 if test -z "$ac_top_builddir"; then
814 ac_top_srcdir=.
815 else
816 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
817 fi ;;
818 [\\/]* | ?:[\\/]* ) # Absolute path.
819 ac_srcdir=$srcdir$ac_dir_suffix;
820 ac_top_srcdir=$srcdir ;;
821 *) # Relative path.
822 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
823 ac_top_srcdir=$ac_top_builddir$srcdir ;;
824 esac
825 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
826 # absolute.
827 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
828 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
829 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
830 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
832 cd $ac_dir
833 # Check for guested configure; otherwise get Cygnus style configure.
834 if test -f $ac_srcdir/configure.gnu; then
835 echo
836 $SHELL $ac_srcdir/configure.gnu --help=recursive
837 elif test -f $ac_srcdir/configure; then
838 echo
839 $SHELL $ac_srcdir/configure --help=recursive
840 elif test -f $ac_srcdir/configure.ac ||
841 test -f $ac_srcdir/configure.in; then
842 echo
843 $ac_configure --help
844 else
845 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
847 cd $ac_popdir
848 done
851 test -n "$ac_init_help" && exit 0
852 if $ac_init_version; then
853 cat <<\_ACEOF
854 GNU Automake configure 1.7.4a
855 generated by GNU Autoconf 2.57a
857 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
858 Free Software Foundation, Inc.
859 This configure script is free software; the Free Software Foundation
860 gives unlimited permission to copy, distribute and modify it.
861 _ACEOF
862 exit 0
864 exec 5>config.log
865 cat >&5 <<_ACEOF
866 This file contains any messages produced by compilers while
867 running configure, to aid debugging if configure makes a mistake.
869 It was created by GNU Automake $as_me 1.7.4a, which was
870 generated by GNU Autoconf 2.57a. Invocation command line was
872 $ $0 $@
874 _ACEOF
876 cat <<_ASUNAME
877 ## --------- ##
878 ## Platform. ##
879 ## --------- ##
881 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
882 uname -m = `(uname -m) 2>/dev/null || echo unknown`
883 uname -r = `(uname -r) 2>/dev/null || echo unknown`
884 uname -s = `(uname -s) 2>/dev/null || echo unknown`
885 uname -v = `(uname -v) 2>/dev/null || echo unknown`
887 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
888 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
890 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
891 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
892 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
893 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
894 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
895 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
896 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
898 _ASUNAME
900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
901 for as_dir in $PATH
903 IFS=$as_save_IFS
904 test -z "$as_dir" && as_dir=.
905 echo "PATH: $as_dir"
906 done
908 } >&5
910 cat >&5 <<_ACEOF
913 ## ----------- ##
914 ## Core tests. ##
915 ## ----------- ##
917 _ACEOF
920 # Keep a trace of the command line.
921 # Strip out --no-create and --no-recursion so they do not pile up.
922 # Strip out --silent because we don't want to record it for future runs.
923 # Also quote any args containing shell meta-characters.
924 # Make two passes to allow for proper duplicate-argument suppression.
925 ac_configure_args=
926 ac_configure_args0=
927 ac_configure_args1=
928 ac_sep=
929 ac_must_keep_next=false
930 for ac_pass in 1 2
932 for ac_arg
934 case $ac_arg in
935 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
937 | -silent | --silent | --silen | --sile | --sil)
938 continue ;;
939 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
940 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
941 esac
942 case $ac_pass in
943 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
945 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
946 if test $ac_must_keep_next = true; then
947 ac_must_keep_next=false # Got value, back to normal.
948 else
949 case $ac_arg in
950 *=* | --config-cache | -C | -disable-* | --disable-* \
951 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
952 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
953 | -with-* | --with-* | -without-* | --without-* | --x)
954 case "$ac_configure_args0 " in
955 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
956 esac
958 -* ) ac_must_keep_next=true ;;
959 esac
961 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
962 # Get rid of the leading space.
963 ac_sep=" "
965 esac
966 done
967 done
968 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
969 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
971 # When interrupted or exit'd, cleanup temporary files, and complete
972 # config.log. We remove comments because anyway the quotes in there
973 # would cause problems or look ugly.
974 # WARNING: Be sure not to use single quotes in there, as some shells,
975 # such as our DU 5.0 friend, will then `close' the trap.
976 trap 'exit_status=$?
977 # Save into config.log some information that might help in debugging.
979 echo
981 cat <<\_ASBOX
982 ## ---------------- ##
983 ## Cache variables. ##
984 ## ---------------- ##
985 _ASBOX
986 echo
987 # The following way of writing the cache mishandles newlines in values,
989 (set) 2>&1 |
990 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
991 *ac_space=\ *)
992 sed -n \
993 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
997 sed -n \
998 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1000 esac;
1002 echo
1004 cat <<\_ASBOX
1005 ## ----------------- ##
1006 ## Output variables. ##
1007 ## ----------------- ##
1008 _ASBOX
1009 echo
1010 for ac_var in $ac_subst_vars
1012 eval ac_val=$`echo $ac_var`
1013 echo "$ac_var='"'"'$ac_val'"'"'"
1014 done | sort
1015 echo
1017 if test -n "$ac_subst_files"; then
1018 cat <<\_ASBOX
1019 ## ------------- ##
1020 ## Output files. ##
1021 ## ------------- ##
1022 _ASBOX
1023 echo
1024 for ac_var in $ac_subst_files
1026 eval ac_val=$`echo $ac_var`
1027 echo "$ac_var='"'"'$ac_val'"'"'"
1028 done | sort
1029 echo
1032 if test -s confdefs.h; then
1033 cat <<\_ASBOX
1034 ## ----------- ##
1035 ## confdefs.h. ##
1036 ## ----------- ##
1037 _ASBOX
1038 echo
1039 sed "/^$/d" confdefs.h | sort
1040 echo
1042 test "$ac_signal" != 0 &&
1043 echo "$as_me: caught signal $ac_signal"
1044 echo "$as_me: exit $exit_status"
1045 } >&5
1046 rm -f core core.* *.core &&
1047 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1048 exit $exit_status
1050 for ac_signal in 1 2 13 15; do
1051 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1052 done
1053 ac_signal=0
1055 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1056 rm -rf conftest* confdefs.h
1057 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1058 echo >confdefs.h
1060 # Predefined preprocessor variables.
1062 cat >>confdefs.h <<_ACEOF
1063 #define PACKAGE_NAME "$PACKAGE_NAME"
1064 _ACEOF
1067 cat >>confdefs.h <<_ACEOF
1068 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1069 _ACEOF
1072 cat >>confdefs.h <<_ACEOF
1073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1074 _ACEOF
1077 cat >>confdefs.h <<_ACEOF
1078 #define PACKAGE_STRING "$PACKAGE_STRING"
1079 _ACEOF
1082 cat >>confdefs.h <<_ACEOF
1083 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1084 _ACEOF
1087 # Let the site file select an alternate cache file if it wants to.
1088 # Prefer explicitly selected file to automatically selected ones.
1089 if test -z "$CONFIG_SITE"; then
1090 if test "x$prefix" != xNONE; then
1091 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1092 else
1093 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1096 for ac_site_file in $CONFIG_SITE; do
1097 if test -r "$ac_site_file"; then
1098 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1099 echo "$as_me: loading site script $ac_site_file" >&6;}
1100 sed 's/^/| /' "$ac_site_file" >&5
1101 . "$ac_site_file"
1103 done
1105 if test -r "$cache_file"; then
1106 # Some versions of bash will fail to source /dev/null (special
1107 # files actually), so we avoid doing that.
1108 if test -f "$cache_file"; then
1109 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1110 echo "$as_me: loading cache $cache_file" >&6;}
1111 case $cache_file in
1112 [\\/]* | ?:[\\/]* ) . $cache_file;;
1113 *) . ./$cache_file;;
1114 esac
1116 else
1117 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1118 echo "$as_me: creating cache $cache_file" >&6;}
1119 >$cache_file
1122 # Check that the precious variables saved in the cache have kept the same
1123 # value.
1124 ac_cache_corrupted=false
1125 for ac_var in `(set) 2>&1 |
1126 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1127 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1128 eval ac_new_set=\$ac_env_${ac_var}_set
1129 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1130 eval ac_new_val="\$ac_env_${ac_var}_value"
1131 case $ac_old_set,$ac_new_set in
1132 set,)
1133 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1134 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1135 ac_cache_corrupted=: ;;
1136 ,set)
1137 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1138 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1139 ac_cache_corrupted=: ;;
1140 ,);;
1142 if test "x$ac_old_val" != "x$ac_new_val"; then
1143 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1144 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1145 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1146 echo "$as_me: former value: $ac_old_val" >&2;}
1147 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1148 echo "$as_me: current value: $ac_new_val" >&2;}
1149 ac_cache_corrupted=:
1150 fi;;
1151 esac
1152 # Pass precious variables to config.status.
1153 if test "$ac_new_set" = set; then
1154 case $ac_new_val in
1155 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1156 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1157 *) ac_arg=$ac_var=$ac_new_val ;;
1158 esac
1159 case " $ac_configure_args " in
1160 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1161 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1162 esac
1164 done
1165 if $ac_cache_corrupted; then
1166 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1167 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1168 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1169 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1170 { (exit 1); exit 1; }; }
1173 ac_ext=c
1174 ac_cpp='$CPP $CPPFLAGS'
1175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1207 ac_aux_dir=
1208 for ac_dir in lib $srcdir/lib; do
1209 if test -f $ac_dir/install-sh; then
1210 ac_aux_dir=$ac_dir
1211 ac_install_sh="$ac_aux_dir/install-sh -c"
1212 break
1213 elif test -f $ac_dir/install.sh; then
1214 ac_aux_dir=$ac_dir
1215 ac_install_sh="$ac_aux_dir/install.sh -c"
1216 break
1217 elif test -f $ac_dir/shtool; then
1218 ac_aux_dir=$ac_dir
1219 ac_install_sh="$ac_aux_dir/shtool install -c"
1220 break
1222 done
1223 if test -z "$ac_aux_dir"; then
1224 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1225 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1226 { (exit 1); exit 1; }; }
1228 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1229 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1230 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1233 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it;
1234 # this way we can run Autoconf tests from configure without being
1235 # bothered by `missing'.
1236 am_AUTOCONF=${AUTOCONF-autoconf}
1238 am__api_version="1.7"
1239 # Find a good install program. We prefer a C program (faster),
1240 # so one script is as good as another. But avoid the broken or
1241 # incompatible versions:
1242 # SysV /etc/install, /usr/sbin/install
1243 # SunOS /usr/etc/install
1244 # IRIX /sbin/install
1245 # AIX /bin/install
1246 # AmigaOS /C/install, which installs bootblocks on floppy discs
1247 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1248 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1249 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1250 # OS/2's system install, which has a completely different semantic
1251 # ./install, which can be erroneously created by make from ./install.sh.
1252 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1253 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1254 if test -z "$INSTALL"; then
1255 if test "${ac_cv_path_install+set}" = set; then
1256 echo $ECHO_N "(cached) $ECHO_C" >&6
1257 else
1258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1259 for as_dir in $PATH
1261 IFS=$as_save_IFS
1262 test -z "$as_dir" && as_dir=.
1263 # Account for people who put trailing slashes in PATH elements.
1264 case $as_dir/ in
1265 ./ | .// | /cC/* | \
1266 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1267 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1268 /usr/ucb/* ) ;;
1270 # OSF1 and SCO ODT 3.0 have their own names for install.
1271 # Don't use installbsd from OSF since it installs stuff as root
1272 # by default.
1273 for ac_prog in ginstall scoinst install; do
1274 for ac_exec_ext in '' $ac_executable_extensions; do
1275 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1276 if test $ac_prog = install &&
1277 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1278 # AIX install. It has an incompatible calling convention.
1280 elif test $ac_prog = install &&
1281 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1282 # program-specific install script used by HP pwplus--don't use.
1284 else
1285 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1286 break 3
1289 done
1290 done
1292 esac
1293 done
1297 if test "${ac_cv_path_install+set}" = set; then
1298 INSTALL=$ac_cv_path_install
1299 else
1300 # As a last resort, use the slow shell script. We don't cache a
1301 # path for INSTALL within a source directory, because that will
1302 # break other packages using the cache if that directory is
1303 # removed, or if the path is relative.
1304 INSTALL=$ac_install_sh
1307 echo "$as_me:$LINENO: result: $INSTALL" >&5
1308 echo "${ECHO_T}$INSTALL" >&6
1310 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1311 # It thinks the first close brace ends the variable substitution.
1312 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1314 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1316 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1318 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1319 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1320 # Just in case
1321 sleep 1
1322 echo timestamp > conftest.file
1323 # Do `set' in a subshell so we don't clobber the current shell's
1324 # arguments. Must try -L first in case configure is actually a
1325 # symlink; some systems play weird games with the mod time of symlinks
1326 # (eg FreeBSD returns the mod time of the symlink's containing
1327 # directory).
1328 if (
1329 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1330 if test "$*" = "X"; then
1331 # -L didn't work.
1332 set X `ls -t $srcdir/configure conftest.file`
1334 rm -f conftest.file
1335 if test "$*" != "X $srcdir/configure conftest.file" \
1336 && test "$*" != "X conftest.file $srcdir/configure"; then
1338 # If neither matched, then we have a broken ls. This can happen
1339 # if, for instance, CONFIG_SHELL is bash and it inherits a
1340 # broken ls alias from the environment. This has actually
1341 # happened. Such a system could not be considered "sane".
1342 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1343 alias in your environment" >&5
1344 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1345 alias in your environment" >&2;}
1346 { (exit 1); exit 1; }; }
1349 test "$2" = conftest.file
1351 then
1352 # Ok.
1354 else
1355 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1356 Check your system clock" >&5
1357 echo "$as_me: error: newly created file is older than distributed files!
1358 Check your system clock" >&2;}
1359 { (exit 1); exit 1; }; }
1361 echo "$as_me:$LINENO: result: yes" >&5
1362 echo "${ECHO_T}yes" >&6
1363 test "$program_prefix" != NONE &&
1364 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1365 # Use a double $ so make ignores it.
1366 test "$program_suffix" != NONE &&
1367 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1368 # Double any \ or $. echo might interpret backslashes.
1369 # By default was `s,x,x', remove it if useless.
1370 cat <<\_ACEOF >conftest.sed
1371 s/[\\$]/&&/g;s/;s,x,x,$//
1372 _ACEOF
1373 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1374 rm conftest.sed
1377 # expand $ac_aux_dir to an absolute path
1378 am_aux_dir=`cd $ac_aux_dir && pwd`
1380 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1381 # Use eval to expand $SHELL
1382 if eval "$MISSING --run true"; then
1383 am_missing_run="$MISSING --run "
1384 else
1385 am_missing_run=
1386 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1387 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1390 for ac_prog in gawk mawk nawk awk
1392 # Extract the first word of "$ac_prog", so it can be a program name with args.
1393 set dummy $ac_prog; ac_word=$2
1394 echo "$as_me:$LINENO: checking for $ac_word" >&5
1395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1396 if test "${ac_cv_prog_AWK+set}" = set; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 else
1399 if test -n "$AWK"; then
1400 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1401 else
1402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1403 for as_dir in $PATH
1405 IFS=$as_save_IFS
1406 test -z "$as_dir" && as_dir=.
1407 for ac_exec_ext in '' $ac_executable_extensions; do
1408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1409 ac_cv_prog_AWK="$ac_prog"
1410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1411 break 2
1413 done
1414 done
1418 AWK=$ac_cv_prog_AWK
1419 if test -n "$AWK"; then
1420 echo "$as_me:$LINENO: result: $AWK" >&5
1421 echo "${ECHO_T}$AWK" >&6
1422 else
1423 echo "$as_me:$LINENO: result: no" >&5
1424 echo "${ECHO_T}no" >&6
1427 test -n "$AWK" && break
1428 done
1430 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1431 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1432 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1433 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1434 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 else
1436 cat >conftest.make <<\_ACEOF
1437 all:
1438 @echo 'ac_maketemp="$(MAKE)"'
1439 _ACEOF
1440 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1441 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1442 if test -n "$ac_maketemp"; then
1443 eval ac_cv_prog_make_${ac_make}_set=yes
1444 else
1445 eval ac_cv_prog_make_${ac_make}_set=no
1447 rm -f conftest.make
1449 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1450 echo "$as_me:$LINENO: result: yes" >&5
1451 echo "${ECHO_T}yes" >&6
1452 SET_MAKE=
1453 else
1454 echo "$as_me:$LINENO: result: no" >&5
1455 echo "${ECHO_T}no" >&6
1456 SET_MAKE="MAKE=${MAKE-make}"
1459 rm -rf .tst 2>/dev/null
1460 mkdir .tst 2>/dev/null
1461 if test -d .tst; then
1462 am__leading_dot=.
1463 else
1464 am__leading_dot=_
1466 rmdir .tst 2>/dev/null
1468 # test to see if srcdir already configured
1469 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1470 test -f $srcdir/config.status; then
1471 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1472 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1473 { (exit 1); exit 1; }; }
1476 # test whether we have cygpath
1477 if test -z "$CYGPATH_W"; then
1478 if (cygpath --version) >/dev/null 2>/dev/null; then
1479 CYGPATH_W='cygpath -w'
1480 else
1481 CYGPATH_W=echo
1486 # Define the identity of the package.
1487 PACKAGE='automake'
1488 VERSION='1.7.4a'
1491 cat >>confdefs.h <<_ACEOF
1492 #define PACKAGE "$PACKAGE"
1493 _ACEOF
1496 cat >>confdefs.h <<_ACEOF
1497 #define VERSION "$VERSION"
1498 _ACEOF
1500 # Some tools Automake needs.
1502 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1505 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1508 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1511 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1514 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1517 AMTAR=${AMTAR-"${am_missing_run}tar"}
1519 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1521 # Installed binaries are usually stripped using `strip' when the user
1522 # run `make install-strip'. However `strip' might not be the right
1523 # tool to use in cross-compilation environments, therefore Automake
1524 # will honor the `STRIP' environment variable to overrule this program.
1525 if test "$cross_compiling" != no; then
1526 if test -n "$ac_tool_prefix"; then
1527 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1528 set dummy ${ac_tool_prefix}strip; ac_word=$2
1529 echo "$as_me:$LINENO: checking for $ac_word" >&5
1530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1531 if test "${ac_cv_prog_STRIP+set}" = set; then
1532 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 else
1534 if test -n "$STRIP"; then
1535 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1536 else
1537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1538 for as_dir in $PATH
1540 IFS=$as_save_IFS
1541 test -z "$as_dir" && as_dir=.
1542 for ac_exec_ext in '' $ac_executable_extensions; do
1543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1544 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1546 break 2
1548 done
1549 done
1553 STRIP=$ac_cv_prog_STRIP
1554 if test -n "$STRIP"; then
1555 echo "$as_me:$LINENO: result: $STRIP" >&5
1556 echo "${ECHO_T}$STRIP" >&6
1557 else
1558 echo "$as_me:$LINENO: result: no" >&5
1559 echo "${ECHO_T}no" >&6
1563 if test -z "$ac_cv_prog_STRIP"; then
1564 ac_ct_STRIP=$STRIP
1565 # Extract the first word of "strip", so it can be a program name with args.
1566 set dummy strip; ac_word=$2
1567 echo "$as_me:$LINENO: checking for $ac_word" >&5
1568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1569 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 else
1572 if test -n "$ac_ct_STRIP"; then
1573 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1574 else
1575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1576 for as_dir in $PATH
1578 IFS=$as_save_IFS
1579 test -z "$as_dir" && as_dir=.
1580 for ac_exec_ext in '' $ac_executable_extensions; do
1581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1582 ac_cv_prog_ac_ct_STRIP="strip"
1583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1584 break 2
1586 done
1587 done
1589 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1593 if test -n "$ac_ct_STRIP"; then
1594 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1595 echo "${ECHO_T}$ac_ct_STRIP" >&6
1596 else
1597 echo "$as_me:$LINENO: result: no" >&5
1598 echo "${ECHO_T}no" >&6
1601 STRIP=$ac_ct_STRIP
1602 else
1603 STRIP="$ac_cv_prog_STRIP"
1607 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1609 # We need awk for the "check" target. The system "awk" is bad on
1610 # some platforms.
1615 # The API version is the base version. We must guarantee
1616 # compatibility for all releases with the same API version.
1617 # Our current rule is that:
1618 # * All releases, including the prereleases, in an X.Y series
1619 # are compatible. So 1.5.1c is compatible with 1.5.
1620 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1621 # aren't the same.
1622 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
1625 # A versioned directory, defined here for convenience.
1626 pkgvdatadir="\${datadir}/automake-${APIVERSION}"
1629 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1630 # hence `.' is really what we want for perllibdir and libdir.
1631 ACLOCAL="perllibdir=./lib `pwd`/aclocal --acdir=m4 -I `pwd`/m4"
1632 AUTOMAKE="perllibdir=./lib `pwd`/automake --libdir=lib"
1634 # Extract the first word of "perl", so it can be a program name with args.
1635 set dummy perl; ac_word=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_path_PERL+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1640 else
1641 case $PERL in
1642 [\\/]* | ?:[\\/]*)
1643 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1647 for as_dir in $PATH
1649 IFS=$as_save_IFS
1650 test -z "$as_dir" && as_dir=.
1651 for ac_exec_ext in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1655 break 2
1657 done
1658 done
1661 esac
1663 PERL=$ac_cv_path_PERL
1665 if test -n "$PERL"; then
1666 echo "$as_me:$LINENO: result: $PERL" >&5
1667 echo "${ECHO_T}$PERL" >&6
1668 else
1669 echo "$as_me:$LINENO: result: no" >&5
1670 echo "${ECHO_T}no" >&6
1673 if test -z "$PERL"; then
1674 { { echo "$as_me:$LINENO: error: perl not found" >&5
1675 echo "$as_me: error: perl not found" >&2;}
1676 { (exit 1); exit 1; }; }
1678 $PERL -e 'require 5.005;' || {
1679 { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
1680 echo "$as_me: error: perl 5.005 or better is required" >&2;}
1681 { (exit 1); exit 1; }; }
1684 # The test suite will skip some tests if tex is absent.
1685 # Extract the first word of "tex", so it can be a program name with args.
1686 set dummy tex; ac_word=$2
1687 echo "$as_me:$LINENO: checking for $ac_word" >&5
1688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1689 if test "${ac_cv_prog_TEX+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 else
1692 if test -n "$TEX"; then
1693 ac_cv_prog_TEX="$TEX" # Let the user override the test.
1694 else
1695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1696 for as_dir in $PATH
1698 IFS=$as_save_IFS
1699 test -z "$as_dir" && as_dir=.
1700 for ac_exec_ext in '' $ac_executable_extensions; do
1701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1702 ac_cv_prog_TEX="tex"
1703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 break 2
1706 done
1707 done
1711 TEX=$ac_cv_prog_TEX
1712 if test -n "$TEX"; then
1713 echo "$as_me:$LINENO: result: $TEX" >&5
1714 echo "${ECHO_T}$TEX" >&6
1715 else
1716 echo "$as_me:$LINENO: result: no" >&5
1717 echo "${ECHO_T}no" >&6
1721 # Test for Autoconf. We run Autoconf in a subdirectory to ease
1722 # deletion of any files created (such as those added to
1723 # autom4te.cache).
1724 mkdir conftest
1725 echo 'AC''_PREREQ(2.54)' > conftest/conftest.ac
1726 { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
1727 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
1728 ac_status=$?
1729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1730 (exit $ac_status); } || {
1731 { { echo "$as_me:$LINENO: error: Autoconf 2.54 or better is required.
1732 Is it installed? Is it in your PATH? (try running \`autoconf --version')
1733 Is it working? See also config.log for error messages before this one." >&5
1734 echo "$as_me: error: Autoconf 2.54 or better is required.
1735 Is it installed? Is it in your PATH? (try running \`autoconf --version')
1736 Is it working? See also config.log for error messages before this one." >&2;}
1737 { (exit 1); exit 1; }; }
1739 rm -rf conftest
1741 # Test for ln. We need use it to install the versioned binaries.
1742 echo "$as_me:$LINENO: checking whether ln works" >&5
1743 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1744 if test "${am_cv_prog_ln+set}" = set; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 else
1748 rm -f conftest conftest.file
1749 : >conftest.file
1750 if ln conftest.file conftest 2>/dev/null; then
1751 am_cv_prog_ln=ln
1752 else
1753 am_cv_prog_ln='cp -p'
1755 rm -f conftest conftest.file
1758 LN=$am_cv_prog_ln
1760 result=no
1761 test "x$am_cv_prog_ln" = xln && result=yes
1762 echo "$as_me:$LINENO: result: $result" >&5
1763 echo "${ECHO_T}$result" >&6
1765 # Test for things needed by the test suite.
1766 echo "$as_me:$LINENO: checking for egrep" >&5
1767 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1768 if test "${ac_cv_prog_egrep+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 else
1771 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1772 then ac_cv_prog_egrep='grep -E'
1773 else ac_cv_prog_egrep='egrep'
1776 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1777 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1778 EGREP=$ac_cv_prog_egrep
1781 echo "$as_me:$LINENO: checking for fgrep" >&5
1782 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
1783 if test "${ac_cv_prog_fgrep+set}" = set; then
1784 echo $ECHO_N "(cached) $ECHO_C" >&6
1785 else
1786 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
1787 then ac_cv_prog_fgrep='grep -F'
1788 else ac_cv_prog_fgrep='fgrep'
1791 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
1792 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
1793 FGREP=$ac_cv_prog_fgrep
1797 ac_config_files="$ac_config_files Makefile lib/Automake/Makefile lib/Makefile lib/am/Makefile m4/Makefile m4/amversion.m4:m4/amversion.in tests/Makefile tests/defs"
1800 cat >confcache <<\_ACEOF
1801 # This file is a shell script that caches the results of configure
1802 # tests run on this system so they can be shared between configure
1803 # scripts and configure runs, see configure's option --config-cache.
1804 # It is not useful on other systems. If it contains results you don't
1805 # want to keep, you may remove or edit it.
1807 # config.status only pays attention to the cache file if you give it
1808 # the --recheck option to rerun configure.
1810 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1811 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1812 # following values.
1814 _ACEOF
1816 # The following way of writing the cache mishandles newlines in values,
1817 # but we know of no workaround that is simple, portable, and efficient.
1818 # So, don't put newlines in cache variables' values.
1819 # Ultrix sh set writes to stderr and can't be redirected directly,
1820 # and sets the high bit in the cache file unless we assign to the vars.
1822 (set) 2>&1 |
1823 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1824 *ac_space=\ *)
1825 # `set' does not quote correctly, so add quotes (double-quote
1826 # substitution turns \\\\ into \\, and sed turns \\ into \).
1827 sed -n \
1828 "s/'/'\\\\''/g;
1829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1832 # `set' quotes correctly as required by POSIX, so do not add quotes.
1833 sed -n \
1834 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1836 esac;
1838 sed '
1839 t clear
1840 : clear
1841 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1842 t end
1843 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1844 : end' >>confcache
1845 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1846 if test -w $cache_file; then
1847 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1848 cat confcache >$cache_file
1849 else
1850 echo "not updating unwritable cache $cache_file"
1853 rm -f confcache
1855 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1856 # Let make expand exec_prefix.
1857 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1859 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1860 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1861 # trailing colons and then remove the whole line if VPATH becomes empty
1862 # (actually we leave an empty line to preserve line numbers).
1863 if test "x$srcdir" = x.; then
1864 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1865 s/:*\$(srcdir):*/:/;
1866 s/:*\${srcdir}:*/:/;
1867 s/:*@srcdir@:*/:/;
1868 s/^\([^=]*=[ ]*\):*/\1/;
1869 s/:*$//;
1870 s/^[^=]*=[ ]*$//;
1874 # Transform confdefs.h into DEFS.
1875 # Protect against shell expansion while executing Makefile rules.
1876 # Protect against Makefile macro expansion.
1878 # If the first sed substitution is executed (which looks for macros that
1879 # take arguments), then we branch to the quote section. Otherwise,
1880 # look for a macro that doesn't take arguments.
1881 cat >confdef2opt.sed <<\_ACEOF
1882 t clear
1883 : clear
1884 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1885 t quote
1886 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1887 t quote
1889 : quote
1890 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1891 s,\[,\\&,g
1892 s,\],\\&,g
1893 s,\$,$$,g
1895 _ACEOF
1896 # We use echo to avoid assuming a particular line-breaking character.
1897 # The extra dot is to prevent the shell from consuming trailing
1898 # line-breaks from the sub-command output. A line-break within
1899 # single-quotes doesn't work because, if this script is created in a
1900 # platform that uses two characters for line-breaks (e.g., DOS), tr
1901 # would break.
1902 ac_LF_and_DOT=`echo; echo .`
1903 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1904 rm -f confdef2opt.sed
1907 ac_libobjs=
1908 ac_ltlibobjs=
1909 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1910 # 1. Remove the extension, and $U if already installed.
1911 ac_i=`echo "$ac_i" |
1912 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1913 # 2. Add them.
1914 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1915 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1916 done
1917 LIBOBJS=$ac_libobjs
1919 LTLIBOBJS=$ac_ltlibobjs
1923 : ${CONFIG_STATUS=./config.status}
1924 ac_clean_files_save=$ac_clean_files
1925 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1926 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1927 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1928 cat >$CONFIG_STATUS <<_ACEOF
1929 #! $SHELL
1930 # Generated by $as_me.
1931 # Run this file to recreate the current configuration.
1932 # Compiler output produced by configure, useful for debugging
1933 # configure, is in config.log if it exists.
1935 debug=false
1936 ac_cs_recheck=false
1937 ac_cs_silent=false
1938 SHELL=\${CONFIG_SHELL-$SHELL}
1939 _ACEOF
1941 cat >>$CONFIG_STATUS <<\_ACEOF
1942 ## --------------------- ##
1943 ## M4sh Initialization. ##
1944 ## --------------------- ##
1946 # Be Bourne compatible
1947 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1948 emulate sh
1949 NULLCMD=:
1950 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1951 # is contrary to our usage. Disable this feature.
1952 alias -g '${1+"$@"}'='"$@"'
1953 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1954 set -o posix
1957 # Support unset when possible.
1958 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1959 as_unset=unset
1960 else
1961 as_unset=false
1965 # Work around bugs in pre-3.0 UWIN ksh.
1966 $as_unset ENV MAIL MAILPATH
1967 PS1='$ '
1968 PS2='> '
1969 PS4='+ '
1971 # NLS nuisances.
1972 for as_var in \
1973 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1974 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1975 LC_TELEPHONE LC_TIME
1977 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1978 eval $as_var=C; export $as_var
1979 else
1980 $as_unset $as_var
1982 done
1984 # Required to use basename.
1985 if expr a : '\(a\)' >/dev/null 2>&1; then
1986 as_expr=expr
1987 else
1988 as_expr=false
1991 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1992 as_basename=basename
1993 else
1994 as_basename=false
1998 # Name of the executable.
1999 as_me=`$as_basename "$0" ||
2000 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2001 X"$0" : 'X\(//\)$' \| \
2002 X"$0" : 'X\(/\)$' \| \
2003 . : '\(.\)' 2>/dev/null ||
2004 echo X/"$0" |
2005 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2006 /^X\/\(\/\/\)$/{ s//\1/; q; }
2007 /^X\/\(\/\).*/{ s//\1/; q; }
2008 s/.*/./; q'`
2011 # PATH needs CR, and LINENO needs CR and PATH.
2012 # Avoid depending upon Character Ranges.
2013 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2014 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2015 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2016 as_cr_digits='0123456789'
2017 as_cr_alnum=$as_cr_Letters$as_cr_digits
2019 # The user is always right.
2020 if test "${PATH_SEPARATOR+set}" != set; then
2021 echo "#! /bin/sh" >conf$$.sh
2022 echo "exit 0" >>conf$$.sh
2023 chmod +x conf$$.sh
2024 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2025 PATH_SEPARATOR=';'
2026 else
2027 PATH_SEPARATOR=:
2029 rm -f conf$$.sh
2033 as_lineno_1=$LINENO
2034 as_lineno_2=$LINENO
2035 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2036 test "x$as_lineno_1" != "x$as_lineno_2" &&
2037 test "x$as_lineno_3" = "x$as_lineno_2" || {
2038 # Find who we are. Look in the path if we contain no path at all
2039 # relative or not.
2040 case $0 in
2041 *[\\/]* ) as_myself=$0 ;;
2042 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 for as_dir in $PATH
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2048 done
2051 esac
2052 # We did not find ourselves, most probably we were run as `sh COMMAND'
2053 # in which case we are not to be found in the path.
2054 if test "x$as_myself" = x; then
2055 as_myself=$0
2057 if test ! -f "$as_myself"; then
2058 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2059 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2060 { (exit 1); exit 1; }; }
2062 case $CONFIG_SHELL in
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2067 IFS=$as_save_IFS
2068 test -z "$as_dir" && as_dir=.
2069 for as_base in sh bash ksh sh5; do
2070 case $as_dir in
2072 if ("$as_dir/$as_base" -c '
2073 as_lineno_1=$LINENO
2074 as_lineno_2=$LINENO
2075 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2076 test "x$as_lineno_1" != "x$as_lineno_2" &&
2077 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2078 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2079 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2080 CONFIG_SHELL=$as_dir/$as_base
2081 export CONFIG_SHELL
2082 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2083 fi;;
2084 esac
2085 done
2086 done
2088 esac
2090 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2091 # uniformly replaced by the line number. The first 'sed' inserts a
2092 # line-number line before each line; the second 'sed' does the real
2093 # work. The second script uses 'N' to pair each line-number line
2094 # with the numbered line, and appends trailing '-' during
2095 # substitution so that $LINENO is not a special case at line end.
2096 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2097 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2098 sed '=' <$as_myself |
2099 sed '
2101 s,$,-,
2102 : loop
2103 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2104 t loop
2105 s,-$,,
2106 s,^['$as_cr_digits']*\n,,
2107 ' >$as_me.lineno &&
2108 chmod +x $as_me.lineno ||
2109 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2110 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2111 { (exit 1); exit 1; }; }
2113 # Don't try to exec as it changes $[0], causing all sort of problems
2114 # (the dirname of $[0] is not the place where we might find the
2115 # original and so on. Autoconf is especially sensible to this).
2116 . ./$as_me.lineno
2117 # Exit status is that of the last command.
2118 exit
2122 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2123 *c*,-n*) ECHO_N= ECHO_C='
2124 ' ECHO_T=' ' ;;
2125 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2126 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2127 esac
2129 if expr a : '\(a\)' >/dev/null 2>&1; then
2130 as_expr=expr
2131 else
2132 as_expr=false
2135 rm -f conf$$ conf$$.exe conf$$.file
2136 echo >conf$$.file
2137 if ln -s conf$$.file conf$$ 2>/dev/null; then
2138 # We could just check for DJGPP; but this test a) works b) is more generic
2139 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2140 if test -f conf$$.exe; then
2141 # Don't use ln at all; we don't have any links
2142 as_ln_s='cp -p'
2143 else
2144 as_ln_s='ln -s'
2146 elif ln conf$$.file conf$$ 2>/dev/null; then
2147 as_ln_s=ln
2148 else
2149 as_ln_s='cp -p'
2151 rm -f conf$$ conf$$.exe conf$$.file
2153 if mkdir -p . 2>/dev/null; then
2154 as_mkdir_p=:
2155 else
2156 as_mkdir_p=false
2159 as_executable_p="test -f"
2161 # Sed expression to map a string onto a valid CPP name.
2162 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2164 # Sed expression to map a string onto a valid variable name.
2165 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2168 # IFS
2169 # We need space, tab and new line, in precisely that order.
2170 as_nl='
2172 IFS=" $as_nl"
2174 # CDPATH.
2175 $as_unset CDPATH
2177 exec 6>&1
2179 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2180 # report actual input values of CONFIG_FILES etc. instead of their
2181 # values after options handling. Logging --version etc. is OK.
2182 exec 5>>config.log
2184 echo
2185 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2186 ## Running $as_me. ##
2187 _ASBOX
2188 } >&5
2189 cat >&5 <<_CSEOF
2191 This file was extended by GNU Automake $as_me 1.7.4a, which was
2192 generated by GNU Autoconf 2.57a. Invocation command line was
2194 CONFIG_FILES = $CONFIG_FILES
2195 CONFIG_HEADERS = $CONFIG_HEADERS
2196 CONFIG_LINKS = $CONFIG_LINKS
2197 CONFIG_COMMANDS = $CONFIG_COMMANDS
2198 $ $0 $@
2200 _CSEOF
2201 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2202 echo >&5
2203 _ACEOF
2205 # Files that config.status was made for.
2206 if test -n "$ac_config_files"; then
2207 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2210 if test -n "$ac_config_headers"; then
2211 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2214 if test -n "$ac_config_links"; then
2215 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2218 if test -n "$ac_config_commands"; then
2219 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2222 cat >>$CONFIG_STATUS <<\_ACEOF
2224 ac_cs_usage="\
2225 \`$as_me' instantiates files from templates according to the
2226 current configuration.
2228 Usage: $0 [OPTIONS] [FILE]...
2230 -h, --help print this help, then exit
2231 -V, --version print version number, then exit
2232 -q, --quiet do not print progress messages
2233 -d, --debug don't remove temporary files
2234 --recheck update $as_me by reconfiguring in the same conditions
2235 --file=FILE[:TEMPLATE]
2236 instantiate the configuration file FILE
2238 Configuration files:
2239 $config_files
2241 Report bugs to <bug-autoconf@gnu.org>."
2242 _ACEOF
2244 cat >>$CONFIG_STATUS <<_ACEOF
2245 ac_cs_version="\\
2246 GNU Automake config.status 1.7.4a
2247 configured by $0, generated by GNU Autoconf 2.57a,
2248 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2250 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2251 Free Software Foundation, Inc.
2252 This config.status script is free software; the Free Software Foundation
2253 gives unlimited permission to copy, distribute and modify it."
2254 srcdir=$srcdir
2255 INSTALL="$INSTALL"
2256 _ACEOF
2258 cat >>$CONFIG_STATUS <<\_ACEOF
2259 # If no file are specified by the user, then we need to provide default
2260 # value. By we need to know if files were specified by the user.
2261 ac_need_defaults=:
2262 while test $# != 0
2264 case $1 in
2265 --*=*)
2266 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2267 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2268 ac_shift=:
2271 ac_option=$1
2272 ac_optarg=$2
2273 ac_shift=shift
2275 *) # This is not an option, so the user has probably given explicit
2276 # arguments.
2277 ac_option=$1
2278 ac_need_defaults=false;;
2279 esac
2281 case $ac_option in
2282 # Handling of the options.
2283 _ACEOF
2284 cat >>$CONFIG_STATUS <<\_ACEOF
2285 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2286 ac_cs_recheck=: ;;
2287 --version | --vers* | -V )
2288 echo "$ac_cs_version"; exit 0 ;;
2289 --he | --h)
2290 # Conflict between --help and --header
2291 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2292 Try \`$0 --help' for more information." >&5
2293 echo "$as_me: error: ambiguous option: $1
2294 Try \`$0 --help' for more information." >&2;}
2295 { (exit 1); exit 1; }; };;
2296 --help | --hel | -h )
2297 echo "$ac_cs_usage"; exit 0 ;;
2298 --debug | --d* | -d )
2299 debug=: ;;
2300 --file | --fil | --fi | --f )
2301 $ac_shift
2302 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2303 ac_need_defaults=false;;
2304 --header | --heade | --head | --hea )
2305 $ac_shift
2306 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2307 ac_need_defaults=false;;
2308 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2309 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2310 ac_cs_silent=: ;;
2312 # This is an error.
2313 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2314 Try \`$0 --help' for more information." >&5
2315 echo "$as_me: error: unrecognized option: $1
2316 Try \`$0 --help' for more information." >&2;}
2317 { (exit 1); exit 1; }; } ;;
2319 *) ac_config_targets="$ac_config_targets $1" ;;
2321 esac
2322 shift
2323 done
2325 ac_configure_extra_args=
2327 if $ac_cs_silent; then
2328 exec 6>/dev/null
2329 ac_configure_extra_args="$ac_configure_extra_args --silent"
2332 _ACEOF
2333 cat >>$CONFIG_STATUS <<_ACEOF
2334 if \$ac_cs_recheck; then
2335 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2336 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2339 _ACEOF
2345 cat >>$CONFIG_STATUS <<\_ACEOF
2346 for ac_config_target in $ac_config_targets
2348 case "$ac_config_target" in
2349 # Handling of arguments.
2350 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2351 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
2352 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2353 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
2354 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
2355 "m4/amversion.m4" ) CONFIG_FILES="$CONFIG_FILES m4/amversion.m4:m4/amversion.in" ;;
2356 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2357 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
2358 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2359 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2360 { (exit 1); exit 1; }; };;
2361 esac
2362 done
2364 # If the user did not use the arguments to specify the items to instantiate,
2365 # then the envvar interface is used. Set only those that are not.
2366 # We use the long form for the default assignment because of an extremely
2367 # bizarre bug on SunOS 4.1.3.
2368 if $ac_need_defaults; then
2369 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2372 # Have a temporary directory for convenience. Make it in the build tree
2373 # simply because there is no reason to put it here, and in addition,
2374 # creating and moving files from /tmp can sometimes cause problems.
2375 # Create a temporary directory, and hook for its removal unless debugging.
2376 $debug ||
2378 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2379 trap '{ (exit 1); exit 1; }' 1 2 13 15
2382 # Create a (secure) tmp directory for tmp files.
2385 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2386 test -n "$tmp" && test -d "$tmp"
2387 } ||
2389 tmp=./confstat$$-$RANDOM
2390 (umask 077 && mkdir $tmp)
2391 } ||
2393 echo "$me: cannot create a temporary directory in ." >&2
2394 { (exit 1); exit 1; }
2397 _ACEOF
2399 cat >>$CONFIG_STATUS <<_ACEOF
2402 # CONFIG_FILES section.
2405 # No need to generate the scripts if there are no CONFIG_FILES.
2406 # This happens for instance when ./config.status config.h
2407 if test -n "\$CONFIG_FILES"; then
2408 # Protect against being on the right side of a sed subst in config.status.
2409 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2410 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2411 s,@SHELL@,$SHELL,;t t
2412 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2413 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2414 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2415 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2416 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2417 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2418 s,@exec_prefix@,$exec_prefix,;t t
2419 s,@prefix@,$prefix,;t t
2420 s,@program_transform_name@,$program_transform_name,;t t
2421 s,@bindir@,$bindir,;t t
2422 s,@sbindir@,$sbindir,;t t
2423 s,@libexecdir@,$libexecdir,;t t
2424 s,@datadir@,$datadir,;t t
2425 s,@sysconfdir@,$sysconfdir,;t t
2426 s,@sharedstatedir@,$sharedstatedir,;t t
2427 s,@localstatedir@,$localstatedir,;t t
2428 s,@libdir@,$libdir,;t t
2429 s,@includedir@,$includedir,;t t
2430 s,@oldincludedir@,$oldincludedir,;t t
2431 s,@infodir@,$infodir,;t t
2432 s,@mandir@,$mandir,;t t
2433 s,@build_alias@,$build_alias,;t t
2434 s,@host_alias@,$host_alias,;t t
2435 s,@target_alias@,$target_alias,;t t
2436 s,@DEFS@,$DEFS,;t t
2437 s,@ECHO_C@,$ECHO_C,;t t
2438 s,@ECHO_N@,$ECHO_N,;t t
2439 s,@ECHO_T@,$ECHO_T,;t t
2440 s,@LIBS@,$LIBS,;t t
2441 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2442 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2443 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2444 s,@CYGPATH_W@,$CYGPATH_W,;t t
2445 s,@PACKAGE@,$PACKAGE,;t t
2446 s,@VERSION@,$VERSION,;t t
2447 s,@ACLOCAL@,$ACLOCAL,;t t
2448 s,@AUTOCONF@,$AUTOCONF,;t t
2449 s,@AUTOMAKE@,$AUTOMAKE,;t t
2450 s,@AUTOHEADER@,$AUTOHEADER,;t t
2451 s,@MAKEINFO@,$MAKEINFO,;t t
2452 s,@AMTAR@,$AMTAR,;t t
2453 s,@install_sh@,$install_sh,;t t
2454 s,@STRIP@,$STRIP,;t t
2455 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2456 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2457 s,@AWK@,$AWK,;t t
2458 s,@SET_MAKE@,$SET_MAKE,;t t
2459 s,@am__leading_dot@,$am__leading_dot,;t t
2460 s,@APIVERSION@,$APIVERSION,;t t
2461 s,@pkgvdatadir@,$pkgvdatadir,;t t
2462 s,@PERL@,$PERL,;t t
2463 s,@TEX@,$TEX,;t t
2464 s,@LN@,$LN,;t t
2465 s,@EGREP@,$EGREP,;t t
2466 s,@FGREP@,$FGREP,;t t
2467 s,@LIBOBJS@,$LIBOBJS,;t t
2468 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2469 CEOF
2471 _ACEOF
2473 cat >>$CONFIG_STATUS <<\_ACEOF
2474 # Split the substitutions into bite-sized pieces for seds with
2475 # small command number limits, like on Digital OSF/1 and HP-UX.
2476 ac_max_sed_lines=48
2477 ac_sed_frag=1 # Number of current file.
2478 ac_beg=1 # First line for current file.
2479 ac_end=$ac_max_sed_lines # Line after last line for current file.
2480 ac_more_lines=:
2481 ac_sed_cmds=
2482 while $ac_more_lines; do
2483 if test $ac_beg -gt 1; then
2484 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2485 else
2486 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2488 if test ! -s $tmp/subs.frag; then
2489 ac_more_lines=false
2490 else
2491 # The purpose of the label and of the branching condition is to
2492 # speed up the sed processing (if there are no `@' at all, there
2493 # is no need to browse any of the substitutions).
2494 # These are the two extra sed commands mentioned above.
2495 (echo ':t
2496 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2497 if test -z "$ac_sed_cmds"; then
2498 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2499 else
2500 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2502 ac_sed_frag=`expr $ac_sed_frag + 1`
2503 ac_beg=$ac_end
2504 ac_end=`expr $ac_end + $ac_max_sed_lines`
2506 done
2507 if test -z "$ac_sed_cmds"; then
2508 ac_sed_cmds=cat
2510 fi # test -n "$CONFIG_FILES"
2512 _ACEOF
2513 cat >>$CONFIG_STATUS <<\_ACEOF
2514 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2515 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2516 case $ac_file in
2517 - | *:- | *:-:* ) # input from stdin
2518 cat >$tmp/stdin
2519 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2520 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2521 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2522 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2523 * ) ac_file_in=$ac_file.in ;;
2524 esac
2526 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2527 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2528 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2529 X"$ac_file" : 'X\(//\)[^/]' \| \
2530 X"$ac_file" : 'X\(//\)$' \| \
2531 X"$ac_file" : 'X\(/\)' \| \
2532 . : '\(.\)' 2>/dev/null ||
2533 echo X"$ac_file" |
2534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2535 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2536 /^X\(\/\/\)$/{ s//\1/; q; }
2537 /^X\(\/\).*/{ s//\1/; q; }
2538 s/.*/./; q'`
2539 { if $as_mkdir_p; then
2540 mkdir -p "$ac_dir"
2541 else
2542 as_dir="$ac_dir"
2543 as_dirs=
2544 while test ! -d "$as_dir"; do
2545 as_dirs="$as_dir $as_dirs"
2546 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2548 X"$as_dir" : 'X\(//\)[^/]' \| \
2549 X"$as_dir" : 'X\(//\)$' \| \
2550 X"$as_dir" : 'X\(/\)' \| \
2551 . : '\(.\)' 2>/dev/null ||
2552 echo X"$as_dir" |
2553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2554 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2555 /^X\(\/\/\)$/{ s//\1/; q; }
2556 /^X\(\/\).*/{ s//\1/; q; }
2557 s/.*/./; q'`
2558 done
2559 test ! -n "$as_dirs" || mkdir $as_dirs
2560 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2561 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2562 { (exit 1); exit 1; }; }; }
2564 ac_builddir=.
2566 if test "$ac_dir" != .; then
2567 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2568 # A "../" for each directory in $ac_dir_suffix.
2569 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2570 else
2571 ac_dir_suffix= ac_top_builddir=
2574 case $srcdir in
2575 .) # No --srcdir option. We are building in place.
2576 ac_srcdir=.
2577 if test -z "$ac_top_builddir"; then
2578 ac_top_srcdir=.
2579 else
2580 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2581 fi ;;
2582 [\\/]* | ?:[\\/]* ) # Absolute path.
2583 ac_srcdir=$srcdir$ac_dir_suffix;
2584 ac_top_srcdir=$srcdir ;;
2585 *) # Relative path.
2586 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2587 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2588 esac
2589 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2590 # absolute.
2591 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2592 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2593 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2594 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2597 case $INSTALL in
2598 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2599 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2600 esac
2602 if test x"$ac_file" != x-; then
2603 { echo "$as_me:$LINENO: creating $ac_file" >&5
2604 echo "$as_me: creating $ac_file" >&6;}
2605 rm -f "$ac_file"
2607 # Let's still pretend it is `configure' which instantiates (i.e., don't
2608 # use $as_me), people would be surprised to read:
2609 # /* config.h. Generated by config.status. */
2610 if test x"$ac_file" = x-; then
2611 configure_input=
2612 else
2613 configure_input="$ac_file. "
2615 configure_input=$configure_input"Generated from `echo $ac_file_in |
2616 sed 's,.*/,,'` by configure."
2618 # First look for the input files in the build tree, otherwise in the
2619 # src tree.
2620 ac_file_inputs=`IFS=:
2621 for f in $ac_file_in; do
2622 case $f in
2623 -) echo $tmp/stdin ;;
2624 [\\/$]*)
2625 # Absolute (can't be DOS-style, as IFS=:)
2626 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2627 echo "$as_me: error: cannot find input file: $f" >&2;}
2628 { (exit 1); exit 1; }; }
2629 echo "$f";;
2630 *) # Relative
2631 if test -f "$f"; then
2632 # Build tree
2633 echo "$f"
2634 elif test -f "$srcdir/$f"; then
2635 # Source tree
2636 echo "$srcdir/$f"
2637 else
2638 # /dev/null tree
2639 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2640 echo "$as_me: error: cannot find input file: $f" >&2;}
2641 { (exit 1); exit 1; }; }
2642 fi;;
2643 esac
2644 done` || { (exit 1); exit 1; }
2645 _ACEOF
2646 cat >>$CONFIG_STATUS <<_ACEOF
2647 sed "$ac_vpsub
2648 $extrasub
2649 _ACEOF
2650 cat >>$CONFIG_STATUS <<\_ACEOF
2652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2653 s,@configure_input@,$configure_input,;t t
2654 s,@srcdir@,$ac_srcdir,;t t
2655 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2656 s,@top_srcdir@,$ac_top_srcdir,;t t
2657 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2658 s,@builddir@,$ac_builddir,;t t
2659 s,@abs_builddir@,$ac_abs_builddir,;t t
2660 s,@top_builddir@,$ac_top_builddir,;t t
2661 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2662 s,@INSTALL@,$ac_INSTALL,;t t
2663 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2664 rm -f $tmp/stdin
2665 if test x"$ac_file" != x-; then
2666 mv $tmp/out $ac_file
2667 else
2668 cat $tmp/out
2669 rm -f $tmp/out
2672 done
2673 _ACEOF
2675 cat >>$CONFIG_STATUS <<\_ACEOF
2677 { (exit 0); exit 0; }
2678 _ACEOF
2679 chmod +x $CONFIG_STATUS
2680 ac_clean_files=$ac_clean_files_save
2683 # configure is writing to config.log, and then calls config.status.
2684 # config.status does its own redirection, appending to config.log.
2685 # Unfortunately, on DOS this fails, as config.log is still kept open
2686 # by configure, so config.status won't be able to write to it; its
2687 # output is simply discarded. So we exec the FD to /dev/null,
2688 # effectively closing config.log, so it can be properly (re)opened and
2689 # appended to by config.status. When coming back to configure, we
2690 # need to make the FD available again.
2691 if test "$no_create" != yes; then
2692 ac_cs_success=:
2693 ac_config_status_args=
2694 test "$silent" = yes &&
2695 ac_config_status_args="$ac_config_status_args --quiet"
2696 exec 5>/dev/null
2697 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2698 exec 5>>config.log
2699 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2700 # would make configure fail if this is the last instruction.
2701 $ac_cs_success || { (exit 1); exit 1; }