From: Tom Stellard Date: Fri, 20 Apr 2012 18:46:45 +0000 (-0400) Subject: configure.ac: Add HAVE_OPENCL AM_CONDITIONAL v2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d85e5123745e1657a63eba8912d56d82295e2c7d;p=mesa.git 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 --- diff --git a/configure.ac b/configure.ac index 9fb81490159..06fc2de39bd 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)