diff options
author | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-03-11 07:04:56 +0000 |
---|---|---|
committer | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-03-11 07:04:56 +0000 |
commit | 261b267e0965febb4f41237d79d7cb580a4fc029 (patch) | |
tree | 74e713b0393f027daa7f3c475c4f9ae5eb12296a /configure.in | |
parent | f92835063a238a85cf8ef0cb3ac67f649ab35ebd (diff) | |
download | monitoring-plugins-261b267e0965febb4f41237d79d7cb580a4fc029.tar.gz |
Removed acconfig.h from EXTRA_DIST
Fixed problem with test in SWAP_FORMAT and SWAP_COMMAND
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@393 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/configure.in b/configure.in index 8f7f4f9a..1cad0d95 100644 --- a/configure.in +++ b/configure.in @@ -1165,7 +1165,7 @@ else AC_MSG_WARN([Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin]) fi -if test x$ac_cv_path_to_qstat != x +if test $ac_cv_path_to_qstat then AC_DEFINE_UNQUOTED(PATH_TO_QSTAT,"$ac_cv_path_to_qstat", [path to qstat/quakestat]) @@ -1262,16 +1262,13 @@ then AC_MSG_RESULT([using HP-UX format swapinfo]) fi -if test x$ac_cv_have_swap != x +if test x$ac_cv_have_swap != x then AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found]) fi -if test x$ac_cv_swap_format != x -then - AC_DEFINE_UNQUOTED(SWAP_FORMAT,"$ac_cv_swap_format", - [Format string for parsing swap output]) -fi -if test x$ac_cv_swap_command != x +AC_DEFINE_UNQUOTED(SWAP_FORMAT,"$ac_cv_swap_format", + [Format string for parsing swap output]) +if test "x$ac_cv_swap_command" != "x" then AC_DEFINE_UNQUOTED(SWAP_COMMAND,"$ac_cv_swap_command", [Path to swap/swapinfo binary, with any args]) |