summaryrefslogtreecommitdiff
path: root/emulators/dosbox-x/files/patch-configure.ac
blob: cfdc8b7bb563f46ef23c2e6351e17ef48d3c2727 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- configure.ac.orig	2024-10-02 06:16:36 UTC
+++ configure.ac
@@ -672,7 +672,10 @@ dnl LIBRARY TEST: ALSA
 dnl TODO: Need GCC to know this code is using C++ lambda functions
 
 dnl LIBRARY TEST: ALSA
-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([--disable-alsa],[Disable ALSA]),,enable_alsa=yes)
+if test x$enable_alsa != xno; then
+    AM_PATH_ALSA(0.9.0, AC_DEFINE(HAVE_ALSA,1,[Define to 1 to use ALSA for MIDI]) , : )
+fi
 
 dnl Some stuff for the icon.
 case "$host" in