[gnome-keyring/gnome-3-0] Fix the building of the tests when not explicitly enabled.



commit af8002698e7c381024864da108c0ced10fe72e8b
Author: Stef Walter <stefw collabora co uk>
Date:   Sat Apr 9 08:51:10 2011 +0200

    Fix the building of the tests when not explicitly enabled.

 configure.in |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index bf1fe61..4314601 100644
--- a/configure.in
+++ b/configure.in
@@ -531,9 +531,11 @@ if test "$enable_tests" != "no"; then
 	AC_MSG_RESULT(yes)
 	CFLAGS="$CFLAGS -Werror"
 	tests_status="yes"
+	enable_tests="yes"
 else
 	AC_MSG_RESULT(no)
-  	tests_status="no"
+	tests_status="no"
+	enable_tests="no"
 fi
 
 AM_CONDITIONAL(WITH_TESTS, test "$enable_tests" = "yes")



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