From bd94d7170e9ce2a9da9b9f51d8525adee7536c33 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 26 Sep 2022 10:22:04 +0200 Subject: Make configure.ac POSIX compliant Configure scripts need to be runnable with a POSIX-compliant /bin/sh. Replace == comparison operator (bashism) with = (POSIX) to fix errors: configure: WARNING: tcpd.h not found ./configure: 8453: test: X: unexpected operator checking that generated files are newer than configure... done Signed-off-by: Sam James Signed-off-by: Jan Kara --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2a9c0c2..273d505 100644 --- a/configure.ac +++ b/configure.ac @@ -283,7 +283,7 @@ AC_ARG_WITH([pid-dir], [AS_HELP_STRING([--with-pid-dir=DIRECTORY], [Create PID files in this directory instead of /var/run])], [with_pid_dir="$withval"] ) -AS_IF([test "X$with_pid_dir" == "X" -o "$with_pid_dir" == "yes" -o "$with_pid_dir" == "no"],[ +AS_IF([test "X$with_pid_dir" = "X" -o "$with_pid_dir" = "yes" -o "$with_pid_dir" = "no"],[ with_pid_dir="/var/run" ]) AC_DEFINE_UNQUOTED([PID_DIR], ["$with_pid_dir"], [Directory for PID files]) -- cgit v1.2.1