]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
unset PYTHON on --without-python to prevent python still being used
authorMark Andrews <marka@isc.org>
Sun, 1 Dec 2019 23:17:44 +0000 (10:17 +1100)
committerMark Andrews <marka@isc.org>
Tue, 3 Dec 2019 13:16:27 +0000 (13:16 +0000)
(cherry picked from commit d8fc54456996a853fac75822988fb7c0d230247c)

configure
configure.ac

index 59a8e323155e028043f2f5ce2a7db1e9cebe3ee0..a130d0e114549deb40a33f54acaa99e2485909ef 100755 (executable)
--- a/configure
+++ b/configure
@@ -12565,6 +12565,7 @@ fi
 if test "$with_python" = "no"; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python support" >&5
 $as_echo_n "checking for Python support... " >&6; }
+       unset PYTHON
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
 $as_echo "disabled" >&6; }
 else
index f07701621c7c6473bb462c80c2869901a7bf9581..d7ec21da466f9a9ffe57608994ebdd7ab5d7be1b 100644 (file)
@@ -276,6 +276,7 @@ AS_IF([test "$with_python" = "yes"],
 
 AS_IF([test "$with_python" = "no"],
       [AC_MSG_CHECKING([for Python support])
+       unset PYTHON
        AC_MSG_RESULT([disabled])],
       [for p in $with_python
        do