Skip to content

Commit 83842ab

Browse files
author
vladlosev
committed
Makes generation of fused sources contingent on availability of Python.
git-svn-id: http://googletest.googlecode.com/svn/trunk@580 861a406c-534a-0410-8894-cb66d6ee9925
1 parent f0f9b94 commit 83842ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile.am

+2
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ FUSED_GTEST_SRC = \
261261
fused-src/gtest/gtest.h \
262262
fused-src/gtest/gtest_main.cc
263263

264+
if HAVE_PYTHON
264265
TESTS += test/fused_gtest_test
265266
check_PROGRAMS += test/fused_gtest_test
266267
test_fused_gtest_test_SOURCES = $(FUSED_GTEST_SRC) \
@@ -284,6 +285,7 @@ fused-gtest: $(pkginclude_HEADERS) $(pkginclude_internal_HEADERS) \
284285

285286
maintainer-clean-local:
286287
rm -rf "$(srcdir)/fused-src"
288+
endif
287289

288290
# Death tests may produce core dumps in the build directory. In case
289291
# this happens, clean them to keep distcleancheck happy.

0 commit comments

Comments
 (0)