[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15665: [PATCH] build: port shell pattern to Solaris 10
From: |
Paul Eggert |
Subject: |
bug#15665: [PATCH] build: port shell pattern to Solaris 10 |
Date: |
Sun, 20 Oct 2013 16:01:03 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
* 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
- bug#15665: [PATCH] build: port shell pattern to Solaris 10,
Paul Eggert <=