1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00

Detect too-old libunistring at configure-time.

* configure.ac: Detect too-old libunistring at configure-time.  Fixes
  #17399.
This commit is contained in:
Andy Wingo 2016-06-21 15:38:00 +02:00
parent b8f5cdce15
commit bcc3c6b61b

View file

@ -891,6 +891,13 @@ if test "x$LTLIBUNISTRING" = "x"; then
AC_MSG_ERROR([GNU libunistring is required, please install it.]) AC_MSG_ERROR([GNU libunistring is required, please install it.])
fi fi
dnl Sloppy check to make sure people aren't trying to use too-old libunistring.
case "$LIBUNISTRING_VERSION" in
0.9.0 | 0.9.1 | 0.9.2 )
AC_MSG_ERROR([libunistring too old. Please install a recent libunistring (>= 0.9.3).])
;;
esac
GUILE_LIBUNISTRING_WITH_ICONV_SUPPORT GUILE_LIBUNISTRING_WITH_ICONV_SUPPORT
if test "x$ac_cv_libunistring_with_iconv_support" != "xyes"; then if test "x$ac_cv_libunistring_with_iconv_support" != "xyes"; then
AC_MSG_ERROR([No iconv support. Please recompile libunistring with iconv enabled.]) AC_MSG_ERROR([No iconv support. Please recompile libunistring with iconv enabled.])