GNOME Bugzilla – Bug 311661
GNOME_DOC_INIT needs version argument
Last modified: 2005-07-27 17:41:34 UTC
When you compile from cvs using autogen, gnome-autogen.sh checks the minimum required version of gdu. But when you compile a released tarball, there's no autogen and no gdu version check; if the required gdu version isn't present configure succeeds but make may fail.
Created attachment 49807 [details] [review] proposed patch Adapted from the intltool code for the same purpose :)
Instead of relying on that the 4th word of the output of gnome-doc-prepare --version is the version, maybe we should add a --version-number or so which just outputs the number.
Created attachment 49808 [details] [review] updated patch Better patch; apply 0.3.2 as minimum-version if no argument given.
Couldn't we just check the version with 'pkg-config --modversion gnome-doc-utils'?
Created attachment 49828 [details] [review] use pkg-config Yes we can. Much simpler this way :)
2005-07-27 Christian Persch <chpe@cvs.gnome.org> * gnome-doc-utils.m4: - Add minimum-version argument to GNOME_DOC_INIT, and check for the required gdu version. Minimum is 0.3.2 if not specified. Fixes bug #311661.