diff options
author | unknown <joerg@mysql.com> | 2005-09-08 11:04:43 +0200 |
---|---|---|
committer | unknown <joerg@mysql.com> | 2005-09-08 11:04:43 +0200 |
commit | 796f5e00451d16f8be464722be9d5b00890366fc (patch) | |
tree | 756b3da507ec3ed81ee3a76cab3ea3807bd04e6b /configure.in | |
parent | 1f776a5a45f84dfb4c4e28ef618d7edf1ab048de (diff) | |
parent | a46d6b0c0c05b5c6275abec1bd861105bd5b88f6 (diff) | |
download | mariadb-git-796f5e00451d16f8be464722be9d5b00890366fc.tar.gz |
Merge mysql.com:/M40/clone-4.0 into mysql.com:/M40/upward-4.0
configure.in:
Auto merged
include/my_global.h:
Auto merged
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/configure.in b/configure.in index c473fb21dbd..a9ac26a3579 100644 --- a/configure.in +++ b/configure.in @@ -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= |