* doc/automake.texi: Bump copyright year.
[automake.git] / configure
blob0b25efaeb83e163f20bd77894963cabb085a652a
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 (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 (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 (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_clean_files=
524 ac_config_libobj_dir=.
525 LIBOBJS=
526 cross_compiling=no
527 subdirs=
528 MFLAGS=
529 MAKEFLAGS=
530 SHELL=${CONFIG_SHELL-/bin/sh}
532 # Identity of this package.
533 PACKAGE_NAME='GNU Automake'
534 PACKAGE_TARNAME='automake'
535 PACKAGE_VERSION='1.9a'
536 PACKAGE_STRING='GNU Automake 1.9a'
537 PACKAGE_BUGREPORT='bug-automake@gnu.org'
539 ac_unique_file="automake.in"
540 ac_subst_vars='SHELL
541 PATH_SEPARATOR
542 PACKAGE_NAME
543 PACKAGE_TARNAME
544 PACKAGE_VERSION
545 PACKAGE_STRING
546 PACKAGE_BUGREPORT
547 exec_prefix
548 prefix
549 program_transform_name
550 bindir
551 sbindir
552 libexecdir
553 datarootdir
554 datadir
555 sysconfdir
556 sharedstatedir
557 localstatedir
558 includedir
559 oldincludedir
560 docdir
561 infodir
562 htmldir
563 dvidir
564 pdfdir
565 psdir
566 libdir
567 localedir
568 mandir
569 DEFS
570 ECHO_C
571 ECHO_N
572 ECHO_T
573 LIBS
574 build_alias
575 host_alias
576 target_alias
577 build
578 build_cpu
579 build_vendor
580 build_os
581 am_AUTOCONF
582 INSTALL_PROGRAM
583 INSTALL_SCRIPT
584 INSTALL_DATA
585 CYGPATH_W
586 PACKAGE
587 VERSION
588 ACLOCAL
589 AUTOCONF
590 AUTOMAKE
591 AUTOHEADER
592 MAKEINFO
593 install_sh
594 STRIP
595 INSTALL_STRIP_PROGRAM
596 mkdir_p
598 SET_MAKE
599 am__leading_dot
600 AMTAR
601 am__tar
602 am__untar
603 APIVERSION
604 pkgvdatadir
605 PERL
608 MODIFICATION_DELAY
609 GREP
610 EGREP
611 FGREP
612 LIBOBJS
613 LTLIBOBJS'
614 ac_subst_files=''
615 ac_precious_vars='build_alias
616 host_alias
617 target_alias'
620 # Initialize some variables set by options.
621 ac_init_help=
622 ac_init_version=false
623 # The variables have the same names as the options, with
624 # dashes changed to underlines.
625 cache_file=/dev/null
626 exec_prefix=NONE
627 no_create=
628 no_recursion=
629 prefix=NONE
630 program_prefix=NONE
631 program_suffix=NONE
632 program_transform_name=s,x,x,
633 silent=
634 site=
635 srcdir=
636 verbose=
637 x_includes=NONE
638 x_libraries=NONE
640 # Installation directory options.
641 # These are left unexpanded so users can "make install exec_prefix=/foo"
642 # and all the variables that are supposed to be based on exec_prefix
643 # by default will actually change.
644 # Use braces instead of parens because sh, perl, etc. also accept them.
645 # (The list follows the same order as the GNU Coding Standards.)
646 bindir='${exec_prefix}/bin'
647 sbindir='${exec_prefix}/sbin'
648 libexecdir='${exec_prefix}/libexec'
649 datarootdir='${prefix}/share'
650 datadir='${datarootdir}'
651 sysconfdir='${prefix}/etc'
652 sharedstatedir='${prefix}/com'
653 localstatedir='${prefix}/var'
654 includedir='${prefix}/include'
655 oldincludedir='/usr/include'
656 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
657 infodir='${datarootdir}/info'
658 htmldir='${docdir}'
659 dvidir='${docdir}'
660 pdfdir='${docdir}'
661 psdir='${docdir}'
662 libdir='${exec_prefix}/lib'
663 localedir='${datarootdir}/locale'
664 mandir='${datarootdir}/man'
666 ac_prev=
667 ac_dashdash=
668 for ac_option
670 # If the previous option needs an argument, assign it.
671 if test -n "$ac_prev"; then
672 eval $ac_prev=\$ac_option
673 ac_prev=
674 continue
677 case $ac_option in
678 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
679 *) ac_optarg=yes ;;
680 esac
682 # Accept the important Cygnus configure options, so we can diagnose typos.
684 case $ac_dashdash$ac_option in
686 ac_dashdash=yes ;;
688 -bindir | --bindir | --bindi | --bind | --bin | --bi)
689 ac_prev=bindir ;;
690 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
691 bindir=$ac_optarg ;;
693 -build | --build | --buil | --bui | --bu)
694 ac_prev=build_alias ;;
695 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
696 build_alias=$ac_optarg ;;
698 -cache-file | --cache-file | --cache-fil | --cache-fi \
699 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
700 ac_prev=cache_file ;;
701 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
702 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
703 cache_file=$ac_optarg ;;
705 --config-cache | -C)
706 cache_file=config.cache ;;
708 -datadir | --datadir | --datadi | --datad)
709 ac_prev=datadir ;;
710 -datadir=* | --datadir=* | --datadi=* | --datad=*)
711 datadir=$ac_optarg ;;
713 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
714 | --dataroo | --dataro | --datar)
715 ac_prev=datarootdir ;;
716 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
717 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
718 datarootdir=$ac_optarg ;;
720 -disable-* | --disable-*)
721 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
722 # Reject names that are not valid shell variable names.
723 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
724 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
725 { (exit 1); exit 1; }; }
726 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
727 eval enable_$ac_feature=no ;;
729 -docdir | --docdir | --docdi | --doc | --do)
730 ac_prev=docdir ;;
731 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
732 docdir=$ac_optarg ;;
734 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
735 ac_prev=dvidir ;;
736 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
737 dvidir=$ac_optarg ;;
739 -enable-* | --enable-*)
740 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
741 # Reject names that are not valid shell variable names.
742 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
743 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
744 { (exit 1); exit 1; }; }
745 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
746 eval enable_$ac_feature=\$ac_optarg ;;
748 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
749 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
750 | --exec | --exe | --ex)
751 ac_prev=exec_prefix ;;
752 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
753 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
754 | --exec=* | --exe=* | --ex=*)
755 exec_prefix=$ac_optarg ;;
757 -gas | --gas | --ga | --g)
758 # Obsolete; use --with-gas.
759 with_gas=yes ;;
761 -help | --help | --hel | --he | -h)
762 ac_init_help=long ;;
763 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
764 ac_init_help=recursive ;;
765 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
766 ac_init_help=short ;;
768 -host | --host | --hos | --ho)
769 ac_prev=host_alias ;;
770 -host=* | --host=* | --hos=* | --ho=*)
771 host_alias=$ac_optarg ;;
773 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
774 ac_prev=htmldir ;;
775 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
776 | --ht=*)
777 htmldir=$ac_optarg ;;
779 -includedir | --includedir | --includedi | --included | --include \
780 | --includ | --inclu | --incl | --inc)
781 ac_prev=includedir ;;
782 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
783 | --includ=* | --inclu=* | --incl=* | --inc=*)
784 includedir=$ac_optarg ;;
786 -infodir | --infodir | --infodi | --infod | --info | --inf)
787 ac_prev=infodir ;;
788 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
789 infodir=$ac_optarg ;;
791 -libdir | --libdir | --libdi | --libd)
792 ac_prev=libdir ;;
793 -libdir=* | --libdir=* | --libdi=* | --libd=*)
794 libdir=$ac_optarg ;;
796 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
797 | --libexe | --libex | --libe)
798 ac_prev=libexecdir ;;
799 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
800 | --libexe=* | --libex=* | --libe=*)
801 libexecdir=$ac_optarg ;;
803 -localedir | --localedir | --localedi | --localed | --locale)
804 ac_prev=localedir ;;
805 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
806 localedir=$ac_optarg ;;
808 -localstatedir | --localstatedir | --localstatedi | --localstated \
809 | --localstate | --localstat | --localsta | --localst | --locals)
810 ac_prev=localstatedir ;;
811 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
812 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
813 localstatedir=$ac_optarg ;;
815 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
816 ac_prev=mandir ;;
817 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
818 mandir=$ac_optarg ;;
820 -nfp | --nfp | --nf)
821 # Obsolete; use --without-fp.
822 with_fp=no ;;
824 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
825 | --no-cr | --no-c | -n)
826 no_create=yes ;;
828 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
829 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
830 no_recursion=yes ;;
832 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
833 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
834 | --oldin | --oldi | --old | --ol | --o)
835 ac_prev=oldincludedir ;;
836 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
837 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
838 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
839 oldincludedir=$ac_optarg ;;
841 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
842 ac_prev=prefix ;;
843 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
844 prefix=$ac_optarg ;;
846 -program-prefix | --program-prefix | --program-prefi | --program-pref \
847 | --program-pre | --program-pr | --program-p)
848 ac_prev=program_prefix ;;
849 -program-prefix=* | --program-prefix=* | --program-prefi=* \
850 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
851 program_prefix=$ac_optarg ;;
853 -program-suffix | --program-suffix | --program-suffi | --program-suff \
854 | --program-suf | --program-su | --program-s)
855 ac_prev=program_suffix ;;
856 -program-suffix=* | --program-suffix=* | --program-suffi=* \
857 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
858 program_suffix=$ac_optarg ;;
860 -program-transform-name | --program-transform-name \
861 | --program-transform-nam | --program-transform-na \
862 | --program-transform-n | --program-transform- \
863 | --program-transform | --program-transfor \
864 | --program-transfo | --program-transf \
865 | --program-trans | --program-tran \
866 | --progr-tra | --program-tr | --program-t)
867 ac_prev=program_transform_name ;;
868 -program-transform-name=* | --program-transform-name=* \
869 | --program-transform-nam=* | --program-transform-na=* \
870 | --program-transform-n=* | --program-transform-=* \
871 | --program-transform=* | --program-transfor=* \
872 | --program-transfo=* | --program-transf=* \
873 | --program-trans=* | --program-tran=* \
874 | --progr-tra=* | --program-tr=* | --program-t=*)
875 program_transform_name=$ac_optarg ;;
877 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
878 ac_prev=pdfdir ;;
879 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
880 pdfdir=$ac_optarg ;;
882 -psdir | --psdir | --psdi | --psd | --ps)
883 ac_prev=psdir ;;
884 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
885 psdir=$ac_optarg ;;
887 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
888 | -silent | --silent | --silen | --sile | --sil)
889 silent=yes ;;
891 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
892 ac_prev=sbindir ;;
893 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
894 | --sbi=* | --sb=*)
895 sbindir=$ac_optarg ;;
897 -sharedstatedir | --sharedstatedir | --sharedstatedi \
898 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
899 | --sharedst | --shareds | --shared | --share | --shar \
900 | --sha | --sh)
901 ac_prev=sharedstatedir ;;
902 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
903 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
904 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
905 | --sha=* | --sh=*)
906 sharedstatedir=$ac_optarg ;;
908 -site | --site | --sit)
909 ac_prev=site ;;
910 -site=* | --site=* | --sit=*)
911 site=$ac_optarg ;;
913 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
914 ac_prev=srcdir ;;
915 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
916 srcdir=$ac_optarg ;;
918 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
919 | --syscon | --sysco | --sysc | --sys | --sy)
920 ac_prev=sysconfdir ;;
921 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
922 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
923 sysconfdir=$ac_optarg ;;
925 -target | --target | --targe | --targ | --tar | --ta | --t)
926 ac_prev=target_alias ;;
927 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
928 target_alias=$ac_optarg ;;
930 -v | -verbose | --verbose | --verbos | --verbo | --verb)
931 verbose=yes ;;
933 -version | --version | --versio | --versi | --vers | -V)
934 ac_init_version=: ;;
936 -with-* | --with-*)
937 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
940 { echo "$as_me: error: invalid package name: $ac_package" >&2
941 { (exit 1); exit 1; }; }
942 ac_package=`echo $ac_package| sed 's/-/_/g'`
943 eval with_$ac_package=\$ac_optarg ;;
945 -without-* | --without-*)
946 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
949 { echo "$as_me: error: invalid package name: $ac_package" >&2
950 { (exit 1); exit 1; }; }
951 ac_package=`echo $ac_package | sed 's/-/_/g'`
952 eval with_$ac_package=no ;;
954 --x)
955 # Obsolete; use --with-x.
956 with_x=yes ;;
958 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
959 | --x-incl | --x-inc | --x-in | --x-i)
960 ac_prev=x_includes ;;
961 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
962 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
963 x_includes=$ac_optarg ;;
965 -x-libraries | --x-libraries | --x-librarie | --x-librari \
966 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
967 ac_prev=x_libraries ;;
968 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
969 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
970 x_libraries=$ac_optarg ;;
972 -*) { echo "$as_me: error: unrecognized option: $ac_option
973 Try \`$0 --help' for more information." >&2
974 { (exit 1); exit 1; }; }
977 *=*)
978 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
981 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
982 { (exit 1); exit 1; }; }
983 eval $ac_envvar=\$ac_optarg
984 export $ac_envvar ;;
987 # FIXME: should be removed in autoconf 3.0.
988 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
989 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
990 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
991 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
994 esac
995 done
997 if test -n "$ac_prev"; then
998 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
999 { echo "$as_me: error: missing argument to $ac_option" >&2
1000 { (exit 1); exit 1; }; }
1003 # Be sure to have absolute directory names.
1004 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1005 datadir sysconfdir sharedstatedir localstatedir includedir \
1006 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1007 libdir localedir mandir
1009 eval ac_val=\$$ac_var
1010 case $ac_val in
1011 [\\/$]* | ?:[\\/]* ) continue;;
1012 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1013 esac
1014 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1015 { (exit 1); exit 1; }; }
1016 done
1018 # There might be people who depend on the old broken behavior: `$host'
1019 # used to hold the argument of --host etc.
1020 # FIXME: To remove some day.
1021 build=$build_alias
1022 host=$host_alias
1023 target=$target_alias
1025 # FIXME: To remove some day.
1026 if test "x$host_alias" != x; then
1027 if test "x$build_alias" = x; then
1028 cross_compiling=maybe
1029 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1030 If a cross compiler is detected then cross compile mode will be used." >&2
1031 elif test "x$build_alias" != "x$host_alias"; then
1032 cross_compiling=yes
1036 ac_tool_prefix=
1037 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1039 test "$silent" = yes && exec 6>/dev/null
1042 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1043 ac_ls_di=`ls -di .` &&
1044 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1045 { echo "$as_me: error: Working directory cannot be determined" >&2
1046 { (exit 1); exit 1; }; }
1047 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1048 { echo "$as_me: error: pwd does not report name of working directory" >&2
1049 { (exit 1); exit 1; }; }
1052 # Find the source files, if location was not specified.
1053 if test -z "$srcdir"; then
1054 ac_srcdir_defaulted=yes
1055 # Try the directory containing this script, then the parent directory.
1056 ac_confdir=`(dirname "$0") 2>/dev/null ||
1057 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1058 X"$0" : 'X\(//\)[^/]' \| \
1059 X"$0" : 'X\(//\)$' \| \
1060 X"$0" : 'X\(/\)' \| \
1061 . : '\(.\)' 2>/dev/null ||
1062 echo X"$0" |
1063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1064 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1065 /^X\(\/\/\)$/{ s//\1/; q; }
1066 /^X\(\/\).*/{ s//\1/; q; }
1067 s/.*/./; q'`
1068 srcdir=$ac_confdir
1069 if test ! -r "$srcdir/$ac_unique_file"; then
1070 srcdir=..
1072 else
1073 ac_srcdir_defaulted=no
1075 if test ! -r "$srcdir/$ac_unique_file"; then
1076 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1077 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1078 { (exit 1); exit 1; }; }
1080 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1081 ac_abs_confdir=`(
1082 cd $srcdir && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1083 { (exit 1); exit 1; }; }
1084 pwd)`
1085 # When building in place, set srcdir=.
1086 if test "$ac_abs_confdir" = "$ac_pwd"; then
1087 srcdir=.
1089 # Remove unnecessary trailing slashes from srcdir.
1090 # Double slashes in file names in object file debugging info
1091 # mess up M-x gdb in Emacs.
1092 case $srcdir in
1093 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1094 esac
1095 for ac_var in $ac_precious_vars; do
1096 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1097 eval ac_env_${ac_var}_value=\$${ac_var}
1098 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1099 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1100 done
1103 # Report the --help message.
1105 if test "$ac_init_help" = "long"; then
1106 # Omit some internal or obsolete options to make the list less imposing.
1107 # This message is too long to be a string in the A/UX 3.1 sh.
1108 cat <<_ACEOF
1109 \`configure' configures GNU Automake 1.9a to adapt to many kinds of systems.
1111 Usage: $0 [OPTION]... [VAR=VALUE]...
1113 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1114 VAR=VALUE. See below for descriptions of some of the useful variables.
1116 Defaults for the options are specified in brackets.
1118 Configuration:
1119 -h, --help display this help and exit
1120 --help=short display options specific to this package
1121 --help=recursive display the short help of all the included packages
1122 -V, --version display version information and exit
1123 -q, --quiet, --silent do not print \`checking...' messages
1124 --cache-file=FILE cache test results in FILE [disabled]
1125 -C, --config-cache alias for \`--cache-file=config.cache'
1126 -n, --no-create do not create output files
1127 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1129 Installation directories:
1130 --prefix=PREFIX install architecture-independent files in PREFIX
1131 [$ac_default_prefix]
1132 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1133 [PREFIX]
1135 By default, \`make install' will install all the files in
1136 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1137 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1138 for instance \`--prefix=\$HOME'.
1140 For better control, use the options below.
1142 Fine tuning of the installation directories:
1143 --bindir=DIR user executables [EPREFIX/bin]
1144 --sbindir=DIR system admin executables [EPREFIX/sbin]
1145 --libexecdir=DIR program executables [EPREFIX/libexec]
1146 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1147 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1148 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1149 --libdir=DIR object code libraries [EPREFIX/lib]
1150 --includedir=DIR C header files [PREFIX/include]
1151 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1152 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1153 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1154 --infodir=DIR info documentation [DATAROOTDIR/info]
1155 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1156 --mandir=DIR man documentation [DATAROOTDIR/man]
1157 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1158 --htmldir=DIR html documentation [DOCDIR]
1159 --dvidir=DIR dvi documentation [DOCDIR]
1160 --pdfdir=DIR pdf documentation [DOCDIR]
1161 --psdir=DIR ps documentation [DOCDIR]
1162 _ACEOF
1164 cat <<\_ACEOF
1166 Program names:
1167 --program-prefix=PREFIX prepend PREFIX to installed program names
1168 --program-suffix=SUFFIX append SUFFIX to installed program names
1169 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1171 System types:
1172 --build=BUILD configure for building on BUILD [guessed]
1173 _ACEOF
1176 if test -n "$ac_init_help"; then
1177 case $ac_init_help in
1178 short | recursive ) echo "Configuration of GNU Automake 1.9a:";;
1179 esac
1180 cat <<\_ACEOF
1182 Report bugs to <bug-automake@gnu.org>.
1183 _ACEOF
1184 ac_status=$?
1187 if test "$ac_init_help" = "recursive"; then
1188 # If there are subdirs, report their specific --help.
1189 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1190 test -d $ac_dir || continue
1191 ac_builddir=.
1193 case "$ac_dir" in
1194 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1196 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1197 # A ".." for each directory in $ac_dir_suffix.
1198 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1199 case $ac_top_builddir_sub in
1200 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1201 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1202 esac ;;
1203 esac
1204 ac_abs_top_builddir=$ac_pwd
1205 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1206 # for backward compatibility:
1207 ac_top_builddir=$ac_top_build_prefix
1209 case $srcdir in
1210 .) # We are building in place.
1211 ac_srcdir=.
1212 ac_top_srcdir=$ac_top_builddir_sub
1213 ac_abs_top_srcdir=$ac_pwd ;;
1214 [\\/]* | ?:[\\/]* ) # Absolute name.
1215 ac_srcdir=$srcdir$ac_dir_suffix;
1216 ac_top_srcdir=$srcdir
1217 ac_abs_top_srcdir=$srcdir ;;
1218 *) # Relative name.
1219 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1220 ac_top_srcdir=$ac_top_build_prefix$srcdir
1221 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1222 esac
1223 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1225 cd $ac_dir || { ac_status=$?; continue; }
1226 # Check for guested configure; otherwise get Cygnus style configure.
1227 if test -f $ac_srcdir/configure.gnu; then
1228 echo &&
1229 $SHELL $ac_srcdir/configure.gnu --help=recursive
1230 elif test -f $ac_srcdir/configure; then
1231 echo &&
1232 $SHELL $ac_srcdir/configure --help=recursive
1233 elif test -f $ac_srcdir/configure.ac ||
1234 test -f $ac_srcdir/configure.in; then
1235 echo &&
1236 $ac_configure --help
1237 else
1238 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1239 fi || ac_status=$?
1240 cd "$ac_pwd" || { ac_status=$?; break; }
1241 done
1244 test -n "$ac_init_help" && exit $ac_status
1245 if $ac_init_version; then
1246 cat <<\_ACEOF
1247 GNU Automake configure 1.9a
1248 generated by GNU Autoconf 2.59c
1250 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1251 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
1252 This configure script is free software; the Free Software Foundation
1253 gives unlimited permission to copy, distribute and modify it.
1254 _ACEOF
1255 exit
1257 exec 5>config.log
1258 cat >&5 <<_ACEOF
1259 This file contains any messages produced by compilers while
1260 running configure, to aid debugging if configure makes a mistake.
1262 It was created by GNU Automake $as_me 1.9a, which was
1263 generated by GNU Autoconf 2.59c. Invocation command line was
1265 $ $0 $@
1267 _ACEOF
1269 cat <<_ASUNAME
1270 ## --------- ##
1271 ## Platform. ##
1272 ## --------- ##
1274 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1275 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1276 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1277 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1278 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1280 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1281 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1283 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1284 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1285 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1286 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1287 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1288 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1289 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1291 _ASUNAME
1293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1294 for as_dir in $PATH
1296 IFS=$as_save_IFS
1297 test -z "$as_dir" && as_dir=.
1298 echo "PATH: $as_dir"
1299 done
1301 } >&5
1303 cat >&5 <<_ACEOF
1306 ## ----------- ##
1307 ## Core tests. ##
1308 ## ----------- ##
1310 _ACEOF
1313 # Keep a trace of the command line.
1314 # Strip out --no-create and --no-recursion so they do not pile up.
1315 # Strip out --silent because we don't want to record it for future runs.
1316 # Also quote any args containing shell meta-characters.
1317 # Make two passes to allow for proper duplicate-argument suppression.
1318 ac_configure_args=
1319 ac_configure_args0=
1320 ac_configure_args1=
1321 ac_sep=
1322 ac_must_keep_next=false
1323 for ac_pass in 1 2
1325 for ac_arg
1327 case $ac_arg in
1328 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1330 | -silent | --silent | --silen | --sile | --sil)
1331 continue ;;
1332 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1333 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1334 esac
1335 case $ac_pass in
1336 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1338 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1339 if test $ac_must_keep_next = true; then
1340 ac_must_keep_next=false # Got value, back to normal.
1341 else
1342 case $ac_arg in
1343 *=* | --config-cache | -C | -disable-* | --disable-* \
1344 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1345 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1346 | -with-* | --with-* | -without-* | --without-* | --x)
1347 case "$ac_configure_args0 " in
1348 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1349 esac
1351 -* ) ac_must_keep_next=true ;;
1352 esac
1354 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1355 # Get rid of the leading space.
1356 ac_sep=" "
1358 esac
1359 done
1360 done
1361 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1362 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1364 # When interrupted or exit'd, cleanup temporary files, and complete
1365 # config.log. We remove comments because anyway the quotes in there
1366 # would cause problems or look ugly.
1367 # WARNING: Be sure not to use single quotes in there, as some shells,
1368 # such as our DU 5.0 friend, will then `close' the trap.
1369 trap 'exit_status=$?
1370 # Save into config.log some information that might help in debugging.
1372 echo
1374 cat <<\_ASBOX
1375 ## ---------------- ##
1376 ## Cache variables. ##
1377 ## ---------------- ##
1378 _ASBOX
1379 echo
1380 # The following way of writing the cache mishandles newlines in values,
1382 (set) 2>&1 |
1383 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1384 *ac_space=\ *)
1385 sed -n \
1386 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1387 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1390 sed -n \
1391 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1393 esac;
1395 echo
1397 cat <<\_ASBOX
1398 ## ----------------- ##
1399 ## Output variables. ##
1400 ## ----------------- ##
1401 _ASBOX
1402 echo
1403 for ac_var in $ac_subst_vars
1405 eval ac_val=\$$ac_var
1406 echo "$ac_var='"'"'$ac_val'"'"'"
1407 done | sort
1408 echo
1410 if test -n "$ac_subst_files"; then
1411 cat <<\_ASBOX
1412 ## ------------------- ##
1413 ## File substitutions. ##
1414 ## ------------------- ##
1415 _ASBOX
1416 echo
1417 for ac_var in $ac_subst_files
1419 eval ac_val=\$$ac_var
1420 echo "$ac_var='"'"'$ac_val'"'"'"
1421 done | sort
1422 echo
1425 if test -s confdefs.h; then
1426 cat <<\_ASBOX
1427 ## ----------- ##
1428 ## confdefs.h. ##
1429 ## ----------- ##
1430 _ASBOX
1431 echo
1432 sed "/^$/d" confdefs.h | sort
1433 echo
1435 test "$ac_signal" != 0 &&
1436 echo "$as_me: caught signal $ac_signal"
1437 echo "$as_me: exit $exit_status"
1438 } >&5
1439 rm -f core *.core core.conftest.* &&
1440 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1441 exit $exit_status
1443 for ac_signal in 1 2 13 15; do
1444 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1445 done
1446 ac_signal=0
1448 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1449 rm -f -r conftest* confdefs.h
1451 # Predefined preprocessor variables.
1453 cat >>confdefs.h <<_ACEOF
1454 #define PACKAGE_NAME "$PACKAGE_NAME"
1455 _ACEOF
1458 cat >>confdefs.h <<_ACEOF
1459 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1460 _ACEOF
1463 cat >>confdefs.h <<_ACEOF
1464 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1465 _ACEOF
1468 cat >>confdefs.h <<_ACEOF
1469 #define PACKAGE_STRING "$PACKAGE_STRING"
1470 _ACEOF
1473 cat >>confdefs.h <<_ACEOF
1474 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1475 _ACEOF
1478 # Let the site file select an alternate cache file if it wants to.
1479 # Prefer explicitly selected file to automatically selected ones.
1480 if test -n "$CONFIG_SITE"; then
1481 set x "$CONFIG_SITE"
1482 elif test "x$prefix" != xNONE; then
1483 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1484 else
1485 set x "$ac_default_prefix/share/config.site" \
1486 "$ac_default_prefix/etc/config.site"
1488 shift
1489 for ac_site_file
1491 if test -r "$ac_site_file"; then
1492 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1493 echo "$as_me: loading site script $ac_site_file" >&6;}
1494 sed 's/^/| /' "$ac_site_file" >&5
1495 . "$ac_site_file"
1497 done
1499 if test -r "$cache_file"; then
1500 # Some versions of bash will fail to source /dev/null (special
1501 # files actually), so we avoid doing that.
1502 if test -f "$cache_file"; then
1503 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1504 echo "$as_me: loading cache $cache_file" >&6;}
1505 case $cache_file in
1506 [\\/]* | ?:[\\/]* ) . $cache_file;;
1507 *) . ./$cache_file;;
1508 esac
1510 else
1511 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1512 echo "$as_me: creating cache $cache_file" >&6;}
1513 >$cache_file
1516 # Check that the precious variables saved in the cache have kept the same
1517 # value.
1518 ac_cache_corrupted=false
1519 for ac_var in $ac_precious_vars; do
1520 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1521 eval ac_new_set=\$ac_env_${ac_var}_set
1522 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1523 eval ac_new_val=\$ac_env_${ac_var}_value
1524 case $ac_old_set,$ac_new_set in
1525 set,)
1526 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1527 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1528 ac_cache_corrupted=: ;;
1529 ,set)
1530 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1531 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1532 ac_cache_corrupted=: ;;
1533 ,);;
1535 if test "x$ac_old_val" != "x$ac_new_val"; then
1536 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1537 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1538 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1539 echo "$as_me: former value: $ac_old_val" >&2;}
1540 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1541 echo "$as_me: current value: $ac_new_val" >&2;}
1542 ac_cache_corrupted=:
1543 fi;;
1544 esac
1545 # Pass precious variables to config.status.
1546 if test "$ac_new_set" = set; then
1547 case $ac_new_val in
1548 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1549 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1550 *) ac_arg=$ac_var=$ac_new_val ;;
1551 esac
1552 case " $ac_configure_args " in
1553 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1554 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1555 esac
1557 done
1558 if $ac_cache_corrupted; then
1559 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1560 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1561 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1562 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1563 { (exit 1); exit 1; }; }
1590 ac_ext=c
1591 ac_cpp='$CPP $CPPFLAGS'
1592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1599 ac_aux_dir=
1600 for ac_dir in lib $srcdir/lib; do
1601 if test -f $ac_dir/install-sh; then
1602 ac_aux_dir=$ac_dir
1603 ac_install_sh="$ac_aux_dir/install-sh -c"
1604 break
1605 elif test -f $ac_dir/install.sh; then
1606 ac_aux_dir=$ac_dir
1607 ac_install_sh="$ac_aux_dir/install.sh -c"
1608 break
1609 elif test -f $ac_dir/shtool; then
1610 ac_aux_dir=$ac_dir
1611 ac_install_sh="$ac_aux_dir/shtool install -c"
1612 break
1614 done
1615 if test -z "$ac_aux_dir"; then
1616 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1617 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1618 { (exit 1); exit 1; }; }
1620 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1621 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1622 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1625 # Make sure we can run config.sub.
1626 $ac_config_sub sun4 >/dev/null 2>&1 ||
1627 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1628 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1629 { (exit 1); exit 1; }; }
1631 { echo "$as_me:$LINENO: checking build system type" >&5
1632 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1633 if test "${ac_cv_build+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 else
1636 ac_build_alias=$build_alias
1637 test "x$ac_build_alias" = x &&
1638 ac_build_alias=`$ac_config_guess`
1639 test "x$ac_build_alias" = x &&
1640 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1641 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1642 { (exit 1); exit 1; }; }
1643 ac_cv_build=`$ac_config_sub $ac_build_alias` ||
1644 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_build_alias failed" >&5
1645 echo "$as_me: error: $ac_config_sub $ac_build_alias failed" >&2;}
1646 { (exit 1); exit 1; }; }
1649 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1650 echo "${ECHO_T}$ac_cv_build" >&6; }
1651 case $ac_cv_build in
1652 *-*-*) ;;
1653 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1654 echo "$as_me: error: invalid value of canonical build" >&2;}
1655 { (exit 1); exit 1; }; };;
1656 esac
1657 build=$ac_cv_build
1658 ac_save_IFS=$IFS; IFS='-'
1659 set x $ac_cv_build
1660 shift
1661 build_cpu=$1
1662 build_vendor=$2
1663 shift; shift
1664 build_os=$*
1665 IFS=$ac_save_IFS
1669 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1670 # way we can run Autoconf tests from configure (or from the test
1671 # suite) without being bothered by `missing'.
1672 am_AUTOCONF="${AUTOCONF-autoconf}"
1675 am__api_version='1.9a'
1677 # Find a good install program. We prefer a C program (faster),
1678 # so one script is as good as another. But avoid the broken or
1679 # incompatible versions:
1680 # SysV /etc/install, /usr/sbin/install
1681 # SunOS /usr/etc/install
1682 # IRIX /sbin/install
1683 # AIX /bin/install
1684 # AmigaOS /C/install, which installs bootblocks on floppy discs
1685 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1686 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1687 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1688 # OS/2's system install, which has a completely different semantic
1689 # ./install, which can be erroneously created by make from ./install.sh.
1690 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1691 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1692 if test -z "$INSTALL"; then
1693 if test "${ac_cv_path_install+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 else
1696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1697 for as_dir in $PATH
1699 IFS=$as_save_IFS
1700 test -z "$as_dir" && as_dir=.
1701 # Account for people who put trailing slashes in PATH elements.
1702 case $as_dir/ in
1703 ./ | .// | /cC/* | \
1704 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1705 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1706 /usr/ucb/* ) ;;
1708 # OSF1 and SCO ODT 3.0 have their own names for install.
1709 # Don't use installbsd from OSF since it installs stuff as root
1710 # by default.
1711 for ac_prog in ginstall scoinst install; do
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1714 if test $ac_prog = install &&
1715 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1716 # AIX install. It has an incompatible calling convention.
1718 elif test $ac_prog = install &&
1719 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1720 # program-specific install script used by HP pwplus--don't use.
1722 else
1723 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1724 break 3
1727 done
1728 done
1730 esac
1731 done
1735 if test "${ac_cv_path_install+set}" = set; then
1736 INSTALL=$ac_cv_path_install
1737 else
1738 # As a last resort, use the slow shell script. Don't cache a
1739 # value for INSTALL within a source directory, because that will
1740 # break other packages using the cache if that directory is
1741 # removed, or if the value is a relative name.
1742 INSTALL=$ac_install_sh
1745 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1746 echo "${ECHO_T}$INSTALL" >&6; }
1748 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1749 # It thinks the first close brace ends the variable substitution.
1750 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1752 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1754 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1756 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1757 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1758 # Just in case
1759 sleep 1
1760 echo timestamp > conftest.file
1761 # Do `set' in a subshell so we don't clobber the current shell's
1762 # arguments. Must try -L first in case configure is actually a
1763 # symlink; some systems play weird games with the mod time of symlinks
1764 # (eg FreeBSD returns the mod time of the symlink's containing
1765 # directory).
1766 if (
1767 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1768 if test "$*" = "X"; then
1769 # -L didn't work.
1770 set X `ls -t $srcdir/configure conftest.file`
1772 rm -f conftest.file
1773 if test "$*" != "X $srcdir/configure conftest.file" \
1774 && test "$*" != "X conftest.file $srcdir/configure"; then
1776 # If neither matched, then we have a broken ls. This can happen
1777 # if, for instance, CONFIG_SHELL is bash and it inherits a
1778 # broken ls alias from the environment. This has actually
1779 # happened. Such a system could not be considered "sane".
1780 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1781 alias in your environment" >&5
1782 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1783 alias in your environment" >&2;}
1784 { (exit 1); exit 1; }; }
1787 test "$2" = conftest.file
1789 then
1790 # Ok.
1792 else
1793 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1794 Check your system clock" >&5
1795 echo "$as_me: error: newly created file is older than distributed files!
1796 Check your system clock" >&2;}
1797 { (exit 1); exit 1; }; }
1799 { echo "$as_me:$LINENO: result: yes" >&5
1800 echo "${ECHO_T}yes" >&6; }
1801 test "$program_prefix" != NONE &&
1802 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1803 # Use a double $ so make ignores it.
1804 test "$program_suffix" != NONE &&
1805 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1806 # Double any \ or $. echo might interpret backslashes.
1807 # By default was `s,x,x', remove it if useless.
1808 cat <<\_ACEOF >conftest.sed
1809 s/[\\$]/&&/g;s/;s,x,x,$//
1810 _ACEOF
1811 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1812 rm -f conftest.sed
1814 # expand $ac_aux_dir to an absolute path
1815 am_aux_dir=`cd $ac_aux_dir && pwd`
1817 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1818 # Use eval to expand $SHELL
1819 if eval "$MISSING --run true"; then
1820 am_missing_run="$MISSING --run "
1821 else
1822 am_missing_run=
1823 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1824 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1827 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1828 # We used to define $(mkdir_p) as `mkdir -p -- .', in order to
1829 # allow $(mkdir_p) to be used without argument. As in
1830 # $(mkdir_p) $(somedir)
1831 # where $(somedir) is conditionally defined. However we don't do
1832 # that anymore.
1833 # 1. before we restricted the check to GNU mkdir, `mkdir -p .' was
1834 # reported to fail in read-only directories. The system where this
1835 # happened has been forgotten.
1836 # 2. in practice we call $(mkdir_p) on directories such as
1837 # $(mkdir_p) "$(DESTDIR)$(somedir)"
1838 # and we don't want to create $(DESTDIR) if $(somedir) is empty.
1839 # To support the latter case, we have to write
1840 # test -z "$(somedir)" || $(mkdir_p) "$(DESTDIR)$(somedir)"
1841 # so $(mkdir_p) always has an argument.
1842 # We will have better chances of detecting a missing test if
1843 # $(mkdir_p) complains about missing arguments.
1844 # 3. $(mkdir_p) is named after `mkdir -p' and we don't expect this
1845 # to accept no argument.
1846 # 4. having something like `mkdir .' in the output is unsightly.
1847 mkdir_p='mkdir -p --'
1848 else
1849 # On NextStep and OpenStep, the `mkdir' command does not
1850 # recognize any option. It will interpret all options as
1851 # directories to create.
1852 for d in ./-p ./--version;
1854 test -d $d && rmdir $d
1855 done
1856 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1857 if test -f "$ac_aux_dir/mkinstalldirs"; then
1858 mkdir_p='$(mkinstalldirs)'
1859 else
1860 mkdir_p='$(install_sh) -d'
1864 for ac_prog in gawk mawk nawk awk
1866 # Extract the first word of "$ac_prog", so it can be a program name with args.
1867 set dummy $ac_prog; ac_word=$2
1868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1870 if test "${ac_cv_prog_AWK+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1872 else
1873 if test -n "$AWK"; then
1874 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1875 else
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877 for as_dir in $PATH
1879 IFS=$as_save_IFS
1880 test -z "$as_dir" && as_dir=.
1881 for ac_exec_ext in '' $ac_executable_extensions; do
1882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1883 ac_cv_prog_AWK="$ac_prog"
1884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1885 break 2
1887 done
1888 done
1892 AWK=$ac_cv_prog_AWK
1893 if test -n "$AWK"; then
1894 { echo "$as_me:$LINENO: result: $AWK" >&5
1895 echo "${ECHO_T}$AWK" >&6; }
1896 else
1897 { echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6; }
1902 test -n "$AWK" && break
1903 done
1905 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1906 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1907 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1908 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 else
1911 cat >conftest.make <<\_ACEOF
1912 SHELL = /bin/sh
1913 all:
1914 @echo 'ac_maketemp=X"$(MAKE)"'
1915 _ACEOF
1916 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1917 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1918 if test "$ac_maketemp" != X ; then
1919 eval ac_cv_prog_make_${ac_make}_set=yes
1920 else
1921 eval ac_cv_prog_make_${ac_make}_set=no
1923 rm -f conftest.make
1925 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1926 { echo "$as_me:$LINENO: result: yes" >&5
1927 echo "${ECHO_T}yes" >&6; }
1928 SET_MAKE=
1929 else
1930 { echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6; }
1932 SET_MAKE="MAKE=${MAKE-make}"
1935 rm -rf .tst 2>/dev/null
1936 mkdir .tst 2>/dev/null
1937 if test -d .tst; then
1938 am__leading_dot=.
1939 else
1940 am__leading_dot=_
1942 rmdir .tst 2>/dev/null
1944 # test to see if srcdir already configured
1945 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1946 test -f $srcdir/config.status; then
1947 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1948 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1949 { (exit 1); exit 1; }; }
1952 # test whether we have cygpath
1953 if test -z "$CYGPATH_W"; then
1954 if (cygpath --version) >/dev/null 2>/dev/null; then
1955 CYGPATH_W='cygpath -w'
1956 else
1957 CYGPATH_W=echo
1962 # Define the identity of the package.
1963 PACKAGE='automake'
1964 VERSION='1.9a'
1967 cat >>confdefs.h <<_ACEOF
1968 #define PACKAGE "$PACKAGE"
1969 _ACEOF
1972 cat >>confdefs.h <<_ACEOF
1973 #define VERSION "$VERSION"
1974 _ACEOF
1976 # Some tools Automake needs.
1978 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1981 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1984 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1987 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1990 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1992 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1994 # Installed binaries are usually stripped using `strip' when the user
1995 # run `make install-strip'. However `strip' might not be the right
1996 # tool to use in cross-compilation environments, therefore Automake
1997 # will honor the `STRIP' environment variable to overrule this program.
1998 if test "$cross_compiling" != no; then
1999 if test -n "$ac_tool_prefix"; then
2000 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2001 set dummy ${ac_tool_prefix}strip; ac_word=$2
2002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2004 if test "${ac_cv_prog_STRIP+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 else
2007 if test -n "$STRIP"; then
2008 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2009 else
2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011 for as_dir in $PATH
2013 IFS=$as_save_IFS
2014 test -z "$as_dir" && as_dir=.
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2017 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2019 break 2
2021 done
2022 done
2026 STRIP=$ac_cv_prog_STRIP
2027 if test -n "$STRIP"; then
2028 { echo "$as_me:$LINENO: result: $STRIP" >&5
2029 echo "${ECHO_T}$STRIP" >&6; }
2030 else
2031 { echo "$as_me:$LINENO: result: no" >&5
2032 echo "${ECHO_T}no" >&6; }
2037 if test -z "$ac_cv_prog_STRIP"; then
2038 ac_ct_STRIP=$STRIP
2039 # Extract the first word of "strip", so it can be a program name with args.
2040 set dummy strip; ac_word=$2
2041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2043 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2045 else
2046 if test -n "$ac_ct_STRIP"; then
2047 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2048 else
2049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 for as_dir in $PATH
2052 IFS=$as_save_IFS
2053 test -z "$as_dir" && as_dir=.
2054 for ac_exec_ext in '' $ac_executable_extensions; do
2055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2056 ac_cv_prog_ac_ct_STRIP="strip"
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 break 2
2060 done
2061 done
2065 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2066 if test -n "$ac_ct_STRIP"; then
2067 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2068 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2069 else
2070 { echo "$as_me:$LINENO: result: no" >&5
2071 echo "${ECHO_T}no" >&6; }
2074 if test "x$ac_ct_STRIP" = x; then
2075 STRIP=":"
2076 else
2077 if test "$build" != "$host"; then
2078 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2079 whose name does not start with the host triplet. If you think this
2080 configuration is useful to you, please write to autoconf@gnu.org." >&5
2081 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2082 whose name does not start with the host triplet. If you think this
2083 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2085 STRIP=$ac_ct_STRIP
2087 else
2088 STRIP="$ac_cv_prog_STRIP"
2092 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2094 # We need awk for the "check" target. The system "awk" is bad on
2095 # some platforms.
2096 # Always define AMTAR for backward compatibility.
2098 AMTAR=${AMTAR-"${am_missing_run}tar"}
2100 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2107 # The API version is the base version. We must guarantee
2108 # compatibility for all releases with the same API version.
2109 # Our current rule is that:
2110 # * All releases, including the prereleases, in an X.Y series
2111 # are compatible. So 1.5.1c is compatible with 1.5.
2112 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2113 # aren't the same.
2114 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2117 # A versioned directory, defined here for convenience.
2118 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2121 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2122 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2123 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4"
2124 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
2126 # Extract the first word of "perl", so it can be a program name with args.
2127 set dummy perl; ac_word=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_path_PERL+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133 case $PERL in
2134 [\\/]* | ?:[\\/]*)
2135 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 for as_dir in $PATH
2141 IFS=$as_save_IFS
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 break 2
2149 done
2150 done
2153 esac
2155 if test -n "$PERL"; then
2156 { echo "$as_me:$LINENO: result: $PERL" >&5
2157 echo "${ECHO_T}$PERL" >&6; }
2158 else
2159 { echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6; }
2163 PERL=$ac_cv_path_PERL
2165 if test -z "$PERL"; then
2166 { { echo "$as_me:$LINENO: error: perl not found" >&5
2167 echo "$as_me: error: perl not found" >&2;}
2168 { (exit 1); exit 1; }; }
2170 $PERL -e 'require 5.006;' || {
2171 { { echo "$as_me:$LINENO: error: perl 5.6 or better is required. If you have several perl
2172 versions installed, select the one Automake should use using
2173 ./configure PERL=/path/to/perl" >&5
2174 echo "$as_me: error: perl 5.6 or better is required. If you have several perl
2175 versions installed, select the one Automake should use using
2176 ./configure PERL=/path/to/perl" >&2;}
2177 { (exit 1); exit 1; }; }
2180 # The test suite will skip some tests if tex is absent.
2181 # Extract the first word of "tex", so it can be a program name with args.
2182 set dummy tex; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_TEX+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188 if test -n "$TEX"; then
2189 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2190 else
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 for as_dir in $PATH
2194 IFS=$as_save_IFS
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 ac_cv_prog_TEX="tex"
2199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200 break 2
2202 done
2203 done
2207 TEX=$ac_cv_prog_TEX
2208 if test -n "$TEX"; then
2209 { echo "$as_me:$LINENO: result: $TEX" >&5
2210 echo "${ECHO_T}$TEX" >&6; }
2211 else
2212 { echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6; }
2218 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2219 # deletion of any files created (such as those added to
2220 # autom4te.cache). We used to perform only the last of the three
2221 # following tests, but some users were unable to figure out that their
2222 # installation was broken since --version appeared to work.
2224 { echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2225 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6; }
2226 if test "${am_cv_autoconf_installed+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 else
2229 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2230 (eval $am_AUTOCONF --version) >&5 2>&5
2231 ac_status=$?
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); };
2234 then
2235 am_cv_autoconf_installed=yes
2236 else
2237 am_cv_autoconf_installed=no
2240 { echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2241 echo "${ECHO_T}$am_cv_autoconf_installed" >&6; }
2242 if test "$am_cv_autoconf_installed" = no; then
2243 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2244 Please make sure it is installed and in your PATH." >&5
2245 echo "$as_me: error: Autoconf 2.58 or better is required.
2246 Please make sure it is installed and in your PATH." >&2;}
2247 { (exit 1); exit 1; }; }
2250 { echo "$as_me:$LINENO: checking whether autoconf works" >&5
2251 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6; }
2252 if test "${am_cv_autoconf_works+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 else
2255 mkdir conftest
2256 echo 'AC''_INIT' > conftest/conftest.ac
2257 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2258 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2259 ac_status=$?
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); };
2262 then
2263 am_cv_autoconf_works=yes
2264 else
2265 am_cv_autoconf_works=no
2267 rm -rf conftest
2269 { echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2270 echo "${ECHO_T}$am_cv_autoconf_works" >&6; }
2271 if test "$am_cv_autoconf_works" = no; then
2272 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2273 Please check config.log for error messages before this one." >&5
2274 echo "$as_me: error: The installed version of autoconf does not work.
2275 Please check config.log for error messages before this one." >&2;}
2276 { (exit 1); exit 1; }; }
2279 { echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2280 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6; }
2281 if test "${am_cv_autoconf_version+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 else
2284 mkdir conftest
2285 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2286 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2287 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2288 ac_status=$?
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); };
2291 then
2292 am_cv_autoconf_version=yes
2293 else
2294 am_cv_autoconf_version=no
2296 rm -rf conftest
2298 { echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2299 echo "${ECHO_T}$am_cv_autoconf_version" >&6; }
2300 if test "$am_cv_autoconf_version" = no; then
2301 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2302 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2303 { (exit 1); exit 1; }; }
2306 # Test for ln. We need use it to install the versioned binaries.
2307 { echo "$as_me:$LINENO: checking whether ln works" >&5
2308 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
2309 if test "${am_cv_prog_ln+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 else
2313 rm -f conftest conftest.file
2314 : >conftest.file
2315 if ln conftest.file conftest 2>/dev/null; then
2316 am_cv_prog_ln=ln
2317 else
2318 am_cv_prog_ln='cp -p'
2320 rm -f conftest conftest.file
2323 LN=$am_cv_prog_ln
2325 result=no
2326 test "x$am_cv_prog_ln" = xln && result=yes
2327 { echo "$as_me:$LINENO: result: $result" >&5
2328 echo "${ECHO_T}$result" >&6; }
2330 # The amount we should wait after modifying files depends on the platform.
2331 # On Windows '95, '98 and ME, files modifications have 2-seconds
2332 # granularity and can be up to 3 seconds in the future w.r.t. the
2333 # system clock. When it is important to ensure one file is older
2334 # than another we wait at least 5 seconds between creations.
2335 case $build in
2336 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2337 *) MODIFICATION_DELAY=2;;
2338 esac
2341 # Test for things needed by the test suite.
2342 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2343 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2344 if test "${ac_cv_path_GREP+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2346 else
2347 # Extract the first word of "grep ggrep" to use in msg output
2348 if test -z "$GREP"; then
2349 set dummy grep ggrep; ac_prog_name=$2
2350 if test "${ac_cv_path_GREP+set}" = set; then
2351 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 else
2353 ac_path_GREP_found=false
2354 # Loop through the user's path and test for each of PROGNAME-LIST
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2358 IFS=$as_save_IFS
2359 test -z "$as_dir" && as_dir=.
2360 for ac_prog in grep ggrep; do
2361 for ac_exec_ext in '' $ac_executable_extensions; do
2362 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2363 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2364 # Check for GNU ac_path_GREP and select it if it is found.
2365 # Check for GNU $ac_path_GREP
2366 case `"$ac_path_GREP" --version 2>&1` in
2367 *GNU*)
2368 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2370 ac_count=0
2371 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2372 while :
2374 cat "conftest.in" "conftest.in" >"conftest.tmp"
2375 mv "conftest.tmp" "conftest.in"
2376 cp "conftest.in" "conftest.nl"
2377 echo 'GREP' >> "conftest.nl"
2378 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2379 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2380 ac_count=`expr $ac_count + 1`
2381 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2382 # Best one so far, save it but keep looking for a better one
2383 ac_cv_path_GREP="$ac_path_GREP"
2384 ac_path_GREP_max=$ac_count
2386 # 10*(2^10) chars as input seems more than enough
2387 test $ac_count -gt 10 && break
2388 done
2389 rm -f conftest.*;;
2390 esac
2393 $ac_path_GREP_found && break 3
2394 done
2395 done
2397 done
2402 GREP="$ac_cv_path_GREP"
2403 if test -z "$GREP"; then
2404 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2405 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2406 { (exit 1); exit 1; }; }
2409 else
2410 ac_cv_path_GREP=$GREP
2415 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2416 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2417 GREP="$ac_cv_path_GREP"
2420 { echo "$as_me:$LINENO: checking for egrep" >&5
2421 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2422 if test "${ac_cv_path_EGREP+set}" = set; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 else
2425 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2426 then ac_cv_path_EGREP="$GREP -E"
2427 else
2428 # Extract the first word of "egrep" to use in msg output
2429 if test -z "$EGREP"; then
2430 set dummy egrep; ac_prog_name=$2
2431 if test "${ac_cv_path_EGREP+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 else
2434 ac_path_EGREP_found=false
2435 # Loop through the user's path and test for each of PROGNAME-LIST
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2439 IFS=$as_save_IFS
2440 test -z "$as_dir" && as_dir=.
2441 for ac_prog in egrep; do
2442 for ac_exec_ext in '' $ac_executable_extensions; do
2443 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2444 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2445 # Check for GNU ac_path_EGREP and select it if it is found.
2446 # Check for GNU $ac_path_EGREP
2447 case `"$ac_path_EGREP" --version 2>&1` in
2448 *GNU*)
2449 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2451 ac_count=0
2452 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2453 while :
2455 cat "conftest.in" "conftest.in" >"conftest.tmp"
2456 mv "conftest.tmp" "conftest.in"
2457 cp "conftest.in" "conftest.nl"
2458 echo 'EGREP' >> "conftest.nl"
2459 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2460 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2461 ac_count=`expr $ac_count + 1`
2462 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2463 # Best one so far, save it but keep looking for a better one
2464 ac_cv_path_EGREP="$ac_path_EGREP"
2465 ac_path_EGREP_max=$ac_count
2467 # 10*(2^10) chars as input seems more than enough
2468 test $ac_count -gt 10 && break
2469 done
2470 rm -f conftest.*;;
2471 esac
2474 $ac_path_EGREP_found && break 3
2475 done
2476 done
2478 done
2483 EGREP="$ac_cv_path_EGREP"
2484 if test -z "$EGREP"; then
2485 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2486 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2487 { (exit 1); exit 1; }; }
2490 else
2491 ac_cv_path_EGREP=$EGREP
2497 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2498 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2499 EGREP="$ac_cv_path_EGREP"
2502 { echo "$as_me:$LINENO: checking for fgrep" >&5
2503 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
2504 if test "${ac_cv_path_FGREP+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 else
2507 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2508 then ac_cv_path_FGREP="$GREP -F"
2509 else
2510 # Extract the first word of "fgrep" to use in msg output
2511 if test -z "$FGREP"; then
2512 set dummy fgrep; ac_prog_name=$2
2513 if test "${ac_cv_path_FGREP+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 else
2516 ac_path_FGREP_found=false
2517 # Loop through the user's path and test for each of PROGNAME-LIST
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2519 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2521 IFS=$as_save_IFS
2522 test -z "$as_dir" && as_dir=.
2523 for ac_prog in fgrep; do
2524 for ac_exec_ext in '' $ac_executable_extensions; do
2525 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2526 { test -f "$ac_path_FGREP" && $as_executable_p "$ac_path_FGREP"; } || continue
2527 # Check for GNU ac_path_FGREP and select it if it is found.
2528 # Check for GNU $ac_path_FGREP
2529 case `"$ac_path_FGREP" --version 2>&1` in
2530 *GNU*)
2531 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2533 ac_count=0
2534 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2535 while :
2537 cat "conftest.in" "conftest.in" >"conftest.tmp"
2538 mv "conftest.tmp" "conftest.in"
2539 cp "conftest.in" "conftest.nl"
2540 echo 'FGREP' >> "conftest.nl"
2541 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2542 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2543 ac_count=`expr $ac_count + 1`
2544 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2545 # Best one so far, save it but keep looking for a better one
2546 ac_cv_path_FGREP="$ac_path_FGREP"
2547 ac_path_FGREP_max=$ac_count
2549 # 10*(2^10) chars as input seems more than enough
2550 test $ac_count -gt 10 && break
2551 done
2552 rm -f conftest.*;;
2553 esac
2556 $ac_path_FGREP_found && break 3
2557 done
2558 done
2560 done
2565 FGREP="$ac_cv_path_FGREP"
2566 if test -z "$FGREP"; then
2567 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2568 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2569 { (exit 1); exit 1; }; }
2572 else
2573 ac_cv_path_FGREP=$FGREP
2579 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2580 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
2581 FGREP="$ac_cv_path_FGREP"
2585 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"
2587 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2589 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2592 cat >confcache <<\_ACEOF
2593 # This file is a shell script that caches the results of configure
2594 # tests run on this system so they can be shared between configure
2595 # scripts and configure runs, see configure's option --config-cache.
2596 # It is not useful on other systems. If it contains results you don't
2597 # want to keep, you may remove or edit it.
2599 # config.status only pays attention to the cache file if you give it
2600 # the --recheck option to rerun configure.
2602 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2604 # following values.
2606 _ACEOF
2608 # The following way of writing the cache mishandles newlines in values,
2609 # but we know of no workaround that is simple, portable, and efficient.
2610 # So, don't put newlines in cache variables' values.
2611 # Ultrix sh set writes to stderr and can't be redirected directly,
2612 # and sets the high bit in the cache file unless we assign to the vars.
2614 (set) 2>&1 |
2615 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2616 *ac_space=\ *)
2617 # `set' does not quote correctly, so add quotes (double-quote
2618 # substitution turns \\\\ into \\, and sed turns \\ into \).
2619 sed -n \
2620 "s/'/'\\\\''/g;
2621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2624 # `set' quotes correctly as required by POSIX, so do not add quotes.
2625 sed -n \
2626 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2628 esac;
2630 sed '
2631 t clear
2632 :clear
2633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2634 t end
2635 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2636 :end' >>confcache
2637 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2638 if test -w $cache_file; then
2639 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2640 cat confcache >$cache_file
2641 else
2642 echo "not updating unwritable cache $cache_file"
2645 rm -f confcache
2647 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2648 # Let make expand exec_prefix.
2649 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2651 # Transform confdefs.h into DEFS.
2652 # Protect against shell expansion while executing Makefile rules.
2653 # Protect against Makefile macro expansion.
2655 # If the first sed substitution is executed (which looks for macros that
2656 # take arguments), then we branch to the quote section. Otherwise,
2657 # look for a macro that doesn't take arguments.
2658 cat >confdef2opt.sed <<\_ACEOF
2659 t clear
2660 :clear
2661 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2662 t quote
2663 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2664 t quote
2666 :quote
2667 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2668 s,\[,\\&,g
2669 s,\],\\&,g
2670 s,\$,$$,g
2672 _ACEOF
2673 # We use echo to avoid assuming a particular line-breaking character.
2674 # The extra dot is to prevent the shell from consuming trailing
2675 # line-breaks from the sub-command output. A line-break within
2676 # single-quotes doesn't work because, if this script is created in a
2677 # platform that uses two characters for line-breaks (e.g., DOS), tr
2678 # would break.
2679 ac_LF_and_DOT=`echo; echo .`
2680 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2681 rm -f confdef2opt.sed
2684 ac_libobjs=
2685 ac_ltlibobjs=
2686 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2687 # 1. Remove the extension, and $U if already installed.
2688 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2689 ac_i=`echo "$ac_i" | sed "$ac_script"`
2690 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2691 # will be set to the directory where LIBOBJS objects are built.
2692 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2693 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2694 done
2695 LIBOBJS=$ac_libobjs
2697 LTLIBOBJS=$ac_ltlibobjs
2701 : ${CONFIG_STATUS=./config.status}
2702 ac_clean_files_save=$ac_clean_files
2703 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2704 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2705 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2706 cat >$CONFIG_STATUS <<_ACEOF
2707 #! $SHELL
2708 # Generated by $as_me.
2709 # Run this file to recreate the current configuration.
2710 # Compiler output produced by configure, useful for debugging
2711 # configure, is in config.log if it exists.
2713 debug=false
2714 ac_cs_recheck=false
2715 ac_cs_silent=false
2716 SHELL=\${CONFIG_SHELL-$SHELL}
2717 _ACEOF
2719 cat >>$CONFIG_STATUS <<\_ACEOF
2720 ## --------------------- ##
2721 ## M4sh Initialization. ##
2722 ## --------------------- ##
2724 # Be Bourne compatible
2725 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2726 emulate sh
2727 NULLCMD=:
2728 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2729 # is contrary to our usage. Disable this feature.
2730 alias -g '${1+"$@"}'='"$@"'
2731 setopt NO_GLOB_SUBST
2732 elif (set -o posix) >/dev/null 2>&1; then
2733 set -o posix
2735 BIN_SH=xpg4; export BIN_SH # for Tru64
2736 DUALCASE=1; export DUALCASE # for MKS sh
2739 # PATH needs CR
2740 # Avoid depending upon Character Ranges.
2741 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2742 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2743 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2744 as_cr_digits='0123456789'
2745 as_cr_alnum=$as_cr_Letters$as_cr_digits
2747 # The user is always right.
2748 if test "${PATH_SEPARATOR+set}" != set; then
2749 echo "#! /bin/sh" >conf$$.sh
2750 echo "exit 0" >>conf$$.sh
2751 chmod +x conf$$.sh
2752 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2753 PATH_SEPARATOR=';'
2754 else
2755 PATH_SEPARATOR=:
2757 rm -f conf$$.sh
2760 # Support unset when possible.
2761 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2762 as_unset=unset
2763 else
2764 as_unset=false
2768 # Find who we are. Look in the path if we contain no path at all
2769 # relative or not.
2770 case $0 in
2771 *[\\/]* ) as_myself=$0 ;;
2772 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 for as_dir in $PATH
2775 IFS=$as_save_IFS
2776 test -z "$as_dir" && as_dir=.
2777 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2778 done
2781 esac
2782 # We did not find ourselves, most probably we were run as `sh COMMAND'
2783 # in which case we are not to be found in the path.
2784 if test "x$as_myself" = x; then
2785 as_myself=$0
2787 if test ! -f "$as_myself"; then
2788 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
2789 { (exit 1); exit 1; }; }
2792 # Work around bugs in pre-3.0 UWIN ksh.
2793 for as_var in ENV MAIL MAILPATH
2794 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2795 done
2796 PS1='$ '
2797 PS2='> '
2798 PS4='+ '
2800 # NLS nuisances.
2801 for as_var in \
2802 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2803 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2804 LC_TELEPHONE LC_TIME
2806 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2807 eval $as_var=C; export $as_var
2808 else
2809 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2811 done
2813 # Required to use basename.
2814 if expr a : '\(a\)' >/dev/null 2>&1; then
2815 as_expr=expr
2816 else
2817 as_expr=false
2820 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2821 as_basename=basename
2822 else
2823 as_basename=false
2827 # Name of the executable.
2828 as_me=`$as_basename "$0" ||
2829 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2830 X"$0" : 'X\(//\)$' \| \
2831 X"$0" : 'X\(/\)$' \| \
2832 . : '\(.\)' 2>/dev/null ||
2833 echo X/"$0" |
2834 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2835 /^X\/\(\/\/\)$/{ s//\1/; q; }
2836 /^X\/\(\/\).*/{ s//\1/; q; }
2837 s/.*/./; q'`
2842 as_lineno_1=$LINENO
2843 as_lineno_2=$LINENO
2844 test "x$as_lineno_1" != "x$as_lineno_2" &&
2845 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2847 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2848 # uniformly replaced by the line number. The first 'sed' inserts a
2849 # line-number line after each line using $LINENO; the second 'sed'
2850 # does the real work. The second script uses 'N' to pair each
2851 # line-number line with the line containing $LINENO, and appends
2852 # trailing '-' during substitution so that $LINENO is not a special
2853 # case at line end.
2854 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2855 # scripts with optimization help from Paolo Bonzini. Blame Lee
2856 # E. McMahon (1931-1989) for sed's syntax. :-)
2857 sed -n '
2859 /[$]LINENO/=
2860 ' <$as_myself |
2861 sed '
2862 s,[$]LINENO.*,&-,
2863 t lineno
2865 :lineno
2867 :loop
2868 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2869 t loop
2870 s,-\n.*,,
2871 ' >$as_me.lineno &&
2872 chmod +x $as_me.lineno ||
2873 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2874 { (exit 1); exit 1; }; }
2876 # Don't try to exec as it changes $[0], causing all sort of problems
2877 # (the dirname of $[0] is not the place where we might find the
2878 # original and so on. Autoconf is especially sensible to this).
2879 . ./$as_me.lineno
2880 # Exit status is that of the last command.
2881 exit
2885 ECHO_C= ECHO_N= ECHO_T=
2886 case `echo -n x` in
2887 -n*)
2888 case `echo 'x\c'` in
2889 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2890 *) ECHO_C='\c';;
2891 esac;;
2893 ECHO_N='-n';;
2894 esac
2896 if expr a : '\(a\)' >/dev/null 2>&1; then
2897 as_expr=expr
2898 else
2899 as_expr=false
2902 rm -f conf$$ conf$$.exe conf$$.file
2903 echo >conf$$.file
2904 if ln -s conf$$.file conf$$ 2>/dev/null; then
2905 # We could just check for DJGPP; but this test a) works b) is more generic
2906 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2907 if test -f conf$$.exe; then
2908 # Don't use ln at all; we don't have any links
2909 as_ln_s='cp -p'
2910 else
2911 as_ln_s='ln -s'
2913 elif ln conf$$.file conf$$ 2>/dev/null; then
2914 as_ln_s=ln
2915 else
2916 as_ln_s='cp -p'
2918 rm -f conf$$ conf$$.exe conf$$.file
2920 if mkdir -p . 2>/dev/null; then
2921 as_mkdir_p=:
2922 else
2923 test -d ./-p && rmdir ./-p
2924 as_mkdir_p=false
2927 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2928 # systems may use methods other than mode bits to determine executability.
2929 cat >conf$$.file <<_ASEOF
2930 #! /bin/sh
2931 exit 0
2932 _ASEOF
2933 chmod +x conf$$.file
2934 if test -x conf$$.file >/dev/null 2>&1; then
2935 as_executable_p="test -x"
2936 else
2937 as_executable_p=:
2939 rm -f conf$$.file
2941 # Sed expression to map a string onto a valid CPP name.
2942 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2944 # Sed expression to map a string onto a valid variable name.
2945 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2948 # IFS
2949 # We need space, tab and new line, in precisely that order.
2950 as_nl='
2952 IFS=" $as_nl"
2954 # CDPATH.
2955 $as_unset CDPATH
2957 exec 6>&1
2959 # Save the log message, to keep $[0] and so on meaningful, and to
2960 # report actual input values of CONFIG_FILES etc. instead of their
2961 # values after options handling.
2962 ac_log="
2963 This file was extended by GNU Automake $as_me 1.9a, which was
2964 generated by GNU Autoconf 2.59c. Invocation command line was
2966 CONFIG_FILES = $CONFIG_FILES
2967 CONFIG_HEADERS = $CONFIG_HEADERS
2968 CONFIG_LINKS = $CONFIG_LINKS
2969 CONFIG_COMMANDS = $CONFIG_COMMANDS
2970 $ $0 $@
2972 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2975 _ACEOF
2977 cat >>$CONFIG_STATUS <<_ACEOF
2978 # Files that config.status was made for.
2979 config_files="$ac_config_files"
2981 _ACEOF
2983 cat >>$CONFIG_STATUS <<\_ACEOF
2984 ac_cs_usage="\
2985 \`$as_me' instantiates files from templates according to the
2986 current configuration.
2988 Usage: $0 [OPTIONS] [FILE]...
2990 -h, --help print this help, then exit
2991 -V, --version print version number, then exit
2992 -q, --quiet do not print progress messages
2993 -d, --debug don't remove temporary files
2994 --recheck update $as_me by reconfiguring in the same conditions
2995 --file=FILE[:TEMPLATE]
2996 instantiate the configuration file FILE
2998 Configuration files:
2999 $config_files
3001 Report bugs to <bug-autoconf@gnu.org>."
3003 _ACEOF
3004 cat >>$CONFIG_STATUS <<_ACEOF
3005 ac_cs_version="\\
3006 GNU Automake config.status 1.9a
3007 configured by $0, generated by GNU Autoconf 2.59c,
3008 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3010 Copyright (C) 2005 Free Software Foundation, Inc.
3011 This config.status script is free software; the Free Software Foundation
3012 gives unlimited permission to copy, distribute and modify it."
3014 ac_pwd='$ac_pwd'
3015 srcdir='$srcdir'
3016 INSTALL='$INSTALL'
3018 _ACEOF
3020 cat >>$CONFIG_STATUS <<\_ACEOF
3021 # If no file are specified by the user, then we need to provide default
3022 # value. By we need to know if files were specified by the user.
3023 ac_need_defaults=:
3024 while test $# != 0
3026 case $1 in
3027 --*=*)
3028 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3029 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3030 ac_shift=:
3033 ac_option=$1
3034 ac_optarg=$2
3035 ac_shift=shift
3037 esac
3039 case $ac_option in
3040 # Handling of the options.
3041 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3042 ac_cs_recheck=: ;;
3043 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3044 echo "$ac_cs_version"; exit ;;
3045 --debug | --debu | --deb | --de | --d | -d )
3046 debug=: ;;
3047 --file | --fil | --fi | --f )
3048 $ac_shift
3049 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3050 ac_need_defaults=false;;
3051 --he | --h | --help | --hel | -h )
3052 echo "$ac_cs_usage"; exit ;;
3053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3054 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3055 ac_cs_silent=: ;;
3057 # This is an error.
3058 -*) { echo "$as_me: error: unrecognized option: $1
3059 Try \`$0 --help' for more information." >&2
3060 { (exit 1); exit 1; }; } ;;
3062 *) ac_config_targets="$ac_config_targets $1"
3063 ac_need_defaults=false ;;
3065 esac
3066 shift
3067 done
3069 ac_configure_extra_args=
3071 if $ac_cs_silent; then
3072 exec 6>/dev/null
3073 ac_configure_extra_args="$ac_configure_extra_args --silent"
3076 exec 5>>config.log
3078 echo
3079 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3080 ## Running $as_me. ##
3081 _ASBOX
3082 echo "$ac_log"
3083 } >&5
3085 _ACEOF
3086 cat >>$CONFIG_STATUS <<_ACEOF
3087 if \$ac_cs_recheck; then
3088 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3089 CONFIG_SHELL=$SHELL
3090 export CONFIG_SHELL
3091 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3094 # INIT-COMMANDS
3096 APIVERSION=$APIVERSION
3098 _ACEOF
3100 cat >>$CONFIG_STATUS <<\_ACEOF
3102 # Handling of arguments.
3103 for ac_config_target in $ac_config_targets
3105 case $ac_config_target in
3106 Makefile) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3107 doc/Makefile) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3108 lib/Automake/Makefile) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3109 lib/Automake/tests/Makefile) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3110 lib/Makefile) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3111 lib/am/Makefile) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3112 m4/Makefile) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3113 tests/Makefile) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3114 tests/defs) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3115 tests/aclocal-${APIVERSION}) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3116 tests/automake-${APIVERSION}) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3118 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3119 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3120 { (exit 1); exit 1; }; };;
3121 esac
3122 done
3125 # If the user did not use the arguments to specify the items to instantiate,
3126 # then the envvar interface is used. Set only those that are not.
3127 # We use the long form for the default assignment because of an extremely
3128 # bizarre bug on SunOS 4.1.3.
3129 if $ac_need_defaults; then
3130 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3133 # Have a temporary directory for convenience. Make it in the build tree
3134 # simply because there is no reason against having it here, and in addition,
3135 # creating and moving files from /tmp can sometimes cause problems.
3136 # Hook for its removal unless debugging.
3137 # Note that there is a small window in which the directory will not be cleaned:
3138 # after its creation but before its name has been assigned to `$tmp'.
3139 $debug ||
3141 tmp=
3142 trap 'exit_status=$?
3143 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3145 trap '{ (exit 1); exit 1; }' 1 2 13 15
3147 # Create a (secure) tmp directory for tmp files.
3150 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3151 test -n "$tmp" && test -d "$tmp"
3152 } ||
3154 tmp=./conf$$-$RANDOM
3155 (umask 077 && mkdir "$tmp")
3156 } ||
3158 echo "$me: cannot create a temporary directory in ." >&2
3159 { (exit 1); exit 1; }
3163 # Set up the sed scripts for CONFIG_FILES section.
3166 # No need to generate the scripts if there are no CONFIG_FILES.
3167 # This happens for instance when ./config.status config.h
3168 if test -n "$CONFIG_FILES"; then
3170 _ACEOF
3174 ac_delim='%!_!# '
3175 for ac_last_try in false false false false false :; do
3176 cat >conf$$subs.sed <<_ACEOF
3177 SHELL!$SHELL$ac_delim
3178 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3179 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3180 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3181 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3182 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3183 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3184 exec_prefix!$exec_prefix$ac_delim
3185 prefix!$prefix$ac_delim
3186 program_transform_name!$program_transform_name$ac_delim
3187 bindir!$bindir$ac_delim
3188 sbindir!$sbindir$ac_delim
3189 libexecdir!$libexecdir$ac_delim
3190 datarootdir!$datarootdir$ac_delim
3191 datadir!$datadir$ac_delim
3192 sysconfdir!$sysconfdir$ac_delim
3193 sharedstatedir!$sharedstatedir$ac_delim
3194 localstatedir!$localstatedir$ac_delim
3195 includedir!$includedir$ac_delim
3196 oldincludedir!$oldincludedir$ac_delim
3197 docdir!$docdir$ac_delim
3198 infodir!$infodir$ac_delim
3199 htmldir!$htmldir$ac_delim
3200 dvidir!$dvidir$ac_delim
3201 pdfdir!$pdfdir$ac_delim
3202 psdir!$psdir$ac_delim
3203 libdir!$libdir$ac_delim
3204 localedir!$localedir$ac_delim
3205 mandir!$mandir$ac_delim
3206 DEFS!$DEFS$ac_delim
3207 ECHO_C!$ECHO_C$ac_delim
3208 ECHO_N!$ECHO_N$ac_delim
3209 ECHO_T!$ECHO_T$ac_delim
3210 LIBS!$LIBS$ac_delim
3211 build_alias!$build_alias$ac_delim
3212 host_alias!$host_alias$ac_delim
3213 target_alias!$target_alias$ac_delim
3214 build!$build$ac_delim
3215 build_cpu!$build_cpu$ac_delim
3216 build_vendor!$build_vendor$ac_delim
3217 build_os!$build_os$ac_delim
3218 am_AUTOCONF!$am_AUTOCONF$ac_delim
3219 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3220 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3221 INSTALL_DATA!$INSTALL_DATA$ac_delim
3222 CYGPATH_W!$CYGPATH_W$ac_delim
3223 PACKAGE!$PACKAGE$ac_delim
3224 VERSION!$VERSION$ac_delim
3225 ACLOCAL!$ACLOCAL$ac_delim
3226 AUTOCONF!$AUTOCONF$ac_delim
3227 AUTOMAKE!$AUTOMAKE$ac_delim
3228 AUTOHEADER!$AUTOHEADER$ac_delim
3229 MAKEINFO!$MAKEINFO$ac_delim
3230 install_sh!$install_sh$ac_delim
3231 STRIP!$STRIP$ac_delim
3232 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3233 mkdir_p!$mkdir_p$ac_delim
3234 AWK!$AWK$ac_delim
3235 SET_MAKE!$SET_MAKE$ac_delim
3236 am__leading_dot!$am__leading_dot$ac_delim
3237 AMTAR!$AMTAR$ac_delim
3238 am__tar!$am__tar$ac_delim
3239 am__untar!$am__untar$ac_delim
3240 APIVERSION!$APIVERSION$ac_delim
3241 pkgvdatadir!$pkgvdatadir$ac_delim
3242 PERL!$PERL$ac_delim
3243 TEX!$TEX$ac_delim
3244 LN!$LN$ac_delim
3245 MODIFICATION_DELAY!$MODIFICATION_DELAY$ac_delim
3246 GREP!$GREP$ac_delim
3247 EGREP!$EGREP$ac_delim
3248 FGREP!$FGREP$ac_delim
3249 LIBOBJS!$LIBOBJS$ac_delim
3250 LTLIBOBJS!$LTLIBOBJS$ac_delim
3251 _ACEOF
3253 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 74; then
3254 break
3255 elif $ac_last_try; then
3256 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3257 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3258 { (exit 1); exit 1; }; }
3259 else
3260 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3262 done
3264 ac_eof=
3265 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
3266 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3267 ac_eof=`expr 0$ac_eof + 1`
3270 cat >>$CONFIG_STATUS <<_ACEOF
3271 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3272 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3273 _ACEOF
3274 sed '
3275 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3276 s/^/s,@/; s/!/@,|#_!!_#|/
3279 s/'"$ac_delim"'$/,g/; t
3280 s/$/\\/; p
3281 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3282 ' >>$CONFIG_STATUS <conf$$subs.sed
3283 rm -f conf$$subs.sed
3284 cat >>$CONFIG_STATUS <<_ACEOF
3285 :end
3286 s/|#_!!_#|//g
3287 CEOF$ac_eof
3288 _ACEOF
3291 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3292 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3293 # trailing colons and then remove the whole line if VPATH becomes empty
3294 # (actually we leave an empty line to preserve line numbers).
3295 if test "x$srcdir" = x.; then
3296 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3297 s/:*\$(srcdir):*/:/;
3298 s/:*\${srcdir}:*/:/;
3299 s/:*@srcdir@:*/:/;
3300 s/^\([^=]*=[ ]*\):*/\1/;
3301 s/:*$//;
3302 s/^[^=]*=[ ]*$//;
3306 cat >>$CONFIG_STATUS <<\_ACEOF
3307 fi # test -n "$CONFIG_FILES"
3310 for ac_tag in :F $CONFIG_FILES
3312 case $ac_tag in
3313 :[FHLC]) ac_mode=$ac_tag; continue;;
3314 esac
3315 case $ac_mode$ac_tag in
3316 :[FHL]*:*);;
3317 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3318 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3319 { (exit 1); exit 1; }; };;
3320 :[FH]-) ac_tag=-:-;;
3321 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3322 esac
3323 ac_save_IFS=$IFS
3324 IFS=:
3325 set x $ac_tag
3326 IFS=$ac_save_IFS
3327 shift
3328 ac_file=$1
3329 shift
3331 case $ac_mode in
3332 :L) ac_source=$1;;
3333 :[FH])
3334 ac_file_inputs=
3335 for ac_f
3337 case $ac_f in
3338 -) ac_f="$tmp/stdin";;
3339 *) # Look for the file first in the build tree, then in the source tree
3340 # (if the path is not absolute). The absolute path cannot be DOS-style,
3341 # because $ac_f cannot contain `:'.
3342 test -f "$ac_f" ||
3343 case $ac_f in
3344 [\\/$]*) false;;
3345 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3346 esac ||
3347 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3348 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3349 { (exit 1); exit 1; }; };;
3350 esac
3351 ac_file_inputs="$ac_file_inputs $ac_f"
3352 done
3354 # Let's still pretend it is `configure' which instantiates (i.e., don't
3355 # use $as_me), people would be surprised to read:
3356 # /* config.h. Generated by config.status. */
3357 configure_input="Generated from "`IFS=:
3358 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3359 if test x"$ac_file" != x-; then
3360 configure_input="$ac_file. $configure_input"
3361 { echo "$as_me:$LINENO: creating $ac_file" >&5
3362 echo "$as_me: creating $ac_file" >&6;}
3365 case $ac_tag in
3366 *:-:* | *:-) cat >"$tmp/stdin";;
3367 esac
3369 esac
3371 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3372 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3373 X"$ac_file" : 'X\(//\)[^/]' \| \
3374 X"$ac_file" : 'X\(//\)$' \| \
3375 X"$ac_file" : 'X\(/\)' \| \
3376 . : '\(.\)' 2>/dev/null ||
3377 echo X"$ac_file" |
3378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3379 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3380 /^X\(\/\/\)$/{ s//\1/; q; }
3381 /^X\(\/\).*/{ s//\1/; q; }
3382 s/.*/./; q'`
3383 { if $as_mkdir_p; then
3384 test -d "$ac_dir" || mkdir -p "$ac_dir"
3385 else
3386 as_dir="$ac_dir"
3387 as_dirs=
3388 while test ! -d "$as_dir"; do
3389 as_dirs="$as_dir $as_dirs"
3390 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3391 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3392 X"$as_dir" : 'X\(//\)[^/]' \| \
3393 X"$as_dir" : 'X\(//\)$' \| \
3394 X"$as_dir" : 'X\(/\)' \| \
3395 . : '\(.\)' 2>/dev/null ||
3396 echo X"$as_dir" |
3397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3399 /^X\(\/\/\)$/{ s//\1/; q; }
3400 /^X\(\/\).*/{ s//\1/; q; }
3401 s/.*/./; q'`
3402 done
3403 test ! -n "$as_dirs" || mkdir $as_dirs
3404 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3405 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3406 { (exit 1); exit 1; }; }; }
3408 ac_builddir=.
3410 case "$ac_dir" in
3411 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3413 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3414 # A ".." for each directory in $ac_dir_suffix.
3415 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3416 case $ac_top_builddir_sub in
3417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3419 esac ;;
3420 esac
3421 ac_abs_top_builddir=$ac_pwd
3422 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3423 # for backward compatibility:
3424 ac_top_builddir=$ac_top_build_prefix
3426 case $srcdir in
3427 .) # We are building in place.
3428 ac_srcdir=.
3429 ac_top_srcdir=$ac_top_builddir_sub
3430 ac_abs_top_srcdir=$ac_pwd ;;
3431 [\\/]* | ?:[\\/]* ) # Absolute name.
3432 ac_srcdir=$srcdir$ac_dir_suffix;
3433 ac_top_srcdir=$srcdir
3434 ac_abs_top_srcdir=$srcdir ;;
3435 *) # Relative name.
3436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3437 ac_top_srcdir=$ac_top_build_prefix$srcdir
3438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3439 esac
3440 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3443 case $ac_mode in
3446 # CONFIG_FILE
3449 case $INSTALL in
3450 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3451 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3452 esac
3454 _ACEOF
3456 # Neutralize VPATH when `$srcdir' = `.'.
3457 # Shell code in configure.ac might set extrasub.
3458 # FIXME: do we really want to maintain this feature?
3459 cat >>$CONFIG_STATUS <<_ACEOF
3460 sed "$ac_vpsub
3461 $extrasub
3462 _ACEOF
3463 cat >>$CONFIG_STATUS <<\_ACEOF
3465 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3466 s&@configure_input@&$configure_input&;t t
3467 s&@top_builddir@&$ac_top_builddir_sub&;t t
3468 s&@srcdir@&$ac_srcdir&;t t
3469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3470 s&@top_srcdir@&$ac_top_srcdir&;t t
3471 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3472 s&@builddir@&$ac_builddir&;t t
3473 s&@abs_builddir@&$ac_abs_builddir&;t t
3474 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3475 s&@INSTALL@&$ac_INSTALL&;t t
3476 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3478 rm -f "$tmp/stdin"
3479 case $ac_file in
3480 -) cat "$tmp/out"; rm -f "$tmp/out";;
3481 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3482 esac
3487 esac
3490 case $ac_file$ac_mode in
3491 tests/aclocal-${APIVERSION}:F) chmod +x tests/aclocal-${APIVERSION} ;;
3492 tests/automake-${APIVERSION}:F) chmod +x tests/automake-${APIVERSION} ;;
3494 esac
3495 done # for ac_tag
3498 { (exit 0); exit 0; }
3499 _ACEOF
3500 chmod +x $CONFIG_STATUS
3501 ac_clean_files=$ac_clean_files_save
3504 # configure is writing to config.log, and then calls config.status.
3505 # config.status does its own redirection, appending to config.log.
3506 # Unfortunately, on DOS this fails, as config.log is still kept open
3507 # by configure, so config.status won't be able to write to it; its
3508 # output is simply discarded. So we exec the FD to /dev/null,
3509 # effectively closing config.log, so it can be properly (re)opened and
3510 # appended to by config.status. When coming back to configure, we
3511 # need to make the FD available again.
3512 if test "$no_create" != yes; then
3513 ac_cs_success=:
3514 ac_config_status_args=
3515 test "$silent" = yes &&
3516 ac_config_status_args="$ac_config_status_args --quiet"
3517 exec 5>/dev/null
3518 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3519 exec 5>>config.log
3520 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3521 # would make configure fail if this is the last instruction.
3522 $ac_cs_success || { (exit 1); exit 1; }