Ax_check_mysql is a project mainly written in ..., it's free.
An autoconf macro for Checking existence of MySQL installs and plugin compability