[gtk-doc] configure: make python a soft dependency again. Fixes #589426



commit 3a701838bb8ed4d8de48c70b045ce9f4fbcf2788
Author: Nicola Fontana <ntd entidi it>
Date:   Fri Jul 24 18:11:06 2009 +0300

    configure: make python a soft dependency again. Fixes #589426

 configure.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index 7d86bc7..f7bc9a8 100644
--- a/configure.in
+++ b/configure.in
@@ -47,8 +47,8 @@ fi
 dnl
 dnl Check for Python.
 dnl
-AM_PATH_PYTHON([2.3],,)
-AM_CONDITIONAL([HAVE_PYTHON], [test -n "$PYTHON"])
+AM_PATH_PYTHON([2.3],,[:])
+AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])
 
 dnl
 dnl Check for jade or openjade.
@@ -223,7 +223,7 @@ AC_MSG_NOTICE([
 gtk-doc was configured with the following options:
 ==================================================])
 
-test -n "$PYTHON" \
+test "$PYTHON" != : \
     && AC_MSG_NOTICE([** Python based tools enabled, using $PYTHON]) \
     || AC_MSG_NOTICE([   Python based tools disabled])
 test -n "$JADE" \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]