In the .config file, the problem is that the Makefiles source .config and
then do a lot of "ifdef CONFIG_FOO" tests.  There are about 300 instances
of this in 2.4.0-test-7.

In include/linux/autoconf.h, the problem is in the *.c (and *.h and *.S)
files that do a lot of "#ifdef CONFIG_BAR" and "#if defined(CONFIG_BLETCH)
tests.  There are about 8000 instances of this in 2.4.0-test-7.

Even worse, any third-party module source is likely to contain the same
"#ifdef CONFIG_BAR" tests.  Changing the definitions of CONFIG_BAR will
silently break all of them.

I'm all in favor of 'if ( CONFIG_BAR )', but I think it will have to be
'if ( CONFIG_BAR - 0 )' if you want to use them any time soon.

Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to