do nothing in restore_flags() if flags are not saved

Originally committed as revision 7918 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2007-02-11 11:28:53 +00:00
parent 703afd0780
commit f5d28d106e

1
configure vendored
View File

@ -291,6 +291,7 @@ save_flags(){
} }
restore_flags(){ restore_flags(){
flags_saved || return
CFLAGS="$SAVE_CFLAGS" CFLAGS="$SAVE_CFLAGS"
LDFLAGS="$SAVE_LDFLAGS" LDFLAGS="$SAVE_LDFLAGS"
extralibs="$SAVE_extralibs" extralibs="$SAVE_extralibs"