mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 18:01:13 +00:00
need to /always/ set ALSA_PLUGIN
This commit is contained in:
parent
52968be46d
commit
ce3c58e238
1 changed files with 7 additions and 5 deletions
12
configure.ac
12
configure.ac
|
@ -1870,15 +1870,17 @@ AC_SUBST(HAVE_SDL)
|
||||||
AC_SUBST(HAVE_SVGA)
|
AC_SUBST(HAVE_SVGA)
|
||||||
AC_SUBST(HAVE_X)
|
AC_SUBST(HAVE_X)
|
||||||
|
|
||||||
|
ALSA_PLUGIN="snd_output_alsa"
|
||||||
|
if test "`echo $SOUND_TYPES | grep ALSA0_9`"; then
|
||||||
|
ALSA_PLUGIN="snd_output_alsa0_9"
|
||||||
|
fi
|
||||||
|
|
||||||
if test -n "$CL_TARGETS"; then
|
if test -n "$CL_TARGETS"; then
|
||||||
CD_TARGETS="libQFcd.la"
|
CD_TARGETS="libQFcd.la"
|
||||||
SND_TARGETS="libQFsound.la"
|
SND_TARGETS="libQFsound.la"
|
||||||
JOY_TARGETS="libQFjs.la"
|
JOY_TARGETS="libQFjs.la"
|
||||||
if test "`echo $SOUND_TYPES | grep ALSA0_9`"; then
|
# the following will catch both ALSA and ALSA0_9
|
||||||
ALSA_PLUGIN="snd_output_alsa0_9"
|
if test "`echo $SOUND_TYPES | grep ALSA`"; then
|
||||||
SND_PLUGIN_TARGETS="$SND_PLUGIN_TARGETS $ALSA_PLUGIN.la"
|
|
||||||
elif test "`echo $SOUND_TYPES | grep ALSA`"; then
|
|
||||||
ALSA_PLUGIN="snd_output_alsa"
|
|
||||||
SND_PLUGIN_TARGETS="$SND_PLUGIN_TARGETS $ALSA_PLUGIN.la"
|
SND_PLUGIN_TARGETS="$SND_PLUGIN_TARGETS $ALSA_PLUGIN.la"
|
||||||
fi
|
fi
|
||||||
if test "`echo $SOUND_TYPES | grep MME`"; then
|
if test "`echo $SOUND_TYPES | grep MME`"; then
|
||||||
|
|
Loading…
Reference in a new issue