changeset 34792:b12b523e18f2

Try linking when testing for libmad.
author cehoyos
date Sun, 29 Apr 2012 15:54:20 +0000
parents 9c1083333ad1
children 1ce075a9932b
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Apr 27 14:33:07 2012 +0000
+++ b/configure	Sun Apr 29 15:54:20 2012 +0000
@@ -6130,7 +6130,7 @@
 echocheck "mad support"
 if test "$_mad" = auto ; then
   _mad=no
-  header_check mad.h -lmad && _mad=yes
+  statement_check mad.h 'mad_synth_init(0)' -lmad && _mad=yes
 fi
 if test "$_mad" = yes ; then
   def_mad='#define CONFIG_LIBMAD 1'