aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHarald van Dijk <[email protected]>2020-06-29 17:28:22 +0100
committerGitHub <[email protected]>2020-06-29 09:28:22 -0700
commit2ac6aa117603d5856b172114dcc62c454dafddb1 (patch)
tree372dafb029c4c57812ae3312987d67e094c599cf /config
parent3c42c9ed84f1755ee8898b76e0264b8ebab19fd8 (diff)
pam: fix test usage in configure script
The standard test command does not support the == operator. Certain shells, including bash, do support it, but in those shells it does exactly the same thing as the standard = operator. Use that instead. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Harald van Dijk <[email protected]> Closes #10509
Diffstat (limited to 'config')
-rw-r--r--config/user-pam.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/user-pam.m4 b/config/user-pam.m4
index 1d376681d..fc29a1e1b 100644
--- a/config/user-pam.m4
+++ b/config/user-pam.m4
@@ -19,7 +19,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_PAM], [
AC_CHECK_HEADERS([security/pam_modules.h], [
enable_pam=yes
], [
- AS_IF([test "x$enable_pam" == "xyes"], [
+ AS_IF([test "x$enable_pam" = "xyes"], [
AC_MSG_FAILURE([
*** security/pam_modules.h missing, libpam0g-dev package required
])
@@ -28,7 +28,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_PAM], [
])
])
])
- AS_IF([test "x$enable_pam" == "xyes"], [
+ AS_IF([test "x$enable_pam" = "xyes"], [
DEFINE_PAM='--with "pam" --define "_pamconfigsdir $(pamconfigsdir)"'
])
AC_SUBST(DEFINE_PAM)