From b92a0f966f6308fa6c31da3e2b21189ffdc691a8 Mon Sep 17 00:00:00 2001 From: rusty Date: Tue, 1 May 2001 02:06:08 +0000 Subject: Test for header, not glibc version. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 060d6f0..22e04fe 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 -- cgit v1.2.3