about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-01-10T09·10+0100
committerEelco Dolstra <edolstra@gmail.com>2019-01-10T20·02+0100
commit7af5f70139d85cae773a4cd58b0708363bf44f9a (patch)
treeb292fc2bb017a70d0a4721a3f7c30b8f73ccb1b3
parentc7bf1cdb4e98dcd845945374de97c3611401bc52 (diff)
Revert "Escape square brackets in configure.ac"
This reverts commit 80f464d9d72839841422f75e78ce725365cc3d71.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 55600d90bbf9..4f00ff0143bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -275,7 +275,7 @@ test "$prefix" = NONE && prefix=$ac_default_prefix
 test "$exec_prefix" = NONE && exec_prefix='${prefix}'
 for name in $ac_subst_vars; do
     for _ in 1 2 3; do
-    if printf '%s' "${name}" | egrep '^[[_[[:alpha:]]]][[_[[:alnum:]]]]*$'
+    if printf '%s' "${name}" | egrep '^[_[:alpha:]][_[:alnum:]]*$'
     then
         eval "${name}"="$(eval echo "\${${name}}")"
     fi