X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fassert.m4;h=bfdc00f239013215140b3be6aa9920644886ebb9;hb=331f6ee713f7038d6d1a1c0451016c8aaab6a079;hp=00e45ab4dff4f0be713463e47580527ec4cc4cb5;hpb=0ad0491583ce4715c3a7bfd2d9f19543e1e113f0;p=gnulib.git diff --git a/m4/assert.m4 b/m4/assert.m4 index 00e45ab4d..bfdc00f23 100644 --- a/m4/assert.m4 +++ b/m4/assert.m4 @@ -1,13 +1,19 @@ -#serial 1 +#serial 5 + +# Copyright (C) 1998, 1999, 2001, 2004 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + dnl based on code from Eleftherios Gkioulekas -AC_DEFUN(jm_ASSERT, +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) ], - [ AC_MSG_RESULT(yes) ] + [ --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) ] ) ])