[MPlayer-cvslog] r32299 - trunk/configure
diego
subversion at mplayerhq.hu
Sat Sep 18 11:50:05 CEST 2010
Author: diego
Date: Sat Sep 18 11:50:05 2010
New Revision: 32299
Log:
Simplify libdca check using function_check_broken().
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sat Sep 18 11:49:12 2010 (r32298)
+++ trunk/configure Sat Sep 18 11:50:05 2010 (r32299)
@@ -6649,14 +6649,9 @@ echores "$_libmpeg2"
echocheck "libdca support"
if test "$_libdca" = auto ; then
_libdca=no
- cat > $TMPC << EOF
-#include <inttypes.h>
-#include <dts.h>
-int main(void) { dts_init(0); return 0; }
-EOF
for _ld_dca in -ldca -ldts ; do
- cc_check $_ld_dca $_ld_lm && extra_ldflags="$extra_ldflags $_ld_dca" \
- && _libdca=yes && break
+ function_check_broken stdint.h dts.h 'dts_init(0)' $_ld_dca $_ld_lm &&
+ extra_ldflags="$extra_ldflags $_ld_dca" && _libdca=yes && break
done
fi
if test "$_libdca" = yes ; then
More information about the MPlayer-cvslog
mailing list