diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | configure.ac | 1 |
3 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2012-08-08 Arnold D. Robbins <arnold@skeeve.com> + + * configure.ac: Add -DNDEBUG to remove asserts if not developing. + 2012-08-01 Arnold D. Robbins <arnold@skeeve.com> * io.c (iop_finish): New function. @@ -5553,6 +5553,7 @@ $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } + CFLAGS="$CFLAGS -DNDEBUG" # turn off assertions fi diff --git a/configure.ac b/configure.ac index f3cf6777..bb81f800 100644 --- a/configure.ac +++ b/configure.ac @@ -95,6 +95,7 @@ then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) + CFLAGS="$CFLAGS -DNDEBUG" # turn off assertions fi AC_SUBST(CFLAGS) |