From 06ca14543ee3dc4ed35a98db71b0d4a7aa7d9371 Mon Sep 17 00:00:00 2001
From: Dan Nicholson <dbn.lists@gmail.com>
Date: Mon, 29 Oct 2007 11:21:37 -0700
Subject: Build xdemos programs by default on linux-dri

Since libglut is no longer hardcoded, we can build the xdemos programs
so long as a GLX enabled libGL and libGLU have been built.
---
 configs/linux-dri     | 4 ++--
 configs/linux-dri-xcb | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configs/linux-dri b/configs/linux-dri
index afa2d8ca34..2369f75b07 100644
--- a/configs/linux-dri
+++ b/configs/linux-dri
@@ -55,10 +55,10 @@ USING_EGL=0
 # Directories
 ifeq ($(USING_EGL), 1)
 SRC_DIRS = egl glx/x11 mesa glu glut/glx glw
-PROGRAM_DIRS = egl
+PROGRAM_DIRS = egl xdemos
 else
 SRC_DIRS = glx/x11 mesa glu glut/glx glw
-PROGRAM_DIRS =
+PROGRAM_DIRS = xdemos
 endif
 
 DRIVER_DIRS = dri
diff --git a/configs/linux-dri-xcb b/configs/linux-dri-xcb
index 3db5293ea4..1f233f07f5 100644
--- a/configs/linux-dri-xcb
+++ b/configs/linux-dri-xcb
@@ -55,10 +55,10 @@ USING_EGL=0
 # Directories
 ifeq ($(USING_EGL), 1)
 SRC_DIRS = egl glx/x11 mesa glu glut/glx glw
-PROGRAM_DIRS = egl
+PROGRAM_DIRS = egl xdemos
 else
 SRC_DIRS = glx/x11 mesa glu glut/glx glw
-PROGRAM_DIRS =
+PROGRAM_DIRS = xdemos
 endif
 
 DRIVER_DIRS = dri
-- 
cgit v1.2.3