set default errorlevel to NONE. Make configure change it to ERROR (the current value... CAPS-ROOT
authorBenjamin Otte <otte@gnome.org>
Thu, 6 Nov 2003 02:28:26 +0000 (02:28 +0000)
committerBenjamin Otte <otte@gnome.org>
Thu, 6 Nov 2003 02:28:26 +0000 (02:28 +0000)
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

configure.ac
gst/gstinfo.h

index 2418dd5..f47ad25 100644 (file)
@@ -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 #
index 0c5452d..17ab305 100644 (file)
@@ -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