summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-11 15:02:17 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-11 15:02:17 +0000
commitcf257238ab9f14c9efc917efb70fb39a8e1fc736 (patch)
treef0bdf7cb6c6b765ce4fee57870b5d212f2f3c8ef
parent86b2bd935d50651ddfead740fc68c9da56eb0cc5 (diff)
downloadfocaccia-qemu-cf257238ab9f14c9efc917efb70fb39a8e1fc736.tar.gz
focaccia-qemu-cf257238ab9f14c9efc917efb70fb39a8e1fc736.zip
Fix typo, and some reformatting.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2418 c046a42c-6fe2-441c-8c8c-71466251a162
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 9ec8df187d..c217ac0bfe 100755
--- a/configure
+++ b/configure
@@ -313,7 +313,7 @@ cat > $TMPC <<EOF
 int main(void) {}
 EOF
 
-if $cc -c -o $TMPO $TMPC 2>/dev/null ; then
+if $cc -c -o $TMPO $TMPC 2> /dev/null ; then
   : C compiler works ok
 else
     echo "ERROR: \"$cc\" either does not exist or does not work"
@@ -338,11 +338,11 @@ if test "$check_gcc" = "yes" ; then
 int main(){return 0;}
 EOF
     check_cc() {
-	which "$1" >&/dev/null
+	which "$1" 2> /dev/null
 	return $?
     }
 
-    if "$cc" -o $TMPE $TMPC 2>/dev/null ; then
+    if "$cc" -o $TMPE $TMPC 2> /dev/null ; then
 	echo "WARNING: \"$cc\" looks like gcc 4.x"
 	found_compat_cc="no"
 	if test "$gcc3_search" = "yes" ; then
@@ -442,7 +442,7 @@ int main(int argc, char ** argv){
 }
 EOF
 
-if $cc -o $TMPE $TMPC 2>/dev/null ; then
+if $cc -o $TMPE $TMPC 2> /dev/null ; then
 $TMPE && bigendian="yes"
 else
 echo big/little test failed