Compat: Try to stub in some functions; WIP

This does not work.
Compat: Use autoconf; WIP
Config: Use data from autoconf.
Notes