diff Makefile @ 1597:14e688e575b1 libavformat

Make the X11 frame grabber disabled by default.
author diego
date Fri, 22 Dec 2006 04:38:24 +0000
parents 32bfc91cb541
children 6238b40b7aef
line wrap: on
line diff
--- a/Makefile	Thu Dec 21 11:14:56 2006 +0000
+++ b/Makefile	Fri Dec 22 04:38:24 2006 +0000
@@ -123,12 +123,15 @@
 OBJS-$(CONFIG_WSAUD_DEMUXER)             += westwood.o
 OBJS-$(CONFIG_WSVQA_DEMUXER)             += westwood.o
 OBJS-$(CONFIG_WV_DEMUXER)                += wv.o
-OBJS-$(CONFIG_X11_GRAB_DEVICE_DEMUXER)   += x11grab.o
 OBJS-$(CONFIG_YUV4MPEGPIPE_MUXER)        += yuv4mpeg.o
 OBJS-$(CONFIG_YUV4MPEGPIPE_DEMUXER)      += yuv4mpeg.o
 
 OBJS+= framehook.o
 
+ifeq ($(CONFIG_X11GRAB),yes)
+OBJS-$(CONFIG_X11_GRAB_DEVICE_DEMUXER)   += x11grab.o
+endif
+
 ifeq ($(CONFIG_VIDEO4LINUX),yes)
 OBJS-$(CONFIG_VIDEO_GRAB_DEVICE_DEMUXER) += grab.o
 endif