6ba5fdf1d7272231dd60360dca6c26f641154461
[openwrt/staging/mkresin.git] / package / devel / valgrind / patches / 100-fix_configure_check.patch
1 --- a/configure.ac
2 +++ b/configure.ac
3 @@ -323,7 +323,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 0.*|1.*|2.0.*|2.1.*|2.2.*|2.3.*|2.4.*|2.5.*)