check for and require tld.h to be present before libidn usage is activated
in the build, since libidn 0.3.X didn't have the header and we don't support that old libidn versions anyway. This was mentioned on the list by Jean-Philippe Barrette-LaPierre and in bug report #1062264.
This commit is contained in:
@@ -984,7 +984,7 @@ case "$LIBIDN" in
|
||||
curl_idn_msg="enabled"
|
||||
dnl different versions of libidn have different setups of these:
|
||||
AC_CHECK_FUNCS( idn_free idna_strerror tld_strerror)
|
||||
AC_CHECK_HEADERS( idn-free.h )
|
||||
AC_CHECK_HEADERS( idn-free.h tld.h )
|
||||
fi
|
||||
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user