diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2016-10-26 22:34:17 +0300 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2018-06-23 12:20:14 +0300 |
commit | 637312e63d5c1d44ea19e6f87c22c82a296f0748 (patch) | |
tree | 567f1d4b2ab0578c773c086af13feb376c0eda44 /m4 | |
parent | 21df83a28d323768ddd9659a47509f04b64ce7fa (diff) | |
download | gnutls-637312e63d5c1d44ea19e6f87c22c82a296f0748.tar.gz |
Add configure argument to disable GOST support
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/hooks.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4 index 69d9d8c184..8a7bcd6eef 100644 --- a/m4/hooks.m4 +++ b/m4/hooks.m4 @@ -303,6 +303,20 @@ LIBTASN1_MINIMUM=4.9 fi AM_CONDITIONAL(ENABLE_ECDHE, test "$ac_enable_ecdhe" != "no") + AC_MSG_CHECKING([whether to disable GOST support]) + AC_ARG_ENABLE(gost, + AS_HELP_STRING([--disable-gost], + [disable the GOST support]), + ac_enable_gost=$enableval, ac_enable_gost=yes) + if test x$ac_enable_gost != xno; then + AC_MSG_RESULT(no) + AC_DEFINE([ENABLE_GOST], 1, [enable GOST]) + else + ac_full=0 + AC_MSG_RESULT(yes) + fi + AM_CONDITIONAL(ENABLE_GOST, test "$ac_enable_gost" != "no") + # For cryptodev AC_MSG_CHECKING([whether to add cryptodev support]) AC_ARG_ENABLE(cryptodev, |