From 39027ff8d22fc252bb5c596ac32c67d1702e826f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 6 Apr 2006 22:13:51 +0000 Subject: Build ltt without GTK if GTK is not available --- package/ltt/ltt.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/ltt') diff --git a/package/ltt/ltt.mk b/package/ltt/ltt.mk index 3b30139c1..d95210d0f 100644 --- a/package/ltt/ltt.mk +++ b/package/ltt/ltt.mk @@ -28,10 +28,14 @@ $(LTT_DIR1)/.unpacked: $(DL_DIR)/$(LTT_SOURCE) toolchain/patch-kernel.sh $(LTT_DIR1) package/ltt ltt\*.patch touch $(LTT_DIR1)/.unpacked +# Build without GTK if not available +LTT_WITHOUT_GTK:=$(shell which gtk-config >& /dev/null || echo "--without-gtk") + $(LTT_DIR1)/.configured: $(LTT_DIR1)/.unpacked (cd $(LTT_DIR1); rm -rf config.cache; \ ./configure \ --prefix=$(TOOL_BUILD_DIR) \ + $(LTT_WITHOUT_GTK) \ ); touch $(LTT_DIR1)/.configured -- cgit v1.2.3