Commit 8f303f53 authored by Daniel Salzman's avatar Daniel Salzman

configure: improve libidn2 version check

parent a795a7ae
......@@ -445,7 +445,7 @@ AC_ARG_WITH(libidn,
AS_IF([test "$enable_utilities" = "yes"], [
AS_IF([test "$with_libidn" != "no"], [
PKG_CHECK_MODULES([libidn2], [libidn2 >= 0.0.0], [
PKG_CHECK_MODULES([libidn2], [libidn2 >= 2.0.0], [
with_libidn=yes
AC_DEFINE([LIBIDN], [1], [Define to 1 to enable IDN support])
AC_DEFINE([LIBIDN_HEADER], [<idn2.h>], [Define to proper libidn header])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment