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

configure
configure.ac

index add341a1d02c6cbc98821fb04f7e8ee6918ba02b..2b4a2b37b32ba9c7a8a16b34d09a20c0fa878fa3 100755 (executable)
--- a/configure
+++ b/configure
@@ -12228,6 +12228,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 d2d27404b36ada48c794ecf1e9ec24554b565695..f613611ba6bd4455265bbfbab5b015bb53ec999d 100644 (file)
@@ -218,6 +218,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