From: Anders Kaseorg Date: Mon, 23 Feb 2015 04:43:49 +0000 (-0500) Subject: Treat Linux 4 (and greater) as Linux 2.6/3 X-Git-Tag: upstream/1.8.0_pre1^2~353 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a5b091e1ec69d4a43d6f1b1efc93134ef7ed2167;p=packages%2Fo%2Fopenafs.git Treat Linux 4 (and greater) as Linux 2.6/3 In an age where Linux version numbers are determined by Google+ polls, it’s clear that they aren’t going to be very useful for marking major API compatibility boundaries like they were in the days of 2.2/2.4. Change-Id: I56e0e88eb178573c3eb280d5a5a01d8b8a20a363 Reviewed-on: http://gerrit.openafs.org/11755 Tested-by: BuildBot Reviewed-by: Stephan Wiesand Reviewed-by: Marc Dionne Reviewed-by: Benjamin Kaduk Reviewed-by: Jeffrey Altman --- diff --git a/acinclude.m4 b/acinclude.m4 index 6fc862d5b..e581d9bb7 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -455,7 +455,7 @@ case $system in case "$GUESS_LINUX_VERSION" in 2.2.*) AFS_SYSKVERS=22 ;; 2.4.*) AFS_SYSKVERS=24 ;; - 2.6.* | 3.*) AFS_SYSKVERS=26 ;; + [2.6.* | [3-9]* | [1-2][0-9]*]) AFS_SYSKVERS=26 ;; *) AC_MSG_ERROR(Couldn't guess your Linux version [2]) ;; esac ;;