s3:build: build smbtorture4 when the merged build is selected
authorStefan Metzmacher <metze@samba.org>
Thu, 13 May 2010 17:30:46 +0000 (19:30 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 May 2010 17:42:25 +0000 (19:42 +0200)
metze

source3/Makefile.in
source3/configure.in

index 06e288c7fad7ce202d86b8a0fe8d05e9c92f093b..d661b94bfe57953d1b2b6789300dc3dd45df3e26 100644 (file)
@@ -1355,7 +1355,7 @@ pam_winbind: SHOWFLAGS bin/pam_winbind.@SHLIBEXT@
 
 gpext_modules:: $(GPEXT_MODULES)
 
-torture:: SHOWFLAGS basics $(TORTURE_PROGS) 
+torture:: SHOWFLAGS basics $(TORTURE_PROGS) @SMBTORTURE4@
 
 smbtorture : SHOWFLAGS bin/smbtorture@EXEEXT@
 
@@ -3225,7 +3225,6 @@ samba4-configure: ../source4/configure
 .PHONY: samba4-configure
 
 bin/smbtorture4: $(BINARY_PREREQS) samba4-configure
-       cd ../source4 && ../buildtools/bin/waf build --targets=asn1_compile,compile_et
        cd ../source4 && ../buildtools/bin/waf build --targets=smbtorture
        cp ../source4/bin/smbtorture bin/smbtorture4
 
index 765bac7d955af580803509ca4a787fdd644df859..04a1c05b5b01263ad4ff2c8d7c70fa93fe698814 100644 (file)
@@ -6680,6 +6680,8 @@ if test x$enable_merged_build = xyes; then
        AC_SUBST(smbtorture4_path)
        AC_SUBST(smbtorture4_option)
        USESHARED="$saved_USESHARED"
+       SMBTORTURE4="bin/smbtorture4"
+       AC_SUBST(SMBTORTURE4)
 fi
 
 AC_SUBST(ZLIB_LIBS)