2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.54 for GNU Automake 1.7.
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.7'
269 PACKAGE_STRING='GNU Automake 1.7'
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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE APIVERSION pkgvdatadir PERL TEX LN EGREP FGREP 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.7 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.7:";;
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.7
852 generated by GNU Autoconf 2.54
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.7, which was
867 generated by GNU Autoconf 2.54. 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 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
934 # Get rid of the leading space.
938 # When interrupted or exit'd, cleanup temporary files, and complete
939 # config.log. We remove comments because anyway the quotes in there
940 # would cause problems or look ugly.
941 # WARNING: Be sure not to use single quotes in there, as some shells,
942 # such as our DU 5.0 friend, will then `close' the trap.
944 # Save into config.log some information that might help in debugging.
949 ## ---------------- ##
950 ## Cache variables. ##
951 ## ---------------- ##
954 # The following way of writing the cache mishandles newlines in values,
957 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
960 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
961 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
965 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
972 ## ----------------- ##
973 ## Output variables. ##
974 ## ----------------- ##
977 for ac_var in $ac_subst_vars
979 eval ac_val=$`echo $ac_var`
980 echo "$ac_var='"'"'$ac_val'"'"'"
984 if test -n "$ac_subst_files"; then
991 for ac_var in $ac_subst_files
993 eval ac_val=$`echo $ac_var`
994 echo "$ac_var='"'"'$ac_val'"'"'"
999 if test -s confdefs.h; then
1006 sed "/^$/d" confdefs.h | sort
1009 test "$ac_signal" != 0 &&
1010 echo "$as_me: caught signal $ac_signal"
1011 echo "$as_me: exit $exit_status"
1013 rm -f core core.* *.core &&
1014 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1017 for ac_signal in 1 2 13 15; do
1018 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1022 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1023 rm -rf conftest* confdefs.h
1024 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1027 # Predefined preprocessor variables.
1029 cat >>confdefs.h <<_ACEOF
1030 #define PACKAGE_NAME "$PACKAGE_NAME"
1034 cat >>confdefs.h <<_ACEOF
1035 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1039 cat >>confdefs.h <<_ACEOF
1040 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1044 cat >>confdefs.h <<_ACEOF
1045 #define PACKAGE_STRING "$PACKAGE_STRING"
1049 cat >>confdefs.h <<_ACEOF
1050 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1054 # Let the site file select an alternate cache file if it wants to.
1055 # Prefer explicitly selected file to automatically selected ones.
1056 if test -z "$CONFIG_SITE"; then
1057 if test "x$prefix" != xNONE; then
1058 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1060 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1063 for ac_site_file in $CONFIG_SITE; do
1064 if test -r "$ac_site_file"; then
1065 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1066 echo "$as_me: loading site script $ac_site_file" >&6;}
1067 sed 's/^/| /' "$ac_site_file" >&5
1072 if test -r "$cache_file"; then
1073 # Some versions of bash will fail to source /dev/null (special
1074 # files actually), so we avoid doing that.
1075 if test -f "$cache_file"; then
1076 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1077 echo "$as_me: loading cache $cache_file" >&6;}
1079 [\\/]* | ?:[\\/]* ) . $cache_file;;
1080 *) . ./$cache_file;;
1084 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1085 echo "$as_me: creating cache $cache_file" >&6;}
1089 # Check that the precious variables saved in the cache have kept the same
1091 ac_cache_corrupted=false
1092 for ac_var in `(set) 2>&1 |
1093 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1094 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1095 eval ac_new_set=\$ac_env_${ac_var}_set
1096 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1097 eval ac_new_val="\$ac_env_${ac_var}_value"
1098 case $ac_old_set,$ac_new_set in
1100 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1101 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1102 ac_cache_corrupted=: ;;
1104 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1105 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1106 ac_cache_corrupted=: ;;
1109 if test "x$ac_old_val" != "x$ac_new_val"; then
1110 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1111 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1112 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1113 echo "$as_me: former value: $ac_old_val" >&2;}
1114 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1115 echo "$as_me: current value: $ac_new_val" >&2;}
1116 ac_cache_corrupted=:
1119 # Pass precious variables to config.status.
1120 if test "$ac_new_set" = set; then
1122 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1123 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1124 *) ac_arg=$ac_var=$ac_new_val ;;
1126 case " $ac_configure_args " in
1127 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1128 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1132 if $ac_cache_corrupted; then
1133 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1134 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1135 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1136 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1137 { (exit 1); exit 1; }; }
1141 ac_cpp='$CPP $CPPFLAGS'
1142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1175 for ac_dir in lib $srcdir/lib; do
1176 if test -f $ac_dir/install-sh; then
1178 ac_install_sh="$ac_aux_dir/install-sh -c"
1180 elif test -f $ac_dir/install.sh; then
1182 ac_install_sh="$ac_aux_dir/install.sh -c"
1184 elif test -f $ac_dir/shtool; then
1186 ac_install_sh="$ac_aux_dir/shtool install -c"
1190 if test -z "$ac_aux_dir"; then
1191 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1192 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1193 { (exit 1); exit 1; }; }
1195 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1196 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1197 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1200 am__api_version="1.7"
1201 # Find a good install program. We prefer a C program (faster),
1202 # so one script is as good as another. But avoid the broken or
1203 # incompatible versions:
1204 # SysV /etc/install, /usr/sbin/install
1205 # SunOS /usr/etc/install
1206 # IRIX /sbin/install
1208 # AmigaOS /C/install, which installs bootblocks on floppy discs
1209 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1210 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1211 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1212 # ./install, which can be erroneously created by make from ./install.sh.
1213 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1214 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1215 if test -z "$INSTALL"; then
1216 if test "${ac_cv_path_install+set}" = set; then
1217 echo $ECHO_N "(cached) $ECHO_C" >&6
1219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1223 test -z "$as_dir" && as_dir=.
1224 # Account for people who put trailing slashes in PATH elements.
1226 ./ | .// | /cC/* | \
1227 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1230 # OSF1 and SCO ODT 3.0 have their own names for install.
1231 # Don't use installbsd from OSF since it installs stuff as root
1233 for ac_prog in ginstall scoinst install; do
1234 for ac_exec_ext in '' $ac_executable_extensions; do
1235 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1236 if test $ac_prog = install &&
1237 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1238 # AIX install. It has an incompatible calling convention.
1240 elif test $ac_prog = install &&
1241 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1242 # program-specific install script used by HP pwplus--don't use.
1245 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1257 if test "${ac_cv_path_install+set}" = set; then
1258 INSTALL=$ac_cv_path_install
1260 # As a last resort, use the slow shell script. We don't cache a
1261 # path for INSTALL within a source directory, because that will
1262 # break other packages using the cache if that directory is
1263 # removed, or if the path is relative.
1264 INSTALL=$ac_install_sh
1267 echo "$as_me:$LINENO: result: $INSTALL" >&5
1268 echo "${ECHO_T}$INSTALL" >&6
1270 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1271 # It thinks the first close brace ends the variable substitution.
1272 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1274 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1276 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1278 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1279 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1282 echo timestamp > conftest.file
1283 # Do `set' in a subshell so we don't clobber the current shell's
1284 # arguments. Must try -L first in case configure is actually a
1285 # symlink; some systems play weird games with the mod time of symlinks
1286 # (eg FreeBSD returns the mod time of the symlink's containing
1289 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1290 if test "$*" = "X"; then
1292 set X `ls -t $srcdir/configure conftest.file`
1295 if test "$*" != "X $srcdir/configure conftest.file" \
1296 && test "$*" != "X conftest.file $srcdir/configure"; then
1298 # If neither matched, then we have a broken ls. This can happen
1299 # if, for instance, CONFIG_SHELL is bash and it inherits a
1300 # broken ls alias from the environment. This has actually
1301 # happened. Such a system could not be considered "sane".
1302 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1303 alias in your environment" >&5
1304 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1305 alias in your environment" >&2;}
1306 { (exit 1); exit 1; }; }
1309 test "$2" = conftest.file
1315 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1316 Check your system clock" >&5
1317 echo "$as_me: error: newly created file is older than distributed files!
1318 Check your system clock" >&2;}
1319 { (exit 1); exit 1; }; }
1321 echo "$as_me:$LINENO: result: yes" >&5
1322 echo "${ECHO_T}yes" >&6
1323 test "$program_prefix" != NONE &&
1324 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1325 # Use a double $ so make ignores it.
1326 test "$program_suffix" != NONE &&
1327 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1328 # Double any \ or $. echo might interpret backslashes.
1329 # By default was `s,x,x', remove it if useless.
1330 cat <<\_ACEOF >conftest.sed
1331 s/[\\$]/&&/g;s/;s,x,x,$//
1333 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1337 # expand $ac_aux_dir to an absolute path
1338 am_aux_dir=`cd $ac_aux_dir && pwd`
1340 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1341 # Use eval to expand $SHELL
1342 if eval "$MISSING --run true"; then
1343 am_missing_run="$MISSING --run "
1346 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1347 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1350 for ac_prog in gawk mawk nawk awk
1352 # Extract the first word of "$ac_prog", so it can be a program name with args.
1353 set dummy $ac_prog; ac_word=$2
1354 echo "$as_me:$LINENO: checking for $ac_word" >&5
1355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1356 if test "${ac_cv_prog_AWK+set}" = set; then
1357 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 if test -n "$AWK"; then
1360 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1366 test -z "$as_dir" && as_dir=.
1367 for ac_exec_ext in '' $ac_executable_extensions; do
1368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1369 ac_cv_prog_AWK="$ac_prog"
1370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1379 if test -n "$AWK"; then
1380 echo "$as_me:$LINENO: result: $AWK" >&5
1381 echo "${ECHO_T}$AWK" >&6
1383 echo "$as_me:$LINENO: result: no" >&5
1384 echo "${ECHO_T}no" >&6
1387 test -n "$AWK" && break
1390 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1391 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1392 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1393 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1394 echo $ECHO_N "(cached) $ECHO_C" >&6
1396 cat >conftest.make <<\_ACEOF
1398 @echo 'ac_maketemp="${MAKE}"'
1400 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1401 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1402 if test -n "$ac_maketemp"; then
1403 eval ac_cv_prog_make_${ac_make}_set=yes
1405 eval ac_cv_prog_make_${ac_make}_set=no
1409 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1410 echo "$as_me:$LINENO: result: yes" >&5
1411 echo "${ECHO_T}yes" >&6
1414 echo "$as_me:$LINENO: result: no" >&5
1415 echo "${ECHO_T}no" >&6
1416 SET_MAKE="MAKE=${MAKE-make}"
1419 # test to see if srcdir already configured
1420 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1421 test -f $srcdir/config.status; then
1422 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1423 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1424 { (exit 1); exit 1; }; }
1427 # test whether we have cygpath
1428 if test -z "$CYGPATH_W"; then
1429 if (cygpath --version) >/dev/null 2>/dev/null; then
1430 CYGPATH_W='cygpath -w'
1437 # Define the identity of the package.
1442 cat >>confdefs.h <<_ACEOF
1443 #define PACKAGE "$PACKAGE"
1447 cat >>confdefs.h <<_ACEOF
1448 #define VERSION "$VERSION"
1451 # Some tools Automake needs.
1453 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1456 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1459 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1462 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1465 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1468 AMTAR=${AMTAR-"${am_missing_run}tar"}
1470 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1472 # Installed binaries are usually stripped using `strip' when the user
1473 # run `make install-strip'. However `strip' might not be the right
1474 # tool to use in cross-compilation environments, therefore Automake
1475 # will honor the `STRIP' environment variable to overrule this program.
1476 if test "$cross_compiling" != no; then
1477 if test -n "$ac_tool_prefix"; then
1478 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1479 set dummy ${ac_tool_prefix}strip; ac_word=$2
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5
1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1482 if test "${ac_cv_prog_STRIP+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 if test -n "$STRIP"; then
1486 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492 test -z "$as_dir" && as_dir=.
1493 for ac_exec_ext in '' $ac_executable_extensions; do
1494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1495 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1504 STRIP=$ac_cv_prog_STRIP
1505 if test -n "$STRIP"; then
1506 echo "$as_me:$LINENO: result: $STRIP" >&5
1507 echo "${ECHO_T}$STRIP" >&6
1509 echo "$as_me:$LINENO: result: no" >&5
1510 echo "${ECHO_T}no" >&6
1514 if test -z "$ac_cv_prog_STRIP"; then
1516 # Extract the first word of "strip", so it can be a program name with args.
1517 set dummy strip; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$ac_ct_STRIP"; then
1524 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_ac_ct_STRIP="strip"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1540 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1543 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1544 if test -n "$ac_ct_STRIP"; then
1545 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1546 echo "${ECHO_T}$ac_ct_STRIP" >&6
1548 echo "$as_me:$LINENO: result: no" >&5
1549 echo "${ECHO_T}no" >&6
1554 STRIP="$ac_cv_prog_STRIP"
1558 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1560 # We need awk for the "check" target. The system "awk" is bad on
1566 # The API version is the base version. We must guarantee
1567 # compatibility for all releases with the same API version.
1568 # Our current rule is that:
1569 # * All releases, including the prereleases, in an X.Y series
1570 # are compatible. So 1.5.1c is compatible with 1.5.
1571 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1573 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
1576 # A versioned directory, defined here for convenience.
1577 pkgvdatadir="\${datadir}/automake-${APIVERSION}"
1580 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1581 # hence `.' is really what we want for perllibdir and libdir.
1582 ACLOCAL="perllibdir=./lib `pwd`/aclocal --acdir=m4 -I `pwd`/m4"
1583 AUTOMAKE="perllibdir=./lib `pwd`/automake --libdir=lib"
1585 # Extract the first word of "perl", so it can be a program name with args.
1586 set dummy perl; ac_word=$2
1587 echo "$as_me:$LINENO: checking for $ac_word" >&5
1588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1589 if test "${ac_cv_path_PERL+set}" = set; then
1590 echo $ECHO_N "(cached) $ECHO_C" >&6
1594 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 test -z "$as_dir" && as_dir=.
1602 for ac_exec_ext in '' $ac_executable_extensions; do
1603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1604 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1614 PERL=$ac_cv_path_PERL
1616 if test -n "$PERL"; then
1617 echo "$as_me:$LINENO: result: $PERL" >&5
1618 echo "${ECHO_T}$PERL" >&6
1620 echo "$as_me:$LINENO: result: no" >&5
1621 echo "${ECHO_T}no" >&6
1624 if test -z "$PERL"; then
1625 { { echo "$as_me:$LINENO: error: perl not found" >&5
1626 echo "$as_me: error: perl not found" >&2;}
1627 { (exit 1); exit 1; }; }
1629 $PERL -e 'require 5.005;' || {
1630 { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
1631 echo "$as_me: error: perl 5.005 or better is required" >&2;}
1632 { (exit 1); exit 1; }; }
1635 # The test suite will skip some tests if tex is absent.
1636 # Extract the first word of "tex", so it can be a program name with args.
1637 set dummy tex; ac_word=$2
1638 echo "$as_me:$LINENO: checking for $ac_word" >&5
1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640 if test "${ac_cv_prog_TEX+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 if test -n "$TEX"; then
1644 ac_cv_prog_TEX="$TEX" # Let the user override the test.
1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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_prog_TEX="tex"
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 if test -n "$TEX"; then
1664 echo "$as_me:$LINENO: result: $TEX" >&5
1665 echo "${ECHO_T}$TEX" >&6
1667 echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1672 # Test for Autoconf. We run Autoconf in a subdirectory to ease
1673 # deletion of any files created (such as those added to
1676 echo 'AC''_PREREQ(2.54)' > conftest/conftest.ac
1677 { echo "$as_me:$LINENO: cd conftest && eval $AUTOCONF -o /dev/null conftest.ac" >&5
1678 (cd conftest && eval $AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
1680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1681 (exit $ac_status); } || {
1682 { { echo "$as_me:$LINENO: error: Autoconf 2.54 or better is required" >&5
1683 echo "$as_me: error: Autoconf 2.54 or better is required" >&2;}
1684 { (exit 1); exit 1; }; }
1688 # Test for ln. We need use it to install the versioned binaries.
1689 echo "$as_me:$LINENO: checking whether ln works" >&5
1690 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1691 if test "${am_cv_prog_ln+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 rm -f conftest conftest.file
1697 if ln conftest.file conftest 2>/dev/null; then
1700 am_cv_prog_ln='cp -p'
1702 rm -f conftest conftest.file
1708 test "x$am_cv_prog_ln" = xln && result=yes
1709 echo "$as_me:$LINENO: result: $result" >&5
1710 echo "${ECHO_T}$result" >&6
1712 # Test for things needed by the test suite.
1713 echo "$as_me:$LINENO: checking for egrep" >&5
1714 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
1715 if test "${ac_cv_prog_egrep+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1718 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
1719 then ac_cv_prog_egrep='grep -E'
1720 else ac_cv_prog_egrep='egrep'
1723 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
1724 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
1725 EGREP=$ac_cv_prog_egrep
1728 echo "$as_me:$LINENO: checking for fgrep" >&5
1729 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
1730 if test "${ac_cv_prog_fgrep+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1733 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
1734 then ac_cv_prog_fgrep='grep -F'
1735 else ac_cv_prog_fgrep='fgrep'
1738 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
1739 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
1740 FGREP=$ac_cv_prog_fgrep
1744 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"
1747 cat >confcache <<\_ACEOF
1748 # This file is a shell script that caches the results of configure
1749 # tests run on this system so they can be shared between configure
1750 # scripts and configure runs, see configure's option --config-cache.
1751 # It is not useful on other systems. If it contains results you don't
1752 # want to keep, you may remove or edit it.
1754 # config.status only pays attention to the cache file if you give it
1755 # the --recheck option to rerun configure.
1757 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1758 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1763 # The following way of writing the cache mishandles newlines in values,
1764 # but we know of no workaround that is simple, portable, and efficient.
1765 # So, don't put newlines in cache variables' values.
1766 # Ultrix sh set writes to stderr and can't be redirected directly,
1767 # and sets the high bit in the cache file unless we assign to the vars.
1770 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1772 # `set' does not quote correctly, so add quotes (double-quote
1773 # substitution turns \\\\ into \\, and sed turns \\ into \).
1776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1779 # `set' quotes correctly as required by POSIX, so do not add quotes.
1781 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1790 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1792 if cmp -s $cache_file confcache; then :; else
1793 if test -w $cache_file; then
1794 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1795 cat confcache >$cache_file
1797 echo "not updating unwritable cache $cache_file"
1802 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1803 # Let make expand exec_prefix.
1804 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1806 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1807 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1808 # trailing colons and then remove the whole line if VPATH becomes empty
1809 # (actually we leave an empty line to preserve line numbers).
1810 if test "x$srcdir" = x.; then
1811 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1812 s/:*\$(srcdir):*/:/;
1813 s/:*\${srcdir}:*/:/;
1815 s/^\([^=]*=[ ]*\):*/\1/;
1821 # Transform confdefs.h into DEFS.
1822 # Protect against shell expansion while executing Makefile rules.
1823 # Protect against Makefile macro expansion.
1825 # If the first sed substitution is executed (which looks for macros that
1826 # take arguments), then we branch to the quote section. Otherwise,
1827 # look for a macro that doesn't take arguments.
1828 cat >confdef2opt.sed <<\_ACEOF
1831 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1833 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1837 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1843 # We use echo to avoid assuming a particular line-breaking character.
1844 # The extra dot is to prevent the shell from consuming trailing
1845 # line-breaks from the sub-command output. A line-break within
1846 # single-quotes doesn't work because, if this script is created in a
1847 # platform that uses two characters for line-breaks (e.g., DOS), tr
1849 ac_LF_and_DOT=`echo; echo .`
1850 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1851 rm -f confdef2opt.sed
1856 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1857 # 1. Remove the extension, and $U if already installed.
1858 ac_i=`echo "$ac_i" |
1859 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1861 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1862 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1866 LTLIBOBJS=$ac_ltlibobjs
1870 : ${CONFIG_STATUS=./config.status}
1871 ac_clean_files_save=$ac_clean_files
1872 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1873 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1874 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1875 cat >$CONFIG_STATUS <<_ACEOF
1877 # Generated by $as_me.
1878 # Run this file to recreate the current configuration.
1879 # Compiler output produced by configure, useful for debugging
1880 # configure, is in config.log if it exists.
1883 SHELL=\${CONFIG_SHELL-$SHELL}
1886 cat >>$CONFIG_STATUS <<\_ACEOF
1887 ## --------------------- ##
1888 ## M4sh Initialization. ##
1889 ## --------------------- ##
1891 # Be Bourne compatible
1892 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1895 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1896 # is contrary to our usage. Disable this feature.
1897 alias -g '${1+"$@"}'='"$@"'
1898 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1902 # Support unset when possible.
1903 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1910 # Work around bugs in pre-3.0 UWIN ksh.
1911 $as_unset ENV MAIL MAILPATH
1917 for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
1919 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
1920 eval $as_var=C; export $as_var
1926 # Required to use basename.
1927 if expr a : '\(a\)' >/dev/null 2>&1; then
1933 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1934 as_basename=basename
1940 # Name of the executable.
1941 as_me=`$as_basename "$0" ||
1942 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1943 X"$0" : 'X\(//\)$' \| \
1944 X"$0" : 'X\(/\)$' \| \
1945 . : '\(.\)' 2>/dev/null ||
1947 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1948 /^X\/\(\/\/\)$/{ s//\1/; q; }
1949 /^X\/\(\/\).*/{ s//\1/; q; }
1953 # PATH needs CR, and LINENO needs CR and PATH.
1954 # Avoid depending upon Character Ranges.
1955 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1956 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1957 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1958 as_cr_digits='0123456789'
1959 as_cr_alnum=$as_cr_Letters$as_cr_digits
1961 # The user is always right.
1962 if test "${PATH_SEPARATOR+set}" != set; then
1963 echo "#! /bin/sh" >conftest.sh
1964 echo "exit 0" >>conftest.sh
1965 chmod +x conftest.sh
1966 if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
1977 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1978 test "x$as_lineno_1" != "x$as_lineno_2" &&
1979 test "x$as_lineno_3" = "x$as_lineno_2" || {
1980 # Find who we are. Look in the path if we contain no path at all
1983 *[\\/]* ) as_myself=$0 ;;
1984 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988 test -z "$as_dir" && as_dir=.
1989 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1994 # We did not find ourselves, most probably we were run as `sh COMMAND'
1995 # in which case we are not to be found in the path.
1996 if test "x$as_myself" = x; then
1999 if test ! -f "$as_myself"; then
2000 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2001 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2002 { (exit 1); exit 1; }; }
2004 case $CONFIG_SHELL in
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2010 test -z "$as_dir" && as_dir=.
2011 for as_base in sh bash ksh sh5; do
2014 if ("$as_dir/$as_base" -c '
2017 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2018 test "x$as_lineno_1" != "x$as_lineno_2" &&
2019 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2020 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2021 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2022 CONFIG_SHELL=$as_dir/$as_base
2024 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2032 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2033 # uniformly replaced by the line number. The first 'sed' inserts a
2034 # line-number line before each line; the second 'sed' does the real
2035 # work. The second script uses 'N' to pair each line-number line
2036 # with the numbered line, and appends trailing '-' during
2037 # substitution so that $LINENO is not a special case at line end.
2038 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2039 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2040 sed '=' <$as_myself |
2045 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2048 s,^['$as_cr_digits']*\n,,
2050 chmod +x $as_me.lineno ||
2051 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2052 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2053 { (exit 1); exit 1; }; }
2055 # Don't try to exec as it changes $[0], causing all sort of problems
2056 # (the dirname of $[0] is not the place where we might find the
2057 # original and so on. Autoconf is especially sensible to this).
2059 # Exit status is that of the last command.
2064 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2065 *c*,-n*) ECHO_N= ECHO_C='
2067 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2068 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2071 if expr a : '\(a\)' >/dev/null 2>&1; then
2077 rm -f conf$$ conf$$.exe conf$$.file
2079 if ln -s conf$$.file conf$$ 2>/dev/null; then
2080 # We could just check for DJGPP; but this test a) works b) is more generic
2081 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2082 if test -f conf$$.exe; then
2083 # Don't use ln at all; we don't have any links
2088 elif ln conf$$.file conf$$ 2>/dev/null; then
2093 rm -f conf$$ conf$$.exe conf$$.file
2095 if mkdir -p . 2>/dev/null; then
2101 as_executable_p="test -f"
2103 # Sed expression to map a string onto a valid CPP name.
2104 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2106 # Sed expression to map a string onto a valid variable name.
2107 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2111 # We need space, tab and new line, in precisely that order.
2121 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2122 # report actual input values of CONFIG_FILES etc. instead of their
2123 # values after options handling. Logging --version etc. is OK.
2127 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2128 ## Running $as_me. ##
2133 This file was extended by GNU Automake $as_me 1.7, which was
2134 generated by GNU Autoconf 2.54. Invocation command line was
2136 CONFIG_FILES = $CONFIG_FILES
2137 CONFIG_HEADERS = $CONFIG_HEADERS
2138 CONFIG_LINKS = $CONFIG_LINKS
2139 CONFIG_COMMANDS = $CONFIG_COMMANDS
2143 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2147 # Files that config.status was made for.
2148 if test -n "$ac_config_files"; then
2149 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2152 if test -n "$ac_config_headers"; then
2153 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2156 if test -n "$ac_config_links"; then
2157 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2160 if test -n "$ac_config_commands"; then
2161 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2164 cat >>$CONFIG_STATUS <<\_ACEOF
2167 \`$as_me' instantiates files from templates according to the
2168 current configuration.
2170 Usage: $0 [OPTIONS] [FILE]...
2172 -h, --help print this help, then exit
2173 -V, --version print version number, then exit
2174 -d, --debug don't remove temporary files
2175 --recheck update $as_me by reconfiguring in the same conditions
2176 --file=FILE[:TEMPLATE]
2177 instantiate the configuration file FILE
2179 Configuration files:
2182 Report bugs to <bug-autoconf@gnu.org>."
2185 cat >>$CONFIG_STATUS <<_ACEOF
2187 GNU Automake config.status 1.7
2188 configured by $0, generated by GNU Autoconf 2.54,
2189 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2191 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2192 Free Software Foundation, Inc.
2193 This config.status script is free software; the Free Software Foundation
2194 gives unlimited permission to copy, distribute and modify it."
2199 cat >>$CONFIG_STATUS <<\_ACEOF
2200 # If no file are specified by the user, then we need to provide default
2201 # value. By we need to know if files were specified by the user.
2207 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2208 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2216 *) # This is not an option, so the user has probably given explicit
2219 ac_need_defaults=false;;
2223 # Handling of the options.
2225 cat >>$CONFIG_STATUS <<_ACEOF
2226 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2227 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2228 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2230 cat >>$CONFIG_STATUS <<\_ACEOF
2231 --version | --vers* | -V )
2232 echo "$ac_cs_version"; exit 0 ;;
2234 # Conflict between --help and --header
2235 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2236 Try \`$0 --help' for more information." >&5
2237 echo "$as_me: error: ambiguous option: $1
2238 Try \`$0 --help' for more information." >&2;}
2239 { (exit 1); exit 1; }; };;
2240 --help | --hel | -h )
2241 echo "$ac_cs_usage"; exit 0 ;;
2242 --debug | --d* | -d )
2244 --file | --fil | --fi | --f )
2246 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2247 ac_need_defaults=false;;
2248 --header | --heade | --head | --hea )
2250 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2251 ac_need_defaults=false;;
2254 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2255 Try \`$0 --help' for more information." >&5
2256 echo "$as_me: error: unrecognized option: $1
2257 Try \`$0 --help' for more information." >&2;}
2258 { (exit 1); exit 1; }; } ;;
2260 *) ac_config_targets="$ac_config_targets $1" ;;
2272 cat >>$CONFIG_STATUS <<\_ACEOF
2273 for ac_config_target in $ac_config_targets
2275 case "$ac_config_target" in
2276 # Handling of arguments.
2277 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2278 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
2279 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2280 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
2281 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
2282 "m4/amversion.m4" ) CONFIG_FILES="$CONFIG_FILES m4/amversion.m4:m4/amversion.in" ;;
2283 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
2284 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
2285 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2286 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2287 { (exit 1); exit 1; }; };;
2291 # If the user did not use the arguments to specify the items to instantiate,
2292 # then the envvar interface is used. Set only those that are not.
2293 # We use the long form for the default assignment because of an extremely
2294 # bizarre bug on SunOS 4.1.3.
2295 if $ac_need_defaults; then
2296 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2299 # Create a temporary directory, and hook for its removal unless debugging.
2302 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2303 trap '{ (exit 1); exit 1; }' 1 2 13 15
2306 # Create a (secure) tmp directory for tmp files.
2309 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2310 test -n "$tmp" && test -d "$tmp"
2313 tmp=$TMPDIR/cs$$-$RANDOM
2314 (umask 077 && mkdir $tmp)
2317 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2318 { (exit 1); exit 1; }
2323 cat >>$CONFIG_STATUS <<_ACEOF
2326 # CONFIG_FILES section.
2329 # No need to generate the scripts if there are no CONFIG_FILES.
2330 # This happens for instance when ./config.status config.h
2331 if test -n "\$CONFIG_FILES"; then
2332 # Protect against being on the right side of a sed subst in config.status.
2333 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2334 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2335 s,@SHELL@,$SHELL,;t t
2336 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2337 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2338 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2339 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2340 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2341 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2342 s,@exec_prefix@,$exec_prefix,;t t
2343 s,@prefix@,$prefix,;t t
2344 s,@program_transform_name@,$program_transform_name,;t t
2345 s,@bindir@,$bindir,;t t
2346 s,@sbindir@,$sbindir,;t t
2347 s,@libexecdir@,$libexecdir,;t t
2348 s,@datadir@,$datadir,;t t
2349 s,@sysconfdir@,$sysconfdir,;t t
2350 s,@sharedstatedir@,$sharedstatedir,;t t
2351 s,@localstatedir@,$localstatedir,;t t
2352 s,@libdir@,$libdir,;t t
2353 s,@includedir@,$includedir,;t t
2354 s,@oldincludedir@,$oldincludedir,;t t
2355 s,@infodir@,$infodir,;t t
2356 s,@mandir@,$mandir,;t t
2357 s,@build_alias@,$build_alias,;t t
2358 s,@host_alias@,$host_alias,;t t
2359 s,@target_alias@,$target_alias,;t t
2361 s,@ECHO_C@,$ECHO_C,;t t
2362 s,@ECHO_N@,$ECHO_N,;t t
2363 s,@ECHO_T@,$ECHO_T,;t t
2365 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2366 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2367 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2368 s,@CYGPATH_W@,$CYGPATH_W,;t t
2369 s,@PACKAGE@,$PACKAGE,;t t
2370 s,@VERSION@,$VERSION,;t t
2371 s,@ACLOCAL@,$ACLOCAL,;t t
2372 s,@AUTOCONF@,$AUTOCONF,;t t
2373 s,@AUTOMAKE@,$AUTOMAKE,;t t
2374 s,@AUTOHEADER@,$AUTOHEADER,;t t
2375 s,@MAKEINFO@,$MAKEINFO,;t t
2376 s,@AMTAR@,$AMTAR,;t t
2377 s,@install_sh@,$install_sh,;t t
2378 s,@STRIP@,$STRIP,;t t
2379 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2380 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2382 s,@SET_MAKE@,$SET_MAKE,;t t
2383 s,@APIVERSION@,$APIVERSION,;t t
2384 s,@pkgvdatadir@,$pkgvdatadir,;t t
2388 s,@EGREP@,$EGREP,;t t
2389 s,@FGREP@,$FGREP,;t t
2390 s,@LIBOBJS@,$LIBOBJS,;t t
2391 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2396 cat >>$CONFIG_STATUS <<\_ACEOF
2397 # Split the substitutions into bite-sized pieces for seds with
2398 # small command number limits, like on Digital OSF/1 and HP-UX.
2400 ac_sed_frag=1 # Number of current file.
2401 ac_beg=1 # First line for current file.
2402 ac_end=$ac_max_sed_lines # Line after last line for current file.
2405 while $ac_more_lines; do
2406 if test $ac_beg -gt 1; then
2407 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2409 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2411 if test ! -s $tmp/subs.frag; then
2414 # The purpose of the label and of the branching condition is to
2415 # speed up the sed processing (if there are no `@' at all, there
2416 # is no need to browse any of the substitutions).
2417 # These are the two extra sed commands mentioned above.
2419 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2420 if test -z "$ac_sed_cmds"; then
2421 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2423 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2425 ac_sed_frag=`expr $ac_sed_frag + 1`
2427 ac_end=`expr $ac_end + $ac_max_sed_lines`
2430 if test -z "$ac_sed_cmds"; then
2433 fi # test -n "$CONFIG_FILES"
2436 cat >>$CONFIG_STATUS <<\_ACEOF
2437 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2438 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2440 - | *:- | *:-:* ) # input from stdin
2442 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2443 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2444 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2445 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2446 * ) ac_file_in=$ac_file.in ;;
2449 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2450 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2451 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2452 X"$ac_file" : 'X\(//\)[^/]' \| \
2453 X"$ac_file" : 'X\(//\)$' \| \
2454 X"$ac_file" : 'X\(/\)' \| \
2455 . : '\(.\)' 2>/dev/null ||
2457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2458 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2459 /^X\(\/\/\)$/{ s//\1/; q; }
2460 /^X\(\/\).*/{ s//\1/; q; }
2462 { if $as_mkdir_p; then
2467 while test ! -d "$as_dir"; do
2468 as_dirs="$as_dir $as_dirs"
2469 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2470 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2471 X"$as_dir" : 'X\(//\)[^/]' \| \
2472 X"$as_dir" : 'X\(//\)$' \| \
2473 X"$as_dir" : 'X\(/\)' \| \
2474 . : '\(.\)' 2>/dev/null ||
2476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2477 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2478 /^X\(\/\/\)$/{ s//\1/; q; }
2479 /^X\(\/\).*/{ s//\1/; q; }
2482 test ! -n "$as_dirs" || mkdir $as_dirs
2483 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2484 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2485 { (exit 1); exit 1; }; }; }
2489 if test "$ac_dir" != .; then
2490 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2491 # A "../" for each directory in $ac_dir_suffix.
2492 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2494 ac_dir_suffix= ac_top_builddir=
2498 .) # No --srcdir option. We are building in place.
2500 if test -z "$ac_top_builddir"; then
2503 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2505 [\\/]* | ?:[\\/]* ) # Absolute path.
2506 ac_srcdir=$srcdir$ac_dir_suffix;
2507 ac_top_srcdir=$srcdir ;;
2509 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2510 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2512 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2514 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2515 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2516 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2517 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2521 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2522 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2525 if test x"$ac_file" != x-; then
2526 { echo "$as_me:$LINENO: creating $ac_file" >&5
2527 echo "$as_me: creating $ac_file" >&6;}
2530 # Let's still pretend it is `configure' which instantiates (i.e., don't
2531 # use $as_me), people would be surprised to read:
2532 # /* config.h. Generated by config.status. */
2533 if test x"$ac_file" = x-; then
2536 configure_input="$ac_file. "
2538 configure_input=$configure_input"Generated from `echo $ac_file_in |
2539 sed 's,.*/,,'` by configure."
2541 # First look for the input files in the build tree, otherwise in the
2543 ac_file_inputs=`IFS=:
2544 for f in $ac_file_in; do
2546 -) echo $tmp/stdin ;;
2548 # Absolute (can't be DOS-style, as IFS=:)
2549 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2550 echo "$as_me: error: cannot find input file: $f" >&2;}
2551 { (exit 1); exit 1; }; }
2554 if test -f "$f"; then
2557 elif test -f "$srcdir/$f"; then
2562 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2563 echo "$as_me: error: cannot find input file: $f" >&2;}
2564 { (exit 1); exit 1; }; }
2567 done` || { (exit 1); exit 1; }
2569 cat >>$CONFIG_STATUS <<_ACEOF
2573 cat >>$CONFIG_STATUS <<\_ACEOF
2575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2576 s,@configure_input@,$configure_input,;t t
2577 s,@srcdir@,$ac_srcdir,;t t
2578 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2579 s,@top_srcdir@,$ac_top_srcdir,;t t
2580 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2581 s,@builddir@,$ac_builddir,;t t
2582 s,@abs_builddir@,$ac_abs_builddir,;t t
2583 s,@top_builddir@,$ac_top_builddir,;t t
2584 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2585 s,@INSTALL@,$ac_INSTALL,;t t
2586 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2588 if test x"$ac_file" != x-; then
2589 mv $tmp/out $ac_file
2598 cat >>$CONFIG_STATUS <<\_ACEOF
2600 { (exit 0); exit 0; }
2602 chmod +x $CONFIG_STATUS
2603 ac_clean_files=$ac_clean_files_save
2606 # configure is writing to config.log, and then calls config.status.
2607 # config.status does its own redirection, appending to config.log.
2608 # Unfortunately, on DOS this fails, as config.log is still kept open
2609 # by configure, so config.status won't be able to write to it; its
2610 # output is simply discarded. So we exec the FD to /dev/null,
2611 # effectively closing config.log, so it can be properly (re)opened and
2612 # appended to by config.status. When coming back to configure, we
2613 # need to make the FD available again.
2614 if test "$no_create" != yes; then
2617 $SHELL $CONFIG_STATUS || ac_cs_success=false
2619 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2620 # would make configure fail if this is the last instruction.
2621 $ac_cs_success || { (exit 1); exit 1; }