[buddy]
Add support for --enable-devel and similar macros. * m4/debug.m4: Rename to ... * m4/bdebug.m4: ... this. * m4/debug.m4, m4/devel.m4, m4/gccoptim.m4, m4/ndebug.m4: New file. * m4/gccwarns.m4: Fix usage of cache variable. Fix shell syntax. Do not check for -Waggregate-return. Update CFLAGS. * configure.ac: Adjust to handle --enable-devel and similar macros in the same way as Spot.
This commit is contained in:
parent
cdede3d134
commit
35de7e9008
8 changed files with 57 additions and 31 deletions
|
|
@ -1,25 +0,0 @@
|
|||
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
|
||||
])
|
||||
|
||||
|
||||
|
||||
1
buddy/m4/debug.m4
Symbolic link
1
buddy/m4/debug.m4
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../m4/debug.m4
|
||||
Loading…
Add table
Add a link
Reference in a new issue