]> mj.ucw.cz Git - libucw.git/commitdiff
Any non-zero value enables an option. (Allows CONFIG_NUM_CONTEXTS to be
authorMartin Mares <mj@ucw.cz>
Thu, 5 Feb 2004 20:27:23 +0000 (20:27 +0000)
committerMartin Mares <mj@ucw.cz>
Thu, 5 Feb 2004 20:27:23 +0000 (20:27 +0000)
recognized as a switch.)

build/genconf

index b088a142d17c072f9f7ed7b598d14d259d32f379..7a53dc1b3c824749ec689b0a30db8d93feecef47 100755 (executable)
@@ -10,7 +10,7 @@ use warnings;
 open CF, $ARGV[2] or die "Unable to open $ARGV[2]";
 my %options = ();
 while (<CF>) {
-       /^(CONFIG_\w+)=1/ || next;
+       /^(CONFIG_\w+)=[^0]/ || next;
        $options{$1} = 1;
 }
 close CF;