Anno domini 2022 Wed, 23 Mar 17:36:35 +0100 Slávek Banko scripsit:
[..] no, the symlink is not there.
As you can see, Xorg detection on my machine correctly detects "libraries /usr/local/lib, headers /usr/local/include" and therefore "X11/extensions/XShm.h" detection naturally succeeds in /usr/local/included => because the "x_includes" variable.
This returns us back to the fact that in your case AC_PATH_X does not fulfill the correct value into x_includes and x_libraries variables. And the question is why.
Cheers
Sorry, that's where I don't have any clue. I never managed that automake/autoconf stuff. Anyway, changing the patch would work around the problem.
Nik