summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2001-05-01 02:06:08 +0000
committerRusty Russell <rusty@rustcorp.com.au>2001-05-01 02:06:08 +0000
commit4d2afbf3d875fa9fd6d7595e27267bd3f2c73b78 (patch)
treecba466ac64bed4de7b70a3ed1640f3dc67bab200 /Makefile
parent97013f608752b04c707babbbd74fe8c214704611 (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 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