Skip to content

Commit

Permalink
Add Linux 4.x "support"
Browse files Browse the repository at this point in the history
  • Loading branch information
mslusarz committed May 7, 2015
1 parent d16304e commit a0c1b99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure.ac
Expand Up @@ -303,9 +303,9 @@ case "${host_os}" in
kernel=`uname -r`

case "${kernel}" in
2.6.*|3.*)
AC_MSG_RESULT([2.6.x/3.x family (${kernel})])
AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x or Linux 3.x])
2.6.*|3.*|4.*)
AC_MSG_RESULT([2.6.x/3.x/4.x family (${kernel})])
AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2.6.x, 3.x or 4.x])
;;

2.4.*)
Expand All @@ -315,7 +315,7 @@ case "${host_os}" in

*)
AC_MSG_RESULT([unsupported (${kernel})])
AC_MSG_ERROR([Valgrind works on kernels 2.4, 2.6])
AC_MSG_ERROR([Valgrind works on kernels 2.4, 2.6, 3.x, 4.x])
;;
esac

Expand Down

0 comments on commit a0c1b99

Please sign in to comment.