]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
doc: autoconf portability link, python NEWS.
authorKarl Berry <karl@freefriends.org>
Sat, 2 Dec 2023 22:33:30 +0000 (14:33 -0800)
committerKarl Berry <karl@freefriends.org>
Sat, 2 Dec 2023 22:33:30 +0000 (14:33 -0800)
        More for https://bugs.gnu.org/67268.

* doc/automake.texi (Usage of Conditionals): link to
Autoconf's Limitations of Builtins, e.g.,
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/html_node/Limitations-of-Builtins.html
* NEWS: Python version preferences are not just miscellaneous.

NEWS
doc/automake.texi

diff --git a/NEWS b/NEWS
index f246760405b0bc0cbcdb4bd4ee44773e5de39a95..5150f585aa93497451932bdf96d62b209e624cd7 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -7,8 +7,13 @@ New in 1.17:
 
 * New features added
 
-  - AM_PATH_PYTHON will also search for Python versions 3.10 - 3.15.  It has
-    previously searched for 3.0 - 3.9. (bug#53530)
+  - AM_PATH_PYTHON will, after checking "python", prefer any Python 3
+    version (latest versions checked first) over any Python 2
+    version. If a specific version of Python 2 is still needed, the
+    $PYTHON variable should be set beforehand.
+
+  - AM_PATH_PYTHON will also search for Python versions 3.15 through 3.10.
+    It previously searched for 3.9 through 3.0. (bug#53530)
 
   - RANLIB may be overridden on a per-target basis.
 
@@ -76,10 +81,6 @@ New in 1.17:
 
 * Miscellaneous changes
 
-  - AM_PATH_PYTHON will, after checking `python`, prefer any Python 3
-    version over any Python 2 version.  If a specific version of Python 2 is
-    still needed, the $PYTHON variable can be set beforehand.
-
 * Obsolescence:
 
   - py-compile no longer supports Python 0.x or 1.x versions.  Python 2.0,
index af8dd836feba0636d865d98b76db8a8252772eb2..e53a44332140ea108c09945ab86a20c7930e305e 100644 (file)
@@ -11126,6 +11126,8 @@ For portability, it is best to use shell operators @code{&&} and
 @command{test}, all of which have been marked obsolescent by POSIX
 (@url{https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_161}).
 The name @code{test} is also more portable than @code{[}.
+@xref{Limitations of Builtins, ,, autoconf, The Autoconf Manual}.
+
 @end defmac
 
 @cindex @option{--enable-debug}, example