ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/m4/ax_arg_enable_assert.m4
Revision: 6099
Committed: Thu Jun 11 12:31:29 2015 UTC (10 years, 2 months ago) by michael
File size: 307 byte(s)
Log Message:
- Further cleanups to the build system; moved various things we need to separate autoconf macros

File Contents

# Content
1 AC_DEFUN([AX_ARG_ENABLE_ASSERT],[
2 AC_ARG_ENABLE(assert, AS_HELP_STRING([--enable-assert],
3 [Enable assert() statements]),
4 [assert=$enableval], [assert=no])
5
6 AS_IF([test "$assert" = "no"],
7 [AC_DEFINE(NDEBUG, 1, [Define to disable assert() statements.])])
8 ])