summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorGalina Shalygina <galashalygina@gmail.com>2016-05-08 23:04:41 +0300
committerGalina Shalygina <galashalygina@gmail.com>2016-05-08 23:04:41 +0300
commitbe1d06c8a5f843e775374e5ec148aaee56970bdc (patch)
treebd7a95e771ca3b405583dccab8b468dd6fb4509f /configure.cmake
parente09b1f2a226bf2763b211f74908a6486b83ebed1 (diff)
downloadmariadb-git-be1d06c8a5f843e775374e5ec148aaee56970bdc.tar.gz
Merge branch '10.2' into 10.2-mdev9864
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index 294c5e24ca8..4470bee3223 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -784,6 +784,17 @@ IF(NOT CMAKE_CROSSCOMPILING AND NOT MSVC)
}
" HAVE_FAKE_PAUSE_INSTRUCTION)
ENDIF()
+ IF (NOT HAVE_PAUSE_INSTRUCTION)
+ CHECK_C_SOURCE_COMPILES("
+ #include <sys/platform/ppc.h>
+ int main()
+ {
+ __ppc_set_ppr_low();
+ __ppc_set_ppr_med();
+ return 0;
+ }
+ " HAVE_HMT_PRIORITY_INSTRUCTION)
+ ENDIF()
ENDIF()
CHECK_SYMBOL_EXISTS(tcgetattr "termios.h" HAVE_TCGETATTR 1)