From 916ef755d37994b1ebeb0bb956502bc9c59e161d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 1 Apr 2003 11:25:34 +0000 Subject: Fix build of shared xml/mysql modules (This used to be commit 860e4c45619bcd99c6e4a1eb980c5b8dac79b6c0) --- source3/configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3') 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) -- cgit