summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-06-26 13:24:32 +0900
committerChia-I Wu <[email protected]>2011-07-01 17:46:27 +0900
commit9e7a4147c730adda047aae66c17f07d9de5b4a28 (patch)
tree98fd7bc438f23064edb531215b73045f92800688 /common.py
parentf8fcaf0215f0434baf13bb5c45545c58f97846b6 (diff)
autoconf: add --enable-{dri,glx,osmesa}
The idea is that DRI driver, libGL and libOSMesa are libraries that can be independently enabled, yet --with-driver does not allow us to easily do that, if not impossible. This also matches what --enable-{egl,xorg,d3d1x} do for the respective libraries. There are two libGL providers: Xlib-based and DRI-based. They cannot coexist. To be able to choose between them, --enable-xlib-glx is also added. With this commit, --with-driver=dri can be replaced by $ ./configure --enable-dri --enable-glx --disable-osmesa --with-driver=xlib can be replaced by $ ./configure --disable-dri --enable-glx --enable-osmesa \ --enable-xlib-glx and --with-driver=osmesa can be replaced by $ ./configure --disable-dri --disable-glx --enable-osmesa Some combinations that cannot be supported with --with-driver will produce errors at the moment. But in the future, we would like to support, for example, $ ./configure --enable-dri --disable-glx --enable-egl (build libEGL and DRI drivers, but not libGL) Note that this commit still keeps --with-driver for transitional purpose.
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions