Lines 1-5
Link Here
|
1 |
--- makefile.orig 2009-07-03 01:48:46.000000000 -0400 |
1 |
--- makefile.orig 2009-08-12 21:35:23.000000000 -0400 |
2 |
+++ makefile 2009-08-11 12:37:37.000000000 -0400 |
2 |
+++ makefile 2009-08-21 01:58:12.000000000 -0400 |
3 |
@@ -8,16 +8,17 @@ |
3 |
@@ -8,16 +8,17 @@ |
4 |
# To force GTK+ 1 build, define GTK1 on the make command line. |
4 |
# To force GTK+ 1 build, define GTK1 on the make command line. |
5 |
|
5 |
|
Lines 36-56
Link Here
|
36 |
# If explicit setting of GTK1 or GTK2 then use that else look for |
36 |
# If explicit setting of GTK1 or GTK2 then use that else look for |
37 |
# pkg-config which is an OK indication that GTK2 is available |
37 |
# pkg-config which is an OK indication that GTK2 is available |
38 |
ifdef GTK2 |
38 |
ifdef GTK2 |
39 |
-CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0) |
39 |
-CONFIGFLAGS:=$(shell pkg-config --cflags gtk+-2.0) |
40 |
+CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0 gthread-2.0) |
40 |
+CONFIGFLAGS:=$(shell pkg-config --cflags gtk+-2.0 gthread-2.0) |
41 |
MARSHALLER=scintilla-marshal.o |
41 |
MARSHALLER=scintilla-marshal.o |
42 |
else |
42 |
else |
43 |
ifdef GTK1 |
43 |
ifdef GTK1 |
44 |
-CONFIGFLAGS=$(shell gtk-config --cflags) |
44 |
-CONFIGFLAGS:=$(shell gtk-config --cflags) |
45 |
+CONFIGFLAGS=$(shell pkg-config --cflags gtk+ gthread) |
45 |
+CONFIGFLAGS:=$(shell pkg-config --cflags gtk+ gthread) |
46 |
else |
46 |
else |
47 |
ifneq (,$(findstring /,$(shell whereis pkg-config))) |
47 |
ifneq (,$(findstring /,$(shell whereis pkg-config))) |
48 |
-CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0) |
48 |
-CONFIGFLAGS:=$(shell pkg-config --cflags gtk+-2.0) |
49 |
+CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0 gthread-2.0) |
49 |
+CONFIGFLAGS:=$(shell pkg-config --cflags gtk+-2.0 gthread-2.0) |
50 |
MARSHALLER=scintilla-marshal.o |
50 |
MARSHALLER=scintilla-marshal.o |
51 |
else |
51 |
else |
52 |
-CONFIGFLAGS=$(shell gtk-config --cflags) |
52 |
-CONFIGFLAGS:=$(shell gtk-config --cflags) |
53 |
+CONFIGFLAGS=$(shell pkg-config --cflags gtk+ gthread) |
53 |
+CONFIGFLAGS:=$(shell pkg-config --cflags gtk+ gthread) |
54 |
endif |
54 |
endif |
55 |
endif |
55 |
endif |
56 |
endif |
56 |
endif |