aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-09-19 12:28:04 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-09-19 12:28:04 +0000
commitafc23456a702c165e1732d36f0c82c283686770e (patch)
treefff6eb4db5a6bc02a4e3d75244eed38583abdfc6
parent78753ab13629cd2ec6eb70e09342b8ea2766e96c (diff)
downloadmandoc-afc23456a702c165e1732d36f0c82c283686770e.tar.gz
mandoc-afc23456a702c165e1732d36f0c82c283686770e.tar.zst
mandoc-afc23456a702c165e1732d36f0c82c283686770e.zip
do not use the echo(1) -n option, it is not portable;
issue found on SUN Solaris 10
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 94561c3a..cce7d50f 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Id: configure,v 1.78 2021/08/07 13:02:10 schwarze Exp $
+# $Id: configure,v 1.79 2021/09/19 12:28:04 schwarze Exp $
#
# Copyright (c) 2014-2020 Ingo Schwarze <schwarze@openbsd.org>
#
@@ -263,8 +263,8 @@ if [ -n "${CFLAGS}" ]; then
else
COMP="${CC} ${DEFCFLAGS} -Wno-unused -Werror"
fi
-echo -n "tested ${CC} -W: " 1>&2
-echo -n "testing ${CC} -W: " 1>&3
+printf "%s" "tested ${CC} -W: " 1>&2
+printf "%s" "testing ${CC} -W: " 1>&3
runtest noop WFLAG || true
if [ -n "${CFLAGS}" ]; then