Ensure readline/readline.h is available during the configure process
Merge pull request #3009 from skottler/feature/check_missing_pkgs

Ensure readline/readline.h is available during the configure process