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

Re: autotools and glib-2.0



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My Inbox Happily Received This From Mohammed Elzubeir @ Wed, 18 Dec 2002 20:57:56 -0600

> On Wed, Dec 18, 2002 at 08:37:33PM -0600, Mohammed Elzubeir wrote:
> > 
> > Salam,
> > 
> > AM_PATH_GLIB()
> > CXXFLAGS = "$CXXFLAGS $GLIB_CFLAGS"
> > 
> 
> Okay, replying to myself, but here it is anyway. Found the macro!
> 
> AM_PATH_GLIB_2_0()
> 
> Just in case someone runs into this again. 

I think the right way (?) 'd be:

PKG_CHECK_MODULES(FOO, glib-2.0 >= 2.0.0)

then you'll have 
FOO_CFLAGS -> compile flags
FOO_LIBS -> link flags

hope this helps!

- -- 
- ----------------
- -- Katoob Main Developer
Linux registered user # 224950
ICQ # 58475622
FIRST  make  it  run, THEN make it run fast "Brian Kernighan".
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+AUONy2aOKaP9DfcRAoNxAJ9I2z+wM2JBPmqqMVSv4PDwSAbkCgCfVv/y
UAic9ryuZHH3NuXFW7wQDRI=
=QhDI
-----END PGP SIGNATURE-----