From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ul1Gi-0005PI-Ri for mharc-grub-devel@gnu.org; Fri, 07 Jun 2013 14:20:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ul1Gg-0005KK-CF for grub-devel@gnu.org; Fri, 07 Jun 2013 14:20:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ul1Ge-00084x-NC for grub-devel@gnu.org; Fri, 07 Jun 2013 14:20:06 -0400 Received: from mail-lb0-f177.google.com ([209.85.217.177]:58850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ul1Ge-00081z-GM for grub-devel@gnu.org; Fri, 07 Jun 2013 14:20:04 -0400 Received: by mail-lb0-f177.google.com with SMTP id 10so4118654lbf.36 for ; Fri, 07 Jun 2013 11:20:03 -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=nfOFS7TMogD+VjCDe1OeSD/Nt87TsRvD1Mm0wWvD86I=; b=WtmtS9ukMvm+oT9FaPallwK3XBuaMj2esjXiUuMYlpIFbKDP5qLDWfVIML3RwqWVdP NQXIRX0kcDG3LBptxpNYR88dOLxGCVonB4lhIBAWkuZiOo0XK3Es2qU5Gjw2eduk5lq1 ISZKGlGBl+mkbn3qHrU8YiaAaDfQLhiEwzhbHz9/En4mqZak47mbGxp2KDNr2FSg64Ys TAVMxtIP4OoD6UhcjNTTTq0zQa6d+Te20Vm98rppCWU2vAWPY46qvn7LmEXIhRHAOElZ 9qkL87Q/dhS3gS8wj50oWKkWtfrbxYVUDUkEp4G1o4Ex9198ayb+dqv4GZ86+yWd0+od TtKg== X-Received: by 10.112.159.169 with SMTP id xd9mr1288853lbb.43.1370629203469; Fri, 07 Jun 2013 11:20:03 -0700 (PDT) Received: from opensuse.site (ppp79-139-160-84.pppoe.spdop.ru. [79.139.160.84]) by mx.google.com with ESMTPSA id i2sm10087767lah.5.2013.06.07.11.20.02 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 07 Jun 2013 11:20:02 -0700 (PDT) Date: Fri, 7 Jun 2013 22:20:02 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: [BUG][PATCH] configure.ac: Respect the configured freetype-config Message-ID: <20130607222002.6d37ec61@opensuse.site> In-Reply-To: References: 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: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.217.177 Cc: fedora.dm0@gmail.com 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: Fri, 07 Jun 2013 18:20:07 -0000 В Fri, 7 Jun 2013 14:04:59 -0400 David Michael пишет: > Hi, > > It seems that the configure script detects freetype-config in the > usual manner, but when this command is needed, it will only call a > hard-coded freetype-config. > 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? > Can something like this fix be applied to call the configured program? > > Thanks. > > David > > > === modified file 'configure.ac' > --- configure.ac 2013-06-07 14:02:16 +0000 > +++ configure.ac 2013-06-07 17:45:34 +0000 > @@ -952,8 +952,8 @@ > > if test x"$grub_mkfont_excuse" = x ; then > # Check for freetype libraries. > - freetype_cflags=`freetype-config --cflags` > - freetype_libs=`freetype-config --libs` > + freetype_cflags=`$FREETYPE --cflags` > + freetype_libs=`$FREETYPE --libs` > SAVED_CPPFLAGS="$CPPFLAGS" > CPPFLAGS="$CPPFLAGS $freetype_cflags" > AC_CHECK_HEADERS([ft2build.h], [], > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel