--- valgrind-20030725.orig/configure.in 2003-07-25 21:28:09.000000000 +0000 +++ valgrind-20030725/configure.in 2003-09-03 22:40:53.000000000 +0000 @@ -97,6 +97,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]) + ;; + 2.5.*) AC_MSG_RESULT([2.5 family (${kernel})]) AC_DEFINE([KERNEL_2_5], 1, [Define to 1 if you're using Linux 2.5.x]) @@ -114,7 +119,7 @@ *) AC_MSG_RESULT([unsupported (${kernel})]) - AC_MSG_ERROR([Valgrind works on kernels 2.2 and 2.4]) + AC_MSG_ERROR([Valgrind works on kernels 2.2, 2.4 and 2.6]) ;; esac