(and losing quotes from DEFS).
generates a shell script. Check for existence of POSIX regex, and make sure an appropriate library is pulled in for it as needed.