From: David Levine Date: Fri, 13 Dec 2013 21:33:14 +0000 (-0600) Subject: Disable assertions by default. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/167e542ba3ddb6a8cc2eadf2d88ca482b1e657ce?ds=sidebyside;hp=fd85d5dbd5006da4a472e67ab55c056b343caf42 Disable assertions by default. --- diff --git a/configure.ac b/configure.ac index 49ef16c5..ce4b46d5 100644 --- a/configure.ac +++ b/configure.ac @@ -188,6 +188,11 @@ else fi fi +dnl This hack turns off assertions by default, assuming +dnl that configure still uses this shell variable. Without +dnl it, AC_HEADER_ASSERT enables assertions by default. +test -z "$enable_assert" && enable_assert=no + AC_HEADER_ASSERT dnl ------------------