Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Lets install the include header and private header files into |
| 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> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 12 | --- |
| 13 | Makefile.in | 2 +- |
| 14 | configure | 4 ++-- |
| 15 | configure.in | 4 ++-- |
| 16 | 3 files changed, 5 insertions(+), 5 deletions(-) |
| 17 | |
| 18 | diff --git a/Makefile.in b/Makefile.in |
| 19 | index 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@ |
| 31 | diff --git a/configure b/configure |
| 32 | index 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 Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 38 | test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)' |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 39 | -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 |
| 53 | diff --git a/configure.in b/configure.in |
| 54 | index 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 Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 60 | test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)' |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 61 | -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 | -- |
| 76 | 1.7.10.4 |
| 77 | |