[MPlayer-cvslog] r32240 - trunk/configure

diego subversion at mplayerhq.hu
Tue Sep 14 15:07:57 CEST 2010


Author: diego
Date: Tue Sep 14 15:07:57 2010
New Revision: 32240

Log:
Simplify libdv test.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Sep 14 14:59:21 2010	(r32239)
+++ trunk/configure	Tue Sep 14 15:07:57 2010	(r32240)
@@ -7353,11 +7353,7 @@ echores "$_libopencore_amrwb"
 echocheck "libdv-0.9.5+"
 if test "$_libdv" = auto ; then
   _libdv=no
-  cat > $TMPC <<EOF
-#include <libdv/dv.h>
-int main(void) { dv_encoder_t* enc=dv_encoder_new(1,1,1); return 0; }
-EOF
-  cc_check -ldv $_ld_pthread $_ld_lm && _libdv=yes
+  function_check libdv/dv.h "dv_encoder_new(1, 1, 1)" -ldv $_ld_pthread $_ld_lm && _libdv=yes
 fi
 if test "$_libdv" = yes ; then
   def_libdv='#define CONFIG_LIBDV095 1'


More information about the MPlayer-cvslog mailing list