Fix corner case in subpackage configuration
Use AS_IF to guard against empty argument
Add phony test message
Update portability README