Autoconf issues

Biju Chacko botsie at myrealbox.com
Mon Aug 26 14:04:09 CEST 2002


On 22 Aug 2002 09:15:26 +0200, Olivier Fourdan wrote:

> You might check the pkg-config install since the macro comes with
> pkg-config AFAIK.
> 
> On Thu, 2002-08-22 at 06:53, Biju Chacko wrote:
> > the macro 
> > 
> > PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >=
> > $GLIB_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION pango >=
> > $PANGO_REQUIRED_VERSION gmodule-2.0 libxml-2.0)
> > 
> > in my configure.ac doesn't seem to be expanded. It is dumped as is
> > into the generated configure.

Thanks Olivier -- that worked. My autotools were installed with prefix
/usr/local whereas pkg-config was in /usr.

This brings me to question two: how do I control whether it is built
against gtk 1.2 or 2.0 ? I would like to give the user the option to
choose.

-- b

-- 
-----------------------------------------------------------------------
Biju 'botsie' Chacko                        biju_chacko at vsnl dot net
http://www.symonds.net/~botsie
-----------------------------------------------------------------------




More information about the Xfce4-dev mailing list