check return code of external configure scripts
Merge pull request #575 from reneme/fix-check_retcode_of_configure

FIX: Check Return Code of External Configure Scripts