configure: Remove unused apply() helper function

This commit is contained in:
Diego Biurrun 2017-10-21 00:22:38 +02:00
parent 61a17423d3
commit 14bba662d4

6
configure vendored
View File

@ -1196,12 +1196,6 @@ check_host_cpp_condition(){
EOF
}
apply(){
file=$1
shift
"$@" < "$file" > "$file.tmp" && mv "$file.tmp" "$file" || rm "$file.tmp"
}
cp_if_changed(){
cmp -s "$1" "$2" && { test "$quiet" != "yes" && echo "$2 is unchanged"; } && return
mkdir -p "$(dirname $2)"