mirror of
git://git.sv.gnu.org/coreutils
synced 2026-05-10 08:59:34 -04:00
14 lines
340 B
Plaintext
14 lines
340 B
Plaintext
#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,1,[Define to 1 if assertions should be disabled.]) ],
|
|
[ AC_MSG_RESULT(yes) ]
|
|
)
|
|
])
|