Bug 1689: Fix MIDI devices not being found on linux

PortMidi requires PMALSA to be defined to compile with ALSA support.  Without it, it simply does not find any devices.  (There is also PMNULL, but the files controlled by that define do not actually exist)
This commit is contained in:
Pokechu22 2017-07-18 20:01:55 -07:00 committed by Paul Licameli
parent cfeb7bced1
commit 6d47a79d3e
2 changed files with 6 additions and 0 deletions

View File

@ -5613,6 +5613,9 @@ _ACEOF
fi
$as_echo "#define PMALSA 1" >>confdefs.h
ac_config_files="$ac_config_files Makefile portmidi.pc portmidi-uninstalled.pc"

View File

@ -121,6 +121,9 @@ dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
dnl PMALSA indicates that portmidi should be built with alsa support (needed)
AC_DEFINE(PMALSA, 1)
AC_CONFIG_FILES([Makefile portmidi.pc portmidi-uninstalled.pc])
AC_OUTPUT