1 | --- a/configure.in |
2 | +++ b/configure.in |
3 | @@ -260,7 +260,7 @@ case "${host_os}" in |
4 | # Ok, this is linux. Check the kernel version |
5 | AC_MSG_CHECKING([for the kernel version]) |
6 | |
7 | - kernel=`uname -r` |
8 | + kernel=${UNAME_R:-`uname -r`} |
9 | |
10 | case "${kernel}" in |
11 | 2.6.*|3.*) |
12 | |