From 91aea762d02731193eb66a00b930ff1fe8bc5ab8 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 10 Sep 2018 22:03:55 +0200 Subject: [PATCH 34/83] test_ca: test library only for readable On Debian libraries typically do not have the execute-bit set so it is better to only check for readability. Related to https://pagure.io/SSSD/sssd/issue/3500 Reviewed-by: Jakub Hrozek --- src/external/test_ca.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/external/test_ca.m4 b/src/external/test_ca.m4 index 2cdb3c7..bb48726 100644 --- a/src/external/test_ca.m4 +++ b/src/external/test_ca.m4 @@ -58,7 +58,7 @@ AC_DEFUN([AM_CHECK_TEST_CA], AC_MSG_NOTICE([Could not find p11tool]) fi - AM_CONDITIONAL([BUILD_TEST_CA], [test -x "$OPENSSL" -a -x "$SSH_KEYGEN" -a -x "$SOFTHSM2_PATH" -a -x "$SOFTHSM2_UTIL" -a -x "$P11TOOL"]) + AM_CONDITIONAL([BUILD_TEST_CA], [test -x "$OPENSSL" -a -x "$SSH_KEYGEN" -a -r "$SOFTHSM2_PATH" -a -x "$SOFTHSM2_UTIL" -a -x "$P11TOOL"]) fi AM_COND_IF([BUILD_TEST_CA], -- 2.9.5