fix for older glib-2.0 versions to build with recent autotools
authorAlexander Stohr <Alexander.Stohr@gmx.de>
Tue, 26 Oct 2010 02:55:49 +0000 (02:55 +0000)
committerKhem Raj <raj.khem@gmail.com>
Sat, 6 Nov 2010 16:02:33 +0000 (09:02 -0700)
commitf8d4a50cc0a19a74baeb51279e829861da04302d
tree74f1a442f9b9ea663447a9b56a31b2463353ed02
parent80d0f2d59c4162ddd0e68205cc859692e427459c
fix for older glib-2.0 versions to build with recent autotools

the attached patch bundles a single fix for glib-2.0
for recipes built upon glib tarballs 2.6.4 to 2.20.4.
later versions have the problem fixed in tarball (e.g. 2.22.1 and newer).

the problem happens when you need to update autotools
for some other reason (e.g. building some newer package)
whilst not wanting to update glib at the very same time.
it manifests by a badly clobbered "fi" in configure step
and thus a still open nesting level when the script ends.
the auto tools generated script exposes "fiAC_..." that
originates from a too extensive use of the "dnl" statemnt.
that construct is only critical with newer auto tools.

the fix removes those problematic extra keyword.

regards, Alex.

see for reference:
http://bugs.gentoo.org/show_bug.cgi?id=307775
http://git.gnome.org/browse/glib/commit/?id=c24f6e55276fac68b08df34b0d350f65afe994d9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/glib-2.0/files/glib-2.6.4-fix-autotools-fiac.patch [new file with mode: 0644]
recipes/glib-2.0/glib-2.0_2.12.12.bb
recipes/glib-2.0/glib-2.0_2.20.3.bb
recipes/glib-2.0/glib-2.0_2.20.4.bb
recipes/glib-2.0/glib-2.0_2.6.4.bb
recipes/glib-2.0/glib-2.0_2.8.6.bb