Mercurial > mplayer.hg
comparison configure @ 34792:b12b523e18f2
Try linking when testing for libmad.
author | cehoyos |
---|---|
date | Sun, 29 Apr 2012 15:54:20 +0000 |
parents | e135a16d144e |
children | 275c92f137ac |
comparison
equal
deleted
inserted
replaced
34791:9c1083333ad1 | 34792:b12b523e18f2 |
---|---|
6128 | 6128 |
6129 | 6129 |
6130 echocheck "mad support" | 6130 echocheck "mad support" |
6131 if test "$_mad" = auto ; then | 6131 if test "$_mad" = auto ; then |
6132 _mad=no | 6132 _mad=no |
6133 header_check mad.h -lmad && _mad=yes | 6133 statement_check mad.h 'mad_synth_init(0)' -lmad && _mad=yes |
6134 fi | 6134 fi |
6135 if test "$_mad" = yes ; then | 6135 if test "$_mad" = yes ; then |
6136 def_mad='#define CONFIG_LIBMAD 1' | 6136 def_mad='#define CONFIG_LIBMAD 1' |
6137 extra_ldflags="$extra_ldflags -lmad" | 6137 extra_ldflags="$extra_ldflags -lmad" |
6138 codecmodules="libmad $codecmodules" | 6138 codecmodules="libmad $codecmodules" |