configure: remove unused apply() function
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Thu, 27 Aug 2015 05:08:34 +0000 (01:08 -0400)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Aug 2015 09:47:52 +0000 (11:47 +0200)
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
configure

index 2f3f5e4..a9940f6 100755 (executable)
--- a/configure
+++ b/configure
@@ -1312,12 +1312,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" && echo "$2 is unchanged" && return
     mkdir -p "$(dirname $2)"