GNOME Bugzilla – Bug 323938
gtk-doc.m4 check is silent
Last modified: 2007-09-22 19:10:18 UTC
gtk-doc.m4 only invokes any AC_MSG_CHECKING() when all following conditions are met: * gtk-doc was already found via pkg-config * version check is requested Therefore when for example gtk-doc.pc is not found, it looks like configure did not attempt to check for gtk-doc at all. This is quite confusing.
but if there is no gtk-doc.pc, than this should mean that there is no gtk-doc at all. What scenario can you imagine where gtk-doc has been installed without gtk-doc.pc.
If configure comes to conslusion there is no gtk-doc.pc (and thus no gtk-doc), then it checked for gtk-doc. Therefore I expect it to print: Checking for gtk-doc... no What scenario can you imagine configure can determine presence or absence of some package without checking for it?
I submitted a patch to bug 450338 that fixes this issue among other things.
Yeti, is the patch in bug #450338 fine for you too?
(In reply to comment #4) > Yeti, is the patch in bug #450338 fine for you too? At the expense of calling pkg-config twice, yes, as one gets a diagnostics when gtk-doc is not installed at all.
(In reply to comment #5) > (In reply to comment #4) > > Yeti, is the patch in bug #450338 fine for you too? > > At the expense of calling pkg-config twice, yes, as one gets a diagnostics when > gtk-doc is not installed at all. > What do you mean? If anything my patch removes calling pkg-config twice.
(In reply to comment #6) > > What do you mean? If anything my patch removes calling pkg-config twice. Sorry, too early in the morning, not enough coffee... Yes, the patch is good.
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.