# HG changeset patch # User cehoyos # Date 1335714860 0 # Node ID b12b523e18f294db432f07a69e0cc4c50ed275aa # Parent 9c1083333ad1e10753a7bdd1e5bc7afc3310281f Try linking when testing for libmad. diff -r 9c1083333ad1 -r b12b523e18f2 configure --- 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'