AM_CONDITIONAL(ENABLE_COVERAGE,
[test "x$enable_coverage" != xno && test -n "$LCOV"])
+dnl Control Panel
+PKG_CHECK_MODULES([MAFW_SUBTITLES_CPA], [libosso >= 2.0
+ hildon-1 >= 2.1
+ hildon-control-panel
+ gtk+-2.0
+ gconf-2.0])
+
+CPA_PLUGINDIR=`pkg-config hildon-control-panel --variable=pluginlibdir`
+CPA_DESKTOPDIR=`pkg-config hildon-control-panel --variable=plugindesktopentrydir`
+
+AC_SUBST(MAFW_SUBTITLES_CPA_CFLAGS)
+AC_SUBST(MAFW_SUBTITLES_CPA_LIBS)
+AC_SUBST(CPA_DESKTOPDIR)
+AC_SUBST(CPA_PLUGINDIR)
+
dnl Output files.
AC_CONFIG_FILES([
Makefile
mafw-gst-renderer-uninstalled.pc
libmafw-gst-renderer/Makefile
+ applet/Makefile
tests/Makefile
- debian/mafw-gst-renderer.install
+ debian/mafw-gst-subtitles-renderer.install
])
AC_OUTPUT