From 773bcc7ccd52dc72114b293bba9dbca1e9ae054a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 9 Oct 2014 13:27:16 +0200 Subject: building curl fetcher only if WITH_CURL=1 is set --- makefiles/gmake/help.mk | 3 ++- src/modules/fetcher/GNUmakefile | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/makefiles/gmake/help.mk b/makefiles/gmake/help.mk index db834a1..376cd3e 100644 --- a/makefiles/gmake/help.mk +++ b/makefiles/gmake/help.mk @@ -55,5 +55,6 @@ Example: make WITH_SSL=1 WITH_SQLITE3=1 WITH_PGSQL=1 \ WITH_LOCAL_LIBFETCH=1 WITH_LIBXML2=1 \ WITH_LOCAL_GOOGLEURL=1 WITH_ICU=1 \ - WITH_LUA=1 WITH_LOCAL_TEXTWOLF=1 + WITH_LUA=1 WITH_LOCAL_TEXTWOLF=1 \ + WITH_CURL=1 diff --git a/src/modules/fetcher/GNUmakefile b/src/modules/fetcher/GNUmakefile index 6be8eaa..feb638c 100644 --- a/src/modules/fetcher/GNUmakefile +++ b/src/modules/fetcher/GNUmakefile @@ -1,6 +1,10 @@ TOPDIR = ../../.. -SUBDIRS = libfetch file libcurl +SUBDIRS = libfetch file + +ifeq ($(WITH_CURL),1) +SUBDIRS += libcurl +endif -include $(TOPDIR)/makefiles/gmake/sub.mk -- cgit v1.2.3-54-g00ecf