configure: add HAVE_GALLIUM_STATIC_TARGETS
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 16 May 2014 14:09:26 +0000 (15:09 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 19 Jun 2014 11:46:19 +0000 (12:46 +0100)
Will be used to control the linking mode of pipe-drivers
in gallium targets.

Keep this hardcoded to static, as the pipe-drivers bare
an unstable interface which we do not want to expose to
the normal user.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac

index 9c0c77d3b0a31e2fe325f20a450222fc451af85f..8f861548f808eca10bb6b06900c2915ff78fe868 100644 (file)
@@ -2057,6 +2057,10 @@ AM_CONDITIONAL(NEED_GALLIUM_SOFTPIPE_DRIVER, test "x$HAVE_GALLIUM_SVGA" = xyes -
 AM_CONDITIONAL(NEED_GALLIUM_LLVMPIPE_DRIVER, test "x$HAVE_GALLIUM_SOFTPIPE" = xyes \
                                                   && test "x$MESA_LLVM" = x1)
 
+# Enable static gallium targets for now.
+# Do not touch this unless you know what you are doing.
+AM_CONDITIONAL(HAVE_GALLIUM_STATIC_TARGETS, test "xyes" = xyes)
+
 # NOTE: anything using xcb or other client side libs ends up in separate
 #       _CLIENT variables.  The pipe loader is built in two variants,
 #       one that is standalone and does not link any x client libs (for