提交 b7f1d218 编写于 作者: D Daniel P. Berrange

Conditionally compile storagevolxml2argvtest

Only compile storagevolxml2argvtest if WITH_STORAGE is
set, because it links to that driver
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 c78a2b13
......@@ -174,7 +174,9 @@ endif
test_programs += nwfilterxml2xmltest
if WITH_STORAGE
test_programs += storagevolxml2argvtest
endif
test_programs += storagevolxml2xmltest storagepoolxml2xmltest
......@@ -472,11 +474,15 @@ nwfilterxml2xmltest_SOURCES = \
testutils.c testutils.h
nwfilterxml2xmltest_LDADD = $(LDADDS)
if WITH_STORAGE
storagevolxml2argvtest_SOURCES = \
storagevolxml2argvtest.c \
testutils.c testutils.h
storagevolxml2argvtest_LDADD = \
../src/libvirt_driver_storage_impl.la $(LDADDS)
else
EXTRA_DIST += storagevolxml2argvtest.c
endif
storagevolxml2xmltest_SOURCES = \
storagevolxml2xmltest.c \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册