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
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" \
fi
AM_CONDITIONAL(WITH_GO, [test "$have_go" = "yes"])
+have_tests=yes
+if test "$with_tests" = "no"; then
+ have_tests="no"
+fi
+AM_CONDITIONAL(WITH_TESTS, [test "$have_tests" = "yes"])
+
AC_C_CONST
AC_C_INLINE
AC_C_VOLATILE
# under the License.
#
-SUBDIRS = . test
+SUBDIRS = .
+
+if WITH_TESTS
+SUBDIRS += test
+endif
pkgconfigdir = $(libdir)/pkgconfig