[gedit-plugins] build: Fix compile when python3 is not available



commit 5fbe7eae992f79f246b5492276967ec8527f04c1
Author: Richard Hughes <richard hughsie com>
Date:   Tue Nov 4 20:31:28 2014 +0000

    build: Fix compile when python3 is not available

 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d6de3b8..7865ddd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,8 +27,6 @@ AC_PROG_CC
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 
-AM_PATH_PYTHON(3)
-
 # Initialize libtool
 LT_PREREQ([2.2])
 LT_INIT([disable-static])
@@ -128,6 +126,7 @@ AM_CONDITIONAL([ENABLE_ZEITGEIST], test "x$have_zeitgeist" = "xyes")
 # ================================================================
 if test "x$enable_python" = "xyes"
 then
+       AM_PATH_PYTHON(3)
        PLUGINS="$PLUGINS $PY_PLUGINS"
 
        # ================================================================


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