build: Remove HAVE_PIPE_LOADER_SW.
authorMatt Turner <mattst88@gmail.com>
Mon, 22 Apr 2013 19:10:27 +0000 (12:10 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 30 Apr 2013 21:03:32 +0000 (14:03 -0700)
It guarded the function prototype of pipe_loader_sw_probe, whose use (in
pipe_loader.c) and definition (in pipe_loader_sw.c) were not guarded.
Both are built into libpipe_loader.la if HAVE_LOADER_GALLIUM, which is
enable_gallium_loader in configure.ac.

Tested-by: Tom Stellard <thomas.stellard@amd.com>
Tested-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
configure.ac
src/gallium/auxiliary/pipe-loader/pipe_loader.h

index 6567f36f0dee18e5c16a05b5e9ba39f040084abb..0cdde618dd075ce1c3927433ed790b95e3a373af 100644 (file)
@@ -1913,7 +1913,6 @@ AM_CONDITIONAL(NEED_GALLIUM_LLVMPIPE_DRIVER, test "x$HAVE_GALLIUM_I915" = xyes -
 
 if test "x$enable_gallium_loader" = xyes; then
     GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS sw/null"
-    GALLIUM_PIPE_LOADER_DEFINES="-DHAVE_PIPE_LOADER_SW"
     GALLIUM_PIPE_LOADER_LIBS="\$(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader.la"
 
     if test "x$NEED_WINSYS_XLIB" = xyes; then
index 21a609fce7ebfe57c1ded63dfed367f13e4c7835..444bdf1751f9f2664094e1918e82d7a4a7b942cd 100644 (file)
@@ -99,8 +99,6 @@ pipe_loader_create_screen(struct pipe_loader_device *dev,
 void
 pipe_loader_release(struct pipe_loader_device **devs, int ndev);
 
-#ifdef HAVE_PIPE_LOADER_SW
-
 /**
  * Get a list of known software devices.
  *
@@ -111,8 +109,6 @@ pipe_loader_release(struct pipe_loader_device **devs, int ndev);
 int
 pipe_loader_sw_probe(struct pipe_loader_device **devs, int ndev);
 
-#endif
-
 #ifdef HAVE_PIPE_LOADER_DRM
 
 /**