Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2b017367
Commit
2b017367
authored
Jul 13, 2021
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete unused MYSQL_CHECK_{LZ4|LZO}_STATIC macros
parent
4c387945
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
36 deletions
+0
-36
storage/innobase/lz4.cmake
storage/innobase/lz4.cmake
+0
-20
storage/innobase/lzo.cmake
storage/innobase/lzo.cmake
+0
-16
No files found.
storage/innobase/lz4.cmake
View file @
2b017367
...
...
@@ -34,23 +34,3 @@ MACRO (MYSQL_CHECK_LZ4)
ENDIF
()
ENDIF
()
ENDMACRO
()
MACRO
(
MYSQL_CHECK_LZ4_STATIC
)
IF
(
WITH_INNODB_LZ4 STREQUAL
"ON"
OR WITH_INNODB_LZ4 STREQUAL
"AUTO"
)
CHECK_INCLUDE_FILES
(
lz4.h HAVE_LZ4_H
)
CHECK_LIBRARY_EXISTS
(
liblz4.a LZ4_compress_limitedOutput
""
HAVE_LZ4_LIB
)
CHECK_LIBRARY_EXISTS
(
liblz3.a LZ4_compress_default
""
HAVE_LZ4_COMPRESS_DEFAULT
)
IF
(
HAVE_LZ4_LIB AND HAVE_LZ4_H
)
ADD_DEFINITIONS
(
-DHAVE_LZ4=1
)
IF
(
HAVE_LZ4_COMPRESS_DEFAULT
)
ADD_DEFINITIONS
(
-DHAVE_LZ4_COMPRESS_DEFAULT=1
)
ENDIF
()
LINK_LIBRARIES
(
liblz4.a
)
ELSE
()
IF
(
WITH_INNODB_LZ4 STREQUAL
"ON"
)
MESSAGE
(
FATAL_ERROR
"Required lz4 library is not found"
)
ENDIF
()
ENDIF
()
ENDIF
()
ENDMACRO
()
storage/innobase/lzo.cmake
View file @
2b017367
...
...
@@ -15,22 +15,6 @@
SET
(
WITH_INNODB_LZO AUTO CACHE STRING
"Build with lzo. Possible values are 'ON', 'OFF', 'AUTO' and default is 'AUTO'"
)
MACRO
(
MYSQL_CHECK_LZO_STATIC
)
IF
(
WITH_INNODB_LZO STREQUAL
"ON"
OR WITH_INNODB_LZO STREQUAL
"AUTO"
)
CHECK_INCLUDE_FILES
(
lzo/lzo1x.h HAVE_LZO_H
)
CHECK_LIBRARY_EXISTS
(
liblzo2.a lzo1x_1_compress
""
HAVE_LZO_LIB
)
IF
(
HAVE_LZO_LIB AND HAVE_LZO_H
)
ADD_DEFINITIONS
(
-DHAVE_LZO=1
)
LINK_LIBRARIES
(
liblzo2.a
)
ELSE
()
IF
(
WITH_INNODB_LZO STREQUAL
"ON"
)
MESSAGE
(
FATAL_ERROR
"Required lzo library is not found"
)
ENDIF
()
ENDIF
()
ENDIF
()
ENDMACRO
()
MACRO
(
MYSQL_CHECK_LZO
)
IF
(
WITH_INNODB_LZO STREQUAL
"ON"
OR WITH_INNODB_LZO STREQUAL
"AUTO"
)
CHECK_INCLUDE_FILES
(
lzo/lzo1x.h HAVE_LZO_H
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment