Mercurial > geeqie
diff src/debug.h @ 686:c0dda0ffb931
configure.in was rewritten:
- uses PKG_CHECK_MODULES everywhere
- added --enable-debug (enable debugging support)
- added --enable-developer (developer mode, checks depreceated code ...)
- removed obsoleted INCLUDES from Makefile.am
Fixed src/debug.h (added glib.h).
Fixed src/exiv2.c compilation with libexiv2 v0.15.
Added src/trash.h to src/Makefile.am (fixed generating 'make dist').
author | bruclik |
---|---|
date | Mon, 19 May 2008 01:15:17 +0000 |
parents | fbebf5cf4a55 |
children | 4fe8f9656107 |
line wrap: on
line diff
--- a/src/debug.h Mon May 19 00:54:59 2008 +0000 +++ b/src/debug.h Mon May 19 01:15:17 2008 +0000 @@ -9,8 +9,10 @@ * This software comes with no warranty of any kind, use at your own risk! */ -#ifndef DEBUG_H -#define DEBUG_H +#ifndef _DEBUG_H +#define _DEBUG_H + +#include <glib.h> #define DOMAIN_DEBUG "debug" #define DOMAIN_INFO "info" @@ -18,15 +20,6 @@ gint log_domain_printf(const char *domain, const gchar *format, ...) G_GNUC_PRINTF(2, 3); #define log_printf(...) log_domain_printf(DOMAIN_INFO, __VA_ARGS__) - - - -#if 1 /* set to 0 to disable compilation of debugging code and related options */ -# ifndef DEBUG -# define DEBUG 1 -# endif -#endif - #ifdef DEBUG #define DEBUG_LEVEL_MIN 0 @@ -70,4 +63,4 @@ #define DEBUG_4(...) DEBUG_N(4, __VA_ARGS__) -#endif /* DEBUG_H */ +#endif /* _DEBUG_H */