diff --git a/configure b/configure index 8a32709cf6..238bf0142b 100755 --- a/configure +++ b/configure @@ -313,6 +313,10 @@ sh_quote(){ echo "$v" } +cleanws(){ + echo "$@" | sed 's/^ *//;s/ */ /g;s/ *$//' +} + filter(){ pat=$1 shift