core/valgrind/valgrind-3.6.1-linux-3.patch
2011-10-08 18:52:34 +00:00

21 lines
703 B
Diff

--- valgrind/configure.in.jj 2011-06-09 16:33:14.000000000 -0400
+++ valgrind/configure.in 2011-06-09 16:33:08.000000000 -0400
@@ -219,11 +219,11 @@
kernel=`uname -r`
- case "${kernel}" in
- 2.6.*)
- AC_MSG_RESULT([2.6 family (${kernel})])
- AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x])
- ;;
+ case "${kernel}" in
+ 2.6.*|3.*)
+ AC_MSG_RESULT([2.6 family (${kernel})])
+ AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x])
+ ;;
2.4.*)
AC_MSG_RESULT([2.4 family (${kernel})])
;;