summaryrefslogtreecommitdiff
path: root/source4/passdb/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/passdb/config.m4')
-rw-r--r--source4/passdb/config.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/passdb/config.m4 b/source4/passdb/config.m4
new file mode 100644
index 0000000000..b06aa7d5cf
--- /dev/null
+++ b/source4/passdb/config.m4
@@ -0,0 +1,11 @@
+########################################################
+# Compile with MySQL support?
+AM_PATH_MYSQL([0.11.0],[MODULE_MYSQL=bin/mysql.so],[MODULE_MYSQL=])
+CFLAGS="$CFLAGS $MYSQL_CFLAGS"
+AC_SUBST(MODULE_MYSQL)
+
+########################################################
+# Compile with XML support?
+AM_PATH_XML2([2.0.0],[MODULE_XML=bin/xml.so],[MODULE_XML=])
+CFLAGS="$CFLAGS $XML_CFLAGS"
+AC_SUBST(MODULE_XML)