[systemd-devel] [PATCH 0/1] systemd will fail to compile if libgcrypt is missing

Jan Engelhardt jengelh at inai.de
Mon Nov 4 13:28:20 PST 2013


On Monday 2013-11-04 13:01, Lennart Poettering wrote:
>On Sat, 02.11.13 02:11, Djalal Harouni (tixxdz at opendz.org) wrote:
>> 
>>I'm building from git tree, and I've noticed that systemd autogen.sh 
>>will fail if the libgcrypt and its headers are missing.
>
>This is expected that way. If you build from git you need a few 
>additional dependencies.[...] There's not to fix here.

Well, there is something of a solution—wrapping everything into 
m4_ifdef:

	m4_ifdef([AM_PATH_LIBGCRYPT], [
		AC_ARG_ENABLE([gcrypt]..................)
		if test "x${have_gcrypt}" != xno; then
			AM_PATH_LIBGCRYPT...............
			........
		fi
	])


More information about the systemd-devel mailing list