freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master e3ada2f70 1/2: builds/unix/configure.raw: Use variabl


From: Werner Lemberg
Subject: [freetype2] master e3ada2f70 1/2: builds/unix/configure.raw: Use variable to specify minimum Python version.
Date: Thu, 24 Aug 2023 14:47:42 -0400 (EDT)

branch: master
commit e3ada2f70d9ca1f43f29f0e895136266499e55e0
Author: Hugh McMaster <hugh.mcmaster@outlook.com>
Commit: Werner Lemberg <wl@gnu.org>

    builds/unix/configure.raw: Use variable to specify minimum Python version.
---
 builds/unix/configure.raw | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index 2c152022f..e3bacef9b 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -966,14 +966,14 @@ esac
 AX_PTHREAD([have_pthread=yes], [have_pthread=no])
 
 # Check for Python and docwriter
-
+PYTHON_MIN_VERSION=3.5
 have_py3=no
 have_docwriter=no
 PIP=pip
 
 AC_CHECK_PROGS([PYTHON], [python3 python], [missing])
 if test "x$PYTHON" != "xmissing"; then
-  AX_PROG_PYTHON_VERSION([3.5], [have_py3=yes], [])
+  AX_PROG_PYTHON_VERSION([$PYTHON_MIN_VERSION], [have_py3=yes], [])
 
   if test "x$have_py3" = "xyes"; then
     PIP="$PYTHON -m $PIP"
@@ -1162,7 +1162,7 @@ if test $have_docwriter = no; then
   `make refdoc' will fail since pip package `docwriter' is not installed.
   To install, run `$PIP install docwriter', or to use a Python
   virtual environment, run `make refdoc-venv' (requires pip package
-  `virtualenv').  These operations require Python >= 3.5.
+  `virtualenv').  These operations require Python >= $PYTHON_MIN_VERSION.
   ])
 fi
 



reply via email to

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