reflects addition of codeset.m4 from gettext-0.10.38, automatically
[findutils.git] / m4 / assert.m4
blobc7348e4d20ccc528875b480c904ff29969e991e5
1 #serial 2
2 dnl based on code from Eleftherios Gkioulekas
4 AC_DEFUN(jm_ASSERT,
6   AC_MSG_CHECKING(whether to enable assertions)
7   AC_ARG_ENABLE(assert,
8         [  --disable-assert        turn off assertions],
9         [ AC_MSG_RESULT(no)
10           AC_DEFINE(NDEBUG,1,[Define to 1 if assertions should be disabled.]) ],
11         [ AC_MSG_RESULT(yes) ]
12                )