]> diplodocus.org Git - nmh/commitdiff
Disable assertions by default.
authorDavid Levine <levinedl@acm.org>
Fri, 13 Dec 2013 21:33:14 +0000 (15:33 -0600)
committerDavid Levine <levinedl@acm.org>
Fri, 13 Dec 2013 21:33:14 +0000 (15:33 -0600)
configure.ac

index 49ef16c5c59cfd6941c15a70824fcd3b6f402f6e..ce4b46d561f5b5d9e24999ecbf3bfa02651499ff 100644 (file)
@@ -188,6 +188,11 @@ else
   fi
 fi
 
   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 ------------------
 AC_HEADER_ASSERT
 
 dnl ------------------