diff options
author | nyamatongwe <unknown> | 2009-08-13 01:43:46 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-08-13 01:43:46 +0000 |
commit | 132ec5d2012330864fec83d09dac42bbab1973ac (patch) | |
tree | 081eab84642938bc69075f544254d84771312335 | |
parent | 9a722f8cc8066bebfdef5e6fbe617c7019e016fd (diff) | |
download | scintilla-mirror-132ec5d2012330864fec83d09dac42bbab1973ac.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 |