Handle dir_config and with_config mysql more strictly, add rpath more often, add notices
Documentation for the gem install options
Use try_link to test compiler flags instead of checking for gcc specifically.