blob: 86632d91445f35357a58fbd5ea05ea87c3f1e640 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Lets install the include header and private header files into
2usr/include/tcl8.6 when version of tcl is 8.6.x
3
4Upstream-Status: Inappropriate [Configuration Specific]
5
6Signed-off-by: Khem Raj <raj.khem@gmai.com>
7
8Fixed the TCL_INCLUDE_SPEC
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Andrew Geissler82c905d2020-04-13 13:39:40 -050011Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012---
13 Makefile.in | 2 +-
14 configure | 4 ++--
15 configure.in | 4 ++--
16 3 files changed, 5 insertions(+), 5 deletions(-)
17
18diff --git a/Makefile.in b/Makefile.in
19index 97b983b..dc2a4df 100644
20--- a/Makefile.in
21+++ b/Makefile.in
22@@ -53,7 +53,7 @@ DLL_INSTALL_DIR = @DLL_INSTALL_DIR@
23 SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
24
25 # Directory in which to install the include file tcl.h:
26-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)
27+INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)/tcl$(VERSION)
28
29 # Path to the private tcl header dir:
30 PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
31diff --git a/configure b/configure
32index 3e78b49..24b3f92 100755
33--- a/configure
34+++ b/configure
35@@ -19134,7 +19134,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
36 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
37
Andrew Geissler82c905d2020-04-13 13:39:40 -050038 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
Patrick Williamsc124f4f2015-09-15 14:41:29 -050039-PRIVATE_INCLUDE_DIR='$(includedir)'
40+PRIVATE_INCLUDE_DIR='$(includedir)/tcl$(VERSION)'
41 HTML_DIR='$(DISTDIR)/html'
42
43 # Note: in the following variable, it's important to use the absolute
44@@ -19293,7 +19293,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
45 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
46
47 # Install time header dir can be set via --includedir
48-eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
49+eval "TCL_INCLUDE_SPEC=\"-I${includedir}/tcl${VERSION}\""
50
51 #------------------------------------------------------------------------
52 # tclConfig.sh refers to this by a different name
53diff --git a/configure.in b/configure.in
54index 0e28b14..62d9b41 100755
55--- a/configure.in
56+++ b/configure.in
57@@ -791,7 +791,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
58 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
59
Andrew Geissler82c905d2020-04-13 13:39:40 -050060 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
Patrick Williamsc124f4f2015-09-15 14:41:29 -050061-PRIVATE_INCLUDE_DIR='$(includedir)'
62+PRIVATE_INCLUDE_DIR='$(includedir)/tcl$(VERSION)'
63 HTML_DIR='$(DISTDIR)/html'
64
65 # Note: in the following variable, it's important to use the absolute
66@@ -912,7 +912,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
67 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
68
69 # Install time header dir can be set via --includedir
70-eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
71+eval "TCL_INCLUDE_SPEC=\"-I${includedir}/tcl${VERSION}\""
72
73 #------------------------------------------------------------------------
74 # tclConfig.sh refers to this by a different name
75--
761.7.10.4
77