summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-12-24 17:43:38 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-12-28 03:32:19 +0000
commitd287f8134035d2e4a8bfc8efc0e6323297e634ec (patch)
treea67c3d400aa1f96f23c97e43f1ed5032860d5425
parent044fcbabf15b19f423445fdc0861c9175f04a064 (diff)
downloadzsh-d287f8134035d2e4a8bfc8efc0e6323297e634ec.tar.gz
zsh-d287f8134035d2e4a8bfc8efc0e6323297e634ec.zip
40232: Remove SH_USE_BSD_ECHO autoconf test.
It is unused; doesn't make sense in "build on one box, install on many" context; and its presence causes the downstream packages that install config.h to be non-reproducible.
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac15
2 files changed, 4 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index 7017727bf..6206f1f07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-12-28 Daniel Shahaf <d.s@daniel.shahaf.name>
+
+ * 40232: configure.ac: Remove SH_USE_BSD_ECHO autoconf test.
+
2016-12-27 Barton E. Schaefer <schaefer@zsh.org>
* unposted (see users/22287): Completion/compinit: _comp_options
diff --git a/configure.ac b/configure.ac
index 920c2fc17..dda52bc98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2309,21 +2309,6 @@ AH_TEMPLATE([HAVE_FIFOS],
if test x$zsh_cv_sys_fifo = xyes; then
AC_DEFINE(HAVE_FIFOS)
fi
-dnl ---------------------
-dnl echo style of /bin/sh
-dnl ---------------------
-AC_CACHE_CHECK(if echo in /bin/sh interprets escape sequences,
-zsh_cv_prog_sh_echo_escape,
-[if test "`/bin/sh -c \"echo '\\n'\"`" = "\\n"; then
- zsh_cv_prog_sh_echo_escape=no
-else
- zsh_cv_prog_sh_echo_escape=yes
-fi])
-AH_TEMPLATE([SH_USE_BSD_ECHO],
-[Define to 1 if /bin/sh does not interpret \ escape sequences.])
-if test x$zsh_cv_prog_sh_echo_escape = xno; then
- AC_DEFINE(SH_USE_BSD_ECHO)
-fi
dnl -----------
dnl test for whether link() works