From e156f34a4a5bb828f2309ece2af95750a98f9d0e Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sat, 5 Jul 2008 08:20:34 +0000 Subject: [0002974] add support for zlib and bzip2 in lighttpd, use alphabetical order for lighttpd config --- package/lighttpd/Config.in | 18 +++++++++++++++++- package/lighttpd/lighttpd.mk | 14 ++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) (limited to 'package/lighttpd') diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in index 7db9b2d3e..7967022a3 100644 --- a/package/lighttpd/Config.in +++ b/package/lighttpd/Config.in @@ -16,13 +16,29 @@ if BR2_PACKAGE_LIGHTTPD menu "lighttpd packages" config BR2_PACKAGE_LIGHTTPD_OPENSSL - bool "openssl" + bool "lighttpd openssl support" default y depends on BR2_PACKAGE_LIGHTTPD select BR2_PACKAGE_OPENSSL help Enable OpenSSL support for lighttpd. +config BR2_PACKAGE_LIGHTTPD_ZLIB + bool "lighttpd zlib support" + default n + depends on BR2_PACKAGE_LIGHTTPD + select BR2_PACKAGE_ZLIB + help + Enable zlib support for lighttpd mod_compress. + +config BR2_PACKAGE_LIGHTTPD_BZIP2 + bool "lighttpd bzip2 support" + default n + depends on BR2_PACKAGE_LIGHTTPD + select BR2_PACKAGE_BZIP2 + help + Enable bzip2 support for lighttpd mod_compress. + config BR2_PACKAGE_LIGHTTPD_PCRE bool "pcre" default n diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk index a41d9c98e..131e87e72 100644 --- a/package/lighttpd/lighttpd.mk +++ b/package/lighttpd/lighttpd.mk @@ -30,6 +30,20 @@ else LIGHTTPD_CONF_OPT += --without-openssl endif +ifeq ($(strip $(BR2_PACKAGE_LIGHTTPD_ZLIB)),y) +LIGHTTPD_DEPENDENCIES += zlib +LIGHTTPD_CONF_OPT += --with-zlib +else +LIGHTTPD_CONF_OPT += --without-zlib +endif + +ifeq ($(strip $(BR2_PACKAGE_LIGHTTPD_BZIP2)),y) +LIGHTTPD_DEPENDENCIES += bzip2 +LIGHTTPD_CONF_OPT += --with-bzip2 +else +LIGHTTPD_CONF_OPT += --without-bzip2 +endif + ifeq ($(strip $(BR2_PACKAGE_LIGHTTPD_PCRE)),y) LIGHTTPD_CONF_ENV += PCRE_LIB="-lpcre" LIGHTTPD_DEPENDENCIES += pcre -- cgit v1.2.3