--- old/common/autoconf/configure.ac 2016-10-31 17:34:49.000000000 -0700 +++ new/common/autoconf/configure.ac 2016-10-31 17:34:49.000000000 -0700 @@ -206,7 +206,7 @@ # Need toolchain to setup dtrace HOTSPOT_SETUP_DTRACE -HOTSPOT_SETUP_JVM_FEATURES +HOTSPOT_ENABLE_DISABLE_AOT HOTSPOT_ENABLE_DISABLE_GTEST ############################################################################### @@ -221,6 +221,10 @@ LIB_DETERMINE_DEPENDENCIES LIB_SETUP_LIBRARIES +# Hotspot setup depends on lib checks (AOT needs libelf). + +HOTSPOT_SETUP_JVM_FEATURES + ############################################################################### # # We need to do some final tweaking, when everything else is done.