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
Created attachment 114155 [details] dosbox build log
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
You misunderstood the parameters of AC_ARG_ENABLE, see [1], third last parameter.Also see [2] for other example on how to fix this kind of dependency. [1] http://www.gentoo.org/doc/en/articles/autotools-practices.xml [2] http://www.gentoo.org/proj/en/qa/automagic.xml
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. ***