From 365d5edfb33654b9ecc02e73f85c7cf2012ecaea Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 6 Nov 2011 14:45:44 +0100 Subject: [PATCH] build: notify of unsupported Linux kernel versions make 3.82 does not like mixing normal rules with implicit rules, which rejects Makefiles of Linux kernels before 2.6.32 series. --- configure.ac | 4 ++-- doc/changelog.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index c7431a4..6adbb6a 100644 --- a/configure.ac +++ b/configure.ac @@ -64,10 +64,10 @@ if test -n "$kbuilddir"; then echo "WARNING: You are trying a newer kernel. Results may vary. :-)"; elif test "$kmajor" -eq 3; then :; - elif test "$kmajor" -eq 2 -a "$kminor" -eq 6 -a "$kmicro" -ge 29; then + elif test "$kmajor" -eq 2 -a "$kminor" -eq 6 -a "$kmicro" -ge 32; then :; else - echo "WARNING: That kernel version is not supported."; + echo "WARNING: That kernel version is not officially supported."; fi; fi; fi; diff --git a/doc/changelog.txt b/doc/changelog.txt index 81fcbdc..f0f6b0b 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -8,6 +8,8 @@ Fixes: - xt_ipv4options: fix an infinite loop Changes: - xt_ECHO: now calculates UDP checksum +- Linux kernel versions below 2.6.32 are no longer officially + supported, and will not be part of compilation testing. Enhancements: - xt_ECHO: IPv6 support @@ -80,7 +82,6 @@ Fixes: Changes: - Linux kernel versions below 2.6.29 are no longer officially supported, and will not be part of compilation testing. - Expect that compat code will be removed shortly. v1.33 (2011-02-02)