diff console/plugins/Makefile.am @ 15322:daf402269760

[gaim-migrate @ 18113] Slightly modified patch from Brad Smith: "At the moment there is a bug with the console UI's plug-in gntgf Makefile. The bug is that the X header path is not passed along from AM_CPPFLAGS thus causing gaim to fail to compile the plug-in as shown below. This is fixed by simply adding X11_CFLAGS to AM_CPPFLAGS." committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 12 Jan 2007 05:39:11 +0000
parents f0292b71104b
children 5fe8042783c1
line wrap: on
line diff
--- a/console/plugins/Makefile.am	Fri Jan 12 02:50:08 2007 +0000
+++ b/console/plugins/Makefile.am	Fri Jan 12 05:39:11 2007 +0000
@@ -13,7 +13,9 @@
 
 gntgf_la_SOURCES      = gntgf.c
 gnthistory_la_SOURCES = gnthistory.c
-gntlastlog_la_SOURCES    = lastlog.c
+gntlastlog_la_SOURCES = lastlog.c
+
+gntgf_la_CFLAGS = $(X11_CFLAGS)
 
 gntgf_la_LIBADD       = $(GLIB_LIBS) $(X11_LIBS) $(top_builddir)/console/libgnt/libgnt.la
 gnthistory_la_LIBADD  = $(GLIB_LIBS)