summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-05-27 13:47:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-05-30 15:18:11 +1000
commit65a89424ca990745690ecbbf9a1863560cc8f362 (patch)
treef512b57d2e5feffacf3e11bd594377e883af74ca /configure.ac
parent055b1c8bc9b6373f1e40ba33eeeb647c455e0a87 (diff)
downloadlibinput-65a89424ca990745690ecbbf9a1863560cc8f362.tar.gz
configure: simplify a condition
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 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