Thrift-1345: Allow building without test cases
Client: build env
Patch: Vitali Lovich
Adds --without-tests to configure to omit processing/building the test directories.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1170426 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/Makefile.am b/Makefile.am
index abe87da..b5f36ef 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,7 +19,11 @@
ACLOCAL_AMFLAGS = -I ./aclocal
-SUBDIRS = compiler/cpp lib test
+SUBDIRS = compiler/cpp lib
+
+if WITH_TESTS
+SUBDIRS += test
+endif
dist-hook:
find $(distdir) -type f \( -iname ".deps" -or -iname ".libs" -or -iname ".gitignore" \