diff options
author | N.N. <sevyves@users.sourceforge.net> | 2008-05-30 18:39:27 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2008-05-30 18:39:27 +0000 |
commit | 8c3f080a939e1349e768f908e3ea3470a9b1bf2c (patch) | |
tree | 54235c4c1ab1febe76ff33c4492769209913c2e0 /configure.ac | |
parent | 6d081e385da43a922c03ba98fa04d3ae05bcc9bc (diff) |
added pdp_v4l2
svn path=/trunk/externals/pidip/; revision=9948
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index a81d35a..382189f 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_INIT AC_CANONICAL_HOST AC_CONFIG_HEADER(include/pidip_config.h) -PDP_PIDIP_VERSION="0.12.22" +PDP_PIDIP_VERSION="0.12.23" PD_DIR=/usr/local/pd PDP_DIR=/usr/local/pd/pdp FFMPEG_SOURCE_DIR=/SOURCES/ffmpeg @@ -223,13 +223,19 @@ fi if test $enable_lcapture == yes; then - PDP_CAPTURE_OBJECT="pdp_capture.o" + PDP_CAPTURE_OBJECT="$PDP_CAPTURE_OBJECT pdp_capture.o" AC_DEFINE(HAVE_IMAGE_MAGICK, 1, image magick capture capability) PDP_PIDIP_LIBS="$MAGICK_LIBS $PDP_PIDIP_LIBS" PDP_PIDIP_INCLUDES="$MAGICK_CFLAGS $PDP_PIDIP_INCLUDES" echo "building pdp_capture." fi +AC_CHECK_HEADER(linux/videodev2.h, + PDP_CAPTURE_OBJECT="$PDP_CAPTURE_OBJECT pdp_v4l2.o" + AC_DEFINE(HAVE_V4L2, 1, build pdp_v4l2), + echo " linux/videodev2.h not found: not building pdp_v4l2") + + if test $enable_ffmpeg == yes; then echo -n "looking for ffmpeg sources (required) ... " |