summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@sun.com>2010-01-14 18:42:28 +0000
committerVladislav Vaintroub <wlad@sun.com>2010-01-14 18:42:28 +0000
commit4bf1d5b5dd4b18ee44ee65f1e444c011e7b6ddb4 (patch)
tree84e51a69385d37ee82296290c8f45e10de76402e /configure.cmake
parent6e7a75bf5f4e5d6a009a320c0f79e3a469fbc521 (diff)
downloadmariadb-git-4bf1d5b5dd4b18ee44ee65f1e444c011e7b6ddb4.tar.gz
Post-merge fixes , define HAVE_RWLOCK_T on Solaris define
DISABLE_MYSQL_THREAD_H for strings Also, enable unittests for perfschema
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index 244fa1e0e9e..f9f302d9ee9 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -177,6 +177,10 @@ ELSEIF(CMAKE_SYSTEM MATCHES "HP-UX" AND CMAKE_SYSTEM MATCHES "11")
ADD_DEFINITIONS(-DHPUX11)
ENDIF()
+IF(CMAKE_SYSTEM_NAME MATCHES "SunOS")
+ ADD_DEFINITIONS(-DHAVE_RWLOCK_T)
+ENDIF()
+
# Disable warnings in Visual Studio 8 and above
IF(MSVC AND NOT CMAKE_GENERATOR MATCHES "Visual Studio 7")
#TODO: update the code and remove the disabled warnings