diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-06 12:12:47 +0000 |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-06 12:12:47 +0000 |
commit | 3f6257d7179977a87e6ca79bf69d7e2034102b32 (patch) | |
tree | b3688134e8818147a323cb5d0be4e4b9517e5e08 /configure.in | |
parent | ed23bb9c8cdb8503dcad4ce8301ae76305f4c543 (diff) | |
download | monitoring-plugins-3f6257d7179977a87e6ca79bf69d7e2034102b32.tar.gz |
whoops. now using automake conditionals to prevent attempted compiles
of pst3 on non solaris systems.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1242 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index cbc2f3c4..a2666826 100644 --- a/configure.in +++ b/configure.in | |||
@@ -600,6 +600,7 @@ AC_PATH_PROG(PATH_TO_PS,ps) | |||
600 | AC_MSG_CHECKING(for ps syntax) | 600 | AC_MSG_CHECKING(for ps syntax) |
601 | 601 | ||
602 | dnl Now using the pst3/kmem hack for solaris systems to avoid truncation | 602 | dnl Now using the pst3/kmem hack for solaris systems to avoid truncation |
603 | AM_CONDITIONAL(WANT_PST3, false) | ||
603 | if test "$ac_cv_uname_s" = "SunOS"; then | 604 | if test "$ac_cv_uname_s" = "SunOS"; then |
604 | # | 605 | # |
605 | # this is a very, very ugly hack, to hardcode the location for plugins | 606 | # this is a very, very ugly hack, to hardcode the location for plugins |
@@ -622,6 +623,7 @@ if test "$ac_cv_uname_s" = "SunOS"; then | |||
622 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 623 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
623 | ac_cv_ps_cols=8 | 624 | ac_cv_ps_cols=8 |
624 | AC_MSG_RESULT([using nagios-plugins internal ps for solaris]) | 625 | AC_MSG_RESULT([using nagios-plugins internal ps for solaris]) |
626 | AM_CONDITIONAL(WANT_PST3, true) | ||
625 | 627 | ||
626 | dnl Some gnu/linux systems (debian for one) don't like -axwo and need axwo. | 628 | dnl Some gnu/linux systems (debian for one) don't like -axwo and need axwo. |
627 | dnl so test for this first... | 629 | dnl so test for this first... |