[Scummvm-cvs-logs] SF.net SVN: scummvm:[48596] scummvm/trunk/configure
salty-horse at users.sourceforge.net
salty-horse at users.sourceforge.net
Fri Apr 9 14:46:14 CEST 2010
Revision: 48596
http://scummvm.svn.sourceforge.net/scummvm/?rev=48596&view=rev
Author: salty-horse
Date: 2010-04-09 12:46:13 +0000 (Fri, 09 Apr 2010)
Log Message:
-----------
Fix configure script on cross-platform environments
Modified Paths:
--------------
scummvm/trunk/configure
Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure 2010-04-09 12:30:45 UTC (rev 48595)
+++ scummvm/trunk/configure 2010-04-09 12:46:13 UTC (rev 48596)
@@ -193,13 +193,14 @@
cc_check_define() {
cat > $TMPC << EOF
int main(void) {
- #ifdef $1
- return 1;
+ #ifndef $1
+ syntax error
#endif
return 0;
}
EOF
- cc_check && $TMPO$HOSTEXEEXT
+ cc_check
+ test $? -ne 0
return $?
}
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