commit | 4d2afbf3d875fa9fd6d7595e27267bd3f2c73b78 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Tue May 01 02:06:08 2001 +0000 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue May 01 02:06:08 2001 +0000 |
tree | cba466ac64bed4de7b70a3ed1640f3dc67bab200 | |
parent | 97013f608752b04c707babbbd74fe8c214704611 [diff] [blame] |
Test for header, not glibc version.
diff --git a/Makefile b/Makefile index 060d6f0..22e04fe 100644 --- a/Makefile +++ b/Makefile
@@ -18,7 +18,7 @@ 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