diff options
author | Radek Doulik <rodo@novell.com> | 2010-09-16 15:27:23 +0200 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2010-09-16 15:27:23 +0200 |
commit | 102b1646788c96311bdf45b3cf7368be8ccb40d6 (patch) | |
tree | 725ca9fb3c200ce52e7daa2d021f828e0706646e /configure.in | |
parent | 4a9f1952a88d3f66590e14daffb49d4be3fa8c05 (diff) |
patches/gstreamer/gstreamer-config-office.diff: gstreamer
- enable/disable at build time
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 8cef295221d5..c3a35c5fa792 100644 --- a/configure.in +++ b/configure.in @@ -297,6 +297,9 @@ AC_ARG_ENABLE(randr-link, [ --disable-randr-link disable linking with libXrandr, instead dynamically open it at runtime ],,enable_randr_link=yes) +AC_ARG_ENABLE(gstreamer, +[ --disable-gstreamer disable building the gstreamer avmedia backend +],,enable_gstreamer=yes) AC_ARG_WITH(myspell-dicts, [ --without-myspell-dicts Removes myspell dictionaries from openoffice.org installation set, for people building for specific @@ -1004,6 +1007,7 @@ case "$build_os" in solaris*) test_gtk=yes test_cairo=yes + build_gstreamer=yes test_kde=yes test_cups=yes test_randr=yes @@ -1037,6 +1041,7 @@ case "$build_os" in linux-gnu*|k*bsd*-gnu*) test_gtk=yes test_cairo=yes + build_gstreamer=yes test_kde=yes test_kde4=yes test_cups=yes @@ -1078,6 +1083,7 @@ case "$build_os" in freebsd*) test_gtk=yes test_cairo=yes + build_gstreamer=yes test_kde=yes test_kde4=yes test_cups=yes @@ -1112,6 +1118,7 @@ case "$build_os" in netbsd) test_gtk=yes test_cairo=yes + build_gstreamer=yes test_kde=yes test_kde4=yes test_cups=no @@ -5946,6 +5953,26 @@ AC_SUBST(CAIRO_CFLAGS) AC_SUBST(CAIRO_LIBS) dnl =================================================================== +dnl Check whether the GStreamer libraries are available. +dnl =================================================================== + +ENABLE_GSTREAMER="" + +if test "$build_gstreamer" = "yes"; then + + AC_MSG_CHECKING([whether to enable the GStreamer avmedia backend]) + if test "x$enable_gstreamer" != "xno" ; then + ENABLE_GSTREAMER="TRUE" + AC_MSG_RESULT([yes]) + PKG_CHECK_MODULES( GSTREAMER, gstreamer-0.10 gstreamer-plugins-base-0.10 ) + else + AC_MSG_RESULT([no]) + fi +fi + +AC_SUBST(ENABLE_GSTREAMER) + +dnl =================================================================== dnl Check whether the OpenGL libraries are available dnl =================================================================== |