vlp: Move closer to the code tested.
[kai/samba.git] / source3 / samba4.m4
index a5b7da7e0716ff1dd5aaf7c1f6ae031b7e3f4ddf..05d655217fddd357e50ab615076c1ab9fcb9974a 100644 (file)
@@ -37,7 +37,13 @@ m4_include(lib/charset/config.m4)
 m4_include(lib/socket/config.m4)
 m4_include(nsswitch/nsstest.m4)
 m4_include(../pidl/config.m4)
-m4_include(lib/zlib.m4)
+m4_include(../lib/zlib/zlib.m4)
+AC_ZLIB([
+SMB_EXT_LIB(ZLIB, [${ZLIB_LIBS}])
+],[
+SMB_INCLUDE_MK(lib/zlib.mk)
+])
+
 
 AC_CONFIG_FILES(../source4/lib/registry/registry.pc)
 AC_CONFIG_FILES(../source4/librpc/dcerpc.pc)