summaryrefslogtreecommitdiffstats
path: root/configs/autoconf.in
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2007-12-05 18:47:01 -0800
committerDan Nicholson <[email protected]>2007-12-07 14:34:27 -0800
commit44d9914b29f1e27080756600b462d852d631d788 (patch)
tree80f6c7e50df204434832076f8b09f32ec0056448 /configs/autoconf.in
parent72796238f86a5a1d964ed25572b69cee311e38c2 (diff)
autoconf: Add support for shared DRI build on linux and freebsd
Added autoconf bits to allow using DRI as the driver through the option --with-dri-driver=DRIVER. The options are x11 (default) and dri. Three DRI specific options for controlling the driver directory, direct rendering and TLS are also added. The DRI will probably not work for platforms besides linux and freebsd.
Diffstat (limited to 'configs/autoconf.in')
-rw-r--r--configs/autoconf.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/configs/autoconf.in b/configs/autoconf.in
index 99f7b89a91c..8cb1ba75b8d 100644
--- a/configs/autoconf.in
+++ b/configs/autoconf.in
@@ -63,6 +63,11 @@ DRIVER_DIRS = @DRIVER_DIRS@
# Which subdirs under $(TOP)/progs/ to enter:
PROGRAM_DIRS = @PROGRAM_DIRS@
+# Driver specific build vars
+DRI_DIRS = @DRI_DIRS@
+WINDOW_SYSTEM = @WINDOW_SYSTEM@
+USING_EGL = @USING_EGL@
+
# Dependencies
X11_INCLUDES = @X11_INCLUDES@
@@ -78,6 +83,12 @@ GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) @GLW_MESA_DEPS@ \
$(EXTRA_LIB_PATH) @GLW_LIB_DEPS@
APP_LIB_DEPS = $(EXTRA_LIB_PATH) @APP_LIB_DEPS@
+# DRI dependencies
+DRI_LIB_DEPS = $(EXTRA_LIB_PATH) @DRI_LIB_DEPS@
+LIBDRM_CFLAGS = @LIBDRM_CFLAGS@
+LIBDRM_LIB = @LIBDRM_LIBS@
+EXPAT_INCLUDES = @EXPAT_INCLUDES@
+
# Autoconf directories
prefix = @prefix@
exec_prefix = @exec_prefix@
@@ -85,3 +96,9 @@ libdir = @libdir@
# Installation directories (for make install)
INSTALL_DIR = $(prefix)
+
+# DRI installation directories
+DRI_DRIVER_INSTALL_DIR = @DRI_DRIVER_INSTALL_DIR@
+
+# Where libGL will look for DRI hardware drivers
+DRI_DRIVER_SEARCH_DIR = $(DRI_DRIVER_INSTALL_DIR)