Mercurial > hg > octave-jordi > gnulib-hg
view m4/assert.m4 @ 10010:d26ac8a528f7
Enable gnulib's <arpa/inet.h> replacement also when inet_ntop or inet_pton need to be declared.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 29 Apr 2008 13:37:51 +0200 |
parents | 87c42e194f4a |
children | 69048e86dbdf |
line wrap: on
line source
#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([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,1,[Define to 1 if assertions should be disabled.]) ], [ AC_MSG_RESULT(yes) ] ) ])