Re: [gnome-love] Linking with gdk-pixbuf
- From: Federico Mena Quintero <federico ximian com>
- To: "Heeten H. Choxi" <heeten drexel edu>
- Cc: gnome-love gnome org
- Subject: Re: [gnome-love] Linking with gdk-pixbuf
- Date: 29 Jan 2002 17:32:40 -0600
On Sat, 2002-01-26 at 11:58, Heeten H. Choxi wrote:
I'm having a little trouble learning how autoconf works. How do I get a
project I made in glade to link with gdk-pixbuf?
Add something like the following to your configure.in:
AM_PATH_GDK_PIXBUF(0.9.0, ,AC_MSG_ERROR([Need gdk-pixbuf-0.9.0 or later!]))
EXTRA_CFLAGS=`gnome-config --cflags gdk_pixbuf`
EXTRA_LIBS=`gnome-config --ldflags gdk_pixbuf`
AC_SUBST(EXTRA_CFLAGS)
AC_SUBST(EXTRA_LIBS)
And then use the $(EXTRA_CFLAGS) and $(EXTRA_LIBS) in your Makefile.am.
Good luck,
Federico
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]