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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6e0fc8e8
Commit
6e0fc8e8
authored
Mar 31, 2010
by
sbains
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/innodb+: Add check for libaio on Linux.
parent
5850b0ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
CMakeLists.txt
CMakeLists.txt
+6
-0
No files found.
CMakeLists.txt
View file @
6e0fc8e8
...
...
@@ -22,7 +22,13 @@ INCLUDE(CheckCSourceRuns)
# OS tests
IF
(
UNIX
)
IF
(
CMAKE_SYSTEM_NAME STREQUAL
"Linux"
)
CHECK_INCLUDE_FILES
(
libaio.h HAVE_LIBAIO_H
)
CHECK_LIBRARY_EXISTS
(
aio io_queue_init
""
HAVE_LIBAIO
)
ADD_DEFINITIONS
(
"-DUNIV_LINUX -D_GNU_SOURCE=1"
)
IF
(
HAVE_LIBAIO_H AND HAVE_LIBAIO
)
ADD_DEFINITIONS
(
-DLINUX_NATIVE_AIO=1
)
LINK_LIBRARIES
(
aio
)
ENDIF
()
ELSEIF
(
CMAKE_SYSTEM_NAME MATCHES
"HP*"
)
ADD_DEFINITIONS
(
"-DUNIV_HPUX -DUNIV_MUST_NOT_INLINE"
)
ELSEIF
(
CMAKE_SYSTEM_NAME STREQUAL
"AIX"
)
...
...
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