diff options
author | Matt Turner <[email protected]> | 2012-08-21 22:26:52 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-08-24 11:08:19 -0700 |
commit | 8cdce6c136799aa75310086c078d8cd5f19b84ce (patch) | |
tree | 357f65d39569b38b9e1736b4794bf96c7e3c2653 /configure.ac | |
parent | 00f3d9b11acd366329c347e4797b8af3437fcfe6 (diff) |
build: Only build libmesa.la when needed
Namely, for Xlib-GLX, OSMesa, or test programs.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4a59e195ef5..59e8874464e 100644 --- a/configure.ac +++ b/configure.ac @@ -699,6 +699,8 @@ if test "x$enable_glx" = xyes -a \ fi AM_CONDITIONAL(HAVE_DRI, test "x$enable_dri" = xyes) +AM_CONDITIONAL(NEED_LIBMESA, test "x$enable_xlib_glx" = xyes -o \ + "x$enable_osmesa" = xyes) AC_ARG_ENABLE([shared-glapi], [AS_HELP_STRING([--enable-shared-glapi], |