summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/dri.pc.in
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2008-06-12 06:46:32 -0700
committerDan Nicholson <dbn.lists@gmail.com>2008-06-27 16:25:28 -0700
commitf6da1453c5b4add37518b2e1f27abb02854864f2 (patch)
treeef591423747d806d872d029b59b46b6a25e51b4f /src/mesa/drivers/dri/dri.pc.in
parent985e1cdfe82336d3ce97470eaf98c3c9d54532c8 (diff)
DRI-specific pkg-config file
Since the gl pkg-config file doesn't convey any specifics about the backend in use, this adds a new pkg-config file for when DRI is in use. This can be used by the xserver build to determine if the DRI and/or GLX extensions are appropriate.
Diffstat (limited to 'src/mesa/drivers/dri/dri.pc.in')
-rw-r--r--src/mesa/drivers/dri/dri.pc.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/dri.pc.in b/src/mesa/drivers/dri/dri.pc.in
new file mode 100644
index 00000000000..58d890d0cb6
--- /dev/null
+++ b/src/mesa/drivers/dri/dri.pc.in
@@ -0,0 +1,10 @@
+prefix=@INSTALL_DIR@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/@LIB_DIR@
+includedir=${prefix}/include
+dridriverdir=@DRI_DRIVER_DIR@
+
+Name: dri
+Description: Direct Rendering Infrastructure
+Version: @VERSION@
+Cflags: -I${includedir}