error codes for configure edge cases (bug 1074533)
Merge pull request #558 from kumar303/1074533-error

error codes for configure edge cases (bug 1074533)