aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-06-09 03:20:53 +0000
committerJordi Vilalta Prat2008-06-09 03:20:53 +0000
commit3308e6558bb984d480b3c52a8bca468368c1c6a6 (patch)
tree595e2b62ec635e9a492576f536335ab35f62e3b3
parent5937fde1c72cf2382e85e674b6fc0bdcf10d8f92 (diff)
downloadscummvm-rg350-3308e6558bb984d480b3c52a8bca468368c1c6a6.tar.gz
scummvm-rg350-3308e6558bb984d480b3c52a8bca468368c1c6a6.tar.bz2
scummvm-rg350-3308e6558bb984d480b3c52a8bca468368c1c6a6.zip
Added some missing $EXEEXT which would make some tests to fail
svn-id: r32626
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 2901d93480..9c26ce70cb 100755
--- a/configure
+++ b/configure
@@ -221,7 +221,7 @@ if test -n "$_host"; then
# In cross-compiling mode, we cannot run the result
eval "$1 $CXXFLAGS $LDFLAGS -o tmp_cxx_compiler$EXEEXT tmp_cxx_compiler.cpp" 2> /dev/null && rm -f tmp_cxx_compiler$EXEEXT tmp_cxx_compiler.cpp
else
- eval "$1 $CXXFLAGS $LDFLAGS -o tmp_cxx_compiler$EXEEXT tmp_cxx_compiler.cpp" 2> /dev/null && eval "./tmp_cxx_compiler 2> /dev/null" && rm -f tmp_cxx_compiler$EXEEXT tmp_cxx_compiler.cpp
+ eval "$1 $CXXFLAGS $LDFLAGS -o tmp_cxx_compiler$EXEEXT tmp_cxx_compiler.cpp" 2> /dev/null && eval "./tmp_cxx_compiler$EXEEXT 2> /dev/null" && rm -f tmp_cxx_compiler$EXEEXT tmp_cxx_compiler.cpp
fi
}
@@ -1214,7 +1214,7 @@ int main(int argc, char **argv)
}
EOF
_need_memalign=yes
- cc_check && $TMPO && _need_memalign=no
+ cc_check && $TMPO$EXEEXT && _need_memalign=no
;;
esac
echo "$_need_memalign"
@@ -1523,7 +1523,7 @@ EOF
# don't execute while cross compiling
cc_check $LDFLAGS $CXXFLAGS $MPEG2_CFLAGS $MPEG2_LIBS -lmpeg2 && _mpeg2=yes
else
- cc_check $LDFLAGS $CXXFLAGS $MPEG2_CFLAGS $MPEG2_LIBS -lmpeg2 && $TMPO && _mpeg2=yes
+ cc_check $LDFLAGS $CXXFLAGS $MPEG2_CFLAGS $MPEG2_LIBS -lmpeg2 && $TMPO$EXEEXT && _mpeg2=yes
fi
fi
if test "$_mpeg2" = yes ; then