]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Compile test_build_librgw only if WITH_BUILD_TESTS 3988/head
authorBoris Ranto <branto@redhat.com>
Mon, 16 Mar 2015 13:45:16 +0000 (14:45 +0100)
committerSage Weil <sage@redhat.com>
Tue, 17 Mar 2015 19:48:22 +0000 (12:48 -0700)
src/test/Makefile-client.am

index fdfdd57263471614ab6c57186051163dc805c155..824783b9b12a8e1a9c78c76f585741588b65cffd 100644 (file)
@@ -425,6 +425,8 @@ endif # WITH_CEPHFS
 
 
 if WITH_RADOSGW
+
+if WITH_BUILD_TESTS
 test_build_librgw_SOURCES = \
        test/buildtest_skeleton.cc \
        $(librgw_la_SOURCES)
@@ -436,6 +438,7 @@ test_build_librgw_LDFLAGS = -static-libtool-libs
 test_build_librgw_CFLAGS = $(AM_CFLAGS)
 test_build_librgw_CXXFLAGS = $(AM_CXXFLAGS)
 bin_DEBUGPROGRAMS += test_build_librgw
+endif # WITH_BUILD_TESTS
 
 #unittest_librgw_link_SOURCES = test/librgw_link.cc
 #unittest_librgw_link_LDFLAGS = $(PTHREAD_CFLAGS) ${AM_LDFLAGS}