From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UlAKp-0003TW-Ha for mharc-grub-devel@gnu.org; Sat, 08 Jun 2013 00:00:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlAKn-0003TP-5e for grub-devel@gnu.org; Sat, 08 Jun 2013 00:00:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlAKm-0005qX-6s for grub-devel@gnu.org; Sat, 08 Jun 2013 00:00:57 -0400 Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:44862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlAKl-0005qP-Vk for grub-devel@gnu.org; Sat, 08 Jun 2013 00:00:56 -0400 Received: by mail-la0-f43.google.com with SMTP id gw10so4336662lab.30 for ; Fri, 07 Jun 2013 21:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=R4+qw59/g6B63jD3iSFamOdt6gYtQJhgVpcV5gWg5n4=; b=hLnWzyM79FpQmo9jVt0TPcn/tiI/ozgWJLrusZBj5HJQH1PX7zWTvJ/5K3vowD9Amn MPcpLgV/glyLGL/wh8d8v0xk7f8WbkmjmqUyRp8oMagPIBdO+M4eaMOIGjPKnLKqZRyX OzQrIC9prrqGCljCT0qz3cpwQInOBJwd20icycwL54LHDAY8dCcEuIJfvW/EhTFsBRdA 6ROV2EtOtDPl7Q5Zbfyzuyri7+Ux6ydzo4GuRBhZHO6tv82PDty1qQ6gFHsxetZHZlEB ryfF4dykwjkwSLbfGcEvpWEuAgVDQZexKcvarrO8RTKYtyjRiYTGbFTAqmoWZx22OCT8 /eIg== X-Received: by 10.112.138.230 with SMTP id qt6mr2468167lbb.34.1370664053799; Fri, 07 Jun 2013 21:00:53 -0700 (PDT) Received: from opensuse.site (ppp79-139-160-84.pppoe.spdop.ru. [79.139.160.84]) by mx.google.com with ESMTPSA id n7sm1914613lbd.12.2013.06.07.21.00.52 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 07 Jun 2013 21:00:52 -0700 (PDT) Date: Sat, 8 Jun 2013 08:00:51 +0400 From: Andrey Borzenkov To: David Michael Subject: Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config Message-ID: <20130608080051.26e42526@opensuse.site> In-Reply-To: References: <20130607222002.6d37ec61@opensuse.site> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22b Cc: The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jun 2013 04:00:59 -0000 В Fri, 7 Jun 2013 14:35:10 -0400 David Michael пишет: > Hi, > > On Fri, Jun 7, 2013 at 2:20 PM, Andrey Borzenkov wrote: > > But FREETYPE cannot be anything than freetype-config, can it? Do you > > actually have situation when AC_CHECK_PROGS([FREETYPE], > > [freetype-config]) succeeds but call to freetype-config fails? > > In my case, I noticed this issue while attempting to cross-compile > GRUB for another system. It needs to use the cross-compiled freetype > configuration, but the build system has its native freetype-config > installed as well. Using a variable here allowed me to specify the > correct freetype-config as per the usual AC_CHECK_PROGS behavior. > I still do not understand it. AC_CHECK_PROG does not change behavior in case of cross-compilation, it simply finds first program in PATH. Could you explain you setup in more details and show config.log both with and without your patch? > This isn't a big problem since I am able to build on the target system > as well, but it would be nice to have working out of the box. > > Thanks. > > David