[gnome-color-manager] trivial: fix up the tests AM define



commit 89b621ba8679af830c0e07845b55137095e3ab99
Author: Richard Hughes <richard hughsie com>
Date:   Thu Jun 24 14:39:46 2010 +0100

    trivial: fix up the tests AM define

 configure.ac    |    2 +-
 src/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 55f2f91..cc2b024 100644
--- a/configure.ac
+++ b/configure.ac
@@ -230,7 +230,7 @@ dnl - Build self tests
 dnl ---------------------------------------------------------------------------
 AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests],[enable unit test code]),
 	      enable_tests=$enableval,enable_tests=yes)
-AM_CONDITIONAL(HAVEmake, test x$enable_tests = xyes)
+AM_CONDITIONAL(HAVE_TESTS, test x$enable_tests = xyes)
 
 AC_SUBST(GCM_SYSTEM_PROFILES_DIR, "\$(localstatedir)/lib/color")
 
diff --git a/src/Makefile.am b/src/Makefile.am
index abeab99..62da00d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -309,7 +309,7 @@ gcm_session_LDADD =					\
 gcm_session_CFLAGS =					\
 	$(WARNINGFLAGS_C)
 
-if HAVEmake
+if HAVE_TESTS
 
 check_PROGRAMS =					\
 	gcm-self-test



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