From: Jim Meyering Date: Mon, 12 Dec 2016 06:39:42 +0000 (-0800) Subject: non-recursive-gnulib-prefix-hack.m4: remove leading "(" in case stmt X-Git-Tag: v1.0~6507 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=a673fa2e90a69c799f2b31d60ddc48d3119be088;p=gnulib.git 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 --- 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 ])