Code

use test instead of '[ ... ]' in configure.in. the check_procs/pst3
[nagiosplug.git] / configure.in
index 176a8e2267bb543e203462035b45ec4e65f686f1..d621ad685346309fa1a1566e12fca98604386982 100644 (file)
@@ -600,8 +600,8 @@ AC_PATH_PROG(PATH_TO_PS,ps)
 AC_MSG_CHECKING(for ps syntax)
 
 dnl Now using the pst3/kmem hack for solaris systems to avoid truncation
-if [ "$ac_cv_uname_s" = "SunOS" ]; then
-       ac_cv_ps_command="$prefix/pst3"
+if test "$ac_cv_uname_s" = "SunOS"; then
+       ac_cv_ps_command="pst3"
        ac_cv_ps_format="%s %d %d %d %d %f %s %n"
        ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]"
        ac_cv_ps_cols=8