configure: clean whitespace with [:space:]
authorZhang Rui <bbcallen@gmail.com>
Mon, 13 Jul 2015 08:22:40 +0000 (16:22 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Jul 2015 11:38:29 +0000 (13:38 +0200)
https://en.wikibooks.org/wiki/Regular_Expressions/POSIX_Basic_Regular_Expressions

Fixes NDKr10e on Cygwin,
CC_IDENT for it is defined as

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
configure

index 741d741..88ee936 100755 (executable)
--- a/configure
+++ b/configure
@@ -477,7 +477,7 @@ sh_quote(){
 }
 
 cleanws(){
-    echo "$@" | sed 's/^ *//;s/  */ /g;s/ *$//;s/\\r//g'
+    echo "$@" | sed 's/^ *//;s/[[:space:]][[:space:]]*/ /g;s/ *$//'
 }
 
 filter(){