summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b22fe98d..77f85b58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,7 +34,8 @@ fn_grep () {
esac
case $pattern in
- *[].^$\\*[]*) AC_MSG_ERROR([fn_grep: regular expressions not supported]) ;;
+ [*[].^$\\*[]*]) dnl The outer brackets are for M4.
+ AC_MSG_ERROR([fn_grep: regular expressions not supported]) ;;
esac
rc=1