From 850a1c6f7c69b727b24fa1858d86490b7698c482 Mon Sep 17 00:00:00 2001 From: Kai Jan Schmidt-Brauns <12021253+KaiJan57@users.noreply.github.com> Date: Thu, 16 Feb 2023 16:32:53 +0100 Subject: [PATCH] Fix dependency check to be posix-compliant test with "==" operator works in bash but fails in other shells such as `sh` --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index cb4566a..6cc2870 100644 --- a/configure.ac +++ b/configure.ac @@ -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], [