From 96002646f117b9547bf64a8e9d62ad9f2fefa543 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Tue, 27 Apr 2004 12:08:53 +0000
Subject: without-libidn works too now

---
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index bb35e3bf6..90fd533e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -923,10 +923,10 @@ dnl set variable for use in automakefile(s)
 AM_CONDITIONAL(HAVE_LIBZ, test x"$AMFIXLIB" = x1)
 
 AC_MSG_CHECKING([whether to build with libidn])
-AC_ARG_WITH(idn,
+AC_ARG_WITH(libidn,
 AC_HELP_STRING([--with-libidn=PATH],[Enable libidn usage])
 AC_HELP_STRING([--without-libidn],[Disable libidn usage]),
-  [LIBIDN="$withval" ])
+  [LIBIDN="$withval"])
 
 case "$LIBIDN" in
   no)
@@ -937,7 +937,7 @@ case "$LIBIDN" in
                     [
                     dnl if there was a given path, try it
                     nolibidn="true"
-                    if test "x$LIBIDN" != "x"; then
+                    if test "x$LIBIDN" != "xyes"; then
                       nolibidn="" dnl reset to test again
                       oldLDFLAGS=$LDFLAGS
                       oldCPPFLAGS=$CPPFLAGS
@@ -1391,7 +1391,7 @@ AC_MSG_NOTICE([Configured to build curl/libcurl:
   SNPEGO support:  ${curl_spnego_msg}
   c-ares support:  ${curl_ares_msg}
   ipv6 support:    ${curl_ipv6_msg}
-  libidn support:  ${curl_idn_msg}
+  IDN support:     ${curl_idn_msg}
   Build libcurl:   Shared=${enable_shared}, Static=${enable_static} 
   Built-in manual: ${curl_manual_msg}
 ])
-- 
cgit v1.2.3