Use printf instead of echo for some shells. http://www.cygwin.com/ml/libc-alpha/2005-02/msg00123.html This patch does not generate invalid csu/version-info.h which has unterminating " line because some /bin/sh cannot parse correctly. The previous discussion was: http://sources.redhat.com/ml/libc-alpha/2004-08/msg00129.html http://sources.redhat.com/ml/libc-alpha/2004-08/msg00145.html This patch gets rid of all this issue because the conclusion of the discussion was to use printf instead of echo. Roland, could you look at it again? Regards, -- gotom 2005-02-26 GOTO Masanori * csu/Makefile: Use printf instead of echo for some shells. --- glibc-2.3.2/csu/Makefile 2002-12-31 23:24:37.000000000 +0100 +++ glibc-2.3.2.new/csu/Makefile 2007-08-15 08:36:44.000000000 +0200 @@ -222,13 +222,13 @@ $(objpfx)version-info.h: $(common-objpfx if [ -z "$$os" ]; then \ os=Linux; \ fi; \ - echo "\"Compiled on a $$os $$version system" \ - "on `date +%Y-%m-%d`.\\n\"" ;; \ + printf '"Compiled on a %s %s system on %s.\\n"\n' \ + "$$os" "$$version" "`date +%Y-%m-%d`";; \ *) ;; \ esac; \ files="$(all-Banner-files)"; \ if test -n "$$files"; then \ - echo "\"Available extensions:\\n\""; \ + printf '"Available extensions:\\n"'; \ sed -e '/^#/d' -e 's/^[[:space:]]*/ /' \ -e 's/\(^.*$$\)/\"\1\\n\"/' $$files; \ fi) > $@T