Also check the mLib and CDB modules.
## Services.
if HAVE_PYTHON
## Services.
if HAVE_PYTHON
+SUBDIRS += svc
+endif
+endif
if HAVE_PYCATACOMB
SUBDIRS += keys
endif
if HAVE_PYCATACOMB
SUBDIRS += keys
endif
+if HAVE_PYTHON
+if HAVE_PYMLIB
if HAVE_PYGTK
SUBDIRS += mon
endif
if HAVE_PYGTK
SUBDIRS += mon
endif
## Contributed stuff.
SUBDIRS += contrib
## Contributed stuff.
SUBDIRS += contrib
AM_PATH_PYTHON([2.4], [python=yes], [python=no])
AM_CONDITIONAL([HAVE_PYTHON], [test $python = yes])
AM_PATH_PYTHON([2.4], [python=yes], [python=no])
AM_CONDITIONAL([HAVE_PYTHON], [test $python = yes])
-dnl Find out whether we can use Catacomb and GTK.
+dnl Find out whether we can use the various external modules.
if test $python = yes; then
AC_PYTHON_MODULE([pygtk])
if test $python = yes; then
AC_PYTHON_MODULE([pygtk])
+ AC_PYTHON_MODULE([cdb])
+ AC_PYTHON_MODULE([mLib])
AC_PYTHON_MODULE([catacomb])
fi
AM_CONDITIONAL([HAVE_PYGTK], [test ${HAVE_PYMOD_PYGTK-no} = yes])
AC_PYTHON_MODULE([catacomb])
fi
AM_CONDITIONAL([HAVE_PYGTK], [test ${HAVE_PYMOD_PYGTK-no} = yes])
+AM_CONDITIONAL([HAVE_PYCDB], [test ${HAVE_PYMOD_CDB-no} = yes])
+AM_CONDITIONAL([HAVE_PYMLIB], [test ${HAVE_PYMOD_MLIB-no} = yes])
AM_CONDITIONAL([HAVE_PYCATACOMB], [test ${HAVE_PYMOD_CATACOMB-no} = yes])
dnl--------------------------------------------------------------------------
AM_CONDITIONAL([HAVE_PYCATACOMB], [test ${HAVE_PYMOD_CATACOMB-no} = yes])
dnl--------------------------------------------------------------------------