]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/gcrypt-util.h
build-sys: fix build with libgrcypt disabled 2905/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 27 Mar 2016 21:33:54 +0000 (17:33 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 28 Mar 2016 01:51:44 +0000 (21:51 -0400)
commitb68f10bf1f7519e012da5e35fab3a57da7dc46d4
treef8454bfba66398ed8b306fd88e7a3953cbae8978
parent09541e49ebd17b41482e447dd8194942f39788c0
build-sys: fix build with libgrcypt disabled

- Move gcrypt.h include inside grcrypt-util.h.
- Allow gcrypt-util.[ch] to be compiled even without gcrypt.
This allows the logic in files using gcrypt to be simplified.

- Fix compilation of systemd-resolve without gcrypt.
systemd-resolved already supported that.

Fixes #2711.
Makefile.am
src/resolve/resolve-tool.c
src/shared/gcrypt-util.c
src/shared/gcrypt-util.h