[gnumeric] Make configure --with-python fail when some dependency is missing.



commit fcb064b173de36d01ef63b3c766449efcea5e81e
Author: Jean Brefort <jean brefort normalesup org>
Date:   Wed Feb 20 19:51:23 2013 +0100

    Make configure --with-python fail when some dependency is missing.

 ChangeLog    |    5 +++++
 configure.ac |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ec4c192..d03cb33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-20  Jean Brefort  <jean brefort normalesup org>
+
+       * configure.ac: make configure --with-python fail when some dependency is
+       missing.
+
 2013-02-17  Morten Welinder  <terra gnome org>
 
        * configure.ac (set_more_warnings): Improve support for clang.
diff --git a/configure.ac b/configure.ac
index 75cb2f8..0b2ec87 100644
--- a/configure.ac
+++ b/configure.ac
@@ -883,7 +883,10 @@ if test "x$python_msg" = xyes; then
     GNM_PY_CFLAGS="$PY_INCLUDES $PYGOBJECT_CFLAGS"
     GNM_PY_LDFLAGS="-L$PY_LIB_DIR -lpython$PY_VERSION $PYGOBJECT_LIBS"
     python_msg="yes (using $PYTHON)"
+elif test "x$with_python" = "xyes"; then
+               AC_MSG_ERROR([$python_msg])
 fi
+
 AC_SUBST(GNM_PY_CFLAGS)
 AC_SUBST(GNM_PY_LDFLAGS)
 AC_SUBST(GNM_PY_LIBADD)


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