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
commitcd45a44180766c93d7e58609a102e813c32735ba (patch)
tree84e51a69385d37ee82296290c8f45e10de76402e /configure.cmake
parent6b6f0ca461f625267738ba646a8ff869fec93801 (diff)
downloadmariadb-git-cd45a44180766c93d7e58609a102e813c32735ba.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