1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

improved libidn detection to correct the false positives we got

This commit is contained in:
Daniel Stenberg 2004-04-26 15:31:43 +00:00
parent e218811ca3
commit cf3cf413c8

View File

@ -939,7 +939,9 @@ case "$LIBIDN" in
AC_CHECK_LIB(idn, idna_to_ascii_lz, ,
[
dnl if there was a given path, try it
nolibidn="true"
if test "x$LIBIDN" != "x"; then
nolibidn="" dnl reset to test again
oldLDFLAGS=$LDFLAGS
oldCPPFLAGS=$CPPFLAGS
LDFLAGS="$LDFLAGS -L$LIBIDN/lib"