summaryrefslogtreecommitdiff
path: root/source4/passdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-12-02 11:10:56 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-12-02 11:10:56 +0000
commit47702c85524afceba520cc3c2d2bc0d9a4e02e40 (patch)
tree4af410fdae9bca347bdfa23f78ebaa0026e51873 /source4/passdb
parent10ad200350e304f1ca7b4080a04f4fe4eeb80763 (diff)
downloadsamba-47702c85524afceba520cc3c2d2bc0d9a4e02e40.tar.gz
samba-47702c85524afceba520cc3c2d2bc0d9a4e02e40.tar.bz2
samba-47702c85524afceba520cc3c2d2bc0d9a4e02e40.zip
Initial step at cleaning and splitting up configure.in.
(This used to be commit 369a9c1ac1ff94a1d3f51eac20a39577f9cf2155)
Diffstat (limited to 'source4/passdb')
-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)