On Thu, 22 Jul 2021 13:42:09 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
> Please review the following change. > On SUSE Linux 15 configure was running into this error, because of a missing > X11 header : > > checking for X11/extensions/Xrandr.h... no > configure: error: Could not find all X11 headers (shape.h Xrender.h Xrandr.h > XTest.h Intrinsic.h). > > I wondered about the missing package help output, we should display some hint > what packages are missing. > In help.m4, PKGHANDLER was detected as /usr/bin/zypper . > However only the exact string zypper is checked, this should be relaxed. > Afterwards, the package - help was working nicely : > > checking for X11/extensions/Xrandr.h... no > configure: error: Could not find all X11 headers (shape.h Xrender.h Xrandr.h > XTest.h Intrinsic.h). > You might be able to fix this by running 'sudo zypper install libX11-devel > libXext-devel libXrender-devel libXrandr-devel libXtst-devel libXt-devel > libXi-devel'. This pull request has now been integrated. Changeset: b7f75c0a Author: Matthias Baesken <mbaes...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/b7f75c0a735f0cf40ae2288d1d0ae96a571a4155 Stats: 9 lines in 1 file changed: 0 ins; 0 del; 9 mod 8271142: package help is not displayed for missing X11/extensions/Xrandr.h Reviewed-by: clanger ------------- PR: https://git.openjdk.java.net/jdk/pull/4873