]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
misc-utils: build test_uuidd only if BUILD_UUIDD
authorRuediger Meier <ruediger.meier@ga-group.nl>
Mon, 8 Feb 2016 12:53:17 +0000 (13:53 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Fri, 12 Feb 2016 13:11:19 +0000 (14:11 +0100)
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
misc-utils/Makemodule.am
misc-utils/test_uuidd.c [moved from tests/helpers/test_uuidd.c with 100% similarity]
tests/helpers/Makemodule.am

index 5ea27e1321182d198c856028a756ad794065302b..f49200312c9bc29de9f2982de706f087bbbb31b8 100644 (file)
@@ -98,6 +98,11 @@ systemdsystemunit_DATA += \
        misc-utils/uuidd.service \
        misc-utils/uuidd.socket
 endif
+
+check_PROGRAMS += test_uuidd
+test_uuidd_SOURCES = misc-utils/test_uuidd.c
+test_uuidd_LDADD =  $(LDADD) libcommon.la libuuid.la -lpthread
+test_uuidd_CFLAGS = $(AM_CFLAGS) -I$(ul_libuuid_incdir)
 endif # BUILD_UUIDD
 
 PATHFILES += \
index 66d85ba074db9601110d2ea1e1622d3fa8c8c155..0618e75786bde8a91a19c57d5ee5b3b0a7748b0d 100644 (file)
@@ -15,8 +15,3 @@ check_PROGRAMS += test_sigreceive
 test_sigreceive_SOURCES = tests/helpers/test_sigreceive.c
 test_sigreceive_LDADD = $(LDADD) libcommon.la
 
-check_PROGRAMS += test_uuidd
-test_uuidd_SOURCES = tests/helpers/test_uuidd.c
-test_uuidd_LDADD =  $(LDADD) libcommon.la libuuid.la -lpthread
-test_uuidd_CFLAGS = $(AM_CFLAGS) -I$(ul_libuuid_incdir)
-