Richard Boulton [Fri, 3 Aug 2001 11:57:16 +0000 (11:57 +0000)]
2001-08-03 Richard Boulton <richard@tartarus.org>
* automake.in (value_to_list): Check for whether $from is defined,
rather than whether it is true, so that empty $froms are allowed in
substitution reference patterns.
* tests/substref.test: New file: test behavior of substitution
references when the $from side of the substitution is empty.
* tests/Makefile.am (TESTS): Added substref.test.
Alexandre Duret-Lutz [Fri, 3 Aug 2001 08:28:21 +0000 (08:28 +0000)]
* m4/install-sh.m4: New file.
* m4/Makefile.am (m4data_DATA): Add install-sh.m4.
* m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
* m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
for install.sh any longer, always use install-sh, don't even
fall back to missing. Use $am_aux_dir, making $install_sh absolute.
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
is absolute.
* m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
Tom Tromey [Thu, 2 Aug 2001 22:40:25 +0000 (22:40 +0000)]
2001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
* automake.texi (EXEEXT): Clarify.
Alexandre Duret-Lutz [Wed, 1 Aug 2001 16:23:55 +0000 (16:23 +0000)]
* m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
Alexandre Duret-Lutz [Wed, 1 Aug 2001 16:19:57 +0000 (16:19 +0000)]
* m4/auxdir.m4: More comments.
Tom Tromey [Wed, 1 Aug 2001 06:04:16 +0000 (06:04 +0000)]
2001-07-31 Richard Boulton <richard@tartarus.org>
Raja R Harinath <harinath@cs.umn.edu>
* automake.in (variable_conditions_sub): Remove @parent_conds
argument. This was old logic - duplicate or impossible
conditionals are removed later by &variable_conditions_reduce().
Fixes tests/cond13.test.
(conditionals_true_when): Removed.
* tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
Tom Tromey [Tue, 31 Jul 2001 16:39:38 +0000 (16:39 +0000)]
* tests/Makefile.am (TESTS): Added cond13.test.
(XFAIL_TESTS): Likewise.
* tests/cond13.test: New file.
Tom Tromey [Tue, 31 Jul 2001 06:09:19 +0000 (06:09 +0000)]
* configure.in: Upped to version 1.4k.
Tom Tromey [Tue, 31 Jul 2001 05:45:25 +0000 (05:45 +0000)]
* configure.in: Released 1.4j.
Tom Tromey [Tue, 31 Jul 2001 05:37:31 +0000 (05:37 +0000)]
* lib/config.guess: Updated from master sources.
* lib/config.sub: Likewise.
Tom Tromey [Tue, 31 Jul 2001 05:22:13 +0000 (05:22 +0000)]
* automake.texi (A Program): Typo. Added subsections and more
text about conditional compilation.
(A Shared Library): Moved earlier.
(Program variables): Updated LINK text. Added AM_CFLAGS.
(C++ Support): Added AM_CXXFLAGS.
(Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
(EXEEXT): New node.
Tom Tromey [Tue, 31 Jul 2001 04:22:07 +0000 (04:22 +0000)]
* tests/Makefile.am (TESTS): Added aclibobj.test.
* tests/aclibobj.test: New file.
* automake.in (handle_lib_objects_cond): Avoid undefined variable
error.
(scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
Tom Tromey [Mon, 30 Jul 2001 22:00:07 +0000 (22:00 +0000)]
* automake.texi (Dist): Mention other distribution types.
(Install): Updates.
Tom Tromey [Sun, 29 Jul 2001 17:51:41 +0000 (17:51 +0000)]
* automake.texi (Program and Library Variables): Texinfo fix.
From Alexey Mahotkin.
Tom Tromey [Sat, 28 Jul 2001 19:34:10 +0000 (19:34 +0000)]
* automake.texi (Strictness): Mention Cygnus mode.
(Cygnus): Updated.
(Uniform): Likewise.
(Canonicalization): Likewise.
(Install): Add `nobase_' to example; typo fix.
(Clean): Typo.
(Dist): Expand on putting a directory into EXTRA_DIST. Insert
section markers.
(Options): Texinfo fixes; some text updates.
(Tags): Update.
Tom Tromey [Fri, 27 Jul 2001 15:34:14 +0000 (15:34 +0000)]
* automake.texi (Invoking Automake): Document --Werror and
--Wno-error.
Tom Tromey [Fri, 27 Jul 2001 03:36:55 +0000 (03:36 +0000)]
* tests/nolink.test: Added no-exeext.
Tom Tromey [Fri, 27 Jul 2001 02:34:40 +0000 (02:34 +0000)]
* automake.in (check_variable_defined_unconditionally): Don't call
macro_dump.
Tom Tromey [Fri, 27 Jul 2001 02:29:42 +0000 (02:29 +0000)]
* automake.texi (Optional): Don't mention ALL_LINGUAS.
(gettext): Likewise.
* automake.in (seen_linguas, all_linguas, all_linguas_line):
Removed.
(handle_gettext): Don't do any checking of the languages.
(scan_one_autoconf_file): Don't look for ALL_LINGUAS.
Tom Tromey [Fri, 27 Jul 2001 00:02:43 +0000 (00:02 +0000)]
* automake.in (am_print_error): New function.
(am_error): Use it.
(am_file_error): Likewise.
(am_line_error): Likewise.
(am_conf_error): Likewise.
(am_conf_line_error): Likewise.
* automake.texi (Options): Document no-exeext.
* automake.in (handle_options): Recognize no-exeext.
(rule_define): Handle no-exeext.
* tests/Makefile.am (TESTS): Added new file.
* tests/exeext2.test: New file.
* automake.in (make_input_list): Removed.
(scan_autoconf_config_files): Don't add to make_input_list.
(scan_one_autoconf_file): Don't use make_input_list.
(scan_autoconf_files): Use make_list, not make_input_list.
(scan_autoconf_files): Likewise.
* automake.in (seen_exeext): Removed.
(generate_makefile): Don't define EXEEXT or OBJEXT.
(scan_one_autoconf_file): Don't check for AC_EXEEXT.
(am_install_var): Don't check $seen_exeext.
(handle_programs): Likewise.
(rule_define): Allow x to override x$(EXEEXT), for now.
(file_contents_internal): Only define rule if rule_define allows
us to.
* m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
Tom Tromey [Wed, 25 Jul 2001 15:27:36 +0000 (15:27 +0000)]
From Nicolas Joly:
* tests/pr9.test: Require GNU make.
* tests/dirname.test: Don't use `-u'.
Tom Tromey [Tue, 24 Jul 2001 17:56:33 +0000 (17:56 +0000)]
typo + new comment
Tom Tromey [Mon, 23 Jul 2001 01:01:53 +0000 (01:01 +0000)]
* tests/Makefile.am (TESTS): Added auxdir2.test.
(XFAIL_TESTS): Likewise.
* tests/auxdir2.test: New file.
Tom Tromey [Mon, 23 Jul 2001 00:53:50 +0000 (00:53 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
* automake.in (TARGET_PATTERN): Add `@' as allowable character.
Tom Tromey [Sun, 22 Jul 2001 22:16:30 +0000 (22:16 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
* automake.in (am_install_var): Add $(EXEEXT) even if program name
holds `.'. Don't add $(EXEEXT) if program name already has it.
(handle_programs): Don't add $(EXEEXT) if user already did.
(make_paragraphs): Don't compute EXEEXT.
Tom Tromey [Sun, 22 Jul 2001 22:01:17 +0000 (22:01 +0000)]
* tests/Makefile.am (TESTS): Added exeext.test.
(XFAIL_TESTS): Likewise.
* tests/exeext.test: New file.
Tom Tromey [Sun, 22 Jul 2001 21:50:18 +0000 (21:50 +0000)]
* lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog, not
`prog.exe' on Cygwin with libtool. From Robert Collins.
Tim Van Holder [Sun, 22 Jul 2001 00:27:52 +0000 (00:27 +0000)]
Removed the "SKIP:" message.
Tim Van Holder [Sun, 22 Jul 2001 00:25:35 +0000 (00:25 +0000)]
* tests/dirname.test: Explicitly use $SHELL to run the
script; this avoids failures on DJGPP.
* tests/install2.test: Skip if 'chmod 000' doesn't make
a file unreadable.
Tom Tromey [Sat, 21 Jul 2001 23:46:10 +0000 (23:46 +0000)]
* tests/libtool2.test: Check for libtoolize.
Tom Tromey [Sat, 21 Jul 2001 22:46:14 +0000 (22:46 +0000)]
* tests/Makefile.am (TESTS): Added substtart.test.
(XFAIL_TESTS): Likewise.
* tests/substtarg.test: New file.
Tom Tromey [Sat, 21 Jul 2001 19:34:32 +0000 (19:34 +0000)]
* automake.in (handle_dist): Handle case where aux dir doesn't
have a Makefile. Fixes depdist.test.
* tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
* tests/depdist.test: Look for config/depcomp.
* tests/Makefile.am (TESTS): Added depdist.test.
(XFAIL_TESTS): Likewise.
* tests/depdist.test: New file. From Eric Magnien.
Tom Tromey [Sat, 21 Jul 2001 18:55:37 +0000 (18:55 +0000)]
* tests/ccnoco.test: Removed `configure.2' test; in autocon 2.50
AC_PROG_CC_C_O does require AC_PROG_CC.
Tom Tromey [Sat, 21 Jul 2001 18:45:47 +0000 (18:45 +0000)]
From Erik Lindahl:
* lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
`foo.o.d'.
* m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
output is suitable for make.
Tom Tromey [Sat, 21 Jul 2001 18:35:20 +0000 (18:35 +0000)]
* automake.texi (Macros): Document AM_PROG_AS.
(Assembly Support): New node.
* m4/Makefile.am (m4data_DATA): Added as.m4.
* m4/as.m4: New file.
Tom Tromey [Sat, 21 Jul 2001 18:19:38 +0000 (18:19 +0000)]
* automake.texi (Tags): Added uref to global tags.
Tim Van Holder [Sat, 21 Jul 2001 09:57:42 +0000 (09:57 +0000)]
* automake.in (handle_single_transform_list): Use $(DEPDIR)
instead of hardcoding '.deps'.
* m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
Tom Tromey [Sat, 21 Jul 2001 05:27:26 +0000 (05:27 +0000)]
* m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
locations.
* tests/dirname.test: New test.
* tests/stamph2.test: New test.
* tests/Makefile.am: Add new tests.
* tests/Makefile.in: Regenerated.
Tom Tromey [Fri, 20 Jul 2001 01:28:34 +0000 (01:28 +0000)]
* automake.texi (Tags): Document GTAGS_ARGS.
* lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
Tom Tromey [Fri, 20 Jul 2001 01:25:14 +0000 (01:25 +0000)]
2001-07-19 Tom Tromey <tromey@redhat.com>
Alexandre Duret-Lutz <duret_g@epita.fr>
Fix for ccnoco.test, subobj8.test:
* m4/Makefile.am (m4data_DATA): Added auxdir.m4.
* tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
subobj8.test.
* m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
Use AM_AUX_DIR_EXPAND.
* lib/compile: Handle case where `-o' argument is the name of an
executable, not an object file.
* m4/auxdir.m4: New file, from...
* m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
* automake.in (handle_single_transform_list, lang_c_rewrite):
Require compile using `require_config_file'.
Tom Tromey [Fri, 20 Jul 2001 01:22:47 +0000 (01:22 +0000)]
* automake.texi (Program and Library Variables): Added X example
for _LDADD.
Tom Tromey [Fri, 20 Jul 2001 01:03:20 +0000 (01:03 +0000)]
* automake.texi (Distributing): Updated to reflect new license.
Alexandre Duret-Lutz [Thu, 19 Jul 2001 07:49:13 +0000 (07:49 +0000)]
* automake.in (require_build_directory): New function, extracted
from ...
(handle_single_transform_list): ... here.
(require_build_directory_maybe): New function.
(handle_prograns, handle_libraries, handle_ltlibraries): Call
require_build_directory_maybe() to ensure the subdirectory
in which a target may lie will exist when the target is created.
(handle_libraries, handle_ltlibraries): Use basename before
checking library name.
* lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
* lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
* lib/am/program.am (%PROGRAM%): Likewise.
Tom Tromey [Thu, 19 Jul 2001 00:49:57 +0000 (00:49 +0000)]
2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
* m4/missing.m4: Reword comment.
Pavel Roskin [Wed, 18 Jul 2001 14:56:23 +0000 (14:56 +0000)]
* automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
* tests/gcj.test: Likewise.
* tests/gcj2.test: Likewise.
* tests/gcj3.test: Likewise.
Tom Tromey [Wed, 18 Jul 2001 05:59:07 +0000 (05:59 +0000)]
* lib/compile: Change how lockdir is computed. If linking or
compiling without `-o', just run the compiler.
Tom Tromey [Wed, 18 Jul 2001 05:49:46 +0000 (05:49 +0000)]
* tests/Makefile.am (TESTS): Added ccnoco.test.
(XFAIL_TESTS): Likewise.
* tests/ccnoco.test: New file.
Tom Tromey [Tue, 17 Jul 2001 06:00:37 +0000 (06:00 +0000)]
* lib/ylwrap: Added special exception.
* lib/py-compile: Added license.
* lib/mdate-sh: Added special exception.
* lib/elisp-comp: Added special exception.
* lib/compile: Added special exception.
* lib/depcomp: Added special exception.
Tom Tromey [Tue, 17 Jul 2001 05:53:49 +0000 (05:53 +0000)]
Report from Motoyuki Kasahara:
* tests/make.test: Use am__include.
* tests/exsource.test: Use am__include.
* m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
* automake.in (handle_languages): Use am__include and am__quote.
Tom Tromey [Tue, 17 Jul 2001 05:40:56 +0000 (05:40 +0000)]
* m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
* m4/init.m4: Updated callers.
Tom Tromey [Tue, 17 Jul 2001 05:36:23 +0000 (05:36 +0000)]
2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
* aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
* aclocal.in (scan_configure, add_file): Handle the full macro
name even if it contains numbers, such as I18N.
Tom Tromey [Tue, 17 Jul 2001 05:35:54 +0000 (05:35 +0000)]
* automake.texi (Dependencies): Link to dependency tracking page.
(Data): Mention dist_.
(Clean): Mention clean heuristics.
(Install): Mention nobase_.
Tom Tromey [Tue, 17 Jul 2001 04:19:40 +0000 (04:19 +0000)]
* automake.texi (Program and Library Variables): Document _LINK.
Tom Tromey [Tue, 17 Jul 2001 03:38:32 +0000 (03:38 +0000)]
2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_libraries): Allow libraries to lie in
a subdirectory by constraining only the basename to start
with 'lib', not the whole path.
Tom Tromey [Mon, 16 Jul 2001 21:29:12 +0000 (21:29 +0000)]
2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/subobj8.test: New file.
* tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
Tom Tromey [Mon, 16 Jul 2001 16:19:38 +0000 (16:19 +0000)]
Fix for PR automake/212:
* lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
(uninstall-%DIR%LISP): Likewise.
Tom Tromey [Sun, 15 Jul 2001 22:17:18 +0000 (22:17 +0000)]
* automake.in (usage): Rewrote code to handle columnization.
From Alexey Mahotkin and Maxim Sinev.
Tom Tromey [Sun, 15 Jul 2001 21:55:07 +0000 (21:55 +0000)]
Report from Ralf Corsepius:
* automake.in (TARGET_PATTERN): Add `+' as valid character.
(SUFFIX_RULE_PATTERN): Likewise.
* tests/Makefile.am (TESTS): Added cxx.test.
* tests/cxx.test: New file.
Tom Tromey [Sun, 15 Jul 2001 21:29:28 +0000 (21:29 +0000)]
* lib/am/tags.am (distclean-tags): Remove files for gtags.
From Shigio Yamaguchi.
Tom Tromey [Sat, 14 Jul 2001 20:12:52 +0000 (20:12 +0000)]
2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* lib/am/distdir.am (distcheck): Emit diagnostic when files
remain after "make uninstall".
Tom Tromey [Sat, 14 Jul 2001 19:33:03 +0000 (19:33 +0000)]
* lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
Tom Tromey [Sat, 14 Jul 2001 19:30:42 +0000 (19:30 +0000)]
* lib/missing (makeinfo): Redirect stdout and stderr outside
subshell. From Alexandre Oliva.
Akim Demaille [Sat, 14 Jul 2001 17:32:10 +0000 (17:32 +0000)]
* aclocal.in: (): No need for `\b(foo\b|\bbar)\b',
`\b(foo|bar)\b' is what we want.
Akim Demaille [Sat, 14 Jul 2001 17:15:03 +0000 (17:15 +0000)]
* automake.in ($obsolete_rx): No need for `b(foob|bbar)b',
`b(foo|bar)b' is what we want.
Akim Demaille [Sat, 14 Jul 2001 17:12:26 +0000 (17:12 +0000)]
* m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
not used.
Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
actually modified to require AM_DEPENDENCIES.
Rename `confdir' as `conftest.dir' so that the configure trap
remove it.
Tom Tromey [Thu, 5 Jul 2001 01:19:35 +0000 (01:19 +0000)]
Fix for nolink.test:
* tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
* lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
* automake.in (am_install_var): Only rewrite PROGRAMS if
$seen_exeext.
(make_paragraphs): Always define %EXEEXT%.
Tom Tromey [Thu, 5 Jul 2001 00:26:43 +0000 (00:26 +0000)]
2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/nolink.test: New file.
* tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
Tom Tromey [Wed, 4 Jul 2001 18:58:33 +0000 (18:58 +0000)]
2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
* automake.in (scan_texinfo_file): Add the second argument to
`@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
itself may not be used directly.
Tom Tromey [Wed, 4 Jul 2001 15:29:37 +0000 (15:29 +0000)]
* missing: Updated.
* lib/missing (makeinfo): Use subshell, not explicit sh
invocation.
Tom Tromey [Wed, 4 Jul 2001 15:28:09 +0000 (15:28 +0000)]
* automake.texi (Headers): Mention that we prefer uninstalled
headers in _SOURCES.
(ANSI): Mention cross-compilation limitation.
Tom Tromey [Wed, 4 Jul 2001 03:44:18 +0000 (03:44 +0000)]
* configure.in: Upped to 1.4i.
Tom Tromey [Wed, 4 Jul 2001 03:25:16 +0000 (03:25 +0000)]
* configure.in: Released 1.4h.
Tom Tromey [Wed, 4 Jul 2001 03:21:59 +0000 (03:21 +0000)]
* lib/config.guess, lib/config.sub: Updated.
Tom Tromey [Tue, 3 Jul 2001 04:19:36 +0000 (04:19 +0000)]
Fix for libtool2.test:
* tests/libtool2.test: Use `rm -f' to placate maintainer-check.
* lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
* automake.in (generate_makefile): Call handle_libtool
unconditionally.
* tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
Tom Tromey [Tue, 3 Jul 2001 03:47:56 +0000 (03:47 +0000)]
* tests/libtool2.test: Look for `.lo' files to be removed.
Tom Tromey [Mon, 2 Jul 2001 20:14:34 +0000 (20:14 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
Tom Tromey [Mon, 2 Jul 2001 20:13:19 +0000 (20:13 +0000)]
* tests/Makefile.am (TESTS): Removed dup.test.
* tests/dup.test: Removed.
* aclocal.in (scan_file): Don't give error for duplicate macro.
Tom Tromey [Mon, 2 Jul 2001 00:50:29 +0000 (00:50 +0000)]
* automake.texi (Program and Library Variables): Document
subdir-objects. Document fact that per-object flags override AM_
flags.
(Options): Likewise.
(Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
(Multilibs): New node.
(Macros): Documented missing macros.
(Auxiliary Programs): New node.
Tom Tromey [Mon, 2 Jul 2001 00:49:17 +0000 (00:49 +0000)]
updated second copy of missing. bleah.
Tom Tromey [Mon, 2 Jul 2001 00:48:12 +0000 (00:48 +0000)]
* lib/missing (makeinfo): If makeinfo exists, and we're in --run
mode, then simply fail.
Tom Tromey [Sun, 1 Jul 2001 23:46:00 +0000 (23:46 +0000)]
2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
* lib/ylwrap: Improve support for DOS paths (and paths
containing backslashes in general).
Tom Tromey [Sun, 1 Jul 2001 23:39:06 +0000 (23:39 +0000)]
* lib/missing: Added special exception to license.
Tom Tromey [Sun, 1 Jul 2001 23:33:08 +0000 (23:33 +0000)]
* missing: Updated.
* lib/missing: Updated. Added comment explaining configure.ac
oddity.
Tom Tromey [Sun, 1 Jul 2001 23:21:24 +0000 (23:21 +0000)]
* lib/depcomp: Reorder arguments to gcc3.
From Per Oyvind Hvidsten.
Tom Tromey [Sun, 1 Jul 2001 23:18:09 +0000 (23:18 +0000)]
* tests/Makefile.am (TESTS): Added libtool2.test.
* tests/libtool2.test: New file.
Tom Tromey [Sun, 1 Jul 2001 23:17:37 +0000 (23:17 +0000)]
* automake.texi (Program and Library Variables): Added example for
_AR.
Tom Tromey [Sun, 1 Jul 2001 22:51:38 +0000 (22:51 +0000)]
2001-06-29 Tom Tromey <tromey@redhat.com>
* tests/cond11.test: Use `=', not `=='.
* tests/cond12.test: Look for automake in build directory, not
source directory.
2001-06-29 Richard Boulton <richard@tartarus.org>
* automake.in (conditionals_true_when): Pass first parameters by
reference, avoiding bug which put all parameters in @CONDS instead
of @WHENS. Report by Kalle Olavi Niemitalo.
Take a single WHEN instead of an array of WHENS.
Remove FIXME; can't now have an empty @WHENS.
(conditional_is_redundant): New sub.
(variable_conditions_reduce): Check whether each condition is
implied by any of the other conditions (other those already
discarded), rather than checking only against those already
considered (and kept). Also, fix sense of check: was keeping
tautologous terms instead of discarding them. Use
conditional_is_redundant instead of conditionals_true_when.
* tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
* tests/cond11.test: New file.
* tests/cond12.test: New file.
Tom Tromey [Fri, 29 Jun 2001 06:55:25 +0000 (06:55 +0000)]
2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
* automake.in (saw_sources_p): Work even if there are more
than one header files, and more than of one type of header.
* tests/Makefile.am (TESTS): Added new file.
* tests/depend4.test: New file.
Tom Tromey [Thu, 28 Jun 2001 15:06:50 +0000 (15:06 +0000)]
2001-06-28 Tom Tromey <tromey@redhat.com>
* lib/am/libs.am (RANLIB): Don't define.
2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (am_install_var): Assign 1 to $first on
first interation.
Tom Tromey [Sun, 24 Jun 2001 03:38:27 +0000 (03:38 +0000)]
Fix for yacc5.test:
* lib/ylwrap: Changed usage.
* lib/am/yacc.am: Rewrote to use new substitutions.
* lib/am/lex.am: Likewise.
* automake.in (handle_languages): Skip files whose language
doesn't have a compiler. Handle `define_flag' attribute.
Changed '$' to "\$" to aid Emacs fontification.
(struct): Added `rule_file'. Removed `derived_autodep'. Added
`_target_hook' and `define_flag'.
(yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
and `compiler' attributes. Removed `linker', `derived_autodep',
and `ansi' attributes. Added `define_flag'.
(yacc, yaccxx): Added `_target_hook'.
(saw_extension): Count number of times extension seen.
(count_files_for_language): New sub.
(saw_sources_p): Use it.
(handle_single_transform_list): Allow language rewrite function
to return a new source extension. Call target_hook.
(yacc_sources, lex_sources): Removed.
(initialize_per_input): Don't initialize yacc_sources or
lex_sources.
(lang_yacc_rewrite): Rewrote.
(lang_yaccxx_rewrite): Likewise.
(lang_lex_rewrite): Likewise.
(lang_lexxx_rewrite): Likewise.
(output_yacc_build_rule): Removed.
(output_lex_build_rule): Removed.
(lang_yacc_finish): Removed build rule generation.
(lang_lex_finish): Likewise.
(DASH_D_PATTERN): New global.
(lang_yacc_target_hook): New function.
(_target_hook): New function.
(register_language): Default `define_flag'.
* tests/yacc5.test: Updated test.
* tests/yacc4.test: Exit with status 77 if bison doesn't work.
* tests/yacc3.test: Remove bogus `make' invocation. Added test
for all YFLAGS variables.
Tom Tromey [Wed, 20 Jun 2001 16:46:15 +0000 (16:46 +0000)]
* tests/yacc5.test: Check for per-executable YFLAGS.
Tom Tromey [Wed, 20 Jun 2001 00:47:57 +0000 (00:47 +0000)]
* tests/Makefile.am (TESTS): Added yacc5.test.
* tests/yacc5.test: New file.
Tom Tromey [Mon, 18 Jun 2001 01:08:35 +0000 (01:08 +0000)]
* automake.in (require_file_internal): Check for already-required
file after searching for it, and only if it is not found. Don't
use `readlink' when checking for dangling symlink. Work if
--force-missing specified.
* tests/acoutput2.test: Also test --force-missing.
Tom Tromey [Sun, 17 Jun 2001 19:02:40 +0000 (19:02 +0000)]
Fix for libtool.test:
* automake.in (generate_makefile): Call handle_libtool.
(handle_libtool): New sub.
(handle_compile): Don't read `libtool' file.
Tom Tromey [Sun, 17 Jun 2001 18:53:03 +0000 (18:53 +0000)]
* tests/acoutput2.test: New file.
* tests/Makefile.am (TESTS): Added acoutput2.test.
Tom Tromey [Fri, 15 Jun 2001 17:33:48 +0000 (17:33 +0000)]
* tests/Makefile.am (TESTS): Added libtool.test.
* tests/libtool.test: New file.
Tom Tromey [Fri, 15 Jun 2001 01:37:37 +0000 (01:37 +0000)]
Fix some lisp bugs reported by Bruno Haible:
* lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
echo.
(install-%DIR%LISP): Handle case where lispdir is not defined.
(uninstall-%DIR%LISP): Likewise.
(.el.elc): Added `else' clause.
Tom Tromey [Fri, 15 Jun 2001 01:25:11 +0000 (01:25 +0000)]
Fix for bug reported by Steve M. Robbins:
* automake.in (handle_single_transform_list): When building a file
from a subdirectory, continue to use `AM_' prefix.
* tests/Makefile.am (TESTS): Added subobj7.test.
* tests/subobj7.test: New file.
Tom Tromey [Fri, 15 Jun 2001 01:14:01 +0000 (01:14 +0000)]
* lib/am/configure.am ($(top_builddir)/config.status): Added
$(top_builddir) prefix to work around problems with some vendor
makes. From Nicholas Joly.
Tom Tromey [Fri, 15 Jun 2001 01:10:25 +0000 (01:10 +0000)]
* automake.in (yacc_lex_finish_helper): Find ylwrap in
top_srcdir. From Tim Van Holder.
* tests/Makefile.am (TESTS): Added yacc6.test.
* tests/yacc6.test: New file.