1.1 --- a/common/autoconf/jdk-options.m4 Thu Mar 14 19:33:24 2013 -0700 1.2 +++ b/common/autoconf/jdk-options.m4 Mon Mar 18 10:47:37 2013 -0400 1.3 @@ -366,6 +366,25 @@ 1.4 1.5 ############################################################################### 1.6 # 1.7 +# Enable or disable the elliptic curve crypto implementation 1.8 +# 1.9 +AC_DEFUN_ONCE([JDKOPT_DETECT_INTREE_EC], 1.10 +[ 1.11 +AC_MSG_CHECKING([if elliptic curve crypto implementation is present]) 1.12 + 1.13 +if test -d "${SRC_ROOT}/jdk/src/share/native/sun/security/ec/impl"; then 1.14 + ENABLE_INTREE_EC=yes 1.15 + AC_MSG_RESULT([yes]) 1.16 +else 1.17 + ENABLE_INTREE_EC=no 1.18 + AC_MSG_RESULT([no]) 1.19 +fi 1.20 + 1.21 +AC_SUBST(ENABLE_INTREE_EC) 1.22 +]) 1.23 + 1.24 +############################################################################### 1.25 +# 1.26 # Compress jars 1.27 # 1.28 COMPRESS_JARS=false