From a5b091e1ec69d4a43d6f1b1efc93134ef7ed2167 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sun, 22 Feb 2015 23:43:49 -0500 Subject: [PATCH] Treat Linux 4 (and greater) as Linux 2.6/3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 6fc862d5b2..e581d9bb70 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 ;;