mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-08 23:18:58 +01:00
Avoid clobbering older msgpack versions
Co-authored-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
a5c6e80d3c
commit
2d79ff67f7
23
configure.ac
23
configure.ac
@ -207,18 +207,19 @@ PKG_CHECK_MODULES(
|
||||
LIBS="$MSGPACK_LIBS $LIBS"
|
||||
found_msgpack=yes
|
||||
],
|
||||
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
|
||||
# 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")
|
||||
|
Loading…
Reference in New Issue
Block a user