From 0fe0425dee555027c94a39ca0bca5bac947f4702 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 27 Dec 2008 14:33:41 +0100 Subject: disable archive API without plugins When there are no archive plugins, we do not need the archive API at all. Drop all its overhead. --- src/input_stream.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/input_stream.c') diff --git a/src/input_stream.c b/src/input_stream.c index 45b7ec5e9..3df8fe006 100644 --- a/src/input_stream.c +++ b/src/input_stream.c @@ -20,7 +20,10 @@ #include "config.h" #include "input_file.h" + +#ifdef ENABLE_ARCHIVE #include "input_archive.h" +#endif #ifdef HAVE_CURL #include "input_curl.h" @@ -31,7 +34,9 @@ static const struct input_plugin *const input_plugins[] = { &input_plugin_file, +#ifdef ENABLE_ARCHIVE &input_plugin_archive, +#endif #ifdef HAVE_CURL &input_plugin_curl, #endif -- cgit v1.2.3