configure command is now only in one place
get the exit status of a function by checking $?