@@ -, +, @@ friendly. --- GNUmakefile | 2 +- mk/Autoconf.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/GNUmakefile +++ a/GNUmakefile @@ -30,7 +30,7 @@ include $(srcdir)/mk/Autoconf.mk ac_jpeg_ver = $(shell \ $(call ac_init,for libjpeg version);\ - $(call ac_s_cmd,echo -e '\#include \nJPEG_LIB_VERSION' \ + $(call ac_s_cmd,printf '\#include \nJPEG_LIB_VERSION' \ | cpp | tail -n 1);\ $(call ac_fini)) --- a/mk/Autoconf.mk +++ a/mk/Autoconf.mk @@ -24,7 +24,7 @@ ifneq ($(verbose),no) ac_fini = echo "... result is $${rc}" >&2; echo >&2; echo "$${rc}" else # normal - ac_init = echo -n "checking $(1) ... " >&2; rc=no + ac_init = printf '%s' "checking $(1) ... " >&2; rc=no ac_b_cmd = $(1) >/dev/null 2>&1 && rc=yes ac_s_cmd = rc=`$(1) 2>/dev/null` ac_fini = echo "$${rc}" >&2; echo "$${rc}" @@ -162,7 +162,7 @@ config: Make.config @true Make.config: $(srcdir)/GNUmakefile - @echo -e "$(make-config-q)" > $@ + @printf '%b' "$(make-config-q)" > $@ @echo @echo "Make.config written, edit if needed" @echo --