s3:configure: add --enable-smbtorture4 switch
authorMichael Adam <obnox@samba.org>
Fri, 6 May 2011 16:35:06 +0000 (18:35 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 13 May 2011 14:42:23 +0000 (16:42 +0200)
source3/configure.in

index 82cd664165dd1a9e297472858b64f027e821a00f..24ce21a9b4a9b8adeed9866c829d10d1b17d4c90 100644 (file)
@@ -196,7 +196,14 @@ AC_ARG_WITH(profiling-data,
 )
 
 dnl Checks for programs.
-smbtorture4_possible=yes
+AC_ARG_ENABLE(smbtorture4,
+       [AS_HELP_STRING([--enable-smbtorture4], [Enable building smbtorture4 (default=auto)])])
+
+if test x$enable_smbtorture4 != xno; then
+       smbtorture4_possible=yes
+else
+       smbtorture4_possible=no
+fi
 
 AC_PROG_INSTALL
 AC_PROG_AWK