From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Guix without pkg-config Date: Wed, 30 Jan 2013 22:22:12 +0100 Message-ID: <87obg6gyd7.fsf@gnu.org> References: <201301301754.51952.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0f6m-0001TC-9y for bug-guix@gnu.org; Wed, 30 Jan 2013 16:22:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0f6k-0000oH-Au for bug-guix@gnu.org; Wed, 30 Jan 2013 16:22:16 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:48209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0f6k-0000oC-59 for bug-guix@gnu.org; Wed, 30 Jan 2013 16:22:14 -0500 In-Reply-To: <201301301754.51952.andreas@enge.fr> (Andreas Enge's message of "Wed, 30 Jan 2013 17:54:51 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: bug-guix@gnu.org Andreas Enge skribis: > But setting GUILE_CFLAGS and GUILE_LIBS does not change anything, and=20 > looking at the configure file, I do not have the impression that the=20 > presence of these environment variables is checked. I suppose that all th= is=20 > code is expanded from > PKG_CHECK_MODULES([GUILE], [guile-2.0]) > in configure.ac. Could this be considered a bug in this macro? How about= =20 > working around this issue by first checking for the variables inside=20 > configure.ac, and only calling PKG_CHECK_MODULES if they are undefined? > > Does anyone see another easy solution? The following should work: $ ./configure PKG_CONFIG=3Dtrue GUILE_CFLAGS=3D"" GUILE_LIBS=3D"" HTH, Ludo=E2=80=99.