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.6.11.1^2~3 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2b21f7aba6297b604e90db14c6c814a4074d7bbe;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. 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 (cherry picked from commit a5b091e1ec69d4a43d6f1b1efc93134ef7ed2167) Change-Id: I5b0da6b43e3cbf5d9a6fa883a09deccb359e53e9 Reviewed-on: http://gerrit.openafs.org/11760 Reviewed-by: Benjamin Kaduk Reviewed-by: Marc Dionne Reviewed-by: Daria Brashear Tested-by: BuildBot Reviewed-by: Stephan Wiesand --- diff --git a/acinclude.m4 b/acinclude.m4 index e7b7ae98d..5c790f414 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -378,7 +378,7 @@ case $system in case "$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 fi