Commit cf257238ab9f14c9efc917efb70fb39a8e1fc736

Authored by ths
1 parent 86b2bd93

Fix typo, and some reformatting.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2418 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 4 deletions
configure
... ... @@ -313,7 +313,7 @@ cat > $TMPC <<EOF
313 313 int main(void) {}
314 314 EOF
315 315  
316   -if $cc -c -o $TMPO $TMPC 2>/dev/null ; then
  316 +if $cc -c -o $TMPO $TMPC 2> /dev/null ; then
317 317 : C compiler works ok
318 318 else
319 319 echo "ERROR: \"$cc\" either does not exist or does not work"
... ... @@ -338,11 +338,11 @@ if test "$check_gcc" = "yes" ; then
338 338 int main(){return 0;}
339 339 EOF
340 340 check_cc() {
341   - which "$1" >&/dev/null
  341 + which "$1" 2> /dev/null
342 342 return $?
343 343 }
344 344  
345   - if "$cc" -o $TMPE $TMPC 2>/dev/null ; then
  345 + if "$cc" -o $TMPE $TMPC 2> /dev/null ; then
346 346 echo "WARNING: \"$cc\" looks like gcc 4.x"
347 347 found_compat_cc="no"
348 348 if test "$gcc3_search" = "yes" ; then
... ... @@ -442,7 +442,7 @@ int main(int argc, char ** argv){
442 442 }
443 443 EOF
444 444  
445   -if $cc -o $TMPE $TMPC 2>/dev/null ; then
  445 +if $cc -o $TMPE $TMPC 2> /dev/null ; then
446 446 $TMPE && bigendian="yes"
447 447 else
448 448 echo big/little test failed
... ...