diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-12 19:20:54 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-16 13:11:54 +0100 |
commit | f78b0f0b2741fcdd4e21151758a8a75ddaa8aa17 (patch) | |
tree | 10ef41ceaf43d29b03ccd9452a87b56f9b4101be /PLANS | |
parent | 593032130119da79aba14dc26c3cc985bf3a5610 (diff) | |
download | automake-f78b0f0b2741fcdd4e21151758a8a75ddaa8aa17.tar.gz |
init.m4: add probe to check "rm -f" without args work
See automake bug#10828.
POSIX will say in a future version that running "rm -f" with no argument
is OK: <http://austingroupbugs.net/view.php?id=542>).
We want to be able to make that assumption in our Makefile recipes.
So we introduce an aggressive probe to check that the usage we want is
actually supported "in the wild" to an acceptable degree.
* m4/init.m4 (AM_INIT_AUTOMAKE): Implement the probe. To make any issue
more visible, cause the running configure to be aborted by default if
the 'rm' program in use doesn't match our expectations; the user can
still override this though, by setting the ACCEPT_INFERIOR_RM_PROGRAM
environment variable to "yes".
* t/spy-rm.tap: Update heading comments.
* t/rm-f-probe.sh: New test.
* t/list-of-tests.mk: Add it.
* PLANS/rm-f-without-args.txt: Adjust.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'PLANS')
-rw-r--r-- | PLANS/rm-f-without-args.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/PLANS/rm-f-without-args.txt b/PLANS/rm-f-without-args.txt index 5d39e220d..5362f98e6 100644 --- a/PLANS/rm-f-without-args.txt +++ b/PLANS/rm-f-without-args.txt @@ -13,13 +13,13 @@ accordingly, to get rid of the awful idiom: See automake bug#10828. -For Automake 1.13.2 (or 1.13.3) -------------------------------- +For Automake 1.13.2 (DONE) +-------------------------- Add a temporary "probe check" in AM_INIT_AUTOMAKE that verifies that the no-args "rm -f" usage is supported on the system configure is -being run on; complain loudly (but not with a fatal error) if this is -not the case, and tell the user to report the situation to us. +being run on; complain loudly if this is not the case, and tell the +user to report the situation to us. For Automake 1.14 ----------------- |