Author: rfm
Date: Wed Nov  4 13:41:51 2015
New Revision: 39145

URL: http://svn.gna.org/viewcvs/gnustep?rev=39145&view=rev
Log:
use gnustep-config

Modified:
    apps/gsldapwebexplorer/trunk/GNUmakefile

Modified: apps/gsldapwebexplorer/trunk/GNUmakefile
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gsldapwebexplorer/trunk/GNUmakefile?rev=39145&r1=39144&r2=39145&view=diff
==============================================================================
--- apps/gsldapwebexplorer/trunk/GNUmakefile    (original)
+++ apps/gsldapwebexplorer/trunk/GNUmakefile    Wed Nov  4 13:41:51 2015
@@ -22,6 +22,23 @@
 #   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 # $Id$
+
+ifeq ($(GNUSTEP_MAKEFILES),)
+ GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 
2>/dev/null)
+  ifeq ($(GNUSTEP_MAKEFILES),)
+    $(warning )
+    $(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
+    $(warning Perhaps gnustep-make is not properly installed,)
+    $(warning so gnustep-config is not in your PATH.)
+    $(warning )
+    $(warning Your PATH is currently $(PATH))
+    $(warning )
+  endif
+endif
+
+ifeq ($(GNUSTEP_MAKEFILES),)
+  $(error You need to set GNUSTEP_MAKEFILES before compiling!)
+endif
 
 include $(GNUSTEP_MAKEFILES)/common.make
 


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to