]> 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 12:42:08 +0000 (23:42 +1100)
configure
configure.ac

index 578a6ead4a6f9c7c7587a26c9a39799e89927ef6..0d6df8eea01110713c52861b3fe898f1fa19860e 100755 (executable)
--- a/configure
+++ b/configure
@@ -968,6 +968,7 @@ LT_SYS_LIBRARY_PATH
 PKG_CONFIG
 PKG_CONFIG_PATH
 PKG_CONFIG_LIBDIR
+PYTHON
 MAXMINDDB_CFLAGS
 MAXMINDDB_LIBS
 MAXMINDDB_PREFIX
@@ -1726,6 +1727,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
@@ -12491,6 +12493,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 a0b778c270ec48ca4f50e5f8f5d0d048bc93bd4c..623cb277d1477e78e1b14c3439fd045b6d39eb4c 100644 (file)
@@ -207,6 +207,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]),