GNOME Bugzilla – Bug 600718
autoconf fails with gobject-introspection
Last modified: 2010-04-07 18:33:11 UTC
Created attachment 146937 [details] Log of running autogen.sh Running autogen.sh on gstreamer core with: - automake 1.9.6 - autoconf 2.52 - libtool 1.5.0 fails due to gobject-introspection stuff. Replacing: GOBJECT_INTROSPECTION_CHECK([0.6.3]) with AM_CONDITIONAL(HAVE_INTROSPECTION, false) makes it work correctly. I guess the introspection macros are broken in some way, and need fixing for (probably) autoconf 2.52 A log is attached.
It looks from the log as if AS_CASE (which should expand to the shell case/esac construct) is not expanded by that version of autoconf. Unfortunately, autoconf doesn't document their manuals to tell you which versions various things were introduced in, so it's hard to know what the minimum autoconf version now is. Fixing the gobject-introspection macro in common/m4 is probably the best thing to do.
From groveling through the autoconf changelog, AS_CASE wasn't introduced until 2.60. We should replace use of it in introspection.m4 rather than increasing the build requirements needlessly.
Also see bug #600796
We should either fix this in our local copy (which one will take precedence if there's on in common/m4 and a system installed one?), or WONTFIX/DUPLICATE it and up the requirement. autoconf 2.60 was released on 26-Jun-2006 according to http://ftp.gnu.org/gnu/autoconf/, so it doesn't seem completely unreasonable to up the requirement to 2.60, especially given that we already require newer versions of other tools (gettext).
Ok, bumped autoconf requirement to 2.60. Hopefully that's enough, otherwise it'll have to be 2.62 I guess. Core: commit 6ab962bd5164874296f17e282950c723f8638074 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Wed Apr 7 19:05:04 2010 +0100 build: bump autoconf requirement to 2.60 for gobject-introspection.m4 Require autoconf 2.60 (which was released in June 2006). Fixes #600718. Base: commit 037898a2ced56361227c7aaf81689f6e0daa7b91 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Wed Apr 7 19:07:29 2010 +0100 build: bump autoconf requirement to 2.60 for gobject-introspection.m4 Require autoconf 2.60 (which was released in June 2006). Fixes #600718.