diff options
author | Jim Meyering <jim@meyering.net> | 1998-04-26 20:48:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-04-26 20:48:00 +0000 |
commit | 44fa09dc5ecdceae1ee4d3cbf81a0a3ad4a5fdad (patch) | |
tree | e15d139ead8d547a645febb816640a26b7d27e21 | |
parent | 808b93884064cf99883bfcf876d500dbdb11c37f (diff) | |
download | coreutils-44fa09dc5ecdceae1ee4d3cbf81a0a3ad4a5fdad.tar.xz |
.
-rw-r--r-- | m4/assert.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/m4/assert.m4 b/m4/assert.m4 new file mode 100644 index 000000000..00e45ab4d --- /dev/null +++ b/m4/assert.m4 @@ -0,0 +1,13 @@ +#serial 1 +dnl based on code from Eleftherios Gkioulekas + +AC_DEFUN(jm_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) ] + ) +]) |