summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 87aedc6b02..e43fbb295e 100755
--- a/configure
+++ b/configure
@@ -7738,7 +7738,7 @@ ff_config_enable () {
_nprefix=$3;
test -z "$_nprefix" && _nprefix='CONFIG'
for part in $1; do
- if ` echo $2 | grep "\<$part\>" > /dev/null `; then
+ if ` echo $2 | grep -E "(^| )$part($| )" > /dev/null `; then
echo "#define ${_nprefix}_$part 1"
echo "#define ENABLE_$part 1"
else