From 83842abbe6dc90d8df28e1eca7a7d01343ffd9d2 Mon Sep 17 00:00:00 2001 From: vladlosev Date: Thu, 21 Apr 2011 21:48:51 +0000 Subject: 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 --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index cb350b7..104c54e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -261,6 +261,7 @@ FUSED_GTEST_SRC = \ fused-src/gtest/gtest.h \ fused-src/gtest/gtest_main.cc +if HAVE_PYTHON TESTS += test/fused_gtest_test check_PROGRAMS += test/fused_gtest_test test_fused_gtest_test_SOURCES = $(FUSED_GTEST_SRC) \ @@ -284,6 +285,7 @@ fused-gtest: $(pkginclude_HEADERS) $(pkginclude_internal_HEADERS) \ maintainer-clean-local: rm -rf "$(srcdir)/fused-src" +endif # Death tests may produce core dumps in the build directory. In case # this happens, clean them to keep distcleancheck happy. -- cgit v1.2.1