From c82eaf360b1d2797054296c5e894c1271fffb7cf Mon Sep 17 00:00:00 2001
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Date: Sun, 21 Oct 2012 18:17:52 -0500
Subject: [PATCH] Fixed func_split_equals shell quoting syntax error
 encountered with non-XSI shells.  Problem was noticed under Solaris 10.

---
 gl/build-aux/options-parser | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gl/build-aux/options-parser b/gl/build-aux/options-parser
index fbcbf1ba..af460fd1 100644
--- a/gl/build-aux/options-parser
+++ b/gl/build-aux/options-parser
@@ -499,7 +499,7 @@ else
   {
       $debug_cmd
 
-      func_split_equals_lhs=`expr "x$1" : 'x\([^=]*)'`
+      func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
       func_split_equals_rhs=
       test "x$func_split_equals_lhs" = "x$1" \
         || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`