[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autotools and glib-2.0
- To: developer at arabeyes dot org
- Subject: autotools and glib-2.0
- From: Mohammed Elzubeir <elzubeir at fakkir dot net>
- Date: Wed, 18 Dec 2002 20:37:33 -0600
- User-agent: Mutt/1.2.5.1i
Salam,
I know a few people here have used glib-2.0 (including M.Sameer here, HELP!)
I'm trying to get glib-2.0 included in my configure.in file. The problem comes
when the glib m4 macros are from 1.2 (haven't seen ones for 2.0). So, it tries
to run glib-config instead of pkg-config.
To illustrate (in configure.in):
AM_PATH_GLIB()
CXXFLAGS = "$CXXFLAGS $GLIB_CFLAGS"
This results in it trying to include the glib-1.2 library. So, when I
explicitly give it the version number
AM_PATH_GLIB([2.0.0]
it freaks out and says it doesn't know what I'm talking about..
So, what is the acceptable work-around?
Thanks
--
-------------------------------------------------------
| Mohammed Elzubeir | Visit us at: |
| | http://www.arabeyes.org/ |
| Arabeyes Project | Homepage: |
| Unix the 'right' way | http://fakkir.net/~elzubeir/|
-------------------------------------------------------
---
Was I helpful? Let others know:
http://svcs.affero.net/rm.php?r=elzubeir