diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-04-04 13:09:15 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-04-04 13:09:15 +0200 |
commit | 2f4d6764d78cf085601b34ac92486405bd11095d (patch) | |
tree | 550601dc79e74fd4c184dc96a95687d1d1238b43 /configure.ac | |
parent | faea5899ba3264581bf75649e4b399d0b69bd125 (diff) | |
parent | 5f16ba81c4af1a05e67806ca989a1dd46248a5fd (diff) | |
download | monitoring-plugins-2f4d6764d78cf085601b34ac92486405bd11095d.tar.gz |
Merge branch 'master' into feature_check_curl
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d50e4e9a..4ce14094 100644 --- a/configure.ac +++ b/configure.ac @@ -1053,6 +1053,10 @@ if test -n "$ac_cv_ps_varlist" ; then AC_DEFINE(PS_USES_PROCETIME,"yes", [Whether the ps utility uses the "procetime" field]) fi + if echo "$ac_cv_ps_varlist" | grep "procpcpu" >/dev/null; then + AC_DEFINE(PS_USES_PROCPCPU,"yes", + [Whether the ps utility uses the "procpcpu" field]) + fi fi AC_PATH_PROG(PATH_TO_PING,ping) |