configure: remove unused flag save/restore functions
authorMåns Rullgård <mans@mansr.com>
Fri, 25 Jun 2010 15:45:01 +0000 (15:45 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 25 Jun 2010 15:45:01 +0000 (15:45 +0000)
Originally committed as revision 23779 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 3de19a5..6bd7010 100755 (executable)
--- a/configure
+++ b/configure
@@ -513,42 +513,6 @@ print_config(){
     done
 }
 
-flags_saved(){
-    (: ${SAVE_CFLAGS?}) 2> /dev/null
-}
-
-save_flags(){
-    flags_saved && return
-    SAVE_CFLAGS="$CFLAGS"
-    SAVE_LDFLAGS="$LDFLAGS"
-    SAVE_extralibs="$extralibs"
-}
-
-restore_flags(){
-    flags_saved || return
-    CFLAGS="$SAVE_CFLAGS"
-    LDFLAGS="$SAVE_LDFLAGS"
-    extralibs="$SAVE_extralibs"
-    unset SAVE_CFLAGS
-    unset SAVE_LDFLAGS
-    unset SAVE_extralibs
-}
-
-temp_cflags(){
-    save_flags
-    CFLAGS="$CFLAGS $*"
-}
-
-temp_ldflags(){
-    save_flags
-    LDFLAGS="$LDFLAGS $*"
-}
-
-temp_extralibs(){
-    save_flags
-    extralibs="$extralibs $*"
-}
-
 append(){
     var=$1
     shift