From 222c241aa912f994955166e054ded8b7ca25ee70 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 11 Oct 2018 14:20:02 +0300 Subject: [PATCH] configury: fix mp3 disablement messages. --- configure | 4 ++-- configure.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index d9cd2be3..8d753a93 100755 --- a/configure +++ b/configure @@ -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` @@ -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 diff --git a/configure.in b/configure.in index 0a352ce6..cbf2a8e7 100644 --- a/configure.in +++ b/configure.in @@ -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`] @@ -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])