diff --git a/config.h.cmake b/config.h.cmake index 35def230d3b8..9dbb0b16fce8 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -178,6 +178,7 @@ #cmakedefine HAVE_GCC_SYNC_BUILTINS 1 #cmakedefine HAVE_VALGRIND #cmakedefine HAVE_PERCONA_TELEMETRY +#cmakedefine HAVE_PERCONA_PROBUILD #cmakedefine HAVE_SYS_GETTID 1 #cmakedefine HAVE_PTHREAD_GETTHREADID_NP 1 #cmakedefine HAVE_PTHREAD_THREADID_NP 1 diff --git a/configure.cmake b/configure.cmake index c21c40d1b8db..567f56568f72 100644 --- a/configure.cmake +++ b/configure.cmake @@ -556,6 +556,11 @@ IF(WITH_PERCONA_TELEMETRY) SET(HAVE_PERCONA_TELEMETRY 1) ENDIF() +IF(WITH_PERCONA_PROBUILD OR PROBUILD) + SET(MYSQL_SERVER_SUFFIX "-pro") + SET(HAVE_PERCONA_PROBUILD 1) +ENDIF() + # Check for gettid() system call CHECK_C_SOURCE_COMPILES(" #include