From: Rusty Russell Date: Tue, 1 May 2001 02:06:08 +0000 (+0000) Subject: Test for header, not glibc version. X-Git-Tag: v1.2.2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d2afbf3d875fa9fd6d7595e27267bd3f2c73b78;p=thirdparty%2Fiptables.git Test for header, not glibc version. --- diff --git a/Makefile b/Makefile index 060d6f00..22e04fe2 100644 --- 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