8010030: Allow configure to detect if EC implementation is present
Reviewed-by: andrew, dholmes
--- a/jdk/makefiles/CompileNativeLibraries.gmk Thu Mar 14 19:26:02 2013 -0700
+++ b/jdk/makefiles/CompileNativeLibraries.gmk Mon Mar 18 10:46:49 2013 -0400
@@ -2665,11 +2665,8 @@
##########################################################################################
-ifndef DISABLE_INTREE_EC
-#
-# TODO Set DISABLE_INTREE_EC in configure if src/share/native/sun/security/ec/impl
-# is not present
-#
+ifeq ($(ENABLE_INTREE_EC),yes)
+
BUILD_LIBSUNEC_FLAGS:= -I$(JDK_TOPDIR)/src/share/native/sun/security/ec \
-I$(JDK_TOPDIR)/src/share/native/sun/security/ec/impl