Mercurial > hg > octave-lyh > gnulib-hg
changeset 1330:76c0fe6b0692
.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 26 Apr 1998 20:48:00 +0000 |
parents | 818db3848f2b |
children | b680b2f84d31 |
files | m4/assert.m4 |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/m4/assert.m4 @@ -0,0 +1,13 @@ +#serial 1 +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) ] + ) +])