]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add AC_ARG_VAR([PYTHON], [path to python executable])
authorMark Andrews <marka@isc.org>
Mon, 2 Dec 2019 21:38:50 +0000 (08:38 +1100)
committerMark Andrews <marka@isc.org>
Tue, 3 Dec 2019 13:16:27 +0000 (13:16 +0000)
(cherry picked from commit eed2aabc409a41dc311e4101c399e461d5f92f9f)

configure
configure.ac

index a130d0e114549deb40a33f54acaa99e2485909ef..aab472a6f8fdd21232b1f7268e01d86b5dff3149 100755 (executable)
--- a/configure
+++ b/configure
@@ -1104,6 +1104,7 @@ CPP
 PKG_CONFIG
 PKG_CONFIG_PATH
 PKG_CONFIG_LIBDIR
+PYTHON
 MAXMINDDB_CFLAGS
 MAXMINDDB_LIBS
 MAXMINDDB_PREFIX
@@ -1851,6 +1852,7 @@ Some influential environment variables:
               directories to add to pkg-config's search path
   PKG_CONFIG_LIBDIR
               path overriding pkg-config's built-in search path
+  PYTHON      path to python executable
   MAXMINDDB_CFLAGS
               C compiler flags for MAXMINDDB, overriding pkg-config
   MAXMINDDB_LIBS
@@ -12542,6 +12544,8 @@ except: exit(1)'
 default_with_python="python python3 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python2 python2.7"
 
 
+
+
 # Check whether --with-python was given.
 if test "${with_python+set}" = set; then :
   withval=$with_python;
index d7ec21da466f9a9ffe57608994ebdd7ab5d7be1b..4ab10a05f9d212db00fa520336e7047b6f99f5f4 100644 (file)
@@ -262,6 +262,8 @@ except: exit(1)'
 
 default_with_python="python python3 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python2 python2.7"
 
+AC_ARG_VAR([PYTHON], [path to python executable])
+
 AC_ARG_WITH([python],
            AS_HELP_STRING([--with-python=PATH],
                           [specify path to Python interpreter]),