configure: disable shared glapi when building xlib powered glx
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 27 Feb 2014 18:03:15 +0000 (18:03 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 4 Mar 2014 02:13:14 +0000 (02:13 +0000)
commit1bb23abe0659559ec95d6d20cdcfc67b48619286
tree7448aff56667623f61396bd27d8670d307d33d21
parent1e3bdb35a686bbc9665c610c942ec2c1353f2ebc
configure: disable shared glapi when building xlib powered glx

With commit 0432aa064b(configure: use shared-glapi when more than one
gl* API is used) we removed "disable shared-glapi when building without
dri" hunk.

In the good old days of classic mesa, dri and xlib-glx were mutually
exclusive thus the hunk made sense.

Currently enable-dri is used as a synonym for a range of things thus
it's more appropriate to handle xlib-glx explicitly.

Fixes a missing symbol '_glapi_Dispatch' in a xlib powered libGL,
build using the following

 ./autogen.sh --enable-xlib-glx --disable-dri --with-gallium-drivers=swrast

Cc: Brian Paul <brianp@vmware.com>
Reported-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac