18
29
TCL_VERS := $(shell dpkg -s tcl-dev | grep '^Depends' \
19
30
| sed 's,.*\<tcl\([0-9.]*\)-dev\>.*,\1,')
22
32
#let's help configure to figure out our host/build system
23
33
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
24
34
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
25
37
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
26
38
CONFFLAGS += --build $(DEB_HOST_GNU_TYPE)