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>
Tom Tromey [Sun, 19 Dec 1999 10:37:58 +0000 (10:37 +0000)]
* automake.in (handle_dist_worker): Expand DIST_COMMON under all
conditions.
(require_file_internal): Corrected arguments to second invocation
of maybe_push_required_file.
Tom Tromey [Sun, 19 Dec 1999 10:00:06 +0000 (10:00 +0000)]
Fix for PR automake/9:
* automake.in (make_dirs, make_dirs_set): New globals.
(is_make_dir): New function.
(handle_configure): Use it.
(require_file_internal): Push file if there is no Makefile in its
directory.
(initialize_per_input): Initialize handle_dist_run.
(push_dist_common): Inspect handle_dist_run.
(handle_dist): Set handle_dist_run. Push items from
configure_dist_common onto dist_common if appropriate.
(configure_dist_common): New global.
(scan_configure): Set it.
(maybe_push_required_file): New function.
(require_file_internal): Use it.
Tom Tromey [Tue, 14 Dec 1999 06:11:31 +0000 (06:11 +0000)]
Fix for PR automake/30 and PR automake/23. Fixes test
suffix3.test.
* automake.in (initialize_per_input): Initialize
source_suffix_pattern.
(derive_suffix): New function.
(handle_single_transform_list): Call it.
Tom Tromey [Fri, 10 Dec 1999 07:49:32 +0000 (07:49 +0000)]
* automake.in (initialize_global_constants): If unreadable by
owner, make it readable by owner regardless of number of links.
Fixes more of install2.test.
* missing: Try to see if gnutar or gtar exist before invoking
them.
* m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
install_sh value. Look for install-sh and install.sh in a
somewhat more sensible way. Fixes test install2.test. Partially
from Jim Meyering.
Tom Tromey [Sat, 13 Nov 1999 00:15:57 +0000 (00:15 +0000)]
* Makefile.am (path-check): Make sure distdir is writeable before
removing it.
* automake.in (handle_texinfo): Added `cm' and `ov' extensions.
(handle_dist_worker): Make sure distdir is writeable before
removing it.
(initialize_global_constants [$dist_trailer]): Make sure distdir
is writeable before removing it.
* dist.am (distcheck): Make the new source tree read-only before
compiling. Idea from Karl Berry.