* dummy driver and Makefile inconsistency
@ 2003-03-19 8:48 Andrei Boros
2003-03-19 11:42 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Andrei Boros @ 2003-03-19 8:48 UTC (permalink / raw)
To: alsa-devel
alsa-kernel/core/seq/Makefile contains the following:
obj-$(CONFIG_SND_SEQ_DUMMY) += snd-seq-dummy.o
However, there is no definition of CONFIG_SND_SEQ_DUMMY anywhere !!!
I believe CONFIG_SND_SEQ_DUMMY should be set to "m" if dummy driver and
sequencer support are enabled.
---------------------------------------------------------------
I made several changes so that ./configure sets this properly and the
module gets built properly, but I am having some trouble integrating it
with autoconf in the cvs tree before running cvscompile.
Here are the modifications I made in my alsa-driver/ :
Makefile line 50:
-----------------------------------------------------------------
CONFIG_PCMCIA = @CONFIG_PCMCIA@
CONFIG_SND_SEQUENCER = @CONFIG_SND_SEQUENCER@
+CONFIG_SND_SEQ_DUMMY = @CONFIG_SND_SEQ_DUMMY@
CONFIG_SND_OSSEMUL = @CONFIG_SND_OSSEMUL@
ifeq (y,$(CONFIG_SND_OSSEMUL))
CONFIG_SND_MIXER_OSS = m
CONFIG_SND_PCM_OSS = m
-----------------------------------------------------------------
configure.in line 792 :
-----------------------------------------------------------------
fi
AC_SUBST(CONFIG_SND_SEQUENCER)
+dnl if test "$CONFIG_SND_DUMMY" = "m"; then
+ CONFIG_SND_SEQ_DUMMY="m"
+ AC_SUBST(CONFIG_SND_SEQ_DUMMY)
+ AC_DEFINE_CONFIG_SND_SEQ_DUMMY)
+dnl fi
if test "$CONFIG_SND_SEQUENCER" = "m"; then
AC_DEFINE(CONFIG_SND_SEQUENCER)
-----------------------------------------------------------------
configure line 2930 : (I don't know how to integrate this with autoconf
and cvscompile)
-----------------------------------------------------------------
#define CONFIG_SND_DUMMY_MODULE 1
EOF
+ if test "$CONFIG_SND_SEQUENCER" = "m"; then
+ CONFIG_SND_SEQ_DUMMY="m"
+ fi
CONFIG_SND_VIRMIDI="m"
cat >> confdefs.h <<\EOF
-----------------------------------------------------------------
configure line 3408 : (I don't know how to integrate this with autoconf
and cvscompile)
-----------------------------------------------------------------
#define CONFIG_SND_DUMMY_MODULE 1
EOF
+ if test "$CONFIG_SND_SEQUENCER" = "m"; then
+ CONFIG_SND_SEQ_DUMMY="m"
+ fi
;;
-----------------------------------------------------------------
--
ing. Andrei Boros
mailto:andrei@srr.ro / +40-21-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune
-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink?
You could win a Tablet PC. Get a free Tablet PC hat just for playing.
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-19 11:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-19 8:48 dummy driver and Makefile inconsistency Andrei Boros
2003-03-19 11:42 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.