summaryrefslogtreecommitdiff
blob: bf92076c7f82ba2ee316c75d40b86b27736149ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Index: bindings/Makefile.am
# fix tcl install path
===================================================================
--- bindings/Makefile.am	(revision 2854)
+++ bindings/Makefile.am	(working copy)
@@ -62,7 +62,7 @@
 
 tcl_ltlib = hamlibtcl.la
 
-tcldir = $(prefix)/lib/tcl
+tcldir = @tclpackagedir@/hamlib
 
 PKG_VER=1.0
 DLL=hamlibtcl-$(PKG_VER)@TCL_SHLIB_SUFFIX@
Index: configure.ac
# add macro to determine path to tcl packages
===================================================================
--- configure.ac	(revision 2854)
+++ configure.ac	(working copy)
@@ -316,6 +316,8 @@
 AC_SUBST(TCL_LIB_SPEC)
 AC_SUBST(TCL_INCLUDE_SPEC)
 AC_SUBST(TCL_SHLIB_SUFFIX)
+tclpackagedir=`echo $TCL_PACKAGE_PATH | cut -d ' ' -f 1 | sed "s,$TCL_PREFIX,\\${prefix},"`
+AC_SUBST(tclpackagedir)
 
 # TODO: require "${ac_cv_header_sys_socket_h}" = "no"