summaryrefslogtreecommitdiffstats
path: root/package/lighttpd/lighttpd.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-05 08:20:34 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-05 08:20:34 +0000
commite156f34a4a5bb828f2309ece2af95750a98f9d0e (patch)
treecb113d71201e911f3abea8363c8de41ebc598209 /package/lighttpd/lighttpd.mk
parent46ca47e436cf733e057ddf8e20b41e9f42a733a3 (diff)
downloadbuildroot-e156f34a4a5bb828f2309ece2af95750a98f9d0e.tar.gz
buildroot-e156f34a4a5bb828f2309ece2af95750a98f9d0e.zip
[0002974] add support for zlib and bzip2 in lighttpd, use alphabetical order for lighttpd config
Diffstat (limited to 'package/lighttpd/lighttpd.mk')
-rw-r--r--package/lighttpd/lighttpd.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
index a41d9c98e7..131e87e720 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
OpenPOWER on IntegriCloud