diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-04-30 22:21:52 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-04-30 22:25:24 +0200 |
commit | f1aceff59bbf942bc11c2e9a4c51e381c06f2b20 (patch) | |
tree | f309df0372a59198a795ab776deef6c4276f1ad8 /configure.in | |
parent | 396dfa9042305f62da1f56589c4b98fac57fc2f6 (diff) |
Cleanup in sysdep KRT code, part 2.
Remove support for historic Linux kernels,
merge krt-iface, krt-set and krt-scan stub headers.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/configure.in b/configure.in index 46a6ecd9..7d9560d3 100644 --- a/configure.in +++ b/configure.in @@ -105,19 +105,11 @@ elif test -f sysconfig.h ; then sysdesc=sysconfig else case "$ip:$host_os" in - ipv4:linux*) BIRD_CHECK_LINUX_VERSION + ipv6:linux*) sysdesc=linux-v6 default_iproutedir="/etc/iproute2" - case $bird_cv_sys_linux_version in - 1.*|2.0.*) sysdesc=linux-20 ;; - *) sysdesc=linux-22 ;; - esac ;; - ipv6:linux*) BIRD_CHECK_LINUX_VERSION + ipv4:linux*) sysdesc=linux default_iproutedir="/etc/iproute2" - case $bird_cv_sys_linux_version in - 1.*|2.0.*) AC_MSG_ERROR([This version of Linux doesn't support IPv6.]) ;; - *) sysdesc=linux-v6 ;; - esac ;; ipv6:netbsd*) sysdesc=bsd-v6 CPPFLAGS="$CPPFLAGS -I/usr/pkg/include" @@ -180,7 +172,7 @@ AC_MSG_RESULT(ok) AC_SUBST(protocols) case $sysdesc in - */linux-22*|*/linux-v6*) + */linux*|*/linux-v6*) AC_CHECK_HEADER(linux/rtnetlink.h,,[AC_MSG_ERROR([Appropriate version of Linux kernel headers not found.])],[ #include <asm/types.h> #include <sys/socket.h> |