[gitg/gtk3] Fix ENABLE_DEBUG use in Makefile.am



commit b637b0d50ca0133e2a029f412575e686a9bcdf5e
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Mon Mar 28 10:39:55 2011 +0200

    Fix ENABLE_DEBUG use in Makefile.am

 configure.ac        |    2 +-
 libgitg/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cedb81c..1a408c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,7 +111,7 @@ if test "x$enable_debug" = "xyes"; then
 	AC_DEFINE([ENABLE_DEBUG],[1],[Whether debugging support is enabled])
 fi
 
-AM_CONDITIONAL(ENABLE_DEBUG, test "x$enable_debug" = "xyes")
+AM_CONDITIONAL([ENABLE_DEBUG], [test "$enable_debug" = "yes"])
 
 AC_SUBST(PACKAGE_CFLAGS)
 AC_SUBST(PACKAGE_LIBS)
diff --git a/libgitg/Makefile.am b/libgitg/Makefile.am
index baf1bfa..e6e6973 100644
--- a/libgitg/Makefile.am
+++ b/libgitg/Makefile.am
@@ -67,7 +67,7 @@ C_FILES =				\
 	gitg-line-parser.c
 
 if ENABLE_DEBUG
-	C_FILES += gitg-debug.c
+C_FILES += gitg-debug.c
 endif
 
 ENUM_H_FILES =			\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]