--- a/common/autoconf/jdk-options.m4 Thu Mar 14 19:33:24 2013 -0700
+++ b/common/autoconf/jdk-options.m4 Mon Mar 18 10:47:37 2013 -0400
@@ -366,6 +366,25 @@
###############################################################################
#
+# Enable or disable the elliptic curve crypto implementation
+#
+AC_DEFUN_ONCE([JDKOPT_DETECT_INTREE_EC],
+[
+AC_MSG_CHECKING([if elliptic curve crypto implementation is present])
+
+if test -d "${SRC_ROOT}/jdk/src/share/native/sun/security/ec/impl"; then
+ ENABLE_INTREE_EC=yes
+ AC_MSG_RESULT([yes])
+else
+ ENABLE_INTREE_EC=no
+ AC_MSG_RESULT([no])
+fi
+
+AC_SUBST(ENABLE_INTREE_EC)
+])
+
+###############################################################################
+#
# Compress jars
#
COMPRESS_JARS=false