diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2003-12-03 12:49:29 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2003-12-03 12:49:29 +0000 |
commit | af1f5b95a241096c7535a679351a2b3a6d4378c1 (patch) | |
tree | 91713c6749068da73e3f0d8fd99a5f08d823ba35 /configure.ac | |
parent | 14bbf6cfeb4b32524560767b173dbb9358b5d539 (diff) | |
download | gst-plugins-bad-af1f5b95a241096c7535a679351a2b3a6d4378c1.tar.gz gst-plugins-bad-af1f5b95a241096c7535a679351a2b3a6d4378c1.tar.bz2 gst-plugins-bad-af1f5b95a241096c7535a679351a2b3a6d4378c1.zip |
fix X dependencies
Original commit message from CVS:
fix X dependencies
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 8563f09f..f3704eb0 100644 --- a/configure.ac +++ b/configure.ac @@ -419,11 +419,16 @@ dnl *** Video 4 Linux *** dnl for information about the header/define, see sys/v4l/gstv4lelement.h translit(dnm, m, l) AM_CONDITIONAL(USE_V4L, true) GST_CHECK_FEATURE(V4L, [Video 4 Linux], v4lsrc v4lmjpegsrc v4lmjpegsink, [ - AC_CHECK_DECL(VID_TYPE_MPEG_ENCODER, HAVE_V4L="yes", HAVE_V4L="no", [ + # first check X + HAVE_V4L="no" + if test "$HAVE_X" == "yes" + then + AC_CHECK_DECL(VID_TYPE_MPEG_ENCODER, HAVE_V4L="yes", HAVE_V4L="no", [ #include <sys/types.h> #define _LINUX_TIME_H #include <linux/videodev.h> - ]) + ]) + fi ]) dnl *** Video 4 Linux 2*** |