File 0001-m4-Use-x-in-order-to-avoid-variable-x-set-but-not-us.patch of Package curl.openSUSE_12.1_Update
From bfa3e1b967382e4ba73076969177fc1ff2d757e3 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Mon, 3 Oct 2011 17:53:43 +0200
Subject: [PATCH] m4: Use x in order to avoid variable 'x' set but not used
[-Werror=unused-but-set-variable]
This error could be caused by configure scripts being run with -Werror
-Wall, which would lead to libcurl being detected as unusable.
cherry picked from commit 381459fa65a37943417462b32cb312ea9b3c7a62
---
docs/libcurl/libcurl.m4 | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/docs/libcurl/libcurl.m4 b/docs/libcurl/libcurl.m4
index 01a0575..8cada05 100644
--- a/docs/libcurl/libcurl.m4
+++ b/docs/libcurl/libcurl.m4
@@ -157,6 +157,7 @@ x=CURLOPT_FILE;
x=CURLOPT_ERRORBUFFER;
x=CURLOPT_STDERR;
x=CURLOPT_VERBOSE;
+if (x) ;
])],libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no)
CPPFLAGS=$_libcurl_save_cppflags
--
1.7.7