summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-09-07 22:04:29 +0200
committerSergei Golubchik <sergii@pisem.net>2014-09-07 22:04:29 +0200
commitefc93eb3d1ec33d9f9357872c70b4044f26e7785 (patch)
tree0661bc68b5c7d2adc13362ab9168cd2f26f18e68 /configure.cmake
parent0835f574891d0afdfe64229d38460128fedfdd38 (diff)
downloadmariadb-git-efc93eb3d1ec33d9f9357872c70b4044f26e7785.tar.gz
typos in cmake -DWITH_ATOMIC_OPS=xxx
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.cmake b/configure.cmake
index 7ec87f6e9a8..d16a82a2309 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -960,7 +960,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
IF(WITH_ATOMIC_OPS STREQUAL "up")
SET(MY_ATOMIC_MODE_DUMMY 1 CACHE BOOL "Assume single-CPU mode, no concurrency")
ELSEIF(WITH_ATOMIC_OPS STREQUAL "rwlocks")
- SET(MY_ATOMIC_MODE_RWLOCK 1 CACHE BOOL "Use pthread rwlocks for atomic ops")
+ SET(MY_ATOMIC_MODE_RWLOCKS 1 CACHE BOOL "Use pthread rwlocks for atomic ops")
ELSEIF(WITH_ATOMIC_OPS STREQUAL "smp")
ELSEIF(NOT WITH_ATOMIC_OPS)
CHECK_CXX_SOURCE_COMPILES("
@@ -992,12 +992,12 @@ ELSE()
ENDIF()
ENDIF()
-SET(WITH_ATOMIC_LOCKS "${WITH_ATOMIC_LOCKS}" CACHE STRING
-"Implement atomic operations using pthread rwlocks or atomic CPU
-instructions for multi-processor or uniprocessor
+SET(WITH_ATOMIC_OPS "${WITH_ATOMIC_OPS}" CACHE STRING
+ "Implement atomic operations using pthread rwlocks (rwlocks); or atomic CPU
+instructions for multi-processor (smp) or uniprocessor (up)
configuration. By default gcc built-in sync functions are used,
if available and 'smp' configuration otherwise.")
-MARK_AS_ADVANCED(WITH_ATOMIC_LOCKS MY_ATOMIC_MODE_RWLOCK MY_ATOMIC_MODE_DUMMY)
+MARK_AS_ADVANCED(WITH_ATOMIC_OPS MY_ATOMIC_MODE_RWLOCK MY_ATOMIC_MODE_DUMMY)
IF(WITH_VALGRIND)
SET(HAVE_valgrind 1)