From cf3cf413c82f0d711c176763d136aca42840d9f6 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 26 Apr 2004 15:31:43 +0000
Subject: [PATCH] improved libidn detection to correct the false positives we
 got

---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index dd000c022e..bc65cf5c75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"
-- 
GitLab