diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-05-27 13:47:58 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-05-30 15:18:11 +1000 |
commit | 65a89424ca990745690ecbbf9a1863560cc8f362 (patch) | |
tree | f512b57d2e5feffacf3e11bd594377e883af74ca /configure.ac | |
parent | 055b1c8bc9b6373f1e40ba33eeeb647c455e0a87 (diff) |
configure: simplify a condition
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 680d19e..ec9b0de 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 |