From: Enrico Scholz Date: Thu, 18 Apr 2013 18:22:46 +0000 (+0200) Subject: systemd: depend on libgcrypt X-Git-Tag: rev_ivi_2015_02_04~12842 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=499903d859f6c04afcb7409d6af35604cb67b206;p=scm%2Fbb%2Ftizen-distro.git systemd: depend on libgcrypt Although libgcrypt support is optional, its development files are are always required to expand AM_PATH_LIBGCRYPT. Build might fails else with | libtoolize: copying file `m4/lt~obsolete.m4' | configure.ac:446: warning: macro 'AM_PATH_LIBGCRYPT' not found in library | ... | configure.ac:446: error: possibly undefined macro: AM_PATH_LIBGCRYPT | autoreconf: .../autoconf failed with exit status: 1 | + bbfatal 'autoreconf execution failed.' | + echo 'ERROR: autoreconf execution failed.' (From OE-Core rev: c7fe1d0085339e55566989b96d4d48412f0fa47d) Signed-off-by: Enrico Scholz Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd_199.bb b/meta/recipes-core/systemd/systemd_199.bb index 159dfd8..43463c5 100644 --- a/meta/recipes-core/systemd/systemd_199.bb +++ b/meta/recipes-core/systemd/systemd_199.bb @@ -50,6 +50,9 @@ GTKDOC_DOCDIR = "${S}/docs/" PACKAGECONFIG ??= "xz" # Sign the journal for anti-tampering PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" +# regardless of PACKAGECONFIG, libgcrypt is always required to expand +# the AM_PATH_LIBGCRYPT autoconf macro +DEPENDS += "libgcrypt" # Compress the journal PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz"