summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-07-05 16:37:42 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-08-04 10:45:20 +0400
commit9c2215e022c325599bd1b66d1f2214529fb99a24 (patch)
tree03aff125ec9f83a01c813badc4988f821416c724 /config.h.cmake
parent86975e0492c03535271aea67e0b5e7e8fd0b1b78 (diff)
downloadmariadb-git-9c2215e022c325599bd1b66d1f2214529fb99a24.tar.gz
MDEV-9872 - Add common optimized CRC32 function interface
Move crc32-vpmsum to extra. Compile static crc32-vpmsum instead of adding sources directly. Make use of crc32-vpmsum via my_checksum(). Based on contribution by Daniel Black.
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index f35e33ebe1a..00aa03483ee 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -105,6 +105,8 @@
/* Libraries */
#cmakedefine HAVE_LIBWRAP 1
#cmakedefine HAVE_SYSTEMD 1
+#cmakedefine HAVE_CRC32_VPMSUM 1
+
/* Does "struct timespec" have a "sec" and "nsec" field? */
#cmakedefine HAVE_TIMESPEC_TS_SEC 1