Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 1 | Lets install the include header and private header files into |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 2 | usr/include/tcl8.6 when version of tcl is 8.6.x |
| 3 | |
| 4 | Upstream-Status: Inappropriate [Configuration Specific] |
| 5 | |
| 6 | Signed-off-by: Khem Raj <raj.khem@gmai.com> |
| 7 | |
| 8 | Fixed the TCL_INCLUDE_SPEC |
| 9 | |
| 10 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 11 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 12 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | --- |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 14 | Makefile.in | 2 +- |
| 15 | configure | 4 ++-- |
| 16 | configure.in | 4 ++-- |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | 3 files changed, 5 insertions(+), 5 deletions(-) |
| 18 | |
| 19 | diff --git a/Makefile.in b/Makefile.in |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 20 | index 0370491..daa569a 100644 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 21 | --- a/unix/Makefile.in |
| 22 | +++ b/unix/Makefile.in |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 23 | @@ -57,7 +57,7 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY) |
| 24 | MODULE_INSTALL_DIR = $(SCRIPT_INSTALL_DIR)/../tcl8 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | |
| 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 Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 32 | diff --git a/configure.in b/configure.in |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 33 | index 9f96e2b..e323e02 100644 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 34 | --- a/unix/configure.in |
| 35 | +++ b/unix/configure.in |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 36 | @@ -773,7 +773,7 @@ eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 37 | eval "TCL_LIB_FILE=${TCL_LIB_FILE}" |
| 38 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 39 | test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)' |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 40 | -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 Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 45 | @@ -894,7 +894,7 @@ TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 46 | 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 Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 55 | 2.25.1 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 56 | |