diff options
-rw-r--r-- | configure.ac | 4 |
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, [ | |||
259 | if test "x$drm_cv_atomic_primitives" = xIntel; then | 259 | if 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]) |
262 | else | ||
263 | AC_DEFINE(HAVE_LIBDRM_ATOMIC_PRIMITIVES, 0) | ||
262 | fi | 264 | fi |
263 | if test "x$drm_cv_atomic_primitives" = "xlibatomic-ops"; then | 265 | if 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]) |
267 | else | ||
268 | AC_DEFINE(HAVE_LIB_ATOMIC_OPS, 0) | ||
265 | fi | 269 | fi |
266 | 270 | ||
267 | dnl Print out the approapriate message considering the value set be the | 271 | dnl Print out the approapriate message considering the value set be the |