[Arjan van de Ven]
> Unfortionatly, this is impossible. The miropcm config question is
> asked before the "sound" question, and the aci question is asked
> after that (all in ake config).

"Impossible" is perhaps a poor choice of terms.  "Awkward" and "ugly"
are, however, quite descriptive. (:

Peter

diff -urk~ 2.4.1/drivers/sound/Config.in
--- 2.4.1/drivers/sound/Config.in~      Tue Jan 30 14:46:39 2001
+++ 2.4.1/drivers/sound/Config.in       Wed Jan 31 04:52:19 2001
@@ -91,7 +91,7 @@
    fi
    dep_tristate '    Aztech Sound Galaxy (non-PnP) cards' CONFIG_SOUND_SGALAXY 
$CONFIG_SOUND_OSS
    dep_tristate '    Adlib Cards' CONFIG_SOUND_ADLIB $CONFIG_SOUND_OSS
-   dep_tristate '    ACI mixer (miroPCM12)' CONFIG_SOUND_ACI_MIXER $CONFIG_SOUND_OSS
+   dep_tristate '    ACI mixer (miroPCM12)' CONFIG_SOUND_WANT_ACI_MIXER 
+$CONFIG_SOUND_OSS
    dep_tristate '    Crystal CS4232 based (PnP) cards' CONFIG_SOUND_CS4232 
$CONFIG_SOUND_OSS
    dep_tristate '    Ensoniq SoundScape support' CONFIG_SOUND_SSCAPE $CONFIG_SOUND_OSS
    dep_tristate '    Gravis Ultrasound support' CONFIG_SOUND_GUS $CONFIG_SOUND_OSS
@@ -179,3 +179,12 @@
 fi
 
 dep_tristate '  TV card (bt848) mixer support' CONFIG_SOUND_TVMIXER $CONFIG_SOUND 
$CONFIG_I2C
+
+# hack, hack
+if [ "$CONFIG_SOUND_WANT_ACI_MIXER" = "y" -o "$CONFIG_RADIO_MIROPCM20" = "y" ]; then
+   define_tristate CONFIG_SOUND_ACI_MIXER y
+else
+   if [ "$CONFIG_SOUND_WANT_ACI_MIXER" = "m" -o "$CONFIG_RADIO_MIROPCM20" = "m" ]; 
+then
+      define_tristate CONFIG_SOUND_ACI_MIXER m
+   fi
+fi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to