All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin.Knoblauch" <Martin.Knoblauch@TeraPort.de>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: make menuconfig - cosmetic question
Date: Thu, 17 May 2001 18:19:05 +0200	[thread overview]
Message-ID: <3B03F9F9.FA032E4B@TeraPort.de> (raw)
In-Reply-To: <Pine.LNX.3.96.1010517151441.14658A-100000@medusa.sparta.lu.se> <3B03EE1E.5A050E1B@TeraPort.de>

"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

  reply	other threads:[~2001-05-17 16:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-17 14:07 make menuconfig - cosmetic question Martin.Knoblauch
2001-05-17 13:15 ` Bjorn Wesen
2001-05-17 15:28   ` Martin.Knoblauch
2001-05-17 16:19     ` Martin.Knoblauch [this message]
2001-05-17 17:12     ` sniffer gis88530
2001-05-17 15:18 ` make menuconfig - cosmetic question Keith Owens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B03F9F9.FA032E4B@TeraPort.de \
    --to=martin.knoblauch@teraport.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.