[beast: 17/24] BUILD: configure.ac: always depend on having python2.7 available
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 17/24] BUILD: configure.ac: always depend on having python2.7 available
- Date: Wed, 16 Sep 2015 08:51:25 +0000 (UTC)
commit 0f04253d0bd1fa56b6cdea0d874579ce0f6bf4a3
Author: Tim Janik <timj gnu org>
Date: Wed Sep 16 00:37:36 2015 +0200
BUILD: configure.ac: always depend on having python2.7 available
configure.ac | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 634b760..b25e0f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -641,10 +641,11 @@ if test x"$enable_devel_mode" = xyes ; then
AC_MSG_ERROR([development build rules require a beast.git repository])
}
MC_ASSERT_PROG(XMLLINT, xmllint, [See: http://xmlsoft.org/xmllint.html])
- MC_ASSERT_PROG(PYTHON, python2.7)
- if test -z "$PYTHON" || $PYTHON -c "import sys; sys.exit (sys.hexversion >= 0x2070500)" 2>/dev/null ; then
- AC_MSG_ERROR([failed to detect python (version >= 2.7.5) required for development mode])
- fi
+fi
+
+MC_ASSERT_PROG(PYTHON, python2.7)
+if test -z "$PYTHON" || $PYTHON -c "import sys; sys.exit (sys.hexversion >= 0x2070500)" 2>/dev/null ; then
+ AC_MSG_ERROR([failed to detect python (version >= 2.7.5) required for development mode])
fi
AC_MSG_CHECKING(whether source dir equals build dir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]