[libgit2-glib] Only check for python 3.2.3 when necessary



commit 07ead175e47b32b71c61fbaab933e873a3c2fd96
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Thu Apr 4 19:02:30 2013 +0200

    Only check for python 3.2.3 when necessary

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 08ea754..a684429 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,6 @@ AM_INIT_AUTOMAKE([1.11 tar-ustar dist-xz no-dist-gzip])
 AM_MAINTAINER_MODE([enable])
 
 AM_SILENT_RULES([yes])
-AM_PATH_PYTHON(3.2.3)
 
 # Initialize libtool
 LT_PREREQ([2.2])
@@ -68,6 +67,8 @@ if test "x$enable_python" = "xauto"; then
 fi
 
 if test "x$enable_python" = "xyes"; then
+        AM_PATH_PYTHON(3.2.3)
+
         PKG_CHECK_MODULES(PYTHON, [pygobject-3.0 >= $PYGOBJECT_REQUIRED])
 
         pyoverridesdir=`$PYTHON -c "import gi; print(gi._overridesdir)"`


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