[libcryptui] Remove the --enable-tests configure arg, and always build tests



commit aff4f36a112b4243eae0ef1fd581914c879f0940
Author: Stef Walter <stefw gnome org>
Date:   Tue Jul 9 10:26:13 2013 +0200

    Remove the --enable-tests configure arg, and always build tests

 configure.ac           |   11 -----------
 libcryptui/Makefile.am |    8 +-------
 2 files changed, 1 insertions(+), 18 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7b8bce0..ce37a14 100644
--- a/configure.ac
+++ b/configure.ac
@@ -251,17 +251,6 @@ if test "$enable_fatal_messages" = "yes" && test "$enable_debug" = "yes"; then
     echo "enabling fatal runtime messages"
 fi
 
-# Build Tests
-AC_ARG_ENABLE(tests,
-        AC_HELP_STRING([--enable-tests],
-        [Compile Test Programs]))
-        
-if test "$enable_tests" != "yes"; then
-    enable_tests="no"
-fi
-
-AM_CONDITIONAL(WITH_TESTS, test "$enable_tests" = "yes")
-
 dnl ****************************************************************************
 dnl GNOME-KEYRING
 dnl ****************************************************************************
diff --git a/libcryptui/Makefile.am b/libcryptui/Makefile.am
index 8fca33b..443c525 100644
--- a/libcryptui/Makefile.am
+++ b/libcryptui/Makefile.am
@@ -1,10 +1,4 @@
-if WITH_TESTS
-TESTS_DIR = tests
-else
-TESTS_DIR = 
-endif
-
-SUBDIRS = . $(TESTS_DIR)
+SUBDIRS = . tests
 
 # -----------------------------------------------------------------
 # LIBRARY HEADERS


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