gnome-config - how to control include paths?



I am trying to build a simple Gnome application.
The Makefile sets the CFLAGS using gnome-config as follows:

CFLAGS=-g -Wall `gnome-config --cflags gnome gnomeui libglade`

When I run make, it fails because it can't find gdk_imlib.h.

... /gnome-animator.h:28: gdk_imlib.h: No such file or directory

I know where gdk_imlib.h is located, but it's not in the 
include paths returned by gnome-config.

Can someone please tell me how I can control which include paths
are returned by "gnome-config --cflags <library>"?  Do I need
to set some environment variable before running gnome-config? 
Do I need to rebuild gnome-libs with some flag set?

Thanks for any help.

Regards,
--
Dean Schumacher			Email: dean schumacher usa alcatel com
Software Engineering Tools	Phone: 972.519.3252
Alcatel USA




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