[Scummvm-cvs-logs] SF.net SVN: scummvm: [30817] scummvm/trunk/configure

jvprat at users.sourceforge.net jvprat at users.sourceforge.net
Thu Feb 7 16:53:26 CET 2008


Revision: 30817
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30817&view=rev
Author:   jvprat
Date:     2008-02-07 07:53:26 -0800 (Thu, 07 Feb 2008)

Log Message:
-----------
- Fix math lib test when crosscompiling
- Just need to remove the test files after all the tests

Modified Paths:
--------------
    scummvm/trunk/configure

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2008-02-07 15:23:27 UTC (rev 30816)
+++ scummvm/trunk/configure	2008-02-07 15:53:26 UTC (rev 30817)
@@ -1282,8 +1282,11 @@
 
 #
 # Check for math lib
+#
+cat > $TMPC << EOF
+int main(void) { return 0; }
+EOF
 cc_check $LDFLAGS $CXXFLAGS -lm && LDFLAGS="$LDFLAGS -lm"
-#
 
 #
 # Check for Ogg Vorbis
@@ -1476,7 +1479,6 @@
 	add_to_config_mk_if_no yes 'USE_MPEG2 = 1'
 fi
 echo "$_mpeg2"
-rm -f $TMPC $TMPO$EXEEXT
 
 #
 # Check for libfluidsynth


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list