diff options
author | Ori Avtalion | 2010-04-09 13:10:33 +0000 |
---|---|---|
committer | Ori Avtalion | 2010-04-09 13:10:33 +0000 |
commit | 3558ccccc4829bcb9c1222949d1dcfe10b06f3cc (patch) | |
tree | ced2ff1f620851d4f9efa410f4ce0cf52cdf9820 /configure | |
parent | 641f0616451f0a5835054306d1329713302f5d2e (diff) | |
download | scummvm-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-x | configure | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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' |