(THRIFT-40) Fix compilation and version string on OS X.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@672943 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/Makefile.am b/compiler/cpp/Makefile.am
index 2dcdb5e..7cf41a8 100644
--- a/compiler/cpp/Makefile.am
+++ b/compiler/cpp/Makefile.am
@@ -96,7 +96,7 @@
THRIFT_REVISION=$(shell /bin/sh $(top_srcdir)/print_version.sh -r)
regen_version_h:
- @echo -n "Regenerating version.h... "
+ @printf "Regenerating version.h... "
@TMPFILE=`mktemp ./version_h.tmp_XXXXXX` ; \
echo "// AUTOGENERATED, DO NOT EDIT" > $$TMPFILE ; \
echo '#define THRIFT_VERSION "$(THRIFT_VERSION)"\n' >> $$TMPFILE ; \