diff options
author | Dominique Leuenberger <dimstar@opensuse.org> | 2011-10-03 17:53:43 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-10-03 22:46:28 +0200 |
commit | 381459fa65a37943417462b32cb312ea9b3c7a62 (patch) | |
tree | 1ea611cca97bb0608892524dea2878991952f056 | |
parent | 15e3e451702396e870c00d186ff7710792a1f28e (diff) |
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.
-rw-r--r-- | 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 01a0575cc..8cada0523 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 |