set default errorlevel to NONE. Make configure change it to ERROR (the current value) when running cvs builds. This s...

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
This commit is contained in:
Benjamin Otte 2003-11-06 02:28:26 +00:00
parent 0676d630e7
commit 94f7a8ee6d
2 changed files with 6 additions and 1 deletions

View 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 #

View 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