Skip to content

Commit

Permalink
autotools: fixed mp3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jan 15, 2024
1 parent e23a8d3 commit ff79c46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff79c46

Please sign in to comment.