commit 4f62dc3216e925731d378f2e7a5253259a34c4a1
Author: William Breathitt Gray <vilhelm.gray@gmail.com>
AuthorDate: Tue Aug 25 01:20:28 2020 -0400
Commit: GitHub <noreply@github.com>
CommitDate: Tue Aug 25 07:20:28 2020 +0200
Fix Python check for doc, bash-completion, fonts, and icons options (#1308)
Fixes: cfc56fa6 ("Introduce configure options for bash-completion, doc, fonts, and icons")
---
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 9bef517a..4dbd2db7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@ AC_ARG_ENABLE([bash-completion],
AS_HELP_STRING([--disable-bash-completion], [Disable bash-completion])
)
AS_IF([test "x$enable_bash_completion" != xno], [
- AS_IF([test HAVE_PYTHON = false], [
+ AS_IF([test "x$HAVE_PYTHON" = xfalse], [
AC_MSG_WARN([Building bash-completion requires Python, but Python not found])
enable_bash_completion=no
])
@@ -51,7 +51,7 @@ AC_ARG_ENABLE([doc],
AS_HELP_STRING([--disable-doc], [Disable documentation])
)
AS_IF([test "x$enable_doc" != xno], [
- AS_IF([test HAVE_PYTHON = false], [
+ AS_IF([test "x$HAVE_PYTHON" = xfalse], [
AC_MSG_WARN([Building documentation requires Python, but Python not found])
enable_doc=no
])
@@ -62,7 +62,7 @@ AC_ARG_ENABLE([fonts],
AS_HELP_STRING([--disable-fonts], [Disable fonts])
)
AS_IF([test "x$enable_fonts" != xno], [
- AS_IF([test HAVE_PYTHON = false], [
+ AS_IF([test "x$HAVE_PYTHON" = xfalse], [
AC_MSG_WARN([Building fonts require Python, but Python not found])
enable_fonts=no
])
@@ -73,7 +73,7 @@ AC_ARG_ENABLE([icons],
AS_HELP_STRING([--disable-icons], [Disable icons])
)
AS_IF([test "x$enable_icons" != xno], [
- AS_IF([test HAVE_PYTHON = false], [
+ AS_IF([test "x$HAVE_PYTHON" = xfalse], [
AC_MSG_WARN([Building icons require Python, but Python not found])
enable_icons=no
])