From dcb67fd746e550f73f4db4db2e2b24ff9788f209 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Mon, 5 Dec 2016 20:23:39 +0100 Subject: [PATCH] Fix some automake warnings src/Makefile.am:1286: warning: variable 'test_plugin_virt_SOURCES' is defined but no program or src/Makefile.am:1286: library has 'test_plugin_virt' as canonical name (possible typo) src/Makefile.am:1290: warning: variable 'test_plugin_virt_LDADD' is defined but no program or src/Makefile.am:1290: library has 'test_plugin_virt' as canonical name (possible typo) src/Makefile.am:1289: warning: variable 'test_plugin_virt_LDFLAGS' is defined but no program or src/Makefile.am:1289: library has 'test_plugin_virt' as canonical name (possible typo) autoreconf: Leaving directory `.' --- src/Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index e89dafb9..f388a557 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1283,16 +1283,16 @@ virt_la_CFLAGS = $(AM_CFLAGS) \ virt_la_LIBADD = $(BUILD_WITH_LIBVIRT_LIBS) $(BUILD_WITH_LIBXML2_LIBS) virt_la_LDFLAGS = $(PLUGIN_LDFLAGS) -test_plugin_virt_SOURCES = virt_test.c -test_plugin_virt_CPPFLAGS = $(AM_CPPFLAGS) \ - $(BUILD_WITH_LIBVIRT_CFLAGS) $(BUILD_WITH_LIBXML2_CFLAGS) -test_plugin_virt_LDFLAGS = $(PLUGIN_LDFLAGS) -test_plugin_virt_LDADD = daemon/libplugin_mock.la \ - $(BUILD_WITH_LIBVIRT_LIBS) $(BUILD_WITH_LIBXML2_LIBS) # TODO: enable once we support only modern libvirts which depends on libnl-3 # the libvirt on wheezy is linked in libnl v1, and there is a small leak here, # triggered by the library initialization. There are no means to avoid it, # and libvirt switched to libnl3 anyway +#test_plugin_virt_SOURCES = virt_test.c +#test_plugin_virt_CPPFLAGS = $(AM_CPPFLAGS) \ +# $(BUILD_WITH_LIBVIRT_CFLAGS) $(BUILD_WITH_LIBXML2_CFLAGS) +#test_plugin_virt_LDFLAGS = $(PLUGIN_LDFLAGS) +#test_plugin_virt_LDADD = daemon/libplugin_mock.la \ +# $(BUILD_WITH_LIBVIRT_LIBS) $(BUILD_WITH_LIBXML2_LIBS) #check_PROGRAMS += test_plugin_virt #TESTS += test_plugin_virt endif -- 2.30.2