diff options
author | Måns Rullgård <mans@mansr.com> | 2010-06-25 15:45:01 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-06-25 15:45:01 +0000 |
commit | 3091eeb363f0e64a16888f85595851ba4eecccb3 (patch) | |
tree | a5bc7a0da97261e1e8006f9a8cb8b387d8d8c227 /configure | |
parent | 9efdf9b5c0905540d94e8998526583e37786df54 (diff) | |
download | ffmpeg-3091eeb363f0e64a16888f85595851ba4eecccb3.tar.gz |
configure: remove unused flag save/restore functions
Originally committed as revision 23779 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -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 |