Re: make menuconfig - cosmetic question

From: Martin.Knoblauch (Martin.Knoblauch@TeraPort.de)
Date: Thu May 17 2001 - 11:19:05 EST


"Martin.Knoblauch" wrote:
>
>
> Not sure whether this is worth to put into the next release - maybe
> someone can spend two minutes to crosscheck.
>

 This looks more complete.

lx/linux > diff -u scripts/Menuconfig.orig scripts/Menuconfig
--- scripts/Menuconfig.orig Thu May 17 17:19:21 2001
+++ scripts/Menuconfig Thu May 17 18:10:22 2001
@@ -74,7 +74,10 @@
 # - Implemented new functions: define_tristate(), define_int(),
define_hex(),
 # define_string(), dep_bool().
 #
-
+# 17 May 2001, Martin Knoblauch, <knobi@knobisoft.de>
+# - Fix output of comment strings to .config/autoconfig.h so that they
equal
+# the comments from "make [old]config"
+#

 #
 # Change this to TRUE if you prefer all kernel options listed
@@ -1240,7 +1243,7 @@
        }
 
        function mainmenu_option () {
- comment_is_option=TRUE
+ :
        }
 
        function endmenu () {
@@ -1248,9 +1251,7 @@
        }
 
        function comment () {
- if [ "$comment_is_option" ]
- then
- comment_is_option=
+
                        echo >>$CONFIG
                        echo "#" >>$CONFIG
                        echo "# $1" >>$CONFIG
@@ -1260,7 +1261,6 @@
                        echo "/*" >>$CONFIG_H
                        echo " * $1" >>$CONFIG_H
                        echo " */" >>$CONFIG_H
- fi
        }
 
        echo -n "."

Martin
PS: This time without vcard ...

-- 
------------------------------------------------------------------
Martin Knoblauch         |    email:  Martin.Knoblauch@TeraPort.de
TeraPort GmbH            |    Phone:  +49-89-510857-309
IT Services              |    Fax:    +49-89-510857-111
http://www.teraport.de   |    Mobile: +49-170-4904759
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:23 EST