]> 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:51:09 +0000 (23:51 +1100)
(cherry picked from commit eed2aabc409a41dc311e4101c399e461d5f92f9f)

configure
configure.ac

index 2b4a2b37b32ba9c7a8a16b34d09a20c0fa878fa3..67c6ce0fdc7b1ab048e408ff2794cb9dd5cfe295 100755 (executable)
--- a/configure
+++ b/configure
@@ -959,6 +959,7 @@ LT_SYS_LIBRARY_PATH
 PKG_CONFIG
 PKG_CONFIG_PATH
 PKG_CONFIG_LIBDIR
+PYTHON
 MAXMINDDB_CFLAGS
 MAXMINDDB_LIBS
 MAXMINDDB_PREFIX
@@ -1699,6 +1700,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
@@ -12205,6 +12207,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 f613611ba6bd4455265bbfbab5b015bb53ec999d..edd24bbbf7656c37d6ac2d65b40be8a5101bf745 100644 (file)
@@ -204,6 +204,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]),