adds check for missing rsa and ecc at the same time

This commit is contained in:
Moisés Guimarães
2016-02-24 18:57:16 -03:00
parent 1824a494d1
commit fb9697bda6

View File

@ -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 #
################################################################################