]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
configure: Fix outdated and non-portable 'test' syntax
authorEvgeny Grin (Karlson2k) <k2k@drgrin.dev>
Sat, 12 Jul 2025 18:24:48 +0000 (20:24 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Sat, 19 Jul 2025 04:42:33 +0000 (06:42 +0200)
Signed-off-by: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
configure.ac

index 3984adf09b09f3646ed3a96ebcfa3ea048dca8e6..5ec9949b43b054e6dee30d8ee67b2e0da5968347 100644 (file)
@@ -561,7 +561,7 @@ if test "$with_libpam" != "no"; then
        fi
 
 
-       if test "X$pam_lib$pam_headers_found" = "Xyesyes" -a "$pam_conv_function" != "no" ; then
+       if test "X$pam_lib$pam_headers_found" = "Xyesyes" && test "$pam_conv_function" != "no" ; then
                with_libpam="yes"
        else
                with_libpam="no"