common/autoconf/libraries.m4
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
102716_hs Cdiff common/autoconf/libraries.m4
common/autoconf/libraries.m4
Print this page
*** 29,38 ****
--- 29,39 ----
m4_include([lib-cups.m4])
m4_include([lib-ffi.m4])
m4_include([lib-freetype.m4])
m4_include([lib-std.m4])
m4_include([lib-x11.m4])
+ m4_include([lib-elf.m4])
################################################################################
# Determine which libraries are needed for this configuration
################################################################################
AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
*** 71,80 ****
--- 72,88 ----
if HOTSPOT_CHECK_JVM_VARIANT(zero) || HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then
NEEDS_LIB_FFI=true
else
NEEDS_LIB_FFI=false
fi
+
+ # Check if elf is needed (only for AOT build)
+ if test "x$ENABLE_AOT" = "xtrue"; then
+ NEEDS_LIB_JELFSHIM=true
+ else
+ NEEDS_LIB_JELFSHIM=false
+ fi
])
################################################################################
# Parse library options, and setup needed libraries
################################################################################
*** 88,97 ****
--- 96,106 ----
LIB_SETUP_LIBFFI
LIB_SETUP_LLVM
LIB_SETUP_BUNDLED_LIBS
LIB_SETUP_MISC_LIBS
LIB_SETUP_SOLARIS_STLPORT
+ LIB_SETUP_LIBELF
])
################################################################################
# Setup llvm (Low-Level VM)
################################################################################
common/autoconf/libraries.m4
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File