aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5396c841..f7620268 100644
--- a/configure.ac
+++ b/configure.ac
@@ -259,9 +259,13 @@ AC_CACHE_CHECK([for native atomic primitives], drm_cv_atomic_primitives, [
259if test "x$drm_cv_atomic_primitives" = xIntel; then 259if test "x$drm_cv_atomic_primitives" = xIntel; then
260 AC_DEFINE(HAVE_LIBDRM_ATOMIC_PRIMITIVES, 1, 260 AC_DEFINE(HAVE_LIBDRM_ATOMIC_PRIMITIVES, 1,
261 [Enable if your compiler supports the Intel __sync_* atomic primitives]) 261 [Enable if your compiler supports the Intel __sync_* atomic primitives])
262else
263 AC_DEFINE(HAVE_LIBDRM_ATOMIC_PRIMITIVES, 0)
262fi 264fi
263if test "x$drm_cv_atomic_primitives" = "xlibatomic-ops"; then 265if test "x$drm_cv_atomic_primitives" = "xlibatomic-ops"; then
264 AC_DEFINE(HAVE_LIB_ATOMIC_OPS, 1, [Enable if you have libatomic-ops-dev installed]) 266 AC_DEFINE(HAVE_LIB_ATOMIC_OPS, 1, [Enable if you have libatomic-ops-dev installed])
267else
268 AC_DEFINE(HAVE_LIB_ATOMIC_OPS, 0)
265fi 269fi
266 270
267dnl Print out the approapriate message considering the value set be the 271dnl Print out the approapriate message considering the value set be the