aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOri Avtalion2010-04-09 13:10:33 +0000
committerOri Avtalion2010-04-09 13:10:33 +0000
commit3558ccccc4829bcb9c1222949d1dcfe10b06f3cc (patch)
treeced2ff1f620851d4f9efa410f4ce0cf52cdf9820 /configure
parent641f0616451f0a5835054306d1329713302f5d2e (diff)
downloadscummvm-rg350-3558ccccc4829bcb9c1222949d1dcfe10b06f3cc.tar.gz
scummvm-rg350-3558ccccc4829bcb9c1222949d1dcfe10b06f3cc.tar.bz2
scummvm-rg350-3558ccccc4829bcb9c1222949d1dcfe10b06f3cc.zip
Have cc_check_define return 0 on success
svn-id: r48597
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index f14fe83a1f..3b37159706 100755
--- a/configure
+++ b/configure
@@ -200,7 +200,6 @@ int main(void) {
}
EOF
cc_check
- test $? -ne 0
return $?
}
@@ -1084,10 +1083,7 @@ LD=$CXX
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'