Re: GTKDOC_DEPS in recent gtk-doc.m4



On Sat, Dec 03, 2011 at 07:25:33PM +0100, Stefan Sauer wrote:
> > 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.

: is the null command in shell
[] is quoting in m4

It is passed as the fourth argument of PKG_CHECK_MODULES(), i.e. it
overrides the action-if-not-found (which is normally an error) to
no-op.

If that's what you asked.

Yeti



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