From 7349d39938ae61b90778ddef5cf427e37cd96c75 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 29 Jul 2012 18:34:13 +0200 Subject: configure, mp_msg.h: get rid of MP_DEBUG The function mp_dbg() was silent if MP_DEBUG was not defined. MP_DEBUG was defined only if configure was invoked with --enable-debug. Remove it and make mp_dbg an alias to mp_msg. This has the advantage tha --enable-debug changes less. (It only adds -g now and disables stripping the binary on installation.) Using log levels is the better way to silence annoying debug messages. --- configure | 3 --- 1 file changed, 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index cd4c85c2b5..b947d47fdb 100755 --- a/configure +++ b/configure @@ -4232,9 +4232,6 @@ fi extra_ldflags="$extra_ldflags $_ld_pthread $_ld_dl $_ld_dl_dynamic" (netbsd || openbsd) && x86_32 && extra_ldflags="$extra_ldflags -li386" -def_debug='#undef MP_DEBUG' -test "$_debug" != "" && def_debug='#define MP_DEBUG 1' - echocheck "joystick" def_joystick='#undef CONFIG_JOYSTICK' -- cgit v1.2.3