diff options
author | Benjamin Otte <otte@gnome.org> | 2003-11-06 02:28:26 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-11-06 02:28:26 +0000 |
commit | 94f7a8ee6da4767816f69e01bfaa8344c0185dde (patch) | |
tree | 57cb9da972d32fdf0f30afaa1b4828866befcf83 | |
parent | 0676d630e79cdb7410e9cc6a08a1529e0100f8d1 (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.ac | 5 | ||||
-rw-r--r-- | gst/gstinfo.h | 2 |
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 |