Created attachment 124144 [details] [review] Use AC_PATH_TOOL instead of AC_PATH_PROGS to find `cpp` executable in XORG_PROG_RAWCPP On Exherbo we prohibit the use of unprefixed toolchain programs like gcc, ld, pkg-config etc. in our package manager environment to detect misuses of them and avoid running into problems when cross-compiling programs. The XORG_PROG_RAWCPP macro currently tries to use `cpp` and thus triggers an error. In order to prefer the host-prefixed version of cpp the attached patch changes the macro to find the cpp program to use AC_PATH_TOOL. This will check for `$host-cpp` first and if not found for `cpp`.
Is there any problem with the patch? It's been two years and the patch is still required in the latest version released just a few days ago. Please advise.
There's no problem I can see with the patch other than it's stuck in bugzilla and no one ever looks here. I've sent it on to the xorg-devel mailing list for review as suggested in https://www.x.org/wiki/Development/Documentation/SubmittingPatches/ That tends to have a better chance of getting attention currently. Hopefully the upcoming move to gitlab will improve things when you can just submit a pull request through the easy interface instead of the mailing list.
Pushed to git master: To ssh://git.freedesktop.org/git/xorg/util/macros 771b773..bd66ce3 master -> master
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.