1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 13:31:54 +00:00

Fix dependency check to be posix-compliant

test with "==" operator works in bash but fails in other shells such as `sh`
This commit is contained in:
Kai Jan Schmidt-Brauns 2023-02-16 16:32:53 +01:00 committed by Alberto Fanjul
parent f3debd5678
commit 850a1c6f7c

View file

@ -53,7 +53,7 @@ AC_DEFINE_UNQUOTED([IP_BINARY], [$IP_BINARY], [Path for ip binary])
# Mandatory dependencies
#
AS_IF([test "$use_libsystemd" == "yes"],
AS_IF([test "$use_libsystemd" = "yes"],
[
AC_DEFINE([ENABLE_SYSTEMD], [], [Use systemd])
m4_ifdef([PKG_CHECK_MODULES], [