If a pager isn't specified with configure --with-pager, look in order