From: Florian Fainelli Date: Sat, 29 Jan 2011 22:09:19 +0000 (+0000) Subject: convert lighttpd and net-snmp to use autoconf_bool for ipv6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6119c118c0957e506d03ba6895839c0e050b30f6;p=openwrt%2Fsvn-archive%2Fpackages.git convert lighttpd and net-snmp to use autoconf_bool for ipv6 SVN-Revision: 25248 --- diff --git a/net/lighttpd/Makefile b/net/lighttpd/Makefile index 9b344cce5..0eebabcc3 100644 --- a/net/lighttpd/Makefile +++ b/net/lighttpd/Makefile @@ -225,15 +225,11 @@ CONFIGURE_ARGS+= \ --with-openssl="$(STAGING_DIR)/usr" \ --with-pcre \ --without-valgrind \ + $(call autoconf_bool,CONFIG_IPV6,ipv6) CONFIGURE_VARS+= \ PCRE_LIB="-lpcre" \ -ifeq ($(CONFIG_IPV6),y) - CONFIGURE_ARGS+= \ - --enable-ipv6 -endif - ifneq ($(SDK)$(CONFIG_PACKAGE_lighttpd-mod-webdav),) CONFIGURE_ARGS+= \ --with-webdav-locks \ diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index d4b1227c4..51742a22e 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -172,10 +172,10 @@ CONFIGURE_ARGS += \ --without-libwrap \ --without-rpm \ --without-zlib \ + $(call autoconf_bool,CONFIG_IPV6,ipv6) \ ifeq ($(CONFIG_IPV6),y) SNMP_TRANSPORTS_INCLUDED+= UDPIPv6 -CONFIGURE_ARGS+= --enable-ipv6 endif TARGET_LDFLAGS += -L$(TOOLCHAIN_DIR)/usr/lib