Use an all-permissive copyright notice, recommended by RMS.
[gnulib.git] / m4 / assert.m4
1 #serial 5
2
3 # Copyright (C) 1998, 1999, 2001, 2004 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 dnl based on code from Eleftherios Gkioulekas
9
10 AC_DEFUN([gl_ASSERT],
11 [
12   AC_MSG_CHECKING(whether to enable assertions)
13   AC_ARG_ENABLE(assert,
14         [  --disable-assert        turn off assertions],
15         [ AC_MSG_RESULT(no)
16           AC_DEFINE(NDEBUG,1,[Define to 1 if assertions should be disabled.]) ],
17         [ AC_MSG_RESULT(yes) ]
18                )
19 ])