pkg-config problem

Andrew Benton b3nton at gmail.com
Sat Sep 25 13:31:40 PDT 2010


On Sun, 19 Sep 2010 14:56:08 -0600
Matthew Burgess <matthew at linuxfromscratch.org> wrote:

> On Fri, 3 Sep 2010 19:28:26 +0100, Ken Moffat <ken at linuxfromscratch.org> wrote:
> 
> > sed -i -e '/^_PKG_TEXT/s/dnl/[]dnl/' \
> >        -e '/^To get/s/dnl/[]dnl/' pkg.m4
> > 
> > will do it, for those who dislike patching.  The simple "change
> > '])dnl'" version I tried also changed other lines.
> 
> It turns out that this was actually a bug in Autoconf, not in pkg-config.
> See http://lists.gnu.org/archive/html/bug-autoconf/2010-09/msg00040.html and
> http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=f6030a3204a9b87e9b346e6eff4ce1117382fc86
> for the upstream details.
> 
> Sadly, I caught this too late for 6.7, oh well!
> 
> Here's the sed that'll achieve the same as the upstream fix (minus their
> test suite addition, of course):
> 
> sed -i -e 's/])m4_defun/[]&/' lib/m4sugar/m4sugar.m4
> 

It seems that this bug is fixed in autoconf-2.68

Andy



More information about the lfs-dev mailing list