configure: cleanup classic dri drivers handling
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 4 Feb 2014 17:26:38 +0000 (17:26 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 18 Feb 2014 00:00:19 +0000 (00:00 +0000)
commitee55500c22a000d95ef4e5855b150f35ea0b5bba
tree255844304eff486161f5f191e93d7a28275c4dd3
parent35f6eed742fa8d9ede8bd781fbd89a0212815de4
configure: cleanup classic dri drivers handling

* Make sure that only drivers that are handled by configure.ac
are included in DRI_DIRS.
* Change with_dri_drivers default value to auto, and set enable
autodetection, when enable_opengl is on.

v2: Move "test" to the correct location.
v3: Squash DRI_DIRS handling before the switch statement.
Suggested by Ilia Mirkin

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
configure.ac