common/autoconf/jdk-options.m4
changeset 14112 1b447f5cb0d1
parent 14111 2a82ecb35fc7
child 14615 2616975e69d3
--- a/common/autoconf/jdk-options.m4	Fri Oct 26 14:29:57 2012 -0700
+++ b/common/autoconf/jdk-options.m4	Mon Oct 29 14:06:57 2012 -0700
@@ -334,6 +334,20 @@
 
 ###############################################################################
 #
+# Enable or disable unlimited crypto
+#
+AC_ARG_ENABLE(unlimited-crypto, [AS_HELP_STRING([--enable-unlimited-crypto],
+        [Enable unlimited crypto policy @<:@disabled@:>@])],,
+    [enable_unlimited_crypto=no])
+if test "x$enable_unlimited_crypto" = "xyes"; then
+    UNLIMITED_CRYPTO=true
+else
+    UNLIMITED_CRYPTO=false
+fi
+AC_SUBST(UNLIMITED_CRYPTO)
+
+###############################################################################
+#
 # Compress jars
 #
 COMPRESS_JARS=false