tCompile and link properly with GLib even if GTK+ is not detected. - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d777845cc755c33436ca06c2a89ccf26d6444829
(DIR) parent 2791a7ff2fe9a96a509eba2bb1a45c29270e3b0b
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Mon, 8 Jul 2002 18:40:52 +0000
Compile and link properly with GLib even if GTK+ is not detected.
Diffstat:
M src/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/Makefile.am b/src/Makefile.am
t@@ -21,7 +21,7 @@ CURSESPORTSUBDIR = cursesport
endif
SUBDIRS = $(GUISUBDIR) $(CURSESSUBDIR) $(GTKPORTSUBDIR) $(CURSESPORTSUBDIR) plugins
-dopewars_LDADD = @GUILIB@ @CURSESLIB@ @GTKPORTLIB@ @CURSESPORTLIB@ @GTK_LIBS@ @INTLLIBS@ @WNDRES@ @PLUGOBJS@ @PLUGLIBS@
+dopewars_LDADD = @GUILIB@ @CURSESLIB@ @GTKPORTLIB@ @CURSESPORTLIB@ @GTK_LIBS@ @INTLLIBS@ @WNDRES@ @PLUGOBJS@ @PLUGLIBS@ @GLIB_LIBS@
dopewars_DEPENDENCIES = @GUILIB@ @CURSESLIB@ @GTKPORTLIB@ @CURSESPORTLIB@ @INTLLIBS@ @WNDRES@ @PLUGOBJS@
bin_PROGRAMS = dopewars
t@@ -31,7 +31,7 @@ dopewars_SOURCES = admin.c admin.h AIPlayer.c AIPlayer.h util.c util.h \
message.c message.h network.c network.h nls.h \
serverside.c serverside.h sound.c sound.h \
tstring.c tstring.h winmain.c winmain.h
-INCLUDES = -I../intl -I${srcdir} -I.. @GTK_CFLAGS@
+INCLUDES = -I../intl -I${srcdir} -I.. @GLIB_CFLAGS@ @GTK_CFLAGS@
DEFS = @DEFS@
PIXDIR = ${DESTDIR}${datadir}/pixmaps
DOPEDIR = ${DESTDIR}${bindir}