Commit cf3cf413 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

improved libidn detection to correct the false positives we got

parent e218811c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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"