From dd5593e5b818c92625abac1f5d61a053ff33f41e Mon Sep 17 00:00:00 2001 From: William Robinet Date: Sun, 30 Aug 2020 20:59:48 +0200 Subject: [PATCH] Define DEBUG when using --enable-debug --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3ac3f12..b1625a1 100644 --- a/configure.ac +++ b/configure.ac @@ -88,7 +88,7 @@ AC_ARG_ENABLE([debug], [debug=${enableval}], [debug=no]) if test "x${debug}" = xyes; then - CFLAGS="$CFLAGS -g" + CFLAGS="$CFLAGS -g -DDEBUG" fi AC_ARG_ENABLE([asan],