1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

tcl: use AUTOTOOLS_SCRIPT_PATH

Inside tcl the configure.ac is inside a unix/ directory.  Instead of
setting S to BPNPV/unix and having to use ../ to reach files outside of
unix, simply set S as usual and use AUTOTOOLS_SCRIPT_PATH to run the
correct configure script.

(From OE-Core rev: 40516f7db7c29d956038fc74dc7d8c3a7b62325a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2021-07-09 17:17:38 +01:00
committed by Richard Purdie
parent 4b016a2d47
commit 49474b8edd
6 changed files with 26 additions and 75 deletions
@@ -17,23 +17,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
configure.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: unix/configure
===================================================================
--- unix.orig/configure 2013-11-10 23:38:33.643426430 -0800
+++ unix/configure 2013-11-10 23:39:51.347428387 -0800
@@ -19134,7 +19134,7 @@
eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
-test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
+test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
PRIVATE_INCLUDE_DIR='$(includedir)'
HTML_DIR='$(DISTDIR)/html'
Index: unix/configure.in
===================================================================
--- unix.orig/configure.in 2013-11-10 23:20:50.000000000 -0800
+++ unix/configure.in 2013-11-10 23:39:41.199428131 -0800
--- a/unix.orig/configure.in 2013-11-10 23:20:50.000000000 -0800
+++ b/unix/configure.in 2013-11-10 23:39:41.199428131 -0800
@@ -790,7 +790,7 @@
eval "TCL_LIB_FILE=${TCL_LIB_FILE}"