summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in3
-rw-r--r--source3/configure.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 06e288c7fa..d661b94bfe 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -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
diff --git a/source3/configure.in b/source3/configure.in
index 765bac7d95..04a1c05b5b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -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)