Re: [KBUILD] [PATCH] Configure bug

From: Michael Elizabeth Chastain (chastain@cygnus.com)
Date: Thu Aug 03 2000 - 13:34:06 EST


I proof-read it and tested it and It Works For Me (TM).

The patch is a little mal-formed (bad "}" in column 1 of line 17),
so I re-diffed it.

Linus, please apply this patch.

Michael Elizabeth Chastain
<mailto:mec@shout.net>
"love without fear"

diff -u -r -N linux-2.4.0-test5/Documentation/kbuild/config-language.txt linux/Documentation/kbuild/config-language.txt
--- linux-2.4.0-test5/Documentation/kbuild/config-language.txt Sun May 21 20:18:08 2000
+++ linux/Documentation/kbuild/config-language.txt Thu Aug 3 11:28:05 2000
@@ -291,6 +291,7 @@
 This verb displays /prompt/ to the user, accepts a value from the user,
 and assigns that value to /symbol/. /word/ is the default value. Legal
 input values are any ASCII string, except for the characters '"' and '\\'.
+Configure will trap an input string of "?" to display help.
 
 The default value is mandatory.
 
diff -u -r -N linux-2.4.0-test5/scripts/Configure linux/scripts/Configure
--- linux-2.4.0-test5/scripts/Configure Mon Jun 19 13:45:52 2000
+++ linux/scripts/Configure Thu Aug 3 11:27:52 2000
@@ -419,7 +419,14 @@
 function string () {
         old=$(eval echo "\${$2}")
         def=${old:-$3}
- readln "$1 ($2) [$def] " "$def" "$old"
+ while :; do
+ readln "$1 ($2) [$def] " "$def" "$old"
+ if [ "$ans" = "?" ]; then
+ help "$2"
+ else
+ break
+ fi
+ done
         define_string "$2" "$ans"
 }
 #

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:11 EST