]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Test for header, not glibc version.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 1 May 2001 02:06:08 +0000 (02:06 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 1 May 2001 02:06:08 +0000 (02:06 +0000)
Makefile

index 060d6f008e813f8ab7290b0dea4646559531b17f..22e04fe2c0e70163e967d92fe8cf3f8cfc00374e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ MANDIR:=/usr/local/man
 INCDIR:=/usr/local/include
 
 # Need libc6 for this.  FIXME: Should covert to autoconf.
-ifneq ($(shell ldd --version 2>/dev/null | fgrep 2.2),)
+ifeq ($(shell [ -f /usr/include/netinet/ip6.h ] && echo YES), YES)
 DO_IPV6=1
 endif