Adding xml variant
enable libedit only when readline is found.
Checking in changes prior to tagging of version 1.8.21.