package/Makefile.in: pass --enable-ipv6 to autotargets configure when enabled
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 24 Apr 2012 20:32:55 +0000 (22:32 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 24 Apr 2012 20:32:55 +0000 (22:32 +0200)
Some packages don't automatically enable IPv6 support if not configured
with --disable-ipv6, or use AC_TRY_RUN which doesn't work when cross
compiling (like curl), so explicitly configure with --enable-ipv6.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.in

index 943017b5dcd0efd8ecbf14a1a412df35416caee7..655951e388cfce96ad7e6a74992aac94345960f9 100644 (file)
@@ -279,7 +279,9 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y)
 DISABLE_DOCUMENTATION=--disable-gtk-doc
 endif
 
-ifneq ($(BR2_INET_IPV6),y)
+ifeq ($(BR2_INET_IPV6),y)
+DISABLE_IPV6= --enable-ipv6
+else
 DISABLE_IPV6= --disable-ipv6
 endif