• Chia-I Wu's avatar
    autoconf: Better client API selection. · be5f34a0
    Chia-I Wu authored
    Make autoconf decide the client APIs enabled first.  Then when OpenGL
    and OpenGL ES are disabled, there is no need to build src/mesa/;  when
    OpenGL is disabled, no $mesa_driver should be built.  Finally, add
    --enable-openvg to enable OpenVG.
    
    With these changes, an OpenVG only build can be configured with
    
      $ ./configure --disable-opengl --enable-openvg
    
    src/mesa, src/glsl, and src/glx will be skipped, which saves a great
    deal of compilation time.
    
    And an OpenGL ES only build can be configured with
    
      $ ./configure --disable-opengl --enable-gles-overlay
    be5f34a0
configure.ac 52.4 KB