Skip to contentSkip to conversation

configure: Remove stray debug output

PATCH Applied Peter Maydell 2 participants 4 messages Oct 20, 2012 – Nov 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: Remove stray debug output

Rather than printing a message saying we're silently falling back to gthread coroutines when running on MacOS, actually do it silently.

---
I guess this is a self-falsifying echo :-)

 configure | 2 --
 1 file changed, 2 deletions(-)
configure +0 -2
index 9f33c7d..e07baf3 100755
@@ -2900,8 +2900,6 @@ EOF
     else
 	coroutine_backend=gthread
     fi
-  else
-    echo "Silently falling back into gthread backend under darwin"
   fi
 elif test "$coroutine" = "gthread" ; then
   coroutine_backend=gthread
Signature · 1 line
1.7.11.4
#1 lore raw
Quoted 16 lines · Peter Maydell

Rather than printing a message saying we're silently falling back to gthread coroutines when running on MacOS, actually do it silently.

---
I guess this is a self-falsifying echo :-)

 configure | 2 --
 1 file changed, 2 deletions(-)
configure +0 -0
index 9f33c7d..e07baf3 100755

configure EOF · line 2903

Quoted 6 lines
configure +0 -2
@@ -2900,8 +2900,6 @@ EOF
     else
 	coroutine_backend=gthread
     fi
-  else
-    echo "Silently falling back into gthread backend under darwin"
   fi

Is there a reason to remove the echo?

Stefan

#2 lore raw
Quoted 12 lines · Stefan Hajnoczi
Quoted 11 lines · Peter Maydell

Rather than printing a message saying we're silently falling back to gthread coroutines when running on MacOS, actually do it silently.

---
I guess this is a self-falsifying echo :-)

 configure | 2 --
 1 file changed, 2 deletions(-)
Quoted 13 lines

configure EOF · line 2903

Quoted 11 lines
configure +0 -2
index 9f33c7d..e07baf3 100755
@@ -2900,8 +2900,6 @@ EOF
     else
      coroutine_backend=gthread
     fi
-  else
-    echo "Silently falling back into gthread backend under darwin"
   fi

Is there a reason to remove the echo?

1. Nothing else in configure prints progress messages during the testing phase
2. The echo is by definition printing something that's false
3. We print the chosen coroutine backend at the end as part of the standard "what did configure do?" output block, so removing this echo loses no information

-- PMM