[package] convert lighttpd and net-snmp to use autoconf_bool for ipv6
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25248 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
79cbec3248
commit
e27e2351fa
@ -225,15 +225,11 @@ CONFIGURE_ARGS+= \
|
|||||||
--with-openssl="$(STAGING_DIR)/usr" \
|
--with-openssl="$(STAGING_DIR)/usr" \
|
||||||
--with-pcre \
|
--with-pcre \
|
||||||
--without-valgrind \
|
--without-valgrind \
|
||||||
|
$(call autoconf_bool,CONFIG_IPV6,ipv6)
|
||||||
|
|
||||||
CONFIGURE_VARS+= \
|
CONFIGURE_VARS+= \
|
||||||
PCRE_LIB="-lpcre" \
|
PCRE_LIB="-lpcre" \
|
||||||
|
|
||||||
ifeq ($(CONFIG_IPV6),y)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--enable-ipv6
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_lighttpd-mod-webdav),)
|
ifneq ($(SDK)$(CONFIG_PACKAGE_lighttpd-mod-webdav),)
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--with-webdav-locks \
|
--with-webdav-locks \
|
||||||
|
@ -172,10 +172,10 @@ CONFIGURE_ARGS += \
|
|||||||
--without-libwrap \
|
--without-libwrap \
|
||||||
--without-rpm \
|
--without-rpm \
|
||||||
--without-zlib \
|
--without-zlib \
|
||||||
|
$(call autoconf_bool,CONFIG_IPV6,ipv6) \
|
||||||
|
|
||||||
ifeq ($(CONFIG_IPV6),y)
|
ifeq ($(CONFIG_IPV6),y)
|
||||||
SNMP_TRANSPORTS_INCLUDED+= UDPIPv6
|
SNMP_TRANSPORTS_INCLUDED+= UDPIPv6
|
||||||
CONFIGURE_ARGS+= --enable-ipv6
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TARGET_LDFLAGS += -L$(TOOLCHAIN_DIR)/usr/lib
|
TARGET_LDFLAGS += -L$(TOOLCHAIN_DIR)/usr/lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user