File: debug.m4

package info (click to toggle)
buddy 2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,404 kB
  • sloc: sh: 8,261; ansic: 6,740; cpp: 2,009; makefile: 136; csh: 61
file content (25 lines) | stat: -rw-r--r-- 723 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
AC_DEFUN([buddy_DEBUG_FLAGS],
[AC_ARG_ENABLE([swap-count], 
  [AC_HELP_STRING([--enable-swap-count], 
     [Count number of fundamental variable swaps (for debugging)])])
case $enable_swap_count in
  yes)
    AC_DEFINE([SWAPCOUNT], 1, 
 	      [Define to 1 to count number of fundamental variable swaps 
	       (for debugging).])
    ;;
esac

AC_ARG_ENABLE([cache-stats], 
  [AC_HELP_STRING([--enable-cache-stats], 
     [Gather statistical information about operator and unique node caching (for debugging)])])
case $enable_cache_stats in
  yes)
    AC_DEFINE([CACHESTATS], 1, 
              [Defube to 1 to gather statistical information about operator and unique node caching (for debugging).])
    ;;
esac
])