mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 00:00:28 +01:00
configure: simplify a condition
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
055b1c8bc9
commit
65a89424ca
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue