Fix error msg when libunistring is missing

This commit is contained in:
Tim Rühsen 2016-08-31 15:16:04 +02:00
parent 7983f86820
commit c9de2de301
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ fi
if test "x$HAVE_LIBIDN2" = "xyes" -o "x$HAVE_LIBIDN" = "xyes"; then
# Check for libunistring, we need it for psl_str_to_utf8lower()
OLDLIBS=$LIBS
AC_SEARCH_LIBS(u8_tolower, unistring, HAVE_UNISTRING=yes, AC_MSG_ERROR(You requested libidn2 but libunistring is not installed.))
AC_SEARCH_LIBS(u8_tolower, unistring, HAVE_UNISTRING=yes, AC_MSG_ERROR(You requested libidn2|libidn but libunistring is not installed.))
LIBS=$OLDLIBS
fi