summaryrefslogtreecommitdiff
path: root/m4/assert.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/assert.m4')
-rw-r--r--m4/assert.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/m4/assert.m4 b/m4/assert.m4
index 00e45ab4d..c7348e4d2 100644
--- a/m4/assert.m4
+++ b/m4/assert.m4
@@ -1,13 +1,13 @@
-#serial 1
+#serial 2
dnl based on code from Eleftherios Gkioulekas
AC_DEFUN(jm_ASSERT,
[
AC_MSG_CHECKING(whether to enable assertions)
AC_ARG_ENABLE(assert,
- [ --disable-assert turn off assertions],
- [ AC_MSG_RESULT(no)
- AC_DEFINE(NDEBUG) ],
- [ AC_MSG_RESULT(yes) ]
+ [ --disable-assert turn off assertions],
+ [ AC_MSG_RESULT(no)
+ AC_DEFINE(NDEBUG,1,[Define to 1 if assertions should be disabled.]) ],
+ [ AC_MSG_RESULT(yes) ]
)
])