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
c43749cb
Commit
c43749cb
authored
Jul 06, 2009
by
vasil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip:
Remove unnecessary quotes and simplify plug.in.
parent
900f489a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
plug.in
plug.in
+13
-9
No files found.
plug.in
View file @
c43749cb
...
...
@@ -124,27 +124,31 @@ MYSQL_PLUGIN_ACTIONS(innobase, [
])
])
# Check for x86 PAUSE instruction
AC_MSG_CHECKING
(
"for x86 PAUSE instruction"
)
AC_MSG_CHECKING
(
for
x86
PAUSE
instruction
)
# We have to actually try running the test program, because of a bug
# in Solaris on x86_64, where it wrongly reports that PAUSE is not
# supported when trying to run an application. See
# http://bugs.opensolaris.org/bugdatabase/printableBug.do?bug_id=6478684
# We use ib_ prefix to avoid collisoins if this code is added to
# mysql's configure.in.
AC_TRY_RUN
([
AC_TRY_RUN
(
[
int
main
() {
__
asm__
__
volatile__
(
"pause"
);
return
(
0
);
}
],
[
ib_x86_pause_exists
=
yes
],
[
ib_x86_pause_exists
=
no
],
[
ib_x86_pause_exists
=
no
]
# Cross-compile, assume no PAUSE instruction
)
if
test
"$ib_x86_pause_exists"
=
"yes"
then
[
AC_DEFINE
([
IB_HAVE_PAUSE_INSTRUCTION
], [
1
], [
Does
x86
PAUSE
instruction
exist
])
fi
AC_MSG_RESULT
(
yes
)
],
[
AC_MSG_RESULT
(
no
)
],
[
AC_MSG_RESULT
(
no
)
]
)
])
# vim: set ft=config:
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