summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2016-12-11 22:39:42 -0800
committerJim Meyering <meyering@fb.com>2016-12-11 22:39:55 -0800
commita673fa2e90a69c799f2b31d60ddc48d3119be088 (patch)
treec0150dfa62d6dbb16303133187ec82b3dc16b4e3
parent83d3c7ff38488105ab667b37671086c3d739c30c (diff)
downloadgnulib-a673fa2e90a69c799f2b31d60ddc48d3119be088.tar.gz
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
-rw-r--r--ChangeLog10
-rw-r--r--m4/non-recursive-gnulib-prefix-hack.m42
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f547cca1af..649e54bffe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2016-12-11 Jim Meyering <meyering@fb.com>
+
+ 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 <bruno@clisp.org>
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
])