Bug 171942 - games-emulation/dosbox does not honour USE=-alsa
|
Bug#:
171942
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: flameeyes@gentoo.org
|
|
Component: Games
|
|
|
URL:
|
|
Summary: games-emulation/dosbox does not honour USE=-alsa
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-03-23 17:22 0000
|
Just had time to check on it (I removed it when it failed without midi support
enabled, now I tried installing it on another box), with USE=-alsa dosbox
doesn't actually disable ALSA support, see the attached log, and note this:
checking for ALSA CFLAGS... -Ino
checking for ALSA LDFLAGS... -Lno -lasound -lm -ldl -lpthread
HTH,
Diego
diego is right, dosbox always binds to alsa if it finds it.
may it be a solution to patch config.in and run autoconf again?
-AM_PATH_ALSA(0.9.0, AC_DEFINE(HAVE_ALSA,1,[Define to 1 to use ALSA for MIDI])
, : )
+AC_ARG_ENABLE(alsa,AC_HELP_STRING([--enable-alsa],[Enable ALSA for MIDI]),[
+ AM_PATH_ALSA(0.9.0, AC_DEFINE(HAVE_ALSA,1,[Define to 1 to use ALSA for
MIDI]) , : )
+])
hmmmm, nope, not good enough. Still pulls in alsa even with this patch and
--disable-alsa
the next release of dosbox will have the autotool stuff fixed up. Forced alsa
on for now.
*** Bug 173996 has been marked as a duplicate of this bug. ***