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

salty-horse at users.sourceforge.net salty-horse at users.sourceforge.net
Fri Apr 9 15:10:33 CEST 2010


Revision: 48597
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48597&view=rev
Author:   salty-horse
Date:     2010-04-09 13:10:33 +0000 (Fri, 09 Apr 2010)

Log Message:
-----------
Have cc_check_define return 0 on success

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

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2010-04-09 12:46:13 UTC (rev 48596)
+++ scummvm/trunk/configure	2010-04-09 13:10:33 UTC (rev 48597)
@@ -200,7 +200,6 @@
 }
 EOF
 	cc_check
-	test $? -ne 0
 	return $?
 }
 
@@ -1084,10 +1083,7 @@
 echocheck "compiler version"
 
 have_gcc=no
-cc_check_define __GNUC__
-if test "$?" -eq 1; then
-	have_gcc=yes
-fi
+cc_check_define __GNUC__ && have_gcc=yes
 
 if test "$have_gcc" = yes; then
 	add_line_to_config_mk 'HAVE_GCC = 1'


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