From 2ac65271640ddc6b951794f6a964faa6089c9ffd Mon Sep 17 00:00:00 2001 From: Romain Tartiere Date: Thu, 29 Jul 2010 06:31:37 +0000 Subject: [PATCH] Always define -DWITH_DEBUG if compiling WITH_DEBUG. --- libfreefare/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libfreefare/Makefile.am b/libfreefare/Makefile.am index 4bee080..cad9520 100644 --- a/libfreefare/Makefile.am +++ b/libfreefare/Makefile.am @@ -19,11 +19,12 @@ libfreefare_la_SOURCES = freefare.c \ libfreefare_la_LIBADD = if WITH_DEBUG + AM_CFLAGS += -DWITH_DEBUG if HAS_LIBUTIL libfreefare_la_LIBADD += -lutil else # HAS_LIBUTIL libfreefare_la_LIBADD += $(top_builddir)/contrib/libutil/libutil.la - AM_CFLAGS += -I$(top_builddir)/contrib/libutil/ -DWITH_DEBUG + AM_CFLAGS += -I$(top_builddir)/contrib/libutil/ endif # !HAS_LIBUTIL endif # WITH_DEBUG