If we don't support a particular kernel version, don't print out a warning and pretend that we can actually handle the situation. Just print an error and stop immediately.
Signed-off-by: Jason Gerecke <jason.gere...@wacom.com> --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index d16ba0a..4ee8b80 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ AC_MSG_CHECKING(kernel version) AC_MSG_RESULT([$MODUTS]) MINOR=`echo $MODUTS | sed 's/[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\).*/\1/'` if echo $MODUTS | grep "^2.4" >/dev/null; then - AC_MSG_WARN([kernel 2.4.x is not supported]) + AC_MSG_ERROR([kernel 2.4.x is not supported]) elif echo $MODUTS | grep "^2.6" >/dev/null; then if test $MINOR -ge 26; then case $MINOR in @@ -48,7 +48,7 @@ elif echo $MODUTS | grep "^2.6" >/dev/null; then *) WCM_KERNEL_VER="2.6.38";; esac else - AC_MSG_WARN([kernels older than 2.6.26 is supported by linuxwacom]) + AC_MSG_ERROR([use the kernel driver included in the 'linuxwacom' package for kernels older than 2.6.26]) fi elif echo $MODUTS | grep "^3." >/dev/null; then MINOR=`echo $MODUTS | sed 's/[[0-9]]*\.\([[0-9]]*\).*/\1/'` @@ -62,7 +62,7 @@ elif echo $MODUTS | grep "^3." >/dev/null; then elif echo $MODUTS | grep "^4." >/dev/null; then WCM_KERNEL_VER="3.17" else - AC_MSG_WARN(kernel version $MODUTS not supported) + AC_MSG_ERROR(kernel version $MODUTS not supported) fi dnl Check for kernel build environment -- 2.3.5 ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel