summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-01 11:25:34 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-01 11:25:34 +0000
commit916ef755d37994b1ebeb0bb956502bc9c59e161d (patch)
treece9a93dad3c0abb3f7013ea0ea1410fd4603069c /source3
parentd84acbc8aac11fa7f80de6de8b9c5b70b1c084d3 (diff)
downloadsamba-916ef755d37994b1ebeb0bb956502bc9c59e161d.tar.gz
samba-916ef755d37994b1ebeb0bb956502bc9c59e161d.tar.bz2
samba-916ef755d37994b1ebeb0bb956502bc9c59e161d.zip
Fix build of shared xml/mysql modules
(This used to be commit 860e4c45619bcd99c6e4a1eb980c5b8dac79b6c0)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 98e01f5bd5..38716aee18 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2277,10 +2277,12 @@ fi
########################################################
# Compile with MySQL support?
AM_PATH_MYSQL([0.11.0],[default_shared_modules="$default_shared_modules pdb_mysql"],[])
+CFLAGS="$CFLAGS $MYSQL_CFLAGS"
########################################################
# Compile with XML support?
AM_PATH_XML2([2.0.0],[default_shared_modules="$default_shared_modules pdb_xml"],[])
+CFLAGS="$CFLAGS $XML_CFLAGS"
#################################################
# check for automount support
@@ -3376,9 +3378,9 @@ AC_ARG_WITH(shared-modules,
fi ])
SMB_MODULE(pdb_xml, modules/xml.o, bin/xml.so, PDB,
- [ CFLAGS="$CFLAGS $XML_CFLAGS"; LIBS="$LIBS $XML_LIBS" ] )
+ [ LIBS="$LIBS $XML_LIBS" ] )
SMB_MODULE(pdb_mysql, modules/mysql.o, bin/mysql.so, PDB,
- [ CFLAGS="$CFLAGS $MYSQL_CFLAGS"; LIBS="$LIBS $MYSQL_LIBS" ] )
+ [ LIBS="$LIBS $MYSQL_LIBS" ] )
SMB_MODULE(pdb_ldap, passdb/pdb_ldap.o, bin/ldapsam.so, PDB,
[ LIBS="$LIBS $LDAP_LIBS" ] )
SMB_MODULE(pdb_smbpasswd, passdb/pdb_smbpasswd.o, bin/smbpasswd.so, PDB)