I'm going to post a series of short notes about problems I've encountered while trying to make a Fedora package of polymake. Fedora cannot ship JavaView, due to its license, but can ship jReality, so I want to configure polymake --with-java and --without-javaview. This doesn't work in version 2.11 though, due to line 188 of support/configure.pl:
} elsif ($arg =~ /--without-(java|javaview|callable)/) {
When --without-javaview is supplied, the regular expression matcher matches up to --without-java and decides it has found a match. To force it to match all of --without-javaview, adding an end anchor is sufficient, as in this patch.