$NetBSD: patch-ac,v 1.1 1999/05/10 19:57:41 tv Exp $

--- configure.orig	Mon May 10 16:01:58 1999
+++ configure	Mon May 10 16:02:10 1999
@@ -2200,7 +2200,7 @@
 echo "configure:2201: checking "how to check if pid exists"" >&5
 PS=$ac_cv_path_PS
 # Linux style
-if $PS p $$ 2> /dev/null | grep $0 > /dev/null
+if $PS p $$ 2> /dev/null | grep sh > /dev/null
 then
   FIND_PROC="$PS p \$\$PID | grep mysqld > /dev/null"
 # Solaris
