aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2020-11-05 09:54:11 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2020-11-07 20:53:01 +0000
commitc2311cc18f0c432781c0c7d51252b2f5459e1d79 (patch)
tree09215c9dca7d677fd23a0a6acda4843e735b0dc7
parent535f5309ba1277479d44f471655bf722e32fbb6b (diff)
downloadriscv-openocd-c2311cc18f0c432781c0c7d51252b2f5459e1d79.zip
riscv-openocd-c2311cc18f0c432781c0c7d51252b2f5459e1d79.tar.gz
riscv-openocd-c2311cc18f0c432781c0c7d51252b2f5459e1d79.tar.bz2
configure.ac: add libutil to the dependency list
Jimtcl 0.80 (2020-10-29) adds dependency to libutil, which is part of the GNU libc. The library is searched and used by jimtcl build, but still has to be linked in by OpenOCD as indirect dependency. While OpenOCD is still using jimtcl 0.79, let's prepare to switch to the next version. Add libutil search in configure.ac. Change-Id: I5a8952161b0e5b93fc00d23be256b5274d31e08c Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5922 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 055833a..3e49213 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,7 @@ AC_TYPE_LONG_LONG_INT
AC_SEARCH_LIBS([ioperm], [ioperm])
AC_SEARCH_LIBS([dlopen], [dl])
+AC_SEARCH_LIBS([openpty], [util])
AC_CHECK_HEADERS([sys/socket.h])
AC_CHECK_HEADERS([elf.h])