Fix standalone build.
[kai/samba.git] / source3 / configure.in
index 8ea7e963ce0f6ea2bda6849612ff811d8e2e1782..248c39ac4c1da1299b202e5bcf2079f43deca7a2 100644 (file)
@@ -6254,6 +6254,10 @@ fi
 SMBD_LIBS="$samba_dmapi_libs"
 AC_SUBST(SMBD_LIBS)
 
+if test x$MERGED_BUILD != x1; then
+       CFLAGS="${CFLAGS} \$(FLAGS) -D_SAMBA_BUILD_=3"
+fi
+
 AC_OUTPUT(Makefile
          script/findsmb smbadduser script/gen-8bit-gap.sh script/installbin.sh script/uninstallbin.sh
          lib/netapi/examples/Makefile