X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fassert.m4;h=c7348e4d20ccc528875b480c904ff29969e991e5;hb=682d4570b676292520ba94dab161c1a50f51540e;hp=00e45ab4dff4f0be713463e47580527ec4cc4cb5;hpb=0ad0491583ce4715c3a7bfd2d9f19543e1e113f0;p=gnulib.git 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) ] ) ])