Skip to content
  • zandobersek@gmail.com's avatar
    [Autotools] Rework the build target selection · bca0b279
    zandobersek@gmail.com authored
    https://bugs.webkit.org/show_bug.cgi?id=121703
    
    Reviewed by Gustavo Noronha Silva.
    
    Replace the --with-target configuration flag with target-specific --enable-*-target flags:
    - --enable-x11-target
    - --enable-wayland-target
    - --enable-win32-target
    - --enable-quartz-target
    - --enable-directfb-target
    
    By default, the X11 target is enabled. This default is preserved only if no --enable-*-target flag
    is passed on the command line. When that occurs, the newly-constructed list of build targets is
    used to determine what build targets should actually be built. So for instance, executing just
    `./configure` would only enable the X11 target as that's the default, and executing
    `./configure --enable-wayland-target` would only enable the Wayland target, as the defaults are
    completely ignored.
    
    * Source/autotools/CheckSystemAndBasicDependencies.m4: Abort if grep was not found, just in case.
    * Source/autotools/CustomMacros.m4: The new file that contains helpful custom macros.
    ...
    bca0b279