From: Florian Fainelli Date: Sat, 29 Jan 2011 22:09:19 +0000 (+0000) Subject: [package] convert lighttpd and net-snmp to use autoconf_bool for ipv6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3de128c3ce7547caa9cb32bb0b9e575341325ffd;p=openwrt%2Fsvn-archive%2Farchive.git [package] 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 9b344cce5a..0eebabcc30 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 d4b1227c4e..51742a22ec 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