From e4db178a1b250394c121760411d1c774e898ab25 Mon Sep 17 00:00:00 2001 From: Allan LeSage Date: Tue, 20 Mar 2012 19:03:20 -0500 Subject: Chase-recommended simplification of test-inclusion autoconf. --- configure.ac | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a429d17..a5ca692 100644 --- a/configure.ac +++ b/configure.ac @@ -76,15 +76,6 @@ AS_IF([test "x$with_gtk" = x3], AC_SUBST(APPLET_CFLAGS) AC_SUBST(APPLET_LIBS) -########################### -# Test Dependencies -########################### - -AC_ARG_ENABLE([tests], - AC_HELP_STRING([--disable-tests], [Disable test scripts and tools]),, - [enable_tests=auto]) -AM_CONDITIONAL(BUILD_TESTS, test xyes = xyes) - ########################### # Status Provider Deps ########################### @@ -126,6 +117,7 @@ AC_SUBST(COVERAGE_LDFLAGS) m4_include([m4/gtest.m4]) CHECK_GTEST +AM_CONDITIONAL([HAVE_GTEST], [test "x$have_gtest" = xyes]) ########################### # Check to see if we're local -- cgit v1.2.3