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
5e518475
Commit
5e518475
authored
Sep 02, 2005
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.in:
Back port of code to find the right 'ps' settings
parent
c0ae75c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
configure.in
configure.in
+10
-7
No files found.
configure.in
View file @
5e518475
...
...
@@ -447,30 +447,33 @@ PS=$ac_cv_path_PS
# Linux style
if
$PS
p
$$
2> /dev/null |
grep
$0
>
/dev/null
then
FIND_PROC
=
"
$PS
p
\$\$
PID | grep mysqld > /dev/null"
FIND_PROC
=
"
$PS
p
\$\$
PID | grep
-v grep | grep
mysqld > /dev/null"
# Solaris
elif
$PS
-fp
$$
2> /dev/null |
grep
$0
>
/dev/null
then
FIND_PROC
=
"
$PS
-p
\$\$
PID | grep mysqld > /dev/null"
FIND_PROC
=
"
$PS
-p
\$\$
PID | grep
-v grep | grep
mysqld > /dev/null"
# BSD style
elif
$PS
-uaxww
2> /dev/null |
grep
$0
>
/dev/null
then
FIND_PROC
=
"
$PS
-uaxww | grep mysqld | grep
\"
\$\$
PID
\"
> /dev/null"
FIND_PROC
=
"
$PS
-uaxww | grep
-v grep | grep
mysqld | grep
\"
\$\$
PID
\"
> /dev/null"
# SysV style
elif
$PS
-ef
2> /dev/null |
grep
$0
>
/dev/null
then
FIND_PROC
=
"
$PS
-ef | grep mysqld | grep
\"
\$\$
PID
\"
> /dev/null"
FIND_PROC
=
"
$PS
-ef | grep
-v grep | grep
mysqld | grep
\"
\$\$
PID
\"
> /dev/null"
# Do anybody use this?
elif
$PS
$$
2> /dev/null |
grep
$0
>
/dev/null
then
FIND_PROC
=
"
$PS
\$\$
PID | grep mysqld > /dev/null"
FIND_PROC
=
"
$PS
\$\$
PID | grep
-v grep | grep
mysqld > /dev/null"
else
case
$SYSTEM_TYPE
in
*
freebsd
*
)
FIND_PROC
=
"
$PS
p
\$\$
PID | grep -v grep | grep mysqld > /dev/null"
;;
*
darwin
*
)
FIND_PROC
=
"
$PS
-uaxww | grep mysqld | grep
\"
\$\$
PID
\"
> /dev/null"
FIND_PROC
=
"
$PS
-uaxww | grep
-v grep | grep
mysqld | grep
\"
\$\$
PID
\"
> /dev/null"
;;
*
cygwin
*
)
FIND_PROC
=
"
$PS
-e | grep mysqld | grep
\"
\$\$
PID
\"
> /dev/null"
FIND_PROC
=
"
$PS
-e | grep
-v grep | grep
mysqld | grep
\"
\$\$
PID
\"
> /dev/null"
;;
*
netware
*
|
*
modesto
*
)
FIND_PROC
=
...
...
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