From 911cc4f16e96c1ea9027bb12b024531a4b588038 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 2 Dec 2007 17:24:46 +0000 Subject: Defining DEBUG via CFLAGS so that it'll always be there, even when a file doesn't include config.h. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index b84f3947..15e22623 100755 --- a/configure +++ b/configure @@ -134,7 +134,7 @@ EOF if [ "$debug" = "1" ]; then [ -z "$CFLAGS" ] && CFLAGS=-g echo 'DEBUG=1' >> Makefile.settings - echo '#define DEBUG' >> config.h + CFLAGS="$CFLAGS -DDEBUG" else [ -z "$CFLAGS" ] && CFLAGS="-O2 -fno-strict-aliasing" fi -- cgit v1.2.3