summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAkihiko Odaki <[email protected]>2016-06-26 10:54:35 +0900
committerEmil Velikov <[email protected]>2016-07-07 15:58:11 +0100
commit42968424fb4100f2035badf236b005cc8d62a592 (patch)
treea7e85373a756ccfeb0a559d6306a2fe74d193ab8 /configure.ac
parent7a9d6abcae63a6f837fa161246ecf1f14840e77b (diff)
mesa: don't install GLX files if GLX is not built
Cc: "11.2 12.0" <[email protected]> Signed-off-by: Akihiko Odaki <[email protected]> [Emil Velikov: Drop guards around dri_interface.h, add stable tag] Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c2525d3bebd..367e9b59c2c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1060,6 +1060,7 @@ xno)
;;
esac
+AM_CONDITIONAL(HAVE_GLX, test "x$enable_glx" != xno)
AM_CONDITIONAL(HAVE_DRI_GLX, test "x$enable_glx" = xdri)
AM_CONDITIONAL(HAVE_XLIB_GLX, test "x$enable_glx" = xxlib)
AM_CONDITIONAL(HAVE_GALLIUM_XLIB_GLX, test "x$enable_glx" = xgallium-xlib)