Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8062159

Fix Xrender check to work with sysroot

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b38
    • OS:
      solaris

      Backports

        Description

        This check in configure is broken:

          #
          # Weird Sol10 something check...TODO change to try compile
          #
          if test "x${OPENJDK_TARGET_OS}" = xsolaris; then
            if test "`uname -r`" = "5.10"; then
              if test "`${EGREP} -c XLinearGradient ${OPENWIN_HOME}/share/include/X11/extensions/Xrender.h`" = "0"; then
                X_CFLAGS="${X_CFLAGS} -DSOLARIS10_NO_XRENDER_STRUCTS"
              fi
            fi
          fi

        It should be looking in sysroot and the check in sysroot needs to be done regardless of build OS version.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  erikj Erik Joelsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: