configure: remove NEED_{SOFT,LLVM}PIPE_DRIVER variables
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 21 Sep 2014 15:39:25 +0000 (16:39 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 24 Sep 2014 09:44:01 +0000 (10:44 +0100)
The respective HAVE_{SOFT,LLVM}PIPE are already descriptive
enough. Additionally the svga modules does not really use either
one, but the auxiliary draw & gallivm modules.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Matt Turner <mattst88@gmail.com>
configure.ac
src/gallium/Makefile.am
src/gallium/targets/dri/Makefile.am
src/gallium/targets/egl-static/Makefile.am

index 0cfe970ea9611834aaab280bb5dd936356cd0d6f..87c616b16855f48b25ae006612bdc2628e1b4a64 100644 (file)
@@ -2068,11 +2068,6 @@ AM_CONDITIONAL(HAVE_GALLIUM_SOFTPIPE, test "x$HAVE_GALLIUM_SOFTPIPE" = xyes)
 AM_CONDITIONAL(HAVE_GALLIUM_LLVMPIPE, test "x$HAVE_GALLIUM_LLVMPIPE" = xyes)
 AM_CONDITIONAL(HAVE_GALLIUM_VC4, test "x$HAVE_GALLIUM_VC4" = xyes)
 
-AM_CONDITIONAL(NEED_GALLIUM_SOFTPIPE_DRIVER, test "x$HAVE_GALLIUM_SVGA" = xyes -o \
-                                                  "x$HAVE_GALLIUM_SOFTPIPE" = xyes)
-AM_CONDITIONAL(NEED_GALLIUM_LLVMPIPE_DRIVER, test "x$HAVE_GALLIUM_SOFTPIPE" = xyes \
-                                                  && test "x$MESA_LLVM" = x1)
-
 AM_CONDITIONAL(HAVE_GALLIUM_STATIC_TARGETS, test "x$enable_shared_pipe_drivers" = xno)
 
 # NOTE: anything using xcb or other client side libs ends up in separate
index 6018e9f725370a73df7645d539e9867bcf20e13e..26ed817bc288a262b65a8b783df8d5a362438d34 100644 (file)
@@ -68,11 +68,11 @@ SUBDIRS += winsys/radeon/drm
 endif
 
 ## swrast/softpipe
-if NEED_GALLIUM_SOFTPIPE_DRIVER
+if HAVE_GALLIUM_SOFTPIPE
 SUBDIRS += drivers/softpipe
 
 ## swrast/llvmpipe
-if NEED_GALLIUM_LLVMPIPE_DRIVER
+if HAVE_GALLIUM_LLVMPIPE
 SUBDIRS += drivers/llvmpipe
 endif
 endif
index 24513584f2913c6cc77e6975f38852a2a1b0d971..fe9624fa301200e56f14ecdd2a6833c646398776 100644 (file)
@@ -98,7 +98,7 @@ STATIC_TARGET_LIB_DEPS += \
 endif
 endif
 
-if NEED_GALLIUM_LLVMPIPE_DRIVER
+if HAVE_GALLIUM_LLVMPIPE
 STATIC_TARGET_CPPFLAGS += -DGALLIUM_LLVMPIPE
 STATIC_TARGET_LIB_DEPS += \
        $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la
index 472eea74b298fcf1d4b7acc78a5114d9b1d5993f..fdb1ba2ced80bff238565936ad9d08c753589126 100644 (file)
@@ -181,7 +181,7 @@ egl_gallium_la_LIBADD += \
        $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la
 endif
 
-if NEED_GALLIUM_LLVMPIPE_DRIVER
+if HAVE_GALLIUM_LLVMPIPE
 egl_gallium_la_CPPFLAGS += -DGALLIUM_LLVMPIPE
 egl_gallium_la_LIBADD += \
        $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la