Stop building tests when disabled
authorScott Cantor <cantor.2@osu.edu>
Mon, 12 Sep 2011 17:09:44 +0000 (17:09 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 12 Sep 2011 17:09:44 +0000 (17:09 +0000)
samltest/Makefile.am

index 0dc3ee6..0209c14 100644 (file)
@@ -105,9 +105,10 @@ noinst_HEADERS = \
 
 nodist_samltest_SOURCES = $(samltest_h:.h=.cpp)
 
+if BUILD_UNITTEST
 BUILT_SOURCES = $(nodist_samltest_SOURCES)
-
 CLEANFILES = $(nodist_samltest_SOURCES)
+endif
 
 do-cxxtestgen:
        if test "$(CPPFILE)" = "samltest.cpp"; then \