Commit c874e4e0 authored by Daniel Salzman's avatar Daniel Salzman

configure: print libidn version in the summary

parent ca03bd79
......@@ -532,12 +532,12 @@ AC_ARG_WITH(libidn,
AS_IF([test "$enable_utilities" = "yes"], [
AS_IF([test "$with_libidn" != "no"], [
PKG_CHECK_MODULES([libidn2], [libidn2 >= 2.0.0], [
with_libidn=yes
with_libidn=libidn2
AC_DEFINE([LIBIDN], [1], [Define to 1 to enable IDN support])
AC_DEFINE([LIBIDN_HEADER], [<idn2.h>], [Define to proper libidn header])
], [
PKG_CHECK_MODULES([libidn], [libidn >= 0.0.0], [
with_libidn=yes
with_libidn=libidn
AC_DEFINE([LIBIDN], [1], [Define to 1 to enable IDN support])
AC_DEFINE([LIBIDN_HEADER], [<idna.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