summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-27 23:51:05 +0100
committerMartin Mares <mj@ucw.cz>1999-03-27 23:51:05 +0100
commit1127ac6ec7eff52d4ccbc4d836a63fa6513f6d48 (patch)
tree1eee8d7e515c07f85f2becf4f368a2b55ee7c81d /configure.in
parent7dc4827c968053e45bcb7f145e9986eeb20c993b (diff)
downloadbird-1127ac6ec7eff52d4ccbc4d836a63fa6513f6d48.tar
bird-1127ac6ec7eff52d4ccbc4d836a63fa6513f6d48.zip
Cleaned up system configuration files -- removed few obsolete parameters,
documented the remaining ones (sysdep/cf/README). Available configurations: o linux-20: Old Linux interface via /proc/net/route (selected by default on pre-2.1 kernels). o linux-21: Old Linux interface, but device routes handled by the kernel (selected by default for 2.1 and newer kernels). o linux-22: Linux with Netlink (I play with it a lot yet, so it isn't a default). o linux-ipv6: Prototype config for IPv6 on Linux. Not functional yet.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index aa527a0..d945a8f 100644
--- a/configure.in
+++ b/configure.in
@@ -47,7 +47,11 @@ elif test -f sysconfig.h ; then
sysdesc=sysconfig
else
case "$host_os" in
- linux*) sysdesc=linux-20 ;;
+ linux*) case `uname -r` in
+ 1.*|2.0.*) sysdesc=linux-20 ;;
+ *) sysdesc=linux-21 ;;
+ esac
+ ;;
*) AC_MSG_RESULT(unknown)
AC_MSG_ERROR([Cannot determine correct system configuration.])
;;