[gitg] Fix ENABLE_DEBUG use in Makefile.am



commit 61b54695e7a7af9b6e26deaa464d4f6a6984025f
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 bc0144f..2272c23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -139,7 +139,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]