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

Re: a project with libglib2.0-dev



On Mon, Jan 10, 2005 at 05:14:39PM +0100, Michael Koch wrote:
> Am Montag, 10. Januar 2005 17:06 schrieb Baurjan Ismagulov:
> > I'm developing an application using libglib2.0-dev and automake
> > 1.7. I'm using AM_PATH_GLIB_2_0 macro in my configure.ac. In the
> > default installation, aclocal fails to find the macro unless I link
> > /usr/share/aclocal/glib-2.0.m4 to /usr/share/aclocal-1.7.
> >
> > Is there a good way to build the project without copying the file?
> 
> Yes, use pkg-config. The aclocal stuff is deprecated.
> 
> PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.4)

I don't see how this should work, since I don't use gtk+. I use only
containers in glib. I use AM_PATH_GLIB_2_0 in configure.ac, and it uses
pkg-config. But aclocal doesn't find this macro unless I copy the
respective file.

I've heard that one would be able to use some (future?) versions of
autoconf / automake without aclocal, but I don't know how to do that
with automake 1.7.9. Any pointers?

With kind regards,
Baurjan.



Reply to: