[GRASS-SVN] r49424 - grass/branches/develbranch_6/lib/external

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 29 10:30:55 EST 2011


Author: neteler
Date: 2011-11-29 07:30:55 -0800 (Tue, 29 Nov 2011)
New Revision: 49424

Modified:
   grass/branches/develbranch_6/lib/external/Makefile
Log:
conditionalize upon TclTk configuration

Modified: grass/branches/develbranch_6/lib/external/Makefile
===================================================================
--- grass/branches/develbranch_6/lib/external/Makefile	2011-11-29 11:14:25 UTC (rev 49423)
+++ grass/branches/develbranch_6/lib/external/Makefile	2011-11-29 15:30:55 UTC (rev 49424)
@@ -3,12 +3,20 @@
 
 SUBDIRS = \
 	ccmath \
-	bwidget \
 	shapelib
 
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 
-default: parsubdirs
+TCLTKBASED = \
+	bwidget
 
+#compile if TCLTKLIBS present:
+ifneq ($(strip $(TCLTKLIBS)),)
+    SUBDIRS += $(TCLTKBASED)
+endif
+
+default:
+	$(MAKE) subdirs
+
 clean: cleansubdirs
 



More information about the grass-commit mailing list