chiark / gitweb /
import: add a simple scheme for validating the SHA256 sums of downloaded raw files
[elogind.git] / Makefile.am
index f165042cb02bd31dca62bcc67183c98d9ed816c0..b6a4e3e4e5477bc766974c41fae3a6260a429c53 100644 (file)
@@ -5238,6 +5238,9 @@ lib_LTLIBRARIES += \
        libnss_mymachines.la
 
 if HAVE_LIBCURL
+if HAVE_XZ
+if HAVE_ZLIB
+if HAVE_GCRYPT
 
 bin_PROGRAMS += \
        systemd-import
@@ -5265,7 +5268,8 @@ systemd_import_CFLAGS = \
        $(AM_CFLAGS) \
        $(LIBCURL_CFLAGS) \
        $(XZ_CFLAGS) \
-       $(ZLIB_CFLAGS)
+       $(ZLIB_CFLAGS) \
+       $(GCRYPT_CFLAGS)
 
 systemd_import_LDADD = \
        libsystemd-internal.la \
@@ -5273,11 +5277,9 @@ systemd_import_LDADD = \
        libsystemd-shared.la \
        $(LIBCURL_LIBS) \
        $(XZ_LIBS) \
-       $(ZLIB_LIBS)
-
-endif
+       $(ZLIB_LIBS) \
+       $(GCRYPT_LIBS)
 
-if HAVE_ZLIB
 manual_tests += \
        test-qcow2
 
@@ -5296,6 +5298,9 @@ test_qcow2_LDADD = \
        libsystemd-shared.la \
        $(ZLIB_LIBS)
 endif
+endif
+endif
+endif
 
 endif