mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Fix finding msgpack 6+
`msgpack.pc` was renamed to `msgpack-c.pc` upstream in msgpack/msgpack-c#1053.
This commit is contained in:
parent
ac919516f4
commit
a5c6e80d3c
1 changed files with 11 additions and 0 deletions
11
configure.ac
11
configure.ac
|
|
@ -209,6 +209,17 @@ PKG_CHECK_MODULES(
|
|||
],
|
||||
found_msgpack=no
|
||||
)
|
||||
# msgpack.pc was renamed to msgpack-c.pc in 6.0.0.
|
||||
PKG_CHECK_MODULES(
|
||||
MSGPACKC,
|
||||
msgpack-c >= 1.1.0,
|
||||
[
|
||||
CPPFLAGS="$MSGPACKC_CFLAGS $CPPFLAGS"
|
||||
LIBS="$MSGPACKC_LIBS $LIBS"
|
||||
found_msgpack=yes
|
||||
],
|
||||
found_msgpack=no
|
||||
)
|
||||
if test "x$found_msgpack" = xno; then
|
||||
AC_MSG_ERROR("msgpack >= 1.1.0 not found")
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue