aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2023-01-14 15:18:02 +0100
committerPaul Fertser <fercerpav@gmail.com>2023-01-14 20:06:11 +0000
commitf71b5f5a37fde4b22cd8eb379c2bc8454c636145 (patch)
tree4c87b935e37b67423ac0932cdea84bf494217a74
parentd92ebb5ab43f6c6a900c6beb0bc426573058c359 (diff)
downloadriscv-openocd-f71b5f5a37fde4b22cd8eb379c2bc8454c636145.zip
riscv-openocd-f71b5f5a37fde4b22cd8eb379c2bc8454c636145.tar.gz
riscv-openocd-f71b5f5a37fde4b22cd8eb379c2bc8454c636145.tar.bz2
configure.ac: fix check for jimtcl submodule
The file configure.ac checks if jimtcl submodule is present by looking for the file jimtcl/configure.ac . But jimtcl has switched to its own build system in 2011 and thus dropped configure.ac . This cause a build issue on OpenOCD that was incorrectly fixed by adding a dummy configure.ac in jimtcl. Fix OpenOCD configure.ac to look for the correct file jimtcl/configure . After this fix, another fix would be proposed to jimtcl to drop its useless dummy file configure.ac . Change-Id: I705f72d83e374c8dd700baaa0c0bbe041f153605 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reported-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7437 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bcacfb2..a853521 100644
--- a/configure.ac
+++ b/configure.ac
@@ -574,7 +574,7 @@ AS_IF([test "x$enable_buspirate" != "xno"], [
])
AS_IF([test "x$use_internal_jimtcl" = "xyes"], [
- AS_IF([test -f "$srcdir/jimtcl/configure.ac"], [
+ AS_IF([test -f "$srcdir/jimtcl/configure"], [
AS_IF([test "x$use_internal_jimtcl_maintainer" = "xyes"], [
jimtcl_config_options="--disable-install-jim --with-ext=json --maintainer"
], [