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

index 49f92ae55af4e90a6d4dba8fa496284b33ae4627..578a6ead4a6f9c7c7587a26c9a39799e89927ef6 100755 (executable)
--- a/configure
+++ b/configure
@@ -12514,6 +12514,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 031206ca219360328ab728842dcb94aa62e730a7..a0b778c270ec48ca4f50e5f8f5d0d048bc93bd4c 100644 (file)
@@ -221,6 +221,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