I'm trying to set PKG_CONFIG="pkg-config --define-variable=prefix=/whatever" but it's not working because of a option parsing issue. Basically, pkg-config --define-variable=foo=bar --atleast-pkgconfig-version=0.0.9 works (succeeds with the latest pkgconfig), but if you omit the second '=', then pkg-config --define-variable=foo=bar --atleast-pkgconfig-version 0.0.9 fails! If pkg.m4 didn't use the no-= version, then this problem would not affect me. So a patch that merely changes that might be good (for users of older pkgconfig versions). Maybe upgrading popt in pkg-config would fix the problem...
You can drop the =, so it'll be --define-variable foo=bar It seems popt doesn't support mixing = and non-= options in the same command line.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.