diff options
| author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-09-24 20:01:44 +0000 |
|---|---|---|
| committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-09-24 20:01:44 +0000 |
| commit | 930d0d9eeb5eeb0a0ae5c23d407b96a4eea6fabe (patch) | |
| tree | 5735ecb856421f72f708a57e8db409036d798032 | |
| parent | 36abe4d0feccc7b5cd20629f95b54d8063a3477e (diff) | |
| download | monitoring-plugins-930d0d9eeb5eeb0a0ae5c23d407b96a4eea6fabe.tar.gz | |
a final change to hardcode the path for where plugins are installed.
it's a very, very ugly hack... if anyone can think of a better way
to do it, i'm all ears.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1240 f882894a-f735-0410-b71e-b25c423dba1c
| -rw-r--r-- | configure.in | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/configure.in b/configure.in index d621ad68..cbc2f3c4 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -601,7 +601,23 @@ 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 | if test "$ac_cv_uname_s" = "SunOS"; then | 603 | if test "$ac_cv_uname_s" = "SunOS"; then |
| 604 | ac_cv_ps_command="pst3" | 604 | # |
| 605 | # this is a very, very ugly hack, to hardcode the location for plugins | ||
| 606 | # | ||
| 607 | if test "$libexecdir" = '${exec_prefix}/libexec'; then | ||
| 608 | if test "$exec_prefix" = "NONE"; then | ||
| 609 | if test "$prefix" = "NONE"; then | ||
| 610 | pst3="$ac_default_prefix/libexec/pst3" | ||
| 611 | else | ||
| 612 | pst3="$prefix/libexec/pst3" | ||
| 613 | fi | ||
| 614 | else | ||
| 615 | pst3="$exec_prefix/libexec/pst3" | ||
| 616 | fi | ||
| 617 | else | ||
| 618 | pst3="$libexecdir/pst3" | ||
| 619 | fi | ||
| 620 | ac_cv_ps_command="$pst3" | ||
| 605 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 621 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
| 606 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 622 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
| 607 | ac_cv_ps_cols=8 | 623 | ac_cv_ps_cols=8 |
