Tom Tromey [Thu, 21 Dec 2000 02:09:21 +0000 (02:09 +0000)]
From Kevin Ryde:
* automake.in (handle_footer): Always push user suffixes at the
start of .SUFFIXES:.
* automake.texi (Suffixes): Updated to reflect new suffix
handling.
Tom Tromey [Sun, 26 Nov 2000 01:39:48 +0000 (01:39 +0000)]
* automake.in (file_contents_with_transform): Added file name and
line number to error report.
(MACRO_PATTERH, BOGUS_MACRO_PATTERN): Leading spaces are ok.
Akim Demaille [Mon, 23 Oct 2000 18:58:33 +0000 (18:58 +0000)]
* aclocal.in (write_aclocal): Don't write aclocal.m4 with
CRLFs. This circumvents a bug in Cygwin bash.
* automake.in (generate_makefile): Don't write Makefile.in
files with CRLFs, as it causes problems for the dependency-file
extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
Pavel Roskin [Wed, 18 Oct 2000 03:26:55 +0000 (03:26 +0000)]
* automake.in (handle_aclocal_m4): exclude aclocal.m4 and
acinclude.m4 from the dependencies of aclocal.m4 to avoid
circular and duplicated dependencies. Strip "./" from the
dependencies.
Tom Tromey [Wed, 30 Aug 2000 17:54:33 +0000 (17:54 +0000)]
Fix for PR automake/72:
* automake.in (initialize_per_input): Define `need_link'.
(finish_languages): Use need_link.
(handle_source_transform): Set need_link if required.
Tom Tromey [Mon, 28 Aug 2000 23:33:28 +0000 (23:33 +0000)]
* automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
key.
(register_language): Default the `derived-autodep' option.
(handle_single_transform_list): Add to %dep_files if language has
`derived-autodep' set. Re-fixes lex4.test.
Tom Tromey [Sun, 27 Aug 2000 23:42:18 +0000 (23:42 +0000)]
* automake.in (handle_single_transform_list): Only add to
%dep_files if language is found and supports automatic dependency
tracking. Fixes PR automake/75.
Tom Tromey [Sat, 26 Aug 2000 20:52:56 +0000 (20:52 +0000)]
2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
Fix for PR automake/67.
* automake.in (handle_multilib): remove .am suffix in fragment
name passed to file_contents.
* m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
Jim Meyering [Sun, 6 Aug 2000 13:34:09 +0000 (13:34 +0000)]
(handle_dependencies): Set $require_file_found{'depcomp'}
if the depcomp file exists, before calling require_config_file on
`depcomp'. This makes require_file_internal skip its buggy existence
test that would make automake fail (with `required file `lib/depcomp'
not found') when AC_CONFIG_AUX_DIR is not set.
This change change does not fix the existing bug where, if `depcomp'
is not present in the build directory (at the top level), automake
still gives the inaccurate diagnostic about *lib*/depcomp rather
than ./depcomp.
Jim Meyering [Sun, 6 Aug 2000 12:36:53 +0000 (12:36 +0000)]
(AM_CONFIG_HEADER): Fix typo in last change:
add missing closing bracket and closing parenthesis.
Don't quote the first argument to AC_OUTPUT_COMMANDS.
Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
Tom Tromey [Fri, 4 Aug 2000 17:32:33 +0000 (17:32 +0000)]
Idea from Nicolas Thiery:
* automake.texi (Tests): Document DEJATOOL as a list.
* dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
(check-DEJAGNU): Run runtest in a loop.
Akim Demaille [Wed, 2 Aug 2000 08:59:15 +0000 (08:59 +0000)]
* m4: Quote properly the name of the macros being defined.
Use `#' instead of `dnl' where appropriate.
* m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
quote.
Don't quote passive characters.
Pull the AC_PREREQ outside the macro.
* m4/init.m4: Pull the AC_PREREQ outside the macro.
Jim Meyering [Fri, 5 May 2000 08:56:36 +0000 (08:56 +0000)]
2000-05-04 Akim Demaille <akim@epita.fr>
AM_INIT_AUTOMAKE is no longer optional, so don't look for
`VERSION=' and `PACKAGE='.
* automake.in (seen_package, seen_version): Remove initializations of
unnecessary variables.
(scan_one_configure_file): Don't set them.
(scan_configure): Don't use them.
Tom Tromey [Mon, 1 May 2000 21:03:23 +0000 (21:03 +0000)]
2000-05-01 Pavel Roskin <pavel_roskin@geocities.com>
* install2.test: Prevent automake from looking into .. and ../..
by using AC_CONFIG_AUX_DIR(.) in configure.in
* pr19.test: Likewise
* subobj3.test: Likewise
Jim Meyering [Mon, 1 May 2000 10:57:08 +0000 (10:57 +0000)]
From Akim Demaille <akim@epita.fr>
* m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
(AM_INIT_AUTOMAKE): Update the writing conventions.
Quote the arguments properly.
Add a few missing `dnl'.
Use AC_PROVIDE_IFELSE.
Tom Tromey [Sun, 19 Mar 2000 23:33:42 +0000 (23:33 +0000)]
Fix for test nodepcomp.test:
* automake.in (require_file_internal): Use readlink on symlinks.
Only unlink file if we are going to try to add it again.
(handle_dependencies): Require `depcomp' here.
(scan_configure): Don't require `depcomp'.