Re: make menuconfig - cosmetic question

Martin.Knoblauch
2001-05-17T16:33:23Z

"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 ...