From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxDym-0002eZ-H4 for qemu-devel@nongnu.org; Fri, 13 Nov 2015 08:01:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxDyi-0004aZ-6U for qemu-devel@nongnu.org; Fri, 13 Nov 2015 08:01:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxDyi-0004a5-1Q for qemu-devel@nongnu.org; Fri, 13 Nov 2015 08:01:20 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 941228E381 for ; Fri, 13 Nov 2015 13:01:19 +0000 (UTC) Message-ID: <1447419672.1400.113.camel@redhat.com> From: Gerd Hoffmann Date: Fri, 13 Nov 2015 14:01:12 +0100 In-Reply-To: <1447414307-5295-1-git-send-email-berrange@redhat.com> References: <1447414307-5295-1-git-send-email-berrange@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] configure: sanity check the glib library that pkg-config finds List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Paolo Bonzini , qemu-devel@nongnu.org, "Dr. David Alan Gilbert" On Fr, 2015-11-13 at 11:31 +0000, Daniel P. Berrange wrote: > Developers on 64-bit machines will often try to perform a > 32-bit build of QEMU by running > > ./configure --extra-cflags="-m32" > > Unfortunately if PKG_CONFIG_LIBDIR is not set to point to > the location of the 32-bit pkg-config files, then configure > will silently pick up the 64-bit pkg-config files and still > succeed. While being at it: I think it would be a good idea to record PKG_CONFIG_LIBDIR in config.status, otherwise it'll be lost the next time configure is touched and make figures it needs to re-run configure.