1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +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 GitHub
parent f3debd5678
commit 780ef1f05c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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], [