check lib readline when execute cmake
Merge pull request #30 from pch957/tmp3

check lib readline when execute cmake