diff options
Diffstat (limited to 'server/configure.ac')
-rw-r--r-- | server/configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/configure.ac b/server/configure.ac index 3320507ad..475bdca6a 100644 --- a/server/configure.ac +++ b/server/configure.ac @@ -48,6 +48,7 @@ WITH_SHADOW_UTILS_PATH WITH_MANPAGES WITH_XML_CATALOG WITH_KRB5_PLUGIN_PATH +WITH_PYTHON_BINDINGS m4_include([external/pkg.m4]) m4_include([external/libpopt.m4]) @@ -62,6 +63,7 @@ m4_include([external/krb5.m4]) m4_include([external/libcares.m4]) m4_include([external/docbook.m4]) m4_include([external/sizes.m4]) +m4_include([external/python.m4]) m4_include([util/signal.m4]) PKG_CHECK_MODULES([DBUS],[dbus-1]) @@ -83,6 +85,13 @@ if test x$HAVE_MANPAGES != x; then [Docbook XSL templates]) fi +if test x$HAVE_PYTHON_BINDINGS != x; then + AM_PATH_PYTHON([2.4]) + AM_CHECK_PYTHON_HEADERS([], + AC_MSG_ERROR([Could not find python headers])) + AM_PYTHON_CONFIG +fi + AC_CHECK_HEADERS([sys/inotify.h]) PKG_CHECK_MODULES([CHECK], [check], [have_check=1], [have_check=]) |