summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrusty <rusty>2001-05-01 02:06:08 +0000
committerrusty <rusty>2001-05-01 02:06:08 +0000
commitb92a0f966f6308fa6c31da3e2b21189ffdc691a8 (patch)
treecba466ac64bed4de7b70a3ed1640f3dc67bab200 /Makefile
parente9e3973c778fa71da795d54dd4b820df3c506a62 (diff)
Test for header, not glibc version.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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