diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-09-22 12:10:19 +0000 |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-09-22 12:10:19 +0000 |
commit | 36abe4d0feccc7b5cd20629f95b54d8063a3477e (patch) | |
tree | 28d08a308973315832977ac8b4442620a3ff4f0c | |
parent | 5163656fe8b96a98def934c2fb4a8529fe3a7489 (diff) | |
download | monitoring-plugins-36abe4d0feccc7b5cd20629f95b54d8063a3477e.tar.gz |
use test instead of '[ ... ]' in configure.in. the check_procs/pst3
situation is still not quite fixed.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1239 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 176a8e22..d621ad68 100644 --- a/configure.in +++ b/configure.in @@ -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 |