blob: 5b25af2c0cae1c86278dd583b9939ddfc2a5b974 [file] [log] [blame]
Andrew Geisslerd1e89492021-02-12 15:35:20 -06001Lets install the include header and private header files into
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002usr/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>
Andrew Geisslerd1e89492021-02-12 15:35:20 -060012
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013---
Andrew Geisslerd1e89492021-02-12 15:35:20 -060014 Makefile.in | 2 +-
15 configure | 4 ++--
16 configure.in | 4 ++--
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017 3 files changed, 5 insertions(+), 5 deletions(-)
18
19diff --git a/Makefile.in b/Makefile.in
Andrew Geisslerd1e89492021-02-12 15:35:20 -060020index 0370491..daa569a 100644
Andrew Geissler5f350902021-07-23 13:09:54 -040021--- a/unix/Makefile.in
22+++ b/unix/Makefile.in
Andrew Geisslerd1e89492021-02-12 15:35:20 -060023@@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
24 MODULE_INSTALL_DIR = $(SCRIPT_INSTALL_DIR)/../tcl8
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025
26 # Directory in which to install the include file tcl.h:
27-INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)
28+INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)/tcl$(VERSION)
29
30 # Path to the private tcl header dir:
31 PRIVATE_INCLUDE_DIR = @PRIVATE_INCLUDE_DIR@
Patrick Williamsc124f4f2015-09-15 14:41:29 -050032diff --git a/configure.in b/configure.in
Andrew Geisslerd1e89492021-02-12 15:35:20 -060033index 9f96e2b..e323e02 100644
Andrew Geissler5f350902021-07-23 13:09:54 -040034--- a/unix/configure.in
35+++ b/unix/configure.in
Andrew Geisslerd1e89492021-02-12 15:35:20 -060036@@ -773,7 +773,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050037 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
38
Andrew Geissler82c905d2020-04-13 13:39:40 -050039 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
Patrick Williamsc124f4f2015-09-15 14:41:29 -050040-PRIVATE_INCLUDE_DIR='$(includedir)'
41+PRIVATE_INCLUDE_DIR='$(includedir)/tcl$(VERSION)'
42 HTML_DIR='$(DISTDIR)/html'
43
44 # Note: in the following variable, it's important to use the absolute
Andrew Geisslerd1e89492021-02-12 15:35:20 -060045@@ -894,7 +894,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050046 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
47
48 # Install time header dir can be set via --includedir
49-eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
50+eval "TCL_INCLUDE_SPEC=\"-I${includedir}/tcl${VERSION}\""
51
52 #------------------------------------------------------------------------
53 # tclConfig.sh refers to this by a different name
54--
Andrew Geisslerd1e89492021-02-12 15:35:20 -0600552.25.1
Patrick Williamsc124f4f2015-09-15 14:41:29 -050056