[sabayon] Hard dependency on Pessulus
- From: Scott Balneaves <sbalneav src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sabayon] Hard dependency on Pessulus
- Date: Wed, 23 Dec 2009 02:06:47 +0000 (UTC)
commit 81eee206d96f0bf683b930fde1b5ad55f8764c93
Author: Scott Balneaves <sbalneav ltsp org>
Date: Tue Dec 22 20:06:41 2009 -0600
Hard dependency on Pessulus
configure.ac | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e7343fe..e1955d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,6 +40,16 @@ else
AC_MSG_RESULT(yes)
fi
+# Hard dependency on Pessulus
+
+AC_MSG_CHECKING(whether Pessulus is available)
+if [ ! python -c "import Pessulus" 2> /dev/null ]
+then
+ AC_MSG_FAILURE([Please install Pessulus])
+else
+ AC_MSG_RESULT(yes)
+fi
+
#
# Do a soft check for Python bindings for LDAP. They're not strictly
# necessary, but if you don't have them, you won't be able to do LDAP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]