* libcurl.m4: Fix mistaken AC_SUBST when curl is not found.
authorDavid Shaw <dshaw@jabberwocky.com>
Wed, 10 May 2006 02:09:27 +0000 (02:09 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Wed, 10 May 2006 02:09:27 +0000 (02:09 +0000)
m4/ChangeLog
m4/libcurl.m4

index 0959829..5a230c5 100644 (file)
@@ -1,3 +1,7 @@
+2006-05-09  David Shaw  <dshaw@jabberwocky.com>
+
+       * libcurl.m4: Fix mistaken AC_SUBST when curl is not found.
+
 2006-01-17  David Shaw  <dshaw@jabberwocky.com>
 
        * libcurl.m4: Add IDN, SSPI, NTLM, and TFTP defines.
index 798427c..a9bfa2e 100644 (file)
@@ -1,7 +1,7 @@
 # LIBCURL_CHECK_CONFIG ([DEFAULT-ACTION], [MINIMUM-VERSION],
 #                       [ACTION-IF-YES], [ACTION-IF-NO])
 # ----------------------------------------------------------
-#      David Shaw <dshaw@jabberwocky.com>   Jan-17-2006
+#      David Shaw <dshaw@jabberwocky.com>   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