* lib/Automake/Variable.pm (variable_value): Do not read the TRUE
[automake.git] / configure
blobb14268c1ad7b0a7a7aafe646cdc884cb2fd2a9ec
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59c for GNU Automake 1.9a.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # Find who we are. Look in the path if we contain no path at all
60 # relative or not.
61 case $0 in
62 *[\\/]* ) as_myself=$0 ;;
63 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64 for as_dir in $PATH
66 IFS=$as_save_IFS
67 test -z "$as_dir" && as_dir=.
68 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
69 done
72 esac
73 # We did not find ourselves, most probably we were run as `sh COMMAND'
74 # in which case we are not to be found in the path.
75 if test "x$as_myself" = x; then
76 as_myself=$0
78 if test ! -f "$as_myself"; then
79 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
80 { (exit 1); exit 1; }; }
83 # Work around bugs in pre-3.0 UWIN ksh.
84 for as_var in ENV MAIL MAILPATH
85 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
86 done
87 PS1='$ '
88 PS2='> '
89 PS4='+ '
91 # NLS nuisances.
92 for as_var in \
93 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95 LC_TELEPHONE LC_TIME
97 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98 eval $as_var=C; export $as_var
99 else
100 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 done
104 # Required to use basename.
105 if expr a : '\(a\)' >/dev/null 2>&1; then
106 as_expr=expr
107 else
108 as_expr=false
111 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
112 as_basename=basename
113 else
114 as_basename=false
118 # Name of the executable.
119 as_me=`$as_basename "$0" ||
120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121 X"$0" : 'X\(//\)$' \| \
122 X"$0" : 'X\(/\)$' \| \
123 . : '\(.\)' 2>/dev/null ||
124 echo X/"$0" |
125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
126 /^X\/\(\/\/\)$/{ s//\1/; q; }
127 /^X\/\(\/\).*/{ s//\1/; q; }
128 s/.*/./; q'`
132 if test "x$CONFIG_SHELL" = x; then
133 if (eval ":") 2>/dev/null; then
134 as_have_required=yes
135 else
136 as_have_required=no
139 if test $as_have_required = yes && (eval ":
140 (as_func_return () {
141 (exit \$1)
143 as_func_success () {
144 as_func_return 0
146 as_func_failure () {
147 as_func_return 1
149 as_func_ret_success () {
150 return 0
152 as_func_ret_failure () {
153 return 1
156 exitcode=0
157 if as_func_success; then
159 else
160 exitcode=1
161 echo as_func_success failed.
164 if as_func_failure; then
165 exitcode=1
166 echo as_func_failure succeeded.
169 if as_func_ret_success; then
171 else
172 exitcode=1
173 echo as_func_ret_success failed.
176 if as_func_ret_failure; then
177 exitcode=1
178 echo as_func_ret_failure succeeded.
181 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
183 else
184 exitcode=1
185 echo positional parameters were not saved.
188 test \$exitcode = 0) || { (exit 1); exit 1; }
191 as_lineno_1=\$LINENO
192 as_lineno_2=\$LINENO
193 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
194 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
195 ") 2> /dev/null; then
197 else
198 as_candidate_shells=
199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
202 IFS=$as_save_IFS
203 test -z "$as_dir" && as_dir=.
204 case $as_dir in
206 for as_base in sh bash ksh sh5; do
207 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
208 done
209 esac
210 done
213 for as_shell in $as_candidate_shells $SHELL; do
214 if { ($as_shell) 2> /dev/null <<\_ASEOF
215 # Be Bourne compatible
216 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
217 emulate sh
218 NULLCMD=:
219 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
220 # is contrary to our usage. Disable this feature.
221 alias -g '${1+"$@"}'='"$@"'
222 setopt NO_GLOB_SUBST
223 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
224 set -o posix
226 BIN_SH=xpg4; export BIN_SH # for Tru64
227 DUALCASE=1; export DUALCASE # for MKS sh
230 _ASEOF
231 }; then
232 CONFIG_SHELL=$as_shell
233 as_have_required=yes
234 if { $as_shell 2> /dev/null <<\_ASEOF
235 # Be Bourne compatible
236 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
237 emulate sh
238 NULLCMD=:
239 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
240 # is contrary to our usage. Disable this feature.
241 alias -g '${1+"$@"}'='"$@"'
242 setopt NO_GLOB_SUBST
243 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
244 set -o posix
246 BIN_SH=xpg4; export BIN_SH # for Tru64
247 DUALCASE=1; export DUALCASE # for MKS sh
250 (as_func_return () {
251 (exit $1)
253 as_func_success () {
254 as_func_return 0
256 as_func_failure () {
257 as_func_return 1
259 as_func_ret_success () {
260 return 0
262 as_func_ret_failure () {
263 return 1
266 exitcode=0
267 if as_func_success; then
269 else
270 exitcode=1
271 echo as_func_success failed.
274 if as_func_failure; then
275 exitcode=1
276 echo as_func_failure succeeded.
279 if as_func_ret_success; then
281 else
282 exitcode=1
283 echo as_func_ret_success failed.
286 if as_func_ret_failure; then
287 exitcode=1
288 echo as_func_ret_failure succeeded.
291 if ( set x; as_func_ret_success y && test x = "$1" ); then
293 else
294 exitcode=1
295 echo positional parameters were not saved.
298 test $exitcode = 0) || { (exit 1); exit 1; }
301 as_lineno_1=$LINENO
302 as_lineno_2=$LINENO
303 test "x$as_lineno_1" != "x$as_lineno_2" &&
304 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
306 _ASEOF
307 }; then
308 break
313 done
315 if test "x$CONFIG_SHELL" != x; then
316 for as_var in BASH_ENV ENV
317 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
318 done
319 export CONFIG_SHELL
320 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
324 if test $as_have_required = no; then
325 echo This script requires a shell more modern than all the
326 echo shells that I found on your system. Please install a
327 echo modern shell, or manually run the script under such a
328 echo shell if you do have one.
329 { (exit 1); exit 1; }
339 (eval "as_func_return () {
340 (exit \$1)
342 as_func_success () {
343 as_func_return 0
345 as_func_failure () {
346 as_func_return 1
348 as_func_ret_success () {
349 return 0
351 as_func_ret_failure () {
352 return 1
355 exitcode=0
356 if as_func_success; then
358 else
359 exitcode=1
360 echo as_func_success failed.
363 if as_func_failure; then
364 exitcode=1
365 echo as_func_failure succeeded.
368 if as_func_ret_success; then
370 else
371 exitcode=1
372 echo as_func_ret_success failed.
375 if as_func_ret_failure; then
376 exitcode=1
377 echo as_func_ret_failure succeeded.
380 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
382 else
383 exitcode=1
384 echo positional parameters were not saved.
387 test \$exitcode = 0") || {
388 echo No shell found that supports shell functions.
389 echo Please tell autoconf@gnu.org about your system,
390 echo including any error possibly output before this
391 echo message
396 as_lineno_1=$LINENO
397 as_lineno_2=$LINENO
398 test "x$as_lineno_1" != "x$as_lineno_2" &&
399 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
401 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
402 # uniformly replaced by the line number. The first 'sed' inserts a
403 # line-number line after each line using $LINENO; the second 'sed'
404 # does the real work. The second script uses 'N' to pair each
405 # line-number line with the line containing $LINENO, and appends
406 # trailing '-' during substitution so that $LINENO is not a special
407 # case at line end.
408 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
409 # scripts with optimization help from Paolo Bonzini. Blame Lee
410 # E. McMahon (1931-1989) for sed's syntax. :-)
411 sed -n '
413 /[$]LINENO/=
414 ' <$as_myself |
415 sed '
416 s,[$]LINENO.*,&-,
417 t lineno
419 :lineno
421 :loop
422 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
423 t loop
424 s,-\n.*,,
425 ' >$as_me.lineno &&
426 chmod +x $as_me.lineno ||
427 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
428 { (exit 1); exit 1; }; }
430 # Don't try to exec as it changes $[0], causing all sort of problems
431 # (the dirname of $[0] is not the place where we might find the
432 # original and so on. Autoconf is especially sensible to this).
433 . ./$as_me.lineno
434 # Exit status is that of the last command.
435 exit
439 ECHO_C= ECHO_N= ECHO_T=
440 case `echo -n x` in
441 -n*)
442 case `echo 'x\c'` in
443 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
444 *) ECHO_C='\c';;
445 esac;;
447 ECHO_N='-n';;
448 esac
450 if expr a : '\(a\)' >/dev/null 2>&1; then
451 as_expr=expr
452 else
453 as_expr=false
456 rm -f conf$$ conf$$.exe conf$$.file
457 echo >conf$$.file
458 if ln -s conf$$.file conf$$ 2>/dev/null; then
459 # We could just check for DJGPP; but this test a) works b) is more generic
460 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
461 if test -f conf$$.exe; then
462 # Don't use ln at all; we don't have any links
463 as_ln_s='cp -p'
464 else
465 as_ln_s='ln -s'
467 elif ln conf$$.file conf$$ 2>/dev/null; then
468 as_ln_s=ln
469 else
470 as_ln_s='cp -p'
472 rm -f conf$$ conf$$.exe conf$$.file
474 if mkdir -p . 2>/dev/null; then
475 as_mkdir_p=:
476 else
477 test -d ./-p && rmdir ./-p
478 as_mkdir_p=false
481 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
482 # systems may use methods other than mode bits to determine executability.
483 cat >conf$$.file <<_ASEOF
484 #! /bin/sh
485 exit 0
486 _ASEOF
487 chmod +x conf$$.file
488 if test -x conf$$.file >/dev/null 2>&1; then
489 as_executable_p="test -x"
490 else
491 as_executable_p=:
493 rm -f conf$$.file
495 # Sed expression to map a string onto a valid CPP name.
496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
498 # Sed expression to map a string onto a valid variable name.
499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
502 # IFS
503 # We need space, tab and new line, in precisely that order.
504 as_nl='
506 IFS=" $as_nl"
508 # CDPATH.
509 $as_unset CDPATH
512 exec 7<&0 </dev/null 6>&1
514 # Name of the host.
515 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
516 # so uname gets run too.
517 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
520 # Initializations.
522 ac_default_prefix=/usr/local
523 ac_config_libobj_dir=.
524 cross_compiling=no
525 subdirs=
526 MFLAGS=
527 MAKEFLAGS=
528 SHELL=${CONFIG_SHELL-/bin/sh}
530 # Identity of this package.
531 PACKAGE_NAME='GNU Automake'
532 PACKAGE_TARNAME='automake'
533 PACKAGE_VERSION='1.9a'
534 PACKAGE_STRING='GNU Automake 1.9a'
535 PACKAGE_BUGREPORT='bug-automake@gnu.org'
537 ac_unique_file="automake.in"
538 ac_subst_vars='SHELL
539 PATH_SEPARATOR
540 PACKAGE_NAME
541 PACKAGE_TARNAME
542 PACKAGE_VERSION
543 PACKAGE_STRING
544 PACKAGE_BUGREPORT
545 exec_prefix
546 prefix
547 program_transform_name
548 bindir
549 sbindir
550 libexecdir
551 datarootdir
552 datadir
553 sysconfdir
554 sharedstatedir
555 localstatedir
556 includedir
557 oldincludedir
558 docdir
559 infodir
560 htmldir
561 dvidir
562 pdfdir
563 psdir
564 libdir
565 localedir
566 mandir
567 DEFS
568 ECHO_C
569 ECHO_N
570 ECHO_T
571 LIBS
572 build_alias
573 host_alias
574 target_alias
575 build
576 build_cpu
577 build_vendor
578 build_os
579 am_AUTOCONF
580 INSTALL_PROGRAM
581 INSTALL_SCRIPT
582 INSTALL_DATA
583 CYGPATH_W
584 PACKAGE
585 VERSION
586 ACLOCAL
587 AUTOCONF
588 AUTOMAKE
589 AUTOHEADER
590 MAKEINFO
591 install_sh
592 STRIP
593 ac_ct_STRIP
594 INSTALL_STRIP_PROGRAM
595 mkdir_p
597 SET_MAKE
598 am__leading_dot
599 AMTAR
600 am__tar
601 am__untar
602 APIVERSION
603 pkgvdatadir
604 PERL
607 MODIFICATION_DELAY
608 GREP
609 EGREP
610 FGREP
611 LIBOBJS
612 LTLIBOBJS'
613 ac_subst_files=''
614 ac_precious_vars='build_alias
615 host_alias
616 target_alias'
618 # Initialize some variables set by options.
619 ac_init_help=
620 ac_init_version=false
621 # The variables have the same names as the options, with
622 # dashes changed to underlines.
623 cache_file=/dev/null
624 exec_prefix=NONE
625 no_create=
626 no_recursion=
627 prefix=NONE
628 program_prefix=NONE
629 program_suffix=NONE
630 program_transform_name=s,x,x,
631 silent=
632 site=
633 srcdir=
634 verbose=
635 x_includes=NONE
636 x_libraries=NONE
638 # Installation directory options.
639 # These are left unexpanded so users can "make install exec_prefix=/foo"
640 # and all the variables that are supposed to be based on exec_prefix
641 # by default will actually change.
642 # Use braces instead of parens because sh, perl, etc. also accept them.
643 # (The list follows the same order as the GNU Coding Standards.)
644 bindir='${exec_prefix}/bin'
645 sbindir='${exec_prefix}/sbin'
646 libexecdir='${exec_prefix}/libexec'
647 datarootdir='${prefix}/share'
648 datadir='${datarootdir}'
649 sysconfdir='${prefix}/etc'
650 sharedstatedir='${prefix}/com'
651 localstatedir='${prefix}/var'
652 includedir='${prefix}/include'
653 oldincludedir='/usr/include'
654 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
655 infodir='${datarootdir}/info'
656 htmldir='${docdir}'
657 dvidir='${docdir}'
658 pdfdir='${docdir}'
659 psdir='${docdir}'
660 libdir='${exec_prefix}/lib'
661 localedir='${datarootdir}/locale'
662 mandir='${datarootdir}/man'
664 ac_prev=
665 ac_dashdash=
666 for ac_option
668 # If the previous option needs an argument, assign it.
669 if test -n "$ac_prev"; then
670 eval $ac_prev=\$ac_option
671 ac_prev=
672 continue
675 case $ac_option in
676 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
677 *) ac_optarg=yes ;;
678 esac
680 # Accept the important Cygnus configure options, so we can diagnose typos.
682 case $ac_dashdash$ac_option in
684 ac_dashdash=yes ;;
686 -bindir | --bindir | --bindi | --bind | --bin | --bi)
687 ac_prev=bindir ;;
688 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
689 bindir=$ac_optarg ;;
691 -build | --build | --buil | --bui | --bu)
692 ac_prev=build_alias ;;
693 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
694 build_alias=$ac_optarg ;;
696 -cache-file | --cache-file | --cache-fil | --cache-fi \
697 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
698 ac_prev=cache_file ;;
699 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
700 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
701 cache_file=$ac_optarg ;;
703 --config-cache | -C)
704 cache_file=config.cache ;;
706 -datadir | --datadir | --datadi | --datad)
707 ac_prev=datadir ;;
708 -datadir=* | --datadir=* | --datadi=* | --datad=*)
709 datadir=$ac_optarg ;;
711 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
712 | --dataroo | --dataro | --datar)
713 ac_prev=datarootdir ;;
714 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
715 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
716 datarootdir=$ac_optarg ;;
718 -disable-* | --disable-*)
719 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
720 # Reject names that are not valid shell variable names.
721 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
722 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
723 { (exit 1); exit 1; }; }
724 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
725 eval enable_$ac_feature=no ;;
727 -docdir | --docdir | --docdi | --doc | --do)
728 ac_prev=docdir ;;
729 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
730 docdir=$ac_optarg ;;
732 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
733 ac_prev=dvidir ;;
734 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
735 dvidir=$ac_optarg ;;
737 -enable-* | --enable-*)
738 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
739 # Reject names that are not valid shell variable names.
740 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
741 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
742 { (exit 1); exit 1; }; }
743 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
744 eval enable_$ac_feature=\$ac_optarg ;;
746 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
747 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
748 | --exec | --exe | --ex)
749 ac_prev=exec_prefix ;;
750 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
751 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
752 | --exec=* | --exe=* | --ex=*)
753 exec_prefix=$ac_optarg ;;
755 -gas | --gas | --ga | --g)
756 # Obsolete; use --with-gas.
757 with_gas=yes ;;
759 -help | --help | --hel | --he | -h)
760 ac_init_help=long ;;
761 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
762 ac_init_help=recursive ;;
763 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
764 ac_init_help=short ;;
766 -host | --host | --hos | --ho)
767 ac_prev=host_alias ;;
768 -host=* | --host=* | --hos=* | --ho=*)
769 host_alias=$ac_optarg ;;
771 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
772 ac_prev=htmldir ;;
773 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
774 | --ht=*)
775 htmldir=$ac_optarg ;;
777 -includedir | --includedir | --includedi | --included | --include \
778 | --includ | --inclu | --incl | --inc)
779 ac_prev=includedir ;;
780 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
781 | --includ=* | --inclu=* | --incl=* | --inc=*)
782 includedir=$ac_optarg ;;
784 -infodir | --infodir | --infodi | --infod | --info | --inf)
785 ac_prev=infodir ;;
786 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
787 infodir=$ac_optarg ;;
789 -libdir | --libdir | --libdi | --libd)
790 ac_prev=libdir ;;
791 -libdir=* | --libdir=* | --libdi=* | --libd=*)
792 libdir=$ac_optarg ;;
794 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
795 | --libexe | --libex | --libe)
796 ac_prev=libexecdir ;;
797 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
798 | --libexe=* | --libex=* | --libe=*)
799 libexecdir=$ac_optarg ;;
801 -localedir | --localedir | --localedi | --localed | --locale)
802 ac_prev=localedir ;;
803 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
804 localedir=$ac_optarg ;;
806 -localstatedir | --localstatedir | --localstatedi | --localstated \
807 | --localstate | --localstat | --localsta | --localst | --locals)
808 ac_prev=localstatedir ;;
809 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
810 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
811 localstatedir=$ac_optarg ;;
813 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
814 ac_prev=mandir ;;
815 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
816 mandir=$ac_optarg ;;
818 -nfp | --nfp | --nf)
819 # Obsolete; use --without-fp.
820 with_fp=no ;;
822 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
823 | --no-cr | --no-c | -n)
824 no_create=yes ;;
826 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
827 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
828 no_recursion=yes ;;
830 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
831 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
832 | --oldin | --oldi | --old | --ol | --o)
833 ac_prev=oldincludedir ;;
834 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
835 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
836 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
837 oldincludedir=$ac_optarg ;;
839 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
840 ac_prev=prefix ;;
841 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
842 prefix=$ac_optarg ;;
844 -program-prefix | --program-prefix | --program-prefi | --program-pref \
845 | --program-pre | --program-pr | --program-p)
846 ac_prev=program_prefix ;;
847 -program-prefix=* | --program-prefix=* | --program-prefi=* \
848 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
849 program_prefix=$ac_optarg ;;
851 -program-suffix | --program-suffix | --program-suffi | --program-suff \
852 | --program-suf | --program-su | --program-s)
853 ac_prev=program_suffix ;;
854 -program-suffix=* | --program-suffix=* | --program-suffi=* \
855 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
856 program_suffix=$ac_optarg ;;
858 -program-transform-name | --program-transform-name \
859 | --program-transform-nam | --program-transform-na \
860 | --program-transform-n | --program-transform- \
861 | --program-transform | --program-transfor \
862 | --program-transfo | --program-transf \
863 | --program-trans | --program-tran \
864 | --progr-tra | --program-tr | --program-t)
865 ac_prev=program_transform_name ;;
866 -program-transform-name=* | --program-transform-name=* \
867 | --program-transform-nam=* | --program-transform-na=* \
868 | --program-transform-n=* | --program-transform-=* \
869 | --program-transform=* | --program-transfor=* \
870 | --program-transfo=* | --program-transf=* \
871 | --program-trans=* | --program-tran=* \
872 | --progr-tra=* | --program-tr=* | --program-t=*)
873 program_transform_name=$ac_optarg ;;
875 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
876 ac_prev=pdfdir ;;
877 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
878 pdfdir=$ac_optarg ;;
880 -psdir | --psdir | --psdi | --psd | --ps)
881 ac_prev=psdir ;;
882 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
883 psdir=$ac_optarg ;;
885 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
886 | -silent | --silent | --silen | --sile | --sil)
887 silent=yes ;;
889 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
890 ac_prev=sbindir ;;
891 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
892 | --sbi=* | --sb=*)
893 sbindir=$ac_optarg ;;
895 -sharedstatedir | --sharedstatedir | --sharedstatedi \
896 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
897 | --sharedst | --shareds | --shared | --share | --shar \
898 | --sha | --sh)
899 ac_prev=sharedstatedir ;;
900 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
901 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
902 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
903 | --sha=* | --sh=*)
904 sharedstatedir=$ac_optarg ;;
906 -site | --site | --sit)
907 ac_prev=site ;;
908 -site=* | --site=* | --sit=*)
909 site=$ac_optarg ;;
911 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
912 ac_prev=srcdir ;;
913 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
914 srcdir=$ac_optarg ;;
916 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
917 | --syscon | --sysco | --sysc | --sys | --sy)
918 ac_prev=sysconfdir ;;
919 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
920 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
921 sysconfdir=$ac_optarg ;;
923 -target | --target | --targe | --targ | --tar | --ta | --t)
924 ac_prev=target_alias ;;
925 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
926 target_alias=$ac_optarg ;;
928 -v | -verbose | --verbose | --verbos | --verbo | --verb)
929 verbose=yes ;;
931 -version | --version | --versio | --versi | --vers | -V)
932 ac_init_version=: ;;
934 -with-* | --with-*)
935 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
938 { echo "$as_me: error: invalid package name: $ac_package" >&2
939 { (exit 1); exit 1; }; }
940 ac_package=`echo $ac_package| sed 's/-/_/g'`
941 eval with_$ac_package=\$ac_optarg ;;
943 -without-* | --without-*)
944 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
947 { echo "$as_me: error: invalid package name: $ac_package" >&2
948 { (exit 1); exit 1; }; }
949 ac_package=`echo $ac_package | sed 's/-/_/g'`
950 eval with_$ac_package=no ;;
952 --x)
953 # Obsolete; use --with-x.
954 with_x=yes ;;
956 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
957 | --x-incl | --x-inc | --x-in | --x-i)
958 ac_prev=x_includes ;;
959 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
960 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
961 x_includes=$ac_optarg ;;
963 -x-libraries | --x-libraries | --x-librarie | --x-librari \
964 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
965 ac_prev=x_libraries ;;
966 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
967 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
968 x_libraries=$ac_optarg ;;
970 -*) { echo "$as_me: error: unrecognized option: $ac_option
971 Try \`$0 --help' for more information." >&2
972 { (exit 1); exit 1; }; }
975 *=*)
976 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
979 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
980 { (exit 1); exit 1; }; }
981 eval $ac_envvar=\$ac_optarg
982 export $ac_envvar ;;
985 # FIXME: should be removed in autoconf 3.0.
986 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
987 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
988 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
989 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
992 esac
993 done
995 if test -n "$ac_prev"; then
996 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
997 { echo "$as_me: error: missing argument to $ac_option" >&2
998 { (exit 1); exit 1; }; }
1001 # Be sure to have absolute directory names.
1002 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1003 datadir sysconfdir sharedstatedir localstatedir includedir \
1004 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1005 libdir localedir mandir
1007 eval ac_val=\$$ac_var
1008 case $ac_val in
1009 [\\/$]* | ?:[\\/]* ) continue;;
1010 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1011 esac
1012 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1013 { (exit 1); exit 1; }; }
1014 done
1016 # There might be people who depend on the old broken behavior: `$host'
1017 # used to hold the argument of --host etc.
1018 # FIXME: To remove some day.
1019 build=$build_alias
1020 host=$host_alias
1021 target=$target_alias
1023 # FIXME: To remove some day.
1024 if test "x$host_alias" != x; then
1025 if test "x$build_alias" = x; then
1026 cross_compiling=maybe
1027 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1028 If a cross compiler is detected then cross compile mode will be used." >&2
1029 elif test "x$build_alias" != "x$host_alias"; then
1030 cross_compiling=yes
1034 ac_tool_prefix=
1035 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1037 test "$silent" = yes && exec 6>/dev/null
1040 # Find the source files, if location was not specified.
1041 if test -z "$srcdir"; then
1042 ac_srcdir_defaulted=yes
1043 # Try the directory containing this script, then the parent directory.
1044 ac_confdir=`(dirname "$0") 2>/dev/null ||
1045 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1046 X"$0" : 'X\(//\)[^/]' \| \
1047 X"$0" : 'X\(//\)$' \| \
1048 X"$0" : 'X\(/\)' \| \
1049 . : '\(.\)' 2>/dev/null ||
1050 echo X"$0" |
1051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1052 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1053 /^X\(\/\/\)$/{ s//\1/; q; }
1054 /^X\(\/\).*/{ s//\1/; q; }
1055 s/.*/./; q'`
1056 srcdir=$ac_confdir
1057 if test ! -r "$srcdir/$ac_unique_file"; then
1058 srcdir=..
1060 else
1061 ac_srcdir_defaulted=no
1063 if test ! -r "$srcdir/$ac_unique_file"; then
1064 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1065 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1066 { (exit 1); exit 1; }; }
1068 (cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
1069 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1070 { (exit 1); exit 1; }; }
1071 case $srcdir in
1072 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1073 esac
1075 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1076 ac_ls_di=`ls -di .` &&
1077 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1078 { echo "$as_me: error: Working directory cannot be determined" >&2
1079 { (exit 1); exit 1; }; }
1080 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1081 { echo "$as_me: error: pwd does not report name of working directory" >&2
1082 { (exit 1); exit 1; }; }
1084 for ac_var in $ac_precious_vars; do
1085 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1086 eval ac_env_${ac_var}_value=\$${ac_var}
1087 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1088 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1089 done
1092 # Report the --help message.
1094 if test "$ac_init_help" = "long"; then
1095 # Omit some internal or obsolete options to make the list less imposing.
1096 # This message is too long to be a string in the A/UX 3.1 sh.
1097 cat <<_ACEOF
1098 \`configure' configures GNU Automake 1.9a to adapt to many kinds of systems.
1100 Usage: $0 [OPTION]... [VAR=VALUE]...
1102 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1103 VAR=VALUE. See below for descriptions of some of the useful variables.
1105 Defaults for the options are specified in brackets.
1107 Configuration:
1108 -h, --help display this help and exit
1109 --help=short display options specific to this package
1110 --help=recursive display the short help of all the included packages
1111 -V, --version display version information and exit
1112 -q, --quiet, --silent do not print \`checking...' messages
1113 --cache-file=FILE cache test results in FILE [disabled]
1114 -C, --config-cache alias for \`--cache-file=config.cache'
1115 -n, --no-create do not create output files
1116 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1118 Installation directories:
1119 --prefix=PREFIX install architecture-independent files in PREFIX
1120 [$ac_default_prefix]
1121 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1122 [PREFIX]
1124 By default, \`make install' will install all the files in
1125 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1126 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1127 for instance \`--prefix=\$HOME'.
1129 For better control, use the options below.
1131 Fine tuning of the installation directories:
1132 --bindir=DIR user executables [EPREFIX/bin]
1133 --sbindir=DIR system admin executables [EPREFIX/sbin]
1134 --libexecdir=DIR program executables [EPREFIX/libexec]
1135 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1136 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1137 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1138 --libdir=DIR object code libraries [EPREFIX/lib]
1139 --includedir=DIR C header files [PREFIX/include]
1140 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1141 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1142 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1143 --infodir=DIR info documentation [DATAROOTDIR/info]
1144 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1145 --mandir=DIR man documentation [DATAROOTDIR/man]
1146 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1147 --htmldir=DIR html documentation [DOCDIR]
1148 --dvidir=DIR dvi documentation [DOCDIR]
1149 --pdfdir=DIR pdf documentation [DOCDIR]
1150 --psdir=DIR ps documentation [DOCDIR]
1151 _ACEOF
1153 cat <<\_ACEOF
1155 Program names:
1156 --program-prefix=PREFIX prepend PREFIX to installed program names
1157 --program-suffix=SUFFIX append SUFFIX to installed program names
1158 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1160 System types:
1161 --build=BUILD configure for building on BUILD [guessed]
1162 _ACEOF
1165 if test -n "$ac_init_help"; then
1166 case $ac_init_help in
1167 short | recursive ) echo "Configuration of GNU Automake 1.9a:";;
1168 esac
1169 cat <<\_ACEOF
1171 Report bugs to <bug-automake@gnu.org>.
1172 _ACEOF
1173 ac_status=$?
1176 if test "$ac_init_help" = "recursive"; then
1177 # If there are subdirs, report their specific --help.
1178 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1179 test -d $ac_dir || continue
1180 ac_builddir=.
1182 case "$ac_dir" in
1183 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1185 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1186 # A ".." for each directory in $ac_dir_suffix.
1187 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1188 case $ac_top_builddir_sub in
1189 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1190 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1191 esac ;;
1192 esac
1193 ac_abs_top_builddir=$ac_pwd
1194 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1195 # for backward compatibility:
1196 ac_top_builddir=$ac_top_build_prefix
1198 case $srcdir in
1199 .) # No --srcdir option. We are building in place.
1200 ac_srcdir=.
1201 ac_top_srcdir=$ac_top_builddir_sub
1202 ac_abs_top_srcdir=$ac_pwd ;;
1203 [\\/]* | ?:[\\/]* ) # Absolute name.
1204 ac_srcdir=$srcdir$ac_dir_suffix;
1205 ac_top_srcdir=$srcdir
1206 ac_abs_top_srcdir=$srcdir ;;
1207 *) # Relative name.
1208 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1209 ac_top_srcdir=$ac_top_build_prefix$srcdir
1210 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1211 esac
1212 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1214 cd $ac_dir || { ac_status=$?; continue; }
1215 # Check for guested configure; otherwise get Cygnus style configure.
1216 if test -f $ac_srcdir/configure.gnu; then
1217 echo &&
1218 $SHELL $ac_srcdir/configure.gnu --help=recursive
1219 elif test -f $ac_srcdir/configure; then
1220 echo &&
1221 $SHELL $ac_srcdir/configure --help=recursive
1222 elif test -f $ac_srcdir/configure.ac ||
1223 test -f $ac_srcdir/configure.in; then
1224 echo &&
1225 $ac_configure --help
1226 else
1227 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1228 fi || ac_status=$?
1229 cd "$ac_pwd" || { ac_status=$?; break; }
1230 done
1233 test -n "$ac_init_help" && exit $ac_status
1234 if $ac_init_version; then
1235 cat <<\_ACEOF
1236 GNU Automake configure 1.9a
1237 generated by GNU Autoconf 2.59c
1239 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1240 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
1241 This configure script is free software; the Free Software Foundation
1242 gives unlimited permission to copy, distribute and modify it.
1243 _ACEOF
1244 exit
1246 exec 5>config.log
1247 cat >&5 <<_ACEOF
1248 This file contains any messages produced by compilers while
1249 running configure, to aid debugging if configure makes a mistake.
1251 It was created by GNU Automake $as_me 1.9a, which was
1252 generated by GNU Autoconf 2.59c. Invocation command line was
1254 $ $0 $@
1256 _ACEOF
1258 cat <<_ASUNAME
1259 ## --------- ##
1260 ## Platform. ##
1261 ## --------- ##
1263 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1264 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1265 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1266 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1267 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1269 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1270 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1272 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1273 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1274 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1275 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1276 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1277 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1278 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1280 _ASUNAME
1282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1283 for as_dir in $PATH
1285 IFS=$as_save_IFS
1286 test -z "$as_dir" && as_dir=.
1287 echo "PATH: $as_dir"
1288 done
1290 } >&5
1292 cat >&5 <<_ACEOF
1295 ## ----------- ##
1296 ## Core tests. ##
1297 ## ----------- ##
1299 _ACEOF
1302 # Keep a trace of the command line.
1303 # Strip out --no-create and --no-recursion so they do not pile up.
1304 # Strip out --silent because we don't want to record it for future runs.
1305 # Also quote any args containing shell meta-characters.
1306 # Make two passes to allow for proper duplicate-argument suppression.
1307 ac_configure_args=
1308 ac_configure_args0=
1309 ac_configure_args1=
1310 ac_sep=
1311 ac_must_keep_next=false
1312 for ac_pass in 1 2
1314 for ac_arg
1316 case $ac_arg in
1317 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1320 continue ;;
1321 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1322 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1323 esac
1324 case $ac_pass in
1325 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1327 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1328 if test $ac_must_keep_next = true; then
1329 ac_must_keep_next=false # Got value, back to normal.
1330 else
1331 case $ac_arg in
1332 *=* | --config-cache | -C | -disable-* | --disable-* \
1333 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1334 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1335 | -with-* | --with-* | -without-* | --without-* | --x)
1336 case "$ac_configure_args0 " in
1337 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1338 esac
1340 -* ) ac_must_keep_next=true ;;
1341 esac
1343 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1344 # Get rid of the leading space.
1345 ac_sep=" "
1347 esac
1348 done
1349 done
1350 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1351 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1353 # When interrupted or exit'd, cleanup temporary files, and complete
1354 # config.log. We remove comments because anyway the quotes in there
1355 # would cause problems or look ugly.
1356 # WARNING: Be sure not to use single quotes in there, as some shells,
1357 # such as our DU 5.0 friend, will then `close' the trap.
1358 trap 'exit_status=$?
1359 # Save into config.log some information that might help in debugging.
1361 echo
1363 cat <<\_ASBOX
1364 ## ---------------- ##
1365 ## Cache variables. ##
1366 ## ---------------- ##
1367 _ASBOX
1368 echo
1369 # The following way of writing the cache mishandles newlines in values,
1371 (set) 2>&1 |
1372 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1373 *ac_space=\ *)
1374 sed -n \
1375 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1379 sed -n \
1380 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1382 esac;
1384 echo
1386 cat <<\_ASBOX
1387 ## ----------------- ##
1388 ## Output variables. ##
1389 ## ----------------- ##
1390 _ASBOX
1391 echo
1392 for ac_var in $ac_subst_vars
1394 eval ac_val=\$$ac_var
1395 echo "$ac_var='"'"'$ac_val'"'"'"
1396 done | sort
1397 echo
1399 if test -n "$ac_subst_files"; then
1400 cat <<\_ASBOX
1401 ## ------------------- ##
1402 ## File substitutions. ##
1403 ## ------------------- ##
1404 _ASBOX
1405 echo
1406 for ac_var in $ac_subst_files
1408 eval ac_val=\$$ac_var
1409 echo "$ac_var='"'"'$ac_val'"'"'"
1410 done | sort
1411 echo
1414 if test -s confdefs.h; then
1415 cat <<\_ASBOX
1416 ## ----------- ##
1417 ## confdefs.h. ##
1418 ## ----------- ##
1419 _ASBOX
1420 echo
1421 sed "/^$/d" confdefs.h | sort
1422 echo
1424 test "$ac_signal" != 0 &&
1425 echo "$as_me: caught signal $ac_signal"
1426 echo "$as_me: exit $exit_status"
1427 } >&5
1428 rm -f core *.core core.conftest.* &&
1429 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1430 exit $exit_status
1432 for ac_signal in 1 2 13 15; do
1433 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1434 done
1435 ac_signal=0
1437 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1438 rm -f -r conftest* confdefs.h
1440 # Predefined preprocessor variables.
1442 cat >>confdefs.h <<_ACEOF
1443 #define PACKAGE_NAME "$PACKAGE_NAME"
1444 _ACEOF
1447 cat >>confdefs.h <<_ACEOF
1448 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1449 _ACEOF
1452 cat >>confdefs.h <<_ACEOF
1453 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1454 _ACEOF
1457 cat >>confdefs.h <<_ACEOF
1458 #define PACKAGE_STRING "$PACKAGE_STRING"
1459 _ACEOF
1462 cat >>confdefs.h <<_ACEOF
1463 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1464 _ACEOF
1467 # Let the site file select an alternate cache file if it wants to.
1468 # Prefer explicitly selected file to automatically selected ones.
1469 if test -n "$CONFIG_SITE"; then
1470 set x "$CONFIG_SITE"
1471 elif test "x$prefix" != xNONE; then
1472 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1473 else
1474 set x "$ac_default_prefix/share/config.site" \
1475 "$ac_default_prefix/etc/config.site"
1477 shift
1478 for ac_site_file
1480 if test -r "$ac_site_file"; then
1481 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1482 echo "$as_me: loading site script $ac_site_file" >&6;}
1483 sed 's/^/| /' "$ac_site_file" >&5
1484 . "$ac_site_file"
1486 done
1488 if test -r "$cache_file"; then
1489 # Some versions of bash will fail to source /dev/null (special
1490 # files actually), so we avoid doing that.
1491 if test -f "$cache_file"; then
1492 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1493 echo "$as_me: loading cache $cache_file" >&6;}
1494 case $cache_file in
1495 [\\/]* | ?:[\\/]* ) . $cache_file;;
1496 *) . ./$cache_file;;
1497 esac
1499 else
1500 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1501 echo "$as_me: creating cache $cache_file" >&6;}
1502 >$cache_file
1505 # Check that the precious variables saved in the cache have kept the same
1506 # value.
1507 ac_cache_corrupted=false
1508 for ac_var in $ac_precious_vars; do
1509 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1510 eval ac_new_set=\$ac_env_${ac_var}_set
1511 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1512 eval ac_new_val=\$ac_env_${ac_var}_value
1513 case $ac_old_set,$ac_new_set in
1514 set,)
1515 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1516 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1517 ac_cache_corrupted=: ;;
1518 ,set)
1519 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1520 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1521 ac_cache_corrupted=: ;;
1522 ,);;
1524 if test "x$ac_old_val" != "x$ac_new_val"; then
1525 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1526 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1527 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1528 echo "$as_me: former value: $ac_old_val" >&2;}
1529 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1530 echo "$as_me: current value: $ac_new_val" >&2;}
1531 ac_cache_corrupted=:
1532 fi;;
1533 esac
1534 # Pass precious variables to config.status.
1535 if test "$ac_new_set" = set; then
1536 case $ac_new_val in
1537 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1538 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1539 *) ac_arg=$ac_var=$ac_new_val ;;
1540 esac
1541 case " $ac_configure_args " in
1542 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1543 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1544 esac
1546 done
1547 if $ac_cache_corrupted; then
1548 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1549 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1550 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1551 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1552 { (exit 1); exit 1; }; }
1579 ac_ext=c
1580 ac_cpp='$CPP $CPPFLAGS'
1581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1588 ac_aux_dir=
1589 for ac_dir in lib $srcdir/lib; do
1590 if test -f $ac_dir/install-sh; then
1591 ac_aux_dir=$ac_dir
1592 ac_install_sh="$ac_aux_dir/install-sh -c"
1593 break
1594 elif test -f $ac_dir/install.sh; then
1595 ac_aux_dir=$ac_dir
1596 ac_install_sh="$ac_aux_dir/install.sh -c"
1597 break
1598 elif test -f $ac_dir/shtool; then
1599 ac_aux_dir=$ac_dir
1600 ac_install_sh="$ac_aux_dir/shtool install -c"
1601 break
1603 done
1604 if test -z "$ac_aux_dir"; then
1605 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1606 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1607 { (exit 1); exit 1; }; }
1609 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1610 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1611 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1614 # Make sure we can run config.sub.
1615 $ac_config_sub sun4 >/dev/null 2>&1 ||
1616 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1617 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1618 { (exit 1); exit 1; }; }
1620 { echo "$as_me:$LINENO: checking build system type" >&5
1621 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1622 if test "${ac_cv_build+set}" = set; then
1623 echo $ECHO_N "(cached) $ECHO_C" >&6
1624 else
1625 ac_build_alias=$build_alias
1626 test "x$ac_build_alias" = x &&
1627 ac_build_alias=`$ac_config_guess`
1628 test "x$ac_build_alias" = x &&
1629 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1630 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1631 { (exit 1); exit 1; }; }
1632 ac_cv_build=`$ac_config_sub $ac_build_alias` ||
1633 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_build_alias failed" >&5
1634 echo "$as_me: error: $ac_config_sub $ac_build_alias failed" >&2;}
1635 { (exit 1); exit 1; }; }
1638 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1639 echo "${ECHO_T}$ac_cv_build" >&6; }
1640 build=$ac_cv_build
1641 ac_save_IFS=$IFS; IFS='-'
1642 set x $ac_cv_build
1643 shift
1644 IFS=$ac_save_IFS
1646 build_cpu=$1
1647 build_vendor=$2
1648 build_os=$3
1649 case $# in
1650 0|1|2) ;;
1652 shift; shift; shift
1653 for ac_arg
1654 do build_os=$build_os-$ac_arg
1655 done;;
1656 esac
1660 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1661 # way we can run Autoconf tests from configure (or from the test
1662 # suite) without being bothered by `missing'.
1663 am_AUTOCONF="${AUTOCONF-autoconf}"
1666 am__api_version='1.9a'
1668 # Find a good install program. We prefer a C program (faster),
1669 # so one script is as good as another. But avoid the broken or
1670 # incompatible versions:
1671 # SysV /etc/install, /usr/sbin/install
1672 # SunOS /usr/etc/install
1673 # IRIX /sbin/install
1674 # AIX /bin/install
1675 # AmigaOS /C/install, which installs bootblocks on floppy discs
1676 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1677 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1678 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1679 # OS/2's system install, which has a completely different semantic
1680 # ./install, which can be erroneously created by make from ./install.sh.
1681 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1682 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1683 if test -z "$INSTALL"; then
1684 if test "${ac_cv_path_install+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 else
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688 for as_dir in $PATH
1690 IFS=$as_save_IFS
1691 test -z "$as_dir" && as_dir=.
1692 # Account for people who put trailing slashes in PATH elements.
1693 case $as_dir/ in
1694 ./ | .// | /cC/* | \
1695 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1696 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1697 /usr/ucb/* ) ;;
1699 # OSF1 and SCO ODT 3.0 have their own names for install.
1700 # Don't use installbsd from OSF since it installs stuff as root
1701 # by default.
1702 for ac_prog in ginstall scoinst install; do
1703 for ac_exec_ext in '' $ac_executable_extensions; do
1704 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1705 if test $ac_prog = install &&
1706 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1707 # AIX install. It has an incompatible calling convention.
1709 elif test $ac_prog = install &&
1710 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1711 # program-specific install script used by HP pwplus--don't use.
1713 else
1714 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1715 break 3
1718 done
1719 done
1721 esac
1722 done
1726 if test "${ac_cv_path_install+set}" = set; then
1727 INSTALL=$ac_cv_path_install
1728 else
1729 # As a last resort, use the slow shell script. Don't cache a
1730 # value for INSTALL within a source directory, because that will
1731 # break other packages using the cache if that directory is
1732 # removed, or if the value is a relative name.
1733 INSTALL=$ac_install_sh
1736 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1737 echo "${ECHO_T}$INSTALL" >&6; }
1739 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1740 # It thinks the first close brace ends the variable substitution.
1741 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1743 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1745 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1747 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1748 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1749 # Just in case
1750 sleep 1
1751 echo timestamp > conftest.file
1752 # Do `set' in a subshell so we don't clobber the current shell's
1753 # arguments. Must try -L first in case configure is actually a
1754 # symlink; some systems play weird games with the mod time of symlinks
1755 # (eg FreeBSD returns the mod time of the symlink's containing
1756 # directory).
1757 if (
1758 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1759 if test "$*" = "X"; then
1760 # -L didn't work.
1761 set X `ls -t $srcdir/configure conftest.file`
1763 rm -f conftest.file
1764 if test "$*" != "X $srcdir/configure conftest.file" \
1765 && test "$*" != "X conftest.file $srcdir/configure"; then
1767 # If neither matched, then we have a broken ls. This can happen
1768 # if, for instance, CONFIG_SHELL is bash and it inherits a
1769 # broken ls alias from the environment. This has actually
1770 # happened. Such a system could not be considered "sane".
1771 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1772 alias in your environment" >&5
1773 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1774 alias in your environment" >&2;}
1775 { (exit 1); exit 1; }; }
1778 test "$2" = conftest.file
1780 then
1781 # Ok.
1783 else
1784 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1785 Check your system clock" >&5
1786 echo "$as_me: error: newly created file is older than distributed files!
1787 Check your system clock" >&2;}
1788 { (exit 1); exit 1; }; }
1790 { echo "$as_me:$LINENO: result: yes" >&5
1791 echo "${ECHO_T}yes" >&6; }
1792 test "$program_prefix" != NONE &&
1793 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1794 # Use a double $ so make ignores it.
1795 test "$program_suffix" != NONE &&
1796 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1797 # Double any \ or $. echo might interpret backslashes.
1798 # By default was `s,x,x', remove it if useless.
1799 cat <<\_ACEOF >conftest.sed
1800 s/[\\$]/&&/g;s/;s,x,x,$//
1801 _ACEOF
1802 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1803 rm -f conftest.sed
1805 # expand $ac_aux_dir to an absolute path
1806 am_aux_dir=`cd $ac_aux_dir && pwd`
1808 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1809 # Use eval to expand $SHELL
1810 if eval "$MISSING --run true"; then
1811 am_missing_run="$MISSING --run "
1812 else
1813 am_missing_run=
1814 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1815 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1818 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1819 # We used to define $(mkdir_p) as `mkdir -p -- .', in order to
1820 # allow $(mkdir_p) to be used without argument. As in
1821 # $(mkdir_p) $(somedir)
1822 # where $(somedir) is conditionally defined. However we don't do
1823 # that anymore.
1824 # 1. before we restricted the check to GNU mkdir, `mkdir -p .' was
1825 # reported to fail in read-only directories. The system where this
1826 # happened has been forgotten.
1827 # 2. in practice we call $(mkdir_p) on directories such as
1828 # $(mkdir_p) "$(DESTDIR)$(somedir)"
1829 # and we don't want to create $(DESTDIR) if $(somedir) is empty.
1830 # To support the latter case, we have to write
1831 # test -z "$(somedir)" || $(mkdir_p) "$(DESTDIR)$(somedir)"
1832 # so $(mkdir_p) always has an argument.
1833 # We will have better chances of detecting a missing test if
1834 # $(mkdir_p) complains about missing arguments.
1835 # 3. $(mkdir_p) is named after `mkdir -p' and we don't expect this
1836 # to accept no argument.
1837 # 4. having something like `mkdir .' in the output is unsightly.
1838 mkdir_p='mkdir -p --'
1839 else
1840 # On NextStep and OpenStep, the `mkdir' command does not
1841 # recognize any option. It will interpret all options as
1842 # directories to create.
1843 for d in ./-p ./--version;
1845 test -d $d && rmdir $d
1846 done
1847 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1848 if test -f "$ac_aux_dir/mkinstalldirs"; then
1849 mkdir_p='$(mkinstalldirs)'
1850 else
1851 mkdir_p='$(install_sh) -d'
1855 for ac_prog in gawk mawk nawk awk
1857 # Extract the first word of "$ac_prog", so it can be a program name with args.
1858 set dummy $ac_prog; ac_word=$2
1859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1861 if test "${ac_cv_prog_AWK+set}" = set; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1863 else
1864 if test -n "$AWK"; then
1865 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1866 else
1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1868 for as_dir in $PATH
1870 IFS=$as_save_IFS
1871 test -z "$as_dir" && as_dir=.
1872 for ac_exec_ext in '' $ac_executable_extensions; do
1873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1874 ac_cv_prog_AWK="$ac_prog"
1875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1876 break 2
1878 done
1879 done
1883 AWK=$ac_cv_prog_AWK
1884 if test -n "$AWK"; then
1885 { echo "$as_me:$LINENO: result: $AWK" >&5
1886 echo "${ECHO_T}$AWK" >&6; }
1887 else
1888 { echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6; }
1892 test -n "$AWK" && break
1893 done
1895 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1896 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1897 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1898 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 else
1901 cat >conftest.make <<\_ACEOF
1902 SHELL = /bin/sh
1903 all:
1904 @echo 'ac_maketemp=X"$(MAKE)"'
1905 _ACEOF
1906 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1907 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1908 if test "$ac_maketemp" != X ; then
1909 eval ac_cv_prog_make_${ac_make}_set=yes
1910 else
1911 eval ac_cv_prog_make_${ac_make}_set=no
1913 rm -f conftest.make
1915 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1916 { echo "$as_me:$LINENO: result: yes" >&5
1917 echo "${ECHO_T}yes" >&6; }
1918 SET_MAKE=
1919 else
1920 { echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6; }
1922 SET_MAKE="MAKE=${MAKE-make}"
1925 rm -rf .tst 2>/dev/null
1926 mkdir .tst 2>/dev/null
1927 if test -d .tst; then
1928 am__leading_dot=.
1929 else
1930 am__leading_dot=_
1932 rmdir .tst 2>/dev/null
1934 # test to see if srcdir already configured
1935 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1936 test -f $srcdir/config.status; then
1937 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1938 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1939 { (exit 1); exit 1; }; }
1942 # test whether we have cygpath
1943 if test -z "$CYGPATH_W"; then
1944 if (cygpath --version) >/dev/null 2>/dev/null; then
1945 CYGPATH_W='cygpath -w'
1946 else
1947 CYGPATH_W=echo
1952 # Define the identity of the package.
1953 PACKAGE='automake'
1954 VERSION='1.9a'
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE "$PACKAGE"
1959 _ACEOF
1962 cat >>confdefs.h <<_ACEOF
1963 #define VERSION "$VERSION"
1964 _ACEOF
1966 # Some tools Automake needs.
1968 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1971 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1974 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1977 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1980 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1982 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1984 # Installed binaries are usually stripped using `strip' when the user
1985 # run `make install-strip'. However `strip' might not be the right
1986 # tool to use in cross-compilation environments, therefore Automake
1987 # will honor the `STRIP' environment variable to overrule this program.
1988 if test "$cross_compiling" != no; then
1989 if test -n "$ac_tool_prefix"; then
1990 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1991 set dummy ${ac_tool_prefix}strip; ac_word=$2
1992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1994 if test "${ac_cv_prog_STRIP+set}" = set; then
1995 echo $ECHO_N "(cached) $ECHO_C" >&6
1996 else
1997 if test -n "$STRIP"; then
1998 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1999 else
2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001 for as_dir in $PATH
2003 IFS=$as_save_IFS
2004 test -z "$as_dir" && as_dir=.
2005 for ac_exec_ext in '' $ac_executable_extensions; do
2006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2007 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2009 break 2
2011 done
2012 done
2016 STRIP=$ac_cv_prog_STRIP
2017 if test -n "$STRIP"; then
2018 { echo "$as_me:$LINENO: result: $STRIP" >&5
2019 echo "${ECHO_T}$STRIP" >&6; }
2020 else
2021 { echo "$as_me:$LINENO: result: no" >&5
2022 echo "${ECHO_T}no" >&6; }
2026 if test -z "$ac_cv_prog_STRIP"; then
2027 ac_ct_STRIP=$STRIP
2028 # Extract the first word of "strip", so it can be a program name with args.
2029 set dummy strip; ac_word=$2
2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 else
2035 if test -n "$ac_ct_STRIP"; then
2036 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2037 else
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 for as_dir in $PATH
2041 IFS=$as_save_IFS
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2045 ac_cv_prog_ac_ct_STRIP="strip"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 break 2
2049 done
2050 done
2054 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2055 if test -n "$ac_ct_STRIP"; then
2056 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2057 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2058 else
2059 { echo "$as_me:$LINENO: result: no" >&5
2060 echo "${ECHO_T}no" >&6; }
2063 if test "x$ac_ct_STRIP" = x; then
2064 STRIP=":"
2065 else
2066 if test "$build" != "$host"; then
2067 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2068 whose name does not start with the host triplet. If you think this
2069 configuration is useful to you, please write to autoconf@gnu.org." >&5
2070 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2071 whose name does not start with the host triplet. If you think this
2072 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2074 STRIP=$ac_ct_STRIP
2076 else
2077 STRIP="$ac_cv_prog_STRIP"
2081 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2083 # We need awk for the "check" target. The system "awk" is bad on
2084 # some platforms.
2085 # Always define AMTAR for backward compatibility.
2087 AMTAR=${AMTAR-"${am_missing_run}tar"}
2089 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2096 # The API version is the base version. We must guarantee
2097 # compatibility for all releases with the same API version.
2098 # Our current rule is that:
2099 # * All releases, including the prereleases, in an X.Y series
2100 # are compatible. So 1.5.1c is compatible with 1.5.
2101 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2102 # aren't the same.
2103 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2106 # A versioned directory, defined here for convenience.
2107 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2110 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2111 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2112 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4"
2113 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
2115 # Extract the first word of "perl", so it can be a program name with args.
2116 set dummy perl; ac_word=$2
2117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2119 if test "${ac_cv_path_PERL+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 else
2122 case $PERL in
2123 [\\/]* | ?:[\\/]*)
2124 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH
2130 IFS=$as_save_IFS
2131 test -z "$as_dir" && as_dir=.
2132 for ac_exec_ext in '' $ac_executable_extensions; do
2133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2134 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2136 break 2
2138 done
2139 done
2142 esac
2144 PERL=$ac_cv_path_PERL
2146 if test -n "$PERL"; then
2147 { echo "$as_me:$LINENO: result: $PERL" >&5
2148 echo "${ECHO_T}$PERL" >&6; }
2149 else
2150 { echo "$as_me:$LINENO: result: no" >&5
2151 echo "${ECHO_T}no" >&6; }
2154 if test -z "$PERL"; then
2155 { { echo "$as_me:$LINENO: error: perl not found" >&5
2156 echo "$as_me: error: perl not found" >&2;}
2157 { (exit 1); exit 1; }; }
2159 $PERL -e 'require 5.006;' || {
2160 { { echo "$as_me:$LINENO: error: perl 5.6 or better is required. If you have several perl
2161 versions installed, select the one Automake should use using
2162 ./configure PERL=/path/to/perl" >&5
2163 echo "$as_me: error: perl 5.6 or better is required. If you have several perl
2164 versions installed, select the one Automake should use using
2165 ./configure PERL=/path/to/perl" >&2;}
2166 { (exit 1); exit 1; }; }
2169 # The test suite will skip some tests if tex is absent.
2170 # Extract the first word of "tex", so it can be a program name with args.
2171 set dummy tex; ac_word=$2
2172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2174 if test "${ac_cv_prog_TEX+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 else
2177 if test -n "$TEX"; then
2178 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2179 else
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 for as_dir in $PATH
2183 IFS=$as_save_IFS
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2187 ac_cv_prog_TEX="tex"
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 break 2
2191 done
2192 done
2196 TEX=$ac_cv_prog_TEX
2197 if test -n "$TEX"; then
2198 { echo "$as_me:$LINENO: result: $TEX" >&5
2199 echo "${ECHO_T}$TEX" >&6; }
2200 else
2201 { echo "$as_me:$LINENO: result: no" >&5
2202 echo "${ECHO_T}no" >&6; }
2206 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2207 # deletion of any files created (such as those added to
2208 # autom4te.cache). We used to perform only the last of the three
2209 # following tests, but some users were unable to figure out that their
2210 # installation was broken since --version appeared to work.
2212 { echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2213 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6; }
2214 if test "${am_cv_autoconf_installed+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 else
2217 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2218 (eval $am_AUTOCONF --version) >&5 2>&5
2219 ac_status=$?
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); };
2222 then
2223 am_cv_autoconf_installed=yes
2224 else
2225 am_cv_autoconf_installed=no
2228 { echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2229 echo "${ECHO_T}$am_cv_autoconf_installed" >&6; }
2230 if test "$am_cv_autoconf_installed" = no; then
2231 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2232 Please make sure it is installed and in your PATH." >&5
2233 echo "$as_me: error: Autoconf 2.58 or better is required.
2234 Please make sure it is installed and in your PATH." >&2;}
2235 { (exit 1); exit 1; }; }
2238 { echo "$as_me:$LINENO: checking whether autoconf works" >&5
2239 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6; }
2240 if test "${am_cv_autoconf_works+set}" = set; then
2241 echo $ECHO_N "(cached) $ECHO_C" >&6
2242 else
2243 mkdir conftest
2244 echo 'AC''_INIT' > conftest/conftest.ac
2245 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2246 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2247 ac_status=$?
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); };
2250 then
2251 am_cv_autoconf_works=yes
2252 else
2253 am_cv_autoconf_works=no
2255 rm -rf conftest
2257 { echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2258 echo "${ECHO_T}$am_cv_autoconf_works" >&6; }
2259 if test "$am_cv_autoconf_works" = no; then
2260 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2261 Please check config.log for error messages before this one." >&5
2262 echo "$as_me: error: The installed version of autoconf does not work.
2263 Please check config.log for error messages before this one." >&2;}
2264 { (exit 1); exit 1; }; }
2267 { echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2268 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6; }
2269 if test "${am_cv_autoconf_version+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 else
2272 mkdir conftest
2273 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2274 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2275 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2276 ac_status=$?
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); };
2279 then
2280 am_cv_autoconf_version=yes
2281 else
2282 am_cv_autoconf_version=no
2284 rm -rf conftest
2286 { echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2287 echo "${ECHO_T}$am_cv_autoconf_version" >&6; }
2288 if test "$am_cv_autoconf_version" = no; then
2289 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2290 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2291 { (exit 1); exit 1; }; }
2294 # Test for ln. We need use it to install the versioned binaries.
2295 { echo "$as_me:$LINENO: checking whether ln works" >&5
2296 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
2297 if test "${am_cv_prog_ln+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 else
2301 rm -f conftest conftest.file
2302 : >conftest.file
2303 if ln conftest.file conftest 2>/dev/null; then
2304 am_cv_prog_ln=ln
2305 else
2306 am_cv_prog_ln='cp -p'
2308 rm -f conftest conftest.file
2311 LN=$am_cv_prog_ln
2313 result=no
2314 test "x$am_cv_prog_ln" = xln && result=yes
2315 { echo "$as_me:$LINENO: result: $result" >&5
2316 echo "${ECHO_T}$result" >&6; }
2318 # The amount we should wait after modifying files depends on the platform.
2319 # On Windows '95, '98 and ME, files modifications have 2-seconds
2320 # granularity and can be up to 3 seconds in the future w.r.t. the
2321 # system clock. When it is important to ensure one file is older
2322 # than another we wait at least 5 seconds between creations.
2323 case $build in
2324 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2325 *) MODIFICATION_DELAY=2;;
2326 esac
2329 # Test for things needed by the test suite.
2330 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2331 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2332 if test "${ac_cv_path_GREP+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 else
2335 # Extract the first word of "grep ggrep" to use in msg output
2336 if test -z "$GREP"; then
2337 set dummy grep ggrep; ac_prog_name=$2
2338 if test "${ac_cv_path_GREP+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 else
2341 ac_path_GREP_found=false
2342 # Loop through the user's path and test for each of PROGNAME-LIST
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 as_dummy="$PATH:/usr/xpg4/bin"
2345 for as_dir in $as_dummy
2347 IFS=$as_save_IFS
2348 test -z "$as_dir" && as_dir=.
2349 for ac_prog in grep ggrep; do
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2352 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2353 # Check for GNU ac_path_GREP and select it if it is found.
2354 # Check for GNU $ac_path_GREP
2355 case `"$ac_path_GREP" --version 2>&1` in
2356 *GNU*)
2357 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2359 ac_count=0
2360 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2361 while :
2363 cat "conftest.in" "conftest.in" >"conftest.tmp"
2364 mv "conftest.tmp" "conftest.in"
2365 cp "conftest.in" "conftest.nl"
2366 echo 'GREP' >> "conftest.nl"
2367 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2368 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2369 ac_count=`expr $ac_count + 1`
2370 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2371 # Best one so far, save it but keep looking for a better one
2372 ac_cv_path_GREP="$ac_path_GREP"
2373 ac_path_GREP_max=$ac_count
2375 # 10*(2^10) chars as input seems more than enough
2376 test $ac_count -gt 10 && break
2377 done
2378 rm -f conftest.*;;
2379 esac
2382 $ac_path_GREP_found && break 3
2383 done
2384 done
2386 done
2391 GREP="$ac_cv_path_GREP"
2392 if test -z "$GREP"; then
2393 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2394 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2395 { (exit 1); exit 1; }; }
2398 else
2399 ac_cv_path_GREP=$GREP
2404 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2405 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2406 GREP="$ac_cv_path_GREP"
2409 { echo "$as_me:$LINENO: checking for egrep" >&5
2410 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2411 if test "${ac_cv_path_EGREP+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2413 else
2414 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2415 then ac_cv_path_EGREP="$GREP -E"
2416 else
2417 # Extract the first word of "egrep" to use in msg output
2418 if test -z "$EGREP"; then
2419 set dummy egrep; ac_prog_name=$2
2420 if test "${ac_cv_path_EGREP+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 else
2423 ac_path_EGREP_found=false
2424 # Loop through the user's path and test for each of PROGNAME-LIST
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 as_dummy="$PATH:/usr/xpg4/bin"
2427 for as_dir in $as_dummy
2429 IFS=$as_save_IFS
2430 test -z "$as_dir" && as_dir=.
2431 for ac_prog in egrep; do
2432 for ac_exec_ext in '' $ac_executable_extensions; do
2433 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2434 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2435 # Check for GNU ac_path_EGREP and select it if it is found.
2436 # Check for GNU $ac_path_EGREP
2437 case `"$ac_path_EGREP" --version 2>&1` in
2438 *GNU*)
2439 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2441 ac_count=0
2442 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2443 while :
2445 cat "conftest.in" "conftest.in" >"conftest.tmp"
2446 mv "conftest.tmp" "conftest.in"
2447 cp "conftest.in" "conftest.nl"
2448 echo 'EGREP' >> "conftest.nl"
2449 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2450 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2451 ac_count=`expr $ac_count + 1`
2452 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2453 # Best one so far, save it but keep looking for a better one
2454 ac_cv_path_EGREP="$ac_path_EGREP"
2455 ac_path_EGREP_max=$ac_count
2457 # 10*(2^10) chars as input seems more than enough
2458 test $ac_count -gt 10 && break
2459 done
2460 rm -f conftest.*;;
2461 esac
2464 $ac_path_EGREP_found && break 3
2465 done
2466 done
2468 done
2473 EGREP="$ac_cv_path_EGREP"
2474 if test -z "$EGREP"; then
2475 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2476 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2477 { (exit 1); exit 1; }; }
2480 else
2481 ac_cv_path_EGREP=$EGREP
2487 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2488 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2489 EGREP="$ac_cv_path_EGREP"
2492 { echo "$as_me:$LINENO: checking for fgrep" >&5
2493 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
2494 if test "${ac_cv_path_FGREP+set}" = set; then
2495 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 else
2497 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2498 then ac_cv_path_FGREP="$GREP -F"
2499 else
2500 # Extract the first word of "fgrep" to use in msg output
2501 if test -z "$FGREP"; then
2502 set dummy fgrep; ac_prog_name=$2
2503 if test "${ac_cv_path_FGREP+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 else
2506 ac_path_FGREP_found=false
2507 # Loop through the user's path and test for each of PROGNAME-LIST
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 as_dummy="$PATH:/usr/xpg4/bin"
2510 for as_dir in $as_dummy
2512 IFS=$as_save_IFS
2513 test -z "$as_dir" && as_dir=.
2514 for ac_prog in fgrep; do
2515 for ac_exec_ext in '' $ac_executable_extensions; do
2516 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2517 { test -f "$ac_path_FGREP" && $as_executable_p "$ac_path_FGREP"; } || continue
2518 # Check for GNU ac_path_FGREP and select it if it is found.
2519 # Check for GNU $ac_path_FGREP
2520 case `"$ac_path_FGREP" --version 2>&1` in
2521 *GNU*)
2522 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2524 ac_count=0
2525 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2526 while :
2528 cat "conftest.in" "conftest.in" >"conftest.tmp"
2529 mv "conftest.tmp" "conftest.in"
2530 cp "conftest.in" "conftest.nl"
2531 echo 'FGREP' >> "conftest.nl"
2532 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2533 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2534 ac_count=`expr $ac_count + 1`
2535 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2536 # Best one so far, save it but keep looking for a better one
2537 ac_cv_path_FGREP="$ac_path_FGREP"
2538 ac_path_FGREP_max=$ac_count
2540 # 10*(2^10) chars as input seems more than enough
2541 test $ac_count -gt 10 && break
2542 done
2543 rm -f conftest.*;;
2544 esac
2547 $ac_path_FGREP_found && break 3
2548 done
2549 done
2551 done
2556 FGREP="$ac_cv_path_FGREP"
2557 if test -z "$FGREP"; then
2558 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2559 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2560 { (exit 1); exit 1; }; }
2563 else
2564 ac_cv_path_FGREP=$FGREP
2570 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2571 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
2572 FGREP="$ac_cv_path_FGREP"
2576 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"
2578 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2580 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2583 cat >confcache <<\_ACEOF
2584 # This file is a shell script that caches the results of configure
2585 # tests run on this system so they can be shared between configure
2586 # scripts and configure runs, see configure's option --config-cache.
2587 # It is not useful on other systems. If it contains results you don't
2588 # want to keep, you may remove or edit it.
2590 # config.status only pays attention to the cache file if you give it
2591 # the --recheck option to rerun configure.
2593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2595 # following values.
2597 _ACEOF
2599 # The following way of writing the cache mishandles newlines in values,
2600 # but we know of no workaround that is simple, portable, and efficient.
2601 # So, don't put newlines in cache variables' values.
2602 # Ultrix sh set writes to stderr and can't be redirected directly,
2603 # and sets the high bit in the cache file unless we assign to the vars.
2605 (set) 2>&1 |
2606 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2607 *ac_space=\ *)
2608 # `set' does not quote correctly, so add quotes (double-quote
2609 # substitution turns \\\\ into \\, and sed turns \\ into \).
2610 sed -n \
2611 "s/'/'\\\\''/g;
2612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2615 # `set' quotes correctly as required by POSIX, so do not add quotes.
2616 sed -n \
2617 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2619 esac;
2621 sed '
2622 t clear
2623 :clear
2624 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2625 t end
2626 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2627 :end' >>confcache
2628 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2629 if test -w $cache_file; then
2630 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2631 cat confcache >$cache_file
2632 else
2633 echo "not updating unwritable cache $cache_file"
2636 rm -f confcache
2638 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2639 # Let make expand exec_prefix.
2640 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2642 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2643 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2644 # trailing colons and then remove the whole line if VPATH becomes empty
2645 # (actually we leave an empty line to preserve line numbers).
2646 if test "x$srcdir" = x.; then
2647 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2648 s/:*\$(srcdir):*/:/;
2649 s/:*\${srcdir}:*/:/;
2650 s/:*@srcdir@:*/:/;
2651 s/^\([^=]*=[ ]*\):*/\1/;
2652 s/:*$//;
2653 s/^[^=]*=[ ]*$//;
2657 # Transform confdefs.h into DEFS.
2658 # Protect against shell expansion while executing Makefile rules.
2659 # Protect against Makefile macro expansion.
2661 # If the first sed substitution is executed (which looks for macros that
2662 # take arguments), then we branch to the quote section. Otherwise,
2663 # look for a macro that doesn't take arguments.
2664 cat >confdef2opt.sed <<\_ACEOF
2665 t clear
2666 :clear
2667 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2668 t quote
2669 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2670 t quote
2672 :quote
2673 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2674 s,\[,\\&,g
2675 s,\],\\&,g
2676 s,\$,$$,g
2678 _ACEOF
2679 # We use echo to avoid assuming a particular line-breaking character.
2680 # The extra dot is to prevent the shell from consuming trailing
2681 # line-breaks from the sub-command output. A line-break within
2682 # single-quotes doesn't work because, if this script is created in a
2683 # platform that uses two characters for line-breaks (e.g., DOS), tr
2684 # would break.
2685 ac_LF_and_DOT=`echo; echo .`
2686 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2687 rm -f confdef2opt.sed
2690 ac_libobjs=
2691 ac_ltlibobjs=
2692 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2693 # 1. Remove the extension, and $U if already installed.
2694 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2695 ac_i=`echo "$ac_i" | sed "$ac_script"`
2696 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2697 # will be set to the directory where LIBOBJS objects are built.
2698 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2699 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2700 done
2701 LIBOBJS=$ac_libobjs
2703 LTLIBOBJS=$ac_ltlibobjs
2707 : ${CONFIG_STATUS=./config.status}
2708 ac_clean_files_save=$ac_clean_files
2709 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2710 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2711 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2712 cat >$CONFIG_STATUS <<_ACEOF
2713 #! $SHELL
2714 # Generated by $as_me.
2715 # Run this file to recreate the current configuration.
2716 # Compiler output produced by configure, useful for debugging
2717 # configure, is in config.log if it exists.
2719 debug=false
2720 ac_cs_recheck=false
2721 ac_cs_silent=false
2722 SHELL=\${CONFIG_SHELL-$SHELL}
2723 _ACEOF
2725 cat >>$CONFIG_STATUS <<\_ACEOF
2726 ## --------------------- ##
2727 ## M4sh Initialization. ##
2728 ## --------------------- ##
2730 # Be Bourne compatible
2731 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2732 emulate sh
2733 NULLCMD=:
2734 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2735 # is contrary to our usage. Disable this feature.
2736 alias -g '${1+"$@"}'='"$@"'
2737 setopt NO_GLOB_SUBST
2738 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2739 set -o posix
2741 BIN_SH=xpg4; export BIN_SH # for Tru64
2742 DUALCASE=1; export DUALCASE # for MKS sh
2745 # PATH needs CR
2746 # Avoid depending upon Character Ranges.
2747 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2748 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2749 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2750 as_cr_digits='0123456789'
2751 as_cr_alnum=$as_cr_Letters$as_cr_digits
2753 # The user is always right.
2754 if test "${PATH_SEPARATOR+set}" != set; then
2755 echo "#! /bin/sh" >conf$$.sh
2756 echo "exit 0" >>conf$$.sh
2757 chmod +x conf$$.sh
2758 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2759 PATH_SEPARATOR=';'
2760 else
2761 PATH_SEPARATOR=:
2763 rm -f conf$$.sh
2766 # Support unset when possible.
2767 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2768 as_unset=unset
2769 else
2770 as_unset=false
2774 # Find who we are. Look in the path if we contain no path at all
2775 # relative or not.
2776 case $0 in
2777 *[\\/]* ) as_myself=$0 ;;
2778 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 for as_dir in $PATH
2781 IFS=$as_save_IFS
2782 test -z "$as_dir" && as_dir=.
2783 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2784 done
2787 esac
2788 # We did not find ourselves, most probably we were run as `sh COMMAND'
2789 # in which case we are not to be found in the path.
2790 if test "x$as_myself" = x; then
2791 as_myself=$0
2793 if test ! -f "$as_myself"; then
2794 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute file name" >&5
2795 echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2;}
2796 { (exit 1); exit 1; }; }
2799 # Work around bugs in pre-3.0 UWIN ksh.
2800 for as_var in ENV MAIL MAILPATH
2801 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2802 done
2803 PS1='$ '
2804 PS2='> '
2805 PS4='+ '
2807 # NLS nuisances.
2808 for as_var in \
2809 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2810 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2811 LC_TELEPHONE LC_TIME
2813 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2814 eval $as_var=C; export $as_var
2815 else
2816 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2818 done
2820 # Required to use basename.
2821 if expr a : '\(a\)' >/dev/null 2>&1; then
2822 as_expr=expr
2823 else
2824 as_expr=false
2827 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2828 as_basename=basename
2829 else
2830 as_basename=false
2834 # Name of the executable.
2835 as_me=`$as_basename "$0" ||
2836 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2837 X"$0" : 'X\(//\)$' \| \
2838 X"$0" : 'X\(/\)$' \| \
2839 . : '\(.\)' 2>/dev/null ||
2840 echo X/"$0" |
2841 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2842 /^X\/\(\/\/\)$/{ s//\1/; q; }
2843 /^X\/\(\/\).*/{ s//\1/; q; }
2844 s/.*/./; q'`
2849 as_lineno_1=$LINENO
2850 as_lineno_2=$LINENO
2851 test "x$as_lineno_1" != "x$as_lineno_2" &&
2852 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2854 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2855 # uniformly replaced by the line number. The first 'sed' inserts a
2856 # line-number line after each line using $LINENO; the second 'sed'
2857 # does the real work. The second script uses 'N' to pair each
2858 # line-number line with the line containing $LINENO, and appends
2859 # trailing '-' during substitution so that $LINENO is not a special
2860 # case at line end.
2861 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2862 # scripts with optimization help from Paolo Bonzini. Blame Lee
2863 # E. McMahon (1931-1989) for sed's syntax. :-)
2864 sed -n '
2866 /[$]LINENO/=
2867 ' <$as_myself |
2868 sed '
2869 s,[$]LINENO.*,&-,
2870 t lineno
2872 :lineno
2874 :loop
2875 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2876 t loop
2877 s,-\n.*,,
2878 ' >$as_me.lineno &&
2879 chmod +x $as_me.lineno ||
2880 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2881 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2882 { (exit 1); exit 1; }; }
2884 # Don't try to exec as it changes $[0], causing all sort of problems
2885 # (the dirname of $[0] is not the place where we might find the
2886 # original and so on. Autoconf is especially sensible to this).
2887 . ./$as_me.lineno
2888 # Exit status is that of the last command.
2889 exit
2893 ECHO_C= ECHO_N= ECHO_T=
2894 case `echo -n x` in
2895 -n*)
2896 case `echo 'x\c'` in
2897 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2898 *) ECHO_C='\c';;
2899 esac;;
2901 ECHO_N='-n';;
2902 esac
2904 if expr a : '\(a\)' >/dev/null 2>&1; then
2905 as_expr=expr
2906 else
2907 as_expr=false
2910 rm -f conf$$ conf$$.exe conf$$.file
2911 echo >conf$$.file
2912 if ln -s conf$$.file conf$$ 2>/dev/null; then
2913 # We could just check for DJGPP; but this test a) works b) is more generic
2914 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2915 if test -f conf$$.exe; then
2916 # Don't use ln at all; we don't have any links
2917 as_ln_s='cp -p'
2918 else
2919 as_ln_s='ln -s'
2921 elif ln conf$$.file conf$$ 2>/dev/null; then
2922 as_ln_s=ln
2923 else
2924 as_ln_s='cp -p'
2926 rm -f conf$$ conf$$.exe conf$$.file
2928 if mkdir -p . 2>/dev/null; then
2929 as_mkdir_p=:
2930 else
2931 test -d ./-p && rmdir ./-p
2932 as_mkdir_p=false
2935 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2936 # systems may use methods other than mode bits to determine executability.
2937 cat >conf$$.file <<_ASEOF
2938 #! /bin/sh
2939 exit 0
2940 _ASEOF
2941 chmod +x conf$$.file
2942 if test -x conf$$.file >/dev/null 2>&1; then
2943 as_executable_p="test -x"
2944 else
2945 as_executable_p=:
2947 rm -f conf$$.file
2949 # Sed expression to map a string onto a valid CPP name.
2950 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2952 # Sed expression to map a string onto a valid variable name.
2953 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2956 # IFS
2957 # We need space, tab and new line, in precisely that order.
2958 as_nl='
2960 IFS=" $as_nl"
2962 # CDPATH.
2963 $as_unset CDPATH
2965 exec 6>&1
2967 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2968 # report actual input values of CONFIG_FILES etc. instead of their
2969 # values after options handling. Logging --version etc. is OK.
2970 exec 5>>config.log
2972 echo
2973 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2974 ## Running $as_me. ##
2975 _ASBOX
2976 } >&5
2977 cat >&5 <<_CSEOF
2979 This file was extended by GNU Automake $as_me 1.9a, which was
2980 generated by GNU Autoconf 2.59c. Invocation command line was
2982 CONFIG_FILES = $CONFIG_FILES
2983 CONFIG_HEADERS = $CONFIG_HEADERS
2984 CONFIG_LINKS = $CONFIG_LINKS
2985 CONFIG_COMMANDS = $CONFIG_COMMANDS
2986 $ $0 $@
2988 _CSEOF
2989 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2990 echo >&5
2991 _ACEOF
2993 # Files that config.status was made for.
2994 cat >>$CONFIG_STATUS <<_ACEOF
2995 config_files="$ac_config_files"
2996 _ACEOF
2998 cat >>$CONFIG_STATUS <<\_ACEOF
3000 ac_cs_usage="\
3001 \`$as_me' instantiates files from templates according to the
3002 current configuration.
3004 Usage: $0 [OPTIONS] [FILE]...
3006 -h, --help print this help, then exit
3007 -V, --version print version number, then exit
3008 -q, --quiet do not print progress messages
3009 -d, --debug don't remove temporary files
3010 --recheck update $as_me by reconfiguring in the same conditions
3011 --file=FILE[:TEMPLATE]
3012 instantiate the configuration file FILE
3014 Configuration files:
3015 $config_files
3017 Report bugs to <bug-autoconf@gnu.org>."
3018 _ACEOF
3020 cat >>$CONFIG_STATUS <<_ACEOF
3021 ac_cs_version="\\
3022 GNU Automake config.status 1.9a
3023 configured by $0, generated by GNU Autoconf 2.59c,
3024 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3026 Copyright (C) 2005 Free Software Foundation, Inc.
3027 This config.status script is free software; the Free Software Foundation
3028 gives unlimited permission to copy, distribute and modify it."
3029 ac_pwd='$ac_pwd'
3030 srcdir='$srcdir'
3031 INSTALL="$INSTALL"
3032 _ACEOF
3034 cat >>$CONFIG_STATUS <<\_ACEOF
3035 # If no file are specified by the user, then we need to provide default
3036 # value. By we need to know if files were specified by the user.
3037 ac_need_defaults=:
3038 while test $# != 0
3040 case $1 in
3041 --*=*)
3042 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3043 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3044 ac_shift=:
3047 ac_option=$1
3048 ac_optarg=$2
3049 ac_shift=shift
3051 *) # This is not an option, so the user has probably given explicit
3052 # arguments.
3053 ac_option=$1
3054 ac_need_defaults=false;;
3055 esac
3057 case $ac_option in
3058 # Handling of the options.
3059 _ACEOF
3060 cat >>$CONFIG_STATUS <<\_ACEOF
3061 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3062 ac_cs_recheck=: ;;
3063 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3064 echo "$ac_cs_version"; exit ;;
3065 --debug | --debu | --deb | --de | --d | -d )
3066 debug=: ;;
3067 --file | --fil | --fi | --f )
3068 $ac_shift
3069 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3070 ac_need_defaults=false;;
3071 --he | --h | --help | --hel | -h )
3072 echo "$ac_cs_usage"; exit ;;
3073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3074 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3075 ac_cs_silent=: ;;
3077 # This is an error.
3078 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3079 Try \`$0 --help' for more information." >&5
3080 echo "$as_me: error: unrecognized option: $1
3081 Try \`$0 --help' for more information." >&2;}
3082 { (exit 1); exit 1; }; } ;;
3084 *) ac_config_targets="$ac_config_targets $1" ;;
3086 esac
3087 shift
3088 done
3090 ac_configure_extra_args=
3092 if $ac_cs_silent; then
3093 exec 6>/dev/null
3094 ac_configure_extra_args="$ac_configure_extra_args --silent"
3097 _ACEOF
3098 cat >>$CONFIG_STATUS <<_ACEOF
3099 if \$ac_cs_recheck; then
3100 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3101 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3104 _ACEOF
3106 cat >>$CONFIG_STATUS <<_ACEOF
3108 # INIT-COMMANDS section.
3111 APIVERSION=$APIVERSION
3113 _ACEOF
3117 cat >>$CONFIG_STATUS <<\_ACEOF
3118 for ac_config_target in $ac_config_targets
3120 case "$ac_config_target" in
3121 # Handling of arguments.
3122 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3123 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3124 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3125 "lib/Automake/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3126 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3127 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3128 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3129 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3130 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3131 "tests/aclocal-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3132 "tests/automake-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3133 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3134 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3135 { (exit 1); exit 1; }; };;
3136 esac
3137 done
3139 # If the user did not use the arguments to specify the items to instantiate,
3140 # then the envvar interface is used. Set only those that are not.
3141 # We use the long form for the default assignment because of an extremely
3142 # bizarre bug on SunOS 4.1.3.
3143 if $ac_need_defaults; then
3144 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3147 # Have a temporary directory for convenience. Make it in the build tree
3148 # simply because there is no reason against having it here, and in addition,
3149 # creating and moving files from /tmp can sometimes cause problems.
3150 # Hook for its removal unless debugging.
3151 $debug ||
3153 trap 'exit_status=$?; rm -fr "$tmp" && exit $exit_status' 0
3154 trap '{ (exit 1); exit 1; }' 1 2 13 15
3156 # Create a (secure) tmp directory for tmp files.
3159 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3160 test -n "$tmp" && test -d "$tmp"
3161 } ||
3163 tmp=./conf$$-$RANDOM
3164 (umask 077 && mkdir "$tmp")
3165 } ||
3167 echo "$me: cannot create a temporary directory in ." >&2
3168 { (exit 1); exit 1; }
3171 _ACEOF
3173 cat >>$CONFIG_STATUS <<\_ACEOF
3175 # CONFIG_FILES section.
3178 # No need to generate the scripts if there are no CONFIG_FILES.
3179 # This happens for instance when ./config.status config.h
3180 if test -n "$CONFIG_FILES"; then
3182 _ACEOF
3186 ac_delim='%!_!# '
3187 for ac_last_try in false false false false false :; do
3188 cat >conf$$subs.sed <<_ACEOF
3189 SHELL!$SHELL$ac_delim
3190 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3191 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3192 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3193 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3194 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3195 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3196 exec_prefix!$exec_prefix$ac_delim
3197 prefix!$prefix$ac_delim
3198 program_transform_name!$program_transform_name$ac_delim
3199 bindir!$bindir$ac_delim
3200 sbindir!$sbindir$ac_delim
3201 libexecdir!$libexecdir$ac_delim
3202 datarootdir!$datarootdir$ac_delim
3203 datadir!$datadir$ac_delim
3204 sysconfdir!$sysconfdir$ac_delim
3205 sharedstatedir!$sharedstatedir$ac_delim
3206 localstatedir!$localstatedir$ac_delim
3207 includedir!$includedir$ac_delim
3208 oldincludedir!$oldincludedir$ac_delim
3209 docdir!$docdir$ac_delim
3210 infodir!$infodir$ac_delim
3211 htmldir!$htmldir$ac_delim
3212 dvidir!$dvidir$ac_delim
3213 pdfdir!$pdfdir$ac_delim
3214 psdir!$psdir$ac_delim
3215 libdir!$libdir$ac_delim
3216 localedir!$localedir$ac_delim
3217 mandir!$mandir$ac_delim
3218 DEFS!$DEFS$ac_delim
3219 ECHO_C!$ECHO_C$ac_delim
3220 ECHO_N!$ECHO_N$ac_delim
3221 ECHO_T!$ECHO_T$ac_delim
3222 LIBS!$LIBS$ac_delim
3223 build_alias!$build_alias$ac_delim
3224 host_alias!$host_alias$ac_delim
3225 target_alias!$target_alias$ac_delim
3226 build!$build$ac_delim
3227 build_cpu!$build_cpu$ac_delim
3228 build_vendor!$build_vendor$ac_delim
3229 build_os!$build_os$ac_delim
3230 am_AUTOCONF!$am_AUTOCONF$ac_delim
3231 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3232 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3233 INSTALL_DATA!$INSTALL_DATA$ac_delim
3234 CYGPATH_W!$CYGPATH_W$ac_delim
3235 PACKAGE!$PACKAGE$ac_delim
3236 VERSION!$VERSION$ac_delim
3237 ACLOCAL!$ACLOCAL$ac_delim
3238 AUTOCONF!$AUTOCONF$ac_delim
3239 AUTOMAKE!$AUTOMAKE$ac_delim
3240 AUTOHEADER!$AUTOHEADER$ac_delim
3241 MAKEINFO!$MAKEINFO$ac_delim
3242 install_sh!$install_sh$ac_delim
3243 STRIP!$STRIP$ac_delim
3244 ac_ct_STRIP!$ac_ct_STRIP$ac_delim
3245 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3246 mkdir_p!$mkdir_p$ac_delim
3247 AWK!$AWK$ac_delim
3248 SET_MAKE!$SET_MAKE$ac_delim
3249 am__leading_dot!$am__leading_dot$ac_delim
3250 AMTAR!$AMTAR$ac_delim
3251 am__tar!$am__tar$ac_delim
3252 am__untar!$am__untar$ac_delim
3253 APIVERSION!$APIVERSION$ac_delim
3254 pkgvdatadir!$pkgvdatadir$ac_delim
3255 PERL!$PERL$ac_delim
3256 TEX!$TEX$ac_delim
3257 LN!$LN$ac_delim
3258 MODIFICATION_DELAY!$MODIFICATION_DELAY$ac_delim
3259 GREP!$GREP$ac_delim
3260 EGREP!$EGREP$ac_delim
3261 FGREP!$FGREP$ac_delim
3262 LIBOBJS!$LIBOBJS$ac_delim
3263 LTLIBOBJS!$LTLIBOBJS$ac_delim
3264 _ACEOF
3266 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 75; then
3267 break
3268 elif $ac_last_try; then
3269 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3270 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3271 { (exit 1); exit 1; }; }
3272 else
3273 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3275 done
3277 ac_eof=`sed -n '/^CEOF0-9*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3278 ac_eof=`expr 0$ac_eof + 1`
3280 cat >>$CONFIG_STATUS <<_ACEOF
3281 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3282 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3283 _ACEOF
3284 sed '
3285 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3286 s/^/s,@/; s/!/@,|#_!!_#|/
3289 s/'"$ac_delim"'$/,g/; t
3290 s/$/\\/; p
3291 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3292 ' >>$CONFIG_STATUS <conf$$subs.sed
3293 rm -f conf$$subs.sed
3294 cat >>$CONFIG_STATUS <<_ACEOF
3295 :end
3296 s/|#_!!_#|//g
3297 CEOF$ac_eof
3298 _ACEOF
3300 cat >>$CONFIG_STATUS <<\_ACEOF
3301 fi # test -n "$CONFIG_FILES"
3303 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3304 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3305 case $ac_file in
3306 - | *:- | *:-:* ) # input from stdin
3307 cat >"$tmp/stdin" ;;
3308 esac
3309 case $ac_file in
3310 *:*) ac_file_in=`expr "X$ac_file" : 'X[^:]*:\(.*\)'`
3311 ac_file=`expr "X$ac_file" : 'X\([^:]*\)'` ;;
3312 -) ac_file_in=- ;;
3313 *) ac_file_in=$ac_file.in ;;
3314 esac
3316 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3317 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3318 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3319 X"$ac_file" : 'X\(//\)[^/]' \| \
3320 X"$ac_file" : 'X\(//\)$' \| \
3321 X"$ac_file" : 'X\(/\)' \| \
3322 . : '\(.\)' 2>/dev/null ||
3323 echo X"$ac_file" |
3324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3325 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3326 /^X\(\/\/\)$/{ s//\1/; q; }
3327 /^X\(\/\).*/{ s//\1/; q; }
3328 s/.*/./; q'`
3329 { if $as_mkdir_p; then
3330 test -d "$ac_dir" || mkdir -p "$ac_dir"
3331 else
3332 as_dir="$ac_dir"
3333 as_dirs=
3334 while test ! -d "$as_dir"; do
3335 as_dirs="$as_dir $as_dirs"
3336 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3338 X"$as_dir" : 'X\(//\)[^/]' \| \
3339 X"$as_dir" : 'X\(//\)$' \| \
3340 X"$as_dir" : 'X\(/\)' \| \
3341 . : '\(.\)' 2>/dev/null ||
3342 echo X"$as_dir" |
3343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3344 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3345 /^X\(\/\/\)$/{ s//\1/; q; }
3346 /^X\(\/\).*/{ s//\1/; q; }
3347 s/.*/./; q'`
3348 done
3349 test ! -n "$as_dirs" || mkdir $as_dirs
3350 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3351 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3352 { (exit 1); exit 1; }; }; }
3354 ac_builddir=.
3356 case "$ac_dir" in
3357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3359 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3360 # A ".." for each directory in $ac_dir_suffix.
3361 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3362 case $ac_top_builddir_sub in
3363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3365 esac ;;
3366 esac
3367 ac_abs_top_builddir=$ac_pwd
3368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3369 # for backward compatibility:
3370 ac_top_builddir=$ac_top_build_prefix
3372 case $srcdir in
3373 .) # No --srcdir option. We are building in place.
3374 ac_srcdir=.
3375 ac_top_srcdir=$ac_top_builddir_sub
3376 ac_abs_top_srcdir=$ac_pwd ;;
3377 [\\/]* | ?:[\\/]* ) # Absolute name.
3378 ac_srcdir=$srcdir$ac_dir_suffix;
3379 ac_top_srcdir=$srcdir
3380 ac_abs_top_srcdir=$srcdir ;;
3381 *) # Relative name.
3382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3383 ac_top_srcdir=$ac_top_build_prefix$srcdir
3384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3385 esac
3386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3389 case $INSTALL in
3390 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3391 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3392 esac
3394 if test x"$ac_file" != x-; then
3395 { echo "$as_me:$LINENO: creating $ac_file" >&5
3396 echo "$as_me: creating $ac_file" >&6;}
3397 rm -f "$ac_file"
3399 # Let's still pretend it is `configure' which instantiates (i.e., don't
3400 # use $as_me), people would be surprised to read:
3401 # /* config.h. Generated by config.status. */
3402 if test x"$ac_file" = x-; then
3403 configure_input=
3404 else
3405 configure_input="$ac_file. "
3407 configure_input=$configure_input"Generated from `echo $ac_file_in |
3408 sed 's,.*/,,'` by configure."
3410 # First look for the input files in the build tree, otherwise in the
3411 # src tree.
3412 ac_file_inputs=`IFS=:
3413 for f in $ac_file_in; do
3414 case $f in
3415 -) echo "$tmp/stdin" ;;
3416 [\\/$]*)
3417 # Absolute (can't be DOS-style, as IFS=:)
3418 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3419 echo "$as_me: error: cannot find input file: $f" >&2;}
3420 { (exit 1); exit 1; }; }
3421 echo "$f";;
3422 *) # Relative
3423 if test -f "$f"; then
3424 # Build tree
3425 echo "$f"
3426 elif test -f "$srcdir/$f"; then
3427 # Source tree
3428 echo "$srcdir/$f"
3429 else
3430 # /dev/null tree
3431 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3432 echo "$as_me: error: cannot find input file: $f" >&2;}
3433 { (exit 1); exit 1; }; }
3434 fi;;
3435 esac
3436 done` || { (exit 1); exit 1; }
3437 _ACEOF
3438 cat >>$CONFIG_STATUS <<_ACEOF
3439 sed "$ac_vpsub
3440 $extrasub
3441 _ACEOF
3442 cat >>$CONFIG_STATUS <<\_ACEOF
3444 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3445 s&@configure_input@&$configure_input&;t t
3446 s&@top_builddir@&$ac_top_builddir_sub&;t t
3447 s&@srcdir@&$ac_srcdir&;t t
3448 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3449 s&@top_srcdir@&$ac_top_srcdir&;t t
3450 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3451 s&@builddir@&$ac_builddir&;t t
3452 s&@abs_builddir@&$ac_abs_builddir&;t t
3453 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3454 s&@INSTALL@&$ac_INSTALL&;t t
3455 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3456 rm -f "$tmp/stdin"
3457 if test x"$ac_file" != x-; then
3458 mv "$tmp/out" $ac_file
3459 else
3460 cat "$tmp/out"
3461 rm -f "$tmp/out"
3464 # Run the commands associated with the file.
3465 case $ac_file in
3466 tests/aclocal-${APIVERSION} ) chmod +x tests/aclocal-${APIVERSION} ;;
3467 tests/automake-${APIVERSION} ) chmod +x tests/automake-${APIVERSION} ;;
3468 esac
3469 done
3470 _ACEOF
3472 cat >>$CONFIG_STATUS <<\_ACEOF
3474 { (exit 0); exit 0; }
3475 _ACEOF
3476 chmod +x $CONFIG_STATUS
3477 ac_clean_files=$ac_clean_files_save
3480 # configure is writing to config.log, and then calls config.status.
3481 # config.status does its own redirection, appending to config.log.
3482 # Unfortunately, on DOS this fails, as config.log is still kept open
3483 # by configure, so config.status won't be able to write to it; its
3484 # output is simply discarded. So we exec the FD to /dev/null,
3485 # effectively closing config.log, so it can be properly (re)opened and
3486 # appended to by config.status. When coming back to configure, we
3487 # need to make the FD available again.
3488 if test "$no_create" != yes; then
3489 ac_cs_success=:
3490 ac_config_status_args=
3491 test "$silent" = yes &&
3492 ac_config_status_args="$ac_config_status_args --quiet"
3493 exec 5>/dev/null
3494 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3495 exec 5>>config.log
3496 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3497 # would make configure fail if this is the last instruction.
3498 $ac_cs_success || { (exit 1); exit 1; }