This PR adds a new configure argument, `--enable-hsdis-bundling`. Setting this, together with a valid backend using `--with-hsdis`, will bundle the generated hsdis library with the JDK.
The PR also includes a refactoring of the hsdis handling in autoconf, breaking it out to a separate file `lib-hsdis.gmk`, and breaking the functionality up in separate functions per backend. ------------- Commit messages: - Add bundling of hsdis with java.base - Refactor lib-hsdis.gmk by breaking out each backend in a separate function - Break out hsdis setup to separate file Changes: https://git.openjdk.java.net/jdk/pull/7578/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7578&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8209784 Stats: 682 lines in 8 files changed: 390 ins; 281 del; 11 mod Patch: https://git.openjdk.java.net/jdk/pull/7578.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/7578/head:pull/7578 PR: https://git.openjdk.java.net/jdk/pull/7578