summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-17 03:50:55 -0500
committerMike Frysinger <vapier@gentoo.org>2022-02-20 19:57:40 -0500
commit3099097d74c96bbb30aa38233091f96634eda27a (patch)
treeccbfc36511854bed963a6d21495b0acf460babcd /NEWS
parent31237ca48d1ec04c8498312aa7e3e5b5174a37d6 (diff)
downloadautomake-3099097d74c96bbb30aa38233091f96634eda27a.tar.gz
rm: handle -f w/no arguments gracefully
Fixes automake bug https://bugs.gnu.org/10828. Delete the configure check that would abort if `rm -f` does not work, and delete the plans to make this a hard requirement in the future. Instead, test to see if `rm -f` fails w/out arguments. If it does, define am__rm_f such that it always passes at least the "" argument when deleting files. If it doesn't fail, then we can omit the "". Then go through lib/am/ and update places where we use the pattern `test -z ... || rm -f ...` and replace with $(am__rm_f). * NEWS: Mention support for `rm -f` w/out arguments. * PLANS/rm-f-without-args.txt: Remove. * lib/am/check.am: Use new $(am__rm_f) helper. * lib/am/clean.am: Likewise. * lib/am/header-vars.am: Likewise. * lib/am/inst-vars.am: Likewise. * lib/am/libs.am: Likewise. * lib/am/ltlib.am: Likewise. * lib/am/progs.am: Likewise. * lib/am/texinfos.am: Likewise. * m4/init.m4: Delete `rm -f` checks and call _AM_PROG_RM_F. * m4/rmf.m4: Define new _AM_PROG_RM_F macro. * t/rm-f-probe.sh: Update test.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index c5ccd9387..512cdecd0 100644
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,10 @@ New in 1.17:
- Generated file timestamp checks now handle filesystems with sub-second
timestamp granularity dynamically.
+ - Systems with non-POSIX "rm -f" behavior are now supported, and intent to
+ drop support for them has been reversed. The ACCEPT_INFERIOR_RM_PROGRAM
+ setting no longer exists.
+
* Obsolescent features:
- py-compile no longer supports Python 0.x or 1.x versions. Python 2.0,