]> granicus.if.org Git - spl/commit
Fix the configure CONFIG_* option detection
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 22 Jul 2011 21:23:12 +0000 (14:23 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 22 Jul 2011 22:07:03 +0000 (15:07 -0700)
commitc064bdee95583102e216354bbdece4818d59b644
tree28443b03a95577595077b94ecd4d2959b22987cb
parente80cd06b8e0428f3ca2c62e4cb0e4ec54fda1d5c
Fix the configure CONFIG_* option detection

The latest kernels no longer define AUTOCONF_INCLUDED which was
being used to detect the new style autoconf.h kernel configure
options.  This results in the CONFIG_* checks always failing
incorrectly for newer kernels.

The fix for this is a simplification of the testing method.
Rather than attempting to explicitly include to renamed config
header.  It is simpler to unconditionally include <linux/module.h>
which must pick up the correctly named header.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #320
config/spl-build.m4
configure