From: Karl Berry Date: Sat, 2 Dec 2023 22:33:30 +0000 (-0800) Subject: doc: autoconf portability link, python NEWS. X-Git-Tag: v1.16i~9 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=fac41f94b9e55a7da891cccd4ece8acc987cbb61;p=thirdparty%2Fautomake.git 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. --- 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