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

Re: a project with libglib2.0-dev

Am Montag, 10. Januar 2005 17:06 schrieb Baurjan Ismagulov:
> Hello,
> 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)

Homepage: http://www.worldforge.org/

Reply to: