git-svn: trunk@1666
Tomasz Kojm authored on 2005/07/25 07:27:13... | ... |
@@ -233,7 +233,9 @@ void help(void) |
233 | 233 |
mprintf(" --detect-broken Try to detect broken executable files\n"); |
234 | 234 |
mprintf(" --block-encrypted Block encrypted archives\n"); |
235 | 235 |
mprintf(" --block-max Block archives that exceed limits\n"); |
236 |
+#ifdef WITH_CURL |
|
236 | 237 |
mprintf(" --mail-follow-urls Download and scan URLs\n"); |
238 |
+#endif |
|
237 | 239 |
|
238 | 240 |
mprintf("\n"); |
239 | 241 |
mprintf(" --max-space=#n Only extract first #n kilobytes from\n"); |
... | ... |
@@ -196,7 +196,11 @@ int scanmanager(const struct optstruct *opt) |
196 | 196 |
options |= CL_SCAN_MAIL; |
197 | 197 |
|
198 | 198 |
if(optl(opt, "mail-follow-urls")) |
199 |
+#ifdef WITH_CURL |
|
199 | 200 |
options |= CL_SCAN_MAILURL; |
201 |
+#else |
|
202 |
+ logg("^Support for URLs downloading with libcurl not compiled in\n"); |
|
203 |
+#endif |
|
200 | 204 |
} |
201 | 205 |
|
202 | 206 |
#ifdef C_LINUX |