From: Josh Durgin Date: Mon, 1 Apr 2013 21:04:02 +0000 (-0700) Subject: Makefile.am: disable building ceph_test_cors when radosgw is not enabled X-Git-Tag: v0.62~116^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F182%2Fhead;p=ceph.git Makefile.am: disable building ceph_test_cors when radosgw is not enabled This test depends on radosgw. Trying to build it without radosgw will result in a compile error. Signed-off-by: Josh Durgin --- diff --git a/src/Makefile.am b/src/Makefile.am index 7e93e2d4623..6bd7d00e685 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -877,11 +877,13 @@ unittest_texttable_LDADD = librados.la ${UNITTEST_LDADD} unittest_texttable_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} check_PROGRAMS += unittest_texttable +if WITH_RADOSGW ceph_test_cors_SOURCES = test/test_cors.cc ceph_test_cors_LDFLAGS = libglobal.la ceph_test_cors_LDADD = librados.la librgw.a ${UNITTEST_LDADD} ${UNITTEST_STATIC_LDADD} -lcryptopp -lcurl -luuid -lexpat ceph_test_cors_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} bin_DEBUGPROGRAMS += ceph_test_cors +endif ceph_test_librbd_SOURCES = test/librbd/test_librbd.cc test/librados/test.cc ceph_test_librbd_LDADD = librbd.la librados.la ${UNITTEST_STATIC_LDADD}