mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
Treat Linux 3 as Linux 2.6
Linux 3.0 is just a rebranded Linux 2.6.40, so we can use the same sysname and the same code. Change-Id: I154334dc5b73980a0d9b8abd9fd6645994f63829 Signed-off-by: Anders Kaseorg <andersk@mit.edu> Reviewed-on: http://gerrit.openafs.org/4843 Reviewed-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
cdd9f78f05
commit
34bdd979fc
10
acinclude.m4
10
acinclude.m4
@ -358,10 +358,12 @@ case $system in
|
|||||||
fi
|
fi
|
||||||
AC_MSG_RESULT(linux)
|
AC_MSG_RESULT(linux)
|
||||||
if test "x$enable_kernel_module" = "xyes"; then
|
if test "x$enable_kernel_module" = "xyes"; then
|
||||||
AFS_SYSKVERS=`echo $LINUX_VERSION | awk -F\. '{print $[]1 $[]2}'`
|
case "$LINUX_VERSION" in
|
||||||
if test "x${AFS_SYSKVERS}" = "x"; then
|
2.2.*) AFS_SYSKVERS=22 ;;
|
||||||
AC_MSG_ERROR(Couldn't guess your Linux version [2])
|
2.4.*) AFS_SYSKVERS=24 ;;
|
||||||
fi
|
2.6.* | 3.*) AFS_SYSKVERS=26 ;;
|
||||||
|
*) AC_MSG_ERROR(Couldn't guess your Linux version [2]) ;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*-solaris*)
|
*-solaris*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user