~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_header_assert.m4

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
dnl Check whether to enable assertions.
9
9
AC_DEFUN([PANDORA_HEADER_ASSERT],
10
10
[
11
 
  AC_CHECK_HEADERS(assert.h)
12
11
  AC_MSG_CHECKING([whether to enable assertions])
13
12
  AC_ARG_ENABLE([assert],
14
13
    [AS_HELP_STRING([--disable-assert],
17
16
    [ac_cv_assert="yes"])
18
17
  AC_MSG_RESULT([$ac_cv_assert])
19
18
 
20
 
  AS_IF([test "$ac_cv_assert" = "no"], 
 
19
  AS_IF([test "$ac_cv_assert" = "yes"], 
 
20
    [AC_CHECK_HEADERS(assert.h)],
21
21
    [AC_DEFINE(NDEBUG, 1, [Define to 1 if assertions should be disabled.])])
22
22
])
23
23