Ticket #8579: configure.patch
File configure.patch, 920 bytes (added by , 18 years ago) |
---|
-
configure
old new 156 156 157 157 if test -n "$_host"; then 158 158 # In cross-compiling mode, we cannot run the result 159 eval "$1 -o tmp_cxx_compiler$EXEEXT tmp_cxx_compiler.cpp 2> /dev/null"&& rm -f tmp_cxx_compiler$EXEEXT tmp_cxx_compiler.cpp159 eval "$1 -o tmp_cxx_compiler$EXEEXT tmp_cxx_compiler.cpp" 2> /dev/null && rm -f tmp_cxx_compiler$EXEEXT tmp_cxx_compiler.cpp 160 160 else 161 eval "$1 -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.cpp161 eval "$1 -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 162 162 fi 163 163 } 164 164 … … 587 587 break 588 588 fi 589 589 done 590 if test -z $CXX; then590 if test -z "$CXX"; then 591 591 echo "none found!" 592 592 exit 1 593 593 fi