Autoconf check for regex header and functions.