diff --git a/configure.ac b/configure.ac index 37889dd5..6133344e 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.63]) -AC_INIT([leech], [0.1.19], [https://github.com/larsewi/leech/issues], [leech], +AC_INIT([leech], [0.1.20], [https://github.com/larsewi/leech/issues], [leech], [https://github.com/larsewi/leech]) AC_CONFIG_SRCDIR([lib/leech.h]) diff --git a/lib/Makefile.am b/lib/Makefile.am index 77487fc4..30f1d6d5 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,4 +1,7 @@ -AM_CFLAGS = -Wall -Wextra -Werror -Wconversion -Wformat +AM_CFLAGS = -Wall -Wextra -Wconversion -Wformat +if !NDEBUG +AM_CFLAGS += -Werror +endif AM_CPPFLAGS = -include config.h include_HEADERS = $(top_builddir)/lib/leech.h