Mercurial > mplayer.hg
diff configure @ 34722:2d928e78d248
Update ad_mpg123 in preparation to replace mp3lib.
patch by Thomas Orgis, thomas-forum orgis org
author | diego |
---|---|
date | Tue, 13 Mar 2012 11:44:05 +0000 |
parents | 863f5b2905f0 |
children | d577b2bcd37d |
line wrap: on
line diff
--- a/configure Sun Mar 11 16:27:32 2012 +0000 +++ b/configure Tue Mar 13 11:44:05 2012 +0000 @@ -6298,12 +6298,14 @@ fi echores "$_mp3lib" -# Any version of libmpg123 shall be fine. +# Any version of libmpg123 that knows MPG123_RESYNC_LIMIT shall be fine. +# That is, 1.2.0 onwards. Recommened is 1.14 onwards, though. echocheck "mpg123 support" def_mpg123='#undef CONFIG_MPG123' if test "$_mpg123" = auto; then _mpg123=no - statement_check mpg123.h 'mpg123_init()' -lmpg123 && _mpg123=yes && extra_ldflags="$extra_ldflags -lmpg123" + statement_check mpg123.h 'mpg123_param(NULL, MPG123_RESYNC_LIMIT, -1, 0.)' -lmpg123 && + _mpg123=yes && extra_ldflags="$extra_ldflags -lmpg123" fi if test "$_mpg123" = yes ; then def_mpg123='#define CONFIG_MPG123 1'