From 4da70dea283ebffa6127b664c040e51393107554 Mon Sep 17 00:00:00 2001 From: Catalin Patulea Date: Sat, 13 Sep 2014 07:58:04 +0200 Subject: [PATCH] configure: allow --with-ca-path with PolarSSL too Missed this in af45542c. Signed-off-by: Catalin Patulea --- acinclude.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 9fbcf645c..453358dc9 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2614,8 +2614,8 @@ AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]), capath="no" elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then dnl --with-ca-path given - if test "x$OPENSSL_ENABLED" != "x1"; then - AC_MSG_ERROR([--with-ca-path only works with openSSL]) + if test "x$OPENSSL_ENABLED" != "x1" -a "x$POLARSSL_ENABLED" != "x1"; then + AC_MSG_ERROR([--with-ca-path only works with openSSL or PolarSSL]) fi capath="$want_capath" ca="no"