changeset 24606:a8ccd8352d85

fixing uau's GNUisms... 100l
author rfelker
date Thu, 27 Sep 2007 05:33:26 +0000
parents 8a6f80593529
children 965e0c3565bf
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Sep 26 23:00:43 2007 +0000
+++ b/configure	Thu Sep 27 05:33:26 2007 +0000
@@ -7738,7 +7738,7 @@
 _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