From 22cdf4f85cbf96ca7ec0275075d34a4de12686db Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 30 Oct 2007 06:00:23 +0000 Subject: Patch #1822459: "configure fix for shells not supporting unary negation" svn-id: r29322 --- configure | 6 +++--- 1 file 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 -- cgit v1.2.3