Forget about autoconf.mk.in
When you add a flag somewhere in configure.in
and need to use it in code or in the build system, you use AC_SUBST
or AC_DEFINE
. While using AC_DEFINE
in configure.in
is usually sufficient for its purpose, using AC_SUBST
requires to add some boilerplate in config/autoconf.mk.in
, in the form:
VARIABLE_NAME = @VARIABLE_NAME@
Here's the news for you: these days are over. With bug 742795, now on mozilla-central, autoconf.mk
is auto-generated. No need to touch config/autoconf.mk.in
anymore.
2012-08-07 19:58:00+0900
Responses are currently closed, but you can trackback from your own site.