diff options
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.]) ;; |