Re: GTKDOC_DEPS in recent gtk-doc.m4



On Sun, 20 Nov 2011 22:13:34 +0100
Simon Josefsson <simon josefsson org> wrote:

> Hi!  I'm using gtk-doc in for example GNU Libtasn1 and recently upgraded
> to the latest gtk-doc.m4 from your git repo, which contains this new
> piece of code:
> 
>     dnl don't check for glib if we build glib
>     if test "x$PACKAGE_NAME" != "xglib"; then
>       dnl don't fail if someone does not have glib
>       PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0,,)
>     fi

It should be:
       PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0,,[:])

glib is needed to get additional information if your library is based on
GObject, such as type inheritance.

Ciao.
-- 
Nicola


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]