[scan] Use libmount to detect filesystem mount events

Resolves issue #1897
This commit is contained in:
ejurgensen
2025-06-26 23:06:46 +02:00
parent d16343bddc
commit ba8212b175
5 changed files with 260 additions and 21 deletions

View File

@@ -103,6 +103,9 @@ AC_SEARCH_LIBS([copy_file_range], [c],
AC_SEARCH_LIBS([fcopyfile], [c],
[AC_DEFINE([HAVE_FCOPYFILE], 1,
[Define to 1 if you have fcopyfile])])
AC_SEARCH_LIBS([mnt_new_monitor], [mount],
[AC_DEFINE([HAVE_LIBMOUNT], 1,
[Define to 1 if you have libmount])])
AC_SEARCH_LIBS([log10], [m])
AC_SEARCH_LIBS([lrint], [m])