[PATCH] 2.3.41 - use of ! in Config.in's

James Manning jmm en raleigh.ibm.com
Lun Ene 31 06:52:35 CST 2000


A few straglers were still doing if [ ! "$CONFIG_FOO" = "n" ]
rather than the more official/sensable if [ "$CONFIG_FOO" != "n" ]

diff -ru linux-orig/drivers/atm/Config.in linux/drivers/atm/Config.in
--- linux-orig/drivers/atm/Config.in	Thu Oct  7 13:17:09 1999
+++ linux/drivers/atm/Config.in	Mon Jan 31 06:43:34 2000
@@ -8,7 +8,7 @@
 fi
 if [ "$CONFIG_PCI" = "y" ]; then
    tristate 'Efficient Networks ENI155P' CONFIG_ATM_ENI
-   if [ ! "$CONFIG_ATM_ENI" = "n" ]; then
+   if [ "$CONFIG_ATM_ENI" != "n" ]; then
       bool '  Enable extended debugging' CONFIG_ATM_ENI_DEBUG
       bool '  Fine-tune burst settings' CONFIG_ATM_ENI_TUNE_BURST
       if [ "$CONFIG_ATM_ENI_TUNE_BURST" = "y" ]; then
@@ -23,7 +23,7 @@
       fi
    fi
    tristate 'ZeitNet ZN1221/ZN1225' CONFIG_ATM_ZATM
-   if [ ! "$CONFIG_ATM_ZATM" = "n" ]; then
+   if [ "$CONFIG_ATM_ZATM" != "n" ]; then
       bool '  Enable extended debugging' CONFIG_ATM_ZATM_DEBUG
       bool '  Enable usec resolution timestamps' CONFIG_ATM_ZATM_EXACT_TS
    fi
diff -ru linux-orig/drivers/net/Config.in linux/drivers/net/Config.in
--- linux-orig/drivers/net/Config.in	Thu Jan 13 21:03:58 2000
+++ linux/drivers/net/Config.in	Mon Jan 31 06:43:12 2000
@@ -208,12 +208,12 @@
    endmenu
 fi
 
-if [ ! "$CONFIG_PARPORT" = "n" ]; then
+if [ "$CONFIG_PARPORT" != "n" ]; then
    dep_tristate 'PLIP (parallel port) support' CONFIG_PLIP $CONFIG_PARPORT
 fi
 
 tristate 'PPP (point-to-point protocol) support' CONFIG_PPP
-if [ ! "$CONFIG_PPP" = "n" ]; then
+if [ "$CONFIG_PPP" != "n" ]; then
    dep_tristate '  PPP support for async serial ports' CONFIG_PPP_ASYNC $CONFIG_PPP
    dep_tristate '  PPP support for sync tty ports' CONFIG_PPP_SYNC_TTY $CONFIG_PPP
    dep_tristate '  PPP Deflate compression' CONFIG_PPP_DEFLATE $CONFIG_PPP
diff -ru linux-orig/drivers/usb/Config.in linux/drivers/usb/Config.in
--- linux-orig/drivers/usb/Config.in	Thu Jan 27 10:40:16 2000
+++ linux/drivers/usb/Config.in	Mon Jan 31 06:43:43 2000
@@ -5,7 +5,7 @@
 comment 'USB support'
 
 tristate 'Support for USB' CONFIG_USB
-if [ ! "$CONFIG_USB" = "n" ]; then
+if [ "$CONFIG_USB" != "n" ]; then
 
 comment 'USB Controllers'
    dep_tristate '  UHCI (Intel PIIX4, VIA, ...) support' CONFIG_USB_UHCI $CONFIG_USB

James
-- 
Miscellaneous Engineer --- IBM Netfinity Performance Development

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



Más información sobre la lista de distribución Ayuda