[gnome-color-manager] trivial: Don't set the selftest define in config.h anymore



commit d6c7b7c526819cb9ffb9a45ea32d3003749b1bb0
Author: Richard Hughes <richard hughsie com>
Date:   Sat Jun 5 23:19:37 2010 +0100

    trivial: Don't set the selftest define in config.h anymore

 configure.ac    |    5 +----
 src/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 347a5a7..f5303e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -230,10 +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(EGG_BUILD_TESTS, test x$enable_tests = xyes)
-if test x$enable_tests = xyes; then
-	AC_DEFINE(EGG_BUILD_TESTS,1,[Build test code])
-fi
+AM_CONDITIONAL(GCM_BUILD_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 9fd520e..9484ff9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -315,7 +315,7 @@ gcm_session_LDADD =					\
 gcm_session_CFLAGS =					\
 	$(WARNINGFLAGS_C)
 
-if EGG_BUILD_TESTS
+if GCM_BUILD_TESTS
 
 check_PROGRAMS =					\
 	gcm-self-test



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