unset PYTHON on --without-python to prevent python still being used

This commit is contained in:
Mark Andrews
2019-12-02 10:17:44 +11:00
parent e4fcbba86e
commit d8fc544569
2 changed files with 2 additions and 0 deletions

1
configure vendored
View File

@@ -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

View 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