From 6b68d5eb7b4fecc923dc1c0ab6f387c525f46b7c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 5 May 2005 11:33:10 +0000 Subject: r6621: Warn when the user is trying to use socket wrapper while it is not compiled in. (This used to be commit d63086918ba79307089b3992dc7ed8fc8c6d18a8) --- source4/build/smb_build/makefile.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/build/smb_build') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 98d70f6c1c..ed06e7265d 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -154,7 +154,12 @@ test: @DEFAULT_TEST_TARGET@ test-swrap: all export SOCKET_WRAPPER_DIR=. +ifeq (@HAVE_SOCKET_WRAPPER@,yes) ./script/tests/selftest.sh `pwd`/prefix-test +else + echo "Socket wrapper not built in, unable to run test-swrap" + exit 1 +endif test-noswrap: all ./script/tests/selftest.sh `pwd`/prefix-test -- cgit