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

Fix Xrender check to work with sysroot

XMLWordPrintable

    • b38
    • solaris

        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.

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

                Created:
                Updated:
                Resolved: