Hi,

ALSA CVS is still failing to generate all of dependent
modules in my particular config:

--with-kernel=/home/chris/linux-2.6.4
--with-moddir=/lib/modules/2.6.4/kernel/sound
--with-oss=yes
--with-sequencer=yes
--with-cards=intel8x0,emu10k1,dummy

I have managed to "hack" the (generated) acinclude.m4
file to fix it:

...
if test "$cards" = "all"; then
  ALSA_TOPLEVEL_ALL
  AC_MSG_RESULT(all)
else
>   CONFIG_SOUND="y"
>   CONFIG_SND="m"
>   CONFIG_SND_TIMER="m"
>   AC_DEFINE(CONFIG_SND_MODULE)
>   AC_DEFINE(CONFIG_SND_TIMER_MODULE)
  cards=`echo $cards | sed 's/,/ /g'`
  for card in $cards
  do
...

...
  emu10k1)
    CONFIG_SND_HWDEP="m"
    AC_DEFINE(CONFIG_SND_HWDEP_MODULE)
    CONFIG_SND_RAWMIDI="m"
    AC_DEFINE(CONFIG_SND_RAWMIDI_MODULE)
    CONFIG_SND_AC97_CODEC="m"
    AC_DEFINE(CONFIG_SND_AC97_CODEC_MODULE)
    CONFIG_SND_EMU10K1="m"
    AC_DEFINE(CONFIG_SND_EMU10K1_MODULE)
>     if ( test "$CONFIG_SND_SEQUENCER" == "y" -o
"$CONFIG_SND_SEQUENCER" == "m" ); then
>       CONFIG_SND_VIRMIDI="m"
>       AC_DEFINE(CONFIG_SND_VIRMIDI_MODULE)
>     fi
    ;;
...

Cheers,
Chris



        
        
                
___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to