summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f6358aec55..c6262468f7 100755
--- a/configure
+++ b/configure
@@ -7518,7 +7518,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 "[^ ]$part[ $]" > /dev/null `; then
echo "#define ${_nprefix}_$part 1"
echo "#define ENABLE_$part 1"
else