summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-03-04 20:06:33 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-03-04 20:46:36 +0100
commita1c626eacd165cda618f3133be98211aa9ce8849 (patch)
tree6faa4862dadc63bef512e0e678a9e49fe36d060e /m4
parent769738d576071e834f329413ad096f15847a5d4b (diff)
downloadgnutls-a1c626eacd165cda618f3133be98211aa9ce8849.tar.gz
re-introduced rsa-export configure option
This broke backwards compatibility. Reported by Andreas Metzler.
Diffstat (limited to 'm4')
-rw-r--r--m4/hooks.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4
index 301f256dbd..4340e0db19 100644
--- a/m4/hooks.m4
+++ b/m4/hooks.m4
@@ -158,6 +158,20 @@ AC_MSG_ERROR([[
fi
AM_CONDITIONAL(ENABLE_ALPN, test "$ac_enable_alpn" != "no")
+ AC_MSG_CHECKING([whether to disable RSA-EXPORT support])
+ AC_ARG_ENABLE(rsa-export,
+ AS_HELP_STRING([--disable-rsa-export],
+ [disable the RSA-EXPORT support]),
+ ac_enable_rsa_export=$enableval, ac_enable_rsa_export=yes)
+ if test x$ac_enable_rsa_export != xno; then
+ AC_MSG_RESULT(no)
+ AC_DEFINE([ENABLE_RSA_EXPORT], 1, [enable RSA-EXPORT])
+ else
+ ac_full=0
+ AC_MSG_RESULT(yes)
+ fi
+ AM_CONDITIONAL(ENABLE_RSA_EXPORT, test "$ac_enable_rsa_export" != "no")
+
ac_enable_heartbeat=yes
AC_MSG_CHECKING([whether to disable TLS heartbeat support])
AC_ARG_ENABLE(heartbeat-support,