[Scummvm-git-logs] scummvm master -> bd88407cdd92e3a068f9919713a7e5247be23e26

sev- noreply at scummvm.org
Thu Dec 26 18:38:56 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
bd88407cdd CONFIGURE: Skip compilation of unnecessary file with mt32emu disabled


Commit: bd88407cdd92e3a068f9919713a7e5247be23e26
    https://github.com/scummvm/scummvm/commit/bd88407cdd92e3a068f9919713a7e5247be23e26
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-12-26T19:38:28+01:00

Commit Message:
CONFIGURE: Skip compilation of unnecessary file with mt32emu disabled

Changed paths:
    audio/module.mk
    configure


diff --git a/audio/module.mk b/audio/module.mk
index b9216b75ead..c723a90abc6 100644
--- a/audio/module.mk
+++ b/audio/module.mk
@@ -63,7 +63,6 @@ MODULE_OBJS := \
 	softsynth/opl/mame.o \
 	softsynth/appleiigs.o \
 	softsynth/fluidsynth.o \
-	softsynth/mt32.o \
 	softsynth/eas.o \
 	softsynth/pcspk.o \
 	soundfont/rawfile.o \
@@ -104,6 +103,11 @@ MODULE_OBJS += \
 	softsynth/fmtowns_pc98/towns_pc98_plugins.o
 endif
 
+ifdef USE_MT32
+MODULE_OBJS += \
+	softsynth/mt32.o
+endif
+
 ifdef USE_SID_AUDIO
 MODULE_OBJS += \
 	softsynth/sid.o \
diff --git a/configure b/configure
index 2d8d098cf55..07be3a1bd18 100755
--- a/configure
+++ b/configure
@@ -324,7 +324,7 @@ add_component indeo "Indeo" "_indeo" "USE_INDEO"
 add_component lua "Lua" "_lua" "USE_LUA"
 add_component vpx "libvpx" "_vpx" "USE_VPX"
 add_component theoradec "libtheoradec" "_theoradec" "USE_THEORADEC"
-add_component mt32emu "integrated MT-32 emulator" "_mt32emu" "USE_MT32EMU"
+add_component mt32emu "Integrated MT-32 emulator" "_mt32emu" "USE_MT32EMU"
 add_component sid_audio "SID audio" "_sid_audio" "USE_SID_AUDIO"
 add_component tinygl "TinyGL" "_tinygl" "USE_TINYGL"
 




More information about the Scummvm-git-logs mailing list