summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-02-11 11:28:53 +0000
committerMåns Rullgård <mans@mansr.com>2007-02-11 11:28:53 +0000
commitf5d28d106e535a8b9413db2afffc175f177811af (patch)
tree9ffe4806e2b96ae28ba3475bbca67247a369275b /configure
parent703afd0780e211dd880a93aca33df08dd1c124d0 (diff)
do nothing in restore_flags() if flags are not saved
Originally committed as revision 7918 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 102ba6c40b..58edcbd33a 100755
--- a/configure
+++ b/configure
@@ -291,6 +291,7 @@ save_flags(){
}
restore_flags(){
+ flags_saved || return
CFLAGS="$SAVE_CFLAGS"
LDFLAGS="$SAVE_LDFLAGS"
extralibs="$SAVE_extralibs"