GNOME Bugzilla – Bug 450338
Make gtk-doc.m4 fail when needed gtk-doc is not installed
Last modified: 2007-09-23 14:22:16 UTC
I will a patch that does the following things: 1. Uses PKG_* m4 macros to simplify code 2. Makes configure exit when required gtk-doc is not installed. Without this make would just fail on some missing program with --enable-gtk-doc 3. Fixes bug 323938
Created attachment 90515 [details] [review] gtk-doc.m4.patch
shouldn't that part stay? We cannot assume that AC_PATH_PROG has been called before GTK_DOC_CHECK. if test x$enable_gtk_doc = xyes; then if test -z "$PKG_CONFIG"; then AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no]) fi ...
(In reply to comment #2) > shouldn't that part stay? We cannot assume that AC_PATH_PROG has been called > before GTK_DOC_CHECK. > > if test x$enable_gtk_doc = xyes; then > if test -z "$PKG_CONFIG"; then > AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no]) > fi > ... > That's all handled by the pkg-config macros.
yes, you are right. I had a look at pkg.m4. +1 from my side to include this.
2007-07-16 Stefan Kost <ensonic@users.sf.net> Patch by: Petteri Räty <betelgeuse@gentoo.org> * gtk-doc.m4: Make gtk-doc.m4 fail when needed gtk-doc is not installed and notify user. Fixes #323938 and #450338.