automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[automake-commit] branch master updated: doc: autoconf portability link,


From: Karl Berry
Subject: [automake-commit] branch master updated: doc: autoconf portability link, python NEWS.
Date: Sat, 02 Dec 2023 17:33:41 -0500

This is an automated email from the git hooks/post-receive script.

karl pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=fac41f94b9e55a7da891cccd4ece8acc987cbb61

The following commit(s) were added to refs/heads/master by this push:
     new fac41f94b doc: autoconf portability link, python NEWS.
fac41f94b is described below

commit fac41f94b9e55a7da891cccd4ece8acc987cbb61
Author: Karl Berry <karl@freefriends.org>
AuthorDate: Sat Dec 2 14:33:30 2023 -0800

    doc: autoconf portability link, python NEWS.
    
            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              | 13 +++++++------
 doc/automake.texi |  2 ++
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/NEWS b/NEWS
index f24676040..5150f585a 100644
--- 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,
diff --git a/doc/automake.texi b/doc/automake.texi
index af8dd836f..e53a44332 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]