Merge pull request #2525 from tmael/open_coexist

Raise an error when opensslcoexist option is used with openssl[all][extra]
This commit is contained in:
Chris Conlon 2019-11-01 11:32:46 -06:00 committed by GitHub
commit 98a2322dd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4794,6 +4794,14 @@ AS_IF([test "x$ENABLED_WOLFSSH" = "xyes"],
AS_IF([test "x$ENABLED_SHA512" = "xno"],[AC_MSG_ERROR([cannot enable wolfSSH with SHA-512/384 disabled])])
])
if test "x$ENABLED_OPENSSLCOEXIST" = "xyes"; then
if test "x$ENABLED_OPENSSLALL" = "xyes"; then
AC_MSG_ERROR([Cannot use --enable-opensslcoexist with --enable-opensslall])
fi
if test "x$ENABLED_OPENSSLEXTRA" = "xyes"; then
AC_MSG_ERROR([Cannot use --enable-opensslcoexist with --enable-opensslextra])
fi
fi
################################################################################
# USER SETTINGS