Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-11-06 05:28:26 +0300
committerBenjamin Otte <otte@gnome.org>2003-11-06 05:28:26 +0300
commit94f7a8ee6da4767816f69e01bfaa8344c0185dde (patch)
tree57cb9da972d32fdf0f30afaa1b4828866befcf83
parent0676d630e79cdb7410e9cc6a08a1529e0100f8d1 (diff)
set default errorlevel to NONE. Make configure change it to ERROR (the current value) when running cvs builds. This s...CAPS-ROOT
Original commit message from CVS: set default errorlevel to NONE. Make configure change it to ERROR (the current value) when running cvs builds. This should make releases not output any debugging information at all
-rw-r--r--configure.ac5
-rw-r--r--gst/gstinfo.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2418dd5002..f47ad25ccd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,6 +62,11 @@ dnl AM_DISABLE_STATIC
AC_HEADER_STDC([])
+dnl define correct errorlevel for debugging messages. We want to have GST_ERROR
+dnl messages printed when running cvs builds
+if test "x$GST_CVS" = "xyes"; then
+ AC_DEFINE(GST_LEVEL_DEFAULT, GST_LEVEL_ERROR, [Default errorlevel to use])
+fi
dnl ##############################
dnl # Do automated configuration #
diff --git a/gst/gstinfo.h b/gst/gstinfo.h
index 0c5452dce1..17ab30544d 100644
--- a/gst/gstinfo.h
+++ b/gst/gstinfo.h
@@ -53,7 +53,7 @@ typedef enum {
/* we can now override this to be more general in maintainer builds or cvs checkouts */
#ifndef GST_LEVEL_DEFAULT
-#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR
+#define GST_LEVEL_DEFAULT GST_LEVEL_NONE
#endif
/* defines for format (colors etc) - don't change them around, it uses terminal layout