1 diff -uNr ettercap-0.6.3.1.orig/aclocal.m4 ettercap-0.6.3.1/aclocal.m4
2 --- ettercap-0.6.3.1.orig/aclocal.m4 Thu Dec 13 18:05:18 2001
3 +++ ettercap-0.6.3.1/aclocal.m4 Sun Feb 10 16:32:29 2002
5 AC_DEFUN(EC_LINUX_KERNEL,[
7 AC_MSG_CHECKING(Linux kernel version)
8 - major=`uname -r | cut -f1 -d"."`
9 - minor=`uname -r | cut -f2 -d"."`
11 + major=`grep UTS_RELEASE /usr/include/linux/version.h | cut -f2 -d"\"" | cut -f1 -d"."`
12 + minor=`grep UTS_RELEASE /usr/include/linux/version.h | cut -f2 -d"."`
13 + uname=`grep UTS_RELEASE /usr/include/linux/version.h | cut -f2 -d"\""`
15 if test "$major$minor" -lt 20; then
16 AC_MSG_WARN(*******************************);