st/dri: build the drm backend when libdrm is present
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 1 Mar 2014 13:45:21 +0000 (13:45 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Mar 2014 12:50:44 +0000 (12:50 +0000)
Prevent build issues on systems lacking libdrm.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
src/gallium/state_trackers/dri/Makefile.am

index 485627cc5ea297e715503666b4b5fb9285b9920b..9428b555512210faf20937d9de9fbc8c68029241 100644 (file)
@@ -20,4 +20,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 # DEALINGS IN THE SOFTWARE.
 
-SUBDIRS = drm sw
+SUBDIRS = sw
+
+if HAVE_LIBDRM
+SUBDIRS += drm
+endif