From d51fef89b6bdba2ec23db60bc4d063ac397a352c Mon Sep 17 00:00:00 2001 From: nicola Date: Wed, 28 Feb 2007 07:02:18 +0000 Subject: [PATCH] Set GNUSTEP_MAKEFILES using gnustep-config if not yet set git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/libobjc/trunk@24718 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog.GNUstep | 6 ++++++ GNUmakefile | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog.GNUstep b/ChangeLog.GNUstep index ef986bc..35b6fae 100644 --- a/ChangeLog.GNUstep +++ b/ChangeLog.GNUstep @@ -1,3 +1,9 @@ +2007-02-28 Nicola Pero + + * GNUmakefile (GNUSTEP_MAKEFILES): Use gnustep-config to + set this up if not already set. Emit an error if it can't + be set. + 2007-02-13 Adam Fedor * GNUmakefile: Set SVN module name/url. diff --git a/GNUmakefile b/GNUmakefile index b027cf2..53eb2aa 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -23,6 +23,14 @@ # # $Id$ +ifeq ($(GNUSTEP_MAKEFILES),) + GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null) +endif + +ifeq ($(GNUSTEP_MAKEFILES),) + $(error You need to set GNUSTEP_MAKEFILES before compiling!) +endif + include $(GNUSTEP_MAKEFILES)/common.make PACKAGE_NAME = gnustep-objc