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
1 changed files with 2 additions and 0 deletions

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"