[MPlayer-cvslog] r32024 - trunk/configure

reimar subversion at mplayerhq.hu
Fri Aug 27 18:19:24 CEST 2010


Author: reimar
Date: Fri Aug 27 18:19:24 2010
New Revision: 32024

Log:
Fix arts check to actually check linking so it doesn't
get enabled when e.g. cross-compiling under Linux for Windows.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Aug 27 16:12:20 2010	(r32023)
+++ trunk/configure	Fri Aug 27 18:19:24 2010	(r32024)
@@ -94,6 +94,7 @@ function_check() {
 int main(void) { $2; return 0; }
 EOF
   shift
+  shift
   compile_check $TMPC $@
 }
 
@@ -5695,7 +5696,7 @@ echocheck "aRts"
 if test "$_arts" = auto ; then
   _arts=no
   if ( artsc-config --version ) >> "$TMPLOG" 2>&1 ; then
-    header_check artsc.h $(artsc-config --libs) $(artsc-config --cflags) &&
+    function_check artsc.h "arts_init()" $(artsc-config --libs) $(artsc-config --cflags) &&
       _arts=yes
   fi
 fi


More information about the MPlayer-cvslog mailing list