aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--m4/ChangeLog4
-rw-r--r--m4/libcurl.m45
2 files changed, 8 insertions, 1 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 095982924..5a230c587 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-09 David Shaw <[email protected]>
+
+ * libcurl.m4: Fix mistaken AC_SUBST when curl is not found.
+
2006-01-17 David Shaw <[email protected]>
* libcurl.m4: Add IDN, SSPI, NTLM, and TFTP defines.
diff --git a/m4/libcurl.m4 b/m4/libcurl.m4
index 798427c14..a9bfa2e23 100644
--- a/m4/libcurl.m4
+++ b/m4/libcurl.m4
@@ -1,7 +1,7 @@
# LIBCURL_CHECK_CONFIG ([DEFAULT-ACTION], [MINIMUM-VERSION],
# [ACTION-IF-YES], [ACTION-IF-NO])
# ----------------------------------------------------------
-# David Shaw <[email protected]> Jan-17-2006
+# David Shaw <[email protected]> May-09-2006
#
# Checks for libcurl. DEFAULT-ACTION is the string yes or no to
# specify whether to default to --with-libcurl or --without-libcurl.
@@ -210,6 +210,9 @@ x=CURLOPT_VERBOSE;
AC_DEFINE_UNQUOTED(AS_TR_CPP(libcurl_protocol_$_libcurl_protocol),[1])
eval AS_TR_SH(libcurl_protocol_$_libcurl_protocol)=yes
done
+ else
+ unset LIBCURL
+ unset LIBCURL_CPPFLAGS
fi
fi