From: Thomas Vander Stichele Date: Wed, 3 Dec 2003 12:49:29 +0000 (+0000) Subject: fix X dependencies X-Git-Tag: CAPS-MERGE-3~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27bca5bf8d76c0fe25d9e7b5f9c9dfd98b86e2fa;p=platform%2Fupstream%2Fgst-plugins-base.git fix X dependencies Original commit message from CVS: fix X dependencies --- diff --git a/configure.ac b/configure.ac index 8563f09..f3704eb 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 #define _LINUX_TIME_H #include - ]) + ]) + fi ]) dnl *** Video 4 Linux 2*** diff --git a/gst-libs/gst/Makefile.am b/gst-libs/gst/Makefile.am index c39924c..9cb04fe 100644 --- a/gst-libs/gst/Makefile.am +++ b/gst-libs/gst/Makefile.am @@ -1,13 +1,15 @@ 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 \ @@ -33,7 +35,7 @@ libgstinterfaces_@GST_MAJORMINOR@_la_LIBADD = \ 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@