aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-02-07 15:53:26 +0000
committerJordi Vilalta Prat2008-02-07 15:53:26 +0000
commit7500103298638d60d4fa20a4d35695975e498e6a (patch)
tree0876bb4a67acc5e06ff35547ddb60b23b55bb6e8 /configure
parent902374fac6acdb82ddefbdcb2aecd5d2f7b5d473 (diff)
downloadscummvm-rg350-7500103298638d60d4fa20a4d35695975e498e6a.tar.gz
scummvm-rg350-7500103298638d60d4fa20a4d35695975e498e6a.tar.bz2
scummvm-rg350-7500103298638d60d4fa20a4d35695975e498e6a.zip
- Fix math lib test when crosscompiling
- Just need to remove the test files after all the tests svn-id: r30817
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index db8efa4c27..5b401dcb22 100755
--- a/configure
+++ b/configure
@@ -1282,8 +1282,11 @@ fi
#
# Check for math lib
-cc_check $LDFLAGS $CXXFLAGS -lm && LDFLAGS="$LDFLAGS -lm"
#
+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 @@ else
add_to_config_mk_if_no yes 'USE_MPEG2 = 1'
fi
echo "$_mpeg2"
-rm -f $TMPC $TMPO$EXEEXT
#
# Check for libfluidsynth