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/167e542b?ds=inline 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 ------------------