chiark / gitweb /
build-sys: add missing HAVE_LIBIPTC
authorKay Sievers <kay@vrfy.org>
Fri, 16 Jan 2015 14:16:05 +0000 (15:16 +0100)
committerKay Sievers <kay@vrfy.org>
Fri, 16 Jan 2015 14:22:16 +0000 (15:22 +0100)
Makefile.am

index ff69bb93d24fb5fe5e9b85281b96a661eb220e54..f69fc2ecbec40d93053b0afa2d129c2cbd55a1e2 100644 (file)
@@ -1352,8 +1352,12 @@ manual_tests += \
        test-watchdog \
        test-log \
        test-ipcrm \
        test-watchdog \
        test-log \
        test-ipcrm \
-       test-btrfs \
+       test-btrfs
+
+if HAVE_LIBIPTC
+manual_tests += \
        test-fw-util
        test-fw-util
+endif
 
 if HAVE_KMOD
 manual_tests += \
 
 if HAVE_KMOD
 manual_tests += \
@@ -1834,6 +1838,7 @@ test_btrfs_LDADD = \
        libsystemd-label.la \
        libsystemd-shared.la
 
        libsystemd-label.la \
        libsystemd-shared.la
 
+if HAVE_LIBIPTC
 test_fw_util_SOURCES = \
        src/test/test-fw-util.c
 
 test_fw_util_SOURCES = \
        src/test/test-fw-util.c
 
@@ -1845,6 +1850,7 @@ test_fw_util_LDADD = \
        libsystemd-fw.la \
        libsystemd-shared.la \
        $(LIBIPTC_LIBS)
        libsystemd-fw.la \
        libsystemd-shared.la \
        $(LIBIPTC_LIBS)
+endif
 
 test_rtnl_manual_SOURCES = \
        src/test/test-rtnl-manual.c
 
 test_rtnl_manual_SOURCES = \
        src/test/test-rtnl-manual.c