Re: GTKDOC_DEPS in recent gtk-doc.m4



On 12/01/2011 08:30 PM, Nicola Fontana wrote:
> 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,,[:])
what is the semantics for [:] ? It works for me and the point of this
check is that we only check for glib if we don't build glib.

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



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