From 1127ac6ec7eff52d4ccbc4d836a63fa6513f6d48 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 27 Mar 1999 22:51:05 +0000 Subject: 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. --- configure.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.in') 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.]) ;; -- cgit v1.2.3