Fix standalone build.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 15 Sep 2008 13:49:27 +0000 (15:49 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 15 Sep 2008 13:49:27 +0000 (15:49 +0200)
source3/configure.in

index 8ea7e963ce0f6ea2bda6849612ff811d8e2e1782..248c39ac4c1da1299b202e5bcf2079f43deca7a2 100644 (file)
@@ -6254,6 +6254,10 @@ fi
 SMBD_LIBS="$samba_dmapi_libs"
 AC_SUBST(SMBD_LIBS)
 
 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
 AC_OUTPUT(Makefile
          script/findsmb smbadduser script/gen-8bit-gap.sh script/installbin.sh script/uninstallbin.sh
          lib/netapi/examples/Makefile