doc: update Spanish help template
[midnight-commander.git] / m4.include / mc-assert.m4
blob91c3937dd26e107e45bb18b3f62e946b5b61e46f
1 dnl
2 dnl Check whether to enable/disable assertions.
3 dnl
5 AC_DEFUN([mc_ASSERT],
7     AC_ARG_ENABLE([assert],
8     AS_HELP_STRING([--enable-assert], [turn on assertions [yes]]),
9     [
10         if test "x$enableval" = xno; then
11             enable_assert=no
12         else
13             enable_assert=yes
14         fi
15     ],
16     [enable_assert=yes])
18     if test "x$enable_assert" = xno; then
19         AC_DEFINE(G_DISABLE_ASSERT, 1, [Define to disable assertions])
20     fi