String flavor = null;
if (withFlavor) {
logger.debug("Preloading ArchFlavor library.");
flavor = ArchFlavor.archFlavor();
if (flavor != null && flavor.equals("sse2")) {
throw new UnsupportedArchitectureException("Support for SSE2 processors stopped with version 1.2.2. Sorry.");
}
}
logger.debug("Found flavor = '" + flavor + "'");
libname = System.mapLibraryName(libname);