autotools tweaks, portindex