Bug 1042878 has landed on inbound, and changes many *_CFLAGS variables to 
appear as lists to moz.build.  This change enabled the easy removal of several 
dozen Makefile.in's from the tree.

As a side-effect, this bug also changes the Mozilla-provided PKG_CHECK_MODULES 
autoconf macro to use AC_SUBST_LIST for whatever compilation flags the package 
in question requires.  So if you have code like:

PKG_CHECK_MODULES(MY_MODULE, my-module-feature-flag >= 
$(my-module-required-version))

AC_SUBST(MY_MODULE_LIBS)
AC_SUBST(MY_MODULE_CFLAGS)

You should remove the AC_SUBST(MY_MODULE_CFLAGS) line or you will trigger 
errors during configure, as the AC_SUBST_LIST(MY_MODULE_CFLAGS) that 
PKG_CHECK_MODULES generates will conflict with the AC_SUBST(MY_MODULE_CFLAGS).

(The AC_SUBST(MY_MODULE_LIBS) is also unnecessary, but that is orthogonal to 
the changes above.)

-Nathan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to