Re: a project with libglib2.0-dev
On Mon, Jan 10, 2005 at 05:07:03PM +0100, Frederic Peters wrote:
> Baurjan Ismagulov wrote:
> > 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.
>
> Probably more approriate on debian-user@, debian-devel@ is for Debian
> development.
Oops, sorry. I did think where to ask this, and decided for
debian-devel... Taking to debian-user.
> aclocal --version ?
aclocal (GNU automake) 1.7.9
> aclocal --print-ac-dir ?
/usr/share/aclocal
> > Is there a good way to build the project without copying the file?
>
> This shouldn't be necessary. I routinely manage projects with both
> automake 1.4 and automake 1.8 without any problems.
What do you use in configure.ac? I have the following:
AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR(no usable glib library found))
I generate the files as follows:
aclocal
autoconf
automake
autoheader
With kind regards,
Baurjan.
Reply to: