SDL_mixer: autotools: fixed mp3 support

From ff79c467b956cc1ac76b1319d4351debf38c3afa Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 15 Jan 2024 17:00:40 +0300
Subject: [PATCH] autotools: fixed mp3 support

---
 configure    | 1 +
 configure.ac | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 234c1458..820bc5da 100755
--- a/configure
+++ b/configure
@@ -18879,6 +18879,7 @@ else $as_nop
 fi
 
 if test x$enable_music_mp3 = xyes -a x$enable_music_mp3_minimp3 = xyes; then
+    have_minimp3=yes
     EXTRA_CFLAGS="$EXTRA_CFLAGS -DMUSIC_MP3_MINIMP3"
     SDL2MIXER_MP3_MINIMP3=1
 fi
diff --git a/configure.ac b/configure.ac
index a78f99ac..c00d5b15 100644
--- a/configure.ac
+++ b/configure.ac
@@ -863,8 +863,9 @@ AC_ARG_ENABLE(music-mp3,
 SDL2MIXER_MP3_MINIMP3=0
 AC_ARG_ENABLE(music-mp3-minimp3,
 [AS_HELP_STRING([--enable-music-mp3-minimp3], [enable MP3 music via minimp3 [default=yes]])],
-                  [], [enable_music_mp3_minimp3=yes])
+              [], [enable_music_mp3_minimp3=yes])
 if test x$enable_music_mp3 = xyes -a x$enable_music_mp3_minimp3 = xyes; then
+    have_minimp3=yes
     EXTRA_CFLAGS="$EXTRA_CFLAGS -DMUSIC_MP3_MINIMP3"
     SDL2MIXER_MP3_MINIMP3=1
 fi