Code

Removed acconfig.h from EXTRA_DIST
authorJeremy T. Bouse <undrgrid@users.sourceforge.net>
Tue, 11 Mar 2003 07:04:56 +0000 (07:04 +0000)
committerJeremy T. Bouse <undrgrid@users.sourceforge.net>
Tue, 11 Mar 2003 07:04:56 +0000 (07:04 +0000)
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

Makefile.am
configure.in

index 60e4d3c2b37e37a91abf409101926418e6b40b79..39fa032fe52045a21730620d6ce8843a34d823e3 100644 (file)
@@ -3,8 +3,8 @@
 SUBDIRS = lib plugins plugins-scripts
 
 EXTRA_DIST = CODING FAQ LEGAL REQUIREMENTS SUPPORT \
-acconfig.h subst.in subst.sh Helper.pm \
-contrib nagios-plugins.spec.in
+       subst.in subst.sh Helper.pm     \
+       contrib nagios-plugins.spec.in
 
 ACLOCAL_AMFLAGS = -I lib
 
index 8f7f4f9a0ace410d472cbec31b17285073f70753..1cad0d954a98b6094ecf23aea9b954c5d8b66ee6 100644 (file)
@@ -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])