[Xfce4-commits] <exo:xfce-4.6> Don't abort if python is not found (bug #3751).

Nick Schermer nick at xfce.org
Thu Aug 20 20:40:02 CEST 2009


Updating branch refs/heads/xfce-4.6
         to f150c7d57a74df5b8efd9416a6de07e6c5301e33 (commit)
       from 8ed5cc6c9bdd160670891e56bdb6c508c11bfc70 (commit)

commit f150c7d57a74df5b8efd9416a6de07e6c5301e33
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 ea75f36..3926d81 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -198,9 +198,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