Skip to contentSkip to conversation

[6072] Do not rely on BSD style echo (which accepts -n option)

Qemu-devel malc 1 participant 1 message Dec 17, 2008

lore
Share & tools
lore

malc

author
#0 lore raw

Revision: 6072

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6072
Author:   malc
Date:     2008-12-17 19:00:18 +0000 (Wed, 17 Dec 2008)

Log Message:
-----------
Do not rely on BSD style echo (which accepts -n option)

http://www.opengroup.org/onlinepubs/7990989775/xcu/echo.html

Modified Paths:
--------------
trunk/configure

Modified: trunk/configure
===================================================================

configure +1 -1
@@ -1094,7 +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 "# Configured with:" >> $config_mak
 printf " '%s'" "$0" "$@" >> $config_mak
 echo >> $config_mak
 echo "/* Automatically generated by configure - do not modify */" > $config_h