From fb9697bda6ff807e097fcb47925e7538ece5e2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moise=CC=81s=20Guimara=CC=83es?= Date: Wed, 24 Feb 2016 18:57:16 -0300 Subject: [PATCH] adds check for missing rsa and ecc at the same time --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 2a36c3ab3..2301a64ce 100644 --- a/configure.ac +++ b/configure.ac @@ -2513,6 +2513,11 @@ AS_IF([test "x$ENABLED_OCSP" = "xyes" && \ test "x$ENABLED_ASN" = "xno"], [AC_MSG_ERROR([please enable asn if enabling ocsp.])]) +AS_IF([test "x$ENABLED_OCSP" = "xyes" && \ + test "x$ENABLED_RSA" = "xno" && \ + test "x$ENABLED_ECC" = "xno"], + [AC_MSG_ERROR([please enable rsa or ecc if enabling ocsp.])]) + ################################################################################ # Update CFLAGS based on options # ################################################################################