diff options
author | Martin Mares <mj@ucw.cz> | 1999-03-27 22:51:05 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-03-27 22:51:05 +0000 |
commit | 1127ac6ec7eff52d4ccbc4d836a63fa6513f6d48 (patch) | |
tree | 1eee8d7e515c07f85f2becf4f368a2b55ee7c81d /configure.in | |
parent | 7dc4827c968053e45bcb7f145e9986eeb20c993b (diff) |
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.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in index aa527a02..d945a8f1 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.]) ;; |