[Xfce4-commits] <exo:master> Don't abort if python is not found (bug #3751).
Nick Schermer
nick at xfce.org
Thu Aug 20 19:52:01 CEST 2009
Updating branch refs/heads/master
to f9abffbc1e8259c9e18f5aecfa51726b277a191b (commit)
from 228e8f70760538235172d576ed17140c453c2983 (commit)
commit f9abffbc1e8259c9e18f5aecfa51726b277a191b
Author: Nick Schermer <nick at xfce.org>
Date: Thu Aug 20 19:51:22 2009 +0200
Don't abort if python is not found (bug #3751).
configure.in.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.in.in b/configure.in.in
index 63bda89..e38ca77 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -208,9 +208,9 @@ AC_ARG_ENABLE([python],
have_python=no
if test x"$enable_python" != x"no"; then
AC_MSG_NOTICE([Checking to see if we can build Python bindings])
- AM_PATH_PYTHON([2.2])
+ AM_PATH_PYTHON([2.2],, [:])
- if test -z "$PYTHON"; then
+ if test x"$PYTHON" = x":"; then
AC_MSG_WARN([Python not found])
else
XDT_CHECK_PYTHON_HEADERS([have_python_headers=yes],[have_python_headers=no])
More information about the Xfce4-commits
mailing list