X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=f37d6dadcb41c8696b76a9e8676f2e55b7c554d3;hb=a0412f28fc15eb04a9a630678a97b6bce2d71fb1;hp=352a7b66e223355273fb2a58c26ac88cbe2f8950;hpb=849f5394cce97a76da080f6cd9e5194b7f4ee0f0;p=collectd.git diff --git a/configure.ac b/configure.ac index 352a7b66..f37d6dad 100644 --- 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); - 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); - return(status); + return status; ]] ) ], @@ -3660,6 +3660,18 @@ if test "x$with_libmnl" = "xyes"; then [[#include ]] ) + AC_CHECK_MEMBERS([struct rtnl_link_stats.rx_nohandler], + [], + [], + [[#include ]] + ) + + AC_CHECK_MEMBERS([struct rtnl_link_stats64.rx_nohandler], + [], + [], + [[#include ]] + ) + 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 ]], [[ int val = PCAP_ERROR_IFACE_NOT_UP; - return(val); + return val; ]] ) ],