Re: gthread & autoconf
- From: Owen Taylor <otaylor redhat com>
- To: edwin snufkin f9 co uk, gnome-devel-list gnome org
- Subject: Re: gthread & autoconf
- Date: 17 Feb 2000 13:57:16 -0500
Havoc Pennington <hp@redhat.com> writes:
> edwin@snufkin.f9.co.uk writes:
> >
> > I can\'t work out what I need to put in configure.in to inform autoconf/automake that I want to link to the gthread library. Can anyone help me out?
> >
>
> If you read glib.m4 (in share/aclocal) it has some docs - basically
> you want:
>
> AM_PATH_GLIB(1.2, , AC_MSG_ERROR("can't find glib"), gthread)
If you are writing a GTK+ program, you can, instead, combine this with
checking for GTK+
AM_PATH_GTK(1.2, , AC_MSG_ERROR("can't find gtk"), gthread)
This will add the GLib flags and libraries to GTK_CFLAGS and GTK_LIBS.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]