[MPlayer-cvslog] r24985 - trunk/configure

rathann subversion at mplayerhq.hu
Wed Nov 7 00:44:54 CET 2007


Author: rathann
Date: Wed Nov  7 00:44:53 2007
New Revision: 24985

Log:
add support for newer libdca


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Nov  7 00:44:53 2007
@@ -5983,11 +5983,13 @@ if test "$_libdca" = auto ; then
 #include <dts.h>
 int main(void) { dts_init (0); return 0; }
 EOF
-  cc_check -ldts $_ld_lm && _libdca=yes
+  for _ld_dca in -ldts -ldca ; do
+    cc_check $_ld_dca $_ld_lm && _ld_extra="$_ld_extra $_ld_dca" \
+      && _libdca=yes && break
+  done
 fi
 if test "$_libdca" = yes ; then
   _def_libdca='#define USE_LIBDCA 1'
-  _ld_extra="$_ld_extra -ldts"
   _codecmodules="libdca $_codecmodules"
 else
   _def_libdca='#undef USE_LIBDCA'



More information about the MPlayer-cvslog mailing list