Instead of shipping a custom gtkdoc.m4 and patching configure scripts, we should use gtk-doc-stub: http://git.gnome.org/browse/gtk-doc-stub/
Rude to tell people to do work without offering to do it yourself... This is step 1 of a two part plan. Part two is to actually build gtk-doc so that we can generate the documentation for the libraries we ship that use it.
I've a branch working on this.
gtk-doc-stub has landed in oe-core.
Verified in commit 19ff55a53b436d463f9577adaed15be77708f0d2.