summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-12-17 17:35:59 +0000
committerTim-Philipp Müller <tim@centricular.net>2012-12-17 18:11:39 +0000
commitac46931f299c06b75e052431eccb1f1b725183c3 (patch)
treeebc7b626b27e62328385e263d2924edb2e97e7bc
parent6a4ffbc0b9be2d371c4ced0b3666227dc363911f (diff)
build: check nano version and add option to disable fatal warnings
Signed-off-by: Ross Burton <ross.burton@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=690364
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f3b520e..bc933cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,8 +36,12 @@ AC_CONFIG_MACRO_DIR([m4])
dnl initialize GStreamer macros
AG_GST_INIT
+dnl check if this is a release version
+AS_NANO(GST_GIT="no", GST_GIT="yes")
+
dnl define an ERROR_CFLAGS Makefile variable
-AG_GST_SET_ERROR_CFLAGS($GST_CVS)
+AG_GST_ARG_DISABLE_FATAL_WARNINGS
+AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS)
dnl set up gettext
dnl the version check needs to stay here because autopoint greps for it