2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53c for GNU Automake 1.6c.
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
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
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
41 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
43 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
44 eval $as_var=C; export $as_var
50 # Required to use basename.
51 if expr a : '\(a\)' >/dev/null 2>&1; then
57 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
64 # Name of the executable.
65 as_me=`$as_basename "$0" ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits='0123456789'
83 as_cr_alnum=$as_cr_Letters$as_cr_digits
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conftest.sh
88 echo "exit 0" >>conftest.sh
90 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
127 case $CONFIG_SHELL in
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
137 if ("$as_dir/$as_base" -c '
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145 CONFIG_SHELL=$as_dir/$as_base
147 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
155 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156 # uniformly replaced by the line number. The first 'sed' inserts a
157 # line-number line before each line; the second 'sed' does the real
158 # work. The second script uses 'N' to pair each line-number line
159 # with the numbered line, and appends trailing '-' during
160 # substitution so that $LINENO is not a special case at line end.
161 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
163 sed '=' <$as_myself |
168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
171 s,^['$as_cr_digits']*\n,,
173 chmod +x $as_me.lineno ||
174 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175 { (exit 1); exit 1; }; }
177 # Don't try to exec as it changes $[0], causing all sort of problems
178 # (the dirname of $[0] is not the place where we might find the
179 # original and so on. Autoconf is especially sensible to this).
181 # Exit status is that of the last command.
186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187 *c*,-n*) ECHO_N= ECHO_C='
189 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
193 if expr a : '\(a\)' >/dev/null 2>&1; then
199 rm -f conf$$ conf$$.exe conf$$.file
201 if ln -s conf$$.file conf$$ 2>/dev/null; then
202 # We could just check for DJGPP; but this test a) works b) is more generic
203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204 if test -f conf$$.exe; then
205 # Don't use ln at all; we don't have any links
210 elif ln conf$$.file conf$$ 2>/dev/null; then
215 rm -f conf$$ conf$$.exe conf$$.file
217 if mkdir -p . 2>/dev/null; then
223 as_executable_p="test -f"
225 # Sed expression to map a string onto a valid CPP name.
226 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228 # Sed expression to map a string onto a valid variable name.
229 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233 # We need space, tab and new line, in precisely that order.
243 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
244 # so uname gets run too.
245 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
252 ac_default_prefix=/usr/local
253 ac_config_libobj_dir=.
258 SHELL=${CONFIG_SHELL-/bin/sh}
260 # Maximum number of lines to put in a shell here document.
261 # This variable seems obsolete. It should probably be removed, and
262 # only ac_max_sed_lines should be used.
263 : ${ac_max_here_lines=38}
265 # Identity of this package.
266 PACKAGE_NAME='GNU Automake'
267 PACKAGE_TARNAME='automake'
268 PACKAGE_VERSION='1.6c'
269 PACKAGE_STRING='GNU Automake 1.6c'
270 PACKAGE_BUGREPORT='bug-automake@gnu.org'
272 ac_unique_file="automake.in"
273 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 PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE APIVERSION pkgvdatadir PERL LN LIBOBJS LTLIBOBJS'
276 # Initialize some variables set by options.
278 ac_init_version=false
279 # The variables have the same names as the options, with
280 # dashes changed to underlines.
288 program_transform_name=s,x,x,
296 # Installation directory options.
297 # These are left unexpanded so users can "make install exec_prefix=/foo"
298 # and all the variables that are supposed to be based on exec_prefix
299 # by default will actually change.
300 # Use braces instead of parens because sh, perl, etc. also accept them.
301 bindir='${exec_prefix}/bin'
302 sbindir='${exec_prefix}/sbin'
303 libexecdir='${exec_prefix}/libexec'
304 datadir='${prefix}/share'
305 sysconfdir='${prefix}/etc'
306 sharedstatedir='${prefix}/com'
307 localstatedir='${prefix}/var'
308 libdir='${exec_prefix}/lib'
309 includedir='${prefix}/include'
310 oldincludedir='/usr/include'
311 infodir='${prefix}/info'
312 mandir='${prefix}/man'
317 # If the previous option needs an argument, assign it.
318 if test -n "$ac_prev"; then
319 eval "$ac_prev=\$ac_option"
324 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
326 # Accept the important Cygnus configure options, so we can diagnose typos.
330 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 -build | --build | --buil | --bui | --bu)
336 ac_prev=build_alias ;;
337 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
338 build_alias=$ac_optarg ;;
340 -cache-file | --cache-file | --cache-fil | --cache-fi \
341 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
342 ac_prev=cache_file ;;
343 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
344 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
345 cache_file=$ac_optarg ;;
348 cache_file=config.cache ;;
350 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
352 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354 datadir=$ac_optarg ;;
356 -disable-* | --disable-*)
357 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
358 # Reject names that are not valid shell variable names.
359 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
360 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
361 { (exit 1); exit 1; }; }
362 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
363 eval "enable_$ac_feature=no" ;;
365 -enable-* | --enable-*)
366 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
367 # Reject names that are not valid shell variable names.
368 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
369 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
370 { (exit 1); exit 1; }; }
371 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376 eval "enable_$ac_feature='$ac_optarg'" ;;
378 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
379 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
380 | --exec | --exe | --ex)
381 ac_prev=exec_prefix ;;
382 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
383 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
384 | --exec=* | --exe=* | --ex=*)
385 exec_prefix=$ac_optarg ;;
387 -gas | --gas | --ga | --g)
388 # Obsolete; use --with-gas.
391 -help | --help | --hel | --he | -h)
393 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
394 ac_init_help=recursive ;;
395 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
396 ac_init_help=short ;;
398 -host | --host | --hos | --ho)
399 ac_prev=host_alias ;;
400 -host=* | --host=* | --hos=* | --ho=*)
401 host_alias=$ac_optarg ;;
403 -includedir | --includedir | --includedi | --included | --include \
404 | --includ | --inclu | --incl | --inc)
405 ac_prev=includedir ;;
406 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
407 | --includ=* | --inclu=* | --incl=* | --inc=*)
408 includedir=$ac_optarg ;;
410 -infodir | --infodir | --infodi | --infod | --info | --inf)
412 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
413 infodir=$ac_optarg ;;
415 -libdir | --libdir | --libdi | --libd)
417 -libdir=* | --libdir=* | --libdi=* | --libd=*)
420 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
421 | --libexe | --libex | --libe)
422 ac_prev=libexecdir ;;
423 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
424 | --libexe=* | --libex=* | --libe=*)
425 libexecdir=$ac_optarg ;;
427 -localstatedir | --localstatedir | --localstatedi | --localstated \
428 | --localstate | --localstat | --localsta | --localst \
429 | --locals | --local | --loca | --loc | --lo)
430 ac_prev=localstatedir ;;
431 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
432 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
433 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
434 localstatedir=$ac_optarg ;;
436 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
438 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442 # Obsolete; use --without-fp.
445 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
446 | --no-cr | --no-c | -n)
449 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
450 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
454 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
455 | --oldin | --oldi | --old | --ol | --o)
456 ac_prev=oldincludedir ;;
457 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
458 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
459 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
460 oldincludedir=$ac_optarg ;;
462 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
464 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467 -program-prefix | --program-prefix | --program-prefi | --program-pref \
468 | --program-pre | --program-pr | --program-p)
469 ac_prev=program_prefix ;;
470 -program-prefix=* | --program-prefix=* | --program-prefi=* \
471 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
472 program_prefix=$ac_optarg ;;
474 -program-suffix | --program-suffix | --program-suffi | --program-suff \
475 | --program-suf | --program-su | --program-s)
476 ac_prev=program_suffix ;;
477 -program-suffix=* | --program-suffix=* | --program-suffi=* \
478 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
479 program_suffix=$ac_optarg ;;
481 -program-transform-name | --program-transform-name \
482 | --program-transform-nam | --program-transform-na \
483 | --program-transform-n | --program-transform- \
484 | --program-transform | --program-transfor \
485 | --program-transfo | --program-transf \
486 | --program-trans | --program-tran \
487 | --progr-tra | --program-tr | --program-t)
488 ac_prev=program_transform_name ;;
489 -program-transform-name=* | --program-transform-name=* \
490 | --program-transform-nam=* | --program-transform-na=* \
491 | --program-transform-n=* | --program-transform-=* \
492 | --program-transform=* | --program-transfor=* \
493 | --program-transfo=* | --program-transf=* \
494 | --program-trans=* | --program-tran=* \
495 | --progr-tra=* | --program-tr=* | --program-t=*)
496 program_transform_name=$ac_optarg ;;
498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
499 | -silent | --silent | --silen | --sile | --sil)
502 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
504 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
506 sbindir=$ac_optarg ;;
508 -sharedstatedir | --sharedstatedir | --sharedstatedi \
509 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
510 | --sharedst | --shareds | --shared | --share | --shar \
512 ac_prev=sharedstatedir ;;
513 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
514 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
515 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
517 sharedstatedir=$ac_optarg ;;
519 -site | --site | --sit)
521 -site=* | --site=* | --sit=*)
524 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
526 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
530 | --syscon | --sysco | --sysc | --sys | --sy)
531 ac_prev=sysconfdir ;;
532 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
533 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
534 sysconfdir=$ac_optarg ;;
536 -target | --target | --targe | --targ | --tar | --ta | --t)
537 ac_prev=target_alias ;;
538 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
539 target_alias=$ac_optarg ;;
541 -v | -verbose | --verbose | --verbos | --verbo | --verb)
544 -version | --version | --versio | --versi | --vers | -V)
548 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
549 # Reject names that are not valid shell variable names.
550 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
551 { echo "$as_me: error: invalid package name: $ac_package" >&2
552 { (exit 1); exit 1; }; }
553 ac_package=`echo $ac_package| sed 's/-/_/g'`
555 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558 eval "with_$ac_package='$ac_optarg'" ;;
560 -without-* | --without-*)
561 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
564 { echo "$as_me: error: invalid package name: $ac_package" >&2
565 { (exit 1); exit 1; }; }
566 ac_package=`echo $ac_package | sed 's/-/_/g'`
567 eval "with_$ac_package=no" ;;
570 # Obsolete; use --with-x.
573 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
574 | --x-incl | --x-inc | --x-in | --x-i)
575 ac_prev=x_includes ;;
576 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
577 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
578 x_includes=$ac_optarg ;;
580 -x-libraries | --x-libraries | --x-librarie | --x-librari \
581 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
582 ac_prev=x_libraries ;;
583 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
584 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
585 x_libraries=$ac_optarg ;;
587 -*) { echo "$as_me: error: unrecognized option: $ac_option
588 Try \`$0 --help' for more information." >&2
589 { (exit 1); exit 1; }; }
593 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
596 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
597 { (exit 1); exit 1; }; }
598 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
599 eval "$ac_envvar='$ac_optarg'"
603 # FIXME: should be removed in autoconf 3.0.
604 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
605 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
606 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
607 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
613 if test -n "$ac_prev"; then
614 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
615 { echo "$as_me: error: missing argument to $ac_option" >&2
616 { (exit 1); exit 1; }; }
619 # Be sure to have absolute paths.
620 for ac_var in exec_prefix prefix
622 eval ac_val=$`echo $ac_var`
624 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
625 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
626 { (exit 1); exit 1; }; };;
630 # Be sure to have absolute paths.
631 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
632 localstatedir libdir includedir oldincludedir infodir mandir
634 eval ac_val=$`echo $ac_var`
636 [\\/$]* | ?:[\\/]* ) ;;
637 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
638 { (exit 1); exit 1; }; };;
642 # There might be people who depend on the old broken behavior: `$host'
643 # used to hold the argument of --host etc.
644 # FIXME: To remove some day.
649 # FIXME: To remove some day.
650 if test "x$host_alias" != x; then
651 if test "x$build_alias" = x; then
652 cross_compiling=maybe
653 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
654 If a cross compiler is detected then cross compile mode will be used." >&2
655 elif test "x$build_alias" != "x$host_alias"; then
661 test -n "$host_alias" && ac_tool_prefix=$host_alias-
663 test "$silent" = yes && exec 6>/dev/null
666 # Find the source files, if location was not specified.
667 if test -z "$srcdir"; then
668 ac_srcdir_defaulted=yes
669 # Try the directory containing this script, then its parent.
670 ac_confdir=`(dirname "$0") 2>/dev/null ||
671 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
672 X"$0" : 'X\(//\)[^/]' \| \
673 X"$0" : 'X\(//\)$' \| \
674 X"$0" : 'X\(/\)' \| \
675 . : '\(.\)' 2>/dev/null ||
677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
678 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
679 /^X\(\/\/\)$/{ s//\1/; q; }
680 /^X\(\/\).*/{ s//\1/; q; }
683 if test ! -r $srcdir/$ac_unique_file; then
687 ac_srcdir_defaulted=no
689 if test ! -r $srcdir/$ac_unique_file; then
690 if test "$ac_srcdir_defaulted" = yes; then
691 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
692 { (exit 1); exit 1; }; }
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
695 { (exit 1); exit 1; }; }
698 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
699 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
700 { (exit 1); exit 1; }; }
701 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
702 ac_env_build_alias_set=${build_alias+set}
703 ac_env_build_alias_value=$build_alias
704 ac_cv_env_build_alias_set=${build_alias+set}
705 ac_cv_env_build_alias_value=$build_alias
706 ac_env_host_alias_set=${host_alias+set}
707 ac_env_host_alias_value=$host_alias
708 ac_cv_env_host_alias_set=${host_alias+set}
709 ac_cv_env_host_alias_value=$host_alias
710 ac_env_target_alias_set=${target_alias+set}
711 ac_env_target_alias_value=$target_alias
712 ac_cv_env_target_alias_set=${target_alias+set}
713 ac_cv_env_target_alias_value=$target_alias
716 # Report the --help message.
718 if test "$ac_init_help" = "long"; then
719 # Omit some internal or obsolete options to make the list less imposing.
720 # This message is too long to be a string in the A/UX 3.1 sh.
722 \`configure' configures GNU Automake 1.6c to adapt to many kinds of systems.
724 Usage: $0 [OPTION]... [VAR=VALUE]...
726 To assign environment variables (e.g., CC, CFLAGS...), specify them as
727 VAR=VALUE. See below for descriptions of some of the useful variables.
729 Defaults for the options are specified in brackets.
732 -h, --help display this help and exit
733 --help=short display options specific to this package
734 --help=recursive display the short help of all the included packages
735 -V, --version display version information and exit
736 -q, --quiet, --silent do not print \`checking...' messages
737 --cache-file=FILE cache test results in FILE [disabled]
738 -C, --config-cache alias for \`--cache-file=config.cache'
739 -n, --no-create do not create output files
740 --srcdir=DIR find the sources in DIR [configure dir or \`..']
745 Installation directories:
746 --prefix=PREFIX install architecture-independent files in PREFIX
748 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
751 By default, \`make install' will install all the files in
752 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
753 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
754 for instance \`--prefix=\$HOME'.
756 For better control, use the options below.
758 Fine tuning of the installation directories:
759 --bindir=DIR user executables [EPREFIX/bin]
760 --sbindir=DIR system admin executables [EPREFIX/sbin]
761 --libexecdir=DIR program executables [EPREFIX/libexec]
762 --datadir=DIR read-only architecture-independent data [PREFIX/share]
763 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
764 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
765 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
766 --libdir=DIR object code libraries [EPREFIX/lib]
767 --includedir=DIR C header files [PREFIX/include]
768 --oldincludedir=DIR C header files for non-gcc [/usr/include]
769 --infodir=DIR info documentation [PREFIX/info]
770 --mandir=DIR man documentation [PREFIX/man]
776 --program-prefix=PREFIX prepend PREFIX to installed program names
777 --program-suffix=SUFFIX append SUFFIX to installed program names
778 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
782 if test -n "$ac_init_help"; then
783 case $ac_init_help in
784 short | recursive ) echo "Configuration of GNU Automake 1.6c:";;
788 Report bugs to <bug-automake@gnu.org>.
792 if test "$ac_init_help" = "recursive"; then
793 # If there are subdirs, report their specific --help.
795 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
796 test -d $ac_dir || continue
799 if test "$ac_dir" != .; then
800 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
801 # A "../" for each directory in $ac_dir_suffix.
802 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
804 ac_dir_suffix= ac_top_builddir=
808 .) # No --srcdir option. We are building in place.
810 if test -z "$ac_top_builddir"; then
813 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
815 [\\/]* | ?:[\\/]* ) # Absolute path.
816 ac_srcdir=$srcdir$ac_dir_suffix;
817 ac_top_srcdir=$srcdir ;;
819 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
820 ac_top_srcdir=$ac_top_builddir$srcdir ;;
822 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
824 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
825 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
826 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
827 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
830 # Check for guested configure; otherwise get Cygnus style configure.
831 if test -f $ac_srcdir/configure.gnu; then
833 $SHELL $ac_srcdir/configure.gnu --help=recursive
834 elif test -f $ac_srcdir/configure; then
836 $SHELL $ac_srcdir/configure --help=recursive
837 elif test -f $ac_srcdir/configure.ac ||
838 test -f $ac_srcdir/configure.in; then
842 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
848 test -n "$ac_init_help" && exit 0
849 if $ac_init_version; then
851 GNU Automake configure 1.6c
852 generated by GNU Autoconf 2.53c
854 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
855 Free Software Foundation, Inc.
856 This configure script is free software; the Free Software Foundation
857 gives unlimited permission to copy, distribute and modify it.
863 This file contains any messages produced by compilers while
864 running configure, to aid debugging if configure makes a mistake.
866 It was created by GNU Automake $as_me 1.6c, which was
867 generated by GNU Autoconf 2.53c. Invocation command line was
878 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
879 uname -m = `(uname -m) 2>/dev/null || echo unknown`
880 uname -r = `(uname -r) 2>/dev/null || echo unknown`
881 uname -s = `(uname -s) 2>/dev/null || echo unknown`
882 uname -v = `(uname -v) 2>/dev/null || echo unknown`
884 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
885 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
887 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
888 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
889 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
890 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
891 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
892 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
893 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
901 test -z "$as_dir" && as_dir=.
917 # Keep a trace of the command line.
918 # Strip out --no-create and --no-recursion so they do not pile up.
919 # Also quote any args containing shell meta-characters.
925 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
926 | --no-cr | --no-c | -n ) continue ;;
927 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
928 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
931 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
933 case " $ac_configure_args " in
934 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
935 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
938 # Get rid of the leading space.
941 # When interrupted or exit'd, cleanup temporary files, and complete
942 # config.log. We remove comments because anyway the quotes in there
943 # would cause problems or look ugly.
944 # WARNING: Be sure not to use single quotes in there, as some shells,
945 # such as our DU 5.0 friend, will then `close' the trap.
947 # Save into config.log some information that might help in debugging.
952 ## ---------------- ##
953 ## Cache variables. ##
954 ## ---------------- ##
957 # The following way of writing the cache mishandles newlines in values,
960 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
963 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
968 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
975 ## ----------------- ##
976 ## Output variables. ##
977 ## ----------------- ##
980 for ac_var in $ac_subst_vars
982 eval ac_val=$`echo $ac_var`
983 echo "$ac_var='"'"'$ac_val'"'"'"
987 if test -n "$ac_subst_files"; then
994 for ac_var in $ac_subst_files
996 eval ac_val=$`echo $ac_var`
997 echo "$ac_var='"'"'$ac_val'"'"'"
1002 if test -s confdefs.h; then
1009 sed "/^$/d" confdefs.h | sort
1012 test "$ac_signal" != 0 &&
1013 echo "$as_me: caught signal $ac_signal"
1014 echo "$as_me: exit $exit_status"
1016 rm -f core core.* *.core &&
1017 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1020 for ac_signal in 1 2 13 15; do
1021 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1025 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1026 rm -rf conftest* confdefs.h
1027 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1030 # Predefined preprocessor variables.
1032 cat >>confdefs.h <<_ACEOF
1033 #define PACKAGE_NAME "$PACKAGE_NAME"
1037 cat >>confdefs.h <<_ACEOF
1038 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1042 cat >>confdefs.h <<_ACEOF
1043 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1047 cat >>confdefs.h <<_ACEOF
1048 #define PACKAGE_STRING "$PACKAGE_STRING"
1052 cat >>confdefs.h <<_ACEOF
1053 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1057 # Let the site file select an alternate cache file if it wants to.
1058 # Prefer explicitly selected file to automatically selected ones.
1059 if test -z "$CONFIG_SITE"; then
1060 if test "x$prefix" != xNONE; then
1061 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1063 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1066 for ac_site_file in $CONFIG_SITE; do
1067 if test -r "$ac_site_file"; then
1068 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1069 echo "$as_me: loading site script $ac_site_file" >&6;}
1070 sed 's/^/| /' "$ac_site_file" >&5
1075 if test -r "$cache_file"; then
1076 # Some versions of bash will fail to source /dev/null (special
1077 # files actually), so we avoid doing that.
1078 if test -f "$cache_file"; then
1079 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1080 echo "$as_me: loading cache $cache_file" >&6;}
1082 [\\/]* | ?:[\\/]* ) . $cache_file;;
1083 *) . ./$cache_file;;
1087 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1088 echo "$as_me: creating cache $cache_file" >&6;}
1092 # Check that the precious variables saved in the cache have kept the same
1094 ac_cache_corrupted=false
1095 for ac_var in `(set) 2>&1 |
1096 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1097 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1098 eval ac_new_set=\$ac_env_${ac_var}_set
1099 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1100 eval ac_new_val="\$ac_env_${ac_var}_value"
1101 case $ac_old_set,$ac_new_set in
1103 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1104 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1105 ac_cache_corrupted=: ;;
1107 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1108 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1109 ac_cache_corrupted=: ;;
1112 if test "x$ac_old_val" != "x$ac_new_val"; then
1113 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1114 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1115 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1116 echo "$as_me: former value: $ac_old_val" >&2;}
1117 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1118 echo "$as_me: current value: $ac_new_val" >&2;}
1119 ac_cache_corrupted=:
1122 # Pass precious variables to config.status.
1123 if test "$ac_new_set" = set; then
1125 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1126 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1127 *) ac_arg=$ac_var=$ac_new_val ;;
1129 case " $ac_configure_args " in
1130 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1131 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1135 if $ac_cache_corrupted; then
1136 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1137 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1138 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1139 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1140 { (exit 1); exit 1; }; }
1144 ac_cpp='$CPP $CPPFLAGS'
1145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1178 for ac_dir in lib $srcdir/lib; do
1179 if test -f $ac_dir/install-sh; then
1181 ac_install_sh="$ac_aux_dir/install-sh -c"
1183 elif test -f $ac_dir/install.sh; then
1185 ac_install_sh="$ac_aux_dir/install.sh -c"
1187 elif test -f $ac_dir/shtool; then
1189 ac_install_sh="$ac_aux_dir/shtool install -c"
1193 if test -z "$ac_aux_dir"; then
1194 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1195 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1196 { (exit 1); exit 1; }; }
1198 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1199 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1200 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1203 am__api_version="1.6c"
1204 # Find a good install program. We prefer a C program (faster),
1205 # so one script is as good as another. But avoid the broken or
1206 # incompatible versions:
1207 # SysV /etc/install, /usr/sbin/install
1208 # SunOS /usr/etc/install
1209 # IRIX /sbin/install
1211 # AmigaOS /C/install, which installs bootblocks on floppy discs
1212 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1213 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1214 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1215 # ./install, which can be erroneously created by make from ./install.sh.
1216 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1217 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1218 if test -z "$INSTALL"; then
1219 if test "${ac_cv_path_install+set}" = set; then
1220 echo $ECHO_N "(cached) $ECHO_C" >&6
1222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1226 test -z "$as_dir" && as_dir=.
1227 # Account for people who put trailing slashes in PATH elements.
1229 ./ | .// | /cC/* | \
1230 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1233 # OSF1 and SCO ODT 3.0 have their own names for install.
1234 # Don't use installbsd from OSF since it installs stuff as root
1236 for ac_prog in ginstall scoinst install; do
1237 for ac_exec_ext in '' $ac_executable_extensions; do
1238 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1239 if test $ac_prog = install &&
1240 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1241 # AIX install. It has an incompatible calling convention.
1243 elif test $ac_prog = install &&
1244 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1245 # program-specific install script used by HP pwplus--don't use.
1248 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1260 if test "${ac_cv_path_install+set}" = set; then
1261 INSTALL=$ac_cv_path_install
1263 # As a last resort, use the slow shell script. We don't cache a
1264 # path for INSTALL within a source directory, because that will
1265 # break other packages using the cache if that directory is
1266 # removed, or if the path is relative.
1267 INSTALL=$ac_install_sh
1270 echo "$as_me:$LINENO: result: $INSTALL" >&5
1271 echo "${ECHO_T}$INSTALL" >&6
1273 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1274 # It thinks the first close brace ends the variable substitution.
1275 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1277 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1279 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1281 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1282 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1285 echo timestamp > conftest.file
1286 # Do `set' in a subshell so we don't clobber the current shell's
1287 # arguments. Must try -L first in case configure is actually a
1288 # symlink; some systems play weird games with the mod time of symlinks
1289 # (eg FreeBSD returns the mod time of the symlink's containing
1292 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1293 if test "$*" = "X"; then
1295 set X `ls -t $srcdir/configure conftest.file`
1298 if test "$*" != "X $srcdir/configure conftest.file" \
1299 && test "$*" != "X conftest.file $srcdir/configure"; then
1301 # If neither matched, then we have a broken ls. This can happen
1302 # if, for instance, CONFIG_SHELL is bash and it inherits a
1303 # broken ls alias from the environment. This has actually
1304 # happened. Such a system could not be considered "sane".
1305 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1306 alias in your environment" >&5
1307 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1308 alias in your environment" >&2;}
1309 { (exit 1); exit 1; }; }
1312 test "$2" = conftest.file
1318 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1319 Check your system clock" >&5
1320 echo "$as_me: error: newly created file is older than distributed files!
1321 Check your system clock" >&2;}
1322 { (exit 1); exit 1; }; }
1324 echo "$as_me:$LINENO: result: yes" >&5
1325 echo "${ECHO_T}yes" >&6
1326 test "$program_prefix" != NONE &&
1327 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1328 # Use a double $ so make ignores it.
1329 test "$program_suffix" != NONE &&
1330 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1331 # Double any \ or $. echo might interpret backslashes.
1332 # By default was `s,x,x', remove it if useless.
1333 cat <<\_ACEOF >conftest.sed
1334 s/[\\$]/&&/g;s/;s,x,x,$//
1336 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1340 # expand $ac_aux_dir to an absolute path
1341 am_aux_dir=`cd $ac_aux_dir && pwd`
1343 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1344 # Use eval to expand $SHELL
1345 if eval "$MISSING --run true"; then
1346 am_missing_run="$MISSING --run "
1349 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1350 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1353 for ac_prog in gawk mawk nawk awk
1355 # Extract the first word of "$ac_prog", so it can be a program name with args.
1356 set dummy $ac_prog; ac_word=$2
1357 echo "$as_me:$LINENO: checking for $ac_word" >&5
1358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1359 if test "${ac_cv_prog_AWK+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1362 if test -n "$AWK"; then
1363 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1369 test -z "$as_dir" && as_dir=.
1370 for ac_exec_ext in '' $ac_executable_extensions; do
1371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1372 ac_cv_prog_AWK="$ac_prog"
1373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1382 if test -n "$AWK"; then
1383 echo "$as_me:$LINENO: result: $AWK" >&5
1384 echo "${ECHO_T}$AWK" >&6
1386 echo "$as_me:$LINENO: result: no" >&5
1387 echo "${ECHO_T}no" >&6
1390 test -n "$AWK" && break
1393 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1394 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1395 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1396 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1399 cat >conftest.make <<\_ACEOF
1401 @echo 'ac_maketemp="${MAKE}"'
1403 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1404 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1405 if test -n "$ac_maketemp"; then
1406 eval ac_cv_prog_make_${ac_make}_set=yes
1408 eval ac_cv_prog_make_${ac_make}_set=no
1412 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1413 echo "$as_me:$LINENO: result: yes" >&5
1414 echo "${ECHO_T}yes" >&6
1417 echo "$as_me:$LINENO: result: no" >&5
1418 echo "${ECHO_T}no" >&6
1419 SET_MAKE="MAKE=${MAKE-make}"
1422 # test to see if srcdir already configured
1423 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1424 test -f $srcdir/config.status; then
1425 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1426 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1427 { (exit 1); exit 1; }; }
1430 # Define the identity of the package.
1435 cat >>confdefs.h <<_ACEOF
1436 #define PACKAGE "$PACKAGE"
1440 cat >>confdefs.h <<_ACEOF
1441 #define VERSION "$VERSION"
1444 # Some tools Automake needs.
1446 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1449 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1452 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1455 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1458 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1461 AMTAR=${AMTAR-"${am_missing_run}tar"}
1463 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1465 # Installed binaries are usually stripped using `strip' when the user
1466 # run `make install-strip'. However `strip' might not be the right
1467 # tool to use in cross-compilation environments, therefore Automake
1468 # will honor the `STRIP' environment variable to overrule this program.
1469 if test "$cross_compiling" != no; then
1470 if test -n "$ac_tool_prefix"; then
1471 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1472 set dummy ${ac_tool_prefix}strip; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_STRIP+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 if test -n "$STRIP"; then
1479 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1485 test -z "$as_dir" && as_dir=.
1486 for ac_exec_ext in '' $ac_executable_extensions; do
1487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1488 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1497 STRIP=$ac_cv_prog_STRIP
1498 if test -n "$STRIP"; then
1499 echo "$as_me:$LINENO: result: $STRIP" >&5
1500 echo "${ECHO_T}$STRIP" >&6
1502 echo "$as_me:$LINENO: result: no" >&5
1503 echo "${ECHO_T}no" >&6
1507 if test -z "$ac_cv_prog_STRIP"; then
1509 # Extract the first word of "strip", so it can be a program name with args.
1510 set dummy strip; ac_word=$2
1511 echo "$as_me:$LINENO: checking for $ac_word" >&5
1512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1513 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1516 if test -n "$ac_ct_STRIP"; then
1517 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1523 test -z "$as_dir" && as_dir=.
1524 for ac_exec_ext in '' $ac_executable_extensions; do
1525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1526 ac_cv_prog_ac_ct_STRIP="strip"
1527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1533 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1536 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1537 if test -n "$ac_ct_STRIP"; then
1538 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1539 echo "${ECHO_T}$ac_ct_STRIP" >&6
1541 echo "$as_me:$LINENO: result: no" >&5
1542 echo "${ECHO_T}no" >&6
1547 STRIP="$ac_cv_prog_STRIP"
1551 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1553 # We need awk for the "check" target. The system "awk" is bad on
1559 # The API version is the base version. We must guarantee
1560 # compatibility for all releases with the same API version.
1561 # Our current rule is that:
1562 # * All releases, including the prereleases, in an X.Y series
1563 # are compatible. So 1.5.1c is compatible with 1.5.
1564 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1566 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
1569 # A versioned directory, defined here for convenience.
1570 pkgvdatadir="\${datadir}/automake-${APIVERSION}"
1573 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1574 # hence `.' is really what we want for perllibdir and libdir.
1575 ACLOCAL="perllibdir=./lib `pwd`/aclocal --acdir=m4 -I `pwd`/m4"
1576 AUTOMAKE="perllibdir=./lib `pwd`/automake --libdir=lib"
1578 # Extract the first word of "perl", so it can be a program name with args.
1579 set dummy perl; ac_word=$2
1580 echo "$as_me:$LINENO: checking for $ac_word" >&5
1581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1582 if test "${ac_cv_path_PERL+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1594 test -z "$as_dir" && as_dir=.
1595 for ac_exec_ext in '' $ac_executable_extensions; do
1596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1597 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1607 PERL=$ac_cv_path_PERL
1609 if test -n "$PERL"; then
1610 echo "$as_me:$LINENO: result: $PERL" >&5
1611 echo "${ECHO_T}$PERL" >&6
1613 echo "$as_me:$LINENO: result: no" >&5
1614 echo "${ECHO_T}no" >&6
1617 if test -z "$PERL"; then
1618 { { echo "$as_me:$LINENO: error: perl not found" >&5
1619 echo "$as_me: error: perl not found" >&2;}
1620 { (exit 1); exit 1; }; }
1622 $PERL -e 'require 5.005;' || {
1623 { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
1624 echo "$as_me: error: perl 5.005 or better is required" >&2;}
1625 { (exit 1); exit 1; }; }
1628 # Test for Autoconf. We run Autoconf in a subdirectory to ease
1629 # deletion of any files created (such as those added to
1632 echo 'AC''_PREREQ(2.53b)' > conftest/conftest.ac
1633 { echo "$as_me:$LINENO: cd conftest && eval $AUTOCONF -o /dev/null conftest.ac" >&5
1634 (cd conftest && eval $AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
1636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1637 (exit $ac_status); } || {
1638 { { echo "$as_me:$LINENO: error: Autoconf 2.53b or better is required" >&5
1639 echo "$as_me: error: Autoconf 2.53b or better is required" >&2;}
1640 { (exit 1); exit 1; }; }
1644 # Test for ln. We need use it to install the versioned binaries.
1645 echo "$as_me:$LINENO: checking whether ln works" >&5
1646 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1647 if test "${am_cv_prog_ln+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1651 rm -f conftest conftest.file
1653 if ln conftest.file conftest 2>/dev/null; then
1656 am_cv_prog_ln='cp -p'
1658 rm -f conftest conftest.file
1664 test "x$am_cv_prog_ln" = xln && result=yes
1665 echo "$as_me:$LINENO: result: $result" >&5
1666 echo "${ECHO_T}$result" >&6
1668 ac_config_files="$ac_config_files automake"
1670 ac_config_files="$ac_config_files aclocal"
1673 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"
1676 cat >confcache <<\_ACEOF
1677 # This file is a shell script that caches the results of configure
1678 # tests run on this system so they can be shared between configure
1679 # scripts and configure runs, see configure's option --config-cache.
1680 # It is not useful on other systems. If it contains results you don't
1681 # want to keep, you may remove or edit it.
1683 # config.status only pays attention to the cache file if you give it
1684 # the --recheck option to rerun configure.
1686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1692 # The following way of writing the cache mishandles newlines in values,
1693 # but we know of no workaround that is simple, portable, and efficient.
1694 # So, don't put newlines in cache variables' values.
1695 # Ultrix sh set writes to stderr and can't be redirected directly,
1696 # and sets the high bit in the cache file unless we assign to the vars.
1699 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1701 # `set' does not quote correctly, so add quotes (double-quote
1702 # substitution turns \\\\ into \\, and sed turns \\ into \).
1705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1708 # `set' quotes correctly as required by POSIX, so do not add quotes.
1710 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1717 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1719 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1721 if cmp -s $cache_file confcache; then :; else
1722 if test -w $cache_file; then
1723 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1724 cat confcache >$cache_file
1726 echo "not updating unwritable cache $cache_file"
1731 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1732 # Let make expand exec_prefix.
1733 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1735 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1736 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1737 # trailing colons and then remove the whole line if VPATH becomes empty
1738 # (actually we leave an empty line to preserve line numbers).
1739 if test "x$srcdir" = x.; then
1740 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1741 s/:*\$(srcdir):*/:/;
1742 s/:*\${srcdir}:*/:/;
1744 s/^\([^=]*=[ ]*\):*/\1/;
1750 # Transform confdefs.h into DEFS.
1751 # Protect against shell expansion while executing Makefile rules.
1752 # Protect against Makefile macro expansion.
1754 # If the first sed substitution is executed (which looks for macros that
1755 # take arguments), then we branch to the quote section. Otherwise,
1756 # look for a macro that doesn't take arguments.
1757 cat >confdef2opt.sed <<\_ACEOF
1760 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1762 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1766 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1772 # We use echo to avoid assuming a particular line-breaking character.
1773 # The extra dot is to prevent the shell from consuming trailing
1774 # line-breaks from the sub-command output. A line-break within
1775 # single-quotes doesn't work because, if this script is created in a
1776 # platform that uses two characters for line-breaks (e.g., DOS), tr
1778 ac_LF_and_DOT=`echo; echo .`
1779 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1780 rm -f confdef2opt.sed
1785 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1786 # 1. Remove the extension, and $U if already installed.
1787 ac_i=`echo "$ac_i" |
1788 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1790 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1791 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1795 LTLIBOBJS=$ac_ltlibobjs
1799 : ${CONFIG_STATUS=./config.status}
1800 ac_clean_files_save=$ac_clean_files
1801 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1802 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1803 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1804 cat >$CONFIG_STATUS <<_ACEOF
1806 # Generated by $as_me.
1807 # Run this file to recreate the current configuration.
1808 # Compiler output produced by configure, useful for debugging
1809 # configure, is in config.log if it exists.
1812 SHELL=\${CONFIG_SHELL-$SHELL}
1815 cat >>$CONFIG_STATUS <<\_ACEOF
1816 ## --------------------- ##
1817 ## M4sh Initialization. ##
1818 ## --------------------- ##
1820 # Be Bourne compatible
1821 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1824 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1825 # is contrary to our usage. Disable this feature.
1826 alias -g '${1+"$@"}'='"$@"'
1827 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1831 # Support unset when possible.
1832 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1839 # Work around bugs in pre-3.0 UWIN ksh.
1840 $as_unset ENV MAIL MAILPATH
1846 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
1848 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
1849 eval $as_var=C; export $as_var
1855 # Required to use basename.
1856 if expr a : '\(a\)' >/dev/null 2>&1; then
1862 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1863 as_basename=basename
1869 # Name of the executable.
1870 as_me=`$as_basename "$0" ||
1871 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1872 X"$0" : 'X\(//\)$' \| \
1873 X"$0" : 'X\(/\)$' \| \
1874 . : '\(.\)' 2>/dev/null ||
1876 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1877 /^X\/\(\/\/\)$/{ s//\1/; q; }
1878 /^X\/\(\/\).*/{ s//\1/; q; }
1882 # PATH needs CR, and LINENO needs CR and PATH.
1883 # Avoid depending upon Character Ranges.
1884 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1885 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1886 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1887 as_cr_digits='0123456789'
1888 as_cr_alnum=$as_cr_Letters$as_cr_digits
1890 # The user is always right.
1891 if test "${PATH_SEPARATOR+set}" != set; then
1892 echo "#! /bin/sh" >conftest.sh
1893 echo "exit 0" >>conftest.sh
1894 chmod +x conftest.sh
1895 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
1906 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1907 test "x$as_lineno_1" != "x$as_lineno_2" &&
1908 test "x$as_lineno_3" = "x$as_lineno_2" || {
1909 # Find who we are. Look in the path if we contain no path at all
1912 *[\\/]* ) as_myself=$0 ;;
1913 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir=.
1918 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1923 # We did not find ourselves, most probably we were run as `sh COMMAND'
1924 # in which case we are not to be found in the path.
1925 if test "x$as_myself" = x; then
1928 if test ! -f "$as_myself"; then
1929 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1930 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1931 { (exit 1); exit 1; }; }
1933 case $CONFIG_SHELL in
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1939 test -z "$as_dir" && as_dir=.
1940 for as_base in sh bash ksh sh5; do
1943 if ("$as_dir/$as_base" -c '
1946 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1947 test "x$as_lineno_1" != "x$as_lineno_2" &&
1948 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1949 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1950 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1951 CONFIG_SHELL=$as_dir/$as_base
1953 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1961 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1962 # uniformly replaced by the line number. The first 'sed' inserts a
1963 # line-number line before each line; the second 'sed' does the real
1964 # work. The second script uses 'N' to pair each line-number line
1965 # with the numbered line, and appends trailing '-' during
1966 # substitution so that $LINENO is not a special case at line end.
1967 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1968 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1969 sed '=' <$as_myself |
1974 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1977 s,^['$as_cr_digits']*\n,,
1979 chmod +x $as_me.lineno ||
1980 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1981 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1982 { (exit 1); exit 1; }; }
1984 # Don't try to exec as it changes $[0], causing all sort of problems
1985 # (the dirname of $[0] is not the place where we might find the
1986 # original and so on. Autoconf is especially sensible to this).
1988 # Exit status is that of the last command.
1993 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1994 *c*,-n*) ECHO_N= ECHO_C='
1996 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1997 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2000 if expr a : '\(a\)' >/dev/null 2>&1; then
2006 rm -f conf$$ conf$$.exe conf$$.file
2008 if ln -s conf$$.file conf$$ 2>/dev/null; then
2009 # We could just check for DJGPP; but this test a) works b) is more generic
2010 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2011 if test -f conf$$.exe; then
2012 # Don't use ln at all; we don't have any links
2017 elif ln conf$$.file conf$$ 2>/dev/null; then
2022 rm -f conf$$ conf$$.exe conf$$.file
2024 if mkdir -p . 2>/dev/null; then
2030 as_executable_p="test -f"
2032 # Sed expression to map a string onto a valid CPP name.
2033 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2035 # Sed expression to map a string onto a valid variable name.
2036 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2040 # We need space, tab and new line, in precisely that order.
2050 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2051 # report actual input values of CONFIG_FILES etc. instead of their
2052 # values after options handling. Logging --version etc. is OK.
2056 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2057 ## Running $as_me. ##
2062 This file was extended by GNU Automake $as_me 1.6c, which was
2063 generated by GNU Autoconf 2.53c. Invocation command line was
2065 CONFIG_FILES = $CONFIG_FILES
2066 CONFIG_HEADERS = $CONFIG_HEADERS
2067 CONFIG_LINKS = $CONFIG_LINKS
2068 CONFIG_COMMANDS = $CONFIG_COMMANDS
2072 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2076 # Files that config.status was made for.
2077 if test -n "$ac_config_files"; then
2078 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2081 if test -n "$ac_config_headers"; then
2082 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2085 if test -n "$ac_config_links"; then
2086 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2089 if test -n "$ac_config_commands"; then
2090 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2093 cat >>$CONFIG_STATUS <<\_ACEOF
2096 \`$as_me' instantiates files from templates according to the
2097 current configuration.
2099 Usage: $0 [OPTIONS] [FILE]...
2101 -h, --help print this help, then exit
2102 -V, --version print version number, then exit
2103 -d, --debug don't remove temporary files
2104 --recheck update $as_me by reconfiguring in the same conditions
2105 --file=FILE[:TEMPLATE]
2106 instantiate the configuration file FILE
2108 Configuration files:
2111 Report bugs to <bug-autoconf@gnu.org>."
2114 cat >>$CONFIG_STATUS <<_ACEOF
2116 GNU Automake config.status 1.6c
2117 configured by $0, generated by GNU Autoconf 2.53c,
2118 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2120 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2121 Free Software Foundation, Inc.
2122 This config.status script is free software; the Free Software Foundation
2123 gives unlimited permission to copy, distribute and modify it."
2128 cat >>$CONFIG_STATUS <<\_ACEOF
2129 # If no file are specified by the user, then we need to provide default
2130 # value. By we need to know if files were specified by the user.
2136 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2137 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2145 *) # This is not an option, so the user has probably given explicit
2148 ac_need_defaults=false;;
2152 # Handling of the options.
2154 cat >>$CONFIG_STATUS <<_ACEOF
2155 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2156 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2157 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2159 cat >>$CONFIG_STATUS <<\_ACEOF
2160 --version | --vers* | -V )
2161 echo "$ac_cs_version"; exit 0 ;;
2163 # Conflict between --help and --header
2164 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2165 Try \`$0 --help' for more information." >&5
2166 echo "$as_me: error: ambiguous option: $1
2167 Try \`$0 --help' for more information." >&2;}
2168 { (exit 1); exit 1; }; };;
2169 --help | --hel | -h )
2170 echo "$ac_cs_usage"; exit 0 ;;
2171 --debug | --d* | -d )
2173 --file | --fil | --fi | --f )
2175 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2176 ac_need_defaults=false;;
2177 --header | --heade | --head | --hea )
2179 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2180 ac_need_defaults=false;;
2183 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2184 Try \`$0 --help' for more information." >&5
2185 echo "$as_me: error: unrecognized option: $1
2186 Try \`$0 --help' for more information." >&2;}
2187 { (exit 1); exit 1; }; } ;;
2189 *) ac_config_targets="$ac_config_targets $1" ;;
2201 cat >>$CONFIG_STATUS <<\_ACEOF
2202 for ac_config_target in $ac_config_targets
2204 case "$ac_config_target" in
2205 # Handling of arguments.
2206 "automake" ) CONFIG_FILES="$CONFIG_FILES automake" ;;
2207 "aclocal" ) CONFIG_FILES="$CONFIG_FILES aclocal" ;;
2208 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2209 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
2210 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2211 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
2212 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
2213 "m4/amversion.m4" ) CONFIG_FILES="$CONFIG_FILES m4/amversion.m4:m4/amversion.in" ;;
2214 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2215 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2216 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2217 { (exit 1); exit 1; }; };;
2221 # If the user did not use the arguments to specify the items to instantiate,
2222 # then the envvar interface is used. Set only those that are not.
2223 # We use the long form for the default assignment because of an extremely
2224 # bizarre bug on SunOS 4.1.3.
2225 if $ac_need_defaults; then
2226 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2229 # Create a temporary directory, and hook for its removal unless debugging.
2232 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2233 trap '{ (exit 1); exit 1; }' 1 2 13 15
2236 # Create a (secure) tmp directory for tmp files.
2239 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2240 test -n "$tmp" && test -d "$tmp"
2243 tmp=$TMPDIR/cs$$-$RANDOM
2244 (umask 077 && mkdir $tmp)
2247 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2248 { (exit 1); exit 1; }
2253 cat >>$CONFIG_STATUS <<_ACEOF
2256 # CONFIG_FILES section.
2259 # No need to generate the scripts if there are no CONFIG_FILES.
2260 # This happens for instance when ./config.status config.h
2261 if test -n "\$CONFIG_FILES"; then
2262 # Protect against being on the right side of a sed subst in config.status.
2263 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2264 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2265 s,@SHELL@,$SHELL,;t t
2266 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2267 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2268 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2269 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2270 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2271 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2272 s,@exec_prefix@,$exec_prefix,;t t
2273 s,@prefix@,$prefix,;t t
2274 s,@program_transform_name@,$program_transform_name,;t t
2275 s,@bindir@,$bindir,;t t
2276 s,@sbindir@,$sbindir,;t t
2277 s,@libexecdir@,$libexecdir,;t t
2278 s,@datadir@,$datadir,;t t
2279 s,@sysconfdir@,$sysconfdir,;t t
2280 s,@sharedstatedir@,$sharedstatedir,;t t
2281 s,@localstatedir@,$localstatedir,;t t
2282 s,@libdir@,$libdir,;t t
2283 s,@includedir@,$includedir,;t t
2284 s,@oldincludedir@,$oldincludedir,;t t
2285 s,@infodir@,$infodir,;t t
2286 s,@mandir@,$mandir,;t t
2287 s,@build_alias@,$build_alias,;t t
2288 s,@host_alias@,$host_alias,;t t
2289 s,@target_alias@,$target_alias,;t t
2291 s,@ECHO_C@,$ECHO_C,;t t
2292 s,@ECHO_N@,$ECHO_N,;t t
2293 s,@ECHO_T@,$ECHO_T,;t t
2295 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2296 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2297 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2298 s,@PACKAGE@,$PACKAGE,;t t
2299 s,@VERSION@,$VERSION,;t t
2300 s,@ACLOCAL@,$ACLOCAL,;t t
2301 s,@AUTOCONF@,$AUTOCONF,;t t
2302 s,@AUTOMAKE@,$AUTOMAKE,;t t
2303 s,@AUTOHEADER@,$AUTOHEADER,;t t
2304 s,@MAKEINFO@,$MAKEINFO,;t t
2305 s,@AMTAR@,$AMTAR,;t t
2306 s,@install_sh@,$install_sh,;t t
2307 s,@STRIP@,$STRIP,;t t
2308 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2309 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2311 s,@SET_MAKE@,$SET_MAKE,;t t
2312 s,@APIVERSION@,$APIVERSION,;t t
2313 s,@pkgvdatadir@,$pkgvdatadir,;t t
2316 s,@LIBOBJS@,$LIBOBJS,;t t
2317 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2322 cat >>$CONFIG_STATUS <<\_ACEOF
2323 # Split the substitutions into bite-sized pieces for seds with
2324 # small command number limits, like on Digital OSF/1 and HP-UX.
2326 ac_sed_frag=1 # Number of current file.
2327 ac_beg=1 # First line for current file.
2328 ac_end=$ac_max_sed_lines # Line after last line for current file.
2331 while $ac_more_lines; do
2332 if test $ac_beg -gt 1; then
2333 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2335 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2337 if test ! -s $tmp/subs.frag; then
2340 # The purpose of the label and of the branching condition is to
2341 # speed up the sed processing (if there are no `@' at all, there
2342 # is no need to browse any of the substitutions).
2343 # These are the two extra sed commands mentioned above.
2345 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2346 if test -z "$ac_sed_cmds"; then
2347 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2349 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2351 ac_sed_frag=`expr $ac_sed_frag + 1`
2353 ac_end=`expr $ac_end + $ac_max_sed_lines`
2356 if test -z "$ac_sed_cmds"; then
2359 fi # test -n "$CONFIG_FILES"
2362 cat >>$CONFIG_STATUS <<\_ACEOF
2363 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2364 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2366 - | *:- | *:-:* ) # input from stdin
2368 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2369 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2370 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2371 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2372 * ) ac_file_in=$ac_file.in ;;
2375 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2376 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2377 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2378 X"$ac_file" : 'X\(//\)[^/]' \| \
2379 X"$ac_file" : 'X\(//\)$' \| \
2380 X"$ac_file" : 'X\(/\)' \| \
2381 . : '\(.\)' 2>/dev/null ||
2383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2384 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2385 /^X\(\/\/\)$/{ s//\1/; q; }
2386 /^X\(\/\).*/{ s//\1/; q; }
2388 { if $as_mkdir_p; then
2393 while test ! -d "$as_dir"; do
2394 as_dirs="$as_dir $as_dirs"
2395 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2397 X"$as_dir" : 'X\(//\)[^/]' \| \
2398 X"$as_dir" : 'X\(//\)$' \| \
2399 X"$as_dir" : 'X\(/\)' \| \
2400 . : '\(.\)' 2>/dev/null ||
2402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2404 /^X\(\/\/\)$/{ s//\1/; q; }
2405 /^X\(\/\).*/{ s//\1/; q; }
2408 test ! -n "$as_dirs" || mkdir $as_dirs
2409 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2410 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2411 { (exit 1); exit 1; }; }; }
2415 if test "$ac_dir" != .; then
2416 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2417 # A "../" for each directory in $ac_dir_suffix.
2418 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2420 ac_dir_suffix= ac_top_builddir=
2424 .) # No --srcdir option. We are building in place.
2426 if test -z "$ac_top_builddir"; then
2429 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2431 [\\/]* | ?:[\\/]* ) # Absolute path.
2432 ac_srcdir=$srcdir$ac_dir_suffix;
2433 ac_top_srcdir=$srcdir ;;
2435 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2436 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2438 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2440 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2441 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2442 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2443 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2447 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2448 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2451 if test x"$ac_file" != x-; then
2452 { echo "$as_me:$LINENO: creating $ac_file" >&5
2453 echo "$as_me: creating $ac_file" >&6;}
2456 # Let's still pretend it is `configure' which instantiates (i.e., don't
2457 # use $as_me), people would be surprised to read:
2458 # /* config.h. Generated by config.status. */
2459 if test x"$ac_file" = x-; then
2462 configure_input="$ac_file. "
2464 configure_input=$configure_input"Generated from `echo $ac_file_in |
2465 sed 's,.*/,,'` by configure."
2467 # First look for the input files in the build tree, otherwise in the
2469 ac_file_inputs=`IFS=:
2470 for f in $ac_file_in; do
2472 -) echo $tmp/stdin ;;
2474 # Absolute (can't be DOS-style, as IFS=:)
2475 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2476 echo "$as_me: error: cannot find input file: $f" >&2;}
2477 { (exit 1); exit 1; }; }
2480 if test -f "$f"; then
2483 elif test -f "$srcdir/$f"; then
2488 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2489 echo "$as_me: error: cannot find input file: $f" >&2;}
2490 { (exit 1); exit 1; }; }
2493 done` || { (exit 1); exit 1; }
2495 cat >>$CONFIG_STATUS <<_ACEOF
2499 cat >>$CONFIG_STATUS <<\_ACEOF
2501 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2502 s,@configure_input@,$configure_input,;t t
2503 s,@srcdir@,$ac_srcdir,;t t
2504 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2505 s,@top_srcdir@,$ac_top_srcdir,;t t
2506 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2507 s,@builddir@,$ac_builddir,;t t
2508 s,@abs_builddir@,$ac_abs_builddir,;t t
2509 s,@top_builddir@,$ac_top_builddir,;t t
2510 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2511 s,@INSTALL@,$ac_INSTALL,;t t
2512 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2514 if test x"$ac_file" != x-; then
2515 mv $tmp/out $ac_file
2521 # Run the commands associated with the file.
2523 automake ) chmod +x automake ;;
2524 aclocal ) chmod +x aclocal ;;
2529 cat >>$CONFIG_STATUS <<\_ACEOF
2531 { (exit 0); exit 0; }
2533 chmod +x $CONFIG_STATUS
2534 ac_clean_files=$ac_clean_files_save
2537 # configure is writing to config.log, and then calls config.status.
2538 # config.status does its own redirection, appending to config.log.
2539 # Unfortunately, on DOS this fails, as config.log is still kept open
2540 # by configure, so config.status won't be able to write to it; its
2541 # output is simply discarded. So we exec the FD to /dev/null,
2542 # effectively closing config.log, so it can be properly (re)opened and
2543 # appended to by config.status. When coming back to configure, we
2544 # need to make the FD available again.
2545 if test "$no_create" != yes; then
2548 $SHELL $CONFIG_STATUS || ac_cs_success=false
2550 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2551 # would make configure fail if this is the last instruction.
2552 $ac_cs_success || { (exit 1); exit 1; }