From a673fa2e90a69c799f2b31d60ddc48d3119be088 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 11 Dec 2016 22:39:42 -0800 Subject: [PATCH] non-recursive-gnulib-prefix-hack.m4: remove leading "(" in case stmt * m4/non-recursive-gnulib-prefix-hack.m4: That leading "(" happens to work with most shells, but not with the one provided by many Solaris 10 systems, so running configure with such a /bin/sh evokes e.g., "./configure: syntax error at line 33602: `(' unexpected". Reported by Assaf Gordon in https://lists.gnu.org/archive/html/sed-devel/2016-12/msg00002.html --- ChangeLog | 10 ++++++++++ m4/non-recursive-gnulib-prefix-hack.m4 | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f547cca1af..649e54bffe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2016-12-11 Jim Meyering + + non-recursive-gnulib-prefix-hack.m4: remove leading "(" in case stmt + * m4/non-recursive-gnulib-prefix-hack.m4: That leading "(" happens + to work with most shells, but not with the one provided by many + Solaris 10 systems, so running configure with such a /bin/sh evokes + e.g., "./configure: syntax error at line 33602: `(' unexpected". + Reported by Assaf Gordon in + https://lists.gnu.org/archive/html/sed-devel/2016-12/msg00002.html + 2016-12-10 Bruno Haible threadlib: Optimize out runtime test on Solaris >= 10. diff --git a/m4/non-recursive-gnulib-prefix-hack.m4 b/m4/non-recursive-gnulib-prefix-hack.m4 index 298c4bc3b5..1cc2629f47 100644 --- a/m4/non-recursive-gnulib-prefix-hack.m4 +++ b/m4/non-recursive-gnulib-prefix-hack.m4 @@ -26,7 +26,7 @@ AC_DEFUN([gl_NON_RECURSIVE_GNULIB_PREFIX_HACK], do eval "ac_val=\$$ac_var" case $ac_var:$ac_val in - (*_H:*.h) eval "$ac_var=$1/\$$ac_var";; + *_H:*.h) eval "$ac_var=$1/\$$ac_var";; esac done ]) -- 2.39.5