diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 661a0bc..df05e5a 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -421,6 +421,19 @@ else | |||
421 | AM_CONDITIONAL(HAVE_GTK,false) | 421 | AM_CONDITIONAL(HAVE_GTK,false) |
422 | fi | 422 | fi |
423 | 423 | ||
424 | AC_ARG_WITH([gstreamer], AS_HELP_STRING([--with-gstreamer], [Build with the GStreamer plugin]), [], [with_gstreamer=yes]) | ||
425 | |||
426 | have_gstreamer=no | ||
427 | have_gstreamer_pbutils=no | ||
428 | have_gstreamer_tag=no | ||
429 | AS_IF([test "x$with_gstreamer" = "xyes"], [ | ||
430 | PKG_CHECK_MODULES([GSTREAMER], [gstreamer-1.0 >= 0.11.93], [have_gstreamer=yes], [have_gstreamer=no]) | ||
431 | PKG_CHECK_MODULES([GSTREAMER_PBUTILS], [gstreamer-pbutils-1.0 >= 0.11.93], [have_gstreamer_pbutils=yes], [have_gstreamer_pbutils=no]) | ||
432 | PKG_CHECK_MODULES([GSTREAMER_TAG], [gstreamer-tag-1.0 >= 0.11.93], [have_gstreamer_tag=yes], [have_gstreamer_tag=no]) | ||
433 | ]) | ||
434 | |||
435 | AM_CONDITIONAL(HAVE_GSTREAMER, test x$have_gstreamer = xyes -a x$have_gstreamer_pbutils = xyes -a x$have_gstreamer_tag = xyes -a ! x$without_glib = xtrue) | ||
436 | |||
424 | ABI_GSF | 437 | ABI_GSF |
425 | 438 | ||
426 | AM_CONDITIONAL(HAVE_GSF, test "x$have_gsf" = "xtrue") | 439 | AM_CONDITIONAL(HAVE_GSF, test "x$have_gsf" = "xtrue") |