Mesa (master): configure.ac: Add HAVE_OPENCL AM_CONDITIONAL v2

Tom Stellard tstellar at kemper.freedesktop.org
Fri Jun 1 16:24:53 UTC 2012


Module: Mesa
Branch: master
Commit: d85e5123745e1657a63eba8912d56d82295e2c7d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d85e5123745e1657a63eba8912d56d82295e2c7d

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Fri Apr 20 14:46:45 2012 -0400

configure.ac: Add HAVE_OPENCL AM_CONDITIONAL v2

v2:
  - Drop HAVE_OPENCL variable for non-automake builds
  - s/HAVE_OPENCL/HAVE_GALLIUM_COMPUTE

Reviewed-by: Francisco Jerez <currojerez at riseup.net>

---

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9fb8149..06fc2de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2080,6 +2080,7 @@ AM_CONDITIONAL(NEED_RADEON_GALLIUM, test x$NEED_RADEON_GALLIUM = xyes)
 AM_CONDITIONAL(USE_R600_LLVM_COMPILER, test x$USE_R600_LLVM_COMPILER = xyes)
 AM_CONDITIONAL(HAVE_LOADER_GALLIUM, test x$enable_gallium_loader = xyes)
 AM_CONDITIONAL(HAVE_DRM_LOADER_GALLIUM, test x$enable_gallium_drm_loader = xyes)
+AM_CONDITIONAL(HAVE_GALLIUM_COMPUTE, test x$enable_opencl = xyes)
 AC_SUBST([GALLIUM_MAKE_DIRS])
 
 AM_CONDITIONAL(HAVE_X11_DRIVER, echo "$DRIVER_DIRS" | grep 'x11' >/dev/null 2>&1)




More information about the mesa-commit mailing list