]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
re-introduced rsa-export configure option
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 4 Mar 2014 19:06:33 +0000 (20:06 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 4 Mar 2014 19:46:36 +0000 (20:46 +0100)
This broke backwards compatibility. Reported by Andreas Metzler.

m4/hooks.m4

index 301f256dbd289fc42317cd7660d5c721a347529f..4340e0db19bf6dc6cc3f6cb6725c64766e91ff31 100644 (file)
@@ -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,