Reworked Brian Evans patch for fixing bad CMake references for readline for mysql-5.7.
Make sure the 02040 embedded lib patch is applied to mysql-5.7 as well.
Apply mysql-5.5 patches to percona-server-5.5.
Respin mysql_config patch for mariadb 5.5
Respin mysql_config patch for mysql 5.5