From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH for-4.5] systemd: use pkg-config to determine systemd library availability Date: Tue, 2 Dec 2014 15:15:16 +0000 Message-ID: <1417533316.24320.57.camel@citrix.com> References: <1417533090-29651-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1417533090-29651-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: Mark Pryor , "Luis R. Rodriguez" , Ian Jackson , xen-devel@lists.xen.org, Anthony Perard List-Id: xen-devel@lists.xenproject.org On Tue, 2014-12-02 at 15:11 +0000, Wei Liu wrote: > AC_CHECK_LIB fails on Debian Jessie since the ld flag it generates is > incorrect, even in the event systemd library is available. Use > PKG_CHECK_MODULES instead. > > Tested on Debian Jessie and Arch Linux. > > Please rerun autogen.sh after applying this patch. > > Reported-by: Mark Pryor > Signed-off-by: Wei Liu > Cc: Ian Campbell > Cc: Ian Jackson > Cc: Anthony Perard > Cc: Luis R. Rodriguez > Cc: Mark Pryor Acked-by: Ian Campbell I think you should make reference in the commit log to the fact that the library has change name upstream but that a compatibility pkg-config is provided for the old name. It'd be nice if there was a less repetitive way to handle defaults + overriding in the autoconf stuff, but for a freeze exception this is the way to go. Ian.