1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-01 09:44:43 +02:00
Files
coreutils/m4/assert.m4

14 lines
342 B
Plaintext

#serial 4
dnl based on code from Eleftherios Gkioulekas
AC_DEFUN([gl_ASSERT],
[
AC_MSG_CHECKING(whether to enable assertions)
AC_ARG_ENABLE(assert,
[ --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) ]
)
])