diff options
author | Sam James <sam@gentoo.org> | 2022-09-26 10:22:04 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2022-09-26 10:22:04 +0200 |
commit | bd94d7170e9ce2a9da9b9f51d8525adee7536c33 (patch) | |
tree | bdbf5f55b12a59f77de8395884812dd4875f20dd | |
parent | 8986f226b20b62442855b2ecd3b377b4a7228c4d (diff) | |
download | linuxquota-bd94d7170e9ce2a9da9b9f51d8525adee7536c33.tar.gz |
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 <sam@gentoo.org>
Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |