configury: fix mp3 disablement messages.
authorOzkan Sezer <sezeroz@gmail.com>
Thu, 11 Oct 2018 14:20:02 +0300
changeset 904e7592b5d5999
parent 903 af51b2dda16a
child 906 ecf275e9b512
configury: fix mp3 disablement messages.
configure
configure.in
     1.1 --- a/configure	Thu Oct 11 11:55:50 2018 +0300
     1.2 +++ b/configure	Thu Oct 11 14:20:02 2018 +0300
     1.3 @@ -12679,7 +12679,7 @@
     1.4  fi
     1.5  
     1.6      if test x$have_mpg123_hdr = xyes -a x$have_mpg123_lib = xyes; then
     1.7 -        have_mpg123=yes
     1.8 +        have_libmpg123=yes
     1.9          case "$host" in
    1.10              *-*-darwin*)
    1.11                  mpg123_lib=`find_lib libmpg123.dylib`
    1.12 @@ -12706,7 +12706,7 @@
    1.13      fi
    1.14  fi
    1.15  
    1.16 -if test x$have_libmad = xyes -o x$have_libmpg123; then
    1.17 +if test x$have_libmad = xyes -o x$have_libmpg123 = xyes; then
    1.18      :
    1.19  else
    1.20      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MP3 support disabled" >&5
     2.1 --- a/configure.in	Thu Oct 11 11:55:50 2018 +0300
     2.2 +++ b/configure.in	Thu Oct 11 14:20:02 2018 +0300
     2.3 @@ -610,7 +610,7 @@
     2.4      AC_CHECK_HEADER([mpg123.h], [have_mpg123_hdr=yes])
     2.5      AC_CHECK_LIB([mpg123], [mpg123_replace_reader_handle], [have_mpg123_lib=yes])
     2.6      if test x$have_mpg123_hdr = xyes -a x$have_mpg123_lib = xyes; then
     2.7 -        have_mpg123=yes
     2.8 +        have_libmpg123=yes
     2.9          case "$host" in
    2.10              *-*-darwin*)
    2.11                  mpg123_lib=[`find_lib libmpg123.dylib`]
    2.12 @@ -635,7 +635,7 @@
    2.13      fi
    2.14  fi
    2.15  
    2.16 -if test x$have_libmad = xyes -o x$have_libmpg123; then
    2.17 +if test x$have_libmad = xyes -o x$have_libmpg123 = xyes; then
    2.18      :
    2.19  else
    2.20      AC_MSG_WARN([MP3 support disabled])