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***
if USE_GCONF
-GCONF_DIR=gconf
+GCONF_DIR = gconf
else
-GCONF_DIR=
+GCONF_DIR =
endif
if USE_X
-X_DIR=xwindowlistener xoverlay
+X_DIR = xwindowlistener xoverlay
+X_INTERFACE_LIBS = xoverlay/libgstxoverlay.la
else
-X_DIR=
+X_DIR =
+X_INTERFACE_LIBS =
endif
SUBDIRS = audio colorbalance floatcast \
navigation/libgstnavigation.la \
propertyprobe/libgstpropertyprobe.la \
tuner/libgsttuner.la \
- xoverlay/libgstxoverlay.la \
+ $(X_INTERFACE_LIBS) \
$(GST_LIBS)
libgstinterfaces_@GST_MAJORMINOR@_la_LDFLAGS = @GST_PLUGINS_LT_LDFLAGS@ -version-info @GST_PLUGINS_LIBVERSION@