more ifdef's to make it work with Red Hat Enterprise Linux 4's 2.6.9-based

2006-02-17  Bastien Nocera  <hadess@hadess.net>

	* configure.ac:
	* module/sysprof-module.c: (timer_notify), (sysprof_open),
	(sysprof_release): more ifdef's to make it work with Red Hat
	Enterprise Linux 4's 2.6.9-based kernel
This commit is contained in:
Bastien Nocera
2006-02-17 15:44:55 +00:00
committed by Bastien Nocera
parent 58a1cf37ef
commit 0a592c152a
3 changed files with 44 additions and 6 deletions

View File

@ -61,9 +61,9 @@ if test $kernel_module = "yes"; then
KMINOR=`uname -r | cut -d"." -f 2`
KMICRO=`uname -r | cut -d"." -f 3 | cut -d"-" -f 1`
if [[ $KMICRO -lt 11 ]] ; then
if [[ $KMICRO -lt 9 ]] ; then
echo \*
echo \* Linux \>= 2.6.11 is required
echo \* Linux \>= 2.6.9 is required
echo \*
exit 1
fi