Avoid using AC_RUN_IFELSE to check the kernel major.minor version, as it
authorIan Abbott <abbotti@mev.co.uk>
Thu, 6 Jul 2006 16:06:32 +0000 (16:06 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Thu, 6 Jul 2006 16:06:32 +0000 (16:06 +0000)
commit05523b1ef53855aef894d5009b92a7ec7331f57a
tree2427b48a60144fcf412babf8aeb0513058460818
parentcbef3d440a82199594d819ea36029c724a38c343
Avoid using AC_RUN_IFELSE to check the kernel major.minor version, as it
doesn't work when cross-compiling.

Every kernel Makefile I've looked at (at least for 2.4 and 2.6, including
those for separate kernel build directories) includes the "VERSION = x" and
"PATCHLEVEL = y" lines, so use 'sed' to extract the information from those
lines.
m4/as-linux.m4