release 0.1.3
[tunertool] / configure.ac
index 51e0aa5..598094b 100644 (file)
@@ -10,9 +10,8 @@ dnl the fourth (nano) number should be 0 for a release, 1 for CVS,
 dnl and 2... for a prerelease
 
 dnl when going to/from release please set the nano correctly !
-dnl releases only do Wall, cvs and prerelease does Werror too
-AS_VERSION(tuner, GST_PLUGIN_VERSION, 0, 0, 4, 0,
-    GST_PLUGIN_CVS="no", GST_PLUGIN_CVS="yes")
+AS_VERSION(tuner, TUNER_VERSION, 0, 1, 3, 0,
+    RELEASE="yes", RELEASE="no")
 
 dnl AM_MAINTAINER_MODE provides the option to enable maintainer mode
 AM_MAINTAINER_MODE
@@ -189,6 +188,21 @@ AC_SUBST(GTK_CFLAGS)
 AC_SUBST(HAVE_GTK)
 AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
 
+dnl If we need them, we can also use the gstreamer-controller libraries
+PKG_CHECK_MODULES(GCONF,
+                  gconf-2.0,
+                  HAVE_GCONF=yes, HAVE_GCONF=no)
+
+dnl Give a warning if we don't have gstreamer-controller
+dnl you can turn this into an error if you need them
+if test "x$HAVE_GCONF" = "xno"; then
+  AC_MSG_ERROR(no GConf libraries found)
+fi
+
+dnl make _CFLAGS and _LIBS available
+AC_SUBST(GCONF_CFLAGS)
+AC_SUBST(GCONFL_LIBS)
+
 dnl set the plugindir where plugins should be installed
 if test "x${prefix}" = "x$HOME"; then
   plugindir="$HOME/.gstreamer-$GST_MAJORMINOR/plugins"