From: Peter Hutterer Date: Tue, 27 May 2014 03:47:58 +0000 (+1000) Subject: configure: simplify a condition X-Git-Tag: 0.3.0~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65a89424ca990745690ecbbf9a1863560cc8f362;p=platform%2Fupstream%2Flibinput.git configure: simplify a condition Signed-off-by: Peter Hutterer --- 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