On 30.11.2016 12:38, Richard Biener wrote: > On Wed, Nov 30, 2016 at 12:30 PM, Matthias Klose <d...@ubuntu.com> wrote: >> There's one more fix needed for the case of only having the pkg-config module >> installed when configuring with --enable-objc-gc. We can't use >> PKG_CHECK_MODULES >> directly because the pkg.m4 macros choke on the dash in the module name. Thus >> setting the CFLAGS and LIBS directly. Ok to install? > > Why not fix pkg.m4? > > Richard.
Jakub suggested to avoid using pkg-config at all, so we can get rid off this code altogether. To re-enable bootstrap with --enable-objc-gc enabled, I checked in this change as a stop-gap: >> * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking >> for the existence of the pkg-config modules. >> * Regenerate. Matthias