Erik pointed out that in the last try at the #ifdef cleanup
authorRob Landley <rob@landley.net>
Thu, 28 Jul 2005 19:36:33 +0000 (19:36 -0000)
committerRob Landley <rob@landley.net>
Thu, 28 Jul 2005 19:36:33 +0000 (19:36 -0000)
commitef8f423e908c74e5de49b8dbe02730815f275bfa
treec5c63db86b458a88cede6d64ead21248ff89b4c7
parente5ba382b9919ca0844c37725bddd7acbdc9ee255
Erik pointed out that in the last try at the #ifdef cleanup
infrastructure, the compiler isn't smart enough to replace const static
int with the constant, and allocates space for each set of them,
bloating the executable something fierce.  Oops.

So now, we #define ENABLE_XXX to 0 or 1 for each CONFIG_XXX (which
is still there so the 1000+ #ifdef/#ifndef tests don't have to be
replaced wholesale).  Changed the test instance in networking/ifconfig.c
to use this.
Makefile
networking/ifconfig.c