forked from auracaster/openocd
fe0080478b
Current jimtcl release 0.83 has been tagged on 2024-08-28 and the new 0.84 is on the way. The change [1] merged in jimtcl branch 'master' for 0.84 breaks the build of OpenOCD. OpenOCD releases are not frequent and jimtcl is now by default an external build dependency. The release of jimtcl 0.84 could force OpenOCD to deliver a fix release to support it. Anticipate the change [1] by detecting it at compile time, without relying on jimtcl version, and providing an alternative code. Link: https://github.com/msteveb/jimtcl/commit/5669e84aad22 [1] Change-Id: I61bf100d447083258aea222aaf15608b7cbe2e57 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8956 Tested-by: jenkins Reviewed-by: Andrzej Sierżęga <asier70@gmail.com>