configure: use shared-glapi when more than one gl* API is used
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 19 Feb 2014 00:54:04 +0000 (00:54 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 21 Feb 2014 22:48:50 +0000 (22:48 +0000)
commit0432aa064bf5d4d0ad8fc3c4d648b8feb238ddfa
treed58d5d26337d9b005c42729576357f7477f962d3
parent9eae750317b52d05448ec327ec7499908a4653cf
configure: use shared-glapi when more than one gl* API is used

Current behaviour states that shared-glapi is usefull when building
with dri, which is not the case. Shared-glapi is used to dispatch
the gl* functions across the one or more gl api's which can be dri
based but do not need to be.

Fixed the following build

 ./configure --enable-gles2 --disable-dri --enable-gallium-egl \
      --with-egl-platforms=fbdev --with-gallium-drivers=swrast

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75098
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
configure.ac