HomeFreeBSD

Fix the configure CONFIG_* option detection

Description

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jul 22 2011, 9:23 PM
Parents
rGe80cd06b8e04: Fix 'make install' overly broad 'rm'
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGc064bdee9558: Fix the configure CONFIG_* option detection (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jul 22 2011, 10:07 PM