id3_debug.m4

来自「更新mp3」· M4 代码 · 共 46 行

M4
46
字号
AC_DEFUN([ID3_DEBUG],[  AC_ARG_ENABLE(debug, [  --enable-debug=[no/minimum/yes] turn on debugging [default=$debug_default]],,enable_debug=$debug_default)  if test "x$enable_debug" = "xyes"; then    test "$cflags_set" = set || CFLAGS="$CFLAGS -g"    AC_DEFINE(ID3_ENABLE_DEBUG)  else    if test "x$enable_debug" = "xno"; then      AC_DEFINE(ID3_DISABLE_ASSERT)      AC_DEFINE(ID3_DISABLE_CHECKS)    fi  fi])dnl ACCONFIG TEMPLATEdnl #undef ID3_ENABLE_DEBUGdnl #undef ID3_DISABLE_ASSERTdnl #undef ID3_DISABLE_CHECKSdnl END ACCONFIGdnl ACCONFIG BOTTOMdnl #if defined (ID3_ENABLE_DEBUG) && defined (HAVE_LIBCW_SYS_H) && defined (__cplusplus)dnl dnl #define DEBUGdnl dnl #include <libcw/sys.h>dnl #include <libcw/debug.h>dnl dnl #define ID3D_INIT_DOUT()    Debug( libcw_do.on() )dnl #define ID3D_INIT_WARNING() Debug( dc::warning.on() )dnl #define ID3D_INIT_NOTICE()  Debug( dc::notice.on() )dnl #define ID3D_NOTICE(x)      Dout( dc::notice, x )dnl #define ID3D_WARNING(x)     Dout( dc::warning, x )dnl dnl #elsednl dnl #  define ID3D_INIT_DOUT()dnl #  define ID3D_INIT_WARNING()dnl #  define ID3D_INIT_NOTICE()dnl #  define ID3D_NOTICE(x)dnl #  define ID3D_WARNING(x)dnl dnl #endif /* defined (ID3_ENABLE_DEBUG) && defined (HAVE_LIBCW_SYS_H) */dnl    dnl END ACCONFIG

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?