10l: The ppm video hook depends on fork().
authorDiego Biurrun <diego@biurrun.de>
Mon, 9 Jul 2007 19:28:18 +0000 (19:28 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 9 Jul 2007 19:28:18 +0000 (19:28 +0000)
This dependency was apparently accidentally lost while making
the vhook build process non-recursive.

Originally committed as revision 9562 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 58d0d75..a020ec6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,9 +35,12 @@ all: videohook
 install: install-vhook
 endif
 VHOOKCFLAGS += $(filter-out -mdynamic-no-pic,$(CFLAGS))
-HOOKS    = vhook/null$(SLIBSUF) vhook/fish$(SLIBSUF) vhook/ppm$(SLIBSUF) vhook/watermark$(SLIBSUF)
-ALLHOOKS = $(HOOKS) vhook/imlib2$(SLIBSUF) vhook/drawtext$(SLIBSUF)
+HOOKS    = vhook/fish$(SLIBSUF) vhook/null$(SLIBSUF) vhook/watermark$(SLIBSUF)
+ALLHOOKS = $(HOOKS) vhook/drawtext$(SLIBSUF) vhook/imlib2$(SLIBSUF) vhook/ppm$(SLIBSUF)
 ALLHOOKS_SRCS := $(ALLHOOKS:$(SLIBSUF)=.c)
+ifeq ($(HAVE_FORK),yes)
+HOOKS  += vhook/ppm(SLIBSUF)
+endif
 ifeq ($(HAVE_IMLIB2),yes)
 HOOKS  += vhook/imlib2$(SLIBSUF)
 VHOOKCFLAGS += `imlib2-config --cflags`