]> git.sesse.net Git - ffmpeg/commitdiff
do nothing in restore_flags() if flags are not saved
authorMåns Rullgård <mans@mansr.com>
Sun, 11 Feb 2007 11:28:53 +0000 (11:28 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 11 Feb 2007 11:28:53 +0000 (11:28 +0000)
Originally committed as revision 7918 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 102ba6c40b952d7985fcef686eb0bf441d97748e..58edcbd33ae33238a8de46cd91eceaed9d6a6196 100755 (executable)
--- a/configure
+++ b/configure
@@ -291,6 +291,7 @@ save_flags(){
 }
 
 restore_flags(){
+    flags_saved || return
     CFLAGS="$SAVE_CFLAGS"
     LDFLAGS="$SAVE_LDFLAGS"
     extralibs="$SAVE_extralibs"