ports/emulators/dosbox-x/files/patch-configure.ac
Vladimir Druzenko be396f0514 emulators/dosbox-x: update to 2023.10.06
Release Notes: https://dosbox-x.com/release-2023.10.06.html
Also move manpage in share/ and add several build options.

Approved by:		arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D43959
2024-02-18 18:30:11 +03:00

14 lines
531 B
Text

--- configure.ac.orig 2023-10-07 05:52:23 UTC
+++ configure.ac
@@ -656,7 +656,10 @@ esac
dnl TODO: Need GCC to know this code is using C++ lamda 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