diff options
author | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-04-21 21:48:51 +0000 |
---|---|---|
committer | vladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925> | 2011-04-21 21:48:51 +0000 |
commit | 758728ba9ba2bd514a25a95fa820698bcdb7415e (patch) | |
tree | d33549d3e0980d75c38a85d9e0e99e9eb5cb880d | |
parent | c91a353c47ea13244550037918ff8dc423063012 (diff) | |
download | googletest-758728ba9ba2bd514a25a95fa820698bcdb7415e.tar.gz googletest-758728ba9ba2bd514a25a95fa820698bcdb7415e.tar.bz2 googletest-758728ba9ba2bd514a25a95fa820698bcdb7415e.zip |
Makes generation of fused sources contingent on availability of Python.
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index cb350b75..104c54ee 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. |