Automatically write AC_SUBST() vars to mkconfig.mk and use them.