build: support for Linux up to 2.6.38

No API changes that needed to be taken care of, so just bump the
version check in configure.ac.
This commit is contained in:
Jan Engelhardt
2011-02-02 04:59:38 +01:00
parent 4654ee127f
commit 4a8aa505c4
2 changed files with 2 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ if test -n "$kbuilddir"; then
echo "WARNING: Version detection did not succeed. Continue at own luck.";
else
echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir";
if test "$kmajor" -gt 2 -o "$kminor" -gt 6 -o "$kmicro" -gt 37; then
if test "$kmajor" -gt 2 -o "$kminor" -gt 6 -o "$kmicro" -gt 38; then
echo "WARNING: You are trying a newer kernel. Results may vary. :-)";
elif test \( "$kmajor" -lt 2 -o \
\( "$kmajor" -eq 2 -a "$kminor" -lt 6 \) -o \