* configure.ac: Regex tests adapted from mutt to decide whether to use the