]> Savannah Git Hosting - gnulib.git/commitdiff
non-recursive-gnulib-prefix-hack.m4: remove leading "(" in case stmt
authorJim Meyering <meyering@fb.com>
Mon, 12 Dec 2016 06:39:42 +0000 (22:39 -0800)
committerJim Meyering <meyering@fb.com>
Mon, 12 Dec 2016 06:39:55 +0000 (22:39 -0800)
* 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
m4/non-recursive-gnulib-prefix-hack.m4

index f547cca1af59b8b8954f63134146ab12e91b1266..649e54bffe90d986fefc130e657ff92609c08924 100644 (file)
--- 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.
index 298c4bc3b55f6cf313a5d49da3a7df1fa2446b8c..1cc2629f476719301da2ad2a6c1740e12d3a19dd 100644 (file)
@@ -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
 ])