add to certservice requirements

This commit is contained in:
toddouska 2014-02-13 08:53:12 -08:00
parent 2ff78b7fda
commit 757db12917

View File

@ -1348,7 +1348,7 @@ AC_ARG_ENABLE([certservice],
) )
if test "$ENABLED_CERT_SERVICE" = "yes" if test "$ENABLED_CERT_SERVICE" = "yes"
then then
# Requires ecc and certgen, make sure on # Requires ecc,certgen, and opensslextra make sure on
if test "x$ENABLED_CERTGEN" = "xno" if test "x$ENABLED_CERTGEN" = "xno"
then then
ENABLED_CERTGEN="yes" ENABLED_CERTGEN="yes"
@ -1360,6 +1360,11 @@ then
AM_CFLAGS="$AM_CFLAGS -DHAVE_ECC -DTFM_ECC256 -DECC_SHAMIR" AM_CFLAGS="$AM_CFLAGS -DHAVE_ECC -DTFM_ECC256 -DECC_SHAMIR"
AM_CONDITIONAL([BUILD_ECC], [test "x$ENABLED_ECC" = "xyes"]) AM_CONDITIONAL([BUILD_ECC], [test "x$ENABLED_ECC" = "xyes"])
fi fi
if test "x$ENABLED_OPENSSLEXTRA" = "xno"
then
ENABLED_OPENSSLEXTRA="yes"
AM_CFLAGS="-DOPENSSL_EXTRA $AM_CFLAGS"
fi
AM_CFLAGS="$AM_CFLAGS -DCYASSL_HAVE_CERT_SERVICE" AM_CFLAGS="$AM_CFLAGS -DCYASSL_HAVE_CERT_SERVICE"
fi fi