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'.
* automake.in (handle_configure): Remove $(BUILT_SOURCES) from
the rule to remake Makefile, whether $use_dependencies is true
or not. This was a historical one and doesn't make sense any
longer.
Tom Tromey [Sun, 19 Mar 2000 21:54:13 +0000 (21:54 +0000)]
Fix for PR automake/45:
* automake.texi (configure): Mention requirement to run
AM_INIT_AUTOMAKE.
(Requirements): Removed most text.
* automake.in (seen_init_automake): New global.
(scan_configure): Error if AM_INIT_AUTOMAKE not seen.
(scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
Set seen_init_automake if needed.
Tom Tromey [Sun, 19 Mar 2000 21:04:46 +0000 (21:04 +0000)]
Fix for PR automake/41:
* automake.in (require_file_found): New global.
(require_file_internal): Set require_file_found entry.
(handle_texinfo): Require file any number of times.
Jim Meyering [Sat, 4 Mar 2000 08:56:13 +0000 (08:56 +0000)]
(dist-info):
Don't use `ln' (which was just a space optimization anyway) to
populate $(distdir). Otherwise, the dist rules that change
permissions would end up affecting the master sources.
Jim Meyering [Sat, 4 Mar 2000 08:55:19 +0000 (08:55 +0000)]
(handle_dist_worker) [generating rules for distdir]:
Don't use `ln' (which was just a space optimization anyway) to
populate $(distdir). Otherwise, the dist rules that change
permissions would end up affecting the master sources.
Tom Tromey [Wed, 2 Feb 2000 04:29:01 +0000 (04:29 +0000)]
2000-02-02 Assar Westerlund <assar@sics.se>
* automake.in (handle_single_transform_list): do not use $< which
is not handled by all non-GNU makes. Instead do explicit sh code
testing for the file in this directory and srcdir. Based on a
suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>