100-fix_configure_check.patch 344 B

1234567891011
  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -341,7 +341,7 @@ case "${host_os}" in
  4. # Ok, this is linux. Check the kernel version
  5. AC_MSG_CHECKING([for the kernel version])
  6. - kernel=`uname -r`
  7. + kernel=${UNAME_R:-`uname -r`}
  8. case "${kernel}" in
  9. 0.*|1.*|2.0.*|2.1.*|2.2.*|2.3.*|2.4.*|2.5.*)