Author: rfm
Date: Wed Nov 4 13:43:05 2015
New Revision: 39146
URL: http://svn.gna.org/viewcvs/gnustep?rev=39146&view=rev
Log:
use gnustep-config
Modified:
apps/gorm/trunk/GNUmakefile
Modified: apps/gorm/trunk/GNUmakefile
URL:
http://svn.gna.org/viewcvs/gnustep/apps/gorm/trunk/GNUmakefile?rev=39146&r1=39145&r2=39146&view=diff
==============================================================================
--- apps/gorm/trunk/GNUmakefile (original)
+++ apps/gorm/trunk/GNUmakefile Wed Nov 4 13:43:05 2015
@@ -23,6 +23,23 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
+
+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
PACKAGE_NAME = gorm
export PACKAGE_NAME
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs