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

build-infra: Replace --disable-macosx-runtime-support with standard --with-X flag

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P3 P3
    • tbd
    • 9
    • infrastructure

      Currently, in libraries.m4 we have a flag --disable-macosx-runtime-support which is supposed to make us use X11 instead of the macos-framework when building on Mac. However, this is a strange flag. I believe a much better choice would be to make use of the standard flag --with-X, and if that is present, force X11 mode on macosx (and thereby disabling use of the macosx-framework).

      Or, at the very least, rename it to --enable-X11-on-macosx or so. Developers on the macos port list seem to think in terms of "creating a build for X11" rather than "creating a build without the framework".

      Also note that building for X11 on macosx goes hand in hand with using freetype. With the framework, freetype is not used (and cannot be specified??), and with X11, it is required (if building open).

            Unassigned Unassigned
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: