configure: add cleanws() function
authorMans Rullgard <mans@mansr.com>
Sun, 13 Feb 2011 13:06:53 +0000 (13:06 +0000)
committerMans Rullgard <mans@mansr.com>
Sun, 13 Feb 2011 16:22:14 +0000 (16:22 +0000)
commitbb7a22b5840e56c034227ad596b1165c03f2da27
treeb967e5d60de8de4b3c5cc3836e5c7c9542e0dd66
parente6b1ed693ae4098e6b9eabf938fc31ec0b09b120
configure: add cleanws() function

This function removes leading and trailing spaces and collapses
multiple spaces into one.

Signed-off-by: Mans Rullgard <mans@mansr.com>
configure