aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2007-10-30 06:00:23 +0000
committerEugene Sandulenko2007-10-30 06:00:23 +0000
commit22cdf4f85cbf96ca7ec0275075d34a4de12686db (patch)
tree15a8fdf7a716bb96fa721ee2c4fcecc50dc8be29
parentdfa0d4ca64d6afadc0bc49b3fdffed975c9c5e21 (diff)
downloadscummvm-rg350-22cdf4f85cbf96ca7ec0275075d34a4de12686db.tar.gz
scummvm-rg350-22cdf4f85cbf96ca7ec0275075d34a4de12686db.tar.bz2
scummvm-rg350-22cdf4f85cbf96ca7ec0275075d34a4de12686db.zip
Patch #1822459: "configure fix for shells not supporting unary negation"
svn-id: r29322
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 783b1bffaa..9f6fd94707 100755
--- a/configure
+++ b/configure
@@ -250,14 +250,14 @@ int main() {
return 0;
}
EOF
-if ! $CXX $CXXFLAGS -o tmp_find_type_with_size$EXEEXT tmp_find_type_with_size.cpp 2>/dev/null; then
+if $CXX $CXXFLAGS -o tmp_find_type_with_size$EXEEXT tmp_find_type_with_size.cpp 2>/dev/null ; then
+ break
+else
if test "$datatype" = "unknown"; then
echo "couldn't find data type with $1 bytes"
exit 1
fi
continue
-else
- break
fi
done
rm -f tmp_find_type_with_size$EXEEXT tmp_find_type_with_size.cpp