Index: configure.in
===================================================================
RCS file: /cvs/directfb/DirectFB/configure.in,v
retrieving revision 1.75
diff -c -r1.75 configure.in
*** configure.in	24 May 2002 08:26:12 -0000	1.75
--- configure.in	26 May 2002 19:47:01 -0000
***************
*** 148,153 ****
--- 148,156 ----
  fi
  AM_CONDITIONAL(ENABLE_DEBUG, test "x$enable_debug" = xyes)
  
+ AC_ARG_ENABLE(v4lgrab, [  --enable-v4lgrab          enable grabbing variant of v4l [default=no]],,enable_v4lgrab=no)
+ AM_CONDITIONAL(ENABLE_V4LGRAB, test "x$enable_v4lgrab" = xyes)
+ 
  
  AC_ARG_ENABLE(multi, [  --enable-multi          enable experimental multi application core [default=no]],,enable_multi=no)
  if test "x$enable_multi" = xyes; then
***************
*** 548,553 ****
--- 551,557 ----
    Debug mode          $enable_debug
    RGB332 support      $enable_rgb332
    Multi App support   $enable_multi
+   v4l-grab support    $enable_v4lgrab
  
  Building Image Providers:
    JPEG                $JPEG
Index: interfaces/IDirectFBVideoProvider/Makefile.am
===================================================================
RCS file: /cvs/directfb/DirectFB/interfaces/IDirectFBVideoProvider/Makefile.am,v
retrieving revision 1.6
diff -c -r1.6 Makefile.am
*** interfaces/IDirectFBVideoProvider/Makefile.am	27 Apr 2002 14:56:00 -0000	1.6
--- interfaces/IDirectFBVideoProvider/Makefile.am	26 May 2002 19:47:02 -0000
***************
*** 53,59 ****
  
  libidirectfbvideoprovider_swf_la_LDFLAGS = -avoid-version -module
  
- 
  libidirectfbvideoprovider_libmpeg3_la_SOURCES = idirectfbvideoprovider_libmpeg3.c
  
  libidirectfbvideoprovider_libmpeg3_la_LIBADD = $(LIBMPEG3)
--- 53,58 ----
***************
*** 61,66 ****
--- 60,69 ----
  libidirectfbvideoprovider_libmpeg3_la_LDFLAGS = -avoid-version -module
  
  
+ if ENABLE_V4LGRAB
+ libidirectfbvideoprovider_v4l_la_SOURCES = idirectfbvideoprovider_v4lgrab.c
+ else
  libidirectfbvideoprovider_v4l_la_SOURCES = idirectfbvideoprovider_v4l.c
+ endif
  
  libidirectfbvideoprovider_v4l_la_LDFLAGS = -avoid-version -module
