patch-2.0.37 linux/scripts/Menuconfig
Next file: linux/scripts/tkgen.c
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sun Jun 13 10:21:05 1999
- Orig file:
v2.0.36/linux/scripts/Menuconfig
- Orig date:
Mon Jul 13 13:46:44 1998
diff -u --recursive --new-file v2.0.36/linux/scripts/Menuconfig linux/scripts/Menuconfig
@@ -77,6 +77,14 @@
}
#
+# Define an int to a specific value.
+#
+
+function define_int () {
+ eval $1=$2
+}
+
+#
# Create a boolean (Yes/No) function for our current menu
# which calls our local bool function.
#
@@ -954,6 +962,13 @@
;;
esac
}
+
+ function define_int () {
+ eval $1="$2"
+ echo "$1=$2" >>$CONFIG
+ echo "#define $1 $2" >>$CONFIG_H
+ }
+
function choice () {
#
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov