summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2021-07-16 14:04:41 +0200
committerPaul Smith <psmith@gnu.org>2021-11-28 14:27:10 -0500
commit71eb0a80384617b553546228648f1f1926f43977 (patch)
treecec3080c5ffff94ce82811d1d45fec9af993f594 /NEWS
parentd9291d09b86228afd547d845460ba5b91577645f (diff)
downloadmake-git-71eb0a80384617b553546228648f1f1926f43977.tar.gz
Introduce $(intcmp ...) for numerical comparison
Numbers can come from $(words ...), automatic variables such as $(MAKELEVEL), from environment variables, or from shell output such as through $(shell expr ...). The $(intcmp ...) function allows conditional evaluation controlled by numerical variables. * NEWS: Announce this feature. * doc/make.texi (Functions for Conditionals): Document 'intcmp'. * src/function.c (func_intcmp): Create the 'intcmp' built-in function. * tests/scripts/functions/intcmp: Test the 'intcmp' built-in function.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f0a9f75a..87f94666 100644
--- a/NEWS
+++ b/NEWS
@@ -50,6 +50,10 @@ https://sv.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=109&se
user-defined function and they will not impact global variable assignments.
Implementation provided by Jouke Witteveen <j.witteveen@gmail.com>
+* New feature: The $(intcmp ...) function
+ This function allows conditional evaluation controlled by a numerical
+ comparison.
+
* If the MAKEFLAGS variable is modified in a makefile, it will be re-parsed
immediately rather than after all makefiles have been read. Note that
although all options are parsed immediately, some special effects won't