X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=bb62d8c6713b68bd57965685cbfa1f3ed858cdb2;hb=72880f7c39fa0fc673b8f2db7530f035d123b4b0;hp=7b2296d0f56bf8ba5111f23f9145afe4c4db243c;hpb=add25ce6f3129cb7138e96e5f55d11de1e5cf6de;p=collectd.git diff --git a/configure.ac b/configure.ac index 7b2296d0..bb62d8c6 100644 --- a/configure.ac +++ b/configure.ac @@ -1254,6 +1254,8 @@ have_getvfsstat="no" AC_CHECK_FUNCS(getvfsstat, [have_getvfsstat="yes"]) have_listmntent="no" AC_CHECK_FUNCS(listmntent, [have_listmntent="yes"]) +have_getmntent_r="no" +AC_CHECK_FUNCS(getmntent_r, [have_getmntent_r="yes"]) have_getmntent="no" AC_CHECK_FUNCS(getmntent, [have_getmntent="c"]) @@ -5464,6 +5466,11 @@ then plugin_df="yes" fi +if test "x$c_cv_have_getmntent_r" = "xyes" +then + plugin_df="yes" +fi + # Df plugin: Check if we have either `statfs' or `statvfs' second. if test "x$plugin_df" = "xyes" then