configure: Do not add newlines in filter()/filter_out() functions

This commit is contained in:
Diego Biurrun 2016-11-10 00:07:06 +01:00
parent 9254344e11
commit 8b56dbe743

4
configure vendored
View File

@ -429,7 +429,7 @@ filter(){
pat=$1
shift
for v; do
eval "case $v in $pat) echo $v ;; esac"
eval "case $v in $pat) printf '%s ' $v ;; esac"
done
}
@ -437,7 +437,7 @@ filter_out(){
pat=$1
shift
for v; do
eval "case $v in $pat) ;; *) echo $v ;; esac"
eval "case $v in $pat) ;; *) printf '%s ' $v ;; esac"
done
}