From c69f6f418638e8ab452539b5f3dd3c0088ae2593 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 29 Apr 2014 12:58:52 +0900 Subject: [PATCH] Use AC_DEFINE for DEBUG macro instead of adding it to CFLAGS --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e079e1f3..506f4f57 100644 --- a/configure.ac +++ b/configure.ac @@ -428,7 +428,7 @@ if test "x$werror" != "xno"; then fi if test "x$debug" != "xno"; then - CFLAGS="$CFLAGS -DDEBUGBUILD" + AC_DEFINE([DEBUGBUILD], [1], [Define to 1 to enable debug output.]) fi AC_SUBST([TESTS_LIBS])