aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-08-13 01:43:46 +0000
committernyamatongwe <devnull@localhost>2009-08-13 01:43:46 +0000
commit70bc6f5d98ece7a6de39889c5e0f99622f32973b (patch)
tree081eab84642938bc69075f544254d84771312335
parent815cc2a29b376b0dee2002818202844aec37d4aa (diff)
downloadscintilla-mirror-70bc6f5d98ece7a6de39889c5e0f99622f32973b.tar.gz
Using simple variables to hold pkg-config info so not run
for every compile.
-rw-r--r--gtk/makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/makefile b/gtk/makefile
index 8d01390d8..6fa7c8042 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -40,17 +40,17 @@ endif
# If explicit setting of GTK1 or GTK2 then use that else look for
# pkg-config which is an OK indication that GTK2 is available
ifdef GTK2
-CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0)
+CONFIGFLAGS:=$(shell pkg-config --cflags gtk+-2.0)
MARSHALLER=scintilla-marshal.o
else
ifdef GTK1
-CONFIGFLAGS=$(shell gtk-config --cflags)
+CONFIGFLAGS:=$(shell gtk-config --cflags)
else
ifneq (,$(findstring /,$(shell whereis pkg-config)))
-CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0)
+CONFIGFLAGS:=$(shell pkg-config --cflags gtk+-2.0)
MARSHALLER=scintilla-marshal.o
else
-CONFIGFLAGS=$(shell gtk-config --cflags)
+CONFIGFLAGS:=$(shell gtk-config --cflags)
endif
endif
endif