Skip to content

Commit

Permalink
configury: fix mp3 disablement messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Oct 11, 2018
1 parent 3e5dc59 commit 222c241
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure
Expand Up @@ -12679,7 +12679,7 @@ if test "x$ac_cv_lib_mpg123_mpg123_replace_reader_handle" = xyes; then :
fi

if test x$have_mpg123_hdr = xyes -a x$have_mpg123_lib = xyes; then
have_mpg123=yes
have_libmpg123=yes
case "$host" in
*-*-darwin*)
mpg123_lib=`find_lib libmpg123.dylib`
Expand All @@ -12706,7 +12706,7 @@ $as_echo "$as_me: WARNING: mpg123 support disabled" >&2;}
fi
fi

if test x$have_libmad = xyes -o x$have_libmpg123; then
if test x$have_libmad = xyes -o x$have_libmpg123 = xyes; then
:
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MP3 support disabled" >&5
Expand Down
4 changes: 2 additions & 2 deletions configure.in
Expand Up @@ -610,7 +610,7 @@ if test x$enable_music_mp3_mpg123 = xyes; then
AC_CHECK_HEADER([mpg123.h], [have_mpg123_hdr=yes])
AC_CHECK_LIB([mpg123], [mpg123_replace_reader_handle], [have_mpg123_lib=yes])
if test x$have_mpg123_hdr = xyes -a x$have_mpg123_lib = xyes; then
have_mpg123=yes
have_libmpg123=yes
case "$host" in
*-*-darwin*)
mpg123_lib=[`find_lib libmpg123.dylib`]
Expand All @@ -635,7 +635,7 @@ if test x$enable_music_mp3_mpg123 = xyes; then
fi
fi

if test x$have_libmad = xyes -o x$have_libmpg123; then
if test x$have_libmad = xyes -o x$have_libmpg123 = xyes; then
:
else
AC_MSG_WARN([MP3 support disabled])
Expand Down

0 comments on commit 222c241

Please sign in to comment.