configure.in
changeset 904 e7592b5d5999
parent 901 253f50984a9a
child 906 ecf275e9b512
equal deleted inserted replaced
903:af51b2dda16a 904:e7592b5d5999
   608               [], [enable_music_mp3_mpg123_shared=yes])
   608               [], [enable_music_mp3_mpg123_shared=yes])
   609 if test x$enable_music_mp3_mpg123 = xyes; then
   609 if test x$enable_music_mp3_mpg123 = xyes; then
   610     AC_CHECK_HEADER([mpg123.h], [have_mpg123_hdr=yes])
   610     AC_CHECK_HEADER([mpg123.h], [have_mpg123_hdr=yes])
   611     AC_CHECK_LIB([mpg123], [mpg123_replace_reader_handle], [have_mpg123_lib=yes])
   611     AC_CHECK_LIB([mpg123], [mpg123_replace_reader_handle], [have_mpg123_lib=yes])
   612     if test x$have_mpg123_hdr = xyes -a x$have_mpg123_lib = xyes; then
   612     if test x$have_mpg123_hdr = xyes -a x$have_mpg123_lib = xyes; then
   613         have_mpg123=yes
   613         have_libmpg123=yes
   614         case "$host" in
   614         case "$host" in
   615             *-*-darwin*)
   615             *-*-darwin*)
   616                 mpg123_lib=[`find_lib libmpg123.dylib`]
   616                 mpg123_lib=[`find_lib libmpg123.dylib`]
   617                 ;;
   617                 ;;
   618             *-*-cygwin* | *-*-mingw32*)
   618             *-*-cygwin* | *-*-mingw32*)
   633         AC_MSG_WARN([*** Unable to find mpg123 library (https://www.mpg123.de)])
   633         AC_MSG_WARN([*** Unable to find mpg123 library (https://www.mpg123.de)])
   634         AC_MSG_WARN([mpg123 support disabled])
   634         AC_MSG_WARN([mpg123 support disabled])
   635     fi
   635     fi
   636 fi
   636 fi
   637 
   637 
   638 if test x$have_libmad = xyes -o x$have_libmpg123; then
   638 if test x$have_libmad = xyes -o x$have_libmpg123 = xyes; then
   639     :
   639     :
   640 else
   640 else
   641     AC_MSG_WARN([MP3 support disabled])
   641     AC_MSG_WARN([MP3 support disabled])
   642 fi
   642 fi
   643 
   643