* doc/automake.texi (Auxiliary Programs): Fix a typo.
[automake.git] / configure
blob267d81a60721cac861001185c8317a5fd32b6da6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59c for GNU Automake 1.9a.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # Find who we are. Look in the path if we contain no path at all
60 # relative or not.
61 case $0 in
62 *[\\/]* ) as_myself=$0 ;;
63 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64 for as_dir in $PATH
66 IFS=$as_save_IFS
67 test -z "$as_dir" && as_dir=.
68 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
69 done
72 esac
73 # We did not find ourselves, most probably we were run as `sh COMMAND'
74 # in which case we are not to be found in the path.
75 if test "x$as_myself" = x; then
76 as_myself=$0
78 if test ! -f "$as_myself"; then
79 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
80 { (exit 1); exit 1; }; }
83 # Work around bugs in pre-3.0 UWIN ksh.
84 for as_var in ENV MAIL MAILPATH
85 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
86 done
87 PS1='$ '
88 PS2='> '
89 PS4='+ '
91 # NLS nuisances.
92 for as_var in \
93 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95 LC_TELEPHONE LC_TIME
97 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98 eval $as_var=C; export $as_var
99 else
100 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 done
104 # Required to use basename.
105 if expr a : '\(a\)' >/dev/null 2>&1; then
106 as_expr=expr
107 else
108 as_expr=false
111 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
112 as_basename=basename
113 else
114 as_basename=false
118 # Name of the executable.
119 as_me=`$as_basename "$0" ||
120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121 X"$0" : 'X\(//\)$' \| \
122 X"$0" : 'X\(/\)$' \| \
123 . : '\(.\)' 2>/dev/null ||
124 echo X/"$0" |
125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
126 /^X\/\(\/\/\)$/{ s//\1/; q; }
127 /^X\/\(\/\).*/{ s//\1/; q; }
128 s/.*/./; q'`
132 if test "x$CONFIG_SHELL" = x; then
133 if (eval ":") 2>/dev/null; then
134 as_have_required=yes
135 else
136 as_have_required=no
139 if test $as_have_required = yes && (eval ":
140 (as_func_return () {
141 (exit \$1)
143 as_func_success () {
144 as_func_return 0
146 as_func_failure () {
147 as_func_return 1
149 as_func_ret_success () {
150 return 0
152 as_func_ret_failure () {
153 return 1
156 exitcode=0
157 if as_func_success; then
159 else
160 exitcode=1
161 echo as_func_success failed.
164 if as_func_failure; then
165 exitcode=1
166 echo as_func_failure succeeded.
169 if as_func_ret_success; then
171 else
172 exitcode=1
173 echo as_func_ret_success failed.
176 if as_func_ret_failure; then
177 exitcode=1
178 echo as_func_ret_failure succeeded.
181 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
183 else
184 exitcode=1
185 echo positional parameters were not saved.
188 test \$exitcode = 0) || { (exit 1); exit 1; }
191 as_lineno_1=\$LINENO
192 as_lineno_2=\$LINENO
193 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
194 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
195 ") 2> /dev/null; then
197 else
198 as_candidate_shells=
199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
202 IFS=$as_save_IFS
203 test -z "$as_dir" && as_dir=.
204 case $as_dir in
206 for as_base in sh bash ksh sh5; do
207 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
208 done
209 esac
210 done
213 for as_shell in $as_candidate_shells $SHELL; do
214 if { ($as_shell) 2> /dev/null <<\_ASEOF
215 # Be Bourne compatible
216 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
217 emulate sh
218 NULLCMD=:
219 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
220 # is contrary to our usage. Disable this feature.
221 alias -g '${1+"$@"}'='"$@"'
222 setopt NO_GLOB_SUBST
223 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
224 set -o posix
226 BIN_SH=xpg4; export BIN_SH # for Tru64
227 DUALCASE=1; export DUALCASE # for MKS sh
230 _ASEOF
231 }; then
232 CONFIG_SHELL=$as_shell
233 as_have_required=yes
234 if { $as_shell 2> /dev/null <<\_ASEOF
235 # Be Bourne compatible
236 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
237 emulate sh
238 NULLCMD=:
239 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
240 # is contrary to our usage. Disable this feature.
241 alias -g '${1+"$@"}'='"$@"'
242 setopt NO_GLOB_SUBST
243 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
244 set -o posix
246 BIN_SH=xpg4; export BIN_SH # for Tru64
247 DUALCASE=1; export DUALCASE # for MKS sh
250 (as_func_return () {
251 (exit $1)
253 as_func_success () {
254 as_func_return 0
256 as_func_failure () {
257 as_func_return 1
259 as_func_ret_success () {
260 return 0
262 as_func_ret_failure () {
263 return 1
266 exitcode=0
267 if as_func_success; then
269 else
270 exitcode=1
271 echo as_func_success failed.
274 if as_func_failure; then
275 exitcode=1
276 echo as_func_failure succeeded.
279 if as_func_ret_success; then
281 else
282 exitcode=1
283 echo as_func_ret_success failed.
286 if as_func_ret_failure; then
287 exitcode=1
288 echo as_func_ret_failure succeeded.
291 if ( set x; as_func_ret_success y && test x = "$1" ); then
293 else
294 exitcode=1
295 echo positional parameters were not saved.
298 test $exitcode = 0) || { (exit 1); exit 1; }
301 as_lineno_1=$LINENO
302 as_lineno_2=$LINENO
303 test "x$as_lineno_1" != "x$as_lineno_2" &&
304 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
306 _ASEOF
307 }; then
308 break
313 done
315 if test "x$CONFIG_SHELL" != x; then
316 for as_var in BASH_ENV ENV
317 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
318 done
319 export CONFIG_SHELL
320 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
324 if test $as_have_required = no; then
325 echo This script requires a shell more modern than all the
326 echo shells that I found on your system. Please install a
327 echo modern shell, or manually run the script under such a
328 echo shell if you do have one.
329 { (exit 1); exit 1; }
339 (eval "as_func_return () {
340 (exit \$1)
342 as_func_success () {
343 as_func_return 0
345 as_func_failure () {
346 as_func_return 1
348 as_func_ret_success () {
349 return 0
351 as_func_ret_failure () {
352 return 1
355 exitcode=0
356 if as_func_success; then
358 else
359 exitcode=1
360 echo as_func_success failed.
363 if as_func_failure; then
364 exitcode=1
365 echo as_func_failure succeeded.
368 if as_func_ret_success; then
370 else
371 exitcode=1
372 echo as_func_ret_success failed.
375 if as_func_ret_failure; then
376 exitcode=1
377 echo as_func_ret_failure succeeded.
380 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
382 else
383 exitcode=1
384 echo positional parameters were not saved.
387 test \$exitcode = 0") || {
388 echo No shell found that supports shell functions.
389 echo Please tell autoconf@gnu.org about your system,
390 echo including any error possibly output before this
391 echo message
396 as_lineno_1=$LINENO
397 as_lineno_2=$LINENO
398 test "x$as_lineno_1" != "x$as_lineno_2" &&
399 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
401 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
402 # uniformly replaced by the line number. The first 'sed' inserts a
403 # line-number line after each line using $LINENO; the second 'sed'
404 # does the real work. The second script uses 'N' to pair each
405 # line-number line with the line containing $LINENO, and appends
406 # trailing '-' during substitution so that $LINENO is not a special
407 # case at line end.
408 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
409 # scripts with optimization help from Paolo Bonzini. Blame Lee
410 # E. McMahon (1931-1989) for sed's syntax. :-)
411 sed -n '
413 /[$]LINENO/=
414 ' <$as_myself |
415 sed '
416 s,[$]LINENO.*,&-,
417 t lineno
419 :lineno
421 :loop
422 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
423 t loop
424 s,-\n.*,,
425 ' >$as_me.lineno &&
426 chmod +x $as_me.lineno ||
427 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
428 { (exit 1); exit 1; }; }
430 # Don't try to exec as it changes $[0], causing all sort of problems
431 # (the dirname of $[0] is not the place where we might find the
432 # original and so on. Autoconf is especially sensible to this).
433 . ./$as_me.lineno
434 # Exit status is that of the last command.
435 exit
439 ECHO_C= ECHO_N= ECHO_T=
440 case `echo -n x` in
441 -n*)
442 case `echo 'x\c'` in
443 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
444 *) ECHO_C='\c';;
445 esac;;
447 ECHO_N='-n';;
448 esac
450 if expr a : '\(a\)' >/dev/null 2>&1; then
451 as_expr=expr
452 else
453 as_expr=false
456 rm -f conf$$ conf$$.exe conf$$.file
457 echo >conf$$.file
458 if ln -s conf$$.file conf$$ 2>/dev/null; then
459 # We could just check for DJGPP; but this test a) works b) is more generic
460 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
461 if test -f conf$$.exe; then
462 # Don't use ln at all; we don't have any links
463 as_ln_s='cp -p'
464 else
465 as_ln_s='ln -s'
467 elif ln conf$$.file conf$$ 2>/dev/null; then
468 as_ln_s=ln
469 else
470 as_ln_s='cp -p'
472 rm -f conf$$ conf$$.exe conf$$.file
474 if mkdir -p . 2>/dev/null; then
475 as_mkdir_p=:
476 else
477 test -d ./-p && rmdir ./-p
478 as_mkdir_p=false
481 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
482 # systems may use methods other than mode bits to determine executability.
483 cat >conf$$.file <<_ASEOF
484 #! /bin/sh
485 exit 0
486 _ASEOF
487 chmod +x conf$$.file
488 if test -x conf$$.file >/dev/null 2>&1; then
489 as_executable_p="test -x"
490 else
491 as_executable_p=:
493 rm -f conf$$.file
495 # Sed expression to map a string onto a valid CPP name.
496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
498 # Sed expression to map a string onto a valid variable name.
499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
502 # IFS
503 # We need space, tab and new line, in precisely that order.
504 as_nl='
506 IFS=" $as_nl"
508 # CDPATH.
509 $as_unset CDPATH
512 exec 7<&0 </dev/null 6>&1
514 # Name of the host.
515 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
516 # so uname gets run too.
517 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
520 # Initializations.
522 ac_default_prefix=/usr/local
523 ac_config_libobj_dir=.
524 cross_compiling=no
525 subdirs=
526 MFLAGS=
527 MAKEFLAGS=
528 SHELL=${CONFIG_SHELL-/bin/sh}
530 # Identity of this package.
531 PACKAGE_NAME='GNU Automake'
532 PACKAGE_TARNAME='automake'
533 PACKAGE_VERSION='1.9a'
534 PACKAGE_STRING='GNU Automake 1.9a'
535 PACKAGE_BUGREPORT='bug-automake@gnu.org'
537 ac_unique_file="automake.in"
538 ac_subst_vars='SHELL
539 PATH_SEPARATOR
540 PACKAGE_NAME
541 PACKAGE_TARNAME
542 PACKAGE_VERSION
543 PACKAGE_STRING
544 PACKAGE_BUGREPORT
545 exec_prefix
546 prefix
547 program_transform_name
548 bindir
549 sbindir
550 libexecdir
551 datarootdir
552 datadir
553 sysconfdir
554 sharedstatedir
555 localstatedir
556 includedir
557 oldincludedir
558 docdir
559 infodir
560 htmldir
561 dvidir
562 pdfdir
563 psdir
564 libdir
565 localedir
566 mandir
567 build_alias
568 host_alias
569 target_alias
570 DEFS
571 ECHO_C
572 ECHO_N
573 ECHO_T
574 LIBS
575 build
576 build_cpu
577 build_vendor
578 build_os
579 am_AUTOCONF
580 INSTALL_PROGRAM
581 INSTALL_SCRIPT
582 INSTALL_DATA
583 CYGPATH_W
584 PACKAGE
585 VERSION
586 ACLOCAL
587 AUTOCONF
588 AUTOMAKE
589 AUTOHEADER
590 MAKEINFO
591 install_sh
592 STRIP
593 ac_ct_STRIP
594 INSTALL_STRIP_PROGRAM
595 mkdir_p
597 SET_MAKE
598 am__leading_dot
599 AMTAR
600 am__tar
601 am__untar
602 APIVERSION
603 pkgvdatadir
604 PERL
607 MODIFICATION_DELAY
608 GREP
609 EGREP
610 FGREP
611 LIBOBJS
612 LTLIBOBJS'
613 ac_subst_files=''
615 # Initialize some variables set by options.
616 ac_init_help=
617 ac_init_version=false
618 # The variables have the same names as the options, with
619 # dashes changed to underlines.
620 cache_file=/dev/null
621 exec_prefix=NONE
622 no_create=
623 no_recursion=
624 prefix=NONE
625 program_prefix=NONE
626 program_suffix=NONE
627 program_transform_name=s,x,x,
628 silent=
629 site=
630 srcdir=
631 verbose=
632 x_includes=NONE
633 x_libraries=NONE
635 # Installation directory options.
636 # These are left unexpanded so users can "make install exec_prefix=/foo"
637 # and all the variables that are supposed to be based on exec_prefix
638 # by default will actually change.
639 # Use braces instead of parens because sh, perl, etc. also accept them.
640 # (The list follows the same order as the GNU Coding Standards.)
641 bindir='${exec_prefix}/bin'
642 sbindir='${exec_prefix}/sbin'
643 libexecdir='${exec_prefix}/libexec'
644 datarootdir='${prefix}/share'
645 datadir='${datarootdir}'
646 sysconfdir='${prefix}/etc'
647 sharedstatedir='${prefix}/com'
648 localstatedir='${prefix}/var'
649 includedir='${prefix}/include'
650 oldincludedir='/usr/include'
651 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
652 infodir='${datarootdir}/info'
653 htmldir='${docdir}'
654 dvidir='${docdir}'
655 pdfdir='${docdir}'
656 psdir='${docdir}'
657 libdir='${exec_prefix}/lib'
658 localedir='${datarootdir}/locale'
659 mandir='${datarootdir}/man'
661 ac_prev=
662 ac_dashdash=
663 for ac_option
665 # If the previous option needs an argument, assign it.
666 if test -n "$ac_prev"; then
667 eval $ac_prev=\$ac_option
668 ac_prev=
669 continue
672 case $ac_option in
673 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
674 *) ac_optarg=yes ;;
675 esac
677 # Accept the important Cygnus configure options, so we can diagnose typos.
679 case $ac_dashdash$ac_option in
681 ac_dashdash=yes ;;
683 -bindir | --bindir | --bindi | --bind | --bin | --bi)
684 ac_prev=bindir ;;
685 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
686 bindir=$ac_optarg ;;
688 -build | --build | --buil | --bui | --bu)
689 ac_prev=build_alias ;;
690 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
691 build_alias=$ac_optarg ;;
693 -cache-file | --cache-file | --cache-fil | --cache-fi \
694 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
695 ac_prev=cache_file ;;
696 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
697 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
698 cache_file=$ac_optarg ;;
700 --config-cache | -C)
701 cache_file=config.cache ;;
703 -datadir | --datadir | --datadi | --datad)
704 ac_prev=datadir ;;
705 -datadir=* | --datadir=* | --datadi=* | --datad=*)
706 datadir=$ac_optarg ;;
708 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
709 | --dataroo | --dataro | --datar)
710 ac_prev=datarootdir ;;
711 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
712 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
713 datarootdir=$ac_optarg ;;
715 -disable-* | --disable-*)
716 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
717 # Reject names that are not valid shell variable names.
718 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
719 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
720 { (exit 1); exit 1; }; }
721 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
722 eval enable_$ac_feature=no ;;
724 -docdir | --docdir | --docdi | --doc | --do)
725 ac_prev=docdir ;;
726 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
727 docdir=$ac_optarg ;;
729 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
730 ac_prev=dvidir ;;
731 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
732 dvidir=$ac_optarg ;;
734 -enable-* | --enable-*)
735 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
736 # Reject names that are not valid shell variable names.
737 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
738 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
739 { (exit 1); exit 1; }; }
740 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
741 eval enable_$ac_feature=\$ac_optarg ;;
743 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
744 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
745 | --exec | --exe | --ex)
746 ac_prev=exec_prefix ;;
747 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
748 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
749 | --exec=* | --exe=* | --ex=*)
750 exec_prefix=$ac_optarg ;;
752 -gas | --gas | --ga | --g)
753 # Obsolete; use --with-gas.
754 with_gas=yes ;;
756 -help | --help | --hel | --he | -h)
757 ac_init_help=long ;;
758 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
759 ac_init_help=recursive ;;
760 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
761 ac_init_help=short ;;
763 -host | --host | --hos | --ho)
764 ac_prev=host_alias ;;
765 -host=* | --host=* | --hos=* | --ho=*)
766 host_alias=$ac_optarg ;;
768 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
769 ac_prev=htmldir ;;
770 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
771 | --ht=*)
772 htmldir=$ac_optarg ;;
774 -includedir | --includedir | --includedi | --included | --include \
775 | --includ | --inclu | --incl | --inc)
776 ac_prev=includedir ;;
777 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
778 | --includ=* | --inclu=* | --incl=* | --inc=*)
779 includedir=$ac_optarg ;;
781 -infodir | --infodir | --infodi | --infod | --info | --inf)
782 ac_prev=infodir ;;
783 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
784 infodir=$ac_optarg ;;
786 -libdir | --libdir | --libdi | --libd)
787 ac_prev=libdir ;;
788 -libdir=* | --libdir=* | --libdi=* | --libd=*)
789 libdir=$ac_optarg ;;
791 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
792 | --libexe | --libex | --libe)
793 ac_prev=libexecdir ;;
794 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
795 | --libexe=* | --libex=* | --libe=*)
796 libexecdir=$ac_optarg ;;
798 -localedir | --localedir | --localedi | --localed | --locale)
799 ac_prev=localedir ;;
800 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
801 localedir=$ac_optarg ;;
803 -localstatedir | --localstatedir | --localstatedi | --localstated \
804 | --localstate | --localstat | --localsta | --localst | --locals)
805 ac_prev=localstatedir ;;
806 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
807 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
808 localstatedir=$ac_optarg ;;
810 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
811 ac_prev=mandir ;;
812 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
813 mandir=$ac_optarg ;;
815 -nfp | --nfp | --nf)
816 # Obsolete; use --without-fp.
817 with_fp=no ;;
819 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
820 | --no-cr | --no-c | -n)
821 no_create=yes ;;
823 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
824 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
825 no_recursion=yes ;;
827 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
828 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
829 | --oldin | --oldi | --old | --ol | --o)
830 ac_prev=oldincludedir ;;
831 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
832 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
833 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
834 oldincludedir=$ac_optarg ;;
836 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
837 ac_prev=prefix ;;
838 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
839 prefix=$ac_optarg ;;
841 -program-prefix | --program-prefix | --program-prefi | --program-pref \
842 | --program-pre | --program-pr | --program-p)
843 ac_prev=program_prefix ;;
844 -program-prefix=* | --program-prefix=* | --program-prefi=* \
845 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
846 program_prefix=$ac_optarg ;;
848 -program-suffix | --program-suffix | --program-suffi | --program-suff \
849 | --program-suf | --program-su | --program-s)
850 ac_prev=program_suffix ;;
851 -program-suffix=* | --program-suffix=* | --program-suffi=* \
852 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
853 program_suffix=$ac_optarg ;;
855 -program-transform-name | --program-transform-name \
856 | --program-transform-nam | --program-transform-na \
857 | --program-transform-n | --program-transform- \
858 | --program-transform | --program-transfor \
859 | --program-transfo | --program-transf \
860 | --program-trans | --program-tran \
861 | --progr-tra | --program-tr | --program-t)
862 ac_prev=program_transform_name ;;
863 -program-transform-name=* | --program-transform-name=* \
864 | --program-transform-nam=* | --program-transform-na=* \
865 | --program-transform-n=* | --program-transform-=* \
866 | --program-transform=* | --program-transfor=* \
867 | --program-transfo=* | --program-transf=* \
868 | --program-trans=* | --program-tran=* \
869 | --progr-tra=* | --program-tr=* | --program-t=*)
870 program_transform_name=$ac_optarg ;;
872 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
873 ac_prev=pdfdir ;;
874 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
875 pdfdir=$ac_optarg ;;
877 -psdir | --psdir | --psdi | --psd | --ps)
878 ac_prev=psdir ;;
879 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
880 psdir=$ac_optarg ;;
882 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
883 | -silent | --silent | --silen | --sile | --sil)
884 silent=yes ;;
886 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
887 ac_prev=sbindir ;;
888 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
889 | --sbi=* | --sb=*)
890 sbindir=$ac_optarg ;;
892 -sharedstatedir | --sharedstatedir | --sharedstatedi \
893 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
894 | --sharedst | --shareds | --shared | --share | --shar \
895 | --sha | --sh)
896 ac_prev=sharedstatedir ;;
897 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
898 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
899 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
900 | --sha=* | --sh=*)
901 sharedstatedir=$ac_optarg ;;
903 -site | --site | --sit)
904 ac_prev=site ;;
905 -site=* | --site=* | --sit=*)
906 site=$ac_optarg ;;
908 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
909 ac_prev=srcdir ;;
910 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
911 srcdir=$ac_optarg ;;
913 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
914 | --syscon | --sysco | --sysc | --sys | --sy)
915 ac_prev=sysconfdir ;;
916 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
917 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
918 sysconfdir=$ac_optarg ;;
920 -target | --target | --targe | --targ | --tar | --ta | --t)
921 ac_prev=target_alias ;;
922 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
923 target_alias=$ac_optarg ;;
925 -v | -verbose | --verbose | --verbos | --verbo | --verb)
926 verbose=yes ;;
928 -version | --version | --versio | --versi | --vers | -V)
929 ac_init_version=: ;;
931 -with-* | --with-*)
932 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
935 { echo "$as_me: error: invalid package name: $ac_package" >&2
936 { (exit 1); exit 1; }; }
937 ac_package=`echo $ac_package| sed 's/-/_/g'`
938 eval with_$ac_package=\$ac_optarg ;;
940 -without-* | --without-*)
941 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
944 { echo "$as_me: error: invalid package name: $ac_package" >&2
945 { (exit 1); exit 1; }; }
946 ac_package=`echo $ac_package | sed 's/-/_/g'`
947 eval with_$ac_package=no ;;
949 --x)
950 # Obsolete; use --with-x.
951 with_x=yes ;;
953 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
954 | --x-incl | --x-inc | --x-in | --x-i)
955 ac_prev=x_includes ;;
956 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
957 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
958 x_includes=$ac_optarg ;;
960 -x-libraries | --x-libraries | --x-librarie | --x-librari \
961 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
962 ac_prev=x_libraries ;;
963 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
964 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
965 x_libraries=$ac_optarg ;;
967 -*) { echo "$as_me: error: unrecognized option: $ac_option
968 Try \`$0 --help' for more information." >&2
969 { (exit 1); exit 1; }; }
972 *=*)
973 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
976 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
977 { (exit 1); exit 1; }; }
978 eval $ac_envvar=\$ac_optarg
979 export $ac_envvar ;;
982 # FIXME: should be removed in autoconf 3.0.
983 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
984 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
985 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
986 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
989 esac
990 done
992 if test -n "$ac_prev"; then
993 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
994 { echo "$as_me: error: missing argument to $ac_option" >&2
995 { (exit 1); exit 1; }; }
998 # Be sure to have absolute directory names.
999 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1000 datadir sysconfdir sharedstatedir localstatedir includedir \
1001 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1002 libdir localedir mandir
1004 eval ac_val=\$$ac_var
1005 case $ac_val in
1006 [\\/$]* | ?:[\\/]* ) continue;;
1007 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1008 esac
1009 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1010 { (exit 1); exit 1; }; }
1011 done
1013 # There might be people who depend on the old broken behavior: `$host'
1014 # used to hold the argument of --host etc.
1015 # FIXME: To remove some day.
1016 build=$build_alias
1017 host=$host_alias
1018 target=$target_alias
1020 # FIXME: To remove some day.
1021 if test "x$host_alias" != x; then
1022 if test "x$build_alias" = x; then
1023 cross_compiling=maybe
1024 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1025 If a cross compiler is detected then cross compile mode will be used." >&2
1026 elif test "x$build_alias" != "x$host_alias"; then
1027 cross_compiling=yes
1031 ac_tool_prefix=
1032 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1034 test "$silent" = yes && exec 6>/dev/null
1037 # Find the source files, if location was not specified.
1038 if test -z "$srcdir"; then
1039 ac_srcdir_defaulted=yes
1040 # Try the directory containing this script, then the parent directory.
1041 ac_confdir=`(dirname "$0") 2>/dev/null ||
1042 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1043 X"$0" : 'X\(//\)[^/]' \| \
1044 X"$0" : 'X\(//\)$' \| \
1045 X"$0" : 'X\(/\)' \| \
1046 . : '\(.\)' 2>/dev/null ||
1047 echo X"$0" |
1048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1049 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1050 /^X\(\/\/\)$/{ s//\1/; q; }
1051 /^X\(\/\).*/{ s//\1/; q; }
1052 s/.*/./; q'`
1053 srcdir=$ac_confdir
1054 if test ! -r "$srcdir/$ac_unique_file"; then
1055 srcdir=..
1057 else
1058 ac_srcdir_defaulted=no
1060 if test ! -r "$srcdir/$ac_unique_file"; then
1061 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1062 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1063 { (exit 1); exit 1; }; }
1065 (cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
1066 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1067 { (exit 1); exit 1; }; }
1068 srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
1070 ac_pwd=`pwd` && test -n "$ac_pwd" ||
1071 { echo "$as_me: error: Working directory cannot be determined" >&2
1072 { (exit 1); exit 1; }; }
1074 ac_pat="[\$][{][_$as_cr_Letters][_$as_cr_alnum]*[}]"
1075 ac_pat1='*)*'
1077 for ac_var in ac_pwd srcdir
1079 # Remove references to shell or make variables.
1080 eval ac_dir=\$$ac_var
1081 ac_dirx=$ac_dir
1082 while :
1084 case $ac_dirx in
1085 *\${*}*)
1086 ac_dirx=`
1087 expr "X$ac_dirx" : "X\\(.*\\)$ac_pat"`X`
1088 expr "X$ac_dirx" : "X.*$ac_pat\\(.*\\)"`;;
1089 *) break;;
1090 esac
1091 done
1093 # Check for newline, tab, space, and other weird possibilities.
1094 # Preserve that tab character below!
1095 case $ac_dirx in
1096 '' | -* | */-* | *'
1097 '* | *' '* | *' '* | *\"* | *\#* | *\ | *\&* | *\'* | *\(* | $ac_pat1 | \
1098 *\** | *\;* | *\<* | *\=* | *\>* | *\?* | *\[* | *\\* | *\`* | \
1099 *\|* | \~*)
1100 { echo "$as_me: error: $ac_var directory name \`$ac_dir' has special characters" >&2
1101 { (exit 1); exit 1; }; };;
1102 esac
1103 done
1104 ac_env_build_alias_set=${build_alias+set}
1105 ac_env_build_alias_value=$build_alias
1106 ac_cv_env_build_alias_set=${build_alias+set}
1107 ac_cv_env_build_alias_value=$build_alias
1108 ac_env_host_alias_set=${host_alias+set}
1109 ac_env_host_alias_value=$host_alias
1110 ac_cv_env_host_alias_set=${host_alias+set}
1111 ac_cv_env_host_alias_value=$host_alias
1112 ac_env_target_alias_set=${target_alias+set}
1113 ac_env_target_alias_value=$target_alias
1114 ac_cv_env_target_alias_set=${target_alias+set}
1115 ac_cv_env_target_alias_value=$target_alias
1118 # Report the --help message.
1120 if test "$ac_init_help" = "long"; then
1121 # Omit some internal or obsolete options to make the list less imposing.
1122 # This message is too long to be a string in the A/UX 3.1 sh.
1123 cat <<_ACEOF
1124 \`configure' configures GNU Automake 1.9a to adapt to many kinds of systems.
1126 Usage: $0 [OPTION]... [VAR=VALUE]...
1128 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1129 VAR=VALUE. See below for descriptions of some of the useful variables.
1131 Defaults for the options are specified in brackets.
1133 Configuration:
1134 -h, --help display this help and exit
1135 --help=short display options specific to this package
1136 --help=recursive display the short help of all the included packages
1137 -V, --version display version information and exit
1138 -q, --quiet, --silent do not print \`checking...' messages
1139 --cache-file=FILE cache test results in FILE [disabled]
1140 -C, --config-cache alias for \`--cache-file=config.cache'
1141 -n, --no-create do not create output files
1142 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1144 Installation directories:
1145 --prefix=PREFIX install architecture-independent files in PREFIX
1146 [$ac_default_prefix]
1147 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1148 [PREFIX]
1150 By default, \`make install' will install all the files in
1151 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1152 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1153 for instance \`--prefix=\$HOME'.
1155 For better control, use the options below.
1157 Fine tuning of the installation directories:
1158 --bindir=DIR user executables [EPREFIX/bin]
1159 --sbindir=DIR system admin executables [EPREFIX/sbin]
1160 --libexecdir=DIR program executables [EPREFIX/libexec]
1161 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1162 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1163 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1164 --libdir=DIR object code libraries [EPREFIX/lib]
1165 --includedir=DIR C header files [PREFIX/include]
1166 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1167 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1168 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1169 --infodir=DIR info documentation [DATAROOTDIR/info]
1170 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1171 --mandir=DIR man documentation [DATAROOTDIR/man]
1172 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1173 --htmldir=DIR html documentation [DOCDIR]
1174 --dvidir=DIR dvi documentation [DOCDIR]
1175 --pdfdir=DIR pdf documentation [DOCDIR]
1176 --psdir=DIR ps documentation [DOCDIR]
1177 _ACEOF
1179 cat <<\_ACEOF
1181 Program names:
1182 --program-prefix=PREFIX prepend PREFIX to installed program names
1183 --program-suffix=SUFFIX append SUFFIX to installed program names
1184 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1186 System types:
1187 --build=BUILD configure for building on BUILD [guessed]
1188 _ACEOF
1191 if test -n "$ac_init_help"; then
1192 case $ac_init_help in
1193 short | recursive ) echo "Configuration of GNU Automake 1.9a:";;
1194 esac
1195 cat <<\_ACEOF
1197 Report bugs to <bug-automake@gnu.org>.
1198 _ACEOF
1199 ac_status=$?
1202 if test "$ac_init_help" = "recursive"; then
1203 # If there are subdirs, report their specific --help.
1204 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1205 test -d $ac_dir || continue
1206 ac_builddir=.
1208 case "$ac_dir" in
1209 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1211 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1212 # A ".." for each directory in $ac_dir_suffix.
1213 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1214 case $ac_top_builddir_sub in
1215 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1216 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1217 esac ;;
1218 esac
1219 ac_abs_top_builddir=$ac_pwd
1220 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1221 # for backward compatibility:
1222 ac_top_builddir=$ac_top_build_prefix
1224 case $srcdir in
1225 .) # No --srcdir option. We are building in place.
1226 ac_srcdir=.
1227 ac_top_srcdir=$ac_top_builddir_sub
1228 ac_abs_top_srcdir=$ac_pwd ;;
1229 [\\/]* | ?:[\\/]* ) # Absolute name.
1230 ac_srcdir=$srcdir$ac_dir_suffix;
1231 ac_top_srcdir=$srcdir
1232 ac_abs_top_srcdir=$srcdir ;;
1233 *) # Relative name.
1234 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1235 ac_top_srcdir=$ac_top_build_prefix$srcdir
1236 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1237 esac
1238 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1240 cd $ac_dir || { ac_status=$?; continue; }
1241 # Check for guested configure; otherwise get Cygnus style configure.
1242 if test -f $ac_srcdir/configure.gnu; then
1243 echo &&
1244 $SHELL $ac_srcdir/configure.gnu --help=recursive
1245 elif test -f $ac_srcdir/configure; then
1246 echo &&
1247 $SHELL $ac_srcdir/configure --help=recursive
1248 elif test -f $ac_srcdir/configure.ac ||
1249 test -f $ac_srcdir/configure.in; then
1250 echo &&
1251 $ac_configure --help
1252 else
1253 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1254 fi || ac_status=$?
1255 cd "$ac_pwd" || { ac_status=$?; break; }
1256 done
1259 test -n "$ac_init_help" && exit $ac_status
1260 if $ac_init_version; then
1261 cat <<\_ACEOF
1262 GNU Automake configure 1.9a
1263 generated by GNU Autoconf 2.59c
1265 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1266 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
1267 This configure script is free software; the Free Software Foundation
1268 gives unlimited permission to copy, distribute and modify it.
1269 _ACEOF
1270 exit
1272 exec 5>config.log
1273 cat >&5 <<_ACEOF
1274 This file contains any messages produced by compilers while
1275 running configure, to aid debugging if configure makes a mistake.
1277 It was created by GNU Automake $as_me 1.9a, which was
1278 generated by GNU Autoconf 2.59c. Invocation command line was
1280 $ $0 $@
1282 _ACEOF
1284 cat <<_ASUNAME
1285 ## --------- ##
1286 ## Platform. ##
1287 ## --------- ##
1289 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1290 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1291 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1292 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1293 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1295 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1296 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1298 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1299 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1300 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1301 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1302 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1303 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1304 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1306 _ASUNAME
1308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1309 for as_dir in $PATH
1311 IFS=$as_save_IFS
1312 test -z "$as_dir" && as_dir=.
1313 echo "PATH: $as_dir"
1314 done
1316 } >&5
1318 cat >&5 <<_ACEOF
1321 ## ----------- ##
1322 ## Core tests. ##
1323 ## ----------- ##
1325 _ACEOF
1328 # Keep a trace of the command line.
1329 # Strip out --no-create and --no-recursion so they do not pile up.
1330 # Strip out --silent because we don't want to record it for future runs.
1331 # Also quote any args containing shell meta-characters.
1332 # Make two passes to allow for proper duplicate-argument suppression.
1333 ac_configure_args=
1334 ac_configure_args0=
1335 ac_configure_args1=
1336 ac_sep=
1337 ac_must_keep_next=false
1338 for ac_pass in 1 2
1340 for ac_arg
1342 case $ac_arg in
1343 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1345 | -silent | --silent | --silen | --sile | --sil)
1346 continue ;;
1347 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1348 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1349 esac
1350 case $ac_pass in
1351 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1353 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1354 if test $ac_must_keep_next = true; then
1355 ac_must_keep_next=false # Got value, back to normal.
1356 else
1357 case $ac_arg in
1358 *=* | --config-cache | -C | -disable-* | --disable-* \
1359 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1360 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1361 | -with-* | --with-* | -without-* | --without-* | --x)
1362 case "$ac_configure_args0 " in
1363 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1364 esac
1366 -* ) ac_must_keep_next=true ;;
1367 esac
1369 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1370 # Get rid of the leading space.
1371 ac_sep=" "
1373 esac
1374 done
1375 done
1376 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1377 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1379 # When interrupted or exit'd, cleanup temporary files, and complete
1380 # config.log. We remove comments because anyway the quotes in there
1381 # would cause problems or look ugly.
1382 # WARNING: Be sure not to use single quotes in there, as some shells,
1383 # such as our DU 5.0 friend, will then `close' the trap.
1384 trap 'exit_status=$?
1385 # Save into config.log some information that might help in debugging.
1387 echo
1389 cat <<\_ASBOX
1390 ## ---------------- ##
1391 ## Cache variables. ##
1392 ## ---------------- ##
1393 _ASBOX
1394 echo
1395 # The following way of writing the cache mishandles newlines in values,
1397 (set) 2>&1 |
1398 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1399 *ac_space=\ *)
1400 sed -n \
1401 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1402 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1405 sed -n \
1406 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1408 esac;
1410 echo
1412 cat <<\_ASBOX
1413 ## ----------------- ##
1414 ## Output variables. ##
1415 ## ----------------- ##
1416 _ASBOX
1417 echo
1418 for ac_var in $ac_subst_vars
1420 eval ac_val=\$$ac_var
1421 echo "$ac_var='"'"'$ac_val'"'"'"
1422 done | sort
1423 echo
1425 if test -n "$ac_subst_files"; then
1426 cat <<\_ASBOX
1427 ## ------------- ##
1428 ## Output files. ##
1429 ## ------------- ##
1430 _ASBOX
1431 echo
1432 for ac_var in $ac_subst_files
1434 eval ac_val=\$$ac_var
1435 echo "$ac_var='"'"'$ac_val'"'"'"
1436 done | sort
1437 echo
1440 if test -s confdefs.h; then
1441 cat <<\_ASBOX
1442 ## ----------- ##
1443 ## confdefs.h. ##
1444 ## ----------- ##
1445 _ASBOX
1446 echo
1447 sed "/^$/d" confdefs.h | sort
1448 echo
1450 test "$ac_signal" != 0 &&
1451 echo "$as_me: caught signal $ac_signal"
1452 echo "$as_me: exit $exit_status"
1453 } >&5
1454 rm -f core *.core core.conftest.* &&
1455 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1456 exit $exit_status
1458 for ac_signal in 1 2 13 15; do
1459 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1460 done
1461 ac_signal=0
1463 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1464 rm -f -r conftest* confdefs.h
1466 # Predefined preprocessor variables.
1468 cat >>confdefs.h <<_ACEOF
1469 #define PACKAGE_NAME "$PACKAGE_NAME"
1470 _ACEOF
1473 cat >>confdefs.h <<_ACEOF
1474 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1475 _ACEOF
1478 cat >>confdefs.h <<_ACEOF
1479 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1480 _ACEOF
1483 cat >>confdefs.h <<_ACEOF
1484 #define PACKAGE_STRING "$PACKAGE_STRING"
1485 _ACEOF
1488 cat >>confdefs.h <<_ACEOF
1489 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1490 _ACEOF
1493 # Let the site file select an alternate cache file if it wants to.
1494 # Prefer explicitly selected file to automatically selected ones.
1495 if test -z "$CONFIG_SITE"; then
1496 if test "x$prefix" != xNONE; then
1497 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1498 else
1499 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1502 for ac_site_file in $CONFIG_SITE; do
1503 if test -r "$ac_site_file"; then
1504 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1505 echo "$as_me: loading site script $ac_site_file" >&6;}
1506 sed 's/^/| /' "$ac_site_file" >&5
1507 . "$ac_site_file"
1509 done
1511 if test -r "$cache_file"; then
1512 # Some versions of bash will fail to source /dev/null (special
1513 # files actually), so we avoid doing that.
1514 if test -f "$cache_file"; then
1515 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1516 echo "$as_me: loading cache $cache_file" >&6;}
1517 case $cache_file in
1518 [\\/]* | ?:[\\/]* ) . $cache_file;;
1519 *) . ./$cache_file;;
1520 esac
1522 else
1523 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1524 echo "$as_me: creating cache $cache_file" >&6;}
1525 >$cache_file
1528 # Check that the precious variables saved in the cache have kept the same
1529 # value.
1530 ac_cache_corrupted=false
1531 for ac_var in `(set) 2>&1 |
1532 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1533 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1534 eval ac_new_set=\$ac_env_${ac_var}_set
1535 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1536 eval ac_new_val=\$ac_env_${ac_var}_value
1537 case $ac_old_set,$ac_new_set in
1538 set,)
1539 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1540 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1541 ac_cache_corrupted=: ;;
1542 ,set)
1543 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1544 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1545 ac_cache_corrupted=: ;;
1546 ,);;
1548 if test "x$ac_old_val" != "x$ac_new_val"; then
1549 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1550 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1551 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1552 echo "$as_me: former value: $ac_old_val" >&2;}
1553 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1554 echo "$as_me: current value: $ac_new_val" >&2;}
1555 ac_cache_corrupted=:
1556 fi;;
1557 esac
1558 # Pass precious variables to config.status.
1559 if test "$ac_new_set" = set; then
1560 case $ac_new_val in
1561 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1562 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1563 *) ac_arg=$ac_var=$ac_new_val ;;
1564 esac
1565 case " $ac_configure_args " in
1566 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1567 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1568 esac
1570 done
1571 if $ac_cache_corrupted; then
1572 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1573 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1574 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1575 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1576 { (exit 1); exit 1; }; }
1579 ac_ext=c
1580 ac_cpp='$CPP $CPPFLAGS'
1581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1614 ac_aux_dir=
1615 for ac_dir in lib $srcdir/lib; do
1616 if test -f $ac_dir/install-sh; then
1617 ac_aux_dir=$ac_dir
1618 ac_install_sh="$ac_aux_dir/install-sh -c"
1619 break
1620 elif test -f $ac_dir/install.sh; then
1621 ac_aux_dir=$ac_dir
1622 ac_install_sh="$ac_aux_dir/install.sh -c"
1623 break
1624 elif test -f $ac_dir/shtool; then
1625 ac_aux_dir=$ac_dir
1626 ac_install_sh="$ac_aux_dir/shtool install -c"
1627 break
1629 done
1630 if test -z "$ac_aux_dir"; then
1631 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1632 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1633 { (exit 1); exit 1; }; }
1635 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1636 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1637 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1640 # Make sure we can run config.sub.
1641 $ac_config_sub sun4 >/dev/null 2>&1 ||
1642 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1643 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1644 { (exit 1); exit 1; }; }
1646 { echo "$as_me:$LINENO: checking build system type" >&5
1647 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1648 if test "${ac_cv_build+set}" = set; then
1649 echo $ECHO_N "(cached) $ECHO_C" >&6
1650 else
1651 ac_cv_build_alias=$build_alias
1652 test -z "$ac_cv_build_alias" &&
1653 ac_cv_build_alias=`$ac_config_guess`
1654 test -z "$ac_cv_build_alias" &&
1655 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1656 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1657 { (exit 1); exit 1; }; }
1658 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1659 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1660 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1661 { (exit 1); exit 1; }; }
1664 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1665 echo "${ECHO_T}$ac_cv_build" >&6; }
1666 build=$ac_cv_build
1667 ac_save_IFS=$IFS; IFS='-'
1668 set x $ac_cv_build
1669 shift
1670 IFS=$ac_save_IFS
1672 build_cpu=$1
1673 build_vendor=$2
1674 build_os=$3
1675 case $# in
1676 0|1|2) ;;
1678 shift; shift; shift
1679 for ac_arg
1680 do build_os=$build_os-$ac_arg
1681 done;;
1682 esac
1686 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1687 # way we can run Autoconf tests from configure (or from the test
1688 # suite) without being bothered by `missing'.
1689 am_AUTOCONF="${AUTOCONF-autoconf}"
1692 am__api_version='1.9a'
1694 # Find a good install program. We prefer a C program (faster),
1695 # so one script is as good as another. But avoid the broken or
1696 # incompatible versions:
1697 # SysV /etc/install, /usr/sbin/install
1698 # SunOS /usr/etc/install
1699 # IRIX /sbin/install
1700 # AIX /bin/install
1701 # AmigaOS /C/install, which installs bootblocks on floppy discs
1702 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1703 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1704 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1705 # OS/2's system install, which has a completely different semantic
1706 # ./install, which can be erroneously created by make from ./install.sh.
1707 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1708 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1709 if test -z "$INSTALL"; then
1710 if test "${ac_cv_path_install+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 else
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 for as_dir in $PATH
1716 IFS=$as_save_IFS
1717 test -z "$as_dir" && as_dir=.
1718 # Account for people who put trailing slashes in PATH elements.
1719 case $as_dir/ in
1720 ./ | .// | /cC/* | \
1721 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1722 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1723 /usr/ucb/* ) ;;
1725 # OSF1 and SCO ODT 3.0 have their own names for install.
1726 # Don't use installbsd from OSF since it installs stuff as root
1727 # by default.
1728 for ac_prog in ginstall scoinst install; do
1729 for ac_exec_ext in '' $ac_executable_extensions; do
1730 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1731 if test $ac_prog = install &&
1732 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1733 # AIX install. It has an incompatible calling convention.
1735 elif test $ac_prog = install &&
1736 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1737 # program-specific install script used by HP pwplus--don't use.
1739 else
1740 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1741 break 3
1744 done
1745 done
1747 esac
1748 done
1752 if test "${ac_cv_path_install+set}" = set; then
1753 INSTALL=$ac_cv_path_install
1754 else
1755 # As a last resort, use the slow shell script. Don't cache a
1756 # value for INSTALL within a source directory, because that will
1757 # break other packages using the cache if that directory is
1758 # removed, or if the value is a relative name.
1759 INSTALL=$ac_install_sh
1762 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1763 echo "${ECHO_T}$INSTALL" >&6; }
1765 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1766 # It thinks the first close brace ends the variable substitution.
1767 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1769 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1771 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1773 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1774 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1775 # Just in case
1776 sleep 1
1777 echo timestamp > conftest.file
1778 # Do `set' in a subshell so we don't clobber the current shell's
1779 # arguments. Must try -L first in case configure is actually a
1780 # symlink; some systems play weird games with the mod time of symlinks
1781 # (eg FreeBSD returns the mod time of the symlink's containing
1782 # directory).
1783 if (
1784 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1785 if test "$*" = "X"; then
1786 # -L didn't work.
1787 set X `ls -t $srcdir/configure conftest.file`
1789 rm -f conftest.file
1790 if test "$*" != "X $srcdir/configure conftest.file" \
1791 && test "$*" != "X conftest.file $srcdir/configure"; then
1793 # If neither matched, then we have a broken ls. This can happen
1794 # if, for instance, CONFIG_SHELL is bash and it inherits a
1795 # broken ls alias from the environment. This has actually
1796 # happened. Such a system could not be considered "sane".
1797 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1798 alias in your environment" >&5
1799 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1800 alias in your environment" >&2;}
1801 { (exit 1); exit 1; }; }
1804 test "$2" = conftest.file
1806 then
1807 # Ok.
1809 else
1810 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1811 Check your system clock" >&5
1812 echo "$as_me: error: newly created file is older than distributed files!
1813 Check your system clock" >&2;}
1814 { (exit 1); exit 1; }; }
1816 { echo "$as_me:$LINENO: result: yes" >&5
1817 echo "${ECHO_T}yes" >&6; }
1818 test "$program_prefix" != NONE &&
1819 program_transform_name="s|^|$program_prefix|;$program_transform_name"
1820 # Use a double $ so make ignores it.
1821 test "$program_suffix" != NONE &&
1822 program_transform_name="s|\$|$program_suffix|;$program_transform_name"
1823 # Double any \ or $. echo might interpret backslashes.
1824 # By default was `s,x,x', remove it if useless.
1825 cat <<\_ACEOF >conftest.sed
1826 s/[\\$]/&&/g;s/;s,x,x,$//
1827 _ACEOF
1828 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1829 rm -f conftest.sed
1831 # expand $ac_aux_dir to an absolute path
1832 am_aux_dir=`cd $ac_aux_dir && pwd`
1834 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1835 # Use eval to expand $SHELL
1836 if eval "$MISSING --run true"; then
1837 am_missing_run="$MISSING --run "
1838 else
1839 am_missing_run=
1840 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1841 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1844 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1845 # We used to keeping the `.' as first argument, in order to
1846 # allow $(mkdir_p) to be used without argument. As in
1847 # $(mkdir_p) $(somedir)
1848 # where $(somedir) is conditionally defined. However this is wrong
1849 # for two reasons:
1850 # 1. if the package is installed by a user who cannot write `.'
1851 # make install will fail,
1852 # 2. the above comment should most certainly read
1853 # $(mkdir_p) $(DESTDIR)$(somedir)
1854 # so it does not work when $(somedir) is undefined and
1855 # $(DESTDIR) is not.
1856 # To support the latter case, we have to write
1857 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1858 # so the `.' trick is pointless.
1859 mkdir_p='mkdir -p --'
1860 else
1861 # On NextStep and OpenStep, the `mkdir' command does not
1862 # recognize any option. It will interpret all options as
1863 # directories to create, and then abort because `.' already
1864 # exists.
1865 for d in ./-p ./--version;
1867 test -d $d && rmdir $d
1868 done
1869 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1870 if test -f "$ac_aux_dir/mkinstalldirs"; then
1871 mkdir_p='$(mkinstalldirs)'
1872 else
1873 mkdir_p='$(install_sh) -d'
1877 for ac_prog in gawk mawk nawk awk
1879 # Extract the first word of "$ac_prog", so it can be a program name with args.
1880 set dummy $ac_prog; ac_word=$2
1881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1883 if test "${ac_cv_prog_AWK+set}" = set; then
1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 else
1886 if test -n "$AWK"; then
1887 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1888 else
1889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 for as_dir in $PATH
1892 IFS=$as_save_IFS
1893 test -z "$as_dir" && as_dir=.
1894 for ac_exec_ext in '' $ac_executable_extensions; do
1895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1896 ac_cv_prog_AWK="$ac_prog"
1897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898 break 2
1900 done
1901 done
1905 AWK=$ac_cv_prog_AWK
1906 if test -n "$AWK"; then
1907 { echo "$as_me:$LINENO: result: $AWK" >&5
1908 echo "${ECHO_T}$AWK" >&6; }
1909 else
1910 { echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6; }
1914 test -n "$AWK" && break
1915 done
1917 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1918 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1919 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1920 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 else
1923 cat >conftest.make <<\_ACEOF
1924 SHELL = /bin/sh
1925 all:
1926 @echo 'ac_maketemp=X"$(MAKE)"'
1927 _ACEOF
1928 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1929 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1930 if test "$ac_maketemp" != X ; then
1931 eval ac_cv_prog_make_${ac_make}_set=yes
1932 else
1933 eval ac_cv_prog_make_${ac_make}_set=no
1935 rm -f conftest.make
1937 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1938 { echo "$as_me:$LINENO: result: yes" >&5
1939 echo "${ECHO_T}yes" >&6; }
1940 SET_MAKE=
1941 else
1942 { echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6; }
1944 SET_MAKE="MAKE=${MAKE-make}"
1947 rm -rf .tst 2>/dev/null
1948 mkdir .tst 2>/dev/null
1949 if test -d .tst; then
1950 am__leading_dot=.
1951 else
1952 am__leading_dot=_
1954 rmdir .tst 2>/dev/null
1956 # test to see if srcdir already configured
1957 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1958 test -f $srcdir/config.status; then
1959 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1960 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1961 { (exit 1); exit 1; }; }
1964 # test whether we have cygpath
1965 if test -z "$CYGPATH_W"; then
1966 if (cygpath --version) >/dev/null 2>/dev/null; then
1967 CYGPATH_W='cygpath -w'
1968 else
1969 CYGPATH_W=echo
1974 # Define the identity of the package.
1975 PACKAGE='automake'
1976 VERSION='1.9a'
1979 cat >>confdefs.h <<_ACEOF
1980 #define PACKAGE "$PACKAGE"
1981 _ACEOF
1984 cat >>confdefs.h <<_ACEOF
1985 #define VERSION "$VERSION"
1986 _ACEOF
1988 # Some tools Automake needs.
1990 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1993 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1996 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1999 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2002 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2004 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2006 # Installed binaries are usually stripped using `strip' when the user
2007 # run `make install-strip'. However `strip' might not be the right
2008 # tool to use in cross-compilation environments, therefore Automake
2009 # will honor the `STRIP' environment variable to overrule this program.
2010 if test "$cross_compiling" != no; then
2011 if test -n "$ac_tool_prefix"; then
2012 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2013 set dummy ${ac_tool_prefix}strip; ac_word=$2
2014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2016 if test "${ac_cv_prog_STRIP+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 else
2019 if test -n "$STRIP"; then
2020 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2021 else
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 for as_dir in $PATH
2025 IFS=$as_save_IFS
2026 test -z "$as_dir" && as_dir=.
2027 for ac_exec_ext in '' $ac_executable_extensions; do
2028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2029 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 break 2
2033 done
2034 done
2038 STRIP=$ac_cv_prog_STRIP
2039 if test -n "$STRIP"; then
2040 { echo "$as_me:$LINENO: result: $STRIP" >&5
2041 echo "${ECHO_T}$STRIP" >&6; }
2042 else
2043 { echo "$as_me:$LINENO: result: no" >&5
2044 echo "${ECHO_T}no" >&6; }
2048 if test -z "$ac_cv_prog_STRIP"; then
2049 ac_ct_STRIP=$STRIP
2050 # Extract the first word of "strip", so it can be a program name with args.
2051 set dummy strip; ac_word=$2
2052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2054 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 else
2057 if test -n "$ac_ct_STRIP"; then
2058 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2059 else
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 for as_dir in $PATH
2063 IFS=$as_save_IFS
2064 test -z "$as_dir" && as_dir=.
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2067 ac_cv_prog_ac_ct_STRIP="strip"
2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069 break 2
2071 done
2072 done
2076 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2077 if test -n "$ac_ct_STRIP"; then
2078 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2079 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2080 else
2081 { echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6; }
2085 if test "x$ac_ct_STRIP" = x; then
2086 STRIP=":"
2087 else
2088 if test "$build" != "$host"; then
2089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2090 whose name does not start with the host triplet. If you think this
2091 configuration is useful to you, please write to autoconf@gnu.org." >&5
2092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2093 whose name does not start with the host triplet. If you think this
2094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2096 STRIP=$ac_ct_STRIP
2098 else
2099 STRIP="$ac_cv_prog_STRIP"
2103 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2105 # We need awk for the "check" target. The system "awk" is bad on
2106 # some platforms.
2107 # Always define AMTAR for backward compatibility.
2109 AMTAR=${AMTAR-"${am_missing_run}tar"}
2111 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2118 # The API version is the base version. We must guarantee
2119 # compatibility for all releases with the same API version.
2120 # Our current rule is that:
2121 # * All releases, including the prereleases, in an X.Y series
2122 # are compatible. So 1.5.1c is compatible with 1.5.
2123 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2124 # aren't the same.
2125 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2128 # A versioned directory, defined here for convenience.
2129 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2132 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2133 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2134 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4"
2135 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
2137 # Extract the first word of "perl", so it can be a program name with args.
2138 set dummy perl; ac_word=$2
2139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2141 if test "${ac_cv_path_PERL+set}" = set; then
2142 echo $ECHO_N "(cached) $ECHO_C" >&6
2143 else
2144 case $PERL in
2145 [\\/]* | ?:[\\/]*)
2146 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 for as_dir in $PATH
2152 IFS=$as_save_IFS
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2156 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158 break 2
2160 done
2161 done
2164 esac
2166 PERL=$ac_cv_path_PERL
2168 if test -n "$PERL"; then
2169 { echo "$as_me:$LINENO: result: $PERL" >&5
2170 echo "${ECHO_T}$PERL" >&6; }
2171 else
2172 { echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6; }
2176 if test -z "$PERL"; then
2177 { { echo "$as_me:$LINENO: error: perl not found" >&5
2178 echo "$as_me: error: perl not found" >&2;}
2179 { (exit 1); exit 1; }; }
2181 $PERL -e 'require 5.006;' || {
2182 { { echo "$as_me:$LINENO: error: perl 5.6 or better is required. If you have several perl
2183 versions installed, select the one Automake should use using
2184 ./configure PERL=/path/to/perl" >&5
2185 echo "$as_me: error: perl 5.6 or better is required. If you have several perl
2186 versions installed, select the one Automake should use using
2187 ./configure PERL=/path/to/perl" >&2;}
2188 { (exit 1); exit 1; }; }
2191 # The test suite will skip some tests if tex is absent.
2192 # Extract the first word of "tex", so it can be a program name with args.
2193 set dummy tex; ac_word=$2
2194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2196 if test "${ac_cv_prog_TEX+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 else
2199 if test -n "$TEX"; then
2200 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2201 else
2202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2203 for as_dir in $PATH
2205 IFS=$as_save_IFS
2206 test -z "$as_dir" && as_dir=.
2207 for ac_exec_ext in '' $ac_executable_extensions; do
2208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2209 ac_cv_prog_TEX="tex"
2210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 break 2
2213 done
2214 done
2218 TEX=$ac_cv_prog_TEX
2219 if test -n "$TEX"; then
2220 { echo "$as_me:$LINENO: result: $TEX" >&5
2221 echo "${ECHO_T}$TEX" >&6; }
2222 else
2223 { echo "$as_me:$LINENO: result: no" >&5
2224 echo "${ECHO_T}no" >&6; }
2228 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2229 # deletion of any files created (such as those added to
2230 # autom4te.cache). We used to perform only the last of the three
2231 # following tests, but some users were unable to figure out that their
2232 # installation was broken since --version appeared to work.
2234 { echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2235 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6; }
2236 if test "${am_cv_autoconf_installed+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 else
2239 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2240 (eval $am_AUTOCONF --version) >&5 2>&5
2241 ac_status=$?
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); };
2244 then
2245 am_cv_autoconf_installed=yes
2246 else
2247 am_cv_autoconf_installed=no
2250 { echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2251 echo "${ECHO_T}$am_cv_autoconf_installed" >&6; }
2252 if test "$am_cv_autoconf_installed" = no; then
2253 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2254 Please make sure it is installed and in your PATH." >&5
2255 echo "$as_me: error: Autoconf 2.58 or better is required.
2256 Please make sure it is installed and in your PATH." >&2;}
2257 { (exit 1); exit 1; }; }
2260 { echo "$as_me:$LINENO: checking whether autoconf works" >&5
2261 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6; }
2262 if test "${am_cv_autoconf_works+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 else
2265 mkdir conftest
2266 echo 'AC''_INIT' > conftest/conftest.ac
2267 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2268 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2269 ac_status=$?
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); };
2272 then
2273 am_cv_autoconf_works=yes
2274 else
2275 am_cv_autoconf_works=no
2277 rm -rf conftest
2279 { echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2280 echo "${ECHO_T}$am_cv_autoconf_works" >&6; }
2281 if test "$am_cv_autoconf_works" = no; then
2282 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2283 Please check config.log for error messages before this one." >&5
2284 echo "$as_me: error: The installed version of autoconf does not work.
2285 Please check config.log for error messages before this one." >&2;}
2286 { (exit 1); exit 1; }; }
2289 { echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2290 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6; }
2291 if test "${am_cv_autoconf_version+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 else
2294 mkdir conftest
2295 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2296 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2297 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2298 ac_status=$?
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); };
2301 then
2302 am_cv_autoconf_version=yes
2303 else
2304 am_cv_autoconf_version=no
2306 rm -rf conftest
2308 { echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2309 echo "${ECHO_T}$am_cv_autoconf_version" >&6; }
2310 if test "$am_cv_autoconf_version" = no; then
2311 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2312 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2313 { (exit 1); exit 1; }; }
2316 # Test for ln. We need use it to install the versioned binaries.
2317 { echo "$as_me:$LINENO: checking whether ln works" >&5
2318 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
2319 if test "${am_cv_prog_ln+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 else
2323 rm -f conftest conftest.file
2324 : >conftest.file
2325 if ln conftest.file conftest 2>/dev/null; then
2326 am_cv_prog_ln=ln
2327 else
2328 am_cv_prog_ln='cp -p'
2330 rm -f conftest conftest.file
2333 LN=$am_cv_prog_ln
2335 result=no
2336 test "x$am_cv_prog_ln" = xln && result=yes
2337 { echo "$as_me:$LINENO: result: $result" >&5
2338 echo "${ECHO_T}$result" >&6; }
2340 # The amount we should wait after modifying files depends on the platform.
2341 # On Windows '95, '98 and ME, files modifications have 2-seconds
2342 # granularity and can be up to 3 seconds in the future w.r.t. the
2343 # system clock. When it is important to ensure one file is older
2344 # than another we wait at least 5 seconds between creations.
2345 case $build in
2346 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2347 *) MODIFICATION_DELAY=2;;
2348 esac
2351 # Test for things needed by the test suite.
2352 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2353 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2354 if test "${ac_cv_path_GREP+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 else
2357 # Extract the first word of "grep ggrep" to use in msg output
2358 if test -z "$GREP"; then
2359 set dummy grep ggrep; ac_prog_name=$2
2360 if test "${ac_cv_path_GREP+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 else
2363 ac_path_GREP_found=false
2364 # Loop through the user's path and test for each of PROGNAME-LIST
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 as_dummy="$PATH:/usr/xpg4/bin"
2367 for as_dir in $as_dummy
2369 IFS=$as_save_IFS
2370 test -z "$as_dir" && as_dir=.
2371 for ac_prog in grep ggrep; do
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2374 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2375 # Check for GNU ac_path_GREP and select it if it is found.
2376 # Check for GNU $ac_path_GREP
2377 case `"$ac_path_GREP" --version 2>&1` in
2378 *GNU*)
2379 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2381 ac_count=0
2382 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2383 while :
2385 cat "conftest.in" "conftest.in" >"conftest.tmp"
2386 mv "conftest.tmp" "conftest.in"
2387 cp "conftest.in" "conftest.nl"
2388 echo 'GREP' >> "conftest.nl"
2389 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2390 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2391 ac_count=`expr $ac_count + 1`
2392 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2393 # Best one so far, save it but keep looking for a better one
2394 ac_cv_path_GREP="$ac_path_GREP"
2395 ac_path_GREP_max=$ac_count
2397 # 10*(2^10) chars as input seems more than enough
2398 test $ac_count -gt 10 && break
2399 done
2400 rm -f conftest.*;;
2401 esac
2404 $ac_path_GREP_found && break 3
2405 done
2406 done
2408 done
2413 GREP="$ac_cv_path_GREP"
2414 if test -z "$GREP"; then
2415 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2416 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2417 { (exit 1); exit 1; }; }
2420 else
2421 ac_cv_path_GREP=$GREP
2426 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2427 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2428 GREP="$ac_cv_path_GREP"
2431 { echo "$as_me:$LINENO: checking for egrep" >&5
2432 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2433 if test "${ac_cv_path_EGREP+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 else
2436 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2437 then ac_cv_path_EGREP="$GREP -E"
2438 else
2439 # Extract the first word of "egrep" to use in msg output
2440 if test -z "$EGREP"; then
2441 set dummy egrep; ac_prog_name=$2
2442 if test "${ac_cv_path_EGREP+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 else
2445 ac_path_EGREP_found=false
2446 # Loop through the user's path and test for each of PROGNAME-LIST
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448 as_dummy="$PATH:/usr/xpg4/bin"
2449 for as_dir in $as_dummy
2451 IFS=$as_save_IFS
2452 test -z "$as_dir" && as_dir=.
2453 for ac_prog in egrep; do
2454 for ac_exec_ext in '' $ac_executable_extensions; do
2455 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2456 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2457 # Check for GNU ac_path_EGREP and select it if it is found.
2458 # Check for GNU $ac_path_EGREP
2459 case `"$ac_path_EGREP" --version 2>&1` in
2460 *GNU*)
2461 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2463 ac_count=0
2464 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2465 while :
2467 cat "conftest.in" "conftest.in" >"conftest.tmp"
2468 mv "conftest.tmp" "conftest.in"
2469 cp "conftest.in" "conftest.nl"
2470 echo 'EGREP' >> "conftest.nl"
2471 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2472 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2473 ac_count=`expr $ac_count + 1`
2474 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2475 # Best one so far, save it but keep looking for a better one
2476 ac_cv_path_EGREP="$ac_path_EGREP"
2477 ac_path_EGREP_max=$ac_count
2479 # 10*(2^10) chars as input seems more than enough
2480 test $ac_count -gt 10 && break
2481 done
2482 rm -f conftest.*;;
2483 esac
2486 $ac_path_EGREP_found && break 3
2487 done
2488 done
2490 done
2495 EGREP="$ac_cv_path_EGREP"
2496 if test -z "$EGREP"; then
2497 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2498 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2499 { (exit 1); exit 1; }; }
2502 else
2503 ac_cv_path_EGREP=$EGREP
2509 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2510 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2511 EGREP="$ac_cv_path_EGREP"
2514 { echo "$as_me:$LINENO: checking for fgrep" >&5
2515 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
2516 if test "${ac_cv_path_FGREP+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 else
2519 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2520 then ac_cv_path_FGREP="$GREP -F"
2521 else
2522 # Extract the first word of "fgrep" to use in msg output
2523 if test -z "$FGREP"; then
2524 set dummy fgrep; ac_prog_name=$2
2525 if test "${ac_cv_path_FGREP+set}" = set; then
2526 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 else
2528 ac_path_FGREP_found=false
2529 # Loop through the user's path and test for each of PROGNAME-LIST
2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 as_dummy="$PATH:/usr/xpg4/bin"
2532 for as_dir in $as_dummy
2534 IFS=$as_save_IFS
2535 test -z "$as_dir" && as_dir=.
2536 for ac_prog in fgrep; do
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2539 { test -f "$ac_path_FGREP" && $as_executable_p "$ac_path_FGREP"; } || continue
2540 # Check for GNU ac_path_FGREP and select it if it is found.
2541 # Check for GNU $ac_path_FGREP
2542 case `"$ac_path_FGREP" --version 2>&1` in
2543 *GNU*)
2544 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2546 ac_count=0
2547 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2548 while :
2550 cat "conftest.in" "conftest.in" >"conftest.tmp"
2551 mv "conftest.tmp" "conftest.in"
2552 cp "conftest.in" "conftest.nl"
2553 echo 'FGREP' >> "conftest.nl"
2554 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2555 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2556 ac_count=`expr $ac_count + 1`
2557 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2558 # Best one so far, save it but keep looking for a better one
2559 ac_cv_path_FGREP="$ac_path_FGREP"
2560 ac_path_FGREP_max=$ac_count
2562 # 10*(2^10) chars as input seems more than enough
2563 test $ac_count -gt 10 && break
2564 done
2565 rm -f conftest.*;;
2566 esac
2569 $ac_path_FGREP_found && break 3
2570 done
2571 done
2573 done
2578 FGREP="$ac_cv_path_FGREP"
2579 if test -z "$FGREP"; then
2580 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2581 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2582 { (exit 1); exit 1; }; }
2585 else
2586 ac_cv_path_FGREP=$FGREP
2592 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2593 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
2594 FGREP="$ac_cv_path_FGREP"
2598 ac_config_files="$ac_config_files Makefile doc/Makefile lib/Automake/Makefile lib/Automake/tests/Makefile lib/Makefile lib/am/Makefile m4/Makefile tests/Makefile tests/defs"
2600 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2602 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2605 cat >confcache <<\_ACEOF
2606 # This file is a shell script that caches the results of configure
2607 # tests run on this system so they can be shared between configure
2608 # scripts and configure runs, see configure's option --config-cache.
2609 # It is not useful on other systems. If it contains results you don't
2610 # want to keep, you may remove or edit it.
2612 # config.status only pays attention to the cache file if you give it
2613 # the --recheck option to rerun configure.
2615 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2616 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2617 # following values.
2619 _ACEOF
2621 # The following way of writing the cache mishandles newlines in values,
2622 # but we know of no workaround that is simple, portable, and efficient.
2623 # So, don't put newlines in cache variables' values.
2624 # Ultrix sh set writes to stderr and can't be redirected directly,
2625 # and sets the high bit in the cache file unless we assign to the vars.
2627 (set) 2>&1 |
2628 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2629 *ac_space=\ *)
2630 # `set' does not quote correctly, so add quotes (double-quote
2631 # substitution turns \\\\ into \\, and sed turns \\ into \).
2632 sed -n \
2633 "s/'/'\\\\''/g;
2634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2637 # `set' quotes correctly as required by POSIX, so do not add quotes.
2638 sed -n \
2639 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2641 esac;
2643 sed '
2644 t clear
2645 :clear
2646 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2647 t end
2648 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2649 :end' >>confcache
2650 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2651 if test -w $cache_file; then
2652 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2653 cat confcache >$cache_file
2654 else
2655 echo "not updating unwritable cache $cache_file"
2658 rm -f confcache
2660 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2661 # Let make expand exec_prefix.
2662 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2664 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2665 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2666 # trailing colons and then remove the whole line if VPATH becomes empty
2667 # (actually we leave an empty line to preserve line numbers).
2668 if test "x$srcdir" = x.; then
2669 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2670 s/:*\$(srcdir):*/:/;
2671 s/:*\${srcdir}:*/:/;
2672 s/:*@srcdir@:*/:/;
2673 s/^\([^=]*=[ ]*\):*/\1/;
2674 s/:*$//;
2675 s/^[^=]*=[ ]*$//;
2679 # Transform confdefs.h into DEFS.
2680 # Protect against shell expansion while executing Makefile rules.
2681 # Protect against Makefile macro expansion.
2683 # If the first sed substitution is executed (which looks for macros that
2684 # take arguments), then we branch to the quote section. Otherwise,
2685 # look for a macro that doesn't take arguments.
2686 cat >confdef2opt.sed <<\_ACEOF
2687 t clear
2688 :clear
2689 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2690 t quote
2691 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2692 t quote
2694 :quote
2695 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2696 s,\[,\\&,g
2697 s,\],\\&,g
2698 s,\$,$$,g
2700 _ACEOF
2701 # We use echo to avoid assuming a particular line-breaking character.
2702 # The extra dot is to prevent the shell from consuming trailing
2703 # line-breaks from the sub-command output. A line-break within
2704 # single-quotes doesn't work because, if this script is created in a
2705 # platform that uses two characters for line-breaks (e.g., DOS), tr
2706 # would break.
2707 ac_LF_and_DOT=`echo; echo .`
2708 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2709 rm -f confdef2opt.sed
2712 ac_libobjs=
2713 ac_ltlibobjs=
2714 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2715 # 1. Remove the extension, and $U if already installed.
2716 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2717 ac_i=`echo "$ac_i" | sed "$ac_script"`
2718 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2719 # will be set to the directory where LIBOBJS objects are built.
2720 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2721 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2722 done
2723 LIBOBJS=$ac_libobjs
2725 LTLIBOBJS=$ac_ltlibobjs
2729 : ${CONFIG_STATUS=./config.status}
2730 ac_clean_files_save=$ac_clean_files
2731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2732 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2733 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2734 cat >$CONFIG_STATUS <<_ACEOF
2735 #! $SHELL
2736 # Generated by $as_me.
2737 # Run this file to recreate the current configuration.
2738 # Compiler output produced by configure, useful for debugging
2739 # configure, is in config.log if it exists.
2741 debug=false
2742 ac_cs_recheck=false
2743 ac_cs_silent=false
2744 SHELL=\${CONFIG_SHELL-$SHELL}
2745 _ACEOF
2747 cat >>$CONFIG_STATUS <<\_ACEOF
2748 ## --------------------- ##
2749 ## M4sh Initialization. ##
2750 ## --------------------- ##
2752 # Be Bourne compatible
2753 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2754 emulate sh
2755 NULLCMD=:
2756 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2757 # is contrary to our usage. Disable this feature.
2758 alias -g '${1+"$@"}'='"$@"'
2759 setopt NO_GLOB_SUBST
2760 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2761 set -o posix
2763 BIN_SH=xpg4; export BIN_SH # for Tru64
2764 DUALCASE=1; export DUALCASE # for MKS sh
2767 # PATH needs CR
2768 # Avoid depending upon Character Ranges.
2769 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2770 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2771 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2772 as_cr_digits='0123456789'
2773 as_cr_alnum=$as_cr_Letters$as_cr_digits
2775 # The user is always right.
2776 if test "${PATH_SEPARATOR+set}" != set; then
2777 echo "#! /bin/sh" >conf$$.sh
2778 echo "exit 0" >>conf$$.sh
2779 chmod +x conf$$.sh
2780 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2781 PATH_SEPARATOR=';'
2782 else
2783 PATH_SEPARATOR=:
2785 rm -f conf$$.sh
2788 # Support unset when possible.
2789 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2790 as_unset=unset
2791 else
2792 as_unset=false
2796 # Find who we are. Look in the path if we contain no path at all
2797 # relative or not.
2798 case $0 in
2799 *[\\/]* ) as_myself=$0 ;;
2800 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801 for as_dir in $PATH
2803 IFS=$as_save_IFS
2804 test -z "$as_dir" && as_dir=.
2805 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2806 done
2809 esac
2810 # We did not find ourselves, most probably we were run as `sh COMMAND'
2811 # in which case we are not to be found in the path.
2812 if test "x$as_myself" = x; then
2813 as_myself=$0
2815 if test ! -f "$as_myself"; then
2816 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
2817 echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
2818 { (exit 1); exit 1; }; }
2821 # Work around bugs in pre-3.0 UWIN ksh.
2822 for as_var in ENV MAIL MAILPATH
2823 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2824 done
2825 PS1='$ '
2826 PS2='> '
2827 PS4='+ '
2829 # NLS nuisances.
2830 for as_var in \
2831 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2832 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2833 LC_TELEPHONE LC_TIME
2835 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2836 eval $as_var=C; export $as_var
2837 else
2838 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2840 done
2842 # Required to use basename.
2843 if expr a : '\(a\)' >/dev/null 2>&1; then
2844 as_expr=expr
2845 else
2846 as_expr=false
2849 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2850 as_basename=basename
2851 else
2852 as_basename=false
2856 # Name of the executable.
2857 as_me=`$as_basename "$0" ||
2858 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2859 X"$0" : 'X\(//\)$' \| \
2860 X"$0" : 'X\(/\)$' \| \
2861 . : '\(.\)' 2>/dev/null ||
2862 echo X/"$0" |
2863 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2864 /^X\/\(\/\/\)$/{ s//\1/; q; }
2865 /^X\/\(\/\).*/{ s//\1/; q; }
2866 s/.*/./; q'`
2871 as_lineno_1=$LINENO
2872 as_lineno_2=$LINENO
2873 test "x$as_lineno_1" != "x$as_lineno_2" &&
2874 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2876 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2877 # uniformly replaced by the line number. The first 'sed' inserts a
2878 # line-number line after each line using $LINENO; the second 'sed'
2879 # does the real work. The second script uses 'N' to pair each
2880 # line-number line with the line containing $LINENO, and appends
2881 # trailing '-' during substitution so that $LINENO is not a special
2882 # case at line end.
2883 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2884 # scripts with optimization help from Paolo Bonzini. Blame Lee
2885 # E. McMahon (1931-1989) for sed's syntax. :-)
2886 sed -n '
2888 /[$]LINENO/=
2889 ' <$as_myself |
2890 sed '
2891 s,[$]LINENO.*,&-,
2892 t lineno
2894 :lineno
2896 :loop
2897 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2898 t loop
2899 s,-\n.*,,
2900 ' >$as_me.lineno &&
2901 chmod +x $as_me.lineno ||
2902 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2903 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2904 { (exit 1); exit 1; }; }
2906 # Don't try to exec as it changes $[0], causing all sort of problems
2907 # (the dirname of $[0] is not the place where we might find the
2908 # original and so on. Autoconf is especially sensible to this).
2909 . ./$as_me.lineno
2910 # Exit status is that of the last command.
2911 exit
2915 ECHO_C= ECHO_N= ECHO_T=
2916 case `echo -n x` in
2917 -n*)
2918 case `echo 'x\c'` in
2919 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2920 *) ECHO_C='\c';;
2921 esac;;
2923 ECHO_N='-n';;
2924 esac
2926 if expr a : '\(a\)' >/dev/null 2>&1; then
2927 as_expr=expr
2928 else
2929 as_expr=false
2932 rm -f conf$$ conf$$.exe conf$$.file
2933 echo >conf$$.file
2934 if ln -s conf$$.file conf$$ 2>/dev/null; then
2935 # We could just check for DJGPP; but this test a) works b) is more generic
2936 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2937 if test -f conf$$.exe; then
2938 # Don't use ln at all; we don't have any links
2939 as_ln_s='cp -p'
2940 else
2941 as_ln_s='ln -s'
2943 elif ln conf$$.file conf$$ 2>/dev/null; then
2944 as_ln_s=ln
2945 else
2946 as_ln_s='cp -p'
2948 rm -f conf$$ conf$$.exe conf$$.file
2950 if mkdir -p . 2>/dev/null; then
2951 as_mkdir_p=:
2952 else
2953 test -d ./-p && rmdir ./-p
2954 as_mkdir_p=false
2957 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2958 # systems may use methods other than mode bits to determine executability.
2959 cat >conf$$.file <<_ASEOF
2960 #! /bin/sh
2961 exit 0
2962 _ASEOF
2963 chmod +x conf$$.file
2964 if test -x conf$$.file >/dev/null 2>&1; then
2965 as_executable_p="test -x"
2966 else
2967 as_executable_p=:
2969 rm -f conf$$.file
2971 # Sed expression to map a string onto a valid CPP name.
2972 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2974 # Sed expression to map a string onto a valid variable name.
2975 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2978 # IFS
2979 # We need space, tab and new line, in precisely that order.
2980 as_nl='
2982 IFS=" $as_nl"
2984 # CDPATH.
2985 $as_unset CDPATH
2987 exec 6>&1
2989 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2990 # report actual input values of CONFIG_FILES etc. instead of their
2991 # values after options handling. Logging --version etc. is OK.
2992 exec 5>>config.log
2994 echo
2995 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2996 ## Running $as_me. ##
2997 _ASBOX
2998 } >&5
2999 cat >&5 <<_CSEOF
3001 This file was extended by GNU Automake $as_me 1.9a, which was
3002 generated by GNU Autoconf 2.59c. Invocation command line was
3004 CONFIG_FILES = $CONFIG_FILES
3005 CONFIG_HEADERS = $CONFIG_HEADERS
3006 CONFIG_LINKS = $CONFIG_LINKS
3007 CONFIG_COMMANDS = $CONFIG_COMMANDS
3008 $ $0 $@
3010 _CSEOF
3011 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3012 echo >&5
3013 _ACEOF
3015 # Files that config.status was made for.
3016 if test -n "$ac_config_files"; then
3017 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3020 if test -n "$ac_config_headers"; then
3021 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3024 if test -n "$ac_config_links"; then
3025 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3028 if test -n "$ac_config_commands"; then
3029 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3032 cat >>$CONFIG_STATUS <<\_ACEOF
3034 ac_cs_usage="\
3035 \`$as_me' instantiates files from templates according to the
3036 current configuration.
3038 Usage: $0 [OPTIONS] [FILE]...
3040 -h, --help print this help, then exit
3041 -V, --version print version number, then exit
3042 -q, --quiet do not print progress messages
3043 -d, --debug don't remove temporary files
3044 --recheck update $as_me by reconfiguring in the same conditions
3045 --file=FILE[:TEMPLATE]
3046 instantiate the configuration file FILE
3048 Configuration files:
3049 $config_files
3051 Report bugs to <bug-autoconf@gnu.org>."
3052 _ACEOF
3054 cat >>$CONFIG_STATUS <<_ACEOF
3055 ac_cs_version="\\
3056 GNU Automake config.status 1.9a
3057 configured by $0, generated by GNU Autoconf 2.59c,
3058 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3060 Copyright (C) 2005 Free Software Foundation, Inc.
3061 This config.status script is free software; the Free Software Foundation
3062 gives unlimited permission to copy, distribute and modify it."
3063 ac_pwd='$ac_pwd'
3064 srcdir='$srcdir'
3065 INSTALL="$INSTALL"
3066 _ACEOF
3068 cat >>$CONFIG_STATUS <<\_ACEOF
3069 # If no file are specified by the user, then we need to provide default
3070 # value. By we need to know if files were specified by the user.
3071 ac_need_defaults=:
3072 while test $# != 0
3074 case $1 in
3075 --*=*)
3076 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3077 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3078 ac_shift=:
3081 ac_option=$1
3082 ac_optarg=$2
3083 ac_shift=shift
3085 *) # This is not an option, so the user has probably given explicit
3086 # arguments.
3087 ac_option=$1
3088 ac_need_defaults=false;;
3089 esac
3091 case $ac_option in
3092 # Handling of the options.
3093 _ACEOF
3094 cat >>$CONFIG_STATUS <<\_ACEOF
3095 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3096 ac_cs_recheck=: ;;
3097 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3098 echo "$ac_cs_version"; exit ;;
3099 --he | --h)
3100 # Conflict between --help and --header
3101 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3102 Try \`$0 --help' for more information." >&5
3103 echo "$as_me: error: ambiguous option: $1
3104 Try \`$0 --help' for more information." >&2;}
3105 { (exit 1); exit 1; }; };;
3106 --help | --hel | -h )
3107 echo "$ac_cs_usage"; exit ;;
3108 --debug | --debu | --deb | --de | --d | -d )
3109 debug=: ;;
3110 --file | --fil | --fi | --f )
3111 $ac_shift
3112 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3113 ac_need_defaults=false;;
3114 --header | --heade | --head | --hea )
3115 $ac_shift
3116 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3117 ac_need_defaults=false;;
3118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3119 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3120 ac_cs_silent=: ;;
3122 # This is an error.
3123 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3124 Try \`$0 --help' for more information." >&5
3125 echo "$as_me: error: unrecognized option: $1
3126 Try \`$0 --help' for more information." >&2;}
3127 { (exit 1); exit 1; }; } ;;
3129 *) ac_config_targets="$ac_config_targets $1" ;;
3131 esac
3132 shift
3133 done
3135 ac_configure_extra_args=
3137 if $ac_cs_silent; then
3138 exec 6>/dev/null
3139 ac_configure_extra_args="$ac_configure_extra_args --silent"
3142 _ACEOF
3143 cat >>$CONFIG_STATUS <<_ACEOF
3144 if \$ac_cs_recheck; then
3145 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3146 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3149 _ACEOF
3151 cat >>$CONFIG_STATUS <<_ACEOF
3153 # INIT-COMMANDS section.
3156 APIVERSION=$APIVERSION
3158 _ACEOF
3162 cat >>$CONFIG_STATUS <<\_ACEOF
3163 for ac_config_target in $ac_config_targets
3165 case "$ac_config_target" in
3166 # Handling of arguments.
3167 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3168 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3169 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3170 "lib/Automake/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3171 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3172 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3173 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3174 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3175 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3176 "tests/aclocal-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3177 "tests/automake-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3178 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3179 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3180 { (exit 1); exit 1; }; };;
3181 esac
3182 done
3184 # If the user did not use the arguments to specify the items to instantiate,
3185 # then the envvar interface is used. Set only those that are not.
3186 # We use the long form for the default assignment because of an extremely
3187 # bizarre bug on SunOS 4.1.3.
3188 if $ac_need_defaults; then
3189 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3192 # Have a temporary directory for convenience. Make it in the build tree
3193 # simply because there is no reason against having it here, and in addition,
3194 # creating and moving files from /tmp can sometimes cause problems.
3195 # Hook for its removal unless debugging.
3196 $debug ||
3198 trap 'exit_status=$?; rm -fr "$tmp" && exit $exit_status' 0
3199 trap '{ (exit 1); exit 1; }' 1 2 13 15
3201 # Create a (secure) tmp directory for tmp files.
3204 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3205 test -n "$tmp" && test -d "$tmp"
3206 } ||
3208 tmp=./conf$$-$RANDOM
3209 (umask 077 && mkdir "$tmp")
3210 } ||
3212 echo "$me: cannot create a temporary directory in ." >&2
3213 { (exit 1); exit 1; }
3216 _ACEOF
3218 cat >>$CONFIG_STATUS <<\_ACEOF
3220 # CONFIG_FILES section.
3223 # No need to generate the scripts if there are no CONFIG_FILES.
3224 # This happens for instance when ./config.status config.h
3225 if test -n "$CONFIG_FILES"; then
3227 _ACEOF
3231 ac_delim='%!_!# '
3232 for ac_last_try in false false false false false :; do
3233 cat >conf$$subs.sed <<_ACEOF
3234 SHELL!$SHELL$ac_delim
3235 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3236 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3237 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3238 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3239 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3240 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3241 exec_prefix!$exec_prefix$ac_delim
3242 prefix!$prefix$ac_delim
3243 program_transform_name!$program_transform_name$ac_delim
3244 bindir!$bindir$ac_delim
3245 sbindir!$sbindir$ac_delim
3246 libexecdir!$libexecdir$ac_delim
3247 datarootdir!$datarootdir$ac_delim
3248 datadir!$datadir$ac_delim
3249 sysconfdir!$sysconfdir$ac_delim
3250 sharedstatedir!$sharedstatedir$ac_delim
3251 localstatedir!$localstatedir$ac_delim
3252 includedir!$includedir$ac_delim
3253 oldincludedir!$oldincludedir$ac_delim
3254 docdir!$docdir$ac_delim
3255 infodir!$infodir$ac_delim
3256 htmldir!$htmldir$ac_delim
3257 dvidir!$dvidir$ac_delim
3258 pdfdir!$pdfdir$ac_delim
3259 psdir!$psdir$ac_delim
3260 libdir!$libdir$ac_delim
3261 localedir!$localedir$ac_delim
3262 mandir!$mandir$ac_delim
3263 build_alias!$build_alias$ac_delim
3264 host_alias!$host_alias$ac_delim
3265 target_alias!$target_alias$ac_delim
3266 DEFS!$DEFS$ac_delim
3267 ECHO_C!$ECHO_C$ac_delim
3268 ECHO_N!$ECHO_N$ac_delim
3269 ECHO_T!$ECHO_T$ac_delim
3270 LIBS!$LIBS$ac_delim
3271 build!$build$ac_delim
3272 build_cpu!$build_cpu$ac_delim
3273 build_vendor!$build_vendor$ac_delim
3274 build_os!$build_os$ac_delim
3275 am_AUTOCONF!$am_AUTOCONF$ac_delim
3276 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3277 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3278 INSTALL_DATA!$INSTALL_DATA$ac_delim
3279 CYGPATH_W!$CYGPATH_W$ac_delim
3280 PACKAGE!$PACKAGE$ac_delim
3281 VERSION!$VERSION$ac_delim
3282 ACLOCAL!$ACLOCAL$ac_delim
3283 AUTOCONF!$AUTOCONF$ac_delim
3284 AUTOMAKE!$AUTOMAKE$ac_delim
3285 AUTOHEADER!$AUTOHEADER$ac_delim
3286 MAKEINFO!$MAKEINFO$ac_delim
3287 install_sh!$install_sh$ac_delim
3288 STRIP!$STRIP$ac_delim
3289 ac_ct_STRIP!$ac_ct_STRIP$ac_delim
3290 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3291 mkdir_p!$mkdir_p$ac_delim
3292 AWK!$AWK$ac_delim
3293 SET_MAKE!$SET_MAKE$ac_delim
3294 am__leading_dot!$am__leading_dot$ac_delim
3295 AMTAR!$AMTAR$ac_delim
3296 am__tar!$am__tar$ac_delim
3297 am__untar!$am__untar$ac_delim
3298 APIVERSION!$APIVERSION$ac_delim
3299 pkgvdatadir!$pkgvdatadir$ac_delim
3300 PERL!$PERL$ac_delim
3301 TEX!$TEX$ac_delim
3302 LN!$LN$ac_delim
3303 MODIFICATION_DELAY!$MODIFICATION_DELAY$ac_delim
3304 GREP!$GREP$ac_delim
3305 EGREP!$EGREP$ac_delim
3306 FGREP!$FGREP$ac_delim
3307 LIBOBJS!$LIBOBJS$ac_delim
3308 LTLIBOBJS!$LTLIBOBJS$ac_delim
3309 _ACEOF
3311 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 75; then
3312 break
3313 elif $ac_last_try; then
3314 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3315 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3316 { (exit 1); exit 1; }; }
3317 else
3318 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3320 done
3322 ac_eof=`sed -n '/^CEOF0-9*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3323 ac_eof=`expr 0$ac_eof + 1`
3325 cat >>$CONFIG_STATUS <<_ACEOF
3326 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3328 _ACEOF
3329 sed '
3330 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3331 s/^/s,@/; s/!/@,|#_!!_#|/
3334 s/'"$ac_delim"'$/,g/; t
3335 s/$/\\/; p
3336 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3337 ' >>$CONFIG_STATUS <conf$$subs.sed
3338 rm -f conf$$subs.sed
3339 cat >>$CONFIG_STATUS <<_ACEOF
3340 :end
3341 s/|#_!!_#|//g
3342 CEOF$ac_eof
3343 _ACEOF
3345 cat >>$CONFIG_STATUS <<\_ACEOF
3346 fi # test -n "$CONFIG_FILES"
3348 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3349 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3350 case $ac_file in
3351 - | *:- | *:-:* ) # input from stdin
3352 cat >"$tmp/stdin" ;;
3353 esac
3354 case $ac_file in
3355 *:*) ac_file_in=`expr "X$ac_file" : 'X[^:]*:\(.*\)'`
3356 ac_file=`expr "X$ac_file" : 'X\([^:]*\)'` ;;
3357 -) ac_file_in=- ;;
3358 *) ac_file_in=$ac_file.in ;;
3359 esac
3361 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3362 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3363 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3364 X"$ac_file" : 'X\(//\)[^/]' \| \
3365 X"$ac_file" : 'X\(//\)$' \| \
3366 X"$ac_file" : 'X\(/\)' \| \
3367 . : '\(.\)' 2>/dev/null ||
3368 echo X"$ac_file" |
3369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3370 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3371 /^X\(\/\/\)$/{ s//\1/; q; }
3372 /^X\(\/\).*/{ s//\1/; q; }
3373 s/.*/./; q'`
3374 { if $as_mkdir_p; then
3375 test -d "$ac_dir" || mkdir -p "$ac_dir"
3376 else
3377 as_dir="$ac_dir"
3378 as_dirs=
3379 while test ! -d "$as_dir"; do
3380 as_dirs="$as_dir $as_dirs"
3381 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3382 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3383 X"$as_dir" : 'X\(//\)[^/]' \| \
3384 X"$as_dir" : 'X\(//\)$' \| \
3385 X"$as_dir" : 'X\(/\)' \| \
3386 . : '\(.\)' 2>/dev/null ||
3387 echo X"$as_dir" |
3388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3389 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3390 /^X\(\/\/\)$/{ s//\1/; q; }
3391 /^X\(\/\).*/{ s//\1/; q; }
3392 s/.*/./; q'`
3393 done
3394 test ! -n "$as_dirs" || mkdir $as_dirs
3395 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3396 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3397 { (exit 1); exit 1; }; }; }
3399 ac_builddir=.
3401 case "$ac_dir" in
3402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3404 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3405 # A ".." for each directory in $ac_dir_suffix.
3406 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3407 case $ac_top_builddir_sub in
3408 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3409 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3410 esac ;;
3411 esac
3412 ac_abs_top_builddir=$ac_pwd
3413 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3414 # for backward compatibility:
3415 ac_top_builddir=$ac_top_build_prefix
3417 case $srcdir in
3418 .) # No --srcdir option. We are building in place.
3419 ac_srcdir=.
3420 ac_top_srcdir=$ac_top_builddir_sub
3421 ac_abs_top_srcdir=$ac_pwd ;;
3422 [\\/]* | ?:[\\/]* ) # Absolute name.
3423 ac_srcdir=$srcdir$ac_dir_suffix;
3424 ac_top_srcdir=$srcdir
3425 ac_abs_top_srcdir=$srcdir ;;
3426 *) # Relative name.
3427 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3428 ac_top_srcdir=$ac_top_build_prefix$srcdir
3429 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3430 esac
3431 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3434 case $INSTALL in
3435 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3436 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3437 esac
3439 if test x"$ac_file" != x-; then
3440 { echo "$as_me:$LINENO: creating $ac_file" >&5
3441 echo "$as_me: creating $ac_file" >&6;}
3442 rm -f "$ac_file"
3444 # Let's still pretend it is `configure' which instantiates (i.e., don't
3445 # use $as_me), people would be surprised to read:
3446 # /* config.h. Generated by config.status. */
3447 if test x"$ac_file" = x-; then
3448 configure_input=
3449 else
3450 configure_input="$ac_file. "
3452 configure_input=$configure_input"Generated from `echo $ac_file_in |
3453 sed 's,.*/,,'` by configure."
3455 # First look for the input files in the build tree, otherwise in the
3456 # src tree.
3457 ac_file_inputs=`IFS=:
3458 for f in $ac_file_in; do
3459 case $f in
3460 -) echo "$tmp/stdin" ;;
3461 [\\/$]*)
3462 # Absolute (can't be DOS-style, as IFS=:)
3463 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3464 echo "$as_me: error: cannot find input file: $f" >&2;}
3465 { (exit 1); exit 1; }; }
3466 echo "$f";;
3467 *) # Relative
3468 if test -f "$f"; then
3469 # Build tree
3470 echo "$f"
3471 elif test -f "$srcdir/$f"; then
3472 # Source tree
3473 echo "$srcdir/$f"
3474 else
3475 # /dev/null tree
3476 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3477 echo "$as_me: error: cannot find input file: $f" >&2;}
3478 { (exit 1); exit 1; }; }
3479 fi;;
3480 esac
3481 done` || { (exit 1); exit 1; }
3482 _ACEOF
3483 cat >>$CONFIG_STATUS <<_ACEOF
3484 sed "$ac_vpsub
3485 $extrasub
3486 _ACEOF
3487 cat >>$CONFIG_STATUS <<\_ACEOF
3489 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3490 s|@configure_input@|$configure_input|;t t
3491 s|@top_builddir@|$ac_top_builddir_sub|;t t
3492 s|@srcdir@|$ac_srcdir|;t t
3493 s|@abs_srcdir@|$ac_abs_srcdir|;t t
3494 s|@top_srcdir@|$ac_top_srcdir|;t t
3495 s|@abs_top_srcdir@|$ac_abs_top_srcdir|;t t
3496 s|@builddir@|$ac_builddir|;t t
3497 s|@abs_builddir@|$ac_abs_builddir|;t t
3498 s|@abs_top_builddir@|$ac_abs_top_builddir|;t t
3499 s|@INSTALL@|$ac_INSTALL|;t t
3500 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3501 rm -f "$tmp/stdin"
3502 if test x"$ac_file" != x-; then
3503 mv "$tmp/out" $ac_file
3504 else
3505 cat "$tmp/out"
3506 rm -f "$tmp/out"
3509 # Run the commands associated with the file.
3510 case $ac_file in
3511 tests/aclocal-${APIVERSION} ) chmod +x tests/aclocal-${APIVERSION} ;;
3512 tests/automake-${APIVERSION} ) chmod +x tests/automake-${APIVERSION} ;;
3513 esac
3514 done
3515 _ACEOF
3517 cat >>$CONFIG_STATUS <<\_ACEOF
3519 { (exit 0); exit 0; }
3520 _ACEOF
3521 chmod +x $CONFIG_STATUS
3522 ac_clean_files=$ac_clean_files_save
3525 # configure is writing to config.log, and then calls config.status.
3526 # config.status does its own redirection, appending to config.log.
3527 # Unfortunately, on DOS this fails, as config.log is still kept open
3528 # by configure, so config.status won't be able to write to it; its
3529 # output is simply discarded. So we exec the FD to /dev/null,
3530 # effectively closing config.log, so it can be properly (re)opened and
3531 # appended to by config.status. When coming back to configure, we
3532 # need to make the FD available again.
3533 if test "$no_create" != yes; then
3534 ac_cs_success=:
3535 ac_config_status_args=
3536 test "$silent" = yes &&
3537 ac_config_status_args="$ac_config_status_args --quiet"
3538 exec 5>/dev/null
3539 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3540 exec 5>>config.log
3541 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3542 # would make configure fail if this is the last instruction.
3543 $ac_cs_success || { (exit 1); exit 1; }