summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-21 18:41:52 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-21 18:41:52 +0000
commit20a93972c4811dd26d4757ca537f77e1c416cbbb (patch)
treed2f371f760804576d9e8793342f22da0d1c6084e /Makefile
parent7ea3880a10aa832efd5ab9e2f479f28ee0eb304a (diff)
Bail out if regtest-flashsv is run but zlib is not enabled.
Originally committed as revision 17486 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8a47b25066..5e42841d9b 100644
--- a/Makefile
+++ b/Makefile
@@ -289,6 +289,15 @@ swscale-error:
@exit 1
endif
+ifneq ($(CONFIG_ZLIB),yes)
+regtest-flashsv codectest: zlib-error
+endif
+zlib-error:
+ @echo
+ @echo "This regression test requires zlib."
+ @echo
+ @exit 1
+
codectest: $(VSYNTH_REG) $(ROTOZOOM_REG)
diff -u -w $(FFMPEG_REFFILE) $(VSYNTH_REG)
diff -u -w $(ROTOZOOM_REFFILE) $(ROTOZOOM_REG)
@@ -346,6 +355,6 @@ tests/seek_test$(EXESUF): tests/seek_test.c $(FF_DEP_LIBS)
$(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $< $(FF_EXTRALIBS)
-.PHONY: lib videohook documentation *test regtest-* swscale-error alltools check
+.PHONY: lib videohook documentation *test regtest-* swscale-error zlib-error alltools check
-include $(VHOOK_DEPS)