* configure.ac: Don't use unquoted '^' in a pattern, as this
breaks 'configure' on Solaris 10, whose /bin/sh complains about it,
which causes 'configure' to exit even before it finds a decent shell.
Unix 7th edition shell accepted '^' as an alias for '|'.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6ce7237..ab7d387 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,7 @@ fn_grep () {
   esac
 
   case $pattern in
-    [*[].^$\\*[]*]) dnl The outer brackets are for M4.
+    [*['].^$\*[']*]) dnl The outer brackets are for M4.
       AC_MSG_ERROR([fn_grep: regular expressions not supported])  ;;
   esac
 
-- 
1.8.3.1




Reply via email to