Add Xrandr checks to configure

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: infrastructure
    • None

      After JDK-8210863, the build would start to fail with cryptic:

      Compiling gtk_interface.c (for libawt_xawt.so)
      /home/buildbot/worker/jdkX-linux/build/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:37:35: fatal error: X11/extensions/Xrandr.h: No such file or directory
       #include <X11/extensions/Xrandr.h>
                                         ^
      compilation terminated.

      Installing libxrandr-dev helps to resolve it, but autoconf should really check on it, and fail with sane message during the configure.

            Assignee:
            Unassigned
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: