From 65a89424ca990745690ecbbf9a1863560cc8f362 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 27 May 2014 13:47:58 +1000 Subject: [PATCH] configure: simplify a condition Signed-off-by: Peter Hutterer --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 680d19ea..ec9b0de2 100644 --- a/configure.ac +++ b/configure.ac @@ -80,9 +80,7 @@ AC_ARG_ENABLE(tests, PKG_CHECK_MODULES(CHECK, [check >= 0.9.9], [HAVE_CHECK="yes"], [HAVE_CHECK="no"]) if test "x$build_tests" = "xauto"; then - if test "x$HAVE_CHECK" = "xyes"; then - build_tests="yes" - fi + build_tests="$HAVE_CHECK" fi if test "x$build_tests" = "xyes"; then if test "x$HAVE_CHECK" = "xno"; then