diff options
author | gdt <gdt> | 2003-12-03 17:52:30 +0000 |
---|---|---|
committer | gdt <gdt> | 2003-12-03 17:52:30 +0000 |
commit | 45864e94c11eae524a8cafac6fc922fd0dd64b2f (patch) | |
tree | aaf151c29d605ca4a6df6d3b44fcd6959ed3063d /configure.ac | |
parent | 0b2f57a4f47bfd9bbc1a10e0678e7fcaa2ef0e60 (diff) | |
download | quagga-45864e94c11eae524a8cafac6fc922fd0dd64b2f.tar.bz2 quagga-45864e94c11eae524a8cafac6fc922fd0dd64b2f.tar.xz |
check for v6 header files after we figure out whether we are doing v6
and if so which flavor.
Fixes 99% of bugzilla bug #62.
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index ef24dc00..b3fd50ec 100755 --- a/configure.ac +++ b/configure.ac @@ -209,11 +209,7 @@ AC_CHECK_HEADERS([sys/socket.h netinet/in_systm.h netinet/in.h \ net/if_dl.h net/netopt.h inet/nd.h net/route.h \ net/if.h net/if_var.h netinet/in_var.h]) -if test "x${enable_ipv6}" = "xyes"; then -AC_CHECK_HEADERS([netinet6/in6.h netinet/in6_var.h netinet/icmp6.h \ - netinet6/in6_var.h netinet6/nd6.h]) -fi -dnl if enable_ipv6 +dnl V6 headers are checked below, after we check for v6 dnl check some types AC_C_CONST @@ -637,6 +633,14 @@ dnl ----------------------- fi fi +dnl ------------------ +dnl IPv6 header checks +dnl ------------------ +if test "x${zebra_cv_ipv6}" = "xyes"; then +AC_CHECK_HEADERS([netinet6/in6.h netinet/in6_var.h netinet/icmp6.h \ + netinet6/in6_var.h netinet6/nd6.h]) +fi + dnl -------------------- dnl Daemon disable check dnl -------------------- |