From: Mark Andrews Date: Sun, 1 Dec 2019 23:17:44 +0000 (+1100) Subject: unset PYTHON on --without-python to prevent python still being used X-Git-Tag: v9.15.7~40^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8fc54456996a853fac75822988fb7c0d230247c;p=thirdparty%2Fbind9.git unset PYTHON on --without-python to prevent python still being used --- diff --git a/configure b/configure index 49f92ae55af..578a6ead4a6 100755 --- 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 diff --git a/configure.ac b/configure.ac index 031206ca219..a0b778c270e 100644 --- a/configure.ac +++ b/configure.ac @@ -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