qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] configure echo usage
@ 2008-12-17  7:24 Lev Lvovsky
  2008-12-17  9:32 ` John Haxby
  0 siblings, 1 reply; 7+ messages in thread
From: Lev Lvovsky @ 2008-12-17  7:24 UTC (permalink / raw)
  To: qemu-devel

I'm new to the list, so please let me know if this isn't the way to go  
about this:

/bin/sh on my system (OS X 10.5.x) invokes a shell which has a built- 
in echo command which doesn't have a "-n" option.  Subseqently the  
config output files don't get comments where they should.  The  
following patch should provide the same functionality.

thanks,
-lev

------


bash-3.2$ svn diff configure
Index: configure
===================================================================
--- configure   (revision 6069)
+++ configure   (working copy)
@@ -1094,8 +1094,7 @@
  test -f $config_h && mv $config_h ${config_h}~

  echo "# Automatically generated by configure - do not modify" >  
$config_mak
-echo -n "# Configured with:" >> $config_mak
-printf " '%s'" "$0" "$@" >> $config_mak
+printf "# Configured with: $0 $@" >> $config_mak
  echo >> $config_mak
  echo "/* Automatically generated by configure - do not modify */" >  
$config_h

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-12-18  5:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17  7:24 [Qemu-devel] configure echo usage Lev Lvovsky
2008-12-17  9:32 ` John Haxby
2008-12-17  9:46   ` Andreas Schwab
2008-12-17 10:34     ` John Haxby
2008-12-17 17:15   ` Lev Lvovsky
     [not found]     ` <4510F100-F900-4CAF-8269-7721B6FA3001@hotmail.com>
2008-12-18  4:46       ` C.W. Betts
2008-12-18  5:23         ` Lev Lvovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).