configure.ac: default to disabled dri3 when --disable-dri is set
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 22 Nov 2015 22:05:01 +0000 (22:05 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 23 Nov 2015 12:08:04 +0000 (12:08 +0000)
commitb89d1b2ccf16c0bee3708560b69e99b6dbb212f0
tree7a6ee2f30f76d2cddc55fd31d42f33acd9823a09
parentb9b0a1f58e41ba4027a16300393835dc8c632f50
configure.ac: default to disabled dri3 when --disable-dri is set

Not too long ago, the dri3 code was living in src/glx, which in itself
was guarded by HAVE_DRI_GLX. As the name suggests we didn't dive into
the folder when dri was disabled, thus we missed that dri3 does not
consider/honour --enable-dri.

Cc: mesa-stable@lists.freedesktop.org
Fixes: 6bd9ba7d074 "loader: Add dri3 helper"
Cc: Pali Rohár <pali.rohar@gmail.com>
Reported-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac