aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-16 07:31:06 +0200
committerMax Kellermann <max@duempel.org>2011-09-16 07:41:41 +0200
commit443e96381a0e24d9c22578ba6f7fb96de1814994 (patch)
tree54fbf24b6ee23afd86443ab79a9b64271ff8d3a5
parent1cbba4fc592654dc3a2a1fe337ed699d6a102b09 (diff)
downloadmpd-443e96381a0e24d9c22578ba6f7fb96de1814994.tar.gz
mpd-443e96381a0e24d9c22578ba6f7fb96de1814994.tar.xz
mpd-443e96381a0e24d9c22578ba6f7fb96de1814994.zip
configure.ac: disable assertions in the non-debugging build
Add -DNDEBUG to AM_CPPFLAGS.
-rw-r--r--NEWS1
-rw-r--r--configure.ac7
2 files changed, 4 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 9bd893930..90d3b0fca 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
ver 0.16.5 (2010/??/??)
+* configure.ac: disable assertions in the non-debugging build
* pcm_format: fix 32-to-24 bit conversion (the "silence" bug)
* input:
- rewind: reduce heap usage
diff --git a/configure.ac b/configure.ac
index 1c0a38ce1..9a9576271 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1451,10 +1451,9 @@ dnl CFLAGS
dnl ---------------------------------------------------------------------------
dnl ---------------------------------- debug ----------------------------------
-#if test "x$enable_debug" = xno; then
- # don't set NDEBUG for now, until MPD is stable
- #AM_CFLAGS="$AM_CFLAGS -DNDEBUG"
-#fi
+if test "x$enable_debug" = xno; then
+ AM_CPPFLAGS="$AM_CPPFLAGS -DNDEBUG"
+fi
dnl ----------------------------------- GCC -----------------------------------
if test x$GCC = xyes