[MPlayer-cvslog] r24461 - trunk/configure

reimar subversion at mplayerhq.hu
Fri Sep 14 16:45:08 CEST 2007


Author: reimar
Date: Fri Sep 14 16:45:08 2007
New Revision: 24461

Log:
Fix ESD check: use an ESD function to actually check linking and do
not uselessly run resulting binary.


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Fri Sep 14 16:45:08 2007
@@ -5051,9 +5051,9 @@ if test "$_esd" = auto ; then
 
 cat > $TMPC << EOF
 #include <esd.h>
-int main(void) { return 0; }
+int main(void) { int fd = esd_open_sound("test"); return fd; }
 EOF
-cc_check `esd-config --libs` `esd-config --cflags` && tmp_run && _esd=yes
+cc_check `esd-config --libs` `esd-config --cflags` && _esd=yes
 
   fi
 fi



More information about the MPlayer-cvslog mailing list