projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
snmp plugin: add some missing error handling
[collectd.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
352a7b6
..
f37d6da
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1567,7
+1567,7
@@
if test "x$have_getmntent" = "xlibc"; then
struct mntent *me;
fh = setmntent ("/etc/mtab", "r");
me = getmntent (fh);
struct mntent *me;
fh = setmntent ("/etc/mtab", "r");
me = getmntent (fh);
- return
(me->mnt_passno)
;
+ return
me->mnt_passno
;
]]
)
],
]]
)
],
@@
-1590,7
+1590,7
@@
if test "x$have_getmntent" = "xlibc"; then
int status;
fh = fopen ("/etc/mnttab", "r");
status = getmntent (fh, &mt);
int status;
fh = fopen ("/etc/mnttab", "r");
status = getmntent (fh, &mt);
- return
(status)
;
+ return
status
;
]]
)
],
]]
)
],
@@
-3660,6
+3660,18
@@
if test "x$with_libmnl" = "xyes"; then
[[#include <linux/if_link.h>]]
)
[[#include <linux/if_link.h>]]
)
+ AC_CHECK_MEMBERS([struct rtnl_link_stats.rx_nohandler],
+ [],
+ [],
+ [[#include <linux/if_link.h>]]
+ )
+
+ AC_CHECK_MEMBERS([struct rtnl_link_stats64.rx_nohandler],
+ [],
+ [],
+ [[#include <linux/if_link.h>]]
+ )
+
AC_CHECK_LIB([mnl], [mnl_nlmsg_get_payload],
[with_libmnl="yes"],
[with_libmnl="no (symbol 'mnl_nlmsg_get_payload' not found)"],
AC_CHECK_LIB([mnl], [mnl_nlmsg_get_payload],
[with_libmnl="yes"],
[with_libmnl="no (symbol 'mnl_nlmsg_get_payload' not found)"],
@@
-4081,7
+4093,7
@@
if test "x$with_libpcap" = "xyes"; then
[[#include <pcap.h>]],
[[
int val = PCAP_ERROR_IFACE_NOT_UP;
[[#include <pcap.h>]],
[[
int val = PCAP_ERROR_IFACE_NOT_UP;
- return
(val)
;
+ return
val
;
]]
)
],
]]
)
],