diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-03-18 08:50:27 (GMT) |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-03-18 08:50:27 (GMT) |
commit | c67bd09ce332477f1c00496e02a3c775d530844a (patch) | |
tree | 757f7ea9b23a6bc63161abe7870df8a7e12413ea /lib | |
parent | 68050d0b0481035ad8aacc7711a0abc5f2ba9d29 (diff) | |
download | monitoring-plugins-c67bd09ce332477f1c00496e02a3c775d530844a.tar.gz |
use AC_DEFINE_UNQOUTED
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@434 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib')
-rw-r--r-- | lib/afs.m4 | 2 | ||||
-rw-r--r-- | lib/ls-mntd-fs.m4 | 20 |
2 files changed, 11 insertions, 11 deletions
@@ -3,7 +3,7 @@ | |||
3 | AC_DEFUN(jm_AFS, | 3 | AC_DEFUN(jm_AFS, |
4 | AC_MSG_CHECKING(for AFS) | 4 | AC_MSG_CHECKING(for AFS) |
5 | if test -d /afs; then | 5 | if test -d /afs; then |
6 | AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.]) | 6 | AC_DEFINE_UNQUOTED(AFS, 1, [Define if you have the Andrew File System.]) |
7 | ac_result=yes | 7 | ac_result=yes |
8 | else | 8 | else |
9 | ac_result=no | 9 | ac_result=no |
diff --git a/lib/ls-mntd-fs.m4 b/lib/ls-mntd-fs.m4 index b13198c..ec13e96 100644 --- a/lib/ls-mntd-fs.m4 +++ b/lib/ls-mntd-fs.m4 | |||
@@ -45,7 +45,7 @@ yes | |||
45 | AC_MSG_RESULT($fu_cv_sys_mounted_cray_listmntent) | 45 | AC_MSG_RESULT($fu_cv_sys_mounted_cray_listmntent) |
46 | if test $fu_cv_sys_mounted_cray_listmntent = yes; then | 46 | if test $fu_cv_sys_mounted_cray_listmntent = yes; then |
47 | ac_list_mounted_fs=found | 47 | ac_list_mounted_fs=found |
48 | AC_DEFINE(MOUNTED_LISTMNTENT, 1, | 48 | AC_DEFINE_UNQUOTED(MOUNTED_LISTMNTENT, 1, |
49 | [Define if there is a function named listmntent that can be used to | 49 | [Define if there is a function named listmntent that can be used to |
50 | list all mounted filesystems. (UNICOS)]) | 50 | list all mounted filesystems. (UNICOS)]) |
51 | fi | 51 | fi |
@@ -66,7 +66,7 @@ if test $ac_cv_func_getmntent = yes; then | |||
66 | AC_MSG_RESULT($fu_cv_sys_mounted_getmntent1) | 66 | AC_MSG_RESULT($fu_cv_sys_mounted_getmntent1) |
67 | if test $fu_cv_sys_mounted_getmntent1 = yes; then | 67 | if test $fu_cv_sys_mounted_getmntent1 = yes; then |
68 | ac_list_mounted_fs=found | 68 | ac_list_mounted_fs=found |
69 | AC_DEFINE(MOUNTED_GETMNTENT1, 1, | 69 | AC_DEFINE_UNQUOTED(MOUNTED_GETMNTENT1, 1, |
70 | [Define if there is a function named getmntent for reading the list | 70 | [Define if there is a function named getmntent for reading the list |
71 | of mounted filesystems, and that function takes a single argument. | 71 | of mounted filesystems, and that function takes a single argument. |
72 | (4.3BSD, SunOS, HP-UX, Dynix, Irix)]) | 72 | (4.3BSD, SunOS, HP-UX, Dynix, Irix)]) |
@@ -83,7 +83,7 @@ if test $ac_cv_func_getmntent = yes; then | |||
83 | AC_MSG_RESULT($fu_cv_sys_mounted_getmntent2) | 83 | AC_MSG_RESULT($fu_cv_sys_mounted_getmntent2) |
84 | if test $fu_cv_sys_mounted_getmntent2 = yes; then | 84 | if test $fu_cv_sys_mounted_getmntent2 = yes; then |
85 | ac_list_mounted_fs=found | 85 | ac_list_mounted_fs=found |
86 | AC_DEFINE(MOUNTED_GETMNTENT2, 1, | 86 | AC_DEFINE_UNQUOTED(MOUNTED_GETMNTENT2, 1, |
87 | [Define if there is a function named getmntent for reading the list of | 87 | [Define if there is a function named getmntent for reading the list of |
88 | mounted filesystems, and that function takes two arguments. (SVR4)]) | 88 | mounted filesystems, and that function takes two arguments. (SVR4)]) |
89 | fi | 89 | fi |
@@ -110,7 +110,7 @@ if test -z "$ac_list_mounted_fs"; then | |||
110 | AC_MSG_RESULT($fu_cv_sys_mounted_getsstat) | 110 | AC_MSG_RESULT($fu_cv_sys_mounted_getsstat) |
111 | if test $fu_cv_sys_mounted_getsstat = yes; then | 111 | if test $fu_cv_sys_mounted_getsstat = yes; then |
112 | ac_list_mounted_fs=found | 112 | ac_list_mounted_fs=found |
113 | AC_DEFINE(MOUNTED_GETFSSTAT, 1, | 113 | AC_DEFINE_UNQUOTED(MOUNTED_GETFSSTAT, 1, |
114 | [Define if there is a function named getfsstat for reading the | 114 | [Define if there is a function named getfsstat for reading the |
115 | list of mounted filesystems. (DEC Alpha running OSF/1)]) | 115 | list of mounted filesystems. (DEC Alpha running OSF/1)]) |
116 | fi | 116 | fi |
@@ -126,7 +126,7 @@ if test -z "$ac_list_mounted_fs"; then | |||
126 | AC_MSG_RESULT($fu_cv_sys_mounted_vmount) | 126 | AC_MSG_RESULT($fu_cv_sys_mounted_vmount) |
127 | if test $fu_cv_sys_mounted_vmount = yes; then | 127 | if test $fu_cv_sys_mounted_vmount = yes; then |
128 | ac_list_mounted_fs=found | 128 | ac_list_mounted_fs=found |
129 | AC_DEFINE(MOUNTED_VMOUNT, 1, | 129 | AC_DEFINE_UNQUOTED(MOUNTED_VMOUNT, 1, |
130 | [Define if there is a function named mntctl that can be used to read | 130 | [Define if there is a function named mntctl that can be used to read |
131 | the list of mounted filesystems, and there is a system header file | 131 | the list of mounted filesystems, and there is a system header file |
132 | that declares struct vmount. (AIX)]) | 132 | that declares struct vmount. (AIX)]) |
@@ -146,7 +146,7 @@ if test -z "$ac_list_mounted_fs"; then | |||
146 | AC_MSG_RESULT($fu_cv_sys_mounted_fread_fstyp) | 146 | AC_MSG_RESULT($fu_cv_sys_mounted_fread_fstyp) |
147 | if test $fu_cv_sys_mounted_fread_fstyp = yes; then | 147 | if test $fu_cv_sys_mounted_fread_fstyp = yes; then |
148 | ac_list_mounted_fs=found | 148 | ac_list_mounted_fs=found |
149 | AC_DEFINE(MOUNTED_FREAD_FSTYP, 1, | 149 | AC_DEFINE_UNQUOTED(MOUNTED_FREAD_FSTYP, 1, |
150 | [Define if (like SVR2) there is no specific function for reading the | 150 | [Define if (like SVR2) there is no specific function for reading the |
151 | list of mounted filesystems, and your system has these header files: | 151 | list of mounted filesystems, and your system has these header files: |
152 | <sys/fstyp.h> and <sys/statfs.h>. (SVR3)]) | 152 | <sys/fstyp.h> and <sys/statfs.h>. (SVR3)]) |
@@ -170,7 +170,7 @@ if test -z "$ac_list_mounted_fs"; then | |||
170 | AC_MSG_RESULT($fu_cv_sys_mounted_getmntinfo) | 170 | AC_MSG_RESULT($fu_cv_sys_mounted_getmntinfo) |
171 | if test $fu_cv_sys_mounted_getmntinfo = yes; then | 171 | if test $fu_cv_sys_mounted_getmntinfo = yes; then |
172 | ac_list_mounted_fs=found | 172 | ac_list_mounted_fs=found |
173 | AC_DEFINE(MOUNTED_GETMNTINFO, 1, | 173 | AC_DEFINE_UNQUOTED(MOUNTED_GETMNTINFO, 1, |
174 | [Define if there is a function named getmntinfo for reading the | 174 | [Define if there is a function named getmntinfo for reading the |
175 | list of mounted filesystems. (4.4BSD)]) | 175 | list of mounted filesystems. (4.4BSD)]) |
176 | fi | 176 | fi |
@@ -188,7 +188,7 @@ if test -z "$ac_list_mounted_fs"; then | |||
188 | AC_MSG_RESULT($fu_cv_sys_mounted_getmnt) | 188 | AC_MSG_RESULT($fu_cv_sys_mounted_getmnt) |
189 | if test $fu_cv_sys_mounted_getmnt = yes; then | 189 | if test $fu_cv_sys_mounted_getmnt = yes; then |
190 | ac_list_mounted_fs=found | 190 | ac_list_mounted_fs=found |
191 | AC_DEFINE(MOUNTED_GETMNT, 1, | 191 | AC_DEFINE_UNQUOTED(MOUNTED_GETMNT, 1, |
192 | [Define if there is a function named getmnt for reading the list of | 192 | [Define if there is a function named getmnt for reading the list of |
193 | mounted filesystems. (Ultrix)]) | 193 | mounted filesystems. (Ultrix)]) |
194 | fi | 194 | fi |
@@ -209,7 +209,7 @@ if test -z "$ac_list_mounted_fs"; then | |||
209 | AC_MSG_RESULT($fu_result) | 209 | AC_MSG_RESULT($fu_result) |
210 | if test $fu_result = yes; then | 210 | if test $fu_result = yes; then |
211 | ac_list_mounted_fs=found | 211 | ac_list_mounted_fs=found |
212 | AC_DEFINE(MOUNTED_FS_STAT_DEV, 1, | 212 | AC_DEFINE_UNQUOTED(MOUNTED_FS_STAT_DEV, 1, |
213 | [Define if there are functions named next_dev and fs_stat_dev for | 213 | [Define if there are functions named next_dev and fs_stat_dev for |
214 | reading the list of mounted filesystems. (BeOS)]) | 214 | reading the list of mounted filesystems. (BeOS)]) |
215 | fi | 215 | fi |
@@ -225,7 +225,7 @@ if test -z "$ac_list_mounted_fs"; then | |||
225 | AC_MSG_RESULT($fu_cv_sys_mounted_fread) | 225 | AC_MSG_RESULT($fu_cv_sys_mounted_fread) |
226 | if test $fu_cv_sys_mounted_fread = yes; then | 226 | if test $fu_cv_sys_mounted_fread = yes; then |
227 | ac_list_mounted_fs=found | 227 | ac_list_mounted_fs=found |
228 | AC_DEFINE(MOUNTED_FREAD, 1, | 228 | AC_DEFINE_UNQUOTED(MOUNTED_FREAD, 1, |
229 | [Define if there is no specific function for reading the list of | 229 | [Define if there is no specific function for reading the list of |
230 | mounted filesystems. fread will be used to read /etc/mnttab. (SVR2) ]) | 230 | mounted filesystems. fread will be used to read /etc/mnttab. (SVR2) ]) |
231 | fi | 231 | fi |