configure.in remove some stray warning messages for failed tests

safe_mysqld.sh	remove some stray warning messages for failed tests
parent 9fcc7174
...@@ -341,13 +341,13 @@ AC_PATH_PROG(KILL, kill, kill) ...@@ -341,13 +341,13 @@ AC_PATH_PROG(KILL, kill, kill)
AC_MSG_CHECKING("for kill switches") AC_MSG_CHECKING("for kill switches")
if $ac_cv_path_KILL -0 $$ if $ac_cv_path_KILL -0 $$
then then
CHECK_PID="$ac_cv_path_KILL -0 \$\$PID" CHECK_PID="$ac_cv_path_KILL -0 \$\$PID > /dev/null 2>&1"
elif kill -s 0 $$ elif kill -s 0 $$
then then
CHECK_PID="$ac_cv_path_KILL -s 0 \$\$PID" CHECK_PID="$ac_cv_path_KILL -s 0 \$\$PID > /dev/null 2>&1"
else else
AC_MSG_WARN([kill -0 to check for pid seems to fail]) AC_MSG_WARN([kill -0 to check for pid seems to fail])
CHECK_PID="$ac_cv_path_KILL -s SIGCONT \$\$PID" CHECK_PID="$ac_cv_path_KILL -s SIGCONT \$\$PID > /dev/null 2>&1"
fi fi
AC_SUBST(CHECK_PID) AC_SUBST(CHECK_PID)
AC_MSG_RESULT("$CHECK_PID") AC_MSG_RESULT("$CHECK_PID")
......
...@@ -88,11 +88,11 @@ then ...@@ -88,11 +88,11 @@ then
fi fi
NOHUP_NICENESS=`nohup nice` NOHUP_NICENESS=`nohup nice 2>&1`
if test $? -ne 0 || test x"$NOHUP_NICENESS" = x0 || test ! nice --1 echo foo > /dev/null 2>&1; then if test $? -eq 0 && test x"$NOHUP_NICENESS" != x0 && nice --1 echo foo > /dev/null 2>&1; then
NOHUP_NICENESS="nohup"
else
NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup" NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"
else
NOHUP_NICENESS="nohup"
fi fi
export MYSQL_UNIX_PORT export MYSQL_UNIX_PORT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment