aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-25 15:45:01 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-25 15:45:01 +0000
commit3091eeb363f0e64a16888f85595851ba4eecccb3 (patch)
treea5bc7a0da97261e1e8006f9a8cb8b387d8d8c227
parent9efdf9b5c0905540d94e8998526583e37786df54 (diff)
downloadffmpeg-3091eeb363f0e64a16888f85595851ba4eecccb3.tar.gz
configure: remove unused flag save/restore functions
Originally committed as revision 23779 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure36
1 files changed, 0 insertions, 36 deletions
diff --git a/configure b/configure
index 3de19a547a..6bd7010f1f 100755
--- 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