[PD-cvs] SF.net SVN: pure-data:[10743] trunk/externals/tclpd/Makefile

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Thu Feb 5 23:04:55 CET 2009


Revision: 10743
          http://pure-data.svn.sourceforge.net/pure-data/?rev=10743&view=rev
Author:   eighthave
Date:     2009-02-05 22:04:55 +0000 (Thu, 05 Feb 2009)

Log Message:
-----------
added more robust test for Tcl version so that you can have Tcl/Tk 8.5 installed (for running Pd-devel) yet still build against Tcl/Tk 8.4 (for all other Pd versions)

Modified Paths:
--------------
    trunk/externals/tclpd/Makefile

Modified: trunk/externals/tclpd/Makefile
===================================================================
--- trunk/externals/tclpd/Makefile	2009-02-05 21:47:15 UTC (rev 10742)
+++ trunk/externals/tclpd/Makefile	2009-02-05 22:04:55 UTC (rev 10743)
@@ -1,6 +1,6 @@
 #!/usr/bin/make
 
-TCL_VERSION := $(shell echo 'puts $$tcl_version' | tclsh)
+TCL_VERSION := 8.$(shell ls -1d /usr/include/tcl8.? | cut -d . -f 2)
 INCLUDES =  -I../../pd/src -I/usr/include -I/usr/include/tcl$(TCL_VERSION)
 CFLAGS += $(INCLUDES) -xc++ -funroll-loops -fno-operator-names -fno-omit-frame-pointer -falign-functions=16 -O2 -Wall -fPIC
 LDSOFLAGS += -lm -ltcl$(TCL_VERSION)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list