summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2013-09-13 16:09:34 +0200
committerArthur de Jong <arthur@arthurdejong.org>2013-09-15 16:08:51 +0200
commit173d768b519e513ea5579204038acbde60b8527b (patch)
tree97dbbc55ebea4661923531e48d7c8c3a8559a1e4 /configure.ac
parentb7ca95a4f853296e82dc0a830ac9f724416fd4c0 (diff)
Add more python module checks to configure
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0497fd4..4f49cc6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -850,14 +850,21 @@ then
AX_PYTHON_MODULE(fnmatch)
AX_PYTHON_MODULE(ldap)
AX_PYTHON_MODULE(sqlite3)
+ # required by ldap.controls.ppolicy:
+ AX_PYTHON_MODULE(pyasn1)
+ AX_PYTHON_MODULE(pyasn1_modules)
if test "x$HAVE_PYMOD_DAEMON" != "xyes" || \
test "x$HAVE_PYMOD_FCNTL" != "xyes" || \
test "x$HAVE_PYMOD_FNMATCH" != "xyes" || \
test "x$HAVE_PYMOD_LDAP" != "xyes" || \
- test "x$HAVE_PYMOD_SQLITE3" != "xyes"
+ test "x$HAVE_PYMOD_SQLITE3" != "xyes" || \
+ test "x$HAVE_PYMOD_PYASN1" != "xyes" || \
+ test "x$HAVE_PYMOD_PYASN1_MODULES" != "xyes"
then
AC_MSG_WARN(Required Python modules missing)
fi
+ # optional modules
+ AX_PYTHON_MODULE(setproctitle)
fi
AM_CONDITIONAL([NSS_FLAVOUR_GLIBC], [test "x${with_nss_flavour}" = xglibc])