--- valgrind-20030725.orig/configure 2003-07-26 21:39:52.000000000 +0000 +++ valgrind-20030725/configure 2003-09-03 22:40:39.000000000 +0000 @@ -3565,7 +3565,7 @@ # This variable will collect the individual suppression files # depending on the results of autoconf -DEFAULT_SUPP="" +DEFAULT_SUPP="sid.supp" # We don't want gcc 2.7 @@ -3690,6 +3690,15 @@ kernel=`uname -r` case "${kernel}" in + 2.6.*) + echo "$as_me:$LINENO: result: 2.6 family (${kernel})" >&5 +echo "${ECHO_T}2.6 family (${kernel})" >&6 + +cat >>confdefs.h <<\_ACEOF +#define KERNEL_2_6 1 +_ACEOF + + ;; 2.5.*) echo "$as_me:$LINENO: result: 2.5 family (${kernel})" >&5 echo "${ECHO_T}2.5 family (${kernel})" >&6 @@ -3710,6 +3719,7 @@ ;; + 2.2.*) echo "$as_me:$LINENO: result: 2.2 family (${kernel})" >&5 echo "${ECHO_T}2.2 family (${kernel})" >&6 @@ -3723,8 +3733,8 @@ *) echo "$as_me:$LINENO: result: unsupported (${kernel})" >&5 echo "${ECHO_T}unsupported (${kernel})" >&6 - { { echo "$as_me:$LINENO: error: Valgrind works on kernels 2.2 and 2.4" >&5 -echo "$as_me: error: Valgrind works on kernels 2.2 and 2.4" >&2;} + { { echo "$as_me:$LINENO: error: Valgrind works on kernels 2.2, 2.4 and 2.6" >&5 +echo "$as_me: error: Valgrind works on kernels 2.2, 2.4 and 2.6" >&2;} { (exit 1); exit 1; }; } ;; esac