summaryrefslogtreecommitdiff
path: root/src/tool_easysrc.c
diff options
context:
space:
mode:
authorColin Hogben <curl@pythontech.co.uk>2012-02-05 17:44:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2012-02-13 22:36:10 +0100
commit2b26eb98573a1402a8f39603b9fdaa9d04142c07 (patch)
tree2c1bec67d87918d5d05d25744b2408bed3b04e4a /src/tool_easysrc.c
parente71ac0c6fad6643ad99b5cf6f1d566dfb79990d2 (diff)
downloadcurl-2b26eb98573a1402a8f39603b9fdaa9d04142c07.tar.gz
configure: add option disable --libcurl output
Diffstat (limited to 'src/tool_easysrc.c')
-rw-r--r--src/tool_easysrc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tool_easysrc.c b/src/tool_easysrc.c
index 5c42e808e..ba1e78e0d 100644
--- a/src/tool_easysrc.c
+++ b/src/tool_easysrc.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -23,6 +23,8 @@
#include <curl/curl.h>
+#ifndef CURL_DISABLE_LIBCURL_OPTION
+
#define ENABLE_CURLX_PRINTF
/* use our own printf() functions */
#include "curlx.h"
@@ -110,3 +112,4 @@ void dumpeasysrc(struct Configurable *config)
easysrc = NULL;
}
+#endif /* CURL_DISABLE_LIBCURL_OPTION */