diff options
author | nyamatongwe <devnull@localhost> | 2009-08-13 01:43:46 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-08-13 01:43:46 +0000 |
commit | 70bc6f5d98ece7a6de39889c5e0f99622f32973b (patch) | |
tree | 081eab84642938bc69075f544254d84771312335 | |
parent | 815cc2a29b376b0dee2002818202844aec37d4aa (diff) | |
download | scintilla-mirror-70bc6f5d98ece7a6de39889c5e0f99622f32973b.tar.gz |
Using simple variables to hold pkg-config info so not run
for every compile.
-rw-r--r-- | gtk/makefile | 8 |
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 |