changeset 38231:4c55bca59a59

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
author Jim Meyering <meyering@fb.com>
date Sun, 11 Dec 2016 22:39:42 -0800
parents 9e564e158ab0
children a9cb3e28511e
files ChangeLog m4/non-recursive-gnulib-prefix-hack.m4
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Dec 10 14:04:42 2016 +0100
+++ b/ChangeLog	Sun Dec 11 22:39:42 2016 -0800
@@ -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.
--- a/m4/non-recursive-gnulib-prefix-hack.m4	Sat Dec 10 14:04:42 2016 +0100
+++ b/m4/non-recursive-gnulib-prefix-hack.m4	Sun Dec 11 22:39:42 2016 -0800
@@ -26,7 +26,7 @@
   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
 ])